1. 优化头像显示,优先使用本地头像显示
2. 支持自定义导出路径、增加对导出路径的权限检测 3. 增加联系人显示 4. 滚动条滑块调整小大 5. 支持已经打开日志所在文件夹、日志增加回滚功能
This commit is contained in:
1 parent
073d586aea
commit
331cd8125d
14 files changed
+1088
-921
No files matched your search
@@ -5,8 +5,10 @@ import (
|
|||||||
"encoding/json"
|
"encoding/json"
|
||||||
"fmt"
|
"fmt"
|
||||||
"log"
|
"log"
|
||||||
|
"net/http"
|
||||||
"os"
|
"os"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
|
"strings"
|
||||||
"wechatDataBackup/pkg/utils"
|
"wechatDataBackup/pkg/utils"
|
||||||
"wechatDataBackup/pkg/wechat"
|
"wechatDataBackup/pkg/wechat"
|
||||||
|
|
||||||
@@ -18,9 +20,37 @@ const (
|
|||||||
defaultConfig = "config"
|
defaultConfig = "config"
|
||||||
configDefaultUserKey = "userConfig.defaultUser"
|
configDefaultUserKey = "userConfig.defaultUser"
|
||||||
configUsersKey = "userConfig.users"
|
configUsersKey = "userConfig.users"
|
||||||
appVersion = "v1.0.3"
|
configExportPathKey = "exportPath"
|
||||||
|
appVersion = "v1.0.4"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
type FileLoader struct {
|
||||||
|
http.Handler
|
||||||
|
FilePrefix string
|
||||||
|
}
|
||||||
|
|
||||||
|
func NewFileLoader(prefix string) *FileLoader {
|
||||||
|
return &FileLoader{FilePrefix: prefix}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (h *FileLoader) SetFilePrefix(prefix string) {
|
||||||
|
h.FilePrefix = prefix
|
||||||
|
log.Println("SetFilePrefix", h.FilePrefix)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (h *FileLoader) ServeHTTP(res http.ResponseWriter, req *http.Request) {
|
||||||
|
var err error
|
||||||
|
requestedFilename := h.FilePrefix + "\\" + strings.TrimPrefix(req.URL.Path, "/")
|
||||||
|
// log.Println("Requesting file:", requestedFilename)
|
||||||
|
fileData, err := os.ReadFile(requestedFilename)
|
||||||
|
if err != nil {
|
||||||
|
res.WriteHeader(http.StatusBadRequest)
|
||||||
|
res.Write([]byte(fmt.Sprintf("Could not load file %s", requestedFilename)))
|
||||||
|
}
|
||||||
|
|
||||||
|
res.Write(fileData)
|
||||||
|
}
|
||||||
|
|
||||||
// App struct
|
// App struct
|
||||||
type App struct {
|
type App struct {
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
@@ -29,6 +59,8 @@ type App struct {
|
|||||||
defaultUser string
|
defaultUser string
|
||||||
users []string
|
users []string
|
||||||
firstStart bool
|
firstStart bool
|
||||||
|
|
||||||
|
FLoader *FileLoader
|
||||||
}
|
}
|
||||||
|
|
||||||
type WeChatInfo struct {
|
type WeChatInfo struct {
|
||||||
@@ -51,21 +83,38 @@ type WeChatAccountInfos struct {
|
|||||||
Total int `json:"Total"`
|
Total int `json:"Total"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type ErrorMessage struct {
|
||||||
|
ErrorStr string `json:"error"`
|
||||||
|
}
|
||||||
|
|
||||||
// NewApp creates a new App application struct
|
// NewApp creates a new App application struct
|
||||||
func NewApp() *App {
|
func NewApp() *App {
|
||||||
a := &App{}
|
a := &App{}
|
||||||
|
|
||||||
|
a.FLoader = NewFileLoader(".\\")
|
||||||
viper.SetConfigName(defaultConfig)
|
viper.SetConfigName(defaultConfig)
|
||||||
viper.SetConfigType("json")
|
viper.SetConfigType("json")
|
||||||
viper.AddConfigPath(".")
|
viper.AddConfigPath(".")
|
||||||
if err := viper.ReadInConfig(); err == nil {
|
if err := viper.ReadInConfig(); err == nil {
|
||||||
a.defaultUser = viper.GetString(configDefaultUserKey)
|
a.defaultUser = viper.GetString(configDefaultUserKey)
|
||||||
a.users = viper.GetStringSlice(configUsersKey)
|
a.users = viper.GetStringSlice(configUsersKey)
|
||||||
|
prefix := viper.GetString(configExportPathKey)
|
||||||
|
if prefix != "" {
|
||||||
|
log.Println("SetFilePrefix", prefix)
|
||||||
|
a.FLoader.SetFilePrefix(prefix)
|
||||||
|
}
|
||||||
|
|
||||||
|
a.scanAccountByPath(prefix)
|
||||||
// log.Println(a.defaultUser)
|
// log.Println(a.defaultUser)
|
||||||
// log.Println(a.users)
|
// log.Println(a.users)
|
||||||
} else {
|
} else {
|
||||||
|
if a.scanAccountByPath(".\\") != nil {
|
||||||
|
log.Println("not config exist")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
log.Printf("default: %s users: %v\n", a.defaultUser, a.users)
|
||||||
|
if len(a.users) == 0 {
|
||||||
a.firstStart = true
|
a.firstStart = true
|
||||||
log.Println("not config exist")
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return a
|
return a
|
||||||
@@ -93,6 +142,11 @@ func (a *App) GetWeChatAllInfo() string {
|
|||||||
infoList.Info = make([]WeChatInfo, 0)
|
infoList.Info = make([]WeChatInfo, 0)
|
||||||
infoList.Total = 0
|
infoList.Total = 0
|
||||||
|
|
||||||
|
if a.provider != nil {
|
||||||
|
a.provider.WechatWechatDataProviderClose()
|
||||||
|
a.provider = nil
|
||||||
|
}
|
||||||
|
|
||||||
a.infoList = wechat.GetWeChatAllInfo()
|
a.infoList = wechat.GetWeChatAllInfo()
|
||||||
for i := range a.infoList.Info {
|
for i := range a.infoList.Info {
|
||||||
var info WeChatInfo
|
var info WeChatInfo
|
||||||
@@ -135,12 +189,13 @@ func (a *App) ExportWeChatAllData(full bool, acountName string) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
_, err := os.Stat(".\\User")
|
prefixExportPath := a.FLoader.FilePrefix + "\\User\\"
|
||||||
|
_, err := os.Stat(prefixExportPath)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
os.Mkdir(".\\User", os.ModeDir)
|
os.Mkdir(prefixExportPath, os.ModeDir)
|
||||||
}
|
}
|
||||||
|
|
||||||
expPath := ".\\User\\" + pInfo.AcountName
|
expPath := prefixExportPath + pInfo.AcountName
|
||||||
_, err = os.Stat(expPath)
|
_, err = os.Stat(expPath)
|
||||||
if err == nil {
|
if err == nil {
|
||||||
if !full {
|
if !full {
|
||||||
@@ -177,7 +232,7 @@ func (a *App) ExportWeChatAllData(full bool, acountName string) {
|
|||||||
}()
|
}()
|
||||||
}
|
}
|
||||||
|
|
||||||
func (a *App) createWechatDataProvider(resPath string) error {
|
func (a *App) createWechatDataProvider(resPath string, prefix string) error {
|
||||||
if a.provider != nil && a.provider.SelfInfo != nil && filepath.Base(resPath) == a.provider.SelfInfo.UserName {
|
if a.provider != nil && a.provider.SelfInfo != nil && filepath.Base(resPath) == a.provider.SelfInfo.UserName {
|
||||||
log.Println("WechatDataProvider not need create:", a.provider.SelfInfo.UserName)
|
log.Println("WechatDataProvider not need create:", a.provider.SelfInfo.UserName)
|
||||||
return nil
|
return nil
|
||||||
@@ -189,7 +244,7 @@ func (a *App) createWechatDataProvider(resPath string) error {
|
|||||||
log.Println("createWechatDataProvider WechatWechatDataProviderClose")
|
log.Println("createWechatDataProvider WechatWechatDataProviderClose")
|
||||||
}
|
}
|
||||||
|
|
||||||
provider, err := wechat.CreateWechatDataProvider(resPath)
|
provider, err := wechat.CreateWechatDataProvider(resPath, prefix)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Println("CreateWechatDataProvider failed:", resPath)
|
log.Println("CreateWechatDataProvider failed:", resPath)
|
||||||
return err
|
return err
|
||||||
@@ -202,22 +257,29 @@ func (a *App) createWechatDataProvider(resPath string) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (a *App) WeChatInit() {
|
func (a *App) WeChatInit() {
|
||||||
expPath := ".\\User\\" + a.defaultUser
|
if len(a.defaultUser) == 0 {
|
||||||
if a.createWechatDataProvider(expPath) == nil {
|
log.Println("not defaultUser")
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
expPath := a.FLoader.FilePrefix + "\\User\\" + a.defaultUser
|
||||||
|
prefixPath := "\\User\\" + a.defaultUser
|
||||||
|
wechat.ExportWeChatHeadImage(expPath)
|
||||||
|
if a.createWechatDataProvider(expPath, prefixPath) == nil {
|
||||||
infoJson, _ := json.Marshal(a.provider.SelfInfo)
|
infoJson, _ := json.Marshal(a.provider.SelfInfo)
|
||||||
runtime.EventsEmit(a.ctx, "selfInfo", string(infoJson))
|
runtime.EventsEmit(a.ctx, "selfInfo", string(infoJson))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (a *App) GetWechatSessionList(pageIndex int, pageSize int) string {
|
func (a *App) GetWechatSessionList(pageIndex int, pageSize int) string {
|
||||||
expPath := ".\\User\\" + a.defaultUser
|
if a.provider == nil {
|
||||||
if a.createWechatDataProvider(expPath) != nil {
|
log.Println("provider not init")
|
||||||
return ""
|
return "{\"Total\":0}"
|
||||||
}
|
}
|
||||||
log.Printf("pageIndex: %d\n", pageIndex)
|
log.Printf("pageIndex: %d\n", pageIndex)
|
||||||
list, err := a.provider.WeChatGetSessionList(pageIndex, pageSize)
|
list, err := a.provider.WeChatGetSessionList(pageIndex, pageSize)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return ""
|
return "{\"Total\":0}"
|
||||||
}
|
}
|
||||||
|
|
||||||
listStr, _ := json.Marshal(list)
|
listStr, _ := json.Marshal(list)
|
||||||
@@ -225,6 +287,22 @@ func (a *App) GetWechatSessionList(pageIndex int, pageSize int) string {
|
|||||||
return string(listStr)
|
return string(listStr)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (a *App) GetWechatContactList(pageIndex int, pageSize int) string {
|
||||||
|
if a.provider == nil {
|
||||||
|
log.Println("provider not init")
|
||||||
|
return "{\"Total\":0}"
|
||||||
|
}
|
||||||
|
log.Printf("pageIndex: %d\n", pageIndex)
|
||||||
|
list, err := a.provider.WeChatGetContactList(pageIndex, pageSize)
|
||||||
|
if err != nil {
|
||||||
|
return "{\"Total\":0}"
|
||||||
|
}
|
||||||
|
|
||||||
|
listStr, _ := json.Marshal(list)
|
||||||
|
log.Println("WeChatGetContactList:", list.Total)
|
||||||
|
return string(listStr)
|
||||||
|
}
|
||||||
|
|
||||||
func (a *App) GetWechatMessageListByTime(userName string, time int64, pageSize int, direction string) string {
|
func (a *App) GetWechatMessageListByTime(userName string, time int64, pageSize int, direction string) string {
|
||||||
log.Println("GetWechatMessageList:", userName, pageSize, time, direction)
|
log.Println("GetWechatMessageList:", userName, pageSize, time, direction)
|
||||||
if len(userName) == 0 {
|
if len(userName) == 0 {
|
||||||
@@ -284,6 +362,7 @@ func (a *App) GetWechatMessageDate(userName string) string {
|
|||||||
func (a *App) setCurrentConfig() {
|
func (a *App) setCurrentConfig() {
|
||||||
viper.Set(configDefaultUserKey, a.defaultUser)
|
viper.Set(configDefaultUserKey, a.defaultUser)
|
||||||
viper.Set(configUsersKey, a.users)
|
viper.Set(configUsersKey, a.users)
|
||||||
|
viper.Set(configExportPathKey, a.FLoader.FilePrefix)
|
||||||
err := viper.SafeWriteConfig()
|
err := viper.SafeWriteConfig()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Println(err)
|
log.Println(err)
|
||||||
@@ -314,7 +393,9 @@ func (a *App) OpenFileOrExplorer(filePath string, explorer bool) string {
|
|||||||
// filePath = root + filePath[1:]
|
// filePath = root + filePath[1:]
|
||||||
// }
|
// }
|
||||||
// log.Println("OpenFileOrExplorer:", filePath)
|
// log.Println("OpenFileOrExplorer:", filePath)
|
||||||
err := utils.OpenFileOrExplorer(filePath, explorer)
|
|
||||||
|
path := a.FLoader.FilePrefix + filePath
|
||||||
|
err := utils.OpenFileOrExplorer(path, explorer)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return "{\"result\": \"OpenFileOrExplorer failed\", \"status\":\"failed\"}"
|
return "{\"result\": \"OpenFileOrExplorer failed\", \"status\":\"failed\"}"
|
||||||
}
|
}
|
||||||
@@ -349,13 +430,14 @@ func (a *App) GetWechatLocalAccountInfo() string {
|
|||||||
infos.Total = 0
|
infos.Total = 0
|
||||||
infos.CurrentAccount = a.defaultUser
|
infos.CurrentAccount = a.defaultUser
|
||||||
for i := range a.users {
|
for i := range a.users {
|
||||||
resPath := ".\\User\\" + a.users[i]
|
resPath := a.FLoader.FilePrefix + "\\User\\" + a.users[i]
|
||||||
if _, err := os.Stat(resPath); err != nil {
|
if _, err := os.Stat(resPath); err != nil {
|
||||||
log.Println("GetWechatLocalAccountInfo:", resPath, err)
|
log.Println("GetWechatLocalAccountInfo:", resPath, err)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
info, err := wechat.WechatGetAccountInfo(resPath, a.users[i])
|
prefixResPath := "\\User\\" + a.users[i]
|
||||||
|
info, err := wechat.WechatGetAccountInfo(resPath, prefixResPath, a.users[i])
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Println("GetWechatLocalAccountInfo", err)
|
log.Println("GetWechatLocalAccountInfo", err)
|
||||||
continue
|
continue
|
||||||
@@ -386,3 +468,127 @@ func (a *App) WechatSwitchAccount(account string) bool {
|
|||||||
|
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (a *App) GetExportPathStat() string {
|
||||||
|
path := a.FLoader.FilePrefix
|
||||||
|
log.Println("utils.GetPathStat ++")
|
||||||
|
stat, err := utils.GetPathStat(path)
|
||||||
|
log.Println("utils.GetPathStat --")
|
||||||
|
if err != nil {
|
||||||
|
log.Println("GetPathStat error:", path, err)
|
||||||
|
var msg ErrorMessage
|
||||||
|
msg.ErrorStr = fmt.Sprintf("%s:%v", path, err)
|
||||||
|
msgStr, _ := json.Marshal(msg)
|
||||||
|
return string(msgStr)
|
||||||
|
}
|
||||||
|
|
||||||
|
statString, _ := json.Marshal(stat)
|
||||||
|
|
||||||
|
return string(statString)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (a *App) ExportPathIsCanWrite() bool {
|
||||||
|
path := a.FLoader.FilePrefix
|
||||||
|
return utils.PathIsCanWriteFile(path)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (a *App) OpenExportPath() {
|
||||||
|
path := a.FLoader.FilePrefix
|
||||||
|
runtime.BrowserOpenURL(a.ctx, path)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (a *App) OpenDirectoryDialog() string {
|
||||||
|
dialogOptions := runtime.OpenDialogOptions{
|
||||||
|
Title: "选择导出路径",
|
||||||
|
}
|
||||||
|
selectedDir, err := runtime.OpenDirectoryDialog(a.ctx, dialogOptions)
|
||||||
|
if err != nil {
|
||||||
|
log.Println("OpenDirectoryDialog:", err)
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
|
if selectedDir == "" {
|
||||||
|
log.Println("Cancel selectedDir")
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
|
if selectedDir == a.FLoader.FilePrefix {
|
||||||
|
log.Println("same path No need SetFilePrefix")
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
|
if !utils.PathIsCanWriteFile(selectedDir) {
|
||||||
|
log.Println("PathIsCanWriteFile:", selectedDir, "error")
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
|
a.FLoader.SetFilePrefix(selectedDir)
|
||||||
|
log.Println("OpenDirectoryDialog:", selectedDir)
|
||||||
|
a.scanAccountByPath(selectedDir)
|
||||||
|
return selectedDir
|
||||||
|
}
|
||||||
|
|
||||||
|
func (a *App) scanAccountByPath(path string) error {
|
||||||
|
infos := WeChatAccountInfos{}
|
||||||
|
infos.Info = make([]wechat.WeChatAccountInfo, 0)
|
||||||
|
infos.Total = 0
|
||||||
|
infos.CurrentAccount = ""
|
||||||
|
|
||||||
|
userPath := path + "\\User\\"
|
||||||
|
if _, err := os.Stat(userPath); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
|
dirs, err := os.ReadDir(userPath)
|
||||||
|
if err != nil {
|
||||||
|
log.Println("ReadDir", err)
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
|
for i := range dirs {
|
||||||
|
if !dirs[i].Type().IsDir() {
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
log.Println("dirs[i].Name():", dirs[i].Name())
|
||||||
|
resPath := path + "\\User\\" + dirs[i].Name()
|
||||||
|
prefixResPath := "\\User\\" + dirs[i].Name()
|
||||||
|
info, err := wechat.WechatGetAccountInfo(resPath, prefixResPath, dirs[i].Name())
|
||||||
|
if err != nil {
|
||||||
|
log.Println("GetWechatLocalAccountInfo", err)
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
|
||||||
|
infos.Info = append(infos.Info, *info)
|
||||||
|
infos.Total += 1
|
||||||
|
}
|
||||||
|
|
||||||
|
users := make([]string, 0)
|
||||||
|
for i := 0; i < infos.Total; i++ {
|
||||||
|
users = append(users, infos.Info[i].AccountName)
|
||||||
|
}
|
||||||
|
|
||||||
|
a.users = users
|
||||||
|
found := false
|
||||||
|
for i := range a.users {
|
||||||
|
if a.defaultUser == a.users[i] {
|
||||||
|
found = true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if !found {
|
||||||
|
a.defaultUser = ""
|
||||||
|
}
|
||||||
|
if a.defaultUser == "" && len(a.users) > 0 {
|
||||||
|
a.defaultUser = a.users[0]
|
||||||
|
}
|
||||||
|
|
||||||
|
if len(a.users) > 0 {
|
||||||
|
a.setCurrentConfig()
|
||||||
|
}
|
||||||
|
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (a *App) OepnLogFileExplorer() {
|
||||||
|
utils.OpenFileOrExplorer(".\\app.log", true)
|
||||||
|
}
|
||||||
@@ -1,3 +1,10 @@
|
|||||||
|
## v1.0.4
|
||||||
|
1. 优化头像显示,优先使用本地头像显示
|
||||||
|
2. 支持自定义导出路径、增加对导出路径的权限检测
|
||||||
|
3. 增加联系人显示
|
||||||
|
4. 滚动条滑块调整小大
|
||||||
|
5. 支持已经打开日志所在文件夹、日志增加回滚功能
|
||||||
|
|
||||||
## v1.0.3
|
## v1.0.3
|
||||||
1. 增加首次使用的引导功能
|
1. 增加首次使用的引导功能
|
||||||
2. 增加多开微信可选择导出功能
|
2. 增加多开微信可选择导出功能
|
||||||
|
|||||||
-503
@@ -1,503 +0,0 @@
|
|||||||
function L$(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const o in r)if(o!=="default"&&!(o in e)){const a=Object.getOwnPropertyDescriptor(r,o);a&&Object.defineProperty(e,o,a.get?a:{enumerable:!0,get:()=>r[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const a of o)if(a.type==="childList")for(const i of a.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const a={};return o.integrity&&(a.integrity=o.integrity),o.referrerpolicy&&(a.referrerPolicy=o.referrerpolicy),o.crossorigin==="use-credentials"?a.credentials="include":o.crossorigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function r(o){if(o.ep)return;o.ep=!0;const a=n(o);fetch(o.href,a)}})();var Bn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Xc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function D3(e){var t=e.default;if(typeof t=="function"){var n=function(){return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var m={exports:{}},bt={};/**
|
|
||||||
* @license React
|
|
||||||
* react.production.min.js
|
|
||||||
*
|
|
||||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
||||||
*
|
|
||||||
* This source code is licensed under the MIT license found in the
|
|
||||||
* LICENSE file in the root directory of this source tree.
|
|
||||||
*/var Qc=Symbol.for("react.element"),F3=Symbol.for("react.portal"),L3=Symbol.for("react.fragment"),k3=Symbol.for("react.strict_mode"),B3=Symbol.for("react.profiler"),j3=Symbol.for("react.provider"),z3=Symbol.for("react.context"),H3=Symbol.for("react.forward_ref"),V3=Symbol.for("react.suspense"),W3=Symbol.for("react.memo"),U3=Symbol.for("react.lazy"),lS=Symbol.iterator;function G3(e){return e===null||typeof e!="object"?null:(e=lS&&e[lS]||e["@@iterator"],typeof e=="function"?e:null)}var k$={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},B$=Object.assign,j$={};function Js(e,t,n){this.props=e,this.context=t,this.refs=j$,this.updater=n||k$}Js.prototype.isReactComponent={};Js.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Js.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function z$(){}z$.prototype=Js.prototype;function Ey(e,t,n){this.props=e,this.context=t,this.refs=j$,this.updater=n||k$}var Oy=Ey.prototype=new z$;Oy.constructor=Ey;B$(Oy,Js.prototype);Oy.isPureReactComponent=!0;var cS=Array.isArray,H$=Object.prototype.hasOwnProperty,My={current:null},V$={key:!0,ref:!0,__self:!0,__source:!0};function W$(e,t,n){var r,o={},a=null,i=null;if(t!=null)for(r in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(a=""+t.key),t)H$.call(t,r)&&!V$.hasOwnProperty(r)&&(o[r]=t[r]);var s=arguments.length-2;if(s===1)o.children=n;else if(1<s){for(var l=Array(s),c=0;c<s;c++)l[c]=arguments[c+2];o.children=l}if(e&&e.defaultProps)for(r in s=e.defaultProps,s)o[r]===void 0&&(o[r]=s[r]);return{$$typeof:Qc,type:e,key:a,ref:i,props:o,_owner:My.current}}function Y3(e,t){return{$$typeof:Qc,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Ry(e){return typeof e=="object"&&e!==null&&e.$$typeof===Qc}function K3(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var uS=/\/+/g;function rh(e,t){return typeof e=="object"&&e!==null&&e.key!=null?K3(""+e.key):t.toString(36)}function wd(e,t,n,r,o){var a=typeof e;(a==="undefined"||a==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(a){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case Qc:case F3:i=!0}}if(i)return i=e,o=o(i),e=r===""?"."+rh(i,0):r,cS(o)?(n="",e!=null&&(n=e.replace(uS,"$&/")+"/"),wd(o,t,n,"",function(c){return c})):o!=null&&(Ry(o)&&(o=Y3(o,n+(!o.key||i&&i.key===o.key?"":(""+o.key).replace(uS,"$&/")+"/")+e)),t.push(o)),1;if(i=0,r=r===""?".":r+":",cS(e))for(var s=0;s<e.length;s++){a=e[s];var l=r+rh(a,s);i+=wd(a,t,n,l,o)}else if(l=G3(e),typeof l=="function")for(e=l.call(e),s=0;!(a=e.next()).done;)a=a.value,l=r+rh(a,s++),i+=wd(a,t,n,l,o);else if(a==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return i}function Au(e,t,n){if(e==null)return e;var r=[],o=0;return wd(e,r,"","",function(a){return t.call(n,a,o++)}),r}function q3(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var qn={current:null},$d={transition:null},X3={ReactCurrentDispatcher:qn,ReactCurrentBatchConfig:$d,ReactCurrentOwner:My};bt.Children={map:Au,forEach:function(e,t,n){Au(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Au(e,function(){t++}),t},toArray:function(e){return Au(e,function(t){return t})||[]},only:function(e){if(!Ry(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};bt.Component=Js;bt.Fragment=L3;bt.Profiler=B3;bt.PureComponent=Ey;bt.StrictMode=k3;bt.Suspense=V3;bt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=X3;bt.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=B$({},e.props),o=e.key,a=e.ref,i=e._owner;if(t!=null){if(t.ref!==void 0&&(a=t.ref,i=My.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(l in t)H$.call(t,l)&&!V$.hasOwnProperty(l)&&(r[l]=t[l]===void 0&&s!==void 0?s[l]:t[l])}var l=arguments.length-2;if(l===1)r.children=n;else if(1<l){s=Array(l);for(var c=0;c<l;c++)s[c]=arguments[c+2];r.children=s}return{$$typeof:Qc,type:e.type,key:o,ref:a,props:r,_owner:i}};bt.createContext=function(e){return e={$$typeof:z3,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:j3,_conLine truncated
|
|
||||||
* @license React
|
|
||||||
* scheduler.production.min.js
|
|
||||||
*
|
|
||||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
||||||
*
|
|
||||||
* This source code is licensed under the MIT license found in the
|
|
||||||
* LICENSE file in the root directory of this source tree.
|
|
||||||
*/(function(e){function t(O,L){var A=O.length;O.push(L);e:for(;0<A;){var H=A-1>>>1,_=O[H];if(0<o(_,L))O[H]=L,O[A]=_,A=H;else break e}}function n(O){return O.length===0?null:O[0]}function r(O){if(O.length===0)return null;var L=O[0],A=O.pop();if(A!==L){O[0]=A;e:for(var H=0,_=O.length,B=_>>>1;H<B;){var W=2*(H+1)-1,G=O[W],K=W+1,z=O[K];if(0>o(G,A))K<_&&0>o(z,G)?(O[H]=z,O[K]=A,H=K):(O[H]=G,O[W]=A,H=W);else if(K<_&&0>o(z,A))O[H]=z,O[K]=A,H=K;else break e}}return L}function o(O,L){var A=O.sortIndex-L.sortIndex;return A!==0?A:O.id-L.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var i=Date,s=i.now();e.unstable_now=function(){return i.now()-s}}var l=[],c=[],u=1,d=null,f=3,p=!1,h=!1,v=!1,y=typeof setTimeout=="function"?setTimeout:null,g=typeof clearTimeout=="function"?clearTimeout:null,b=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function S(O){for(var L=n(c);L!==null;){if(L.callback===null)r(c);else if(L.startTime<=O)r(c),L.sortIndex=L.expirationTime,t(l,L);else break;L=n(c)}}function x(O){if(v=!1,S(O),!h)if(n(l)!==null)h=!0,D(w);else{var L=n(c);L!==null&&M(x,L.startTime-O)}}function w(O,L){h=!1,v&&(v=!1,g(R),R=-1),p=!0;var A=f;try{for(S(L),d=n(l);d!==null&&(!(d.expirationTime>L)||O&&!P());){var H=d.callback;if(typeof H=="function"){d.callback=null,f=d.priorityLevel;var _=H(d.expirationTime<=L);L=e.unstable_now(),typeof _=="function"?d.callback=_:d===n(l)&&r(l),S(L)}else r(l);d=n(l)}if(d!==null)var B=!0;else{var W=n(c);W!==null&&M(x,W.startTime-L),B=!1}return B}finally{d=null,f=A,p=!1}}var E=!1,$=null,R=-1,I=5,T=-1;function P(){return!(e.unstable_now()-T<I)}function F(){if($!==null){var O=e.unstable_now();T=O;var L=!0;try{L=$(!0,O)}finally{L?j():(E=!1,$=null)}}else E=!1}var j;if(typeof b=="function")j=function(){b(F)};else if(typeof MessageChannel<"u"){var N=new MessageChannel,k=N.port2;N.port1.onmessage=F,j=function(){k.postMessage(null)}}else j=function(){y(F,0)};function D(O){$=O,E||(E=!0,j())}function M(O,L){R=y(function(){O(e.unstable_now())},L)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(O){O.callback=null},e.unstable_continueExecution=function(){h||p||(h=!0,D(w))},e.unstable_forceFrameRate=function(O){0>O||125<O?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):I=0<O?Math.floor(1e3/O):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(O){switch(f){case 1:case 2:case 3:var L=3;break;default:L=f}var A=f;f=L;try{return O()}finally{f=A}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(O,L){switch(O){case 1:case 2:case 3:case 4:case 5:break;default:O=3}var A=f;f=O;try{return L()}finally{f=A}},e.unstable_scheduleCallback=function(O,L,A){var H=e.unstable_now();switch(typeof A=="object"&&A!==null?(A=A.delay,A=typeof A=="number"&&0<A?H+A:H):A=H,O){case 1:var _=-1;break;case 2:_=250;break;case 5:_=1073741823;break;case 4:_=1e4;break;default:_=5e3}return _=A+_,O={id:u++,callback:L,priorityLevel:O,startTime:A,expirationTime:_,sortIndex:-1},A>H?(O.sortIndex=A,t(c,O),n(l)===null&&O===n(c)&&(v?(g(R),R=-1):v=!0,M(x,A-H))):(O.sortIndex=_,t(l,O),h||p||(h=!0,D(w))),O},e.unstable_shouldYield=P,e.unstable_wrapCallback=function(O){var L=f;return function(){var A=f;f=L;try{return O.apply(this,arguments)}finally{f=A}}}})(G$);(function(e){e.exports=G$})(U$);/**
|
|
||||||
* @license React
|
|
||||||
* react-dom.production.min.js
|
|
||||||
*
|
|
||||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
||||||
*
|
|
||||||
* This source code is licensed under the MIT license found in the
|
|
||||||
* LICENSE file in the root directory of this source tree.
|
|
||||||
*/var Y$=m.exports,Cr=U$.exports;function ye(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var K$=new Set,vc={};function Ii(e,t){Fs(e,t),Fs(e+"Capture",t)}function Fs(e,t){for(vc[e]=t,e=0;e<t.length;e++)K$.add(t[e])}var Vo=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Qm=Object.prototype.hasOwnProperty,Q3=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,dS={},fS={};function Z3(e){return Qm.call(fS,e)?!0:Qm.call(dS,e)?!1:Q3.test(e)?fS[e]=!0:(dS[e]=!0,!1)}function J3(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function e5(e,t,n,r){if(t===null||typeof t>"u"||J3(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Xn(e,t,n,r,o,a,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=i}var Nn={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Nn[e]=new Xn(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Nn[t]=new Xn(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Nn[e]=new Xn(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Nn[e]=new Xn(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Nn[e]=new Xn(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Nn[e]=new Xn(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Nn[e]=new Xn(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Nn[e]=new Xn(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Nn[e]=new Xn(e,5,!1,e.toLowerCase(),null,!1,!1)});var Py=/[\-:]([a-z])/g;function Iy(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Py,Iy);Nn[t]=new Xn(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Py,Iy);Nn[t]=new Xn(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Py,Iy);Nn[t]=new Xn(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Nn[e]=new Xn(e,1,!1,e.toLowerCase(),null,!1,!1)});Nn.xlinkHref=new Xn("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Nn[e]=new Xn(e,1,!1,e.toLowerCase(),null,!0,!0)});function Ty(e,t,n,r){var o=Nn.hasOwnProperty(t)?Nn[t]:null;(o!==null?o.type!==0:r||!(2<t.length)||t[0
Line truncated
|
|
||||||
`+oh+e}var ah=!1;function ih(e,t){if(!e||ah)return"";ah=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(c){var r=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){r=c}e.call(t.prototype)}else{try{throw Error()}catch(c){r=c}e()}}catch(c){if(c&&r&&typeof c.stack=="string"){for(var o=c.stack.split(`
|
|
||||||
`),a=r.stack.split(`
|
|
||||||
`),i=o.length-1,s=a.length-1;1<=i&&0<=s&&o[i]!==a[s];)s--;for(;1<=i&&0<=s;i--,s--)if(o[i]!==a[s]){if(i!==1||s!==1)do if(i--,s--,0>s||o[i]!==a[s]){var l=`
|
|
||||||
`+o[i].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=i&&0<=s);break}}}finally{ah=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Bl(e):""}function t5(e){switch(e.tag){case 5:return Bl(e.type);case 16:return Bl("Lazy");case 13:return Bl("Suspense");case 19:return Bl("SuspenseList");case 0:case 2:case 15:return e=ih(e.type,!1),e;case 11:return e=ih(e.type.render,!1),e;case 1:return e=ih(e.type,!0),e;default:return""}}function tg(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case ss:return"Fragment";case is:return"Portal";case Zm:return"Profiler";case Ny:return"StrictMode";case Jm:return"Suspense";case eg:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case X$:return(e.displayName||"Context")+".Consumer";case q$:return(e._context.displayName||"Context")+".Provider";case Ay:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case _y:return t=e.displayName||null,t!==null?t:tg(e.type)||"Memo";case ca:t=e._payload,e=e._init;try{return tg(e(t))}catch{}}return null}function n5(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return tg(t);case 8:return t===Ny?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Pa(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Z$(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function r5(e){var t=Z$(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(i){r=""+i,a.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Du(e){e._valueTracker||(e._valueTracker=r5(e))}function J$(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Z$(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function tf(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function ng(e,t){var n=t.checked;return Kt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n!=null?n:e._wrapperState.initialChecked})}function vS(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Pa(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function eE(e,t){t=t.checked,t!=null&&Ty(e,"checked",t,!1)}function rg(e,t){eE(e,t);var n=Pa(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?og(e,t.type,n):t.hasOwnProperty("defaultValue")&&og(e,t.type,Pa(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function hS(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function og(e,t,n){(t!=="number"||tf(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var jl=Array.isArray;function Es(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Pa(n),t=null,o=0;o<e.length;o++){if(e[o].value===n){e[o].selected=!0,r&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function ag(e,t){i
Line truncated
|
|
||||||
`).replace(p6,"")}function Vu(e,t,n){if(t=kS(t),kS(e)!==t&&n)throw Error(ye(425))}function uf(){}var yg=null,bg=null;function Sg(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Cg=typeof setTimeout=="function"?setTimeout:void 0,v6=typeof clearTimeout=="function"?clearTimeout:void 0,BS=typeof Promise=="function"?Promise:void 0,h6=typeof queueMicrotask=="function"?queueMicrotask:typeof BS<"u"?function(e){return BS.resolve(null).then(e).catch(m6)}:Cg;function m6(e){setTimeout(function(){throw e})}function bh(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===8)if(n=o.data,n==="/$"){if(r===0){e.removeChild(o),bc(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);bc(t)}function xa(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function jS(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var tl=Math.random().toString(36).slice(2),wo="__reactFiber$"+tl,$c="__reactProps$"+tl,Wo="__reactContainer$"+tl,xg="__reactEvents$"+tl,g6="__reactListeners$"+tl,y6="__reactHandles$"+tl;function ii(e){var t=e[wo];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Wo]||n[wo]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=jS(e);e!==null;){if(n=e[wo])return n;e=jS(e)}return t}e=n,n=e.parentNode}return null}function tu(e){return e=e[wo]||e[Wo],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function ds(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(ye(33))}function hp(e){return e[$c]||null}var wg=[],fs=-1;function ja(e){return{current:e}}function Ht(e){0>fs||(e.current=wg[fs],wg[fs]=null,fs--)}function kt(e,t){fs++,wg[fs]=e.current,e.current=t}var Ia={},zn=ja(Ia),or=ja(!1),Ci=Ia;function Ls(e,t){var n=e.type.contextTypes;if(!n)return Ia;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},a;for(a in n)o[a]=t[a];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function ar(e){return e=e.childContextTypes,e!=null}function df(){Ht(or),Ht(zn)}function zS(e,t,n){if(zn.current!==Ia)throw Error(ye(168));kt(zn,t),kt(or,n)}function HE(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(ye(108,n5(e)||"Unknown",o));return Kt({},n,r)}function ff(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ia,Ci=zn.current,kt(zn,e),kt(or,or.current),!0}function HS(e,t,n){var r=e.stateNode;if(!r)throw Error(ye(169));n?(e=HE(e,t,Ci),r.__reactInternalMemoizedMergedChildContext=e,Ht(or),Ht(zn),kt(zn,e)):Ht(or),kt(or,n)}var Fo=null,mp=!1,Sh=!1;function VE(e){Fo===null?Fo=[e]:Fo.push(e)}function b6(e){mp=!0,VE(e)}function za(){if(!Sh&&Fo!==null){Sh=!0;var e=0,t=Nt;try{var n=Fo;for(Nt=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Fo=null,mp=!1}catch(o){throw Fo!==null&&(Fo=Fo.slice(e+1)),vE(Fy,za),o}finally{Nt=t,Sh=!1}}return null}var ps=[],vs=0,pf=null,vf=0,Nr=[],Ar=0,xi=null,Bo=1,jo="";function ei(e,t){ps[vs++]=vf,ps[vs++]=pf,pf=e,vf=t}function WE(e,t,n){Nr[Ar++]=Bo,Nr[Ar++]=jo,Nr[Ar++]=xi,xi=e;var r=Bo;e=jo;var o=32-no(r)-1;r&=~(1<<o),n+=1;var a=32-no(t)+o;if(30<a){var i=o-o%5;a=(r&(1<<i)-1).toString(32),r>>=i,o-=i,Bo=1<<32-no(t)+o|n<<o|r,jo=a+e}else Bo=1<<a|n<<o|r,jo=e}function Uy(e){e.return!==null&&(ei(e,1),WE(e,1,0))}function Gy(e){for(;e===pf;)pf=ps[--vs],ps[vs]=null,vf=ps[--vs],ps[vs]=null;for(;e===xi;)xi=Nr[--Ar],Nr[Ar]=null,jo=Nr[--Ar],Nr[Ar]=null,Bo=Nr[--Ar],Nr[Ar]=null}var br=null,gr=null,Vt=!1,eo=null;function UE(e,t){var n=_r(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function VS(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,br=e,gr=xa(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,br=e,gr=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=xi!==null?{id:Bo,overflow:jo}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=_r(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,br=e,gr=null,!0):!1;default:return!1}}function $g(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Eg(e){if(Vt){var t=gr;if(t){var n=t;if(!VS(e,t)){if($g(e))throw Error(ye(418));t=xa(n.nextSibling);var r=br;t&&VS(e,t)?UE(r,n):(e.flags=e.flags&-4097|2,Vt=!1,br=e)}}else{if($g(e))throw Error(ye(418));e.flags=e.flags&-4097|2,Vt=!1,br=e}}}function WS(e){
Line truncated
|
|
||||||
Error generating stack: `+a.message+`
|
|
||||||
`+a.stack}return{value:e,source:t,stack:o,digest:null}}function Eh(e,t,n){return{value:e,source:null,stack:n!=null?n:null,digest:t!=null?t:null}}function Pg(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var R6=typeof WeakMap=="function"?WeakMap:Map;function bO(e,t,n){n=Ho(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){xf||(xf=!0,Bg=r),Pg(e,t)},n}function SO(e,t,n){n=Ho(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){Pg(e,t)}}var a=e.stateNode;return a!==null&&typeof a.componentDidCatch=="function"&&(n.callback=function(){Pg(e,t),typeof r!="function"&&($a===null?$a=new Set([this]):$a.add(this));var i=t.stack;this.componentDidCatch(t.value,{componentStack:i!==null?i:""})}),n}function ZS(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new R6;var o=new Set;r.set(t,o)}else o=r.get(t),o===void 0&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=H6.bind(null,e,t,n),t.then(e,e))}function JS(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function eC(e,t,n,r,o){return(e.mode&1)===0?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Ho(-1,1),t.tag=2,wa(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var P6=qo.ReactCurrentOwner,rr=!1;function Gn(e,t,n,r){t.child=e===null?ZE(t,null,n,r):Bs(t,e.child,n,r)}function tC(e,t,n,r,o){n=n.render;var a=t.ref;return Ps(t,o),r=r1(e,t,n,r,a,o),n=o1(),e!==null&&!rr?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Go(e,t,o)):(Vt&&n&&Uy(t),t.flags|=1,Gn(e,t,r,o),t.child)}function nC(e,t,n,r,o){if(e===null){var a=n.type;return typeof a=="function"&&!v1(a)&&a.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=a,CO(e,t,a,r,o)):(e=_d(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,(e.lanes&o)===0){var i=a.memoizedProps;if(n=n.compare,n=n!==null?n:Cc,n(i,r)&&e.ref===t.ref)return Go(e,t,o)}return t.flags|=1,e=Oa(a,r),e.ref=t.ref,e.return=t,t.child=e}function CO(e,t,n,r,o){if(e!==null){var a=e.memoizedProps;if(Cc(a,r)&&e.ref===t.ref)if(rr=!1,t.pendingProps=r=a,(e.lanes&o)!==0)(e.flags&131072)!==0&&(rr=!0);else return t.lanes=e.lanes,Go(e,t,o)}return Ig(e,t,n,r,o)}function xO(e,t,n){var r=t.pendingProps,o=r.children,a=e!==null?e.memoizedState:null;if(r.mode==="hidden")if((t.mode&1)===0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},kt(gs,mr),mr|=n;else{if((n&1073741824)===0)return e=a!==null?a.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,kt(gs,mr),mr|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=a!==null?a.baseLanes:n,kt(gs,mr),mr|=r}else a!==null?(r=a.baseLanes|n,t.memoizedState=null):r=n,kt(gs,mr),mr|=r;return Gn(e,t,o,n),t.child}function wO(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Ig(e,t,n,r,o){var a=ar(n)?Ci:zn.current;return a=Ls(t,a),Ps(t,o),n=r1(e,t,n,r,a,o),r=o1(),e!==null&&!rr?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Go(e,t,o)):(Vt&&r&&Uy(t),t.flags|=1,Gn(e,t,n,o),t.child)}function rC(e,t,n,r,o){if(ar(n)){var a=!0;ff(t)}else a=!1;if(Ps(t,o),t.stateNode===null)Td(e,t),XE(t,n,r),Rg(t,n,r,o),r=!0;else if(e===null){var i=t.stateNode,s=t.memoizedProps;i.props=s;var l=i.context,c=n.contextType;typeof c=="object"&&c!==null?c=kr(c):(c=ar(n)?Ci:zn.current,c=Ls(t,c));var u=n.getDerivedStateFromProps,d=typeof u=="function"||typeof i.getSnapshotBeforeUpdate=="function";d||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(s!==r||l!==c)&&KS(t,i,r,c),ua=!1;var f=t.memoizedState;i.state=f,gf(t,r,i,o),l=t.memoizedState,s!==r||f!==l||or.current||ua?(typeof u=="function"&&(Mg(t,n,u,r),l=t.memoizedState),(s=ua||YS(t,n,s,r,f,l,c))?(d||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(t.flags|=4194308)):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),i.props=r,i.state=l,i.context=c,r=s):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,KE(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:qr(t.type,s),i.props=c,d=t.pendingProps,f=i.context,l=n.contextType,typeof l=="object"&&l!==null?l=kr(l):(l=ar(n)?Ci:zn.current,l=Ls(t,l));var p=n.getDerivedStateFromProps;(u=typeof p=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(s!==d||f!==l)&&KS(t,i,r,l),ua=!1,f=t.memoizedState,i.sta
Line truncated
|
|
||||||
* Adapted from jQuery UI core
|
|
||||||
*
|
|
||||||
* http://jqueryui.com
|
|
||||||
*
|
|
||||||
* Copyright 2014 jQuery Foundation and other contributors
|
|
||||||
* Released under the MIT license.
|
|
||||||
* http://jquery.org/license
|
|
||||||
*
|
|
||||||
* http://api.jqueryui.com/category/ui-core/
|
|
||||||
*/var n="none",r="contents",o=/input|select|textarea|button|object|iframe/;function a(d,f){return f.getPropertyValue("overflow")!=="visible"||d.scrollWidth<=0&&d.scrollHeight<=0}function i(d){var f=d.offsetWidth<=0&&d.offsetHeight<=0;if(f&&!d.innerHTML)return!0;try{var p=window.getComputedStyle(d),h=p.getPropertyValue("display");return f?h!==r&&a(d,p):h===n}catch{return console.warn("Failed to inspect element style"),!1}}function s(d){for(var f=d,p=d.getRootNode&&d.getRootNode();f&&f!==document.body;){if(p&&f===p&&(f=p.host.parentNode),i(f))return!1;f=f.parentNode}return!0}function l(d,f){var p=d.nodeName.toLowerCase(),h=o.test(p)&&!d.disabled||p==="a"&&d.href||f;return h&&s(d)}function c(d){var f=d.getAttribute("tabindex");f===null&&(f=void 0);var p=isNaN(f);return(p||f>=0)&&l(d,!p)}function u(d){var f=[].slice.call(d.querySelectorAll("*"),0).reduce(function(p,h){return p.concat(h.shadowRoot?u(h.shadowRoot):[h])},[]);return f.filter(c)}e.exports=t.default})(Mf,Mf.exports);Object.defineProperty(fo,"__esModule",{value:!0});fo.resetState=sN;fo.log=lN;fo.handleBlur=Tc;fo.handleFocus=Nc;fo.markForFocusLater=cN;fo.returnFocus=uN;fo.popWithoutFocus=dN;fo.setupScopedFocus=fN;fo.teardownScopedFocus=pN;var oN=Mf.exports,aN=iN(oN);function iN(e){return e&&e.__esModule?e:{default:e}}var Vs=[],ys=null,Ug=!1;function sN(){Vs=[]}function lN(){}function Tc(){Ug=!0}function Nc(){if(Ug){if(Ug=!1,!ys)return;setTimeout(function(){if(!ys.contains(document.activeElement)){var e=(0,aN.default)(ys)[0]||ys;e.focus()}},0)}}function cN(){Vs.push(document.activeElement)}function uN(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,t=null;try{Vs.length!==0&&(t=Vs.pop(),t.focus({preventScroll:e}));return}catch{console.warn(["You tried to return focus to",t,"but it is not in the DOM anymore"].join(" "))}}function dN(){Vs.length>0&&Vs.pop()}function fN(e){ys=e,window.addEventListener?(window.addEventListener("blur",Tc,!1),document.addEventListener("focus",Nc,!0)):(window.attachEvent("onBlur",Tc),document.attachEvent("onFocus",Nc))}function pN(){ys=null,window.addEventListener?(window.removeEventListener("blur",Tc),document.removeEventListener("focus",Nc)):(window.detachEvent("onBlur",Tc),document.detachEvent("onFocus",Nc))}var Gg={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var n=Mf.exports,r=o(n);function o(s){return s&&s.__esModule?s:{default:s}}function a(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;return s.activeElement.shadowRoot?a(s.activeElement.shadowRoot):s.activeElement}function i(s,l){var c=(0,r.default)(s);if(!c.length){l.preventDefault();return}var u=void 0,d=l.shiftKey,f=c[0],p=c[c.length-1],h=a();if(s===h){if(!d)return;u=p}if(p===h&&!d&&(u=f),f===h&&d&&(u=p),u){l.preventDefault(),u.focus();return}var v=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent),y=v!=null&&v[1]!="Chrome"&&/\biPod\b|\biPad\b/g.exec(navigator.userAgent)==null;if(!!y){var g=c.indexOf(h);if(g>-1&&(g+=d?-1:1),u=c[g],typeof u>"u"){l.preventDefault(),u=d?p:f,u.focus();return}l.preventDefault(),u.focus()}}e.exports=t.default})(Gg,Gg.exports);var po={},vN=function(){},hN=vN,oo={},qO={exports:{}};/*!
|
|
||||||
Copyright (c) 2015 Jed Watson.
|
|
||||||
Based on code that is Copyright 2013-2015, Facebook, Inc.
|
|
||||||
All rights reserved.
|
|
||||||
*/(function(e){(function(){var t=!!(typeof window<"u"&&window.document&&window.document.createElement),n={canUseDOM:t,canUseWorkers:typeof Worker<"u",canUseEventListeners:t&&!!(window.addEventListener||window.attachEvent),canUseViewport:t&&!!window.screen};e.exports?e.exports=n:window.ExecutionEnvironment=n})()})(qO);Object.defineProperty(oo,"__esModule",{value:!0});oo.canUseDOM=oo.SafeNodeList=oo.SafeHTMLCollection=void 0;var mN=qO.exports,gN=yN(mN);function yN(e){return e&&e.__esModule?e:{default:e}}var Op=gN.default,bN=Op.canUseDOM?window.HTMLElement:{};oo.SafeHTMLCollection=Op.canUseDOM?window.HTMLCollection:{};oo.SafeNodeList=Op.canUseDOM?window.NodeList:{};oo.canUseDOM=Op.canUseDOM;oo.default=bN;Object.defineProperty(po,"__esModule",{value:!0});po.resetState=$N;po.log=EN;po.assertNodeList=XO;po.setElement=ON;po.validateElement=b1;po.hide=MN;po.show=RN;po.documentNotReadyOrSSRTesting=PN;var SN=hN,CN=wN(SN),xN=oo;function wN(e){return e&&e.__esModule?e:{default:e}}var Tr=null;function $N(){Tr&&(Tr.removeAttribute?Tr.removeAttribute("aria-hidden"):Tr.length!=null?Tr.forEach(function(e){return e.removeAttribute("aria-hidden")}):document.querySelectorAll(Tr).forEach(function(e){return e.removeAttribute("aria-hidden")})),Tr=null}function EN(){}function XO(e,t){if(!e||!e.length)throw new Error("react-modal: No elements were found for selector "+t+".")}function ON(e){var t=e;if(typeof t=="string"&&xN.canUseDOM){var n=document.querySelectorAll(t);XO(n,t),t=n}return Tr=t||Tr,Tr}function b1(e){var t=e||Tr;return t?Array.isArray(t)||t instanceof HTMLCollection||t instanceof NodeList?t:[t]:((0,CN.default)(!1,["react-modal: App element is not defined.","Please use `Modal.setAppElement(el)` or set `appElement={el}`.","This is needed so screen readers don't see main content","when modal is opened. It is not recommended, but you can opt-out","by setting `ariaHideApp={false}`."].join(" ")),[])}function MN(e){var t=!0,n=!1,r=void 0;try{for(var o=b1(e)[Symbol.iterator](),a;!(t=(a=o.next()).done);t=!0){var i=a.value;i.setAttribute("aria-hidden","true")}}catch(s){n=!0,r=s}finally{try{!t&&o.return&&o.return()}finally{if(n)throw r}}}function RN(e){var t=!0,n=!1,r=void 0;try{for(var o=b1(e)[Symbol.iterator](),a;!(t=(a=o.next()).done);t=!0){var i=a.value;i.removeAttribute("aria-hidden")}}catch(s){n=!0,r=s}finally{try{!t&&o.return&&o.return()}finally{if(n)throw r}}}function PN(){Tr=null}var nl={};Object.defineProperty(nl,"__esModule",{value:!0});nl.resetState=IN;nl.log=TN;var rc={},oc={};function gC(e,t){e.classList.remove(t)}function IN(){var e=document.getElementsByTagName("html")[0];for(var t in rc)gC(e,rc[t]);var n=document.body;for(var r in oc)gC(n,oc[r]);rc={},oc={}}function TN(){}var NN=function(t,n){return t[n]||(t[n]=0),t[n]+=1,n},AN=function(t,n){return t[n]&&(t[n]-=1),n},_N=function(t,n,r){r.forEach(function(o){NN(n,o),t.add(o)})},DN=function(t,n,r){r.forEach(function(o){AN(n,o),n[o]===0&&t.remove(o)})};nl.add=function(t,n){return _N(t.classList,t.nodeName.toLowerCase()=="html"?rc:oc,n.split(" "))};nl.remove=function(t,n){return DN(t.classList,t.nodeName.toLowerCase()=="html"?rc:oc,n.split(" "))};var rl={};Object.defineProperty(rl,"__esModule",{value:!0});rl.log=LN;rl.resetState=kN;function FN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var QO=function e(){var t=this;FN(this,e),this.register=function(n){t.openInstances.indexOf(n)===-1&&(t.openInstances.push(n),t.emit("register"))},this.deregister=function(n){var r=t.openInstances.indexOf(n);r!==-1&&(t.openInstances.splice(r,1),t.emit("deregister"))},this.subscribe=function(n){t.subscribers.push(n)},this.emit=function(n){t.subscribers.forEach(function(r){return r(n,t.openInstances.slice())})},this.openInstances=[],this.subscribers=[]},Rf=new QO;function LN(){console.log("portalOpenInstances ----------"),console.log(Rf.openInstances.length),Rf.openInstances.forEach(function(e){return console.log(e)}),console.log("end portalOpenInstances ----------")}function kN(){Rf=new QO}rl.default=Rf;var S1={};Object.defineProperty(S1,"__esModule",{value:!0});S1.resetState=HN;S1.log=VN;var BN=rl,jN=zN(BN);function zN(e){return e&&e.__esModule?e:{default:e}}var Dn=void 0,Xr=void 0,mi=[];function HN(){for(var e=[Dn,Xr],t=0;t<e.length;t++){var n=e[t];!n||n.parentNode&&n.parentNode.removeChild(n)}Dn=Xr=null,mi=[]}function VN(){console.log("bodyTrap ----------"),console.log(mi.length);for(var e=[Dn,Xr],t=0;t<e.length;t++){var n=e[t],r=n||{};console.log(r.nodeName,r.className,r.id)}console.log("edn bodyTrap ----------")}function yC(){mi.length!==0&&mi[mi.length-1].focusContent()}function WN(e,t){!Dn&&!Xr&&(Dn=document.createElement("div"),Dn.setAttribute("data-react-modal-body-trap",""),Dn.style.position="absolute",Dn.style.opacity="0",Dn.setAttribute("tabindex","0"),Dn.addEventListener("focus",yC),Xr=Dn.cloneNode(),Xr.addEventListener("focus",yC)),mi=t,mi.length>0?(document.body.firstChild!==Dn&&document.body.insertBefore(Dn,document.body.firstChilLine truncated
|
|
||||||
|
|
||||||
`+a+" uses "+i+" but also contains the following legacy lifecycles:"+(n!==null?`
|
|
||||||
`+n:"")+(r!==null?`
|
|
||||||
`+r:"")+(o!==null?`
|
|
||||||
`+o:"")+`
|
|
||||||
|
|
||||||
The above lifecycles should be removed. Learn more about this warning here:
|
|
||||||
https://fb.me/react-async-component-lifecycle-hooks`)}if(typeof e.getDerivedStateFromProps=="function"&&(t.componentWillMount=ZO,t.componentWillReceiveProps=JO),typeof t.getSnapshotBeforeUpdate=="function"){if(typeof t.componentDidUpdate!="function")throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=e4;var s=t.componentDidUpdate;t.componentDidUpdate=function(c,u,d){var f=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:d;s.call(this,c,u,f)}}return e}const GN=Object.freeze(Object.defineProperty({__proto__:null,polyfill:UN},Symbol.toStringTag,{value:"Module"})),YN=D3(GN);Object.defineProperty(Oi,"__esModule",{value:!0});Oi.bodyOpenClassName=Oi.portalClassName=void 0;var bC=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},KN=function(){function e(t,n){for(var r=0;r<n.length;r++){var o=n[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),t4=m.exports,Pf=ru(t4),qN=lr.exports,If=ru(qN),XN=Me.exports,it=ru(XN),QN=Wg.exports,SC=ru(QN),ZN=po,JN=tA(ZN),ha=oo,CC=ru(ha),eA=YN;function tA(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function ru(e){return e&&e.__esModule?e:{default:e}}function nA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xC(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function rA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var oA=Oi.portalClassName="ReactModalPortal",aA=Oi.bodyOpenClassName="ReactModal__Body--open",ni=ha.canUseDOM&&If.default.createPortal!==void 0,wC=function(t){return document.createElement(t)},$C=function(){return ni?If.default.createPortal:If.default.unstable_renderSubtreeIntoContainer};function Xu(e){return e()}var ou=function(e){rA(t,e);function t(){var n,r,o,a;nA(this,t);for(var i=arguments.length,s=Array(i),l=0;l<i;l++)s[l]=arguments[l];return a=(r=(o=xC(this,(n=t.__proto__||Object.getPrototypeOf(t)).call.apply(n,[this].concat(s))),o),o.removePortal=function(){!ni&&If.default.unmountComponentAtNode(o.node);var c=Xu(o.props.parentSelector);c&&c.contains(o.node)?c.removeChild(o.node):console.warn('React-Modal: "parentSelector" prop did not returned any DOM element. Make sure that the parent element is unmounted to avoid any memory leaks.')},o.portalRef=function(c){o.portal=c},o.renderPortal=function(c){var u=$C(),d=u(o,Pf.default.createElement(SC.default,bC({defaultStyles:t.defaultStyles},c)),o.node);o.portalRef(d)},r),xC(o,a)}return KN(t,[{key:"componentDidMount",value:function(){if(!!ha.canUseDOM){ni||(this.node=wC("div")),this.node.className=this.props.portalClassName;var r=Xu(this.props.parentSelector);r.appendChild(this.node),!ni&&this.renderPortal(this.props)}}},{key:"getSnapshotBeforeUpdate",value:function(r){var o=Xu(r.parentSelector),a=Xu(this.props.parentSelector);return{prevParent:o,nextParent:a}}},{key:"componentDidUpdate",value:function(r,o,a){if(!!ha.canUseDOM){var i=this.props,s=i.isOpen,l=i.portalClassName;r.portalClassName!==l&&(this.node.className=l);var c=a.prevParent,u=a.nextParent;u!==c&&(c.removeChild(this.node),u.appendChild(this.node)),!(!r.isOpen&&!s)&&!ni&&this.renderPortal(this.props)}}},{key:"componentWillUnmount",value:function(){if(!(!ha.canUseDOM||!this.node||!this.portal)){var r=this.portal.state,o=Date.now(),a=r.isOpen&&this.props.closeTimeoutMS&&(r.closesAt||o+this.props.closeTimeoutMS);a?(r.beforeClose||this.portal.closeWithTimeout(),setTimeout(this.removePortal,a-o)):this.removePortal()}}},{key:"render",value:function(){if(!ha.canUseDOM||!ni)return null;!this.node&&ni&&(this.node=wC("div"));var r=$C();return r(Pf.default.createElement(SC.default,bC({ref:this.portalRef,defaultStyles:t.defaultStyles},this.props)),this.node)}}],[{key:"setAppElement",value:function(r){JN.setElement(r)}}]),t}(t4.Component);ou.propTypes={isOpen:it.default.bool.isRequired,style:it.default.shape({content:it.default.object,overlay:it.default.object}),portalClassName:it.default.string,bodyOpenClassName:it.default.string,htmlOpenClassName:it.default.string,className:it.default.oneOfType([it.default.string,it.default.shape({base:it.default.string.isRequired,afterOpen:it.default.string.isRequired,beforeClose:it.default.string.isRequired})]),overlayClassName:it.default.oneOfType([it.default.string,it.default.shape({bas
Line truncated
|
|
||||||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Z(e,t){return n4(e)||sA(e,t)||x1(e,t)||r4()}function et(e){return et=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},et(e)}function lA(e,t){if(et(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(et(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function o4(e){var t=lA(e,"string");return et(t)=="symbol"?t:String(t)}function U(e,t,n){return t=o4(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function cA(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,a;for(a=0;a<r.length;a++)o=r[a],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function nt(e,t){if(e==null)return{};var n=cA(e,t),r,o;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],!(t.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(n[r]=e[r]))}return n}var a4={exports:{}};/*!
|
|
||||||
Copyright (c) 2018 Jed Watson.
|
|
||||||
Licensed under the MIT License (MIT), see
|
|
||||||
http://jedwatson.github.io/classnames
|
|
||||||
*/(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var a="",i=0;i<arguments.length;i++){var s=arguments[i];s&&(a=o(a,r(s)))}return a}function r(a){if(typeof a=="string"||typeof a=="number")return a;if(typeof a!="object")return"";if(Array.isArray(a))return n.apply(null,a);if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]"))return a.toString();var i="";for(var s in a)t.call(a,s)&&a[s]&&(i=o(i,s));return i}function o(a,i){return i?a?a+" "+i:a+i:a}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(a4);const oe=a4.exports;function Tn(e,t){uA(e)&&(e="100%");var n=dA(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 Qu(e){return Math.min(1,Math.max(0,e))}function uA(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function dA(e){return typeof e=="string"&&e.indexOf("%")!==-1}function i4(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function Zu(e){return e<=1?"".concat(Number(e)*100,"%"):e}function ci(e){return e.length===1?"0"+e:String(e)}function fA(e,t,n){return{r:Tn(e,255)*255,g:Tn(t,255)*255,b:Tn(n,255)*255}}function EC(e,t,n){e=Tn(e,255),t=Tn(t,255),n=Tn(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),a=0,i=0,s=(r+o)/2;if(r===o)i=0,a=0;else{var l=r-o;switch(i=s>.5?l/(2-r-o):l/(r+o),r){case e:a=(t-n)/l+(t<n?6:0);break;case t:a=(n-e)/l+2;break;case n:a=(e-t)/l+4;break}a/=6}return{h:a,s:i,l:s}}function Ph(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function pA(e,t,n){var r,o,a;if(e=Tn(e,360),t=Tn(t,100),n=Tn(n,100),t===0)o=n,a=n,r=n;else{var i=n<.5?n*(1+t):n+t-n*t,s=2*n-i;r=Ph(s,i,e+1/3),o=Ph(s,i,e),a=Ph(s,i,e-1/3)}return{r:r*255,g:o*255,b:a*255}}function Kg(e,t,n){e=Tn(e,255),t=Tn(t,255),n=Tn(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),a=0,i=r,s=r-o,l=r===0?0:s/r;if(r===o)a=0;else{switch(r){case e:a=(t-n)/s+(t<n?6:0);break;case t:a=(n-e)/s+2;break;case n:a=(e-t)/s+4;break}a/=6}return{h:a,s:l,v:i}}function vA(e,t,n){e=Tn(e,360)*6,t=Tn(t,100),n=Tn(n,100);var r=Math.floor(e),o=e-r,a=n*(1-t),i=n*(1-o*t),s=n*(1-(1-o)*t),l=r%6,c=[n,i,a,a,s,n][l],u=[s,n,n,i,a,a][l],d=[a,a,s,n,n,i][l];return{r:c*255,g:u*255,b:d*255}}function qg(e,t,n,r){var o=[ci(Math.round(e).toString(16)),ci(Math.round(t).toString(16)),ci(Math.round(n).toString(16))];return r&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function hA(e,t,n,r,o){var a=[ci(Math.round(e).toString(16)),ci(Math.round(t).toString(16)),ci(Math.round(n).toString(16)),ci(mA(r))];return o&&a[0].startsWith(a[0].charAt(1))&&a[1].startsWith(a[1].charAt(1))&&a[2].startsWith(a[2].charAt(1))&&a[3].startsWith(a[3].charAt(1))?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0):a.join("")}function mA(e){return Math.round(parseFloat(e)*255).toString(16)}function OC(e){return hr(e)/255}function hr(e){return parseInt(e,16)}function gA(e){return{r:e>>16,g:(e&65280)>>8,b:e&255}}var Xg={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",mediumpurpleLine truncated
|
|
||||||
.anticon {
|
|
||||||
display: inline-block;
|
|
||||||
color: inherit;
|
|
||||||
font-style: normal;
|
|
||||||
line-height: 0;
|
|
||||||
text-align: center;
|
|
||||||
text-transform: none;
|
|
||||||
vertical-align: -0.125em;
|
|
||||||
text-rendering: optimizeLegibility;
|
|
||||||
-webkit-font-smoothing: antialiased;
|
|
||||||
-moz-osx-font-smoothing: grayscale;
|
|
||||||
}
|
|
||||||
|
|
||||||
.anticon > * {
|
|
||||||
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);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
`,kA=function(t){var n=m.exports.useContext(C1),r=n.csp,o=n.prefixCls,a=LA;o&&(a=a.replace(/anticon/g,o)),m.exports.useEffect(function(){var i=t.current,s=Tf(i);Ta(a,"@ant-design-icons",{prepend:!0,csp:r,attachTo:s})},[])},BA=["icon","className","onClick","style","primaryColor","secondaryColor"],ac={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function jA(e){var t=e.primaryColor,n=e.secondaryColor;ac.primaryColor=t,ac.secondaryColor=n||h4(t),ac.calculated=!!n}function zA(){return Q({},ac)}var Rp=function(t){var n=t.icon,r=t.className,o=t.onClick,a=t.style,i=t.primaryColor,s=t.secondaryColor,l=nt(t,BA),c=m.exports.useRef(),u=ac;if(i&&(u={primaryColor:i,secondaryColor:s||h4(i)}),kA(c),FA(DC(n),"icon should be icon definiton, but got ".concat(n)),!DC(n))return null;var d=n;return d&&typeof d.icon=="function"&&(d=Q(Q({},d),{},{icon:d.icon(u.primaryColor,u.secondaryColor)})),e0(d.icon,"svg-".concat(d.name),Q(Q({className:r,onClick:o,style:a,"data-icon":d.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},l),{},{ref:c}))};Rp.displayName="IconReact";Rp.getTwoToneColors=zA;Rp.setTwoToneColors=jA;const $1=Rp;function g4(e){var t=m4(e),n=Z(t,2),r=n[0],o=n[1];return $1.setTwoToneColors({primaryColor:r,secondaryColor:o})}function HA(){var e=$1.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}var Pp={exports:{}},Ip={};/**
|
|
||||||
* @license React
|
|
||||||
* react-jsx-runtime.production.min.js
|
|
||||||
*
|
|
||||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
||||||
*
|
|
||||||
* This source code is licensed under the MIT license found in the
|
|
||||||
* LICENSE file in the root directory of this source tree.
|
|
||||||
*/var VA=m.exports,WA=Symbol.for("react.element"),UA=Symbol.for("react.fragment"),GA=Object.prototype.hasOwnProperty,YA=VA.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,KA={key:!0,ref:!0,__self:!0,__source:!0};function y4(e,t,n){var r,o={},a=null,i=null;n!==void 0&&(a=""+n),t.key!==void 0&&(a=""+t.key),t.ref!==void 0&&(i=t.ref);for(r in t)GA.call(t,r)&&!KA.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)o[r]===void 0&&(o[r]=t[r]);return{$$typeof:WA,type:e,key:a,ref:i,props:o,_owner:YA.current}}Ip.Fragment=UA;Ip.jsx=y4;Ip.jsxs=y4;(function(e){e.exports=Ip})(Pp);const Ft=Pp.exports.Fragment,C=Pp.exports.jsx,ne=Pp.exports.jsxs;var qA=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];g4(OA.primary);var Tp=m.exports.forwardRef(function(e,t){var n=e.className,r=e.icon,o=e.spin,a=e.rotate,i=e.tabIndex,s=e.onClick,l=e.twoToneColor,c=nt(e,qA),u=m.exports.useContext(C1),d=u.prefixCls,f=d===void 0?"anticon":d,p=u.rootClassName,h=oe(p,f,U(U({},"".concat(f,"-").concat(r.name),!!r.name),"".concat(f,"-spin"),!!o||r.name==="loading"),n),v=i;v===void 0&&s&&(v=-1);var y=a?{msTransform:"rotate(".concat(a,"deg)"),transform:"rotate(".concat(a,"deg)")}:void 0,g=m4(l),b=Z(g,2),S=b[0],x=b[1];return C("span",{role:"img","aria-label":r.name,...c,ref:t,tabIndex:v,onClick:s,className:h,children:C($1,{icon:r,primaryColor:S,secondaryColor:x,style:y})})});Tp.displayName="AntdIcon";Tp.getTwoToneColor=HA;Tp.setTwoToneColor=g4;const Et=Tp;var XA={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H212V212h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H612V212h200v200zM464 544H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H212V612h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H612V612h200v200z"}}]},name:"appstore",theme:"outlined"};const QA=XA;var ZA=function(t,n){return C(Et,{...t,ref:n,icon:QA})};const JA=m.exports.forwardRef(ZA);var e_={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M842 454c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 140.3-113.7 254-254 254S258 594.3 258 454c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 168.7 126.6 307.9 290 327.6V884H326.7c-13.7 0-24.7 14.3-24.7 32v36c0 4.4 2.8 8 6.2 8h407.6c3.4 0 6.2-3.6 6.2-8v-36c0-17.7-11-32-24.7-32H548V782.1c165.3-18 294-158 294-328.1zM512 624c93.9 0 170-75.2 170-168V232c0-92.8-76.1-168-170-168s-170 75.2-170 168v224c0 92.8 76.1 168 170 168zm-94-392c0-50.6 41.9-92 94-92s94 41.4 94 92v224c0 50.6-41.9 92-94 92s-94-41.4-94-92V232z"}}]},name:"audio",theme:"outlined"};const t_=e_;var n_=function(t,n){return C(Et,{...t,ref:n,icon:t_})};const r_=m.exports.forwardRef(n_);var o_={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 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"};const a_=o_;var i_=function(t,n){return C(Et,{...t,ref:n,icon:a_})};const b4=m.exports.forwardRef(i_);var s_={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"};const l_=s_;var c_=function(t,n){return C(Et,{...t,ref:n,icon:l_})};const S4=m.exports.forwardRef(c_);var u_={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"}}]},name:"close-circle",theme:"filled"};const d_=u_;var f_=function(t,n){return C(Et,{...t,ref:n,icon:d_})};const Np=m.exports.forwardRef(f_);var p_={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64Line truncated
|
|
||||||
* @license React
|
|
||||||
* react-is.production.min.js
|
|
||||||
*
|
|
||||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
||||||
*
|
|
||||||
* This source code is licensed under the MIT license found in the
|
|
||||||
* LICENSE file in the root directory of this source tree.
|
|
||||||
*/var E1=Symbol.for("react.element"),O1=Symbol.for("react.portal"),_p=Symbol.for("react.fragment"),Dp=Symbol.for("react.strict_mode"),Fp=Symbol.for("react.profiler"),Lp=Symbol.for("react.provider"),kp=Symbol.for("react.context"),hD=Symbol.for("react.server_context"),Bp=Symbol.for("react.forward_ref"),jp=Symbol.for("react.suspense"),zp=Symbol.for("react.suspense_list"),Hp=Symbol.for("react.memo"),Vp=Symbol.for("react.lazy"),mD=Symbol.for("react.offscreen"),$4;$4=Symbol.for("react.module.reference");function zr(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case E1:switch(e=e.type,e){case _p:case Fp:case Dp:case jp:case zp:return e;default:switch(e=e&&e.$$typeof,e){case hD:case kp:case Bp:case Vp:case Hp:case Lp:return e;default:return t}}case O1:return t}}}At.ContextConsumer=kp;At.ContextProvider=Lp;At.Element=E1;At.ForwardRef=Bp;At.Fragment=_p;At.Lazy=Vp;At.Memo=Hp;At.Portal=O1;At.Profiler=Fp;At.StrictMode=Dp;At.Suspense=jp;At.SuspenseList=zp;At.isAsyncMode=function(){return!1};At.isConcurrentMode=function(){return!1};At.isContextConsumer=function(e){return zr(e)===kp};At.isContextProvider=function(e){return zr(e)===Lp};At.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===E1};At.isForwardRef=function(e){return zr(e)===Bp};At.isFragment=function(e){return zr(e)===_p};At.isLazy=function(e){return zr(e)===Vp};At.isMemo=function(e){return zr(e)===Hp};At.isPortal=function(e){return zr(e)===O1};At.isProfiler=function(e){return zr(e)===Fp};At.isStrictMode=function(e){return zr(e)===Dp};At.isSuspense=function(e){return zr(e)===jp};At.isSuspenseList=function(e){return zr(e)===zp};At.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===_p||e===Fp||e===Dp||e===jp||e===zp||e===mD||typeof e=="object"&&e!==null&&(e.$$typeof===Vp||e.$$typeof===Hp||e.$$typeof===Lp||e.$$typeof===kp||e.$$typeof===Bp||e.$$typeof===$4||e.getModuleId!==void 0)};At.typeOf=zr;(function(e){e.exports=At})(ic);function au(e,t,n){var r=m.exports.useRef({});return(!("value"in r.current)||n(r.current.condition,t))&&(r.current.value=e(),r.current.condition=t),r.current.value}function M1(e,t){typeof e=="function"?e(t):et(e)==="object"&&e&&"current"in e&&(e.current=t)}function Hr(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.filter(function(o){return o});return r.length<=1?r[0]:function(o){t.forEach(function(a){M1(a,o)})}}function Ni(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return au(function(){return Hr.apply(void 0,t)},t,function(r,o){return r.length!==o.length||r.every(function(a,i){return a!==o[i]})})}function Ai(e){var t,n,r=ic.exports.isMemo(e)?e.type.type:e.type;return!(typeof r=="function"&&!((t=r.prototype)!==null&&t!==void 0&&t.render)&&r.$$typeof!==ic.exports.ForwardRef||typeof e=="function"&&!((n=e.prototype)!==null&&n!==void 0&&n.render)&&e.$$typeof!==ic.exports.ForwardRef)}function Na(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[];return Re.Children.forEach(e,function(r){r==null&&!t.keepEmpty||(Array.isArray(r)?n=n.concat(Na(r)):ic.exports.isFragment(r)&&r.props?n=n.concat(Na(r.props.children,t)):n.push(r))}),n}function Nf(e){return e instanceof HTMLElement||e instanceof SVGElement}function sc(e){return Nf(e)?e:e instanceof Re.Component?Of.findDOMNode(e):null}var t0=m.exports.createContext(null);function gD(e){var t=e.children,n=e.onBatchResize,r=m.exports.useRef(0),o=m.exports.useRef([]),a=m.exports.useContext(t0),i=m.exports.useCallback(function(s,l,c){r.current+=1;var u=r.current;o.current.push({size:s,element:l,data:c}),Promise.resolve().then(function(){u===r.current&&(n==null||n(o.current),o.current=[])}),a==null||a(s,l,c)},[n,a]);return C(t0.Provider,{value:i,children:t})}var E4=function(){if(typeof Map<"u")return Map;function e(t,n){var r=-1;return t.some(function(o,a){return o[0]===n?(r=a,!0):!1}),r}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(n){var r=e(this.__entries__,n),o=this.__entries__[r];return o&&o[1]},t.prototype.set=function(n,r){var o=e(this.__entries__,n);~o?this.__entries__[o][1]=r:this.__entries__.push([n,r])},t.prototype.delete=function(n){var r=this.__entries__,o=e(r,n);~o&&r.splice(o,1)},t.prototype.has=function(n){return!!~e(this.__entries__,n)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(n,r){r===void 0&&(r=null);for(var o=0,a=this.__entries__;o<a.length;o++){var i=a[o];n.call(r,i[1],i[0])}},t}()}(),n0=typeof window<"u"&&typeof document<"u"&&window.document===document,Af=function(){return typeof global<"u"&&global.Math===Math?global:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")()}(),yD=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(Af):function(e){return sLine truncated
|
|
||||||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Pe(e){return VD(e)||N4(e)||x1(e)||WD()}var A4=function(t){return+setTimeout(t,16)},_4=function(t){return clearTimeout(t)};typeof window<"u"&&"requestAnimationFrame"in window&&(A4=function(t){return window.requestAnimationFrame(t)},_4=function(t){return window.cancelAnimationFrame(t)});var jC=0,R1=new Map;function D4(e){R1.delete(e)}var $t=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;jC+=1;var r=jC;function o(a){if(a===0)D4(r),t();else{var i=A4(function(){o(a-1)});R1.set(r,i)}}return o(n),r};$t.cancel=function(e){var t=R1.get(e);return D4(e),_4(t)};function Df(e){for(var t=0,n,r=0,o=e.length;o>=4;++r,o-=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(o){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)}function su(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,r=new Set;function o(a,i){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,l=r.has(a);if(jn(!l,"Warning: There may be circular references"),l)return!1;if(a===i)return!0;if(n&&s>1)return!1;r.add(a);var c=s+1;if(Array.isArray(a)){if(!Array.isArray(i)||a.length!==i.length)return!1;for(var u=0;u<a.length;u++)if(!o(a[u],i[u],c))return!1;return!0}if(a&&i&&et(a)==="object"&&et(i)==="object"){var d=Object.keys(a);return d.length!==Object.keys(i).length?!1:d.every(function(f){return o(a[f],i[f],c)})}return!1}return o(e,t)}var UD="%";function o0(e){return e.join(UD)}var GD=function(){function e(t){Pt(this,e),U(this,"instanceId",void 0),U(this,"cache",new Map),this.instanceId=t}return It(e,[{key:"get",value:function(n){return this.opGet(o0(n))}},{key:"opGet",value:function(n){return this.cache.get(n)||null}},{key:"update",value:function(n,r){return this.opUpdate(o0(n),r)}},{key:"opUpdate",value:function(n,r){var o=this.cache.get(n),a=r(o);a===null?this.cache.delete(n):this.cache.set(n,a)}}]),e}(),Us="data-token-hash",ao="data-css-hash",ya="__cssinjs_instance__";function YD(){var e=Math.random().toString(12).slice(2);if(typeof document<"u"&&document.head&&document.body){var t=document.body.querySelectorAll("style[".concat(ao,"]"))||[],n=document.head.firstChild;Array.from(t).forEach(function(o){o[ya]=o[ya]||e,o[ya]===e&&document.head.insertBefore(o,n)});var r={};Array.from(document.querySelectorAll("style[".concat(ao,"]"))).forEach(function(o){var a=o.getAttribute(ao);if(r[a]){if(o[ya]===e){var i;(i=o.parentNode)===null||i===void 0||i.removeChild(o)}}else r[a]=!0})}return new GD(e)}var Gp=m.exports.createContext({hashPriority:"low",cache:YD(),defaultCache:!0});function KD(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}var P1=function(){function e(){Pt(this,e),U(this,"cache",void 0),U(this,"keys",void 0),U(this,"cacheCallTimes",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return It(e,[{key:"size",value:function(){return this.keys.length}},{key:"internalGet",value:function(n){var r,o,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,i={map:this.cache};return n.forEach(function(s){if(!i)i=void 0;else{var l;i=(l=i)===null||l===void 0||(l=l.map)===null||l===void 0?void 0:l.get(s)}}),(r=i)!==null&&r!==void 0&&r.value&&a&&(i.value[1]=this.cacheCallTimes++),(o=i)===null||o===void 0?void 0:o.value}},{key:"get",value:function(n){var r;return(r=this.internalGet(n,!0))===null||r===void 0?void 0:r[0]}},{key:"has",value:function(n){return!!this.internalGet(n)}},{key:"set",value:function(n,r){var o=this;if(!this.has(n)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){var a=this.keys.reduce(function(c,u){var d=Z(c,2),f=d[1];return o.internalGet(u)[1]<f?[u,o.internalGet(u)[1]]:c},[this.keys[0],this.cacheCallTimes]),i=Z(a,1),s=i[0];this.delete(s)}this.keys.push(n)}var l=this.cache;n.forEach(function(c,u){if(u===n.length-1)l.set(c,{value:[r,o.cacheCallTimes++]});else{var d=l.get(c);d?d.map||(d.map=new Map):l.set(c,{map:new Map}),l=l.get(c).map}})}},{key:"deleteByPath",value:function(n,r){var o=n.get(r[0]);if(r.length===1){var a;return o.map?n.set(r[0],{map:o.map}):n.delete(r[0]),(a=o.value)===null||a===void 0?void 0:a[0]}var i=this.deleteByPath(o.map,r.slice(1));return(!o.map||o.map.size===0)&&!o.value&&n.delete(r[0]),i}},{key:"delete",value:function(n){if(this.has(n))return this.keys=this.keys.filter(function(r){return!KD(r,n)}),this.deleteByPath(this.cache,n)}}]),e}();U(P1,"MAX_CACHE_SIZE",20);U(P1,"MAX_CACHE_OFFSET",5);var zC=0,F4=function(){function e(t){Pt(this,e),U(this,"derivatives",void 0),U(this,"id",void 0),this.derivatives=Array.isArray(t)?t:[t
Line truncated
|
|
||||||
`);else if(x._keyframe)h(x);else{var w=d.reduce(function(E,$){var R;return($==null||(R=$.visit)===null||R===void 0?void 0:R.call($,E))||E},x);Object.keys(w).forEach(function(E){var $=w[E];if(et($)==="object"&&$&&(E!=="animationName"||!$._keyframe)&&!kF($)){var R=!1,I=E.trim(),T=!1;(o||a)&&s?I.startsWith("@")?R=!0:I=BF(E,s,c):o&&!s&&(I==="&"||I==="")&&(I="",T=!0);var P=e($,n,{root:T,injectHash:R,parentSelectors:[].concat(Pe(i),[I])}),F=Z(P,2),j=F[0],N=F[1];p=Q(Q({},p),N),f+="".concat(I).concat(j)}else{let O=function(L,A){var H=L.replace(/[A-Z]/g,function(B){return"-".concat(B.toLowerCase())}),_=A;!gF[L]&&typeof _=="number"&&_!==0&&(_="".concat(_,"px")),L==="animationName"&&A!==null&&A!==void 0&&A._keyframe&&(h(A),_=A.getName(s)),f+="".concat(H,":").concat(_,";")};var M=O,k,D=(k=$==null?void 0:$.value)!==null&&k!==void 0?k:$;et($)==="object"&&$!==null&&$!==void 0&&$[q4]&&Array.isArray(D)?D.forEach(function(L){O(E,L)}):O(E,D)}})}}),!o)f="{".concat(f,"}");else if(l&&ZD()){var g=l.split(","),b=g[g.length-1].trim();f="@layer ".concat(b," {").concat(f,"}"),g.length>1&&(f="@layer ".concat(l,"{%%%:%}").concat(f))}return[f,p]};function X4(e,t){return Df("".concat(e.join("%")).concat(t))}function zF(){return null}var Q4="style";function f0(e,t){var n=e.token,r=e.path,o=e.hashId,a=e.layer,i=e.nonce,s=e.clientOnly,l=e.order,c=l===void 0?0:l,u=m.exports.useContext(Gp),d=u.autoClear;u.mock;var f=u.defaultCache,p=u.hashPriority,h=u.container,v=u.ssrInline,y=u.transformers,g=u.linters,b=u.cache,S=n._tokenKey,x=[S].concat(Pe(r)),w=i0,E=I1(Q4,x,function(){var P=x.join("|");if(DF(P)){var F=FF(P),j=Z(F,2),N=j[0],k=j[1];if(N)return[N,S,k,{},s,c]}var D=t(),M=jF(D,{hashId:o,hashPriority:p,layer:a,path:r.join("-"),transformers:y,linters:g}),O=Z(M,2),L=O[0],A=O[1],H=d0(L),_=X4(x,H);return[H,S,_,A,s,c]},function(P,F){var j=Z(P,3),N=j[2];(F||d)&&i0&&Ac(N,{mark:ao})},function(P){var F=Z(P,4),j=F[0];F[1];var N=F[2],k=F[3];if(w&&j!==Y4){var D={mark:ao,prepend:"queue",attachTo:h,priority:c},M=typeof i=="function"?i():i;M&&(D.csp={nonce:M});var O=Ta(j,N,D);O[ya]=b.instanceId,O.setAttribute(Us,S),Object.keys(k).forEach(function(L){Ta(d0(k[L]),"_effect-".concat(L),D)})}}),$=Z(E,3),R=$[0],I=$[1],T=$[2];return function(P){var F;if(!v||w||!f)F=C(zF,{});else{var j;F=C("style",{...(j={},U(j,Us,I),U(j,ao,T),j),dangerouslySetInnerHTML:{__html:R}})}return ne(Ft,{children:[F,P]})}}var HF=function(t,n,r){var o=Z(t,6),a=o[0],i=o[1],s=o[2],l=o[3],c=o[4],u=o[5],d=r||{},f=d.plain;if(c)return null;var p=a,h={"data-rc-order":"prependQueue","data-rc-priority":"".concat(u)};return p=Ff(a,i,s,h,f),l&&Object.keys(l).forEach(function(v){if(!n[v]){n[v]=!0;var y=d0(l[v]);p+=Ff(y,i,"_effect-".concat(v),h,f)}}),[u,s,p]},Z4="cssVar",VF=function(t,n){var r=t.key,o=t.prefix,a=t.unitless,i=t.ignore,s=t.token,l=t.scope,c=l===void 0?"":l,u=m.exports.useContext(Gp),d=u.cache.instanceId,f=u.container,p=s._tokenKey,h=[].concat(Pe(t.path),[r,c,p]),v=I1(Z4,h,function(){var y=n(),g=B4(y,r,{prefix:o,unitless:a,ignore:i,scope:c}),b=Z(g,2),S=b[0],x=b[1],w=X4(h,x);return[S,x,w,r]},function(y){var g=Z(y,3),b=g[2];i0&&Ac(b,{mark:ao})},function(y){var g=Z(y,3),b=g[1],S=g[2];if(!!b){var x=Ta(b,S,{mark:ao,prepend:"queue",attachTo:f,priority:-999});x[ya]=d,x.setAttribute(Us,r)}});return v},WF=function(t,n,r){var o=Z(t,4),a=o[1],i=o[2],s=o[3],l=r||{},c=l.plain;if(!a)return null;var u=-999,d={"data-rc-order":"prependQueue","data-rc-priority":"".concat(u)},f=Ff(a,s,i,d,c);return[u,i,f]},El;El={},U(El,Q4,HF),U(El,j4,mF),U(El,Z4,WF);var Ot=function(){function e(t,n){Pt(this,e),U(this,"name",void 0),U(this,"style",void 0),U(this,"_keyframe",!0),this.name=t,this.style=n}return It(e,[{key:"getName",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return n?"".concat(n,"-").concat(this.name):this.name}}]),e}();function zi(e){return e.notSplit=!0,e}zi(["borderTop","borderBottom"]),zi(["borderTop"]),zi(["borderBottom"]),zi(["borderLeft","borderRight"]),zi(["borderLeft"]),zi(["borderRight"]);function J4(e){return n4(e)||N4(e)||x1(e)||r4()}function $o(e,t){for(var n=e,r=0;r<t.length;r+=1){if(n==null)return;n=n[t[r]]}return n}function eM(e,t,n,r){if(!t.length)return n;var o=J4(t),a=o[0],i=o.slice(1),s;return!e&&typeof a=="number"?s=[]:Array.isArray(e)?s=Pe(e):s=Q({},e),r&&n===void 0&&i.length===1?delete s[a][i[0]]:s[a]=eM(s[a],i,n,r),s}function Zr(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return t.length&&r&&n===void 0&&!$o(e,t.slice(0,-1))?e:eM(e,t,n,r)}function UF(e){return et(e)==="object"&&e!==null&&Object.getPrototypeOf(e)===Object.prototype}function qC(e){return Array.isArray(e)?[]:{}}var GF=typeof Reflect>"u"?Object.keys:Reflect.ownKeys;function bs(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=qC(t[0]);return t.forEach(function(o){function a(i,s){var l=new Set(s),c=$o(o,i),u=Array.isArray(c);if(u||UF(c)){if(!l.has(c)){l.add(c);var d=$o(r,i);u?r=Zr(r,i,[]):(!d||et(d)!=="object")&&(r=Zr(r,i,qC(c))),GF(c
Line truncated
|
|
||||||
'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
|
|
||||||
'Noto Color Emoji'`,fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",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,motion:!0}),Fc=uL;function dL(e,t){let{generateColorPalettes:n,generateNeutralColorPalettes:r}=t;const{colorSuccess:o,colorWarning:a,colorError:i,colorInfo:s,colorPrimary:l,colorBgBase:c,colorTextBase:u}=e,d=n(l),f=n(o),p=n(a),h=n(i),v=n(s),y=r(c,u),g=e.colorLink||e.colorInfo,b=n(g);return Object.assign(Object.assign({},y),{colorPrimaryBg:d[1],colorPrimaryBgHover:d[2],colorPrimaryBorder:d[3],colorPrimaryBorderHover:d[4],colorPrimaryHover:d[5],colorPrimary:d[6],colorPrimaryActive:d[7],colorPrimaryTextHover:d[8],colorPrimaryText:d[9],colorPrimaryTextActive:d[10],colorSuccessBg:f[1],colorSuccessBgHover:f[2],colorSuccessBorder:f[3],colorSuccessBorderHover:f[4],colorSuccessHover:f[4],colorSuccess:f[6],colorSuccessActive:f[7],colorSuccessTextHover:f[8],colorSuccessText:f[9],colorSuccessTextActive:f[10],colorErrorBg:h[1],colorErrorBgHover:h[2],colorErrorBorder:h[3],colorErrorBorderHover:h[4],colorErrorHover:h[5],colorError:h[6],colorErrorActive:h[7],colorErrorTextHover:h[8],colorErrorText:h[9],colorErrorTextActive:h[10],colorWarningBg:p[1],colorWarningBgHover:p[2],colorWarningBorder:p[3],colorWarningBorderHover:p[4],colorWarningHover:p[4],colorWarning:p[6],colorWarningActive:p[7],colorWarningTextHover:p[8],colorWarningText:p[9],colorWarningTextActive:p[10],colorInfoBg:v[1],colorInfoBgHover:v[2],colorInfoBorder:v[3],colorInfoBorderHover:v[4],colorInfoHover:v[4],colorInfo:v[6],colorInfoActive:v[7],colorInfoTextHover:v[8],colorInfoText:v[9],colorInfoTextActive:v[10],colorLinkHover:b[4],colorLink:b[6],colorLinkActive:b[7],colorBgMask:new Tt("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}const fL=e=>{let t=e,n=e,r=e,o=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?o=4:e>=8&&(o=6),{borderRadius:e,borderRadiusXS:r,borderRadiusSM:n,borderRadiusLG:t,borderRadiusOuter:o}},pL=fL;function vL(e){const{motionUnit:t,motionBase:n,borderRadius:r,lineWidth:o}=e;return Object.assign({motionDurationFast:`${(n+t).toFixed(1)}s`,motionDurationMid:`${(n+t*2).toFixed(1)}s`,motionDurationSlow:`${(n+t*3).toFixed(1)}s`,lineWidthBold:o+1},pL(r))}const _o=(e,t)=>new Tt(e).setAlpha(t).toRgbString(),Ol=(e,t)=>new Tt(e).darken(t).toHexString(),hL=e=>{const t=Mi(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]}},mL=(e,t)=>{const n=e||"#fff",r=t||"#000";return{colorBgBase:n,colorTextBase:r,colorText:_o(r,.88),colorTextSecondary:_o(r,.65),colorTextTertiary:_o(r,.45),colorTextQuaternary:_o(r,.25),colorFill:_o(r,.15),colorFillSecondary:_o(r,.06),colorFillTertiary:_o(r,.04),colorFillQuaternary:_o(r,.02),colorBgLayout:Ol(n,4),colorBgContainer:Ol(n,0),colorBgElevated:Ol(n,0),colorBgSpotlight:_o(r,.85),colorBgBlur:"transparent",colorBorder:Ol(n,15),colorBorderSecondary:Ol(n,6)}};function jd(e){return(e+8)/e}function gL(e){const t=new Array(10).fill(null).map((n,r)=>{const o=r-1,a=e*Math.pow(2.71828,o/5),i=r>1?Math.floor(a):Math.ceil(a);return Math.floor(i/2)*2});return t[1]=e,t.map(n=>({size:n,lineHeight:jd(n)}))}const yL=e=>{const t=gL(e),n=t.map(u=>u.size),r=t.map(u=>u.lineHeight),o=n[1],a=n[0],i=n[2],s=r[1],l=r[0],c=r[2];return{fontSizeSM:a,fontSize:o,fontSizeLG:i,fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:s,lineHeightLG:c,lineHeightSM:l,fontHeight:Math.round(s*o),fontHeightLG:Math.round(c*i),fontHeightSM:Math.round(l*a),lineHeightHeading1:r[6],lineHeightHeading2:r[5],lineHeightHeading3:r[4],lineHeightHeading4:r[3],lineHeightHeading5:r[2]}},bL=yL;function SL(e){const t=Object.keys(oM).map(n=>{const r=Mi(e[n]);return new Array(10).fill(1).reduce((o,a,i)=>(o[`${n}-${i+1}`]=r[i],o[`${n}${i+1}`]=r[i],o),{})}).reduce((n,r)=>(n=Object.assign(Object.assign({},n),r),n),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),t),dL(e,{generateColorPalettes:hL,generateNeutralColorPalettes:mL})),bL(e.fontSize)),cL(e)),lL(e)),vL(e))}const aM=a0(SL),v0={token:Fc,override:{override:Fc},hashed:!0},iM=Re.createContext(v0),sM="anticon",CL=(e,t)=>t||(e?`ant-${e}`:"ant"),st=m.exports.createContext({getPrefixCls:CL,iconPrefixCls
Line truncated
|
|
||||||
:root {
|
|
||||||
${Object.keys(n).map(i=>`--${e}-${i}: ${n[i]};`).join(`
|
|
||||||
`)}
|
|
||||||
}
|
|
||||||
`.trim()}function $L(e,t){const n=wL(e,t);Hn()&&Ta(n,`${xL}-dynamic-theme`)}const h0=m.exports.createContext(!1),EL=e=>{let{children:t,disabled:n}=e;const r=m.exports.useContext(h0);return C(h0.Provider,{value:n!=null?n:r,children:t})},al=h0,m0=m.exports.createContext(void 0),OL=e=>{let{children:t,size:n}=e;const r=m.exports.useContext(m0);return C(m0.Provider,{value:n||r,children:t})},qp=m0;function ML(){const e=m.exports.useContext(al),t=m.exports.useContext(qp);return{componentDisabled:e,componentSize:t}}const Lc=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"],RL="5.14.2";function Lh(e){return e>=0&&e<=255}function nd(e,t){const{r:n,g:r,b:o,a}=new Tt(e).toRgb();if(a<1)return e;const{r:i,g:s,b:l}=new Tt(t).toRgb();for(let c=.01;c<=1;c+=.01){const u=Math.round((n-i*(1-c))/c),d=Math.round((r-s*(1-c))/c),f=Math.round((o-l*(1-c))/c);if(Lh(u)&&Lh(d)&&Lh(f))return new Tt({r:u,g:d,b:f,a:Math.round(c*100)/100}).toRgbString()}return new Tt({r:n,g:r,b:o,a:1}).toRgbString()}var PL=globalThis&&globalThis.__rest||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 o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function lM(e){const{override:t}=e,n=PL(e,["override"]),r=Object.assign({},t);Object.keys(Fc).forEach(f=>{delete r[f]});const o=Object.assign(Object.assign({},n),r),a=480,i=576,s=768,l=992,c=1200,u=1600;if(o.motion===!1){const f="0s";o.motionDurationFast=f,o.motionDurationMid=f,o.motionDurationSlow=f}return Object.assign(Object.assign(Object.assign({},o),{colorFillContent:o.colorFillSecondary,colorFillContentHover:o.colorFill,colorFillAlter:o.colorFillQuaternary,colorBgContainerDisabled:o.colorFillTertiary,colorBorderBg:o.colorBgContainer,colorSplit:nd(o.colorBorderSecondary,o.colorBgContainer),colorTextPlaceholder:o.colorTextQuaternary,colorTextDisabled:o.colorTextQuaternary,colorTextHeading:o.colorText,colorTextLabel:o.colorTextSecondary,colorTextDescription:o.colorTextTertiary,colorTextLightSolid:o.colorWhite,colorHighlight:o.colorError,colorBgTextHover:o.colorFillSecondary,colorBgTextActive:o.colorFill,colorIcon:o.colorTextTertiary,colorIconHover:o.colorText,colorErrorOutline:nd(o.colorErrorBg,o.colorBgContainer),colorWarningOutline:nd(o.colorWarningBg,o.colorBgContainer),fontSizeIcon:o.fontSizeSM,lineWidthFocus:o.lineWidth*4,lineWidth:o.lineWidth,controlOutlineWidth:o.lineWidth*2,controlInteractiveSize:o.controlHeight/2,controlItemBgHover:o.colorFillTertiary,controlItemBgActive:o.colorPrimaryBg,controlItemBgActiveHover:o.colorPrimaryBgHover,controlItemBgActiveDisabled:o.colorFill,controlTmpOutline:o.colorFillQuaternary,controlOutline:nd(o.colorPrimaryBg,o.colorBgContainer),lineType:o.lineType,borderRadius:o.borderRadius,borderRadiusXS:o.borderRadiusXS,borderRadiusSM:o.borderRadiusSM,borderRadiusLG:o.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:o.sizeXXS,paddingXS:o.sizeXS,paddingSM:o.sizeSM,padding:o.size,paddingMD:o.sizeMD,paddingLG:o.sizeLG,paddingXL:o.sizeXL,paddingContentHorizontalLG:o.sizeLG,paddingContentVerticalLG:o.sizeMS,paddingContentHorizontal:o.sizeMS,paddingContentVertical:o.sizeSM,paddingContentHorizontalSM:o.size,paddingContentVerticalSM:o.sizeXS,marginXXS:o.sizeXXS,marginXS:o.sizeXS,marginSM:o.sizeSM,margin:o.size,marginMD:o.sizeMD,marginLG:o.sizeLG,marginXL:o.sizeXL,marginXXL:o.sizeXXL,boxShadow:`
|
|
||||||
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)
|
|
||||||
`,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:a,screenXSMin:a,screenXSMax:i-1,screenSM:i,screenSMMin:i,screenSMMax:s-1,screenMD:s,screenMDMin:s,screenMDMax:l-1,screenLG:l,screenLGMin:l,screenLGMax:c-1,screenXL:c,screenXLMin:c,screenXLMax:u-1,screenXXL:u,screenXXLMin:u,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`
|
|
||||||
0 1px 2px -2px ${new Tt("rgba(0, 0, 0, 0.16)").toRgbString()},
|
|
||||||
0 3px 6px 0 ${new Tt("rgba(0, 0, 0, 0.12)").toRgbString()},
|
|
||||||
0 5px 12px 4px ${new Tt("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)}var QC=globalThis&&globalThis.__rest||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 o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const cM={lineHeight:!0,lineHeightSM:!0,lineHeightLG:!0,lineHeightHeading1:!0,lineHeightHeading2:!0,lineHeightHeading3:!0,lineHeightHeading4:!0,lineHeightHeading5:!0,opacityLoading:!0,fontWeightStrong:!0,zIndexPopupBase:!0,zIndexBase:!0},uM={size:!0,sizeSM:!0,sizeLG:!0,sizeMD:!0,sizeXS:!0,sizeXXS:!0,sizeMS:!0,sizeXL:!0,sizeXXL:!0,sizeUnit:!0,sizeStep:!0,motionBase:!0,motionUnit:!0},IL={screenXS:!0,screenXSMin:!0,screenXSMax:!0,screenSM:!0,screenSMMin:!0,screenSMMax:!0,screenMD:!0,screenMDMin:!0,screenMDMax:!0,screenLG:!0,screenLGMin:!0,screenLGMax:!0,screenXL:!0,screenXLMin:!0,screenXLMax:!0,screenXXL:!0,screenXXLMin:!0},dM=(e,t,n)=>{const r=n.getDerivativeToken(e),{override:o}=t,a=QC(t,["override"]);let i=Object.assign(Object.assign({},r),{override:o});return i=lM(i),a&&Object.entries(a).forEach(s=>{let[l,c]=s;const{theme:u}=c,d=QC(c,["theme"]);let f=d;u&&(f=dM(Object.assign(Object.assign({},i),d),{override:d},u)),i[l]=f}),i};function cr(){const{token:e,hashed:t,theme:n,override:r,cssVar:o}=Re.useContext(iM),a=`${RL}-${t||""}`,i=n||aM,[s,l,c]=hF(i,[Fc,e],{salt:a,override:r,getComputedToken:dM,formatToken:lM,cssVar:o&&{prefix:o.prefix,key:o.key,unitless:cM,ignore:uM,preserve:IL}});return[i,c,t?l:"",s,o]}function Rn(e){var t=m.exports.useRef();t.current=e;var n=m.exports.useCallback(function(){for(var r,o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return(r=t.current)===null||r===void 0?void 0:r.call.apply(r,[t].concat(a))},[]);return n}function Ns(e){var t=m.exports.useRef(!1),n=m.exports.useState(e),r=Z(n,2),o=r[0],a=r[1];m.exports.useEffect(function(){return t.current=!1,function(){t.current=!0}},[]);function i(s,l){l&&t.current||a(s)}return[o,i]}function kh(e){return e!==void 0}function Wt(e,t){var n=t||{},r=n.defaultValue,o=n.value,a=n.onChange,i=n.postState,s=Ns(function(){return kh(o)?o:kh(r)?typeof r=="function"?r():r:typeof e=="function"?e():e}),l=Z(s,2),c=l[0],u=l[1],d=o!==void 0?o:c,f=i?i(d):d,p=Rn(a),h=Ns([d]),v=Z(h,2),y=v[0],g=v[1];s0(function(){var S=y[0];c!==S&&p(c,S)},[y]),s0(function(){kh(o)||u(o)},[o]);var b=Rn(function(S,x){u(S,x),g([d],x)});return[f,b]}const _a={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},nn=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return{boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:t?"inherit":e.fontFamily}},_1=()=>({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"}}),lu=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),TL=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,
|
|
||||||
&:hover`]:{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),NL=(e,t,n)=>{const{fontFamily:r,fontSize:o}=e,a=`[class^="${t}"], [class*=" ${t}"]`;return{[n?`.${n}`:a]:{fontFamily:r,fontSize:o,boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"},[a]:{boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}}}}},D1=e=>({outline:`${te(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),Xp=e=>({"&:focus-visible":Object.assign({},D1(e))});let AL=It(function e(){Pt(this,e)});const fM=AL;function _L(e,t,n){return t=$n(t),Va(e,Up()?Reflect.construct(t,n||[],$n(e).constructor):t.apply(e,n))}let DL=function(e){Vr(t,e);function t(n){var r;return Pt(this,t),r=_L(this,t),r.result=0,n instanceof t?r.result=n.result:typeof n=="number"&&(r.result=n),r}return It(t,[{key:"add",value:function(r){return r instanceof t?this.result+=r.result:typeof r=="number"&&(this.result+=r),this}},{key:"sub",value:function(r){return r instanceof t?this.result-=r.result:typeof r=="number"&&(this.result-=r),this}},{key:"mul",value:function(r){return r instanceof t?this.result*=r.result:typeof r=="number"&&(this.result*=r),this}},{key:"div",value:function(r){return r instanceof t?this.result/=r.result:typeof r=="number"&&(this.result/=r),this}},{key:"equal",value:function(){return this.result}}]),t}(fM);function FL(e,t,n){return t=$n(t),Va(e,Up()?Reflect.construct(t,n||[],$n(e).constructor):t.apply(e,n))}const pM="CALC_UNIT";function Bh(e){return typeof e=="number"?`${e}${pM}`:e}let LL=function(e){Vr(t,e);function t(n){var r;return Pt(this,t),r=FL(this,t),r.result="",n instanceof t?r.result=`(${n.result})`:typeof n=="number"?r.result=Bh(n):typeof n=="string"&&(r.result=n),r}return It(t,[{key:"add",value:function(r){return r instanceof t?this.result=`${this.result} + ${r.getResult()}`:(typeof r=="number"||typeof r=="string")&&(this.result=`${this.result} + ${Bh(r)}`),this.lowPriority=!0,this}},{key:"sub",value:function(r){return r instanceof t?this.result=`${this.result} - ${r.getResult()}`:(typeof r=="number"||typeof r=="string")&&(this.result=`${this.result} - ${Bh(r)}`),this.lowPriority=!0,this}},{key:"mul",value:function(r){return this.lowPriority&&(this.result=`(${this.result})`),r instanceof t?this.result=`${this.result} * ${r.getResult(!0)}`:(typeof r=="number"||typeof r=="string")&&(this.result=`${this.result} * ${r}`),this.lowPriority=!1,this}},{key:"div",value:function(r){return this.lowPriority&&(this.result=`(${this.result})`),r instanceof t?this.result=`${this.result} / ${r.getResult(!0)}`:(typeof r=="number"||typeof r=="string")&&(this.result=`${this.result} / ${r}`),this.lowPriority=!1,this}},{key:"getResult",value:function(r){return this.lowPriority||r?`(${this.result})`:this.result}},{key:"equal",value:function(r){const{unit:o=!0}=r||{},a=new RegExp(`${pM}`,"g");return this.result=this.result.replace(a,o?"px":""),typeof this.lowPriority<"u"?`calc(${this.result})`:this.result}}]),t}(fM);const kL=e=>{const t=e==="css"?LL:DL;return n=>new t(n)},BL=kL;function jL(e){return e==="js"?{max:Math.max,min:Math.min}:{max:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return`max(${n.map(o=>te(o)).join(",")})`},min:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return`min(${n.map(o=>te(o)).join(",")})`}}}const vM=typeof CSSINJS_STATISTIC<"u";let g0=!0;function Rt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(!vM)return Object.assign.apply(Object,[{}].concat(t));g0=!1;const r={};return t.forEach(o=>{Object.keys(o).forEach(i=>{Object.defineProperty(r,i,{configurable:!0,enumerable:!0,get:()=>o[i]})})}),g0=!0,r}const ZC={};function zL(){}const HL=e=>{let t,n=e,r=zL;return vM&&typeof Proxy<"u"&&(t=new Set,n=new Proxy(e,{get(o,a){return g0&&t.add(a),o[a]}}),r=(o,a)=>{var i;ZC[o]={global:Array.from(t),component:Object.assign(Object.assign({},(i=ZC[o])===null||i===void 0?void 0:i.component),a)}}),{token:n,keys:t,flush:r}},VL=(e,t)=>{const[n,r]=cr();return f0({theme:n,token:r,hashId:"",path:["ant-design-icons",e],nonce:()=>t==null?void 0:t.nonce},()=>[{[`.${e}`]:Object.assign(Object.assign({},_1()),{[`.${e} .${e}-icon`]:{display:"block"}})}])},hM=VL,mM=(e,t,n)=>{var r;return typeof n=="function"?n(Rt(t,(r=t[e])!==null&&r!==void 0?r:{})):n!=null?n:{}},gM=(e,t,n,r)=>{const o=Object.assign({},t[e]);if(r!=null&&r.deprecatedTokens){const{deprecatedTokens:i}=r;i.forEach(s=>{let[l,c]=s;var u;((o==null?void 0:o[l])||(o==null?void 0:o[c]))&&((u=o[c])!==null&&u!==void 0||(o[c]=o==null?void 0:o[l]))})}const a=Object.assign(Object.assign({},n),o);return Object.keys(a).forEach(i=>{a[i]===t[i]&&delete a[i]}),a},WL=(e,t)=>`${[t,e.replace(/([A-Z]+)([A-Z][a-z]+)/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2")].filter(Boolean).join("-")}`;function F1(e,t,n){le
Line truncated
|
|
||||||
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 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`,M7=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
|
|
||||||
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
|
|
||||||
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
|
|
||||||
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
|
|
||||||
onTouchEnd onTouchMove onTouchStart 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`,R7="".concat(O7," ").concat(M7).split(/[\s\n]+/),P7="aria-",I7="data-";function ax(e,t){return e.indexOf(t)===0}function Ys(e){var 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=Q({},t);var r={};return Object.keys(e).forEach(function(o){(n.aria&&(o==="role"||ax(o,P7))||n.data&&ax(o,I7)||n.attr&&R7.includes(o))&&(r[o]=e[o])}),r}const{isValidElement:kc}=Zc;function IM(e){return e&&kc(e)&&e.type===m.exports.Fragment}function T7(e,t,n){return kc(e)?m.exports.cloneElement(e,typeof n=="function"?n(e.props||{}):n):t}function Da(e,t){return T7(e,e,t)}const N7=e=>{const[,,,,t]=cr();return t?`${e}-css-var`:""},Io=N7;var 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){var n=t.keyCode;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}}};const A7=Re.createContext(void 0),TM=A7,oi=100,_7=10,D7=oi*_7,NM={Modal:oi,Drawer:oi,Popover:oi,Popconfirm:oi,Tooltip:oi,Tour:oi},F7={SelectLike:50,Dropdown:50,DatePicker:50,Menu:50,ImagePreview:1};function L7(e){return e in NM}function Qp(e,t){const[,n]=cr(),r=Re.useContext(TM),o=L7(e);if(t!==void 0)return[t,t];let a=r!=null?r:0;return o?(a+=(r?0:n.zIndexPopupBase)+NM[e],a=Math.min(a,n.zIndexPopupBase+D7)):a+=F7[e],[r===void 0?t:a,a]}function Kn(){Kn=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(D,M,O){D[M]=O.value},a=typeof Symbol=="function"?Symbol:{},i=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function c(D,M,O){return Object.defineProperty(D,M,{value:O,enumerable:!0,configurable:!0,writable:!0}),D[M]}try{c({},"")}catch{c=function(O,L,A){return O[L]=A}}function u(D,M,O,L){var A=M&&M.prototype instanceof g?M:g,H=Object.create(A.prototype),_=new N(L||[]);return o(H,"_invoke",{value:T(D,O,_)}),H}function d(D,M,O){try{return{type:"normal",arg:D.call(M,O)}}catch(L){return{type:"throw",arg:L}}}t.wrap=u;var f="suspendedStart",p="suspendedYield",h="executing",v="completed",y={};function g(){}function b(){}function S(){}var x={};c(x,i,function(){return this});var w=Object.getPrototypeOf,E=w&&w(w(k([])));E&&E!==n&&r.call(E,i)&&(x=E);var $=S.prototype=g.prototype=Object.create(x);function R(D){["next","throw","return"].forEach(function(M){c(D,M,function(O){return this._invoke(M,O)})})}function I(D,M){function O(A,H,_,B){var W=d(D[A],D,H);if(W.type!=="throw"){var G=W.arg,K=G.value;return K&&et(K)=="object"&&r.call(K,"__await")?M.resolve(K.__await).then(function(z){O("next",z,_,B)},function(z){O("throw",z,_,B)}):M.resolve(K).then(function(z){G.value=z,_(G)},function(z){return O("throw",z,_,B)})}B(W.arg)}var L;o(this,"_invoke",{value:function(H,_){function B(){return new M(function(W,G){O(H,_,W,G)})}return L=L?L.then(B,B):B()}})}function T(D,M,O){var L=f;return function(A,H){if(L===h)throw new Error("Generator is already running");if(L===v){if(A==="throw")throw H;return{value:e,done:!
Line truncated
|
|
||||||
&:focus,
|
|
||||||
&:active`]:{zIndex:2},"&[disabled]":{zIndex:0}},[`${t}-icon-only`]:{fontSize:n}},dx(`${t}-primary`,o),dx(`${t}-danger`,a)]}},pk=fk,FM=e=>{const{paddingInline:t,onlyIconSize:n,paddingBlock:r}=e;return Rt(e,{buttonPaddingHorizontal:t,buttonPaddingVertical:r,buttonIconOnlyFontSize:n})},LM=e=>{var t,n,r,o,a,i;const s=(t=e.contentFontSize)!==null&&t!==void 0?t:e.fontSize,l=(n=e.contentFontSizeSM)!==null&&n!==void 0?n:e.fontSize,c=(r=e.contentFontSizeLG)!==null&&r!==void 0?r:e.fontSizeLG,u=(o=e.contentLineHeight)!==null&&o!==void 0?o:jd(s),d=(a=e.contentLineHeightSM)!==null&&a!==void 0?a:jd(l),f=(i=e.contentLineHeightLG)!==null&&i!==void 0?i:jd(c);return{fontWeight:400,defaultShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`,primaryShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlOutline}`,dangerShadow:`0 ${e.controlOutlineWidth}px 0 ${e.colorErrorOutline}`,primaryColor:e.colorTextLightSolid,dangerColor:e.colorTextLightSolid,borderColorDisabled:e.colorBorder,defaultGhostColor:e.colorBgContainer,ghostBg:"transparent",defaultGhostBorderColor:e.colorBgContainer,paddingInline:e.paddingContentHorizontal-e.lineWidth,paddingInlineLG:e.paddingContentHorizontal-e.lineWidth,paddingInlineSM:8-e.lineWidth,onlyIconSize:e.fontSizeLG,onlyIconSizeSM:e.fontSizeLG-2,onlyIconSizeLG:e.fontSizeLG+2,groupBorderColor:e.colorPrimaryHover,linkHoverBg:"transparent",textHoverBg:e.colorBgTextHover,defaultColor:e.colorText,defaultBg:e.colorBgContainer,defaultBorderColor:e.colorBorder,defaultBorderColorDisabled:e.colorBorder,defaultHoverBg:e.colorBgContainer,defaultHoverColor:e.colorPrimaryHover,defaultHoverBorderColor:e.colorPrimaryHover,defaultActiveBg:e.colorBgContainer,defaultActiveColor:e.colorPrimaryActive,defaultActiveBorderColor:e.colorPrimaryActive,contentFontSize:s,contentFontSizeSM:l,contentFontSizeLG:c,contentLineHeight:u,contentLineHeightSM:d,contentLineHeightLG:f,paddingBlock:Math.max((e.controlHeight-s*u)/2-e.lineWidth,0),paddingBlockSM:Math.max((e.controlHeightSM-l*d)/2-e.lineWidth,0),paddingBlockLG:Math.max((e.controlHeightLG-c*f)/2-e.lineWidth,0)}},vk=e=>{const{componentCls:t,iconCls:n,fontWeight:r}=e;return{[t]:{outline:"none",position:"relative",display:"inline-block",fontWeight:r,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",background:"transparent",border:`${te(e.lineWidth)} ${e.lineType} transparent`,cursor:"pointer",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",color:e.colorText,"&:disabled > *":{pointerEvents:"none"},"> span":{display:"inline-block"},[`${t}-icon`]:{lineHeight:0},[`> ${n} + span, > span + ${n}`]:{marginInlineStart:e.marginXS},[`&:not(${t}-icon-only) > ${t}-icon`]:{[`&${t}-loading-icon, &:not(:last-child)`]:{marginInlineEnd:e.marginXS}},"> a":{color:"currentColor"},"&:not(:disabled)":Object.assign({},Xp(e)),[`&${t}-two-chinese-chars::first-letter`]:{letterSpacing:"0.34em"},[`&${t}-two-chinese-chars > *:not(${n})`]:{marginInlineEnd:"-0.34em",letterSpacing:"0.34em"},[`&-icon-only${t}-compact-item`]:{flex:"none"}}}},Yo=(e,t,n)=>({[`&:not(:disabled):not(${e}-disabled)`]:{"&:hover":t,"&:active":n}}),hk=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),mk=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.calc(e.controlHeight).div(2).equal(),paddingInlineEnd:e.calc(e.controlHeight).div(2).equal()}),gk=e=>({cursor:"not-allowed",borderColor:e.borderColorDisabled,color:e.colorTextDisabled,background:e.colorBgContainerDisabled,boxShadow:"none"}),Bc=(e,t,n,r,o,a,i,s)=>({[`&${e}-background-ghost`]:Object.assign(Object.assign({color:n||void 0,background:t,borderColor:r||void 0,boxShadow:"none"},Yo(e,Object.assign({background:t},i),Object.assign({background:t},s))),{"&:disabled":{cursor:"not-allowed",color:o||void 0,borderColor:a||void 0}})}),z1=e=>({[`&:disabled, &${e.componentCls}-disabled`]:Object.assign({},gk(e))}),kM=e=>Object.assign({},z1(e)),kf=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{cursor:"not-allowed",color:e.colorTextDisabled}}),BM=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},kM(e)),{background:e.defaultBg,borderColor:e.defaultBorderColor,color:e.defaultColor,boxShadow:e.defaultShadow}),Yo(e.componentCls,{color:e.defaultHoverColor,borderColor:e.defaultHoverBorderColor,background:e.defaultHoverBg},{color:e.defaultActiveColor,borderColor:e.defaultActiveBorderColor,background:e.defaultActiveBg})),Bc(e.componentCls,e.ghostBg,e.defaultGhostColor,e.defaultGhostBorderColor,e.colorTextDisabled,e.colorBorder)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({color:e.colorError,borderColor:e.colorError},Yo(e.componentCls,{color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),Bc(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder)),z1(e))}),yk=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object
Line truncated
|
|
||||||
html body {
|
|
||||||
overflow-y: hidden;
|
|
||||||
`.concat(i?"width: calc(100% - ".concat(a,"px);"):"",`
|
|
||||||
}`),o)}else Ac(o);return function(){Ac(o)}},[t,o])}var hx=!1;function Wk(e){return typeof e=="boolean"&&(hx=e),hx}var mx=function(t){return t===!1?!1:!Hn()||!t?null:typeof t=="string"?document.querySelector(t):typeof t=="function"?t():t},nv=m.exports.forwardRef(function(e,t){var n=e.open,r=e.autoLock,o=e.getContainer;e.debug;var a=e.autoDestroy,i=a===void 0?!0:a,s=e.children,l=m.exports.useState(n),c=Z(l,2),u=c[0],d=c[1],f=u||n;m.exports.useEffect(function(){(i||n)&&d(n)},[n,i]);var p=m.exports.useState(function(){return mx(o)}),h=Z(p,2),v=h[0],y=h[1];m.exports.useEffect(function(){var P=mx(o);y(P!=null?P:null)});var g=kk(f&&!v),b=Z(g,2),S=b[0],x=b[1],w=v!=null?v:S;Vk(r&&n&&Hn()&&(w===S||w===document.body));var E=null;if(s&&Ai(s)&&t){var $=s;E=$.ref}var R=Ni(E,t);if(!f||!Hn()||v===void 0)return null;var I=w===!1||Wk(),T=s;return t&&(T=m.exports.cloneElement(s,{ref:R})),C(jM.Provider,{value:x,children:I?T:lr.exports.createPortal(T,w)})}),zM=m.exports.createContext({});function Uk(){var e=Q({},Zc);return e.useId}var gx=0,yx=Uk();const HM=yx?function(t){var n=yx();return t||n}:function(t){var n=m.exports.useState("ssr-id"),r=Z(n,2),o=r[0],a=r[1];return m.exports.useEffect(function(){var i=gx;gx+=1,a("rc_unique_".concat(i))},[]),t||o};function bx(e,t,n){var r=t;return!r&&n&&(r="".concat(e,"-").concat(n)),r}function Sx(e,t){var n=e["page".concat(t?"Y":"X","Offset")],r="scroll".concat(t?"Top":"Left");if(typeof n!="number"){var o=e.document;n=o.documentElement[r],typeof n!="number"&&(n=o.body[r])}return n}function Gk(e){var t=e.getBoundingClientRect(),n={left:t.left,top:t.top},r=e.ownerDocument,o=r.defaultView||r.parentWindow;return n.left+=Sx(o),n.top+=Sx(o,!0),n}const Yk=m.exports.memo(function(e){var t=e.children;return t},function(e,t){var n=t.shouldUpdate;return!n});var Cx={width:0,height:0,overflow:"hidden",outline:"none"},Kk=Re.forwardRef(function(e,t){var n=e.prefixCls,r=e.className,o=e.style,a=e.title,i=e.ariaId,s=e.footer,l=e.closable,c=e.closeIcon,u=e.onClose,d=e.children,f=e.bodyStyle,p=e.bodyProps,h=e.modalRender,v=e.onMouseDown,y=e.onMouseUp,g=e.holderRef,b=e.visible,S=e.forceRender,x=e.width,w=e.height,E=e.classNames,$=e.styles,R=Re.useContext(zM),I=R.panel,T=Ni(g,I),P=m.exports.useRef(),F=m.exports.useRef();Re.useImperativeHandle(t,function(){return{focus:function(){var L;(L=P.current)===null||L===void 0||L.focus()},changeActive:function(L){var A=document,H=A.activeElement;L&&H===F.current?P.current.focus():!L&&H===P.current&&F.current.focus()}}});var j={};x!==void 0&&(j.width=x),w!==void 0&&(j.height=w);var N;s&&(N=C("div",{className:oe("".concat(n,"-footer"),E==null?void 0:E.footer),style:Q({},$==null?void 0:$.footer),children:s}));var k;a&&(k=C("div",{className:oe("".concat(n,"-header"),E==null?void 0:E.header),style:Q({},$==null?void 0:$.header),children:C("div",{className:"".concat(n,"-title"),id:i,children:a})}));var D;l&&(D=C("button",{type:"button",onClick:u,"aria-label":"Close",className:"".concat(n,"-close"),children:c||C("span",{className:"".concat(n,"-close-x")})}));var M=ne("div",{className:oe("".concat(n,"-content"),E==null?void 0:E.content),style:$==null?void 0:$.content,children:[D,k,C("div",{className:oe("".concat(n,"-body"),E==null?void 0:E.body),style:Q(Q({},f),$==null?void 0:$.body),...p,children:d}),N]});return ne("div",{role:"dialog","aria-labelledby":a?i:null,"aria-modal":"true",ref:T,style:Q(Q({},o),j),className:oe(n,r),onMouseDown:v,onMouseUp:y,children:[C("div",{tabIndex:0,ref:P,style:Cx,"aria-hidden":"true"}),C(Yk,{shouldUpdate:b||S,children:h?h(M):M}),C("div",{tabIndex:0,ref:F,style:Cx,"aria-hidden":"true"})]},"dialog-element")}),VM=m.exports.forwardRef(function(e,t){var n=e.prefixCls,r=e.title,o=e.style,a=e.className,i=e.visible,s=e.forceRender,l=e.destroyOnClose,c=e.motionName,u=e.ariaId,d=e.onVisibleChanged,f=e.mousePosition,p=m.exports.useRef(),h=m.exports.useState(),v=Z(h,2),y=v[0],g=v[1],b={};y&&(b.transformOrigin=y);function S(){var x=Gk(p.current);g(f?"".concat(f.x-x.left,"px ").concat(f.y-x.top,"px"):"")}return C(Po,{visible:i,onVisibleChanged:d,onAppearPrepare:S,onEnterPrepare:S,forceRender:s,motionName:c,removeOnLeave:l,ref:p,children:function(x,w){var E=x.className,$=x.style;return C(Kk,{...e,ref:t,title:r,ariaId:u,prefixCls:n,holderRef:w,style:Q(Q(Q({},$),o),b),className:oe(a,E)})}})});VM.displayName="Content";function qk(e){var t=e.prefixCls,n=e.style,r=e.visible,o=e.maskProps,a=e.motionName,i=e.className;return C(Po,{visible:r,motionName:a,leavedClassName:"".concat(t,"-mask-hidden"),children:function(s,l){var c=s.className,u=s.style;return C("div",{ref:l,style:Q(Q({},u),n),className:oe("".concat(t,"-mask"),c,i),...o})}},"mask")}function Xk(e){var t=e.prefixCls,n=t===void 0?"rc-dialog":t,r=e.zIndex,o=e.visible,a=o===void 0?!1:o,i=e.keyboard,s=i===void 0?!0:i,l=e.focusTriggerAfterClose,c=l===void 0?!0:l,u=e.wrapStyle,d=e.wrapClassName,f=e.wrapProps,p=e.onClose,h=e.afterOpenChange,v=e.afterClose,y=e.transitionName,g=e.animation,b=e.closable,S=b===void 0?!0:b
Line truncated
|
|
||||||
(?:
|
|
||||||
(?:`+r+":){7}(?:"+r+`|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8
|
|
||||||
(?:`+r+":){6}(?:"+n+"|:"+r+`|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4
|
|
||||||
(?:`+r+":){5}(?::"+n+"|(?::"+r+`){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4
|
|
||||||
(?:`+r+":){4}(?:(?::"+r+"){0,1}:"+n+"|(?::"+r+`){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4
|
|
||||||
(?:`+r+":){3}(?:(?::"+r+"){0,2}:"+n+"|(?::"+r+`){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4
|
|
||||||
(?:`+r+":){2}(?:(?::"+r+"){0,3}:"+n+"|(?::"+r+`){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4
|
|
||||||
(?:`+r+":){1}(?:(?::"+r+"){0,4}:"+n+"|(?::"+r+`){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4
|
|
||||||
(?::(?:(?::`+r+"){0,5}:"+n+"|(?::"+r+`){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4
|
|
||||||
)(?:%[0-9a-zA-Z]{1,})? // %eth0 %1
|
|
||||||
`).replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),a=new RegExp("(?:^"+n+"$)|(?:^"+o+"$)"),i=new RegExp("^"+n+"$"),s=new RegExp("^"+o+"$"),l=function(x){return x&&x.exact?a:new RegExp("(?:"+t(x)+n+t(x)+")|(?:"+t(x)+o+t(x)+")","g")};l.v4=function(S){return S&&S.exact?i:new RegExp(""+t(S)+n+t(S),"g")},l.v6=function(S){return S&&S.exact?s:new RegExp(""+t(S)+o+t(S),"g")};var c="(?:(?:[a-z]+:)?//)",u="(?:\\S+(?::\\S*)?@)?",d=l.v4().source,f=l.v6().source,p="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",h="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",v="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",y="(?::\\d{2,5})?",g='(?:[/?#][^\\s"]*)?',b="(?:"+c+"|www\\.)"+u+"(?:localhost|"+d+"|"+f+"|"+p+h+v+")"+y+g;return sd=new RegExp("(?:^"+b+"$)","i"),sd},Ox={email:/^(([^<>()\[\]\\.,;:\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},Vl={integer:function(t){return Vl.number(t)&&parseInt(t,10)===t},float:function(t){return Vl.number(t)&&!Vl.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"&&!Vl.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(Ox.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(fB())},hex:function(t){return typeof t=="string"&&!!t.match(Ox.hex)}},pB=function(t,n,r,o,a){if(t.required&&n===void 0){UM(t,n,r,o,a);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],s=t.type;i.indexOf(s)>-1?Vl[s](n)||o.push(yr(a.messages.types[s],t.fullField,t.type)):s&&typeof n!==t.type&&o.push(yr(a.messages.types[s],t.fullField,t.type))},vB=function(t,n,r,o,a){var i=typeof t.len=="number",s=typeof t.min=="number",l=typeof t.max=="number",c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,u=n,d=null,f=typeof n=="number",p=typeof n=="string",h=Array.isArray(n);if(f?d="number":p?d="string":h&&(d="array"),!d)return!1;h&&(u=n.length),p&&(u=n.replace(c,"_").length),i?u!==t.len&&o.push(yr(a.messages[d].len,t.fullField,t.len)):s&&!l&&u<t.min?o.push(yr(a.messages[d].min,t.fullField,t.min)):l&&!s&&u>t.max?o.push(yr(a.messages[d].max,t.fullField,t.max)):s&&l&&(u<t.min||u>t.max)&&o.push(yr(a.messages[d].range,t.fullField,t.min,t.max))},Hi="enum",hB=function(t,n,r,o,a){t[Hi]=Array.isArray(t[Hi])?t[Hi]:[],t[Hi].indexOf(n)===-1&&o.push(yr(a.messages[Hi],t.fullField,t[Hi].join(", ")))},mB=function(t,n,r,o,a){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(n)||o.push(yr(a.messages.pattern.mismatch,t.fullField,n,t.pattern));else if(typeof t.pattern=="string"){var i=new RegExp(t.pattern);i.test(n)||o.push(yr(a.messages.pattern.mismatch,t.fullField,n,t.pattern))}}},yt={required:UM,whitespace:dB,type:pB,range:vB,enum:hB,pattern:mB},gB=function(t,n,r,o,a){var i=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(mn(n,"string")&&!t.required)return r();yt.required(t,n,o,i,a,"string"),mn(n,"string")||(yt.type(t,n,o,i,a),yt.range(t,n,o,i,a),yt.pattern(t,n,o,i,a),t.whitespace===!0&&yt.whitespace(t,n,o,i,a))}r(i)},yB=function(t,n,r,o,a){var i=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(mn(n)&&!t.required)return r();yt.required(t,n,o,i,a),n!==void 0&&yt.type(t,n,o,i,a)}r(i)},bB=function(t,n,r,o,a){var i=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(n===""&&(n=void 0),mn(n)&&!t.required)return r();yt.required(t,n,o,i,a),n!==void 0&&(yt.type(t,n,o,i,a),yt.range(t,n,o,i,a))}r(i)},SB=function(t,n,r,o,a){var i=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(mn(n)&&!t.required)return r();yt.required(t,n,o,i,a),n!==void 0&&yt.type(t,n,o,i,a)}r(i)},CB=function(t,n,r,o,a){var i=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(mn(n)&&!t.required)return r();yt.required(t,n,o,i,a),mn(n)||yt.type(t,n,o,i,a)}r(i)},xB=function(t,n,r,o,a){var i=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(mn(n)&&!t.required)return r();yt.required(t,n,o,i,a),n!==void 0&&(yt.type(t,n,o,i,a),yt.range(t,n,o,i,a))}r(i)},wB=function(t,n,r,o,a){var i=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(mn(n)&&!t.required)return r();yt.required(t,n,o,i,a),n!==void 0&&(yt.type(t,n,o,i,a),yt.range(t,n,o,i,a))}r(i)},$B=function(t,n,r,o,a){var i=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(n==null&&!t.required)return r();yt.required(t,n,o,i,a,"array"),n!=null&&(yt.type(t,n,o,i,a),yt.range(t,n,o,i,a))}r(i)},EB=function(t,n,r,o,a){var
Line truncated
|
|
||||||
${a}${e}-enter,
|
|
||||||
${a}${e}-appear
|
|
||||||
`]:Object.assign(Object.assign({},qB(r)),{animationPlayState:"paused"}),[`${a}${e}-leave`]:Object.assign(Object.assign({},XB(r)),{animationPlayState:"paused"}),[`
|
|
||||||
${a}${e}-enter${e}-enter-active,
|
|
||||||
${a}${e}-appear${e}-appear-active
|
|
||||||
`]:{animationName:t,animationPlayState:"running"},[`${a}${e}-leave${e}-leave-active`]:{animationName:n,animationPlayState:"running",pointerEvents:"none"}}},QB=new Ot("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),ZB=new Ot("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),QM=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const{antCls:n}=e,r=`${n}-fade`,o=t?"&":"";return[rv(r,QB,ZB,e.motionDurationMid,t),{[`
|
|
||||||
${o}${r}-enter,
|
|
||||||
${o}${r}-appear
|
|
||||||
`]:{opacity:0,animationTimingFunction:"linear"},[`${o}${r}-leave`]:{animationTimingFunction:"linear"}}]},JB=new Ot("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),ej=new Ot("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),tj=new Ot("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),nj=new Ot("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),rj=new Ot("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),oj=new Ot("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),aj=new Ot("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),ij=new Ot("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),sj={"move-up":{inKeyframes:aj,outKeyframes:ij},"move-down":{inKeyframes:JB,outKeyframes:ej},"move-left":{inKeyframes:tj,outKeyframes:nj},"move-right":{inKeyframes:rj,outKeyframes:oj}},jf=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:a}=sj[t];return[rv(r,o,a,e.motionDurationMid),{[`
|
|
||||||
${r}-enter,
|
|
||||||
${r}-appear
|
|
||||||
`]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},U1=new Ot("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),G1=new Ot("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),Y1=new Ot("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),K1=new Ot("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),lj=new Ot("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),cj=new Ot("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),uj=new Ot("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),dj=new Ot("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),fj={"slide-up":{inKeyframes:U1,outKeyframes:G1},"slide-down":{inKeyframes:Y1,outKeyframes:K1},"slide-left":{inKeyframes:lj,outKeyframes:cj},"slide-right":{inKeyframes:uj,outKeyframes:dj}},qs=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:a}=fj[t];return[rv(r,o,a,e.motionDurationMid),{[`
|
|
||||||
${r}-enter,
|
|
||||||
${r}-appear
|
|
||||||
`]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint,["&-prepare"]:{transform:"scale(1)"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]},pj=new Ot("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),vj=new Ot("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),_x=new Ot("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),Dx=new Ot("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),hj=new Ot("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),mj=new Ot("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),gj=new Ot("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),yj=new Ot("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),bj=new Ot("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),Sj=new Ot("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),Cj=new Ot("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),xj=new Ot("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),wj={zoom:{inKeyframes:pj,outKeyframes:vj},"zoom-big":{inKeyframes:_x,outKeyframes:Dx},"zoom-big-fast":{inKeyframes:_x,outKeyframes:Dx},"zoom-left":{inKeyframes:gj,outKeyframes:yj},"zoom-right":{inKeyframes:bj,outKeyframes:Sj},"zoom-up":{inKeyframes:hj,outKeyframes:mj},"zoom-down":{inKeyframes:Cj,outKeyframes:xj}},ov=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:a}=wj[t];return[rv(r,o,a,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}}]};function Fx(e){return{position:e,inset:0}}const ZM=e=>{const{componentCls:t,antCls:n}=e;return[{[`${t}-root`]:{[`${t}${n}-zoom-enter, ${t}${n}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:e.motionDurationSlow,userSelect:"none"},[`${t}${n}-zoom-leave ${t}-content`]:{pointerEvents:"none"},[`${t}-mask`]:Object.assign(Object.assign({},Fx("fixed")),{zIndex:e.zIndexPopupBase,height:"100%",backgroundColor:e.colorBgMask,pointerEvents:"none",[`${t}-hidden`]:{display:"none"}}),[`${t}-wrap`]:Object.assign(Object.assign({},Fx("fixed")),{zIndex:e.zIndexPopupBase,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"})}},{[`${t}-root`]:QM(e)}]},$j=e=>{const{componentCls:t}=e;return[{[`${t}-root`]:{[`${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}px)`]:{[t]:{maxWidth:"calc(100vw - 16px)",margin:`${te(e.marginXS)} auto`},[`${t}-centered`]:{[t]:{flex:1}}}}},{[t]:Object.assign(Object.assign({},nn(e)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${te(e.calc(e.margin).mul(2).equal())})`,margin:"0 auto",paddingBottom:e.paddingLG,[`${t}-title`]:{margin:0,color:e.titleColor,fontWeight:e.fontWeightStrong,fontSize:e.titleFontSize,lineHeight:e.titleLineHeight,wordWrap:"break-word"},[`${t}-content`]:{position:"relative",backgroundColor:e.contentBg,backgroundClip:"padding-box",border:0,borderRadius:e.borderRadiusLG,boxShadow:e.boxShadow,pointerEvents:"auto",padding:e.contentPadding},[`${t}-close`]:Object.assign({position:"absolute",top:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),insetInlineEnd:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),zIndex:e.calc(e.zIndexPopupBase).add(10).equal(),padding:0,color:e.modalCloseIconColor,fontWeight:e.fontWeightStrong,lineHeight:1,textDecoration:"none",background:"transparent",borderRadius:e.borderRadiusSM,width:e.modalCloseBtnSize,height:e.modalCloseBtnSize,border:0,outline:0,cursor:"pointer",transition:`color ${e.motionDurationMid}, background-color ${e.motionDurationMid}`,"&-x":{display:"flex",fontSize:e.fontSizeLG,fontStyle:"normal",lineHeight:`${te(e.modalCloseBtnSize)}`,justifyContent:"center",textTransform:"none",textRendering:"auto"},"&:hover":{color:e.modalIconHoverColor,backgroundColor:e.closeBtnHoverBg,textDecoration:"none"},"&:active":{backgroundColor:e.closeBtnActiveBg}},Xp(e)),[`${t}-header`]:{color:e.colorText,background:e.headerBg,borderRadius:`${te(e.borderRadiusLG)} ${te(e.borderRadiusLG)} 0 0`,marginBottom:e.headerMarginBottom,padding:e.headerPadding,borderBottom:e.headerBorderBottom},[`${t}-body`]:{fontSize:e.fontSize,lineHeight:e.lineHeight,wordWrap:"break-word",padding:e.bodyPadding},[`${t}-footer`]:{textAlign:"end",background:e.footerBg,marginTop:e.footerMarginTop,padding:e.footerPadding,borderTop:e.footerBorderTop,borderRadius:e.footerBorderRadius,[`> ${e.antCls}-btn + ${e.antCls}-btn`]:{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"}}}]},Ej=e=>{const{componentCls:t}=e;return{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl",[`${t}-confirm-body`]:{direction:"rtl"}}}}},Oj=e=>{const t=e.padding,n=e.fontSizeHeading5,r=e.lineHeightHeading5;return Rt(e,{modalHeaderHeight:e.calc(e.calc(r).mul(n).equal()).add(e.calc(t).mul(2).equal()).equal(),modalFooterBorderColorSplit:e.colorSplit,modalFooterBorderStyle:e.lineType,modalFooterBorderWidth:e.lineWidth,modalIconHoverColor:e.colorIconHover,modalCloseIconColor:e.colorIcon,modalCloseBtnSize:e.fontHeight,modalConfirmIconSize:e.fontHeight,modalTitleHeight:e.calc(e.titleFontSize).mul(e.titleLineHeight).equal()})},Mj=e=>({footerBg:"transparent",headerBg:e.colorBgElevated,titleLineHeight:e.lineHeightHeading5,titleFontSize:e.fontSizeHeading5,contentBg:e.colorBgElevated,titleColor:e.colorTextHeading,closeBtnHoverBg:e.wireframe?"transparent":e.colorFillContent,closeBtnActiveBg:e.wireframe?"transparent":e.colorFillContentHover,contentPadding:e.wireframe?0:`${te(e.paddingMD)} ${te(e.paddingContentHorizontalLG)}`,headerPadding:e.wireframe?`${te(e.padding)} ${te(e.paddingLG)}`:0,headerBorderBottom:e.wireframe?`${te(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",headerMarginBottom:e.wireframe?0:e.marginXS,bodyPadding:e.wireframe?e.paddingLG:0,footerPadding:e.wireframe?`${te(e.paddingXS)} ${te(e.padding)}`:0,footerBorderTop:e.wireframe?`${te(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",footerBorderRadius:e.wireframe?`0 0 ${te(e.borderRadiusLG)} ${te(e.borderRadiusLG)}`:0,footerMarginTop:e.wireframe?0:e.marginSM,confirmBodyPadding:e.wireframe?`${te(e.padding*2)} ${te(e.padding*2)} ${te(e.paddingLG)}`:0,confirmIconMarginInlineEnd:e.wireframe?e.margin:e.marginSM,confirmBtnsMarginTop:e.wireframe?e.marginLG:e.marginSM});En("Modal",e=>{const t=Oj(e);return[$j(t),Ej(t),ZM(t),ov(t,"zoom")]},Mj,{unitless:{titleLineHeight:!0}});function Rj(e){return t=>C(Wa,{theme:{token:{motion:!1,zIndexPopupBase:0}},children:C(e,{...Object.assign({},t)})})}const Pj=(e,t,n,r)=>Rj(a=>{const{prefixCls:i,style:s}=a,l=m.exports.useRef(null),[c,u]=m.exports.useState(0),[d,f]=m.exports.useState(0),[p,h]=Wt(!1,{value:a.open}),{getPrefixCls:v}=m.exports.useContext(st),y=v(t||"select",i);m.exports.useEffect(()=>{if(h(!0),typeof ResizeObserver<"u"){const S=new ResizeObserver(w=>{const E=w[0].target;u(E.offsetHeight+8),f(E.offsetWidth)}),x=setInterval(()=>{var w;const E=n?`.${n(y)}`:`.${y}-dropdown`,$=(w=l.current)===null||w===void 0?void 0:w.querySelector(E);$&&(clearInterval(x),S.observe($))},10);return()=>{clearInterval(x),S.disconnect()}}},[]);let g=Object.assign(Object.assign({},a),{style:Object.assign(Object.assign({},s),{margin:0}),open:p,visible:p,getPopupContainer:()=>l.current});return r&&(g=r(g)),C("div",{ref:l,style:{paddingBottom:c,position:"relative",minWidth:d},children:C(e,{...Object.assign({},g)})})}),Ij=Pj,q1=function(){if(typeof navigator>"u"||typeof window>"u")return!1;var 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|x7
Line truncated
|
|
||||||
`,`\r
|
|
||||||
`].includes(ze)})},[D]),tt=m.exports.useContext(X1)||{},rt=tt.maxCount,St=tt.rawValues,Ct=function(qe,xt,Ut){if(!((St==null?void 0:St.size)>=rt)){var _t=!0,Jt=qe;T==null||T(null);var yn=x9(qe,D,rt&&rt-St.size),Wn=Ut?null:yn;return g!=="combobox"&&Wn&&(Jt="",k==null||k(Wn),be(!1),_t=!1),N&&Ve!==Jt&&N(Jt,{source:xt?"typing":"effect"}),_t}},ft=function(qe){!qe||!qe.trim()||N(qe,{source:"submit"})};m.exports.useEffect(function(){!Ie&&!ie&&g!=="combobox"&&Ct("",!1,!1)},[Ie]),m.exports.useEffect(function(){Se&&b&&Le(!1),b&&!Ce.current&&Oe(!1)},[b]);var Ge=eR(),Ye=Z(Ge,2),mt=Ye[0],Ne=Ye[1],je=function(qe){var xt=mt(),Ut=qe.which;if(Ut===fe.ENTER&&(g!=="combobox"&&qe.preventDefault(),Ie||be(!0)),Ne(!!Ve),Ut===fe.BACKSPACE&&!xt&&ie&&!Ve&&d.length){for(var _t=Pe(d),Jt=null,yn=_t.length-1;yn>=0;yn-=1){var Wn=_t[yn];if(!Wn.disabled){_t.splice(yn,1),Jt=Wn;break}}Jt&&f(_t,{type:"remove",values:[Jt]})}for(var bn=arguments.length,Un=new Array(bn>1?bn-1:0),er=1;er<bn;er++)Un[er-1]=arguments[er];if(Ie){var ki;(ki=Ae.current)===null||ki===void 0||ki.onKeyDown.apply(ki,[qe].concat(Un))}ue==null||ue.apply(void 0,[qe].concat(Un))},Qe=function(qe){for(var xt=arguments.length,Ut=new Array(xt>1?xt-1:0),_t=1;_t<xt;_t++)Ut[_t-1]=arguments[_t];if(Ie){var Jt;(Jt=Ae.current)===null||Jt===void 0||Jt.onKeyUp.apply(Jt,[qe].concat(Ut))}re==null||re.apply(void 0,[qe].concat(Ut))},ct=function(qe){var xt=d.filter(function(Ut){return Ut!==qe});f(xt,{type:"remove",values:[qe]})},Zt=m.exports.useRef(!1),Bt=function(){Oe(!0),b||(ae&&!Zt.current&&ae.apply(void 0,arguments),ee.includes("focus")&&be(!0)),Zt.current=!0},an=function(){Ce.current=!0,Oe(!1,function(){Zt.current=!1,Ce.current=!1,be(!1)}),!b&&(Ve&&(g==="tags"?N(Ve,{source:"submit"}):g==="multiple"&&N("",{source:"blur"})),J&&J.apply(void 0,arguments))},sn=[];m.exports.useEffect(function(){return function(){sn.forEach(function(ze){return clearTimeout(ze)}),sn.splice(0,sn.length)}},[]);var Zn=function(qe){var xt,Ut=qe.target,_t=(xt=$e.current)===null||xt===void 0?void 0:xt.getPopupElement();if(_t&&_t.contains(Ut)){var Jt=setTimeout(function(){var Un=sn.indexOf(Jt);if(Un!==-1&&sn.splice(Un,1),Fe(),!pe&&!_t.contains(document.activeElement)){var er;(er=me.current)===null||er===void 0||er.focus()}});sn.push(Jt)}for(var yn=arguments.length,Wn=new Array(yn>1?yn-1:0),bn=1;bn<yn;bn++)Wn[bn-1]=arguments[bn];ve==null||ve.apply(void 0,[qe].concat(Wn))},dr=m.exports.useState({}),On=Z(dr,2),ea=On[1];function ta(){ea({})}var Vn;lt&&(Vn=function(qe){be(qe)}),_j(function(){var ze;return[ge.current,(ze=$e.current)===null||ze===void 0?void 0:ze.getPopupElement()]},_e,be,!!lt);var na=m.exports.useMemo(function(){return Q(Q({},e),{},{notFoundContent:v,open:Ie,triggerOpen:_e,id:o,showSearch:ce,multiple:ie,toggleOpen:be})},[e,v,_e,Ie,o,ce,ie,be]),Wr=!!O||S,Jn;Wr&&(Jn=C(av,{className:oe("".concat(a,"-arrow"),U({},"".concat(a,"-arrow-loading"),S)),customizeIcon:O,customizeIconProps:{loading:S,searchValue:Ve,open:Ie,focused:De,showSearch:ce}}));var Mr=function(){var qe;y==null||y(),(qe=me.current)===null||qe===void 0||qe.focus(),f([],{type:"clear",values:d}),Ct("",!1,!1)},Ur=Tj(a,Mr,d,M,L,b,Ve,g),yo=Ur.allowClear,fr=Ur.clearIcon,ra=C(A,{ref:Ae}),Gr=oe(a,i,(r={},U(r,"".concat(a,"-focused"),De),U(r,"".concat(a,"-multiple"),ie),U(r,"".concat(a,"-single"),!ie),U(r,"".concat(a,"-allow-clear"),M),U(r,"".concat(a,"-show-arrow"),Wr),U(r,"".concat(a,"-disabled"),b),U(r,"".concat(a,"-loading"),S),U(r,"".concat(a,"-open"),Ie),U(r,"".concat(a,"-customize-input"),Ze),U(r,"".concat(a,"-show-search"),ce),r)),wt=C(S9,{ref:$e,disabled:b,prefixCls:a,visible:_e,popupElement:ra,animation:H,transitionName:_,dropdownStyle:B,dropdownClassName:W,direction:c,dropdownMatchSelectWidth:G,dropdownRender:K,dropdownAlign:z,placement:V,builtinPlacements:X,getPopupContainer:Y,empty:p,getTriggerDOMNode:function(){return He.current},onPopupVisibleChange:Vn,onPopupMouseEnter:ta,children:lt?m.exports.cloneElement(lt,{ref:ht}):C(r9,{...e,domRef:He,prefixCls:a,inputElement:Ze,ref:me,id:o,showSearch:ce,autoClearSearchValue:j,mode:g,activeDescendantId:P,tagRender:l,values:d,open:Ie,onToggleOpen:be,activeValue:I,searchValue:Ve,onSearch:Ct,onSearchSubmit:ft,onRemove:ct,tokenWithEnter:Xe})}),vt;return lt?vt=wt:vt=ne("div",{className:Gr,...le,ref:ge,onMouseDown:Zn,onKeyDown:je,onKeyUp:Qe,onFocus:Bt,onBlur:an,children:[De&&!Ie&&C("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0},children:"".concat(d.map(function(ze){var qe=ze.label,xt=ze.value;return["number","string"].includes(et(qe))?qe:xt}).join(", "))}),wt,Jn,yo&&fr]}),C(JM.Provider,{value:na,children:vt})}),Q1=function(){return null};Q1.isSelectOptGroup=!0;var Z1=function(){return null};Z1.isSelectOption=!0;var lR=m.exports.forwardRef(function(e,t){var n=e.height,r=e.offsetY,o=e.offsetX,a=e.children,i=e.prefixCls,s=e.onInnerResize,l=e.innerProps,c=e.rtl,u=e.extra,d={},f={display:"flex",flexDirection:"column"};return r!==void 0&&(d={height:n,position:"rela
Line truncated
|
|
||||||
${o}${s}bottomLeft,
|
|
||||||
${a}${s}bottomLeft
|
|
||||||
`]:{animationName:U1},[`
|
|
||||||
${o}${s}topLeft,
|
|
||||||
${a}${s}topLeft,
|
|
||||||
${o}${s}topRight,
|
|
||||||
${a}${s}topRight
|
|
||||||
`]:{animationName:Y1},[`${i}${s}bottomLeft`]:{animationName:G1},[`
|
|
||||||
${i}${s}topLeft,
|
|
||||||
${i}${s}topRight
|
|
||||||
`]:{animationName:K1},"&-hidden":{display:"none"},[`${r}`]:Object.assign(Object.assign({},ew(e)),{cursor:"pointer",transition:`background ${e.motionDurationSlow} ease`,borderRadius:e.borderRadiusSM,"&-group":{color:e.colorTextDescription,fontSize:e.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},_a),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${r}-option-disabled)`]:{backgroundColor:e.optionActiveBg},[`&-selected:not(${r}-option-disabled)`]:{color:e.optionSelectedColor,fontWeight:e.optionSelectedFontWeight,backgroundColor:e.optionSelectedBg,[`${r}-option-state`]:{color:e.colorPrimary},[`&:has(+ ${r}-option-selected:not(${r}-option-disabled))`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${r}-option-selected:not(${r}-option-disabled)`]:{borderStartStartRadius:0,borderStartEndRadius:0}}},"&-disabled":{[`&${r}-option-selected`]:{backgroundColor:e.colorBgContainerDisabled},color:e.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:e.calc(e.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},ew(e)),{color:e.colorTextDisabled})}),"&-rtl":{direction:"rtl"}})},qs(e,"slide-up"),qs(e,"slide-down"),jf(e,"move-up"),jf(e,"move-down")]},Sz=bz,Gi=2,Cz=e=>{const{multipleSelectItemHeight:t,selectHeight:n,lineWidth:r}=e;return e.calc(n).sub(t).div(2).sub(r).equal()},rb=(e,t)=>{const{componentCls:n,iconCls:r}=e,o=`${n}-selection-overflow`,a=e.multipleSelectItemHeight,i=Cz(e),s=t?`${n}-${t}`:"";return{[`${n}-multiple${s}`]:{[o]:{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",height:"100%",paddingInline:e.calc(Gi).mul(2).equal(),paddingBlock:e.calc(i).sub(Gi).equal(),borderRadius:e.borderRadius,[`${n}-disabled&`]:{background:e.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${te(Gi)} 0`,lineHeight:te(a),visibility:"hidden",content:'"\\a0"'}},[`${n}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",height:a,marginTop:Gi,marginBottom:Gi,lineHeight:te(e.calc(a).sub(e.calc(e.lineWidth).mul(2)).equal()),borderRadius:e.borderRadiusSM,cursor:"default",transition:`font-size ${e.motionDurationSlow}, line-height ${e.motionDurationSlow}, height ${e.motionDurationSlow}`,marginInlineEnd:e.calc(Gi).mul(2).equal(),paddingInlineStart:e.paddingXS,paddingInlineEnd:e.calc(e.paddingXS).div(2).equal(),[`${n}-disabled&`]:{color:e.multipleItemColorDisabled,borderColor:e.multipleItemBorderColorDisabled,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:e.calc(e.paddingXS).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},_1()),{display:"inline-flex",alignItems:"center",color:e.colorIcon,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${r}`]:{verticalAlign:"-0.2em"},"&:hover":{color:e.colorIconHover}})},[`${o}-item + ${o}-item`]:{[`${n}-selection-search`]:{marginInlineStart:0}},[`${o}-item-suffix`]:{height:"100%"},[`${n}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:e.calc(e.inputPaddingHorizontalBase).sub(i).equal(),[`
|
|
||||||
&-input,
|
|
||||||
&-mirror
|
|
||||||
`]:{height:a,fontFamily:e.fontFamily,lineHeight:te(a),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 Xh(e,t){const{componentCls:n}=e,r=t?`${n}-${t}`:"",o={[`${n}-multiple${r}`]:{fontSize:e.fontSize,[`${n}-selector`]:{[`${n}-show-search&`]:{cursor:"text"}},[`
|
|
||||||
&${n}-show-arrow ${n}-selector,
|
|
||||||
&${n}-allow-clear ${n}-selector
|
|
||||||
`]:{paddingInlineEnd:e.calc(e.fontSizeIcon).add(e.controlPaddingHorizontal).equal()}}};return[rb(e,t),o]}const xz=e=>{const{componentCls:t}=e,n=Rt(e,{selectHeight:e.controlHeightSM,multipleSelectItemHeight:e.controlHeightXS,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS}),r=Rt(e,{fontSize:e.fontSizeLG,selectHeight:e.controlHeightLG,multipleSelectItemHeight:e.multipleItemHeightLG,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius});return[Xh(e),Xh(n,"sm"),{[`${t}-multiple${t}-sm`]:{[`${t}-selection-placeholder`]:{insetInline:e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal()},[`${t}-selection-search`]:{marginInlineStart:2}}},Xh(r,"lg")]},wz=xz;function Qh(e,t){const{componentCls:n,inputPaddingHorizontalBase:r,borderRadius:o}=e,a=e.calc(e.controlHeight).sub(e.calc(e.lineWidth).mul(2)).equal(),i=t?`${n}-${t}`:"";return{[`${n}-single${i}`]:{fontSize:e.fontSize,height:e.controlHeight,[`${n}-selector`]:Object.assign(Object.assign({},nn(e,!0)),{display:"flex",borderRadius:o,[`${n}-selection-search`]:{position:"absolute",top:0,insetInlineStart:r,insetInlineEnd:r,bottom:0,"&-input":{width:"100%",WebkitAppearance:"textfield"}},[`
|
|
||||||
${n}-selection-item,
|
|
||||||
${n}-selection-placeholder
|
|
||||||
`]:{padding:0,lineHeight:te(a),transition:`all ${e.motionDurationSlow}, visibility 0s`,alignSelf:"center"},[`${n}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${n}-selection-item:empty:after`,`${n}-selection-placeholder:empty:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[`
|
|
||||||
&${n}-show-arrow ${n}-selection-item,
|
|
||||||
&${n}-show-arrow ${n}-selection-placeholder
|
|
||||||
`]:{paddingInlineEnd:e.showArrowPaddingInlineEnd},[`&${n}-open ${n}-selection-item`]:{color:e.colorTextPlaceholder},[`&:not(${n}-customize-input)`]:{[`${n}-selector`]:{width:"100%",height:"100%",padding:`0 ${te(r)}`,[`${n}-selection-search-input`]:{height:a},"&:after":{lineHeight:te(a)}}},[`&${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 ${te(r)}`,"&:after":{display:"none"}}}}}}}function $z(e){const{componentCls:t}=e,n=e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal();return[Qh(e),Qh(Rt(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 ${te(n)}`},[`&${t}-show-arrow ${t}-selection-search`]:{insetInlineEnd:e.calc(n).add(e.calc(e.fontSize).mul(1.5)).equal()},[`
|
|
||||||
&${t}-show-arrow ${t}-selection-item,
|
|
||||||
&${t}-show-arrow ${t}-selection-placeholder
|
|
||||||
`]:{paddingInlineEnd:e.calc(e.fontSize).mul(1.5).equal()}}}},Qh(Rt(e,{controlHeight:e.singleItemHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG}),"lg")]}const Ez=e=>{const{fontSize:t,lineHeight:n,controlHeight:r,controlPaddingHorizontal:o,zIndexPopupBase:a,colorText:i,fontWeightStrong:s,controlItemBgActive:l,controlItemBgHover:c,colorBgContainer:u,colorFillSecondary:d,controlHeightLG:f,controlHeightSM:p,colorBgContainerDisabled:h,colorTextDisabled:v}=e;return{zIndexPopup:a+50,optionSelectedColor:i,optionSelectedFontWeight:s,optionSelectedBg:l,optionActiveBg:c,optionPadding:`${(r-t*n)/2}px ${o}px`,optionFontSize:t,optionLineHeight:n,optionHeight:r,selectorBg:u,clearBg:u,singleItemHeightLG:f,multipleItemBg:d,multipleItemBorderColor:"transparent",multipleItemHeight:p,multipleItemHeightLG:r,multipleSelectorBgDisabled:h,multipleItemColorDisabled:v,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(e.fontSize*1.25)}},vR=(e,t)=>{const{componentCls:n,antCls:r,controlOutlineWidth:o}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{border:`${te(e.lineWidth)} ${e.lineType} ${t.borderColor}`,background:e.selectorBg},[`&:not(${n}-disabled):not(${n}-customize-input):not(${r}-pagination-size-changer)`]:{[`&:hover ${n}-selector`]:{borderColor:t.hoverBorderHover},[`${n}-focused& ${n}-selector`]:{borderColor:t.activeBorderColor,boxShadow:`0 0 0 ${te(o)} ${t.activeShadowColor}`,outline:0}}}},tw=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},vR(e,t))}),Oz=e=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},vR(e,{borderColor:e.colorBorder,hoverBorderHover:e.colorPrimaryHover,activeBorderColor:e.colorPrimary,activeShadowColor:e.controlOutline})),tw(e,{status:"error",borderColor:e.colorError,hoverBorderHover:e.colorErrorHover,activeBorderColor:e.colorError,activeShadowColor:e.colorErrorOutline})),tw(e,{status:"warning",borderColor:e.colorWarning,hoverBorderHover:e.colorWarningHover,activeBorderColor:e.colorWarning,activeShadowColor:e.colorWarningOutline})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${te(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}})}),hR=(e,t)=>{const{componentCls:n,antCls:r}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{background:t.bg,border:`${te(e.lineWidth)} ${e.lineType} transparent`,color:t.color},[`&:not(${n}-disabled):not(${n}-customize-input):not(${r}-pagination-size-changer)`]:{[`&:hover ${n}-selector`]:{background:t.hoverBg},[`${n}-focused& ${n}-selector`]:{background:e.selectorBg,borderColor:t.activeBorderColor,outline:0}}}},nw=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},hR(e,t))}),Mz=e=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},hR(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.colorPrimary,color:e.colorText})),nw(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,color:e.colorError})),nw(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,color:e.colorWarning})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{borderColor:e.colorBorder,background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.colorBgContainer,border:`${te(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}})}),Rz=e=>({"&-borderless":{[`${e.componentCls}-selector`]:{background:"transparent",borderColor:"transparent"},[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${te(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}}}),Pz=e=>({[e.componentCls]:Object.assign(Object.assign(Object.assign({},Oz(e)),Mz(e)),Rz(e))}),Iz=Pz,Tz=e=>{const{componentCls:t}=e;return{position:"relative",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,input:{cursor:"pointer"},[`${t}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${t}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},Nz=e=>{const{componentCls:t}=e;return{[`${t}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none",fontFamily:"inherit","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},Az=e=>{const{antCls:t,componentCls:n,inputPaddingHorizontalBase:r,iconCls:o}=e;return{[n]:Object.assign(Object.assign({},nn(e)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not($Line truncated
|
|
||||||
&:hover ${S}`]:{borderColor:r},[`${t}-input:focus-visible + ${S}`]:Object.assign({},D1(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:E,height:E,marginBlockStart:b(1).mul(o).div(-2).equal(),marginInlineStart:b(1).mul(o).div(-2).equal(),backgroundColor:y,borderBlockStart:0,borderInlineStart:0,borderRadius:E,transform:"scale(0)",opacity:0,transition:`all ${a} ${s}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:E,height:E,backgroundColor:l,borderColor:c,borderStyle:"solid",borderWidth:u,borderRadius:"50%",transition:`all ${i}`},[`${t}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${t}-checked`]:{[S]:{borderColor:r,backgroundColor:g,"&::after":{transform:`scale(${e.calc(e.dotSize).div(o).equal()})`,opacity:1,transition:`all ${a} ${s}`}}},[`${t}-disabled`]:{cursor:"not-allowed",[S]:{backgroundColor:d,borderColor:c,cursor:"not-allowed","&::after":{backgroundColor:h}},[`${t}-input`]:{cursor:"not-allowed"},[`${t}-disabled + span`]:{color:f,cursor:"not-allowed"},[`&${t}-checked`]:{[S]:{"&::after":{transform:`scale(${b(w).div(o).equal({unit:!1})})`}}}},[`span${t} + *`]:{paddingInlineStart:p,paddingInlineEnd:p}})}},sW=e=>{const{buttonColor:t,controlHeight:n,componentCls:r,lineWidth:o,lineType:a,colorBorder:i,motionDurationSlow:s,motionDurationMid:l,buttonPaddingInline:c,fontSize:u,buttonBg:d,fontSizeLG:f,controlHeightLG:p,controlHeightSM:h,paddingXS:v,borderRadius:y,borderRadiusSM:g,borderRadiusLG:b,buttonCheckedBg:S,buttonSolidCheckedColor:x,colorTextDisabled:w,colorBgContainerDisabled:E,buttonCheckedBgDisabled:$,buttonCheckedColorDisabled:R,colorPrimary:I,colorPrimaryHover:T,colorPrimaryActive:P,buttonSolidCheckedBg:F,buttonSolidCheckedHoverBg:j,buttonSolidCheckedActiveBg:N,calc:k}=e;return{[`${r}-button-wrapper`]:{position:"relative",display:"inline-block",height:n,margin:0,paddingInline:c,paddingBlock:0,color:t,fontSize:u,lineHeight:te(k(n).sub(k(o).mul(2)).equal()),background:d,border:`${te(o)} ${a} ${i}`,borderBlockStartWidth:k(o).add(.02).equal(),borderInlineStartWidth:0,borderInlineEndWidth:o,cursor:"pointer",transition:[`color ${l}`,`background ${l}`,`box-shadow ${l}`].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:k(o).mul(-1).equal(),insetInlineStart:k(o).mul(-1).equal(),display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:o,paddingInline:0,backgroundColor:i,transition:`background-color ${s}`,content:'""'}},"&:first-child":{borderInlineStart:`${te(o)} ${a} ${i}`,borderStartStartRadius:y,borderEndStartRadius:y},"&:last-child":{borderStartEndRadius:y,borderEndEndRadius:y},"&:first-child:last-child":{borderRadius:y},[`${r}-group-large &`]:{height:p,fontSize:f,lineHeight:te(k(p).sub(k(o).mul(2)).equal()),"&:first-child":{borderStartStartRadius:b,borderEndStartRadius:b},"&:last-child":{borderStartEndRadius:b,borderEndEndRadius:b}},[`${r}-group-small &`]:{height:h,paddingInline:k(v).sub(o).equal(),paddingBlock:0,lineHeight:te(k(h).sub(k(o).mul(2)).equal()),"&:first-child":{borderStartStartRadius:g,borderEndStartRadius:g},"&:last-child":{borderStartEndRadius:g,borderEndEndRadius:g}},"&:hover":{position:"relative",color:I},"&:has(:focus-visible)":Object.assign({},D1(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:I,background:S,borderColor:I,"&::before":{backgroundColor:I},"&:first-child":{borderColor:I},"&:hover":{color:T,borderColor:T,"&::before":{backgroundColor:T}},"&:active":{color:P,borderColor:P,"&::before":{backgroundColor:P}}},[`${r}-group-solid &-checked:not(${r}-button-wrapper-disabled)`]:{color:x,background:F,borderColor:F,"&:hover":{color:x,background:j,borderColor:j},"&:active":{color:x,background:N,borderColor:N}},"&-disabled":{color:w,backgroundColor:E,borderColor:i,cursor:"not-allowed","&:first-child, &:hover":{color:w,backgroundColor:E,borderColor:i}},[`&-disabled${r}-button-wrapper-checked`]:{color:R,backgroundColor:$,borderColor:i,boxShadow:"none"}}}},lW=e=>{const{wireframe:t,padding:n,marginXS:r,lineWidth:o,fontSizeLG:a,colorText:i,colorBgContainer:s,colorTextDisabled:l,controlItemBgActiveDisabled:c,colorTextLightSolid:u,colorPrimary:d,colorPrimaryHover:f,colorPrimaryActive:p,colorWhite:h}=e,v=4,y=a,g=t?y-v*2:y-(v+o)*2;return{radioSize:y,dotSize:g,dotColorDisabled:l,buttonSolidCheckedColor:u,buttonSolidCheckedBg:d,buttonSolidCheckedHoverBg:f,buttonSolidCheckedActiveBg:p,buttonBg:s,buttonCheckedBg:s,buttonColor:i,buttonCheckedBgDisabled:c,buttonCheckedColorDisabled:l,buttonPaddingInline:n-o,wrapperMarginInlineEnd:r,
Line truncated
|
|
||||||
& > ${t}-affix-wrapper,
|
|
||||||
& > ${t}-number-affix-wrapper,
|
|
||||||
& > ${n}-picker-range
|
|
||||||
`]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),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.calc(e.lineWidth).mul(-1).equal(),[`${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}}}})}},EW=e=>{const{componentCls:t,controlHeightSM:n,lineWidth:r,calc:o}=e,a=16,i=o(n).sub(o(r).mul(2)).sub(a).div(2).equal();return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},nn(e)),gP(e)),uP(e)),pP(e)),dP(e)),{'&[type="color"]':{height:e.controlHeight,[`&${t}-lg`]:{height:e.controlHeightLG},[`&${t}-sm`]:{height:n,paddingTop:i,paddingBottom:i}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},OW=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 ${te(e.inputAffixPadding)}`}}}},MW=e=>{const{componentCls:t,inputAffixPadding:n,colorTextDescription:r,motionDurationSlow:o,colorIcon:a,colorIconHover:i,iconCls:s}=e;return{[`${t}-affix-wrapper`]:Object.assign(Object.assign(Object.assign(Object.assign({},gP(e)),{display:"inline-flex",[`&:not(${t}-disabled):hover`]:{zIndex:1,[`${t}-search-with-button &`]:{zIndex:0}},"&-focused, &:focus":{zIndex:1},[`> input${t}`]:{padding:0,fontSize:"inherit",border:"none",borderRadius:0,outline:"none",background:"transparent",color:"inherit","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",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}}}),OW(e)),{[`${s}${t}-password-icon`]:{color:a,cursor:"pointer",transition:`all ${o}`,"&:hover":{color:i}}})}},RW=e=>{const{componentCls:t,borderRadiusLG:n,borderRadiusSM:r}=e;return{[`${t}-group`]:Object.assign(Object.assign(Object.assign({},nn(e)),$W(e)),{"&-rtl":{direction:"rtl"},"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${t}-group-addon`]:{borderRadius:n,fontSize:e.inputFontSizeLG}},"&-sm":{[`${t}-group-addon`]:{borderRadius:r}}},xW(e)),wW(e)),{[`&:not(${t}-compact-first-item):not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}, ${t}-group-addon`]:{borderRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-first-item`]:{[`${t}, ${t}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-last-item`]:{[`${t}, ${t}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}-affix-wrapper`]:{borderStartEndRadius:0,borderEndEndRadius:0}}})})}},PW=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.calc(e.lineHeightLG).sub(2e-4).equal({unit:!1})},[`> ${t}-group`]:{[`> ${t}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${r}-button`]:{marginInlineEnd:-1,paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius,borderEndStartRadius:0,boxShadow:"none"},[`${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.calc(e.lineWidth).mul(-1).equal(),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}}}}},IW=e=>{const{componentCls:t,paddingLG:n}=e,r=`${t}-textarea`;return{[r]:{position:"relative","&-show-count":{[`> ${t}`]:{height:"100%"},[`${t}-data-count`]:{position:"absolute",bottom:e.calc(e.fontSize).mul(e.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:e.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},"&-allow-clear":{[`> ${t}`]:{paddingInlineEnd:n}},[`&-affix-wrapper${r}-has-feedback`]:{[`${t}`]:{paddingInlineEnd:n}},[`&-affix-wrapper${t}-affix-wrapper`]:{padding:0,[`> textarea${t}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent","&:focus":{boxShadow:"none !important"}},[`${t}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${t}-clear-icon`]:{position:"absolute",insetInlineEnd:e.paddingXS,insetBlockStart:e.paddingXS},[`${r}-suffix`]:{position:"absolute",top:0,insetInlineEnd:e.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}}}}},TW=e=>{const{componentCls:t}=e;return{[`${t}-out-of-range`]:{[`&, & input, & textarea, ${t}-show-count-suffix, ${t}-data-count`]:{color:e.colorError}}}},yb=En("Input",e=>{const t=Rt(e,sP(e));return[EW(t),IW(t),MW(t),RW(t),PW(t),TW(t),tv(t)]},lP),Jh=(e,t)=>{const{componentCls:n,selectHeight:r,fontHeight:o,lineWidth:a,calc:i}=e,s=t?`${n}-${t}`:"",l=e.calc(o).add(2).equal(),c=()=>i(r).sub(l).sub(i(a).mul(2)),u=e.max(c().div(2).equal(),0),d=e.max(c().sub(u).equal(),0);return[rb(e,t),{[`${n}-multiple${s}`]:{paddingTop:u,paddingBottom:d,paddingInlineStart:u}}]},NW=e=>{const{componentCls:t,calc:n,lineWidth:r}=e,o=Rt(e,{fontHeight:e.fontSize,selectHeight:e.controlHeightSM,multipleSelectItemHeight:e.controlHeightXS,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS}),a=Rt(e,{fontHeight:n(e.multipleItemHeightLG).sub(n(r).mul(2).equal()).equal(),fontSize:e.fontSizeLG,selectHeight:e.controlHeightLG,multipleSelectItemHeight:e.multipleItemHeightLG,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius});return[Jh(o,"small"),Jh(e),Jh(a,"large"),rb(e),{[`${t}${t}-multiple`]:{width:"100%",[`${t}-selector`]:{flex:"auto",padding:0,"&:after":{margin:0}},[`${t}-selection-item`]:{marginBlock:0},[`${t}-multiple-input`]:{width:0,height:0,border:0,visibility:"hidden",position:"absolute",zIndex:-1}}}]},AW=NW,_W=e=>{const{pickerCellCls:t,pickerCellInnerCls:n,cellHeight:r,borderRadiusSM:o,motionDurationMid:a,cellHoverBg:i,lineWidth:s,lineType:l,colorPrimary:c,cellActiveWithRangeBg:u,colorTextLightSolid:d,colorTextDisabled:f,cellBgDisabled:p,colorFillSecondary:h}=e;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:r,transform:"translateY(-50%)",content:'""'},[n]:{position:"relative",zIndex:2,display:"inline-block",minWidth:r,height:r,lineHeight:te(r),borderRadius:o,transition:`background ${a}`},[`&:hover:not(${t}-in-view),
|
|
||||||
&:hover:not(${t}-selected):not(${t}-range-start):not(${t}-range-end)`]:{[n]:{background:i}},[`&-in-view${t}-today ${n}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${te(s)} ${l} ${c}`,borderRadius:o,content:'""'}},[`&-in-view${t}-in-range,
|
|
||||||
&-in-view${t}-range-start,
|
|
||||||
&-in-view${t}-range-end`]:{position:"relative",[`&:not(${t}-disabled):before`]:{background:u}},[`&-in-view${t}-selected,
|
|
||||||
&-in-view${t}-range-start,
|
|
||||||
&-in-view${t}-range-end`]:{[`&:not(${t}-disabled) ${n}`]:{color:d,background:c},[`&${t}-disabled ${n}`]:{background:h}},[`&-in-view${t}-range-start:not(${t}-disabled):before`]:{insetInlineStart:"50%"},[`&-in-view${t}-range-end:not(${t}-disabled):before`]:{insetInlineEnd:"50%"},[`&-in-view${t}-range-start:not(${t}-range-end) ${n}`]:{borderStartStartRadius:o,borderEndStartRadius:o,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${t}-range-end:not(${t}-range-start) ${n}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:o,borderEndEndRadius:o},"&-disabled":{color:f,pointerEvents:"none",[n]:{background:"transparent"},"&::before":{background:p}},[`&-disabled${t}-today ${n}::before`]:{borderColor:f}}},yP=e=>{const{componentCls:t,pickerCellCls:n,pickerCellInnerCls:r,pickerYearMonthCellWidth:o,pickerControlIconSize:a,cellWidth:i,paddingSM:s,paddingXS:l,paddingXXS:c,colorBgContainer:u,lineWidth:d,lineType:f,borderRadiusLG:p,colorPrimary:h,colorTextHeading:v,colorSplit:y,pickerControlIconBorderWidth:g,colorIcon:b,textHeight:S,motionDurationMid:x,colorIconHover:w,fontWeightStrong:E,cellHeight:$,pickerCellPaddingVertical:R,colorTextDisabled:I,colorText:T,fontSize:P,motionDurationSlow:F,withoutTimeCellHeight:j,pickerQuarterPanelContentHeight:N,borderRadiusSM:k,colorTextLightSolid:D,cellHoverBg:M,timeColumnHeight:O,timeColumnWidth:L,timeCellHeight:A,controlItemBgActive:H,marginXXS:_,pickerDatePanelPaddingHorizontal:B,pickerControlIconMargin:W}=e,G=e.calc(i).mul(7).add(e.calc(B).mul(2)).equal();return{[t]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:u,borderRadius:p,outline:"none","&-focused":{borderColor:h},"&-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,
|
|
||||||
&-year-panel,
|
|
||||||
&-quarter-panel,
|
|
||||||
&-month-panel,
|
|
||||||
&-week-panel,
|
|
||||||
&-date-panel,
|
|
||||||
&-time-panel`]:{display:"flex",flexDirection:"column",width:G},"&-header":{display:"flex",padding:`0 ${te(l)}`,color:v,borderBottom:`${te(d)} ${f} ${y}`,"> *":{flex:"none"},button:{padding:0,color:b,lineHeight:te(S),background:"transparent",border:0,cursor:"pointer",transition:`color ${x}`,fontSize:"inherit"},"> button":{minWidth:"1.6em",fontSize:P,"&:hover":{color:w},"&:disabled":{opacity:.25,pointerEvents:"none"}},"&-view":{flex:"auto",fontWeight:E,lineHeight:te(S),button:{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:l},"&:hover":{color:h}}}},[`&-prev-icon,
|
|
||||||
&-next-icon,
|
|
||||||
&-super-prev-icon,
|
|
||||||
&-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:g,borderBlockEndWidth:0,borderInlineStartWidth:g,borderInlineEndWidth:0,content:'""'}},[`&-super-prev-icon,
|
|
||||||
&-super-next-icon`]:{"&::after":{position:"absolute",top:W,insetInlineStart:W,display:"inline-block",width:a,height:a,border:"0 solid currentcolor",borderBlockStartWidth:g,borderBlockEndWidth:0,borderInlineStartWidth:g,borderInlineEndWidth:0,content:'""'}},[`&-prev-icon,
|
|
||||||
&-super-prev-icon`]:{transform:"rotate(-45deg)"},[`&-next-icon,
|
|
||||||
&-super-next-icon`]:{transform:"rotate(135deg)"},"&-content":{width:"100%",tableLayout:"fixed",borderCollapse:"collapse","th, td":{position:"relative",minWidth:$,fontWeight:"normal"},th:{height:e.calc($).add(e.calc(R).mul(2)).equal(),color:T,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${te(R)} 0`,color:I,cursor:"pointer","&-in-view":{color:T}},_W(e)),[`&-decade-panel,
|
|
||||||
&-year-panel,
|
|
||||||
&-quarter-panel,
|
|
||||||
&-month-panel`]:{[`${t}-content`]:{height:e.calc(j).mul(4).equal()},[r]:{padding:`0 ${te(l)}`}},"&-quarter-panel":{[`${t}-content`]:{height:N}},"&-decade-panel":{[r]:{padding:`0 ${te(e.calc(l).div(2).equal())}`},[`${t}-cell::before`]:{display:"none"}},[`&-year-panel,
|
|
||||||
&-quarter-panel,
|
|
||||||
&-month-panel`]:{[`${t}-body`]:{padding:`0 ${te(l)}`},[r]:{width:o}},"&-date-panel":{[`${t}-body`]:{padding:`${te(l)} ${te(B)}`},[`${t}-content th`]:{boxSizing:"border-box",padding:0}},"&-week-panel":{[`${t}-cell`]:{[`&:hover ${r},
|
|
||||||
&-selected ${r},
|
|
||||||
${r}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${x}`},"&:first-child:before":{borderStartStartRadius:k,borderEndStartRadius:k},"&:last-child:before":{borderStartEndRadius:k,borderEndEndRadius:k}},["&:hover td"]:{"&:before":{background:M}},[`&-range-start td,
|
|
||||||
&-range-end td,
|
|
||||||
&-selected td`]:{[`&${n}`]:{"&:before":{background:h},[`&${t}-cell-week`]:{color:new Tt(D).setAlpha(.5).toHexString()},[r]:{color:D}}},["&-range-hover td:before"]:{background:H}}},["&-week-panel, &-date-panel-show-week"]:{[`${t}-body`]:{padding:`${te(l)} ${te(s)}`},[`${t}-content th`]:{width:"auto"}},"&-datetime-panel":{display:"flex",[`${t}-time-panel`]:{borderInlineStart:`${te(d)} ${f} ${y}`},[`${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:O},"&-column":{flex:"1 0 auto",width:L,margin:`${te(c)} 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${x}`,overflowX:"hidden","&::-webkit-scrollbar":{width:8,backgroundColor:"transparent"},"&::-webkit-scrollbar-thumb":{backgroundColor:e.colorTextTertiary,borderRadius:4},"&":{scrollbarWidth:"thin",scrollbarColor:`${e.colorTextTertiary} transparent`},"&::after":{display:"block",height:e.calc("100%").sub(A).equal(),content:'""'},"&:not(:first-child)":{borderInlineStart:`${te(d)} ${f} ${y}`},"&-active":{background:new Tt(H).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${t}-time-panel-cell`]:{marginInline:_,[`${t}-time-panel-cell-inner`]:{display:"block",width:e.calc(L).sub(e.calc(_).mul(2)).equal(),height:A,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:e.calc(L).sub(A).div(2).equal(),color:T,lineHeight:te(A),borderRadius:k,cursor:"pointer",transition:`background ${x}`,"&:hover":{background:M}},"&-selected":{[`${t}-time-panel-cell-inner`]:{background:H}},"&-disabled":{[`${t}-time-panel-cell-inner`]:{color:I,background:"transparent",cursor:"not-allowed"}}}}}}}}},DW=e=>{const{componentCls:t,textHeight:n,lineWidth:r,paddingSM:o,antCls:a,colorPrimary:i,cellActiveWithRangeBg:s,colorPrimaryBorder:l,lineType:c,colorSplit:u}=e;return{[`${t}-dropdown`]:{[`${t}-footer`]:{borderTop:`${te(r)} ${c} ${u}`,"&-extra":{padding:`0 ${te(o)}`,lineHeight:te(e.calc(n).sub(e.calc(r).mul(2)).equal()),textAlign:"start","&:not(:last-child)":{borderBottom:`${te(r)} ${c} ${u}`}}},[`${t}-panels + ${t}-footer ${t}-ranges`]:{justifyContent:"space-between"},[`${t}-ranges`]:{marginBlock:0,paddingInline:te(o),overflow:"hidden",textAlign:"start",listStyle:"none",display:"flex",justifyContent:"center",alignItems:"center","> li":{lineHeight:te(e.calc(n).sub(e.calc(r).mul(2)).equal()),display:"inline-block"},[`${t}-now-btn-disabled`]:{pointerEvents:"none",color:e.colorTextDisabled},[`${t}-preset > ${a}-tag-blue`]:{color:i,background:s,borderColor:l,cursor:"pointer"},[`${t}-ok`]:{paddingBlock:e.calc(r).mul(2).equal(),marginInlineStart:"auto"}}}}},FW=DW,bP=e=>{const{componentCls:t,controlHeightLG:n,paddingXXS:r,padding:o}=e;return{pickerCellCls:`${t}-cell`,pickerCellInnerCls:`${t}-cell-inner`,pickerYearMonthCellWidth:e.calc(n).mul(1.5).equal(),pickerQuarterPanelContentHeight:e.calc(n).mul(1.4).equal(),pickerCellPaddingVertical:e.calc(r).add(e.calc(r).div(2)).equal(),pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconMargin:4,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:e.calc(o).add(e.calc(r).div(2)).equal()}},SP=e=>{const{colorBgContainerDisabled:t,controlHeightSM:n,controlHeightLG:r}=e;return{cellHoverBg:e.controlItemBgHover,cellActiveWithRangeBg:e.controlItemBgActive,cellHoverWithRangeBg:new Tt(e.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new Tt(e.colorPrimary).lighten(20).toHexString(),cellBgDisabled:t,timeColumnWidth:r*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:n*1.5,cellHeight:n,textHeight:r,withoutTimeCellHeight:r*1.65,multipleItemBg:e.colorFillSecondary,multipleItemBorderColor:"transparent",multipleItemHeight:n,multipleItemHeightLG:e.controlHeight,multipleSelectorBgDisabled:t,multipleItemColorDisabled:e.colorTextDisabled,multipleItemBorderColorDisabled:"transparent"}},LW=e=>Object.assign(Object.assign(Object.assign(Object.assign({},lP(e)),SP(e)),ab(e)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:e.zIndexPopupBase+50}),kW=e=>{const{componentCls:t}=e;return{[t]:[Object.assign(Object.assign(Object.assign({},uP(e)),pP(e)),dP(e)),{"&-outlined":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${te(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}},"&-filled":{[`&${t}-multiple ${t}-selection-item`]:{background:e.colorBgContainer,border:`${te(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}},"&-borderless":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${te(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}}}]}},BW=kW,em=(e,t,n,r)=>{const o=e.calc(n).add(2).equal(),a=e.max(e.calc(t).sub(o).div(2).equal(),0),i=e.max(e.calc(t).sub(o).sub(a).equal(),0);return{padding:`${te(a)} ${te(r)} ${te(i)}`}},jW=e=>{const{componentCls:t,colorError:n,colorWarning:r}=e;return{[`${t}:not(${t}-disabled):not([disabled])`]:{[`&${t}-status-error`]:{[`${t}-active-bar`]:{background:n}},[`&${t}-status-warning`]:{[`${t}-active-bar`]:{background:r}}}}},zW=e=>{const{componentCls:t,antCls:n,controlHeight:r,paddingInline:o,lineWidth:a,lineType:i,colorBorder:s,borderRadius:l,motionDurationMid:c,colorTextDisabled:u,colorTextPlaceholder:d,controlHeightLG:f,fontSizeLG:p,controlHeightSM:h,paddingInlineSM:v,paddingXS:y,marginXS:g,colorTextDescription:b,lineWidthBold:S,c
Line truncated
|
|
||||||
&${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:Y1},[`&${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:U1},[`&${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:K1},[`&${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:G1},[`${t}-panel > ${t}-time-panel`]:{paddingTop:$},[`${t}-range-wrapper`]:{display:"flex",position:"relative"},[`${t}-range-arrow`]:Object.assign(Object.assign({position:"absolute",zIndex:1,display:"none",paddingInline:e.calc(o).mul(1.5).equal(),boxSizing:"content-box",transition:`left ${w} ease-out`},SR(e,I,M)),{"&:before":{insetInlineStart:e.calc(o).mul(1.5).equal()}}),[`${t}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:I,borderRadius:T,boxShadow:P,transition:`margin ${w}`,display:"inline-block",pointerEvents:"auto",[`${t}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${t}-presets`]:{display:"flex",flexDirection:"column",minWidth:k,maxWidth:D,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:y,borderInlineEnd:`${te(a)} ${i} ${j}`,li:Object.assign(Object.assign({},_a),{borderRadius:F,paddingInline:y,paddingBlock:e.calc(h).sub(O).div(2).equal(),cursor:"pointer",transition:`all ${w}`,"+ li":{marginTop:g},"&:hover":{background:N}})}},[`${t}-panels`]:{display:"inline-flex",flexWrap:"nowrap",direction:"ltr","&: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:`${te(e.calc(R).mul(2).div(3).equal())} 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${t}-separator`]:{transform:"rotate(180deg)"},[`${t}-footer`]:{"&-extra":{direction:"rtl"}}}})},qs(e,"slide-up"),qs(e,"slide-down"),jf(e,"move-up"),jf(e,"move-down")]};En("DatePicker",e=>{const t=Rt(sP(e),bP(e),{inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[FW(t),zW(t),BW(t),jW(t),AW(t),tv(e,{focusElCls:`${e.componentCls}-focused`})]},LW);const HW=e=>{const{calendarCls:t,componentCls:n,fullBg:r,fullPanelBg:o,itemActiveBg:a}=e;return{[t]:Object.assign(Object.assign(Object.assign({},yP(e)),nn(e)),{background:r,"&-rtl":{direction:"rtl"},[`${t}-header`]:{display:"flex",justifyContent:"flex-end",padding:`${te(e.paddingSM)} 0`,[`${t}-year-select`]:{minWidth:e.yearControlWidth},[`${t}-month-select`]:{minWidth:e.monthControlWidth,marginInlineStart:e.marginXS},[`${t}-mode-switch`]:{marginInlineStart:e.marginXS}}}),[`${t} ${n}-panel`]:{background:o,border:0,borderTop:`${te(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,borderRadius:0,[`${n}-month-panel, ${n}-date-panel`]:{width:"auto"},[`${n}-body`]:{padding:`${te(e.paddingXS)} 0`},[`${n}-content`]:{width:"100%"}},[`${t}-mini`]:{borderRadius:e.borderRadiusLG,[`${t}-header`]:{paddingInlineEnd:e.paddingXS,paddingInlineStart:e.paddingXS},[`${n}-panel`]:{borderRadius:`0 0 ${te(e.borderRadiusLG)} ${te(e.borderRadiusLG)}`},[`${n}-content`]:{height:e.miniContentHeight,th:{height:"auto",padding:0,lineHeight:`${te(e.weekHeight)}`}},[`${n}-cell::before`]:{pointerEvents:"none"}},[`${t}${t}-full`]:{[`${n}-panel`]:{display:"block",width:"100%",textAlign:"end",background:r,border:0,[`${n}-body`]:{"th, td":{padding:0},th:{height:"auto",paddingInlineEnd:e.paddingSM,paddingBottom:e.paddingXXS,lineHeight:`${te(e.weekHeight)}`}}},[`${n}-cell`]:{"&::before":{display:"none"},"&:hover":{[`${t}-date`]:{background:e.controlItemBgHover}},[`${t}-date-today::before`]:{display:"none"},[`&-in-view${n}-cell-selected`]:{[`${t}-date, ${t}-date-today`]:{background:a}},"&-selected, &-selected:hover":{[`${t}-date, ${t}-date-today`]:{[`${t}-date-value`]:{color:e.colorPrimary}}}},[`${t}-date`]:{display:"block",width:"auto",height:"auto",margin:`0 ${te(e.calc(e.marginXS).div(2).equal())}`,padding:`${te(e.calc(e.paddingXS).div(2).equal())} ${te(e.paddingXS)} 0`,border:0,borderTop:`${te(e.lineWidthBold)} ${e.lineType} ${e.colorSplit}`,borderRadius:0,transition:`background ${e.motionDurationSlow}`,"&-value":{lineHeight:`${te(e.dateValueHeight)}`,transition:`color ${e.motionDurationSlow}`},"&-content":{position:"static",width:"auto",height:e.dateContentHeight,overflowY:"auto",color:e.colorText,lineHeight:e.lineHeight,textAlign:"start"},"&-today":{borderColor:e.colorPrimary,[`${t}-date-value`]:{color:e.colorText}}}},[`@media only screen and (max-width: ${te(e.screenXS)}) `]:{[`${t}`]:{[`${t}-header`]:{display:"block",[`${t}-year-select`]:{width:"50%"},[`${t}-month-select`]:{width:`calc(50% - ${te(e.paddingXS)})`},[`${t}-mode-switch`]:{width:"100%",marginTop:e.marginXS,marginInlineStart:0,"> label":{width:"50%",textAlign:"center"}}}}}}},VW=e=>Object.assign({fullBg:e.colorBgContainer,fullPanelBg:e.colorBgContainer,itemActiveBg:e.controlItemBgActive,yearControlWidth:80,monthControlWidth:70,miniContentHeight:256},SP(e)),WW=En("Calendar",e=>{const t=`${e.componentCls}-calendar`,n=Rt(e,bP(e),{calendarCls:t,pickerCellInnerCls:`${e.componentCls}-cell-inner`,dateValueHeight:e.controlHeightSM,weekHeight:e.calc(e.controlHeightSM).mul(.75).equal(),dateContentHeight:e.calc(e.calc(e.fontHeightSM).add(e.marginXS)).mul(3).add(e.calc(e.lineWidth).mul(2)).equal()});return[HW(n)]},VW);function CP(e){function t(a,i){return a&&i&&e.getYear(a)===e.getYear(i)}function n(a,i){return t(a,i)&&e.getMonth(a)===e.getMonth(i)}function r(a,i){return n(a,i)&&e.getDate(a)===e.getDate(i)}return a=>{const{prefixCls:i,className:s,rootClassName:l,style:c,dateFullCellRender:u,dateCellRender:d,monthFullCellRender:f,monthCellRender:p,cellRender:h,fullCellRender:v,headerRender:y,value:g,defaultValue:b,disabledDate:S,mode:x,validRange:w,fullscreen:E=!0,onChange:$,onPanelChange:R,onSelect:I}=a,{getPrefixCls:T,direction:P,calendar:F}=m.exports.useContext(st),j=T("picker",i),N=`${j}-calendar`,[k,D,M]=WW(j,N),O=e.getNow(),[L,A]=Wt(()=>g||e.getNow(),{defaultValue:b,value:g}),[H,_]=Wt("month",{value:x}),B=m.exports.useMemo(()=>H==="year"?"month":"date",[H]),W=m.exports.useCallback(J=>(w?e.isAfter(w[0],J)||e.isAfter(J,w[1]):!1)||!!(S!=null&&S(J)),[S,w]),G=(J,re)=>{R==null||R(J,re)},K=J=>{A(J),r(J,L)||((B==="date"&&!n(J,L)||B==="month"&&!t(J,L))&&G(J,H),$==null||$(J))},z=J=>{_(J),G(L,J)},V=(J,re)=>{K(J),I==null||I(J,{source:re})},X=()=>{const{locale:J}=a,re=Object.assign(Object.assign({},p0),J);return re.lang=Object.assign(Object.assign({},re.lang),(J||{}).lang),re
Line truncated
|
|
||||||
${r},
|
|
||||||
${o} > li,
|
|
||||||
${n},
|
|
||||||
${a},
|
|
||||||
${i},
|
|
||||||
${s}
|
|
||||||
`]:Object.assign({},KW(e))}}},eU=e=>{const{colorFillContent:t,colorFill:n}=e,r=t,o=n;return{color:r,colorGradientEnd:o,gradientFromColor:r,gradientToColor:o,titleHeight:e.controlHeight/2,blockRadius:e.borderRadiusSM,paragraphMarginTop:e.marginLG+e.marginXXS,paragraphLiHeight:e.controlHeight/2}},cl=En("Skeleton",e=>{const{componentCls:t,calc:n}=e,r=Rt(e,{skeletonAvatarCls:`${t}-avatar`,skeletonTitleCls:`${t}-title`,skeletonParagraphCls:`${t}-paragraph`,skeletonButtonCls:`${t}-button`,skeletonInputCls:`${t}-input`,skeletonImageCls:`${t}-image`,imageSizeBase:n(e.controlHeight).mul(1.5).equal(),borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.gradientFromColor} 25%, ${e.gradientToColor} 37%, ${e.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[JW(r)]},eU,{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),tU=e=>{const{prefixCls:t,className:n,rootClassName:r,active:o,shape:a="circle",size:i="default"}=e,{getPrefixCls:s}=m.exports.useContext(st),l=s("skeleton",t),[c,u,d]=cl(l),f=$r(e,["prefixCls","className"]),p=oe(l,`${l}-element`,{[`${l}-active`]:o},n,r,u,d);return c(C("div",{className:p,children:C(fv,{...Object.assign({prefixCls:`${l}-avatar`,shape:a,size:i},f)})}))},nU=tU,rU=e=>{const{prefixCls:t,className:n,rootClassName:r,active:o,block:a=!1,size:i="default"}=e,{getPrefixCls:s}=m.exports.useContext(st),l=s("skeleton",t),[c,u,d]=cl(l),f=$r(e,["prefixCls"]),p=oe(l,`${l}-element`,{[`${l}-active`]:o,[`${l}-block`]:a},n,r,u,d);return c(C("div",{className:p,children:C(fv,{...Object.assign({prefixCls:`${l}-button`,size:i},f)})}))},oU=rU,aU="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",iU=e=>{const{prefixCls:t,className:n,rootClassName:r,style:o,active:a}=e,{getPrefixCls:i}=m.exports.useContext(st),s=i("skeleton",t),[l,c,u]=cl(s),d=oe(s,`${s}-element`,{[`${s}-active`]:a},n,r,c,u);return l(C("div",{className:d,children:C("div",{className:oe(`${s}-image`,n),style:o,children:C("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${s}-image-svg`,children:C("path",{d:aU,className:`${s}-image-path`})})})}))},sU=iU,lU=e=>{const{prefixCls:t,className:n,rootClassName:r,active:o,block:a,size:i="default"}=e,{getPrefixCls:s}=m.exports.useContext(st),l=s("skeleton",t),[c,u,d]=cl(l),f=$r(e,["prefixCls"]),p=oe(l,`${l}-element`,{[`${l}-active`]:o,[`${l}-block`]:a},n,r,u,d);return c(C("div",{className:p,children:C(fv,{...Object.assign({prefixCls:`${l}-input`,size:i},f)})}))},cU=lU,uU=e=>{const{prefixCls:t,className:n,rootClassName:r,style:o,active:a,children:i}=e,{getPrefixCls:s}=m.exports.useContext(st),l=s("skeleton",t),[c,u,d]=cl(l),f=oe(l,`${l}-element`,{[`${l}-active`]:a},u,n,r,d),p=i!=null?i:C(b_,{});return c(C("div",{className:f,children:C("div",{className:oe(`${l}-image`,n),style:o,children:p})}))},dU=uU,fU=e=>{const t=s=>{const{width:l,rows:c=2}=e;if(Array.isArray(l))return l[s];if(c-1===s)return l},{prefixCls:n,className:r,style:o,rows:a}=e,i=Pe(Array(a)).map((s,l)=>C("li",{style:{width:t(l)}},l));return C("ul",{className:oe(n,r),style:o,children:i})},pU=fU,vU=e=>{let{prefixCls:t,className:n,width:r,style:o}=e;return C("h3",{className:oe(t,n),style:Object.assign({width:r},o)})},hU=vU;function om(e){return e&&typeof e=="object"?e:{}}function mU(e,t){return e&&!t?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function gU(e,t){return!e&&t?{width:"38%"}:e&&t?{width:"50%"}:{}}function yU(e,t){const n={};return(!e||!t)&&(n.width="61%"),!e&&t?n.rows=3:n.rows=2,n}const ul=e=>{const{prefixCls:t,loading:n,className:r,rootClassName:o,style:a,children:i,avatar:s=!1,title:l=!0,paragraph:c=!0,active:u,round:d}=e,{getPrefixCls:f,direction:p,skeleton:h}=m.exports.useContext(st),v=f("skeleton",t),[y,g,b]=cl(v);if(n||!("loading"in e)){const S=!!s,x=!!l,w=!!c;let E;if(S){const I=Object.assign(Object.assign({prefixCls:`${v}-avatar`},mU(x,w)),om(s));E=C("div",{className:`${v}-header`,children:C(fv,{...Object.assign({},I)})})}let $;if(x||w){let I;if(x){const P=Object.assign(Object.assign({prefixCls:`${v}-title`},gU(S,w)),om(l));I=C(hU,{...Object.assign({},P)})}let T;if(w){const P=Object.assign(Objec
Line truncated
|
|
||||||
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,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:s(e.controlHeight).mul(1.25).equal(),[`${t}-tab`]:{padding:a,textAlign:"center"},[`${t}-tab + ${t}-tab`]:{margin:i},[`${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:te(s(e.lineWidth).mul(-1).equal())},borderLeft:{_skip_check_:!0,value:`${te(e.lineWidth)} ${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:s(e.lineWidth).mul(-1).equal()},borderRight:{_skip_check_:!0,value:`${te(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingRight:{_skip_check_:!0,value:e.paddingLG}}}}}},qU=e=>{const{componentCls:t,cardPaddingSM:n,cardPaddingLG:r,horizontalItemPaddingSM:o,horizontalItemPaddingLG:a}=e;return{[t]:{"&-small":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:o,fontSize:e.titleFontSizeSM}}},"&-large":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:a,fontSize:e.titleFontSizeLG}}}},[`${t}-card`]:{[`&${t}-small`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:n}},[`&${t}-bottom`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`0 0 ${te(e.borderRadius)} ${te(e.borderRadius)}`}},[`&${t}-top`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`${te(e.borderRadius)} ${te(e.borderRadius)} 0 0`}},[`&${t}-right`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${te(e.borderRadius)} ${te(e.borderRadius)} 0`}}},[`&${t}-left`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${te(e.borderRadius)} 0 0 ${te(e.borderRadius)}`}}}},[`&${t}-large`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:r}}}}}},XU=e=>{const{componentCls:t,itemActiveColor:n,itemHoverColor:r,iconCls:o,tabsHorizontalItemMargin:a,horizontalItemPadding:i,itemSelectedColor:s,itemColor:l}=e,c=`${t}-tab`;return{[c]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:i,fontSize:e.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:l,"&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:n}},Xp(e)),"&-btn":{outline:"none",transition:"all 0.3s",[`${c}-icon:not(:last-child)`]:{marginInlineEnd:e.marginSM}},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:e.calc(e.marginXXS).mul(-1).equal()},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},[`&${c}-active ${c}-btn`]:{color:s,textShadow:e.tabsActiveTextShadow},[`&${c}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${c}-disabled ${c}-btn, &${c}-disabled ${t}-remove`]:{"&:focus, &:active":{color:e.colorTextDisabled}},[`& ${c}-remove ${o}`]:{margin:0},[`${o}:not(:last-child)`]:{marginRight:{_skip_check_:!0,value:e.marginSM}}},[`${c} + ${c}`]:{margin:{_skip_check_:!0,value:a}}}},QU=e=>{const{componentCls:t,tabsHorizontalItemMarginRTL:n,iconCls:r,cardGutter:o,calc:a}=e;return{[`${t}-rtl`]:{direction:"rtl",[`${t}-nav`]:{[`${t}-tab`]:{margin:{_skip_check_:!0,value:n},[`${t}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[r]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:te(e.marginSM)}},[`${t}-tab-remove`]:{marginRight:{_skip_check_:!0,value:te(e.marginXS)},marginLeft:{_skip_check_:!0,value:te(a(e.marginXXS).mul(-1).equal())},[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:o},marginLeft:{_sk
Line truncated
|
|
||||||
> ${n}-typography,
|
|
||||||
> ${n}-typography-edit-content
|
|
||||||
`]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),[`${t}-tabs-top`]:{clear:"both",marginBottom:a,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,"&-bar":{borderBottom:`${te(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`}}})},lG=e=>{const{cardPaddingBase:t,colorBorderSecondary:n,cardShadow:r,lineWidth:o}=e;return{width:"33.33%",padding:t,border:0,borderRadius:0,boxShadow:`
|
|
||||||
${te(o)} 0 0 0 ${n},
|
|
||||||
0 ${te(o)} 0 0 ${n},
|
|
||||||
${te(o)} ${te(o)} 0 0 ${n},
|
|
||||||
${te(o)} 0 0 0 ${n} inset,
|
|
||||||
0 ${te(o)} 0 0 ${n} inset;
|
|
||||||
`,transition:`all ${e.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:r}}},cG=e=>{const{componentCls:t,iconCls:n,actionsLiMargin:r,cardActionsIconSize:o,colorBorderSecondary:a,actionsBg:i}=e;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:i,borderTop:`${te(e.lineWidth)} ${e.lineType} ${a}`,display:"flex",borderRadius:`0 0 ${te(e.borderRadiusLG)} ${te(e.borderRadiusLG)}`},lu()),{"& > li":{margin:r,color:e.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:e.calc(e.cardActionsIconSize).mul(2).equal(),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:te(e.fontHeight),transition:`color ${e.motionDurationMid}`,"&:hover":{color:e.colorPrimary}},[`> ${n}`]:{fontSize:o,lineHeight:te(e.calc(o).mul(e.lineHeight).equal())}},"&:not(:last-child)":{borderInlineEnd:`${te(e.lineWidth)} ${e.lineType} ${a}`}}})},uG=e=>Object.assign(Object.assign({margin:`${te(e.calc(e.marginXXS).mul(-1).equal())} 0`,display:"flex"},lu()),{"&-avatar":{paddingInlineEnd:e.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:e.marginXS}},"&-title":Object.assign({color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG},_a),"&-description":{color:e.colorTextDescription}}),dG=e=>{const{componentCls:t,cardPaddingBase:n,colorFillAlter:r}=e;return{[`${t}-head`]:{padding:`0 ${te(n)}`,background:r,"&-title":{fontSize:e.fontSize}},[`${t}-body`]:{padding:`${te(e.padding)} ${te(n)}`}}},fG=e=>{const{componentCls:t}=e;return{overflow:"hidden",[`${t}-body`]:{userSelect:"none"}}},pG=e=>{const{antCls:t,componentCls:n,cardShadow:r,cardHeadPadding:o,colorBorderSecondary:a,boxShadowTertiary:i,cardPaddingBase:s,extraColor:l}=e;return{[n]:Object.assign(Object.assign({},nn(e)),{position:"relative",background:e.colorBgContainer,borderRadius:e.borderRadiusLG,[`&:not(${n}-bordered)`]:{boxShadow:i},[`${n}-head`]:sG(e),[`${n}-extra`]:{marginInlineStart:"auto",color:l,fontWeight:"normal",fontSize:e.fontSize},[`${n}-body`]:Object.assign({padding:s,borderRadius:` 0 0 ${te(e.borderRadiusLG)} ${te(e.borderRadiusLG)}`},lu()),[`${n}-grid`]:lG(e),[`${n}-cover`]:{"> *":{display:"block",width:"100%"},[`img, img + ${t}-image-mask`]:{borderRadius:`${te(e.borderRadiusLG)} ${te(e.borderRadiusLG)} 0 0`}},[`${n}-actions`]:cG(e),[`${n}-meta`]:uG(e)}),[`${n}-bordered`]:{border:`${te(e.lineWidth)} ${e.lineType} ${a}`,[`${n}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${n}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${e.motionDurationMid}, border-color ${e.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:r}},[`${n}-contain-grid`]:{borderRadius:`${te(e.borderRadiusLG)} ${te(e.borderRadiusLG)} 0 0 `,[`${n}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${n}-loading) ${n}-body`]:{marginBlockStart:e.calc(e.lineWidth).mul(-1).equal(),marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),padding:0}},[`${n}-contain-tabs`]:{[`> ${n}-head`]:{minHeight:0,[`${n}-head-title, ${n}-extra`]:{paddingTop:o}}},[`${n}-type-inner`]:dG(e),[`${n}-loading`]:fG(e),[`${n}-rtl`]:{direction:"rtl"}}},vG=e=>{const{componentCls:t,cardPaddingSM:n,headerHeightSM:r,headerFontSizeSM:o}=e;return{[`${t}-small`]:{[`> ${t}-head`]:{minHeight:r,padding:`0 ${te(n)}`,fontSize:o,[`> ${t}-head-wrapper`]:{[`> ${t}-extra`]:{fontSize:e.fontSize}}},[`> ${t}-body`]:{padding:n}},[`${t}-small${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{paddingTop:0,display:"flex",alignItems:"center"}}}}},hG=e=>({headerBg:"transparent",headerFontSize:e.fontSizeLG,headerFontSizeSM:e.fontSize,headerHeight:e.fontSizeLG*e.lineHeightLG+e.padding*2,headerHeightSM:e.fontSize*e.lineHeight+e.paddingXS*2,actionsBg:e.colorBgContainer,actionsLiMargin:`${e.paddingSM}px 0`,tabsMarginBottom:-e.padding-e.lineWidth,extraColor:e.colorText}),mG=En("Card",e=>{const t=Rt(e,{cardShadow:e.boxShadowCard,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardActionsIconSize:e.fontSize,cardPaddingSM:12});return[pG(t),vG(t)]},hG);var Mw=globalThis&&globalThis.__rest||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 o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const gG=e=>{const{actionClasses:t,actions:n=[],actionStyle:r}=e;return C("ul",{className:t,style:r,children:n.map((o,a)=>{const i=`action-${a}`;return C("li",{style:{width:`${100/n.length}%`},children:C("span",{children:o})},i)})})},yG=m.exports.forwardRef((e,t)=>{const{prefixCls:n,className:r,rootClassName:o,style:a,extra:i,headStyle:s={},bodyStyle:l={},title:c,loadin
Line truncated
|
|
||||||
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;
|
|
||||||
`,KG=["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"],am={},Ir;function qG(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&am[n])return am[n];var r=window.getComputedStyle(e),o=r.getPropertyValue("box-sizing")||r.getPropertyValue("-moz-box-sizing")||r.getPropertyValue("-webkit-box-sizing"),a=parseFloat(r.getPropertyValue("padding-bottom"))+parseFloat(r.getPropertyValue("padding-top")),i=parseFloat(r.getPropertyValue("border-bottom-width"))+parseFloat(r.getPropertyValue("border-top-width")),s=KG.map(function(c){return"".concat(c,":").concat(r.getPropertyValue(c))}).join(";"),l={sizingStyle:s,paddingSize:a,borderSize:i,boxSizing:o};return t&&n&&(am[n]=l),l}function XG(e){var 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;Ir||(Ir=document.createElement("textarea"),Ir.setAttribute("tab-index","-1"),Ir.setAttribute("aria-hidden","true"),document.body.appendChild(Ir)),e.getAttribute("wrap")?Ir.setAttribute("wrap",e.getAttribute("wrap")):Ir.removeAttribute("wrap");var o=qG(e,t),a=o.paddingSize,i=o.borderSize,s=o.boxSizing,l=o.sizingStyle;Ir.setAttribute("style","".concat(l,";").concat(YG)),Ir.value=e.value||e.placeholder||"";var c=void 0,u=void 0,d,f=Ir.scrollHeight;if(s==="border-box"?f+=i:s==="content-box"&&(f-=a),n!==null||r!==null){Ir.value=" ";var p=Ir.scrollHeight-a;n!==null&&(c=p*n,s==="border-box"&&(c=c+a+i),f=Math.max(c,f)),r!==null&&(u=p*r,s==="border-box"&&(u=u+a+i),d=f>u?"":"hidden",f=Math.min(u,f))}var h={height:f,overflowY:d,resize:"none"};return c&&(h.minHeight=c),u&&(h.maxHeight=u),h}var QG=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],im=0,sm=1,lm=2,ZG=m.exports.forwardRef(function(e,t){var n=e,r=n.prefixCls;n.onPressEnter;var o=n.defaultValue,a=n.value,i=n.autoSize,s=n.onResize,l=n.className,c=n.style,u=n.disabled,d=n.onChange;n.onInternalAutoSize;var f=nt(n,QG),p=Wt(o,{value:a,postState:function(W){return W!=null?W:""}}),h=Z(p,2),v=h[0],y=h[1],g=function(W){y(W.target.value),d==null||d(W)},b=m.exports.useRef();m.exports.useImperativeHandle(t,function(){return{textArea:b.current}});var S=m.exports.useMemo(function(){return i&&et(i)==="object"?[i.minRows,i.maxRows]:[]},[i]),x=Z(S,2),w=x[0],E=x[1],$=!!i,R=function(){try{if(document.activeElement===b.current){var W=b.current,G=W.selectionStart,K=W.selectionEnd,z=W.scrollTop;b.current.setSelectionRange(G,K),b.current.scrollTop=z}}catch{}},I=m.exports.useState(lm),T=Z(I,2),P=T[0],F=T[1],j=m.exports.useState(),N=Z(j,2),k=N[0],D=N[1],M=function(){F(im)};Lt(function(){$&&M()},[a,w,E,$]),Lt(function(){if(P===im)F(sm);else if(P===sm){var B=XG(b.current,!1,w,E);F(lm),D(B)}else R()},[P]);var O=m.exports.useRef(),L=function(){$t.cancel(O.current)},A=function(W){P===lm&&(s==null||s(W),i&&(L(),O.current=$t(function(){M()})))};m.exports.useEffect(function(){return L},[]);var H=$?k:null,_=Q(Q({},c),H);return(P===im||P===sm)&&(_.overflowY="hidden",_.overflowX="hidden"),C(Lr,{onResize:A,disabled:!(i||s),children:C("textarea",{...f,ref:b,style:_,className:oe(r,l,U({},"".concat(r,"-disabled"),u)),disabled:u,value:v,onChange:g})})}),JG=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize"],eY=Re.forwardRef(function(e,t){var n,r,o=e.defaultValue,a=e.value,i=e.onFocus,s=e.onBlur,l=e.onChange,c=e.allowClear,u=e.maxLength,d=e.onCompositionStart,f=e.onCompositionEnd,p=e.suffix,h=e.prefixCls,v=h===void 0?"rc-textarea":h,y=e.showCount,g=e.count,b=e.className,S=e.style,x=e.disabled,w=e.hidden,E=e.classNames,$=e.styles,R=e.onResize,I=nt(e,JG),T=Wt(o,{value:a,defaultValue:o}),P=Z(T,2),F=P[0],j=P[1],N=F==null?"":String(F),k=Re.useState(!1),D=Z(k,2),M=D[0],O=D[1],L=Re.useRef(!1),A=Re.useState(null),H=Z(A,2),_=H[0],B=H[1],W=m.exports.useRef(null),G=function(){var me;return(me=W.current)===null||me===void 0?void 0:me.textArea},K=function(){G().focus()};m.exports.useImperativeHandle(t,function(){return{resizableTextArea:W.current,focus:K,blur:function(){G().blur()}}}),m.exports.useEffect(function(){O(function($e){return!x&&$e})},[x]);var z=Re.useState(null),V=Z(z,2),X=V[0],Y=V[1];Re.useEffect(function(){if(X){var $e;($e=G()).setSelectionRange.apply($e,Pe(X))}},[X]);var q=NP(g,y),ee=(n=q.max)!==null&&n!==void 0?n:u,ae=Number(ee)>0,J=q.strategy(N),re=!!ee&&J>ee,ue=function(me,Ae){var Ce=Ae;!L.current&&q.exceedFormatter&&q.max&&q.strategy(Ae)>q.max&&(Ce=q.exceedFormatter(Ae,{
Line truncated
|
|
||||||
`).forEach(function(i){o=i.indexOf(":"),n=i.substring(0,o).trim().toLowerCase(),r=i.substring(o+1).trim(),!(!n||t[n]&&Qq[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Hw=Symbol("internals");function _l(e){return e&&String(e).trim().toLowerCase()}function Kd(e){return e===!1||e==null?e:se.isArray(e)?e.map(Kd):String(e)}function Jq(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const eX=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function dm(e,t,n,r,o){if(se.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!se.isString(t)){if(se.isString(r))return t.indexOf(r)!==-1;if(se.isRegExp(r))return r.test(t)}}function tX(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function nX(e,t){const n=se.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(o,a,i){return this[r].call(this,t,o,a,i)},configurable:!0})})}class Cv{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function a(s,l,c){const u=_l(l);if(!u)throw new Error("header name must be a non-empty string");const d=se.findKey(o,u);(!d||o[d]===void 0||c===!0||c===void 0&&o[d]!==!1)&&(o[d||l]=Kd(s))}const i=(s,l)=>se.forEach(s,(c,u)=>a(c,u,l));if(se.isPlainObject(t)||t instanceof this.constructor)i(t,n);else if(se.isString(t)&&(t=t.trim())&&!eX(t))i(Zq(t),n);else if(se.isHeaders(t))for(const[s,l]of t.entries())a(l,s,r);else t!=null&&a(n,t,r);return this}get(t,n){if(t=_l(t),t){const r=se.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return Jq(o);if(se.isFunction(n))return n.call(this,o,r);if(se.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=_l(t),t){const r=se.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||dm(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function a(i){if(i=_l(i),i){const s=se.findKey(r,i);s&&(!n||dm(r,r[s],s,n))&&(delete r[s],o=!0)}}return se.isArray(t)?t.forEach(a):a(t),o}clear(t){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const a=n[r];(!t||dm(this,this[a],a,t,!0))&&(delete this[a],o=!0)}return o}normalize(t){const n=this,r={};return se.forEach(this,(o,a)=>{const i=se.findKey(r,a);if(i){n[i]=Kd(o),delete n[a];return}const s=t?tX(a):String(a).trim();s!==a&&delete n[a],n[s]=Kd(o),r[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return se.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=t&&se.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
|
|
||||||
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(o=>r.set(o)),r}static accessor(t){const r=(this[Hw]=this[Hw]={accessors:{}}).accessors,o=this.prototype;function a(i){const s=_l(i);r[s]||(nX(o,i),r[s]=!0)}return se.isArray(t)?t.forEach(a):a(t),this}}Cv.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);se.reduceDescriptors(Cv.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});se.freezeMethods(Cv);const so=Cv;function fm(e,t){const n=this||Rb,r=t||n,o=so.from(r.headers);let a=r.data;return se.forEach(e,function(s){a=s.call(n,a,o.normalize(),t?t.status:void 0)}),o.normalize(),a}function uI(e){return!!(e&&e.__CANCEL__)}function fl(e,t,n){ut.call(this,e==null?"canceled":e,ut.ERR_CANCELED,t,n),this.name="CanceledError"}se.inherits(fl,ut,{__CANCEL__:!0});function dI(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new ut("Request failed with status code "+n.status,[ut.ERR_BAD_REQUEST,ut.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function rX(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function oX(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,a=0,i;return t=t!==void 0?t:1e3,function(l){const c=Date.now(),u=r[a];i||(i=c),n[o]=l,r[o]=c;let d=a,f=0;for(;d!==o;)f+=n[d++],d=d%e;if(o=(o+1)%e,o===a&&(a=(a+1)%e),c-i<t)return;const p=u&&c-u;return p?Math.round(f*1e3/p):void 0}}function aX(e,t){let n=0,r=1e3/t,o,a;const i=(c,u=Date.now())=>{n=u,o=null,a&&(clearTimeout(a),a=null),e.apply(null,c)};return[(...c)=>{const u=Date.now(),d=u-n;d>=r?i(c,u):(o=c,a||(a=setTimeout(()=>{a=null,i(o)},r-d)))},()=>o&&i(o)]}const Qf=(e,t,n=3)=>{let r=0;const o=oX(50,250);return aX(a=>{const i=a.loaded,s=a.lengthComputable?a.total:void 0,l=i-r,c=o(l),u=i<=s;r=i;const d={loaded:i,total:s,progress:s?i/s:void 0,bytes:l,rate:c||void 0,estimated:c&&s&&u?(s-i)/c:void 0,event:a,lengthComputable:s!=null,[t?"download":"upload"]:!0};e(d)},n)},Vw=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Ww=e=>(...t)=>se.asap(()=>e(...t)),iX=sr.hasStandardBrowserEnv?function(){const t=sr.navigator&&/(msie|trident)/i.test(sr.navigator.userAgent),n=document.createElement("a");let r;function o(a){let i=a;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=o(window.location.href),function(i){const s=se.isString(i)?o(i):i;return s.protocol===r.protocol&&s.host===r.host}}():function(){return function(){return!0}}(),sX=sr.hasStandardBrowserEnv?{write(e,t,n,r,o,a){const i=[e+"="+encodeURIComponent(t)];se.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),se.isString(r)&&i.push("path="+r),se.isString(o)&&i.push("domain="+o),a===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function lX(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function cX(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function fI(e,t){return e&&!lX(t)?cX(e,t):t}const Uw=e=>e instanceof so?{...e}:e;function Pi(e,t){t=t||{};const n={};function r(c,u,d){return se.isPlainObject(c)&&se.isPlainObject(u)?se.merge.call({caseless:d},c,u):se.isPlainObject(u)?se.merge({},u):se.isArray(u)?u.slice():u}function o(c,u,d){if(se.isUndefined(u)){if(!se.isUndefined(c))return r(void 0,c,d)}else return r(c,u,d)}function a(c,u){if(!se.isUndefined(u))return r(void 0,u)}function i(c,u){if(se.isUndefined(u)){if(!se.isUndefined(c))return r(void 0,c)}else return r(void 0,u)}function s(c,u,d){if(d in t)return r(c,u);if(d in e)return r(void 0,c)}const l={url:a,method:a,data:a,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:s,headers:(c,u)=>o(Uw(c),Uw(u),!0)};return se.forEach(Object.keys(Object.assign({},e,t)),function(u){const d=l[u]||o,f=d(e[u],t[u],u);se.isUndefined(f)&&d!==s||(n[u]=f)}),n}const pI=e=>{const t=Pi({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:a,headers:i,auth:s}=t;t.headers=i=so.from(i),t.url=sI(fI(t.baseURL,t.url),e.params,e.paramsSerializer),s&&i.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unesca
Line truncated
|
|
||||||
`+a.map(Kw).join(`
|
|
||||||
`):" "+Kw(a[0]):"as no adapter specified";throw new ut("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return r},adapters:ny};function pm(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new fl(null,e)}function qw(e){return pm(e),e.headers=so.from(e.headers),e.data=fm.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),mI.getAdapter(e.adapter||Rb.adapter)(e).then(function(r){return pm(e),r.data=fm.call(e,e.transformResponse,r),r.headers=so.from(r.headers),r},function(r){return uI(r)||(pm(e),r&&r.response&&(r.response.data=fm.call(e,e.transformResponse,r.response),r.response.headers=so.from(r.response.headers))),Promise.reject(r)})}const gI="1.7.7",Pb={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Pb[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Xw={};Pb.transitional=function(t,n,r){function o(a,i){return"[Axios v"+gI+"] Transitional option '"+a+"'"+i+(r?". "+r:"")}return(a,i,s)=>{if(t===!1)throw new ut(o(i," has been removed"+(n?" in "+n:"")),ut.ERR_DEPRECATED);return n&&!Xw[i]&&(Xw[i]=!0,console.warn(o(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(a,i,s):!0}};function wX(e,t,n){if(typeof e!="object")throw new ut("options must be an object",ut.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const a=r[o],i=t[a];if(i){const s=e[a],l=s===void 0||i(s,a,e);if(l!==!0)throw new ut("option "+a+" must be "+l,ut.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new ut("Unknown option "+a,ut.ERR_BAD_OPTION)}}const ry={assertOptions:wX,validators:Pb},sa=ry.validators;class Jf{constructor(t){this.defaults=t,this.interceptors={request:new zw,response:new zw}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let o;Error.captureStackTrace?Error.captureStackTrace(o={}):o=new Error;const a=o.stack?o.stack.replace(/^.+\n/,""):"";try{r.stack?a&&!String(r.stack).endsWith(a.replace(/^.+\n.+\n/,""))&&(r.stack+=`
|
|
||||||
`+a):r.stack=a}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Pi(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:a}=n;r!==void 0&&ry.assertOptions(r,{silentJSONParsing:sa.transitional(sa.boolean),forcedJSONParsing:sa.transitional(sa.boolean),clarifyTimeoutError:sa.transitional(sa.boolean)},!1),o!=null&&(se.isFunction(o)?n.paramsSerializer={serialize:o}:ry.assertOptions(o,{encode:sa.function,serialize:sa.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=a&&se.merge(a.common,a[n.method]);a&&se.forEach(["delete","get","head","post","put","patch","common"],h=>{delete a[h]}),n.headers=so.concat(i,a);const s=[];let l=!0;this.interceptors.request.forEach(function(v){typeof v.runWhen=="function"&&v.runWhen(n)===!1||(l=l&&v.synchronous,s.unshift(v.fulfilled,v.rejected))});const c=[];this.interceptors.response.forEach(function(v){c.push(v.fulfilled,v.rejected)});let u,d=0,f;if(!l){const h=[qw.bind(this),void 0];for(h.unshift.apply(h,s),h.push.apply(h,c),f=h.length,u=Promise.resolve(n);d<f;)u=u.then(h[d++],h[d++]);return u}f=s.length;let p=n;for(d=0;d<f;){const h=s[d++],v=s[d++];try{p=h(p)}catch(y){v.call(this,y);break}}try{u=qw.call(this,p)}catch(h){return Promise.reject(h)}for(d=0,f=c.length;d<f;)u=u.then(c[d++],c[d++]);return u}getUri(t){t=Pi(this.defaults,t);const n=fI(t.baseURL,t.url);return sI(n,t.params,t.paramsSerializer)}}se.forEach(["delete","get","head","options"],function(t){Jf.prototype[t]=function(n,r){return this.request(Pi(r||{},{method:t,url:n,data:(r||{}).data}))}});se.forEach(["post","put","patch"],function(t){function n(r){return function(a,i,s){return this.request(Pi(s||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:a,data:i}))}}Jf.prototype[t]=n(),Jf.prototype[t+"Form"]=n(!0)});const qd=Jf;class Ib{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(a){n=a});const r=this;this.promise.then(o=>{if(!r._listeners)return;let a=r._listeners.length;for(;a-- >0;)r._listeners[a](o);r._listeners=null}),this.promise.then=o=>{let a;const i=new Promise(s=>{r.subscribe(s),a=s}).then(o);return i.cancel=function(){r.unsubscribe(a)},i},t(function(a,i,s){r.reason||(r.reason=new fl(a,i,s),n(r.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 n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new Ib(function(o){t=o}),cancel:t}}}const $X=Ib;function EX(e){return function(n){return e.apply(null,n)}}function OX(e){return se.isObject(e)&&e.isAxiosError===!0}const oy={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(oy).forEach(([e,t])=>{oy[t]=e});const MX=oy;function yI(e){const t=new qd(e),n=qP(qd.prototype.request,t);return se.extend(n,qd.prototype,t,{allOwnKeys:!0}),se.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return yI(Pi(e,o))},n}const dn=yI(Rb);dn.Axios=qd;dn.CanceledError=fl;dn.CancelToken=$X;dn.isCancel=uI;dn.VERSION=gI;dn.toFormData=Sv;dn.AxiosError=ut;dn.Cancel=dn.CanceledError;dn.all=function(t){return Promise.all(t)};dn.spread=EX;dn.isAxiosError=OX;dn.mergeConfig=Pi;dn.AxiosHeaders=so;dn.formToJSON=e=>cI(se.isHTMLForm(e)?new FormData(e):e);dn.getAdapter=mI.getAdapter;dn.HttpStatusCode=MX;dn.default=dn;const RX=dn;const Ji={INIT:"normal",START:"active",END:"success",ERROR:"exception"};function PX({info:e,appVersion:t,clickCheckUpdate:n,syncSpin:r}){const[o,a]=m.exports.useState({});return m.exports.useEffect(()=>{a({PID:e.PI
Line truncated
|
|
||||||
\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`,pre=on,vre=Cu,hre=Li,fy=lT,n$=pre("".replace),mre=RegExp("^["+fy+"]+"),gre=RegExp("(^|[^"+fy+"])["+fy+"]+$"),Bm=function(e){return function(t){var n=hre(vre(t));return e&1&&(n=n$(n,mre,"")),e&2&&(n=n$(n,gre,"$1")),n}},yre={start:Bm(1),end:Bm(2),trim:Bm(3)},cT=Qn,bre=rn,Sre=on,Cre=Li,xre=yre.trim,wre=lT,$re=Sre("".charAt),np=cT.parseFloat,r$=cT.Symbol,o$=r$&&r$.iterator,Ere=1/np(wre+"-0")!==-1/0||o$&&!bre(function(){np(Object(o$))}),Ore=Ere?function(t){var n=xre(Cre(t)),r=np(n);return r===0&&$re(n,0)==="-"?-0:r}:np,Mre=gn,a$=Ore;Mre({global:!0,forced:parseFloat!==a$},{parseFloat:a$});var Rre=ur,Pre=Rre.parseFloat,Ire=Pre,Tre=Ire;const Nre=Tre;var Are=function(){var e;return!!(typeof window<"u"&&window!==null&&(e="(-webkit-min-device-pixel-ratio: 1.25), (min--moz-device-pixel-ratio: 1.25), (-o-min-device-pixel-ratio: 5/4), (min-resolution: 1.25dppx)",window.devicePixelRatio>1.25||window.matchMedia&&window.matchMedia(e).matches))},_re=Are(),uT=["#A62A21","#7e3794","#0B51C1","#3A6024","#A81563","#B3003C"],Dre=/^([-+]?(?:\d+(?:\.\d+)?|\.\d+))([a-z]{2,4}|%)?$/;function Fre(e,t){for(var n,r=iT(n=Pe(e)).call(n,function(c){return c.charCodeAt(0)}),o=r.length,a=o%(t-1)+1,i=sT(r).call(r,function(c,u){return c+u})%t,s=r[0]%t,l=0;l<o;l++)s=(a*s+i)%t;return s}function Ub(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:uT;if(!e)return"transparent";var n=Fre(e,t.length);return t[n]}function Bv(e){e=""+e;var t=Dre.exec(e)||[],n=Z(t,3),r=n[1],o=r===void 0?0:r,a=n[2],i=a===void 0?"px":a;return{value:Nre(o),str:o+i,unit:i}}function jv(e){return e=Bv(e),isNaN(e.value)?e=512:e.unit==="px"?e=e.value:e.value===0?e=0:e=512,_re&&(e=e*2),e}function dT(e,t){var n,r,o,a=t.maxInitials;return XI(n=Lv(r=iT(o=e.split(/\s/)).call(o,function(i){return i.substring(0,1).toUpperCase()})).call(r,function(i){return!!i})).call(n,0,a).join("").toUpperCase()}var Cd={};function Lre(e,t){if(Cd[t]){Cd[t].push(e);return}var n=Cd[t]=[e];setTimeout(function(){delete Cd[t],n.forEach(function(r){return r()})},t)}function py(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];for(var r=0,o=t;r<o.length;r++){var a=o[r];if(a||a==="")return a;if(a===!1||a===null)return null}}function Gb(e){if(e===!0)return"100%";if(e!==!1)return e}function kre(e){var t=Bre();return function(){var r=$n(e),o;if(t){var a=$n(this).constructor;o=un(r,arguments,a)}else o=r.apply(this,arguments);return Va(this,o)}}function Bre(){if(typeof Reflect>"u"||!un||un.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(un(Boolean,[],function(){})),!0}catch{return!1}}var vy={cache:Fte,colors:uT,initials:dT,avatarRedirectUrl:null},jre=Wb(vy),Yb=Re.createContext&&Re.createContext(),zv=!Yb,zre=zv?null:Yb.Consumer,Hre=Re.forwardRef||function(e){return e},ka=function(e){Vr(n,e);var t=kre(n);function n(){return Pt(this,n),t.apply(this,arguments)}return It(n,[{key:"_getContext",value:function(){var o=this,a={};return jre.forEach(function(i){typeof o.props[i]<"u"&&(a[i]=o.props[i])}),a}},{key:"render",value:function(){var o=this.props.children;return zv?Re.Children.only(o):C(Yb.Provider,{value:this._getContext(),children:Re.Children.only(o)})}}]),n}(Re.Component);U(ka,"displayName","ConfigProvider");U(ka,"propTypes",{cache:Me.exports.object,colors:Me.exports.arrayOf(Me.exports.string),initials:Me.exports.func,avatarRedirectUrl:Me.exports.string,children:Me.exports.node});var fT=function(t){function n(r,o){if(zv){var a=o&&o.reactAvatar;return C(t,{...vy,...a,...r})}return C(zre,{children:function(i){return C(t,{ref:o,...vy,...i,...r})}})}return n.contextTypes=ka.childContextTypes,Hre(n)};zv&&(ka.childContextTypes={reactAvatar:Me.exports.object},ka.prototype.getChildContext=function(){return{reactAvatar:this._getContext()}});var Hv={},Vre=LI,Wre=Db,Ure=Wre.concat("length","prototype");Hv.f=Object.getOwnPropertyNames||function(t){return Vre(t,Ure)};var pT={},Gre=Ga,Yre=Qo,vT=Hv.f,Kre=_v,hT=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],qre=function(e){try{return vT(e)}catch{return Kre(hT)}};pT.f=function(t){return hT&&Gre(t)==="Window"?qre(t):vT(Yre(t))};var Xre=Tv,mT=function(e,t,n,r){return r&&r.enumerable?e[t]=n:Xre(e,t,n),e},Qre=Zo,Zre=function(e,t,n){return Qre.f(e,t,n)},Kb={},Jre=go;Kb.f=Jre;var i$=ur,eoe=mo,toe=Kb,noe=Zo.f,roe=function(e){var t=i$.Symbol||(i$.Symbol={});eoe(t,e)||noe(t,e,{value:toe.f(e)})},ooe=Ya,aoe=Ka,ioe=go,soe=mT,loe=function(){var e=aoe("Symbol"),t=e&&e.prototype,n=t&&t.valueOf,r=ioe("toPrimitive");t&&!t[r]&&soe(t,r,function(o){return ooe(n,this)},{arity:1})},coe=Fb,uoe=Lb,doe=coe?{}.toString:function(){return"[object "+uoe(this)+"]"},foe=Fb,poe=Zo.f,voe=Tv,hoe=mo,moe=doe,goe=go,s$=goe("toStringTag"),yoe=function(e,t,n,r){var o=n?e:e&&e.prototype;o&&(hoe(o,s$)||poe(o,s$,{configurable:!0,value:t}),r&&!foe&&voe(o,"toString",moe))},
Line truncated
|
|
||||||
* Determine if an object is a Buffer
|
|
||||||
*
|
|
||||||
* @author Feross Aboukhadijeh <https://feross.org>
|
|
||||||
* @license MIT
|
|
||||||
*/var Bie=function(e){return e!=null&&(KT(e)||jie(e)||!!e._isBuffer)};function KT(e){return!!e.constructor&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function jie(e){return typeof e.readFloatLE=="function"&&typeof e.slice=="function"&&KT(e.slice(0,0))}(function(){var e=YT.exports,t=b$.utf8,n=Bie,r=b$.bin,o=function(a,i){a.constructor==String?i&&i.encoding==="binary"?a=r.stringToBytes(a):a=t.stringToBytes(a):n(a)?a=Array.prototype.slice.call(a,0):!Array.isArray(a)&&a.constructor!==Uint8Array&&(a=a.toString());for(var s=e.bytesToWords(a),l=a.length*8,c=1732584193,u=-271733879,d=-1732584194,f=271733878,p=0;p<s.length;p++)s[p]=(s[p]<<8|s[p]>>>24)&16711935|(s[p]<<24|s[p]>>>8)&4278255360;s[l>>>5]|=128<<l%32,s[(l+64>>>9<<4)+14]=l;for(var h=o._ff,v=o._gg,y=o._hh,g=o._ii,p=0;p<s.length;p+=16){var b=c,S=u,x=d,w=f;c=h(c,u,d,f,s[p+0],7,-680876936),f=h(f,c,u,d,s[p+1],12,-389564586),d=h(d,f,c,u,s[p+2],17,606105819),u=h(u,d,f,c,s[p+3],22,-1044525330),c=h(c,u,d,f,s[p+4],7,-176418897),f=h(f,c,u,d,s[p+5],12,1200080426),d=h(d,f,c,u,s[p+6],17,-1473231341),u=h(u,d,f,c,s[p+7],22,-45705983),c=h(c,u,d,f,s[p+8],7,1770035416),f=h(f,c,u,d,s[p+9],12,-1958414417),d=h(d,f,c,u,s[p+10],17,-42063),u=h(u,d,f,c,s[p+11],22,-1990404162),c=h(c,u,d,f,s[p+12],7,1804603682),f=h(f,c,u,d,s[p+13],12,-40341101),d=h(d,f,c,u,s[p+14],17,-1502002290),u=h(u,d,f,c,s[p+15],22,1236535329),c=v(c,u,d,f,s[p+1],5,-165796510),f=v(f,c,u,d,s[p+6],9,-1069501632),d=v(d,f,c,u,s[p+11],14,643717713),u=v(u,d,f,c,s[p+0],20,-373897302),c=v(c,u,d,f,s[p+5],5,-701558691),f=v(f,c,u,d,s[p+10],9,38016083),d=v(d,f,c,u,s[p+15],14,-660478335),u=v(u,d,f,c,s[p+4],20,-405537848),c=v(c,u,d,f,s[p+9],5,568446438),f=v(f,c,u,d,s[p+14],9,-1019803690),d=v(d,f,c,u,s[p+3],14,-187363961),u=v(u,d,f,c,s[p+8],20,1163531501),c=v(c,u,d,f,s[p+13],5,-1444681467),f=v(f,c,u,d,s[p+2],9,-51403784),d=v(d,f,c,u,s[p+7],14,1735328473),u=v(u,d,f,c,s[p+12],20,-1926607734),c=y(c,u,d,f,s[p+5],4,-378558),f=y(f,c,u,d,s[p+8],11,-2022574463),d=y(d,f,c,u,s[p+11],16,1839030562),u=y(u,d,f,c,s[p+14],23,-35309556),c=y(c,u,d,f,s[p+1],4,-1530992060),f=y(f,c,u,d,s[p+4],11,1272893353),d=y(d,f,c,u,s[p+7],16,-155497632),u=y(u,d,f,c,s[p+10],23,-1094730640),c=y(c,u,d,f,s[p+13],4,681279174),f=y(f,c,u,d,s[p+0],11,-358537222),d=y(d,f,c,u,s[p+3],16,-722521979),u=y(u,d,f,c,s[p+6],23,76029189),c=y(c,u,d,f,s[p+9],4,-640364487),f=y(f,c,u,d,s[p+12],11,-421815835),d=y(d,f,c,u,s[p+15],16,530742520),u=y(u,d,f,c,s[p+2],23,-995338651),c=g(c,u,d,f,s[p+0],6,-198630844),f=g(f,c,u,d,s[p+7],10,1126891415),d=g(d,f,c,u,s[p+14],15,-1416354905),u=g(u,d,f,c,s[p+5],21,-57434055),c=g(c,u,d,f,s[p+12],6,1700485571),f=g(f,c,u,d,s[p+3],10,-1894986606),d=g(d,f,c,u,s[p+10],15,-1051523),u=g(u,d,f,c,s[p+1],21,-2054922799),c=g(c,u,d,f,s[p+8],6,1873313359),f=g(f,c,u,d,s[p+15],10,-30611744),d=g(d,f,c,u,s[p+6],15,-1560198380),u=g(u,d,f,c,s[p+13],21,1309151649),c=g(c,u,d,f,s[p+4],6,-145523070),f=g(f,c,u,d,s[p+11],10,-1120210379),d=g(d,f,c,u,s[p+2],15,718787259),u=g(u,d,f,c,s[p+9],21,-343485551),c=c+b>>>0,u=u+S>>>0,d=d+x>>>0,f=f+w>>>0}return e.endian([c,u,d,f])};o._ff=function(a,i,s,l,c,u,d){var f=a+(i&s|~i&l)+(c>>>0)+d;return(f<<u|f>>>32-u)+i},o._gg=function(a,i,s,l,c,u,d){var f=a+(i&l|s&~l)+(c>>>0)+d;return(f<<u|f>>>32-u)+i},o._hh=function(a,i,s,l,c,u,d){var f=a+(i^s^l)+(c>>>0)+d;return(f<<u|f>>>32-u)+i},o._ii=function(a,i,s,l,c,u,d){var f=a+(s^(i|~l))+(c>>>0)+d;return(f<<u|f>>>32-u)+i},o._blocksize=16,o._digestsize=16,GT.exports=function(a,i){if(a==null)throw new Error("Illegal argument "+a);var s=e.wordsToBytes(o(a,i));return i&&i.asBytes?s:i&&i.asString?r.bytesToString(s):e.bytesToHex(s)}})();var qT=It(function e(t){var n=this;Pt(this,e),U(this,"props",null),U(this,"isCompatible",function(){return!!n.props.email||!!n.props.md5Email}),U(this,"get",function(r){var o=n.props,a=o.md5Email||GT.exports(o.email),i=jv(o.size),s="https://secure.gravatar.com/avatar/".concat(a,"?d=404");i&&(s+="&s=".concat(i)),r({sourceName:"gravatar",src:s})}),this.props=t});U(qT,"propTypes",{email:Me.exports.string,md5Email:Me.exports.string});var XT=It(function e(t){var n=this;Pt(this,e),U(this,"props",null),U(this,"isCompatible",function(){return!!n.props.facebookId}),U(this,"get",function(r){var o,a=n.props.facebookId,i=jv(n.props.size),s="https://graph.facebook.com/".concat(a,"/picture");i&&(s+=fc(o="?width=".concat(i,"&height=")).call(o,i)),r({sourceName:"facebook",src:s})}),this.props=t});U(XT,"propTypes",{facebookId:Me.exports.string});var QT=It(function e(t){var n=this;Pt(this,e),U(this,"props",null),U(this,"isCompatible",function(){return!!n.props.githubHandle}),U(this,"get",function(r){var o=n.props.githubHandle,a=jv(n.props.size),i="https://avatars.githubusercontent.com/".concat(o,"?v=4");a&&(i+="&s=".concat(a)),r({sourceName:"github",src:i})}),this.props=t});U(QT,"propTypes",{githubHandle:Me.exports.string});var ZT=It(function e(t){var n=this;Pt(this,e),U(this,"props",null),U(this,"isCompatible",function(){return!!n.props.skypeId}),U(this,"get",funct
Line truncated
|
|
||||||
object-assign
|
|
||||||
(c) Sindre Sorhus
|
|
||||||
@license MIT
|
|
||||||
*/var a=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable;function l(u){if(u==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(u)}function c(){try{if(!Object.assign)return!1;var u=new String("abc");if(u[5]="de",Object.getOwnPropertyNames(u)[0]==="5")return!1;for(var d={},f=0;f<10;f++)d["_"+String.fromCharCode(f)]=f;var p=Object.getOwnPropertyNames(d).map(function(v){return d[v]});if(p.join("")!=="0123456789")return!1;var h={};return"abcdefghijklmnopqrst".split("").forEach(function(v){h[v]=v}),Object.keys(Object.assign({},h)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}n.exports=c()?Object.assign:function(u,d){for(var f,p=l(u),h,v=1;v<arguments.length;v++){f=Object(arguments[v]);for(var y in f)i.call(f,y)&&(p[y]=f[y]);if(a){h=a(f);for(var g=0;g<h.length;g++)s.call(f,h[g])&&(p[h[g]]=f[h[g]])}}return p}},function(n,r,o){var a=o(1),i=a;n.exports=i},function(n,r,o){var a="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";n.exports=a},function(n,r,o){var a={};n.exports=a},function(n,r,o){function a(i,s,l,c,u){}n.exports=a},function(n,r,o){Object.defineProperty(r,"__esModule",{value:!0});var a=Object.assign||function(x){for(var w=1;w<arguments.length;w++){var E=arguments[w];for(var $ in E)Object.prototype.hasOwnProperty.call(E,$)&&(x[$]=E[$])}return x},i=function(){function x(w,E){for(var $=0;$<E.length;$++){var R=E[$];R.enumerable=R.enumerable||!1,R.configurable=!0,"value"in R&&(R.writable=!0),Object.defineProperty(w,R.key,R)}}return function(w,E,$){return E&&x(w.prototype,E),$&&x(w,$),w}}(),s=o(8),l=h(s),c=o(11),u=h(c),d=o(14),f=p(d);function p(x){if(x&&x.__esModule)return x;var w={};if(x!=null)for(var E in x)Object.prototype.hasOwnProperty.call(x,E)&&(w[E]=x[E]);return w.default=x,w}function h(x){return x&&x.__esModule?x:{default:x}}function v(x,w){var E={};for(var $ in x)w.indexOf($)>=0||!Object.prototype.hasOwnProperty.call(x,$)||(E[$]=x[$]);return E}function y(x,w){if(!(x instanceof w))throw new TypeError("Cannot call a class as a function")}function g(x,w){if(!x)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return w&&(typeof w=="object"||typeof w=="function")?w:x}function b(x,w){if(typeof w!="function"&&w!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof w);x.prototype=Object.create(w&&w.prototype,{constructor:{value:x,enumerable:!1,writable:!0,configurable:!0}}),w&&(Object.setPrototypeOf?Object.setPrototypeOf(x,w):x.__proto__=w)}var S=function(x){b(w,x);function w(){var E,$,R,I;y(this,w);for(var T=arguments.length,P=Array(T),F=0;F<T;F++)P[F]=arguments[F];return I=($=(R=g(this,(E=w.__proto__||Object.getPrototypeOf(w)).call.apply(E,[this].concat(P))),R),R.state={delayed:R.props.delay>0},$),g(R,I)}return i(w,[{key:"componentDidMount",value:function(){var $=this,R=this.props.delay,I=this.state.delayed;I&&(this.timeout=setTimeout(function(){$.setState({delayed:!1})},R))}},{key:"componentWillUnmount",value:function(){var $=this.timeout;$&&clearTimeout($)}},{key:"render",value:function(){var $=this.props,R=$.color;$.delay;var I=$.type,T=$.height,P=$.width,F=v($,["color","delay","type","height","width"]),j=this.state.delayed?"blank":I,N=f[j],k={fill:R,height:T,width:P};return l.default.createElement("div",a({style:k,dangerouslySetInnerHTML:{__html:N}},F))}}]),w}(s.Component);S.propTypes={color:u.default.string,delay:u.default.number,type:u.default.string,height:u.default.oneOfType([u.default.string,u.default.number]),width:u.default.oneOfType([u.default.string,u.default.number])},S.defaultProps={color:"#fff",delay:0,type:"balls",height:64,width:64},r.default=S},function(n,r,o){n.exports=o(9)},function(n,r,o){/** @license React v16.3.2
|
|
||||||
* react.production.min.js
|
|
||||||
*
|
|
||||||
* Copyright (c) 2013-present, Facebook, Inc.
|
|
||||||
*
|
|
||||||
* This source code is licensed under the MIT license found in the
|
|
||||||
* LICENSE file in the root directory of this source tree.
|
|
||||||
*/var a=o(2),i=o(0),s=o(5),l=o(1),c=typeof Symbol=="function"&&Symbol.for,u=c?Symbol.for("react.element"):60103,d=c?Symbol.for("react.portal"):60106,f=c?Symbol.for("react.fragment"):60107,p=c?Symbol.for("react.strict_mode"):60108,h=c?Symbol.for("react.provider"):60109,v=c?Symbol.for("react.context"):60110,y=c?Symbol.for("react.async_mode"):60111,g=c?Symbol.for("react.forward_ref"):60112,b=typeof Symbol=="function"&&Symbol.iterator;function S(z){for(var V=arguments.length-1,X="http://reactjs.org/docs/error-decoder.html?invariant="+z,Y=0;Y<V;Y++)X+="&args[]="+encodeURIComponent(arguments[Y+1]);i(!1,"Minified React error #"+z+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",X)}var x={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}};function w(z,V,X){this.props=z,this.context=V,this.refs=s,this.updater=X||x}w.prototype.isReactComponent={},w.prototype.setState=function(z,V){typeof z!="object"&&typeof z!="function"&&z!=null&&S("85"),this.updater.enqueueSetState(this,z,V,"setState")},w.prototype.forceUpdate=function(z){this.updater.enqueueForceUpdate(this,z,"forceUpdate")};function E(){}E.prototype=w.prototype;function $(z,V,X){this.props=z,this.context=V,this.refs=s,this.updater=X||x}var R=$.prototype=new E;R.constructor=$,a(R,w.prototype),R.isPureReactComponent=!0;var I={current:null},T=Object.prototype.hasOwnProperty,P={key:!0,ref:!0,__self:!0,__source:!0};function F(z,V,X){var Y=void 0,q={},ee=null,ae=null;if(V!=null)for(Y in V.ref!==void 0&&(ae=V.ref),V.key!==void 0&&(ee=""+V.key),V)T.call(V,Y)&&!P.hasOwnProperty(Y)&&(q[Y]=V[Y]);var J=arguments.length-2;if(J===1)q.children=X;else if(1<J){for(var re=Array(J),ue=0;ue<J;ue++)re[ue]=arguments[ue+2];q.children=re}if(z&&z.defaultProps)for(Y in J=z.defaultProps,J)q[Y]===void 0&&(q[Y]=J[Y]);return{$$typeof:u,type:z,key:ee,ref:ae,props:q,_owner:I.current}}function j(z){return typeof z=="object"&&z!==null&&z.$$typeof===u}function N(z){var V={"=":"=0",":":"=2"};return"$"+(""+z).replace(/[=:]/g,function(X){return V[X]})}var k=/\/+/g,D=[];function M(z,V,X,Y){if(D.length){var q=D.pop();return q.result=z,q.keyPrefix=V,q.func=X,q.context=Y,q.count=0,q}return{result:z,keyPrefix:V,func:X,context:Y,count:0}}function O(z){z.result=null,z.keyPrefix=null,z.func=null,z.context=null,z.count=0,10>D.length&&D.push(z)}function L(z,V,X,Y){var q=typeof z;(q==="undefined"||q==="boolean")&&(z=null);var ee=!1;if(z===null)ee=!0;else switch(q){case"string":case"number":ee=!0;break;case"object":switch(z.$$typeof){case u:case d:ee=!0}}if(ee)return X(Y,z,V===""?"."+A(z,0):V),1;if(ee=0,V=V===""?".":V+":",Array.isArray(z))for(var ae=0;ae<z.length;ae++){q=z[ae];var J=V+A(q,ae);ee+=L(q,J,X,Y)}else if(z===null||typeof z>"u"?J=null:(J=b&&z[b]||z["@@iterator"],J=typeof J=="function"?J:null),typeof J=="function")for(z=J.call(z),ae=0;!(q=z.next()).done;)q=q.value,J=V+A(q,ae++),ee+=L(q,J,X,Y);else q==="object"&&(X=""+z,S("31",X==="[object Object]"?"object with keys {"+Object.keys(z).join(", ")+"}":X,""));return ee}function A(z,V){return typeof z=="object"&&z!==null&&z.key!=null?N(z.key):V.toString(36)}function H(z,V){z.func.call(z.context,V,z.count++)}function _(z,V,X){var Y=z.result,q=z.keyPrefix;z=z.func.call(z.context,V,z.count++),Array.isArray(z)?B(z,Y,X,l.thatReturnsArgument):z!=null&&(j(z)&&(V=q+(!z.key||V&&V.key===z.key?"":(""+z.key).replace(k,"$&/")+"/")+X,z={$$typeof:u,type:z.type,key:V,ref:z.ref,props:z.props,_owner:z._owner}),Y.push(z))}function B(z,V,X,Y,q){var ee="";X!=null&&(ee=(""+X).replace(k,"$&/")+"/"),V=M(V,ee,Y,q),z==null||L(z,"",_,V),O(V)}var W={Children:{map:function(z,V,X){if(z==null)return z;var Y=[];return B(z,Y,null,V,X),Y},forEach:function(z,V,X){if(z==null)return z;V=M(null,null,V,X),z==null||L(z,"",H,V),O(V)},count:function(z){return z==null?0:L(z,"",l.thatReturnsNull,null)},toArray:function(z){var V=[];return B(z,V,null,l.thatReturnsArgument),V},only:function(z){return j(z)||S("143"),z}},createRef:function(){return{current:null}},Component:w,PureComponent:$,createContext:function(z,V){return V===void 0&&(V=null),z={$$typeof:v,_calculateChangedBits:V,_defaultValue:z,_currentValue:z,_changedBits:0,Provider:null,Consumer:null},z.Provider={$$typeof:h,_context:z},z.Consumer=z},forwardRef:function(z){return{$$typeof:g,render:z}},Fragment:f,StrictMode:p,unstable_AsyncMode:y,createElement:F,cloneElement:function(z,V,X){z==null&&S("267",z);var Y=void 0,q=a({},z.props),ee=z.key,ae=z.ref,J=z._owner;if(V!=null){V.ref!==void 0&&(ae=V.ref,J=I.current),V.key!==void 0&&(ee=""+V.key);var re=void 0;z.type&&z.type.defaultProps&&(re=z.type.defaultProps);for(Y in V)T.call(V,Y)&&!P.hasOwnProperty(Y)&&(q[Y]=V[Y]===void 0&&re!==void 0?re[Y]:V[Y])}if(Y=arguments.length-2,Y===1)q.children=X;else if(1<Y){re=Array(Y);for(var ue=0;ue<Y;ue++)re[ue]=arguments[ue+2];q.children=re}return{$$typeof:u,type:z.type,key:ee,ref:ae,props:q,_owner:J}},createFactory:Line truncated
|
|
||||||
Valid keys: `+JSON.stringify(Object.keys(_),null," "));var J=ae(X,ee,K,z,V+"."+ee,c);if(J)return J}return null}return x(B)}function D(_){switch(typeof _){case"number":case"string":case"undefined":return!0;case"boolean":return!_;case"object":if(Array.isArray(_))return _.every(D);if(_===null||d(_))return!0;var B=v(_);if(B){var W=B.call(_),G;if(B!==_.entries){for(;!(G=W.next()).done;)if(!D(G.value))return!1}else for(;!(G=W.next()).done;){var K=G.value;if(K&&!D(K[1]))return!1}}else return!1;return!0;default:return!1}}function M(_,B){return _==="symbol"||B["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&B instanceof Symbol}function O(_){var B=typeof _;return Array.isArray(_)?"array":_ instanceof RegExp?"object":M(B,_)?"symbol":B}function L(_){if(typeof _>"u"||_===null)return""+_;var B=O(_);if(B==="object"){if(_ instanceof Date)return"date";if(_ instanceof RegExp)return"regexp"}return B}function A(_){var B=L(_);switch(B){case"array":case"object":return"an "+B;case"boolean":case"date":case"regexp":return"a "+B;default:return B}}function H(_){return!_.constructor||!_.constructor.name?y:_.constructor.name}return g.checkPropTypes=u,g.PropTypes=g,g}},function(n,r,o){var a=o(1),i=o(0),s=o(4);n.exports=function(){function l(d,f,p,h,v,y){y!==s&&i(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}l.isRequired=l;function c(){return l}var u={array:l,bool:l,func:l,number:l,object:l,string:l,symbol:l,any:l,arrayOf:c,element:l,instanceOf:c,node:l,objectOf:c,oneOf:c,oneOfType:c,shape:c,exact:c};return u.checkPropTypes=a,u.PropTypes=u,u}},function(n,r,o){Object.defineProperty(r,"__esModule",{value:!0});var a=o(15);Object.defineProperty(r,"blank",{enumerable:!0,get:function(){return h(a).default}});var i=o(16);Object.defineProperty(r,"balls",{enumerable:!0,get:function(){return h(i).default}});var s=o(17);Object.defineProperty(r,"bars",{enumerable:!0,get:function(){return h(s).default}});var l=o(18);Object.defineProperty(r,"bubbles",{enumerable:!0,get:function(){return h(l).default}});var c=o(19);Object.defineProperty(r,"cubes",{enumerable:!0,get:function(){return h(c).default}});var u=o(20);Object.defineProperty(r,"cylon",{enumerable:!0,get:function(){return h(u).default}});var d=o(21);Object.defineProperty(r,"spin",{enumerable:!0,get:function(){return h(d).default}});var f=o(22);Object.defineProperty(r,"spinningBubbles",{enumerable:!0,get:function(){return h(f).default}});var p=o(23);Object.defineProperty(r,"spokes",{enumerable:!0,get:function(){return h(p).default}});function h(v){return v&&v.__esModule?v:{default:v}}},function(n,r){n.exports=`<svg class="icon-blank" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"></svg>
|
|
||||||
`},function(n,r){n.exports=`<svg class="icon-loading" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
|
||||||
<path transform="translate(-8 0)" d="M4 12 A4 4 0 0 0 4 20 A4 4 0 0 0 4 12">
|
|
||||||
<animateTransform attributeName="transform" type="translate" values="-8 0; 2 0; 2 0;" dur="0.8s" repeatCount="indefinite" begin="0" keytimes="0;.25;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline" />
|
|
||||||
</path>
|
|
||||||
<path transform="translate(2 0)" d="M4 12 A4 4 0 0 0 4 20 A4 4 0 0 0 4 12">
|
|
||||||
<animateTransform attributeName="transform" type="translate" values="2 0; 12 0; 12 0;" dur="0.8s" repeatCount="indefinite" begin="0" keytimes="0;.35;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline" />
|
|
||||||
</path>
|
|
||||||
<path transform="translate(12 0)" d="M4 12 A4 4 0 0 0 4 20 A4 4 0 0 0 4 12">
|
|
||||||
<animateTransform attributeName="transform" type="translate" values="12 0; 22 0; 22 0;" dur="0.8s" repeatCount="indefinite" begin="0" keytimes="0;.45;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline" />
|
|
||||||
</path>
|
|
||||||
<path transform="translate(24 0)" d="M4 12 A4 4 0 0 0 4 20 A4 4 0 0 0 4 12">
|
|
||||||
<animateTransform attributeName="transform" type="translate" values="22 0; 32 0; 32 0;" dur="0.8s" repeatCount="indefinite" begin="0" keytimes="0;.55;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline" />
|
|
||||||
</path>
|
|
||||||
</svg>
|
|
||||||
`},function(n,r){n.exports=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
|
||||||
<path transform="translate(2)" d="M0 12 V20 H4 V12z">
|
|
||||||
<animate attributeName="d" values="M0 12 V20 H4 V12z; M0 4 V28 H4 V4z; M0 12 V20 H4 V12z; M0 12 V20 H4 V12z" dur="1.2s" repeatCount="indefinite" begin="0" keytimes="0;.2;.5;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8;0.2 0.8 0.4 0.8" calcMode="spline" />
|
|
||||||
</path>
|
|
||||||
<path transform="translate(8)" d="M0 12 V20 H4 V12z">
|
|
||||||
<animate attributeName="d" values="M0 12 V20 H4 V12z; M0 4 V28 H4 V4z; M0 12 V20 H4 V12z; M0 12 V20 H4 V12z" dur="1.2s" repeatCount="indefinite" begin="0.2" keytimes="0;.2;.5;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8;0.2 0.8 0.4 0.8" calcMode="spline" />
|
|
||||||
</path>
|
|
||||||
<path transform="translate(14)" d="M0 12 V20 H4 V12z">
|
|
||||||
<animate attributeName="d" values="M0 12 V20 H4 V12z; M0 4 V28 H4 V4z; M0 12 V20 H4 V12z; M0 12 V20 H4 V12z" dur="1.2s" repeatCount="indefinite" begin="0.4" keytimes="0;.2;.5;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8;0.2 0.8 0.4 0.8" calcMode="spline" />
|
|
||||||
</path>
|
|
||||||
<path transform="translate(20)" d="M0 12 V20 H4 V12z">
|
|
||||||
<animate attributeName="d" values="M0 12 V20 H4 V12z; M0 4 V28 H4 V4z; M0 12 V20 H4 V12z; M0 12 V20 H4 V12z" dur="1.2s" repeatCount="indefinite" begin="0.6" keytimes="0;.2;.5;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8;0.2 0.8 0.4 0.8" calcMode="spline" />
|
|
||||||
</path>
|
|
||||||
<path transform="translate(26)" d="M0 12 V20 H4 V12z">
|
|
||||||
<animate attributeName="d" values="M0 12 V20 H4 V12z; M0 4 V28 H4 V4z; M0 12 V20 H4 V12z; M0 12 V20 H4 V12z" dur="1.2s" repeatCount="indefinite" begin="0.8" keytimes="0;.2;.5;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8;0.2 0.8 0.4 0.8" calcMode="spline" />
|
|
||||||
</path>
|
|
||||||
</svg>
|
|
||||||
`},function(n,r){n.exports=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
|
||||||
<circle transform="translate(8 0)" cx="0" cy="16" r="0">
|
|
||||||
<animate attributeName="r" values="0; 4; 0; 0" dur="1.2s" repeatCount="indefinite" begin="0"
|
|
||||||
keytimes="0;0.2;0.7;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline" />
|
|
||||||
</circle>
|
|
||||||
<circle transform="translate(16 0)" cx="0" cy="16" r="0">
|
|
||||||
<animate attributeName="r" values="0; 4; 0; 0" dur="1.2s" repeatCount="indefinite" begin="0.3"
|
|
||||||
keytimes="0;0.2;0.7;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline" />
|
|
||||||
</circle>
|
|
||||||
<circle transform="translate(24 0)" cx="0" cy="16" r="0">
|
|
||||||
<animate attributeName="r" values="0; 4; 0; 0" dur="1.2s" repeatCount="indefinite" begin="0.6"
|
|
||||||
keytimes="0;0.2;0.7;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline" />
|
|
||||||
</circle>
|
|
||||||
</svg>
|
|
||||||
`},function(n,r){n.exports=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
|
||||||
<path transform="translate(-8 0)" d="M0 12 V20 H8 V12z">
|
|
||||||
<animateTransform attributeName="transform" type="translate" values="-8 0; 2 0; 2 0;" dur="0.8s" repeatCount="indefinite" begin="0" keytimes="0;.25;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline" />
|
|
||||||
</path>
|
|
||||||
<path transform="translate(2 0)" d="M0 12 V20 H8 V12z">
|
|
||||||
<animateTransform attributeName="transform" type="translate" values="2 0; 12 0; 12 0;" dur="0.8s" repeatCount="indefinite" begin="0" keytimes="0;.35;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline" />
|
|
||||||
</path>
|
|
||||||
<path transform="translate(12 0)" d="M0 12 V20 H8 V12z">
|
|
||||||
<animateTransform attributeName="transform" type="translate" values="12 0; 22 0; 22 0;" dur="0.8s" repeatCount="indefinite" begin="0" keytimes="0;.45;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline" />
|
|
||||||
</path>
|
|
||||||
<path transform="translate(24 0)" d="M0 12 V20 H8 V12z">
|
|
||||||
<animateTransform attributeName="transform" type="translate" values="22 0; 32 0; 32 0;" dur="0.8s" repeatCount="indefinite" begin="0" keytimes="0;.55;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline" />
|
|
||||||
</path>
|
|
||||||
</svg>
|
|
||||||
`},function(n,r){n.exports=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
|
||||||
<path transform="translate(0 0)" d="M0 12 V20 H4 V12z">
|
|
||||||
<animateTransform attributeName="transform" type="translate" values="0 0; 28 0; 0 0; 0 0" dur="1.5s" begin="0" repeatCount="indefinite" keytimes="0;0.3;0.6;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
|
|
||||||
</path>
|
|
||||||
<path opacity="0.5" transform="translate(0 0)" d="M0 12 V20 H4 V12z">
|
|
||||||
<animateTransform attributeName="transform" type="translate" values="0 0; 28 0; 0 0; 0 0" dur="1.5s" begin="0.1s" repeatCount="indefinite" keytimes="0;0.3;0.6;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
|
|
||||||
</path>
|
|
||||||
<path opacity="0.25" transform="translate(0 0)" d="M0 12 V20 H4 V12z">
|
|
||||||
<animateTransform attributeName="transform" type="translate" values="0 0; 28 0; 0 0; 0 0" dur="1.5s" begin="0.2s" repeatCount="indefinite" keytimes="0;0.3;0.6;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
|
|
||||||
</path>
|
|
||||||
</svg>
|
|
||||||
`},function(n,r){n.exports=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
|
||||||
<path opacity=".25" d="M16 0 A16 16 0 0 0 16 32 A16 16 0 0 0 16 0 M16 4 A12 12 0 0 1 16 28 A12 12 0 0 1 16 4"/>
|
|
||||||
<path d="M16 0 A16 16 0 0 1 32 16 L28 16 A12 12 0 0 0 16 4z">
|
|
||||||
<animateTransform attributeName="transform" type="rotate" from="0 16 16" to="360 16 16" dur="0.8s" repeatCount="indefinite" />
|
|
||||||
</path>
|
|
||||||
</svg>
|
|
||||||
`},function(n,r){n.exports=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
|
||||||
<circle cx="16" cy="3" r="0">
|
|
||||||
<animate attributeName="r" values="0;3;0;0" dur="1s" repeatCount="indefinite" begin="0" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
|
|
||||||
</circle>
|
|
||||||
<circle transform="rotate(45 16 16)" cx="16" cy="3" r="0">
|
|
||||||
<animate attributeName="r" values="0;3;0;0" dur="1s" repeatCount="indefinite" begin="0.125s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
|
|
||||||
</circle>
|
|
||||||
<circle transform="rotate(90 16 16)" cx="16" cy="3" r="0">
|
|
||||||
<animate attributeName="r" values="0;3;0;0" dur="1s" repeatCount="indefinite" begin="0.25s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
|
|
||||||
</circle>
|
|
||||||
<circle transform="rotate(135 16 16)" cx="16" cy="3" r="0">
|
|
||||||
<animate attributeName="r" values="0;3;0;0" dur="1s" repeatCount="indefinite" begin="0.375s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
|
|
||||||
</circle>
|
|
||||||
<circle transform="rotate(180 16 16)" cx="16" cy="3" r="0">
|
|
||||||
<animate attributeName="r" values="0;3;0;0" dur="1s" repeatCount="indefinite" begin="0.5s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
|
|
||||||
</circle>
|
|
||||||
<circle transform="rotate(225 16 16)" cx="16" cy="3" r="0">
|
|
||||||
<animate attributeName="r" values="0;3;0;0" dur="1s" repeatCount="indefinite" begin="0.625s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
|
|
||||||
</circle>
|
|
||||||
<circle transform="rotate(270 16 16)" cx="16" cy="3" r="0">
|
|
||||||
<animate attributeName="r" values="0;3;0;0" dur="1s" repeatCount="indefinite" begin="0.75s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
|
|
||||||
</circle>
|
|
||||||
<circle transform="rotate(315 16 16)" cx="16" cy="3" r="0">
|
|
||||||
<animate attributeName="r" values="0;3;0;0" dur="1s" repeatCount="indefinite" begin="0.875s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
|
|
||||||
</circle>
|
|
||||||
<circle transform="rotate(180 16 16)" cx="16" cy="3" r="0">
|
|
||||||
<animate attributeName="r" values="0;3;0;0" dur="1s" repeatCount="indefinite" begin="0.5s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
|
|
||||||
</circle>
|
|
||||||
</svg>
|
|
||||||
`},function(n,r){n.exports=`<svg id="loading" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
|
||||||
<path opacity=".1" d="M14 0 H18 V8 H14 z" transform="rotate(0 16 16)">
|
|
||||||
<animate attributeName="opacity" from="1" to=".1" dur="1s" repeatCount="indefinite" begin="0"/>
|
|
||||||
</path>
|
|
||||||
<path opacity=".1" d="M14 0 H18 V8 H14 z" transform="rotate(45 16 16)">
|
|
||||||
<animate attributeName="opacity" from="1" to=".1" dur="1s" repeatCount="indefinite" begin="0.125s"/>
|
|
||||||
</path>
|
|
||||||
<path opacity=".1" d="M14 0 H18 V8 H14 z" transform="rotate(90 16 16)">
|
|
||||||
<animate attributeName="opacity" from="1" to=".1" dur="1s" repeatCount="indefinite" begin="0.25s"/>
|
|
||||||
</path>
|
|
||||||
<path opacity=".1" d="M14 0 H18 V8 H14 z" transform="rotate(135 16 16)">
|
|
||||||
<animate attributeName="opacity" from="1" to=".1" dur="1s" repeatCount="indefinite" begin="0.375s"/>
|
|
||||||
</path>
|
|
||||||
<path opacity=".1" d="M14 0 H18 V8 H14 z" transform="rotate(180 16 16)">
|
|
||||||
<animate attributeName="opacity" from="1" to=".1" dur="1s" repeatCount="indefinite" begin="0.5s"/>
|
|
||||||
</path>
|
|
||||||
<path opacity=".1" d="M14 0 H18 V8 H14 z" transform="rotate(225 16 16)">
|
|
||||||
<animate attributeName="opacity" from="1" to=".1" dur="1s" repeatCount="indefinite" begin="0.675s"/>
|
|
||||||
</path>
|
|
||||||
<path opacity=".1" d="M14 0 H18 V8 H14 z" transform="rotate(270 16 16)">
|
|
||||||
<animate attributeName="opacity" from="1" to=".1" dur="1s" repeatCount="indefinite" begin="0.75s"/>
|
|
||||||
</path>
|
|
||||||
<path opacity=".1" d="M14 0 H18 V8 H14 z" transform="rotate(315 16 16)">
|
|
||||||
<animate attributeName="opacity" from="1" to=".1" dur="1s" repeatCount="indefinite" begin="0.875s"/>
|
|
||||||
</path>
|
|
||||||
</svg>
|
|
||||||
`}])})})(n3);const Yie=Xc(n3.exports);const Kie=e=>{const[t,n]=m.exports.useState(!1),[r,o]=m.exports.useState([]),[a,i]=m.exports.useState(""),[s,l]=m.exports.useState(!0),c=d=>{n(!1)};m.exports.useEffect(()=>{t!==!1&&AK().then(d=>{console.log(d);let f=JSON.parse(d);l(!1),o(f.Info),i(f.CurrentAccount)})},[t]);const u=d=>{BK(d).then(f=>{f&&e.onSwitchAccount&&e.onSwitchAccount(),n(!1)})};return ne("div",{className:"UserSwitch-Parent",children:[C("div",{onClick:()=>n(!0),children:e.children}),ne(Ha,{className:"UserSwitch-Modal",overlayClassName:"UserSwitch-Modal-Overlay",isOpen:t,onRequestClose:c,children:[C("div",{className:"Setting-Modal-button",children:C("div",{className:"UserSwitch-Modal-button-close",title:"\u5173\u95ED",onClick:()=>c(),children:C(vo,{className:"UserSwitch-Modal-button-icon"})})}),C("div",{className:"UserSwitch-Modal-title",children:"\u9009\u62E9\u4F60\u8981\u5207\u6362\u7684\u8D26\u53F7"}),C("div",{className:"UserSwitch-Modal-content",children:r.length>0?r.map(d=>C(qie,{nickname:d.NickName,acountName:d.AccountName,headImgUrl:d.BigHeadImgUrl,isSelected:a===d.AccountName,onClick:()=>u(d.AccountName)},d.AccountName)):C(Xie,{isLoading:s})})]})]})},qie=({nickname:e,acountName:t,headImgUrl:n,isSelected:r,onClick:o})=>ne("div",{className:"UserInfoItem",onClick:i=>{o&&o(i)},children:[C(Gie,{className:"UserInfoItem-Avatar",src:n,name:e,size:"50",alt:"\u65E0\u6CD5\u52A0\u8F7D\u5934\u50CF"}),ne("div",{className:"UserInfoItem-Info",children:[ne("div",{className:"UserInfoItem-Info-part1",children:[C("div",{className:"UserInfoItem-Info-Nickname",children:e}),r&&ne("div",{className:"UserInfoItem-Info-isSelect",children:[C("span",{className:"UserInfoItem-Info-isSelect-Dot",children:C(b4,{})}),"\u5F53\u524D\u8D26\u6237"]})]}),C("div",{className:"UserInfoItem-Info-acountName",children:t})]})]}),Xie=({isLoading:e})=>C("div",{className:"UserInfoNull",children:ne("div",{className:"UserInfoNull-Info",children:[e&&C(Yie,{type:"bars",color:"#07C160"}),!e&&C("div",{className:"UserInfoNull-Info-null",children:"\u6CA1\u6709\u8D26\u53F7\u53EF\u4EE5\u5207\u6362\uFF0C\u8BF7\u5148\u5BFC\u51FA\u804A\u5929\u8BB0\u5F55"})]})});function Qie(e){const[t,n]=m.exports.useState("chat"),r=o=>{o!=="avatar"&&n(o),e.onClickItem&&e.onClickItem(o)};return ne("div",{className:"wechat-menu",children:[C(zo,{id:"wechat-menu-item-Avatar",className:"wechat-menu-item wechat-menu-item-Avatar",src:e.Avatar,size:"large",shape:"square",alt:"\u65E0\u6CD5\u52A0\u8F7D\u5934\u50CF",onClick:()=>r("avatar")}),C(zo,{icon:C(iD,{}),title:"\u67E5\u770B\u804A\u5929",className:`wechat-menu-item wechat-menu-item-icon ${t==="chat"?"wechat-menu-selectedColor":""}`,size:"default",onClick:()=>r("chat")}),C(IX,{onModalExit:()=>e.onClickItem("exit"),children:C(zo,{icon:C(L8,{}),title:"\u8BBE\u7F6E",className:`tour-first-step wechat-menu-item wechat-menu-item-icon ${t==="setting"?"wechat-menu-selectedColor":""}`,size:"default"})}),C(Kie,{onSwitchAccount:()=>e.onClickItem("exit"),children:C(zo,{icon:C(Z8,{}),title:"\u5207\u6362\u8D26\u6237",className:"wechat-menu-item wechat-menu-item-icon tour-ninth-step",size:"default"})})]})}var xy=function(e,t){return xy=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var o in r)r.hasOwnProperty(o)&&(n[o]=r[o])},xy(e,t)};function Zie(e,t){xy(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var pc=function(){return pc=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},pc.apply(this,arguments)};function Jie(e,t,n,r){var o,a=!1,i=0;function s(){o&&clearTimeout(o)}function l(){s(),a=!0}typeof t!="boolean"&&(r=n,n=t,t=void 0);function c(){var u=this,d=Date.now()-i,f=arguments;if(a)return;function p(){i=Date.now(),n.apply(u,f)}function h(){o=void 0}r&&!o&&p(),s(),r===void 0&&d>e?p():t!==!0&&(o=setTimeout(r?h:p,r===void 0?e-d:e))}return c.cancel=l,c}var Ds={Pixel:"Pixel",Percent:"Percent"},S$={unit:Ds.Percent,value:.8};function C$(e){return typeof e=="number"?{unit:Ds.Percent,value:e*100}:typeof e=="string"?e.match(/^(\d*(\.\d+)?)px$/)?{unit:Ds.Pixel,value:parseFloat(e)}:e.match(/^(\d*(\.\d+)?)%$/)?{unit:Ds.Percent,value:parseFloat(e)}:(console.warn('scrollThreshold format is invalid. Valid formats: "120px", "50%"...'),S$):(console.warn("scrollThreshold should be string or number"),S$)}var r3=function(e){Zie(t,e);function t(n){var r=e.call(this,n)||this;return r.lastScrollTop=0,r.actionTriggered=!1,r.startY=0,r.currentY=0,r.dragging=!1,r.maxPullDownDistance=0,r.getScrollableTarget=function(){return r.props.scrollableTarget instanceof HTMLElement?r.props.scrollableTarget:typeof r.props.scrollableTarget=="string"?document.getElementById(r.props.scrollableTarget):(r.props.scrollableTarget===null&&console.warn(`You are trying to pass scrollableTarget but it is null. This might
|
|
||||||
happen because the element may not have been added to DOM yet.
|
|
||||||
See https://github.com/ankeetmaini/react-infinite-scroll-component/issues/59 for more info.
|
|
||||||
`),null)},r.onStart=function(o){r.lastScrollTop||(r.dragging=!0,o instanceof MouseEvent?r.startY=o.pageY:o instanceof TouchEvent&&(r.startY=o.touches[0].pageY),r.currentY=r.startY,r._infScroll&&(r._infScroll.style.willChange="transform",r._infScroll.style.transition="transform 0.2s cubic-bezier(0,0,0.31,1)"))},r.onMove=function(o){!r.dragging||(o instanceof MouseEvent?r.currentY=o.pageY:o instanceof TouchEvent&&(r.currentY=o.touches[0].pageY),!(r.currentY<r.startY)&&(r.currentY-r.startY>=Number(r.props.pullDownToRefreshThreshold)&&r.setState({pullToRefreshThresholdBreached:!0}),!(r.currentY-r.startY>r.maxPullDownDistance*1.5)&&r._infScroll&&(r._infScroll.style.overflow="visible",r._infScroll.style.transform="translate3d(0px, "+(r.currentY-r.startY)+"px, 0px)")))},r.onEnd=function(){r.startY=0,r.currentY=0,r.dragging=!1,r.state.pullToRefreshThresholdBreached&&(r.props.refreshFunction&&r.props.refreshFunction(),r.setState({pullToRefreshThresholdBreached:!1})),requestAnimationFrame(function(){r._infScroll&&(r._infScroll.style.overflow="auto",r._infScroll.style.transform="none",r._infScroll.style.willChange="unset")})},r.onScrollListener=function(o){typeof r.props.onScroll=="function"&&setTimeout(function(){return r.props.onScroll&&r.props.onScroll(o)},0);var a=r.props.height||r._scrollableNode?o.target:document.documentElement.scrollTop?document.documentElement:document.body;if(!r.actionTriggered){var i=r.props.inverse?r.isElementAtTop(a,r.props.scrollThreshold):r.isElementAtBottom(a,r.props.scrollThreshold);i&&r.props.hasMore&&(r.actionTriggered=!0,r.setState({showLoader:!0}),r.props.next&&r.props.next()),r.lastScrollTop=a.scrollTop}},r.state={showLoader:!1,pullToRefreshThresholdBreached:!1,prevDataLength:n.dataLength},r.throttledOnScrollListener=Jie(150,r.onScrollListener).bind(r),r.onStart=r.onStart.bind(r),r.onMove=r.onMove.bind(r),r.onEnd=r.onEnd.bind(r),r}return t.prototype.componentDidMount=function(){if(typeof this.props.dataLength>"u")throw new Error('mandatory prop "dataLength" is missing. The prop is needed when loading more content. Check README.md for usage');if(this._scrollableNode=this.getScrollableTarget(),this.el=this.props.height?this._infScroll:this._scrollableNode||window,this.el&&this.el.addEventListener("scroll",this.throttledOnScrollListener),typeof this.props.initialScrollY=="number"&&this.el&&this.el instanceof HTMLElement&&this.el.scrollHeight>this.props.initialScrollY&&this.el.scrollTo(0,this.props.initialScrollY),this.props.pullDownToRefresh&&this.el&&(this.el.addEventListener("touchstart",this.onStart),this.el.addEventListener("touchmove",this.onMove),this.el.addEventListener("touchend",this.onEnd),this.el.addEventListener("mousedown",this.onStart),this.el.addEventListener("mousemove",this.onMove),this.el.addEventListener("mouseup",this.onEnd),this.maxPullDownDistance=this._pullDown&&this._pullDown.firstChild&&this._pullDown.firstChild.getBoundingClientRect().height||0,this.forceUpdate(),typeof this.props.refreshFunction!="function"))throw new Error(`Mandatory prop "refreshFunction" missing.
|
|
||||||
Pull Down To Refresh functionality will not work
|
|
||||||
as expected. Check README.md for usage'`)},t.prototype.componentWillUnmount=function(){this.el&&(this.el.removeEventListener("scroll",this.throttledOnScrollListener),this.props.pullDownToRefresh&&(this.el.removeEventListener("touchstart",this.onStart),this.el.removeEventListener("touchmove",this.onMove),this.el.removeEventListener("touchend",this.onEnd),this.el.removeEventListener("mousedown",this.onStart),this.el.removeEventListener("mousemove",this.onMove),this.el.removeEventListener("mouseup",this.onEnd)))},t.prototype.componentDidUpdate=function(n){this.props.dataLength!==n.dataLength&&(this.actionTriggered=!1,this.setState({showLoader:!1}))},t.getDerivedStateFromProps=function(n,r){var o=n.dataLength!==r.prevDataLength;return o?pc(pc({},r),{prevDataLength:n.dataLength}):null},t.prototype.isElementAtTop=function(n,r){r===void 0&&(r=.8);var o=n===document.body||n===document.documentElement?window.screen.availHeight:n.clientHeight,a=C$(r);return a.unit===Ds.Pixel?n.scrollTop<=a.value+o-n.scrollHeight+1:n.scrollTop<=a.value/100+o-n.scrollHeight+1},t.prototype.isElementAtBottom=function(n,r){r===void 0&&(r=.8);var o=n===document.body||n===document.documentElement?window.screen.availHeight:n.clientHeight,a=C$(r);return a.unit===Ds.Pixel?n.scrollTop+o>=n.scrollHeight-a.value:n.scrollTop+o>=a.value/100*n.scrollHeight},t.prototype.render=function(){var n=this,r=pc({height:this.props.height||"auto",overflow:"auto",WebkitOverflowScrolling:"touch"},this.props.style),o=this.props.hasChildren||!!(this.props.children&&this.props.children instanceof Array&&this.props.children.length),a=this.props.pullDownToRefresh&&this.props.height?{overflow:"auto"}:{};return C("div",{style:a,className:"infinite-scroll-component__outerdiv",children:ne("div",{className:"infinite-scroll-component "+(this.props.className||""),ref:function(i){return n._infScroll=i},style:r,children:[this.props.pullDownToRefresh&&C("div",{style:{position:"relative"},ref:function(i){return n._pullDown=i},children:C("div",{style:{position:"absolute",left:0,right:0,top:-1*this.maxPullDownDistance},children:this.state.pullToRefreshThresholdBreached?this.props.releaseToRefreshContent:this.props.pullDownToRefreshContent})}),this.props.children,!this.state.showLoader&&!o&&this.props.hasMore&&this.props.loader,this.state.showLoader&&this.props.hasMore&&this.props.loader,!this.props.hasMore&&this.props.endMessage]})})},t}(m.exports.Component);const ese=m.exports.forwardRef((e,t)=>{let n=!1,r=!1;e.message.position==="middle"?n=!0:r=e.message.position!=="right";const o=m.exports.useMemo(()=>e.renderMessageContent(e.message),[e.message]);return ne("div",{className:"MessageBubble",id:e.id,ref:t,children:[C("time",{className:"Time",dateTime:zt(e.message.createdAt).format(),children:zt(e.message.createdAt*1e3).format("YYYY\u5E74M\u6708D\u65E5 HH:mm")}),n?o:ne("div",{className:"MessageBubble-content"+(r?"-left":"-right"),children:[C("div",{className:"MessageBubble-content-Avatar",children:r&&C(zo,{className:"MessageBubble-Avatar-left",src:e.message.user.avatar,size:{xs:40,sm:40,md:40,lg:40,xl:40,xxl:40},shape:"square",alt:"\u65E0\u6CD5\u52A0\u8F7D\u5934\u50CF"})}),ne("div",{className:"Bubble"+(r?"-left":"-right"),children:[C("div",{className:"MessageBubble-Name"+(r?"-left":"-right"),truncate:1,children:e.message.user.name}),o]}),C("div",{className:"MessageBubble-content-Avatar",children:!r&&C(zo,{className:"MessageBubble-Avatar-right",src:e.message.user.avatar,size:{xs:40,sm:40,md:40,lg:40,xl:40,xxl:40},shape:"square",alt:"\u65E0\u6CD5\u52A0\u8F7D\u5934\u50CF"})})]})]})});function tse(e){const t=m.exports.useRef(),n=m.exports.useRef(0),r=m.exports.useRef(null),o=i=>{i.srcElement.scrollTop>0&&i.srcElement.scrollTop<1&&(i.srcElement.scrollTop=0),i.srcElement.scrollTop===0?(n.current=i.srcElement.scrollHeight,r.current=i.srcElement,e.atBottom&&e.atBottom()):(n.current=0,r.current=null)};function a(){e.next()}return m.exports.useEffect(()=>{n.current!==0&&r.current&&(r.current.scrollTop=-(r.current.scrollHeight-n.current),n.current=0,r.current=null)},[e.messages]),m.exports.useEffect(()=>{t.current&&t.current.scrollIntoView()},[e.messages]),C("div",{id:"scrollableDiv",children:C(r3,{scrollableTarget:"scrollableDiv",dataLength:e.messages.length,next:a,hasMore:e.hasMore,inverse:!0,onScroll:o,children:e.messages.map(i=>C(ese,{message:i,renderMessageContent:e.renderMessageContent,id:i.key,ref:i.key===e.scrollIntoId?t:null},i.key))})})}function nse(e){return C("div",{className:"ChatUi",children:C(tse,{messages:e.messages,next:e.fetchMoreData,hasMore:e.hasMore,renderMessageContent:e.renderMessageContent,atBottom:e.atBottom,scrollIntoId:e.scrollIntoId})})}function o3(e){const[t,n]=m.exports.useState(e);return{messages:t,prependMsgs:i=>{n(i.concat(t))},appendMsgs:i=>{n(t.concat(i))},setMsgs:i=>{n(i)}}}const rse="data:image/png;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQH/2wBDAQEBAQEBAQEBAQEB
Line truncated
|
|
||||||
`).forEach((c,u)=>{u>0&&a.push(C("br",{},`${s}-${u}`)),a.push(c)}):a.push(i)}),a};function nS(e){const t=m.exports.useMemo(()=>ice(x$),[]),[n,r]=m.exports.useState([]);return m.exports.useEffect(()=>{const o=sce(e.text,x$,t);r(o)},[e.text,t]),C(IP,{className:"CardMessageText "+e.className,size:"small",children:C(Ft,{children:n})})}const lce=e=>!!e&&e[0]==="o",w$=lr.exports.unstable_batchedUpdates||(e=>e()),os=(e,t,n=1e-4)=>Math.abs(e-t)<n,wy=(e,t)=>e===!0||!!(e&&e[t]),lo=(e,t)=>typeof e=="function"?e(t):e,rS=(e,t)=>(t&&Object.keys(t).forEach(n=>{const r=e[n],o=t[n];typeof o=="function"&&r?e[n]=(...a)=>{o(...a),r(...a)}:e[n]=o}),e),cce=e=>{if(typeof e!="string")return{top:0,right:0,bottom:0,left:0};const t=e.trim().split(/\s+/,4).map(parseFloat),n=isNaN(t[0])?0:t[0],r=isNaN(t[1])?n:t[1];return{top:n,right:r,bottom:isNaN(t[2])?n:t[2],left:isNaN(t[3])?r:t[3]}},Km=e=>{for(;e;){if(e=e.parentNode,!e||e===document.body||!e.parentNode)return;const{overflow:t,overflowX:n,overflowY:r}=getComputedStyle(e);if(/auto|scroll|overlay|hidden/.test(t+r+n))return e}};function a3(e,t){return{"aria-disabled":e||void 0,tabIndex:t?0:-1}}function $$(e,t){for(let n=0;n<e.length;n++)if(e[n]===t)return n;return-1}const sp=({block:e,element:t,modifiers:n,className:r})=>m.exports.useMemo(()=>{const o=t?`${e}__${t}`:e;let a=o;n&&Object.keys(n).forEach(s=>{const l=n[s];l&&(a+=` ${o}--${l===!0?s:`${s}-${l}`}`)});let i=typeof r=="function"?r(n):r;return typeof i=="string"&&(i=i.trim(),i&&(a+=` ${i}`)),a},[e,t,n,r]),uce="szh-menu-container",Zd="szh-menu",dce="arrow",fce="item",i3=m.exports.createContext(),s3=m.exports.createContext({}),E$=m.exports.createContext({}),l3=m.exports.createContext({}),pce=m.exports.createContext({}),oS=m.exports.createContext({}),ko=Object.freeze({ENTER:"Enter",ESC:"Escape",SPACE:" ",HOME:"Home",END:"End",LEFT:"ArrowLeft",RIGHT:"ArrowRight",UP:"ArrowUp",DOWN:"ArrowDown"}),pn=Object.freeze({RESET:0,SET:1,UNSET:2,INCREASE:3,DECREASE:4,FIRST:5,LAST:6,SET_INDEX:7}),Kc=Object.freeze({CLICK:"click",CANCEL:"cancel",BLUR:"blur",SCROLL:"scroll"}),O$=Object.freeze({FIRST:"first",LAST:"last"}),qm="absolute",vce="presentation",c3="menuitem",M$={"aria-hidden":!0,role:c3},hce=({className:e,containerRef:t,containerProps:n,children:r,isOpen:o,theming:a,transition:i,onClose:s})=>{const l=wy(i,"item");return C("div",{...rS({onKeyDown:({key:d})=>{switch(d){case ko.ESC:lo(s,{key:d,reason:Kc.CANCEL});break}},onBlur:d=>{o&&!d.currentTarget.contains(d.relatedTarget)&&lo(s,{reason:Kc.BLUR})}},n),className:sp({block:uce,modifiers:m.exports.useMemo(()=>({theme:a,itemTransition:l}),[a,l]),className:e}),style:{position:"absolute",...n==null?void 0:n.style},ref:t,children:r})},mce=()=>{let e,t=0;return{toggle:n=>{n?t++:t--,t=Math.max(t,0)},on:(n,r,o)=>{t?e||(e=setTimeout(()=>{e=0,r()},n)):o==null||o()},off:()=>{e&&(clearTimeout(e),e=0)}}},gce=(e,t)=>{const[n,r]=m.exports.useState(),a=m.exports.useRef({items:[],hoverIndex:-1,sorted:!1}).current,i=m.exports.useCallback((l,c)=>{const{items:u}=a;if(!l)a.items=[];else if(c)u.push(l);else{const d=u.indexOf(l);d>-1&&(u.splice(d,1),l.contains(document.activeElement)&&(t.current.focus(),r()))}a.hoverIndex=-1,a.sorted=!1},[a,t]),s=m.exports.useCallback((l,c,u)=>{const{items:d,hoverIndex:f}=a,p=()=>{if(a.sorted)return;const y=e.current.querySelectorAll(".szh-menu__item");d.sort((g,b)=>$$(y,g)-$$(y,b)),a.sorted=!0};let h=-1,v;switch(l){case pn.RESET:break;case pn.SET:v=c;break;case pn.UNSET:v=y=>y===c?void 0:y;break;case pn.FIRST:p(),h=0,v=d[h];break;case pn.LAST:p(),h=d.length-1,v=d[h];break;case pn.SET_INDEX:p(),h=u,v=d[h];break;case pn.INCREASE:p(),h=f,h<0&&(h=d.indexOf(c)),h++,h>=d.length&&(h=0),v=d[h];break;case pn.DECREASE:p(),h=f,h<0&&(h=d.indexOf(c)),h--,h<0&&(h=d.length-1),v=d[h];break}v||(h=-1),r(v),a.hoverIndex=h},[e,a]);return{hoverItem:n,dispatch:s,updateItems:i}},yce=(e,t,n,r)=>{const o=t.current.getBoundingClientRect(),a=e.current.getBoundingClientRect(),i=n===window?{left:0,top:0,right:document.documentElement.clientWidth,bottom:window.innerHeight}:n.getBoundingClientRect(),s=cce(r),l=h=>h+a.left-i.left-s.left,c=h=>h+a.left+o.width-i.right+s.right,u=h=>h+a.top-i.top-s.top,d=h=>h+a.top+o.height-i.bottom+s.bottom;return{menuRect:o,containerRect:a,getLeftOverflow:l,getRightOverflow:c,getTopOverflow:u,getBottomOverflow:d,confineHorizontally:h=>{let v=l(h);if(v<0)h-=v;else{const y=c(h);y>0&&(h-=y,v=l(h),v<0&&(h-=v))}return h},confineVertically:h=>{let v=u(h);if(v<0)h-=v;else{const y=d(h);y>0&&(h-=y,v=u(h),v<0&&(h-=v))}return h}}},bce=({arrowRef:e,menuY:t,anchorRect:n,containerRect:r,menuRect:o})=>{let a=n.top-r.top-t+n.height/2;const i=e.current.offsetHeight*1.25;return a=Math.max(i,a),a=Math.min(a,o.height-i),a},Sce=({anchorRect:e,containerRect:t,menuRect:n,placeLeftorRightY:r,placeLeftX:o,placeRightX:a,getLeftOverflow:i,getRightOverflow:s,confineHorizontally:l,confineVertically:c,arrowRef:u,arrow:d,direction:f,position:p})=>{let h=f,v=r;p!=="initial"&&(v=c(v),p==="anchor"&&(v=Math.min(v,e
Line truncated
|
|
||||||
* clipboard.js v2.0.11
|
|
||||||
* https://clipboardjs.com/
|
|
||||||
*
|
|
||||||
* Licensed MIT © Zeno Rocha
|
|
||||||
*/(function(e,t){(function(r,o){e.exports=o()})(Bn,function(){return function(){var n={686:function(a,i,s){s.d(i,{default:function(){return H}});var l=s(279),c=s.n(l),u=s(370),d=s.n(u),f=s(817),p=s.n(f);function h(_){try{return document.execCommand(_)}catch{return!1}}var v=function(B){var W=p()(B);return h("cut"),W},y=v;function g(_){var B=document.documentElement.getAttribute("dir")==="rtl",W=document.createElement("textarea");W.style.fontSize="12pt",W.style.border="0",W.style.padding="0",W.style.margin="0",W.style.position="absolute",W.style[B?"right":"left"]="-9999px";var G=window.pageYOffset||document.documentElement.scrollTop;return W.style.top="".concat(G,"px"),W.setAttribute("readonly",""),W.value=_,W}var b=function(B,W){var G=g(B);W.container.appendChild(G);var K=p()(G);return h("copy"),G.remove(),K},S=function(B){var W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},G="";return typeof B=="string"?G=b(B,W):B instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(B==null?void 0:B.type)?G=b(B.value,W):(G=p()(B),h("copy")),G},x=S;function w(_){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?w=function(W){return typeof W}:w=function(W){return W&&typeof Symbol=="function"&&W.constructor===Symbol&&W!==Symbol.prototype?"symbol":typeof W},w(_)}var E=function(){var B=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},W=B.action,G=W===void 0?"copy":W,K=B.container,z=B.target,V=B.text;if(G!=="copy"&&G!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(z!==void 0)if(z&&w(z)==="object"&&z.nodeType===1){if(G==="copy"&&z.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(G==="cut"&&(z.hasAttribute("readonly")||z.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`)}else throw new Error('Invalid "target" value, use a valid Element');if(V)return x(V,{container:K});if(z)return G==="cut"?y(z):x(z,{container:K})},$=E;function R(_){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?R=function(W){return typeof W}:R=function(W){return W&&typeof Symbol=="function"&&W.constructor===Symbol&&W!==Symbol.prototype?"symbol":typeof W},R(_)}function I(_,B){if(!(_ instanceof B))throw new TypeError("Cannot call a class as a function")}function T(_,B){for(var W=0;W<B.length;W++){var G=B[W];G.enumerable=G.enumerable||!1,G.configurable=!0,"value"in G&&(G.writable=!0),Object.defineProperty(_,G.key,G)}}function P(_,B,W){return B&&T(_.prototype,B),W&&T(_,W),_}function F(_,B){if(typeof B!="function"&&B!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(B&&B.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),B&&j(_,B)}function j(_,B){return j=Object.setPrototypeOf||function(G,K){return G.__proto__=K,G},j(_,B)}function N(_){var B=M();return function(){var G=O(_),K;if(B){var z=O(this).constructor;K=Reflect.construct(G,arguments,z)}else K=G.apply(this,arguments);return k(this,K)}}function k(_,B){return B&&(R(B)==="object"||typeof B=="function")?B:D(_)}function D(_){if(_===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return _}function M(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function O(_){return O=Object.setPrototypeOf?Object.getPrototypeOf:function(W){return W.__proto__||Object.getPrototypeOf(W)},O(_)}function L(_,B){var W="data-clipboard-".concat(_);if(!!B.hasAttribute(W))return B.getAttribute(W)}var A=function(_){F(W,_);var B=N(W);function W(G,K){var z;return I(this,W),z=B.call(this),z.resolveOptions(K),z.listenClick(G),z}return P(W,[{key:"resolveOptions",value:function(){var K=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof K.action=="function"?K.action:this.defaultAction,this.target=typeof K.target=="function"?K.target:this.defaultTarget,this.text=typeof K.text=="function"?K.text:this.defaultText,this.container=R(K.container)==="object"?K.container:document.body}},{key:"listenClick",value:function(K){var z=this;this.listener=d()(K,"click",function(V){return z.onClick(V)})}},{key:"onClick",value:function(K){var z=K.delegateTarget||K.currentTarget,V=this.action(z)||"copy",X=$({action:V,container:this.container,target:this.target(z),text:this.text(z)});this.emit(X?"success":"error",{action:V,text:X,trigger:z,clearSelection:function(){z&&z.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(K){return L("action",K)}},{key:"defaultTarget",value:function(K){var z=L("target",K);if(z)return document.querySelector(z)}},{key:"defaultText",value:function(K){return L("text",K)}},{key:"destroy",value:functLine truncated
|
|
||||||
-1
@@ -1 +0,0 @@
|
|||||||
@charset "UTF-8";html{background-color:#f5f5f5}body{margin:0;font-family:Nunito,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}@font-face{font-family:Nunito;font-style:normal;font-weight:400;src:local(""),url(/assets/nunito-v16-latin-regular.06f3af3f.woff2) format("woff2")}#app{height:100vh;text-align:center}#App{height:100vh;text-align:center;display:flex;flex-direction:row}::-webkit-scrollbar{width:6px}::-webkit-scrollbar-thumb{--tw-border-opacity: 1;background-color:#b6b4b4cc;border-color:rgba(181,180,178,var(--tw-border-opacity));border-radius:9999px;border-width:1px}.wechat-UserList{width:275px;height:100%;background-color:#eae8e7}.wechat-SearchBar{height:60px;background-color:#f7f7f7;--wails-draggable:drag}.wechat-SearchBar-Input{height:26px;width:240px;background-color:#e6e6e6;margin-top:22px;--wails-draggable:no-drag}.wechat-UserList-Items{height:calc(100% - 60px);overflow:auto}.wechat-UserItem{display:flex;justify-content:space-between;height:64px}.wechat-UserItem{transition:background-color .3s ease}.wechat-UserItem:hover{background-color:#dcdad9}.wechat-UserItem:focus{background-color:#c9c8c6}.selectedItem{background-color:#c9c8c6}#wechat-UserItem-content-Avatar-id{border-radius:0}.wechat-UserItem-content-Avatar{margin-top:12px;margin-left:9px;margin-right:9px}.wechat-UserItem-content{flex:1;width:55%;display:flex;flex-direction:column;justify-content:space-between}.wechat-UserItem-content-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}.wechat-UserItem-content-name{color:#000;font-size:95%;margin-top:12px}.wechat-UserItem-content-msg{color:#999;font-size:80%;margin-bottom:10px}.wechat-UserItem-date{color:#999;font-size:80%;margin-top:12px;margin-right:9px}.Setting-Modal{width:500px;background-color:#f5f5f5;position:fixed;top:35%;left:50%;transform:translate(-50%,-50%);padding:20px;border-radius:5px;box-shadow:2px 2px 2px #a2a2a2}.Setting-Modal-Overlay{position:fixed;top:0;left:0;right:0;bottom:0}.WechatInfoTable{display:flex;flex-direction:column;font-size:.9rem;border-top:1px solid #b9b9b9}.WechatInfoTable-column{display:flex;margin-top:8px}.WechatInfoTable-column-tag{margin-left:8px}.checkUpdateButtom{cursor:pointer}.Setting-Modal-export-button{margin-top:10px}.Setting-Modal-button{position:absolute;top:10px;right:10px;padding:5px 10px;border:none;cursor:pointer}.Setting-Modal-confirm{background-color:#f5f5f5;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);padding:20px;border-radius:5px;box-shadow:2px 2px 2px #a2a2a2}.Setting-Modal-confirm-Overlay{position:fixed;top:0;left:0;right:0;bottom:0}.Setting-Modal-confirm-title{text-align:center}.Setting-Modal-confirm-buttons{display:flex;gap:10px}.Setting-Modal-updateInfoWindow{background-color:#fff;position:fixed;top:33%;left:50%;transform:translate(-50%,-50%);border-radius:5px;box-shadow:2px 2px 2px #a2a2a2}.Setting-Modal-updateInfoWindow-Overlay{position:fixed;top:0;left:0;right:0;bottom:0}.Setting-Modal-updateInfoWindow-content{display:flex;flex-direction:column;align-items:center;padding:20px}.Setting-Modal-updateInfoWindow-button{margin-top:10px}.wechat-menu{display:flex;flex-direction:column;width:52px;justify-content:flex-start;height:100%;background-color:#2e2e2e;--wails-draggable:drag}.wechat-menu-item{margin-left:auto;margin-right:auto;margin-top:30px;--wails-draggable:no-drag}#wechat-menu-item-Avatar{border-radius:0}.wechat-menu-item-icon{background-color:#2e2e2e}.wechat-menu-selectedColor{color:#07c160}.ChatUi{background-color:#f3f3f3;height:calc(100% - 60px)}.ChatUiBar{display:flex;justify-content:space-between;align-items:center;padding:4% 2% 2%;border-bottom:.5px solid #dddbdb;background-color:#fff}.ChatUiBar--Text{flex:1;text-align:center;margin:1%}.ChatUiBar--Btn>.Icon{height:1.5em;width:1.5em}#scrollableDiv{height:100%;overflow:auto;display:flex;flex-direction:column-reverse}.MessageBubble{display:flex;flex-direction:column;justify-content:space-between;align-items:center;padding:10px}.MessageBubble>.Time{text-align:center;font-size:.8rem;margin-bottom:3px;background-color:#c9c8c6;color:#fff;padding:2px 3px;border-radius:4px}.MessageBubble-content-left{align-self:flex-start;display:flex;max-width:60%}.MessageBubble-content-right{align-self:flex-end;display:flex;max-width:60%}.Bubble-right>.Bubble{background-color:#95ec69}.MessageBubble-Avatar-left{margin-right:2px;border-radius:10%}.MessageBubble-Avatar-right{margin-left:2px;border-radius:10%}.Bubble-left{display:flex;flex-direction:column;align-items:flex-start;flex:1 1;max-width:100%}.MessageBubble-Name-left{color:#383838;font-size:small;margin-bottom:1px}.Bubble-right{display:flex;flex-direction:column;align-items:flex-end;flex:1 1;max-width:100%}.MessageBubble-Name-right{color:#383838;font-size:small;margin-bottom:1px}.CardMessageText{text-align:start;max-width:100%;word-break:break-all;padding:0}.MessageText-emoji{width:1.2rem;height:1.2rem;vertical-align:texLine truncated
|
|
||||||
-1
@@ -1 +0,0 @@
|
|||||||
@charset "UTF-8";html{background-color:#f5f5f5}body{margin:0;font-family:Nunito,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}@font-face{font-family:Nunito;font-style:normal;font-weight:400;src:local(""),url(/assets/nunito-v16-latin-regular.06f3af3f.woff2) format("woff2")}#app{height:100vh;text-align:center}#App{height:100vh;text-align:center;display:flex;flex-direction:row}::-webkit-scrollbar{width:6px}::-webkit-scrollbar-thumb{--tw-border-opacity: 1;background-color:#b6b4b4cc;border-color:rgba(181,180,178,var(--tw-border-opacity));border-radius:9999px;border-width:1px}.wechat-UserList{width:275px;height:100%;background-color:#eae8e7}.wechat-SearchBar{height:60px;background-color:#f7f7f7;--wails-draggable:drag}.wechat-SearchBar-Input{height:26px;width:240px;background-color:#e6e6e6;margin-top:22px;--wails-draggable:no-drag}.wechat-UserList-Items{height:calc(100% - 60px);overflow:auto}.wechat-UserItem{display:flex;justify-content:space-between;height:64px}.wechat-UserItem{transition:background-color .3s ease}.wechat-UserItem:hover{background-color:#dcdad9}.wechat-UserItem:focus{background-color:#c9c8c6}.selectedItem{background-color:#c9c8c6}#wechat-UserItem-content-Avatar-id{border-radius:0}.wechat-UserItem-content-Avatar{margin-top:12px;margin-left:9px;margin-right:9px}.wechat-UserItem-content{flex:1;width:55%;display:flex;flex-direction:column;justify-content:space-between}.wechat-UserItem-content-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}.wechat-UserItem-content-name{color:#000;font-size:95%;margin-top:12px}.wechat-UserItem-content-msg{color:#999;font-size:80%;margin-bottom:10px}.wechat-UserItem-date{color:#999;font-size:80%;margin-top:12px;margin-right:9px}.Setting-Modal{width:500px;background-color:#f5f5f5;position:fixed;top:35%;left:50%;transform:translate(-50%,-50%);padding:20px;border-radius:5px;box-shadow:2px 2px 2px #a2a2a2}.Setting-Modal-Overlay{position:fixed;top:0;left:0;right:0;bottom:0}.WechatInfoTable{display:flex;flex-direction:column;font-size:.9rem;border-top:1px solid #b9b9b9}.WechatInfoTable-column{display:flex;margin-top:8px}.WechatInfoTable-column-tag{margin-left:8px}.checkUpdateButtom{cursor:pointer}.Setting-Modal-export-button{margin-top:10px}.Setting-Modal-button{position:absolute;top:10px;right:10px;padding:5px 10px;border:none;cursor:pointer}.Setting-Modal-confirm{background-color:#f5f5f5;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);padding:20px;border-radius:5px;box-shadow:2px 2px 2px #a2a2a2}.Setting-Modal-confirm-Overlay{position:fixed;top:0;left:0;right:0;bottom:0}.Setting-Modal-confirm-title{text-align:center}.Setting-Modal-confirm-buttons{display:flex;gap:10px}.Setting-Modal-updateInfoWindow{background-color:#fff;position:fixed;top:33%;left:50%;transform:translate(-50%,-50%);border-radius:5px;box-shadow:2px 2px 2px #a2a2a2}.Setting-Modal-updateInfoWindow-Overlay{position:fixed;top:0;left:0;right:0;bottom:0}.Setting-Modal-updateInfoWindow-content{display:flex;flex-direction:column;align-items:center;padding:20px}.Setting-Modal-updateInfoWindow-button{margin-top:10px}.Setting-Modal-Select{display:flex;gap:10px;align-items:center;margin-bottom:8px}.Setting-Modal-Select-Text{font-size:1rem;font-weight:900}.UserSwitch-Modal{background-color:#fff;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);padding:20px;border-radius:5px;box-shadow:2px 2px 2px #a2a2a2}.UserSwitch-Modal-Overlay{position:fixed;top:0;left:0;right:0;bottom:0}.Setting-Modal-button{display:flex;justify-content:end}.UserSwitch-Modal-title{text-align:center;font-weight:900;margin-bottom:20px}.UserSwitch-Modal-buttons{margin-top:10px;display:flex;gap:10px}.UserSwitch-Modal-content{display:flex;flex-direction:column;gap:10px}.UserInfoItem{display:flex;background-color:#f7f7f7;width:500px;border-radius:5px;padding:8px;gap:10px}.UserInfoItem:hover{background-color:#ebebeb}.UserInfoItem-Info{display:flex;flex-direction:column;flex-grow:1;justify-content:space-between}.UserInfoItem-Info-part1{display:flex;justify-content:space-between}.UserInfoItem-Info-Nickname{font-size:1rem;font-weight:800}.UserInfoItem-Info-acountName{font-size:.9rem}.UserInfoItem-Info-isSelect{font-size:.8rem}.UserInfoItem-Info-isSelect-Dot{color:#56d54a;margin-right:5px}.UserInfoNull{display:flex;width:500px;height:100px;border-radius:5px;padding:8px;gap:10px;justify-content:center}.UserInfoItem-Info-null{text-align:center}.wechat-menu{display:flex;flex-direction:column;width:52px;justify-content:flex-start;height:100%;background-color:#2e2e2e;--wails-draggable:drag}.wechat-menu-item{margin-left:auto;margin-right:auto;margin-top:30px;--wails-draggable:no-drag}#wechat-menu-item-Avatar{border-radius:0}.wechat-menu-item-icon{background-color:#2e2e2e}.wechat-menu-selectedColor{color:#07c160}.ChatUi{background-color:#f3f3f3;height:calc(100% - 60px)}.ChatUiBar{display:flex;justify-content:space-between;align-items:Line truncated
|
|
||||||
+1
@@ -0,0 +1 @@
|
|||||||
|
@charset "UTF-8";html{background-color:#f5f5f5}body{margin:0;font-family:Nunito,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}@font-face{font-family:Nunito;font-style:normal;font-weight:400;src:local(""),url(/assets/nunito-v16-latin-regular.06f3af3f.woff2) format("woff2")}#app{height:100vh;text-align:center}#App{height:100vh;text-align:center;display:flex;flex-direction:row}::-webkit-scrollbar{width:10px}::-webkit-scrollbar-thumb{--tw-border-opacity: 1;background-color:#b6b4b4cc;border-color:rgba(181,180,178,var(--tw-border-opacity));border-radius:9999px;border-width:1px}.wechat-UserList{width:275px;height:100%;background-color:#eae8e7;display:flex;flex-direction:column;align-items:center}.wechat-SearchBar{height:60px;width:100%;background-color:#f7f7f7;--wails-draggable:drag}.wechat-SearchBar-Input{height:26px;width:240px;background-color:#e6e6e6;margin-top:22px;--wails-draggable:no-drag}.wechat-UserList-Items{width:100%;height:calc(100% - 60px);overflow:auto}.wechat-UserItem{display:flex;justify-content:space-between;height:64px}.wechat-UserItem{transition:background-color .3s ease}.wechat-UserItem:hover{background-color:#dcdad9}.wechat-UserItem:focus{background-color:#c9c8c6}.selectedItem{background-color:#c9c8c6}.wechat-UserItem-content-Avatar{margin:5px}.wechat-UserItem-content{width:55%;display:flex;flex-direction:column;justify-content:space-between}.wechat-UserItem-content-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}.wechat-UserItem-content-name{color:#000;font-size:.9rem;margin-top:12px;font-weight:500}.wechat-UserItem-content-msg{color:#999;font-size:80%;margin-bottom:10px}.wechat-UserItem-date{color:#999;font-size:80%;margin-top:12px;margin-right:9px}.wechat-ContactItem{display:flex;justify-content:flex-start}.wechat-ContactItem-content{display:flex;flex-direction:column;flex-grow:1;justify-content:center}.wechat-ContactItem-content>.wechat-UserItem-content-text{margin-top:0;margin-left:.5rem}.wechat-UserList-Loading{margin-top:80px}.MessageModal{background-color:#fff;position:fixed;top:33%;left:50%;transform:translate(-50%,-50%);border-radius:5px;box-shadow:2px 2px 2px #a2a2a2}.MessageModal-Overlay{position:fixed;top:0;left:0;right:0;bottom:0}.MessageModal-content{display:flex;flex-direction:column;align-items:center;padding:20px}.MessageModal-button{margin-top:10px}.Setting-Modal{width:500px;background-color:#f5f5f5;position:fixed;top:35%;left:50%;transform:translate(-50%,-50%);padding:20px;border-radius:5px;box-shadow:2px 2px 2px #a2a2a2}.Setting-Modal-Overlay{position:fixed;top:0;left:0;right:0;bottom:0}.WechatInfoTable{display:flex;flex-direction:column;font-size:.9rem;border-top:1px solid #b9b9b9}.WechatInfoTable-column{display:flex;margin-top:8px;max-width:100%}.WechatInfoTable-column-tag{margin-left:8px;max-width:50%;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.checkUpdateButtom,.WechatInfoTable-column-tag-buttom{cursor:pointer}.Setting-Modal-export-button{margin-top:10px}.Setting-Modal-button{position:absolute;top:10px;right:10px;padding:5px 10px;border:none;cursor:pointer}.Setting-Modal-confirm{background-color:#f5f5f5;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);padding:20px;border-radius:5px;box-shadow:2px 2px 2px #a2a2a2}.Setting-Modal-confirm-Overlay{position:fixed;top:0;left:0;right:0;bottom:0}.Setting-Modal-confirm-title{text-align:center}.Setting-Modal-confirm-buttons{display:flex;gap:10px}.Setting-Modal-updateInfoWindow{background-color:#fff;position:fixed;top:33%;left:50%;transform:translate(-50%,-50%);border-radius:5px;box-shadow:2px 2px 2px #a2a2a2}.Setting-Modal-updateInfoWindow-Overlay{position:fixed;top:0;left:0;right:0;bottom:0}.Setting-Modal-updateInfoWindow-content{display:flex;flex-direction:column;align-items:center;padding:20px}.Setting-Modal-updateInfoWindow-button{margin-top:10px}.Setting-Modal-Select{display:flex;gap:10px;align-items:center;margin-bottom:8px}.Setting-Modal-Select-Text{font-size:1rem;font-weight:900}.UserSwitch-Modal{background-color:#fff;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);padding:20px;border-radius:5px;box-shadow:2px 2px 2px #a2a2a2}.UserSwitch-Modal-Overlay{position:fixed;top:0;left:0;right:0;bottom:0}.Setting-Modal-button{display:flex;justify-content:end}.UserSwitch-Modal-title{text-align:center;font-weight:900;margin-bottom:20px}.UserSwitch-Modal-buttons{margin-top:10px;display:flex;gap:10px}.UserSwitch-Modal-content{display:flex;flex-direction:column;gap:10px}.UserInfoItem{display:flex;background-color:#f7f7f7;width:500px;border-radius:5px;padding:8px;gap:10px}.UserInfoItem:hover{background-color:#ebebeb}.UserInfoItem-Info{display:flex;flex-direction:column;flex-grow:1;justify-content:space-between}.UserInfoItem-Info-part1{display:flex;justify-content:space-between}.UserInfoItem-Info-Nickname{font-size:1rem;font-weight:800}.UserInfoItem-Info-acountName{font-size:.9rem}.UserInfLine truncated
|
||||||
-353
@@ -1,353 +0,0 @@
|
|||||||
function PS(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const o in r)if(o!=="default"&&!(o in e)){const i=Object.getOwnPropertyDescriptor(r,o);i&&Object.defineProperty(e,o,i.get?i:{enumerable:!0,get:()=>r[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerpolicy&&(i.referrerPolicy=o.referrerpolicy),o.crossorigin==="use-credentials"?i.credentials="include":o.crossorigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();var Kr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Td(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function LO(e){var t=e.default;if(typeof t=="function"){var n=function(){return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var p={exports:{}},gt={};/**
|
|
||||||
* @license React
|
|
||||||
* react.production.min.js
|
|
||||||
*
|
|
||||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
||||||
*
|
|
||||||
* This source code is licensed under the MIT license found in the
|
|
||||||
* LICENSE file in the root directory of this source tree.
|
|
||||||
*/var qs=Symbol.for("react.element"),FO=Symbol.for("react.portal"),kO=Symbol.for("react.fragment"),zO=Symbol.for("react.strict_mode"),BO=Symbol.for("react.profiler"),jO=Symbol.for("react.provider"),HO=Symbol.for("react.context"),WO=Symbol.for("react.forward_ref"),VO=Symbol.for("react.suspense"),UO=Symbol.for("react.memo"),YO=Symbol.for("react.lazy"),T0=Symbol.iterator;function GO(e){return e===null||typeof e!="object"?null:(e=T0&&e[T0]||e["@@iterator"],typeof e=="function"?e:null)}var TS={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},NS=Object.assign,AS={};function ll(e,t,n){this.props=e,this.context=t,this.refs=AS,this.updater=n||TS}ll.prototype.isReactComponent={};ll.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};ll.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function _S(){}_S.prototype=ll.prototype;function ym(e,t,n){this.props=e,this.context=t,this.refs=AS,this.updater=n||TS}var bm=ym.prototype=new _S;bm.constructor=ym;NS(bm,ll.prototype);bm.isPureReactComponent=!0;var N0=Array.isArray,DS=Object.prototype.hasOwnProperty,Sm={current:null},LS={key:!0,ref:!0,__self:!0,__source:!0};function FS(e,t,n){var r,o={},i=null,a=null;if(t!=null)for(r in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(i=""+t.key),t)DS.call(t,r)&&!LS.hasOwnProperty(r)&&(o[r]=t[r]);var l=arguments.length-2;if(l===1)o.children=n;else if(1<l){for(var s=Array(l),c=0;c<l;c++)s[c]=arguments[c+2];o.children=s}if(e&&e.defaultProps)for(r in l=e.defaultProps,l)o[r]===void 0&&(o[r]=l[r]);return{$$typeof:qs,type:e,key:i,ref:a,props:o,_owner:Sm.current}}function KO(e,t){return{$$typeof:qs,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Cm(e){return typeof e=="object"&&e!==null&&e.$$typeof===qs}function qO(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var A0=/\/+/g;function Xf(e,t){return typeof e=="object"&&e!==null&&e.key!=null?qO(""+e.key):t.toString(36)}function ru(e,t,n,r,o){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var a=!1;if(e===null)a=!0;else switch(i){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case qs:case FO:a=!0}}if(a)return a=e,o=o(a),e=r===""?"."+Xf(a,0):r,N0(o)?(n="",e!=null&&(n=e.replace(A0,"$&/")+"/"),ru(o,t,n,"",function(c){return c})):o!=null&&(Cm(o)&&(o=KO(o,n+(!o.key||a&&a.key===o.key?"":(""+o.key).replace(A0,"$&/")+"/")+e)),t.push(o)),1;if(a=0,r=r===""?".":r+":",N0(e))for(var l=0;l<e.length;l++){i=e[l];var s=r+Xf(i,l);a+=ru(i,t,n,s,o)}else if(s=GO(e),typeof s=="function")for(e=s.call(e),l=0;!(i=e.next()).done;)i=i.value,s=r+Xf(i,l++),a+=ru(i,t,n,s,o);else if(i==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return a}function Sc(e,t,n){if(e==null)return e;var r=[],o=0;return ru(e,r,"","",function(i){return t.call(n,i,o++)}),r}function XO(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var kn={current:null},ou={transition:null},QO={ReactCurrentDispatcher:kn,ReactCurrentBatchConfig:ou,ReactCurrentOwner:Sm};gt.Children={map:Sc,forEach:function(e,t,n){Sc(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Sc(e,function(){t++}),t},toArray:function(e){return Sc(e,function(t){return t})||[]},only:function(e){if(!Cm(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};gt.Component=ll;gt.Fragment=kO;gt.Profiler=BO;gt.PureComponent=ym;gt.StrictMode=zO;gt.Suspense=VO;gt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=QO;gt.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=NS({},e.props),o=e.key,i=e.ref,a=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,a=Sm.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(s in t)DS.call(t,s)&&!LS.hasOwnProperty(s)&&(r[s]=t[s]===void 0&&l!==void 0?l[s]:t[s])}var s=arguments.length-2;if(s===1)r.children=n;else if(1<s){l=Array(s);for(var c=0;c<s;c++)l[c]=arguments[c+2];r.children=l}return{$$typeof:qs,type:e.type,key:o,ref:i,props:r,_owner:a}};gt.createContext=function(e){return e={$$typeof:HO,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:jO,_conLine truncated
|
|
||||||
* @license React
|
|
||||||
* scheduler.production.min.js
|
|
||||||
*
|
|
||||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
||||||
*
|
|
||||||
* This source code is licensed under the MIT license found in the
|
|
||||||
* LICENSE file in the root directory of this source tree.
|
|
||||||
*/(function(e){function t(O,L){var _=O.length;O.push(L);e:for(;0<_;){var B=_-1>>>1,z=O[B];if(0<o(z,L))O[B]=L,O[_]=z,_=B;else break e}}function n(O){return O.length===0?null:O[0]}function r(O){if(O.length===0)return null;var L=O[0],_=O.pop();if(_!==L){O[0]=_;e:for(var B=0,z=O.length,j=z>>>1;B<j;){var H=2*(B+1)-1,W=O[H],Y=H+1,K=O[Y];if(0>o(W,_))Y<z&&0>o(K,W)?(O[B]=K,O[Y]=_,B=Y):(O[B]=W,O[H]=_,B=H);else if(Y<z&&0>o(K,_))O[B]=K,O[Y]=_,B=Y;else break e}}return L}function o(O,L){var _=O.sortIndex-L.sortIndex;return _!==0?_:O.id-L.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var a=Date,l=a.now();e.unstable_now=function(){return a.now()-l}}var s=[],c=[],u=1,d=null,f=3,m=!1,h=!1,v=!1,b=typeof setTimeout=="function"?setTimeout:null,g=typeof clearTimeout=="function"?clearTimeout:null,y=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function S(O){for(var L=n(c);L!==null;){if(L.callback===null)r(c);else if(L.startTime<=O)r(c),L.sortIndex=L.expirationTime,t(s,L);else break;L=n(c)}}function x(O){if(v=!1,S(O),!h)if(n(s)!==null)h=!0,A($);else{var L=n(c);L!==null&&M(x,L.startTime-O)}}function $(O,L){h=!1,v&&(v=!1,g(R),R=-1),m=!0;var _=f;try{for(S(L),d=n(s);d!==null&&(!(d.expirationTime>L)||O&&!I());){var B=d.callback;if(typeof B=="function"){d.callback=null,f=d.priorityLevel;var z=B(d.expirationTime<=L);L=e.unstable_now(),typeof z=="function"?d.callback=z:d===n(s)&&r(s),S(L)}else r(s);d=n(s)}if(d!==null)var j=!0;else{var H=n(c);H!==null&&M(x,H.startTime-L),j=!1}return j}finally{d=null,f=_,m=!1}}var E=!1,w=null,R=-1,P=5,N=-1;function I(){return!(e.unstable_now()-N<P)}function F(){if(w!==null){var O=e.unstable_now();N=O;var L=!0;try{L=w(!0,O)}finally{L?k():(E=!1,w=null)}}else E=!1}var k;if(typeof y=="function")k=function(){y(F)};else if(typeof MessageChannel<"u"){var T=new MessageChannel,D=T.port2;T.port1.onmessage=F,k=function(){D.postMessage(null)}}else k=function(){b(F,0)};function A(O){w=O,E||(E=!0,k())}function M(O,L){R=b(function(){O(e.unstable_now())},L)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(O){O.callback=null},e.unstable_continueExecution=function(){h||m||(h=!0,A($))},e.unstable_forceFrameRate=function(O){0>O||125<O?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):P=0<O?Math.floor(1e3/O):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return n(s)},e.unstable_next=function(O){switch(f){case 1:case 2:case 3:var L=3;break;default:L=f}var _=f;f=L;try{return O()}finally{f=_}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(O,L){switch(O){case 1:case 2:case 3:case 4:case 5:break;default:O=3}var _=f;f=O;try{return L()}finally{f=_}},e.unstable_scheduleCallback=function(O,L,_){var B=e.unstable_now();switch(typeof _=="object"&&_!==null?(_=_.delay,_=typeof _=="number"&&0<_?B+_:B):_=B,O){case 1:var z=-1;break;case 2:z=250;break;case 5:z=1073741823;break;case 4:z=1e4;break;default:z=5e3}return z=_+z,O={id:u++,callback:L,priorityLevel:O,startTime:_,expirationTime:z,sortIndex:-1},_>B?(O.sortIndex=_,t(c,O),n(s)===null&&O===n(c)&&(v?(g(R),R=-1):v=!0,M(x,_-B))):(O.sortIndex=z,t(s,O),h||m||(h=!0,A($))),O},e.unstable_shouldYield=I,e.unstable_wrapCallback=function(O){var L=f;return function(){var _=f;f=L;try{return O.apply(this,arguments)}finally{f=_}}}})(zS);(function(e){e.exports=zS})(kS);/**
|
|
||||||
* @license React
|
|
||||||
* react-dom.production.min.js
|
|
||||||
*
|
|
||||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
||||||
*
|
|
||||||
* This source code is licensed under the MIT license found in the
|
|
||||||
* LICENSE file in the root directory of this source tree.
|
|
||||||
*/var BS=p.exports,cr=kS.exports;function ye(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var jS=new Set,hs={};function Gi(e,t){Ga(e,t),Ga(e+"Capture",t)}function Ga(e,t){for(hs[e]=t,e=0;e<t.length;e++)jS.add(t[e])}var xo=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),cv=Object.prototype.hasOwnProperty,ZO=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,_0={},D0={};function JO(e){return cv.call(D0,e)?!0:cv.call(_0,e)?!1:ZO.test(e)?D0[e]=!0:(_0[e]=!0,!1)}function eM(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function tM(e,t,n,r){if(t===null||typeof t>"u"||eM(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function zn(e,t,n,r,o,i,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var wn={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){wn[e]=new zn(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];wn[t]=new zn(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){wn[e]=new zn(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){wn[e]=new zn(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){wn[e]=new zn(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){wn[e]=new zn(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){wn[e]=new zn(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){wn[e]=new zn(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){wn[e]=new zn(e,5,!1,e.toLowerCase(),null,!1,!1)});var xm=/[\-:]([a-z])/g;function wm(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(xm,wm);wn[t]=new zn(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(xm,wm);wn[t]=new zn(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(xm,wm);wn[t]=new zn(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){wn[e]=new zn(e,1,!1,e.toLowerCase(),null,!1,!1)});wn.xlinkHref=new zn("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){wn[e]=new zn(e,1,!1,e.toLowerCase(),null,!0,!0)});function $m(e,t,n,r){var o=wn.hasOwnProperty(t)?wn[t]:null;(o!==null?o.type!==0:r||!(2<t.length)||t[0
Line truncated
|
|
||||||
`+Qf+e}var Zf=!1;function Jf(e,t){if(!e||Zf)return"";Zf=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(c){var r=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){r=c}e.call(t.prototype)}else{try{throw Error()}catch(c){r=c}e()}}catch(c){if(c&&r&&typeof c.stack=="string"){for(var o=c.stack.split(`
|
|
||||||
`),i=r.stack.split(`
|
|
||||||
`),a=o.length-1,l=i.length-1;1<=a&&0<=l&&o[a]!==i[l];)l--;for(;1<=a&&0<=l;a--,l--)if(o[a]!==i[l]){if(a!==1||l!==1)do if(a--,l--,0>l||o[a]!==i[l]){var s=`
|
|
||||||
`+o[a].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}while(1<=a&&0<=l);break}}}finally{Zf=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Hl(e):""}function nM(e){switch(e.tag){case 5:return Hl(e.type);case 16:return Hl("Lazy");case 13:return Hl("Suspense");case 19:return Hl("SuspenseList");case 0:case 2:case 15:return e=Jf(e.type,!1),e;case 11:return e=Jf(e.type.render,!1),e;case 1:return e=Jf(e.type,!0),e;default:return""}}function pv(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case ba:return"Fragment";case ya:return"Portal";case uv:return"Profiler";case Em:return"StrictMode";case dv:return"Suspense";case fv:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case WS:return(e.displayName||"Context")+".Consumer";case HS:return(e._context.displayName||"Context")+".Provider";case Om:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Mm:return t=e.displayName||null,t!==null?t:pv(e.type)||"Memo";case Fo:t=e._payload,e=e._init;try{return pv(e(t))}catch{}}return null}function rM(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return pv(t);case 8:return t===Em?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function ri(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function US(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function oM(e){var t=US(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(a){r=""+a,i.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function xc(e){e._valueTracker||(e._valueTracker=oM(e))}function YS(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=US(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Nu(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function vv(e,t){var n=t.checked;return Ut({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n!=null?n:e._wrapperState.initialChecked})}function F0(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=ri(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function GS(e,t){t=t.checked,t!=null&&$m(e,"checked",t,!1)}function hv(e,t){GS(e,t);var n=ri(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?mv(e,t.type,n):t.hasOwnProperty("defaultValue")&&mv(e,t.type,ri(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function k0(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function mv(e,t,n){(t!=="number"||Nu(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Wl=Array.isArray;function La(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+ri(n),t=null,o=0;o<e.length;o++){if(e[o].value===n){e[o].selected=!0,r&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function gv(e,t){i
Line truncated
|
|
||||||
`).replace(vR,"")}function Pc(e,t,n){if(t=ly(t),ly(e)!==t&&n)throw Error(ye(425))}function Bu(){}var Pv=null,Tv=null;function Nv(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Av=typeof setTimeout=="function"?setTimeout:void 0,hR=typeof clearTimeout=="function"?clearTimeout:void 0,sy=typeof Promise=="function"?Promise:void 0,mR=typeof queueMicrotask=="function"?queueMicrotask:typeof sy<"u"?function(e){return sy.resolve(null).then(e).catch(gR)}:Av;function gR(e){setTimeout(function(){throw e})}function fp(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===8)if(n=o.data,n==="/$"){if(r===0){e.removeChild(o),Ss(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);Ss(t)}function Xo(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function cy(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var cl=Math.random().toString(36).slice(2),no="__reactFiber$"+cl,Es="__reactProps$"+cl,wo="__reactContainer$"+cl,_v="__reactEvents$"+cl,yR="__reactListeners$"+cl,bR="__reactHandles$"+cl;function Ei(e){var t=e[no];if(t)return t;for(var n=e.parentNode;n;){if(t=n[wo]||n[no]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=cy(e);e!==null;){if(n=e[no])return n;e=cy(e)}return t}e=n,n=e.parentNode}return null}function Js(e){return e=e[no]||e[wo],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function wa(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(ye(33))}function Ld(e){return e[Es]||null}var Dv=[],$a=-1;function pi(e){return{current:e}}function zt(e){0>$a||(e.current=Dv[$a],Dv[$a]=null,$a--)}function Dt(e,t){$a++,Dv[$a]=e.current,e.current=t}var oi={},Pn=pi(oi),Gn=pi(!1),ki=oi;function Ka(e,t){var n=e.type.contextTypes;if(!n)return oi;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Kn(e){return e=e.childContextTypes,e!=null}function ju(){zt(Gn),zt(Pn)}function uy(e,t,n){if(Pn.current!==oi)throw Error(ye(168));Dt(Pn,t),Dt(Gn,n)}function DC(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(ye(108,rM(e)||"Unknown",o));return Ut({},n,r)}function Hu(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||oi,ki=Pn.current,Dt(Pn,e),Dt(Gn,Gn.current),!0}function dy(e,t,n){var r=e.stateNode;if(!r)throw Error(ye(169));n?(e=DC(e,t,ki),r.__reactInternalMemoizedMergedChildContext=e,zt(Gn),zt(Pn),Dt(Pn,e)):zt(Gn),Dt(Gn,n)}var mo=null,Fd=!1,pp=!1;function LC(e){mo===null?mo=[e]:mo.push(e)}function SR(e){Fd=!0,LC(e)}function vi(){if(!pp&&mo!==null){pp=!0;var e=0,t=It;try{var n=mo;for(It=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}mo=null,Fd=!1}catch(o){throw mo!==null&&(mo=mo.slice(e+1)),lC(Im,vi),o}finally{It=t,pp=!1}}return null}var Ea=[],Oa=0,Wu=null,Vu=0,yr=[],br=0,zi=null,bo=1,So="";function bi(e,t){Ea[Oa++]=Vu,Ea[Oa++]=Wu,Wu=e,Vu=t}function FC(e,t,n){yr[br++]=bo,yr[br++]=So,yr[br++]=zi,zi=e;var r=bo;e=So;var o=32-zr(r)-1;r&=~(1<<o),n+=1;var i=32-zr(t)+o;if(30<i){var a=o-o%5;i=(r&(1<<a)-1).toString(32),r>>=a,o-=a,bo=1<<32-zr(t)+o|n<<o|r,So=i+e}else bo=1<<i|n<<o|r,So=e}function km(e){e.return!==null&&(bi(e,1),FC(e,1,0))}function zm(e){for(;e===Wu;)Wu=Ea[--Oa],Ea[Oa]=null,Vu=Ea[--Oa],Ea[Oa]=null;for(;e===zi;)zi=yr[--br],yr[br]=null,So=yr[--br],yr[br]=null,bo=yr[--br],yr[br]=null}var lr=null,ir=null,Bt=!1,kr=null;function kC(e,t){var n=Sr(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function fy(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,lr=e,ir=Xo(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,lr=e,ir=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=zi!==null?{id:bo,overflow:So}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Sr(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,lr=e,ir=null,!0):!1;default:return!1}}function Lv(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Fv(e){if(Bt){var t=ir;if(t){var n=t;if(!fy(e,t)){if(Lv(e))throw Error(ye(418));t=Xo(n.nextSibling);var r=lr;t&&fy(e,t)?kC(r,n):(e.flags=e.flags&-4097|2,Bt=!1,lr=e)}}else{if(Lv(e))throw Error(ye(418));e.flags=e.flags&-4097|2,Bt=!1,lr=e}}}function py(e){
Line truncated
|
|
||||||
Error generating stack: `+i.message+`
|
|
||||||
`+i.stack}return{value:e,source:t,stack:o,digest:null}}function yp(e,t,n){return{value:e,source:null,stack:n!=null?n:null,digest:t!=null?t:null}}function jv(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var IR=typeof WeakMap=="function"?WeakMap:Map;function fx(e,t,n){n=Co(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Zu||(Zu=!0,Qv=r),jv(e,t)},n}function px(e,t,n){n=Co(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){jv(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){jv(e,t),typeof r!="function"&&(Zo===null?Zo=new Set([this]):Zo.add(this));var a=t.stack;this.componentDidCatch(t.value,{componentStack:a!==null?a:""})}),n}function Cy(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new IR;var o=new Set;r.set(t,o)}else o=r.get(t),o===void 0&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=WR.bind(null,e,t,n),t.then(e,e))}function xy(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function wy(e,t,n,r,o){return(e.mode&1)===0?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Co(-1,1),t.tag=2,Qo(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var PR=Mo.ReactCurrentOwner,Yn=!1;function Dn(e,t,n,r){t.child=e===null?UC(t,null,n,r):Xa(t,e.child,n,r)}function $y(e,t,n,r,o){n=n.render;var i=t.ref;return Ba(t,o),r=Xm(e,t,n,r,i,o),n=Qm(),e!==null&&!Yn?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Eo(e,t,o)):(Bt&&n&&km(t),t.flags|=1,Dn(e,t,r,o),t.child)}function Ey(e,t,n,r,o){if(e===null){var i=n.type;return typeof i=="function"&&!lg(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,vx(e,t,i,r,o)):(e=vu(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,(e.lanes&o)===0){var a=i.memoizedProps;if(n=n.compare,n=n!==null?n:xs,n(a,r)&&e.ref===t.ref)return Eo(e,t,o)}return t.flags|=1,e=ei(i,r),e.ref=t.ref,e.return=t,t.child=e}function vx(e,t,n,r,o){if(e!==null){var i=e.memoizedProps;if(xs(i,r)&&e.ref===t.ref)if(Yn=!1,t.pendingProps=r=i,(e.lanes&o)!==0)(e.flags&131072)!==0&&(Yn=!0);else return t.lanes=e.lanes,Eo(e,t,o)}return Hv(e,t,n,r,o)}function hx(e,t,n){var r=t.pendingProps,o=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if((t.mode&1)===0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Dt(Ia,or),or|=n;else{if((n&1073741824)===0)return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Dt(Ia,or),or|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,Dt(Ia,or),or|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,Dt(Ia,or),or|=r;return Dn(e,t,o,n),t.child}function mx(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Hv(e,t,n,r,o){var i=Kn(n)?ki:Pn.current;return i=Ka(t,i),Ba(t,o),n=Xm(e,t,n,r,i,o),r=Qm(),e!==null&&!Yn?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Eo(e,t,o)):(Bt&&r&&km(t),t.flags|=1,Dn(e,t,n,o),t.child)}function Oy(e,t,n,r,o){if(Kn(n)){var i=!0;Hu(t)}else i=!1;if(Ba(t,o),t.stateNode===null)du(e,t),WC(t,n,r),Bv(t,n,r,o),r=!0;else if(e===null){var a=t.stateNode,l=t.memoizedProps;a.props=l;var s=a.context,c=n.contextType;typeof c=="object"&&c!==null?c=wr(c):(c=Kn(n)?ki:Pn.current,c=Ka(t,c));var u=n.getDerivedStateFromProps,d=typeof u=="function"||typeof a.getSnapshotBeforeUpdate=="function";d||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(l!==r||s!==c)&&gy(t,a,r,c),ko=!1;var f=t.memoizedState;a.state=f,Gu(t,r,a,o),s=t.memoizedState,l!==r||f!==s||Gn.current||ko?(typeof u=="function"&&(zv(t,n,u,r),s=t.memoizedState),(l=ko||my(t,n,l,r,f,s,c))?(d||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount=="function"&&(t.flags|=4194308)):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),a.props=r,a.state=s,a.context=c,r=l):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,jC(e,t),l=t.memoizedProps,c=t.type===t.elementType?l:Ar(t.type,l),a.props=c,d=t.pendingProps,f=a.context,s=n.contextType,typeof s=="object"&&s!==null?s=wr(s):(s=Kn(n)?ki:Pn.current,s=Ka(t,s));var m=n.getDerivedStateFromProps;(u=typeof m=="function"||typeof a.getSnapshotBeforeUpdate=="function")||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(l!==d||f!==s)&&gy(t,a,r,s),ko=!1,f=t.memoizedState,a.sta
Line truncated
|
|
||||||
* Adapted from jQuery UI core
|
|
||||||
*
|
|
||||||
* http://jqueryui.com
|
|
||||||
*
|
|
||||||
* Copyright 2014 jQuery Foundation and other contributors
|
|
||||||
* Released under the MIT license.
|
|
||||||
* http://jquery.org/license
|
|
||||||
*
|
|
||||||
* http://api.jqueryui.com/category/ui-core/
|
|
||||||
*/var n="none",r="contents",o=/input|select|textarea|button|object|iframe/;function i(d,f){return f.getPropertyValue("overflow")!=="visible"||d.scrollWidth<=0&&d.scrollHeight<=0}function a(d){var f=d.offsetWidth<=0&&d.offsetHeight<=0;if(f&&!d.innerHTML)return!0;try{var m=window.getComputedStyle(d),h=m.getPropertyValue("display");return f?h!==r&&i(d,m):h===n}catch{return console.warn("Failed to inspect element style"),!1}}function l(d){for(var f=d,m=d.getRootNode&&d.getRootNode();f&&f!==document.body;){if(m&&f===m&&(f=m.host.parentNode),a(f))return!1;f=f.parentNode}return!0}function s(d,f){var m=d.nodeName.toLowerCase(),h=o.test(m)&&!d.disabled||m==="a"&&d.href||f;return h&&l(d)}function c(d){var f=d.getAttribute("tabindex");f===null&&(f=void 0);var m=isNaN(f);return(m||f>=0)&&s(d,!m)}function u(d){var f=[].slice.call(d.querySelectorAll("*"),0).reduce(function(m,h){return m.concat(h.shadowRoot?u(h.shadowRoot):[h])},[]);return f.filter(c)}e.exports=t.default})(rd,rd.exports);Object.defineProperty(qr,"__esModule",{value:!0});qr.resetState=sI;qr.log=cI;qr.handleBlur=Ns;qr.handleFocus=As;qr.markForFocusLater=uI;qr.returnFocus=dI;qr.popWithoutFocus=fI;qr.setupScopedFocus=pI;qr.teardownScopedFocus=vI;var iI=rd.exports,aI=lI(iI);function lI(e){return e&&e.__esModule?e:{default:e}}var el=[],Pa=null,rh=!1;function sI(){el=[]}function cI(){}function Ns(){rh=!0}function As(){if(rh){if(rh=!1,!Pa)return;setTimeout(function(){if(!Pa.contains(document.activeElement)){var e=(0,aI.default)(Pa)[0]||Pa;e.focus()}},0)}}function uI(){el.push(document.activeElement)}function dI(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,t=null;try{el.length!==0&&(t=el.pop(),t.focus({preventScroll:e}));return}catch{console.warn(["You tried to return focus to",t,"but it is not in the DOM anymore"].join(" "))}}function fI(){el.length>0&&el.pop()}function pI(e){Pa=e,window.addEventListener?(window.addEventListener("blur",Ns,!1),document.addEventListener("focus",As,!0)):(window.attachEvent("onBlur",Ns),document.attachEvent("onFocus",As))}function vI(){Pa=null,window.addEventListener?(window.removeEventListener("blur",Ns),document.removeEventListener("focus",As)):(window.detachEvent("onBlur",Ns),document.detachEvent("onFocus",As))}var oh={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var n=rd.exports,r=o(n);function o(l){return l&&l.__esModule?l:{default:l}}function i(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;return l.activeElement.shadowRoot?i(l.activeElement.shadowRoot):l.activeElement}function a(l,s){var c=(0,r.default)(l);if(!c.length){s.preventDefault();return}var u=void 0,d=s.shiftKey,f=c[0],m=c[c.length-1],h=i();if(l===h){if(!d)return;u=m}if(m===h&&!d&&(u=f),f===h&&d&&(u=m),u){s.preventDefault(),u.focus();return}var v=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent),b=v!=null&&v[1]!="Chrome"&&/\biPod\b|\biPad\b/g.exec(navigator.userAgent)==null;if(!!b){var g=c.indexOf(h);if(g>-1&&(g+=d?-1:1),u=c[g],typeof u>"u"){s.preventDefault(),u=d?m:f,u.focus();return}s.preventDefault(),u.focus()}}e.exports=t.default})(oh,oh.exports);var Xr={},hI=function(){},mI=hI,jr={},Hx={exports:{}};/*!
|
|
||||||
Copyright (c) 2015 Jed Watson.
|
|
||||||
Based on code that is Copyright 2013-2015, Facebook, Inc.
|
|
||||||
All rights reserved.
|
|
||||||
*/(function(e){(function(){var t=!!(typeof window<"u"&&window.document&&window.document.createElement),n={canUseDOM:t,canUseWorkers:typeof Worker<"u",canUseEventListeners:t&&!!(window.addEventListener||window.attachEvent),canUseViewport:t&&!!window.screen};e.exports?e.exports=n:window.ExecutionEnvironment=n})()})(Hx);Object.defineProperty(jr,"__esModule",{value:!0});jr.canUseDOM=jr.SafeNodeList=jr.SafeHTMLCollection=void 0;var gI=Hx.exports,yI=bI(gI);function bI(e){return e&&e.__esModule?e:{default:e}}var Gd=yI.default,SI=Gd.canUseDOM?window.HTMLElement:{};jr.SafeHTMLCollection=Gd.canUseDOM?window.HTMLCollection:{};jr.SafeNodeList=Gd.canUseDOM?window.NodeList:{};jr.canUseDOM=Gd.canUseDOM;jr.default=SI;Object.defineProperty(Xr,"__esModule",{value:!0});Xr.resetState=EI;Xr.log=OI;Xr.assertNodeList=Wx;Xr.setElement=MI;Xr.validateElement=pg;Xr.hide=RI;Xr.show=II;Xr.documentNotReadyOrSSRTesting=PI;var CI=mI,xI=$I(CI),wI=jr;function $I(e){return e&&e.__esModule?e:{default:e}}var gr=null;function EI(){gr&&(gr.removeAttribute?gr.removeAttribute("aria-hidden"):gr.length!=null?gr.forEach(function(e){return e.removeAttribute("aria-hidden")}):document.querySelectorAll(gr).forEach(function(e){return e.removeAttribute("aria-hidden")})),gr=null}function OI(){}function Wx(e,t){if(!e||!e.length)throw new Error("react-modal: No elements were found for selector "+t+".")}function MI(e){var t=e;if(typeof t=="string"&&wI.canUseDOM){var n=document.querySelectorAll(t);Wx(n,t),t=n}return gr=t||gr,gr}function pg(e){var t=e||gr;return t?Array.isArray(t)||t instanceof HTMLCollection||t instanceof NodeList?t:[t]:((0,xI.default)(!1,["react-modal: App element is not defined.","Please use `Modal.setAppElement(el)` or set `appElement={el}`.","This is needed so screen readers don't see main content","when modal is opened. It is not recommended, but you can opt-out","by setting `ariaHideApp={false}`."].join(" ")),[])}function RI(e){var t=!0,n=!1,r=void 0;try{for(var o=pg(e)[Symbol.iterator](),i;!(t=(i=o.next()).done);t=!0){var a=i.value;a.setAttribute("aria-hidden","true")}}catch(l){n=!0,r=l}finally{try{!t&&o.return&&o.return()}finally{if(n)throw r}}}function II(e){var t=!0,n=!1,r=void 0;try{for(var o=pg(e)[Symbol.iterator](),i;!(t=(i=o.next()).done);t=!0){var a=i.value;a.removeAttribute("aria-hidden")}}catch(l){n=!0,r=l}finally{try{!t&&o.return&&o.return()}finally{if(n)throw r}}}function PI(){gr=null}var ul={};Object.defineProperty(ul,"__esModule",{value:!0});ul.resetState=TI;ul.log=NI;var is={},as={};function By(e,t){e.classList.remove(t)}function TI(){var e=document.getElementsByTagName("html")[0];for(var t in is)By(e,is[t]);var n=document.body;for(var r in as)By(n,as[r]);is={},as={}}function NI(){}var AI=function(t,n){return t[n]||(t[n]=0),t[n]+=1,n},_I=function(t,n){return t[n]&&(t[n]-=1),n},DI=function(t,n,r){r.forEach(function(o){AI(n,o),t.add(o)})},LI=function(t,n,r){r.forEach(function(o){_I(n,o),n[o]===0&&t.remove(o)})};ul.add=function(t,n){return DI(t.classList,t.nodeName.toLowerCase()=="html"?is:as,n.split(" "))};ul.remove=function(t,n){return LI(t.classList,t.nodeName.toLowerCase()=="html"?is:as,n.split(" "))};var dl={};Object.defineProperty(dl,"__esModule",{value:!0});dl.log=kI;dl.resetState=zI;function FI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var Vx=function e(){var t=this;FI(this,e),this.register=function(n){t.openInstances.indexOf(n)===-1&&(t.openInstances.push(n),t.emit("register"))},this.deregister=function(n){var r=t.openInstances.indexOf(n);r!==-1&&(t.openInstances.splice(r,1),t.emit("deregister"))},this.subscribe=function(n){t.subscribers.push(n)},this.emit=function(n){t.subscribers.forEach(function(r){return r(n,t.openInstances.slice())})},this.openInstances=[],this.subscribers=[]},od=new Vx;function kI(){console.log("portalOpenInstances ----------"),console.log(od.openInstances.length),od.openInstances.forEach(function(e){return console.log(e)}),console.log("end portalOpenInstances ----------")}function zI(){od=new Vx}dl.default=od;var vg={};Object.defineProperty(vg,"__esModule",{value:!0});vg.resetState=WI;vg.log=VI;var BI=dl,jI=HI(BI);function HI(e){return e&&e.__esModule?e:{default:e}}var On=void 0,_r=void 0,Di=[];function WI(){for(var e=[On,_r],t=0;t<e.length;t++){var n=e[t];!n||n.parentNode&&n.parentNode.removeChild(n)}On=_r=null,Di=[]}function VI(){console.log("bodyTrap ----------"),console.log(Di.length);for(var e=[On,_r],t=0;t<e.length;t++){var n=e[t],r=n||{};console.log(r.nodeName,r.className,r.id)}console.log("edn bodyTrap ----------")}function jy(){Di.length!==0&&Di[Di.length-1].focusContent()}function UI(e,t){!On&&!_r&&(On=document.createElement("div"),On.setAttribute("data-react-modal-body-trap",""),On.style.position="absolute",On.style.opacity="0",On.setAttribute("tabindex","0"),On.addEventListener("focus",jy),_r=On.cloneNode(),_r.addEventListener("focus",jy)),Di=t,Di.length>0?(document.body.firstChild!==On&&document.body.insertBefore(On,document.body.firstChilLine truncated
|
|
||||||
|
|
||||||
`+i+" uses "+a+" but also contains the following legacy lifecycles:"+(n!==null?`
|
|
||||||
`+n:"")+(r!==null?`
|
|
||||||
`+r:"")+(o!==null?`
|
|
||||||
`+o:"")+`
|
|
||||||
|
|
||||||
The above lifecycles should be removed. Learn more about this warning here:
|
|
||||||
https://fb.me/react-async-component-lifecycle-hooks`)}if(typeof e.getDerivedStateFromProps=="function"&&(t.componentWillMount=Ux,t.componentWillReceiveProps=Yx),typeof t.getSnapshotBeforeUpdate=="function"){if(typeof t.componentDidUpdate!="function")throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=Gx;var l=t.componentDidUpdate;t.componentDidUpdate=function(c,u,d){var f=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:d;l.call(this,c,u,f)}}return e}const GI=Object.freeze(Object.defineProperty({__proto__:null,polyfill:YI},Symbol.toStringTag,{value:"Module"})),KI=LO(GI);Object.defineProperty(Wi,"__esModule",{value:!0});Wi.bodyOpenClassName=Wi.portalClassName=void 0;var Hy=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},qI=function(){function e(t,n){for(var r=0;r<n.length;r++){var o=n[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),Kx=p.exports,id=tc(Kx),XI=Qn.exports,ad=tc(XI),QI=fg.exports,ot=tc(QI),ZI=nh.exports,Wy=tc(ZI),JI=Xr,eP=nP(JI),Wo=jr,Vy=tc(Wo),tP=KI;function nP(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function tc(e){return e&&e.__esModule?e:{default:e}}function rP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Uy(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function oP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var iP=Wi.portalClassName="ReactModalPortal",aP=Wi.bodyOpenClassName="ReactModal__Body--open",Ci=Wo.canUseDOM&&ad.default.createPortal!==void 0,Yy=function(t){return document.createElement(t)},Gy=function(){return Ci?ad.default.createPortal:ad.default.unstable_renderSubtreeIntoContainer};function Fc(e){return e()}var nc=function(e){oP(t,e);function t(){var n,r,o,i;rP(this,t);for(var a=arguments.length,l=Array(a),s=0;s<a;s++)l[s]=arguments[s];return i=(r=(o=Uy(this,(n=t.__proto__||Object.getPrototypeOf(t)).call.apply(n,[this].concat(l))),o),o.removePortal=function(){!Ci&&ad.default.unmountComponentAtNode(o.node);var c=Fc(o.props.parentSelector);c&&c.contains(o.node)?c.removeChild(o.node):console.warn('React-Modal: "parentSelector" prop did not returned any DOM element. Make sure that the parent element is unmounted to avoid any memory leaks.')},o.portalRef=function(c){o.portal=c},o.renderPortal=function(c){var u=Gy(),d=u(o,id.default.createElement(Wy.default,Hy({defaultStyles:t.defaultStyles},c)),o.node);o.portalRef(d)},r),Uy(o,i)}return qI(t,[{key:"componentDidMount",value:function(){if(!!Wo.canUseDOM){Ci||(this.node=Yy("div")),this.node.className=this.props.portalClassName;var r=Fc(this.props.parentSelector);r.appendChild(this.node),!Ci&&this.renderPortal(this.props)}}},{key:"getSnapshotBeforeUpdate",value:function(r){var o=Fc(r.parentSelector),i=Fc(this.props.parentSelector);return{prevParent:o,nextParent:i}}},{key:"componentDidUpdate",value:function(r,o,i){if(!!Wo.canUseDOM){var a=this.props,l=a.isOpen,s=a.portalClassName;r.portalClassName!==s&&(this.node.className=s);var c=i.prevParent,u=i.nextParent;u!==c&&(c.removeChild(this.node),u.appendChild(this.node)),!(!r.isOpen&&!l)&&!Ci&&this.renderPortal(this.props)}}},{key:"componentWillUnmount",value:function(){if(!(!Wo.canUseDOM||!this.node||!this.portal)){var r=this.portal.state,o=Date.now(),i=r.isOpen&&this.props.closeTimeoutMS&&(r.closesAt||o+this.props.closeTimeoutMS);i?(r.beforeClose||this.portal.closeWithTimeout(),setTimeout(this.removePortal,i-o)):this.removePortal()}}},{key:"render",value:function(){if(!Wo.canUseDOM||!Ci)return null;!this.node&&Ci&&(this.node=Yy("div"));var r=Gy();return r(id.default.createElement(Wy.default,Hy({ref:this.portalRef,defaultStyles:t.defaultStyles},this.props)),this.node)}}],[{key:"setAppElement",value:function(r){eP.setElement(r)}}]),t}(Kx.Component);nc.propTypes={isOpen:ot.default.bool.isRequired,style:ot.default.shape({content:ot.default.object,overlay:ot.default.object}),portalClassName:ot.default.string,bodyOpenClassName:ot.default.string,htmlOpenClassName:ot.default.string,className:ot.default.oneOfType([ot.default.string,ot.default.shape({base:ot.default.string.isRequired,afterOpen:ot.default.string.isRequired,beforeClose:ot.default.string.isRequired})]),overlayClassName:ot.default.oneOfType([ot.default.string,ot.default.shape({bas
Line truncated
|
|
||||||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function G(e,t){return qx(e)||sP(e,t)||mg(e,t)||Xx()}function Ze(e){return Ze=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},Ze(e)}function cP(e,t){if(Ze(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(Ze(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Qx(e){var t=cP(e,"string");return Ze(t)=="symbol"?t:String(t)}function V(e,t,n){return t=Qx(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function uP(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i<r.length;i++)o=r[i],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function et(e,t){if(e==null)return{};var n=uP(e,t),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(n[r]=e[r]))}return n}var Zx={exports:{}};/*!
|
|
||||||
Copyright (c) 2018 Jed Watson.
|
|
||||||
Licensed under the MIT License (MIT), see
|
|
||||||
http://jedwatson.github.io/classnames
|
|
||||||
*/(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var i="",a=0;a<arguments.length;a++){var l=arguments[a];l&&(i=o(i,r(l)))}return i}function r(i){if(typeof i=="string"||typeof i=="number")return i;if(typeof i!="object")return"";if(Array.isArray(i))return n.apply(null,i);if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]"))return i.toString();var a="";for(var l in i)t.call(i,l)&&i[l]&&(a=o(a,l));return a}function o(i,a){return a?i?i+" "+a:i+a:i}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(Zx);const te=Zx.exports;function xn(e,t){dP(e)&&(e="100%");var n=fP(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 kc(e){return Math.min(1,Math.max(0,e))}function dP(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function fP(e){return typeof e=="string"&&e.indexOf("%")!==-1}function Jx(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function zc(e){return e<=1?"".concat(Number(e)*100,"%"):e}function Ri(e){return e.length===1?"0"+e:String(e)}function pP(e,t,n){return{r:xn(e,255)*255,g:xn(t,255)*255,b:xn(n,255)*255}}function Ky(e,t,n){e=xn(e,255),t=xn(t,255),n=xn(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),i=0,a=0,l=(r+o)/2;if(r===o)a=0,i=0;else{var s=r-o;switch(a=l>.5?s/(2-r-o):s/(r+o),r){case e:i=(t-n)/s+(t<n?6:0);break;case t:i=(n-e)/s+2;break;case n:i=(e-t)/s+4;break}i/=6}return{h:i,s:a,l}}function xp(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function vP(e,t,n){var r,o,i;if(e=xn(e,360),t=xn(t,100),n=xn(n,100),t===0)o=n,i=n,r=n;else{var a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;r=xp(l,a,e+1/3),o=xp(l,a,e),i=xp(l,a,e-1/3)}return{r:r*255,g:o*255,b:i*255}}function ah(e,t,n){e=xn(e,255),t=xn(t,255),n=xn(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),i=0,a=r,l=r-o,s=r===0?0:l/r;if(r===o)i=0;else{switch(r){case e:i=(t-n)/l+(t<n?6:0);break;case t:i=(n-e)/l+2;break;case n:i=(e-t)/l+4;break}i/=6}return{h:i,s,v:a}}function hP(e,t,n){e=xn(e,360)*6,t=xn(t,100),n=xn(n,100);var r=Math.floor(e),o=e-r,i=n*(1-t),a=n*(1-o*t),l=n*(1-(1-o)*t),s=r%6,c=[n,a,i,i,l,n][s],u=[l,n,n,a,i,i][s],d=[i,i,l,n,n,a][s];return{r:c*255,g:u*255,b:d*255}}function lh(e,t,n,r){var o=[Ri(Math.round(e).toString(16)),Ri(Math.round(t).toString(16)),Ri(Math.round(n).toString(16))];return r&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function mP(e,t,n,r,o){var i=[Ri(Math.round(e).toString(16)),Ri(Math.round(t).toString(16)),Ri(Math.round(n).toString(16)),Ri(gP(r))];return o&&i[0].startsWith(i[0].charAt(1))&&i[1].startsWith(i[1].charAt(1))&&i[2].startsWith(i[2].charAt(1))&&i[3].startsWith(i[3].charAt(1))?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0):i.join("")}function gP(e){return Math.round(parseFloat(e)*255).toString(16)}function qy(e){return rr(e)/255}function rr(e){return parseInt(e,16)}function yP(e){return{r:e>>16,g:(e&65280)>>8,b:e&255}}var sh={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:"#9Line truncated
|
|
||||||
.anticon {
|
|
||||||
display: inline-block;
|
|
||||||
color: inherit;
|
|
||||||
font-style: normal;
|
|
||||||
line-height: 0;
|
|
||||||
text-align: center;
|
|
||||||
text-transform: none;
|
|
||||||
vertical-align: -0.125em;
|
|
||||||
text-rendering: optimizeLegibility;
|
|
||||||
-webkit-font-smoothing: antialiased;
|
|
||||||
-moz-osx-font-smoothing: grayscale;
|
|
||||||
}
|
|
||||||
|
|
||||||
.anticon > * {
|
|
||||||
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);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
`,zP=function(t){var n=p.exports.useContext(hg),r=n.csp,o=n.prefixCls,i=kP;o&&(i=i.replace(/anticon/g,o)),p.exports.useEffect(function(){var a=t.current,l=ld(a);ii(i,"@ant-design-icons",{prepend:!0,csp:r,attachTo:l})},[])},BP=["icon","className","onClick","style","primaryColor","secondaryColor"],ls={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function jP(e){var t=e.primaryColor,n=e.secondaryColor;ls.primaryColor=t,ls.secondaryColor=n||sw(t),ls.calculated=!!n}function HP(){return U({},ls)}var qd=function(t){var n=t.icon,r=t.className,o=t.onClick,i=t.style,a=t.primaryColor,l=t.secondaryColor,s=et(t,BP),c=p.exports.useRef(),u=ls;if(a&&(u={primaryColor:a,secondaryColor:l||sw(a)}),zP(c),FP(ob(n),"icon should be icon definiton, but got ".concat(n)),!ob(n))return null;var d=n;return d&&typeof d.icon=="function"&&(d=U(U({},d),{},{icon:d.icon(u.primaryColor,u.secondaryColor)})),fh(d.icon,"svg-".concat(d.name),U(U({className:r,onClick:o,style:i,"data-icon":d.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},s),{},{ref:c}))};qd.displayName="IconReact";qd.getTwoToneColors=HP;qd.setTwoToneColors=jP;const yg=qd;function uw(e){var t=cw(e),n=G(t,2),r=n[0],o=n[1];return yg.setTwoToneColors({primaryColor:r,secondaryColor:o})}function WP(){var e=yg.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}var Xd={exports:{}},Qd={};/**
|
|
||||||
* @license React
|
|
||||||
* react-jsx-runtime.production.min.js
|
|
||||||
*
|
|
||||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
||||||
*
|
|
||||||
* This source code is licensed under the MIT license found in the
|
|
||||||
* LICENSE file in the root directory of this source tree.
|
|
||||||
*/var VP=p.exports,UP=Symbol.for("react.element"),YP=Symbol.for("react.fragment"),GP=Object.prototype.hasOwnProperty,KP=VP.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,qP={key:!0,ref:!0,__self:!0,__source:!0};function dw(e,t,n){var r,o={},i=null,a=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(a=t.ref);for(r in t)GP.call(t,r)&&!qP.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)o[r]===void 0&&(o[r]=t[r]);return{$$typeof:UP,type:e,key:i,ref:a,props:o,_owner:KP.current}}Qd.Fragment=YP;Qd.jsx=dw;Qd.jsxs=dw;(function(e){e.exports=Qd})(Xd);const At=Xd.exports.Fragment,C=Xd.exports.jsx,oe=Xd.exports.jsxs;var XP=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];uw(MP.primary);var Zd=p.exports.forwardRef(function(e,t){var n=e.className,r=e.icon,o=e.spin,i=e.rotate,a=e.tabIndex,l=e.onClick,s=e.twoToneColor,c=et(e,XP),u=p.exports.useContext(hg),d=u.prefixCls,f=d===void 0?"anticon":d,m=u.rootClassName,h=te(m,f,V(V({},"".concat(f,"-").concat(r.name),!!r.name),"".concat(f,"-spin"),!!o||r.name==="loading"),n),v=a;v===void 0&&l&&(v=-1);var b=i?{msTransform:"rotate(".concat(i,"deg)"),transform:"rotate(".concat(i,"deg)")}:void 0,g=cw(s),y=G(g,2),S=y[0],x=y[1];return C("span",{role:"img","aria-label":r.name,...c,ref:t,tabIndex:v,onClick:l,className:h,children:C(yg,{icon:r,primaryColor:S,secondaryColor:x,style:b})})});Zd.displayName="AntdIcon";Zd.getTwoToneColor=WP;Zd.setTwoToneColor=uw;const Mt=Zd;var QP={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H212V212h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H612V212h200v200zM464 544H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H212V612h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H612V612h200v200z"}}]},name:"appstore",theme:"outlined"};const ZP=QP;var JP=function(t,n){return C(Mt,{...t,ref:n,icon:ZP})};const e4=p.exports.forwardRef(JP);var t4={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M842 454c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 140.3-113.7 254-254 254S258 594.3 258 454c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 168.7 126.6 307.9 290 327.6V884H326.7c-13.7 0-24.7 14.3-24.7 32v36c0 4.4 2.8 8 6.2 8h407.6c3.4 0 6.2-3.6 6.2-8v-36c0-17.7-11-32-24.7-32H548V782.1c165.3-18 294-158 294-328.1zM512 624c93.9 0 170-75.2 170-168V232c0-92.8-76.1-168-170-168s-170 75.2-170 168v224c0 92.8 76.1 168 170 168zm-94-392c0-50.6 41.9-92 94-92s94 41.4 94 92v224c0 50.6-41.9 92-94 92s-94-41.4-94-92V232z"}}]},name:"audio",theme:"outlined"};const n4=t4;var r4=function(t,n){return C(Mt,{...t,ref:n,icon:n4})};const o4=p.exports.forwardRef(r4);var i4={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 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"};const a4=i4;var l4=function(t,n){return C(Mt,{...t,ref:n,icon:a4})};const s4=p.exports.forwardRef(l4);var c4={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"};const u4=c4;var d4=function(t,n){return C(Mt,{...t,ref:n,icon:u4})};const fw=p.exports.forwardRef(d4);var f4={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"}}]},name:"close-circle",theme:"filled"};const p4=f4;var v4=function(t,n){return C(Mt,{...t,ref:n,icon:p4})};const Jd=p.exports.forwardRef(v4);var h4={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64Line truncated
|
|
||||||
* @license React
|
|
||||||
* react-is.production.min.js
|
|
||||||
*
|
|
||||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
||||||
*
|
|
||||||
* This source code is licensed under the MIT license found in the
|
|
||||||
* LICENSE file in the root directory of this source tree.
|
|
||||||
*/var bg=Symbol.for("react.element"),Sg=Symbol.for("react.portal"),tf=Symbol.for("react.fragment"),nf=Symbol.for("react.strict_mode"),rf=Symbol.for("react.profiler"),of=Symbol.for("react.provider"),af=Symbol.for("react.context"),p3=Symbol.for("react.server_context"),lf=Symbol.for("react.forward_ref"),sf=Symbol.for("react.suspense"),cf=Symbol.for("react.suspense_list"),uf=Symbol.for("react.memo"),df=Symbol.for("react.lazy"),v3=Symbol.for("react.offscreen"),mw;mw=Symbol.for("react.module.reference");function Or(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case bg:switch(e=e.type,e){case tf:case rf:case nf:case sf:case cf:return e;default:switch(e=e&&e.$$typeof,e){case p3:case af:case lf:case df:case uf:case of:return e;default:return t}}case Sg:return t}}}Pt.ContextConsumer=af;Pt.ContextProvider=of;Pt.Element=bg;Pt.ForwardRef=lf;Pt.Fragment=tf;Pt.Lazy=df;Pt.Memo=uf;Pt.Portal=Sg;Pt.Profiler=rf;Pt.StrictMode=nf;Pt.Suspense=sf;Pt.SuspenseList=cf;Pt.isAsyncMode=function(){return!1};Pt.isConcurrentMode=function(){return!1};Pt.isContextConsumer=function(e){return Or(e)===af};Pt.isContextProvider=function(e){return Or(e)===of};Pt.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===bg};Pt.isForwardRef=function(e){return Or(e)===lf};Pt.isFragment=function(e){return Or(e)===tf};Pt.isLazy=function(e){return Or(e)===df};Pt.isMemo=function(e){return Or(e)===uf};Pt.isPortal=function(e){return Or(e)===Sg};Pt.isProfiler=function(e){return Or(e)===rf};Pt.isStrictMode=function(e){return Or(e)===nf};Pt.isSuspense=function(e){return Or(e)===sf};Pt.isSuspenseList=function(e){return Or(e)===cf};Pt.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===tf||e===rf||e===nf||e===sf||e===cf||e===v3||typeof e=="object"&&e!==null&&(e.$$typeof===df||e.$$typeof===uf||e.$$typeof===of||e.$$typeof===af||e.$$typeof===lf||e.$$typeof===mw||e.getModuleId!==void 0)};Pt.typeOf=Or;(function(e){e.exports=Pt})(ss);function rc(e,t,n){var r=p.exports.useRef({});return(!("value"in r.current)||n(r.current.condition,t))&&(r.current.value=e(),r.current.condition=t),r.current.value}function Cg(e,t){typeof e=="function"?e(t):Ze(e)==="object"&&e&&"current"in e&&(e.current=t)}function Mr(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.filter(function(o){return o});return r.length<=1?r[0]:function(o){t.forEach(function(i){Cg(i,o)})}}function qi(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return rc(function(){return Mr.apply(void 0,t)},t,function(r,o){return r.length!==o.length||r.every(function(i,a){return i!==o[a]})})}function Xi(e){var t,n,r=ss.exports.isMemo(e)?e.type.type:e.type;return!(typeof r=="function"&&!((t=r.prototype)!==null&&t!==void 0&&t.render)&&r.$$typeof!==ss.exports.ForwardRef||typeof e=="function"&&!((n=e.prototype)!==null&&n!==void 0&&n.render)&&e.$$typeof!==ss.exports.ForwardRef)}function ai(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[];return ct.Children.forEach(e,function(r){r==null&&!t.keepEmpty||(Array.isArray(r)?n=n.concat(ai(r)):ss.exports.isFragment(r)&&r.props?n=n.concat(ai(r.props.children,t)):n.push(r))}),n}function sd(e){return e instanceof HTMLElement||e instanceof SVGElement}function cs(e){return sd(e)?e:e instanceof ct.Component?nd.findDOMNode(e):null}var ph=p.exports.createContext(null);function h3(e){var t=e.children,n=e.onBatchResize,r=p.exports.useRef(0),o=p.exports.useRef([]),i=p.exports.useContext(ph),a=p.exports.useCallback(function(l,s,c){r.current+=1;var u=r.current;o.current.push({size:l,element:s,data:c}),Promise.resolve().then(function(){u===r.current&&(n==null||n(o.current),o.current=[])}),i==null||i(l,s,c)},[n,i]);return C(ph.Provider,{value:a,children:t})}var gw=function(){if(typeof Map<"u")return Map;function e(t,n){var r=-1;return t.some(function(o,i){return o[0]===n?(r=i,!0):!1}),r}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(n){var r=e(this.__entries__,n),o=this.__entries__[r];return o&&o[1]},t.prototype.set=function(n,r){var o=e(this.__entries__,n);~o?this.__entries__[o][1]=r:this.__entries__.push([n,r])},t.prototype.delete=function(n){var r=this.__entries__,o=e(r,n);~o&&r.splice(o,1)},t.prototype.has=function(n){return!!~e(this.__entries__,n)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(n,r){r===void 0&&(r=null);for(var o=0,i=this.__entries__;o<i.length;o++){var a=i[o];n.call(r,a[1],a[0])}},t}()}(),vh=typeof window<"u"&&typeof document<"u"&&window.document===document,cd=function(){return typeof global<"u"&&global.Math===Math?global:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")()}(),m3=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(cd):function(e){return sLine truncated
|
|
||||||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Re(e){return H3(e)||ww(e)||mg(e)||W3()}var $w=function(t){return+setTimeout(t,16)},Ew=function(t){return clearTimeout(t)};typeof window<"u"&&"requestAnimationFrame"in window&&($w=function(t){return window.requestAnimationFrame(t)},Ew=function(t){return window.cancelAnimationFrame(t)});var cb=0,wg=new Map;function Ow(e){wg.delete(e)}var xt=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;cb+=1;var r=cb;function o(i){if(i===0)Ow(r),t();else{var a=$w(function(){o(i-1)});wg.set(r,a)}}return o(n),r};xt.cancel=function(e){var t=wg.get(e);return Ow(e),Ew(t)};function dd(e){for(var t=0,n,r=0,o=e.length;o>=4;++r,o-=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(o){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)}function ic(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,r=new Set;function o(i,a){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,s=r.has(i);if(In(!s,"Warning: There may be circular references"),s)return!1;if(i===a)return!0;if(n&&l>1)return!1;r.add(i);var c=l+1;if(Array.isArray(i)){if(!Array.isArray(a)||i.length!==a.length)return!1;for(var u=0;u<i.length;u++)if(!o(i[u],a[u],c))return!1;return!0}if(i&&a&&Ze(i)==="object"&&Ze(a)==="object"){var d=Object.keys(i);return d.length!==Object.keys(a).length?!1:d.every(function(f){return o(i[f],a[f],c)})}return!1}return o(e,t)}var V3="%";function mh(e){return e.join(V3)}var U3=function(){function e(t){Bn(this,e),V(this,"instanceId",void 0),V(this,"cache",new Map),this.instanceId=t}return jn(e,[{key:"get",value:function(n){return this.opGet(mh(n))}},{key:"opGet",value:function(n){return this.cache.get(n)||null}},{key:"update",value:function(n,r){return this.opUpdate(mh(n),r)}},{key:"opUpdate",value:function(n,r){var o=this.cache.get(n),i=r(o);i===null?this.cache.delete(n):this.cache.set(n,i)}}]),e}(),nl="data-token-hash",Hr="data-css-hash",Yo="__cssinjs_instance__";function Y3(){var e=Math.random().toString(12).slice(2);if(typeof document<"u"&&document.head&&document.body){var t=document.body.querySelectorAll("style[".concat(Hr,"]"))||[],n=document.head.firstChild;Array.from(t).forEach(function(o){o[Yo]=o[Yo]||e,o[Yo]===e&&document.head.insertBefore(o,n)});var r={};Array.from(document.querySelectorAll("style[".concat(Hr,"]"))).forEach(function(o){var i=o.getAttribute(Hr);if(r[i]){if(o[Yo]===e){var a;(a=o.parentNode)===null||a===void 0||a.removeChild(o)}}else r[i]=!0})}return new U3(e)}var vf=p.exports.createContext({hashPriority:"low",cache:Y3(),defaultCache:!0});function G3(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}var $g=function(){function e(){Bn(this,e),V(this,"cache",void 0),V(this,"keys",void 0),V(this,"cacheCallTimes",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return jn(e,[{key:"size",value:function(){return this.keys.length}},{key:"internalGet",value:function(n){var r,o,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,a={map:this.cache};return n.forEach(function(l){if(!a)a=void 0;else{var s;a=(s=a)===null||s===void 0||(s=s.map)===null||s===void 0?void 0:s.get(l)}}),(r=a)!==null&&r!==void 0&&r.value&&i&&(a.value[1]=this.cacheCallTimes++),(o=a)===null||o===void 0?void 0:o.value}},{key:"get",value:function(n){var r;return(r=this.internalGet(n,!0))===null||r===void 0?void 0:r[0]}},{key:"has",value:function(n){return!!this.internalGet(n)}},{key:"set",value:function(n,r){var o=this;if(!this.has(n)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){var i=this.keys.reduce(function(c,u){var d=G(c,2),f=d[1];return o.internalGet(u)[1]<f?[u,o.internalGet(u)[1]]:c},[this.keys[0],this.cacheCallTimes]),a=G(i,1),l=a[0];this.delete(l)}this.keys.push(n)}var s=this.cache;n.forEach(function(c,u){if(u===n.length-1)s.set(c,{value:[r,o.cacheCallTimes++]});else{var d=s.get(c);d?d.map||(d.map=new Map):s.set(c,{map:new Map}),s=s.get(c).map}})}},{key:"deleteByPath",value:function(n,r){var o=n.get(r[0]);if(r.length===1){var i;return o.map?n.set(r[0],{map:o.map}):n.delete(r[0]),(i=o.value)===null||i===void 0?void 0:i[0]}var a=this.deleteByPath(o.map,r.slice(1));return(!o.map||o.map.size===0)&&!o.value&&n.delete(r[0]),a}},{key:"delete",value:function(n){if(this.has(n))return this.keys=this.keys.filter(function(r){return!G3(r,n)}),this.deleteByPath(this.cache,n)}}]),e}();V($g,"MAX_CACHE_SIZE",20);V($g,"MAX_CACHE_OFFSET",5);var ub=0,Mw=function(){function e(t){Bn(this,e),V(this,"derivatives",void 0),V(this,"id",void 0),this.derivatives=Array.isArray(t)?t:[t
Line truncated
|
|
||||||
`);else if(x._keyframe)h(x);else{var $=d.reduce(function(E,w){var R;return(w==null||(R=w.visit)===null||R===void 0?void 0:R.call(w,E))||E},x);Object.keys($).forEach(function(E){var w=$[E];if(Ze(w)==="object"&&w&&(E!=="animationName"||!w._keyframe)&&!FN(w)){var R=!1,P=E.trim(),N=!1;(o||i)&&l?P.startsWith("@")?R=!0:P=kN(E,l,c):o&&!l&&(P==="&"||P==="")&&(P="",N=!0);var I=e(w,n,{root:N,injectHash:R,parentSelectors:[].concat(Re(a),[P])}),F=G(I,2),k=F[0],T=F[1];m=U(U({},m),T),f+="".concat(P).concat(k)}else{let O=function(L,_){var B=L.replace(/[A-Z]/g,function(j){return"-".concat(j.toLowerCase())}),z=_;!mN[L]&&typeof z=="number"&&z!==0&&(z="".concat(z,"px")),L==="animationName"&&_!==null&&_!==void 0&&_._keyframe&&(h(_),z=_.getName(l)),f+="".concat(B,":").concat(z,";")};var M=O,D,A=(D=w==null?void 0:w.value)!==null&&D!==void 0?D:w;Ze(w)==="object"&&w!==null&&w!==void 0&&w[Bw]&&Array.isArray(A)?A.forEach(function(L){O(E,L)}):O(E,A)}})}}),!o)f="{".concat(f,"}");else if(s&&Q3()){var g=s.split(","),y=g[g.length-1].trim();f="@layer ".concat(y," {").concat(f,"}"),g.length>1&&(f="@layer ".concat(s,"{%%%:%}").concat(f))}return[f,m]};function jw(e,t){return dd("".concat(e.join("%")).concat(t))}function BN(){return null}var Hw="style";function $h(e,t){var n=e.token,r=e.path,o=e.hashId,i=e.layer,a=e.nonce,l=e.clientOnly,s=e.order,c=s===void 0?0:s,u=p.exports.useContext(vf),d=u.autoClear;u.mock;var f=u.defaultCache,m=u.hashPriority,h=u.container,v=u.ssrInline,b=u.transformers,g=u.linters,y=u.cache,S=n._tokenKey,x=[S].concat(Re(r)),$=yh,E=Eg(Hw,x,function(){var I=x.join("|");if(_N(I)){var F=DN(I),k=G(F,2),T=k[0],D=k[1];if(T)return[T,S,D,{},l,c]}var A=t(),M=zN(A,{hashId:o,hashPriority:m,layer:i,path:r.join("-"),transformers:b,linters:g}),O=G(M,2),L=O[0],_=O[1],B=wh(L),z=jw(x,B);return[B,S,z,_,l,c]},function(I,F){var k=G(I,3),T=k[2];(F||d)&&yh&&_s(T,{mark:Hr})},function(I){var F=G(I,4),k=F[0];F[1];var T=F[2],D=F[3];if($&&k!==kw){var A={mark:Hr,prepend:"queue",attachTo:h,priority:c},M=typeof a=="function"?a():a;M&&(A.csp={nonce:M});var O=ii(k,T,A);O[Yo]=y.instanceId,O.setAttribute(nl,S),Object.keys(D).forEach(function(L){ii(wh(D[L]),"_effect-".concat(L),A)})}}),w=G(E,3),R=w[0],P=w[1],N=w[2];return function(I){var F;if(!v||$||!f)F=C(BN,{});else{var k;F=C("style",{...(k={},V(k,nl,P),V(k,Hr,N),k),dangerouslySetInnerHTML:{__html:R}})}return oe(At,{children:[F,I]})}}var jN=function(t,n,r){var o=G(t,6),i=o[0],a=o[1],l=o[2],s=o[3],c=o[4],u=o[5],d=r||{},f=d.plain;if(c)return null;var m=i,h={"data-rc-order":"prependQueue","data-rc-priority":"".concat(u)};return m=fd(i,a,l,h,f),s&&Object.keys(s).forEach(function(v){if(!n[v]){n[v]=!0;var b=wh(s[v]);m+=fd(b,a,"_effect-".concat(v),h,f)}}),[u,l,m]},Ww="cssVar",HN=function(t,n){var r=t.key,o=t.prefix,i=t.unitless,a=t.ignore,l=t.token,s=t.scope,c=s===void 0?"":s,u=p.exports.useContext(vf),d=u.cache.instanceId,f=u.container,m=l._tokenKey,h=[].concat(Re(t.path),[r,c,m]),v=Eg(Ww,h,function(){var b=n(),g=Pw(b,r,{prefix:o,unitless:i,ignore:a,scope:c}),y=G(g,2),S=y[0],x=y[1],$=jw(h,x);return[S,x,$,r]},function(b){var g=G(b,3),y=g[2];yh&&_s(y,{mark:Hr})},function(b){var g=G(b,3),y=g[1],S=g[2];if(!!y){var x=ii(y,S,{mark:Hr,prepend:"queue",attachTo:f,priority:-999});x[Yo]=d,x.setAttribute(nl,r)}});return v},WN=function(t,n,r){var o=G(t,4),i=o[1],a=o[2],l=o[3],s=r||{},c=s.plain;if(!i)return null;var u=-999,d={"data-rc-order":"prependQueue","data-rc-priority":"".concat(u)},f=fd(i,l,a,d,c);return[u,a,f]},Nl;Nl={},V(Nl,Hw,jN),V(Nl,Tw,hN),V(Nl,Ww,WN);var wt=function(){function e(t,n){Bn(this,e),V(this,"name",void 0),V(this,"style",void 0),V(this,"_keyframe",!0),this.name=t,this.style=n}return jn(e,[{key:"getName",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return n?"".concat(n,"-").concat(this.name):this.name}}]),e}();function ra(e){return e.notSplit=!0,e}ra(["borderTop","borderBottom"]),ra(["borderTop"]),ra(["borderBottom"]),ra(["borderLeft","borderRight"]),ra(["borderLeft"]),ra(["borderRight"]);function Vw(e){return qx(e)||ww(e)||mg(e)||Xx()}function ro(e,t){for(var n=e,r=0;r<t.length;r+=1){if(n==null)return;n=n[t[r]]}return n}function Uw(e,t,n,r){if(!t.length)return n;var o=Vw(t),i=o[0],a=o.slice(1),l;return!e&&typeof i=="number"?l=[]:Array.isArray(e)?l=Re(e):l=U({},e),r&&n===void 0&&a.length===1?delete l[i][a[0]]:l[i]=Uw(l[i],a,n,r),l}function Lr(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return t.length&&r&&n===void 0&&!ro(e,t.slice(0,-1))?e:Uw(e,t,n,r)}function VN(e){return Ze(e)==="object"&&e!==null&&Object.getPrototypeOf(e)===Object.prototype}function yb(e){return Array.isArray(e)?[]:{}}var UN=typeof Reflect>"u"?Object.keys:Reflect.ownKeys;function Ta(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=yb(t[0]);return t.forEach(function(o){function i(a,l){var s=new Set(l),c=ro(o,a),u=Array.isArray(c);if(u||VN(c)){if(!s.has(c)){s.add(c);var d=ro(r,a);u?r=Lr(r,a,[]):(!d||Ze(d)!=="object")&&(r=Lr(r,a,yb(c))),UN(c
Line truncated
|
|
||||||
'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
|
|
||||||
'Noto Color Emoji'`,fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",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,motion:!0}),Fs=c5;function u5(e,t){let{generateColorPalettes:n,generateNeutralColorPalettes:r}=t;const{colorSuccess:o,colorWarning:i,colorError:a,colorInfo:l,colorPrimary:s,colorBgBase:c,colorTextBase:u}=e,d=n(s),f=n(o),m=n(i),h=n(a),v=n(l),b=r(c,u),g=e.colorLink||e.colorInfo,y=n(g);return Object.assign(Object.assign({},b),{colorPrimaryBg:d[1],colorPrimaryBgHover:d[2],colorPrimaryBorder:d[3],colorPrimaryBorderHover:d[4],colorPrimaryHover:d[5],colorPrimary:d[6],colorPrimaryActive:d[7],colorPrimaryTextHover:d[8],colorPrimaryText:d[9],colorPrimaryTextActive:d[10],colorSuccessBg:f[1],colorSuccessBgHover:f[2],colorSuccessBorder:f[3],colorSuccessBorderHover:f[4],colorSuccessHover:f[4],colorSuccess:f[6],colorSuccessActive:f[7],colorSuccessTextHover:f[8],colorSuccessText:f[9],colorSuccessTextActive:f[10],colorErrorBg:h[1],colorErrorBgHover:h[2],colorErrorBorder:h[3],colorErrorBorderHover:h[4],colorErrorHover:h[5],colorError:h[6],colorErrorActive:h[7],colorErrorTextHover:h[8],colorErrorText:h[9],colorErrorTextActive:h[10],colorWarningBg:m[1],colorWarningBgHover:m[2],colorWarningBorder:m[3],colorWarningBorderHover:m[4],colorWarningHover:m[4],colorWarning:m[6],colorWarningActive:m[7],colorWarningTextHover:m[8],colorWarningText:m[9],colorWarningTextActive:m[10],colorInfoBg:v[1],colorInfoBgHover:v[2],colorInfoBorder:v[3],colorInfoBorderHover:v[4],colorInfoHover:v[4],colorInfo:v[6],colorInfoActive:v[7],colorInfoTextHover:v[8],colorInfoText:v[9],colorInfoTextActive:v[10],colorLinkHover:y[4],colorLink:y[6],colorLinkActive:y[7],colorBgMask:new Rt("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}const d5=e=>{let t=e,n=e,r=e,o=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?o=4:e>=8&&(o=6),{borderRadius:e,borderRadiusXS:r,borderRadiusSM:n,borderRadiusLG:t,borderRadiusOuter:o}},f5=d5;function p5(e){const{motionUnit:t,motionBase:n,borderRadius:r,lineWidth:o}=e;return Object.assign({motionDurationFast:`${(n+t).toFixed(1)}s`,motionDurationMid:`${(n+t*2).toFixed(1)}s`,motionDurationSlow:`${(n+t*3).toFixed(1)}s`,lineWidthBold:o+1},f5(r))}const vo=(e,t)=>new Rt(e).setAlpha(t).toRgbString(),Al=(e,t)=>new Rt(e).darken(t).toHexString(),v5=e=>{const t=Vi(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]}},h5=(e,t)=>{const n=e||"#fff",r=t||"#000";return{colorBgBase:n,colorTextBase:r,colorText:vo(r,.88),colorTextSecondary:vo(r,.65),colorTextTertiary:vo(r,.45),colorTextQuaternary:vo(r,.25),colorFill:vo(r,.15),colorFillSecondary:vo(r,.06),colorFillTertiary:vo(r,.04),colorFillQuaternary:vo(r,.02),colorBgLayout:Al(n,4),colorBgContainer:Al(n,0),colorBgElevated:Al(n,0),colorBgSpotlight:vo(r,.85),colorBgBlur:"transparent",colorBorder:Al(n,15),colorBorderSecondary:Al(n,6)}};function Su(e){return(e+8)/e}function m5(e){const t=new Array(10).fill(null).map((n,r)=>{const o=r-1,i=e*Math.pow(2.71828,o/5),a=r>1?Math.floor(i):Math.ceil(i);return Math.floor(a/2)*2});return t[1]=e,t.map(n=>({size:n,lineHeight:Su(n)}))}const g5=e=>{const t=m5(e),n=t.map(u=>u.size),r=t.map(u=>u.lineHeight),o=n[1],i=n[0],a=n[2],l=r[1],s=r[0],c=r[2];return{fontSizeSM:i,fontSize:o,fontSizeLG:a,fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:l,lineHeightLG:c,lineHeightSM:s,fontHeight:Math.round(l*o),fontHeightLG:Math.round(c*a),fontHeightSM:Math.round(s*i),lineHeightHeading1:r[6],lineHeightHeading2:r[5],lineHeightHeading3:r[4],lineHeightHeading4:r[3],lineHeightHeading5:r[2]}},y5=g5;function b5(e){const t=Object.keys(qw).map(n=>{const r=Vi(e[n]);return new Array(10).fill(1).reduce((o,i,a)=>(o[`${n}-${a+1}`]=r[a],o[`${n}${a+1}`]=r[a],o),{})}).reduce((n,r)=>(n=Object.assign(Object.assign({},n),r),n),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),t),u5(e,{generateColorPalettes:v5,generateNeutralColorPalettes:h5})),y5(e.fontSize)),s5(e)),l5(e)),p5(e))}const Xw=gh(b5),Oh={token:Fs,override:{override:Fs},hashed:!0},Qw=ct.createContext(Oh),Zw="anticon",S5=(e,t)=>t||(e?`ant-${e}`:"ant"),it=p.exports.createContext({getPrefixCls:S5,iconPrefixCls
Line truncated
|
|
||||||
:root {
|
|
||||||
${Object.keys(n).map(a=>`--${e}-${a}: ${n[a]};`).join(`
|
|
||||||
`)}
|
|
||||||
}
|
|
||||||
`.trim()}function w5(e,t){const n=x5(e,t);Tn()&&ii(n,`${C5}-dynamic-theme`)}const Mh=p.exports.createContext(!1),$5=e=>{let{children:t,disabled:n}=e;const r=p.exports.useContext(Mh);return C(Mh.Provider,{value:n!=null?n:r,children:t})},vl=Mh,Rh=p.exports.createContext(void 0),E5=e=>{let{children:t,size:n}=e;const r=p.exports.useContext(Rh);return C(Rh.Provider,{value:n||r,children:t})},gf=Rh;function O5(){const e=p.exports.useContext(vl),t=p.exports.useContext(gf);return{componentDisabled:e,componentSize:t}}const ks=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"],M5="5.14.2";function Pp(e){return e>=0&&e<=255}function Wc(e,t){const{r:n,g:r,b:o,a:i}=new Rt(e).toRgb();if(i<1)return e;const{r:a,g:l,b:s}=new Rt(t).toRgb();for(let c=.01;c<=1;c+=.01){const u=Math.round((n-a*(1-c))/c),d=Math.round((r-l*(1-c))/c),f=Math.round((o-s*(1-c))/c);if(Pp(u)&&Pp(d)&&Pp(f))return new Rt({r:u,g:d,b:f,a:Math.round(c*100)/100}).toRgbString()}return new Rt({r:n,g:r,b:o,a:1}).toRgbString()}var R5=globalThis&&globalThis.__rest||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 o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function Jw(e){const{override:t}=e,n=R5(e,["override"]),r=Object.assign({},t);Object.keys(Fs).forEach(f=>{delete r[f]});const o=Object.assign(Object.assign({},n),r),i=480,a=576,l=768,s=992,c=1200,u=1600;if(o.motion===!1){const f="0s";o.motionDurationFast=f,o.motionDurationMid=f,o.motionDurationSlow=f}return Object.assign(Object.assign(Object.assign({},o),{colorFillContent:o.colorFillSecondary,colorFillContentHover:o.colorFill,colorFillAlter:o.colorFillQuaternary,colorBgContainerDisabled:o.colorFillTertiary,colorBorderBg:o.colorBgContainer,colorSplit:Wc(o.colorBorderSecondary,o.colorBgContainer),colorTextPlaceholder:o.colorTextQuaternary,colorTextDisabled:o.colorTextQuaternary,colorTextHeading:o.colorText,colorTextLabel:o.colorTextSecondary,colorTextDescription:o.colorTextTertiary,colorTextLightSolid:o.colorWhite,colorHighlight:o.colorError,colorBgTextHover:o.colorFillSecondary,colorBgTextActive:o.colorFill,colorIcon:o.colorTextTertiary,colorIconHover:o.colorText,colorErrorOutline:Wc(o.colorErrorBg,o.colorBgContainer),colorWarningOutline:Wc(o.colorWarningBg,o.colorBgContainer),fontSizeIcon:o.fontSizeSM,lineWidthFocus:o.lineWidth*4,lineWidth:o.lineWidth,controlOutlineWidth:o.lineWidth*2,controlInteractiveSize:o.controlHeight/2,controlItemBgHover:o.colorFillTertiary,controlItemBgActive:o.colorPrimaryBg,controlItemBgActiveHover:o.colorPrimaryBgHover,controlItemBgActiveDisabled:o.colorFill,controlTmpOutline:o.colorFillQuaternary,controlOutline:Wc(o.colorPrimaryBg,o.colorBgContainer),lineType:o.lineType,borderRadius:o.borderRadius,borderRadiusXS:o.borderRadiusXS,borderRadiusSM:o.borderRadiusSM,borderRadiusLG:o.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:o.sizeXXS,paddingXS:o.sizeXS,paddingSM:o.sizeSM,padding:o.size,paddingMD:o.sizeMD,paddingLG:o.sizeLG,paddingXL:o.sizeXL,paddingContentHorizontalLG:o.sizeLG,paddingContentVerticalLG:o.sizeMS,paddingContentHorizontal:o.sizeMS,paddingContentVertical:o.sizeSM,paddingContentHorizontalSM:o.size,paddingContentVerticalSM:o.sizeXS,marginXXS:o.sizeXXS,marginXS:o.sizeXS,marginSM:o.sizeSM,margin:o.size,marginMD:o.sizeMD,marginLG:o.sizeLG,marginXL:o.sizeXL,marginXXL:o.sizeXXL,boxShadow:`
|
|
||||||
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)
|
|
||||||
`,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:i,screenXSMin:i,screenXSMax:a-1,screenSM:a,screenSMMin:a,screenSMMax:l-1,screenMD:l,screenMDMin:l,screenMDMax:s-1,screenLG:s,screenLGMin:s,screenLGMax:c-1,screenXL:c,screenXLMin:c,screenXLMax:u-1,screenXXL:u,screenXXLMin:u,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`
|
|
||||||
0 1px 2px -2px ${new Rt("rgba(0, 0, 0, 0.16)").toRgbString()},
|
|
||||||
0 3px 6px 0 ${new Rt("rgba(0, 0, 0, 0.12)").toRgbString()},
|
|
||||||
0 5px 12px 4px ${new Rt("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)}var Sb=globalThis&&globalThis.__rest||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 o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const e2={lineHeight:!0,lineHeightSM:!0,lineHeightLG:!0,lineHeightHeading1:!0,lineHeightHeading2:!0,lineHeightHeading3:!0,lineHeightHeading4:!0,lineHeightHeading5:!0,opacityLoading:!0,fontWeightStrong:!0,zIndexPopupBase:!0,zIndexBase:!0},t2={size:!0,sizeSM:!0,sizeLG:!0,sizeMD:!0,sizeXS:!0,sizeXXS:!0,sizeMS:!0,sizeXL:!0,sizeXXL:!0,sizeUnit:!0,sizeStep:!0,motionBase:!0,motionUnit:!0},I5={screenXS:!0,screenXSMin:!0,screenXSMax:!0,screenSM:!0,screenSMMin:!0,screenSMMax:!0,screenMD:!0,screenMDMin:!0,screenMDMax:!0,screenLG:!0,screenLGMin:!0,screenLGMax:!0,screenXL:!0,screenXLMin:!0,screenXLMax:!0,screenXXL:!0,screenXXLMin:!0},n2=(e,t,n)=>{const r=n.getDerivativeToken(e),{override:o}=t,i=Sb(t,["override"]);let a=Object.assign(Object.assign({},r),{override:o});return a=Jw(a),i&&Object.entries(i).forEach(l=>{let[s,c]=l;const{theme:u}=c,d=Sb(c,["theme"]);let f=d;u&&(f=n2(Object.assign(Object.assign({},a),d),{override:d},u)),a[s]=f}),a};function Zn(){const{token:e,hashed:t,theme:n,override:r,cssVar:o}=ct.useContext(Qw),i=`${M5}-${t||""}`,a=n||Xw,[l,s,c]=vN(a,[Fs,e],{salt:i,override:r,getComputedToken:n2,formatToken:Jw,cssVar:o&&{prefix:o.prefix,key:o.key,unitless:e2,ignore:t2,preserve:I5}});return[a,c,t?s:"",l,o]}function bn(e){var t=p.exports.useRef();t.current=e;var n=p.exports.useCallback(function(){for(var r,o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return(r=t.current)===null||r===void 0?void 0:r.call.apply(r,[t].concat(i))},[]);return n}function Wa(e){var t=p.exports.useRef(!1),n=p.exports.useState(e),r=G(n,2),o=r[0],i=r[1];p.exports.useEffect(function(){return t.current=!1,function(){t.current=!0}},[]);function a(l,s){s&&t.current||i(l)}return[o,a]}function Tp(e){return e!==void 0}function jt(e,t){var n=t||{},r=n.defaultValue,o=n.value,i=n.onChange,a=n.postState,l=Wa(function(){return Tp(o)?o:Tp(r)?typeof r=="function"?r():r:typeof e=="function"?e():e}),s=G(l,2),c=s[0],u=s[1],d=o!==void 0?o:c,f=a?a(d):d,m=bn(i),h=Wa([d]),v=G(h,2),b=v[0],g=v[1];bh(function(){var S=b[0];c!==S&&m(c,S)},[b]),bh(function(){Tp(o)||u(o)},[o]);var y=bn(function(S,x){u(S,x),g([d],x)});return[f,y]}const ci={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},Jt=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return{boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:t?"inherit":e.fontFamily}},Ig=()=>({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"}}),ac=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),P5=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,
|
|
||||||
&:hover`]:{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),T5=(e,t,n)=>{const{fontFamily:r,fontSize:o}=e,i=`[class^="${t}"], [class*=" ${t}"]`;return{[n?`.${n}`:i]:{fontFamily:r,fontSize:o,boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"},[i]:{boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}}}}},Pg=e=>({outline:`${X(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),yf=e=>({"&:focus-visible":Object.assign({},Pg(e))});let N5=jn(function e(){Bn(this,e)});const r2=N5;function A5(e,t,n){return t=li(t),xg(e,pf()?Reflect.construct(t,n||[],li(e).constructor):t.apply(e,n))}let _5=function(e){Qi(t,e);function t(n){var r;return Bn(this,t),r=A5(this,t),r.result=0,n instanceof t?r.result=n.result:typeof n=="number"&&(r.result=n),r}return jn(t,[{key:"add",value:function(r){return r instanceof t?this.result+=r.result:typeof r=="number"&&(this.result+=r),this}},{key:"sub",value:function(r){return r instanceof t?this.result-=r.result:typeof r=="number"&&(this.result-=r),this}},{key:"mul",value:function(r){return r instanceof t?this.result*=r.result:typeof r=="number"&&(this.result*=r),this}},{key:"div",value:function(r){return r instanceof t?this.result/=r.result:typeof r=="number"&&(this.result/=r),this}},{key:"equal",value:function(){return this.result}}]),t}(r2);function D5(e,t,n){return t=li(t),xg(e,pf()?Reflect.construct(t,n||[],li(e).constructor):t.apply(e,n))}const o2="CALC_UNIT";function Np(e){return typeof e=="number"?`${e}${o2}`:e}let L5=function(e){Qi(t,e);function t(n){var r;return Bn(this,t),r=D5(this,t),r.result="",n instanceof t?r.result=`(${n.result})`:typeof n=="number"?r.result=Np(n):typeof n=="string"&&(r.result=n),r}return jn(t,[{key:"add",value:function(r){return r instanceof t?this.result=`${this.result} + ${r.getResult()}`:(typeof r=="number"||typeof r=="string")&&(this.result=`${this.result} + ${Np(r)}`),this.lowPriority=!0,this}},{key:"sub",value:function(r){return r instanceof t?this.result=`${this.result} - ${r.getResult()}`:(typeof r=="number"||typeof r=="string")&&(this.result=`${this.result} - ${Np(r)}`),this.lowPriority=!0,this}},{key:"mul",value:function(r){return this.lowPriority&&(this.result=`(${this.result})`),r instanceof t?this.result=`${this.result} * ${r.getResult(!0)}`:(typeof r=="number"||typeof r=="string")&&(this.result=`${this.result} * ${r}`),this.lowPriority=!1,this}},{key:"div",value:function(r){return this.lowPriority&&(this.result=`(${this.result})`),r instanceof t?this.result=`${this.result} / ${r.getResult(!0)}`:(typeof r=="number"||typeof r=="string")&&(this.result=`${this.result} / ${r}`),this.lowPriority=!1,this}},{key:"getResult",value:function(r){return this.lowPriority||r?`(${this.result})`:this.result}},{key:"equal",value:function(r){const{unit:o=!0}=r||{},i=new RegExp(`${o2}`,"g");return this.result=this.result.replace(i,o?"px":""),typeof this.lowPriority<"u"?`calc(${this.result})`:this.result}}]),t}(r2);const F5=e=>{const t=e==="css"?L5:_5;return n=>new t(n)},k5=F5;function z5(e){return e==="js"?{max:Math.max,min:Math.min}:{max:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return`max(${n.map(o=>X(o)).join(",")})`},min:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return`min(${n.map(o=>X(o)).join(",")})`}}}const i2=typeof CSSINJS_STATISTIC<"u";let Ih=!0;function Ot(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(!i2)return Object.assign.apply(Object,[{}].concat(t));Ih=!1;const r={};return t.forEach(o=>{Object.keys(o).forEach(a=>{Object.defineProperty(r,a,{configurable:!0,enumerable:!0,get:()=>o[a]})})}),Ih=!0,r}const Cb={};function B5(){}const j5=e=>{let t,n=e,r=B5;return i2&&typeof Proxy<"u"&&(t=new Set,n=new Proxy(e,{get(o,i){return Ih&&t.add(i),o[i]}}),r=(o,i)=>{var a;Cb[o]={global:Array.from(t),component:Object.assign(Object.assign({},(a=Cb[o])===null||a===void 0?void 0:a.component),i)}}),{token:n,keys:t,flush:r}},H5=(e,t)=>{const[n,r]=Zn();return $h({theme:n,token:r,hashId:"",path:["ant-design-icons",e],nonce:()=>t==null?void 0:t.nonce},()=>[{[`.${e}`]:Object.assign(Object.assign({},Ig()),{[`.${e} .${e}-icon`]:{display:"block"}})}])},a2=H5,l2=(e,t,n)=>{var r;return typeof n=="function"?n(Ot(t,(r=t[e])!==null&&r!==void 0?r:{})):n!=null?n:{}},s2=(e,t,n,r)=>{const o=Object.assign({},t[e]);if(r!=null&&r.deprecatedTokens){const{deprecatedTokens:a}=r;a.forEach(l=>{let[s,c]=l;var u;((o==null?void 0:o[s])||(o==null?void 0:o[c]))&&((u=o[c])!==null&&u!==void 0||(o[c]=o==null?void 0:o[s]))})}const i=Object.assign(Object.assign({},n),o);return Object.keys(i).forEach(a=>{i[a]===t[a]&&delete i[a]}),i},W5=(e,t)=>`${[t,e.replace(/([A-Z]+)([A-Z][a-z]+)/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2")].filter(Boolean).join("-")}`;function Tg(e,t,n){let r
Line truncated
|
|
||||||
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 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`,OA=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
|
|
||||||
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
|
|
||||||
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
|
|
||||||
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
|
|
||||||
onTouchEnd onTouchMove onTouchStart 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`,MA="".concat(EA," ").concat(OA).split(/[\s\n]+/),RA="aria-",IA="data-";function Rb(e,t){return e.indexOf(t)===0}function ol(e){var 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=U({},t);var r={};return Object.keys(e).forEach(function(o){(n.aria&&(o==="role"||Rb(o,RA))||n.data&&Rb(o,IA)||n.attr&&MA.includes(o))&&(r[o]=e[o])}),r}const{isValidElement:zs}=Xs;function C2(e){return e&&zs(e)&&e.type===p.exports.Fragment}function PA(e,t,n){return zs(e)?p.exports.cloneElement(e,typeof n=="function"?n(e.props||{}):n):t}function ui(e,t){return PA(e,e,t)}const TA=e=>{const[,,,,t]=Zn();return t?`${e}-css-var`:""},uo=TA;var de={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){var n=t.keyCode;if(t.altKey&&!t.ctrlKey||t.metaKey||n>=de.F1&&n<=de.F12)return!1;switch(n){case de.ALT:case de.CAPS_LOCK:case de.CONTEXT_MENU:case de.CTRL:case de.DOWN:case de.END:case de.ESC:case de.HOME:case de.INSERT:case de.LEFT:case de.MAC_FF_META:case de.META:case de.NUMLOCK:case de.NUM_CENTER:case de.PAGE_DOWN:case de.PAGE_UP:case de.PAUSE:case de.PRINT_SCREEN:case de.RIGHT:case de.SHIFT:case de.UP:case de.WIN_KEY:case de.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(t){if(t>=de.ZERO&&t<=de.NINE||t>=de.NUM_ZERO&&t<=de.NUM_MULTIPLY||t>=de.A&&t<=de.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&t===0)return!0;switch(t){case de.SPACE:case de.QUESTION_MARK:case de.NUM_PLUS:case de.NUM_MINUS:case de.NUM_PERIOD:case de.NUM_DIVISION:case de.SEMICOLON:case de.DASH:case de.EQUALS:case de.COMMA:case de.PERIOD:case de.SLASH:case de.APOSTROPHE:case de.SINGLE_QUOTE:case de.OPEN_SQUARE_BRACKET:case de.BACKSLASH:case de.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};const NA=ct.createContext(void 0),x2=NA,wi=100,AA=10,_A=wi*AA,w2={Modal:wi,Drawer:wi,Popover:wi,Popconfirm:wi,Tooltip:wi,Tour:wi},DA={SelectLike:50,Dropdown:50,DatePicker:50,Menu:50,ImagePreview:1};function LA(e){return e in w2}function bf(e,t){const[,n]=Zn(),r=ct.useContext(x2),o=LA(e);if(t!==void 0)return[t,t];let i=r!=null?r:0;return o?(i+=(r?0:n.zIndexPopupBase)+w2[e],i=Math.min(i,n.zIndexPopupBase+_A)):i+=DA[e],[r===void 0?t:i,i]}function Fn(){Fn=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(A,M,O){A[M]=O.value},i=typeof Symbol=="function"?Symbol:{},a=i.iterator||"@@iterator",l=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(A,M,O){return Object.defineProperty(A,M,{value:O,enumerable:!0,configurable:!0,writable:!0}),A[M]}try{c({},"")}catch{c=function(O,L,_){return O[L]=_}}function u(A,M,O,L){var _=M&&M.prototype instanceof g?M:g,B=Object.create(_.prototype),z=new T(L||[]);return o(B,"_invoke",{value:N(A,O,z)}),B}function d(A,M,O){try{return{type:"normal",arg:A.call(M,O)}}catch(L){return{type:"throw",arg:L}}}t.wrap=u;var f="suspendedStart",m="suspendedYield",h="executing",v="completed",b={};function g(){}function y(){}function S(){}var x={};c(x,a,function(){return this});var $=Object.getPrototypeOf,E=$&&$($(D([])));E&&E!==n&&r.call(E,a)&&(x=E);var w=S.prototype=g.prototype=Object.create(x);function R(A){["next","throw","return"].forEach(function(M){c(A,M,function(O){return this._invoke(M,O)})})}function P(A,M){function O(_,B,z,j){var H=d(A[_],A,B);if(H.type!=="throw"){var W=H.arg,Y=W.value;return Y&&Ze(Y)=="object"&&r.call(Y,"__await")?M.resolve(Y.__await).then(function(K){O("next",K,z,j)},function(K){O("throw",K,z,j)}):M.resolve(Y).then(function(K){W.value=K,z(W)},function(K){return O("throw",K,z,j)})}j(H.arg)}var L;o(this,"_invoke",{value:function(B,z){function j(){return new M(function(H,W){O(B,z,H,W)})}return L=L?L.then(j,j):j()}})}function N(A,M,O){var L=f;return function(_,B){if(L===h)throw new Error("Generator is already running");if(L===v){if(_==="throw")throw B;return{value:e,done:!
Line truncated
|
|
||||||
&:focus,
|
|
||||||
&:active`]:{zIndex:2},"&[disabled]":{zIndex:0}},[`${t}-icon-only`]:{fontSize:n}},_b(`${t}-primary`,o),_b(`${t}-danger`,i)]}},f_=d_,M2=e=>{const{paddingInline:t,onlyIconSize:n,paddingBlock:r}=e;return Ot(e,{buttonPaddingHorizontal:t,buttonPaddingVertical:r,buttonIconOnlyFontSize:n})},R2=e=>{var t,n,r,o,i,a;const l=(t=e.contentFontSize)!==null&&t!==void 0?t:e.fontSize,s=(n=e.contentFontSizeSM)!==null&&n!==void 0?n:e.fontSize,c=(r=e.contentFontSizeLG)!==null&&r!==void 0?r:e.fontSizeLG,u=(o=e.contentLineHeight)!==null&&o!==void 0?o:Su(l),d=(i=e.contentLineHeightSM)!==null&&i!==void 0?i:Su(s),f=(a=e.contentLineHeightLG)!==null&&a!==void 0?a:Su(c);return{fontWeight:400,defaultShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`,primaryShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlOutline}`,dangerShadow:`0 ${e.controlOutlineWidth}px 0 ${e.colorErrorOutline}`,primaryColor:e.colorTextLightSolid,dangerColor:e.colorTextLightSolid,borderColorDisabled:e.colorBorder,defaultGhostColor:e.colorBgContainer,ghostBg:"transparent",defaultGhostBorderColor:e.colorBgContainer,paddingInline:e.paddingContentHorizontal-e.lineWidth,paddingInlineLG:e.paddingContentHorizontal-e.lineWidth,paddingInlineSM:8-e.lineWidth,onlyIconSize:e.fontSizeLG,onlyIconSizeSM:e.fontSizeLG-2,onlyIconSizeLG:e.fontSizeLG+2,groupBorderColor:e.colorPrimaryHover,linkHoverBg:"transparent",textHoverBg:e.colorBgTextHover,defaultColor:e.colorText,defaultBg:e.colorBgContainer,defaultBorderColor:e.colorBorder,defaultBorderColorDisabled:e.colorBorder,defaultHoverBg:e.colorBgContainer,defaultHoverColor:e.colorPrimaryHover,defaultHoverBorderColor:e.colorPrimaryHover,defaultActiveBg:e.colorBgContainer,defaultActiveColor:e.colorPrimaryActive,defaultActiveBorderColor:e.colorPrimaryActive,contentFontSize:l,contentFontSizeSM:s,contentFontSizeLG:c,contentLineHeight:u,contentLineHeightSM:d,contentLineHeightLG:f,paddingBlock:Math.max((e.controlHeight-l*u)/2-e.lineWidth,0),paddingBlockSM:Math.max((e.controlHeightSM-s*d)/2-e.lineWidth,0),paddingBlockLG:Math.max((e.controlHeightLG-c*f)/2-e.lineWidth,0)}},p_=e=>{const{componentCls:t,iconCls:n,fontWeight:r}=e;return{[t]:{outline:"none",position:"relative",display:"inline-block",fontWeight:r,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",background:"transparent",border:`${X(e.lineWidth)} ${e.lineType} transparent`,cursor:"pointer",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",color:e.colorText,"&:disabled > *":{pointerEvents:"none"},"> span":{display:"inline-block"},[`${t}-icon`]:{lineHeight:0},[`> ${n} + span, > span + ${n}`]:{marginInlineStart:e.marginXS},[`&:not(${t}-icon-only) > ${t}-icon`]:{[`&${t}-loading-icon, &:not(:last-child)`]:{marginInlineEnd:e.marginXS}},"> a":{color:"currentColor"},"&:not(:disabled)":Object.assign({},yf(e)),[`&${t}-two-chinese-chars::first-letter`]:{letterSpacing:"0.34em"},[`&${t}-two-chinese-chars > *:not(${n})`]:{marginInlineEnd:"-0.34em",letterSpacing:"0.34em"},[`&-icon-only${t}-compact-item`]:{flex:"none"}}}},Oo=(e,t,n)=>({[`&:not(:disabled):not(${e}-disabled)`]:{"&:hover":t,"&:active":n}}),v_=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),h_=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.calc(e.controlHeight).div(2).equal(),paddingInlineEnd:e.calc(e.controlHeight).div(2).equal()}),m_=e=>({cursor:"not-allowed",borderColor:e.borderColorDisabled,color:e.colorTextDisabled,background:e.colorBgContainerDisabled,boxShadow:"none"}),Bs=(e,t,n,r,o,i,a,l)=>({[`&${e}-background-ghost`]:Object.assign(Object.assign({color:n||void 0,background:t,borderColor:r||void 0,boxShadow:"none"},Oo(e,Object.assign({background:t},a),Object.assign({background:t},l))),{"&:disabled":{cursor:"not-allowed",color:o||void 0,borderColor:i||void 0}})}),Lg=e=>({[`&:disabled, &${e.componentCls}-disabled`]:Object.assign({},m_(e))}),I2=e=>Object.assign({},Lg(e)),vd=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{cursor:"not-allowed",color:e.colorTextDisabled}}),P2=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},I2(e)),{background:e.defaultBg,borderColor:e.defaultBorderColor,color:e.defaultColor,boxShadow:e.defaultShadow}),Oo(e.componentCls,{color:e.defaultHoverColor,borderColor:e.defaultHoverBorderColor,background:e.defaultHoverBg},{color:e.defaultActiveColor,borderColor:e.defaultActiveBorderColor,background:e.defaultActiveBg})),Bs(e.componentCls,e.ghostBg,e.defaultGhostColor,e.defaultGhostBorderColor,e.colorTextDisabled,e.colorBorder)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({color:e.colorError,borderColor:e.colorError},Oo(e.componentCls,{color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),Bs(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder)),Lg(e))}),g_=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.
Line truncated
|
|
||||||
html body {
|
|
||||||
overflow-y: hidden;
|
|
||||||
`.concat(a?"width: calc(100% - ".concat(i,"px);"):"",`
|
|
||||||
}`),o)}else _s(o);return function(){_s(o)}},[t,o])}var kb=!1;function W_(e){return typeof e=="boolean"&&(kb=e),kb}var zb=function(t){return t===!1?!1:!Tn()||!t?null:typeof t=="string"?document.querySelector(t):typeof t=="function"?t():t},$f=p.exports.forwardRef(function(e,t){var n=e.open,r=e.autoLock,o=e.getContainer;e.debug;var i=e.autoDestroy,a=i===void 0?!0:i,l=e.children,s=p.exports.useState(n),c=G(s,2),u=c[0],d=c[1],f=u||n;p.exports.useEffect(function(){(a||n)&&d(n)},[n,a]);var m=p.exports.useState(function(){return zb(o)}),h=G(m,2),v=h[0],b=h[1];p.exports.useEffect(function(){var I=zb(o);b(I!=null?I:null)});var g=F_(f&&!v),y=G(g,2),S=y[0],x=y[1],$=v!=null?v:S;H_(r&&n&&Tn()&&($===S||$===document.body));var E=null;if(l&&Xi(l)&&t){var w=l;E=w.ref}var R=qi(E,t);if(!f||!Tn()||v===void 0)return null;var P=$===!1||W_(),N=l;return t&&(N=p.exports.cloneElement(l,{ref:R})),C(T2.Provider,{value:x,children:P?N:Qn.exports.createPortal(N,$)})}),N2=p.exports.createContext({});function V_(){var e=U({},Xs);return e.useId}var Bb=0,jb=V_();const A2=jb?function(t){var n=jb();return t||n}:function(t){var n=p.exports.useState("ssr-id"),r=G(n,2),o=r[0],i=r[1];return p.exports.useEffect(function(){var a=Bb;Bb+=1,i("rc_unique_".concat(a))},[]),t||o};function Hb(e,t,n){var r=t;return!r&&n&&(r="".concat(e,"-").concat(n)),r}function Wb(e,t){var n=e["page".concat(t?"Y":"X","Offset")],r="scroll".concat(t?"Top":"Left");if(typeof n!="number"){var o=e.document;n=o.documentElement[r],typeof n!="number"&&(n=o.body[r])}return n}function U_(e){var t=e.getBoundingClientRect(),n={left:t.left,top:t.top},r=e.ownerDocument,o=r.defaultView||r.parentWindow;return n.left+=Wb(o),n.top+=Wb(o,!0),n}const Y_=p.exports.memo(function(e){var t=e.children;return t},function(e,t){var n=t.shouldUpdate;return!n});var Vb={width:0,height:0,overflow:"hidden",outline:"none"},G_=ct.forwardRef(function(e,t){var n=e.prefixCls,r=e.className,o=e.style,i=e.title,a=e.ariaId,l=e.footer,s=e.closable,c=e.closeIcon,u=e.onClose,d=e.children,f=e.bodyStyle,m=e.bodyProps,h=e.modalRender,v=e.onMouseDown,b=e.onMouseUp,g=e.holderRef,y=e.visible,S=e.forceRender,x=e.width,$=e.height,E=e.classNames,w=e.styles,R=ct.useContext(N2),P=R.panel,N=qi(g,P),I=p.exports.useRef(),F=p.exports.useRef();ct.useImperativeHandle(t,function(){return{focus:function(){var L;(L=I.current)===null||L===void 0||L.focus()},changeActive:function(L){var _=document,B=_.activeElement;L&&B===F.current?I.current.focus():!L&&B===I.current&&F.current.focus()}}});var k={};x!==void 0&&(k.width=x),$!==void 0&&(k.height=$);var T;l&&(T=C("div",{className:te("".concat(n,"-footer"),E==null?void 0:E.footer),style:U({},w==null?void 0:w.footer),children:l}));var D;i&&(D=C("div",{className:te("".concat(n,"-header"),E==null?void 0:E.header),style:U({},w==null?void 0:w.header),children:C("div",{className:"".concat(n,"-title"),id:a,children:i})}));var A;s&&(A=C("button",{type:"button",onClick:u,"aria-label":"Close",className:"".concat(n,"-close"),children:c||C("span",{className:"".concat(n,"-close-x")})}));var M=oe("div",{className:te("".concat(n,"-content"),E==null?void 0:E.content),style:w==null?void 0:w.content,children:[A,D,C("div",{className:te("".concat(n,"-body"),E==null?void 0:E.body),style:U(U({},f),w==null?void 0:w.body),...m,children:d}),T]});return oe("div",{role:"dialog","aria-labelledby":i?a:null,"aria-modal":"true",ref:N,style:U(U({},o),k),className:te(n,r),onMouseDown:v,onMouseUp:b,children:[C("div",{tabIndex:0,ref:I,style:Vb,"aria-hidden":"true"}),C(Y_,{shouldUpdate:y||S,children:h?h(M):M}),C("div",{tabIndex:0,ref:F,style:Vb,"aria-hidden":"true"})]},"dialog-element")}),_2=p.exports.forwardRef(function(e,t){var n=e.prefixCls,r=e.title,o=e.style,i=e.className,a=e.visible,l=e.forceRender,s=e.destroyOnClose,c=e.motionName,u=e.ariaId,d=e.onVisibleChanged,f=e.mousePosition,m=p.exports.useRef(),h=p.exports.useState(),v=G(h,2),b=v[0],g=v[1],y={};b&&(y.transformOrigin=b);function S(){var x=U_(m.current);g(f?"".concat(f.x-x.left,"px ").concat(f.y-x.top,"px"):"")}return C(co,{visible:a,onVisibleChanged:d,onAppearPrepare:S,onEnterPrepare:S,forceRender:l,motionName:c,removeOnLeave:s,ref:m,children:function(x,$){var E=x.className,w=x.style;return C(G_,{...e,ref:t,title:r,ariaId:u,prefixCls:n,holderRef:$,style:U(U(U({},w),o),y),className:te(i,E)})}})});_2.displayName="Content";function K_(e){var t=e.prefixCls,n=e.style,r=e.visible,o=e.maskProps,i=e.motionName,a=e.className;return C(co,{visible:r,motionName:i,leavedClassName:"".concat(t,"-mask-hidden"),children:function(l,s){var c=l.className,u=l.style;return C("div",{ref:s,style:U(U({},u),n),className:te("".concat(t,"-mask"),c,a),...o})}},"mask")}function q_(e){var t=e.prefixCls,n=t===void 0?"rc-dialog":t,r=e.zIndex,o=e.visible,i=o===void 0?!1:o,a=e.keyboard,l=a===void 0?!0:a,s=e.focusTriggerAfterClose,c=s===void 0?!0:s,u=e.wrapStyle,d=e.wrapClassName,f=e.wrapProps,m=e.onClose,h=e.afterOpenChange,v=e.afterClose,b=e.transitionName,g=e.animation,y=e.closable,S=y===void 0?!0:y
Line truncated
|
|
||||||
(?:
|
|
||||||
(?:`+r+":){7}(?:"+r+`|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8
|
|
||||||
(?:`+r+":){6}(?:"+n+"|:"+r+`|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4
|
|
||||||
(?:`+r+":){5}(?::"+n+"|(?::"+r+`){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4
|
|
||||||
(?:`+r+":){4}(?:(?::"+r+"){0,1}:"+n+"|(?::"+r+`){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4
|
|
||||||
(?:`+r+":){3}(?:(?::"+r+"){0,2}:"+n+"|(?::"+r+`){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4
|
|
||||||
(?:`+r+":){2}(?:(?::"+r+"){0,3}:"+n+"|(?::"+r+`){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4
|
|
||||||
(?:`+r+":){1}(?:(?::"+r+"){0,4}:"+n+"|(?::"+r+`){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4
|
|
||||||
(?::(?:(?::`+r+"){0,5}:"+n+"|(?::"+r+`){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4
|
|
||||||
)(?:%[0-9a-zA-Z]{1,})? // %eth0 %1
|
|
||||||
`).replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),i=new RegExp("(?:^"+n+"$)|(?:^"+o+"$)"),a=new RegExp("^"+n+"$"),l=new RegExp("^"+o+"$"),s=function(x){return x&&x.exact?i:new RegExp("(?:"+t(x)+n+t(x)+")|(?:"+t(x)+o+t(x)+")","g")};s.v4=function(S){return S&&S.exact?a:new RegExp(""+t(S)+n+t(S),"g")},s.v6=function(S){return S&&S.exact?l:new RegExp(""+t(S)+o+t(S),"g")};var c="(?:(?:[a-z]+:)?//)",u="(?:\\S+(?::\\S*)?@)?",d=s.v4().source,f=s.v6().source,m="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",h="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",v="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",b="(?::\\d{2,5})?",g='(?:[/?#][^\\s"]*)?',y="(?:"+c+"|www\\.)"+u+"(?:localhost|"+d+"|"+f+"|"+m+h+v+")"+b+g;return Kc=new RegExp("(?:^"+y+"$)","i"),Kc},qb={email:/^(([^<>()\[\]\\.,;:\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},Yl={integer:function(t){return Yl.number(t)&&parseInt(t,10)===t},float:function(t){return Yl.number(t)&&!Yl.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"&&!Yl.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(qb.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(d6())},hex:function(t){return typeof t=="string"&&!!t.match(qb.hex)}},f6=function(t,n,r,o,i){if(t.required&&n===void 0){L2(t,n,r,o,i);return}var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],l=t.type;a.indexOf(l)>-1?Yl[l](n)||o.push(ar(i.messages.types[l],t.fullField,t.type)):l&&typeof n!==t.type&&o.push(ar(i.messages.types[l],t.fullField,t.type))},p6=function(t,n,r,o,i){var a=typeof t.len=="number",l=typeof t.min=="number",s=typeof t.max=="number",c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,u=n,d=null,f=typeof n=="number",m=typeof n=="string",h=Array.isArray(n);if(f?d="number":m?d="string":h&&(d="array"),!d)return!1;h&&(u=n.length),m&&(u=n.replace(c,"_").length),a?u!==t.len&&o.push(ar(i.messages[d].len,t.fullField,t.len)):l&&!s&&u<t.min?o.push(ar(i.messages[d].min,t.fullField,t.min)):s&&!l&&u>t.max?o.push(ar(i.messages[d].max,t.fullField,t.max)):l&&s&&(u<t.min||u>t.max)&&o.push(ar(i.messages[d].range,t.fullField,t.min,t.max))},oa="enum",v6=function(t,n,r,o,i){t[oa]=Array.isArray(t[oa])?t[oa]:[],t[oa].indexOf(n)===-1&&o.push(ar(i.messages[oa],t.fullField,t[oa].join(", ")))},h6=function(t,n,r,o,i){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(n)||o.push(ar(i.messages.pattern.mismatch,t.fullField,n,t.pattern));else if(typeof t.pattern=="string"){var a=new RegExp(t.pattern);a.test(n)||o.push(ar(i.messages.pattern.mismatch,t.fullField,n,t.pattern))}}},mt={required:L2,whitespace:u6,type:f6,range:p6,enum:v6,pattern:h6},m6=function(t,n,r,o,i){var a=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(un(n,"string")&&!t.required)return r();mt.required(t,n,o,a,i,"string"),un(n,"string")||(mt.type(t,n,o,a,i),mt.range(t,n,o,a,i),mt.pattern(t,n,o,a,i),t.whitespace===!0&&mt.whitespace(t,n,o,a,i))}r(a)},g6=function(t,n,r,o,i){var a=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(un(n)&&!t.required)return r();mt.required(t,n,o,a,i),n!==void 0&&mt.type(t,n,o,a,i)}r(a)},y6=function(t,n,r,o,i){var a=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(n===""&&(n=void 0),un(n)&&!t.required)return r();mt.required(t,n,o,a,i),n!==void 0&&(mt.type(t,n,o,a,i),mt.range(t,n,o,a,i))}r(a)},b6=function(t,n,r,o,i){var a=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(un(n)&&!t.required)return r();mt.required(t,n,o,a,i),n!==void 0&&mt.type(t,n,o,a,i)}r(a)},S6=function(t,n,r,o,i){var a=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(un(n)&&!t.required)return r();mt.required(t,n,o,a,i),un(n)||mt.type(t,n,o,a,i)}r(a)},C6=function(t,n,r,o,i){var a=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(un(n)&&!t.required)return r();mt.required(t,n,o,a,i),n!==void 0&&(mt.type(t,n,o,a,i),mt.range(t,n,o,a,i))}r(a)},x6=function(t,n,r,o,i){var a=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(un(n)&&!t.required)return r();mt.required(t,n,o,a,i),n!==void 0&&(mt.type(t,n,o,a,i),mt.range(t,n,o,a,i))}r(a)},w6=function(t,n,r,o,i){var a=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(n==null&&!t.required)return r();mt.required(t,n,o,a,i,"array"),n!=null&&(mt.type(t,n,o,a,i),mt.range(t,n,o,a,i))}r(a)},$6=function(t,n,r,o,i){var
Line truncated
|
|
||||||
${i}${e}-enter,
|
|
||||||
${i}${e}-appear
|
|
||||||
`]:Object.assign(Object.assign({},K6(r)),{animationPlayState:"paused"}),[`${i}${e}-leave`]:Object.assign(Object.assign({},q6(r)),{animationPlayState:"paused"}),[`
|
|
||||||
${i}${e}-enter${e}-enter-active,
|
|
||||||
${i}${e}-appear${e}-appear-active
|
|
||||||
`]:{animationName:t,animationPlayState:"running"},[`${i}${e}-leave${e}-leave-active`]:{animationName:n,animationPlayState:"running",pointerEvents:"none"}}},X6=new wt("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),Q6=new wt("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),H2=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const{antCls:n}=e,r=`${n}-fade`,o=t?"&":"";return[Ef(r,X6,Q6,e.motionDurationMid,t),{[`
|
|
||||||
${o}${r}-enter,
|
|
||||||
${o}${r}-appear
|
|
||||||
`]:{opacity:0,animationTimingFunction:"linear"},[`${o}${r}-leave`]:{animationTimingFunction:"linear"}}]},Z6=new wt("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),J6=new wt("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),e8=new wt("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),t8=new wt("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),n8=new wt("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),r8=new wt("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),o8=new wt("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),i8=new wt("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),a8={"move-up":{inKeyframes:o8,outKeyframes:i8},"move-down":{inKeyframes:Z6,outKeyframes:J6},"move-left":{inKeyframes:e8,outKeyframes:t8},"move-right":{inKeyframes:n8,outKeyframes:r8}},md=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:i}=a8[t];return[Ef(r,o,i,e.motionDurationMid),{[`
|
|
||||||
${r}-enter,
|
|
||||||
${r}-appear
|
|
||||||
`]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},Bg=new wt("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),jg=new wt("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),Hg=new wt("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),Wg=new wt("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),l8=new wt("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),s8=new wt("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),c8=new wt("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),u8=new wt("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),d8={"slide-up":{inKeyframes:Bg,outKeyframes:jg},"slide-down":{inKeyframes:Hg,outKeyframes:Wg},"slide-left":{inKeyframes:l8,outKeyframes:s8},"slide-right":{inKeyframes:c8,outKeyframes:u8}},al=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:i}=d8[t];return[Ef(r,o,i,e.motionDurationMid),{[`
|
|
||||||
${r}-enter,
|
|
||||||
${r}-appear
|
|
||||||
`]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint,["&-prepare"]:{transform:"scale(1)"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]},f8=new wt("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),p8=new wt("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),r1=new wt("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),o1=new wt("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),v8=new wt("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),h8=new wt("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),m8=new wt("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),g8=new wt("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),y8=new wt("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),b8=new wt("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),S8=new wt("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),C8=new wt("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),x8={zoom:{inKeyframes:f8,outKeyframes:p8},"zoom-big":{inKeyframes:r1,outKeyframes:o1},"zoom-big-fast":{inKeyframes:r1,outKeyframes:o1},"zoom-left":{inKeyframes:m8,outKeyframes:g8},"zoom-right":{inKeyframes:y8,outKeyframes:b8},"zoom-up":{inKeyframes:v8,outKeyframes:h8},"zoom-down":{inKeyframes:S8,outKeyframes:C8}},Of=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:i}=x8[t];return[Ef(r,o,i,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}}]};function i1(e){return{position:e,inset:0}}const W2=e=>{const{componentCls:t,antCls:n}=e;return[{[`${t}-root`]:{[`${t}${n}-zoom-enter, ${t}${n}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:e.motionDurationSlow,userSelect:"none"},[`${t}${n}-zoom-leave ${t}-content`]:{pointerEvents:"none"},[`${t}-mask`]:Object.assign(Object.assign({},i1("fixed")),{zIndex:e.zIndexPopupBase,height:"100%",backgroundColor:e.colorBgMask,pointerEvents:"none",[`${t}-hidden`]:{display:"none"}}),[`${t}-wrap`]:Object.assign(Object.assign({},i1("fixed")),{zIndex:e.zIndexPopupBase,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"})}},{[`${t}-root`]:H2(e)}]},w8=e=>{const{componentCls:t}=e;return[{[`${t}-root`]:{[`${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}px)`]:{[t]:{maxWidth:"calc(100vw - 16px)",margin:`${X(e.marginXS)} auto`},[`${t}-centered`]:{[t]:{flex:1}}}}},{[t]:Object.assign(Object.assign({},Jt(e)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${X(e.calc(e.margin).mul(2).equal())})`,margin:"0 auto",paddingBottom:e.paddingLG,[`${t}-title`]:{margin:0,color:e.titleColor,fontWeight:e.fontWeightStrong,fontSize:e.titleFontSize,lineHeight:e.titleLineHeight,wordWrap:"break-word"},[`${t}-content`]:{position:"relative",backgroundColor:e.contentBg,backgroundClip:"padding-box",border:0,borderRadius:e.borderRadiusLG,boxShadow:e.boxShadow,pointerEvents:"auto",padding:e.contentPadding},[`${t}-close`]:Object.assign({position:"absolute",top:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),insetInlineEnd:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),zIndex:e.calc(e.zIndexPopupBase).add(10).equal(),padding:0,color:e.modalCloseIconColor,fontWeight:e.fontWeightStrong,lineHeight:1,textDecoration:"none",background:"transparent",borderRadius:e.borderRadiusSM,width:e.modalCloseBtnSize,height:e.modalCloseBtnSize,border:0,outline:0,cursor:"pointer",transition:`color ${e.motionDurationMid}, background-color ${e.motionDurationMid}`,"&-x":{display:"flex",fontSize:e.fontSizeLG,fontStyle:"normal",lineHeight:`${X(e.modalCloseBtnSize)}`,justifyContent:"center",textTransform:"none",textRendering:"auto"},"&:hover":{color:e.modalIconHoverColor,backgroundColor:e.closeBtnHoverBg,textDecoration:"none"},"&:active":{backgroundColor:e.closeBtnActiveBg}},yf(e)),[`${t}-header`]:{color:e.colorText,background:e.headerBg,borderRadius:`${X(e.borderRadiusLG)} ${X(e.borderRadiusLG)} 0 0`,marginBottom:e.headerMarginBottom,padding:e.headerPadding,borderBottom:e.headerBorderBottom},[`${t}-body`]:{fontSize:e.fontSize,lineHeight:e.lineHeight,wordWrap:"break-word",padding:e.bodyPadding},[`${t}-footer`]:{textAlign:"end",background:e.footerBg,marginTop:e.footerMarginTop,padding:e.footerPadding,borderTop:e.footerBorderTop,borderRadius:e.footerBorderRadius,[`> ${e.antCls}-btn + ${e.antCls}-btn`]:{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"}}}]},$8=e=>{const{componentCls:t}=e;return{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl",[`${t}-confirm-body`]:{direction:"rtl"}}}}},E8=e=>{const t=e.padding,n=e.fontSizeHeading5,r=e.lineHeightHeading5;return Ot(e,{modalHeaderHeight:e.calc(e.calc(r).mul(n).equal()).add(e.calc(t).mul(2).equal()).equal(),modalFooterBorderColorSplit:e.colorSplit,modalFooterBorderStyle:e.lineType,modalFooterBorderWidth:e.lineWidth,modalIconHoverColor:e.colorIconHover,modalCloseIconColor:e.colorIcon,modalCloseBtnSize:e.fontHeight,modalConfirmIconSize:e.fontHeight,modalTitleHeight:e.calc(e.titleFontSize).mul(e.titleLineHeight).equal()})},O8=e=>({footerBg:"transparent",headerBg:e.colorBgElevated,titleLineHeight:e.lineHeightHeading5,titleFontSize:e.fontSizeHeading5,contentBg:e.colorBgElevated,titleColor:e.colorTextHeading,closeBtnHoverBg:e.wireframe?"transparent":e.colorFillContent,closeBtnActiveBg:e.wireframe?"transparent":e.colorFillContentHover,contentPadding:e.wireframe?0:`${X(e.paddingMD)} ${X(e.paddingContentHorizontalLG)}`,headerPadding:e.wireframe?`${X(e.padding)} ${X(e.paddingLG)}`:0,headerBorderBottom:e.wireframe?`${X(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",headerMarginBottom:e.wireframe?0:e.marginXS,bodyPadding:e.wireframe?e.paddingLG:0,footerPadding:e.wireframe?`${X(e.paddingXS)} ${X(e.padding)}`:0,footerBorderTop:e.wireframe?`${X(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",footerBorderRadius:e.wireframe?`0 0 ${X(e.borderRadiusLG)} ${X(e.borderRadiusLG)}`:0,footerMarginTop:e.wireframe?0:e.marginSM,confirmBodyPadding:e.wireframe?`${X(e.padding*2)} ${X(e.padding*2)} ${X(e.paddingLG)}`:0,confirmIconMarginInlineEnd:e.wireframe?e.margin:e.marginSM,confirmBtnsMarginTop:e.wireframe?e.marginLG:e.marginSM});mn("Modal",e=>{const t=E8(e);return[w8(t),$8(t),W2(t),Of(t,"zoom")]},O8,{unitless:{titleLineHeight:!0}});function M8(e){return t=>C(hi,{theme:{token:{motion:!1,zIndexPopupBase:0}},children:C(e,{...Object.assign({},t)})})}const R8=(e,t,n,r)=>M8(i=>{const{prefixCls:a,style:l}=i,s=p.exports.useRef(null),[c,u]=p.exports.useState(0),[d,f]=p.exports.useState(0),[m,h]=jt(!1,{value:i.open}),{getPrefixCls:v}=p.exports.useContext(it),b=v(t||"select",a);p.exports.useEffect(()=>{if(h(!0),typeof ResizeObserver<"u"){const S=new ResizeObserver($=>{const E=$[0].target;u(E.offsetHeight+8),f(E.offsetWidth)}),x=setInterval(()=>{var $;const E=n?`.${n(b)}`:`.${b}-dropdown`,w=($=s.current)===null||$===void 0?void 0:$.querySelector(E);w&&(clearInterval(x),S.observe(w))},10);return()=>{clearInterval(x),S.disconnect()}}},[]);let g=Object.assign(Object.assign({},i),{style:Object.assign(Object.assign({},l),{margin:0}),open:m,visible:m,getPopupContainer:()=>s.current});return r&&(g=r(g)),C("div",{ref:s,style:{paddingBottom:c,position:"relative",minWidth:d},children:C(e,{...Object.assign({},g)})})}),I8=R8,Vg=function(){if(typeof navigator>"u"||typeof window>"u")return!1;var 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|
Line truncated
|
|
||||||
`,`\r
|
|
||||||
`].includes(ze)})},[A]),Je=p.exports.useContext(Ug)||{},tt=Je.maxCount,yt=Je.rawValues,bt=function(Ge,St,Ht){if(!((yt==null?void 0:yt.size)>=tt)){var Tt=!0,Xt=Ge;N==null||N(null);var dn=CD(Ge,A,tt&&tt-yt.size),An=Ht?null:dn;return g!=="combobox"&&An&&(Xt="",D==null||D(An),be(!1),Tt=!1),T&&je!==Xt&&T(Xt,{source:St?"typing":"effect"}),Tt}},dt=function(Ge){!Ge||!Ge.trim()||T(Ge,{source:"submit"})};p.exports.useEffect(function(){!Me&&!ie&&g!=="combobox"&&bt("",!1,!1)},[Me]),p.exports.useEffect(function(){Se&&y&&De(!1),y&&!Ce.current&&Oe(!1)},[y]);var Ve=U2(),Ue=G(Ve,2),ht=Ue[0],Pe=Ue[1],ke=function(Ge){var St=ht(),Ht=Ge.which;if(Ht===de.ENTER&&(g!=="combobox"&&Ge.preventDefault(),Me||be(!0)),Pe(!!je),Ht===de.BACKSPACE&&!St&&ie&&!je&&d.length){for(var Tt=Re(d),Xt=null,dn=Tt.length-1;dn>=0;dn-=1){var An=Tt[dn];if(!An.disabled){Tt.splice(dn,1),Xt=An;break}}Xt&&f(Tt,{type:"remove",values:[Xt]})}for(var fn=arguments.length,_n=new Array(fn>1?fn-1:0),Vn=1;Vn<fn;Vn++)_n[Vn-1]=arguments[Vn];if(Me){var ea;(ea=Te.current)===null||ea===void 0||ea.onKeyDown.apply(ea,[Ge].concat(_n))}pe==null||pe.apply(void 0,[Ge].concat(_n))},qe=function(Ge){for(var St=arguments.length,Ht=new Array(St>1?St-1:0),Tt=1;Tt<St;Tt++)Ht[Tt-1]=arguments[Tt];if(Me){var Xt;(Xt=Te.current)===null||Xt===void 0||Xt.onKeyUp.apply(Xt,[Ge].concat(Ht))}re==null||re.apply(void 0,[Ge].concat(Ht))},lt=function(Ge){var St=d.filter(function(Ht){return Ht!==Ge});f(St,{type:"remove",values:[Ge]})},qt=p.exports.useRef(!1),Lt=function(){Oe(!0),y||(ae&&!qt.current&&ae.apply(void 0,arguments),ne.includes("focus")&&be(!0)),qt.current=!0},en=function(){Ce.current=!0,Oe(!1,function(){qt.current=!1,Ce.current=!1,be(!1)}),!y&&(je&&(g==="tags"?T(je,{source:"submit"}):g==="multiple"&&T("",{source:"blur"})),J&&J.apply(void 0,arguments))},tn=[];p.exports.useEffect(function(){return function(){tn.forEach(function(ze){return clearTimeout(ze)}),tn.splice(0,tn.length)}},[]);var Hn=function(Ge){var St,Ht=Ge.target,Tt=(St=$e.current)===null||St===void 0?void 0:St.getPopupElement();if(Tt&&Tt.contains(Ht)){var Xt=setTimeout(function(){var _n=tn.indexOf(Xt);if(_n!==-1&&tn.splice(_n,1),_e(),!fe&&!Tt.contains(document.activeElement)){var Vn;(Vn=me.current)===null||Vn===void 0||Vn.focus()}});tn.push(Xt)}for(var dn=arguments.length,An=new Array(dn>1?dn-1:0),fn=1;fn<dn;fn++)An[fn-1]=arguments[fn];ve==null||ve.apply(void 0,[Ge].concat(An))},Jn=p.exports.useState({}),gn=G(Jn,2),Io=gn[1];function Po(){Io({})}var Nn;at&&(Nn=function(Ge){be(Ge)}),A8(function(){var ze;return[ge.current,(ze=$e.current)===null||ze===void 0?void 0:ze.getPopupElement()]},Ne,be,!!at);var To=p.exports.useMemo(function(){return U(U({},e),{},{notFoundContent:v,open:Me,triggerOpen:Ne,id:o,showSearch:ce,multiple:ie,toggleOpen:be})},[e,v,Ne,Me,o,ce,ie,be]),Rr=!!O||S,Wn;Rr&&(Wn=C(Mf,{className:te("".concat(i,"-arrow"),V({},"".concat(i,"-arrow-loading"),S)),customizeIcon:O,customizeIconProps:{loading:S,searchValue:je,open:Me,focused:Ae,showSearch:ce}}));var pr=function(){var Ge;b==null||b(),(Ge=me.current)===null||Ge===void 0||Ge.focus(),f([],{type:"clear",values:d}),bt("",!1,!1)},Ir=P8(i,pr,d,M,L,y,je,g),Zr=Ir.allowClear,er=Ir.clearIcon,No=C(_,{ref:Te}),Pr=te(i,a,(r={},V(r,"".concat(i,"-focused"),Ae),V(r,"".concat(i,"-multiple"),ie),V(r,"".concat(i,"-single"),!ie),V(r,"".concat(i,"-allow-clear"),M),V(r,"".concat(i,"-show-arrow"),Rr),V(r,"".concat(i,"-disabled"),y),V(r,"".concat(i,"-loading"),S),V(r,"".concat(i,"-open"),Me),V(r,"".concat(i,"-customize-input"),Xe),V(r,"".concat(i,"-show-search"),ce),r)),Ct=C(bD,{ref:$e,disabled:y,prefixCls:i,visible:Ne,popupElement:No,animation:B,transitionName:z,dropdownStyle:j,dropdownClassName:H,direction:c,dropdownMatchSelectWidth:W,dropdownRender:Y,dropdownAlign:K,placement:q,builtinPlacements:ee,getPopupContainer:Z,empty:m,getTriggerDOMNode:function(){return Be.current},onPopupVisibleChange:Nn,onPopupMouseEnter:Po,children:at?p.exports.cloneElement(at,{ref:vt}):C(nD,{...e,domRef:Be,prefixCls:i,inputElement:Xe,ref:me,id:o,showSearch:ce,autoClearSearchValue:k,mode:g,activeDescendantId:I,tagRender:s,values:d,open:Me,onToggleOpen:be,activeValue:P,searchValue:je,onSearch:bt,onSearchSubmit:dt,onRemove:lt,tokenWithEnter:Ke})}),pt;return at?pt=Ct:pt=oe("div",{className:Pr,...se,ref:ge,onMouseDown:Hn,onKeyDown:ke,onKeyUp:qe,onFocus:Lt,onBlur:en,children:[Ae&&!Me&&C("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0},children:"".concat(d.map(function(ze){var Ge=ze.label,St=ze.value;return["number","string"].includes(Ze(Ge))?Ge:St}).join(", "))}),Ct,Wn,Zr&&er]}),C(V2.Provider,{value:To,children:pt})}),Yg=function(){return null};Yg.isSelectOptGroup=!0;var Gg=function(){return null};Gg.isSelectOption=!0;var J2=p.exports.forwardRef(function(e,t){var n=e.height,r=e.offsetY,o=e.offsetX,i=e.children,a=e.prefixCls,l=e.onInnerResize,s=e.innerProps,c=e.rtl,u=e.extra,d={},f={display:"flex",flexDirection:"column"};return r!==void 0&&(d={height:n,position:"rel
Line truncated
|
|
||||||
${o}${l}bottomLeft,
|
|
||||||
${i}${l}bottomLeft
|
|
||||||
`]:{animationName:Bg},[`
|
|
||||||
${o}${l}topLeft,
|
|
||||||
${i}${l}topLeft,
|
|
||||||
${o}${l}topRight,
|
|
||||||
${i}${l}topRight
|
|
||||||
`]:{animationName:Hg},[`${a}${l}bottomLeft`]:{animationName:jg},[`
|
|
||||||
${a}${l}topLeft,
|
|
||||||
${a}${l}topRight
|
|
||||||
`]:{animationName:Wg},"&-hidden":{display:"none"},[`${r}`]:Object.assign(Object.assign({},w1(e)),{cursor:"pointer",transition:`background ${e.motionDurationSlow} ease`,borderRadius:e.borderRadiusSM,"&-group":{color:e.colorTextDescription,fontSize:e.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},ci),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${r}-option-disabled)`]:{backgroundColor:e.optionActiveBg},[`&-selected:not(${r}-option-disabled)`]:{color:e.optionSelectedColor,fontWeight:e.optionSelectedFontWeight,backgroundColor:e.optionSelectedBg,[`${r}-option-state`]:{color:e.colorPrimary},[`&:has(+ ${r}-option-selected:not(${r}-option-disabled))`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${r}-option-selected:not(${r}-option-disabled)`]:{borderStartStartRadius:0,borderStartEndRadius:0}}},"&-disabled":{[`&${r}-option-selected`]:{backgroundColor:e.colorBgContainerDisabled},color:e.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:e.calc(e.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},w1(e)),{color:e.colorTextDisabled})}),"&-rtl":{direction:"rtl"}})},al(e,"slide-up"),al(e,"slide-down"),md(e,"move-up"),md(e,"move-down")]},bL=yL,sa=2,SL=e=>{const{multipleSelectItemHeight:t,selectHeight:n,lineWidth:r}=e;return e.calc(n).sub(t).div(2).sub(r).equal()},Zg=(e,t)=>{const{componentCls:n,iconCls:r}=e,o=`${n}-selection-overflow`,i=e.multipleSelectItemHeight,a=SL(e),l=t?`${n}-${t}`:"";return{[`${n}-multiple${l}`]:{[o]:{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",height:"100%",paddingInline:e.calc(sa).mul(2).equal(),paddingBlock:e.calc(a).sub(sa).equal(),borderRadius:e.borderRadius,[`${n}-disabled&`]:{background:e.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${X(sa)} 0`,lineHeight:X(i),visibility:"hidden",content:'"\\a0"'}},[`${n}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",height:i,marginTop:sa,marginBottom:sa,lineHeight:X(e.calc(i).sub(e.calc(e.lineWidth).mul(2)).equal()),borderRadius:e.borderRadiusSM,cursor:"default",transition:`font-size ${e.motionDurationSlow}, line-height ${e.motionDurationSlow}, height ${e.motionDurationSlow}`,marginInlineEnd:e.calc(sa).mul(2).equal(),paddingInlineStart:e.paddingXS,paddingInlineEnd:e.calc(e.paddingXS).div(2).equal(),[`${n}-disabled&`]:{color:e.multipleItemColorDisabled,borderColor:e.multipleItemBorderColorDisabled,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:e.calc(e.paddingXS).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},Ig()),{display:"inline-flex",alignItems:"center",color:e.colorIcon,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${r}`]:{verticalAlign:"-0.2em"},"&:hover":{color:e.colorIconHover}})},[`${o}-item + ${o}-item`]:{[`${n}-selection-search`]:{marginInlineStart:0}},[`${o}-item-suffix`]:{height:"100%"},[`${n}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:e.calc(e.inputPaddingHorizontalBase).sub(a).equal(),[`
|
|
||||||
&-input,
|
|
||||||
&-mirror
|
|
||||||
`]:{height:i,fontFamily:e.fontFamily,lineHeight:X(i),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 Wp(e,t){const{componentCls:n}=e,r=t?`${n}-${t}`:"",o={[`${n}-multiple${r}`]:{fontSize:e.fontSize,[`${n}-selector`]:{[`${n}-show-search&`]:{cursor:"text"}},[`
|
|
||||||
&${n}-show-arrow ${n}-selector,
|
|
||||||
&${n}-allow-clear ${n}-selector
|
|
||||||
`]:{paddingInlineEnd:e.calc(e.fontSizeIcon).add(e.controlPaddingHorizontal).equal()}}};return[Zg(e,t),o]}const CL=e=>{const{componentCls:t}=e,n=Ot(e,{selectHeight:e.controlHeightSM,multipleSelectItemHeight:e.controlHeightXS,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS}),r=Ot(e,{fontSize:e.fontSizeLG,selectHeight:e.controlHeightLG,multipleSelectItemHeight:e.multipleItemHeightLG,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius});return[Wp(e),Wp(n,"sm"),{[`${t}-multiple${t}-sm`]:{[`${t}-selection-placeholder`]:{insetInline:e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal()},[`${t}-selection-search`]:{marginInlineStart:2}}},Wp(r,"lg")]};function Vp(e,t){const{componentCls:n,inputPaddingHorizontalBase:r,borderRadius:o}=e,i=e.calc(e.controlHeight).sub(e.calc(e.lineWidth).mul(2)).equal(),a=t?`${n}-${t}`:"";return{[`${n}-single${a}`]:{fontSize:e.fontSize,height:e.controlHeight,[`${n}-selector`]:Object.assign(Object.assign({},Jt(e,!0)),{display:"flex",borderRadius:o,[`${n}-selection-search`]:{position:"absolute",top:0,insetInlineStart:r,insetInlineEnd:r,bottom:0,"&-input":{width:"100%",WebkitAppearance:"textfield"}},[`
|
|
||||||
${n}-selection-item,
|
|
||||||
${n}-selection-placeholder
|
|
||||||
`]:{padding:0,lineHeight:X(i),transition:`all ${e.motionDurationSlow}, visibility 0s`,alignSelf:"center"},[`${n}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${n}-selection-item:empty:after`,`${n}-selection-placeholder:empty:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[`
|
|
||||||
&${n}-show-arrow ${n}-selection-item,
|
|
||||||
&${n}-show-arrow ${n}-selection-placeholder
|
|
||||||
`]:{paddingInlineEnd:e.showArrowPaddingInlineEnd},[`&${n}-open ${n}-selection-item`]:{color:e.colorTextPlaceholder},[`&:not(${n}-customize-input)`]:{[`${n}-selector`]:{width:"100%",height:"100%",padding:`0 ${X(r)}`,[`${n}-selection-search-input`]:{height:i},"&:after":{lineHeight:X(i)}}},[`&${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 ${X(r)}`,"&:after":{display:"none"}}}}}}}function xL(e){const{componentCls:t}=e,n=e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal();return[Vp(e),Vp(Ot(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 ${X(n)}`},[`&${t}-show-arrow ${t}-selection-search`]:{insetInlineEnd:e.calc(n).add(e.calc(e.fontSize).mul(1.5)).equal()},[`
|
|
||||||
&${t}-show-arrow ${t}-selection-item,
|
|
||||||
&${t}-show-arrow ${t}-selection-placeholder
|
|
||||||
`]:{paddingInlineEnd:e.calc(e.fontSize).mul(1.5).equal()}}}},Vp(Ot(e,{controlHeight:e.singleItemHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG}),"lg")]}const wL=e=>{const{fontSize:t,lineHeight:n,controlHeight:r,controlPaddingHorizontal:o,zIndexPopupBase:i,colorText:a,fontWeightStrong:l,controlItemBgActive:s,controlItemBgHover:c,colorBgContainer:u,colorFillSecondary:d,controlHeightLG:f,controlHeightSM:m,colorBgContainerDisabled:h,colorTextDisabled:v}=e;return{zIndexPopup:i+50,optionSelectedColor:a,optionSelectedFontWeight:l,optionSelectedBg:s,optionActiveBg:c,optionPadding:`${(r-t*n)/2}px ${o}px`,optionFontSize:t,optionLineHeight:n,optionHeight:r,selectorBg:u,clearBg:u,singleItemHeightLG:f,multipleItemBg:d,multipleItemBorderColor:"transparent",multipleItemHeight:m,multipleItemHeightLG:r,multipleSelectorBgDisabled:h,multipleItemColorDisabled:v,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(e.fontSize*1.25)}},i$=(e,t)=>{const{componentCls:n,antCls:r,controlOutlineWidth:o}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{border:`${X(e.lineWidth)} ${e.lineType} ${t.borderColor}`,background:e.selectorBg},[`&:not(${n}-disabled):not(${n}-customize-input):not(${r}-pagination-size-changer)`]:{[`&:hover ${n}-selector`]:{borderColor:t.hoverBorderHover},[`${n}-focused& ${n}-selector`]:{borderColor:t.activeBorderColor,boxShadow:`0 0 0 ${X(o)} ${t.activeShadowColor}`,outline:0}}}},$1=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},i$(e,t))}),$L=e=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},i$(e,{borderColor:e.colorBorder,hoverBorderHover:e.colorPrimaryHover,activeBorderColor:e.colorPrimary,activeShadowColor:e.controlOutline})),$1(e,{status:"error",borderColor:e.colorError,hoverBorderHover:e.colorErrorHover,activeBorderColor:e.colorError,activeShadowColor:e.colorErrorOutline})),$1(e,{status:"warning",borderColor:e.colorWarning,hoverBorderHover:e.colorWarningHover,activeBorderColor:e.colorWarning,activeShadowColor:e.colorWarningOutline})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${X(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}})}),a$=(e,t)=>{const{componentCls:n,antCls:r}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{background:t.bg,border:`${X(e.lineWidth)} ${e.lineType} transparent`,color:t.color},[`&:not(${n}-disabled):not(${n}-customize-input):not(${r}-pagination-size-changer)`]:{[`&:hover ${n}-selector`]:{background:t.hoverBg},[`${n}-focused& ${n}-selector`]:{background:e.selectorBg,borderColor:t.activeBorderColor,outline:0}}}},E1=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},a$(e,t))}),EL=e=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},a$(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.colorPrimary,color:e.colorText})),E1(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,color:e.colorError})),E1(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,color:e.colorWarning})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{borderColor:e.colorBorder,background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.colorBgContainer,border:`${X(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}})}),OL=e=>({"&-borderless":{[`${e.componentCls}-selector`]:{background:"transparent",borderColor:"transparent"},[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${X(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}}}),ML=e=>({[e.componentCls]:Object.assign(Object.assign(Object.assign({},$L(e)),EL(e)),OL(e))}),RL=ML,IL=e=>{const{componentCls:t}=e;return{position:"relative",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,input:{cursor:"pointer"},[`${t}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${t}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},PL=e=>{const{componentCls:t}=e;return{[`${t}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none",fontFamily:"inherit","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},TL=e=>{const{antCls:t,componentCls:n,inputPaddingHorizontalBase:r,iconCls:o}=e;return{[n]:Object.assign(Object.assign({},Jt(e)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${n}-cuLine truncated
|
|
||||||
&:hover ${S}`]:{borderColor:r},[`${t}-input:focus-visible + ${S}`]:Object.assign({},Pg(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:E,height:E,marginBlockStart:y(1).mul(o).div(-2).equal(),marginInlineStart:y(1).mul(o).div(-2).equal(),backgroundColor:b,borderBlockStart:0,borderInlineStart:0,borderRadius:E,transform:"scale(0)",opacity:0,transition:`all ${i} ${l}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:E,height:E,backgroundColor:s,borderColor:c,borderStyle:"solid",borderWidth:u,borderRadius:"50%",transition:`all ${a}`},[`${t}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${t}-checked`]:{[S]:{borderColor:r,backgroundColor:g,"&::after":{transform:`scale(${e.calc(e.dotSize).div(o).equal()})`,opacity:1,transition:`all ${i} ${l}`}}},[`${t}-disabled`]:{cursor:"not-allowed",[S]:{backgroundColor:d,borderColor:c,cursor:"not-allowed","&::after":{backgroundColor:h}},[`${t}-input`]:{cursor:"not-allowed"},[`${t}-disabled + span`]:{color:f,cursor:"not-allowed"},[`&${t}-checked`]:{[S]:{"&::after":{transform:`scale(${y($).div(o).equal({unit:!1})})`}}}},[`span${t} + *`]:{paddingInlineStart:m,paddingInlineEnd:m}})}},iz=e=>{const{buttonColor:t,controlHeight:n,componentCls:r,lineWidth:o,lineType:i,colorBorder:a,motionDurationSlow:l,motionDurationMid:s,buttonPaddingInline:c,fontSize:u,buttonBg:d,fontSizeLG:f,controlHeightLG:m,controlHeightSM:h,paddingXS:v,borderRadius:b,borderRadiusSM:g,borderRadiusLG:y,buttonCheckedBg:S,buttonSolidCheckedColor:x,colorTextDisabled:$,colorBgContainerDisabled:E,buttonCheckedBgDisabled:w,buttonCheckedColorDisabled:R,colorPrimary:P,colorPrimaryHover:N,colorPrimaryActive:I,buttonSolidCheckedBg:F,buttonSolidCheckedHoverBg:k,buttonSolidCheckedActiveBg:T,calc:D}=e;return{[`${r}-button-wrapper`]:{position:"relative",display:"inline-block",height:n,margin:0,paddingInline:c,paddingBlock:0,color:t,fontSize:u,lineHeight:X(D(n).sub(D(o).mul(2)).equal()),background:d,border:`${X(o)} ${i} ${a}`,borderBlockStartWidth:D(o).add(.02).equal(),borderInlineStartWidth:0,borderInlineEndWidth:o,cursor:"pointer",transition:[`color ${s}`,`background ${s}`,`box-shadow ${s}`].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:D(o).mul(-1).equal(),insetInlineStart:D(o).mul(-1).equal(),display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:o,paddingInline:0,backgroundColor:a,transition:`background-color ${l}`,content:'""'}},"&:first-child":{borderInlineStart:`${X(o)} ${i} ${a}`,borderStartStartRadius:b,borderEndStartRadius:b},"&:last-child":{borderStartEndRadius:b,borderEndEndRadius:b},"&:first-child:last-child":{borderRadius:b},[`${r}-group-large &`]:{height:m,fontSize:f,lineHeight:X(D(m).sub(D(o).mul(2)).equal()),"&:first-child":{borderStartStartRadius:y,borderEndStartRadius:y},"&:last-child":{borderStartEndRadius:y,borderEndEndRadius:y}},[`${r}-group-small &`]:{height:h,paddingInline:D(v).sub(o).equal(),paddingBlock:0,lineHeight:X(D(h).sub(D(o).mul(2)).equal()),"&:first-child":{borderStartStartRadius:g,borderEndStartRadius:g},"&:last-child":{borderStartEndRadius:g,borderEndEndRadius:g}},"&:hover":{position:"relative",color:P},"&:has(:focus-visible)":Object.assign({},Pg(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:P,background:S,borderColor:P,"&::before":{backgroundColor:P},"&:first-child":{borderColor:P},"&:hover":{color:N,borderColor:N,"&::before":{backgroundColor:N}},"&:active":{color:I,borderColor:I,"&::before":{backgroundColor:I}}},[`${r}-group-solid &-checked:not(${r}-button-wrapper-disabled)`]:{color:x,background:F,borderColor:F,"&:hover":{color:x,background:k,borderColor:k},"&:active":{color:x,background:T,borderColor:T}},"&-disabled":{color:$,backgroundColor:E,borderColor:a,cursor:"not-allowed","&:first-child, &:hover":{color:$,backgroundColor:E,borderColor:a}},[`&-disabled${r}-button-wrapper-checked`]:{color:R,backgroundColor:w,borderColor:a,boxShadow:"none"}}}},az=e=>{const{wireframe:t,padding:n,marginXS:r,lineWidth:o,fontSizeLG:i,colorText:a,colorBgContainer:l,colorTextDisabled:s,controlItemBgActiveDisabled:c,colorTextLightSolid:u,colorPrimary:d,colorPrimaryHover:f,colorPrimaryActive:m,colorWhite:h}=e,v=4,b=i,g=t?b-v*2:b-(v+o)*2;return{radioSize:b,dotSize:g,dotColorDisabled:s,buttonSolidCheckedColor:u,buttonSolidCheckedBg:d,buttonSolidCheckedHoverBg:f,buttonSolidCheckedActiveBg:m,buttonBg:l,buttonCheckedBg:l,buttonColor:a,buttonCheckedBgDisabled:c,buttonCheckedColorDisabled:s,buttonPaddingInline:n-o,wrapperMarginInlineEnd:r,radio
Line truncated
|
|
||||||
& > ${t}-affix-wrapper,
|
|
||||||
& > ${t}-number-affix-wrapper,
|
|
||||||
& > ${n}-picker-range
|
|
||||||
`]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),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.calc(e.lineWidth).mul(-1).equal(),[`${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}}}})}},wz=e=>{const{componentCls:t,controlHeightSM:n,lineWidth:r,calc:o}=e,i=16,a=o(n).sub(o(r).mul(2)).sub(i).div(2).equal();return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Jt(e)),cE(e)),nE(e)),iE(e)),rE(e)),{'&[type="color"]':{height:e.controlHeight,[`&${t}-lg`]:{height:e.controlHeightLG},[`&${t}-sm`]:{height:n,paddingTop:a,paddingBottom:a}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},$z=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 ${X(e.inputAffixPadding)}`}}}},Ez=e=>{const{componentCls:t,inputAffixPadding:n,colorTextDescription:r,motionDurationSlow:o,colorIcon:i,colorIconHover:a,iconCls:l}=e;return{[`${t}-affix-wrapper`]:Object.assign(Object.assign(Object.assign(Object.assign({},cE(e)),{display:"inline-flex",[`&:not(${t}-disabled):hover`]:{zIndex:1,[`${t}-search-with-button &`]:{zIndex:0}},"&-focused, &:focus":{zIndex:1},[`> input${t}`]:{padding:0,fontSize:"inherit",border:"none",borderRadius:0,outline:"none",background:"transparent",color:"inherit","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",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}}}),$z(e)),{[`${l}${t}-password-icon`]:{color:i,cursor:"pointer",transition:`all ${o}`,"&:hover":{color:a}}})}},Oz=e=>{const{componentCls:t,borderRadiusLG:n,borderRadiusSM:r}=e;return{[`${t}-group`]:Object.assign(Object.assign(Object.assign({},Jt(e)),xz(e)),{"&-rtl":{direction:"rtl"},"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${t}-group-addon`]:{borderRadius:n,fontSize:e.inputFontSizeLG}},"&-sm":{[`${t}-group-addon`]:{borderRadius:r}}},Sz(e)),Cz(e)),{[`&:not(${t}-compact-first-item):not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}, ${t}-group-addon`]:{borderRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-first-item`]:{[`${t}, ${t}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-last-item`]:{[`${t}, ${t}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}-affix-wrapper`]:{borderStartEndRadius:0,borderEndEndRadius:0}}})})}},Mz=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.calc(e.lineHeightLG).sub(2e-4).equal({unit:!1})},[`> ${t}-group`]:{[`> ${t}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${r}-button`]:{marginInlineEnd:-1,paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius,borderEndStartRadius:0,boxShadow:"none"},[`${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.calc(e.lineWidth).mul(-1).equal(),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}}}}},Rz=e=>{const{componentCls:t,paddingLG:n}=e,r=`${t}-textarea`;return{[r]:{position:"relative","&-show-count":{[`> ${t}`]:{height:"100%"},[`${t}-data-count`]:{position:"absolute",bottom:e.calc(e.fontSize).mul(e.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:e.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},"&-allow-clear":{[`> ${t}`]:{paddingInlineEnd:n}},[`&-affix-wrapper${r}-has-feedback`]:{[`${t}`]:{paddingInlineEnd:n}},[`&-affix-wrapper${t}-affix-wrapper`]:{padding:0,[`> textarea${t}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent","&:focus":{boxShadow:"none !important"}},[`${t}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${t}-clear-icon`]:{position:"absolute",insetInlineEnd:e.paddingXS,insetBlockStart:e.paddingXS},[`${r}-suffix`]:{position:"absolute",top:0,insetInlineEnd:e.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}}}}},Iz=e=>{const{componentCls:t}=e;return{[`${t}-out-of-range`]:{[`&, & input, & textarea, ${t}-show-count-suffix, ${t}-data-count`]:{color:e.colorError}}}},p0=mn("Input",e=>{const t=Ot(e,J$(e));return[wz(t),Rz(t),Ez(t),Oz(t),Mz(t),Iz(t),wf(t)]},eE),Yp=(e,t)=>{const{componentCls:n,selectHeight:r,fontHeight:o,lineWidth:i,calc:a}=e,l=t?`${n}-${t}`:"",s=e.calc(o).add(2).equal(),c=()=>a(r).sub(s).sub(a(i).mul(2)),u=e.max(c().div(2).equal(),0),d=e.max(c().sub(u).equal(),0);return[Zg(e,t),{[`${n}-multiple${l}`]:{paddingTop:u,paddingBottom:d,paddingInlineStart:u}}]},Pz=e=>{const{componentCls:t,calc:n,lineWidth:r}=e,o=Ot(e,{fontHeight:e.fontSize,selectHeight:e.controlHeightSM,multipleSelectItemHeight:e.controlHeightXS,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS}),i=Ot(e,{fontHeight:n(e.multipleItemHeightLG).sub(n(r).mul(2).equal()).equal(),fontSize:e.fontSizeLG,selectHeight:e.controlHeightLG,multipleSelectItemHeight:e.multipleItemHeightLG,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius});return[Yp(o,"small"),Yp(e),Yp(i,"large"),Zg(e),{[`${t}${t}-multiple`]:{width:"100%",[`${t}-selector`]:{flex:"auto",padding:0,"&:after":{margin:0}},[`${t}-selection-item`]:{marginBlock:0},[`${t}-multiple-input`]:{width:0,height:0,border:0,visibility:"hidden",position:"absolute",zIndex:-1}}}]},Tz=Pz,Nz=e=>{const{pickerCellCls:t,pickerCellInnerCls:n,cellHeight:r,borderRadiusSM:o,motionDurationMid:i,cellHoverBg:a,lineWidth:l,lineType:s,colorPrimary:c,cellActiveWithRangeBg:u,colorTextLightSolid:d,colorTextDisabled:f,cellBgDisabled:m,colorFillSecondary:h}=e;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:r,transform:"translateY(-50%)",content:'""'},[n]:{position:"relative",zIndex:2,display:"inline-block",minWidth:r,height:r,lineHeight:X(r),borderRadius:o,transition:`background ${i}`},[`&:hover:not(${t}-in-view),
|
|
||||||
&:hover:not(${t}-selected):not(${t}-range-start):not(${t}-range-end)`]:{[n]:{background:a}},[`&-in-view${t}-today ${n}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${X(l)} ${s} ${c}`,borderRadius:o,content:'""'}},[`&-in-view${t}-in-range,
|
|
||||||
&-in-view${t}-range-start,
|
|
||||||
&-in-view${t}-range-end`]:{position:"relative",[`&:not(${t}-disabled):before`]:{background:u}},[`&-in-view${t}-selected,
|
|
||||||
&-in-view${t}-range-start,
|
|
||||||
&-in-view${t}-range-end`]:{[`&:not(${t}-disabled) ${n}`]:{color:d,background:c},[`&${t}-disabled ${n}`]:{background:h}},[`&-in-view${t}-range-start:not(${t}-disabled):before`]:{insetInlineStart:"50%"},[`&-in-view${t}-range-end:not(${t}-disabled):before`]:{insetInlineEnd:"50%"},[`&-in-view${t}-range-start:not(${t}-range-end) ${n}`]:{borderStartStartRadius:o,borderEndStartRadius:o,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${t}-range-end:not(${t}-range-start) ${n}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:o,borderEndEndRadius:o},"&-disabled":{color:f,pointerEvents:"none",[n]:{background:"transparent"},"&::before":{background:m}},[`&-disabled${t}-today ${n}::before`]:{borderColor:f}}},uE=e=>{const{componentCls:t,pickerCellCls:n,pickerCellInnerCls:r,pickerYearMonthCellWidth:o,pickerControlIconSize:i,cellWidth:a,paddingSM:l,paddingXS:s,paddingXXS:c,colorBgContainer:u,lineWidth:d,lineType:f,borderRadiusLG:m,colorPrimary:h,colorTextHeading:v,colorSplit:b,pickerControlIconBorderWidth:g,colorIcon:y,textHeight:S,motionDurationMid:x,colorIconHover:$,fontWeightStrong:E,cellHeight:w,pickerCellPaddingVertical:R,colorTextDisabled:P,colorText:N,fontSize:I,motionDurationSlow:F,withoutTimeCellHeight:k,pickerQuarterPanelContentHeight:T,borderRadiusSM:D,colorTextLightSolid:A,cellHoverBg:M,timeColumnHeight:O,timeColumnWidth:L,timeCellHeight:_,controlItemBgActive:B,marginXXS:z,pickerDatePanelPaddingHorizontal:j,pickerControlIconMargin:H}=e,W=e.calc(a).mul(7).add(e.calc(j).mul(2)).equal();return{[t]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:u,borderRadius:m,outline:"none","&-focused":{borderColor:h},"&-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,
|
|
||||||
&-year-panel,
|
|
||||||
&-quarter-panel,
|
|
||||||
&-month-panel,
|
|
||||||
&-week-panel,
|
|
||||||
&-date-panel,
|
|
||||||
&-time-panel`]:{display:"flex",flexDirection:"column",width:W},"&-header":{display:"flex",padding:`0 ${X(s)}`,color:v,borderBottom:`${X(d)} ${f} ${b}`,"> *":{flex:"none"},button:{padding:0,color:y,lineHeight:X(S),background:"transparent",border:0,cursor:"pointer",transition:`color ${x}`,fontSize:"inherit"},"> button":{minWidth:"1.6em",fontSize:I,"&:hover":{color:$},"&:disabled":{opacity:.25,pointerEvents:"none"}},"&-view":{flex:"auto",fontWeight:E,lineHeight:X(S),button:{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:s},"&:hover":{color:h}}}},[`&-prev-icon,
|
|
||||||
&-next-icon,
|
|
||||||
&-super-prev-icon,
|
|
||||||
&-super-next-icon`]:{position:"relative",display:"inline-block",width:i,height:i,"&::before":{position:"absolute",top:0,insetInlineStart:0,display:"inline-block",width:i,height:i,border:"0 solid currentcolor",borderBlockStartWidth:g,borderBlockEndWidth:0,borderInlineStartWidth:g,borderInlineEndWidth:0,content:'""'}},[`&-super-prev-icon,
|
|
||||||
&-super-next-icon`]:{"&::after":{position:"absolute",top:H,insetInlineStart:H,display:"inline-block",width:i,height:i,border:"0 solid currentcolor",borderBlockStartWidth:g,borderBlockEndWidth:0,borderInlineStartWidth:g,borderInlineEndWidth:0,content:'""'}},[`&-prev-icon,
|
|
||||||
&-super-prev-icon`]:{transform:"rotate(-45deg)"},[`&-next-icon,
|
|
||||||
&-super-next-icon`]:{transform:"rotate(135deg)"},"&-content":{width:"100%",tableLayout:"fixed",borderCollapse:"collapse","th, td":{position:"relative",minWidth:w,fontWeight:"normal"},th:{height:e.calc(w).add(e.calc(R).mul(2)).equal(),color:N,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${X(R)} 0`,color:P,cursor:"pointer","&-in-view":{color:N}},Nz(e)),[`&-decade-panel,
|
|
||||||
&-year-panel,
|
|
||||||
&-quarter-panel,
|
|
||||||
&-month-panel`]:{[`${t}-content`]:{height:e.calc(k).mul(4).equal()},[r]:{padding:`0 ${X(s)}`}},"&-quarter-panel":{[`${t}-content`]:{height:T}},"&-decade-panel":{[r]:{padding:`0 ${X(e.calc(s).div(2).equal())}`},[`${t}-cell::before`]:{display:"none"}},[`&-year-panel,
|
|
||||||
&-quarter-panel,
|
|
||||||
&-month-panel`]:{[`${t}-body`]:{padding:`0 ${X(s)}`},[r]:{width:o}},"&-date-panel":{[`${t}-body`]:{padding:`${X(s)} ${X(j)}`},[`${t}-content th`]:{boxSizing:"border-box",padding:0}},"&-week-panel":{[`${t}-cell`]:{[`&:hover ${r},
|
|
||||||
&-selected ${r},
|
|
||||||
${r}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${x}`},"&:first-child:before":{borderStartStartRadius:D,borderEndStartRadius:D},"&:last-child:before":{borderStartEndRadius:D,borderEndEndRadius:D}},["&:hover td"]:{"&:before":{background:M}},[`&-range-start td,
|
|
||||||
&-range-end td,
|
|
||||||
&-selected td`]:{[`&${n}`]:{"&:before":{background:h},[`&${t}-cell-week`]:{color:new Rt(A).setAlpha(.5).toHexString()},[r]:{color:A}}},["&-range-hover td:before"]:{background:B}}},["&-week-panel, &-date-panel-show-week"]:{[`${t}-body`]:{padding:`${X(s)} ${X(l)}`},[`${t}-content th`]:{width:"auto"}},"&-datetime-panel":{display:"flex",[`${t}-time-panel`]:{borderInlineStart:`${X(d)} ${f} ${b}`},[`${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:O},"&-column":{flex:"1 0 auto",width:L,margin:`${X(c)} 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${x}`,overflowX:"hidden","&::-webkit-scrollbar":{width:8,backgroundColor:"transparent"},"&::-webkit-scrollbar-thumb":{backgroundColor:e.colorTextTertiary,borderRadius:4},"&":{scrollbarWidth:"thin",scrollbarColor:`${e.colorTextTertiary} transparent`},"&::after":{display:"block",height:e.calc("100%").sub(_).equal(),content:'""'},"&:not(:first-child)":{borderInlineStart:`${X(d)} ${f} ${b}`},"&-active":{background:new Rt(B).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${t}-time-panel-cell`]:{marginInline:z,[`${t}-time-panel-cell-inner`]:{display:"block",width:e.calc(L).sub(e.calc(z).mul(2)).equal(),height:_,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:e.calc(L).sub(_).div(2).equal(),color:N,lineHeight:X(_),borderRadius:D,cursor:"pointer",transition:`background ${x}`,"&:hover":{background:M}},"&-selected":{[`${t}-time-panel-cell-inner`]:{background:B}},"&-disabled":{[`${t}-time-panel-cell-inner`]:{color:P,background:"transparent",cursor:"not-allowed"}}}}}}}}},Az=e=>{const{componentCls:t,textHeight:n,lineWidth:r,paddingSM:o,antCls:i,colorPrimary:a,cellActiveWithRangeBg:l,colorPrimaryBorder:s,lineType:c,colorSplit:u}=e;return{[`${t}-dropdown`]:{[`${t}-footer`]:{borderTop:`${X(r)} ${c} ${u}`,"&-extra":{padding:`0 ${X(o)}`,lineHeight:X(e.calc(n).sub(e.calc(r).mul(2)).equal()),textAlign:"start","&:not(:last-child)":{borderBottom:`${X(r)} ${c} ${u}`}}},[`${t}-panels + ${t}-footer ${t}-ranges`]:{justifyContent:"space-between"},[`${t}-ranges`]:{marginBlock:0,paddingInline:X(o),overflow:"hidden",textAlign:"start",listStyle:"none",display:"flex",justifyContent:"center",alignItems:"center","> li":{lineHeight:X(e.calc(n).sub(e.calc(r).mul(2)).equal()),display:"inline-block"},[`${t}-now-btn-disabled`]:{pointerEvents:"none",color:e.colorTextDisabled},[`${t}-preset > ${i}-tag-blue`]:{color:a,background:l,borderColor:s,cursor:"pointer"},[`${t}-ok`]:{paddingBlock:e.calc(r).mul(2).equal(),marginInlineStart:"auto"}}}}},_z=Az,dE=e=>{const{componentCls:t,controlHeightLG:n,paddingXXS:r,padding:o}=e;return{pickerCellCls:`${t}-cell`,pickerCellInnerCls:`${t}-cell-inner`,pickerYearMonthCellWidth:e.calc(n).mul(1.5).equal(),pickerQuarterPanelContentHeight:e.calc(n).mul(1.4).equal(),pickerCellPaddingVertical:e.calc(r).add(e.calc(r).div(2)).equal(),pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconMargin:4,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:e.calc(o).add(e.calc(r).div(2)).equal()}},fE=e=>{const{colorBgContainerDisabled:t,controlHeightSM:n,controlHeightLG:r}=e;return{cellHoverBg:e.controlItemBgHover,cellActiveWithRangeBg:e.controlItemBgActive,cellHoverWithRangeBg:new Rt(e.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new Rt(e.colorPrimary).lighten(20).toHexString(),cellBgDisabled:t,timeColumnWidth:r*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:n*1.5,cellHeight:n,textHeight:r,withoutTimeCellHeight:r*1.65,multipleItemBg:e.colorFillSecondary,multipleItemBorderColor:"transparent",multipleItemHeight:n,multipleItemHeightLG:e.controlHeight,multipleSelectorBgDisabled:t,multipleItemColorDisabled:e.colorTextDisabled,multipleItemBorderColorDisabled:"transparent"}},Dz=e=>Object.assign(Object.assign(Object.assign(Object.assign({},eE(e)),fE(e)),e0(e)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:e.zIndexPopupBase+50}),Lz=e=>{const{componentCls:t}=e;return{[t]:[Object.assign(Object.assign(Object.assign({},nE(e)),iE(e)),rE(e)),{"&-outlined":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${X(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}},"&-filled":{[`&${t}-multiple ${t}-selection-item`]:{background:e.colorBgContainer,border:`${X(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}},"&-borderless":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${X(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}}}]}},Fz=Lz,Gp=(e,t,n,r)=>{const o=e.calc(n).add(2).equal(),i=e.max(e.calc(t).sub(o).div(2).equal(),0),a=e.max(e.calc(t).sub(o).sub(i).equal(),0);return{padding:`${X(i)} ${X(r)} ${X(a)}`}},kz=e=>{const{componentCls:t,colorError:n,colorWarning:r}=e;return{[`${t}:not(${t}-disabled):not([disabled])`]:{[`&${t}-status-error`]:{[`${t}-active-bar`]:{background:n}},[`&${t}-status-warning`]:{[`${t}-active-bar`]:{background:r}}}}},zz=e=>{const{componentCls:t,antCls:n,controlHeight:r,paddingInline:o,lineWidth:i,lineType:a,colorBorder:l,borderRadius:s,motionDurationMid:c,colorTextDisabled:u,colorTextPlaceholder:d,controlHeightLG:f,fontSizeLG:m,controlHeightSM:h,paddingInlineSM:v,paddingXS:b,marginXS:g,colorTextDescription:y,lineWidthBold:S,colorPrimary:x,m
Line truncated
|
|
||||||
&${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:Hg},[`&${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:Bg},[`&${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:Wg},[`&${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:jg},[`${t}-panel > ${t}-time-panel`]:{paddingTop:w},[`${t}-range-wrapper`]:{display:"flex",position:"relative"},[`${t}-range-arrow`]:Object.assign(Object.assign({position:"absolute",zIndex:1,display:"none",paddingInline:e.calc(o).mul(1.5).equal(),boxSizing:"content-box",transition:`left ${$} ease-out`},f$(e,P,M)),{"&:before":{insetInlineStart:e.calc(o).mul(1.5).equal()}}),[`${t}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:P,borderRadius:N,boxShadow:I,transition:`margin ${$}`,display:"inline-block",pointerEvents:"auto",[`${t}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${t}-presets`]:{display:"flex",flexDirection:"column",minWidth:D,maxWidth:A,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:b,borderInlineEnd:`${X(i)} ${a} ${k}`,li:Object.assign(Object.assign({},ci),{borderRadius:F,paddingInline:b,paddingBlock:e.calc(h).sub(O).div(2).equal(),cursor:"pointer",transition:`all ${$}`,"+ li":{marginTop:g},"&:hover":{background:T}})}},[`${t}-panels`]:{display:"inline-flex",flexWrap:"nowrap",direction:"ltr","&:last-child":{[`${t}-panel`]:{borderWidth:0}}},[`${t}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${t}-content,
|
|
||||||
table`]:{textAlign:"center"},"&-focused":{borderColor:l}}}}),"&-dropdown-range":{padding:`${X(e.calc(R).mul(2).div(3).equal())} 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${t}-separator`]:{transform:"rotate(180deg)"},[`${t}-footer`]:{"&-extra":{direction:"rtl"}}}})},al(e,"slide-up"),al(e,"slide-down"),md(e,"move-up"),md(e,"move-down")]};mn("DatePicker",e=>{const t=Ot(J$(e),dE(e),{inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[_z(t),zz(t),Fz(t),kz(t),Tz(t),wf(e,{focusElCls:`${e.componentCls}-focused`})]},Dz);const Bz=e=>{const{calendarCls:t,componentCls:n,fullBg:r,fullPanelBg:o,itemActiveBg:i}=e;return{[t]:Object.assign(Object.assign(Object.assign({},uE(e)),Jt(e)),{background:r,"&-rtl":{direction:"rtl"},[`${t}-header`]:{display:"flex",justifyContent:"flex-end",padding:`${X(e.paddingSM)} 0`,[`${t}-year-select`]:{minWidth:e.yearControlWidth},[`${t}-month-select`]:{minWidth:e.monthControlWidth,marginInlineStart:e.marginXS},[`${t}-mode-switch`]:{marginInlineStart:e.marginXS}}}),[`${t} ${n}-panel`]:{background:o,border:0,borderTop:`${X(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,borderRadius:0,[`${n}-month-panel, ${n}-date-panel`]:{width:"auto"},[`${n}-body`]:{padding:`${X(e.paddingXS)} 0`},[`${n}-content`]:{width:"100%"}},[`${t}-mini`]:{borderRadius:e.borderRadiusLG,[`${t}-header`]:{paddingInlineEnd:e.paddingXS,paddingInlineStart:e.paddingXS},[`${n}-panel`]:{borderRadius:`0 0 ${X(e.borderRadiusLG)} ${X(e.borderRadiusLG)}`},[`${n}-content`]:{height:e.miniContentHeight,th:{height:"auto",padding:0,lineHeight:`${X(e.weekHeight)}`}},[`${n}-cell::before`]:{pointerEvents:"none"}},[`${t}${t}-full`]:{[`${n}-panel`]:{display:"block",width:"100%",textAlign:"end",background:r,border:0,[`${n}-body`]:{"th, td":{padding:0},th:{height:"auto",paddingInlineEnd:e.paddingSM,paddingBottom:e.paddingXXS,lineHeight:`${X(e.weekHeight)}`}}},[`${n}-cell`]:{"&::before":{display:"none"},"&:hover":{[`${t}-date`]:{background:e.controlItemBgHover}},[`${t}-date-today::before`]:{display:"none"},[`&-in-view${n}-cell-selected`]:{[`${t}-date, ${t}-date-today`]:{background:i}},"&-selected, &-selected:hover":{[`${t}-date, ${t}-date-today`]:{[`${t}-date-value`]:{color:e.colorPrimary}}}},[`${t}-date`]:{display:"block",width:"auto",height:"auto",margin:`0 ${X(e.calc(e.marginXS).div(2).equal())}`,padding:`${X(e.calc(e.paddingXS).div(2).equal())} ${X(e.paddingXS)} 0`,border:0,borderTop:`${X(e.lineWidthBold)} ${e.lineType} ${e.colorSplit}`,borderRadius:0,transition:`background ${e.motionDurationSlow}`,"&-value":{lineHeight:`${X(e.dateValueHeight)}`,transition:`color ${e.motionDurationSlow}`},"&-content":{position:"static",width:"auto",height:e.dateContentHeight,overflowY:"auto",color:e.colorText,lineHeight:e.lineHeight,textAlign:"start"},"&-today":{borderColor:e.colorPrimary,[`${t}-date-value`]:{color:e.colorText}}}},[`@media only screen and (max-width: ${X(e.screenXS)}) `]:{[`${t}`]:{[`${t}-header`]:{display:"block",[`${t}-year-select`]:{width:"50%"},[`${t}-month-select`]:{width:`calc(50% - ${X(e.paddingXS)})`},[`${t}-mode-switch`]:{width:"100%",marginTop:e.marginXS,marginInlineStart:0,"> label":{width:"50%",textAlign:"center"}}}}}}},jz=e=>Object.assign({fullBg:e.colorBgContainer,fullPanelBg:e.colorBgContainer,itemActiveBg:e.controlItemBgActive,yearControlWidth:80,monthControlWidth:70,miniContentHeight:256},fE(e)),Hz=mn("Calendar",e=>{const t=`${e.componentCls}-calendar`,n=Ot(e,dE(e),{calendarCls:t,pickerCellInnerCls:`${e.componentCls}-cell-inner`,dateValueHeight:e.controlHeightSM,weekHeight:e.calc(e.controlHeightSM).mul(.75).equal(),dateContentHeight:e.calc(e.calc(e.fontHeightSM).add(e.marginXS)).mul(3).add(e.calc(e.lineWidth).mul(2)).equal()});return[Bz(n)]},jz);function pE(e){function t(i,a){return i&&a&&e.getYear(i)===e.getYear(a)}function n(i,a){return t(i,a)&&e.getMonth(i)===e.getMonth(a)}function r(i,a){return n(i,a)&&e.getDate(i)===e.getDate(a)}return i=>{const{prefixCls:a,className:l,rootClassName:s,style:c,dateFullCellRender:u,dateCellRender:d,monthFullCellRender:f,monthCellRender:m,cellRender:h,fullCellRender:v,headerRender:b,value:g,defaultValue:y,disabledDate:S,mode:x,validRange:$,fullscreen:E=!0,onChange:w,onPanelChange:R,onSelect:P}=i,{getPrefixCls:N,direction:I,calendar:F}=p.exports.useContext(it),k=N("picker",a),T=`${k}-calendar`,[D,A,M]=Hz(k,T),O=e.getNow(),[L,_]=jt(()=>g||e.getNow(),{defaultValue:y,value:g}),[B,z]=jt("month",{value:x}),j=p.exports.useMemo(()=>B==="year"?"month":"date",[B]),H=p.exports.useCallback(J=>($?e.isAfter($[0],J)||e.isAfter(J,$[1]):!1)||!!(S!=null&&S(J)),[S,$]),W=(J,re)=>{R==null||R(J,re)},Y=J=>{_(J),r(J,L)||((j==="date"&&!n(J,L)||j==="month"&&!t(J,L))&&W(J,B),w==null||w(J))},K=J=>{z(J),W(L,J)},q=(J,re)=>{Y(J),P==null||P(J,{source:re})},ee=()=>{const{locale:J}=i,re=Object.assign(Object.assign({},Eh),J);return re.lang=Object.assign(Object.assign({},re.lang),(J||{}).lang),re},Z=p.exports.
Line truncated
|
|
||||||
${r},
|
|
||||||
${o} > li,
|
|
||||||
${n},
|
|
||||||
${i},
|
|
||||||
${a},
|
|
||||||
${l}
|
|
||||||
`]:Object.assign({},Yz(e))}}},Zz=e=>{const{colorFillContent:t,colorFill:n}=e,r=t,o=n;return{color:r,colorGradientEnd:o,gradientFromColor:r,gradientToColor:o,titleHeight:e.controlHeight/2,blockRadius:e.borderRadiusSM,paragraphMarginTop:e.marginLG+e.marginXXS,paragraphLiHeight:e.controlHeight/2}},yl=mn("Skeleton",e=>{const{componentCls:t,calc:n}=e,r=Ot(e,{skeletonAvatarCls:`${t}-avatar`,skeletonTitleCls:`${t}-title`,skeletonParagraphCls:`${t}-paragraph`,skeletonButtonCls:`${t}-button`,skeletonInputCls:`${t}-input`,skeletonImageCls:`${t}-image`,imageSizeBase:n(e.controlHeight).mul(1.5).equal(),borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.gradientFromColor} 25%, ${e.gradientToColor} 37%, ${e.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[Qz(r)]},Zz,{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),Jz=e=>{const{prefixCls:t,className:n,rootClassName:r,active:o,shape:i="circle",size:a="default"}=e,{getPrefixCls:l}=p.exports.useContext(it),s=l("skeleton",t),[c,u,d]=yl(s),f=fr(e,["prefixCls","className"]),m=te(s,`${s}-element`,{[`${s}-active`]:o},n,r,u,d);return c(C("div",{className:m,children:C(_f,{...Object.assign({prefixCls:`${s}-avatar`,shape:i,size:a},f)})}))},e7=Jz,t7=e=>{const{prefixCls:t,className:n,rootClassName:r,active:o,block:i=!1,size:a="default"}=e,{getPrefixCls:l}=p.exports.useContext(it),s=l("skeleton",t),[c,u,d]=yl(s),f=fr(e,["prefixCls"]),m=te(s,`${s}-element`,{[`${s}-active`]:o,[`${s}-block`]:i},n,r,u,d);return c(C("div",{className:m,children:C(_f,{...Object.assign({prefixCls:`${s}-button`,size:a},f)})}))},n7=t7,r7="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",o7=e=>{const{prefixCls:t,className:n,rootClassName:r,style:o,active:i}=e,{getPrefixCls:a}=p.exports.useContext(it),l=a("skeleton",t),[s,c,u]=yl(l),d=te(l,`${l}-element`,{[`${l}-active`]:i},n,r,c,u);return s(C("div",{className:d,children:C("div",{className:te(`${l}-image`,n),style:o,children:C("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${l}-image-svg`,children:C("path",{d:r7,className:`${l}-image-path`})})})}))},i7=o7,a7=e=>{const{prefixCls:t,className:n,rootClassName:r,active:o,block:i,size:a="default"}=e,{getPrefixCls:l}=p.exports.useContext(it),s=l("skeleton",t),[c,u,d]=yl(s),f=fr(e,["prefixCls"]),m=te(s,`${s}-element`,{[`${s}-active`]:o,[`${s}-block`]:i},n,r,u,d);return c(C("div",{className:m,children:C(_f,{...Object.assign({prefixCls:`${s}-input`,size:a},f)})}))},l7=a7,s7=e=>{const{prefixCls:t,className:n,rootClassName:r,style:o,active:i,children:a}=e,{getPrefixCls:l}=p.exports.useContext(it),s=l("skeleton",t),[c,u,d]=yl(s),f=te(s,`${s}-element`,{[`${s}-active`]:i},u,n,r,d),m=a!=null?a:C(C4,{});return c(C("div",{className:f,children:C("div",{className:te(`${s}-image`,n),style:o,children:m})}))},c7=s7,u7=e=>{const t=l=>{const{width:s,rows:c=2}=e;if(Array.isArray(s))return s[l];if(c-1===l)return s},{prefixCls:n,className:r,style:o,rows:i}=e,a=Re(Array(i)).map((l,s)=>C("li",{style:{width:t(s)}},s));return C("ul",{className:te(n,r),style:o,children:a})},d7=u7,f7=e=>{let{prefixCls:t,className:n,width:r,style:o}=e;return C("h3",{className:te(t,n),style:Object.assign({width:r},o)})},p7=f7;function Qp(e){return e&&typeof e=="object"?e:{}}function v7(e,t){return e&&!t?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function h7(e,t){return!e&&t?{width:"38%"}:e&&t?{width:"50%"}:{}}function m7(e,t){const n={};return(!e||!t)&&(n.width="61%"),!e&&t?n.rows=3:n.rows=2,n}const bl=e=>{const{prefixCls:t,loading:n,className:r,rootClassName:o,style:i,children:a,avatar:l=!1,title:s=!0,paragraph:c=!0,active:u,round:d}=e,{getPrefixCls:f,direction:m,skeleton:h}=p.exports.useContext(it),v=f("skeleton",t),[b,g,y]=yl(v);if(n||!("loading"in e)){const S=!!l,x=!!s,$=!!c;let E;if(S){const P=Object.assign(Object.assign({prefixCls:`${v}-avatar`},v7(x,$)),Qp(l));E=C("div",{className:`${v}-header`,children:C(_f,{...Object.assign({},P)})})}let w;if(x||$){let P;if(x){const I=Object.assign(Object.assign({prefixCls:`${v}-title`},h7(S,$)),Qp(s));P=C(p7,{...Object.assign({},I)})}let N;if($){const I=Object.assign(Objec
Line truncated
|
|
||||||
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,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:l(e.controlHeight).mul(1.25).equal(),[`${t}-tab`]:{padding:i,textAlign:"center"},[`${t}-tab + ${t}-tab`]:{margin:a},[`${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:X(l(e.lineWidth).mul(-1).equal())},borderLeft:{_skip_check_:!0,value:`${X(e.lineWidth)} ${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:l(e.lineWidth).mul(-1).equal()},borderRight:{_skip_check_:!0,value:`${X(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingRight:{_skip_check_:!0,value:e.paddingLG}}}}}},G7=e=>{const{componentCls:t,cardPaddingSM:n,cardPaddingLG:r,horizontalItemPaddingSM:o,horizontalItemPaddingLG:i}=e;return{[t]:{"&-small":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:o,fontSize:e.titleFontSizeSM}}},"&-large":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:i,fontSize:e.titleFontSizeLG}}}},[`${t}-card`]:{[`&${t}-small`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:n}},[`&${t}-bottom`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`0 0 ${X(e.borderRadius)} ${X(e.borderRadius)}`}},[`&${t}-top`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`${X(e.borderRadius)} ${X(e.borderRadius)} 0 0`}},[`&${t}-right`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${X(e.borderRadius)} ${X(e.borderRadius)} 0`}}},[`&${t}-left`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${X(e.borderRadius)} 0 0 ${X(e.borderRadius)}`}}}},[`&${t}-large`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:r}}}}}},K7=e=>{const{componentCls:t,itemActiveColor:n,itemHoverColor:r,iconCls:o,tabsHorizontalItemMargin:i,horizontalItemPadding:a,itemSelectedColor:l,itemColor:s}=e,c=`${t}-tab`;return{[c]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:a,fontSize:e.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:s,"&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:n}},yf(e)),"&-btn":{outline:"none",transition:"all 0.3s",[`${c}-icon:not(:last-child)`]:{marginInlineEnd:e.marginSM}},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:e.calc(e.marginXXS).mul(-1).equal()},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},[`&${c}-active ${c}-btn`]:{color:l,textShadow:e.tabsActiveTextShadow},[`&${c}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${c}-disabled ${c}-btn, &${c}-disabled ${t}-remove`]:{"&:focus, &:active":{color:e.colorTextDisabled}},[`& ${c}-remove ${o}`]:{margin:0},[`${o}:not(:last-child)`]:{marginRight:{_skip_check_:!0,value:e.marginSM}}},[`${c} + ${c}`]:{margin:{_skip_check_:!0,value:i}}}},q7=e=>{const{componentCls:t,tabsHorizontalItemMarginRTL:n,iconCls:r,cardGutter:o,calc:i}=e;return{[`${t}-rtl`]:{direction:"rtl",[`${t}-nav`]:{[`${t}-tab`]:{margin:{_skip_check_:!0,value:n},[`${t}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[r]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:X(e.marginSM)}},[`${t}-tab-remove`]:{marginRight:{_skip_check_:!0,value:X(e.marginXS)},marginLeft:{_skip_check_:!0,value:X(i(e.marginXXS).mul(-1).equal())},[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:o},marginLeft:{_skip_check_:!0,v
Line truncated
|
|
||||||
> ${n}-typography,
|
|
||||||
> ${n}-typography-edit-content
|
|
||||||
`]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),[`${t}-tabs-top`]:{clear:"both",marginBottom:i,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,"&-bar":{borderBottom:`${X(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`}}})},aB=e=>{const{cardPaddingBase:t,colorBorderSecondary:n,cardShadow:r,lineWidth:o}=e;return{width:"33.33%",padding:t,border:0,borderRadius:0,boxShadow:`
|
|
||||||
${X(o)} 0 0 0 ${n},
|
|
||||||
0 ${X(o)} 0 0 ${n},
|
|
||||||
${X(o)} ${X(o)} 0 0 ${n},
|
|
||||||
${X(o)} 0 0 0 ${n} inset,
|
|
||||||
0 ${X(o)} 0 0 ${n} inset;
|
|
||||||
`,transition:`all ${e.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:r}}},lB=e=>{const{componentCls:t,iconCls:n,actionsLiMargin:r,cardActionsIconSize:o,colorBorderSecondary:i,actionsBg:a}=e;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:a,borderTop:`${X(e.lineWidth)} ${e.lineType} ${i}`,display:"flex",borderRadius:`0 0 ${X(e.borderRadiusLG)} ${X(e.borderRadiusLG)}`},ac()),{"& > li":{margin:r,color:e.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:e.calc(e.cardActionsIconSize).mul(2).equal(),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:X(e.fontHeight),transition:`color ${e.motionDurationMid}`,"&:hover":{color:e.colorPrimary}},[`> ${n}`]:{fontSize:o,lineHeight:X(e.calc(o).mul(e.lineHeight).equal())}},"&:not(:last-child)":{borderInlineEnd:`${X(e.lineWidth)} ${e.lineType} ${i}`}}})},sB=e=>Object.assign(Object.assign({margin:`${X(e.calc(e.marginXXS).mul(-1).equal())} 0`,display:"flex"},ac()),{"&-avatar":{paddingInlineEnd:e.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:e.marginXS}},"&-title":Object.assign({color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG},ci),"&-description":{color:e.colorTextDescription}}),cB=e=>{const{componentCls:t,cardPaddingBase:n,colorFillAlter:r}=e;return{[`${t}-head`]:{padding:`0 ${X(n)}`,background:r,"&-title":{fontSize:e.fontSize}},[`${t}-body`]:{padding:`${X(e.padding)} ${X(n)}`}}},uB=e=>{const{componentCls:t}=e;return{overflow:"hidden",[`${t}-body`]:{userSelect:"none"}}},dB=e=>{const{antCls:t,componentCls:n,cardShadow:r,cardHeadPadding:o,colorBorderSecondary:i,boxShadowTertiary:a,cardPaddingBase:l,extraColor:s}=e;return{[n]:Object.assign(Object.assign({},Jt(e)),{position:"relative",background:e.colorBgContainer,borderRadius:e.borderRadiusLG,[`&:not(${n}-bordered)`]:{boxShadow:a},[`${n}-head`]:iB(e),[`${n}-extra`]:{marginInlineStart:"auto",color:s,fontWeight:"normal",fontSize:e.fontSize},[`${n}-body`]:Object.assign({padding:l,borderRadius:` 0 0 ${X(e.borderRadiusLG)} ${X(e.borderRadiusLG)}`},ac()),[`${n}-grid`]:aB(e),[`${n}-cover`]:{"> *":{display:"block",width:"100%"},[`img, img + ${t}-image-mask`]:{borderRadius:`${X(e.borderRadiusLG)} ${X(e.borderRadiusLG)} 0 0`}},[`${n}-actions`]:lB(e),[`${n}-meta`]:sB(e)}),[`${n}-bordered`]:{border:`${X(e.lineWidth)} ${e.lineType} ${i}`,[`${n}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${n}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${e.motionDurationMid}, border-color ${e.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:r}},[`${n}-contain-grid`]:{borderRadius:`${X(e.borderRadiusLG)} ${X(e.borderRadiusLG)} 0 0 `,[`${n}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${n}-loading) ${n}-body`]:{marginBlockStart:e.calc(e.lineWidth).mul(-1).equal(),marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),padding:0}},[`${n}-contain-tabs`]:{[`> ${n}-head`]:{minHeight:0,[`${n}-head-title, ${n}-extra`]:{paddingTop:o}}},[`${n}-type-inner`]:cB(e),[`${n}-loading`]:uB(e),[`${n}-rtl`]:{direction:"rtl"}}},fB=e=>{const{componentCls:t,cardPaddingSM:n,headerHeightSM:r,headerFontSizeSM:o}=e;return{[`${t}-small`]:{[`> ${t}-head`]:{minHeight:r,padding:`0 ${X(n)}`,fontSize:o,[`> ${t}-head-wrapper`]:{[`> ${t}-extra`]:{fontSize:e.fontSize}}},[`> ${t}-body`]:{padding:n}},[`${t}-small${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{paddingTop:0,display:"flex",alignItems:"center"}}}}},pB=e=>({headerBg:"transparent",headerFontSize:e.fontSizeLG,headerFontSizeSM:e.fontSize,headerHeight:e.fontSizeLG*e.lineHeightLG+e.padding*2,headerHeightSM:e.fontSize*e.lineHeight+e.paddingXS*2,actionsBg:e.colorBgContainer,actionsLiMargin:`${e.paddingSM}px 0`,tabsMarginBottom:-e.padding-e.lineWidth,extraColor:e.colorText}),vB=mn("Card",e=>{const t=Ot(e,{cardShadow:e.boxShadowCard,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardActionsIconSize:e.fontSize,cardPaddingSM:12});return[dB(t),fB(t)]},pB);var X1=globalThis&&globalThis.__rest||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 o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const hB=e=>{const{actionClasses:t,actions:n=[],actionStyle:r}=e;return C("ul",{className:t,style:r,children:n.map((o,i)=>{const a=`action-${i}`;return C("li",{style:{width:`${100/n.length}%`},children:C("span",{children:o})},a)})})},mB=p.exports.forwardRef((e,t)=>{const{prefixCls:n,className:r,rootClassName:o,style:i,extra:a,headStyle:l={},bodyStyle:s={},title:c,loading:u,bordered:d=!0,
Line truncated
|
|
||||||
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;
|
|
||||||
`,YB=["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"],Zp={},mr;function GB(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&Zp[n])return Zp[n];var r=window.getComputedStyle(e),o=r.getPropertyValue("box-sizing")||r.getPropertyValue("-moz-box-sizing")||r.getPropertyValue("-webkit-box-sizing"),i=parseFloat(r.getPropertyValue("padding-bottom"))+parseFloat(r.getPropertyValue("padding-top")),a=parseFloat(r.getPropertyValue("border-bottom-width"))+parseFloat(r.getPropertyValue("border-top-width")),l=YB.map(function(c){return"".concat(c,":").concat(r.getPropertyValue(c))}).join(";"),s={sizingStyle:l,paddingSize:i,borderSize:a,boxSizing:o};return t&&n&&(Zp[n]=s),s}function KB(e){var 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;mr||(mr=document.createElement("textarea"),mr.setAttribute("tab-index","-1"),mr.setAttribute("aria-hidden","true"),document.body.appendChild(mr)),e.getAttribute("wrap")?mr.setAttribute("wrap",e.getAttribute("wrap")):mr.removeAttribute("wrap");var o=GB(e,t),i=o.paddingSize,a=o.borderSize,l=o.boxSizing,s=o.sizingStyle;mr.setAttribute("style","".concat(s,";").concat(UB)),mr.value=e.value||e.placeholder||"";var c=void 0,u=void 0,d,f=mr.scrollHeight;if(l==="border-box"?f+=a:l==="content-box"&&(f-=i),n!==null||r!==null){mr.value=" ";var m=mr.scrollHeight-i;n!==null&&(c=m*n,l==="border-box"&&(c=c+i+a),f=Math.max(c,f)),r!==null&&(u=m*r,l==="border-box"&&(u=u+i+a),d=f>u?"":"hidden",f=Math.min(u,f))}var h={height:f,overflowY:d,resize:"none"};return c&&(h.minHeight=c),u&&(h.maxHeight=u),h}var qB=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],Jp=0,ev=1,tv=2,XB=p.exports.forwardRef(function(e,t){var n=e,r=n.prefixCls;n.onPressEnter;var o=n.defaultValue,i=n.value,a=n.autoSize,l=n.onResize,s=n.className,c=n.style,u=n.disabled,d=n.onChange;n.onInternalAutoSize;var f=et(n,qB),m=jt(o,{value:i,postState:function(H){return H!=null?H:""}}),h=G(m,2),v=h[0],b=h[1],g=function(H){b(H.target.value),d==null||d(H)},y=p.exports.useRef();p.exports.useImperativeHandle(t,function(){return{textArea:y.current}});var S=p.exports.useMemo(function(){return a&&Ze(a)==="object"?[a.minRows,a.maxRows]:[]},[a]),x=G(S,2),$=x[0],E=x[1],w=!!a,R=function(){try{if(document.activeElement===y.current){var H=y.current,W=H.selectionStart,Y=H.selectionEnd,K=H.scrollTop;y.current.setSelectionRange(W,Y),y.current.scrollTop=K}}catch{}},P=p.exports.useState(tv),N=G(P,2),I=N[0],F=N[1],k=p.exports.useState(),T=G(k,2),D=T[0],A=T[1],M=function(){F(Jp)};_t(function(){w&&M()},[i,$,E,w]),_t(function(){if(I===Jp)F(ev);else if(I===ev){var j=KB(y.current,!1,$,E);F(tv),A(j)}else R()},[I]);var O=p.exports.useRef(),L=function(){xt.cancel(O.current)},_=function(H){I===tv&&(l==null||l(H),a&&(L(),O.current=xt(function(){M()})))};p.exports.useEffect(function(){return L},[]);var B=w?D:null,z=U(U({},c),B);return(I===Jp||I===ev)&&(z.overflowY="hidden",z.overflowX="hidden"),C(xr,{onResize:_,disabled:!(a||l),children:C("textarea",{...f,ref:y,style:z,className:te(r,s,V({},"".concat(r,"-disabled"),u)),disabled:u,value:v,onChange:g})})}),QB=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize"],ZB=ct.forwardRef(function(e,t){var n,r,o=e.defaultValue,i=e.value,a=e.onFocus,l=e.onBlur,s=e.onChange,c=e.allowClear,u=e.maxLength,d=e.onCompositionStart,f=e.onCompositionEnd,m=e.suffix,h=e.prefixCls,v=h===void 0?"rc-textarea":h,b=e.showCount,g=e.count,y=e.className,S=e.style,x=e.disabled,$=e.hidden,E=e.classNames,w=e.styles,R=e.onResize,P=et(e,QB),N=jt(o,{value:i,defaultValue:o}),I=G(N,2),F=I[0],k=I[1],T=F==null?"":String(F),D=ct.useState(!1),A=G(D,2),M=A[0],O=A[1],L=ct.useRef(!1),_=ct.useState(null),B=G(_,2),z=B[0],j=B[1],H=p.exports.useRef(null),W=function(){var me;return(me=H.current)===null||me===void 0?void 0:me.textArea},Y=function(){W().focus()};p.exports.useImperativeHandle(t,function(){return{resizableTextArea:H.current,focus:Y,blur:function(){W().blur()}}}),p.exports.useEffect(function(){O(function($e){return!x&&$e})},[x]);var K=ct.useState(null),q=G(K,2),ee=q[0],Z=q[1];ct.useEffect(function(){if(ee){var $e;($e=W()).setSelectionRange.apply($e,Re(ee))}},[ee]);var Q=$E(g,b),ne=(n=Q.max)!==null&&n!==void 0?n:u,ae=Number(ne)>0,J=Q.strategy(T),re=!!ne&&J>ne,pe=function(me,Te){var Ce=Te;!L.current&&Q.exceedFormatter&&Q.max&&Q.strategy(Te)>Q.max&&(Ce=Q.exceedFormatter(
Line truncated
|
|
||||||
`).forEach(function(a){o=a.indexOf(":"),n=a.substring(0,o).trim().toLowerCase(),r=a.substring(o+1).trim(),!(!n||t[n]&&GH[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},dS=Symbol("internals");function jl(e){return e&&String(e).trim().toLowerCase()}function Ru(e){return e===!1||e==null?e:le.isArray(e)?e.map(Ru):String(e)}function qH(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const XH=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function ov(e,t,n,r,o){if(le.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!le.isString(t)){if(le.isString(r))return t.indexOf(r)!==-1;if(le.isRegExp(r))return r.test(t)}}function QH(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function ZH(e,t){const n=le.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(o,i,a){return this[r].call(this,t,o,i,a)},configurable:!0})})}class Wf{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function i(l,s,c){const u=jl(s);if(!u)throw new Error("header name must be a non-empty string");const d=le.findKey(o,u);(!d||o[d]===void 0||c===!0||c===void 0&&o[d]!==!1)&&(o[d||s]=Ru(l))}const a=(l,s)=>le.forEach(l,(c,u)=>i(c,u,s));if(le.isPlainObject(t)||t instanceof this.constructor)a(t,n);else if(le.isString(t)&&(t=t.trim())&&!XH(t))a(KH(t),n);else if(le.isHeaders(t))for(const[l,s]of t.entries())i(s,l,r);else t!=null&&i(n,t,r);return this}get(t,n){if(t=jl(t),t){const r=le.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return qH(o);if(le.isFunction(n))return n.call(this,o,r);if(le.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=jl(t),t){const r=le.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||ov(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function i(a){if(a=jl(a),a){const l=le.findKey(r,a);l&&(!n||ov(r,r[l],l,n))&&(delete r[l],o=!0)}}return le.isArray(t)?t.forEach(i):i(t),o}clear(t){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const i=n[r];(!t||ov(this,this[i],i,t,!0))&&(delete this[i],o=!0)}return o}normalize(t){const n=this,r={};return le.forEach(this,(o,i)=>{const a=le.findKey(r,i);if(a){n[a]=Ru(o),delete n[i];return}const l=t?QH(i):String(i).trim();l!==i&&delete n[i],n[l]=Ru(o),r[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return le.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=t&&le.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
|
|
||||||
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(o=>r.set(o)),r}static accessor(t){const r=(this[dS]=this[dS]={accessors:{}}).accessors,o=this.prototype;function i(a){const l=jl(a);r[l]||(ZH(o,a),r[l]=!0)}return le.isArray(t)?t.forEach(i):i(t),this}}Wf.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);le.reduceDescriptors(Wf.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});le.freezeMethods(Wf);const Vr=Wf;function iv(e,t){const n=this||w0,r=t||n,o=Vr.from(r.headers);let i=r.data;return le.forEach(e,function(l){i=l.call(n,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function nO(e){return!!(e&&e.__CANCEL__)}function Cl(e,t,n){st.call(this,e==null?"canceled":e,st.ERR_CANCELED,t,n),this.name="CanceledError"}le.inherits(Cl,st,{__CANCEL__:!0});function rO(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new st("Request failed with status code "+n.status,[st.ERR_BAD_REQUEST,st.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function JH(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function eW(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,i=0,a;return t=t!==void 0?t:1e3,function(s){const c=Date.now(),u=r[i];a||(a=c),n[o]=s,r[o]=c;let d=i,f=0;for(;d!==o;)f+=n[d++],d=d%e;if(o=(o+1)%e,o===i&&(i=(i+1)%e),c-a<t)return;const m=u&&c-u;return m?Math.round(f*1e3/m):void 0}}function tW(e,t){let n=0,r=1e3/t,o,i;const a=(c,u=Date.now())=>{n=u,o=null,i&&(clearTimeout(i),i=null),e.apply(null,c)};return[(...c)=>{const u=Date.now(),d=u-n;d>=r?a(c,u):(o=c,i||(i=setTimeout(()=>{i=null,a(o)},r-d)))},()=>o&&a(o)]}const Od=(e,t,n=3)=>{let r=0;const o=eW(50,250);return tW(i=>{const a=i.loaded,l=i.lengthComputable?i.total:void 0,s=a-r,c=o(s),u=a<=l;r=a;const d={loaded:a,total:l,progress:l?a/l:void 0,bytes:s,rate:c||void 0,estimated:c&&l&&u?(l-a)/c:void 0,event:i,lengthComputable:l!=null,[t?"download":"upload"]:!0};e(d)},n)},fS=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},pS=e=>(...t)=>le.asap(()=>e(...t)),nW=Xn.hasStandardBrowserEnv?function(){const t=Xn.navigator&&/(msie|trident)/i.test(Xn.navigator.userAgent),n=document.createElement("a");let r;function o(i){let a=i;return t&&(n.setAttribute("href",a),a=n.href),n.setAttribute("href",a),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=o(window.location.href),function(a){const l=le.isString(a)?o(a):a;return l.protocol===r.protocol&&l.host===r.host}}():function(){return function(){return!0}}(),rW=Xn.hasStandardBrowserEnv?{write(e,t,n,r,o,i){const a=[e+"="+encodeURIComponent(t)];le.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),le.isString(r)&&a.push("path="+r),le.isString(o)&&a.push("domain="+o),i===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function oW(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function iW(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function oO(e,t){return e&&!oW(t)?iW(e,t):t}const vS=e=>e instanceof Vr?{...e}:e;function Yi(e,t){t=t||{};const n={};function r(c,u,d){return le.isPlainObject(c)&&le.isPlainObject(u)?le.merge.call({caseless:d},c,u):le.isPlainObject(u)?le.merge({},u):le.isArray(u)?u.slice():u}function o(c,u,d){if(le.isUndefined(u)){if(!le.isUndefined(c))return r(void 0,c,d)}else return r(c,u,d)}function i(c,u){if(!le.isUndefined(u))return r(void 0,u)}function a(c,u){if(le.isUndefined(u)){if(!le.isUndefined(c))return r(void 0,c)}else return r(void 0,u)}function l(c,u,d){if(d in t)return r(c,u);if(d in e)return r(void 0,c)}const s={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:l,headers:(c,u)=>o(vS(c),vS(u),!0)};return le.forEach(Object.keys(Object.assign({},e,t)),function(u){const d=s[u]||o,f=d(e[u],t[u],u);le.isUndefined(f)&&d!==l||(n[u]=f)}),n}const iO=e=>{const t=Yi({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:i,headers:a,auth:l}=t;t.headers=a=Vr.from(a),t.url=JE(oO(t.baseURL,t.url),e.params,e.paramsSerializer),l&&a.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unesca
Line truncated
|
|
||||||
`+i.map(gS).join(`
|
|
||||||
`):" "+gS(i[0]):"as no adapter specified";throw new st("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return r},adapters:pm};function av(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Cl(null,e)}function yS(e){return av(e),e.headers=Vr.from(e.headers),e.data=iv.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),sO.getAdapter(e.adapter||w0.adapter)(e).then(function(r){return av(e),r.data=iv.call(e,e.transformResponse,r),r.headers=Vr.from(r.headers),r},function(r){return nO(r)||(av(e),r&&r.response&&(r.response.data=iv.call(e,e.transformResponse,r.response),r.response.headers=Vr.from(r.response.headers))),Promise.reject(r)})}const cO="1.7.7",$0={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{$0[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const bS={};$0.transitional=function(t,n,r){function o(i,a){return"[Axios v"+cO+"] Transitional option '"+i+"'"+a+(r?". "+r:"")}return(i,a,l)=>{if(t===!1)throw new st(o(a," has been removed"+(n?" in "+n:"")),st.ERR_DEPRECATED);return n&&!bS[a]&&(bS[a]=!0,console.warn(o(a," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,a,l):!0}};function bW(e,t,n){if(typeof e!="object")throw new st("options must be an object",st.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const i=r[o],a=t[i];if(a){const l=e[i],s=l===void 0||a(l,i,e);if(s!==!0)throw new st("option "+i+" must be "+s,st.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new st("Unknown option "+i,st.ERR_BAD_OPTION)}}const vm={assertOptions:bW,validators:$0},Lo=vm.validators;class Rd{constructor(t){this.defaults=t,this.interceptors={request:new uS,response:new uS}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let o;Error.captureStackTrace?Error.captureStackTrace(o={}):o=new Error;const i=o.stack?o.stack.replace(/^.+\n/,""):"";try{r.stack?i&&!String(r.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(r.stack+=`
|
|
||||||
`+i):r.stack=i}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Yi(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:i}=n;r!==void 0&&vm.assertOptions(r,{silentJSONParsing:Lo.transitional(Lo.boolean),forcedJSONParsing:Lo.transitional(Lo.boolean),clarifyTimeoutError:Lo.transitional(Lo.boolean)},!1),o!=null&&(le.isFunction(o)?n.paramsSerializer={serialize:o}:vm.assertOptions(o,{encode:Lo.function,serialize:Lo.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=i&&le.merge(i.common,i[n.method]);i&&le.forEach(["delete","get","head","post","put","patch","common"],h=>{delete i[h]}),n.headers=Vr.concat(a,i);const l=[];let s=!0;this.interceptors.request.forEach(function(v){typeof v.runWhen=="function"&&v.runWhen(n)===!1||(s=s&&v.synchronous,l.unshift(v.fulfilled,v.rejected))});const c=[];this.interceptors.response.forEach(function(v){c.push(v.fulfilled,v.rejected)});let u,d=0,f;if(!s){const h=[yS.bind(this),void 0];for(h.unshift.apply(h,l),h.push.apply(h,c),f=h.length,u=Promise.resolve(n);d<f;)u=u.then(h[d++],h[d++]);return u}f=l.length;let m=n;for(d=0;d<f;){const h=l[d++],v=l[d++];try{m=h(m)}catch(b){v.call(this,b);break}}try{u=yS.call(this,m)}catch(h){return Promise.reject(h)}for(d=0,f=c.length;d<f;)u=u.then(c[d++],c[d++]);return u}getUri(t){t=Yi(this.defaults,t);const n=oO(t.baseURL,t.url);return JE(n,t.params,t.paramsSerializer)}}le.forEach(["delete","get","head","options"],function(t){Rd.prototype[t]=function(n,r){return this.request(Yi(r||{},{method:t,url:n,data:(r||{}).data}))}});le.forEach(["post","put","patch"],function(t){function n(r){return function(i,a,l){return this.request(Yi(l||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:i,data:a}))}}Rd.prototype[t]=n(),Rd.prototype[t+"Form"]=n(!0)});const Iu=Rd;class E0{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});const r=this;this.promise.then(o=>{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](o);r._listeners=null}),this.promise.then=o=>{let i;const a=new Promise(l=>{r.subscribe(l),i=l}).then(o);return a.cancel=function(){r.unsubscribe(i)},a},t(function(i,a,l){r.reason||(r.reason=new Cl(i,a,l),n(r.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 n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new E0(function(o){t=o}),cancel:t}}}const SW=E0;function CW(e){return function(n){return e.apply(null,n)}}function xW(e){return le.isObject(e)&&e.isAxiosError===!0}const hm={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(hm).forEach(([e,t])=>{hm[t]=e});const wW=hm;function uO(e){const t=new Iu(e),n=jE(Iu.prototype.request,t);return le.extend(n,Iu.prototype,t,{allOwnKeys:!0}),le.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return uO(Yi(e,o))},n}const on=uO(w0);on.Axios=Iu;on.CanceledError=Cl;on.CancelToken=SW;on.isCancel=nO;on.VERSION=cO;on.toFormData=Hf;on.AxiosError=st;on.Cancel=on.CanceledError;on.all=function(t){return Promise.all(t)};on.spread=CW;on.isAxiosError=xW;on.mergeConfig=Yi;on.AxiosHeaders=Vr;on.formToJSON=e=>tO(le.isHTMLForm(e)?new FormData(e):e);on.getAdapter=sO.getAdapter;on.HttpStatusCode=wW;on.default=on;const $W=on;const ha={INIT:"normal",START:"active",END:"success",ERROR:"exception"};function EW({info:e,appVersion:t,clickCheckUpdate:n,syncSpin:r}){const[o,i]=p.exports.useState({});return p.exports.useEffect(()=>{i({PID:e.PI
Line truncated
|
|
||||||
happen because the element may not have been added to DOM yet.
|
|
||||||
See https://github.com/ankeetmaini/react-infinite-scroll-component/issues/59 for more info.
|
|
||||||
`),null)},r.onStart=function(o){r.lastScrollTop||(r.dragging=!0,o instanceof MouseEvent?r.startY=o.pageY:o instanceof TouchEvent&&(r.startY=o.touches[0].pageY),r.currentY=r.startY,r._infScroll&&(r._infScroll.style.willChange="transform",r._infScroll.style.transition="transform 0.2s cubic-bezier(0,0,0.31,1)"))},r.onMove=function(o){!r.dragging||(o instanceof MouseEvent?r.currentY=o.pageY:o instanceof TouchEvent&&(r.currentY=o.touches[0].pageY),!(r.currentY<r.startY)&&(r.currentY-r.startY>=Number(r.props.pullDownToRefreshThreshold)&&r.setState({pullToRefreshThresholdBreached:!0}),!(r.currentY-r.startY>r.maxPullDownDistance*1.5)&&r._infScroll&&(r._infScroll.style.overflow="visible",r._infScroll.style.transform="translate3d(0px, "+(r.currentY-r.startY)+"px, 0px)")))},r.onEnd=function(){r.startY=0,r.currentY=0,r.dragging=!1,r.state.pullToRefreshThresholdBreached&&(r.props.refreshFunction&&r.props.refreshFunction(),r.setState({pullToRefreshThresholdBreached:!1})),requestAnimationFrame(function(){r._infScroll&&(r._infScroll.style.overflow="auto",r._infScroll.style.transform="none",r._infScroll.style.willChange="unset")})},r.onScrollListener=function(o){typeof r.props.onScroll=="function"&&setTimeout(function(){return r.props.onScroll&&r.props.onScroll(o)},0);var i=r.props.height||r._scrollableNode?o.target:document.documentElement.scrollTop?document.documentElement:document.body;if(!r.actionTriggered){var a=r.props.inverse?r.isElementAtTop(i,r.props.scrollThreshold):r.isElementAtBottom(i,r.props.scrollThreshold);a&&r.props.hasMore&&(r.actionTriggered=!0,r.setState({showLoader:!0}),r.props.next&&r.props.next()),r.lastScrollTop=i.scrollTop}},r.state={showLoader:!1,pullToRefreshThresholdBreached:!1,prevDataLength:n.dataLength},r.throttledOnScrollListener=TW(150,r.onScrollListener).bind(r),r.onStart=r.onStart.bind(r),r.onMove=r.onMove.bind(r),r.onEnd=r.onEnd.bind(r),r}return t.prototype.componentDidMount=function(){if(typeof this.props.dataLength>"u")throw new Error('mandatory prop "dataLength" is missing. The prop is needed when loading more content. Check README.md for usage');if(this._scrollableNode=this.getScrollableTarget(),this.el=this.props.height?this._infScroll:this._scrollableNode||window,this.el&&this.el.addEventListener("scroll",this.throttledOnScrollListener),typeof this.props.initialScrollY=="number"&&this.el&&this.el instanceof HTMLElement&&this.el.scrollHeight>this.props.initialScrollY&&this.el.scrollTo(0,this.props.initialScrollY),this.props.pullDownToRefresh&&this.el&&(this.el.addEventListener("touchstart",this.onStart),this.el.addEventListener("touchmove",this.onMove),this.el.addEventListener("touchend",this.onEnd),this.el.addEventListener("mousedown",this.onStart),this.el.addEventListener("mousemove",this.onMove),this.el.addEventListener("mouseup",this.onEnd),this.maxPullDownDistance=this._pullDown&&this._pullDown.firstChild&&this._pullDown.firstChild.getBoundingClientRect().height||0,this.forceUpdate(),typeof this.props.refreshFunction!="function"))throw new Error(`Mandatory prop "refreshFunction" missing.
|
|
||||||
Pull Down To Refresh functionality will not work
|
|
||||||
as expected. Check README.md for usage'`)},t.prototype.componentWillUnmount=function(){this.el&&(this.el.removeEventListener("scroll",this.throttledOnScrollListener),this.props.pullDownToRefresh&&(this.el.removeEventListener("touchstart",this.onStart),this.el.removeEventListener("touchmove",this.onMove),this.el.removeEventListener("touchend",this.onEnd),this.el.removeEventListener("mousedown",this.onStart),this.el.removeEventListener("mousemove",this.onMove),this.el.removeEventListener("mouseup",this.onEnd)))},t.prototype.componentDidUpdate=function(n){this.props.dataLength!==n.dataLength&&(this.actionTriggered=!1,this.setState({showLoader:!1}))},t.getDerivedStateFromProps=function(n,r){var o=n.dataLength!==r.prevDataLength;return o?vs(vs({},r),{prevDataLength:n.dataLength}):null},t.prototype.isElementAtTop=function(n,r){r===void 0&&(r=.8);var o=n===document.body||n===document.documentElement?window.screen.availHeight:n.clientHeight,i=CS(r);return i.unit===Ya.Pixel?n.scrollTop<=i.value+o-n.scrollHeight+1:n.scrollTop<=i.value/100+o-n.scrollHeight+1},t.prototype.isElementAtBottom=function(n,r){r===void 0&&(r=.8);var o=n===document.body||n===document.documentElement?window.screen.availHeight:n.clientHeight,i=CS(r);return i.unit===Ya.Pixel?n.scrollTop+o>=n.scrollHeight-i.value:n.scrollTop+o>=i.value/100*n.scrollHeight},t.prototype.render=function(){var n=this,r=vs({height:this.props.height||"auto",overflow:"auto",WebkitOverflowScrolling:"touch"},this.props.style),o=this.props.hasChildren||!!(this.props.children&&this.props.children instanceof Array&&this.props.children.length),i=this.props.pullDownToRefresh&&this.props.height?{overflow:"auto"}:{};return C("div",{style:i,className:"infinite-scroll-component__outerdiv",children:oe("div",{className:"infinite-scroll-component "+(this.props.className||""),ref:function(a){return n._infScroll=a},style:r,children:[this.props.pullDownToRefresh&&C("div",{style:{position:"relative"},ref:function(a){return n._pullDown=a},children:C("div",{style:{position:"absolute",left:0,right:0,top:-1*this.maxPullDownDistance},children:this.state.pullToRefreshThresholdBreached?this.props.releaseToRefreshContent:this.props.pullDownToRefreshContent})}),this.props.children,!this.state.showLoader&&!o&&this.props.hasMore&&this.props.loader,this.state.showLoader&&this.props.hasMore&&this.props.loader,!this.props.hasMore&&this.props.endMessage]})})},t}(p.exports.Component);const NW=p.exports.forwardRef((e,t)=>{let n=!1,r=!1;e.message.position==="middle"?n=!0:r=e.message.position!=="right";const o=p.exports.useMemo(()=>e.renderMessageContent(e.message),[e.message]);return oe("div",{className:"MessageBubble",id:e.id,ref:t,children:[C("time",{className:"Time",dateTime:kt(e.message.createdAt).format(),children:kt(e.message.createdAt*1e3).format("YYYY\u5E74M\u6708D\u65E5 HH:mm")}),n?o:oe("div",{className:"MessageBubble-content"+(r?"-left":"-right"),children:[C("div",{className:"MessageBubble-content-Avatar",children:r&&C(ti,{className:"MessageBubble-Avatar-left",src:e.message.user.avatar,size:{xs:40,sm:40,md:40,lg:40,xl:40,xxl:40},shape:"square",alt:"\u65E0\u6CD5\u52A0\u8F7D\u5934\u50CF"})}),oe("div",{className:"Bubble"+(r?"-left":"-right"),children:[C("div",{className:"MessageBubble-Name"+(r?"-left":"-right"),truncate:1,children:e.message.user.name}),o]}),C("div",{className:"MessageBubble-content-Avatar",children:!r&&C(ti,{className:"MessageBubble-Avatar-right",src:e.message.user.avatar,size:{xs:40,sm:40,md:40,lg:40,xl:40,xxl:40},shape:"square",alt:"\u65E0\u6CD5\u52A0\u8F7D\u5934\u50CF"})})]})]})});function AW(e){const t=p.exports.useRef(),n=p.exports.useRef(0),r=p.exports.useRef(null),o=a=>{a.srcElement.scrollTop>0&&a.srcElement.scrollTop<1&&(a.srcElement.scrollTop=0),a.srcElement.scrollTop===0?(n.current=a.srcElement.scrollHeight,r.current=a.srcElement,e.atBottom&&e.atBottom()):(n.current=0,r.current=null)};function i(){e.next()}return p.exports.useEffect(()=>{n.current!==0&&r.current&&(r.current.scrollTop=-(r.current.scrollHeight-n.current),n.current=0,r.current=null)},[e.messages]),p.exports.useEffect(()=>{t.current&&t.current.scrollIntoView()},[e.messages]),C("div",{id:"scrollableDiv",children:C(dO,{scrollableTarget:"scrollableDiv",dataLength:e.messages.length,next:i,hasMore:e.hasMore,inverse:!0,onScroll:o,children:e.messages.map(a=>C(NW,{message:a,renderMessageContent:e.renderMessageContent,id:a.key,ref:a.key===e.scrollIntoId?t:null},a.key))})})}function _W(e){return C("div",{className:"ChatUi",children:C(AW,{messages:e.messages,next:e.fetchMoreData,hasMore:e.hasMore,renderMessageContent:e.renderMessageContent,atBottom:e.atBottom,scrollIntoId:e.scrollIntoId})})}function fO(e){const[t,n]=p.exports.useState(e);return{messages:t,prependMsgs:a=>{n(a.concat(t))},appendMsgs:a=>{n(t.concat(a))},setMsgs:a=>{n(a)}}}const DW="data:image/png;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQH/2wBDAQEBAQEBAQEBAQEBAQEBAQ
Line truncated
|
|
||||||
`).forEach((c,u)=>{u>0&&i.push(C("br",{},`${l}-${u}`)),i.push(c)}):i.push(a)}),i};function O0(e){const t=p.exports.useMemo(()=>kU(xS),[]),[n,r]=p.exports.useState([]);return p.exports.useEffect(()=>{const o=zU(e.text,xS,t);r(o)},[e.text,t]),C(xE,{className:"CardMessageText "+e.className,size:"small",children:C(At,{children:n})})}const BU=e=>!!e&&e[0]==="o",wS=Qn.exports.unstable_batchedUpdates||(e=>e()),ma=(e,t,n=1e-4)=>Math.abs(e-t)<n,gm=(e,t)=>e===!0||!!(e&&e[t]),Ur=(e,t)=>typeof e=="function"?e(t):e,M0=(e,t)=>(t&&Object.keys(t).forEach(n=>{const r=e[n],o=t[n];typeof o=="function"&&r?e[n]=(...i)=>{o(...i),r(...i)}:e[n]=o}),e),jU=e=>{if(typeof e!="string")return{top:0,right:0,bottom:0,left:0};const t=e.trim().split(/\s+/,4).map(parseFloat),n=isNaN(t[0])?0:t[0],r=isNaN(t[1])?n:t[1];return{top:n,right:r,bottom:isNaN(t[2])?n:t[2],left:isNaN(t[3])?r:t[3]}},lv=e=>{for(;e;){if(e=e.parentNode,!e||e===document.body||!e.parentNode)return;const{overflow:t,overflowX:n,overflowY:r}=getComputedStyle(e);if(/auto|scroll|overlay|hidden/.test(t+r+n))return e}};function pO(e,t){return{"aria-disabled":e||void 0,tabIndex:t?0:-1}}function $S(e,t){for(let n=0;n<e.length;n++)if(e[n]===t)return n;return-1}const Id=({block:e,element:t,modifiers:n,className:r})=>p.exports.useMemo(()=>{const o=t?`${e}__${t}`:e;let i=o;n&&Object.keys(n).forEach(l=>{const s=n[l];s&&(i+=` ${o}--${s===!0?l:`${l}-${s}`}`)});let a=typeof r=="function"?r(n):r;return typeof a=="string"&&(a=a.trim(),a&&(i+=` ${a}`)),i},[e,t,n,r]),HU="szh-menu-container",Pu="szh-menu",WU="arrow",VU="item",vO=p.exports.createContext(),hO=p.exports.createContext({}),ES=p.exports.createContext({}),mO=p.exports.createContext({}),UU=p.exports.createContext({}),R0=p.exports.createContext({}),yo=Object.freeze({ENTER:"Enter",ESC:"Escape",SPACE:" ",HOME:"Home",END:"End",LEFT:"ArrowLeft",RIGHT:"ArrowRight",UP:"ArrowUp",DOWN:"ArrowDown"}),ln=Object.freeze({RESET:0,SET:1,UNSET:2,INCREASE:3,DECREASE:4,FIRST:5,LAST:6,SET_INDEX:7}),Ks=Object.freeze({CLICK:"click",CANCEL:"cancel",BLUR:"blur",SCROLL:"scroll"}),OS=Object.freeze({FIRST:"first",LAST:"last"}),sv="absolute",YU="presentation",gO="menuitem",MS={"aria-hidden":!0,role:gO},GU=({className:e,containerRef:t,containerProps:n,children:r,isOpen:o,theming:i,transition:a,onClose:l})=>{const s=gm(a,"item");return C("div",{...M0({onKeyDown:({key:d})=>{switch(d){case yo.ESC:Ur(l,{key:d,reason:Ks.CANCEL});break}},onBlur:d=>{o&&!d.currentTarget.contains(d.relatedTarget)&&Ur(l,{reason:Ks.BLUR})}},n),className:Id({block:HU,modifiers:p.exports.useMemo(()=>({theme:i,itemTransition:s}),[i,s]),className:e}),style:{position:"absolute",...n==null?void 0:n.style},ref:t,children:r})},KU=()=>{let e,t=0;return{toggle:n=>{n?t++:t--,t=Math.max(t,0)},on:(n,r,o)=>{t?e||(e=setTimeout(()=>{e=0,r()},n)):o==null||o()},off:()=>{e&&(clearTimeout(e),e=0)}}},qU=(e,t)=>{const[n,r]=p.exports.useState(),i=p.exports.useRef({items:[],hoverIndex:-1,sorted:!1}).current,a=p.exports.useCallback((s,c)=>{const{items:u}=i;if(!s)i.items=[];else if(c)u.push(s);else{const d=u.indexOf(s);d>-1&&(u.splice(d,1),s.contains(document.activeElement)&&(t.current.focus(),r()))}i.hoverIndex=-1,i.sorted=!1},[i,t]),l=p.exports.useCallback((s,c,u)=>{const{items:d,hoverIndex:f}=i,m=()=>{if(i.sorted)return;const b=e.current.querySelectorAll(".szh-menu__item");d.sort((g,y)=>$S(b,g)-$S(b,y)),i.sorted=!0};let h=-1,v;switch(s){case ln.RESET:break;case ln.SET:v=c;break;case ln.UNSET:v=b=>b===c?void 0:b;break;case ln.FIRST:m(),h=0,v=d[h];break;case ln.LAST:m(),h=d.length-1,v=d[h];break;case ln.SET_INDEX:m(),h=u,v=d[h];break;case ln.INCREASE:m(),h=f,h<0&&(h=d.indexOf(c)),h++,h>=d.length&&(h=0),v=d[h];break;case ln.DECREASE:m(),h=f,h<0&&(h=d.indexOf(c)),h--,h<0&&(h=d.length-1),v=d[h];break}v||(h=-1),r(v),i.hoverIndex=h},[e,i]);return{hoverItem:n,dispatch:l,updateItems:a}},XU=(e,t,n,r)=>{const o=t.current.getBoundingClientRect(),i=e.current.getBoundingClientRect(),a=n===window?{left:0,top:0,right:document.documentElement.clientWidth,bottom:window.innerHeight}:n.getBoundingClientRect(),l=jU(r),s=h=>h+i.left-a.left-l.left,c=h=>h+i.left+o.width-a.right+l.right,u=h=>h+i.top-a.top-l.top,d=h=>h+i.top+o.height-a.bottom+l.bottom;return{menuRect:o,containerRect:i,getLeftOverflow:s,getRightOverflow:c,getTopOverflow:u,getBottomOverflow:d,confineHorizontally:h=>{let v=s(h);if(v<0)h-=v;else{const b=c(h);b>0&&(h-=b,v=s(h),v<0&&(h-=v))}return h},confineVertically:h=>{let v=u(h);if(v<0)h-=v;else{const b=d(h);b>0&&(h-=b,v=u(h),v<0&&(h-=v))}return h}}},QU=({arrowRef:e,menuY:t,anchorRect:n,containerRect:r,menuRect:o})=>{let i=n.top-r.top-t+n.height/2;const a=e.current.offsetHeight*1.25;return i=Math.max(a,i),i=Math.min(i,o.height-a),i},ZU=({anchorRect:e,containerRect:t,menuRect:n,placeLeftorRightY:r,placeLeftX:o,placeRightX:i,getLeftOverflow:a,getRightOverflow:l,confineHorizontally:s,confineVertically:c,arrowRef:u,arrow:d,direction:f,position:m})=>{let h=f,v=r;m!=="initial"&&(v=c(v),m==="anchor"&&(v=Math.min(v,e.bottom-t.top),v=
Line truncated
|
|
||||||
* clipboard.js v2.0.11
|
|
||||||
* https://clipboardjs.com/
|
|
||||||
*
|
|
||||||
* Licensed MIT © Zeno Rocha
|
|
||||||
*/(function(e,t){(function(r,o){e.exports=o()})(Kr,function(){return function(){var n={686:function(i,a,l){l.d(a,{default:function(){return B}});var s=l(279),c=l.n(s),u=l(370),d=l.n(u),f=l(817),m=l.n(f);function h(z){try{return document.execCommand(z)}catch{return!1}}var v=function(j){var H=m()(j);return h("cut"),H},b=v;function g(z){var j=document.documentElement.getAttribute("dir")==="rtl",H=document.createElement("textarea");H.style.fontSize="12pt",H.style.border="0",H.style.padding="0",H.style.margin="0",H.style.position="absolute",H.style[j?"right":"left"]="-9999px";var W=window.pageYOffset||document.documentElement.scrollTop;return H.style.top="".concat(W,"px"),H.setAttribute("readonly",""),H.value=z,H}var y=function(j,H){var W=g(j);H.container.appendChild(W);var Y=m()(W);return h("copy"),W.remove(),Y},S=function(j){var H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},W="";return typeof j=="string"?W=y(j,H):j instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(j==null?void 0:j.type)?W=y(j.value,H):(W=m()(j),h("copy")),W},x=S;function $(z){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?$=function(H){return typeof H}:$=function(H){return H&&typeof Symbol=="function"&&H.constructor===Symbol&&H!==Symbol.prototype?"symbol":typeof H},$(z)}var E=function(){var j=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},H=j.action,W=H===void 0?"copy":H,Y=j.container,K=j.target,q=j.text;if(W!=="copy"&&W!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(K!==void 0)if(K&&$(K)==="object"&&K.nodeType===1){if(W==="copy"&&K.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(W==="cut"&&(K.hasAttribute("readonly")||K.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`)}else throw new Error('Invalid "target" value, use a valid Element');if(q)return x(q,{container:Y});if(K)return W==="cut"?b(K):x(K,{container:Y})},w=E;function R(z){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?R=function(H){return typeof H}:R=function(H){return H&&typeof Symbol=="function"&&H.constructor===Symbol&&H!==Symbol.prototype?"symbol":typeof H},R(z)}function P(z,j){if(!(z instanceof j))throw new TypeError("Cannot call a class as a function")}function N(z,j){for(var H=0;H<j.length;H++){var W=j[H];W.enumerable=W.enumerable||!1,W.configurable=!0,"value"in W&&(W.writable=!0),Object.defineProperty(z,W.key,W)}}function I(z,j,H){return j&&N(z.prototype,j),H&&N(z,H),z}function F(z,j){if(typeof j!="function"&&j!==null)throw new TypeError("Super expression must either be null or a function");z.prototype=Object.create(j&&j.prototype,{constructor:{value:z,writable:!0,configurable:!0}}),j&&k(z,j)}function k(z,j){return k=Object.setPrototypeOf||function(W,Y){return W.__proto__=Y,W},k(z,j)}function T(z){var j=M();return function(){var W=O(z),Y;if(j){var K=O(this).constructor;Y=Reflect.construct(W,arguments,K)}else Y=W.apply(this,arguments);return D(this,Y)}}function D(z,j){return j&&(R(j)==="object"||typeof j=="function")?j:A(z)}function A(z){if(z===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return z}function M(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function O(z){return O=Object.setPrototypeOf?Object.getPrototypeOf:function(H){return H.__proto__||Object.getPrototypeOf(H)},O(z)}function L(z,j){var H="data-clipboard-".concat(z);if(!!j.hasAttribute(H))return j.getAttribute(H)}var _=function(z){F(H,z);var j=T(H);function H(W,Y){var K;return P(this,H),K=j.call(this),K.resolveOptions(Y),K.listenClick(W),K}return I(H,[{key:"resolveOptions",value:function(){var Y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof Y.action=="function"?Y.action:this.defaultAction,this.target=typeof Y.target=="function"?Y.target:this.defaultTarget,this.text=typeof Y.text=="function"?Y.text:this.defaultText,this.container=R(Y.container)==="object"?Y.container:document.body}},{key:"listenClick",value:function(Y){var K=this;this.listener=d()(Y,"click",function(q){return K.onClick(q)})}},{key:"onClick",value:function(Y){var K=Y.delegateTarget||Y.currentTarget,q=this.action(K)||"copy",ee=w({action:q,container:this.container,target:this.target(K),text:this.text(K)});this.emit(ee?"success":"error",{action:q,text:ee,trigger:K,clearSelection:function(){K&&K.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(Y){return L("action",Y)}},{key:"defaultTarget",value:function(Y){var K=L("target",Y);if(K)return document.querySelector(K)}},{key:"defaultText",value:function(Y){return L("text",Y)}},{key:"destroy",value:fuLine truncated
|
|
||||||
+503
@@ -0,0 +1,503 @@
|
|||||||
|
function V$(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const o in r)if(o!=="default"&&!(o in e)){const a=Object.getOwnPropertyDescriptor(r,o);a&&Object.defineProperty(e,o,a.get?a:{enumerable:!0,get:()=>r[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const a of o)if(a.type==="childList")for(const i of a.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const a={};return o.integrity&&(a.integrity=o.integrity),o.referrerpolicy&&(a.referrerPolicy=o.referrerpolicy),o.crossorigin==="use-credentials"?a.credentials="include":o.crossorigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function r(o){if(o.ep)return;o.ep=!0;const a=n(o);fetch(o.href,a)}})();var zn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function qc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function jT(e){var t=e.default;if(typeof t=="function"){var n=function(){return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var v={exports:{}},St={};/**
|
||||||
|
* @license React
|
||||||
|
* react.production.min.js
|
||||||
|
*
|
||||||
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||||
|
*
|
||||||
|
* This source code is licensed under the MIT license found in the
|
||||||
|
* LICENSE file in the root directory of this source tree.
|
||||||
|
*/var Xc=Symbol.for("react.element"),HT=Symbol.for("react.portal"),VT=Symbol.for("react.fragment"),WT=Symbol.for("react.strict_mode"),UT=Symbol.for("react.profiler"),GT=Symbol.for("react.provider"),YT=Symbol.for("react.context"),KT=Symbol.for("react.forward_ref"),qT=Symbol.for("react.suspense"),XT=Symbol.for("react.memo"),QT=Symbol.for("react.lazy"),dS=Symbol.iterator;function ZT(e){return e===null||typeof e!="object"?null:(e=dS&&e[dS]||e["@@iterator"],typeof e=="function"?e:null)}var W$={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},U$=Object.assign,G$={};function Zs(e,t,n){this.props=e,this.context=t,this.refs=G$,this.updater=n||W$}Zs.prototype.isReactComponent={};Zs.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Zs.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Y$(){}Y$.prototype=Zs.prototype;function Ry(e,t,n){this.props=e,this.context=t,this.refs=G$,this.updater=n||W$}var Py=Ry.prototype=new Y$;Py.constructor=Ry;U$(Py,Zs.prototype);Py.isPureReactComponent=!0;var fS=Array.isArray,K$=Object.prototype.hasOwnProperty,Iy={current:null},q$={key:!0,ref:!0,__self:!0,__source:!0};function X$(e,t,n){var r,o={},a=null,i=null;if(t!=null)for(r in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(a=""+t.key),t)K$.call(t,r)&&!q$.hasOwnProperty(r)&&(o[r]=t[r]);var s=arguments.length-2;if(s===1)o.children=n;else if(1<s){for(var l=Array(s),c=0;c<s;c++)l[c]=arguments[c+2];o.children=l}if(e&&e.defaultProps)for(r in s=e.defaultProps,s)o[r]===void 0&&(o[r]=s[r]);return{$$typeof:Xc,type:e,key:a,ref:i,props:o,_owner:Iy.current}}function JT(e,t){return{$$typeof:Xc,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Ty(e){return typeof e=="object"&&e!==null&&e.$$typeof===Xc}function e5(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var pS=/\/+/g;function ah(e,t){return typeof e=="object"&&e!==null&&e.key!=null?e5(""+e.key):t.toString(36)}function wd(e,t,n,r,o){var a=typeof e;(a==="undefined"||a==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(a){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case Xc:case HT:i=!0}}if(i)return i=e,o=o(i),e=r===""?"."+ah(i,0):r,fS(o)?(n="",e!=null&&(n=e.replace(pS,"$&/")+"/"),wd(o,t,n,"",function(c){return c})):o!=null&&(Ty(o)&&(o=JT(o,n+(!o.key||i&&i.key===o.key?"":(""+o.key).replace(pS,"$&/")+"/")+e)),t.push(o)),1;if(i=0,r=r===""?".":r+":",fS(e))for(var s=0;s<e.length;s++){a=e[s];var l=r+ah(a,s);i+=wd(a,t,n,l,o)}else if(l=ZT(e),typeof l=="function")for(e=l.call(e),s=0;!(a=e.next()).done;)a=a.value,l=r+ah(a,s++),i+=wd(a,t,n,l,o);else if(a==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return i}function Nu(e,t,n){if(e==null)return e;var r=[],o=0;return wd(e,r,"","",function(a){return t.call(n,a,o++)}),r}function t5(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Xn={current:null},$d={transition:null},n5={ReactCurrentDispatcher:Xn,ReactCurrentBatchConfig:$d,ReactCurrentOwner:Iy};St.Children={map:Nu,forEach:function(e,t,n){Nu(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Nu(e,function(){t++}),t},toArray:function(e){return Nu(e,function(t){return t})||[]},only:function(e){if(!Ty(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};St.Component=Zs;St.Fragment=VT;St.Profiler=UT;St.PureComponent=Ry;St.StrictMode=WT;St.Suspense=qT;St.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=n5;St.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=U$({},e.props),o=e.key,a=e.ref,i=e._owner;if(t!=null){if(t.ref!==void 0&&(a=t.ref,i=Iy.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(l in t)K$.call(t,l)&&!q$.hasOwnProperty(l)&&(r[l]=t[l]===void 0&&s!==void 0?s[l]:t[l])}var l=arguments.length-2;if(l===1)r.children=n;else if(1<l){s=Array(l);for(var c=0;c<l;c++)s[c]=arguments[c+2];r.children=s}return{$$typeof:Xc,type:e.type,key:o,ref:a,props:r,_owner:i}};St.createContext=function(e){return e={$$typeof:YT,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:GT,_conLine truncated
|
||||||
|
* @license React
|
||||||
|
* scheduler.production.min.js
|
||||||
|
*
|
||||||
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||||
|
*
|
||||||
|
* This source code is licensed under the MIT license found in the
|
||||||
|
* LICENSE file in the root directory of this source tree.
|
||||||
|
*/(function(e){function t(O,_){var A=O.length;O.push(_);e:for(;0<A;){var H=A-1>>>1,D=O[H];if(0<o(D,_))O[H]=_,O[A]=D,A=H;else break e}}function n(O){return O.length===0?null:O[0]}function r(O){if(O.length===0)return null;var _=O[0],A=O.pop();if(A!==_){O[0]=A;e:for(var H=0,D=O.length,B=D>>>1;H<B;){var W=2*(H+1)-1,G=O[W],K=W+1,j=O[K];if(0>o(G,A))K<D&&0>o(j,G)?(O[H]=j,O[K]=A,H=K):(O[H]=G,O[W]=A,H=W);else if(K<D&&0>o(j,A))O[H]=j,O[K]=A,H=K;else break e}}return _}function o(O,_){var A=O.sortIndex-_.sortIndex;return A!==0?A:O.id-_.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var i=Date,s=i.now();e.unstable_now=function(){return i.now()-s}}var l=[],c=[],u=1,d=null,f=3,h=!1,m=!1,p=!1,y=typeof setTimeout=="function"?setTimeout:null,g=typeof clearTimeout=="function"?clearTimeout:null,b=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function S(O){for(var _=n(c);_!==null;){if(_.callback===null)r(c);else if(_.startTime<=O)r(c),_.sortIndex=_.expirationTime,t(l,_);else break;_=n(c)}}function x(O){if(p=!1,S(O),!m)if(n(l)!==null)m=!0,F($);else{var _=n(c);_!==null&&M(x,_.startTime-O)}}function $(O,_){m=!1,p&&(p=!1,g(R),R=-1),h=!0;var A=f;try{for(S(_),d=n(l);d!==null&&(!(d.expirationTime>_)||O&&!P());){var H=d.callback;if(typeof H=="function"){d.callback=null,f=d.priorityLevel;var D=H(d.expirationTime<=_);_=e.unstable_now(),typeof D=="function"?d.callback=D:d===n(l)&&r(l),S(_)}else r(l);d=n(l)}if(d!==null)var B=!0;else{var W=n(c);W!==null&&M(x,W.startTime-_),B=!1}return B}finally{d=null,f=A,h=!1}}var E=!1,w=null,R=-1,I=5,T=-1;function P(){return!(e.unstable_now()-T<I)}function L(){if(w!==null){var O=e.unstable_now();T=O;var _=!0;try{_=w(!0,O)}finally{_?z():(E=!1,w=null)}}else E=!1}var z;if(typeof b=="function")z=function(){b(L)};else if(typeof MessageChannel<"u"){var N=new MessageChannel,k=N.port2;N.port1.onmessage=L,z=function(){k.postMessage(null)}}else z=function(){y(L,0)};function F(O){w=O,E||(E=!0,z())}function M(O,_){R=y(function(){O(e.unstable_now())},_)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(O){O.callback=null},e.unstable_continueExecution=function(){m||h||(m=!0,F($))},e.unstable_forceFrameRate=function(O){0>O||125<O?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):I=0<O?Math.floor(1e3/O):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(O){switch(f){case 1:case 2:case 3:var _=3;break;default:_=f}var A=f;f=_;try{return O()}finally{f=A}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(O,_){switch(O){case 1:case 2:case 3:case 4:case 5:break;default:O=3}var A=f;f=O;try{return _()}finally{f=A}},e.unstable_scheduleCallback=function(O,_,A){var H=e.unstable_now();switch(typeof A=="object"&&A!==null?(A=A.delay,A=typeof A=="number"&&0<A?H+A:H):A=H,O){case 1:var D=-1;break;case 2:D=250;break;case 5:D=1073741823;break;case 4:D=1e4;break;default:D=5e3}return D=A+D,O={id:u++,callback:_,priorityLevel:O,startTime:A,expirationTime:D,sortIndex:-1},A>H?(O.sortIndex=A,t(c,O),n(l)===null&&O===n(c)&&(p?(g(R),R=-1):p=!0,M(x,A-H))):(O.sortIndex=D,t(l,O),m||h||(m=!0,F($))),O},e.unstable_shouldYield=P,e.unstable_wrapCallback=function(O){var _=f;return function(){var A=f;f=_;try{return O.apply(this,arguments)}finally{f=A}}}})(Z$);(function(e){e.exports=Z$})(Q$);/**
|
||||||
|
* @license React
|
||||||
|
* react-dom.production.min.js
|
||||||
|
*
|
||||||
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||||
|
*
|
||||||
|
* This source code is licensed under the MIT license found in the
|
||||||
|
* LICENSE file in the root directory of this source tree.
|
||||||
|
*/var J$=v.exports,xr=Q$.exports;function ye(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var eE=new Set,vc={};function Pi(e,t){Ds(e,t),Ds(e+"Capture",t)}function Ds(e,t){for(vc[e]=t,e=0;e<t.length;e++)eE.add(t[e])}var Ho=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),eg=Object.prototype.hasOwnProperty,r5=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,vS={},hS={};function o5(e){return eg.call(hS,e)?!0:eg.call(vS,e)?!1:r5.test(e)?hS[e]=!0:(vS[e]=!0,!1)}function a5(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function i5(e,t,n,r){if(t===null||typeof t>"u"||a5(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Qn(e,t,n,r,o,a,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=i}var Nn={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Nn[e]=new Qn(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Nn[t]=new Qn(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Nn[e]=new Qn(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Nn[e]=new Qn(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Nn[e]=new Qn(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Nn[e]=new Qn(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Nn[e]=new Qn(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Nn[e]=new Qn(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Nn[e]=new Qn(e,5,!1,e.toLowerCase(),null,!1,!1)});var Ny=/[\-:]([a-z])/g;function Ay(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Ny,Ay);Nn[t]=new Qn(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Ny,Ay);Nn[t]=new Qn(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Ny,Ay);Nn[t]=new Qn(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Nn[e]=new Qn(e,1,!1,e.toLowerCase(),null,!1,!1)});Nn.xlinkHref=new Qn("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Nn[e]=new Qn(e,1,!1,e.toLowerCase(),null,!0,!0)});function _y(e,t,n,r){var o=Nn.hasOwnProperty(t)?Nn[t]:null;(o!==null?o.type!==0:r||!(2<t.length)||t[0
Line truncated
|
||||||
|
`+ih+e}var sh=!1;function lh(e,t){if(!e||sh)return"";sh=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(c){var r=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){r=c}e.call(t.prototype)}else{try{throw Error()}catch(c){r=c}e()}}catch(c){if(c&&r&&typeof c.stack=="string"){for(var o=c.stack.split(`
|
||||||
|
`),a=r.stack.split(`
|
||||||
|
`),i=o.length-1,s=a.length-1;1<=i&&0<=s&&o[i]!==a[s];)s--;for(;1<=i&&0<=s;i--,s--)if(o[i]!==a[s]){if(i!==1||s!==1)do if(i--,s--,0>s||o[i]!==a[s]){var l=`
|
||||||
|
`+o[i].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=i&&0<=s);break}}}finally{sh=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Bl(e):""}function s5(e){switch(e.tag){case 5:return Bl(e.type);case 16:return Bl("Lazy");case 13:return Bl("Suspense");case 19:return Bl("SuspenseList");case 0:case 2:case 15:return e=lh(e.type,!1),e;case 11:return e=lh(e.type.render,!1),e;case 1:return e=lh(e.type,!0),e;default:return""}}function og(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case is:return"Fragment";case as:return"Portal";case tg:return"Profiler";case Dy:return"StrictMode";case ng:return"Suspense";case rg:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case nE:return(e.displayName||"Context")+".Consumer";case tE:return(e._context.displayName||"Context")+".Provider";case Fy:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ly:return t=e.displayName||null,t!==null?t:og(e.type)||"Memo";case ua:t=e._payload,e=e._init;try{return og(e(t))}catch{}}return null}function l5(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return og(t);case 8:return t===Dy?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Ia(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function oE(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function c5(e){var t=oE(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(i){r=""+i,a.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function _u(e){e._valueTracker||(e._valueTracker=c5(e))}function aE(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=oE(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function tf(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function ag(e,t){var n=t.checked;return Kt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n!=null?n:e._wrapperState.initialChecked})}function gS(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Ia(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function iE(e,t){t=t.checked,t!=null&&_y(e,"checked",t,!1)}function ig(e,t){iE(e,t);var n=Ia(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?sg(e,t.type,n):t.hasOwnProperty("defaultValue")&&sg(e,t.type,Ia(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function yS(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function sg(e,t,n){(t!=="number"||tf(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var zl=Array.isArray;function $s(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Ia(n),t=null,o=0;o<e.length;o++){if(e[o].value===n){e[o].selected=!0,r&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function lg(e,t){i
Line truncated
|
||||||
|
`).replace(b6,"")}function Hu(e,t,n){if(t=jS(t),jS(e)!==t&&n)throw Error(ye(425))}function uf(){}var Cg=null,xg=null;function wg(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var $g=typeof setTimeout=="function"?setTimeout:void 0,S6=typeof clearTimeout=="function"?clearTimeout:void 0,HS=typeof Promise=="function"?Promise:void 0,C6=typeof queueMicrotask=="function"?queueMicrotask:typeof HS<"u"?function(e){return HS.resolve(null).then(e).catch(x6)}:$g;function x6(e){setTimeout(function(){throw e})}function Ch(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===8)if(n=o.data,n==="/$"){if(r===0){e.removeChild(o),bc(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);bc(t)}function wa(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function VS(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var el=Math.random().toString(36).slice(2),wo="__reactFiber$"+el,$c="__reactProps$"+el,Vo="__reactContainer$"+el,Eg="__reactEvents$"+el,w6="__reactListeners$"+el,$6="__reactHandles$"+el;function ai(e){var t=e[wo];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Vo]||n[wo]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=VS(e);e!==null;){if(n=e[wo])return n;e=VS(e)}return t}e=n,n=e.parentNode}return null}function eu(e){return e=e[wo]||e[Vo],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function us(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(ye(33))}function gp(e){return e[$c]||null}var Og=[],ds=-1;function ja(e){return{current:e}}function Ht(e){0>ds||(e.current=Og[ds],Og[ds]=null,ds--)}function kt(e,t){ds++,Og[ds]=e.current,e.current=t}var Ta={},Hn=ja(Ta),ar=ja(!1),Si=Ta;function Fs(e,t){var n=e.type.contextTypes;if(!n)return Ta;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},a;for(a in n)o[a]=t[a];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function ir(e){return e=e.childContextTypes,e!=null}function df(){Ht(ar),Ht(Hn)}function WS(e,t,n){if(Hn.current!==Ta)throw Error(ye(168));kt(Hn,t),kt(ar,n)}function KE(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(ye(108,l5(e)||"Unknown",o));return Kt({},n,r)}function ff(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ta,Si=Hn.current,kt(Hn,e),kt(ar,ar.current),!0}function US(e,t,n){var r=e.stateNode;if(!r)throw Error(ye(169));n?(e=KE(e,t,Si),r.__reactInternalMemoizedMergedChildContext=e,Ht(ar),Ht(Hn),kt(Hn,e)):Ht(ar),kt(ar,n)}var Fo=null,yp=!1,xh=!1;function qE(e){Fo===null?Fo=[e]:Fo.push(e)}function E6(e){yp=!0,qE(e)}function Ha(){if(!xh&&Fo!==null){xh=!0;var e=0,t=Nt;try{var n=Fo;for(Nt=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Fo=null,yp=!1}catch(o){throw Fo!==null&&(Fo=Fo.slice(e+1)),SE(By,Ha),o}finally{Nt=t,xh=!1}}return null}var fs=[],ps=0,pf=null,vf=0,Ar=[],_r=0,Ci=null,Bo=1,zo="";function Ja(e,t){fs[ps++]=vf,fs[ps++]=pf,pf=e,vf=t}function XE(e,t,n){Ar[_r++]=Bo,Ar[_r++]=zo,Ar[_r++]=Ci,Ci=e;var r=Bo;e=zo;var o=32-ro(r)-1;r&=~(1<<o),n+=1;var a=32-ro(t)+o;if(30<a){var i=o-o%5;a=(r&(1<<i)-1).toString(32),r>>=i,o-=i,Bo=1<<32-ro(t)+o|n<<o|r,zo=a+e}else Bo=1<<a|n<<o|r,zo=e}function Ky(e){e.return!==null&&(Ja(e,1),XE(e,1,0))}function qy(e){for(;e===pf;)pf=fs[--ps],fs[ps]=null,vf=fs[--ps],fs[ps]=null;for(;e===Ci;)Ci=Ar[--_r],Ar[_r]=null,zo=Ar[--_r],Ar[_r]=null,Bo=Ar[--_r],Ar[_r]=null}var Sr=null,yr=null,Vt=!1,to=null;function QE(e,t){var n=Dr(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function GS(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Sr=e,yr=wa(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Sr=e,yr=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Ci!==null?{id:Bo,overflow:zo}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Dr(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,Sr=e,yr=null,!0):!1;default:return!1}}function Mg(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Rg(e){if(Vt){var t=yr;if(t){var n=t;if(!GS(e,t)){if(Mg(e))throw Error(ye(418));t=wa(n.nextSibling);var r=Sr;t&&GS(e,t)?QE(r,n):(e.flags=e.flags&-4097|2,Vt=!1,Sr=e)}}else{if(Mg(e))throw Error(ye(418));e.flags=e.flags&-4097|2,Vt=!1,Sr=e}}}function YS(e){
Line truncated
|
||||||
|
Error generating stack: `+a.message+`
|
||||||
|
`+a.stack}return{value:e,source:t,stack:o,digest:null}}function Mh(e,t,n){return{value:e,source:null,stack:n!=null?n:null,digest:t!=null?t:null}}function Ng(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var _6=typeof WeakMap=="function"?WeakMap:Map;function EO(e,t,n){n=jo(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){xf||(xf=!0,Hg=r),Ng(e,t)},n}function OO(e,t,n){n=jo(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){Ng(e,t)}}var a=e.stateNode;return a!==null&&typeof a.componentDidCatch=="function"&&(n.callback=function(){Ng(e,t),typeof r!="function"&&(Ea===null?Ea=new Set([this]):Ea.add(this));var i=t.stack;this.componentDidCatch(t.value,{componentStack:i!==null?i:""})}),n}function tC(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new _6;var o=new Set;r.set(t,o)}else o=r.get(t),o===void 0&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=K6.bind(null,e,t,n),t.then(e,e))}function nC(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function rC(e,t,n,r,o){return(e.mode&1)===0?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=jo(-1,1),t.tag=2,$a(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var D6=qo.ReactCurrentOwner,or=!1;function Yn(e,t,n,r){t.child=e===null?oO(t,null,n,r):ks(t,e.child,n,r)}function oC(e,t,n,r,o){n=n.render;var a=t.ref;return Rs(t,o),r=i1(e,t,n,r,a,o),n=s1(),e!==null&&!or?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Uo(e,t,o)):(Vt&&n&&Ky(t),t.flags|=1,Yn(e,t,r,o),t.child)}function aC(e,t,n,r,o){if(e===null){var a=n.type;return typeof a=="function"&&!g1(a)&&a.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=a,MO(e,t,a,r,o)):(e=_d(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,(e.lanes&o)===0){var i=a.memoizedProps;if(n=n.compare,n=n!==null?n:Cc,n(i,r)&&e.ref===t.ref)return Uo(e,t,o)}return t.flags|=1,e=Ma(a,r),e.ref=t.ref,e.return=t,t.child=e}function MO(e,t,n,r,o){if(e!==null){var a=e.memoizedProps;if(Cc(a,r)&&e.ref===t.ref)if(or=!1,t.pendingProps=r=a,(e.lanes&o)!==0)(e.flags&131072)!==0&&(or=!0);else return t.lanes=e.lanes,Uo(e,t,o)}return Ag(e,t,n,r,o)}function RO(e,t,n){var r=t.pendingProps,o=r.children,a=e!==null?e.memoizedState:null;if(r.mode==="hidden")if((t.mode&1)===0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},kt(ms,gr),gr|=n;else{if((n&1073741824)===0)return e=a!==null?a.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,kt(ms,gr),gr|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=a!==null?a.baseLanes:n,kt(ms,gr),gr|=r}else a!==null?(r=a.baseLanes|n,t.memoizedState=null):r=n,kt(ms,gr),gr|=r;return Yn(e,t,o,n),t.child}function PO(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Ag(e,t,n,r,o){var a=ir(n)?Si:Hn.current;return a=Fs(t,a),Rs(t,o),n=i1(e,t,n,r,a,o),r=s1(),e!==null&&!or?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Uo(e,t,o)):(Vt&&r&&Ky(t),t.flags|=1,Yn(e,t,n,o),t.child)}function iC(e,t,n,r,o){if(ir(n)){var a=!0;ff(t)}else a=!1;if(Rs(t,o),t.stateNode===null)Td(e,t),nO(t,n,r),Tg(t,n,r,o),r=!0;else if(e===null){var i=t.stateNode,s=t.memoizedProps;i.props=s;var l=i.context,c=n.contextType;typeof c=="object"&&c!==null?c=Br(c):(c=ir(n)?Si:Hn.current,c=Fs(t,c));var u=n.getDerivedStateFromProps,d=typeof u=="function"||typeof i.getSnapshotBeforeUpdate=="function";d||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(s!==r||l!==c)&&QS(t,i,r,c),da=!1;var f=t.memoizedState;i.state=f,gf(t,r,i,o),l=t.memoizedState,s!==r||f!==l||ar.current||da?(typeof u=="function"&&(Ig(t,n,u,r),l=t.memoizedState),(s=da||XS(t,n,s,r,f,l,c))?(d||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(t.flags|=4194308)):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),i.props=r,i.state=l,i.context=c,r=s):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,eO(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:Xr(t.type,s),i.props=c,d=t.pendingProps,f=i.context,l=n.contextType,typeof l=="object"&&l!==null?l=Br(l):(l=ir(n)?Si:Hn.current,l=Fs(t,l));var h=n.getDerivedStateFromProps;(u=typeof h=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(s!==d||f!==l)&&QS(t,i,r,l),da=!1,f=t.memoizedState,i.sta
Line truncated
|
||||||
|
* Adapted from jQuery UI core
|
||||||
|
*
|
||||||
|
* http://jqueryui.com
|
||||||
|
*
|
||||||
|
* Copyright 2014 jQuery Foundation and other contributors
|
||||||
|
* Released under the MIT license.
|
||||||
|
* http://jquery.org/license
|
||||||
|
*
|
||||||
|
* http://api.jqueryui.com/category/ui-core/
|
||||||
|
*/var n="none",r="contents",o=/input|select|textarea|button|object|iframe/;function a(d,f){return f.getPropertyValue("overflow")!=="visible"||d.scrollWidth<=0&&d.scrollHeight<=0}function i(d){var f=d.offsetWidth<=0&&d.offsetHeight<=0;if(f&&!d.innerHTML)return!0;try{var h=window.getComputedStyle(d),m=h.getPropertyValue("display");return f?m!==r&&a(d,h):m===n}catch{return console.warn("Failed to inspect element style"),!1}}function s(d){for(var f=d,h=d.getRootNode&&d.getRootNode();f&&f!==document.body;){if(h&&f===h&&(f=h.host.parentNode),i(f))return!1;f=f.parentNode}return!0}function l(d,f){var h=d.nodeName.toLowerCase(),m=o.test(h)&&!d.disabled||h==="a"&&d.href||f;return m&&s(d)}function c(d){var f=d.getAttribute("tabindex");f===null&&(f=void 0);var h=isNaN(f);return(h||f>=0)&&l(d,!h)}function u(d){var f=[].slice.call(d.querySelectorAll("*"),0).reduce(function(h,m){return h.concat(m.shadowRoot?u(m.shadowRoot):[m])},[]);return f.filter(c)}e.exports=t.default})(Mf,Mf.exports);Object.defineProperty(po,"__esModule",{value:!0});po.resetState=p8;po.log=v8;po.handleBlur=Tc;po.handleFocus=Nc;po.markForFocusLater=h8;po.returnFocus=m8;po.popWithoutFocus=g8;po.setupScopedFocus=y8;po.teardownScopedFocus=b8;var u8=Mf.exports,d8=f8(u8);function f8(e){return e&&e.__esModule?e:{default:e}}var Hs=[],gs=null,Kg=!1;function p8(){Hs=[]}function v8(){}function Tc(){Kg=!0}function Nc(){if(Kg){if(Kg=!1,!gs)return;setTimeout(function(){if(!gs.contains(document.activeElement)){var e=(0,d8.default)(gs)[0]||gs;e.focus()}},0)}}function h8(){Hs.push(document.activeElement)}function m8(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,t=null;try{Hs.length!==0&&(t=Hs.pop(),t.focus({preventScroll:e}));return}catch{console.warn(["You tried to return focus to",t,"but it is not in the DOM anymore"].join(" "))}}function g8(){Hs.length>0&&Hs.pop()}function y8(e){gs=e,window.addEventListener?(window.addEventListener("blur",Tc,!1),document.addEventListener("focus",Nc,!0)):(window.attachEvent("onBlur",Tc),document.attachEvent("onFocus",Nc))}function b8(){gs=null,window.addEventListener?(window.removeEventListener("blur",Tc),document.removeEventListener("focus",Nc)):(window.detachEvent("onBlur",Tc),document.detachEvent("onFocus",Nc))}var qg={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var n=Mf.exports,r=o(n);function o(s){return s&&s.__esModule?s:{default:s}}function a(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;return s.activeElement.shadowRoot?a(s.activeElement.shadowRoot):s.activeElement}function i(s,l){var c=(0,r.default)(s);if(!c.length){l.preventDefault();return}var u=void 0,d=l.shiftKey,f=c[0],h=c[c.length-1],m=a();if(s===m){if(!d)return;u=h}if(h===m&&!d&&(u=f),f===m&&d&&(u=h),u){l.preventDefault(),u.focus();return}var p=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent),y=p!=null&&p[1]!="Chrome"&&/\biPod\b|\biPad\b/g.exec(navigator.userAgent)==null;if(!!y){var g=c.indexOf(m);if(g>-1&&(g+=d?-1:1),u=c[g],typeof u>"u"){l.preventDefault(),u=d?h:f,u.focus();return}l.preventDefault(),u.focus()}}e.exports=t.default})(qg,qg.exports);var vo={},S8=function(){},C8=S8,ao={},t4={exports:{}};/*!
|
||||||
|
Copyright (c) 2015 Jed Watson.
|
||||||
|
Based on code that is Copyright 2013-2015, Facebook, Inc.
|
||||||
|
All rights reserved.
|
||||||
|
*/(function(e){(function(){var t=!!(typeof window<"u"&&window.document&&window.document.createElement),n={canUseDOM:t,canUseWorkers:typeof Worker<"u",canUseEventListeners:t&&!!(window.addEventListener||window.attachEvent),canUseViewport:t&&!!window.screen};e.exports?e.exports=n:window.ExecutionEnvironment=n})()})(t4);Object.defineProperty(ao,"__esModule",{value:!0});ao.canUseDOM=ao.SafeNodeList=ao.SafeHTMLCollection=void 0;var x8=t4.exports,w8=$8(x8);function $8(e){return e&&e.__esModule?e:{default:e}}var Rp=w8.default,E8=Rp.canUseDOM?window.HTMLElement:{};ao.SafeHTMLCollection=Rp.canUseDOM?window.HTMLCollection:{};ao.SafeNodeList=Rp.canUseDOM?window.NodeList:{};ao.canUseDOM=Rp.canUseDOM;ao.default=E8;Object.defineProperty(vo,"__esModule",{value:!0});vo.resetState=I8;vo.log=T8;vo.assertNodeList=n4;vo.setElement=N8;vo.validateElement=x1;vo.hide=A8;vo.show=_8;vo.documentNotReadyOrSSRTesting=D8;var O8=C8,M8=P8(O8),R8=ao;function P8(e){return e&&e.__esModule?e:{default:e}}var Nr=null;function I8(){Nr&&(Nr.removeAttribute?Nr.removeAttribute("aria-hidden"):Nr.length!=null?Nr.forEach(function(e){return e.removeAttribute("aria-hidden")}):document.querySelectorAll(Nr).forEach(function(e){return e.removeAttribute("aria-hidden")})),Nr=null}function T8(){}function n4(e,t){if(!e||!e.length)throw new Error("react-modal: No elements were found for selector "+t+".")}function N8(e){var t=e;if(typeof t=="string"&&R8.canUseDOM){var n=document.querySelectorAll(t);n4(n,t),t=n}return Nr=t||Nr,Nr}function x1(e){var t=e||Nr;return t?Array.isArray(t)||t instanceof HTMLCollection||t instanceof NodeList?t:[t]:((0,M8.default)(!1,["react-modal: App element is not defined.","Please use `Modal.setAppElement(el)` or set `appElement={el}`.","This is needed so screen readers don't see main content","when modal is opened. It is not recommended, but you can opt-out","by setting `ariaHideApp={false}`."].join(" ")),[])}function A8(e){var t=!0,n=!1,r=void 0;try{for(var o=x1(e)[Symbol.iterator](),a;!(t=(a=o.next()).done);t=!0){var i=a.value;i.setAttribute("aria-hidden","true")}}catch(s){n=!0,r=s}finally{try{!t&&o.return&&o.return()}finally{if(n)throw r}}}function _8(e){var t=!0,n=!1,r=void 0;try{for(var o=x1(e)[Symbol.iterator](),a;!(t=(a=o.next()).done);t=!0){var i=a.value;i.removeAttribute("aria-hidden")}}catch(s){n=!0,r=s}finally{try{!t&&o.return&&o.return()}finally{if(n)throw r}}}function D8(){Nr=null}var tl={};Object.defineProperty(tl,"__esModule",{value:!0});tl.resetState=F8;tl.log=L8;var rc={},oc={};function SC(e,t){e.classList.remove(t)}function F8(){var e=document.getElementsByTagName("html")[0];for(var t in rc)SC(e,rc[t]);var n=document.body;for(var r in oc)SC(n,oc[r]);rc={},oc={}}function L8(){}var k8=function(t,n){return t[n]||(t[n]=0),t[n]+=1,n},B8=function(t,n){return t[n]&&(t[n]-=1),n},z8=function(t,n,r){r.forEach(function(o){k8(n,o),t.add(o)})},j8=function(t,n,r){r.forEach(function(o){B8(n,o),n[o]===0&&t.remove(o)})};tl.add=function(t,n){return z8(t.classList,t.nodeName.toLowerCase()=="html"?rc:oc,n.split(" "))};tl.remove=function(t,n){return j8(t.classList,t.nodeName.toLowerCase()=="html"?rc:oc,n.split(" "))};var nl={};Object.defineProperty(nl,"__esModule",{value:!0});nl.log=V8;nl.resetState=W8;function H8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var r4=function e(){var t=this;H8(this,e),this.register=function(n){t.openInstances.indexOf(n)===-1&&(t.openInstances.push(n),t.emit("register"))},this.deregister=function(n){var r=t.openInstances.indexOf(n);r!==-1&&(t.openInstances.splice(r,1),t.emit("deregister"))},this.subscribe=function(n){t.subscribers.push(n)},this.emit=function(n){t.subscribers.forEach(function(r){return r(n,t.openInstances.slice())})},this.openInstances=[],this.subscribers=[]},Rf=new r4;function V8(){console.log("portalOpenInstances ----------"),console.log(Rf.openInstances.length),Rf.openInstances.forEach(function(e){return console.log(e)}),console.log("end portalOpenInstances ----------")}function W8(){Rf=new r4}nl.default=Rf;var w1={};Object.defineProperty(w1,"__esModule",{value:!0});w1.resetState=K8;w1.log=q8;var U8=nl,G8=Y8(U8);function Y8(e){return e&&e.__esModule?e:{default:e}}var Dn=void 0,Qr=void 0,hi=[];function K8(){for(var e=[Dn,Qr],t=0;t<e.length;t++){var n=e[t];!n||n.parentNode&&n.parentNode.removeChild(n)}Dn=Qr=null,hi=[]}function q8(){console.log("bodyTrap ----------"),console.log(hi.length);for(var e=[Dn,Qr],t=0;t<e.length;t++){var n=e[t],r=n||{};console.log(r.nodeName,r.className,r.id)}console.log("edn bodyTrap ----------")}function CC(){hi.length!==0&&hi[hi.length-1].focusContent()}function X8(e,t){!Dn&&!Qr&&(Dn=document.createElement("div"),Dn.setAttribute("data-react-modal-body-trap",""),Dn.style.position="absolute",Dn.style.opacity="0",Dn.setAttribute("tabindex","0"),Dn.addEventListener("focus",CC),Qr=Dn.cloneNode(),Qr.addEventListener("focus",CC)),hi=t,hi.length>0?(document.body.firstChild!==Dn&&document.body.insertBefore(Dn,document.body.firstChilLine truncated
|
||||||
|
|
||||||
|
`+a+" uses "+i+" but also contains the following legacy lifecycles:"+(n!==null?`
|
||||||
|
`+n:"")+(r!==null?`
|
||||||
|
`+r:"")+(o!==null?`
|
||||||
|
`+o:"")+`
|
||||||
|
|
||||||
|
The above lifecycles should be removed. Learn more about this warning here:
|
||||||
|
https://fb.me/react-async-component-lifecycle-hooks`)}if(typeof e.getDerivedStateFromProps=="function"&&(t.componentWillMount=o4,t.componentWillReceiveProps=a4),typeof t.getSnapshotBeforeUpdate=="function"){if(typeof t.componentDidUpdate!="function")throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=i4;var s=t.componentDidUpdate;t.componentDidUpdate=function(c,u,d){var f=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:d;s.call(this,c,u,f)}}return e}const Z8=Object.freeze(Object.defineProperty({__proto__:null,polyfill:Q8},Symbol.toStringTag,{value:"Module"})),J8=jT(Z8);Object.defineProperty(Ei,"__esModule",{value:!0});Ei.bodyOpenClassName=Ei.portalClassName=void 0;var xC=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},eN=function(){function e(t,n){for(var r=0;r<n.length;r++){var o=n[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s4=v.exports,Pf=nu(s4),tN=cr.exports,If=nu(tN),nN=Me.exports,it=nu(nN),rN=Yg.exports,wC=nu(rN),oN=vo,aN=sN(oN),ma=ao,$C=nu(ma),iN=J8;function sN(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function nu(e){return e&&e.__esModule?e:{default:e}}function lN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function EC(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function cN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var uN=Ei.portalClassName="ReactModalPortal",dN=Ei.bodyOpenClassName="ReactModal__Body--open",ti=ma.canUseDOM&&If.default.createPortal!==void 0,OC=function(t){return document.createElement(t)},MC=function(){return ti?If.default.createPortal:If.default.unstable_renderSubtreeIntoContainer};function qu(e){return e()}var ru=function(e){cN(t,e);function t(){var n,r,o,a;lN(this,t);for(var i=arguments.length,s=Array(i),l=0;l<i;l++)s[l]=arguments[l];return a=(r=(o=EC(this,(n=t.__proto__||Object.getPrototypeOf(t)).call.apply(n,[this].concat(s))),o),o.removePortal=function(){!ti&&If.default.unmountComponentAtNode(o.node);var c=qu(o.props.parentSelector);c&&c.contains(o.node)?c.removeChild(o.node):console.warn('React-Modal: "parentSelector" prop did not returned any DOM element. Make sure that the parent element is unmounted to avoid any memory leaks.')},o.portalRef=function(c){o.portal=c},o.renderPortal=function(c){var u=MC(),d=u(o,Pf.default.createElement(wC.default,xC({defaultStyles:t.defaultStyles},c)),o.node);o.portalRef(d)},r),EC(o,a)}return eN(t,[{key:"componentDidMount",value:function(){if(!!ma.canUseDOM){ti||(this.node=OC("div")),this.node.className=this.props.portalClassName;var r=qu(this.props.parentSelector);r.appendChild(this.node),!ti&&this.renderPortal(this.props)}}},{key:"getSnapshotBeforeUpdate",value:function(r){var o=qu(r.parentSelector),a=qu(this.props.parentSelector);return{prevParent:o,nextParent:a}}},{key:"componentDidUpdate",value:function(r,o,a){if(!!ma.canUseDOM){var i=this.props,s=i.isOpen,l=i.portalClassName;r.portalClassName!==l&&(this.node.className=l);var c=a.prevParent,u=a.nextParent;u!==c&&(c.removeChild(this.node),u.appendChild(this.node)),!(!r.isOpen&&!s)&&!ti&&this.renderPortal(this.props)}}},{key:"componentWillUnmount",value:function(){if(!(!ma.canUseDOM||!this.node||!this.portal)){var r=this.portal.state,o=Date.now(),a=r.isOpen&&this.props.closeTimeoutMS&&(r.closesAt||o+this.props.closeTimeoutMS);a?(r.beforeClose||this.portal.closeWithTimeout(),setTimeout(this.removePortal,a-o)):this.removePortal()}}},{key:"render",value:function(){if(!ma.canUseDOM||!ti)return null;!this.node&&ti&&(this.node=OC("div"));var r=MC();return r(Pf.default.createElement(wC.default,xC({ref:this.portalRef,defaultStyles:t.defaultStyles},this.props)),this.node)}}],[{key:"setAppElement",value:function(r){aN.setElement(r)}}]),t}(s4.Component);ru.propTypes={isOpen:it.default.bool.isRequired,style:it.default.shape({content:it.default.object,overlay:it.default.object}),portalClassName:it.default.string,bodyOpenClassName:it.default.string,htmlOpenClassName:it.default.string,className:it.default.oneOfType([it.default.string,it.default.shape({base:it.default.string.isRequired,afterOpen:it.default.string.isRequired,beforeClose:it.default.string.isRequired})]),overlayClassName:it.default.oneOfType([it.default.string,it.default.shape({bas
Line truncated
|
||||||
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Z(e,t){return l4(e)||pN(e,t)||E1(e,t)||c4()}function et(e){return et=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},et(e)}function vN(e,t){if(et(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(et(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function u4(e){var t=vN(e,"string");return et(t)=="symbol"?t:String(t)}function U(e,t,n){return t=u4(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function hN(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,a;for(a=0;a<r.length;a++)o=r[a],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function nt(e,t){if(e==null)return{};var n=hN(e,t),r,o;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],!(t.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(n[r]=e[r]))}return n}var d4={exports:{}};/*!
|
||||||
|
Copyright (c) 2018 Jed Watson.
|
||||||
|
Licensed under the MIT License (MIT), see
|
||||||
|
http://jedwatson.github.io/classnames
|
||||||
|
*/(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var a="",i=0;i<arguments.length;i++){var s=arguments[i];s&&(a=o(a,r(s)))}return a}function r(a){if(typeof a=="string"||typeof a=="number")return a;if(typeof a!="object")return"";if(Array.isArray(a))return n.apply(null,a);if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]"))return a.toString();var i="";for(var s in a)t.call(a,s)&&a[s]&&(i=o(i,s));return i}function o(a,i){return i?a?a+" "+i:a+i:a}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(d4);const oe=d4.exports;function Tn(e,t){mN(e)&&(e="100%");var n=gN(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 Xu(e){return Math.min(1,Math.max(0,e))}function mN(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function gN(e){return typeof e=="string"&&e.indexOf("%")!==-1}function f4(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function Qu(e){return e<=1?"".concat(Number(e)*100,"%"):e}function li(e){return e.length===1?"0"+e:String(e)}function yN(e,t,n){return{r:Tn(e,255)*255,g:Tn(t,255)*255,b:Tn(n,255)*255}}function RC(e,t,n){e=Tn(e,255),t=Tn(t,255),n=Tn(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),a=0,i=0,s=(r+o)/2;if(r===o)i=0,a=0;else{var l=r-o;switch(i=s>.5?l/(2-r-o):l/(r+o),r){case e:a=(t-n)/l+(t<n?6:0);break;case t:a=(n-e)/l+2;break;case n:a=(e-t)/l+4;break}a/=6}return{h:a,s:i,l:s}}function Th(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function bN(e,t,n){var r,o,a;if(e=Tn(e,360),t=Tn(t,100),n=Tn(n,100),t===0)o=n,a=n,r=n;else{var i=n<.5?n*(1+t):n+t-n*t,s=2*n-i;r=Th(s,i,e+1/3),o=Th(s,i,e),a=Th(s,i,e-1/3)}return{r:r*255,g:o*255,b:a*255}}function Qg(e,t,n){e=Tn(e,255),t=Tn(t,255),n=Tn(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),a=0,i=r,s=r-o,l=r===0?0:s/r;if(r===o)a=0;else{switch(r){case e:a=(t-n)/s+(t<n?6:0);break;case t:a=(n-e)/s+2;break;case n:a=(e-t)/s+4;break}a/=6}return{h:a,s:l,v:i}}function SN(e,t,n){e=Tn(e,360)*6,t=Tn(t,100),n=Tn(n,100);var r=Math.floor(e),o=e-r,a=n*(1-t),i=n*(1-o*t),s=n*(1-(1-o)*t),l=r%6,c=[n,i,a,a,s,n][l],u=[s,n,n,i,a,a][l],d=[a,a,s,n,n,i][l];return{r:c*255,g:u*255,b:d*255}}function Zg(e,t,n,r){var o=[li(Math.round(e).toString(16)),li(Math.round(t).toString(16)),li(Math.round(n).toString(16))];return r&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function CN(e,t,n,r,o){var a=[li(Math.round(e).toString(16)),li(Math.round(t).toString(16)),li(Math.round(n).toString(16)),li(xN(r))];return o&&a[0].startsWith(a[0].charAt(1))&&a[1].startsWith(a[1].charAt(1))&&a[2].startsWith(a[2].charAt(1))&&a[3].startsWith(a[3].charAt(1))?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0):a.join("")}function xN(e){return Math.round(parseFloat(e)*255).toString(16)}function PC(e){return mr(e)/255}function mr(e){return parseInt(e,16)}function wN(e){return{r:e>>16,g:(e&65280)>>8,b:e&255}}var Jg={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",mediumpurpleLine truncated
|
||||||
|
.anticon {
|
||||||
|
display: inline-block;
|
||||||
|
color: inherit;
|
||||||
|
font-style: normal;
|
||||||
|
line-height: 0;
|
||||||
|
text-align: center;
|
||||||
|
text-transform: none;
|
||||||
|
vertical-align: -0.125em;
|
||||||
|
text-rendering: optimizeLegibility;
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
|
-moz-osx-font-smoothing: grayscale;
|
||||||
|
}
|
||||||
|
|
||||||
|
.anticon > * {
|
||||||
|
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);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
`,WN=function(t){var n=v.exports.useContext($1),r=n.csp,o=n.prefixCls,a=VN;o&&(a=a.replace(/anticon/g,o)),v.exports.useEffect(function(){var i=t.current,s=Tf(i);Na(a,"@ant-design-icons",{prepend:!0,csp:r,attachTo:s})},[])},UN=["icon","className","onClick","style","primaryColor","secondaryColor"],ac={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function GN(e){var t=e.primaryColor,n=e.secondaryColor;ac.primaryColor=t,ac.secondaryColor=n||C4(t),ac.calculated=!!n}function YN(){return Q({},ac)}var Ip=function(t){var n=t.icon,r=t.className,o=t.onClick,a=t.style,i=t.primaryColor,s=t.secondaryColor,l=nt(t,UN),c=v.exports.useRef(),u=ac;if(i&&(u={primaryColor:i,secondaryColor:s||C4(i)}),WN(c),HN(kC(n),"icon should be icon definiton, but got ".concat(n)),!kC(n))return null;var d=n;return d&&typeof d.icon=="function"&&(d=Q(Q({},d),{},{icon:d.icon(u.primaryColor,u.secondaryColor)})),r0(d.icon,"svg-".concat(d.name),Q(Q({className:r,onClick:o,style:a,"data-icon":d.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},l),{},{ref:c}))};Ip.displayName="IconReact";Ip.getTwoToneColors=YN;Ip.setTwoToneColors=GN;const M1=Ip;function w4(e){var t=x4(e),n=Z(t,2),r=n[0],o=n[1];return M1.setTwoToneColors({primaryColor:r,secondaryColor:o})}function KN(){var e=M1.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}var Tp={exports:{}},Np={};/**
|
||||||
|
* @license React
|
||||||
|
* react-jsx-runtime.production.min.js
|
||||||
|
*
|
||||||
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||||
|
*
|
||||||
|
* This source code is licensed under the MIT license found in the
|
||||||
|
* LICENSE file in the root directory of this source tree.
|
||||||
|
*/var qN=v.exports,XN=Symbol.for("react.element"),QN=Symbol.for("react.fragment"),ZN=Object.prototype.hasOwnProperty,JN=qN.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,eA={key:!0,ref:!0,__self:!0,__source:!0};function $4(e,t,n){var r,o={},a=null,i=null;n!==void 0&&(a=""+n),t.key!==void 0&&(a=""+t.key),t.ref!==void 0&&(i=t.ref);for(r in t)ZN.call(t,r)&&!eA.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)o[r]===void 0&&(o[r]=t[r]);return{$$typeof:XN,type:e,key:a,ref:i,props:o,_owner:JN.current}}Np.Fragment=QN;Np.jsx=$4;Np.jsxs=$4;(function(e){e.exports=Np})(Tp);const At=Tp.exports.Fragment,C=Tp.exports.jsx,te=Tp.exports.jsxs;var tA=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];w4(NN.primary);var Ap=v.exports.forwardRef(function(e,t){var n=e.className,r=e.icon,o=e.spin,a=e.rotate,i=e.tabIndex,s=e.onClick,l=e.twoToneColor,c=nt(e,tA),u=v.exports.useContext($1),d=u.prefixCls,f=d===void 0?"anticon":d,h=u.rootClassName,m=oe(h,f,U(U({},"".concat(f,"-").concat(r.name),!!r.name),"".concat(f,"-spin"),!!o||r.name==="loading"),n),p=i;p===void 0&&s&&(p=-1);var y=a?{msTransform:"rotate(".concat(a,"deg)"),transform:"rotate(".concat(a,"deg)")}:void 0,g=x4(l),b=Z(g,2),S=b[0],x=b[1];return C("span",{role:"img","aria-label":r.name,...c,ref:t,tabIndex:p,onClick:s,className:m,children:C(M1,{icon:r,primaryColor:S,secondaryColor:x,style:y})})});Ap.displayName="AntdIcon";Ap.getTwoToneColor=KN;Ap.setTwoToneColor=w4;const pt=Ap;var nA={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H212V212h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H612V212h200v200zM464 544H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H212V612h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H612V612h200v200z"}}]},name:"appstore",theme:"outlined"};const rA=nA;var oA=function(t,n){return C(pt,{...t,ref:n,icon:rA})};const aA=v.exports.forwardRef(oA);var iA={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M842 454c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 140.3-113.7 254-254 254S258 594.3 258 454c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 168.7 126.6 307.9 290 327.6V884H326.7c-13.7 0-24.7 14.3-24.7 32v36c0 4.4 2.8 8 6.2 8h407.6c3.4 0 6.2-3.6 6.2-8v-36c0-17.7-11-32-24.7-32H548V782.1c165.3-18 294-158 294-328.1zM512 624c93.9 0 170-75.2 170-168V232c0-92.8-76.1-168-170-168s-170 75.2-170 168v224c0 92.8 76.1 168 170 168zm-94-392c0-50.6 41.9-92 94-92s94 41.4 94 92v224c0 50.6-41.9 92-94 92s-94-41.4-94-92V232z"}}]},name:"audio",theme:"outlined"};const sA=iA;var lA=function(t,n){return C(pt,{...t,ref:n,icon:sA})};const cA=v.exports.forwardRef(lA);var uA={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 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"};const dA=uA;var fA=function(t,n){return C(pt,{...t,ref:n,icon:dA})};const E4=v.exports.forwardRef(fA);var pA={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"};const vA=pA;var hA=function(t,n){return C(pt,{...t,ref:n,icon:vA})};const O4=v.exports.forwardRef(hA);var mA={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"}}]},name:"close-circle",theme:"filled"};const gA=mA;var yA=function(t,n){return C(pt,{...t,ref:n,icon:gA})};const _p=v.exports.forwardRef(yA);var bA={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64Line truncated
|
||||||
|
* @license React
|
||||||
|
* react-is.production.min.js
|
||||||
|
*
|
||||||
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||||
|
*
|
||||||
|
* This source code is licensed under the MIT license found in the
|
||||||
|
* LICENSE file in the root directory of this source tree.
|
||||||
|
*/var R1=Symbol.for("react.element"),P1=Symbol.for("react.portal"),Fp=Symbol.for("react.fragment"),Lp=Symbol.for("react.strict_mode"),kp=Symbol.for("react.profiler"),Bp=Symbol.for("react.provider"),zp=Symbol.for("react.context"),DD=Symbol.for("react.server_context"),jp=Symbol.for("react.forward_ref"),Hp=Symbol.for("react.suspense"),Vp=Symbol.for("react.suspense_list"),Wp=Symbol.for("react.memo"),Up=Symbol.for("react.lazy"),FD=Symbol.for("react.offscreen"),I4;I4=Symbol.for("react.module.reference");function Hr(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case R1:switch(e=e.type,e){case Fp:case kp:case Lp:case Hp:case Vp:return e;default:switch(e=e&&e.$$typeof,e){case DD:case zp:case jp:case Up:case Wp:case Bp:return e;default:return t}}case P1:return t}}}_t.ContextConsumer=zp;_t.ContextProvider=Bp;_t.Element=R1;_t.ForwardRef=jp;_t.Fragment=Fp;_t.Lazy=Up;_t.Memo=Wp;_t.Portal=P1;_t.Profiler=kp;_t.StrictMode=Lp;_t.Suspense=Hp;_t.SuspenseList=Vp;_t.isAsyncMode=function(){return!1};_t.isConcurrentMode=function(){return!1};_t.isContextConsumer=function(e){return Hr(e)===zp};_t.isContextProvider=function(e){return Hr(e)===Bp};_t.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===R1};_t.isForwardRef=function(e){return Hr(e)===jp};_t.isFragment=function(e){return Hr(e)===Fp};_t.isLazy=function(e){return Hr(e)===Up};_t.isMemo=function(e){return Hr(e)===Wp};_t.isPortal=function(e){return Hr(e)===P1};_t.isProfiler=function(e){return Hr(e)===kp};_t.isStrictMode=function(e){return Hr(e)===Lp};_t.isSuspense=function(e){return Hr(e)===Hp};_t.isSuspenseList=function(e){return Hr(e)===Vp};_t.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Fp||e===kp||e===Lp||e===Hp||e===Vp||e===FD||typeof e=="object"&&e!==null&&(e.$$typeof===Up||e.$$typeof===Wp||e.$$typeof===Bp||e.$$typeof===zp||e.$$typeof===jp||e.$$typeof===I4||e.getModuleId!==void 0)};_t.typeOf=Hr;(function(e){e.exports=_t})(ic);function ou(e,t,n){var r=v.exports.useRef({});return(!("value"in r.current)||n(r.current.condition,t))&&(r.current.value=e(),r.current.condition=t),r.current.value}function I1(e,t){typeof e=="function"?e(t):et(e)==="object"&&e&&"current"in e&&(e.current=t)}function Vr(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.filter(function(o){return o});return r.length<=1?r[0]:function(o){t.forEach(function(a){I1(a,o)})}}function Ti(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return ou(function(){return Vr.apply(void 0,t)},t,function(r,o){return r.length!==o.length||r.every(function(a,i){return a!==o[i]})})}function Ni(e){var t,n,r=ic.exports.isMemo(e)?e.type.type:e.type;return!(typeof r=="function"&&!((t=r.prototype)!==null&&t!==void 0&&t.render)&&r.$$typeof!==ic.exports.ForwardRef||typeof e=="function"&&!((n=e.prototype)!==null&&n!==void 0&&n.render)&&e.$$typeof!==ic.exports.ForwardRef)}function Aa(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[];return Re.Children.forEach(e,function(r){r==null&&!t.keepEmpty||(Array.isArray(r)?n=n.concat(Aa(r)):ic.exports.isFragment(r)&&r.props?n=n.concat(Aa(r.props.children,t)):n.push(r))}),n}function Nf(e){return e instanceof HTMLElement||e instanceof SVGElement}function sc(e){return Nf(e)?e:e instanceof Re.Component?Of.findDOMNode(e):null}var o0=v.exports.createContext(null);function LD(e){var t=e.children,n=e.onBatchResize,r=v.exports.useRef(0),o=v.exports.useRef([]),a=v.exports.useContext(o0),i=v.exports.useCallback(function(s,l,c){r.current+=1;var u=r.current;o.current.push({size:s,element:l,data:c}),Promise.resolve().then(function(){u===r.current&&(n==null||n(o.current),o.current=[])}),a==null||a(s,l,c)},[n,a]);return C(o0.Provider,{value:i,children:t})}var T4=function(){if(typeof Map<"u")return Map;function e(t,n){var r=-1;return t.some(function(o,a){return o[0]===n?(r=a,!0):!1}),r}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(n){var r=e(this.__entries__,n),o=this.__entries__[r];return o&&o[1]},t.prototype.set=function(n,r){var o=e(this.__entries__,n);~o?this.__entries__[o][1]=r:this.__entries__.push([n,r])},t.prototype.delete=function(n){var r=this.__entries__,o=e(r,n);~o&&r.splice(o,1)},t.prototype.has=function(n){return!!~e(this.__entries__,n)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(n,r){r===void 0&&(r=null);for(var o=0,a=this.__entries__;o<a.length;o++){var i=a[o];n.call(r,i[1],i[0])}},t}()}(),a0=typeof window<"u"&&typeof document<"u"&&window.document===document,Af=function(){return typeof global<"u"&&global.Math===Math?global:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")()}(),kD=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(Af):function(e){return sLine truncated
|
||||||
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Pe(e){return cF(e)||k4(e)||E1(e)||uF()}var B4=function(t){return+setTimeout(t,16)},z4=function(t){return clearTimeout(t)};typeof window<"u"&&"requestAnimationFrame"in window&&(B4=function(t){return window.requestAnimationFrame(t)},z4=function(t){return window.cancelAnimationFrame(t)});var WC=0,T1=new Map;function j4(e){T1.delete(e)}var Et=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;WC+=1;var r=WC;function o(a){if(a===0)j4(r),t();else{var i=B4(function(){o(a-1)});T1.set(r,i)}}return o(n),r};Et.cancel=function(e){var t=T1.get(e);return j4(e),z4(t)};function Df(e){for(var t=0,n,r=0,o=e.length;o>=4;++r,o-=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(o){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)}function iu(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,r=new Set;function o(a,i){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,l=r.has(a);if(jn(!l,"Warning: There may be circular references"),l)return!1;if(a===i)return!0;if(n&&s>1)return!1;r.add(a);var c=s+1;if(Array.isArray(a)){if(!Array.isArray(i)||a.length!==i.length)return!1;for(var u=0;u<a.length;u++)if(!o(a[u],i[u],c))return!1;return!0}if(a&&i&&et(a)==="object"&&et(i)==="object"){var d=Object.keys(a);return d.length!==Object.keys(i).length?!1:d.every(function(f){return o(a[f],i[f],c)})}return!1}return o(e,t)}var dF="%";function s0(e){return e.join(dF)}var fF=function(){function e(t){Pt(this,e),U(this,"instanceId",void 0),U(this,"cache",new Map),this.instanceId=t}return It(e,[{key:"get",value:function(n){return this.opGet(s0(n))}},{key:"opGet",value:function(n){return this.cache.get(n)||null}},{key:"update",value:function(n,r){return this.opUpdate(s0(n),r)}},{key:"opUpdate",value:function(n,r){var o=this.cache.get(n),a=r(o);a===null?this.cache.delete(n):this.cache.set(n,a)}}]),e}(),Ws="data-token-hash",io="data-css-hash",ba="__cssinjs_instance__";function pF(){var e=Math.random().toString(12).slice(2);if(typeof document<"u"&&document.head&&document.body){var t=document.body.querySelectorAll("style[".concat(io,"]"))||[],n=document.head.firstChild;Array.from(t).forEach(function(o){o[ba]=o[ba]||e,o[ba]===e&&document.head.insertBefore(o,n)});var r={};Array.from(document.querySelectorAll("style[".concat(io,"]"))).forEach(function(o){var a=o.getAttribute(io);if(r[a]){if(o[ba]===e){var i;(i=o.parentNode)===null||i===void 0||i.removeChild(o)}}else r[a]=!0})}return new fF(e)}var vF=v.exports.createContext({hashPriority:"low",cache:pF(),defaultCache:!0});const Kp=vF;function hF(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}var N1=function(){function e(){Pt(this,e),U(this,"cache",void 0),U(this,"keys",void 0),U(this,"cacheCallTimes",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return It(e,[{key:"size",value:function(){return this.keys.length}},{key:"internalGet",value:function(n){var r,o,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,i={map:this.cache};return n.forEach(function(s){if(!i)i=void 0;else{var l;i=(l=i)===null||l===void 0||(l=l.map)===null||l===void 0?void 0:l.get(s)}}),(r=i)!==null&&r!==void 0&&r.value&&a&&(i.value[1]=this.cacheCallTimes++),(o=i)===null||o===void 0?void 0:o.value}},{key:"get",value:function(n){var r;return(r=this.internalGet(n,!0))===null||r===void 0?void 0:r[0]}},{key:"has",value:function(n){return!!this.internalGet(n)}},{key:"set",value:function(n,r){var o=this;if(!this.has(n)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){var a=this.keys.reduce(function(c,u){var d=Z(c,2),f=d[1];return o.internalGet(u)[1]<f?[u,o.internalGet(u)[1]]:c},[this.keys[0],this.cacheCallTimes]),i=Z(a,1),s=i[0];this.delete(s)}this.keys.push(n)}var l=this.cache;n.forEach(function(c,u){if(u===n.length-1)l.set(c,{value:[r,o.cacheCallTimes++]});else{var d=l.get(c);d?d.map||(d.map=new Map):l.set(c,{map:new Map}),l=l.get(c).map}})}},{key:"deleteByPath",value:function(n,r){var o=n.get(r[0]);if(r.length===1){var a;return o.map?n.set(r[0],{map:o.map}):n.delete(r[0]),(a=o.value)===null||a===void 0?void 0:a[0]}var i=this.deleteByPath(o.map,r.slice(1));return(!o.map||o.map.size===0)&&!o.value&&n.delete(r[0]),i}},{key:"delete",value:function(n){if(this.has(n))return this.keys=this.keys.filter(function(r){return!hF(r,n)}),this.deleteByPath(this.cache,n)}}]),e}();U(N1,"MAX_CACHE_SIZE",20);U(N1,"MAX_CACHE_OFFSET",5);var UC=0,H4=function(){function e(t){Pt(this,e),U(this,"derivatives",void 0),U(this,"id",void 0),this.derivatives=Array.isA
Line truncated
|
||||||
|
`);else if(x._keyframe)m(x);else{var $=d.reduce(function(E,w){var R;return(w==null||(R=w.visit)===null||R===void 0?void 0:R.call(w,E))||E},x);Object.keys($).forEach(function(E){var w=$[E];if(et(w)==="object"&&w&&(E!=="animationName"||!w._keyframe)&&!s7(w)){var R=!1,I=E.trim(),T=!1;(o||a)&&s?I.startsWith("@")?R=!0:I=l7(E,s,c):o&&!s&&(I==="&"||I==="")&&(I="",T=!0);var P=e(w,n,{root:T,injectHash:R,parentSelectors:[].concat(Pe(i),[I])}),L=Z(P,2),z=L[0],N=L[1];h=Q(Q({},h),N),f+="".concat(I).concat(z)}else{let O=function(_,A){var H=_.replace(/[A-Z]/g,function(B){return"-".concat(B.toLowerCase())}),D=A;!zF[_]&&typeof D=="number"&&D!==0&&(D="".concat(D,"px")),_==="animationName"&&A!==null&&A!==void 0&&A._keyframe&&(m(A),D=A.getName(s)),f+="".concat(H,":").concat(D,";")};var M=O,k,F=(k=w==null?void 0:w.value)!==null&&k!==void 0?k:w;et(w)==="object"&&w!==null&&w!==void 0&&w[tM]&&Array.isArray(F)?F.forEach(function(_){O(E,_)}):O(E,F)}})}}),!o)f="{".concat(f,"}");else if(l&&bF()){var g=l.split(","),b=g[g.length-1].trim();f="@layer ".concat(b," {").concat(f,"}"),g.length>1&&(f="@layer ".concat(l,"{%%%:%}").concat(f))}return[f,h]};function nM(e,t){return Df("".concat(e.join("%")).concat(t))}function u7(){return null}var rM="style";function h0(e,t){var n=e.token,r=e.path,o=e.hashId,a=e.layer,i=e.nonce,s=e.clientOnly,l=e.order,c=l===void 0?0:l,u=v.exports.useContext(Kp),d=u.autoClear;u.mock;var f=u.defaultCache,h=u.hashPriority,m=u.container,p=u.ssrInline,y=u.transformers,g=u.linters,b=u.cache,S=n._tokenKey,x=[S].concat(Pe(r)),$=c0,E=A1(rM,x,function(){var P=x.join("|");if(o7(P)){var L=a7(P),z=Z(L,2),N=z[0],k=z[1];if(N)return[N,S,k,{},s,c]}var F=t(),M=c7(F,{hashId:o,hashPriority:h,layer:a,path:r.join("-"),transformers:y,linters:g}),O=Z(M,2),_=O[0],A=O[1],H=v0(_),D=nM(x,H);return[H,S,D,A,s,c]},function(P,L){var z=Z(P,3),N=z[2];(L||d)&&c0&&Ac(N,{mark:io})},function(P){var L=Z(P,4),z=L[0];L[1];var N=L[2],k=L[3];if($&&z!==J4){var F={mark:io,prepend:"queue",attachTo:m,priority:c},M=typeof i=="function"?i():i;M&&(F.csp={nonce:M});var O=Na(z,N,F);O[ba]=b.instanceId,O.setAttribute(Ws,S),Object.keys(k).forEach(function(_){Na(v0(k[_]),"_effect-".concat(_),F)})}}),w=Z(E,3),R=w[0],I=w[1],T=w[2];return function(P){var L;if(!p||$||!f)L=C(u7,{});else{var z;L=C("style",{...(z={},U(z,Ws,I),U(z,io,T),z),dangerouslySetInnerHTML:{__html:R}})}return te(At,{children:[L,P]})}}var d7=function(t,n,r){var o=Z(t,6),a=o[0],i=o[1],s=o[2],l=o[3],c=o[4],u=o[5],d=r||{},f=d.plain;if(c)return null;var h=a,m={"data-rc-order":"prependQueue","data-rc-priority":"".concat(u)};return h=Ff(a,i,s,m,f),l&&Object.keys(l).forEach(function(p){if(!n[p]){n[p]=!0;var y=v0(l[p]);h+=Ff(y,i,"_effect-".concat(p),m,f)}}),[u,s,h]},oM="cssVar",f7=function(t,n){var r=t.key,o=t.prefix,a=t.unitless,i=t.ignore,s=t.token,l=t.scope,c=l===void 0?"":l,u=v.exports.useContext(Kp),d=u.cache.instanceId,f=u.container,h=s._tokenKey,m=[].concat(Pe(t.path),[r,c,h]),p=A1(oM,m,function(){var y=n(),g=U4(y,r,{prefix:o,unitless:a,ignore:i,scope:c}),b=Z(g,2),S=b[0],x=b[1],$=nM(m,x);return[S,x,$,r]},function(y){var g=Z(y,3),b=g[2];c0&&Ac(b,{mark:io})},function(y){var g=Z(y,3),b=g[1],S=g[2];if(!!b){var x=Na(b,S,{mark:io,prepend:"queue",attachTo:f,priority:-999});x[ba]=d,x.setAttribute(Ws,r)}});return p},p7=function(t,n,r){var o=Z(t,4),a=o[1],i=o[2],s=o[3],l=r||{},c=l.plain;if(!a)return null;var u=-999,d={"data-rc-order":"prependQueue","data-rc-priority":"".concat(u)},f=Ff(a,s,i,d,c);return[u,i,f]},El;El={},U(El,rM,d7),U(El,G4,BF),U(El,oM,p7);var Ot=function(){function e(t,n){Pt(this,e),U(this,"name",void 0),U(this,"style",void 0),U(this,"_keyframe",!0),this.name=t,this.style=n}return It(e,[{key:"getName",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return n?"".concat(n,"-").concat(this.name):this.name}}]),e}();function zi(e){return e.notSplit=!0,e}zi(["borderTop","borderBottom"]),zi(["borderTop"]),zi(["borderBottom"]),zi(["borderLeft","borderRight"]),zi(["borderLeft"]),zi(["borderRight"]);function aM(e){return l4(e)||k4(e)||E1(e)||c4()}function $o(e,t){for(var n=e,r=0;r<t.length;r+=1){if(n==null)return;n=n[t[r]]}return n}function iM(e,t,n,r){if(!t.length)return n;var o=aM(t),a=o[0],i=o.slice(1),s;return!e&&typeof a=="number"?s=[]:Array.isArray(e)?s=Pe(e):s=Q({},e),r&&n===void 0&&i.length===1?delete s[a][i[0]]:s[a]=iM(s[a],i,n,r),s}function Jr(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return t.length&&r&&n===void 0&&!$o(e,t.slice(0,-1))?e:iM(e,t,n,r)}function v7(e){return et(e)==="object"&&e!==null&&Object.getPrototypeOf(e)===Object.prototype}function JC(e){return Array.isArray(e)?[]:{}}var h7=typeof Reflect>"u"?Object.keys:Reflect.ownKeys;function ys(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=JC(t[0]);return t.forEach(function(o){function a(i,s){var l=new Set(s),c=$o(o,i),u=Array.isArray(c);if(u||v7(c)){if(!l.has(c)){l.add(c);var d=$o(r,i);u?r=Jr(r,i,[]):(!d||et(d)!=="object")&&(r=Jr(r,i,JC(c))),h7(c
Line truncated
|
||||||
|
'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
|
||||||
|
'Noto Color Emoji'`,fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",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,motion:!0}),Fc=A7;function _7(e,t){let{generateColorPalettes:n,generateNeutralColorPalettes:r}=t;const{colorSuccess:o,colorWarning:a,colorError:i,colorInfo:s,colorPrimary:l,colorBgBase:c,colorTextBase:u}=e,d=n(l),f=n(o),h=n(a),m=n(i),p=n(s),y=r(c,u),g=e.colorLink||e.colorInfo,b=n(g);return Object.assign(Object.assign({},y),{colorPrimaryBg:d[1],colorPrimaryBgHover:d[2],colorPrimaryBorder:d[3],colorPrimaryBorderHover:d[4],colorPrimaryHover:d[5],colorPrimary:d[6],colorPrimaryActive:d[7],colorPrimaryTextHover:d[8],colorPrimaryText:d[9],colorPrimaryTextActive:d[10],colorSuccessBg:f[1],colorSuccessBgHover:f[2],colorSuccessBorder:f[3],colorSuccessBorderHover:f[4],colorSuccessHover:f[4],colorSuccess:f[6],colorSuccessActive:f[7],colorSuccessTextHover:f[8],colorSuccessText:f[9],colorSuccessTextActive:f[10],colorErrorBg:m[1],colorErrorBgHover:m[2],colorErrorBorder:m[3],colorErrorBorderHover:m[4],colorErrorHover:m[5],colorError:m[6],colorErrorActive:m[7],colorErrorTextHover:m[8],colorErrorText:m[9],colorErrorTextActive:m[10],colorWarningBg:h[1],colorWarningBgHover:h[2],colorWarningBorder:h[3],colorWarningBorderHover:h[4],colorWarningHover:h[4],colorWarning:h[6],colorWarningActive:h[7],colorWarningTextHover:h[8],colorWarningText:h[9],colorWarningTextActive:h[10],colorInfoBg:p[1],colorInfoBgHover:p[2],colorInfoBorder:p[3],colorInfoBorderHover:p[4],colorInfoHover:p[4],colorInfo:p[6],colorInfoActive:p[7],colorInfoTextHover:p[8],colorInfoText:p[9],colorInfoTextActive:p[10],colorLinkHover:b[4],colorLink:b[6],colorLinkActive:b[7],colorBgMask:new Tt("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}const D7=e=>{let t=e,n=e,r=e,o=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?o=4:e>=8&&(o=6),{borderRadius:e,borderRadiusXS:r,borderRadiusSM:n,borderRadiusLG:t,borderRadiusOuter:o}},F7=D7;function L7(e){const{motionUnit:t,motionBase:n,borderRadius:r,lineWidth:o}=e;return Object.assign({motionDurationFast:`${(n+t).toFixed(1)}s`,motionDurationMid:`${(n+t*2).toFixed(1)}s`,motionDurationSlow:`${(n+t*3).toFixed(1)}s`,lineWidthBold:o+1},F7(r))}const _o=(e,t)=>new Tt(e).setAlpha(t).toRgbString(),Ol=(e,t)=>new Tt(e).darken(t).toHexString(),k7=e=>{const t=Oi(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]}},B7=(e,t)=>{const n=e||"#fff",r=t||"#000";return{colorBgBase:n,colorTextBase:r,colorText:_o(r,.88),colorTextSecondary:_o(r,.65),colorTextTertiary:_o(r,.45),colorTextQuaternary:_o(r,.25),colorFill:_o(r,.15),colorFillSecondary:_o(r,.06),colorFillTertiary:_o(r,.04),colorFillQuaternary:_o(r,.02),colorBgLayout:Ol(n,4),colorBgContainer:Ol(n,0),colorBgElevated:Ol(n,0),colorBgSpotlight:_o(r,.85),colorBgBlur:"transparent",colorBorder:Ol(n,15),colorBorderSecondary:Ol(n,6)}};function zd(e){return(e+8)/e}function z7(e){const t=new Array(10).fill(null).map((n,r)=>{const o=r-1,a=e*Math.pow(2.71828,o/5),i=r>1?Math.floor(a):Math.ceil(a);return Math.floor(i/2)*2});return t[1]=e,t.map(n=>({size:n,lineHeight:zd(n)}))}const j7=e=>{const t=z7(e),n=t.map(u=>u.size),r=t.map(u=>u.lineHeight),o=n[1],a=n[0],i=n[2],s=r[1],l=r[0],c=r[2];return{fontSizeSM:a,fontSize:o,fontSizeLG:i,fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:s,lineHeightLG:c,lineHeightSM:l,fontHeight:Math.round(s*o),fontHeightLG:Math.round(c*i),fontHeightSM:Math.round(l*a),lineHeightHeading1:r[6],lineHeightHeading2:r[5],lineHeightHeading3:r[4],lineHeightHeading4:r[3],lineHeightHeading5:r[2]}},H7=j7;function V7(e){const t=Object.keys(uM).map(n=>{const r=Oi(e[n]);return new Array(10).fill(1).reduce((o,a,i)=>(o[`${n}-${i+1}`]=r[i],o[`${n}${i+1}`]=r[i],o),{})}).reduce((n,r)=>(n=Object.assign(Object.assign({},n),r),n),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),t),_7(e,{generateColorPalettes:k7,generateNeutralColorPalettes:B7})),H7(e.fontSize)),N7(e)),T7(e)),L7(e))}const dM=l0(V7),g0={token:Fc,override:{override:Fc},hashed:!0},fM=Re.createContext(g0),pM="anticon",W7=(e,t)=>t||(e?`ant-${e}`:"ant"),st=v.exports.createContext({getPrefixCls:W7,iconPrefixCls
Line truncated
|
||||||
|
:root {
|
||||||
|
${Object.keys(n).map(i=>`--${e}-${i}: ${n[i]};`).join(`
|
||||||
|
`)}
|
||||||
|
}
|
||||||
|
`.trim()}function Y7(e,t){const n=G7(e,t);Vn()&&Na(n,`${U7}-dynamic-theme`)}const y0=v.exports.createContext(!1),K7=e=>{let{children:t,disabled:n}=e;const r=v.exports.useContext(y0);return C(y0.Provider,{value:n!=null?n:r,children:t})},ol=y0,b0=v.exports.createContext(void 0),q7=e=>{let{children:t,size:n}=e;const r=v.exports.useContext(b0);return C(b0.Provider,{value:n||r,children:t})},Qp=b0;function X7(){const e=v.exports.useContext(ol),t=v.exports.useContext(Qp);return{componentDisabled:e,componentSize:t}}const Lc=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"],Q7="5.14.2";function zh(e){return e>=0&&e<=255}function td(e,t){const{r:n,g:r,b:o,a}=new Tt(e).toRgb();if(a<1)return e;const{r:i,g:s,b:l}=new Tt(t).toRgb();for(let c=.01;c<=1;c+=.01){const u=Math.round((n-i*(1-c))/c),d=Math.round((r-s*(1-c))/c),f=Math.round((o-l*(1-c))/c);if(zh(u)&&zh(d)&&zh(f))return new Tt({r:u,g:d,b:f,a:Math.round(c*100)/100}).toRgbString()}return new Tt({r:n,g:r,b:o,a:1}).toRgbString()}var Z7=globalThis&&globalThis.__rest||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 o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function vM(e){const{override:t}=e,n=Z7(e,["override"]),r=Object.assign({},t);Object.keys(Fc).forEach(f=>{delete r[f]});const o=Object.assign(Object.assign({},n),r),a=480,i=576,s=768,l=992,c=1200,u=1600;if(o.motion===!1){const f="0s";o.motionDurationFast=f,o.motionDurationMid=f,o.motionDurationSlow=f}return Object.assign(Object.assign(Object.assign({},o),{colorFillContent:o.colorFillSecondary,colorFillContentHover:o.colorFill,colorFillAlter:o.colorFillQuaternary,colorBgContainerDisabled:o.colorFillTertiary,colorBorderBg:o.colorBgContainer,colorSplit:td(o.colorBorderSecondary,o.colorBgContainer),colorTextPlaceholder:o.colorTextQuaternary,colorTextDisabled:o.colorTextQuaternary,colorTextHeading:o.colorText,colorTextLabel:o.colorTextSecondary,colorTextDescription:o.colorTextTertiary,colorTextLightSolid:o.colorWhite,colorHighlight:o.colorError,colorBgTextHover:o.colorFillSecondary,colorBgTextActive:o.colorFill,colorIcon:o.colorTextTertiary,colorIconHover:o.colorText,colorErrorOutline:td(o.colorErrorBg,o.colorBgContainer),colorWarningOutline:td(o.colorWarningBg,o.colorBgContainer),fontSizeIcon:o.fontSizeSM,lineWidthFocus:o.lineWidth*4,lineWidth:o.lineWidth,controlOutlineWidth:o.lineWidth*2,controlInteractiveSize:o.controlHeight/2,controlItemBgHover:o.colorFillTertiary,controlItemBgActive:o.colorPrimaryBg,controlItemBgActiveHover:o.colorPrimaryBgHover,controlItemBgActiveDisabled:o.colorFill,controlTmpOutline:o.colorFillQuaternary,controlOutline:td(o.colorPrimaryBg,o.colorBgContainer),lineType:o.lineType,borderRadius:o.borderRadius,borderRadiusXS:o.borderRadiusXS,borderRadiusSM:o.borderRadiusSM,borderRadiusLG:o.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:o.sizeXXS,paddingXS:o.sizeXS,paddingSM:o.sizeSM,padding:o.size,paddingMD:o.sizeMD,paddingLG:o.sizeLG,paddingXL:o.sizeXL,paddingContentHorizontalLG:o.sizeLG,paddingContentVerticalLG:o.sizeMS,paddingContentHorizontal:o.sizeMS,paddingContentVertical:o.sizeSM,paddingContentHorizontalSM:o.size,paddingContentVerticalSM:o.sizeXS,marginXXS:o.sizeXXS,marginXS:o.sizeXS,marginSM:o.sizeSM,margin:o.size,marginMD:o.sizeMD,marginLG:o.sizeLG,marginXL:o.sizeXL,marginXXL:o.sizeXXL,boxShadow:`
|
||||||
|
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)
|
||||||
|
`,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:a,screenXSMin:a,screenXSMax:i-1,screenSM:i,screenSMMin:i,screenSMMax:s-1,screenMD:s,screenMDMin:s,screenMDMax:l-1,screenLG:l,screenLGMin:l,screenLGMax:c-1,screenXL:c,screenXLMin:c,screenXLMax:u-1,screenXXL:u,screenXXLMin:u,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`
|
||||||
|
0 1px 2px -2px ${new Tt("rgba(0, 0, 0, 0.16)").toRgbString()},
|
||||||
|
0 3px 6px 0 ${new Tt("rgba(0, 0, 0, 0.12)").toRgbString()},
|
||||||
|
0 5px 12px 4px ${new Tt("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)}var tx=globalThis&&globalThis.__rest||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 o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const hM={lineHeight:!0,lineHeightSM:!0,lineHeightLG:!0,lineHeightHeading1:!0,lineHeightHeading2:!0,lineHeightHeading3:!0,lineHeightHeading4:!0,lineHeightHeading5:!0,opacityLoading:!0,fontWeightStrong:!0,zIndexPopupBase:!0,zIndexBase:!0},mM={size:!0,sizeSM:!0,sizeLG:!0,sizeMD:!0,sizeXS:!0,sizeXXS:!0,sizeMS:!0,sizeXL:!0,sizeXXL:!0,sizeUnit:!0,sizeStep:!0,motionBase:!0,motionUnit:!0},J7={screenXS:!0,screenXSMin:!0,screenXSMax:!0,screenSM:!0,screenSMMin:!0,screenSMMax:!0,screenMD:!0,screenMDMin:!0,screenMDMax:!0,screenLG:!0,screenLGMin:!0,screenLGMax:!0,screenXL:!0,screenXLMin:!0,screenXLMax:!0,screenXXL:!0,screenXXLMin:!0},gM=(e,t,n)=>{const r=n.getDerivativeToken(e),{override:o}=t,a=tx(t,["override"]);let i=Object.assign(Object.assign({},r),{override:o});return i=vM(i),a&&Object.entries(a).forEach(s=>{let[l,c]=s;const{theme:u}=c,d=tx(c,["theme"]);let f=d;u&&(f=gM(Object.assign(Object.assign({},i),d),{override:d},u)),i[l]=f}),i};function ur(){const{token:e,hashed:t,theme:n,override:r,cssVar:o}=Re.useContext(fM),a=`${Q7}-${t||""}`,i=n||dM,[s,l,c]=kF(i,[Fc,e],{salt:a,override:r,getComputedToken:gM,formatToken:vM,cssVar:o&&{prefix:o.prefix,key:o.key,unitless:hM,ignore:mM,preserve:J7}});return[i,c,t?l:"",s,o]}function Rn(e){var t=v.exports.useRef();t.current=e;var n=v.exports.useCallback(function(){for(var r,o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return(r=t.current)===null||r===void 0?void 0:r.call.apply(r,[t].concat(a))},[]);return n}function Ts(e){var t=v.exports.useRef(!1),n=v.exports.useState(e),r=Z(n,2),o=r[0],a=r[1];v.exports.useEffect(function(){return t.current=!1,function(){t.current=!0}},[]);function i(s,l){l&&t.current||a(s)}return[o,i]}function jh(e){return e!==void 0}function Wt(e,t){var n=t||{},r=n.defaultValue,o=n.value,a=n.onChange,i=n.postState,s=Ts(function(){return jh(o)?o:jh(r)?typeof r=="function"?r():r:typeof e=="function"?e():e}),l=Z(s,2),c=l[0],u=l[1],d=o!==void 0?o:c,f=i?i(d):d,h=Rn(a),m=Ts([d]),p=Z(m,2),y=p[0],g=p[1];u0(function(){var S=y[0];c!==S&&h(c,S)},[y]),u0(function(){jh(o)||u(o)},[o]);var b=Rn(function(S,x){u(S,x),g([d],x)});return[f,b]}const Da={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},nn=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return{boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:t?"inherit":e.fontFamily}},L1=()=>({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"}}),su=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),eL=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,
|
||||||
|
&:hover`]:{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),tL=(e,t,n)=>{const{fontFamily:r,fontSize:o}=e,a=`[class^="${t}"], [class*=" ${t}"]`;return{[n?`.${n}`:a]:{fontFamily:r,fontSize:o,boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"},[a]:{boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}}}}},k1=e=>({outline:`${ne(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),Zp=e=>({"&:focus-visible":Object.assign({},k1(e))});let nL=It(function e(){Pt(this,e)});const yM=nL;function rL(e,t,n){return t=$n(t),Va(e,Yp()?Reflect.construct(t,n||[],$n(e).constructor):t.apply(e,n))}let oL=function(e){Wr(t,e);function t(n){var r;return Pt(this,t),r=rL(this,t),r.result=0,n instanceof t?r.result=n.result:typeof n=="number"&&(r.result=n),r}return It(t,[{key:"add",value:function(r){return r instanceof t?this.result+=r.result:typeof r=="number"&&(this.result+=r),this}},{key:"sub",value:function(r){return r instanceof t?this.result-=r.result:typeof r=="number"&&(this.result-=r),this}},{key:"mul",value:function(r){return r instanceof t?this.result*=r.result:typeof r=="number"&&(this.result*=r),this}},{key:"div",value:function(r){return r instanceof t?this.result/=r.result:typeof r=="number"&&(this.result/=r),this}},{key:"equal",value:function(){return this.result}}]),t}(yM);function aL(e,t,n){return t=$n(t),Va(e,Yp()?Reflect.construct(t,n||[],$n(e).constructor):t.apply(e,n))}const bM="CALC_UNIT";function Hh(e){return typeof e=="number"?`${e}${bM}`:e}let iL=function(e){Wr(t,e);function t(n){var r;return Pt(this,t),r=aL(this,t),r.result="",n instanceof t?r.result=`(${n.result})`:typeof n=="number"?r.result=Hh(n):typeof n=="string"&&(r.result=n),r}return It(t,[{key:"add",value:function(r){return r instanceof t?this.result=`${this.result} + ${r.getResult()}`:(typeof r=="number"||typeof r=="string")&&(this.result=`${this.result} + ${Hh(r)}`),this.lowPriority=!0,this}},{key:"sub",value:function(r){return r instanceof t?this.result=`${this.result} - ${r.getResult()}`:(typeof r=="number"||typeof r=="string")&&(this.result=`${this.result} - ${Hh(r)}`),this.lowPriority=!0,this}},{key:"mul",value:function(r){return this.lowPriority&&(this.result=`(${this.result})`),r instanceof t?this.result=`${this.result} * ${r.getResult(!0)}`:(typeof r=="number"||typeof r=="string")&&(this.result=`${this.result} * ${r}`),this.lowPriority=!1,this}},{key:"div",value:function(r){return this.lowPriority&&(this.result=`(${this.result})`),r instanceof t?this.result=`${this.result} / ${r.getResult(!0)}`:(typeof r=="number"||typeof r=="string")&&(this.result=`${this.result} / ${r}`),this.lowPriority=!1,this}},{key:"getResult",value:function(r){return this.lowPriority||r?`(${this.result})`:this.result}},{key:"equal",value:function(r){const{unit:o=!0}=r||{},a=new RegExp(`${bM}`,"g");return this.result=this.result.replace(a,o?"px":""),typeof this.lowPriority<"u"?`calc(${this.result})`:this.result}}]),t}(yM);const sL=e=>{const t=e==="css"?iL:oL;return n=>new t(n)},lL=sL;function cL(e){return e==="js"?{max:Math.max,min:Math.min}:{max:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return`max(${n.map(o=>ne(o)).join(",")})`},min:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return`min(${n.map(o=>ne(o)).join(",")})`}}}const SM=typeof CSSINJS_STATISTIC<"u";let S0=!0;function Rt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(!SM)return Object.assign.apply(Object,[{}].concat(t));S0=!1;const r={};return t.forEach(o=>{Object.keys(o).forEach(i=>{Object.defineProperty(r,i,{configurable:!0,enumerable:!0,get:()=>o[i]})})}),S0=!0,r}const nx={};function uL(){}const dL=e=>{let t,n=e,r=uL;return SM&&typeof Proxy<"u"&&(t=new Set,n=new Proxy(e,{get(o,a){return S0&&t.add(a),o[a]}}),r=(o,a)=>{var i;nx[o]={global:Array.from(t),component:Object.assign(Object.assign({},(i=nx[o])===null||i===void 0?void 0:i.component),a)}}),{token:n,keys:t,flush:r}},fL=(e,t)=>{const[n,r]=ur();return h0({theme:n,token:r,hashId:"",path:["ant-design-icons",e],nonce:()=>t==null?void 0:t.nonce},()=>[{[`.${e}`]:Object.assign(Object.assign({},L1()),{[`.${e} .${e}-icon`]:{display:"block"}})}])},CM=fL,xM=(e,t,n)=>{var r;return typeof n=="function"?n(Rt(t,(r=t[e])!==null&&r!==void 0?r:{})):n!=null?n:{}},wM=(e,t,n,r)=>{const o=Object.assign({},t[e]);if(r!=null&&r.deprecatedTokens){const{deprecatedTokens:i}=r;i.forEach(s=>{let[l,c]=s;var u;((o==null?void 0:o[l])||(o==null?void 0:o[c]))&&((u=o[c])!==null&&u!==void 0||(o[c]=o==null?void 0:o[l]))})}const a=Object.assign(Object.assign({},n),o);return Object.keys(a).forEach(i=>{a[i]===t[i]&&delete a[i]}),a},pL=(e,t)=>`${[t,e.replace(/([A-Z]+)([A-Z][a-z]+)/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2")].filter(Boolean).join("-")}`;function B1(e,t,n){le
Line truncated
|
||||||
|
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 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`,XL=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
|
||||||
|
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
|
||||||
|
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
|
||||||
|
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
|
||||||
|
onTouchEnd onTouchMove onTouchStart 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`,QL="".concat(qL," ").concat(XL).split(/[\s\n]+/),ZL="aria-",JL="data-";function cx(e,t){return e.indexOf(t)===0}function Gs(e){var 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=Q({},t);var r={};return Object.keys(e).forEach(function(o){(n.aria&&(o==="role"||cx(o,ZL))||n.data&&cx(o,JL)||n.attr&&QL.includes(o))&&(r[o]=e[o])}),r}const{isValidElement:kc}=Qc;function FM(e){return e&&kc(e)&&e.type===v.exports.Fragment}function ek(e,t,n){return kc(e)?v.exports.cloneElement(e,typeof n=="function"?n(e.props||{}):n):t}function Fa(e,t){return ek(e,e,t)}const tk=e=>{const[,,,,t]=ur();return t?`${e}-css-var`:""},Io=tk;var 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){var n=t.keyCode;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}}};const nk=Re.createContext(void 0),LM=nk,ri=100,rk=10,ok=ri*rk,kM={Modal:ri,Drawer:ri,Popover:ri,Popconfirm:ri,Tooltip:ri,Tour:ri},ak={SelectLike:50,Dropdown:50,DatePicker:50,Menu:50,ImagePreview:1};function ik(e){return e in kM}function Jp(e,t){const[,n]=ur(),r=Re.useContext(LM),o=ik(e);if(t!==void 0)return[t,t];let a=r!=null?r:0;return o?(a+=(r?0:n.zIndexPopupBase)+kM[e],a=Math.min(a,n.zIndexPopupBase+ok)):a+=ak[e],[r===void 0?t:a,a]}function qn(){qn=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(F,M,O){F[M]=O.value},a=typeof Symbol=="function"?Symbol:{},i=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function c(F,M,O){return Object.defineProperty(F,M,{value:O,enumerable:!0,configurable:!0,writable:!0}),F[M]}try{c({},"")}catch{c=function(O,_,A){return O[_]=A}}function u(F,M,O,_){var A=M&&M.prototype instanceof g?M:g,H=Object.create(A.prototype),D=new N(_||[]);return o(H,"_invoke",{value:T(F,O,D)}),H}function d(F,M,O){try{return{type:"normal",arg:F.call(M,O)}}catch(_){return{type:"throw",arg:_}}}t.wrap=u;var f="suspendedStart",h="suspendedYield",m="executing",p="completed",y={};function g(){}function b(){}function S(){}var x={};c(x,i,function(){return this});var $=Object.getPrototypeOf,E=$&&$($(k([])));E&&E!==n&&r.call(E,i)&&(x=E);var w=S.prototype=g.prototype=Object.create(x);function R(F){["next","throw","return"].forEach(function(M){c(F,M,function(O){return this._invoke(M,O)})})}function I(F,M){function O(A,H,D,B){var W=d(F[A],F,H);if(W.type!=="throw"){var G=W.arg,K=G.value;return K&&et(K)=="object"&&r.call(K,"__await")?M.resolve(K.__await).then(function(j){O("next",j,D,B)},function(j){O("throw",j,D,B)}):M.resolve(K).then(function(j){G.value=j,D(G)},function(j){return O("throw",j,D,B)})}B(W.arg)}var _;o(this,"_invoke",{value:function(H,D){function B(){return new M(function(W,G){O(H,D,W,G)})}return _=_?_.then(B,B):B()}})}function T(F,M,O){var _=f;return function(A,H){if(_===m)throw new Error("Generator is already running");if(_===p){if(A==="throw")throw H;return{value:e,done:!
Line truncated
|
||||||
|
&:focus,
|
||||||
|
&:active`]:{zIndex:2},"&[disabled]":{zIndex:0}},[`${t}-icon-only`]:{fontSize:n}},hx(`${t}-primary`,o),hx(`${t}-danger`,a)]}},Fk=Dk,HM=e=>{const{paddingInline:t,onlyIconSize:n,paddingBlock:r}=e;return Rt(e,{buttonPaddingHorizontal:t,buttonPaddingVertical:r,buttonIconOnlyFontSize:n})},VM=e=>{var t,n,r,o,a,i;const s=(t=e.contentFontSize)!==null&&t!==void 0?t:e.fontSize,l=(n=e.contentFontSizeSM)!==null&&n!==void 0?n:e.fontSize,c=(r=e.contentFontSizeLG)!==null&&r!==void 0?r:e.fontSizeLG,u=(o=e.contentLineHeight)!==null&&o!==void 0?o:zd(s),d=(a=e.contentLineHeightSM)!==null&&a!==void 0?a:zd(l),f=(i=e.contentLineHeightLG)!==null&&i!==void 0?i:zd(c);return{fontWeight:400,defaultShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`,primaryShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlOutline}`,dangerShadow:`0 ${e.controlOutlineWidth}px 0 ${e.colorErrorOutline}`,primaryColor:e.colorTextLightSolid,dangerColor:e.colorTextLightSolid,borderColorDisabled:e.colorBorder,defaultGhostColor:e.colorBgContainer,ghostBg:"transparent",defaultGhostBorderColor:e.colorBgContainer,paddingInline:e.paddingContentHorizontal-e.lineWidth,paddingInlineLG:e.paddingContentHorizontal-e.lineWidth,paddingInlineSM:8-e.lineWidth,onlyIconSize:e.fontSizeLG,onlyIconSizeSM:e.fontSizeLG-2,onlyIconSizeLG:e.fontSizeLG+2,groupBorderColor:e.colorPrimaryHover,linkHoverBg:"transparent",textHoverBg:e.colorBgTextHover,defaultColor:e.colorText,defaultBg:e.colorBgContainer,defaultBorderColor:e.colorBorder,defaultBorderColorDisabled:e.colorBorder,defaultHoverBg:e.colorBgContainer,defaultHoverColor:e.colorPrimaryHover,defaultHoverBorderColor:e.colorPrimaryHover,defaultActiveBg:e.colorBgContainer,defaultActiveColor:e.colorPrimaryActive,defaultActiveBorderColor:e.colorPrimaryActive,contentFontSize:s,contentFontSizeSM:l,contentFontSizeLG:c,contentLineHeight:u,contentLineHeightSM:d,contentLineHeightLG:f,paddingBlock:Math.max((e.controlHeight-s*u)/2-e.lineWidth,0),paddingBlockSM:Math.max((e.controlHeightSM-l*d)/2-e.lineWidth,0),paddingBlockLG:Math.max((e.controlHeightLG-c*f)/2-e.lineWidth,0)}},Lk=e=>{const{componentCls:t,iconCls:n,fontWeight:r}=e;return{[t]:{outline:"none",position:"relative",display:"inline-block",fontWeight:r,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",background:"transparent",border:`${ne(e.lineWidth)} ${e.lineType} transparent`,cursor:"pointer",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",color:e.colorText,"&:disabled > *":{pointerEvents:"none"},"> span":{display:"inline-block"},[`${t}-icon`]:{lineHeight:0},[`> ${n} + span, > span + ${n}`]:{marginInlineStart:e.marginXS},[`&:not(${t}-icon-only) > ${t}-icon`]:{[`&${t}-loading-icon, &:not(:last-child)`]:{marginInlineEnd:e.marginXS}},"> a":{color:"currentColor"},"&:not(:disabled)":Object.assign({},Zp(e)),[`&${t}-two-chinese-chars::first-letter`]:{letterSpacing:"0.34em"},[`&${t}-two-chinese-chars > *:not(${n})`]:{marginInlineEnd:"-0.34em",letterSpacing:"0.34em"},[`&-icon-only${t}-compact-item`]:{flex:"none"}}}},Go=(e,t,n)=>({[`&:not(:disabled):not(${e}-disabled)`]:{"&:hover":t,"&:active":n}}),kk=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),Bk=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.calc(e.controlHeight).div(2).equal(),paddingInlineEnd:e.calc(e.controlHeight).div(2).equal()}),zk=e=>({cursor:"not-allowed",borderColor:e.borderColorDisabled,color:e.colorTextDisabled,background:e.colorBgContainerDisabled,boxShadow:"none"}),Bc=(e,t,n,r,o,a,i,s)=>({[`&${e}-background-ghost`]:Object.assign(Object.assign({color:n||void 0,background:t,borderColor:r||void 0,boxShadow:"none"},Go(e,Object.assign({background:t},i),Object.assign({background:t},s))),{"&:disabled":{cursor:"not-allowed",color:o||void 0,borderColor:a||void 0}})}),U1=e=>({[`&:disabled, &${e.componentCls}-disabled`]:Object.assign({},zk(e))}),WM=e=>Object.assign({},U1(e)),kf=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{cursor:"not-allowed",color:e.colorTextDisabled}}),UM=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},WM(e)),{background:e.defaultBg,borderColor:e.defaultBorderColor,color:e.defaultColor,boxShadow:e.defaultShadow}),Go(e.componentCls,{color:e.defaultHoverColor,borderColor:e.defaultHoverBorderColor,background:e.defaultHoverBg},{color:e.defaultActiveColor,borderColor:e.defaultActiveBorderColor,background:e.defaultActiveBg})),Bc(e.componentCls,e.ghostBg,e.defaultGhostColor,e.defaultGhostBorderColor,e.colorTextDisabled,e.colorBorder)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({color:e.colorError,borderColor:e.colorError},Go(e.componentCls,{color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),Bc(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder)),U1(e))}),jk=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object
Line truncated
|
||||||
|
html body {
|
||||||
|
overflow-y: hidden;
|
||||||
|
`.concat(i?"width: calc(100% - ".concat(a,"px);"):"",`
|
||||||
|
}`),o)}else Ac(o);return function(){Ac(o)}},[t,o])}var bx=!1;function p9(e){return typeof e=="boolean"&&(bx=e),bx}var Sx=function(t){return t===!1?!1:!Vn()||!t?null:typeof t=="string"?document.querySelector(t):typeof t=="function"?t():t},ov=v.exports.forwardRef(function(e,t){var n=e.open,r=e.autoLock,o=e.getContainer;e.debug;var a=e.autoDestroy,i=a===void 0?!0:a,s=e.children,l=v.exports.useState(n),c=Z(l,2),u=c[0],d=c[1],f=u||n;v.exports.useEffect(function(){(i||n)&&d(n)},[n,i]);var h=v.exports.useState(function(){return Sx(o)}),m=Z(h,2),p=m[0],y=m[1];v.exports.useEffect(function(){var P=Sx(o);y(P!=null?P:null)});var g=s9(f&&!p),b=Z(g,2),S=b[0],x=b[1],$=p!=null?p:S;f9(r&&n&&Vn()&&($===S||$===document.body));var E=null;if(s&&Ni(s)&&t){var w=s;E=w.ref}var R=Ti(E,t);if(!f||!Vn()||p===void 0)return null;var I=$===!1||p9(),T=s;return t&&(T=v.exports.cloneElement(s,{ref:R})),C(GM.Provider,{value:x,children:I?T:cr.exports.createPortal(T,$)})}),YM=v.exports.createContext({});function v9(){var e=Q({},Qc);return e.useId}var Cx=0,xx=v9();const KM=xx?function(t){var n=xx();return t||n}:function(t){var n=v.exports.useState("ssr-id"),r=Z(n,2),o=r[0],a=r[1];return v.exports.useEffect(function(){var i=Cx;Cx+=1,a("rc_unique_".concat(i))},[]),t||o};function wx(e,t,n){var r=t;return!r&&n&&(r="".concat(e,"-").concat(n)),r}function $x(e,t){var n=e["page".concat(t?"Y":"X","Offset")],r="scroll".concat(t?"Top":"Left");if(typeof n!="number"){var o=e.document;n=o.documentElement[r],typeof n!="number"&&(n=o.body[r])}return n}function h9(e){var t=e.getBoundingClientRect(),n={left:t.left,top:t.top},r=e.ownerDocument,o=r.defaultView||r.parentWindow;return n.left+=$x(o),n.top+=$x(o,!0),n}const m9=v.exports.memo(function(e){var t=e.children;return t},function(e,t){var n=t.shouldUpdate;return!n});var Ex={width:0,height:0,overflow:"hidden",outline:"none"},g9=Re.forwardRef(function(e,t){var n=e.prefixCls,r=e.className,o=e.style,a=e.title,i=e.ariaId,s=e.footer,l=e.closable,c=e.closeIcon,u=e.onClose,d=e.children,f=e.bodyStyle,h=e.bodyProps,m=e.modalRender,p=e.onMouseDown,y=e.onMouseUp,g=e.holderRef,b=e.visible,S=e.forceRender,x=e.width,$=e.height,E=e.classNames,w=e.styles,R=Re.useContext(YM),I=R.panel,T=Ti(g,I),P=v.exports.useRef(),L=v.exports.useRef();Re.useImperativeHandle(t,function(){return{focus:function(){var _;(_=P.current)===null||_===void 0||_.focus()},changeActive:function(_){var A=document,H=A.activeElement;_&&H===L.current?P.current.focus():!_&&H===P.current&&L.current.focus()}}});var z={};x!==void 0&&(z.width=x),$!==void 0&&(z.height=$);var N;s&&(N=C("div",{className:oe("".concat(n,"-footer"),E==null?void 0:E.footer),style:Q({},w==null?void 0:w.footer),children:s}));var k;a&&(k=C("div",{className:oe("".concat(n,"-header"),E==null?void 0:E.header),style:Q({},w==null?void 0:w.header),children:C("div",{className:"".concat(n,"-title"),id:i,children:a})}));var F;l&&(F=C("button",{type:"button",onClick:u,"aria-label":"Close",className:"".concat(n,"-close"),children:c||C("span",{className:"".concat(n,"-close-x")})}));var M=te("div",{className:oe("".concat(n,"-content"),E==null?void 0:E.content),style:w==null?void 0:w.content,children:[F,k,C("div",{className:oe("".concat(n,"-body"),E==null?void 0:E.body),style:Q(Q({},f),w==null?void 0:w.body),...h,children:d}),N]});return te("div",{role:"dialog","aria-labelledby":a?i:null,"aria-modal":"true",ref:T,style:Q(Q({},o),z),className:oe(n,r),onMouseDown:p,onMouseUp:y,children:[C("div",{tabIndex:0,ref:P,style:Ex,"aria-hidden":"true"}),C(m9,{shouldUpdate:b||S,children:m?m(M):M}),C("div",{tabIndex:0,ref:L,style:Ex,"aria-hidden":"true"})]},"dialog-element")}),qM=v.exports.forwardRef(function(e,t){var n=e.prefixCls,r=e.title,o=e.style,a=e.className,i=e.visible,s=e.forceRender,l=e.destroyOnClose,c=e.motionName,u=e.ariaId,d=e.onVisibleChanged,f=e.mousePosition,h=v.exports.useRef(),m=v.exports.useState(),p=Z(m,2),y=p[0],g=p[1],b={};y&&(b.transformOrigin=y);function S(){var x=h9(h.current);g(f?"".concat(f.x-x.left,"px ").concat(f.y-x.top,"px"):"")}return C(Po,{visible:i,onVisibleChanged:d,onAppearPrepare:S,onEnterPrepare:S,forceRender:s,motionName:c,removeOnLeave:l,ref:h,children:function(x,$){var E=x.className,w=x.style;return C(g9,{...e,ref:t,title:r,ariaId:u,prefixCls:n,holderRef:$,style:Q(Q(Q({},w),o),b),className:oe(a,E)})}})});qM.displayName="Content";function y9(e){var t=e.prefixCls,n=e.style,r=e.visible,o=e.maskProps,a=e.motionName,i=e.className;return C(Po,{visible:r,motionName:a,leavedClassName:"".concat(t,"-mask-hidden"),children:function(s,l){var c=s.className,u=s.style;return C("div",{ref:l,style:Q(Q({},u),n),className:oe("".concat(t,"-mask"),c,i),...o})}},"mask")}function b9(e){var t=e.prefixCls,n=t===void 0?"rc-dialog":t,r=e.zIndex,o=e.visible,a=o===void 0?!1:o,i=e.keyboard,s=i===void 0?!0:i,l=e.focusTriggerAfterClose,c=l===void 0?!0:l,u=e.wrapStyle,d=e.wrapClassName,f=e.wrapProps,h=e.onClose,m=e.afterOpenChange,p=e.afterClose,y=e.transitionName,g=e.animation,b=e.closable,S=b===void 0?!0:b
Line truncated
|
||||||
|
(?:
|
||||||
|
(?:`+r+":){7}(?:"+r+`|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8
|
||||||
|
(?:`+r+":){6}(?:"+n+"|:"+r+`|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4
|
||||||
|
(?:`+r+":){5}(?::"+n+"|(?::"+r+`){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4
|
||||||
|
(?:`+r+":){4}(?:(?::"+r+"){0,1}:"+n+"|(?::"+r+`){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4
|
||||||
|
(?:`+r+":){3}(?:(?::"+r+"){0,2}:"+n+"|(?::"+r+`){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4
|
||||||
|
(?:`+r+":){2}(?:(?::"+r+"){0,3}:"+n+"|(?::"+r+`){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4
|
||||||
|
(?:`+r+":){1}(?:(?::"+r+"){0,4}:"+n+"|(?::"+r+`){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4
|
||||||
|
(?::(?:(?::`+r+"){0,5}:"+n+"|(?::"+r+`){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4
|
||||||
|
)(?:%[0-9a-zA-Z]{1,})? // %eth0 %1
|
||||||
|
`).replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),a=new RegExp("(?:^"+n+"$)|(?:^"+o+"$)"),i=new RegExp("^"+n+"$"),s=new RegExp("^"+o+"$"),l=function(x){return x&&x.exact?a:new RegExp("(?:"+t(x)+n+t(x)+")|(?:"+t(x)+o+t(x)+")","g")};l.v4=function(S){return S&&S.exact?i:new RegExp(""+t(S)+n+t(S),"g")},l.v6=function(S){return S&&S.exact?s:new RegExp(""+t(S)+o+t(S),"g")};var c="(?:(?:[a-z]+:)?//)",u="(?:\\S+(?::\\S*)?@)?",d=l.v4().source,f=l.v6().source,h="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",m="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",p="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",y="(?::\\d{2,5})?",g='(?:[/?#][^\\s"]*)?',b="(?:"+c+"|www\\.)"+u+"(?:localhost|"+d+"|"+f+"|"+h+m+p+")"+y+g;return id=new RegExp("(?:^"+b+"$)","i"),id},Ix={email:/^(([^<>()\[\]\\.,;:\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},Vl={integer:function(t){return Vl.number(t)&&parseInt(t,10)===t},float:function(t){return Vl.number(t)&&!Vl.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"&&!Vl.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(Ix.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(D9())},hex:function(t){return typeof t=="string"&&!!t.match(Ix.hex)}},F9=function(t,n,r,o,a){if(t.required&&n===void 0){QM(t,n,r,o,a);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],s=t.type;i.indexOf(s)>-1?Vl[s](n)||o.push(br(a.messages.types[s],t.fullField,t.type)):s&&typeof n!==t.type&&o.push(br(a.messages.types[s],t.fullField,t.type))},L9=function(t,n,r,o,a){var i=typeof t.len=="number",s=typeof t.min=="number",l=typeof t.max=="number",c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,u=n,d=null,f=typeof n=="number",h=typeof n=="string",m=Array.isArray(n);if(f?d="number":h?d="string":m&&(d="array"),!d)return!1;m&&(u=n.length),h&&(u=n.replace(c,"_").length),i?u!==t.len&&o.push(br(a.messages[d].len,t.fullField,t.len)):s&&!l&&u<t.min?o.push(br(a.messages[d].min,t.fullField,t.min)):l&&!s&&u>t.max?o.push(br(a.messages[d].max,t.fullField,t.max)):s&&l&&(u<t.min||u>t.max)&&o.push(br(a.messages[d].range,t.fullField,t.min,t.max))},ji="enum",k9=function(t,n,r,o,a){t[ji]=Array.isArray(t[ji])?t[ji]:[],t[ji].indexOf(n)===-1&&o.push(br(a.messages[ji],t.fullField,t[ji].join(", ")))},B9=function(t,n,r,o,a){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(n)||o.push(br(a.messages.pattern.mismatch,t.fullField,n,t.pattern));else if(typeof t.pattern=="string"){var i=new RegExp(t.pattern);i.test(n)||o.push(br(a.messages.pattern.mismatch,t.fullField,n,t.pattern))}}},bt={required:QM,whitespace:_9,type:F9,range:L9,enum:k9,pattern:B9},z9=function(t,n,r,o,a){var i=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(mn(n,"string")&&!t.required)return r();bt.required(t,n,o,i,a,"string"),mn(n,"string")||(bt.type(t,n,o,i,a),bt.range(t,n,o,i,a),bt.pattern(t,n,o,i,a),t.whitespace===!0&&bt.whitespace(t,n,o,i,a))}r(i)},j9=function(t,n,r,o,a){var i=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(mn(n)&&!t.required)return r();bt.required(t,n,o,i,a),n!==void 0&&bt.type(t,n,o,i,a)}r(i)},H9=function(t,n,r,o,a){var i=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(n===""&&(n=void 0),mn(n)&&!t.required)return r();bt.required(t,n,o,i,a),n!==void 0&&(bt.type(t,n,o,i,a),bt.range(t,n,o,i,a))}r(i)},V9=function(t,n,r,o,a){var i=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(mn(n)&&!t.required)return r();bt.required(t,n,o,i,a),n!==void 0&&bt.type(t,n,o,i,a)}r(i)},W9=function(t,n,r,o,a){var i=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(mn(n)&&!t.required)return r();bt.required(t,n,o,i,a),mn(n)||bt.type(t,n,o,i,a)}r(i)},U9=function(t,n,r,o,a){var i=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(mn(n)&&!t.required)return r();bt.required(t,n,o,i,a),n!==void 0&&(bt.type(t,n,o,i,a),bt.range(t,n,o,i,a))}r(i)},G9=function(t,n,r,o,a){var i=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(mn(n)&&!t.required)return r();bt.required(t,n,o,i,a),n!==void 0&&(bt.type(t,n,o,i,a),bt.range(t,n,o,i,a))}r(i)},Y9=function(t,n,r,o,a){var i=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(n==null&&!t.required)return r();bt.required(t,n,o,i,a,"array"),n!=null&&(bt.type(t,n,o,i,a),bt.range(t,n,o,i,a))}r(i)},K9=function(t,n,r,o,a){var
Line truncated
|
||||||
|
${a}${e}-enter,
|
||||||
|
${a}${e}-appear
|
||||||
|
`]:Object.assign(Object.assign({},yB(r)),{animationPlayState:"paused"}),[`${a}${e}-leave`]:Object.assign(Object.assign({},bB(r)),{animationPlayState:"paused"}),[`
|
||||||
|
${a}${e}-enter${e}-enter-active,
|
||||||
|
${a}${e}-appear${e}-appear-active
|
||||||
|
`]:{animationName:t,animationPlayState:"running"},[`${a}${e}-leave${e}-leave-active`]:{animationName:n,animationPlayState:"running",pointerEvents:"none"}}},SB=new Ot("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),CB=new Ot("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),rR=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const{antCls:n}=e,r=`${n}-fade`,o=t?"&":"";return[av(r,SB,CB,e.motionDurationMid,t),{[`
|
||||||
|
${o}${r}-enter,
|
||||||
|
${o}${r}-appear
|
||||||
|
`]:{opacity:0,animationTimingFunction:"linear"},[`${o}${r}-leave`]:{animationTimingFunction:"linear"}}]},xB=new Ot("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),wB=new Ot("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),$B=new Ot("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),EB=new Ot("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),OB=new Ot("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),MB=new Ot("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),RB=new Ot("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),PB=new Ot("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),IB={"move-up":{inKeyframes:RB,outKeyframes:PB},"move-down":{inKeyframes:xB,outKeyframes:wB},"move-left":{inKeyframes:$B,outKeyframes:EB},"move-right":{inKeyframes:OB,outKeyframes:MB}},zf=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:a}=IB[t];return[av(r,o,a,e.motionDurationMid),{[`
|
||||||
|
${r}-enter,
|
||||||
|
${r}-appear
|
||||||
|
`]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},q1=new Ot("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),X1=new Ot("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),Q1=new Ot("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),Z1=new Ot("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),TB=new Ot("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),NB=new Ot("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),AB=new Ot("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),_B=new Ot("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),DB={"slide-up":{inKeyframes:q1,outKeyframes:X1},"slide-down":{inKeyframes:Q1,outKeyframes:Z1},"slide-left":{inKeyframes:TB,outKeyframes:NB},"slide-right":{inKeyframes:AB,outKeyframes:_B}},Ks=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:a}=DB[t];return[av(r,o,a,e.motionDurationMid),{[`
|
||||||
|
${r}-enter,
|
||||||
|
${r}-appear
|
||||||
|
`]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint,["&-prepare"]:{transform:"scale(1)"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]},FB=new Ot("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),LB=new Ot("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),kx=new Ot("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),Bx=new Ot("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),kB=new Ot("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),BB=new Ot("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),zB=new Ot("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),jB=new Ot("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),HB=new Ot("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),VB=new Ot("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),WB=new Ot("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),UB=new Ot("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),GB={zoom:{inKeyframes:FB,outKeyframes:LB},"zoom-big":{inKeyframes:kx,outKeyframes:Bx},"zoom-big-fast":{inKeyframes:kx,outKeyframes:Bx},"zoom-left":{inKeyframes:zB,outKeyframes:jB},"zoom-right":{inKeyframes:HB,outKeyframes:VB},"zoom-up":{inKeyframes:kB,outKeyframes:BB},"zoom-down":{inKeyframes:WB,outKeyframes:UB}},iv=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:a}=GB[t];return[av(r,o,a,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}}]};function zx(e){return{position:e,inset:0}}const oR=e=>{const{componentCls:t,antCls:n}=e;return[{[`${t}-root`]:{[`${t}${n}-zoom-enter, ${t}${n}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:e.motionDurationSlow,userSelect:"none"},[`${t}${n}-zoom-leave ${t}-content`]:{pointerEvents:"none"},[`${t}-mask`]:Object.assign(Object.assign({},zx("fixed")),{zIndex:e.zIndexPopupBase,height:"100%",backgroundColor:e.colorBgMask,pointerEvents:"none",[`${t}-hidden`]:{display:"none"}}),[`${t}-wrap`]:Object.assign(Object.assign({},zx("fixed")),{zIndex:e.zIndexPopupBase,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"})}},{[`${t}-root`]:rR(e)}]},YB=e=>{const{componentCls:t}=e;return[{[`${t}-root`]:{[`${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}px)`]:{[t]:{maxWidth:"calc(100vw - 16px)",margin:`${ne(e.marginXS)} auto`},[`${t}-centered`]:{[t]:{flex:1}}}}},{[t]:Object.assign(Object.assign({},nn(e)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${ne(e.calc(e.margin).mul(2).equal())})`,margin:"0 auto",paddingBottom:e.paddingLG,[`${t}-title`]:{margin:0,color:e.titleColor,fontWeight:e.fontWeightStrong,fontSize:e.titleFontSize,lineHeight:e.titleLineHeight,wordWrap:"break-word"},[`${t}-content`]:{position:"relative",backgroundColor:e.contentBg,backgroundClip:"padding-box",border:0,borderRadius:e.borderRadiusLG,boxShadow:e.boxShadow,pointerEvents:"auto",padding:e.contentPadding},[`${t}-close`]:Object.assign({position:"absolute",top:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),insetInlineEnd:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),zIndex:e.calc(e.zIndexPopupBase).add(10).equal(),padding:0,color:e.modalCloseIconColor,fontWeight:e.fontWeightStrong,lineHeight:1,textDecoration:"none",background:"transparent",borderRadius:e.borderRadiusSM,width:e.modalCloseBtnSize,height:e.modalCloseBtnSize,border:0,outline:0,cursor:"pointer",transition:`color ${e.motionDurationMid}, background-color ${e.motionDurationMid}`,"&-x":{display:"flex",fontSize:e.fontSizeLG,fontStyle:"normal",lineHeight:`${ne(e.modalCloseBtnSize)}`,justifyContent:"center",textTransform:"none",textRendering:"auto"},"&:hover":{color:e.modalIconHoverColor,backgroundColor:e.closeBtnHoverBg,textDecoration:"none"},"&:active":{backgroundColor:e.closeBtnActiveBg}},Zp(e)),[`${t}-header`]:{color:e.colorText,background:e.headerBg,borderRadius:`${ne(e.borderRadiusLG)} ${ne(e.borderRadiusLG)} 0 0`,marginBottom:e.headerMarginBottom,padding:e.headerPadding,borderBottom:e.headerBorderBottom},[`${t}-body`]:{fontSize:e.fontSize,lineHeight:e.lineHeight,wordWrap:"break-word",padding:e.bodyPadding},[`${t}-footer`]:{textAlign:"end",background:e.footerBg,marginTop:e.footerMarginTop,padding:e.footerPadding,borderTop:e.footerBorderTop,borderRadius:e.footerBorderRadius,[`> ${e.antCls}-btn + ${e.antCls}-btn`]:{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"}}}]},KB=e=>{const{componentCls:t}=e;return{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl",[`${t}-confirm-body`]:{direction:"rtl"}}}}},qB=e=>{const t=e.padding,n=e.fontSizeHeading5,r=e.lineHeightHeading5;return Rt(e,{modalHeaderHeight:e.calc(e.calc(r).mul(n).equal()).add(e.calc(t).mul(2).equal()).equal(),modalFooterBorderColorSplit:e.colorSplit,modalFooterBorderStyle:e.lineType,modalFooterBorderWidth:e.lineWidth,modalIconHoverColor:e.colorIconHover,modalCloseIconColor:e.colorIcon,modalCloseBtnSize:e.fontHeight,modalConfirmIconSize:e.fontHeight,modalTitleHeight:e.calc(e.titleFontSize).mul(e.titleLineHeight).equal()})},XB=e=>({footerBg:"transparent",headerBg:e.colorBgElevated,titleLineHeight:e.lineHeightHeading5,titleFontSize:e.fontSizeHeading5,contentBg:e.colorBgElevated,titleColor:e.colorTextHeading,closeBtnHoverBg:e.wireframe?"transparent":e.colorFillContent,closeBtnActiveBg:e.wireframe?"transparent":e.colorFillContentHover,contentPadding:e.wireframe?0:`${ne(e.paddingMD)} ${ne(e.paddingContentHorizontalLG)}`,headerPadding:e.wireframe?`${ne(e.padding)} ${ne(e.paddingLG)}`:0,headerBorderBottom:e.wireframe?`${ne(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",headerMarginBottom:e.wireframe?0:e.marginXS,bodyPadding:e.wireframe?e.paddingLG:0,footerPadding:e.wireframe?`${ne(e.paddingXS)} ${ne(e.padding)}`:0,footerBorderTop:e.wireframe?`${ne(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",footerBorderRadius:e.wireframe?`0 0 ${ne(e.borderRadiusLG)} ${ne(e.borderRadiusLG)}`:0,footerMarginTop:e.wireframe?0:e.marginSM,confirmBodyPadding:e.wireframe?`${ne(e.padding*2)} ${ne(e.padding*2)} ${ne(e.paddingLG)}`:0,confirmIconMarginInlineEnd:e.wireframe?e.margin:e.marginSM,confirmBtnsMarginTop:e.wireframe?e.marginLG:e.marginSM});En("Modal",e=>{const t=qB(e);return[YB(t),KB(t),oR(t),iv(t,"zoom")]},XB,{unitless:{titleLineHeight:!0}});function QB(e){return t=>C(H1,{theme:{token:{motion:!1,zIndexPopupBase:0}},children:C(e,{...Object.assign({},t)})})}const ZB=(e,t,n,r)=>QB(a=>{const{prefixCls:i,style:s}=a,l=v.exports.useRef(null),[c,u]=v.exports.useState(0),[d,f]=v.exports.useState(0),[h,m]=Wt(!1,{value:a.open}),{getPrefixCls:p}=v.exports.useContext(st),y=p(t||"select",i);v.exports.useEffect(()=>{if(m(!0),typeof ResizeObserver<"u"){const S=new ResizeObserver($=>{const E=$[0].target;u(E.offsetHeight+8),f(E.offsetWidth)}),x=setInterval(()=>{var $;const E=n?`.${n(y)}`:`.${y}-dropdown`,w=($=l.current)===null||$===void 0?void 0:$.querySelector(E);w&&(clearInterval(x),S.observe(w))},10);return()=>{clearInterval(x),S.disconnect()}}},[]);let g=Object.assign(Object.assign({},a),{style:Object.assign(Object.assign({},s),{margin:0}),open:h,visible:h,getPopupContainer:()=>l.current});return r&&(g=r(g)),C("div",{ref:l,style:{paddingBottom:c,position:"relative",minWidth:d},children:C(e,{...Object.assign({},g)})})}),JB=ZB,J1=function(){if(typeof navigator>"u"||typeof window>"u")return!1;var 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|x7
Line truncated
|
||||||
|
`,`\r
|
||||||
|
`].includes(je)})},[F]),tt=v.exports.useContext(eb)||{},rt=tt.maxCount,Ct=tt.rawValues,xt=function(qe,wt,Ut){if(!((Ct==null?void 0:Ct.size)>=rt)){var Dt=!0,Jt=qe;T==null||T(null);var yn=Uz(qe,F,rt&&rt-Ct.size),Un=Ut?null:yn;return g!=="combobox"&&Un&&(Jt="",k==null||k(Un),be(!1),Dt=!1),N&&Ve!==Jt&&N(Jt,{source:wt?"typing":"effect"}),Dt}},ft=function(qe){!qe||!qe.trim()||N(qe,{source:"submit"})};v.exports.useEffect(function(){!Ie&&!ie&&g!=="combobox"&&xt("",!1,!1)},[Ie]),v.exports.useEffect(function(){Se&&b&&Le(!1),b&&!Ce.current&&Oe(!1)},[b]);var Ge=iR(),Ye=Z(Ge,2),gt=Ye[0],Ne=Ye[1],ze=function(qe){var wt=gt(),Ut=qe.which;if(Ut===fe.ENTER&&(g!=="combobox"&&qe.preventDefault(),Ie||be(!0)),Ne(!!Ve),Ut===fe.BACKSPACE&&!wt&&ie&&!Ve&&d.length){for(var Dt=Pe(d),Jt=null,yn=Dt.length-1;yn>=0;yn-=1){var Un=Dt[yn];if(!Un.disabled){Dt.splice(yn,1),Jt=Un;break}}Jt&&f(Dt,{type:"remove",values:[Jt]})}for(var bn=arguments.length,Gn=new Array(bn>1?bn-1:0),tr=1;tr<bn;tr++)Gn[tr-1]=arguments[tr];if(Ie){var Li;(Li=Ae.current)===null||Li===void 0||Li.onKeyDown.apply(Li,[qe].concat(Gn))}ue==null||ue.apply(void 0,[qe].concat(Gn))},Qe=function(qe){for(var wt=arguments.length,Ut=new Array(wt>1?wt-1:0),Dt=1;Dt<wt;Dt++)Ut[Dt-1]=arguments[Dt];if(Ie){var Jt;(Jt=Ae.current)===null||Jt===void 0||Jt.onKeyUp.apply(Jt,[qe].concat(Ut))}re==null||re.apply(void 0,[qe].concat(Ut))},ct=function(qe){var wt=d.filter(function(Ut){return Ut!==qe});f(wt,{type:"remove",values:[qe]})},Zt=v.exports.useRef(!1),Bt=function(){Oe(!0),b||(ae&&!Zt.current&&ae.apply(void 0,arguments),ee.includes("focus")&&be(!0)),Zt.current=!0},an=function(){Ce.current=!0,Oe(!1,function(){Zt.current=!1,Ce.current=!1,be(!1)}),!b&&(Ve&&(g==="tags"?N(Ve,{source:"submit"}):g==="multiple"&&N("",{source:"blur"})),J&&J.apply(void 0,arguments))},sn=[];v.exports.useEffect(function(){return function(){sn.forEach(function(je){return clearTimeout(je)}),sn.splice(0,sn.length)}},[]);var Jn=function(qe){var wt,Ut=qe.target,Dt=(wt=$e.current)===null||wt===void 0?void 0:wt.getPopupElement();if(Dt&&Dt.contains(Ut)){var Jt=setTimeout(function(){var Gn=sn.indexOf(Jt);if(Gn!==-1&&sn.splice(Gn,1),Fe(),!pe&&!Dt.contains(document.activeElement)){var tr;(tr=me.current)===null||tr===void 0||tr.focus()}});sn.push(Jt)}for(var yn=arguments.length,Un=new Array(yn>1?yn-1:0),bn=1;bn<yn;bn++)Un[bn-1]=arguments[bn];ve==null||ve.apply(void 0,[qe].concat(Un))},fr=v.exports.useState({}),On=Z(fr,2),ta=On[1];function na(){ta({})}var Wn;lt&&(Wn=function(qe){be(qe)}),rz(function(){var je;return[ge.current,(je=$e.current)===null||je===void 0?void 0:je.getPopupElement()]},_e,be,!!lt);var ra=v.exports.useMemo(function(){return Q(Q({},e),{},{notFoundContent:p,open:Ie,triggerOpen:_e,id:o,showSearch:ce,multiple:ie,toggleOpen:be})},[e,p,_e,Ie,o,ce,ie,be]),Ur=!!O||S,er;Ur&&(er=C(sv,{className:oe("".concat(a,"-arrow"),U({},"".concat(a,"-arrow-loading"),S)),customizeIcon:O,customizeIconProps:{loading:S,searchValue:Ve,open:Ie,focused:De,showSearch:ce}}));var Rr=function(){var qe;y==null||y(),(qe=me.current)===null||qe===void 0||qe.focus(),f([],{type:"clear",values:d}),xt("",!1,!1)},Gr=ez(a,Rr,d,M,_,b,Ve,g),bo=Gr.allowClear,pr=Gr.clearIcon,oa=C(A,{ref:Ae}),Yr=oe(a,i,(r={},U(r,"".concat(a,"-focused"),De),U(r,"".concat(a,"-multiple"),ie),U(r,"".concat(a,"-single"),!ie),U(r,"".concat(a,"-allow-clear"),M),U(r,"".concat(a,"-show-arrow"),Ur),U(r,"".concat(a,"-disabled"),b),U(r,"".concat(a,"-loading"),S),U(r,"".concat(a,"-open"),Ie),U(r,"".concat(a,"-customize-input"),Ze),U(r,"".concat(a,"-show-search"),ce),r)),$t=C(Vz,{ref:$e,disabled:b,prefixCls:a,visible:_e,popupElement:oa,animation:H,transitionName:D,dropdownStyle:B,dropdownClassName:W,direction:c,dropdownMatchSelectWidth:G,dropdownRender:K,dropdownAlign:j,placement:V,builtinPlacements:X,getPopupContainer:Y,empty:h,getTriggerDOMNode:function(){return He.current},onPopupVisibleChange:Wn,onPopupMouseEnter:na,children:lt?v.exports.cloneElement(lt,{ref:mt}):C(Oz,{...e,domRef:He,prefixCls:a,inputElement:Ze,ref:me,id:o,showSearch:ce,autoClearSearchValue:z,mode:g,activeDescendantId:P,tagRender:l,values:d,open:Ie,onToggleOpen:be,activeValue:I,searchValue:Ve,onSearch:xt,onSearchSubmit:ft,onRemove:ct,tokenWithEnter:Xe})}),ht;return lt?ht=$t:ht=te("div",{className:Yr,...le,ref:ge,onMouseDown:Jn,onKeyDown:ze,onKeyUp:Qe,onFocus:Bt,onBlur:an,children:[De&&!Ie&&C("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0},children:"".concat(d.map(function(je){var qe=je.label,wt=je.value;return["number","string"].includes(et(qe))?qe:wt}).join(", "))}),$t,er,bo&&pr]}),C(aR.Provider,{value:ra,children:ht})}),tb=function(){return null};tb.isSelectOptGroup=!0;var nb=function(){return null};nb.isSelectOption=!0;var vR=v.exports.forwardRef(function(e,t){var n=e.height,r=e.offsetY,o=e.offsetX,a=e.children,i=e.prefixCls,s=e.onInnerResize,l=e.innerProps,c=e.rtl,u=e.extra,d={},f={display:"flex",flexDirection:"column"};return r!==void 0&&(d={height:n,position:"rela
Line truncated
|
||||||
|
${o}${s}bottomLeft,
|
||||||
|
${a}${s}bottomLeft
|
||||||
|
`]:{animationName:q1},[`
|
||||||
|
${o}${s}topLeft,
|
||||||
|
${a}${s}topLeft,
|
||||||
|
${o}${s}topRight,
|
||||||
|
${a}${s}topRight
|
||||||
|
`]:{animationName:Q1},[`${i}${s}bottomLeft`]:{animationName:X1},[`
|
||||||
|
${i}${s}topLeft,
|
||||||
|
${i}${s}topRight
|
||||||
|
`]:{animationName:Z1},"&-hidden":{display:"none"},[`${r}`]:Object.assign(Object.assign({},ow(e)),{cursor:"pointer",transition:`background ${e.motionDurationSlow} ease`,borderRadius:e.borderRadiusSM,"&-group":{color:e.colorTextDescription,fontSize:e.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},Da),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${r}-option-disabled)`]:{backgroundColor:e.optionActiveBg},[`&-selected:not(${r}-option-disabled)`]:{color:e.optionSelectedColor,fontWeight:e.optionSelectedFontWeight,backgroundColor:e.optionSelectedBg,[`${r}-option-state`]:{color:e.colorPrimary},[`&:has(+ ${r}-option-selected:not(${r}-option-disabled))`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${r}-option-selected:not(${r}-option-disabled)`]:{borderStartStartRadius:0,borderStartEndRadius:0}}},"&-disabled":{[`&${r}-option-selected`]:{backgroundColor:e.colorBgContainerDisabled},color:e.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:e.calc(e.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},ow(e)),{color:e.colorTextDisabled})}),"&-rtl":{direction:"rtl"}})},Ks(e,"slide-up"),Ks(e,"slide-down"),zf(e,"move-up"),zf(e,"move-down")]},Vj=Hj,Ui=2,Wj=e=>{const{multipleSelectItemHeight:t,selectHeight:n,lineWidth:r}=e;return e.calc(n).sub(t).div(2).sub(r).equal()},sb=(e,t)=>{const{componentCls:n,iconCls:r}=e,o=`${n}-selection-overflow`,a=e.multipleSelectItemHeight,i=Wj(e),s=t?`${n}-${t}`:"";return{[`${n}-multiple${s}`]:{[o]:{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",height:"100%",paddingInline:e.calc(Ui).mul(2).equal(),paddingBlock:e.calc(i).sub(Ui).equal(),borderRadius:e.borderRadius,[`${n}-disabled&`]:{background:e.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${ne(Ui)} 0`,lineHeight:ne(a),visibility:"hidden",content:'"\\a0"'}},[`${n}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",height:a,marginTop:Ui,marginBottom:Ui,lineHeight:ne(e.calc(a).sub(e.calc(e.lineWidth).mul(2)).equal()),borderRadius:e.borderRadiusSM,cursor:"default",transition:`font-size ${e.motionDurationSlow}, line-height ${e.motionDurationSlow}, height ${e.motionDurationSlow}`,marginInlineEnd:e.calc(Ui).mul(2).equal(),paddingInlineStart:e.paddingXS,paddingInlineEnd:e.calc(e.paddingXS).div(2).equal(),[`${n}-disabled&`]:{color:e.multipleItemColorDisabled,borderColor:e.multipleItemBorderColorDisabled,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:e.calc(e.paddingXS).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},L1()),{display:"inline-flex",alignItems:"center",color:e.colorIcon,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${r}`]:{verticalAlign:"-0.2em"},"&:hover":{color:e.colorIconHover}})},[`${o}-item + ${o}-item`]:{[`${n}-selection-search`]:{marginInlineStart:0}},[`${o}-item-suffix`]:{height:"100%"},[`${n}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:e.calc(e.inputPaddingHorizontalBase).sub(i).equal(),[`
|
||||||
|
&-input,
|
||||||
|
&-mirror
|
||||||
|
`]:{height:a,fontFamily:e.fontFamily,lineHeight:ne(a),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 Jh(e,t){const{componentCls:n}=e,r=t?`${n}-${t}`:"",o={[`${n}-multiple${r}`]:{fontSize:e.fontSize,[`${n}-selector`]:{[`${n}-show-search&`]:{cursor:"text"}},[`
|
||||||
|
&${n}-show-arrow ${n}-selector,
|
||||||
|
&${n}-allow-clear ${n}-selector
|
||||||
|
`]:{paddingInlineEnd:e.calc(e.fontSizeIcon).add(e.controlPaddingHorizontal).equal()}}};return[sb(e,t),o]}const Uj=e=>{const{componentCls:t}=e,n=Rt(e,{selectHeight:e.controlHeightSM,multipleSelectItemHeight:e.controlHeightXS,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS}),r=Rt(e,{fontSize:e.fontSizeLG,selectHeight:e.controlHeightLG,multipleSelectItemHeight:e.multipleItemHeightLG,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius});return[Jh(e),Jh(n,"sm"),{[`${t}-multiple${t}-sm`]:{[`${t}-selection-placeholder`]:{insetInline:e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal()},[`${t}-selection-search`]:{marginInlineStart:2}}},Jh(r,"lg")]},Gj=Uj;function em(e,t){const{componentCls:n,inputPaddingHorizontalBase:r,borderRadius:o}=e,a=e.calc(e.controlHeight).sub(e.calc(e.lineWidth).mul(2)).equal(),i=t?`${n}-${t}`:"";return{[`${n}-single${i}`]:{fontSize:e.fontSize,height:e.controlHeight,[`${n}-selector`]:Object.assign(Object.assign({},nn(e,!0)),{display:"flex",borderRadius:o,[`${n}-selection-search`]:{position:"absolute",top:0,insetInlineStart:r,insetInlineEnd:r,bottom:0,"&-input":{width:"100%",WebkitAppearance:"textfield"}},[`
|
||||||
|
${n}-selection-item,
|
||||||
|
${n}-selection-placeholder
|
||||||
|
`]:{padding:0,lineHeight:ne(a),transition:`all ${e.motionDurationSlow}, visibility 0s`,alignSelf:"center"},[`${n}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${n}-selection-item:empty:after`,`${n}-selection-placeholder:empty:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[`
|
||||||
|
&${n}-show-arrow ${n}-selection-item,
|
||||||
|
&${n}-show-arrow ${n}-selection-placeholder
|
||||||
|
`]:{paddingInlineEnd:e.showArrowPaddingInlineEnd},[`&${n}-open ${n}-selection-item`]:{color:e.colorTextPlaceholder},[`&:not(${n}-customize-input)`]:{[`${n}-selector`]:{width:"100%",height:"100%",padding:`0 ${ne(r)}`,[`${n}-selection-search-input`]:{height:a},"&:after":{lineHeight:ne(a)}}},[`&${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 ${ne(r)}`,"&:after":{display:"none"}}}}}}}function Yj(e){const{componentCls:t}=e,n=e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal();return[em(e),em(Rt(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 ${ne(n)}`},[`&${t}-show-arrow ${t}-selection-search`]:{insetInlineEnd:e.calc(n).add(e.calc(e.fontSize).mul(1.5)).equal()},[`
|
||||||
|
&${t}-show-arrow ${t}-selection-item,
|
||||||
|
&${t}-show-arrow ${t}-selection-placeholder
|
||||||
|
`]:{paddingInlineEnd:e.calc(e.fontSize).mul(1.5).equal()}}}},em(Rt(e,{controlHeight:e.singleItemHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG}),"lg")]}const Kj=e=>{const{fontSize:t,lineHeight:n,controlHeight:r,controlPaddingHorizontal:o,zIndexPopupBase:a,colorText:i,fontWeightStrong:s,controlItemBgActive:l,controlItemBgHover:c,colorBgContainer:u,colorFillSecondary:d,controlHeightLG:f,controlHeightSM:h,colorBgContainerDisabled:m,colorTextDisabled:p}=e;return{zIndexPopup:a+50,optionSelectedColor:i,optionSelectedFontWeight:s,optionSelectedBg:l,optionActiveBg:c,optionPadding:`${(r-t*n)/2}px ${o}px`,optionFontSize:t,optionLineHeight:n,optionHeight:r,selectorBg:u,clearBg:u,singleItemHeightLG:f,multipleItemBg:d,multipleItemBorderColor:"transparent",multipleItemHeight:h,multipleItemHeightLG:r,multipleSelectorBgDisabled:m,multipleItemColorDisabled:p,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(e.fontSize*1.25)}},SR=(e,t)=>{const{componentCls:n,antCls:r,controlOutlineWidth:o}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{border:`${ne(e.lineWidth)} ${e.lineType} ${t.borderColor}`,background:e.selectorBg},[`&:not(${n}-disabled):not(${n}-customize-input):not(${r}-pagination-size-changer)`]:{[`&:hover ${n}-selector`]:{borderColor:t.hoverBorderHover},[`${n}-focused& ${n}-selector`]:{borderColor:t.activeBorderColor,boxShadow:`0 0 0 ${ne(o)} ${t.activeShadowColor}`,outline:0}}}},aw=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},SR(e,t))}),qj=e=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},SR(e,{borderColor:e.colorBorder,hoverBorderHover:e.colorPrimaryHover,activeBorderColor:e.colorPrimary,activeShadowColor:e.controlOutline})),aw(e,{status:"error",borderColor:e.colorError,hoverBorderHover:e.colorErrorHover,activeBorderColor:e.colorError,activeShadowColor:e.colorErrorOutline})),aw(e,{status:"warning",borderColor:e.colorWarning,hoverBorderHover:e.colorWarningHover,activeBorderColor:e.colorWarning,activeShadowColor:e.colorWarningOutline})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${ne(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}})}),CR=(e,t)=>{const{componentCls:n,antCls:r}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{background:t.bg,border:`${ne(e.lineWidth)} ${e.lineType} transparent`,color:t.color},[`&:not(${n}-disabled):not(${n}-customize-input):not(${r}-pagination-size-changer)`]:{[`&:hover ${n}-selector`]:{background:t.hoverBg},[`${n}-focused& ${n}-selector`]:{background:e.selectorBg,borderColor:t.activeBorderColor,outline:0}}}},iw=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},CR(e,t))}),Xj=e=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},CR(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.colorPrimary,color:e.colorText})),iw(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,color:e.colorError})),iw(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,color:e.colorWarning})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{borderColor:e.colorBorder,background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.colorBgContainer,border:`${ne(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}})}),Qj=e=>({"&-borderless":{[`${e.componentCls}-selector`]:{background:"transparent",borderColor:"transparent"},[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${ne(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}}}),Zj=e=>({[e.componentCls]:Object.assign(Object.assign(Object.assign({},qj(e)),Xj(e)),Qj(e))}),Jj=Zj,eH=e=>{const{componentCls:t}=e;return{position:"relative",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,input:{cursor:"pointer"},[`${t}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${t}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},tH=e=>{const{componentCls:t}=e;return{[`${t}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none",fontFamily:"inherit","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},nH=e=>{const{antCls:t,componentCls:n,inputPaddingHorizontalBase:r,iconCls:o}=e;return{[n]:Object.assign(Object.assign({},nn(e)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not($Line truncated
|
||||||
|
&:hover ${S}`]:{borderColor:r},[`${t}-input:focus-visible + ${S}`]:Object.assign({},k1(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:E,height:E,marginBlockStart:b(1).mul(o).div(-2).equal(),marginInlineStart:b(1).mul(o).div(-2).equal(),backgroundColor:y,borderBlockStart:0,borderInlineStart:0,borderRadius:E,transform:"scale(0)",opacity:0,transition:`all ${a} ${s}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:E,height:E,backgroundColor:l,borderColor:c,borderStyle:"solid",borderWidth:u,borderRadius:"50%",transition:`all ${i}`},[`${t}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${t}-checked`]:{[S]:{borderColor:r,backgroundColor:g,"&::after":{transform:`scale(${e.calc(e.dotSize).div(o).equal()})`,opacity:1,transition:`all ${a} ${s}`}}},[`${t}-disabled`]:{cursor:"not-allowed",[S]:{backgroundColor:d,borderColor:c,cursor:"not-allowed","&::after":{backgroundColor:m}},[`${t}-input`]:{cursor:"not-allowed"},[`${t}-disabled + span`]:{color:f,cursor:"not-allowed"},[`&${t}-checked`]:{[S]:{"&::after":{transform:`scale(${b($).div(o).equal({unit:!1})})`}}}},[`span${t} + *`]:{paddingInlineStart:h,paddingInlineEnd:h}})}},IW=e=>{const{buttonColor:t,controlHeight:n,componentCls:r,lineWidth:o,lineType:a,colorBorder:i,motionDurationSlow:s,motionDurationMid:l,buttonPaddingInline:c,fontSize:u,buttonBg:d,fontSizeLG:f,controlHeightLG:h,controlHeightSM:m,paddingXS:p,borderRadius:y,borderRadiusSM:g,borderRadiusLG:b,buttonCheckedBg:S,buttonSolidCheckedColor:x,colorTextDisabled:$,colorBgContainerDisabled:E,buttonCheckedBgDisabled:w,buttonCheckedColorDisabled:R,colorPrimary:I,colorPrimaryHover:T,colorPrimaryActive:P,buttonSolidCheckedBg:L,buttonSolidCheckedHoverBg:z,buttonSolidCheckedActiveBg:N,calc:k}=e;return{[`${r}-button-wrapper`]:{position:"relative",display:"inline-block",height:n,margin:0,paddingInline:c,paddingBlock:0,color:t,fontSize:u,lineHeight:ne(k(n).sub(k(o).mul(2)).equal()),background:d,border:`${ne(o)} ${a} ${i}`,borderBlockStartWidth:k(o).add(.02).equal(),borderInlineStartWidth:0,borderInlineEndWidth:o,cursor:"pointer",transition:[`color ${l}`,`background ${l}`,`box-shadow ${l}`].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:k(o).mul(-1).equal(),insetInlineStart:k(o).mul(-1).equal(),display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:o,paddingInline:0,backgroundColor:i,transition:`background-color ${s}`,content:'""'}},"&:first-child":{borderInlineStart:`${ne(o)} ${a} ${i}`,borderStartStartRadius:y,borderEndStartRadius:y},"&:last-child":{borderStartEndRadius:y,borderEndEndRadius:y},"&:first-child:last-child":{borderRadius:y},[`${r}-group-large &`]:{height:h,fontSize:f,lineHeight:ne(k(h).sub(k(o).mul(2)).equal()),"&:first-child":{borderStartStartRadius:b,borderEndStartRadius:b},"&:last-child":{borderStartEndRadius:b,borderEndEndRadius:b}},[`${r}-group-small &`]:{height:m,paddingInline:k(p).sub(o).equal(),paddingBlock:0,lineHeight:ne(k(m).sub(k(o).mul(2)).equal()),"&:first-child":{borderStartStartRadius:g,borderEndStartRadius:g},"&:last-child":{borderStartEndRadius:g,borderEndEndRadius:g}},"&:hover":{position:"relative",color:I},"&:has(:focus-visible)":Object.assign({},k1(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:I,background:S,borderColor:I,"&::before":{backgroundColor:I},"&:first-child":{borderColor:I},"&:hover":{color:T,borderColor:T,"&::before":{backgroundColor:T}},"&:active":{color:P,borderColor:P,"&::before":{backgroundColor:P}}},[`${r}-group-solid &-checked:not(${r}-button-wrapper-disabled)`]:{color:x,background:L,borderColor:L,"&:hover":{color:x,background:z,borderColor:z},"&:active":{color:x,background:N,borderColor:N}},"&-disabled":{color:$,backgroundColor:E,borderColor:i,cursor:"not-allowed","&:first-child, &:hover":{color:$,backgroundColor:E,borderColor:i}},[`&-disabled${r}-button-wrapper-checked`]:{color:R,backgroundColor:w,borderColor:i,boxShadow:"none"}}}},TW=e=>{const{wireframe:t,padding:n,marginXS:r,lineWidth:o,fontSizeLG:a,colorText:i,colorBgContainer:s,colorTextDisabled:l,controlItemBgActiveDisabled:c,colorTextLightSolid:u,colorPrimary:d,colorPrimaryHover:f,colorPrimaryActive:h,colorWhite:m}=e,p=4,y=a,g=t?y-p*2:y-(p+o)*2;return{radioSize:y,dotSize:g,dotColorDisabled:l,buttonSolidCheckedColor:u,buttonSolidCheckedBg:d,buttonSolidCheckedHoverBg:f,buttonSolidCheckedActiveBg:h,buttonBg:s,buttonCheckedBg:s,buttonColor:i,buttonCheckedBgDisabled:c,buttonCheckedColorDisabled:l,buttonPaddingInline:n-o,wrapperMarginInlineEnd:r,
Line truncated
|
||||||
|
& > ${t}-affix-wrapper,
|
||||||
|
& > ${t}-number-affix-wrapper,
|
||||||
|
& > ${n}-picker-range
|
||||||
|
`]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),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.calc(e.lineWidth).mul(-1).equal(),[`${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}}}})}},KW=e=>{const{componentCls:t,controlHeightSM:n,lineWidth:r,calc:o}=e,a=16,i=o(n).sub(o(r).mul(2)).sub(a).div(2).equal();return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},nn(e)),w3(e)),m3(e)),b3(e)),g3(e)),{'&[type="color"]':{height:e.controlHeight,[`&${t}-lg`]:{height:e.controlHeightLG},[`&${t}-sm`]:{height:n,paddingTop:i,paddingBottom:i}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},qW=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 ${ne(e.inputAffixPadding)}`}}}},XW=e=>{const{componentCls:t,inputAffixPadding:n,colorTextDescription:r,motionDurationSlow:o,colorIcon:a,colorIconHover:i,iconCls:s}=e;return{[`${t}-affix-wrapper`]:Object.assign(Object.assign(Object.assign(Object.assign({},w3(e)),{display:"inline-flex",[`&:not(${t}-disabled):hover`]:{zIndex:1,[`${t}-search-with-button &`]:{zIndex:0}},"&-focused, &:focus":{zIndex:1},[`> input${t}`]:{padding:0,fontSize:"inherit",border:"none",borderRadius:0,outline:"none",background:"transparent",color:"inherit","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",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}}}),qW(e)),{[`${s}${t}-password-icon`]:{color:a,cursor:"pointer",transition:`all ${o}`,"&:hover":{color:i}}})}},QW=e=>{const{componentCls:t,borderRadiusLG:n,borderRadiusSM:r}=e;return{[`${t}-group`]:Object.assign(Object.assign(Object.assign({},nn(e)),YW(e)),{"&-rtl":{direction:"rtl"},"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${t}-group-addon`]:{borderRadius:n,fontSize:e.inputFontSizeLG}},"&-sm":{[`${t}-group-addon`]:{borderRadius:r}}},UW(e)),GW(e)),{[`&:not(${t}-compact-first-item):not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}, ${t}-group-addon`]:{borderRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-first-item`]:{[`${t}, ${t}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-last-item`]:{[`${t}, ${t}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}-affix-wrapper`]:{borderStartEndRadius:0,borderEndEndRadius:0}}})})}},ZW=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.calc(e.lineHeightLG).sub(2e-4).equal({unit:!1})},[`> ${t}-group`]:{[`> ${t}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${r}-button`]:{marginInlineEnd:-1,paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius,borderEndStartRadius:0,boxShadow:"none"},[`${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.calc(e.lineWidth).mul(-1).equal(),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}}}}},JW=e=>{const{componentCls:t,paddingLG:n}=e,r=`${t}-textarea`;return{[r]:{position:"relative","&-show-count":{[`> ${t}`]:{height:"100%"},[`${t}-data-count`]:{position:"absolute",bottom:e.calc(e.fontSize).mul(e.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:e.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},"&-allow-clear":{[`> ${t}`]:{paddingInlineEnd:n}},[`&-affix-wrapper${r}-has-feedback`]:{[`${t}`]:{paddingInlineEnd:n}},[`&-affix-wrapper${t}-affix-wrapper`]:{padding:0,[`> textarea${t}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent","&:focus":{boxShadow:"none !important"}},[`${t}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${t}-clear-icon`]:{position:"absolute",insetInlineEnd:e.paddingXS,insetBlockStart:e.paddingXS},[`${r}-suffix`]:{position:"absolute",top:0,insetInlineEnd:e.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}}}}},eU=e=>{const{componentCls:t}=e;return{[`${t}-out-of-range`]:{[`&, & input, & textarea, ${t}-show-count-suffix, ${t}-data-count`]:{color:e.colorError}}}},xb=En("Input",e=>{const t=Rt(e,p3(e));return[KW(t),JW(t),XW(t),QW(t),ZW(t),eU(t),rv(t)]},v3),nm=(e,t)=>{const{componentCls:n,selectHeight:r,fontHeight:o,lineWidth:a,calc:i}=e,s=t?`${n}-${t}`:"",l=e.calc(o).add(2).equal(),c=()=>i(r).sub(l).sub(i(a).mul(2)),u=e.max(c().div(2).equal(),0),d=e.max(c().sub(u).equal(),0);return[sb(e,t),{[`${n}-multiple${s}`]:{paddingTop:u,paddingBottom:d,paddingInlineStart:u}}]},tU=e=>{const{componentCls:t,calc:n,lineWidth:r}=e,o=Rt(e,{fontHeight:e.fontSize,selectHeight:e.controlHeightSM,multipleSelectItemHeight:e.controlHeightXS,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS}),a=Rt(e,{fontHeight:n(e.multipleItemHeightLG).sub(n(r).mul(2).equal()).equal(),fontSize:e.fontSizeLG,selectHeight:e.controlHeightLG,multipleSelectItemHeight:e.multipleItemHeightLG,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius});return[nm(o,"small"),nm(e),nm(a,"large"),sb(e),{[`${t}${t}-multiple`]:{width:"100%",[`${t}-selector`]:{flex:"auto",padding:0,"&:after":{margin:0}},[`${t}-selection-item`]:{marginBlock:0},[`${t}-multiple-input`]:{width:0,height:0,border:0,visibility:"hidden",position:"absolute",zIndex:-1}}}]},nU=tU,rU=e=>{const{pickerCellCls:t,pickerCellInnerCls:n,cellHeight:r,borderRadiusSM:o,motionDurationMid:a,cellHoverBg:i,lineWidth:s,lineType:l,colorPrimary:c,cellActiveWithRangeBg:u,colorTextLightSolid:d,colorTextDisabled:f,cellBgDisabled:h,colorFillSecondary:m}=e;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:r,transform:"translateY(-50%)",content:'""'},[n]:{position:"relative",zIndex:2,display:"inline-block",minWidth:r,height:r,lineHeight:ne(r),borderRadius:o,transition:`background ${a}`},[`&:hover:not(${t}-in-view),
|
||||||
|
&:hover:not(${t}-selected):not(${t}-range-start):not(${t}-range-end)`]:{[n]:{background:i}},[`&-in-view${t}-today ${n}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${ne(s)} ${l} ${c}`,borderRadius:o,content:'""'}},[`&-in-view${t}-in-range,
|
||||||
|
&-in-view${t}-range-start,
|
||||||
|
&-in-view${t}-range-end`]:{position:"relative",[`&:not(${t}-disabled):before`]:{background:u}},[`&-in-view${t}-selected,
|
||||||
|
&-in-view${t}-range-start,
|
||||||
|
&-in-view${t}-range-end`]:{[`&:not(${t}-disabled) ${n}`]:{color:d,background:c},[`&${t}-disabled ${n}`]:{background:m}},[`&-in-view${t}-range-start:not(${t}-disabled):before`]:{insetInlineStart:"50%"},[`&-in-view${t}-range-end:not(${t}-disabled):before`]:{insetInlineEnd:"50%"},[`&-in-view${t}-range-start:not(${t}-range-end) ${n}`]:{borderStartStartRadius:o,borderEndStartRadius:o,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${t}-range-end:not(${t}-range-start) ${n}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:o,borderEndEndRadius:o},"&-disabled":{color:f,pointerEvents:"none",[n]:{background:"transparent"},"&::before":{background:h}},[`&-disabled${t}-today ${n}::before`]:{borderColor:f}}},$3=e=>{const{componentCls:t,pickerCellCls:n,pickerCellInnerCls:r,pickerYearMonthCellWidth:o,pickerControlIconSize:a,cellWidth:i,paddingSM:s,paddingXS:l,paddingXXS:c,colorBgContainer:u,lineWidth:d,lineType:f,borderRadiusLG:h,colorPrimary:m,colorTextHeading:p,colorSplit:y,pickerControlIconBorderWidth:g,colorIcon:b,textHeight:S,motionDurationMid:x,colorIconHover:$,fontWeightStrong:E,cellHeight:w,pickerCellPaddingVertical:R,colorTextDisabled:I,colorText:T,fontSize:P,motionDurationSlow:L,withoutTimeCellHeight:z,pickerQuarterPanelContentHeight:N,borderRadiusSM:k,colorTextLightSolid:F,cellHoverBg:M,timeColumnHeight:O,timeColumnWidth:_,timeCellHeight:A,controlItemBgActive:H,marginXXS:D,pickerDatePanelPaddingHorizontal:B,pickerControlIconMargin:W}=e,G=e.calc(i).mul(7).add(e.calc(B).mul(2)).equal();return{[t]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:u,borderRadius:h,outline:"none","&-focused":{borderColor:m},"&-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,
|
||||||
|
&-year-panel,
|
||||||
|
&-quarter-panel,
|
||||||
|
&-month-panel,
|
||||||
|
&-week-panel,
|
||||||
|
&-date-panel,
|
||||||
|
&-time-panel`]:{display:"flex",flexDirection:"column",width:G},"&-header":{display:"flex",padding:`0 ${ne(l)}`,color:p,borderBottom:`${ne(d)} ${f} ${y}`,"> *":{flex:"none"},button:{padding:0,color:b,lineHeight:ne(S),background:"transparent",border:0,cursor:"pointer",transition:`color ${x}`,fontSize:"inherit"},"> button":{minWidth:"1.6em",fontSize:P,"&:hover":{color:$},"&:disabled":{opacity:.25,pointerEvents:"none"}},"&-view":{flex:"auto",fontWeight:E,lineHeight:ne(S),button:{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:l},"&:hover":{color:m}}}},[`&-prev-icon,
|
||||||
|
&-next-icon,
|
||||||
|
&-super-prev-icon,
|
||||||
|
&-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:g,borderBlockEndWidth:0,borderInlineStartWidth:g,borderInlineEndWidth:0,content:'""'}},[`&-super-prev-icon,
|
||||||
|
&-super-next-icon`]:{"&::after":{position:"absolute",top:W,insetInlineStart:W,display:"inline-block",width:a,height:a,border:"0 solid currentcolor",borderBlockStartWidth:g,borderBlockEndWidth:0,borderInlineStartWidth:g,borderInlineEndWidth:0,content:'""'}},[`&-prev-icon,
|
||||||
|
&-super-prev-icon`]:{transform:"rotate(-45deg)"},[`&-next-icon,
|
||||||
|
&-super-next-icon`]:{transform:"rotate(135deg)"},"&-content":{width:"100%",tableLayout:"fixed",borderCollapse:"collapse","th, td":{position:"relative",minWidth:w,fontWeight:"normal"},th:{height:e.calc(w).add(e.calc(R).mul(2)).equal(),color:T,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${ne(R)} 0`,color:I,cursor:"pointer","&-in-view":{color:T}},rU(e)),[`&-decade-panel,
|
||||||
|
&-year-panel,
|
||||||
|
&-quarter-panel,
|
||||||
|
&-month-panel`]:{[`${t}-content`]:{height:e.calc(z).mul(4).equal()},[r]:{padding:`0 ${ne(l)}`}},"&-quarter-panel":{[`${t}-content`]:{height:N}},"&-decade-panel":{[r]:{padding:`0 ${ne(e.calc(l).div(2).equal())}`},[`${t}-cell::before`]:{display:"none"}},[`&-year-panel,
|
||||||
|
&-quarter-panel,
|
||||||
|
&-month-panel`]:{[`${t}-body`]:{padding:`0 ${ne(l)}`},[r]:{width:o}},"&-date-panel":{[`${t}-body`]:{padding:`${ne(l)} ${ne(B)}`},[`${t}-content th`]:{boxSizing:"border-box",padding:0}},"&-week-panel":{[`${t}-cell`]:{[`&:hover ${r},
|
||||||
|
&-selected ${r},
|
||||||
|
${r}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${x}`},"&:first-child:before":{borderStartStartRadius:k,borderEndStartRadius:k},"&:last-child:before":{borderStartEndRadius:k,borderEndEndRadius:k}},["&:hover td"]:{"&:before":{background:M}},[`&-range-start td,
|
||||||
|
&-range-end td,
|
||||||
|
&-selected td`]:{[`&${n}`]:{"&:before":{background:m},[`&${t}-cell-week`]:{color:new Tt(F).setAlpha(.5).toHexString()},[r]:{color:F}}},["&-range-hover td:before"]:{background:H}}},["&-week-panel, &-date-panel-show-week"]:{[`${t}-body`]:{padding:`${ne(l)} ${ne(s)}`},[`${t}-content th`]:{width:"auto"}},"&-datetime-panel":{display:"flex",[`${t}-time-panel`]:{borderInlineStart:`${ne(d)} ${f} ${y}`},[`${t}-date-panel,
|
||||||
|
${t}-time-panel`]:{transition:`opacity ${L}`},"&-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:O},"&-column":{flex:"1 0 auto",width:_,margin:`${ne(c)} 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${x}`,overflowX:"hidden","&::-webkit-scrollbar":{width:8,backgroundColor:"transparent"},"&::-webkit-scrollbar-thumb":{backgroundColor:e.colorTextTertiary,borderRadius:4},"&":{scrollbarWidth:"thin",scrollbarColor:`${e.colorTextTertiary} transparent`},"&::after":{display:"block",height:e.calc("100%").sub(A).equal(),content:'""'},"&:not(:first-child)":{borderInlineStart:`${ne(d)} ${f} ${y}`},"&-active":{background:new Tt(H).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${t}-time-panel-cell`]:{marginInline:D,[`${t}-time-panel-cell-inner`]:{display:"block",width:e.calc(_).sub(e.calc(D).mul(2)).equal(),height:A,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:e.calc(_).sub(A).div(2).equal(),color:T,lineHeight:ne(A),borderRadius:k,cursor:"pointer",transition:`background ${x}`,"&:hover":{background:M}},"&-selected":{[`${t}-time-panel-cell-inner`]:{background:H}},"&-disabled":{[`${t}-time-panel-cell-inner`]:{color:I,background:"transparent",cursor:"not-allowed"}}}}}}}}},oU=e=>{const{componentCls:t,textHeight:n,lineWidth:r,paddingSM:o,antCls:a,colorPrimary:i,cellActiveWithRangeBg:s,colorPrimaryBorder:l,lineType:c,colorSplit:u}=e;return{[`${t}-dropdown`]:{[`${t}-footer`]:{borderTop:`${ne(r)} ${c} ${u}`,"&-extra":{padding:`0 ${ne(o)}`,lineHeight:ne(e.calc(n).sub(e.calc(r).mul(2)).equal()),textAlign:"start","&:not(:last-child)":{borderBottom:`${ne(r)} ${c} ${u}`}}},[`${t}-panels + ${t}-footer ${t}-ranges`]:{justifyContent:"space-between"},[`${t}-ranges`]:{marginBlock:0,paddingInline:ne(o),overflow:"hidden",textAlign:"start",listStyle:"none",display:"flex",justifyContent:"center",alignItems:"center","> li":{lineHeight:ne(e.calc(n).sub(e.calc(r).mul(2)).equal()),display:"inline-block"},[`${t}-now-btn-disabled`]:{pointerEvents:"none",color:e.colorTextDisabled},[`${t}-preset > ${a}-tag-blue`]:{color:i,background:s,borderColor:l,cursor:"pointer"},[`${t}-ok`]:{paddingBlock:e.calc(r).mul(2).equal(),marginInlineStart:"auto"}}}}},aU=oU,E3=e=>{const{componentCls:t,controlHeightLG:n,paddingXXS:r,padding:o}=e;return{pickerCellCls:`${t}-cell`,pickerCellInnerCls:`${t}-cell-inner`,pickerYearMonthCellWidth:e.calc(n).mul(1.5).equal(),pickerQuarterPanelContentHeight:e.calc(n).mul(1.4).equal(),pickerCellPaddingVertical:e.calc(r).add(e.calc(r).div(2)).equal(),pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconMargin:4,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:e.calc(o).add(e.calc(r).div(2)).equal()}},O3=e=>{const{colorBgContainerDisabled:t,controlHeightSM:n,controlHeightLG:r}=e;return{cellHoverBg:e.controlItemBgHover,cellActiveWithRangeBg:e.controlItemBgActive,cellHoverWithRangeBg:new Tt(e.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new Tt(e.colorPrimary).lighten(20).toHexString(),cellBgDisabled:t,timeColumnWidth:r*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:n*1.5,cellHeight:n,textHeight:r,withoutTimeCellHeight:r*1.65,multipleItemBg:e.colorFillSecondary,multipleItemBorderColor:"transparent",multipleItemHeight:n,multipleItemHeightLG:e.controlHeight,multipleSelectorBgDisabled:t,multipleItemColorDisabled:e.colorTextDisabled,multipleItemBorderColorDisabled:"transparent"}},iU=e=>Object.assign(Object.assign(Object.assign(Object.assign({},v3(e)),O3(e)),cb(e)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:e.zIndexPopupBase+50}),sU=e=>{const{componentCls:t}=e;return{[t]:[Object.assign(Object.assign(Object.assign({},m3(e)),b3(e)),g3(e)),{"&-outlined":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${ne(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}},"&-filled":{[`&${t}-multiple ${t}-selection-item`]:{background:e.colorBgContainer,border:`${ne(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}},"&-borderless":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${ne(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}}}]}},lU=sU,rm=(e,t,n,r)=>{const o=e.calc(n).add(2).equal(),a=e.max(e.calc(t).sub(o).div(2).equal(),0),i=e.max(e.calc(t).sub(o).sub(a).equal(),0);return{padding:`${ne(a)} ${ne(r)} ${ne(i)}`}},cU=e=>{const{componentCls:t,colorError:n,colorWarning:r}=e;return{[`${t}:not(${t}-disabled):not([disabled])`]:{[`&${t}-status-error`]:{[`${t}-active-bar`]:{background:n}},[`&${t}-status-warning`]:{[`${t}-active-bar`]:{background:r}}}}},uU=e=>{const{componentCls:t,antCls:n,controlHeight:r,paddingInline:o,lineWidth:a,lineType:i,colorBorder:s,borderRadius:l,motionDurationMid:c,colorTextDisabled:u,colorTextPlaceholder:d,controlHeightLG:f,fontSizeLG:h,controlHeightSM:m,paddingInlineSM:p,paddingXS:y,marginXS:g,colorTextDescription:b,lineWidthBold:S,c
Line truncated
|
||||||
|
&${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:Q1},[`&${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:q1},[`&${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:Z1},[`&${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:X1},[`${t}-panel > ${t}-time-panel`]:{paddingTop:w},[`${t}-range-wrapper`]:{display:"flex",position:"relative"},[`${t}-range-arrow`]:Object.assign(Object.assign({position:"absolute",zIndex:1,display:"none",paddingInline:e.calc(o).mul(1.5).equal(),boxSizing:"content-box",transition:`left ${$} ease-out`},OR(e,I,M)),{"&:before":{insetInlineStart:e.calc(o).mul(1.5).equal()}}),[`${t}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:I,borderRadius:T,boxShadow:P,transition:`margin ${$}`,display:"inline-block",pointerEvents:"auto",[`${t}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${t}-presets`]:{display:"flex",flexDirection:"column",minWidth:k,maxWidth:F,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:y,borderInlineEnd:`${ne(a)} ${i} ${z}`,li:Object.assign(Object.assign({},Da),{borderRadius:L,paddingInline:y,paddingBlock:e.calc(m).sub(O).div(2).equal(),cursor:"pointer",transition:`all ${$}`,"+ li":{marginTop:g},"&:hover":{background:N}})}},[`${t}-panels`]:{display:"inline-flex",flexWrap:"nowrap",direction:"ltr","&: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:`${ne(e.calc(R).mul(2).div(3).equal())} 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${t}-separator`]:{transform:"rotate(180deg)"},[`${t}-footer`]:{"&-extra":{direction:"rtl"}}}})},Ks(e,"slide-up"),Ks(e,"slide-down"),zf(e,"move-up"),zf(e,"move-down")]};En("DatePicker",e=>{const t=Rt(p3(e),E3(e),{inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[aU(t),uU(t),lU(t),cU(t),nU(t),rv(e,{focusElCls:`${e.componentCls}-focused`})]},iU);const dU=e=>{const{calendarCls:t,componentCls:n,fullBg:r,fullPanelBg:o,itemActiveBg:a}=e;return{[t]:Object.assign(Object.assign(Object.assign({},$3(e)),nn(e)),{background:r,"&-rtl":{direction:"rtl"},[`${t}-header`]:{display:"flex",justifyContent:"flex-end",padding:`${ne(e.paddingSM)} 0`,[`${t}-year-select`]:{minWidth:e.yearControlWidth},[`${t}-month-select`]:{minWidth:e.monthControlWidth,marginInlineStart:e.marginXS},[`${t}-mode-switch`]:{marginInlineStart:e.marginXS}}}),[`${t} ${n}-panel`]:{background:o,border:0,borderTop:`${ne(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,borderRadius:0,[`${n}-month-panel, ${n}-date-panel`]:{width:"auto"},[`${n}-body`]:{padding:`${ne(e.paddingXS)} 0`},[`${n}-content`]:{width:"100%"}},[`${t}-mini`]:{borderRadius:e.borderRadiusLG,[`${t}-header`]:{paddingInlineEnd:e.paddingXS,paddingInlineStart:e.paddingXS},[`${n}-panel`]:{borderRadius:`0 0 ${ne(e.borderRadiusLG)} ${ne(e.borderRadiusLG)}`},[`${n}-content`]:{height:e.miniContentHeight,th:{height:"auto",padding:0,lineHeight:`${ne(e.weekHeight)}`}},[`${n}-cell::before`]:{pointerEvents:"none"}},[`${t}${t}-full`]:{[`${n}-panel`]:{display:"block",width:"100%",textAlign:"end",background:r,border:0,[`${n}-body`]:{"th, td":{padding:0},th:{height:"auto",paddingInlineEnd:e.paddingSM,paddingBottom:e.paddingXXS,lineHeight:`${ne(e.weekHeight)}`}}},[`${n}-cell`]:{"&::before":{display:"none"},"&:hover":{[`${t}-date`]:{background:e.controlItemBgHover}},[`${t}-date-today::before`]:{display:"none"},[`&-in-view${n}-cell-selected`]:{[`${t}-date, ${t}-date-today`]:{background:a}},"&-selected, &-selected:hover":{[`${t}-date, ${t}-date-today`]:{[`${t}-date-value`]:{color:e.colorPrimary}}}},[`${t}-date`]:{display:"block",width:"auto",height:"auto",margin:`0 ${ne(e.calc(e.marginXS).div(2).equal())}`,padding:`${ne(e.calc(e.paddingXS).div(2).equal())} ${ne(e.paddingXS)} 0`,border:0,borderTop:`${ne(e.lineWidthBold)} ${e.lineType} ${e.colorSplit}`,borderRadius:0,transition:`background ${e.motionDurationSlow}`,"&-value":{lineHeight:`${ne(e.dateValueHeight)}`,transition:`color ${e.motionDurationSlow}`},"&-content":{position:"static",width:"auto",height:e.dateContentHeight,overflowY:"auto",color:e.colorText,lineHeight:e.lineHeight,textAlign:"start"},"&-today":{borderColor:e.colorPrimary,[`${t}-date-value`]:{color:e.colorText}}}},[`@media only screen and (max-width: ${ne(e.screenXS)}) `]:{[`${t}`]:{[`${t}-header`]:{display:"block",[`${t}-year-select`]:{width:"50%"},[`${t}-month-select`]:{width:`calc(50% - ${ne(e.paddingXS)})`},[`${t}-mode-switch`]:{width:"100%",marginTop:e.marginXS,marginInlineStart:0,"> label":{width:"50%",textAlign:"center"}}}}}}},fU=e=>Object.assign({fullBg:e.colorBgContainer,fullPanelBg:e.colorBgContainer,itemActiveBg:e.controlItemBgActive,yearControlWidth:80,monthControlWidth:70,miniContentHeight:256},O3(e)),pU=En("Calendar",e=>{const t=`${e.componentCls}-calendar`,n=Rt(e,E3(e),{calendarCls:t,pickerCellInnerCls:`${e.componentCls}-cell-inner`,dateValueHeight:e.controlHeightSM,weekHeight:e.calc(e.controlHeightSM).mul(.75).equal(),dateContentHeight:e.calc(e.calc(e.fontHeightSM).add(e.marginXS)).mul(3).add(e.calc(e.lineWidth).mul(2)).equal()});return[dU(n)]},fU);function M3(e){function t(a,i){return a&&i&&e.getYear(a)===e.getYear(i)}function n(a,i){return t(a,i)&&e.getMonth(a)===e.getMonth(i)}function r(a,i){return n(a,i)&&e.getDate(a)===e.getDate(i)}return a=>{const{prefixCls:i,className:s,rootClassName:l,style:c,dateFullCellRender:u,dateCellRender:d,monthFullCellRender:f,monthCellRender:h,cellRender:m,fullCellRender:p,headerRender:y,value:g,defaultValue:b,disabledDate:S,mode:x,validRange:$,fullscreen:E=!0,onChange:w,onPanelChange:R,onSelect:I}=a,{getPrefixCls:T,direction:P,calendar:L}=v.exports.useContext(st),z=T("picker",i),N=`${z}-calendar`,[k,F,M]=pU(z,N),O=e.getNow(),[_,A]=Wt(()=>g||e.getNow(),{defaultValue:b,value:g}),[H,D]=Wt("month",{value:x}),B=v.exports.useMemo(()=>H==="year"?"month":"date",[H]),W=v.exports.useCallback(J=>($?e.isAfter($[0],J)||e.isAfter(J,$[1]):!1)||!!(S!=null&&S(J)),[S,$]),G=(J,re)=>{R==null||R(J,re)},K=J=>{A(J),r(J,_)||((B==="date"&&!n(J,_)||B==="month"&&!t(J,_))&&G(J,H),w==null||w(J))},j=J=>{D(J),G(_,J)},V=(J,re)=>{K(J),I==null||I(J,{source:re})},X=()=>{const{locale:J}=a,re=Object.assign(Object.assign({},m0),J);return re.lang=Object.assign(Object.assign({},re.lang),(J||{}).lang),re
Line truncated
|
||||||
|
${r},
|
||||||
|
${o} > li,
|
||||||
|
${n},
|
||||||
|
${a},
|
||||||
|
${i},
|
||||||
|
${s}
|
||||||
|
`]:Object.assign({},gU(e))}}},wU=e=>{const{colorFillContent:t,colorFill:n}=e,r=t,o=n;return{color:r,colorGradientEnd:o,gradientFromColor:r,gradientToColor:o,titleHeight:e.controlHeight/2,blockRadius:e.borderRadiusSM,paragraphMarginTop:e.marginLG+e.marginXXS,paragraphLiHeight:e.controlHeight/2}},cl=En("Skeleton",e=>{const{componentCls:t,calc:n}=e,r=Rt(e,{skeletonAvatarCls:`${t}-avatar`,skeletonTitleCls:`${t}-title`,skeletonParagraphCls:`${t}-paragraph`,skeletonButtonCls:`${t}-button`,skeletonInputCls:`${t}-input`,skeletonImageCls:`${t}-image`,imageSizeBase:n(e.controlHeight).mul(1.5).equal(),borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.gradientFromColor} 25%, ${e.gradientToColor} 37%, ${e.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[xU(r)]},wU,{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),$U=e=>{const{prefixCls:t,className:n,rootClassName:r,active:o,shape:a="circle",size:i="default"}=e,{getPrefixCls:s}=v.exports.useContext(st),l=s("skeleton",t),[c,u,d]=cl(l),f=Er(e,["prefixCls","className"]),h=oe(l,`${l}-element`,{[`${l}-active`]:o},n,r,u,d);return c(C("div",{className:h,children:C(vv,{...Object.assign({prefixCls:`${l}-avatar`,shape:a,size:i},f)})}))},EU=$U,OU=e=>{const{prefixCls:t,className:n,rootClassName:r,active:o,block:a=!1,size:i="default"}=e,{getPrefixCls:s}=v.exports.useContext(st),l=s("skeleton",t),[c,u,d]=cl(l),f=Er(e,["prefixCls"]),h=oe(l,`${l}-element`,{[`${l}-active`]:o,[`${l}-block`]:a},n,r,u,d);return c(C("div",{className:h,children:C(vv,{...Object.assign({prefixCls:`${l}-button`,size:i},f)})}))},MU=OU,RU="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",PU=e=>{const{prefixCls:t,className:n,rootClassName:r,style:o,active:a}=e,{getPrefixCls:i}=v.exports.useContext(st),s=i("skeleton",t),[l,c,u]=cl(s),d=oe(s,`${s}-element`,{[`${s}-active`]:a},n,r,c,u);return l(C("div",{className:d,children:C("div",{className:oe(`${s}-image`,n),style:o,children:C("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${s}-image-svg`,children:C("path",{d:RU,className:`${s}-image-path`})})})}))},IU=PU,TU=e=>{const{prefixCls:t,className:n,rootClassName:r,active:o,block:a,size:i="default"}=e,{getPrefixCls:s}=v.exports.useContext(st),l=s("skeleton",t),[c,u,d]=cl(l),f=Er(e,["prefixCls"]),h=oe(l,`${l}-element`,{[`${l}-active`]:o,[`${l}-block`]:a},n,r,u,d);return c(C("div",{className:h,children:C(vv,{...Object.assign({prefixCls:`${l}-input`,size:i},f)})}))},NU=TU,AU=e=>{const{prefixCls:t,className:n,rootClassName:r,style:o,active:a,children:i}=e,{getPrefixCls:s}=v.exports.useContext(st),l=s("skeleton",t),[c,u,d]=cl(l),f=oe(l,`${l}-element`,{[`${l}-active`]:a},u,n,r,d),h=i!=null?i:C(EA,{});return c(C("div",{className:f,children:C("div",{className:oe(`${l}-image`,n),style:o,children:h})}))},_U=AU,DU=e=>{const t=s=>{const{width:l,rows:c=2}=e;if(Array.isArray(l))return l[s];if(c-1===s)return l},{prefixCls:n,className:r,style:o,rows:a}=e,i=Pe(Array(a)).map((s,l)=>C("li",{style:{width:t(l)}},l));return C("ul",{className:oe(n,r),style:o,children:i})},FU=DU,LU=e=>{let{prefixCls:t,className:n,width:r,style:o}=e;return C("h3",{className:oe(t,n),style:Object.assign({width:r},o)})},kU=LU;function sm(e){return e&&typeof e=="object"?e:{}}function BU(e,t){return e&&!t?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function zU(e,t){return!e&&t?{width:"38%"}:e&&t?{width:"50%"}:{}}function jU(e,t){const n={};return(!e||!t)&&(n.width="61%"),!e&&t?n.rows=3:n.rows=2,n}const ul=e=>{const{prefixCls:t,loading:n,className:r,rootClassName:o,style:a,children:i,avatar:s=!1,title:l=!0,paragraph:c=!0,active:u,round:d}=e,{getPrefixCls:f,direction:h,skeleton:m}=v.exports.useContext(st),p=f("skeleton",t),[y,g,b]=cl(p);if(n||!("loading"in e)){const S=!!s,x=!!l,$=!!c;let E;if(S){const I=Object.assign(Object.assign({prefixCls:`${p}-avatar`},BU(x,$)),sm(s));E=C("div",{className:`${p}-header`,children:C(vv,{...Object.assign({},I)})})}let w;if(x||$){let I;if(x){const P=Object.assign(Object.assign({prefixCls:`${p}-title`},zU(S,$)),sm(l));I=C(kU,{...Object.assign({},P)})}let T;if($){const P=Object.assign(Objec
Line truncated
|
||||||
|
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,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:s(e.controlHeight).mul(1.25).equal(),[`${t}-tab`]:{padding:a,textAlign:"center"},[`${t}-tab + ${t}-tab`]:{margin:i},[`${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:ne(s(e.lineWidth).mul(-1).equal())},borderLeft:{_skip_check_:!0,value:`${ne(e.lineWidth)} ${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:s(e.lineWidth).mul(-1).equal()},borderRight:{_skip_check_:!0,value:`${ne(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingRight:{_skip_check_:!0,value:e.paddingLG}}}}}},yG=e=>{const{componentCls:t,cardPaddingSM:n,cardPaddingLG:r,horizontalItemPaddingSM:o,horizontalItemPaddingLG:a}=e;return{[t]:{"&-small":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:o,fontSize:e.titleFontSizeSM}}},"&-large":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:a,fontSize:e.titleFontSizeLG}}}},[`${t}-card`]:{[`&${t}-small`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:n}},[`&${t}-bottom`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`0 0 ${ne(e.borderRadius)} ${ne(e.borderRadius)}`}},[`&${t}-top`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`${ne(e.borderRadius)} ${ne(e.borderRadius)} 0 0`}},[`&${t}-right`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${ne(e.borderRadius)} ${ne(e.borderRadius)} 0`}}},[`&${t}-left`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${ne(e.borderRadius)} 0 0 ${ne(e.borderRadius)}`}}}},[`&${t}-large`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:r}}}}}},bG=e=>{const{componentCls:t,itemActiveColor:n,itemHoverColor:r,iconCls:o,tabsHorizontalItemMargin:a,horizontalItemPadding:i,itemSelectedColor:s,itemColor:l}=e,c=`${t}-tab`;return{[c]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:i,fontSize:e.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:l,"&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:n}},Zp(e)),"&-btn":{outline:"none",transition:"all 0.3s",[`${c}-icon:not(:last-child)`]:{marginInlineEnd:e.marginSM}},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:e.calc(e.marginXXS).mul(-1).equal()},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},[`&${c}-active ${c}-btn`]:{color:s,textShadow:e.tabsActiveTextShadow},[`&${c}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${c}-disabled ${c}-btn, &${c}-disabled ${t}-remove`]:{"&:focus, &:active":{color:e.colorTextDisabled}},[`& ${c}-remove ${o}`]:{margin:0},[`${o}:not(:last-child)`]:{marginRight:{_skip_check_:!0,value:e.marginSM}}},[`${c} + ${c}`]:{margin:{_skip_check_:!0,value:a}}}},SG=e=>{const{componentCls:t,tabsHorizontalItemMarginRTL:n,iconCls:r,cardGutter:o,calc:a}=e;return{[`${t}-rtl`]:{direction:"rtl",[`${t}-nav`]:{[`${t}-tab`]:{margin:{_skip_check_:!0,value:n},[`${t}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[r]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:ne(e.marginSM)}},[`${t}-tab-remove`]:{marginRight:{_skip_check_:!0,value:ne(e.marginXS)},marginLeft:{_skip_check_:!0,value:ne(a(e.marginXXS).mul(-1).equal())},[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:o},marginLeft:{_sk
Line truncated
|
||||||
|
> ${n}-typography,
|
||||||
|
> ${n}-typography-edit-content
|
||||||
|
`]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),[`${t}-tabs-top`]:{clear:"both",marginBottom:a,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,"&-bar":{borderBottom:`${ne(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`}}})},TG=e=>{const{cardPaddingBase:t,colorBorderSecondary:n,cardShadow:r,lineWidth:o}=e;return{width:"33.33%",padding:t,border:0,borderRadius:0,boxShadow:`
|
||||||
|
${ne(o)} 0 0 0 ${n},
|
||||||
|
0 ${ne(o)} 0 0 ${n},
|
||||||
|
${ne(o)} ${ne(o)} 0 0 ${n},
|
||||||
|
${ne(o)} 0 0 0 ${n} inset,
|
||||||
|
0 ${ne(o)} 0 0 ${n} inset;
|
||||||
|
`,transition:`all ${e.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:r}}},NG=e=>{const{componentCls:t,iconCls:n,actionsLiMargin:r,cardActionsIconSize:o,colorBorderSecondary:a,actionsBg:i}=e;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:i,borderTop:`${ne(e.lineWidth)} ${e.lineType} ${a}`,display:"flex",borderRadius:`0 0 ${ne(e.borderRadiusLG)} ${ne(e.borderRadiusLG)}`},su()),{"& > li":{margin:r,color:e.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:e.calc(e.cardActionsIconSize).mul(2).equal(),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:ne(e.fontHeight),transition:`color ${e.motionDurationMid}`,"&:hover":{color:e.colorPrimary}},[`> ${n}`]:{fontSize:o,lineHeight:ne(e.calc(o).mul(e.lineHeight).equal())}},"&:not(:last-child)":{borderInlineEnd:`${ne(e.lineWidth)} ${e.lineType} ${a}`}}})},AG=e=>Object.assign(Object.assign({margin:`${ne(e.calc(e.marginXXS).mul(-1).equal())} 0`,display:"flex"},su()),{"&-avatar":{paddingInlineEnd:e.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:e.marginXS}},"&-title":Object.assign({color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG},Da),"&-description":{color:e.colorTextDescription}}),_G=e=>{const{componentCls:t,cardPaddingBase:n,colorFillAlter:r}=e;return{[`${t}-head`]:{padding:`0 ${ne(n)}`,background:r,"&-title":{fontSize:e.fontSize}},[`${t}-body`]:{padding:`${ne(e.padding)} ${ne(n)}`}}},DG=e=>{const{componentCls:t}=e;return{overflow:"hidden",[`${t}-body`]:{userSelect:"none"}}},FG=e=>{const{antCls:t,componentCls:n,cardShadow:r,cardHeadPadding:o,colorBorderSecondary:a,boxShadowTertiary:i,cardPaddingBase:s,extraColor:l}=e;return{[n]:Object.assign(Object.assign({},nn(e)),{position:"relative",background:e.colorBgContainer,borderRadius:e.borderRadiusLG,[`&:not(${n}-bordered)`]:{boxShadow:i},[`${n}-head`]:IG(e),[`${n}-extra`]:{marginInlineStart:"auto",color:l,fontWeight:"normal",fontSize:e.fontSize},[`${n}-body`]:Object.assign({padding:s,borderRadius:` 0 0 ${ne(e.borderRadiusLG)} ${ne(e.borderRadiusLG)}`},su()),[`${n}-grid`]:TG(e),[`${n}-cover`]:{"> *":{display:"block",width:"100%"},[`img, img + ${t}-image-mask`]:{borderRadius:`${ne(e.borderRadiusLG)} ${ne(e.borderRadiusLG)} 0 0`}},[`${n}-actions`]:NG(e),[`${n}-meta`]:AG(e)}),[`${n}-bordered`]:{border:`${ne(e.lineWidth)} ${e.lineType} ${a}`,[`${n}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${n}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${e.motionDurationMid}, border-color ${e.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:r}},[`${n}-contain-grid`]:{borderRadius:`${ne(e.borderRadiusLG)} ${ne(e.borderRadiusLG)} 0 0 `,[`${n}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${n}-loading) ${n}-body`]:{marginBlockStart:e.calc(e.lineWidth).mul(-1).equal(),marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),padding:0}},[`${n}-contain-tabs`]:{[`> ${n}-head`]:{minHeight:0,[`${n}-head-title, ${n}-extra`]:{paddingTop:o}}},[`${n}-type-inner`]:_G(e),[`${n}-loading`]:DG(e),[`${n}-rtl`]:{direction:"rtl"}}},LG=e=>{const{componentCls:t,cardPaddingSM:n,headerHeightSM:r,headerFontSizeSM:o}=e;return{[`${t}-small`]:{[`> ${t}-head`]:{minHeight:r,padding:`0 ${ne(n)}`,fontSize:o,[`> ${t}-head-wrapper`]:{[`> ${t}-extra`]:{fontSize:e.fontSize}}},[`> ${t}-body`]:{padding:n}},[`${t}-small${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{paddingTop:0,display:"flex",alignItems:"center"}}}}},kG=e=>({headerBg:"transparent",headerFontSize:e.fontSizeLG,headerFontSizeSM:e.fontSize,headerHeight:e.fontSizeLG*e.lineHeightLG+e.padding*2,headerHeightSM:e.fontSize*e.lineHeight+e.paddingXS*2,actionsBg:e.colorBgContainer,actionsLiMargin:`${e.paddingSM}px 0`,tabsMarginBottom:-e.padding-e.lineWidth,extraColor:e.colorText}),BG=En("Card",e=>{const t=Rt(e,{cardShadow:e.boxShadowCard,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardActionsIconSize:e.fontSize,cardPaddingSM:12});return[FG(t),LG(t)]},kG);var Tw=globalThis&&globalThis.__rest||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 o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const zG=e=>{const{actionClasses:t,actions:n=[],actionStyle:r}=e;return C("ul",{className:t,style:r,children:n.map((o,a)=>{const i=`action-${a}`;return C("li",{style:{width:`${100/n.length}%`},children:C("span",{children:o})},i)})})},jG=v.exports.forwardRef((e,t)=>{const{prefixCls:n,className:r,rootClassName:o,style:a,extra:i,headStyle:s={},bodyStyle:l={},title:c,loadin
Line truncated
|
||||||
|
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;
|
||||||
|
`,gY=["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"],lm={},Tr;function yY(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&lm[n])return lm[n];var r=window.getComputedStyle(e),o=r.getPropertyValue("box-sizing")||r.getPropertyValue("-moz-box-sizing")||r.getPropertyValue("-webkit-box-sizing"),a=parseFloat(r.getPropertyValue("padding-bottom"))+parseFloat(r.getPropertyValue("padding-top")),i=parseFloat(r.getPropertyValue("border-bottom-width"))+parseFloat(r.getPropertyValue("border-top-width")),s=gY.map(function(c){return"".concat(c,":").concat(r.getPropertyValue(c))}).join(";"),l={sizingStyle:s,paddingSize:a,borderSize:i,boxSizing:o};return t&&n&&(lm[n]=l),l}function bY(e){var 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;Tr||(Tr=document.createElement("textarea"),Tr.setAttribute("tab-index","-1"),Tr.setAttribute("aria-hidden","true"),document.body.appendChild(Tr)),e.getAttribute("wrap")?Tr.setAttribute("wrap",e.getAttribute("wrap")):Tr.removeAttribute("wrap");var o=yY(e,t),a=o.paddingSize,i=o.borderSize,s=o.boxSizing,l=o.sizingStyle;Tr.setAttribute("style","".concat(l,";").concat(mY)),Tr.value=e.value||e.placeholder||"";var c=void 0,u=void 0,d,f=Tr.scrollHeight;if(s==="border-box"?f+=i:s==="content-box"&&(f-=a),n!==null||r!==null){Tr.value=" ";var h=Tr.scrollHeight-a;n!==null&&(c=h*n,s==="border-box"&&(c=c+a+i),f=Math.max(c,f)),r!==null&&(u=h*r,s==="border-box"&&(u=u+a+i),d=f>u?"":"hidden",f=Math.min(u,f))}var m={height:f,overflowY:d,resize:"none"};return c&&(m.minHeight=c),u&&(m.maxHeight=u),m}var SY=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],cm=0,um=1,dm=2,CY=v.exports.forwardRef(function(e,t){var n=e,r=n.prefixCls;n.onPressEnter;var o=n.defaultValue,a=n.value,i=n.autoSize,s=n.onResize,l=n.className,c=n.style,u=n.disabled,d=n.onChange;n.onInternalAutoSize;var f=nt(n,SY),h=Wt(o,{value:a,postState:function(W){return W!=null?W:""}}),m=Z(h,2),p=m[0],y=m[1],g=function(W){y(W.target.value),d==null||d(W)},b=v.exports.useRef();v.exports.useImperativeHandle(t,function(){return{textArea:b.current}});var S=v.exports.useMemo(function(){return i&&et(i)==="object"?[i.minRows,i.maxRows]:[]},[i]),x=Z(S,2),$=x[0],E=x[1],w=!!i,R=function(){try{if(document.activeElement===b.current){var W=b.current,G=W.selectionStart,K=W.selectionEnd,j=W.scrollTop;b.current.setSelectionRange(G,K),b.current.scrollTop=j}}catch{}},I=v.exports.useState(dm),T=Z(I,2),P=T[0],L=T[1],z=v.exports.useState(),N=Z(z,2),k=N[0],F=N[1],M=function(){L(cm)};Lt(function(){w&&M()},[a,$,E,w]),Lt(function(){if(P===cm)L(um);else if(P===um){var B=bY(b.current,!1,$,E);L(dm),F(B)}else R()},[P]);var O=v.exports.useRef(),_=function(){Et.cancel(O.current)},A=function(W){P===dm&&(s==null||s(W),i&&(_(),O.current=Et(function(){M()})))};v.exports.useEffect(function(){return _},[]);var H=w?k:null,D=Q(Q({},c),H);return(P===cm||P===um)&&(D.overflowY="hidden",D.overflowX="hidden"),C(kr,{onResize:A,disabled:!(i||s),children:C("textarea",{...f,ref:b,style:D,className:oe(r,l,U({},"".concat(r,"-disabled"),u)),disabled:u,value:p,onChange:g})})}),xY=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize"],wY=Re.forwardRef(function(e,t){var n,r,o=e.defaultValue,a=e.value,i=e.onFocus,s=e.onBlur,l=e.onChange,c=e.allowClear,u=e.maxLength,d=e.onCompositionStart,f=e.onCompositionEnd,h=e.suffix,m=e.prefixCls,p=m===void 0?"rc-textarea":m,y=e.showCount,g=e.count,b=e.className,S=e.style,x=e.disabled,$=e.hidden,E=e.classNames,w=e.styles,R=e.onResize,I=nt(e,xY),T=Wt(o,{value:a,defaultValue:o}),P=Z(T,2),L=P[0],z=P[1],N=L==null?"":String(L),k=Re.useState(!1),F=Z(k,2),M=F[0],O=F[1],_=Re.useRef(!1),A=Re.useState(null),H=Z(A,2),D=H[0],B=H[1],W=v.exports.useRef(null),G=function(){var me;return(me=W.current)===null||me===void 0?void 0:me.textArea},K=function(){G().focus()};v.exports.useImperativeHandle(t,function(){return{resizableTextArea:W.current,focus:K,blur:function(){G().blur()}}}),v.exports.useEffect(function(){O(function($e){return!x&&$e})},[x]);var j=Re.useState(null),V=Z(j,2),X=V[0],Y=V[1];Re.useEffect(function(){if(X){var $e;($e=G()).setSelectionRange.apply($e,Pe(X))}},[X]);var q=k3(g,y),ee=(n=q.max)!==null&&n!==void 0?n:u,ae=Number(ee)>0,J=q.strategy(N),re=!!ee&&J>ee,ue=function(me,Ae){var Ce=Ae;!_.current&&q.exceedFormatter&&q.max&&q.strategy(Ae)>q.max&&(Ce=q.exceedFormatter(Ae,{
Line truncated
|
||||||
|
\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`,Tte=on,Nte=bu,Ate=Fi,sy=jP,U2=Tte("".replace),_te=RegExp("^["+sy+"]+"),Dte=RegExp("(^|[^"+sy+"])["+sy+"]+$"),km=function(e){return function(t){var n=Ate(Nte(t));return e&1&&(n=U2(n,_te,"")),e&2&&(n=U2(n,Dte,"$1")),n}},Fte={start:km(1),end:km(2),trim:km(3)},HP=Zn,Lte=rn,kte=on,Bte=Fi,zte=Fte.trim,jte=jP,Hte=kte("".charAt),Jf=HP.parseFloat,G2=HP.Symbol,Y2=G2&&G2.iterator,Vte=1/Jf(jte+"-0")!==-1/0||Y2&&!Lte(function(){Jf(Object(Y2))}),Wte=Vte?function(t){var n=zte(Bte(t)),r=Jf(n);return r===0&&Hte(n,0)==="-"?-0:r}:Jf,Ute=gn,K2=Wte;Ute({global:!0,forced:parseFloat!==K2},{parseFloat:K2});var Gte=dr,Yte=Gte.parseFloat,Kte=Yte,qte=Kte;const Xte=qte;var Qte=function(){var e;return!!(typeof window<"u"&&window!==null&&(e="(-webkit-min-device-pixel-ratio: 1.25), (min--moz-device-pixel-ratio: 1.25), (-o-min-device-pixel-ratio: 5/4), (min-resolution: 1.25dppx)",window.devicePixelRatio>1.25||window.matchMedia&&window.matchMedia(e).matches))},Zte=Qte(),VP=["#A62A21","#7e3794","#0B51C1","#3A6024","#A81563","#B3003C"],Jte=/^([-+]?(?:\d+(?:\.\d+)?|\.\d+))([a-z]{2,4}|%)?$/;function ene(e,t){for(var n,r=BP(n=Pe(e)).call(n,function(c){return c.charCodeAt(0)}),o=r.length,a=o%(t-1)+1,i=zP(r).call(r,function(c,u){return c+u})%t,s=r[0]%t,l=0;l<o;l++)s=(a*s+i)%t;return s}function jb(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:VP;if(!e)return"transparent";var n=ene(e,t.length);return t[n]}function Dv(e){e=""+e;var t=Jte.exec(e)||[],n=Z(t,3),r=n[1],o=r===void 0?0:r,a=n[2],i=a===void 0?"px":a;return{value:Xte(o),str:o+i,unit:i}}function Fv(e){return e=Dv(e),isNaN(e.value)?e=512:e.unit==="px"?e=e.value:e.value===0?e=0:e=512,Zte&&(e=e*2),e}function WP(e,t){var n,r,o,a=t.maxInitials;return PP(n=Av(r=BP(o=e.split(/\s/)).call(o,function(i){return i.substring(0,1).toUpperCase()})).call(r,function(i){return!!i})).call(n,0,a).join("").toUpperCase()}var Cd={};function tne(e,t){if(Cd[t]){Cd[t].push(e);return}var n=Cd[t]=[e];setTimeout(function(){delete Cd[t],n.forEach(function(r){return r()})},t)}function ly(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];for(var r=0,o=t;r<o.length;r++){var a=o[r];if(a||a==="")return a;if(a===!1||a===null)return null}}function Hb(e){if(e===!0)return"100%";if(e!==!1)return e}function nne(e){var t=rne();return function(){var r=$n(e),o;if(t){var a=$n(this).constructor;o=un(r,arguments,a)}else o=r.apply(this,arguments);return Va(this,o)}}function rne(){if(typeof Reflect>"u"||!un||un.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(un(Boolean,[],function(){})),!0}catch{return!1}}var cy={cache:eee,colors:VP,initials:WP,avatarRedirectUrl:null},one=zb(cy),Vb=Re.createContext&&Re.createContext(),Lv=!Vb,ane=Lv?null:Vb.Consumer,ine=Re.forwardRef||function(e){return e},ka=function(e){Wr(n,e);var t=nne(n);function n(){return Pt(this,n),t.apply(this,arguments)}return It(n,[{key:"_getContext",value:function(){var o=this,a={};return one.forEach(function(i){typeof o.props[i]<"u"&&(a[i]=o.props[i])}),a}},{key:"render",value:function(){var o=this.props.children;return Lv?Re.Children.only(o):C(Vb.Provider,{value:this._getContext(),children:Re.Children.only(o)})}}]),n}(Re.Component);U(ka,"displayName","ConfigProvider");U(ka,"propTypes",{cache:Me.exports.object,colors:Me.exports.arrayOf(Me.exports.string),initials:Me.exports.func,avatarRedirectUrl:Me.exports.string,children:Me.exports.node});var UP=function(t){function n(r,o){if(Lv){var a=o&&o.reactAvatar;return C(t,{...cy,...a,...r})}return C(ane,{children:function(i){return C(t,{ref:o,...cy,...i,...r})}})}return n.contextTypes=ka.childContextTypes,ine(n)};Lv&&(ka.childContextTypes={reactAvatar:Me.exports.object},ka.prototype.getChildContext=function(){return{reactAvatar:this._getContext()}});var kv={},sne=mP,lne=Tb,cne=lne.concat("length","prototype");kv.f=Object.getOwnPropertyNames||function(t){return sne(t,cne)};var GP={},une=Ua,dne=Zo,YP=kv.f,fne=Iv,KP=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],pne=function(e){try{return YP(e)}catch{return fne(KP)}};GP.f=function(t){return KP&&une(t)==="Window"?pne(t):YP(dne(t))};var vne=Mv,qP=function(e,t,n,r){return r&&r.enumerable?e[t]=n:vne(e,t,n),e},hne=Jo,mne=function(e,t,n){return hne.f(e,t,n)},Wb={},gne=go;Wb.f=gne;var q2=dr,yne=mo,bne=Wb,Sne=Jo.f,Cne=function(e){var t=q2.Symbol||(q2.Symbol={});yne(t,e)||Sne(t,e,{value:bne.f(e)})},xne=Ga,wne=Ya,$ne=go,Ene=qP,One=function(){var e=wne("Symbol"),t=e&&e.prototype,n=t&&t.valueOf,r=$ne("toPrimitive");t&&!t[r]&&Ene(t,r,function(o){return xne(n,this)},{arity:1})},Mne=Nb,Rne=Ab,Pne=Mne?{}.toString:function(){return"[object "+Rne(this)+"]"},Ine=Nb,Tne=Jo.f,Nne=Mv,Ane=mo,_ne=Pne,Dne=go,X2=Dne("toStringTag"),Fne=function(e,t,n,r){var o=n?e:e&&e.prototype;o&&(Ane(o,X2)||Tne(o,X2,{configurable:!0,value:t}),r&&!Ine&&Nne(o,"toString",_ne))},
Line truncated
|
||||||
|
* Determine if an object is a Buffer
|
||||||
|
*
|
||||||
|
* @author Feross Aboukhadijeh <https://feross.org>
|
||||||
|
* @license MIT
|
||||||
|
*/var rae=function(e){return e!=null&&(MI(e)||oae(e)||!!e._isBuffer)};function MI(e){return!!e.constructor&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function oae(e){return typeof e.readFloatLE=="function"&&typeof e.slice=="function"&&MI(e.slice(0,0))}(function(){var e=OI.exports,t=l$.utf8,n=rae,r=l$.bin,o=function(a,i){a.constructor==String?i&&i.encoding==="binary"?a=r.stringToBytes(a):a=t.stringToBytes(a):n(a)?a=Array.prototype.slice.call(a,0):!Array.isArray(a)&&a.constructor!==Uint8Array&&(a=a.toString());for(var s=e.bytesToWords(a),l=a.length*8,c=1732584193,u=-271733879,d=-1732584194,f=271733878,h=0;h<s.length;h++)s[h]=(s[h]<<8|s[h]>>>24)&16711935|(s[h]<<24|s[h]>>>8)&4278255360;s[l>>>5]|=128<<l%32,s[(l+64>>>9<<4)+14]=l;for(var m=o._ff,p=o._gg,y=o._hh,g=o._ii,h=0;h<s.length;h+=16){var b=c,S=u,x=d,$=f;c=m(c,u,d,f,s[h+0],7,-680876936),f=m(f,c,u,d,s[h+1],12,-389564586),d=m(d,f,c,u,s[h+2],17,606105819),u=m(u,d,f,c,s[h+3],22,-1044525330),c=m(c,u,d,f,s[h+4],7,-176418897),f=m(f,c,u,d,s[h+5],12,1200080426),d=m(d,f,c,u,s[h+6],17,-1473231341),u=m(u,d,f,c,s[h+7],22,-45705983),c=m(c,u,d,f,s[h+8],7,1770035416),f=m(f,c,u,d,s[h+9],12,-1958414417),d=m(d,f,c,u,s[h+10],17,-42063),u=m(u,d,f,c,s[h+11],22,-1990404162),c=m(c,u,d,f,s[h+12],7,1804603682),f=m(f,c,u,d,s[h+13],12,-40341101),d=m(d,f,c,u,s[h+14],17,-1502002290),u=m(u,d,f,c,s[h+15],22,1236535329),c=p(c,u,d,f,s[h+1],5,-165796510),f=p(f,c,u,d,s[h+6],9,-1069501632),d=p(d,f,c,u,s[h+11],14,643717713),u=p(u,d,f,c,s[h+0],20,-373897302),c=p(c,u,d,f,s[h+5],5,-701558691),f=p(f,c,u,d,s[h+10],9,38016083),d=p(d,f,c,u,s[h+15],14,-660478335),u=p(u,d,f,c,s[h+4],20,-405537848),c=p(c,u,d,f,s[h+9],5,568446438),f=p(f,c,u,d,s[h+14],9,-1019803690),d=p(d,f,c,u,s[h+3],14,-187363961),u=p(u,d,f,c,s[h+8],20,1163531501),c=p(c,u,d,f,s[h+13],5,-1444681467),f=p(f,c,u,d,s[h+2],9,-51403784),d=p(d,f,c,u,s[h+7],14,1735328473),u=p(u,d,f,c,s[h+12],20,-1926607734),c=y(c,u,d,f,s[h+5],4,-378558),f=y(f,c,u,d,s[h+8],11,-2022574463),d=y(d,f,c,u,s[h+11],16,1839030562),u=y(u,d,f,c,s[h+14],23,-35309556),c=y(c,u,d,f,s[h+1],4,-1530992060),f=y(f,c,u,d,s[h+4],11,1272893353),d=y(d,f,c,u,s[h+7],16,-155497632),u=y(u,d,f,c,s[h+10],23,-1094730640),c=y(c,u,d,f,s[h+13],4,681279174),f=y(f,c,u,d,s[h+0],11,-358537222),d=y(d,f,c,u,s[h+3],16,-722521979),u=y(u,d,f,c,s[h+6],23,76029189),c=y(c,u,d,f,s[h+9],4,-640364487),f=y(f,c,u,d,s[h+12],11,-421815835),d=y(d,f,c,u,s[h+15],16,530742520),u=y(u,d,f,c,s[h+2],23,-995338651),c=g(c,u,d,f,s[h+0],6,-198630844),f=g(f,c,u,d,s[h+7],10,1126891415),d=g(d,f,c,u,s[h+14],15,-1416354905),u=g(u,d,f,c,s[h+5],21,-57434055),c=g(c,u,d,f,s[h+12],6,1700485571),f=g(f,c,u,d,s[h+3],10,-1894986606),d=g(d,f,c,u,s[h+10],15,-1051523),u=g(u,d,f,c,s[h+1],21,-2054922799),c=g(c,u,d,f,s[h+8],6,1873313359),f=g(f,c,u,d,s[h+15],10,-30611744),d=g(d,f,c,u,s[h+6],15,-1560198380),u=g(u,d,f,c,s[h+13],21,1309151649),c=g(c,u,d,f,s[h+4],6,-145523070),f=g(f,c,u,d,s[h+11],10,-1120210379),d=g(d,f,c,u,s[h+2],15,718787259),u=g(u,d,f,c,s[h+9],21,-343485551),c=c+b>>>0,u=u+S>>>0,d=d+x>>>0,f=f+$>>>0}return e.endian([c,u,d,f])};o._ff=function(a,i,s,l,c,u,d){var f=a+(i&s|~i&l)+(c>>>0)+d;return(f<<u|f>>>32-u)+i},o._gg=function(a,i,s,l,c,u,d){var f=a+(i&l|s&~l)+(c>>>0)+d;return(f<<u|f>>>32-u)+i},o._hh=function(a,i,s,l,c,u,d){var f=a+(i^s^l)+(c>>>0)+d;return(f<<u|f>>>32-u)+i},o._ii=function(a,i,s,l,c,u,d){var f=a+(s^(i|~l))+(c>>>0)+d;return(f<<u|f>>>32-u)+i},o._blocksize=16,o._digestsize=16,EI.exports=function(a,i){if(a==null)throw new Error("Illegal argument "+a);var s=e.wordsToBytes(o(a,i));return i&&i.asBytes?s:i&&i.asString?r.bytesToString(s):e.bytesToHex(s)}})();var RI=It(function e(t){var n=this;Pt(this,e),U(this,"props",null),U(this,"isCompatible",function(){return!!n.props.email||!!n.props.md5Email}),U(this,"get",function(r){var o=n.props,a=o.md5Email||EI.exports(o.email),i=Fv(o.size),s="https://secure.gravatar.com/avatar/".concat(a,"?d=404");i&&(s+="&s=".concat(i)),r({sourceName:"gravatar",src:s})}),this.props=t});U(RI,"propTypes",{email:Me.exports.string,md5Email:Me.exports.string});var PI=It(function e(t){var n=this;Pt(this,e),U(this,"props",null),U(this,"isCompatible",function(){return!!n.props.facebookId}),U(this,"get",function(r){var o,a=n.props.facebookId,i=Fv(n.props.size),s="https://graph.facebook.com/".concat(a,"/picture");i&&(s+=fc(o="?width=".concat(i,"&height=")).call(o,i)),r({sourceName:"facebook",src:s})}),this.props=t});U(PI,"propTypes",{facebookId:Me.exports.string});var II=It(function e(t){var n=this;Pt(this,e),U(this,"props",null),U(this,"isCompatible",function(){return!!n.props.githubHandle}),U(this,"get",function(r){var o=n.props.githubHandle,a=Fv(n.props.size),i="https://avatars.githubusercontent.com/".concat(o,"?v=4");a&&(i+="&s=".concat(a)),r({sourceName:"github",src:i})}),this.props=t});U(II,"propTypes",{githubHandle:Me.exports.string});var TI=It(function e(t){var n=this;Pt(this,e),U(this,"props",null),U(this,"isCompatible",function(){return!!n.props.skypeId}),U(this,"get",funct
Line truncated
|
||||||
|
object-assign
|
||||||
|
(c) Sindre Sorhus
|
||||||
|
@license MIT
|
||||||
|
*/var a=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable;function l(u){if(u==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(u)}function c(){try{if(!Object.assign)return!1;var u=new String("abc");if(u[5]="de",Object.getOwnPropertyNames(u)[0]==="5")return!1;for(var d={},f=0;f<10;f++)d["_"+String.fromCharCode(f)]=f;var h=Object.getOwnPropertyNames(d).map(function(p){return d[p]});if(h.join("")!=="0123456789")return!1;var m={};return"abcdefghijklmnopqrst".split("").forEach(function(p){m[p]=p}),Object.keys(Object.assign({},m)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}n.exports=c()?Object.assign:function(u,d){for(var f,h=l(u),m,p=1;p<arguments.length;p++){f=Object(arguments[p]);for(var y in f)i.call(f,y)&&(h[y]=f[y]);if(a){m=a(f);for(var g=0;g<m.length;g++)s.call(f,m[g])&&(h[m[g]]=f[m[g]])}}return h}},function(n,r,o){var a=o(1),i=a;n.exports=i},function(n,r,o){var a="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";n.exports=a},function(n,r,o){var a={};n.exports=a},function(n,r,o){function a(i,s,l,c,u){}n.exports=a},function(n,r,o){Object.defineProperty(r,"__esModule",{value:!0});var a=Object.assign||function(x){for(var $=1;$<arguments.length;$++){var E=arguments[$];for(var w in E)Object.prototype.hasOwnProperty.call(E,w)&&(x[w]=E[w])}return x},i=function(){function x($,E){for(var w=0;w<E.length;w++){var R=E[w];R.enumerable=R.enumerable||!1,R.configurable=!0,"value"in R&&(R.writable=!0),Object.defineProperty($,R.key,R)}}return function($,E,w){return E&&x($.prototype,E),w&&x($,w),$}}(),s=o(8),l=m(s),c=o(11),u=m(c),d=o(14),f=h(d);function h(x){if(x&&x.__esModule)return x;var $={};if(x!=null)for(var E in x)Object.prototype.hasOwnProperty.call(x,E)&&($[E]=x[E]);return $.default=x,$}function m(x){return x&&x.__esModule?x:{default:x}}function p(x,$){var E={};for(var w in x)$.indexOf(w)>=0||!Object.prototype.hasOwnProperty.call(x,w)||(E[w]=x[w]);return E}function y(x,$){if(!(x instanceof $))throw new TypeError("Cannot call a class as a function")}function g(x,$){if(!x)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return $&&(typeof $=="object"||typeof $=="function")?$:x}function b(x,$){if(typeof $!="function"&&$!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof $);x.prototype=Object.create($&&$.prototype,{constructor:{value:x,enumerable:!1,writable:!0,configurable:!0}}),$&&(Object.setPrototypeOf?Object.setPrototypeOf(x,$):x.__proto__=$)}var S=function(x){b($,x);function $(){var E,w,R,I;y(this,$);for(var T=arguments.length,P=Array(T),L=0;L<T;L++)P[L]=arguments[L];return I=(w=(R=g(this,(E=$.__proto__||Object.getPrototypeOf($)).call.apply(E,[this].concat(P))),R),R.state={delayed:R.props.delay>0},w),g(R,I)}return i($,[{key:"componentDidMount",value:function(){var w=this,R=this.props.delay,I=this.state.delayed;I&&(this.timeout=setTimeout(function(){w.setState({delayed:!1})},R))}},{key:"componentWillUnmount",value:function(){var w=this.timeout;w&&clearTimeout(w)}},{key:"render",value:function(){var w=this.props,R=w.color;w.delay;var I=w.type,T=w.height,P=w.width,L=p(w,["color","delay","type","height","width"]),z=this.state.delayed?"blank":I,N=f[z],k={fill:R,height:T,width:P};return l.default.createElement("div",a({style:k,dangerouslySetInnerHTML:{__html:N}},L))}}]),$}(s.Component);S.propTypes={color:u.default.string,delay:u.default.number,type:u.default.string,height:u.default.oneOfType([u.default.string,u.default.number]),width:u.default.oneOfType([u.default.string,u.default.number])},S.defaultProps={color:"#fff",delay:0,type:"balls",height:64,width:64},r.default=S},function(n,r,o){n.exports=o(9)},function(n,r,o){/** @license React v16.3.2
|
||||||
|
* react.production.min.js
|
||||||
|
*
|
||||||
|
* Copyright (c) 2013-present, Facebook, Inc.
|
||||||
|
*
|
||||||
|
* This source code is licensed under the MIT license found in the
|
||||||
|
* LICENSE file in the root directory of this source tree.
|
||||||
|
*/var a=o(2),i=o(0),s=o(5),l=o(1),c=typeof Symbol=="function"&&Symbol.for,u=c?Symbol.for("react.element"):60103,d=c?Symbol.for("react.portal"):60106,f=c?Symbol.for("react.fragment"):60107,h=c?Symbol.for("react.strict_mode"):60108,m=c?Symbol.for("react.provider"):60109,p=c?Symbol.for("react.context"):60110,y=c?Symbol.for("react.async_mode"):60111,g=c?Symbol.for("react.forward_ref"):60112,b=typeof Symbol=="function"&&Symbol.iterator;function S(j){for(var V=arguments.length-1,X="http://reactjs.org/docs/error-decoder.html?invariant="+j,Y=0;Y<V;Y++)X+="&args[]="+encodeURIComponent(arguments[Y+1]);i(!1,"Minified React error #"+j+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",X)}var x={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}};function $(j,V,X){this.props=j,this.context=V,this.refs=s,this.updater=X||x}$.prototype.isReactComponent={},$.prototype.setState=function(j,V){typeof j!="object"&&typeof j!="function"&&j!=null&&S("85"),this.updater.enqueueSetState(this,j,V,"setState")},$.prototype.forceUpdate=function(j){this.updater.enqueueForceUpdate(this,j,"forceUpdate")};function E(){}E.prototype=$.prototype;function w(j,V,X){this.props=j,this.context=V,this.refs=s,this.updater=X||x}var R=w.prototype=new E;R.constructor=w,a(R,$.prototype),R.isPureReactComponent=!0;var I={current:null},T=Object.prototype.hasOwnProperty,P={key:!0,ref:!0,__self:!0,__source:!0};function L(j,V,X){var Y=void 0,q={},ee=null,ae=null;if(V!=null)for(Y in V.ref!==void 0&&(ae=V.ref),V.key!==void 0&&(ee=""+V.key),V)T.call(V,Y)&&!P.hasOwnProperty(Y)&&(q[Y]=V[Y]);var J=arguments.length-2;if(J===1)q.children=X;else if(1<J){for(var re=Array(J),ue=0;ue<J;ue++)re[ue]=arguments[ue+2];q.children=re}if(j&&j.defaultProps)for(Y in J=j.defaultProps,J)q[Y]===void 0&&(q[Y]=J[Y]);return{$$typeof:u,type:j,key:ee,ref:ae,props:q,_owner:I.current}}function z(j){return typeof j=="object"&&j!==null&&j.$$typeof===u}function N(j){var V={"=":"=0",":":"=2"};return"$"+(""+j).replace(/[=:]/g,function(X){return V[X]})}var k=/\/+/g,F=[];function M(j,V,X,Y){if(F.length){var q=F.pop();return q.result=j,q.keyPrefix=V,q.func=X,q.context=Y,q.count=0,q}return{result:j,keyPrefix:V,func:X,context:Y,count:0}}function O(j){j.result=null,j.keyPrefix=null,j.func=null,j.context=null,j.count=0,10>F.length&&F.push(j)}function _(j,V,X,Y){var q=typeof j;(q==="undefined"||q==="boolean")&&(j=null);var ee=!1;if(j===null)ee=!0;else switch(q){case"string":case"number":ee=!0;break;case"object":switch(j.$$typeof){case u:case d:ee=!0}}if(ee)return X(Y,j,V===""?"."+A(j,0):V),1;if(ee=0,V=V===""?".":V+":",Array.isArray(j))for(var ae=0;ae<j.length;ae++){q=j[ae];var J=V+A(q,ae);ee+=_(q,J,X,Y)}else if(j===null||typeof j>"u"?J=null:(J=b&&j[b]||j["@@iterator"],J=typeof J=="function"?J:null),typeof J=="function")for(j=J.call(j),ae=0;!(q=j.next()).done;)q=q.value,J=V+A(q,ae++),ee+=_(q,J,X,Y);else q==="object"&&(X=""+j,S("31",X==="[object Object]"?"object with keys {"+Object.keys(j).join(", ")+"}":X,""));return ee}function A(j,V){return typeof j=="object"&&j!==null&&j.key!=null?N(j.key):V.toString(36)}function H(j,V){j.func.call(j.context,V,j.count++)}function D(j,V,X){var Y=j.result,q=j.keyPrefix;j=j.func.call(j.context,V,j.count++),Array.isArray(j)?B(j,Y,X,l.thatReturnsArgument):j!=null&&(z(j)&&(V=q+(!j.key||V&&V.key===j.key?"":(""+j.key).replace(k,"$&/")+"/")+X,j={$$typeof:u,type:j.type,key:V,ref:j.ref,props:j.props,_owner:j._owner}),Y.push(j))}function B(j,V,X,Y,q){var ee="";X!=null&&(ee=(""+X).replace(k,"$&/")+"/"),V=M(V,ee,Y,q),j==null||_(j,"",D,V),O(V)}var W={Children:{map:function(j,V,X){if(j==null)return j;var Y=[];return B(j,Y,null,V,X),Y},forEach:function(j,V,X){if(j==null)return j;V=M(null,null,V,X),j==null||_(j,"",H,V),O(V)},count:function(j){return j==null?0:_(j,"",l.thatReturnsNull,null)},toArray:function(j){var V=[];return B(j,V,null,l.thatReturnsArgument),V},only:function(j){return z(j)||S("143"),j}},createRef:function(){return{current:null}},Component:$,PureComponent:w,createContext:function(j,V){return V===void 0&&(V=null),j={$$typeof:p,_calculateChangedBits:V,_defaultValue:j,_currentValue:j,_changedBits:0,Provider:null,Consumer:null},j.Provider={$$typeof:m,_context:j},j.Consumer=j},forwardRef:function(j){return{$$typeof:g,render:j}},Fragment:f,StrictMode:h,unstable_AsyncMode:y,createElement:L,cloneElement:function(j,V,X){j==null&&S("267",j);var Y=void 0,q=a({},j.props),ee=j.key,ae=j.ref,J=j._owner;if(V!=null){V.ref!==void 0&&(ae=V.ref,J=I.current),V.key!==void 0&&(ee=""+V.key);var re=void 0;j.type&&j.type.defaultProps&&(re=j.type.defaultProps);for(Y in V)T.call(V,Y)&&!P.hasOwnProperty(Y)&&(q[Y]=V[Y]===void 0&&re!==void 0?re[Y]:V[Y])}if(Y=arguments.length-2,Y===1)q.children=X;else if(1<Y){re=Array(Y);for(var ue=0;ue<Y;ue++)re[ue]=arguments[ue+2];q.children=re}return{$$typeof:u,type:j.type,key:ee,ref:ae,props:q,_owner:J}},createFactory:Line truncated
|
||||||
|
Valid keys: `+JSON.stringify(Object.keys(D),null," "));var J=ae(X,ee,K,j,V+"."+ee,c);if(J)return J}return null}return x(B)}function F(D){switch(typeof D){case"number":case"string":case"undefined":return!0;case"boolean":return!D;case"object":if(Array.isArray(D))return D.every(F);if(D===null||d(D))return!0;var B=p(D);if(B){var W=B.call(D),G;if(B!==D.entries){for(;!(G=W.next()).done;)if(!F(G.value))return!1}else for(;!(G=W.next()).done;){var K=G.value;if(K&&!F(K[1]))return!1}}else return!1;return!0;default:return!1}}function M(D,B){return D==="symbol"||B["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&B instanceof Symbol}function O(D){var B=typeof D;return Array.isArray(D)?"array":D instanceof RegExp?"object":M(B,D)?"symbol":B}function _(D){if(typeof D>"u"||D===null)return""+D;var B=O(D);if(B==="object"){if(D instanceof Date)return"date";if(D instanceof RegExp)return"regexp"}return B}function A(D){var B=_(D);switch(B){case"array":case"object":return"an "+B;case"boolean":case"date":case"regexp":return"a "+B;default:return B}}function H(D){return!D.constructor||!D.constructor.name?y:D.constructor.name}return g.checkPropTypes=u,g.PropTypes=g,g}},function(n,r,o){var a=o(1),i=o(0),s=o(4);n.exports=function(){function l(d,f,h,m,p,y){y!==s&&i(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}l.isRequired=l;function c(){return l}var u={array:l,bool:l,func:l,number:l,object:l,string:l,symbol:l,any:l,arrayOf:c,element:l,instanceOf:c,node:l,objectOf:c,oneOf:c,oneOfType:c,shape:c,exact:c};return u.checkPropTypes=a,u.PropTypes=u,u}},function(n,r,o){Object.defineProperty(r,"__esModule",{value:!0});var a=o(15);Object.defineProperty(r,"blank",{enumerable:!0,get:function(){return m(a).default}});var i=o(16);Object.defineProperty(r,"balls",{enumerable:!0,get:function(){return m(i).default}});var s=o(17);Object.defineProperty(r,"bars",{enumerable:!0,get:function(){return m(s).default}});var l=o(18);Object.defineProperty(r,"bubbles",{enumerable:!0,get:function(){return m(l).default}});var c=o(19);Object.defineProperty(r,"cubes",{enumerable:!0,get:function(){return m(c).default}});var u=o(20);Object.defineProperty(r,"cylon",{enumerable:!0,get:function(){return m(u).default}});var d=o(21);Object.defineProperty(r,"spin",{enumerable:!0,get:function(){return m(d).default}});var f=o(22);Object.defineProperty(r,"spinningBubbles",{enumerable:!0,get:function(){return m(f).default}});var h=o(23);Object.defineProperty(r,"spokes",{enumerable:!0,get:function(){return m(h).default}});function m(p){return p&&p.__esModule?p:{default:p}}},function(n,r){n.exports=`<svg class="icon-blank" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"></svg>
|
||||||
|
`},function(n,r){n.exports=`<svg class="icon-loading" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
||||||
|
<path transform="translate(-8 0)" d="M4 12 A4 4 0 0 0 4 20 A4 4 0 0 0 4 12">
|
||||||
|
<animateTransform attributeName="transform" type="translate" values="-8 0; 2 0; 2 0;" dur="0.8s" repeatCount="indefinite" begin="0" keytimes="0;.25;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline" />
|
||||||
|
</path>
|
||||||
|
<path transform="translate(2 0)" d="M4 12 A4 4 0 0 0 4 20 A4 4 0 0 0 4 12">
|
||||||
|
<animateTransform attributeName="transform" type="translate" values="2 0; 12 0; 12 0;" dur="0.8s" repeatCount="indefinite" begin="0" keytimes="0;.35;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline" />
|
||||||
|
</path>
|
||||||
|
<path transform="translate(12 0)" d="M4 12 A4 4 0 0 0 4 20 A4 4 0 0 0 4 12">
|
||||||
|
<animateTransform attributeName="transform" type="translate" values="12 0; 22 0; 22 0;" dur="0.8s" repeatCount="indefinite" begin="0" keytimes="0;.45;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline" />
|
||||||
|
</path>
|
||||||
|
<path transform="translate(24 0)" d="M4 12 A4 4 0 0 0 4 20 A4 4 0 0 0 4 12">
|
||||||
|
<animateTransform attributeName="transform" type="translate" values="22 0; 32 0; 32 0;" dur="0.8s" repeatCount="indefinite" begin="0" keytimes="0;.55;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline" />
|
||||||
|
</path>
|
||||||
|
</svg>
|
||||||
|
`},function(n,r){n.exports=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
||||||
|
<path transform="translate(2)" d="M0 12 V20 H4 V12z">
|
||||||
|
<animate attributeName="d" values="M0 12 V20 H4 V12z; M0 4 V28 H4 V4z; M0 12 V20 H4 V12z; M0 12 V20 H4 V12z" dur="1.2s" repeatCount="indefinite" begin="0" keytimes="0;.2;.5;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8;0.2 0.8 0.4 0.8" calcMode="spline" />
|
||||||
|
</path>
|
||||||
|
<path transform="translate(8)" d="M0 12 V20 H4 V12z">
|
||||||
|
<animate attributeName="d" values="M0 12 V20 H4 V12z; M0 4 V28 H4 V4z; M0 12 V20 H4 V12z; M0 12 V20 H4 V12z" dur="1.2s" repeatCount="indefinite" begin="0.2" keytimes="0;.2;.5;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8;0.2 0.8 0.4 0.8" calcMode="spline" />
|
||||||
|
</path>
|
||||||
|
<path transform="translate(14)" d="M0 12 V20 H4 V12z">
|
||||||
|
<animate attributeName="d" values="M0 12 V20 H4 V12z; M0 4 V28 H4 V4z; M0 12 V20 H4 V12z; M0 12 V20 H4 V12z" dur="1.2s" repeatCount="indefinite" begin="0.4" keytimes="0;.2;.5;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8;0.2 0.8 0.4 0.8" calcMode="spline" />
|
||||||
|
</path>
|
||||||
|
<path transform="translate(20)" d="M0 12 V20 H4 V12z">
|
||||||
|
<animate attributeName="d" values="M0 12 V20 H4 V12z; M0 4 V28 H4 V4z; M0 12 V20 H4 V12z; M0 12 V20 H4 V12z" dur="1.2s" repeatCount="indefinite" begin="0.6" keytimes="0;.2;.5;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8;0.2 0.8 0.4 0.8" calcMode="spline" />
|
||||||
|
</path>
|
||||||
|
<path transform="translate(26)" d="M0 12 V20 H4 V12z">
|
||||||
|
<animate attributeName="d" values="M0 12 V20 H4 V12z; M0 4 V28 H4 V4z; M0 12 V20 H4 V12z; M0 12 V20 H4 V12z" dur="1.2s" repeatCount="indefinite" begin="0.8" keytimes="0;.2;.5;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8;0.2 0.8 0.4 0.8" calcMode="spline" />
|
||||||
|
</path>
|
||||||
|
</svg>
|
||||||
|
`},function(n,r){n.exports=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
||||||
|
<circle transform="translate(8 0)" cx="0" cy="16" r="0">
|
||||||
|
<animate attributeName="r" values="0; 4; 0; 0" dur="1.2s" repeatCount="indefinite" begin="0"
|
||||||
|
keytimes="0;0.2;0.7;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline" />
|
||||||
|
</circle>
|
||||||
|
<circle transform="translate(16 0)" cx="0" cy="16" r="0">
|
||||||
|
<animate attributeName="r" values="0; 4; 0; 0" dur="1.2s" repeatCount="indefinite" begin="0.3"
|
||||||
|
keytimes="0;0.2;0.7;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline" />
|
||||||
|
</circle>
|
||||||
|
<circle transform="translate(24 0)" cx="0" cy="16" r="0">
|
||||||
|
<animate attributeName="r" values="0; 4; 0; 0" dur="1.2s" repeatCount="indefinite" begin="0.6"
|
||||||
|
keytimes="0;0.2;0.7;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline" />
|
||||||
|
</circle>
|
||||||
|
</svg>
|
||||||
|
`},function(n,r){n.exports=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
||||||
|
<path transform="translate(-8 0)" d="M0 12 V20 H8 V12z">
|
||||||
|
<animateTransform attributeName="transform" type="translate" values="-8 0; 2 0; 2 0;" dur="0.8s" repeatCount="indefinite" begin="0" keytimes="0;.25;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline" />
|
||||||
|
</path>
|
||||||
|
<path transform="translate(2 0)" d="M0 12 V20 H8 V12z">
|
||||||
|
<animateTransform attributeName="transform" type="translate" values="2 0; 12 0; 12 0;" dur="0.8s" repeatCount="indefinite" begin="0" keytimes="0;.35;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline" />
|
||||||
|
</path>
|
||||||
|
<path transform="translate(12 0)" d="M0 12 V20 H8 V12z">
|
||||||
|
<animateTransform attributeName="transform" type="translate" values="12 0; 22 0; 22 0;" dur="0.8s" repeatCount="indefinite" begin="0" keytimes="0;.45;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline" />
|
||||||
|
</path>
|
||||||
|
<path transform="translate(24 0)" d="M0 12 V20 H8 V12z">
|
||||||
|
<animateTransform attributeName="transform" type="translate" values="22 0; 32 0; 32 0;" dur="0.8s" repeatCount="indefinite" begin="0" keytimes="0;.55;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline" />
|
||||||
|
</path>
|
||||||
|
</svg>
|
||||||
|
`},function(n,r){n.exports=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
||||||
|
<path transform="translate(0 0)" d="M0 12 V20 H4 V12z">
|
||||||
|
<animateTransform attributeName="transform" type="translate" values="0 0; 28 0; 0 0; 0 0" dur="1.5s" begin="0" repeatCount="indefinite" keytimes="0;0.3;0.6;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
|
||||||
|
</path>
|
||||||
|
<path opacity="0.5" transform="translate(0 0)" d="M0 12 V20 H4 V12z">
|
||||||
|
<animateTransform attributeName="transform" type="translate" values="0 0; 28 0; 0 0; 0 0" dur="1.5s" begin="0.1s" repeatCount="indefinite" keytimes="0;0.3;0.6;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
|
||||||
|
</path>
|
||||||
|
<path opacity="0.25" transform="translate(0 0)" d="M0 12 V20 H4 V12z">
|
||||||
|
<animateTransform attributeName="transform" type="translate" values="0 0; 28 0; 0 0; 0 0" dur="1.5s" begin="0.2s" repeatCount="indefinite" keytimes="0;0.3;0.6;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
|
||||||
|
</path>
|
||||||
|
</svg>
|
||||||
|
`},function(n,r){n.exports=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
||||||
|
<path opacity=".25" d="M16 0 A16 16 0 0 0 16 32 A16 16 0 0 0 16 0 M16 4 A12 12 0 0 1 16 28 A12 12 0 0 1 16 4"/>
|
||||||
|
<path d="M16 0 A16 16 0 0 1 32 16 L28 16 A12 12 0 0 0 16 4z">
|
||||||
|
<animateTransform attributeName="transform" type="rotate" from="0 16 16" to="360 16 16" dur="0.8s" repeatCount="indefinite" />
|
||||||
|
</path>
|
||||||
|
</svg>
|
||||||
|
`},function(n,r){n.exports=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
||||||
|
<circle cx="16" cy="3" r="0">
|
||||||
|
<animate attributeName="r" values="0;3;0;0" dur="1s" repeatCount="indefinite" begin="0" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
|
||||||
|
</circle>
|
||||||
|
<circle transform="rotate(45 16 16)" cx="16" cy="3" r="0">
|
||||||
|
<animate attributeName="r" values="0;3;0;0" dur="1s" repeatCount="indefinite" begin="0.125s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
|
||||||
|
</circle>
|
||||||
|
<circle transform="rotate(90 16 16)" cx="16" cy="3" r="0">
|
||||||
|
<animate attributeName="r" values="0;3;0;0" dur="1s" repeatCount="indefinite" begin="0.25s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
|
||||||
|
</circle>
|
||||||
|
<circle transform="rotate(135 16 16)" cx="16" cy="3" r="0">
|
||||||
|
<animate attributeName="r" values="0;3;0;0" dur="1s" repeatCount="indefinite" begin="0.375s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
|
||||||
|
</circle>
|
||||||
|
<circle transform="rotate(180 16 16)" cx="16" cy="3" r="0">
|
||||||
|
<animate attributeName="r" values="0;3;0;0" dur="1s" repeatCount="indefinite" begin="0.5s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
|
||||||
|
</circle>
|
||||||
|
<circle transform="rotate(225 16 16)" cx="16" cy="3" r="0">
|
||||||
|
<animate attributeName="r" values="0;3;0;0" dur="1s" repeatCount="indefinite" begin="0.625s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
|
||||||
|
</circle>
|
||||||
|
<circle transform="rotate(270 16 16)" cx="16" cy="3" r="0">
|
||||||
|
<animate attributeName="r" values="0;3;0;0" dur="1s" repeatCount="indefinite" begin="0.75s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
|
||||||
|
</circle>
|
||||||
|
<circle transform="rotate(315 16 16)" cx="16" cy="3" r="0">
|
||||||
|
<animate attributeName="r" values="0;3;0;0" dur="1s" repeatCount="indefinite" begin="0.875s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
|
||||||
|
</circle>
|
||||||
|
<circle transform="rotate(180 16 16)" cx="16" cy="3" r="0">
|
||||||
|
<animate attributeName="r" values="0;3;0;0" dur="1s" repeatCount="indefinite" begin="0.5s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
|
||||||
|
</circle>
|
||||||
|
</svg>
|
||||||
|
`},function(n,r){n.exports=`<svg id="loading" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
||||||
|
<path opacity=".1" d="M14 0 H18 V8 H14 z" transform="rotate(0 16 16)">
|
||||||
|
<animate attributeName="opacity" from="1" to=".1" dur="1s" repeatCount="indefinite" begin="0"/>
|
||||||
|
</path>
|
||||||
|
<path opacity=".1" d="M14 0 H18 V8 H14 z" transform="rotate(45 16 16)">
|
||||||
|
<animate attributeName="opacity" from="1" to=".1" dur="1s" repeatCount="indefinite" begin="0.125s"/>
|
||||||
|
</path>
|
||||||
|
<path opacity=".1" d="M14 0 H18 V8 H14 z" transform="rotate(90 16 16)">
|
||||||
|
<animate attributeName="opacity" from="1" to=".1" dur="1s" repeatCount="indefinite" begin="0.25s"/>
|
||||||
|
</path>
|
||||||
|
<path opacity=".1" d="M14 0 H18 V8 H14 z" transform="rotate(135 16 16)">
|
||||||
|
<animate attributeName="opacity" from="1" to=".1" dur="1s" repeatCount="indefinite" begin="0.375s"/>
|
||||||
|
</path>
|
||||||
|
<path opacity=".1" d="M14 0 H18 V8 H14 z" transform="rotate(180 16 16)">
|
||||||
|
<animate attributeName="opacity" from="1" to=".1" dur="1s" repeatCount="indefinite" begin="0.5s"/>
|
||||||
|
</path>
|
||||||
|
<path opacity=".1" d="M14 0 H18 V8 H14 z" transform="rotate(225 16 16)">
|
||||||
|
<animate attributeName="opacity" from="1" to=".1" dur="1s" repeatCount="indefinite" begin="0.675s"/>
|
||||||
|
</path>
|
||||||
|
<path opacity=".1" d="M14 0 H18 V8 H14 z" transform="rotate(270 16 16)">
|
||||||
|
<animate attributeName="opacity" from="1" to=".1" dur="1s" repeatCount="indefinite" begin="0.75s"/>
|
||||||
|
</path>
|
||||||
|
<path opacity=".1" d="M14 0 H18 V8 H14 z" transform="rotate(315 16 16)">
|
||||||
|
<animate attributeName="opacity" from="1" to=".1" dur="1s" repeatCount="indefinite" begin="0.875s"/>
|
||||||
|
</path>
|
||||||
|
</svg>
|
||||||
|
`}])})})(DI);const FI=qc(DI.exports);function op(e){window.runtime.LogInfo(e)}function Mae(e,t,n){return window.runtime.EventsOnMultiple(e,t,n)}function LI(e,t){return Mae(e,t,-1)}function kI(e,...t){return window.runtime.EventsOff(e,...t)}function Rae(){window.runtime.WindowToggleMaximise()}function Pae(){window.runtime.WindowMinimise()}function ap(e){window.runtime.BrowserOpenURL(e)}function gy(){window.runtime.Quit()}function Iae(e,t){let n;return function(...r){n&&clearTimeout(n),n=setTimeout(()=>{e.apply(this,r)},t)}}function Tae(e){return C("div",{className:"wechat-SearchBar",children:C(H1,{theme:{components:{Input:{activeBorderColor:"#E3E4E5",activeShadow:"#E3E4E5",hoverBorderColor:"#E3E4E5"}}},children:C(z3,{className:"wechat-SearchBar-Input",placeholder:"\u641C\u7D22",prefix:C(Dp,{}),allowClear:!0,onChange:t=>e.onChange(t.target.value)})})})}function Nae({className:e,userInfo:t,onClick:n,msg:r,date:o}){return te("div",{className:`${e} wechat-UserItem`,onClick:n,tabIndex:"0","data-username":t.UserName,children:[C(Ba,{className:"wechat-UserItem-content-Avatar",userInfo:t,size:"42"}),te("div",{className:"wechat-UserItem-content",children:[C("div",{className:"wechat-UserItem-content-text wechat-UserItem-content-name",children:t.ReMark||t.NickName||t.Alias||""}),C("div",{className:"wechat-UserItem-content-text wechat-UserItem-content-msg",children:r})]}),C("div",{className:"wechat-UserItem-date",children:o})]})}function Aae({className:e,userInfo:t,onClick:n}){return te("div",{className:`${e} wechat-UserItem wechat-ContactItem`,onClick:n,tabIndex:"0","data-username":t.UserName,children:[C(Ba,{className:"wechat-UserItem-content-Avatar",userInfo:t,size:"42"}),C("div",{className:"wechat-UserItem-content wechat-ContactItem-content",children:C("div",{className:"wechat-UserItem-content-text wechat-UserItem-content-name",children:t.ReMark||t.NickName||t.Alias||""})})]})}function _ae(e){const t=new Date(e*1e3),n=t.getFullYear(),r=t.getMonth()+1,o=t.getDate();return t.getHours(),t.getMinutes(),t.getSeconds(),`${n-2e3}/${r}/${o}`}function Dae(e){const[t,n]=v.exports.useState(null),[r,o]=v.exports.useState(0),[a,i]=v.exports.useState(!0),[s,l]=v.exports.useState([]),[c,u]=v.exports.useState(""),d=v.exports.useRef(!1),f=(p,y)=>{n(p),e.onClickItem&&e.onClickItem(y)};v.exports.useEffect(()=>{d.current||(d.current=!0,a&&e.selfName!==""&&(console.log("GetWechatSessionList",r),e.session?Cae(r,100).then(p=>{var y=JSON.parse(p);if(y.Total>0){let g=[];y.Rows.forEach(b=>{b.UserName.startsWith("gh_")||g.push(b)}),l(b=>[...b,...g]),o(b=>b+1)}else i(!1);d.current=!1}):gae(r,800).then(p=>{var y=JSON.parse(p);if(y.Total>0){let g=[];y.Users.forEach(b=>{if(!b.UserName.startsWith("gh_")){const S=new Date;b.Time=parseInt(S.getTime()/1e3),g.push(b)}}),l(b=>[...b,...g]),o(b=>b+1)}else i(!1);d.current=!1})))},[r,a,e.selfName]);const h=v.exports.useCallback(Iae(p=>{console.log(p),u(p)},400),[]),m=s.filter(p=>p.NickName.includes(c)||p.ReMark.includes(c));return te("div",{className:"wechat-UserList",onClick:e.onClick,children:[C(Tae,{onChange:h}),m.length===0&&(e.isLoading||d.current===!0)&&C(FI,{className:"wechat-UserList-Loading",type:"bars",color:"#07C160"}),C("div",{className:"wechat-UserList-Items",children:m.map((p,y)=>e.session?C(Nae,{className:t===y?"selectedItem":"",onClick:()=>{f(y,p)},userInfo:p.UserInfo,msg:p.Content,date:_ae(p.Time)},p.UserName):C(Aae,{className:t===y?"selectedItem":"",onClick:()=>{f(y,p)},userInfo:p},p.UserName))})]})}function BI(e,t){return function(){return e.apply(t,arguments)}}const{toString:Fae}=Object.prototype,{getPrototypeOf:Zb}=Object,Gv=(e=>t=>{const n=Fae.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),yo=e=>(e=e.toLowerCase(),t=>Gv(t)===e),Yv=e=>t=>typeof t===e,{isArray:pl}=Array,Gc=Yv("undefined");function Lae(e){return e!==null&&!Gc(e)&&e.constructor!==null&&!Gc(e.constructor)&&Cr(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const zI=yo("ArrayBuffer");function kae(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&zI(e.buffer),t}const Bae=Yv("string"),Cr=Yv("function"),jI=Yv("number"),Kv=e=>e!==null&&typeof e=="object",zae=e=>e===!0||e===!1,qd=e=>{if(Gv(e)!=="object")return!1;const t=Zb(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},jae=yo("Date"),Hae=yo("File"),Vae=yo("Blob"),Wae=yo("FileList"),Uae=e=>Kv(e)&&Cr(e.pipe),Gae=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Cr(e.append)&&((t=Gv(e))==="formdata"||t==="object"&&Cr(e.toString)&&e.toString()==="[object FormData]"))},Yae=yo("URLSearchParams"),[Kae,qae,Xae,Qae]=["ReadableStream","Request","Response","Headers"].map(yo),Zae=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ru(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),pl(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r
Line truncated
|
||||||
|
`).forEach(function(i){o=i.indexOf(":"),n=i.substring(0,o).trim().toLowerCase(),r=i.substring(o+1).trim(),!(!n||t[n]&&kie[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},m$=Symbol("internals");function kl(e){return e&&String(e).trim().toLowerCase()}function Xd(e){return e===!1||e==null?e:se.isArray(e)?e.map(Xd):String(e)}function zie(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const jie=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Km(e,t,n,r,o){if(se.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!se.isString(t)){if(se.isString(r))return t.indexOf(r)!==-1;if(se.isRegExp(r))return r.test(t)}}function Hie(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function Vie(e,t){const n=se.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(o,a,i){return this[r].call(this,t,o,a,i)},configurable:!0})})}class Xv{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function a(s,l,c){const u=kl(l);if(!u)throw new Error("header name must be a non-empty string");const d=se.findKey(o,u);(!d||o[d]===void 0||c===!0||c===void 0&&o[d]!==!1)&&(o[d||l]=Xd(s))}const i=(s,l)=>se.forEach(s,(c,u)=>a(c,u,l));if(se.isPlainObject(t)||t instanceof this.constructor)i(t,n);else if(se.isString(t)&&(t=t.trim())&&!jie(t))i(Bie(t),n);else if(se.isHeaders(t))for(const[s,l]of t.entries())a(l,s,r);else t!=null&&a(n,t,r);return this}get(t,n){if(t=kl(t),t){const r=se.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return zie(o);if(se.isFunction(n))return n.call(this,o,r);if(se.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=kl(t),t){const r=se.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Km(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function a(i){if(i=kl(i),i){const s=se.findKey(r,i);s&&(!n||Km(r,r[s],s,n))&&(delete r[s],o=!0)}}return se.isArray(t)?t.forEach(a):a(t),o}clear(t){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const a=n[r];(!t||Km(this,this[a],a,t,!0))&&(delete this[a],o=!0)}return o}normalize(t){const n=this,r={};return se.forEach(this,(o,a)=>{const i=se.findKey(r,a);if(i){n[i]=Xd(o),delete n[a];return}const s=t?Hie(a):String(a).trim();s!==a&&delete n[a],n[s]=Xd(o),r[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return se.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=t&&se.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
|
||||||
|
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(o=>r.set(o)),r}static accessor(t){const r=(this[m$]=this[m$]={accessors:{}}).accessors,o=this.prototype;function a(i){const s=kl(i);r[s]||(Vie(o,i),r[s]=!0)}return se.isArray(t)?t.forEach(a):a(t),this}}Xv.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);se.reduceDescriptors(Xv.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});se.freezeMethods(Xv);const lo=Xv;function qm(e,t){const n=this||nS,r=t||n,o=lo.from(r.headers);let a=r.data;return se.forEach(e,function(s){a=s.call(n,a,o.normalize(),t?t.status:void 0)}),o.normalize(),a}function eT(e){return!!(e&&e.__CANCEL__)}function vl(e,t,n){ut.call(this,e==null?"canceled":e,ut.ERR_CANCELED,t,n),this.name="CanceledError"}se.inherits(vl,ut,{__CANCEL__:!0});function tT(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new ut("Request failed with status code "+n.status,[ut.ERR_BAD_REQUEST,ut.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function Wie(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Uie(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,a=0,i;return t=t!==void 0?t:1e3,function(l){const c=Date.now(),u=r[a];i||(i=c),n[o]=l,r[o]=c;let d=a,f=0;for(;d!==o;)f+=n[d++],d=d%e;if(o=(o+1)%e,o===a&&(a=(a+1)%e),c-i<t)return;const h=u&&c-u;return h?Math.round(f*1e3/h):void 0}}function Gie(e,t){let n=0,r=1e3/t,o,a;const i=(c,u=Date.now())=>{n=u,o=null,a&&(clearTimeout(a),a=null),e.apply(null,c)};return[(...c)=>{const u=Date.now(),d=u-n;d>=r?i(c,u):(o=c,a||(a=setTimeout(()=>{a=null,i(o)},r-d)))},()=>o&&i(o)]}const ip=(e,t,n=3)=>{let r=0;const o=Uie(50,250);return Gie(a=>{const i=a.loaded,s=a.lengthComputable?a.total:void 0,l=i-r,c=o(l),u=i<=s;r=i;const d={loaded:i,total:s,progress:s?i/s:void 0,bytes:l,rate:c||void 0,estimated:c&&s&&u?(s-i)/c:void 0,event:a,lengthComputable:s!=null,[t?"download":"upload"]:!0};e(d)},n)},g$=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},y$=e=>(...t)=>se.asap(()=>e(...t)),Yie=lr.hasStandardBrowserEnv?function(){const t=lr.navigator&&/(msie|trident)/i.test(lr.navigator.userAgent),n=document.createElement("a");let r;function o(a){let i=a;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=o(window.location.href),function(i){const s=se.isString(i)?o(i):i;return s.protocol===r.protocol&&s.host===r.host}}():function(){return function(){return!0}}(),Kie=lr.hasStandardBrowserEnv?{write(e,t,n,r,o,a){const i=[e+"="+encodeURIComponent(t)];se.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),se.isString(r)&&i.push("path="+r),se.isString(o)&&i.push("domain="+o),a===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function qie(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Xie(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function nT(e,t){return e&&!qie(t)?Xie(e,t):t}const b$=e=>e instanceof lo?{...e}:e;function Ri(e,t){t=t||{};const n={};function r(c,u,d){return se.isPlainObject(c)&&se.isPlainObject(u)?se.merge.call({caseless:d},c,u):se.isPlainObject(u)?se.merge({},u):se.isArray(u)?u.slice():u}function o(c,u,d){if(se.isUndefined(u)){if(!se.isUndefined(c))return r(void 0,c,d)}else return r(c,u,d)}function a(c,u){if(!se.isUndefined(u))return r(void 0,u)}function i(c,u){if(se.isUndefined(u)){if(!se.isUndefined(c))return r(void 0,c)}else return r(void 0,u)}function s(c,u,d){if(d in t)return r(c,u);if(d in e)return r(void 0,c)}const l={url:a,method:a,data:a,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:s,headers:(c,u)=>o(b$(c),b$(u),!0)};return se.forEach(Object.keys(Object.assign({},e,t)),function(u){const d=l[u]||o,f=d(e[u],t[u],u);se.isUndefined(f)&&d!==s||(n[u]=f)}),n}const rT=e=>{const t=Ri({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:a,headers:i,auth:s}=t;t.headers=i=lo.from(i),t.url=QI(nT(t.baseURL,t.url),e.params,e.paramsSerializer),s&&i.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.pas
Line truncated
|
||||||
|
`+a.map(x$).join(`
|
||||||
|
`):" "+x$(a[0]):"as no adapter specified";throw new ut("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return r},adapters:xy};function Xm(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new vl(null,e)}function w$(e){return Xm(e),e.headers=lo.from(e.headers),e.data=qm.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),iT.getAdapter(e.adapter||nS.adapter)(e).then(function(r){return Xm(e),r.data=qm.call(e,e.transformResponse,r),r.headers=lo.from(r.headers),r},function(r){return eT(r)||(Xm(e),r&&r.response&&(r.response.data=qm.call(e,e.transformResponse,r.response),r.response.headers=lo.from(r.response.headers))),Promise.reject(r)})}const sT="1.7.7",rS={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{rS[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const $$={};rS.transitional=function(t,n,r){function o(a,i){return"[Axios v"+sT+"] Transitional option '"+a+"'"+i+(r?". "+r:"")}return(a,i,s)=>{if(t===!1)throw new ut(o(i," has been removed"+(n?" in "+n:"")),ut.ERR_DEPRECATED);return n&&!$$[i]&&($$[i]=!0,console.warn(o(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(a,i,s):!0}};function use(e,t,n){if(typeof e!="object")throw new ut("options must be an object",ut.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const a=r[o],i=t[a];if(i){const s=e[a],l=s===void 0||i(s,a,e);if(l!==!0)throw new ut("option "+a+" must be "+l,ut.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new ut("Unknown option "+a,ut.ERR_BAD_OPTION)}}const wy={assertOptions:use,validators:rS},ca=wy.validators;class lp{constructor(t){this.defaults=t,this.interceptors={request:new h$,response:new h$}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let o;Error.captureStackTrace?Error.captureStackTrace(o={}):o=new Error;const a=o.stack?o.stack.replace(/^.+\n/,""):"";try{r.stack?a&&!String(r.stack).endsWith(a.replace(/^.+\n.+\n/,""))&&(r.stack+=`
|
||||||
|
`+a):r.stack=a}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Ri(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:a}=n;r!==void 0&&wy.assertOptions(r,{silentJSONParsing:ca.transitional(ca.boolean),forcedJSONParsing:ca.transitional(ca.boolean),clarifyTimeoutError:ca.transitional(ca.boolean)},!1),o!=null&&(se.isFunction(o)?n.paramsSerializer={serialize:o}:wy.assertOptions(o,{encode:ca.function,serialize:ca.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=a&&se.merge(a.common,a[n.method]);a&&se.forEach(["delete","get","head","post","put","patch","common"],m=>{delete a[m]}),n.headers=lo.concat(i,a);const s=[];let l=!0;this.interceptors.request.forEach(function(p){typeof p.runWhen=="function"&&p.runWhen(n)===!1||(l=l&&p.synchronous,s.unshift(p.fulfilled,p.rejected))});const c=[];this.interceptors.response.forEach(function(p){c.push(p.fulfilled,p.rejected)});let u,d=0,f;if(!l){const m=[w$.bind(this),void 0];for(m.unshift.apply(m,s),m.push.apply(m,c),f=m.length,u=Promise.resolve(n);d<f;)u=u.then(m[d++],m[d++]);return u}f=s.length;let h=n;for(d=0;d<f;){const m=s[d++],p=s[d++];try{h=m(h)}catch(y){p.call(this,y);break}}try{u=w$.call(this,h)}catch(m){return Promise.reject(m)}for(d=0,f=c.length;d<f;)u=u.then(c[d++],c[d++]);return u}getUri(t){t=Ri(this.defaults,t);const n=nT(t.baseURL,t.url);return QI(n,t.params,t.paramsSerializer)}}se.forEach(["delete","get","head","options"],function(t){lp.prototype[t]=function(n,r){return this.request(Ri(r||{},{method:t,url:n,data:(r||{}).data}))}});se.forEach(["post","put","patch"],function(t){function n(r){return function(a,i,s){return this.request(Ri(s||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:a,data:i}))}}lp.prototype[t]=n(),lp.prototype[t+"Form"]=n(!0)});const Qd=lp;class oS{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(a){n=a});const r=this;this.promise.then(o=>{if(!r._listeners)return;let a=r._listeners.length;for(;a-- >0;)r._listeners[a](o);r._listeners=null}),this.promise.then=o=>{let a;const i=new Promise(s=>{r.subscribe(s),a=s}).then(o);return i.cancel=function(){r.unsubscribe(a)},i},t(function(a,i,s){r.reason||(r.reason=new vl(a,i,s),n(r.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 n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new oS(function(o){t=o}),cancel:t}}}const dse=oS;function fse(e){return function(n){return e.apply(null,n)}}function pse(e){return se.isObject(e)&&e.isAxiosError===!0}const $y={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($y).forEach(([e,t])=>{$y[t]=e});const vse=$y;function lT(e){const t=new Qd(e),n=BI(Qd.prototype.request,t);return se.extend(n,Qd.prototype,t,{allOwnKeys:!0}),se.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return lT(Ri(e,o))},n}const dn=lT(nS);dn.Axios=Qd;dn.CanceledError=vl;dn.CancelToken=dse;dn.isCancel=eT;dn.VERSION=sT;dn.toFormData=qv;dn.AxiosError=ut;dn.Cancel=dn.CanceledError;dn.all=function(t){return Promise.all(t)};dn.spread=fse;dn.isAxiosError=pse;dn.mergeConfig=Ri;dn.AxiosHeaders=lo;dn.formToJSON=e=>JI(se.isHTMLForm(e)?new FormData(e):e);dn.getAdapter=iT.getAdapter;dn.HttpStatusCode=vse;dn.default=dn;const hse=dn;const mse=({isOpen:e,closeModal:t,elem:n})=>{const r=o=>{t&&t()};return te("div",{className:"MessageModal-Parent",children:[C("div",{}),C(Xo,{className:"MessageModal",overlayClassName:"MessageModal-Overlay
Line truncated
|
||||||
|
happen because the element may not have been added to DOM yet.
|
||||||
|
See https://github.com/ankeetmaini/react-infinite-scroll-component/issues/59 for more info.
|
||||||
|
`),null)},r.onStart=function(o){r.lastScrollTop||(r.dragging=!0,o instanceof MouseEvent?r.startY=o.pageY:o instanceof TouchEvent&&(r.startY=o.touches[0].pageY),r.currentY=r.startY,r._infScroll&&(r._infScroll.style.willChange="transform",r._infScroll.style.transition="transform 0.2s cubic-bezier(0,0,0.31,1)"))},r.onMove=function(o){!r.dragging||(o instanceof MouseEvent?r.currentY=o.pageY:o instanceof TouchEvent&&(r.currentY=o.touches[0].pageY),!(r.currentY<r.startY)&&(r.currentY-r.startY>=Number(r.props.pullDownToRefreshThreshold)&&r.setState({pullToRefreshThresholdBreached:!0}),!(r.currentY-r.startY>r.maxPullDownDistance*1.5)&&r._infScroll&&(r._infScroll.style.overflow="visible",r._infScroll.style.transform="translate3d(0px, "+(r.currentY-r.startY)+"px, 0px)")))},r.onEnd=function(){r.startY=0,r.currentY=0,r.dragging=!1,r.state.pullToRefreshThresholdBreached&&(r.props.refreshFunction&&r.props.refreshFunction(),r.setState({pullToRefreshThresholdBreached:!1})),requestAnimationFrame(function(){r._infScroll&&(r._infScroll.style.overflow="auto",r._infScroll.style.transform="none",r._infScroll.style.willChange="unset")})},r.onScrollListener=function(o){typeof r.props.onScroll=="function"&&setTimeout(function(){return r.props.onScroll&&r.props.onScroll(o)},0);var a=r.props.height||r._scrollableNode?o.target:document.documentElement.scrollTop?document.documentElement:document.body;if(!r.actionTriggered){var i=r.props.inverse?r.isElementAtTop(a,r.props.scrollThreshold):r.isElementAtBottom(a,r.props.scrollThreshold);i&&r.props.hasMore&&(r.actionTriggered=!0,r.setState({showLoader:!0}),r.props.next&&r.props.next()),r.lastScrollTop=a.scrollTop}},r.state={showLoader:!1,pullToRefreshThresholdBreached:!1,prevDataLength:n.dataLength},r.throttledOnScrollListener=Ose(150,r.onScrollListener).bind(r),r.onStart=r.onStart.bind(r),r.onMove=r.onMove.bind(r),r.onEnd=r.onEnd.bind(r),r}return t.prototype.componentDidMount=function(){if(typeof this.props.dataLength>"u")throw new Error('mandatory prop "dataLength" is missing. The prop is needed when loading more content. Check README.md for usage');if(this._scrollableNode=this.getScrollableTarget(),this.el=this.props.height?this._infScroll:this._scrollableNode||window,this.el&&this.el.addEventListener("scroll",this.throttledOnScrollListener),typeof this.props.initialScrollY=="number"&&this.el&&this.el instanceof HTMLElement&&this.el.scrollHeight>this.props.initialScrollY&&this.el.scrollTo(0,this.props.initialScrollY),this.props.pullDownToRefresh&&this.el&&(this.el.addEventListener("touchstart",this.onStart),this.el.addEventListener("touchmove",this.onMove),this.el.addEventListener("touchend",this.onEnd),this.el.addEventListener("mousedown",this.onStart),this.el.addEventListener("mousemove",this.onMove),this.el.addEventListener("mouseup",this.onEnd),this.maxPullDownDistance=this._pullDown&&this._pullDown.firstChild&&this._pullDown.firstChild.getBoundingClientRect().height||0,this.forceUpdate(),typeof this.props.refreshFunction!="function"))throw new Error(`Mandatory prop "refreshFunction" missing.
|
||||||
|
Pull Down To Refresh functionality will not work
|
||||||
|
as expected. Check README.md for usage'`)},t.prototype.componentWillUnmount=function(){this.el&&(this.el.removeEventListener("scroll",this.throttledOnScrollListener),this.props.pullDownToRefresh&&(this.el.removeEventListener("touchstart",this.onStart),this.el.removeEventListener("touchmove",this.onMove),this.el.removeEventListener("touchend",this.onEnd),this.el.removeEventListener("mousedown",this.onStart),this.el.removeEventListener("mousemove",this.onMove),this.el.removeEventListener("mouseup",this.onEnd)))},t.prototype.componentDidUpdate=function(n){this.props.dataLength!==n.dataLength&&(this.actionTriggered=!1,this.setState({showLoader:!1}))},t.getDerivedStateFromProps=function(n,r){var o=n.dataLength!==r.prevDataLength;return o?pc(pc({},r),{prevDataLength:n.dataLength}):null},t.prototype.isElementAtTop=function(n,r){r===void 0&&(r=.8);var o=n===document.body||n===document.documentElement?window.screen.availHeight:n.clientHeight,a=M$(r);return a.unit===_s.Pixel?n.scrollTop<=a.value+o-n.scrollHeight+1:n.scrollTop<=a.value/100+o-n.scrollHeight+1},t.prototype.isElementAtBottom=function(n,r){r===void 0&&(r=.8);var o=n===document.body||n===document.documentElement?window.screen.availHeight:n.clientHeight,a=M$(r);return a.unit===_s.Pixel?n.scrollTop+o>=n.scrollHeight-a.value:n.scrollTop+o>=a.value/100*n.scrollHeight},t.prototype.render=function(){var n=this,r=pc({height:this.props.height||"auto",overflow:"auto",WebkitOverflowScrolling:"touch"},this.props.style),o=this.props.hasChildren||!!(this.props.children&&this.props.children instanceof Array&&this.props.children.length),a=this.props.pullDownToRefresh&&this.props.height?{overflow:"auto"}:{};return C("div",{style:a,className:"infinite-scroll-component__outerdiv",children:te("div",{className:"infinite-scroll-component "+(this.props.className||""),ref:function(i){return n._infScroll=i},style:r,children:[this.props.pullDownToRefresh&&C("div",{style:{position:"relative"},ref:function(i){return n._pullDown=i},children:C("div",{style:{position:"absolute",left:0,right:0,top:-1*this.maxPullDownDistance},children:this.state.pullToRefreshThresholdBreached?this.props.releaseToRefreshContent:this.props.pullDownToRefreshContent})}),this.props.children,!this.state.showLoader&&!o&&this.props.hasMore&&this.props.loader,this.state.showLoader&&this.props.hasMore&&this.props.loader,!this.props.hasMore&&this.props.endMessage]})})},t}(v.exports.Component);const Mse=v.exports.forwardRef((e,t)=>{let n=!1,r=!1;e.message.position==="middle"?n=!0:r=e.message.position!=="right";const o=v.exports.useMemo(()=>e.renderMessageContent(e.message),[e.message]);return te("div",{className:"MessageBubble",id:e.id,ref:t,children:[C("time",{className:"Time",dateTime:jt(e.message.createdAt).format(),children:jt(e.message.createdAt*1e3).format("YYYY\u5E74M\u6708D\u65E5 HH:mm")}),n?o:te("div",{className:"MessageBubble-content"+(r?"-left":"-right"),children:[C("div",{className:"MessageBubble-content-Avatar",children:r&&C(Ba,{className:"MessageBubble-Avatar-left",userInfo:e.message.userInfo,size:"40",alt:"\u65E0\u6CD5\u52A0\u8F7D\u5934\u50CF"})}),te("div",{className:"Bubble"+(r?"-left":"-right"),children:[C("div",{className:"MessageBubble-Name"+(r?"-left":"-right"),truncate:1,children:e.message.userInfo.ReMark||e.message.userInfo.NickName||e.message.userInfo.Alias||""}),o]}),C("div",{className:"MessageBubble-content-Avatar",children:!r&&C(Ba,{className:"MessageBubble-Avatar-right",userInfo:e.message.userInfo,size:"40",alt:"\u65E0\u6CD5\u52A0\u8F7D\u5934\u50CF"})})]})]})});function Rse(e){const t=v.exports.useRef(),n=v.exports.useRef(0),r=v.exports.useRef(null),o=i=>{i.srcElement.scrollTop>0&&i.srcElement.scrollTop<1&&(i.srcElement.scrollTop=0),i.srcElement.scrollTop===0?(n.current=i.srcElement.scrollHeight,r.current=i.srcElement,e.atBottom&&e.atBottom()):(n.current=0,r.current=null)};function a(){e.next()}return v.exports.useEffect(()=>{n.current!==0&&r.current&&(r.current.scrollTop=-(r.current.scrollHeight-n.current),n.current=0,r.current=null)},[e.messages]),v.exports.useEffect(()=>{t.current&&t.current.scrollIntoView()},[e.messages]),C("div",{id:"scrollableDiv",children:C(cT,{scrollableTarget:"scrollableDiv",dataLength:e.messages.length,next:a,hasMore:e.hasMore,inverse:!0,onScroll:o,children:e.messages.map(i=>C(Mse,{message:i,renderMessageContent:e.renderMessageContent,id:i.key,ref:i.key===e.scrollIntoId?t:null},i.key))})})}function Pse(e){return C("div",{className:"ChatUi",children:C(Rse,{messages:e.messages,next:e.fetchMoreData,hasMore:e.hasMore,renderMessageContent:e.renderMessageContent,atBottom:e.atBottom,scrollIntoId:e.scrollIntoId})})}function uT(e){const[t,n]=v.exports.useState(e);return{messages:t,prependMsgs:i=>{n(i.concat(t))},appendMsgs:i=>{n(t.concat(i))},setMsgs:i=>{n(i)}}}const Ise="data:image/png;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQH/2wBDAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBA
Line truncated
|
||||||
|
`).forEach((c,u)=>{u>0&&a.push(C("br",{},`${s}-${u}`)),a.push(c)}):a.push(i)}),a};function aS(e){const t=v.exports.useMemo(()=>Ace(R$),[]),[n,r]=v.exports.useState([]);return v.exports.useEffect(()=>{const o=_ce(e.text,R$,t);r(o)},[e.text,t]),C(F3,{className:"CardMessageText "+e.className,size:"small",children:C(At,{children:n})})}const Dce=e=>!!e&&e[0]==="o",P$=cr.exports.unstable_batchedUpdates||(e=>e()),rs=(e,t,n=1e-4)=>Math.abs(e-t)<n,Oy=(e,t)=>e===!0||!!(e&&e[t]),co=(e,t)=>typeof e=="function"?e(t):e,iS=(e,t)=>(t&&Object.keys(t).forEach(n=>{const r=e[n],o=t[n];typeof o=="function"&&r?e[n]=(...a)=>{o(...a),r(...a)}:e[n]=o}),e),Fce=e=>{if(typeof e!="string")return{top:0,right:0,bottom:0,left:0};const t=e.trim().split(/\s+/,4).map(parseFloat),n=isNaN(t[0])?0:t[0],r=isNaN(t[1])?n:t[1];return{top:n,right:r,bottom:isNaN(t[2])?n:t[2],left:isNaN(t[3])?r:t[3]}},Qm=e=>{for(;e;){if(e=e.parentNode,!e||e===document.body||!e.parentNode)return;const{overflow:t,overflowX:n,overflowY:r}=getComputedStyle(e);if(/auto|scroll|overlay|hidden/.test(t+r+n))return e}};function dT(e,t){return{"aria-disabled":e||void 0,tabIndex:t?0:-1}}function I$(e,t){for(let n=0;n<e.length;n++)if(e[n]===t)return n;return-1}const cp=({block:e,element:t,modifiers:n,className:r})=>v.exports.useMemo(()=>{const o=t?`${e}__${t}`:e;let a=o;n&&Object.keys(n).forEach(s=>{const l=n[s];l&&(a+=` ${o}--${l===!0?s:`${s}-${l}`}`)});let i=typeof r=="function"?r(n):r;return typeof i=="string"&&(i=i.trim(),i&&(a+=` ${i}`)),a},[e,t,n,r]),Lce="szh-menu-container",Zd="szh-menu",kce="arrow",Bce="item",fT=v.exports.createContext(),pT=v.exports.createContext({}),T$=v.exports.createContext({}),vT=v.exports.createContext({}),zce=v.exports.createContext({}),sS=v.exports.createContext({}),ko=Object.freeze({ENTER:"Enter",ESC:"Escape",SPACE:" ",HOME:"Home",END:"End",LEFT:"ArrowLeft",RIGHT:"ArrowRight",UP:"ArrowUp",DOWN:"ArrowDown"}),pn=Object.freeze({RESET:0,SET:1,UNSET:2,INCREASE:3,DECREASE:4,FIRST:5,LAST:6,SET_INDEX:7}),Yc=Object.freeze({CLICK:"click",CANCEL:"cancel",BLUR:"blur",SCROLL:"scroll"}),N$=Object.freeze({FIRST:"first",LAST:"last"}),Zm="absolute",jce="presentation",hT="menuitem",A$={"aria-hidden":!0,role:hT},Hce=({className:e,containerRef:t,containerProps:n,children:r,isOpen:o,theming:a,transition:i,onClose:s})=>{const l=Oy(i,"item");return C("div",{...iS({onKeyDown:({key:d})=>{switch(d){case ko.ESC:co(s,{key:d,reason:Yc.CANCEL});break}},onBlur:d=>{o&&!d.currentTarget.contains(d.relatedTarget)&&co(s,{reason:Yc.BLUR})}},n),className:cp({block:Lce,modifiers:v.exports.useMemo(()=>({theme:a,itemTransition:l}),[a,l]),className:e}),style:{position:"absolute",...n==null?void 0:n.style},ref:t,children:r})},Vce=()=>{let e,t=0;return{toggle:n=>{n?t++:t--,t=Math.max(t,0)},on:(n,r,o)=>{t?e||(e=setTimeout(()=>{e=0,r()},n)):o==null||o()},off:()=>{e&&(clearTimeout(e),e=0)}}},Wce=(e,t)=>{const[n,r]=v.exports.useState(),a=v.exports.useRef({items:[],hoverIndex:-1,sorted:!1}).current,i=v.exports.useCallback((l,c)=>{const{items:u}=a;if(!l)a.items=[];else if(c)u.push(l);else{const d=u.indexOf(l);d>-1&&(u.splice(d,1),l.contains(document.activeElement)&&(t.current.focus(),r()))}a.hoverIndex=-1,a.sorted=!1},[a,t]),s=v.exports.useCallback((l,c,u)=>{const{items:d,hoverIndex:f}=a,h=()=>{if(a.sorted)return;const y=e.current.querySelectorAll(".szh-menu__item");d.sort((g,b)=>I$(y,g)-I$(y,b)),a.sorted=!0};let m=-1,p;switch(l){case pn.RESET:break;case pn.SET:p=c;break;case pn.UNSET:p=y=>y===c?void 0:y;break;case pn.FIRST:h(),m=0,p=d[m];break;case pn.LAST:h(),m=d.length-1,p=d[m];break;case pn.SET_INDEX:h(),m=u,p=d[m];break;case pn.INCREASE:h(),m=f,m<0&&(m=d.indexOf(c)),m++,m>=d.length&&(m=0),p=d[m];break;case pn.DECREASE:h(),m=f,m<0&&(m=d.indexOf(c)),m--,m<0&&(m=d.length-1),p=d[m];break}p||(m=-1),r(p),a.hoverIndex=m},[e,a]);return{hoverItem:n,dispatch:s,updateItems:i}},Uce=(e,t,n,r)=>{const o=t.current.getBoundingClientRect(),a=e.current.getBoundingClientRect(),i=n===window?{left:0,top:0,right:document.documentElement.clientWidth,bottom:window.innerHeight}:n.getBoundingClientRect(),s=Fce(r),l=m=>m+a.left-i.left-s.left,c=m=>m+a.left+o.width-i.right+s.right,u=m=>m+a.top-i.top-s.top,d=m=>m+a.top+o.height-i.bottom+s.bottom;return{menuRect:o,containerRect:a,getLeftOverflow:l,getRightOverflow:c,getTopOverflow:u,getBottomOverflow:d,confineHorizontally:m=>{let p=l(m);if(p<0)m-=p;else{const y=c(m);y>0&&(m-=y,p=l(m),p<0&&(m-=p))}return m},confineVertically:m=>{let p=u(m);if(p<0)m-=p;else{const y=d(m);y>0&&(m-=y,p=u(m),p<0&&(m-=p))}return m}}},Gce=({arrowRef:e,menuY:t,anchorRect:n,containerRect:r,menuRect:o})=>{let a=n.top-r.top-t+n.height/2;const i=e.current.offsetHeight*1.25;return a=Math.max(i,a),a=Math.min(a,o.height-i),a},Yce=({anchorRect:e,containerRect:t,menuRect:n,placeLeftorRightY:r,placeLeftX:o,placeRightX:a,getLeftOverflow:i,getRightOverflow:s,confineHorizontally:l,confineVertically:c,arrowRef:u,arrow:d,direction:f,position:h})=>{let m=f,p=r;h!=="initial"&&(p=c(p),h==="anchor"&&(p=Math.min(p,e
Line truncated
|
||||||
|
* clipboard.js v2.0.11
|
||||||
|
* https://clipboardjs.com/
|
||||||
|
*
|
||||||
|
* Licensed MIT © Zeno Rocha
|
||||||
|
*/(function(e,t){(function(r,o){e.exports=o()})(zn,function(){return function(){var n={686:function(a,i,s){s.d(i,{default:function(){return H}});var l=s(279),c=s.n(l),u=s(370),d=s.n(u),f=s(817),h=s.n(f);function m(D){try{return document.execCommand(D)}catch{return!1}}var p=function(B){var W=h()(B);return m("cut"),W},y=p;function g(D){var B=document.documentElement.getAttribute("dir")==="rtl",W=document.createElement("textarea");W.style.fontSize="12pt",W.style.border="0",W.style.padding="0",W.style.margin="0",W.style.position="absolute",W.style[B?"right":"left"]="-9999px";var G=window.pageYOffset||document.documentElement.scrollTop;return W.style.top="".concat(G,"px"),W.setAttribute("readonly",""),W.value=D,W}var b=function(B,W){var G=g(B);W.container.appendChild(G);var K=h()(G);return m("copy"),G.remove(),K},S=function(B){var W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},G="";return typeof B=="string"?G=b(B,W):B instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(B==null?void 0:B.type)?G=b(B.value,W):(G=h()(B),m("copy")),G},x=S;function $(D){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?$=function(W){return typeof W}:$=function(W){return W&&typeof Symbol=="function"&&W.constructor===Symbol&&W!==Symbol.prototype?"symbol":typeof W},$(D)}var E=function(){var B=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},W=B.action,G=W===void 0?"copy":W,K=B.container,j=B.target,V=B.text;if(G!=="copy"&&G!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(j!==void 0)if(j&&$(j)==="object"&&j.nodeType===1){if(G==="copy"&&j.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(G==="cut"&&(j.hasAttribute("readonly")||j.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`)}else throw new Error('Invalid "target" value, use a valid Element');if(V)return x(V,{container:K});if(j)return G==="cut"?y(j):x(j,{container:K})},w=E;function R(D){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?R=function(W){return typeof W}:R=function(W){return W&&typeof Symbol=="function"&&W.constructor===Symbol&&W!==Symbol.prototype?"symbol":typeof W},R(D)}function I(D,B){if(!(D instanceof B))throw new TypeError("Cannot call a class as a function")}function T(D,B){for(var W=0;W<B.length;W++){var G=B[W];G.enumerable=G.enumerable||!1,G.configurable=!0,"value"in G&&(G.writable=!0),Object.defineProperty(D,G.key,G)}}function P(D,B,W){return B&&T(D.prototype,B),W&&T(D,W),D}function L(D,B){if(typeof B!="function"&&B!==null)throw new TypeError("Super expression must either be null or a function");D.prototype=Object.create(B&&B.prototype,{constructor:{value:D,writable:!0,configurable:!0}}),B&&z(D,B)}function z(D,B){return z=Object.setPrototypeOf||function(G,K){return G.__proto__=K,G},z(D,B)}function N(D){var B=M();return function(){var G=O(D),K;if(B){var j=O(this).constructor;K=Reflect.construct(G,arguments,j)}else K=G.apply(this,arguments);return k(this,K)}}function k(D,B){return B&&(R(B)==="object"||typeof B=="function")?B:F(D)}function F(D){if(D===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return D}function M(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function O(D){return O=Object.setPrototypeOf?Object.getPrototypeOf:function(W){return W.__proto__||Object.getPrototypeOf(W)},O(D)}function _(D,B){var W="data-clipboard-".concat(D);if(!!B.hasAttribute(W))return B.getAttribute(W)}var A=function(D){L(W,D);var B=N(W);function W(G,K){var j;return I(this,W),j=B.call(this),j.resolveOptions(K),j.listenClick(G),j}return P(W,[{key:"resolveOptions",value:function(){var K=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof K.action=="function"?K.action:this.defaultAction,this.target=typeof K.target=="function"?K.target:this.defaultTarget,this.text=typeof K.text=="function"?K.text:this.defaultText,this.container=R(K.container)==="object"?K.container:document.body}},{key:"listenClick",value:function(K){var j=this;this.listener=d()(K,"click",function(V){return j.onClick(V)})}},{key:"onClick",value:function(K){var j=K.delegateTarget||K.currentTarget,V=this.action(j)||"copy",X=w({action:V,container:this.container,target:this.target(j),text:this.text(j)});this.emit(X?"success":"error",{action:V,text:X,trigger:j,clearSelection:function(){j&&j.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(K){return _("action",K)}},{key:"defaultTarget",value:function(K){var j=_("target",K);if(j)return document.querySelector(j)}},{key:"defaultText",value:function(K){return _("text",K)}},{key:"destroy",value:functLine truncated
|
||||||
Vendored
+2
-2
@@ -4,8 +4,8 @@
|
|||||||
<meta charset="UTF-8"/>
|
<meta charset="UTF-8"/>
|
||||||
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
|
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
|
||||||
<title>wechatDataBackup</title>
|
<title>wechatDataBackup</title>
|
||||||
<script type="module" crossorigin src="/assets/index.425764f5.js"></script>
|
<script type="module" crossorigin src="/assets/index.e451d83d.js"></script>
|
||||||
<link rel="stylesheet" href="/assets/index.b10575d2.css">
|
<link rel="stylesheet" href="/assets/index.bee21395.css">
|
||||||
</head>
|
</head>
|
||||||
<body >
|
<body >
|
||||||
<div id="root"></div>
|
<div id="root"></div>
|
||||||
|
|||||||
@@ -15,6 +15,7 @@ require (
|
|||||||
github.com/wailsapp/wails/v2 v2.9.1
|
github.com/wailsapp/wails/v2 v2.9.1
|
||||||
golang.org/x/sys v0.20.0
|
golang.org/x/sys v0.20.0
|
||||||
google.golang.org/protobuf v1.31.0
|
google.golang.org/protobuf v1.31.0
|
||||||
|
gopkg.in/natefinch/lumberjack.v2 v2.2.1
|
||||||
)
|
)
|
||||||
|
|
||||||
require (
|
require (
|
||||||
|
|||||||
@@ -2,51 +2,35 @@ package main
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"embed"
|
"embed"
|
||||||
"fmt"
|
|
||||||
"io"
|
"io"
|
||||||
"log"
|
"log"
|
||||||
"net/http"
|
|
||||||
"os"
|
"os"
|
||||||
"strings"
|
|
||||||
|
|
||||||
"github.com/wailsapp/wails/v2"
|
"github.com/wailsapp/wails/v2"
|
||||||
"github.com/wailsapp/wails/v2/pkg/options"
|
"github.com/wailsapp/wails/v2/pkg/options"
|
||||||
"github.com/wailsapp/wails/v2/pkg/options/assetserver"
|
"github.com/wailsapp/wails/v2/pkg/options/assetserver"
|
||||||
|
"gopkg.in/natefinch/lumberjack.v2"
|
||||||
)
|
)
|
||||||
|
|
||||||
//go:embed all:frontend/dist
|
//go:embed all:frontend/dist
|
||||||
var assets embed.FS
|
var assets embed.FS
|
||||||
|
|
||||||
type FileLoader struct {
|
|
||||||
http.Handler
|
|
||||||
}
|
|
||||||
|
|
||||||
func NewFileLoader() *FileLoader {
|
|
||||||
return &FileLoader{}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (h *FileLoader) ServeHTTP(res http.ResponseWriter, req *http.Request) {
|
|
||||||
var err error
|
|
||||||
requestedFilename := strings.TrimPrefix(req.URL.Path, "/")
|
|
||||||
// println("Requesting file:", requestedFilename)
|
|
||||||
fileData, err := os.ReadFile(requestedFilename)
|
|
||||||
if err != nil {
|
|
||||||
res.WriteHeader(http.StatusBadRequest)
|
|
||||||
res.Write([]byte(fmt.Sprintf("Could not load file %s", requestedFilename)))
|
|
||||||
}
|
|
||||||
|
|
||||||
res.Write(fileData)
|
|
||||||
}
|
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
|
// log output format
|
||||||
log.SetFlags(log.Ldate | log.Lmicroseconds | log.Lshortfile)
|
log.SetFlags(log.Ldate | log.Lmicroseconds | log.Lshortfile)
|
||||||
}
|
}
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
file, _ := os.OpenFile("app.log", os.O_CREATE|os.O_WRONLY|os.O_APPEND, 0666)
|
logJack := &lumberjack.Logger{
|
||||||
defer file.Close()
|
Filename: "./app.log",
|
||||||
|
MaxSize: 5,
|
||||||
|
MaxBackups: 1,
|
||||||
|
MaxAge: 30,
|
||||||
|
Compress: false,
|
||||||
|
}
|
||||||
|
defer logJack.Close()
|
||||||
|
|
||||||
multiWriter := io.MultiWriter(file, os.Stdout)
|
multiWriter := io.MultiWriter(logJack, os.Stdout)
|
||||||
// 设置日志输出目标为文件
|
// 设置日志输出目标为文件
|
||||||
log.SetOutput(multiWriter)
|
log.SetOutput(multiWriter)
|
||||||
log.Println("====================== wechatDataBackup ======================")
|
log.Println("====================== wechatDataBackup ======================")
|
||||||
@@ -62,7 +46,7 @@ func main() {
|
|||||||
Height: 768,
|
Height: 768,
|
||||||
AssetServer: &assetserver.Options{
|
AssetServer: &assetserver.Options{
|
||||||
Assets: assets,
|
Assets: assets,
|
||||||
Handler: NewFileLoader(),
|
Handler: app.FLoader,
|
||||||
},
|
},
|
||||||
BackgroundColour: &options.RGBA{R: 27, G: 38, B: 54, A: 1},
|
BackgroundColour: &options.RGBA{R: 27, G: 38, B: 54, A: 1},
|
||||||
OnStartup: app.startup,
|
OnStartup: app.startup,
|
||||||
|
|||||||
@@ -5,12 +5,22 @@ import (
|
|||||||
"log"
|
"log"
|
||||||
"os"
|
"os"
|
||||||
"os/exec"
|
"os/exec"
|
||||||
|
"path/filepath"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/pkg/browser"
|
"github.com/pkg/browser"
|
||||||
|
"github.com/shirou/gopsutil/v3/disk"
|
||||||
"golang.org/x/sys/windows/registry"
|
"golang.org/x/sys/windows/registry"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
type PathStat struct {
|
||||||
|
Path string `json:"path"`
|
||||||
|
Total uint64 `json:"total"`
|
||||||
|
Free uint64 `json:"free"`
|
||||||
|
Used uint64 `json:"used"`
|
||||||
|
UsedPercent float64 `json:"usedPercent"`
|
||||||
|
}
|
||||||
|
|
||||||
func getDefaultProgram(fileExtension string) (string, error) {
|
func getDefaultProgram(fileExtension string) (string, error) {
|
||||||
key, err := registry.OpenKey(registry.CLASSES_ROOT, fmt.Sprintf(`.%s`, fileExtension), registry.QUERY_VALUE)
|
key, err := registry.OpenKey(registry.CLASSES_ROOT, fmt.Sprintf(`.%s`, fileExtension), registry.QUERY_VALUE)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@@ -75,3 +85,38 @@ func OpenFileOrExplorer(filePath string, explorer bool) error {
|
|||||||
fmt.Println("Command executed successfully")
|
fmt.Println("Command executed successfully")
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func GetPathStat(path string) (PathStat, error) {
|
||||||
|
pathStat := PathStat{}
|
||||||
|
absPath, err := filepath.Abs(path)
|
||||||
|
if err != nil {
|
||||||
|
return pathStat, err
|
||||||
|
}
|
||||||
|
|
||||||
|
stat, err := disk.Usage(absPath)
|
||||||
|
if err != nil {
|
||||||
|
return pathStat, err
|
||||||
|
}
|
||||||
|
|
||||||
|
pathStat.Path = stat.Path
|
||||||
|
pathStat.Total = stat.Total
|
||||||
|
pathStat.Used = stat.Used
|
||||||
|
pathStat.Free = stat.Free
|
||||||
|
pathStat.UsedPercent = stat.UsedPercent
|
||||||
|
|
||||||
|
return pathStat, nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func PathIsCanWriteFile(path string) bool {
|
||||||
|
|
||||||
|
filepath := fmt.Sprintf("%s\\CanWrite.txt", path)
|
||||||
|
file, err := os.OpenFile(filepath, os.O_CREATE|os.O_WRONLY, 0644)
|
||||||
|
if err != nil {
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
|
||||||
|
file.Close()
|
||||||
|
os.Remove(filepath)
|
||||||
|
|
||||||
|
return true
|
||||||
|
}
|
||||||
+150
-2
@@ -49,6 +49,11 @@ type wechatMediaMSG struct {
|
|||||||
Buf []byte
|
Buf []byte
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type wechatHeadImgMSG struct {
|
||||||
|
userName string
|
||||||
|
Buf []byte
|
||||||
|
}
|
||||||
|
|
||||||
func GetWeChatAllInfo() *WeChatInfoList {
|
func GetWeChatAllInfo() *WeChatInfoList {
|
||||||
list := GetWeChatInfo()
|
list := GetWeChatInfo()
|
||||||
|
|
||||||
@@ -73,6 +78,121 @@ func ExportWeChatAllData(info WeChatInfo, expPath string, progress chan<- string
|
|||||||
exportWeChatBat(info, expPath, progress)
|
exportWeChatBat(info, expPath, progress)
|
||||||
exportWeChatVideoAndFile(info, expPath, progress)
|
exportWeChatVideoAndFile(info, expPath, progress)
|
||||||
exportWeChatVoice(info, expPath, progress)
|
exportWeChatVoice(info, expPath, progress)
|
||||||
|
exportWeChatHeadImage(info, expPath, progress)
|
||||||
|
}
|
||||||
|
|
||||||
|
func exportWeChatHeadImage(info WeChatInfo, expPath string, progress chan<- string) {
|
||||||
|
progress <- "{\"status\":\"processing\", \"result\":\"export WeChat Head Image\", \"progress\": 81}"
|
||||||
|
|
||||||
|
headImgPath := fmt.Sprintf("%s\\FileStorage\\HeadImage", expPath)
|
||||||
|
if _, err := os.Stat(headImgPath); err != nil {
|
||||||
|
if err := os.MkdirAll(headImgPath, 0644); err != nil {
|
||||||
|
log.Printf("MkdirAll %s failed: %v\n", headImgPath, err)
|
||||||
|
progress <- fmt.Sprintf("{\"status\":\"error\", \"result\":\"%v error\"}", err)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
handleNumber := int64(0)
|
||||||
|
fileNumber := int64(0)
|
||||||
|
|
||||||
|
var wg sync.WaitGroup
|
||||||
|
var reportWg sync.WaitGroup
|
||||||
|
quitChan := make(chan struct{})
|
||||||
|
MSGChan := make(chan wechatHeadImgMSG, 100)
|
||||||
|
go func() {
|
||||||
|
for {
|
||||||
|
miscDBPath := fmt.Sprintf("%s\\Msg\\Misc.db", expPath)
|
||||||
|
_, err := os.Stat(miscDBPath)
|
||||||
|
if err != nil {
|
||||||
|
log.Println("no exist:", miscDBPath)
|
||||||
|
break
|
||||||
|
}
|
||||||
|
|
||||||
|
db, err := sql.Open("sqlite3", miscDBPath)
|
||||||
|
if err != nil {
|
||||||
|
log.Printf("open %s failed: %v\n", miscDBPath, err)
|
||||||
|
break
|
||||||
|
}
|
||||||
|
defer db.Close()
|
||||||
|
|
||||||
|
err = db.QueryRow("select count(*) from ContactHeadImg1;").Scan(&fileNumber)
|
||||||
|
if err != nil {
|
||||||
|
log.Println("select count(*) failed", err)
|
||||||
|
break
|
||||||
|
}
|
||||||
|
log.Println("ContactHeadImg1 fileNumber", fileNumber)
|
||||||
|
rows, err := db.Query("select ifnull(usrName,'') as usrName, ifnull(smallHeadBuf,'') as smallHeadBuf from ContactHeadImg1;")
|
||||||
|
if err != nil {
|
||||||
|
log.Printf("Query failed: %v\n", err)
|
||||||
|
break
|
||||||
|
}
|
||||||
|
|
||||||
|
msg := wechatHeadImgMSG{}
|
||||||
|
for rows.Next() {
|
||||||
|
err := rows.Scan(&msg.userName, &msg.Buf)
|
||||||
|
if err != nil {
|
||||||
|
log.Println("Scan failed: ", err)
|
||||||
|
break
|
||||||
|
}
|
||||||
|
|
||||||
|
MSGChan <- msg
|
||||||
|
}
|
||||||
|
break
|
||||||
|
}
|
||||||
|
close(MSGChan)
|
||||||
|
}()
|
||||||
|
|
||||||
|
for i := 0; i < 20; i++ {
|
||||||
|
wg.Add(1)
|
||||||
|
go func() {
|
||||||
|
defer wg.Done()
|
||||||
|
for msg := range MSGChan {
|
||||||
|
imgPath := fmt.Sprintf("%s\\%s.headimg", headImgPath, msg.userName)
|
||||||
|
for {
|
||||||
|
// log.Println("imgPath:", imgPath, len(msg.Buf))
|
||||||
|
_, err := os.Stat(imgPath)
|
||||||
|
if err == nil {
|
||||||
|
break
|
||||||
|
}
|
||||||
|
if len(msg.userName) == 0 || len(msg.Buf) == 0 {
|
||||||
|
break
|
||||||
|
}
|
||||||
|
err = os.WriteFile(imgPath, msg.Buf[:], 0666)
|
||||||
|
if err != nil {
|
||||||
|
log.Println("WriteFile:", imgPath, err)
|
||||||
|
}
|
||||||
|
break
|
||||||
|
}
|
||||||
|
atomic.AddInt64(&handleNumber, 1)
|
||||||
|
}
|
||||||
|
}()
|
||||||
|
}
|
||||||
|
|
||||||
|
reportWg.Add(1)
|
||||||
|
go func() {
|
||||||
|
defer reportWg.Done()
|
||||||
|
for {
|
||||||
|
select {
|
||||||
|
case <-quitChan:
|
||||||
|
log.Println("WeChat Head Image report progress end")
|
||||||
|
return
|
||||||
|
default:
|
||||||
|
if fileNumber != 0 {
|
||||||
|
filePercent := float64(handleNumber) / float64(fileNumber)
|
||||||
|
totalPercent := 81 + (filePercent * (100 - 81))
|
||||||
|
totalPercentStr := fmt.Sprintf("{\"status\":\"processing\", \"result\":\"export WeChat Head Image doing\", \"progress\": %d}", int(totalPercent))
|
||||||
|
progress <- totalPercentStr
|
||||||
|
}
|
||||||
|
time.Sleep(time.Second)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}()
|
||||||
|
|
||||||
|
wg.Wait()
|
||||||
|
close(quitChan)
|
||||||
|
reportWg.Wait()
|
||||||
|
progress <- "{\"status\":\"processing\", \"result\":\"export WeChat Head Image end\", \"progress\": 100}"
|
||||||
}
|
}
|
||||||
|
|
||||||
func exportWeChatVoice(info WeChatInfo, expPath string, progress chan<- string) {
|
func exportWeChatVoice(info WeChatInfo, expPath string, progress chan<- string) {
|
||||||
@@ -171,7 +291,7 @@ func exportWeChatVoice(info WeChatInfo, expPath string, progress chan<- string)
|
|||||||
return
|
return
|
||||||
default:
|
default:
|
||||||
filePercent := float64(handleNumber) / float64(fileNumber)
|
filePercent := float64(handleNumber) / float64(fileNumber)
|
||||||
totalPercent := 61 + (filePercent * (100 - 61))
|
totalPercent := 61 + (filePercent * (80 - 61))
|
||||||
totalPercentStr := fmt.Sprintf("{\"status\":\"processing\", \"result\":\"export WeChat voice doing\", \"progress\": %d}", int(totalPercent))
|
totalPercentStr := fmt.Sprintf("{\"status\":\"processing\", \"result\":\"export WeChat voice doing\", \"progress\": %d}", int(totalPercent))
|
||||||
progress <- totalPercentStr
|
progress <- totalPercentStr
|
||||||
time.Sleep(time.Second)
|
time.Sleep(time.Second)
|
||||||
@@ -182,7 +302,7 @@ func exportWeChatVoice(info WeChatInfo, expPath string, progress chan<- string)
|
|||||||
wg.Wait()
|
wg.Wait()
|
||||||
close(quitChan)
|
close(quitChan)
|
||||||
reportWg.Wait()
|
reportWg.Wait()
|
||||||
progress <- "{\"status\":\"processing\", \"result\":\"export WeChat voice end\", \"progress\": 100}"
|
progress <- "{\"status\":\"processing\", \"result\":\"export WeChat voice end\", \"progress\": 80}"
|
||||||
}
|
}
|
||||||
|
|
||||||
func exportWeChatVideoAndFile(info WeChatInfo, expPath string, progress chan<- string) {
|
func exportWeChatVideoAndFile(info WeChatInfo, expPath string, progress chan<- string) {
|
||||||
@@ -793,3 +913,31 @@ func getPathFileNumber(targetPath string, fileSuffix string) int64 {
|
|||||||
|
|
||||||
return number
|
return number
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func ExportWeChatHeadImage(exportPath string) {
|
||||||
|
progress := make(chan string)
|
||||||
|
info := WeChatInfo{}
|
||||||
|
|
||||||
|
miscDBPath := fmt.Sprintf("%s\\Msg\\Misc.db", exportPath)
|
||||||
|
_, err := os.Stat(miscDBPath)
|
||||||
|
if err != nil {
|
||||||
|
log.Println("no exist:", miscDBPath)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
headImgPath := fmt.Sprintf("%s\\FileStorage\\HeadImage", exportPath)
|
||||||
|
if _, err := os.Stat(headImgPath); err == nil {
|
||||||
|
log.Println("has HeadImage")
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
go func() {
|
||||||
|
exportWeChatHeadImage(info, exportPath, progress)
|
||||||
|
close(progress)
|
||||||
|
}()
|
||||||
|
|
||||||
|
for p := range progress {
|
||||||
|
log.Println(p)
|
||||||
|
}
|
||||||
|
log.Println("ExportWeChatHeadImage done")
|
||||||
|
}
|
||||||
@@ -67,6 +67,8 @@ type WeChatUserInfo struct {
|
|||||||
NickName string `json:"NickName"`
|
NickName string `json:"NickName"`
|
||||||
SmallHeadImgUrl string `json:"SmallHeadImgUrl"`
|
SmallHeadImgUrl string `json:"SmallHeadImgUrl"`
|
||||||
BigHeadImgUrl string `json:"BigHeadImgUrl"`
|
BigHeadImgUrl string `json:"BigHeadImgUrl"`
|
||||||
|
LocalHeadImgUrl string `json:"LocalHeadImgUrl"`
|
||||||
|
IsGroup bool `json:"IsGroup"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type WeChatSession struct {
|
type WeChatSession struct {
|
||||||
@@ -75,7 +77,7 @@ type WeChatSession struct {
|
|||||||
Content string `json:"Content"`
|
Content string `json:"Content"`
|
||||||
UserInfo WeChatUserInfo `json:"UserInfo"`
|
UserInfo WeChatUserInfo `json:"UserInfo"`
|
||||||
Time uint64 `json:"Time"`
|
Time uint64 `json:"Time"`
|
||||||
IsGroup bool `json:IsGroup`
|
IsGroup bool `json:"IsGroup"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type WeChatSessionList struct {
|
type WeChatSessionList struct {
|
||||||
@@ -144,6 +146,19 @@ type WeChatUserList struct {
|
|||||||
Total int `json:"Total"`
|
Total int `json:"Total"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type WeChatContact struct {
|
||||||
|
WeChatUserInfo
|
||||||
|
PYInitial string
|
||||||
|
QuanPin string
|
||||||
|
RemarkPYInitial string
|
||||||
|
RemarkQuanPin string
|
||||||
|
}
|
||||||
|
|
||||||
|
type WeChatContactList struct {
|
||||||
|
Users []WeChatContact `json:"Users"`
|
||||||
|
Total int `json:"Total"`
|
||||||
|
}
|
||||||
|
|
||||||
type WeChatAccountInfo struct {
|
type WeChatAccountInfo struct {
|
||||||
AccountName string `json:"AccountName"`
|
AccountName string `json:"AccountName"`
|
||||||
AliasName string `json:"AliasName"`
|
AliasName string `json:"AliasName"`
|
||||||
@@ -151,6 +166,7 @@ type WeChatAccountInfo struct {
|
|||||||
NickName string `json:"NickName"`
|
NickName string `json:"NickName"`
|
||||||
SmallHeadImgUrl string `json:"SmallHeadImgUrl"`
|
SmallHeadImgUrl string `json:"SmallHeadImgUrl"`
|
||||||
BigHeadImgUrl string `json:"BigHeadImgUrl"`
|
BigHeadImgUrl string `json:"BigHeadImgUrl"`
|
||||||
|
LocalHeadImgUrl string `json:"LocalHeadImgUrl"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type wechatMsgDB struct {
|
type wechatMsgDB struct {
|
||||||
@@ -161,14 +177,16 @@ type wechatMsgDB struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type WechatDataProvider struct {
|
type WechatDataProvider struct {
|
||||||
resPath string
|
resPath string
|
||||||
microMsg *sql.DB
|
prefixResPath string
|
||||||
|
microMsg *sql.DB
|
||||||
|
|
||||||
msgDBs []*wechatMsgDB
|
msgDBs []*wechatMsgDB
|
||||||
userInfoMap map[string]WeChatUserInfo
|
userInfoMap map[string]WeChatUserInfo
|
||||||
userInfoMtx sync.Mutex
|
userInfoMtx sync.Mutex
|
||||||
|
|
||||||
SelfInfo *WeChatUserInfo
|
SelfInfo *WeChatUserInfo
|
||||||
|
ContactList *WeChatContactList
|
||||||
}
|
}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
@@ -181,13 +199,40 @@ func (a byTime) Len() int { return len(a) }
|
|||||||
func (a byTime) Less(i, j int) bool { return a[i].startTime > a[j].startTime }
|
func (a byTime) Less(i, j int) bool { return a[i].startTime > a[j].startTime }
|
||||||
func (a byTime) Swap(i, j int) { a[i], a[j] = a[j], a[i] }
|
func (a byTime) Swap(i, j int) { a[i], a[j] = a[j], a[i] }
|
||||||
|
|
||||||
func CreateWechatDataProvider(resPath string) (*WechatDataProvider, error) {
|
type byName []WeChatContact
|
||||||
|
|
||||||
|
func (c byName) Len() int { return len(c) }
|
||||||
|
func (c byName) Less(i, j int) bool {
|
||||||
|
var a, b string
|
||||||
|
if c[i].RemarkQuanPin != "" {
|
||||||
|
a = c[i].RemarkQuanPin
|
||||||
|
} else {
|
||||||
|
a = c[i].QuanPin
|
||||||
|
}
|
||||||
|
|
||||||
|
if c[j].RemarkQuanPin != "" {
|
||||||
|
b = c[j].RemarkQuanPin
|
||||||
|
} else {
|
||||||
|
b = c[j].QuanPin
|
||||||
|
}
|
||||||
|
|
||||||
|
return strings.Compare(a, b) < 0
|
||||||
|
}
|
||||||
|
func (c byName) Swap(i, j int) { c[i], c[j] = c[j], c[i] }
|
||||||
|
|
||||||
|
func CreateWechatDataProvider(resPath string, prefixRes string) (*WechatDataProvider, error) {
|
||||||
provider := &WechatDataProvider{}
|
provider := &WechatDataProvider{}
|
||||||
provider.resPath = resPath
|
provider.resPath = resPath
|
||||||
|
provider.prefixResPath = prefixRes
|
||||||
provider.msgDBs = make([]*wechatMsgDB, 0)
|
provider.msgDBs = make([]*wechatMsgDB, 0)
|
||||||
log.Println(resPath)
|
log.Println(resPath)
|
||||||
|
|
||||||
userName := filepath.Base(resPath)
|
userName := filepath.Base(resPath)
|
||||||
MicroMsgDBPath := resPath + "\\Msg\\" + MicroMsgDB
|
MicroMsgDBPath := resPath + "\\Msg\\" + MicroMsgDB
|
||||||
|
if _, err := os.Stat(MicroMsgDBPath); err != nil {
|
||||||
|
log.Println("CreateWechatDataProvider failed", MicroMsgDBPath, err)
|
||||||
|
return provider, err
|
||||||
|
}
|
||||||
microMsg, err := sql.Open("sqlite3", MicroMsgDBPath)
|
microMsg, err := sql.Open("sqlite3", MicroMsgDBPath)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Printf("open db %s error: %v", MicroMsgDBPath, err)
|
log.Printf("open db %s error: %v", MicroMsgDBPath, err)
|
||||||
@@ -217,11 +262,19 @@ func CreateWechatDataProvider(resPath string) (*WechatDataProvider, error) {
|
|||||||
}
|
}
|
||||||
provider.userInfoMap = make(map[string]WeChatUserInfo)
|
provider.userInfoMap = make(map[string]WeChatUserInfo)
|
||||||
provider.microMsg = microMsg
|
provider.microMsg = microMsg
|
||||||
provider.SelfInfo, err = provider.WechatGetUserInfoByName(userName)
|
provider.SelfInfo, err = provider.WechatGetUserInfoByNameOnCache(userName)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Printf("WechatGetUserInfoByName %s failed: %v", userName, err)
|
log.Printf("WechatGetUserInfoByName %s failed: %v", userName, err)
|
||||||
return provider, err
|
return provider, err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
provider.ContactList, err = provider.wechatGetAllContact()
|
||||||
|
if err != nil {
|
||||||
|
log.Println("wechatGetAllContact failed", err)
|
||||||
|
return provider, err
|
||||||
|
}
|
||||||
|
sort.Sort(byName(provider.ContactList.Users))
|
||||||
|
log.Println("Contact number:", provider.ContactList.Total)
|
||||||
provider.userInfoMap[userName] = *provider.SelfInfo
|
provider.userInfoMap[userName] = *provider.SelfInfo
|
||||||
log.Println("resPath:", provider.resPath)
|
log.Println("resPath:", provider.resPath)
|
||||||
return provider, nil
|
return provider, nil
|
||||||
@@ -256,7 +309,7 @@ func (P *WechatDataProvider) WechatGetUserInfoByName(name string) (*WeChatUserIn
|
|||||||
return info, err
|
return info, err
|
||||||
}
|
}
|
||||||
|
|
||||||
log.Printf("UserName %s, Alias %s, ReMark %s, NickName %s\n", UserName, Alias, ReMark, NickName)
|
// log.Printf("UserName %s, Alias %s, ReMark %s, NickName %s\n", UserName, Alias, ReMark, NickName)
|
||||||
|
|
||||||
var smallHeadImgUrl, bigHeadImgUrl string
|
var smallHeadImgUrl, bigHeadImgUrl string
|
||||||
querySql = fmt.Sprintf("select ifnull(smallHeadImgUrl,'') as smallHeadImgUrl, ifnull(bigHeadImgUrl,'') as bigHeadImgUrl from ContactHeadImgUrl where usrName='%s';", UserName)
|
querySql = fmt.Sprintf("select ifnull(smallHeadImgUrl,'') as smallHeadImgUrl, ifnull(bigHeadImgUrl,'') as bigHeadImgUrl from ContactHeadImgUrl where usrName='%s';", UserName)
|
||||||
@@ -272,7 +325,13 @@ func (P *WechatDataProvider) WechatGetUserInfoByName(name string) (*WeChatUserIn
|
|||||||
info.NickName = NickName
|
info.NickName = NickName
|
||||||
info.SmallHeadImgUrl = smallHeadImgUrl
|
info.SmallHeadImgUrl = smallHeadImgUrl
|
||||||
info.BigHeadImgUrl = bigHeadImgUrl
|
info.BigHeadImgUrl = bigHeadImgUrl
|
||||||
|
info.IsGroup = strings.HasSuffix(UserName, "@chatroom")
|
||||||
|
|
||||||
|
localHeadImgPath := fmt.Sprintf("%s\\FileStorage\\HeadImage\\%s.headimg", P.resPath, name)
|
||||||
|
relativePath := fmt.Sprintf("%s\\FileStorage\\HeadImage\\%s.headimg", P.prefixResPath, name)
|
||||||
|
if _, err = os.Stat(localHeadImgPath); err == nil {
|
||||||
|
info.LocalHeadImgUrl = relativePath
|
||||||
|
}
|
||||||
// log.Println(info)
|
// log.Println(info)
|
||||||
return info, nil
|
return info, nil
|
||||||
}
|
}
|
||||||
@@ -299,7 +358,7 @@ func (P *WechatDataProvider) WeChatGetSessionList(pageIndex int, pageSize int) (
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
if len(strContent) == 0 {
|
if len(strContent) == 0 {
|
||||||
log.Printf("%s cotent nil\n", strUsrName)
|
// log.Printf("%s cotent nil\n", strUsrName)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -308,7 +367,7 @@ func (P *WechatDataProvider) WeChatGetSessionList(pageIndex int, pageSize int) (
|
|||||||
session.Content = strContent
|
session.Content = strContent
|
||||||
session.Time = nTime
|
session.Time = nTime
|
||||||
session.IsGroup = strings.HasSuffix(strUsrName, "@chatroom")
|
session.IsGroup = strings.HasSuffix(strUsrName, "@chatroom")
|
||||||
info, err := P.WechatGetUserInfoByName(strUsrName)
|
info, err := P.WechatGetUserInfoByNameOnCache(strUsrName)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Printf("WechatGetUserInfoByName %s failed\n", strUsrName)
|
log.Printf("WechatGetUserInfoByName %s failed\n", strUsrName)
|
||||||
continue
|
continue
|
||||||
@@ -321,6 +380,29 @@ func (P *WechatDataProvider) WeChatGetSessionList(pageIndex int, pageSize int) (
|
|||||||
return List, nil
|
return List, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (P *WechatDataProvider) WeChatGetContactList(pageIndex int, pageSize int) (*WeChatUserList, error) {
|
||||||
|
List := &WeChatUserList{}
|
||||||
|
List.Users = make([]WeChatUserInfo, 0)
|
||||||
|
|
||||||
|
if P.ContactList.Total <= pageIndex*pageSize {
|
||||||
|
return List, nil
|
||||||
|
}
|
||||||
|
end := (pageIndex * pageSize) + pageSize
|
||||||
|
if end > P.ContactList.Total {
|
||||||
|
end = P.ContactList.Total
|
||||||
|
}
|
||||||
|
|
||||||
|
log.Printf("P.ContactList.Total %d, start %d, end %d", P.ContactList.Total, pageIndex*pageSize, end)
|
||||||
|
var info WeChatUserInfo
|
||||||
|
for _, contact := range P.ContactList.Users[pageIndex*pageSize : end] {
|
||||||
|
info = contact.WeChatUserInfo
|
||||||
|
List.Users = append(List.Users, info)
|
||||||
|
List.Total += 1
|
||||||
|
}
|
||||||
|
|
||||||
|
return List, nil
|
||||||
|
}
|
||||||
|
|
||||||
func (P *WechatDataProvider) WeChatGetMessageListByTime(userName string, time int64, pageSize int, direction Message_Search_Direction) (*WeChatMessageList, error) {
|
func (P *WechatDataProvider) WeChatGetMessageListByTime(userName string, time int64, pageSize int, direction Message_Search_Direction) (*WeChatMessageList, error) {
|
||||||
|
|
||||||
List := &WeChatMessageList{}
|
List := &WeChatMessageList{}
|
||||||
@@ -583,23 +665,23 @@ func (P *WechatDataProvider) wechatMessageExtraHandle(msg *WeChatMessage) {
|
|||||||
}
|
}
|
||||||
case 3:
|
case 3:
|
||||||
if len(ext.Field2) > 0 && (msg.Type == Wechat_Message_Type_Picture || msg.Type == Wechat_Message_Type_Video || msg.Type == Wechat_Message_Type_Misc) {
|
if len(ext.Field2) > 0 && (msg.Type == Wechat_Message_Type_Picture || msg.Type == Wechat_Message_Type_Video || msg.Type == Wechat_Message_Type_Misc) {
|
||||||
msg.ThumbPath = P.resPath + ext.Field2[len(P.SelfInfo.UserName):]
|
msg.ThumbPath = P.prefixResPath + ext.Field2[len(P.SelfInfo.UserName):]
|
||||||
}
|
}
|
||||||
case 4:
|
case 4:
|
||||||
if len(ext.Field2) > 0 {
|
if len(ext.Field2) > 0 {
|
||||||
if msg.Type == Wechat_Message_Type_Misc && msg.SubType == Wechat_Misc_Message_File {
|
if msg.Type == Wechat_Message_Type_Misc && msg.SubType == Wechat_Misc_Message_File {
|
||||||
msg.FileInfo.FilePath = P.resPath + ext.Field2[len(P.SelfInfo.UserName):]
|
msg.FileInfo.FilePath = P.prefixResPath + ext.Field2[len(P.SelfInfo.UserName):]
|
||||||
msg.FileInfo.FileName = filepath.Base(ext.Field2)
|
msg.FileInfo.FileName = filepath.Base(ext.Field2)
|
||||||
} else if msg.Type == Wechat_Message_Type_Picture || msg.Type == Wechat_Message_Type_Video || msg.Type == Wechat_Message_Type_Misc {
|
} else if msg.Type == Wechat_Message_Type_Picture || msg.Type == Wechat_Message_Type_Video || msg.Type == Wechat_Message_Type_Misc {
|
||||||
msg.ImagePath = P.resPath + ext.Field2[len(P.SelfInfo.UserName):]
|
msg.ImagePath = P.prefixResPath + ext.Field2[len(P.SelfInfo.UserName):]
|
||||||
msg.VideoPath = P.resPath + ext.Field2[len(P.SelfInfo.UserName):]
|
msg.VideoPath = P.prefixResPath + ext.Field2[len(P.SelfInfo.UserName):]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if msg.Type == Wechat_Message_Type_Voice {
|
if msg.Type == Wechat_Message_Type_Voice {
|
||||||
msg.VoicePath = fmt.Sprintf("%s\\FileStorage\\Voice\\%d.mp3", P.resPath, msg.MsgSvrId)
|
msg.VoicePath = fmt.Sprintf("%s\\FileStorage\\Voice\\%d.mp3", P.prefixResPath, msg.MsgSvrId)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -892,7 +974,50 @@ func (P *WechatDataProvider) WechatGetUserInfoByNameOnCache(name string) (*WeCha
|
|||||||
return pinfo, nil
|
return pinfo, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func WechatGetAccountInfo(resPath, accountName string) (*WeChatAccountInfo, error) {
|
func (P *WechatDataProvider) wechatGetAllContact() (*WeChatContactList, error) {
|
||||||
|
List := &WeChatContactList{}
|
||||||
|
List.Users = make([]WeChatContact, 0)
|
||||||
|
|
||||||
|
querySql := fmt.Sprintf("select ifnull(UserName,'') as UserName,Reserved1,Reserved2,ifnull(PYInitial,'') as PYInitial,ifnull(QuanPin,'') as QuanPin,ifnull(RemarkPYInitial,'') as RemarkPYInitial,ifnull(RemarkQuanPin,'') as RemarkQuanPin from Contact desc;")
|
||||||
|
dbRows, err := P.microMsg.Query(querySql)
|
||||||
|
if err != nil {
|
||||||
|
log.Println(err)
|
||||||
|
return List, err
|
||||||
|
}
|
||||||
|
defer dbRows.Close()
|
||||||
|
|
||||||
|
var UserName string
|
||||||
|
var Reserved1, Reserved2 int
|
||||||
|
for dbRows.Next() {
|
||||||
|
var Contact WeChatContact
|
||||||
|
err = dbRows.Scan(&UserName, &Reserved1, &Reserved2, &Contact.PYInitial, &Contact.QuanPin, &Contact.RemarkPYInitial, &Contact.RemarkQuanPin)
|
||||||
|
if err != nil {
|
||||||
|
log.Println(err)
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
|
||||||
|
if Reserved1 != 1 || Reserved2 != 1 {
|
||||||
|
// log.Printf("%s is not your contact", UserName)
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
info, err := P.WechatGetUserInfoByNameOnCache(UserName)
|
||||||
|
if err != nil {
|
||||||
|
log.Printf("WechatGetUserInfoByName %s failed\n", UserName)
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
|
||||||
|
if info.NickName == "" && info.ReMark == "" {
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
Contact.WeChatUserInfo = *info
|
||||||
|
List.Users = append(List.Users, Contact)
|
||||||
|
List.Total += 1
|
||||||
|
}
|
||||||
|
|
||||||
|
return List, nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func WechatGetAccountInfo(resPath, prefixRes, accountName string) (*WeChatAccountInfo, error) {
|
||||||
MicroMsgDBPath := resPath + "\\Msg\\" + MicroMsgDB
|
MicroMsgDBPath := resPath + "\\Msg\\" + MicroMsgDB
|
||||||
if _, err := os.Stat(MicroMsgDBPath); err != nil {
|
if _, err := os.Stat(MicroMsgDBPath); err != nil {
|
||||||
log.Println("MicroMsgDBPath:", MicroMsgDBPath, err)
|
log.Println("MicroMsgDBPath:", MicroMsgDBPath, err)
|
||||||
@@ -934,6 +1059,11 @@ func WechatGetAccountInfo(resPath, accountName string) (*WeChatAccountInfo, erro
|
|||||||
info.SmallHeadImgUrl = smallHeadImgUrl
|
info.SmallHeadImgUrl = smallHeadImgUrl
|
||||||
info.BigHeadImgUrl = bigHeadImgUrl
|
info.BigHeadImgUrl = bigHeadImgUrl
|
||||||
|
|
||||||
|
localHeadImgPath := fmt.Sprintf("%s\\FileStorage\\HeadImage\\%s.headimg", resPath, accountName)
|
||||||
|
relativePath := fmt.Sprintf("%s\\FileStorage\\HeadImage\\%s.headimg", prefixRes, accountName)
|
||||||
|
if _, err = os.Stat(localHeadImgPath); err == nil {
|
||||||
|
info.LocalHeadImgUrl = relativePath
|
||||||
|
}
|
||||||
// log.Println(info)
|
// log.Println(info)
|
||||||
return info, nil
|
return info, nil
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user