diff --git a/CHANGELOG.md b/CHANGELOG.md index 8e771cd..5d9602e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,14 @@ +## [1.2.1](https://github.com/chaos-zhu/easynode/releases) (2022-12-12) + +### Features + +* 新增支持终端长命令输入模式 ✔ +* 新增前端静态文件缓存 ✔ + +### Bug Fixes + +* v1.2的若干bug... + ## [1.2.0](https://github.com/chaos-zhu/easynode/releases) (2022-09-12) ### Features diff --git a/Q&A.md b/Q&A.md index 3e74695..d5d0d48 100644 --- a/Q&A.md +++ b/Q&A.md @@ -1,14 +1,12 @@ -# 用于收集一些疑难杂症 +# Q&A -- **欢迎pr~** - -## 甲骨文CentOS7/8启动服务失败 +## CentOS7/8启动服务失败 > 先关闭SELinux ```shell vi /etc/selinux/config -SELINUX=enforcing +SELINUX=enforcing // 修改为禁用 SELINUX=disabled ``` @@ -17,6 +15,6 @@ SELINUX=disabled > 查看SELinux状态:sestatus -## 甲骨文ubuntu20.04客户端服务启动成功,无法连接? +## 客户端服务启动成功,无法连接? > 端口未开放:`iptables -I INPUT -s 0.0.0.0/0 -p tcp --dport 22022 -j ACCEPT` 或者 `rm -rf /etc/iptables && reboot` diff --git a/README.md b/README.md index 442eb56..96dca4f 100644 --- a/README.md +++ b/README.md @@ -42,12 +42,10 @@ - 依赖Node.js环境 -- 占用端口:8082(http端口)、8083(https端口)、22022(客户端端口) +- 占用端口:8082(http端口)、22022(客户端端口) - 建议使用**境外服务器**(最好延迟低)安装服务端,客户端信息监控与webssh功能都将以`该服务器作为跳板机` -- https服务需自行配置证书,或者使用`nginx反代`解决(推荐) - #### Docker镜像 > 注意:网速统计功能可能受限,docker网络将使用host模式(与宿主机共享端口,占用: 8082、22022) @@ -88,12 +86,6 @@ wget -qO- --no-check-certificate https://ghproxy.com/https://raw.githubuserconte - 默认登录密码:admin(首次部署完成后请及时修改). -6. 部署https服务 -- 部署https服务需要自己上传域名证书至`\server\app\config\pem`,并且证书和私钥分别命名:`key.pem`和`cert.pem` -- 配置域名:vim server/app/config/index.js 在domain字段中填写你解析到服务器的域名 -- pm2 restart easynode-server -- 不出意外你就可以访问https服务:https://domain:8083 - --- ### 客户端安装 diff --git a/client/bin/www b/client/bin/www old mode 100644 new mode 100755 diff --git a/easynode-client-install-x86.sh b/easynode-client-install-x86.sh index 8050a5a..86073ea 100644 --- a/easynode-client-install-x86.sh +++ b/easynode-client-install-x86.sh @@ -73,9 +73,16 @@ mv ${FILE_PATH}/${SERVER_NAME}.service ${SERVICE_PATH} # echo "***********************daemon-reload***********************" systemctl daemon-reload -echo "***********************启动服务***********************" +echo "***********************准备启动服务***********************" systemctl start ${SERVER_NAME} +if [ $? != 0 ] +then + echo "***********************${SERVER_NAME}.service启动失败***********************" + echo "***********************可能是服务器开启了SELinux, 参见Q&A***********************" + exit 1 +fi +echo "***********************服务启动成功***********************" # echo "***********************设置开机启动***********************" systemctl enable ${SERVER_NAME} diff --git a/server/app/config/index.js b/server/app/config/index.js index 5154fdc..cb63a64 100644 --- a/server/app/config/index.js +++ b/server/app/config/index.js @@ -1,25 +1,11 @@ const path = require('path') -const fs = require('fs') -const getCertificate =() => { - try { - return { - cert: fs.readFileSync(path.join(__dirname, './pem/cert.pem')), - key: fs.readFileSync(path.join(__dirname, './pem/key.pem')) - } - } catch (error) { - return null - } -} module.exports = { - domain: 'xxx.com', // https域名, 可不配置 httpPort: 8082, - httpsPort: 8083, clientPort: 22022, // 勿更改 - certificate: getCertificate(), uploadDir: path.join(process.cwd(),'app/static/upload'), staticDir: path.join(process.cwd(),'app/static'), - sftpCacheDir: path.join(process.cwd(),'app/socket/.sftp-cache'), + sftpCacheDir: path.join(process.cwd(),'app/socket/sftp-cache'), sshRecordPath: path.join(process.cwd(),'app/storage/ssh-record.json'), keyPath: path.join(process.cwd(),'app/storage/key.json'), hostListPath: path.join(process.cwd(),'app/storage/host-list.json'), diff --git a/server/app/config/pem/.gitkeep b/server/app/config/pem/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/server/app/main.js b/server/app/main.js index 9aff616..58e141e 100644 --- a/server/app/main.js +++ b/server/app/main.js @@ -1,6 +1,6 @@ const consola = require('consola') global.consola = consola -const { httpServer, httpsServer, clientHttpServer } = require('./server') +const { httpServer, clientHttpServer } = require('./server') const initLocal = require('./init') const scheduleJob = require('./schedule') @@ -10,6 +10,4 @@ initLocal() httpServer() -httpsServer() - clientHttpServer() diff --git a/server/app/middlewares/body.js b/server/app/middlewares/body.js index c8b956b..382cccb 100644 --- a/server/app/middlewares/body.js +++ b/server/app/middlewares/body.js @@ -1,12 +1,12 @@ -const koaBody = require('koa-body') -const { uploadDir } = require('../config') - -module.exports = koaBody({ - multipart: true, // 支持 multipart-formdate 的表单 - formidable: { - uploadDir, // 上传目录 - keepExtensions: true, // 保持文件的后缀 - multipart: true, // 多文件上传 - maxFieldsSize: 2 * 1024 * 1024 // 文件上传大小 单位:B - } +const koaBody = require('koa-body') +const { uploadDir } = require('../config') + +module.exports = koaBody({ + multipart: true, // 支持 multipart-formdate 的表单 + formidable: { + uploadDir, // 上传目录 + keepExtensions: true, // 保持文件的后缀 + multipart: true, // 多文件上传 + maxFieldsSize: 2 * 1024 * 1024 // 文件上传大小 单位:B + } }) \ No newline at end of file diff --git a/server/app/middlewares/cors.js b/server/app/middlewares/cors.js index bd8d9cd..81f55a1 100644 --- a/server/app/middlewares/cors.js +++ b/server/app/middlewares/cors.js @@ -1,10 +1,8 @@ const cors = require('@koa/cors') -// const { domain } = require('../config') // 跨域处理 const useCors = cors({ origin: ({ req }) => { - // return domain || req.headers.origin return req.headers.origin }, credentials: true, diff --git a/server/app/middlewares/log4.js b/server/app/middlewares/log4.js index 02d439d..282b7b1 100644 --- a/server/app/middlewares/log4.js +++ b/server/app/middlewares/log4.js @@ -1,58 +1,58 @@ -const log4js = require('log4js') -const { outDir, recordLog } = require('../config').logConfig - -log4js.configure({ - appenders: { - // 控制台输出 - out: { - type: 'stdout', - layout: { - type: 'colored' - } - }, - // 保存日志文件 - cheese: { - type: 'file', - maxLogSize: 512*1024, // unit: bytes 1KB = 1024bytes - filename: `${ outDir }/receive.log` - } - }, - categories: { - default: { - appenders: [ 'out', 'cheese' ], // 配置 - level: 'info' // 只输出info以上级别的日志 - } - } - // pm2: true -}) - -const logger = log4js.getLogger() - -const useLog = () => { - return async (ctx, next) => { - const { method, path, origin, query, body, headers, ip } = ctx.request - const data = { - method, - path, - origin, - query, - body, - ip, - headers - } - await next() // 等待路由处理完成,再开始记录日志 - // 是否记录日志 - if (recordLog) { - const { status, params } = ctx - data.status = status - data.params = params - data.result = ctx.body || 'no content' - if (String(status).startsWith(4) || String(status).startsWith(5)) - logger.error(JSON.stringify(data)) - else - logger.info(JSON.stringify(data)) - } - } -} - +const log4js = require('log4js') +const { outDir, recordLog } = require('../config').logConfig + +log4js.configure({ + appenders: { + // 控制台输出 + out: { + type: 'stdout', + layout: { + type: 'colored' + } + }, + // 保存日志文件 + cheese: { + type: 'file', + maxLogSize: 512*1024, // unit: bytes 1KB = 1024bytes + filename: `${ outDir }/receive.log` + } + }, + categories: { + default: { + appenders: [ 'out', 'cheese' ], // 配置 + level: 'info' // 只输出info以上级别的日志 + } + } + // pm2: true +}) + +const logger = log4js.getLogger() + +const useLog = () => { + return async (ctx, next) => { + const { method, path, origin, query, body, headers, ip } = ctx.request + const data = { + method, + path, + origin, + query, + body, + ip, + headers + } + await next() // 等待路由处理完成,再开始记录日志 + // 是否记录日志 + if (recordLog) { + const { status, params } = ctx + data.status = status + data.params = params + data.result = ctx.body || 'no content' + if (String(status).startsWith(4) || String(status).startsWith(5)) + logger.error(JSON.stringify(data)) + else + logger.info(JSON.stringify(data)) + } + } +} + module.exports = useLog() \ No newline at end of file diff --git a/server/app/middlewares/router.js b/server/app/middlewares/router.js index 8f4daa5..3389a14 100644 --- a/server/app/middlewares/router.js +++ b/server/app/middlewares/router.js @@ -1,13 +1,13 @@ -const router = require('../router') - -// 路由中间件 -const useRoutes = router.routes() -// 优化错误提示中间件 -// 原先如果请求方法错误响应404 -// 使用该中间件后请求方法错误会提示405 Method Not Allowed【get list ✔200 post /list ❌405】 -const useAllowedMethods = router.allowedMethods() - -module.exports = { - useRoutes, - useAllowedMethods -} +const router = require('../router') + +// 路由中间件 +const useRoutes = router.routes() +// 优化错误提示中间件 +// 原先如果请求方法错误响应404 +// 使用该中间件后请求方法错误会提示405 Method Not Allowed【get list ✔200 post /list ❌405】 +const useAllowedMethods = router.allowedMethods() + +module.exports = { + useRoutes, + useAllowedMethods +} diff --git a/server/app/middlewares/static.js b/server/app/middlewares/static.js index 891604e..11542fc 100644 --- a/server/app/middlewares/static.js +++ b/server/app/middlewares/static.js @@ -1,14 +1,14 @@ -const koaStatic = require('koa-static') -const { staticDir } = require('../config') - -const useStatic = koaStatic(staticDir, { - maxage: 1000 * 60 * 60 * 24 * 30, - gzip: true, - setHeaders: (res, path) => { - if(path && path.endsWith('.html')) { - res.setHeader('Cache-Control', 'max-age=0') - } - } -}) - -module.exports = useStatic +const koaStatic = require('koa-static') +const { staticDir } = require('../config') + +const useStatic = koaStatic(staticDir, { + maxage: 1000 * 60 * 60 * 24 * 30, + gzip: true, + setHeaders: (res, path) => { + if(path && path.endsWith('.html')) { + res.setHeader('Cache-Control', 'max-age=0') + } + } +}) + +module.exports = useStatic diff --git a/server/app/server.js b/server/app/server.js index 4b69050..4007f8c 100644 --- a/server/app/server.js +++ b/server/app/server.js @@ -1,68 +1,55 @@ -const Koa = require('koa') -const compose = require('koa-compose') // 组合中间件,简化写法 -const http = require('http') -const https = require('https') -const { clientPort } = require('./config') -const { domain, httpPort, httpsPort, certificate } = require('./config') -const middlewares = require('./middlewares') -const wsMonitorOsInfo = require('./socket/monitor') -const wsTerminal = require('./socket/terminal') -const wsSftp = require('./socket/sftp') -const wsHostStatus = require('./socket/host-status') -const wsClientInfo = require('./socket/clients') -const { throwError } = require('./utils') - -const httpServer = () => { - const app = new Koa() - const server = http.createServer(app.callback()) - serverHandler(app, server) - // ws一直报跨域的错误:参照官方文档使用createServer API创建服务 - server.listen(process.env.PORT || httpPort, () => { - consola.success(`Server(http) is running on: http://localhost:${ httpPort }`) - }) -} - -const httpsServer = () => { - if(!certificate) return consola.error('未上传证书, 创建https服务失败') - const app = new Koa() - const server = https.createServer(certificate, app.callback()) - serverHandler(app, server) - server.listen(httpsPort, (err) => { - if (err) return consola.error('https server error: ', err) - consola.success(`Server(https) is running: https://${ domain }:${ httpsPort }`) - }) -} - -const clientHttpServer = () => { - const app = new Koa() - const server = http.createServer(app.callback()) - wsMonitorOsInfo(server) // 监控本机信息 - server.listen(clientPort, () => { - consola.success(`Client(http) is running on: http://localhost:${ clientPort }`) - }) -} - -// 服务 -function serverHandler(app, server) { - app.proxy = true // 用于nginx反代时获取真实客户端ip - wsTerminal(server) // 终端 - wsSftp(server) // sftp - wsHostStatus(server) // 终端侧边栏host信息 - wsClientInfo(server) // 客户端信息 - app.context.throwError = throwError // 常用方法挂载全局ctx上 - app.use(compose(middlewares)) - // 捕获error.js模块抛出的服务错误 - app.on('error', (err, ctx) => { - ctx.status = 500 - ctx.body = { - status: ctx.status, - message: `Program Error:${ err.message }` - } - }) -} - -module.exports = { - httpServer, - httpsServer, - clientHttpServer -} +const Koa = require('koa') +const compose = require('koa-compose') // 组合中间件,简化写法 +const http = require('http') +const { clientPort } = require('./config') +const { httpPort } = require('./config') +const middlewares = require('./middlewares') +const wsMonitorOsInfo = require('./socket/monitor') +const wsTerminal = require('./socket/terminal') +const wsSftp = require('./socket/sftp') +const wsHostStatus = require('./socket/host-status') +const wsClientInfo = require('./socket/clients') +const { throwError } = require('./utils') + +const httpServer = () => { + const app = new Koa() + const server = http.createServer(app.callback()) + serverHandler(app, server) + // ws一直报跨域的错误:参照官方文档使用createServer API创建服务 + server.listen(httpPort, () => { + consola.success(`Server(http) is running on: http://localhost:${ httpPort }`) + }) +} + +const clientHttpServer = () => { + const app = new Koa() + const server = http.createServer(app.callback()) + wsMonitorOsInfo(server) // 监控本机信息 + server.listen(clientPort, () => { + consola.success(`Client(http) is running on: http://localhost:${ clientPort }`) + }) +} + +// 服务 +function serverHandler(app, server) { + app.proxy = true // 用于nginx反代时获取真实客户端ip + wsTerminal(server) // 终端 + wsSftp(server) // sftp + wsHostStatus(server) // 终端侧边栏host信息 + wsClientInfo(server) // 客户端信息 + app.context.throwError = throwError // 常用方法挂载全局ctx上 + app.use(compose(middlewares)) + // 捕获error.js模块抛出的服务错误 + app.on('error', (err, ctx) => { + ctx.status = 500 + ctx.body = { + status: ctx.status, + message: `Program Error:${ err.message }` + } + }) +} + +module.exports = { + httpServer, + clientHttpServer +} \ No newline at end of file diff --git a/server/app/socket/.sftp-cache/.gitkeep b/server/app/socket/.sftp-cache/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/server/app/socket/host-status.js b/server/app/socket/host-status.js index 9c35c27..9524721 100644 --- a/server/app/socket/host-status.js +++ b/server/app/socket/host-status.js @@ -1,74 +1,74 @@ -const { Server: ServerIO } = require('socket.io') -const { io: ClientIO } = require('socket.io-client') -const { clientPort } = require('../config') -const { verifyAuth } = require('../utils') - -let hostSockets = {} - -function getHostInfo(serverSocket, host) { - let hostSocket = ClientIO(`http://${ host }:${ clientPort }`, { - path: '/client/os-info', - forceNew: false, - timeout: 5000, - reconnectionDelay: 3000, - reconnectionAttempts: 100 - }) - // 将与客户端连接的socket实例保存起来,web端断开时关闭与客户端的连接 - hostSockets[serverSocket.id] = hostSocket - - hostSocket - .on('connect', () => { - consola.success('host-status-socket连接成功:', host) - hostSocket.on('client_data', (data) => { - serverSocket.emit('host_data', data) - }) - hostSocket.on('client_error', () => { - serverSocket.emit('host_data', null) - }) - }) - .on('connect_error', (error) => { - consola.error('host-status-socket连接[失败]:', host, error.message) - serverSocket.emit('host_data', null) - }) - .on('disconnect', () => { - consola.info('host-status-socket连接[断开]:', host) - serverSocket.emit('host_data', null) - }) -} - -module.exports = (httpServer) => { - const serverIo = new ServerIO(httpServer, { - path: '/host-status', - cors: { - origin: '*' // 需配置跨域 - } - }) - - serverIo.on('connection', (serverSocket) => { - // 前者兼容nginx反代, 后者兼容nodejs自身服务 - let clientIp = serverSocket.handshake.headers['x-forwarded-for'] || serverSocket.handshake.address - serverSocket.on('init_host_data', ({ token, host }) => { - // 校验登录态 - const { code, msg } = verifyAuth(token, clientIp) - if(code !== 1) { - serverSocket.emit('token_verify_fail', msg || '鉴权失败') - serverSocket.disconnect() - return - } - - // 获取客户端数据 - getHostInfo(serverSocket, host) - - consola.info('host-status-socket连接socketId: ', serverSocket.id, 'host-status-socket已连接数: ', Object.keys(hostSockets).length) - - // 关闭连接 - serverSocket.on('disconnect', () => { - // 当web端与服务端断开连接时, 服务端与每个客户端的socket也应该断开连接 - let socket = hostSockets[serverSocket.id] - socket.close && socket.close() - delete hostSockets[serverSocket.id] - consola.info('host-status-socket剩余连接数: ', Object.keys(hostSockets).length) - }) - }) - }) -} +const { Server: ServerIO } = require('socket.io') +const { io: ClientIO } = require('socket.io-client') +const { clientPort } = require('../config') +const { verifyAuth } = require('../utils') + +let hostSockets = {} + +function getHostInfo(serverSocket, host) { + let hostSocket = ClientIO(`http://${ host }:${ clientPort }`, { + path: '/client/os-info', + forceNew: false, + timeout: 5000, + reconnectionDelay: 3000, + reconnectionAttempts: 100 + }) + // 将与客户端连接的socket实例保存起来,web端断开时关闭与客户端的连接 + hostSockets[serverSocket.id] = hostSocket + + hostSocket + .on('connect', () => { + consola.success('host-status-socket连接成功:', host) + hostSocket.on('client_data', (data) => { + serverSocket.emit('host_data', data) + }) + hostSocket.on('client_error', () => { + serverSocket.emit('host_data', null) + }) + }) + .on('connect_error', (error) => { + consola.error('host-status-socket连接[失败]:', host, error.message) + serverSocket.emit('host_data', null) + }) + .on('disconnect', () => { + consola.info('host-status-socket连接[断开]:', host) + serverSocket.emit('host_data', null) + }) +} + +module.exports = (httpServer) => { + const serverIo = new ServerIO(httpServer, { + path: '/host-status', + cors: { + origin: '*' // 需配置跨域 + } + }) + + serverIo.on('connection', (serverSocket) => { + // 前者兼容nginx反代, 后者兼容nodejs自身服务 + let clientIp = serverSocket.handshake.headers['x-forwarded-for'] || serverSocket.handshake.address + serverSocket.on('init_host_data', ({ token, host }) => { + // 校验登录态 + const { code, msg } = verifyAuth(token, clientIp) + if(code !== 1) { + serverSocket.emit('token_verify_fail', msg || '鉴权失败') + serverSocket.disconnect() + return + } + + // 获取客户端数据 + getHostInfo(serverSocket, host) + + consola.info('host-status-socket连接socketId: ', serverSocket.id, 'host-status-socket已连接数: ', Object.keys(hostSockets).length) + + // 关闭连接 + serverSocket.on('disconnect', () => { + // 当web端与服务端断开连接时, 服务端与每个客户端的socket也应该断开连接 + let socket = hostSockets[serverSocket.id] + socket.close && socket.close() + delete hostSockets[serverSocket.id] + consola.info('host-status-socket剩余连接数: ', Object.keys(hostSockets).length) + }) + }) + }) +} diff --git a/server/app/socket/monitor.js b/server/app/socket/monitor.js index ee81438..b3cb1d9 100644 --- a/server/app/socket/monitor.js +++ b/server/app/socket/monitor.js @@ -1,71 +1,71 @@ -const { Server } = require('socket.io') -const schedule = require('node-schedule') -const axios = require('axios') -let getOsData = require('../utils/os-data') -const consola = require('consola') - -let serverSockets = {}, ipInfo = {}, osData = {} - -async function getIpInfo() { - try { - let { data } = await axios.get('http://ip-api.com/json?lang=zh-CN') - consola.success('getIpInfo Success: ', new Date()) - ipInfo = data - } catch (error) { - consola.error('getIpInfo Error: ', new Date(), error) - } -} - -function ipSchedule() { - let rule1 = new schedule.RecurrenceRule() - rule1.second = [0, 10, 20, 30, 40, 50] - schedule.scheduleJob(rule1, () => { - let { query, country, city } = ipInfo || {} - if(query && country && city) return - consola.success('Task: start getIpInfo', new Date()) - getIpInfo() - }) - - // 每日凌晨两点整,刷新ip信息(兼容动态ip服务器) - let rule2 = new schedule.RecurrenceRule() - rule2.hour = 2 - rule2.minute = 0 - rule2.second = 0 - schedule.scheduleJob(rule2, () => { - consola.info('Task: refresh ip info', new Date()) - getIpInfo() - }) -} - -ipSchedule() - -module.exports = (httpServer) => { - const serverIo = new Server(httpServer, { - path: '/client/os-info', - cors: { - origin: '*' - } - }) - - serverIo.on('connection', (socket) => { - // 存储对应websocket连接的定时器 - serverSockets[socket.id] = setInterval(async () => { - try { - osData = await getOsData() - socket && socket.emit('client_data', Object.assign(osData, { ipInfo })) - } catch (error) { - consola.error('客户端错误:', error) - socket && socket.emit('client_error', { error }) - } - }, 1000) - - socket.on('disconnect', () => { - // 断开时清楚对应的websocket连接 - if(serverSockets[socket.id]) clearInterval(serverSockets[socket.id]) - delete serverSockets[socket.id] - socket.close && socket.close() - socket = null - // console.log('断开socketId: ', socket.id, '剩余链接数: ', Object.keys(serverSockets).length) - }) - }) -} +const { Server } = require('socket.io') +const schedule = require('node-schedule') +const axios = require('axios') +let getOsData = require('../utils/os-data') +const consola = require('consola') + +let serverSockets = {}, ipInfo = {}, osData = {} + +async function getIpInfo() { + try { + let { data } = await axios.get('http://ip-api.com/json?lang=zh-CN') + consola.success('getIpInfo Success: ', new Date()) + ipInfo = data + } catch (error) { + consola.error('getIpInfo Error: ', new Date(), error) + } +} + +function ipSchedule() { + let rule1 = new schedule.RecurrenceRule() + rule1.second = [0, 10, 20, 30, 40, 50] + schedule.scheduleJob(rule1, () => { + let { query, country, city } = ipInfo || {} + if(query && country && city) return + consola.success('Task: start getIpInfo', new Date()) + getIpInfo() + }) + + // 每日凌晨两点整,刷新ip信息(兼容动态ip服务器) + let rule2 = new schedule.RecurrenceRule() + rule2.hour = 2 + rule2.minute = 0 + rule2.second = 0 + schedule.scheduleJob(rule2, () => { + consola.info('Task: refresh ip info', new Date()) + getIpInfo() + }) +} + +ipSchedule() + +module.exports = (httpServer) => { + const serverIo = new Server(httpServer, { + path: '/client/os-info', + cors: { + origin: '*' + } + }) + + serverIo.on('connection', (socket) => { + // 存储对应websocket连接的定时器 + serverSockets[socket.id] = setInterval(async () => { + try { + osData = await getOsData() + socket && socket.emit('client_data', Object.assign(osData, { ipInfo })) + } catch (error) { + consola.error('客户端错误:', error) + socket && socket.emit('client_error', { error }) + } + }, 1000) + + socket.on('disconnect', () => { + // 断开时清楚对应的websocket连接 + if(serverSockets[socket.id]) clearInterval(serverSockets[socket.id]) + delete serverSockets[socket.id] + socket.close && socket.close() + socket = null + // console.log('断开socketId: ', socket.id, '剩余链接数: ', Object.keys(serverSockets).length) + }) + }) +} diff --git a/server/app/socket/sftp.js b/server/app/socket/sftp.js index 1dd1797..bbb489d 100644 --- a/server/app/socket/sftp.js +++ b/server/app/socket/sftp.js @@ -109,21 +109,21 @@ function listenInput(sftpClient, socket) { socket.emit('sftp_error', error.message) } }) - // socket.on('up_file', async ({ targetPath, fullPath, name, file }) => { - // console.log({ targetPath, fullPath, name, file }) - // const exists = await sftpClient.exists(targetPath) - // if(!exists) return socket.emit('not_exists_dir', '文件夹不存在或当前不可访问') - // try { - // const localPath = rawPath.join(sftpCacheDir, name) - // fs.writeFileSync(localPath, file) - // let res = await sftpClient.fastPut(localPath, fullPath) - // consola.success('sftp上传成功: ', res) - // socket.emit('up_file_success', res) - // } catch (error) { - // consola.error('up_file Error', error.message) - // socket.emit('sftp_error', error.message) - // } - // }) + socket.on('up_file', async ({ targetPath, fullPath, name, file }) => { + console.log({ targetPath, fullPath, name, file }) + const exists = await sftpClient.exists(targetPath) + if(!exists) return socket.emit('not_exists_dir', '文件夹不存在或当前不可访问') + try { + const localPath = rawPath.join(sftpCacheDir, name) + fs.writeFileSync(localPath, file) + let res = await sftpClient.fastPut(localPath, fullPath) + consola.success('sftp上传成功: ', res) + socket.emit('up_file_success', res) + } catch (error) { + consola.error('up_file Error', error.message) + socket.emit('sftp_error', error.message) + } + }) /** 分片上传 */ // 1. 创建本地缓存文件夹 @@ -186,7 +186,7 @@ function listenInput(sftpClient, socket) { clearDir(resultDirPath, true) // 传服务器后移除文件夹及其文件 } catch (error) { consola.error('sftp上传失败: ', error.message) - socket.emit('sftp_error', error.message) + socket.emit('up_file_fail', error.message) clearDir(resultDirPath, true) // 传服务器后移除文件夹及其文件 } }) diff --git a/server/app/static/assets/index.eb5f280e.js b/server/app/static/assets/index.5de3ed69.js similarity index 73% rename from server/app/static/assets/index.eb5f280e.js rename to server/app/static/assets/index.5de3ed69.js index 52d5b0e..880a1aa 100644 --- a/server/app/static/assets/index.eb5f280e.js +++ b/server/app/static/assets/index.5de3ed69.js @@ -1,134 +1,135 @@ -var OX=Object.defineProperty,hX=Object.defineProperties;var dX=Object.getOwnPropertyDescriptors;var aO=Object.getOwnPropertySymbols;var U1=Object.prototype.hasOwnProperty,D1=Object.prototype.propertyIsEnumerable;var q1=(t,e,n)=>e in t?OX(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,ze=(t,e)=>{for(var n in e||(e={}))U1.call(e,n)&&q1(t,n,e[n]);if(aO)for(var n of aO(e))D1.call(e,n)&&q1(t,n,e[n]);return t},Je=(t,e)=>hX(t,dX(e));var lO=(t,e)=>{var n={};for(var i in t)U1.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(t!=null&&aO)for(var i of aO(t))e.indexOf(i)<0&&D1.call(t,i)&&(n[i]=t[i]);return n};var pX=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var i1e=pX((Ei,Xi)=>{const mX=function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))i(r);new MutationObserver(r=>{for(const s of r)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&i(o)}).observe(document,{childList:!0,subtree:!0});function n(r){const s={};return r.integrity&&(s.integrity=r.integrity),r.referrerpolicy&&(s.referrerPolicy=r.referrerpolicy),r.crossorigin==="use-credentials"?s.credentials="include":r.crossorigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function i(r){if(r.ep)return;r.ep=!0;const s=n(r);fetch(r.href,s)}};mX();function py(t,e){const n=Object.create(null),i=t.split(",");for(let r=0;r!!n[r.toLowerCase()]:r=>!!n[r]}const gX="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",vX=py(gX);function cP(t){return!!t||t===""}function tt(t){if(Fe(t)){const e={};for(let n=0;n{if(n){const i=n.split($X);i.length>1&&(e[i[0].trim()]=i[1].trim())}}),e}function te(t){let e="";if(ot(t))e=t;else if(Fe(t))for(let n=0;nRl(n,e))}const de=t=>ot(t)?t:t==null?"":Fe(t)||yt(t)&&(t.toString===OP||!st(t.toString))?JSON.stringify(t,fP,2):String(t),fP=(t,e)=>e&&e.__v_isRef?fP(t,e.value):Sl(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((n,[i,r])=>(n[`${i} =>`]=r,n),{})}:Wd(e)?{[`Set(${e.size})`]:[...e.values()]}:yt(e)&&!Fe(e)&&!hP(e)?String(e):e,Zt={},Ql=[],bn=()=>{},QX=()=>!1,SX=/^on[^a-z]/,Xd=t=>SX.test(t),my=t=>t.startsWith("onUpdate:"),kn=Object.assign,gy=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},wX=Object.prototype.hasOwnProperty,ct=(t,e)=>wX.call(t,e),Fe=Array.isArray,Sl=t=>cc(t)==="[object Map]",Wd=t=>cc(t)==="[object Set]",L1=t=>cc(t)==="[object Date]",st=t=>typeof t=="function",ot=t=>typeof t=="string",Tu=t=>typeof t=="symbol",yt=t=>t!==null&&typeof t=="object",Wh=t=>yt(t)&&st(t.then)&&st(t.catch),OP=Object.prototype.toString,cc=t=>OP.call(t),nh=t=>cc(t).slice(8,-1),hP=t=>cc(t)==="[object Object]",vy=t=>ot(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,ih=py(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),zd=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},xX=/-(\w)/g,nr=zd(t=>t.replace(xX,(e,n)=>n?n.toUpperCase():"")),PX=/\B([A-Z])/g,Ao=zd(t=>t.replace(PX,"-$1").toLowerCase()),_r=zd(t=>t.charAt(0).toUpperCase()+t.slice(1)),h0=zd(t=>t?`on${_r(t)}`:""),Ru=(t,e)=>!Object.is(t,e),rh=(t,e)=>{for(let n=0;n{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:n})},Ih=t=>{const e=parseFloat(t);return isNaN(e)?t:e};let B1;const kX=()=>B1||(B1=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});let _i;class dP{constructor(e=!1){this.active=!0,this.effects=[],this.cleanups=[],!e&&_i&&(this.parent=_i,this.index=(_i.scopes||(_i.scopes=[])).push(this)-1)}run(e){if(this.active){const n=_i;try{return _i=this,e()}finally{_i=n}}}on(){_i=this}off(){_i=this.parent}stop(e){if(this.active){let n,i;for(n=0,i=this.effects.length;n{const e=new Set(t);return e.w=0,e.n=0,e},gP=t=>(t.w&bo)>0,vP=t=>(t.n&bo)>0,RX=({deps:t})=>{if(t.length)for(let e=0;e{const{deps:e}=t;if(e.length){let n=0;for(let i=0;i{(c==="length"||c>=i)&&a.push(l)});else switch(n!==void 0&&a.push(o.get(n)),e){case"add":Fe(t)?vy(n)&&a.push(o.get("length")):(a.push(o.get(ma)),Sl(t)&&a.push(o.get(Vm)));break;case"delete":Fe(t)||(a.push(o.get(ma)),Sl(t)&&a.push(o.get(Vm)));break;case"set":Sl(t)&&a.push(o.get(ma));break}if(a.length===1)a[0]&&jm(a[0]);else{const l=[];for(const c of a)c&&l.push(...c);jm(yy(l))}}function jm(t,e){const n=Fe(t)?t:[...t];for(const i of n)i.computed&&Y1(i);for(const i of n)i.computed||Y1(i)}function Y1(t,e){(t!==Qr||t.allowRecurse)&&(t.scheduler?t.scheduler():t.run())}const EX=py("__proto__,__v_isRef,__isVue"),bP=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(Tu)),XX=by(),WX=by(!1,!0),zX=by(!0),Z1=IX();function IX(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...n){const i=mt(this);for(let s=0,o=this.length;s{t[e]=function(...n){Ea();const i=mt(this)[e].apply(this,n);return Xa(),i}}),t}function by(t=!1,e=!1){return function(i,r,s){if(r==="__v_isReactive")return!t;if(r==="__v_isReadonly")return t;if(r==="__v_isShallow")return e;if(r==="__v_raw"&&s===(t?e?JX:xP:e?wP:SP).get(i))return i;const o=Fe(i);if(!t&&o&&ct(Z1,r))return Reflect.get(Z1,r,s);const a=Reflect.get(i,r,s);return(Tu(r)?bP.has(r):EX(r))||(t||Ii(i,"get",r),e)?a:It(a)?o&&vy(r)?a:a.value:yt(a)?t?Of(a):gn(a):a}}const qX=_P(),UX=_P(!0);function _P(t=!1){return function(n,i,r,s){let o=n[i];if(Au(o)&&It(o)&&!It(r))return!1;if(!t&&!Au(r)&&(Nm(r)||(r=mt(r),o=mt(o)),!Fe(n)&&It(o)&&!It(r)))return o.value=r,!0;const a=Fe(n)&&vy(i)?Number(i)t,Id=t=>Reflect.getPrototypeOf(t);function cO(t,e,n=!1,i=!1){t=t.__v_raw;const r=mt(t),s=mt(e);n||(e!==s&&Ii(r,"get",e),Ii(r,"get",s));const{has:o}=Id(r),a=i?_y:n?wy:Eu;if(o.call(r,e))return a(t.get(e));if(o.call(r,s))return a(t.get(s));t!==r&&t.get(e)}function uO(t,e=!1){const n=this.__v_raw,i=mt(n),r=mt(t);return e||(t!==r&&Ii(i,"has",t),Ii(i,"has",r)),t===r?n.has(t):n.has(t)||n.has(r)}function fO(t,e=!1){return t=t.__v_raw,!e&&Ii(mt(t),"iterate",ma),Reflect.get(t,"size",t)}function V1(t){t=mt(t);const e=mt(this);return Id(e).has.call(e,t)||(e.add(t),vs(e,"add",t,t)),this}function j1(t,e){e=mt(e);const n=mt(this),{has:i,get:r}=Id(n);let s=i.call(n,t);s||(t=mt(t),s=i.call(n,t));const o=r.call(n,t);return n.set(t,e),s?Ru(e,o)&&vs(n,"set",t,e):vs(n,"add",t,e),this}function N1(t){const e=mt(this),{has:n,get:i}=Id(e);let r=n.call(e,t);r||(t=mt(t),r=n.call(e,t)),i&&i.call(e,t);const s=e.delete(t);return r&&vs(e,"delete",t,void 0),s}function F1(){const t=mt(this),e=t.size!==0,n=t.clear();return e&&vs(t,"clear",void 0,void 0),n}function OO(t,e){return function(i,r){const s=this,o=s.__v_raw,a=mt(o),l=e?_y:t?wy:Eu;return!t&&Ii(a,"iterate",ma),o.forEach((c,u)=>i.call(r,l(c),l(u),s))}}function hO(t,e,n){return function(...i){const r=this.__v_raw,s=mt(r),o=Sl(s),a=t==="entries"||t===Symbol.iterator&&o,l=t==="keys"&&o,c=r[t](...i),u=n?_y:e?wy:Eu;return!e&&Ii(s,"iterate",l?Vm:ma),{next(){const{value:O,done:f}=c.next();return f?{value:O,done:f}:{value:a?[u(O[0]),u(O[1])]:u(O),done:f}},[Symbol.iterator](){return this}}}}function Us(t){return function(...e){return t==="delete"?!1:this}}function ZX(){const t={get(s){return cO(this,s)},get size(){return fO(this)},has:uO,add:V1,set:j1,delete:N1,clear:F1,forEach:OO(!1,!1)},e={get(s){return cO(this,s,!1,!0)},get size(){return fO(this)},has:uO,add:V1,set:j1,delete:N1,clear:F1,forEach:OO(!1,!0)},n={get(s){return cO(this,s,!0)},get size(){return fO(this,!0)},has(s){return uO.call(this,s,!0)},add:Us("add"),set:Us("set"),delete:Us("delete"),clear:Us("clear"),forEach:OO(!0,!1)},i={get(s){return cO(this,s,!0,!0)},get size(){return fO(this,!0)},has(s){return uO.call(this,s,!0)},add:Us("add"),set:Us("set"),delete:Us("delete"),clear:Us("clear"),forEach:OO(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{t[s]=hO(s,!1,!1),n[s]=hO(s,!0,!1),e[s]=hO(s,!1,!0),i[s]=hO(s,!0,!0)}),[t,n,e,i]}const[VX,jX,NX,FX]=ZX();function Qy(t,e){const n=e?t?FX:NX:t?jX:VX;return(i,r,s)=>r==="__v_isReactive"?!t:r==="__v_isReadonly"?t:r==="__v_raw"?i:Reflect.get(ct(n,r)&&r in i?n:i,r,s)}const GX={get:Qy(!1,!1)},HX={get:Qy(!1,!0)},KX={get:Qy(!0,!1)},SP=new WeakMap,wP=new WeakMap,xP=new WeakMap,JX=new WeakMap;function e8(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function t8(t){return t.__v_skip||!Object.isExtensible(t)?0:e8(nh(t))}function gn(t){return Au(t)?t:Sy(t,!1,QP,GX,SP)}function n8(t){return Sy(t,!1,YX,HX,wP)}function Of(t){return Sy(t,!0,MX,KX,xP)}function Sy(t,e,n,i,r){if(!yt(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const s=r.get(t);if(s)return s;const o=t8(t);if(o===0)return t;const a=new Proxy(t,o===2?i:n);return r.set(t,a),a}function ho(t){return Au(t)?ho(t.__v_raw):!!(t&&t.__v_isReactive)}function Au(t){return!!(t&&t.__v_isReadonly)}function Nm(t){return!!(t&&t.__v_isShallow)}function PP(t){return ho(t)||Au(t)}function mt(t){const e=t&&t.__v_raw;return e?mt(e):t}function Al(t){return zh(t,"__v_skip",!0),t}const Eu=t=>yt(t)?gn(t):t,wy=t=>yt(t)?Of(t):t;function kP(t){Oo&&Qr&&(t=mt(t),$P(t.dep||(t.dep=yy())))}function xy(t,e){t=mt(t),t.dep&&jm(t.dep)}function It(t){return!!(t&&t.__v_isRef===!0)}function J(t){return CP(t,!1)}function ga(t){return CP(t,!0)}function CP(t,e){return It(t)?t:new i8(t,e)}class i8{constructor(e,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?e:mt(e),this._value=n?e:Eu(e)}get value(){return kP(this),this._value}set value(e){e=this.__v_isShallow?e:mt(e),Ru(e,this._rawValue)&&(this._rawValue=e,this._value=this.__v_isShallow?e:Eu(e),xy(this))}}function Tc(t){xy(t)}function M(t){return It(t)?t.value:t}const r8={get:(t,e,n)=>M(Reflect.get(t,e,n)),set:(t,e,n,i)=>{const r=t[e];return It(r)&&!It(n)?(r.value=n,!0):Reflect.set(t,e,n,i)}};function TP(t){return ho(t)?t:new Proxy(t,r8)}function xr(t){const e=Fe(t)?new Array(t.length):{};for(const n in t)e[n]=Pn(t,n);return e}class s8{constructor(e,n,i){this._object=e,this._key=n,this._defaultValue=i,this.__v_isRef=!0}get value(){const e=this._object[this._key];return e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}}function Pn(t,e,n){const i=t[e];return It(i)?i:new s8(t,e,n)}class o8{constructor(e,n,i,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new $y(e,()=>{this._dirty||(this._dirty=!0,xy(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=i}get value(){const e=mt(this);return kP(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}function a8(t,e,n=!1){let i,r;const s=st(t);return s?(i=t,r=bn):(i=t.get,r=t.set),new o8(i,r,s||!r,n)}const su=[];function l8(t,...e){Ea();const n=su.length?su[su.length-1].component:null,i=n&&n.appContext.config.warnHandler,r=c8();if(i)ds(i,n,11,[t+e.join(""),n&&n.proxy,r.map(({vnode:s})=>`at <${ak(n,s.type)}>`).join(` -`),r]);else{const s=[`[Vue warn]: ${t}`,...e];r.length&&s.push(` -`,...u8(r)),console.warn(...s)}Xa()}function c8(){let t=su[su.length-1];if(!t)return[];const e=[];for(;t;){const n=e[0];n&&n.vnode===t?n.recurseCount++:e.push({vnode:t,recurseCount:0});const i=t.component&&t.component.parent;t=i&&i.vnode}return e}function u8(t){const e=[];return t.forEach((n,i)=>{e.push(...i===0?[]:[` -`],...f8(n))}),e}function f8({vnode:t,recurseCount:e}){const n=e>0?`... (${e} recursive calls)`:"",i=t.component?t.component.parent==null:!1,r=` at <${ak(t.component,t.type,i)}`,s=">"+n;return t.props?[r,...O8(t.props),s]:[r+s]}function O8(t){const e=[],n=Object.keys(t);return n.slice(0,3).forEach(i=>{e.push(...RP(i,t[i]))}),n.length>3&&e.push(" ..."),e}function RP(t,e,n){return ot(e)?(e=JSON.stringify(e),n?e:[`${t}=${e}`]):typeof e=="number"||typeof e=="boolean"||e==null?n?e:[`${t}=${e}`]:It(e)?(e=RP(t,mt(e.value),!0),n?e:[`${t}=Ref<`,e,">"]):st(e)?[`${t}=fn${e.name?`<${e.name}>`:""}`]:(e=mt(e),n?e:[`${t}=`,e])}function ds(t,e,n,i){let r;try{r=i?t(...i):t()}catch(s){qd(s,e,n)}return r}function Ki(t,e,n,i){if(st(t)){const s=ds(t,e,n,i);return s&&Wh(s)&&s.catch(o=>{qd(o,e,n)}),s}const r=[];for(let s=0;s>>1;Xu(Pi[i])Os&&Pi.splice(e,1)}function WP(t,e,n,i){Fe(t)?n.push(...t):(!e||!e.includes(t,t.allowRecurse?i+1:i))&&n.push(t),XP()}function m8(t){WP(t,Nc,ou,hl)}function g8(t){WP(t,Zs,au,dl)}function Ud(t,e=null){if(ou.length){for(Gm=e,Nc=[...new Set(ou)],ou.length=0,hl=0;hlXu(n)-Xu(i)),dl=0;dlt.id==null?1/0:t.id;function IP(t){Fm=!1,qh=!0,Ud(t),Pi.sort((n,i)=>Xu(n)-Xu(i));const e=bn;try{for(Os=0;Osh.trim())),O&&(r=n.map(Ih))}let a,l=i[a=h0(e)]||i[a=h0(nr(e))];!l&&s&&(l=i[a=h0(Ao(e))]),l&&Ki(l,t,6,r);const c=i[a+"Once"];if(c){if(!t.emitted)t.emitted={};else if(t.emitted[a])return;t.emitted[a]=!0,Ki(c,t,6,r)}}function qP(t,e,n=!1){const i=e.emitsCache,r=i.get(t);if(r!==void 0)return r;const s=t.emits;let o={},a=!1;if(!st(t)){const l=c=>{const u=qP(c,e,!0);u&&(a=!0,kn(o,u))};!n&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!s&&!a?(i.set(t,null),null):(Fe(s)?s.forEach(l=>o[l]=null):kn(o,s),i.set(t,o),o)}function Dd(t,e){return!t||!Xd(e)?!1:(e=e.slice(2).replace(/Once$/,""),ct(t,e[0].toLowerCase()+e.slice(1))||ct(t,Ao(e))||ct(t,e))}let jn=null,Ld=null;function Uh(t){const e=jn;return jn=t,Ld=t&&t.type.__scopeId||null,e}function uc(t){Ld=t}function fc(){Ld=null}function Z(t,e=jn,n){if(!e||t._n)return t;const i=(...r)=>{i._d&&ab(-1);const s=Uh(e),o=t(...r);return Uh(s),i._d&&ab(1),o};return i._n=!0,i._c=!0,i._d=!0,i}function d0(t){const{type:e,vnode:n,proxy:i,withProxy:r,props:s,propsOptions:[o],slots:a,attrs:l,emit:c,render:u,renderCache:O,data:f,setupState:h,ctx:p,inheritAttrs:y}=t;let $,m;const d=Uh(t);try{if(n.shapeFlag&4){const v=r||i;$=Ur(u.call(v,v,O,s,h,f,p)),m=l}else{const v=e;$=Ur(v.length>1?v(s,{attrs:l,slots:a,emit:c}):v(s,null)),m=e.props?l:y8(l)}}catch(v){uu.length=0,qd(v,t,1),$=B(fi)}let g=$;if(m&&y!==!1){const v=Object.keys(m),{shapeFlag:b}=g;v.length&&b&7&&(o&&v.some(my)&&(m=$8(m,o)),g=ys(g,m))}return n.dirs&&(g=ys(g),g.dirs=g.dirs?g.dirs.concat(n.dirs):n.dirs),n.transition&&(g.transition=n.transition),$=g,Uh(d),$}const y8=t=>{let e;for(const n in t)(n==="class"||n==="style"||Xd(n))&&((e||(e={}))[n]=t[n]);return e},$8=(t,e)=>{const n={};for(const i in t)(!my(i)||!(i.slice(9)in e))&&(n[i]=t[i]);return n};function b8(t,e,n){const{props:i,children:r,component:s}=t,{props:o,children:a,patchFlag:l}=e,c=s.emitsOptions;if(e.dirs||e.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return i?G1(i,o,c):!!o;if(l&8){const u=e.dynamicProps;for(let O=0;Ot.__isSuspense;function S8(t,e){e&&e.pendingBranch?Fe(t)?e.effects.push(...t):e.effects.push(t):g8(t)}function kt(t,e){if(wn){let n=wn.provides;const i=wn.parent&&wn.parent.provides;i===n&&(n=wn.provides=Object.create(i)),n[t]=e}}function De(t,e,n=!1){const i=wn||jn;if(i){const r=i.parent==null?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides;if(r&&t in r)return r[t];if(arguments.length>1)return n&&st(e)?e.call(i.proxy):e}}function va(t,e){return ky(t,null,e)}const H1={};function Ee(t,e,n){return ky(t,e,n)}function ky(t,e,{immediate:n,deep:i,flush:r,onTrack:s,onTrigger:o}=Zt){const a=wn;let l,c=!1,u=!1;if(It(t)?(l=()=>t.value,c=Nm(t)):ho(t)?(l=()=>t,i=!0):Fe(t)?(u=!0,c=t.some(m=>ho(m)||Nm(m)),l=()=>t.map(m=>{if(It(m))return m.value;if(ho(m))return ca(m);if(st(m))return ds(m,a,2)})):st(t)?e?l=()=>ds(t,a,2):l=()=>{if(!(a&&a.isUnmounted))return O&&O(),Ki(t,a,3,[f])}:l=bn,e&&i){const m=l;l=()=>ca(m())}let O,f=m=>{O=$.onStop=()=>{ds(m,a,4)}};if(qu)return f=bn,e?n&&Ki(e,a,3,[l(),u?[]:void 0,f]):l(),bn;let h=u?[]:H1;const p=()=>{if(!!$.active)if(e){const m=$.run();(i||c||(u?m.some((d,g)=>Ru(d,h[g])):Ru(m,h)))&&(O&&O(),Ki(e,a,3,[m,h===H1?void 0:h,f]),h=m)}else $.run()};p.allowRecurse=!!e;let y;r==="sync"?y=p:r==="post"?y=()=>li(p,a&&a.suspense):y=()=>m8(p);const $=new $y(l,y);return e?n?p():h=$.run():r==="post"?li($.run.bind($),a&&a.suspense):$.run(),()=>{$.stop(),a&&a.scope&&gy(a.scope.effects,$)}}function w8(t,e,n){const i=this.proxy,r=ot(t)?t.includes(".")?UP(i,t):()=>i[t]:t.bind(i,i);let s;st(e)?s=e:(s=e.handler,n=e);const o=wn;El(this);const a=ky(r,s.bind(i),n);return o?El(o):ya(),a}function UP(t,e){const n=e.split(".");return()=>{let i=t;for(let r=0;r{ca(n,e)});else if(hP(t))for(const n in t)ca(t[n],e);return t}function DP(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return xt(()=>{t.isMounted=!0}),Qn(()=>{t.isUnmounting=!0}),t}const Yi=[Function,Array],x8={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Yi,onEnter:Yi,onAfterEnter:Yi,onEnterCancelled:Yi,onBeforeLeave:Yi,onLeave:Yi,onAfterLeave:Yi,onLeaveCancelled:Yi,onBeforeAppear:Yi,onAppear:Yi,onAfterAppear:Yi,onAppearCancelled:Yi},setup(t,{slots:e}){const n=$t(),i=DP();let r;return()=>{const s=e.default&&Cy(e.default(),!0);if(!s||!s.length)return;let o=s[0];if(s.length>1){for(const y of s)if(y.type!==fi){o=y;break}}const a=mt(t),{mode:l}=a;if(i.isLeaving)return p0(o);const c=K1(o);if(!c)return p0(o);const u=Wu(c,a,i,n);zu(c,u);const O=n.subTree,f=O&&K1(O);let h=!1;const{getTransitionKey:p}=c.type;if(p){const y=p();r===void 0?r=y:y!==r&&(r=y,h=!0)}if(f&&f.type!==fi&&(!sa(c,f)||h)){const y=Wu(f,a,i,n);if(zu(f,y),l==="out-in")return i.isLeaving=!0,y.afterLeave=()=>{i.isLeaving=!1,n.update()},p0(o);l==="in-out"&&c.type!==fi&&(y.delayLeave=($,m,d)=>{const g=BP(i,f);g[String(f.key)]=f,$._leaveCb=()=>{m(),$._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=d})}return o}}},LP=x8;function BP(t,e){const{leavingVNodes:n}=t;let i=n.get(e.type);return i||(i=Object.create(null),n.set(e.type,i)),i}function Wu(t,e,n,i){const{appear:r,mode:s,persisted:o=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:O,onLeave:f,onAfterLeave:h,onLeaveCancelled:p,onBeforeAppear:y,onAppear:$,onAfterAppear:m,onAppearCancelled:d}=e,g=String(t.key),v=BP(n,t),b=(S,P)=>{S&&Ki(S,i,9,P)},_=(S,P)=>{const w=P[1];b(S,P),Fe(S)?S.every(x=>x.length<=1)&&w():S.length<=1&&w()},Q={mode:s,persisted:o,beforeEnter(S){let P=a;if(!n.isMounted)if(r)P=y||a;else return;S._leaveCb&&S._leaveCb(!0);const w=v[g];w&&sa(t,w)&&w.el._leaveCb&&w.el._leaveCb(),b(P,[S])},enter(S){let P=l,w=c,x=u;if(!n.isMounted)if(r)P=$||l,w=m||c,x=d||u;else return;let k=!1;const C=S._enterCb=T=>{k||(k=!0,T?b(x,[S]):b(w,[S]),Q.delayedLeave&&Q.delayedLeave(),S._enterCb=void 0)};P?_(P,[S,C]):C()},leave(S,P){const w=String(t.key);if(S._enterCb&&S._enterCb(!0),n.isUnmounting)return P();b(O,[S]);let x=!1;const k=S._leaveCb=C=>{x||(x=!0,P(),C?b(p,[S]):b(h,[S]),S._leaveCb=void 0,v[w]===t&&delete v[w])};v[w]=t,f?_(f,[S,k]):k()},clone(S){return Wu(S,e,n,i)}};return Q}function p0(t){if(Bd(t))return t=ys(t),t.children=null,t}function K1(t){return Bd(t)?t.children?t.children[0]:void 0:t}function zu(t,e){t.shapeFlag&6&&t.component?zu(t.component.subTree,e):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function Cy(t,e=!1,n){let i=[],r=0;for(let s=0;s1)for(let s=0;s!!t.type.__asyncLoader,Bd=t=>t.type.__isKeepAlive;function P8(t,e){MP(t,"a",e)}function k8(t,e){MP(t,"da",e)}function MP(t,e,n=wn){const i=t.__wdc||(t.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return t()});if(Md(e,i,n),n){let r=n.parent;for(;r&&r.parent;)Bd(r.parent.vnode)&&C8(i,e,n,r),r=r.parent}}function C8(t,e,n,i){const r=Md(e,t,i,!0);Wa(()=>{gy(i[e],r)},n)}function Md(t,e,n=wn,i=!1){if(n){const r=n[t]||(n[t]=[]),s=e.__weh||(e.__weh=(...o)=>{if(n.isUnmounted)return;Ea(),El(n);const a=Ki(e,n,t,o);return ya(),Xa(),a});return i?r.unshift(s):r.push(s),s}}const xs=t=>(e,n=wn)=>(!qu||t==="sp")&&Md(t,e,n),Yd=xs("bm"),xt=xs("m"),T8=xs("bu"),Ps=xs("u"),Qn=xs("bum"),Wa=xs("um"),R8=xs("sp"),A8=xs("rtg"),E8=xs("rtc");function X8(t,e=wn){Md("ec",t,e)}function it(t,e){const n=jn;if(n===null)return t;const i=jd(n)||n.proxy,r=t.dirs||(t.dirs=[]);for(let s=0;se(o,a,void 0,s&&s[a]));else{const o=Object.keys(t);r=new Array(o.length);for(let a=0,l=o.length;axn(e)?!(e.type===fi||e.type===Le&&!ZP(e.children)):!0)?t:null}const Hm=t=>t?ik(t)?jd(t)||t.proxy:Hm(t.parent):null,Dh=kn(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>Hm(t.parent),$root:t=>Hm(t.root),$emit:t=>t.emit,$options:t=>jP(t),$forceUpdate:t=>t.f||(t.f=()=>EP(t.update)),$nextTick:t=>t.n||(t.n=et.bind(t.proxy)),$watch:t=>w8.bind(t)}),z8={get({_:t},e){const{ctx:n,setupState:i,data:r,props:s,accessCache:o,type:a,appContext:l}=t;let c;if(e[0]!=="$"){const h=o[e];if(h!==void 0)switch(h){case 1:return i[e];case 2:return r[e];case 4:return n[e];case 3:return s[e]}else{if(i!==Zt&&ct(i,e))return o[e]=1,i[e];if(r!==Zt&&ct(r,e))return o[e]=2,r[e];if((c=t.propsOptions[0])&&ct(c,e))return o[e]=3,s[e];if(n!==Zt&&ct(n,e))return o[e]=4,n[e];Km&&(o[e]=0)}}const u=Dh[e];let O,f;if(u)return e==="$attrs"&&Ii(t,"get",e),u(t);if((O=a.__cssModules)&&(O=O[e]))return O;if(n!==Zt&&ct(n,e))return o[e]=4,n[e];if(f=l.config.globalProperties,ct(f,e))return f[e]},set({_:t},e,n){const{data:i,setupState:r,ctx:s}=t;return r!==Zt&&ct(r,e)?(r[e]=n,!0):i!==Zt&&ct(i,e)?(i[e]=n,!0):ct(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(s[e]=n,!0)},has({_:{data:t,setupState:e,accessCache:n,ctx:i,appContext:r,propsOptions:s}},o){let a;return!!n[o]||t!==Zt&&ct(t,o)||e!==Zt&&ct(e,o)||(a=s[0])&&ct(a,o)||ct(i,o)||ct(Dh,o)||ct(r.config.globalProperties,o)},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:ct(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};let Km=!0;function I8(t){const e=jP(t),n=t.proxy,i=t.ctx;Km=!1,e.beforeCreate&&eb(e.beforeCreate,t,"bc");const{data:r,computed:s,methods:o,watch:a,provide:l,inject:c,created:u,beforeMount:O,mounted:f,beforeUpdate:h,updated:p,activated:y,deactivated:$,beforeDestroy:m,beforeUnmount:d,destroyed:g,unmounted:v,render:b,renderTracked:_,renderTriggered:Q,errorCaptured:S,serverPrefetch:P,expose:w,inheritAttrs:x,components:k,directives:C,filters:T}=e;if(c&&q8(c,i,null,t.appContext.config.unwrapInjectedRef),o)for(const R in o){const X=o[R];st(X)&&(i[R]=X.bind(n))}if(r){const R=r.call(n,n);yt(R)&&(t.data=gn(R))}if(Km=!0,s)for(const R in s){const X=s[R],U=st(X)?X.bind(n,n):st(X.get)?X.get.bind(n,n):bn,V=!st(X)&&st(X.set)?X.set.bind(n):bn,j=N({get:U,set:V});Object.defineProperty(i,R,{enumerable:!0,configurable:!0,get:()=>j.value,set:Y=>j.value=Y})}if(a)for(const R in a)VP(a[R],i,n,R);if(l){const R=st(l)?l.call(n):l;Reflect.ownKeys(R).forEach(X=>{kt(X,R[X])})}u&&eb(u,t,"c");function A(R,X){Fe(X)?X.forEach(U=>R(U.bind(n))):X&&R(X.bind(n))}if(A(Yd,O),A(xt,f),A(T8,h),A(Ps,p),A(P8,y),A(k8,$),A(X8,S),A(E8,_),A(A8,Q),A(Qn,d),A(Wa,v),A(R8,P),Fe(w))if(w.length){const R=t.exposed||(t.exposed={});w.forEach(X=>{Object.defineProperty(R,X,{get:()=>n[X],set:U=>n[X]=U})})}else t.exposed||(t.exposed={});b&&t.render===bn&&(t.render=b),x!=null&&(t.inheritAttrs=x),k&&(t.components=k),C&&(t.directives=C)}function q8(t,e,n=bn,i=!1){Fe(t)&&(t=Jm(t));for(const r in t){const s=t[r];let o;yt(s)?"default"in s?o=De(s.from||r,s.default,!0):o=De(s.from||r):o=De(s),It(o)&&i?Object.defineProperty(e,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:a=>o.value=a}):e[r]=o}}function eb(t,e,n){Ki(Fe(t)?t.map(i=>i.bind(e.proxy)):t.bind(e.proxy),e,n)}function VP(t,e,n,i){const r=i.includes(".")?UP(n,i):()=>n[i];if(ot(t)){const s=e[t];st(s)&&Ee(r,s)}else if(st(t))Ee(r,t.bind(n));else if(yt(t))if(Fe(t))t.forEach(s=>VP(s,e,n,i));else{const s=st(t.handler)?t.handler.bind(n):e[t.handler];st(s)&&Ee(r,s,t)}}function jP(t){const e=t.type,{mixins:n,extends:i}=e,{mixins:r,optionsCache:s,config:{optionMergeStrategies:o}}=t.appContext,a=s.get(e);let l;return a?l=a:!r.length&&!n&&!i?l=e:(l={},r.length&&r.forEach(c=>Lh(l,c,o,!0)),Lh(l,e,o)),s.set(e,l),l}function Lh(t,e,n,i=!1){const{mixins:r,extends:s}=e;s&&Lh(t,s,n,!0),r&&r.forEach(o=>Lh(t,o,n,!0));for(const o in e)if(!(i&&o==="expose")){const a=U8[o]||n&&n[o];t[o]=a?a(t[o],e[o]):e[o]}return t}const U8={data:tb,props:na,emits:na,methods:na,computed:na,beforeCreate:Kn,created:Kn,beforeMount:Kn,mounted:Kn,beforeUpdate:Kn,updated:Kn,beforeDestroy:Kn,beforeUnmount:Kn,destroyed:Kn,unmounted:Kn,activated:Kn,deactivated:Kn,errorCaptured:Kn,serverPrefetch:Kn,components:na,directives:na,watch:L8,provide:tb,inject:D8};function tb(t,e){return e?t?function(){return kn(st(t)?t.call(this,this):t,st(e)?e.call(this,this):e)}:e:t}function D8(t,e){return na(Jm(t),Jm(e))}function Jm(t){if(Fe(t)){const e={};for(let n=0;n0)&&!(o&16)){if(o&8){const u=t.vnode.dynamicProps;for(let O=0;O{l=!0;const[f,h]=FP(O,e,!0);kn(o,f),h&&a.push(...h)};!n&&e.mixins.length&&e.mixins.forEach(u),t.extends&&u(t.extends),t.mixins&&t.mixins.forEach(u)}if(!s&&!l)return i.set(t,Ql),Ql;if(Fe(s))for(let u=0;u-1,h[1]=y<0||p-1||ct(h,"default"))&&a.push(O)}}}const c=[o,a];return i.set(t,c),c}function nb(t){return t[0]!=="$"}function ib(t){const e=t&&t.toString().match(/^\s*function (\w+)/);return e?e[1]:t===null?"null":""}function rb(t,e){return ib(t)===ib(e)}function sb(t,e){return Fe(e)?e.findIndex(n=>rb(n,t)):st(e)&&rb(e,t)?0:-1}const GP=t=>t[0]==="_"||t==="$stable",Ay=t=>Fe(t)?t.map(Ur):[Ur(t)],Y8=(t,e,n)=>{if(e._n)return e;const i=Z((...r)=>Ay(e(...r)),n);return i._c=!1,i},HP=(t,e,n)=>{const i=t._ctx;for(const r in t){if(GP(r))continue;const s=t[r];if(st(s))e[r]=Y8(r,s,i);else if(s!=null){const o=Ay(s);e[r]=()=>o}}},KP=(t,e)=>{const n=Ay(e);t.slots.default=()=>n},Z8=(t,e)=>{if(t.vnode.shapeFlag&32){const n=e._;n?(t.slots=mt(e),zh(e,"_",n)):HP(e,t.slots={})}else t.slots={},e&&KP(t,e);zh(t.slots,Vd,1)},V8=(t,e,n)=>{const{vnode:i,slots:r}=t;let s=!0,o=Zt;if(i.shapeFlag&32){const a=e._;a?n&&a===1?s=!1:(kn(r,e),!n&&a===1&&delete r._):(s=!e.$stable,HP(e,r)),o=e}else e&&(KP(t,e),o={default:1});if(s)for(const a in r)!GP(a)&&!(a in o)&&delete r[a]};function JP(){return{app:null,config:{isNativeTag:QX,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let j8=0;function N8(t,e){return function(i,r=null){st(i)||(i=Object.assign({},i)),r!=null&&!yt(r)&&(r=null);const s=JP(),o=new Set;let a=!1;const l=s.app={_uid:j8++,_component:i,_props:r,_container:null,_context:s,_instance:null,version:O6,get config(){return s.config},set config(c){},use(c,...u){return o.has(c)||(c&&st(c.install)?(o.add(c),c.install(l,...u)):st(c)&&(o.add(c),c(l,...u))),l},mixin(c){return s.mixins.includes(c)||s.mixins.push(c),l},component(c,u){return u?(s.components[c]=u,l):s.components[c]},directive(c,u){return u?(s.directives[c]=u,l):s.directives[c]},mount(c,u,O){if(!a){const f=B(i,r);return f.appContext=s,u&&e?e(f,c):t(f,c,O),a=!0,l._container=c,c.__vue_app__=l,jd(f.component)||f.component.proxy}},unmount(){a&&(t(null,l._container),delete l._container.__vue_app__)},provide(c,u){return s.provides[c]=u,l}};return l}}function tg(t,e,n,i,r=!1){if(Fe(t)){t.forEach((f,h)=>tg(f,e&&(Fe(e)?e[h]:e),n,i,r));return}if(lu(i)&&!r)return;const s=i.shapeFlag&4?jd(i.component)||i.component.proxy:i.el,o=r?null:s,{i:a,r:l}=t,c=e&&e.r,u=a.refs===Zt?a.refs={}:a.refs,O=a.setupState;if(c!=null&&c!==l&&(ot(c)?(u[c]=null,ct(O,c)&&(O[c]=null)):It(c)&&(c.value=null)),st(l))ds(l,a,12,[o,u]);else{const f=ot(l),h=It(l);if(f||h){const p=()=>{if(t.f){const y=f?u[l]:l.value;r?Fe(y)&&gy(y,s):Fe(y)?y.includes(s)||y.push(s):f?(u[l]=[s],ct(O,l)&&(O[l]=u[l])):(l.value=[s],t.k&&(u[t.k]=l.value))}else f?(u[l]=o,ct(O,l)&&(O[l]=o)):It(l)&&(l.value=o,t.k&&(u[t.k]=o))};o?(p.id=-1,li(p,n)):p()}}}const li=S8;function F8(t){return G8(t)}function G8(t,e){const n=kX();n.__VUE__=!0;const{insert:i,remove:r,patchProp:s,createElement:o,createText:a,createComment:l,setText:c,setElementText:u,parentNode:O,nextSibling:f,setScopeId:h=bn,cloneNode:p,insertStaticContent:y}=t,$=(W,q,F,fe=null,he=null,ve=null,xe=!1,me=null,le=!!q.dynamicChildren)=>{if(W===q)return;W&&!sa(W,q)&&(fe=re(W),ee(W,he,ve,!0),W=null),q.patchFlag===-2&&(le=!1,q.dynamicChildren=null);const{type:oe,ref:ce,shapeFlag:K}=q;switch(oe){case hf:m(W,q,F,fe);break;case fi:d(W,q,F,fe);break;case m0:W==null&&g(q,F,fe,xe);break;case Le:C(W,q,F,fe,he,ve,xe,me,le);break;default:K&1?_(W,q,F,fe,he,ve,xe,me,le):K&6?T(W,q,F,fe,he,ve,xe,me,le):(K&64||K&128)&&oe.process(W,q,F,fe,he,ve,xe,me,le,Re)}ce!=null&&he&&tg(ce,W&&W.ref,ve,q||W,!q)},m=(W,q,F,fe)=>{if(W==null)i(q.el=a(q.children),F,fe);else{const he=q.el=W.el;q.children!==W.children&&c(he,q.children)}},d=(W,q,F,fe)=>{W==null?i(q.el=l(q.children||""),F,fe):q.el=W.el},g=(W,q,F,fe)=>{[W.el,W.anchor]=y(W.children,q,F,fe,W.el,W.anchor)},v=({el:W,anchor:q},F,fe)=>{let he;for(;W&&W!==q;)he=f(W),i(W,F,fe),W=he;i(q,F,fe)},b=({el:W,anchor:q})=>{let F;for(;W&&W!==q;)F=f(W),r(W),W=F;r(q)},_=(W,q,F,fe,he,ve,xe,me,le)=>{xe=xe||q.type==="svg",W==null?Q(q,F,fe,he,ve,xe,me,le):w(W,q,he,ve,xe,me,le)},Q=(W,q,F,fe,he,ve,xe,me)=>{let le,oe;const{type:ce,props:K,shapeFlag:ge,transition:Te,patchFlag:Ye,dirs:Ae}=W;if(W.el&&p!==void 0&&Ye===-1)le=W.el=p(W.el);else{if(le=W.el=o(W.type,ve,K&&K.is,K),ge&8?u(le,W.children):ge&16&&P(W.children,le,null,fe,he,ve&&ce!=="foreignObject",xe,me),Ae&&Fo(W,null,fe,"created"),K){for(const pe in K)pe!=="value"&&!ih(pe)&&s(le,pe,null,K[pe],ve,W.children,fe,he,H);"value"in K&&s(le,"value",null,K.value),(oe=K.onVnodeBeforeMount)&&Xr(oe,fe,W)}S(le,W,W.scopeId,xe,fe)}Ae&&Fo(W,null,fe,"beforeMount");const ae=(!he||he&&!he.pendingBranch)&&Te&&!Te.persisted;ae&&Te.beforeEnter(le),i(le,q,F),((oe=K&&K.onVnodeMounted)||ae||Ae)&&li(()=>{oe&&Xr(oe,fe,W),ae&&Te.enter(le),Ae&&Fo(W,null,fe,"mounted")},he)},S=(W,q,F,fe,he)=>{if(F&&h(W,F),fe)for(let ve=0;ve{for(let oe=le;oe{const me=q.el=W.el;let{patchFlag:le,dynamicChildren:oe,dirs:ce}=q;le|=W.patchFlag&16;const K=W.props||Zt,ge=q.props||Zt;let Te;F&&Go(F,!1),(Te=ge.onVnodeBeforeUpdate)&&Xr(Te,F,q,W),ce&&Fo(q,W,F,"beforeUpdate"),F&&Go(F,!0);const Ye=he&&q.type!=="foreignObject";if(oe?x(W.dynamicChildren,oe,me,F,fe,Ye,ve):xe||U(W,q,me,null,F,fe,Ye,ve,!1),le>0){if(le&16)k(me,q,K,ge,F,fe,he);else if(le&2&&K.class!==ge.class&&s(me,"class",null,ge.class,he),le&4&&s(me,"style",K.style,ge.style,he),le&8){const Ae=q.dynamicProps;for(let ae=0;ae{Te&&Xr(Te,F,q,W),ce&&Fo(q,W,F,"updated")},fe)},x=(W,q,F,fe,he,ve,xe)=>{for(let me=0;me{if(F!==fe){for(const me in fe){if(ih(me))continue;const le=fe[me],oe=F[me];le!==oe&&me!=="value"&&s(W,me,oe,le,xe,q.children,he,ve,H)}if(F!==Zt)for(const me in F)!ih(me)&&!(me in fe)&&s(W,me,F[me],null,xe,q.children,he,ve,H);"value"in fe&&s(W,"value",F.value,fe.value)}},C=(W,q,F,fe,he,ve,xe,me,le)=>{const oe=q.el=W?W.el:a(""),ce=q.anchor=W?W.anchor:a("");let{patchFlag:K,dynamicChildren:ge,slotScopeIds:Te}=q;Te&&(me=me?me.concat(Te):Te),W==null?(i(oe,F,fe),i(ce,F,fe),P(q.children,F,ce,he,ve,xe,me,le)):K>0&&K&64&&ge&&W.dynamicChildren?(x(W.dynamicChildren,ge,F,he,ve,xe,me),(q.key!=null||he&&q===he.subTree)&&Ey(W,q,!0)):U(W,q,F,ce,he,ve,xe,me,le)},T=(W,q,F,fe,he,ve,xe,me,le)=>{q.slotScopeIds=me,W==null?q.shapeFlag&512?he.ctx.activate(q,F,fe,xe,le):E(q,F,fe,he,ve,xe,le):A(W,q,le)},E=(W,q,F,fe,he,ve,xe)=>{const me=W.component=s6(W,fe,he);if(Bd(W)&&(me.ctx.renderer=Re),o6(me),me.asyncDep){if(he&&he.registerDep(me,R),!W.el){const le=me.subTree=B(fi);d(null,le,q,F)}return}R(me,W,q,F,he,ve,xe)},A=(W,q,F)=>{const fe=q.component=W.component;if(b8(W,q,F))if(fe.asyncDep&&!fe.asyncResolved){X(fe,q,F);return}else fe.next=q,p8(fe.update),fe.update();else q.el=W.el,fe.vnode=q},R=(W,q,F,fe,he,ve,xe)=>{const me=()=>{if(W.isMounted){let{next:ce,bu:K,u:ge,parent:Te,vnode:Ye}=W,Ae=ce,ae;Go(W,!1),ce?(ce.el=Ye.el,X(W,ce,xe)):ce=Ye,K&&rh(K),(ae=ce.props&&ce.props.onVnodeBeforeUpdate)&&Xr(ae,Te,ce,Ye),Go(W,!0);const pe=d0(W),Oe=W.subTree;W.subTree=pe,$(Oe,pe,O(Oe.el),re(Oe),W,he,ve),ce.el=pe.el,Ae===null&&_8(W,pe.el),ge&&li(ge,he),(ae=ce.props&&ce.props.onVnodeUpdated)&&li(()=>Xr(ae,Te,ce,Ye),he)}else{let ce;const{el:K,props:ge}=q,{bm:Te,m:Ye,parent:Ae}=W,ae=lu(q);if(Go(W,!1),Te&&rh(Te),!ae&&(ce=ge&&ge.onVnodeBeforeMount)&&Xr(ce,Ae,q),Go(W,!0),K&&ue){const pe=()=>{W.subTree=d0(W),ue(K,W.subTree,W,he,null)};ae?q.type.__asyncLoader().then(()=>!W.isUnmounted&&pe()):pe()}else{const pe=W.subTree=d0(W);$(null,pe,F,fe,W,he,ve),q.el=pe.el}if(Ye&&li(Ye,he),!ae&&(ce=ge&&ge.onVnodeMounted)){const pe=q;li(()=>Xr(ce,Ae,pe),he)}(q.shapeFlag&256||Ae&&lu(Ae.vnode)&&Ae.vnode.shapeFlag&256)&&W.a&&li(W.a,he),W.isMounted=!0,q=F=fe=null}},le=W.effect=new $y(me,()=>EP(oe),W.scope),oe=W.update=()=>le.run();oe.id=W.uid,Go(W,!0),oe()},X=(W,q,F)=>{q.component=W;const fe=W.vnode.props;W.vnode=q,W.next=null,M8(W,q.props,fe,F),V8(W,q.children,F),Ea(),Ud(void 0,W.update),Xa()},U=(W,q,F,fe,he,ve,xe,me,le=!1)=>{const oe=W&&W.children,ce=W?W.shapeFlag:0,K=q.children,{patchFlag:ge,shapeFlag:Te}=q;if(ge>0){if(ge&128){j(oe,K,F,fe,he,ve,xe,me,le);return}else if(ge&256){V(oe,K,F,fe,he,ve,xe,me,le);return}}Te&8?(ce&16&&H(oe,he,ve),K!==oe&&u(F,K)):ce&16?Te&16?j(oe,K,F,fe,he,ve,xe,me,le):H(oe,he,ve,!0):(ce&8&&u(F,""),Te&16&&P(K,F,fe,he,ve,xe,me,le))},V=(W,q,F,fe,he,ve,xe,me,le)=>{W=W||Ql,q=q||Ql;const oe=W.length,ce=q.length,K=Math.min(oe,ce);let ge;for(ge=0;gece?H(W,he,ve,!0,!1,K):P(q,F,fe,he,ve,xe,me,le,K)},j=(W,q,F,fe,he,ve,xe,me,le)=>{let oe=0;const ce=q.length;let K=W.length-1,ge=ce-1;for(;oe<=K&&oe<=ge;){const Te=W[oe],Ye=q[oe]=le?Gs(q[oe]):Ur(q[oe]);if(sa(Te,Ye))$(Te,Ye,F,null,he,ve,xe,me,le);else break;oe++}for(;oe<=K&&oe<=ge;){const Te=W[K],Ye=q[ge]=le?Gs(q[ge]):Ur(q[ge]);if(sa(Te,Ye))$(Te,Ye,F,null,he,ve,xe,me,le);else break;K--,ge--}if(oe>K){if(oe<=ge){const Te=ge+1,Ye=Tege)for(;oe<=K;)ee(W[oe],he,ve,!0),oe++;else{const Te=oe,Ye=oe,Ae=new Map;for(oe=Ye;oe<=ge;oe++){const Ot=q[oe]=le?Gs(q[oe]):Ur(q[oe]);Ot.key!=null&&Ae.set(Ot.key,oe)}let ae,pe=0;const Oe=ge-Ye+1;let Se=!1,qe=0;const ht=new Array(Oe);for(oe=0;oe=Oe){ee(Ot,he,ve,!0);continue}let Pt;if(Ot.key!=null)Pt=Ae.get(Ot.key);else for(ae=Ye;ae<=ge;ae++)if(ht[ae-Ye]===0&&sa(Ot,q[ae])){Pt=ae;break}Pt===void 0?ee(Ot,he,ve,!0):(ht[Pt-Ye]=oe+1,Pt>=qe?qe=Pt:Se=!0,$(Ot,q[Pt],F,null,he,ve,xe,me,le),pe++)}const Ct=Se?H8(ht):Ql;for(ae=Ct.length-1,oe=Oe-1;oe>=0;oe--){const Ot=Ye+oe,Pt=q[Ot],Ut=Ot+1{const{el:ve,type:xe,transition:me,children:le,shapeFlag:oe}=W;if(oe&6){Y(W.component.subTree,q,F,fe);return}if(oe&128){W.suspense.move(q,F,fe);return}if(oe&64){xe.move(W,q,F,Re);return}if(xe===Le){i(ve,q,F);for(let K=0;Kme.enter(ve),he);else{const{leave:K,delayLeave:ge,afterLeave:Te}=me,Ye=()=>i(ve,q,F),Ae=()=>{K(ve,()=>{Ye(),Te&&Te()})};ge?ge(ve,Ye,Ae):Ae()}else i(ve,q,F)},ee=(W,q,F,fe=!1,he=!1)=>{const{type:ve,props:xe,ref:me,children:le,dynamicChildren:oe,shapeFlag:ce,patchFlag:K,dirs:ge}=W;if(me!=null&&tg(me,null,F,W,!0),ce&256){q.ctx.deactivate(W);return}const Te=ce&1&&ge,Ye=!lu(W);let Ae;if(Ye&&(Ae=xe&&xe.onVnodeBeforeUnmount)&&Xr(Ae,q,W),ce&6)ne(W.component,F,fe);else{if(ce&128){W.suspense.unmount(F,fe);return}Te&&Fo(W,null,q,"beforeUnmount"),ce&64?W.type.remove(W,q,F,he,Re,fe):oe&&(ve!==Le||K>0&&K&64)?H(oe,q,F,!1,!0):(ve===Le&&K&384||!he&&ce&16)&&H(le,q,F),fe&&se(W)}(Ye&&(Ae=xe&&xe.onVnodeUnmounted)||Te)&&li(()=>{Ae&&Xr(Ae,q,W),Te&&Fo(W,null,q,"unmounted")},F)},se=W=>{const{type:q,el:F,anchor:fe,transition:he}=W;if(q===Le){I(F,fe);return}if(q===m0){b(W);return}const ve=()=>{r(F),he&&!he.persisted&&he.afterLeave&&he.afterLeave()};if(W.shapeFlag&1&&he&&!he.persisted){const{leave:xe,delayLeave:me}=he,le=()=>xe(F,ve);me?me(W.el,ve,le):le()}else ve()},I=(W,q)=>{let F;for(;W!==q;)F=f(W),r(W),W=F;r(q)},ne=(W,q,F)=>{const{bum:fe,scope:he,update:ve,subTree:xe,um:me}=W;fe&&rh(fe),he.stop(),ve&&(ve.active=!1,ee(xe,W,q,F)),me&&li(me,q),li(()=>{W.isUnmounted=!0},q),q&&q.pendingBranch&&!q.isUnmounted&&W.asyncDep&&!W.asyncResolved&&W.suspenseId===q.pendingId&&(q.deps--,q.deps===0&&q.resolve())},H=(W,q,F,fe=!1,he=!1,ve=0)=>{for(let xe=ve;xeW.shapeFlag&6?re(W.component.subTree):W.shapeFlag&128?W.suspense.next():f(W.anchor||W.el),G=(W,q,F)=>{W==null?q._vnode&&ee(q._vnode,null,null,!0):$(q._vnode||null,W,q,null,null,null,F),zP(),q._vnode=W},Re={p:$,um:ee,m:Y,r:se,mt:E,mc:P,pc:U,pbc:x,n:re,o:t};let _e,ue;return e&&([_e,ue]=e(Re)),{render:G,hydrate:_e,createApp:N8(G,_e)}}function Go({effect:t,update:e},n){t.allowRecurse=e.allowRecurse=n}function Ey(t,e,n=!1){const i=t.children,r=e.children;if(Fe(i)&&Fe(r))for(let s=0;s>1,t[n[a]]0&&(e[i]=n[s-1]),n[s]=i)}}for(s=n.length,o=n[s-1];s-- >0;)n[s]=o,o=e[o];return n}const K8=t=>t.__isTeleport,cu=t=>t&&(t.disabled||t.disabled===""),ob=t=>typeof SVGElement!="undefined"&&t instanceof SVGElement,ng=(t,e)=>{const n=t&&t.to;return ot(n)?e?e(n):null:n},J8={__isTeleport:!0,process(t,e,n,i,r,s,o,a,l,c){const{mc:u,pc:O,pbc:f,o:{insert:h,querySelector:p,createText:y,createComment:$}}=c,m=cu(e.props);let{shapeFlag:d,children:g,dynamicChildren:v}=e;if(t==null){const b=e.el=y(""),_=e.anchor=y("");h(b,n,i),h(_,n,i);const Q=e.target=ng(e.props,p),S=e.targetAnchor=y("");Q&&(h(S,Q),o=o||ob(Q));const P=(w,x)=>{d&16&&u(g,w,x,r,s,o,a,l)};m?P(n,_):Q&&P(Q,S)}else{e.el=t.el;const b=e.anchor=t.anchor,_=e.target=t.target,Q=e.targetAnchor=t.targetAnchor,S=cu(t.props),P=S?n:_,w=S?b:Q;if(o=o||ob(_),v?(f(t.dynamicChildren,v,P,r,s,o,a),Ey(t,e,!0)):l||O(t,e,P,w,r,s,o,a,!1),m)S||dO(e,n,b,c,1);else if((e.props&&e.props.to)!==(t.props&&t.props.to)){const x=e.target=ng(e.props,p);x&&dO(e,x,null,c,0)}else S&&dO(e,_,Q,c,1)}},remove(t,e,n,i,{um:r,o:{remove:s}},o){const{shapeFlag:a,children:l,anchor:c,targetAnchor:u,target:O,props:f}=t;if(O&&s(u),(o||!cu(f))&&(s(c),a&16))for(let h=0;h0?Sr||Ql:null,t6(),Iu>0&&Sr&&Sr.push(t),t}function ie(t,e,n,i,r,s){return tk(D(t,e,n,i,r,s,!0))}function be(t,e,n,i,r){return tk(B(t,e,n,i,r,!0))}function xn(t){return t?t.__v_isVNode===!0:!1}function sa(t,e){return t.type===e.type&&t.key===e.key}const Vd="__vInternal",nk=({key:t})=>t!=null?t:null,sh=({ref:t,ref_key:e,ref_for:n})=>t!=null?ot(t)||It(t)||st(t)?{i:jn,r:t,k:e,f:!!n}:t:null;function D(t,e=null,n=null,i=0,r=null,s=t===Le?0:1,o=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&nk(e),ref:e&&sh(e),scopeId:Ld,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:i,dynamicProps:r,dynamicChildren:null,appContext:null};return a?(Xy(l,n),s&128&&t.normalize(l)):n&&(l.shapeFlag|=ot(n)?8:16),Iu>0&&!o&&Sr&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&Sr.push(l),l}const B=n6;function n6(t,e=null,n=null,i=0,r=null,s=!1){if((!t||t===YP)&&(t=fi),xn(t)){const a=ys(t,e,!0);return n&&Xy(a,n),Iu>0&&!s&&Sr&&(a.shapeFlag&6?Sr[Sr.indexOf(t)]=a:Sr.push(a)),a.patchFlag|=-2,a}if(f6(t)&&(t=t.__vccOpts),e){e=Bh(e);let{class:a,style:l}=e;a&&!ot(a)&&(e.class=te(a)),yt(l)&&(PP(l)&&!Fe(l)&&(l=kn({},l)),e.style=tt(l))}const o=ot(t)?1:Q8(t)?128:K8(t)?64:yt(t)?4:st(t)?2:0;return D(t,e,n,i,r,o,s,!0)}function Bh(t){return t?PP(t)||Vd in t?kn({},t):t:null}function ys(t,e,n=!1){const{props:i,ref:r,patchFlag:s,children:o}=t,a=e?ii(i||{},e):i;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:a,key:a&&nk(a),ref:e&&e.ref?n&&r?Fe(r)?r.concat(sh(e)):[r,sh(e)]:sh(e):r,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:o,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==Le?s===-1?16:s|16:s,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&ys(t.ssContent),ssFallback:t.ssFallback&&ys(t.ssFallback),el:t.el,anchor:t.anchor}}function Xe(t=" ",e=0){return B(hf,null,t,e)}function Qe(t="",e=!1){return e?(L(),be(fi,null,t)):B(fi,null,t)}function Ur(t){return t==null||typeof t=="boolean"?B(fi):Fe(t)?B(Le,null,t.slice()):typeof t=="object"?Gs(t):B(hf,null,String(t))}function Gs(t){return t.el===null||t.memo?t:ys(t)}function Xy(t,e){let n=0;const{shapeFlag:i}=t;if(e==null)e=null;else if(Fe(e))n=16;else if(typeof e=="object")if(i&65){const r=e.default;r&&(r._c&&(r._d=!1),Xy(t,r()),r._c&&(r._d=!0));return}else{n=32;const r=e._;!r&&!(Vd in e)?e._ctx=jn:r===3&&jn&&(jn.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else st(e)?(e={default:e,_ctx:jn},n=32):(e=String(e),i&64?(n=16,e=[Xe(e)]):n=8);t.children=e,t.shapeFlag|=n}function ii(...t){const e={};for(let n=0;nwn||jn,El=t=>{wn=t,t.scope.on()},ya=()=>{wn&&wn.scope.off(),wn=null};function ik(t){return t.vnode.shapeFlag&4}let qu=!1;function o6(t,e=!1){qu=e;const{props:n,children:i}=t.vnode,r=ik(t);B8(t,n,r,e),Z8(t,i);const s=r?a6(t,e):void 0;return qu=!1,s}function a6(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=Al(new Proxy(t.ctx,z8));const{setup:i}=n;if(i){const r=t.setupContext=i.length>1?sk(t):null;El(t),Ea();const s=ds(i,t,0,[t.props,r]);if(Xa(),ya(),Wh(s)){if(s.then(ya,ya),e)return s.then(o=>{lb(t,o,e)}).catch(o=>{qd(o,t,0)});t.asyncDep=s}else lb(t,s,e)}else rk(t,e)}function lb(t,e,n){st(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:yt(e)&&(t.setupState=TP(e)),rk(t,n)}let cb;function rk(t,e,n){const i=t.type;if(!t.render){if(!e&&cb&&!i.render){const r=i.template;if(r){const{isCustomElement:s,compilerOptions:o}=t.appContext.config,{delimiters:a,compilerOptions:l}=i,c=kn(kn({isCustomElement:s,delimiters:a},o),l);i.render=cb(r,c)}}t.render=i.render||bn}El(t),Ea(),I8(t),Xa(),ya()}function l6(t){return new Proxy(t.attrs,{get(e,n){return Ii(t,"get","$attrs"),e[n]}})}function sk(t){const e=i=>{t.exposed=i||{}};let n;return{get attrs(){return n||(n=l6(t))},slots:t.slots,emit:t.emit,expose:e}}function jd(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(TP(Al(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in Dh)return Dh[n](t)}}))}const c6=/(?:^|[-_])(\w)/g,u6=t=>t.replace(c6,e=>e.toUpperCase()).replace(/[-_]/g,"");function ok(t){return st(t)&&t.displayName||t.name}function ak(t,e,n=!1){let i=ok(e);if(!i&&e.__file){const r=e.__file.match(/([^/\\]+)\.\w+$/);r&&(i=r[1])}if(!i&&t&&t.parent){const r=s=>{for(const o in s)if(s[o]===e)return o};i=r(t.components||t.parent.type.components)||r(t.appContext.components)}return i?u6(i):n?"App":"Anonymous"}function f6(t){return st(t)&&"__vccOpts"in t}const N=(t,e)=>a8(t,e,qu);function df(){return ck().slots}function lk(){return ck().attrs}function ck(){const t=$t();return t.setupContext||(t.setupContext=sk(t))}function Ke(t,e,n){const i=arguments.length;return i===2?yt(e)&&!Fe(e)?xn(e)?B(t,null,[e]):B(t,e):B(t,null,e):(i>3?n=Array.prototype.slice.call(arguments,2):i===3&&xn(n)&&(n=[n]),B(t,e,n))}const O6="3.2.34",h6="http://www.w3.org/2000/svg",oa=typeof document!="undefined"?document:null,ub=oa&&oa.createElement("template"),d6={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,i)=>{const r=e?oa.createElementNS(h6,t):oa.createElement(t,n?{is:n}:void 0);return t==="select"&&i&&i.multiple!=null&&r.setAttribute("multiple",i.multiple),r},createText:t=>oa.createTextNode(t),createComment:t=>oa.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>oa.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},cloneNode(t){const e=t.cloneNode(!0);return"_value"in t&&(e._value=t._value),e},insertStaticContent(t,e,n,i,r,s){const o=n?n.previousSibling:e.lastChild;if(r&&(r===s||r.nextSibling))for(;e.insertBefore(r.cloneNode(!0),n),!(r===s||!(r=r.nextSibling)););else{ub.innerHTML=i?`${t}`:t;const a=ub.content;if(i){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}e.insertBefore(a,n)}return[o?o.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}};function p6(t,e,n){const i=t._vtc;i&&(e=(e?[e,...i]:[...i]).join(" ")),e==null?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}function m6(t,e,n){const i=t.style,r=ot(n);if(n&&!r){for(const s in n)ig(i,s,n[s]);if(e&&!ot(e))for(const s in e)n[s]==null&&ig(i,s,"")}else{const s=i.display;r?e!==n&&(i.cssText=n):e&&t.removeAttribute("style"),"_vod"in t&&(i.display=s)}}const fb=/\s*!important$/;function ig(t,e,n){if(Fe(n))n.forEach(i=>ig(t,e,i));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const i=g6(t,e);fb.test(n)?t.setProperty(Ao(i),n.replace(fb,""),"important"):t[i]=n}}const Ob=["Webkit","Moz","ms"],g0={};function g6(t,e){const n=g0[e];if(n)return n;let i=nr(e);if(i!=="filter"&&i in t)return g0[e]=i;i=_r(i);for(let r=0;r{let t=Date.now,e=!1;if(typeof window!="undefined"){Date.now()>document.createEvent("Event").timeStamp&&(t=()=>performance.now());const n=navigator.userAgent.match(/firefox\/(\d+)/i);e=!!(n&&Number(n[1])<=53)}return[t,e]})();let rg=0;const b6=Promise.resolve(),_6=()=>{rg=0},Q6=()=>rg||(b6.then(_6),rg=uk());function no(t,e,n,i){t.addEventListener(e,n,i)}function S6(t,e,n,i){t.removeEventListener(e,n,i)}function w6(t,e,n,i,r=null){const s=t._vei||(t._vei={}),o=s[e];if(i&&o)o.value=i;else{const[a,l]=x6(e);if(i){const c=s[e]=P6(i,r);no(t,a,c,l)}else o&&(S6(t,a,o,l),s[e]=void 0)}}const db=/(?:Once|Passive|Capture)$/;function x6(t){let e;if(db.test(t)){e={};let n;for(;n=t.match(db);)t=t.slice(0,t.length-n[0].length),e[n[0].toLowerCase()]=!0}return[Ao(t.slice(2)),e]}function P6(t,e){const n=i=>{const r=i.timeStamp||uk();($6||r>=n.attached-1)&&Ki(k6(i,n.value),e,5,[i])};return n.value=t,n.attached=Q6(),n}function k6(t,e){if(Fe(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map(i=>r=>!r._stopped&&i&&i(r))}else return e}const pb=/^on[a-z]/,C6=(t,e,n,i,r=!1,s,o,a,l)=>{e==="class"?p6(t,i,r):e==="style"?m6(t,n,i):Xd(e)?my(e)||w6(t,e,n,i,o):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):T6(t,e,i,r))?y6(t,e,i,s,o,a,l):(e==="true-value"?t._trueValue=i:e==="false-value"&&(t._falseValue=i),v6(t,e,i,r))};function T6(t,e,n,i){return i?!!(e==="innerHTML"||e==="textContent"||e in t&&pb.test(e)&&st(n)):e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA"||pb.test(e)&&ot(n)?!1:e in t}const Ds="transition",Rc="animation",ri=(t,{slots:e})=>Ke(LP,Ok(t),e);ri.displayName="Transition";const fk={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},R6=ri.props=kn({},LP.props,fk),Ho=(t,e=[])=>{Fe(t)?t.forEach(n=>n(...e)):t&&t(...e)},mb=t=>t?Fe(t)?t.some(e=>e.length>1):t.length>1:!1;function Ok(t){const e={};for(const C in t)C in fk||(e[C]=t[C]);if(t.css===!1)return e;const{name:n="v",type:i,duration:r,enterFromClass:s=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=s,appearActiveClass:c=o,appearToClass:u=a,leaveFromClass:O=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=t,p=A6(r),y=p&&p[0],$=p&&p[1],{onBeforeEnter:m,onEnter:d,onEnterCancelled:g,onLeave:v,onLeaveCancelled:b,onBeforeAppear:_=m,onAppear:Q=d,onAppearCancelled:S=g}=e,P=(C,T,E)=>{Vs(C,T?u:a),Vs(C,T?c:o),E&&E()};let w=!1;const x=(C,T)=>{w=!1,Vs(C,O),Vs(C,h),Vs(C,f),T&&T()},k=C=>(T,E)=>{const A=C?Q:d,R=()=>P(T,C,E);Ho(A,[T,R]),gb(()=>{Vs(T,C?l:s),as(T,C?u:a),mb(A)||vb(T,i,y,R)})};return kn(e,{onBeforeEnter(C){Ho(m,[C]),as(C,s),as(C,o)},onBeforeAppear(C){Ho(_,[C]),as(C,l),as(C,c)},onEnter:k(!1),onAppear:k(!0),onLeave(C,T){w=!0;const E=()=>x(C,T);as(C,O),dk(),as(C,f),gb(()=>{!w||(Vs(C,O),as(C,h),mb(v)||vb(C,i,$,E))}),Ho(v,[C,E])},onEnterCancelled(C){P(C,!1),Ho(g,[C])},onAppearCancelled(C){P(C,!0),Ho(S,[C])},onLeaveCancelled(C){x(C),Ho(b,[C])}})}function A6(t){if(t==null)return null;if(yt(t))return[v0(t.enter),v0(t.leave)];{const e=v0(t);return[e,e]}}function v0(t){return Ih(t)}function as(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.add(n)),(t._vtc||(t._vtc=new Set)).add(e)}function Vs(t,e){e.split(/\s+/).forEach(i=>i&&t.classList.remove(i));const{_vtc:n}=t;n&&(n.delete(e),n.size||(t._vtc=void 0))}function gb(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let E6=0;function vb(t,e,n,i){const r=t._endId=++E6,s=()=>{r===t._endId&&i()};if(n)return setTimeout(s,n);const{type:o,timeout:a,propCount:l}=hk(t,e);if(!o)return i();const c=o+"end";let u=0;const O=()=>{t.removeEventListener(c,f),s()},f=h=>{h.target===t&&++u>=l&&O()};setTimeout(()=>{u(n[p]||"").split(", "),r=i(Ds+"Delay"),s=i(Ds+"Duration"),o=yb(r,s),a=i(Rc+"Delay"),l=i(Rc+"Duration"),c=yb(a,l);let u=null,O=0,f=0;e===Ds?o>0&&(u=Ds,O=o,f=s.length):e===Rc?c>0&&(u=Rc,O=c,f=l.length):(O=Math.max(o,c),u=O>0?o>c?Ds:Rc:null,f=u?u===Ds?s.length:l.length:0);const h=u===Ds&&/\b(transform|all)(,|$)/.test(n[Ds+"Property"]);return{type:u,timeout:O,propCount:f,hasTransform:h}}function yb(t,e){for(;t.length$b(n)+$b(t[i])))}function $b(t){return Number(t.slice(0,-1).replace(",","."))*1e3}function dk(){return document.body.offsetHeight}const pk=new WeakMap,mk=new WeakMap,X6={name:"TransitionGroup",props:kn({},R6,{tag:String,moveClass:String}),setup(t,{slots:e}){const n=$t(),i=DP();let r,s;return Ps(()=>{if(!r.length)return;const o=t.moveClass||`${t.name||"v"}-move`;if(!q6(r[0].el,n.vnode.el,o))return;r.forEach(W6),r.forEach(z6);const a=r.filter(I6);dk(),a.forEach(l=>{const c=l.el,u=c.style;as(c,o),u.transform=u.webkitTransform=u.transitionDuration="";const O=c._moveCb=f=>{f&&f.target!==c||(!f||/transform$/.test(f.propertyName))&&(c.removeEventListener("transitionend",O),c._moveCb=null,Vs(c,o))};c.addEventListener("transitionend",O)})}),()=>{const o=mt(t),a=Ok(o);let l=o.tag||Le;r=s,s=e.default?Cy(e.default()):[];for(let c=0;c{o.split(/\s+/).forEach(a=>a&&i.classList.remove(a))}),n.split(/\s+/).forEach(o=>o&&i.classList.add(o)),i.style.display="none";const r=e.nodeType===1?e:e.parentNode;r.appendChild(i);const{hasTransform:s}=hk(i);return r.removeChild(i),s}const Xl=t=>{const e=t.props["onUpdate:modelValue"]||!1;return Fe(e)?n=>rh(e,n):e};function U6(t){t.target.composing=!0}function bb(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const D6={created(t,{modifiers:{lazy:e,trim:n,number:i}},r){t._assign=Xl(r);const s=i||r.props&&r.props.type==="number";no(t,e?"change":"input",o=>{if(o.target.composing)return;let a=t.value;n&&(a=a.trim()),s&&(a=Ih(a)),t._assign(a)}),n&&no(t,"change",()=>{t.value=t.value.trim()}),e||(no(t,"compositionstart",U6),no(t,"compositionend",bb),no(t,"change",bb))},mounted(t,{value:e}){t.value=e==null?"":e},beforeUpdate(t,{value:e,modifiers:{lazy:n,trim:i,number:r}},s){if(t._assign=Xl(s),t.composing||document.activeElement===t&&t.type!=="range"&&(n||i&&t.value.trim()===e||(r||t.type==="number")&&Ih(t.value)===e))return;const o=e==null?"":e;t.value!==o&&(t.value=o)}},Mh={deep:!0,created(t,e,n){t._assign=Xl(n),no(t,"change",()=>{const i=t._modelValue,r=yk(t),s=t.checked,o=t._assign;if(Fe(i)){const a=uP(i,r),l=a!==-1;if(s&&!l)o(i.concat(r));else if(!s&&l){const c=[...i];c.splice(a,1),o(c)}}else if(Wd(i)){const a=new Set(i);s?a.add(r):a.delete(r),o(a)}else o($k(t,s))})},mounted:_b,beforeUpdate(t,e,n){t._assign=Xl(n),_b(t,e,n)}};function _b(t,{value:e,oldValue:n},i){t._modelValue=e,Fe(e)?t.checked=uP(e,i.props.value)>-1:Wd(e)?t.checked=e.has(i.props.value):e!==n&&(t.checked=Rl(e,$k(t,!0)))}const vk={created(t,{value:e},n){t.checked=Rl(e,n.props.value),t._assign=Xl(n),no(t,"change",()=>{t._assign(yk(t))})},beforeUpdate(t,{value:e,oldValue:n},i){t._assign=Xl(i),e!==n&&(t.checked=Rl(e,i.props.value))}};function yk(t){return"_value"in t?t._value:t.value}function $k(t,e){const n=e?"_trueValue":"_falseValue";return n in t?t[n]:e}const L6=["ctrl","shift","alt","meta"],B6={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,e)=>L6.some(n=>t[`${n}Key`]&&!e.includes(n))},Et=(t,e)=>(n,...i)=>{for(let r=0;rn=>{if(!("key"in n))return;const i=Ao(n.key);if(e.some(r=>r===i||M6[r]===i))return t(n)},Lt={beforeMount(t,{value:e},{transition:n}){t._vod=t.style.display==="none"?"":t.style.display,n&&e?n.beforeEnter(t):Ac(t,e)},mounted(t,{value:e},{transition:n}){n&&e&&n.enter(t)},updated(t,{value:e,oldValue:n},{transition:i}){!e!=!n&&(i?e?(i.beforeEnter(t),Ac(t,!0),i.enter(t)):i.leave(t,()=>{Ac(t,!1)}):Ac(t,e))},beforeUnmount(t,{value:e}){Ac(t,e)}};function Ac(t,e){t.style.display=e?t._vod:"none"}const Y6=kn({patchProp:C6},d6);let Qb;function bk(){return Qb||(Qb=F8(Y6))}const Wl=(...t)=>{bk().render(...t)},_k=(...t)=>{const e=bk().createApp(...t),{mount:n}=e;return e.mount=i=>{const r=Z6(i);if(!r)return;const s=e._component;!st(s)&&!s.render&&!s.template&&(s.template=r.innerHTML),r.innerHTML="";const o=n(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},e};function Z6(t){return ot(t)?document.querySelector(t):t}var V6=!1;/*! - * pinia v2.0.16 - * (c) 2022 Eduardo San Martin Morote - * @license MIT - */let Qk;const Nd=t=>Qk=t,Sk=Symbol();function sg(t){return t&&typeof t=="object"&&Object.prototype.toString.call(t)==="[object Object]"&&typeof t.toJSON!="function"}var fu;(function(t){t.direct="direct",t.patchObject="patch object",t.patchFunction="patch function"})(fu||(fu={}));function j6(){const t=pP(!0),e=t.run(()=>J({}));let n=[],i=[];const r=Al({install(s){Nd(r),r._a=s,s.provide(Sk,r),s.config.globalProperties.$pinia=r,i.forEach(o=>n.push(o)),i=[]},use(s){return!this._a&&!V6?i.push(s):n.push(s),this},_p:n,_a:null,_e:t,_s:new Map,state:e});return r}const wk=()=>{};function Sb(t,e,n,i=wk){t.push(e);const r=()=>{const s=t.indexOf(e);s>-1&&(t.splice(s,1),i())};return!n&&$t()&&Wa(r),r}function nl(t,...e){t.slice().forEach(n=>{n(...e)})}function og(t,e){for(const n in e){if(!e.hasOwnProperty(n))continue;const i=e[n],r=t[n];sg(r)&&sg(i)&&t.hasOwnProperty(n)&&!It(i)&&!ho(i)?t[n]=og(r,i):t[n]=i}return t}const N6=Symbol();function F6(t){return!sg(t)||!t.hasOwnProperty(N6)}const{assign:ls}=Object;function G6(t){return!!(It(t)&&t.effect)}function H6(t,e,n,i){const{state:r,actions:s,getters:o}=e,a=n.state.value[t];let l;function c(){a||(n.state.value[t]=r?r():{});const u=xr(n.state.value[t]);return ls(u,s,Object.keys(o||{}).reduce((O,f)=>(O[f]=Al(N(()=>{Nd(n);const h=n._s.get(t);return o[f].call(h,h)})),O),{}))}return l=xk(t,c,e,n,i,!0),l.$reset=function(){const O=r?r():{};this.$patch(f=>{ls(f,O)})},l}function xk(t,e,n={},i,r,s){let o;const a=ls({actions:{}},n),l={deep:!0};let c,u,O=Al([]),f=Al([]),h;const p=i.state.value[t];!s&&!p&&(i.state.value[t]={}),J({});let y;function $(Q){let S;c=u=!1,typeof Q=="function"?(Q(i.state.value[t]),S={type:fu.patchFunction,storeId:t,events:h}):(og(i.state.value[t],Q),S={type:fu.patchObject,payload:Q,storeId:t,events:h});const P=y=Symbol();et().then(()=>{y===P&&(c=!0)}),u=!0,nl(O,S,i.state.value[t])}const m=wk;function d(){o.stop(),O=[],f=[],i._s.delete(t)}function g(Q,S){return function(){Nd(i);const P=Array.from(arguments),w=[],x=[];function k(E){w.push(E)}function C(E){x.push(E)}nl(f,{args:P,name:Q,store:b,after:k,onError:C});let T;try{T=S.apply(this&&this.$id===t?this:b,P)}catch(E){throw nl(x,E),E}return T instanceof Promise?T.then(E=>(nl(w,E),E)).catch(E=>(nl(x,E),Promise.reject(E))):(nl(w,T),T)}}const v={_p:i,$id:t,$onAction:Sb.bind(null,f),$patch:$,$reset:m,$subscribe(Q,S={}){const P=Sb(O,Q,S.detached,()=>w()),w=o.run(()=>Ee(()=>i.state.value[t],x=>{(S.flush==="sync"?u:c)&&Q({storeId:t,type:fu.direct,events:h},x)},ls({},l,S)));return P},$dispose:d},b=gn(ls({},v));i._s.set(t,b);const _=i._e.run(()=>(o=pP(),o.run(()=>e())));for(const Q in _){const S=_[Q];if(It(S)&&!G6(S)||ho(S))s||(p&&F6(S)&&(It(S)?S.value=p[Q]:og(S,p[Q])),i.state.value[t][Q]=S);else if(typeof S=="function"){const P=g(Q,S);_[Q]=P,a.actions[Q]=S}}return ls(b,_),ls(mt(b),_),Object.defineProperty(b,"$state",{get:()=>i.state.value[t],set:Q=>{$(S=>{ls(S,Q)})}}),i._p.forEach(Q=>{ls(b,o.run(()=>Q({store:b,app:i._a,pinia:i,options:a})))}),p&&s&&n.hydrate&&n.hydrate(b.$state,p),c=!0,u=!0,b}function K6(t,e,n){let i,r;const s=typeof e=="function";typeof t=="string"?(i=t,r=s?n:e):(r=t,i=t.id);function o(a,l){const c=$t();return a=a||c&&De(Sk),a&&Nd(a),a=Qk,a._s.has(i)||(s?xk(i,e,r,a):H6(i,r,a)),a._s.get(i)}return o.$id=i,o}var at=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function J6(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function eW(t){throw new Error('Could not dynamically require "'+t+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Wy={exports:{}},Pk=function(e,n){return function(){for(var r=new Array(arguments.length),s=0;s=0)return;i==="set-cookie"?n[i]=(n[i]?n[i]:[]).concat([r]):n[i]=n[i]?n[i]+", "+r:r}}),n},xb=pi,RW=xb.isStandardBrowserEnv()?function(){var e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a"),i;function r(s){var o=s;return e&&(n.setAttribute("href",o),o=n.href),n.setAttribute("href",o),{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 i=r(window.location.href),function(o){var a=xb.isString(o)?r(o):o;return a.protocol===i.protocol&&a.host===i.host}}():function(){return function(){return!0}}();function qy(t){this.message=t}qy.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")};qy.prototype.__CANCEL__=!0;var Gd=qy,mO=pi,AW=_W,EW=QW,XW=Rk,WW=kW,zW=TW,IW=RW,$0=Xk,qW=Ek,UW=Gd,Pb=function(e){return new Promise(function(i,r){var s=e.data,o=e.headers,a=e.responseType,l;function c(){e.cancelToken&&e.cancelToken.unsubscribe(l),e.signal&&e.signal.removeEventListener("abort",l)}mO.isFormData(s)&&delete o["Content-Type"];var u=new XMLHttpRequest;if(e.auth){var O=e.auth.username||"",f=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.Authorization="Basic "+btoa(O+":"+f)}var h=WW(e.baseURL,e.url);u.open(e.method.toUpperCase(),XW(h,e.params,e.paramsSerializer),!0),u.timeout=e.timeout;function p(){if(!!u){var $="getAllResponseHeaders"in u?zW(u.getAllResponseHeaders()):null,m=!a||a==="text"||a==="json"?u.responseText:u.response,d={data:m,status:u.status,statusText:u.statusText,headers:$,config:e,request:u};AW(function(v){i(v),c()},function(v){r(v),c()},d),u=null}}if("onloadend"in u?u.onloadend=p:u.onreadystatechange=function(){!u||u.readyState!==4||u.status===0&&!(u.responseURL&&u.responseURL.indexOf("file:")===0)||setTimeout(p)},u.onabort=function(){!u||(r($0("Request aborted",e,"ECONNABORTED",u)),u=null)},u.onerror=function(){r($0("Network Error",e,null,u)),u=null},u.ontimeout=function(){var m=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",d=e.transitional||qW;e.timeoutErrorMessage&&(m=e.timeoutErrorMessage),r($0(m,e,d.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",u)),u=null},mO.isStandardBrowserEnv()){var y=(e.withCredentials||IW(h))&&e.xsrfCookieName?EW.read(e.xsrfCookieName):void 0;y&&(o[e.xsrfHeaderName]=y)}"setRequestHeader"in u&&mO.forEach(o,function(m,d){typeof s=="undefined"&&d.toLowerCase()==="content-type"?delete o[d]:u.setRequestHeader(d,m)}),mO.isUndefined(e.withCredentials)||(u.withCredentials=!!e.withCredentials),a&&a!=="json"&&(u.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&u.addEventListener("progress",e.onDownloadProgress),typeof e.onUploadProgress=="function"&&u.upload&&u.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(l=function($){!u||(r(!$||$&&$.type?new UW("canceled"):$),u.abort(),u=null)},e.cancelToken&&e.cancelToken.subscribe(l),e.signal&&(e.signal.aborted?l():e.signal.addEventListener("abort",l))),s||(s=null),u.send(s)})},An=pi,kb=yW,DW=Ak,LW=Ek,BW={"Content-Type":"application/x-www-form-urlencoded"};function Cb(t,e){!An.isUndefined(t)&&An.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}function MW(){var t;return(typeof XMLHttpRequest!="undefined"||typeof process!="undefined"&&Object.prototype.toString.call(process)==="[object process]")&&(t=Pb),t}function YW(t,e,n){if(An.isString(t))try{return(e||JSON.parse)(t),An.trim(t)}catch(i){if(i.name!=="SyntaxError")throw i}return(n||JSON.stringify)(t)}var Hd={transitional:LW,adapter:MW(),transformRequest:[function(e,n){return kb(n,"Accept"),kb(n,"Content-Type"),An.isFormData(e)||An.isArrayBuffer(e)||An.isBuffer(e)||An.isStream(e)||An.isFile(e)||An.isBlob(e)?e:An.isArrayBufferView(e)?e.buffer:An.isURLSearchParams(e)?(Cb(n,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):An.isObject(e)||n&&n["Content-Type"]==="application/json"?(Cb(n,"application/json"),YW(e)):e}],transformResponse:[function(e){var n=this.transitional||Hd.transitional,i=n&&n.silentJSONParsing,r=n&&n.forcedJSONParsing,s=!i&&this.responseType==="json";if(s||r&&An.isString(e)&&e.length)try{return JSON.parse(e)}catch(o){if(s)throw o.name==="SyntaxError"?DW(o,this,"E_JSON_PARSE"):o}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};An.forEach(["delete","get","head"],function(e){Hd.headers[e]={}});An.forEach(["post","put","patch"],function(e){Hd.headers[e]=An.merge(BW)});var Uy=Hd,ZW=pi,VW=Uy,jW=function(e,n,i){var r=this||VW;return ZW.forEach(i,function(o){e=o.call(r,e,n)}),e},Wk=function(e){return!!(e&&e.__CANCEL__)},Tb=pi,b0=jW,NW=Wk,FW=Uy,GW=Gd;function _0(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new GW("canceled")}var HW=function(e){_0(e),e.headers=e.headers||{},e.data=b0.call(e,e.data,e.headers,e.transformRequest),e.headers=Tb.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),Tb.forEach(["delete","get","head","post","put","patch","common"],function(r){delete e.headers[r]});var n=e.adapter||FW.adapter;return n(e).then(function(r){return _0(e),r.data=b0.call(e,r.data,r.headers,e.transformResponse),r},function(r){return NW(r)||(_0(e),r&&r.response&&(r.response.data=b0.call(e,r.response.data,r.response.headers,e.transformResponse))),Promise.reject(r)})},yi=pi,zk=function(e,n){n=n||{};var i={};function r(u,O){return yi.isPlainObject(u)&&yi.isPlainObject(O)?yi.merge(u,O):yi.isPlainObject(O)?yi.merge({},O):yi.isArray(O)?O.slice():O}function s(u){if(yi.isUndefined(n[u])){if(!yi.isUndefined(e[u]))return r(void 0,e[u])}else return r(e[u],n[u])}function o(u){if(!yi.isUndefined(n[u]))return r(void 0,n[u])}function a(u){if(yi.isUndefined(n[u])){if(!yi.isUndefined(e[u]))return r(void 0,e[u])}else return r(void 0,n[u])}function l(u){if(u in n)return r(e[u],n[u]);if(u in e)return r(void 0,e[u])}var c={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:l};return yi.forEach(Object.keys(e).concat(Object.keys(n)),function(O){var f=c[O]||s,h=f(O);yi.isUndefined(h)&&f!==l||(i[O]=h)}),i},Ik={version:"0.26.1"},KW=Ik.version,Dy={};["object","boolean","number","function","string","symbol"].forEach(function(t,e){Dy[t]=function(i){return typeof i===t||"a"+(e<1?"n ":" ")+t}});var Rb={};Dy.transitional=function(e,n,i){function r(s,o){return"[Axios v"+KW+"] Transitional option '"+s+"'"+o+(i?". "+i:"")}return function(s,o,a){if(e===!1)throw new Error(r(o," has been removed"+(n?" in "+n:"")));return n&&!Rb[o]&&(Rb[o]=!0,console.warn(r(o," has been deprecated since v"+n+" and will be removed in the near future"))),e?e(s,o,a):!0}};function JW(t,e,n){if(typeof t!="object")throw new TypeError("options must be an object");for(var i=Object.keys(t),r=i.length;r-- >0;){var s=i[r],o=e[s];if(o){var a=t[s],l=a===void 0||o(a,s,t);if(l!==!0)throw new TypeError("option "+s+" must be "+l);continue}if(n!==!0)throw Error("Unknown option "+s)}}var e3={assertOptions:JW,validators:Dy},qk=pi,t3=Rk,Ab=gW,Eb=HW,Kd=zk,Uk=e3,rl=Uk.validators;function pf(t){this.defaults=t,this.interceptors={request:new Ab,response:new Ab}}pf.prototype.request=function(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=Kd(this.defaults,n),n.method?n.method=n.method.toLowerCase():this.defaults.method?n.method=this.defaults.method.toLowerCase():n.method="get";var i=n.transitional;i!==void 0&&Uk.assertOptions(i,{silentJSONParsing:rl.transitional(rl.boolean),forcedJSONParsing:rl.transitional(rl.boolean),clarifyTimeoutError:rl.transitional(rl.boolean)},!1);var r=[],s=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(n)===!1||(s=s&&h.synchronous,r.unshift(h.fulfilled,h.rejected))});var o=[];this.interceptors.response.forEach(function(h){o.push(h.fulfilled,h.rejected)});var a;if(!s){var l=[Eb,void 0];for(Array.prototype.unshift.apply(l,r),l=l.concat(o),a=Promise.resolve(n);l.length;)a=a.then(l.shift(),l.shift());return a}for(var c=n;r.length;){var u=r.shift(),O=r.shift();try{c=u(c)}catch(f){O(f);break}}try{a=Eb(c)}catch(f){return Promise.reject(f)}for(;o.length;)a=a.then(o.shift(),o.shift());return a};pf.prototype.getUri=function(e){return e=Kd(this.defaults,e),t3(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")};qk.forEach(["delete","get","head","options"],function(e){pf.prototype[e]=function(n,i){return this.request(Kd(i||{},{method:e,url:n,data:(i||{}).data}))}});qk.forEach(["post","put","patch"],function(e){pf.prototype[e]=function(n,i,r){return this.request(Kd(r||{},{method:e,url:n,data:i}))}});var n3=pf,i3=Gd;function zl(t){if(typeof t!="function")throw new TypeError("executor must be a function.");var e;this.promise=new Promise(function(r){e=r});var n=this;this.promise.then(function(i){if(!!n._listeners){var r,s=n._listeners.length;for(r=0;r-1&&t%1==0&&t-1&&t%1==0&&t<=lz}function Nk(t){return t!=null&&jk(t.length)&&!Yk(t)}var cz=Object.prototype;function My(t){var e=t&&t.constructor,n=typeof e=="function"&&e.prototype||cz;return t===n}function uz(t,e){for(var n=-1,i=Array(t);++n-1}function xI(t,e){var n=this.__data__,i=np(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this}function ks(t){var e=-1,n=t==null?0:t.length;for(this.clear();++ea))return!1;var c=s.get(t),u=s.get(e);if(c&&u)return c==e&&u==t;var O=-1,f=!0,h=n&IU?new Vh:void 0;for(s.set(t,e),s.set(e,t);++O=e||Q<0||O&&S>=s}function m(){var _=x0();if($(_))return d(_);a=setTimeout(m,y(_))}function d(_){return a=void 0,f&&i?h(_):(i=r=void 0,o)}function g(){a!==void 0&&clearTimeout(a),c=0,i=l=r=a=void 0}function v(){return a===void 0?o:d(x0())}function b(){var _=x0(),Q=$(_);if(i=arguments,r=this,l=_,Q){if(a===void 0)return p(l);if(O)return clearTimeout(a),a=setTimeout(m,e),h(l)}return a===void 0&&(a=setTimeout(m,e)),o}return b.cancel=g,b.flush=v,b}function dC(t){for(var e=-1,n=t==null?0:t.length,i={};++egetComputedStyle(t).position==="fixed"?!1:t.offsetParent!==null,u_=t=>Array.from(t.querySelectorAll(dD)).filter(e=>mD(e)&&pD(e)),mD=t=>{if(t.tabIndex>0||t.tabIndex===0&&t.getAttribute("tabIndex")!==null)return!0;if(t.disabled)return!1;switch(t.nodeName){case"A":return!!t.href&&t.rel!=="ignore";case"INPUT":return!(t.type==="hidden"||t.type==="file");case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}},bs=(t,e,n,i=!1)=>{t&&e&&n&&(t==null||t.addEventListener(e,n,i))},So=(t,e,n,i=!1)=>{t&&e&&n&&(t==null||t.removeEventListener(e,n,i))},gD=(t,e,n)=>{const i=function(...r){n&&n.apply(this,r),So(t,e,i)};bs(t,e,i)},dn=(t,e,{checkForDefaultPrevented:n=!0}={})=>r=>{const s=t==null?void 0:t(r);if(n===!1||!s)return e==null?void 0:e(r)},f_=t=>e=>e.pointerType==="mouse"?t(e):void 0;var vD=Object.defineProperty,yD=Object.defineProperties,$D=Object.getOwnPropertyDescriptors,O_=Object.getOwnPropertySymbols,bD=Object.prototype.hasOwnProperty,_D=Object.prototype.propertyIsEnumerable,h_=(t,e,n)=>e in t?vD(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,QD=(t,e)=>{for(var n in e||(e={}))bD.call(e,n)&&h_(t,n,e[n]);if(O_)for(var n of O_(e))_D.call(e,n)&&h_(t,n,e[n]);return t},SD=(t,e)=>yD(t,$D(e));function d_(t,e){var n;const i=ga();return va(()=>{i.value=t()},SD(QD({},e),{flush:(n=e==null?void 0:e.flush)!=null?n:"sync"})),Of(i)}function rp(t){return TX()?(mP(t),!0):!1}var p_;const qt=typeof window!="undefined",Ji=t=>typeof t=="boolean",Bt=t=>typeof t=="number",wD=t=>typeof t=="string",P0=()=>{};qt&&((p_=window==null?void 0:window.navigator)==null?void 0:p_.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function xD(t,e){function n(...i){t(()=>e.apply(this,i),{fn:e,thisArg:this,args:i})}return n}function PD(t,e={}){let n,i;return s=>{const o=M(t),a=M(e.maxWait);if(n&&clearTimeout(n),o<=0||a!==void 0&&a<=0)return i&&(clearTimeout(i),i=null),s();a&&!i&&(i=setTimeout(()=>{n&&clearTimeout(n),i=null,s()},a)),n=setTimeout(()=>{i&&clearTimeout(i),i=null,s()},o)}}function kD(t,e=200,n={}){return xD(PD(e,n),t)}function CD(t,e=200,n={}){if(e<=0)return t;const i=J(t.value),r=kD(()=>{i.value=t.value},e,n);return Ee(t,()=>r()),i}function Nh(t,e,n={}){const{immediate:i=!0}=n,r=J(!1);let s=null;function o(){s&&(clearTimeout(s),s=null)}function a(){r.value=!1,o()}function l(...c){o(),r.value=!0,s=setTimeout(()=>{r.value=!1,s=null,t(...c)},M(e))}return i&&(r.value=!0,qt&&l()),rp(a),{isPending:r,start:l,stop:a}}function $a(t){var e;const n=M(t);return(e=n==null?void 0:n.$el)!=null?e:n}const sp=qt?window:void 0,TD=qt?window.document:void 0;function Wi(...t){let e,n,i,r;if(wD(t[0])?([n,i,r]=t,e=sp):[e,n,i,r]=t,!e)return P0;let s=P0;const o=Ee(()=>$a(e),l=>{s(),l&&(l.addEventListener(n,i,r),s=()=>{l.removeEventListener(n,i,r),s=P0})},{immediate:!0,flush:"post"}),a=()=>{o(),s()};return rp(a),a}function Fh(t,e,n={}){const{window:i=sp,ignore:r,capture:s=!0}=n;if(!i)return;const o=J(!0);let a;const l=O=>{i.clearTimeout(a);const f=$a(t),h=O.composedPath();!f||f===O.target||h.includes(f)||!o.value||r&&r.length>0&&r.some(p=>{const y=$a(p);return y&&(O.target===y||h.includes(y))})||e(O)},c=[Wi(i,"click",l,{passive:!0,capture:s}),Wi(i,"pointerdown",O=>{const f=$a(t);o.value=!!f&&!O.composedPath().includes(f)},{passive:!0}),Wi(i,"pointerup",O=>{a=i.setTimeout(()=>l(O),50)},{passive:!0})];return()=>c.forEach(O=>O())}const pg=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},mg="__vueuse_ssr_handlers__";pg[mg]=pg[mg]||{};pg[mg];function RD({document:t=TD}={}){if(!t)return J("visible");const e=J(t.visibilityState);return Wi(t,"visibilitychange",()=>{e.value=t.visibilityState}),e}var m_=Object.getOwnPropertySymbols,AD=Object.prototype.hasOwnProperty,ED=Object.prototype.propertyIsEnumerable,XD=(t,e)=>{var n={};for(var i in t)AD.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(t!=null&&m_)for(var i of m_(t))e.indexOf(i)<0&&ED.call(t,i)&&(n[i]=t[i]);return n};function mf(t,e,n={}){const i=n,{window:r=sp}=i,s=XD(i,["window"]);let o;const a=r&&"ResizeObserver"in r,l=()=>{o&&(o.disconnect(),o=void 0)},c=Ee(()=>$a(t),O=>{l(),a&&r&&O&&(o=new ResizeObserver(e),o.observe(O,s))},{immediate:!0,flush:"post"}),u=()=>{l(),c()};return rp(u),{isSupported:a,stop:u}}function WD({window:t=sp}={}){if(!t)return J(!1);const e=J(t.document.hasFocus());return Wi(t,"blur",()=>{e.value=!1}),Wi(t,"focus",()=>{e.value=!0}),e}const zD=function(t){for(const e of t){const n=e.target.__resizeListeners__||[];n.length&&n.forEach(i=>{i()})}},Gy=function(t,e){!qt||!t||(t.__resizeListeners__||(t.__resizeListeners__=[],t.__ro__=new ResizeObserver(zD),t.__ro__.observe(t)),t.__resizeListeners__.push(e))},Hy=function(t,e){var n;!t||!t.__resizeListeners__||(t.__resizeListeners__.splice(t.__resizeListeners__.indexOf(e),1),t.__resizeListeners__.length||(n=t.__ro__)==null||n.disconnect())},Dr=t=>t===void 0,pC=t=>!t&&t!==0||Fe(t)&&t.length===0||yt(t)&&!Object.keys(t).length,ql=t=>typeof Element=="undefined"?!1:t instanceof Element,ID=(t="")=>t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d"),gg=t=>Object.keys(t),ch=(t,e,n)=>({get value(){return ei(t,e,n)},set value(i){hD(t,e,i)}});class qD extends Error{constructor(e){super(e),this.name="ElementPlusError"}}function Wo(t,e){throw new qD(`[${t}] ${e}`)}const mC=(t="")=>t.split(" ").filter(e=>!!e.trim()),po=(t,e)=>{if(!t||!e)return!1;if(e.includes(" "))throw new Error("className should not contain space.");return t.classList.contains(e)},Bu=(t,e)=>{!t||!e.trim()||t.classList.add(...mC(e))},wo=(t,e)=>{!t||!e.trim()||t.classList.remove(...mC(e))},hs=(t,e)=>{var n;if(!qt||!t||!e)return"";nr(e);try{const i=t.style[e];if(i)return i;const r=(n=document.defaultView)==null?void 0:n.getComputedStyle(t,"");return r?r[e]:""}catch{return t.style[e]}};function wr(t,e="px"){if(!t)return"";if(ot(t))return t;if(Bt(t))return`${t}${e}`}let vO;const UD=()=>{var t;if(!qt)return 0;if(vO!==void 0)return vO;const e=document.createElement("div");e.className="el-scrollbar__wrap",e.style.visibility="hidden",e.style.width="100px",e.style.position="absolute",e.style.top="-9999px",document.body.appendChild(e);const n=e.offsetWidth;e.style.overflow="scroll";const i=document.createElement("div");i.style.width="100%",e.appendChild(i);const r=i.offsetWidth;return(t=e.parentNode)==null||t.removeChild(e),vO=n-r,vO};function DD(t,e){if(!qt)return;if(!e){t.scrollTop=0;return}const n=[];let i=e.offsetParent;for(;i!==null&&t!==i&&t.contains(i);)n.push(i),i=i.offsetParent;const r=e.offsetTop+n.reduce((l,c)=>l+c.offsetTop,0),s=r+e.offsetHeight,o=t.scrollTop,a=o+t.clientHeight;ra&&(t.scrollTop=s-t.clientHeight)}var un=(t,e)=>{const n=t.__vccOpts||t;for(const[i,r]of e)n[i]=r;return n};const LD=Ce({name:"ArrowDown"}),BD={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},MD=D("path",{fill:"currentColor",d:"M831.872 340.864 512 652.672 192.128 340.864a30.592 30.592 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.592 30.592 0 0 0-42.752 0z"},null,-1),YD=[MD];function ZD(t,e,n,i,r,s){return L(),ie("svg",BD,YD)}var op=un(LD,[["render",ZD]]);const VD=Ce({name:"ArrowLeft"}),jD={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},ND=D("path",{fill:"currentColor",d:"M609.408 149.376 277.76 489.6a32 32 0 0 0 0 44.672l331.648 340.352a29.12 29.12 0 0 0 41.728 0 30.592 30.592 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.592 30.592 0 0 0 0-42.688 29.12 29.12 0 0 0-41.728 0z"},null,-1),FD=[ND];function GD(t,e,n,i,r,s){return L(),ie("svg",jD,FD)}var Ky=un(VD,[["render",GD]]);const HD=Ce({name:"ArrowRight"}),KD={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},JD=D("path",{fill:"currentColor",d:"M340.864 149.312a30.592 30.592 0 0 0 0 42.752L652.736 512 340.864 831.872a30.592 30.592 0 0 0 0 42.752 29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z"},null,-1),eL=[JD];function tL(t,e,n,i,r,s){return L(),ie("svg",KD,eL)}var gf=un(HD,[["render",tL]]);const nL=Ce({name:"ArrowUp"}),iL={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},rL=D("path",{fill:"currentColor",d:"m488.832 344.32-339.84 356.672a32 32 0 0 0 0 44.16l.384.384a29.44 29.44 0 0 0 42.688 0l320-335.872 319.872 335.872a29.44 29.44 0 0 0 42.688 0l.384-.384a32 32 0 0 0 0-44.16L535.168 344.32a32 32 0 0 0-46.336 0z"},null,-1),sL=[rL];function oL(t,e,n,i,r,s){return L(),ie("svg",iL,sL)}var ap=un(nL,[["render",oL]]);const aL=Ce({name:"Calendar"}),lL={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},cL=D("path",{fill:"currentColor",d:"M128 384v512h768V192H768v32a32 32 0 1 1-64 0v-32H320v32a32 32 0 0 1-64 0v-32H128v128h768v64H128zm192-256h384V96a32 32 0 1 1 64 0v32h160a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h160V96a32 32 0 0 1 64 0v32zm-32 384h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64zm0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64zm192-192h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64zm0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64zm192-192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64zm0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64z"},null,-1),uL=[cL];function fL(t,e,n,i,r,s){return L(),ie("svg",lL,uL)}var OL=un(aL,[["render",fL]]);const hL=Ce({name:"Check"}),dL={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},pL=D("path",{fill:"currentColor",d:"M406.656 706.944 195.84 496.256a32 32 0 1 0-45.248 45.248l256 256 512-512a32 32 0 0 0-45.248-45.248L406.592 706.944z"},null,-1),mL=[pL];function gL(t,e,n,i,r,s){return L(),ie("svg",dL,mL)}var g_=un(hL,[["render",gL]]);const vL=Ce({name:"CircleCheck"}),yL={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},$L=D("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768zm0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896z"},null,-1),bL=D("path",{fill:"currentColor",d:"M745.344 361.344a32 32 0 0 1 45.312 45.312l-288 288a32 32 0 0 1-45.312 0l-160-160a32 32 0 1 1 45.312-45.312L480 626.752l265.344-265.408z"},null,-1),_L=[$L,bL];function QL(t,e,n,i,r,s){return L(),ie("svg",yL,_L)}var vg=un(vL,[["render",QL]]);const SL=Ce({name:"CircleCloseFilled"}),wL={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},xL=D("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm0 393.664L407.936 353.6a38.4 38.4 0 1 0-54.336 54.336L457.664 512 353.6 616.064a38.4 38.4 0 1 0 54.336 54.336L512 566.336 616.064 670.4a38.4 38.4 0 1 0 54.336-54.336L566.336 512 670.4 407.936a38.4 38.4 0 1 0-54.336-54.336L512 457.664z"},null,-1),PL=[xL];function kL(t,e,n,i,r,s){return L(),ie("svg",wL,PL)}var gC=un(SL,[["render",kL]]);const CL=Ce({name:"CircleClose"}),TL={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},RL=D("path",{fill:"currentColor",d:"m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248L466.752 512z"},null,-1),AL=D("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768zm0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896z"},null,-1),EL=[RL,AL];function XL(t,e,n,i,r,s){return L(),ie("svg",TL,EL)}var Ul=un(CL,[["render",XL]]);const WL=Ce({name:"Clock"}),zL={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},IL=D("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768zm0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896z"},null,-1),qL=D("path",{fill:"currentColor",d:"M480 256a32 32 0 0 1 32 32v256a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32z"},null,-1),UL=D("path",{fill:"currentColor",d:"M480 512h256q32 0 32 32t-32 32H480q-32 0-32-32t32-32z"},null,-1),DL=[IL,qL,UL];function LL(t,e,n,i,r,s){return L(),ie("svg",zL,DL)}var BL=un(WL,[["render",LL]]);const ML=Ce({name:"Close"}),YL={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},ZL=D("path",{fill:"currentColor",d:"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"},null,-1),VL=[ZL];function jL(t,e,n,i,r,s){return L(),ie("svg",YL,VL)}var xa=un(ML,[["render",jL]]);const NL=Ce({name:"DArrowLeft"}),FL={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},GL=D("path",{fill:"currentColor",d:"M529.408 149.376a29.12 29.12 0 0 1 41.728 0 30.592 30.592 0 0 1 0 42.688L259.264 511.936l311.872 319.936a30.592 30.592 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L197.76 534.272a32 32 0 0 1 0-44.672l331.648-340.224zm256 0a29.12 29.12 0 0 1 41.728 0 30.592 30.592 0 0 1 0 42.688L515.264 511.936l311.872 319.936a30.592 30.592 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L453.76 534.272a32 32 0 0 1 0-44.672l331.648-340.224z"},null,-1),HL=[GL];function KL(t,e,n,i,r,s){return L(),ie("svg",FL,HL)}var Jy=un(NL,[["render",KL]]);const JL=Ce({name:"DArrowRight"}),eB={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},tB=D("path",{fill:"currentColor",d:"M452.864 149.312a29.12 29.12 0 0 1 41.728.064L826.24 489.664a32 32 0 0 1 0 44.672L494.592 874.624a29.12 29.12 0 0 1-41.728 0 30.592 30.592 0 0 1 0-42.752L764.736 512 452.864 192a30.592 30.592 0 0 1 0-42.688zm-256 0a29.12 29.12 0 0 1 41.728.064L570.24 489.664a32 32 0 0 1 0 44.672L238.592 874.624a29.12 29.12 0 0 1-41.728 0 30.592 30.592 0 0 1 0-42.752L508.736 512 196.864 192a30.592 30.592 0 0 1 0-42.688z"},null,-1),nB=[tB];function iB(t,e,n,i,r,s){return L(),ie("svg",eB,nB)}var e$=un(JL,[["render",iB]]);const rB=Ce({name:"Hide"}),sB={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},oB=D("path",{d:"M876.8 156.8c0-9.6-3.2-16-9.6-22.4-6.4-6.4-12.8-9.6-22.4-9.6-9.6 0-16 3.2-22.4 9.6L736 220.8c-64-32-137.6-51.2-224-60.8-160 16-288 73.6-377.6 176C44.8 438.4 0 496 0 512s48 73.6 134.4 176c22.4 25.6 44.8 48 73.6 67.2l-86.4 89.6c-6.4 6.4-9.6 12.8-9.6 22.4 0 9.6 3.2 16 9.6 22.4 6.4 6.4 12.8 9.6 22.4 9.6 9.6 0 16-3.2 22.4-9.6l704-710.4c3.2-6.4 6.4-12.8 6.4-22.4Zm-646.4 528c-76.8-70.4-128-128-153.6-172.8 28.8-48 80-105.6 153.6-172.8C304 272 400 230.4 512 224c64 3.2 124.8 19.2 176 44.8l-54.4 54.4C598.4 300.8 560 288 512 288c-64 0-115.2 22.4-160 64s-64 96-64 160c0 48 12.8 89.6 35.2 124.8L256 707.2c-9.6-6.4-19.2-16-25.6-22.4Zm140.8-96c-12.8-22.4-19.2-48-19.2-76.8 0-44.8 16-83.2 48-112 32-28.8 67.2-48 112-48 28.8 0 54.4 6.4 73.6 19.2L371.2 588.8ZM889.599 336c-12.8-16-28.8-28.8-41.6-41.6l-48 48c73.6 67.2 124.8 124.8 150.4 169.6-28.8 48-80 105.6-153.6 172.8-73.6 67.2-172.8 108.8-284.8 115.2-51.2-3.2-99.2-12.8-140.8-28.8l-48 48c57.6 22.4 118.4 38.4 188.8 44.8 160-16 288-73.6 377.6-176C979.199 585.6 1024 528 1024 512s-48.001-73.6-134.401-176Z",fill:"currentColor"},null,-1),aB=D("path",{d:"M511.998 672c-12.8 0-25.6-3.2-38.4-6.4l-51.2 51.2c28.8 12.8 57.6 19.2 89.6 19.2 64 0 115.2-22.4 160-64 41.6-41.6 64-96 64-160 0-32-6.4-64-19.2-89.6l-51.2 51.2c3.2 12.8 6.4 25.6 6.4 38.4 0 44.8-16 83.2-48 112-32 28.8-67.2 48-112 48Z",fill:"currentColor"},null,-1),lB=[oB,aB];function cB(t,e,n,i,r,s){return L(),ie("svg",sB,lB)}var uB=un(rB,[["render",cB]]);const fB=Ce({name:"InfoFilled"}),OB={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},hB=D("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896.064A448 448 0 0 1 512 64zm67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344zM590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.992 12.992 0 0 1-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296-44.096 0-108.992 44.736-148.48 101.504 0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 0 1 7.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04 67.84 0 107.904-43.648 147.456-100.416z"},null,-1),dB=[hB];function pB(t,e,n,i,r,s){return L(),ie("svg",OB,dB)}var vC=un(fB,[["render",pB]]);const mB=Ce({name:"Loading"}),gB={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},vB=D("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32zm0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32zm448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32zm-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32zM195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248zM828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0zm-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0z"},null,-1),yB=[vB];function $B(t,e,n,i,r,s){return L(),ie("svg",gB,yB)}var vf=un(mB,[["render",$B]]);const bB=Ce({name:"Minus"}),_B={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},QB=D("path",{fill:"currentColor",d:"M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64z"},null,-1),SB=[QB];function wB(t,e,n,i,r,s){return L(),ie("svg",_B,SB)}var xB=un(bB,[["render",wB]]);const PB=Ce({name:"Plus"}),kB={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},CB=D("path",{fill:"currentColor",d:"M480 480V128a32 32 0 0 1 64 0v352h352a32 32 0 1 1 0 64H544v352a32 32 0 1 1-64 0V544H128a32 32 0 0 1 0-64h352z"},null,-1),TB=[CB];function RB(t,e,n,i,r,s){return L(),ie("svg",kB,TB)}var yC=un(PB,[["render",RB]]);const AB=Ce({name:"SuccessFilled"}),EB={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},XB=D("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.272 38.272 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336L456.192 600.384z"},null,-1),WB=[XB];function zB(t,e,n,i,r,s){return L(),ie("svg",EB,WB)}var $C=un(AB,[["render",zB]]);const IB=Ce({name:"View"}),qB={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},UB=D("path",{fill:"currentColor",d:"M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352zm0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288zm0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448zm0 64a160.192 160.192 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160z"},null,-1),DB=[UB];function LB(t,e,n,i,r,s){return L(),ie("svg",qB,DB)}var BB=un(IB,[["render",LB]]);const MB=Ce({name:"WarningFilled"}),YB={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},ZB=D("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm0 192a58.432 58.432 0 0 0-58.24 63.744l23.36 256.384a35.072 35.072 0 0 0 69.76 0l23.296-256.384A58.432 58.432 0 0 0 512 256zm0 512a51.2 51.2 0 1 0 0-102.4 51.2 51.2 0 0 0 0 102.4z"},null,-1),VB=[ZB];function jB(t,e,n,i,r,s){return L(),ie("svg",YB,VB)}var Gh=un(MB,[["render",jB]]);const yg=Symbol(),v_="__elPropsReservedKey";function lp(t,e){if(!yt(t)||!!t[v_])return t;const{values:n,required:i,default:r,type:s,validator:o}=t,a=n||o?c=>{let u=!1,O=[];if(n&&(O=Array.from(n),ct(t,"default")&&O.push(r),u||(u=O.includes(c))),o&&(u||(u=o(c))),!u&&O.length>0){const f=[...new Set(O)].map(h=>JSON.stringify(h)).join(", ");l8(`Invalid prop: validation failed${e?` for prop "${e}"`:""}. Expected one of [${f}], got value ${JSON.stringify(c)}.`)}return u}:void 0,l={type:yt(s)&&Object.getOwnPropertySymbols(s).includes(yg)?s[yg]:s,required:!!i,validator:a,[v_]:!0};return ct(t,"default")&&(l.default=r),l}const lt=t=>dC(Object.entries(t).map(([e,n])=>[e,lp(n,e)])),Ne=t=>({[yg]:t}),_s=Ne([String,Object,Function]),NB={Close:xa},cp={Close:xa,SuccessFilled:$C,InfoFilled:vC,WarningFilled:Gh,CircleCloseFilled:gC},Qs={success:$C,warning:Gh,error:gC,info:vC},FB={validating:vf,success:vg,error:Ul},Gt=(t,e)=>{if(t.install=n=>{for(const i of[t,...Object.values(e!=null?e:{})])n.component(i.name,i)},e)for(const[n,i]of Object.entries(e))t[n]=i;return t},bC=(t,e)=>(t.install=n=>{t._context=n._context,n.config.globalProperties[e]=t},t),Di=t=>(t.install=bn,t),_C=(...t)=>e=>{t.forEach(n=>{st(n)?n(e):n.value=e})},rt={tab:"Tab",enter:"Enter",space:"Space",left:"ArrowLeft",up:"ArrowUp",right:"ArrowRight",down:"ArrowDown",esc:"Escape",delete:"Delete",backspace:"Backspace",numpadEnter:"NumpadEnter",pageUp:"PageUp",pageDown:"PageDown",home:"Home",end:"End"},GB=["year","month","date","dates","week","datetime","datetimerange","daterange","monthrange"],Wt="update:modelValue",Mu="change",$g="input",qa=["","default","small","large"],HB={large:40,default:32,small:24},KB=t=>HB[t||"default"],Ua=t=>["",...qa].includes(t),QC=t=>[...GB].includes(t);var uh=(t=>(t[t.TEXT=1]="TEXT",t[t.CLASS=2]="CLASS",t[t.STYLE=4]="STYLE",t[t.PROPS=8]="PROPS",t[t.FULL_PROPS=16]="FULL_PROPS",t[t.HYDRATE_EVENTS=32]="HYDRATE_EVENTS",t[t.STABLE_FRAGMENT=64]="STABLE_FRAGMENT",t[t.KEYED_FRAGMENT=128]="KEYED_FRAGMENT",t[t.UNKEYED_FRAGMENT=256]="UNKEYED_FRAGMENT",t[t.NEED_PATCH=512]="NEED_PATCH",t[t.DYNAMIC_SLOTS=1024]="DYNAMIC_SLOTS",t[t.HOISTED=-1]="HOISTED",t[t.BAIL=-2]="BAIL",t))(uh||{});const JB=t=>{if(!xn(t))return{};const e=t.props||{},n=(xn(t.type)?t.type.props:void 0)||{},i={};return Object.keys(n).forEach(r=>{ct(n[r],"default")&&(i[r]=n[r].default)}),Object.keys(e).forEach(r=>{i[nr(r)]=e[r]}),i},hu=t=>!t&&t!==0?[]:Array.isArray(t)?t:[t],SC=t=>/([(\uAC00-\uD7AF)|(\u3130-\u318F)])+/gi.test(t),wC=()=>Math.floor(Math.random()*1e4),t$=t=>t,e9=["class","style"],t9=/^on[A-Z]/,xC=(t={})=>{const{excludeListeners:e=!1,excludeKeys:n=[]}=t,i=n.concat(e9),r=$t();return N(r?()=>{var s;return dC(Object.entries((s=r.proxy)==null?void 0:s.$attrs).filter(([o])=>!i.includes(o)&&!(e&&t9.test(o))))}:()=>({}))},PC=Symbol("buttonGroupContextKey"),kC=Symbol(),CC=Symbol("dialogInjectionKey"),Ts=Symbol("formContextKey"),Gr=Symbol("formItemContextKey"),TC=Symbol("radioGroupKey"),RC=Symbol("scrollbarContextKey"),up=Symbol("tabsRootContextKey"),n$=Symbol("popper"),AC=Symbol("popperContent"),EC=t=>{const e=$t();return N(()=>{var n,i;return(i=(n=e.proxy)==null?void 0:n.$props[t])!=null?i:void 0})},Hh=J();function Da(t,e=void 0){const n=$t()?De(kC,Hh):Hh;return t?N(()=>{var i,r;return(r=(i=n.value)==null?void 0:i[t])!=null?r:e}):n}const n9=(t,e,n=!1)=>{var i;const r=!!$t(),s=r?Da():void 0,o=(i=e==null?void 0:e.provide)!=null?i:r?kt:void 0;if(!o)return;const a=N(()=>{const l=M(t);return s!=null&&s.value?i9(s.value,l):l});return o(kC,a),(n||!Hh.value)&&(Hh.value=a.value),a},i9=(t,e)=>{var n;const i=[...new Set([...gg(t),...gg(e)])],r={};for(const s of i)r[s]=(n=e[s])!=null?n:t[s];return r},fp=lp({type:String,values:qa,required:!1}),Dn=(t,e={})=>{const n=J(void 0),i=e.prop?n:EC("size"),r=e.global?n:Da("size"),s=e.form?{size:void 0}:De(Ts,void 0),o=e.formItem?{size:void 0}:De(Gr,void 0);return N(()=>i.value||M(t)||(o==null?void 0:o.size)||(s==null?void 0:s.size)||r.value||"")},hc=t=>{const e=EC("disabled"),n=De(Ts,void 0);return N(()=>e.value||M(t)||(n==null?void 0:n.disabled)||!1)},XC=(t,e,n)=>{let i={offsetX:0,offsetY:0};const r=a=>{const l=a.clientX,c=a.clientY,{offsetX:u,offsetY:O}=i,f=t.value.getBoundingClientRect(),h=f.left,p=f.top,y=f.width,$=f.height,m=document.documentElement.clientWidth,d=document.documentElement.clientHeight,g=-h+u,v=-p+O,b=m-h-y+u,_=d-p-$+O,Q=P=>{const w=Math.min(Math.max(u+P.clientX-l,g),b),x=Math.min(Math.max(O+P.clientY-c,v),_);i={offsetX:w,offsetY:x},t.value.style.transform=`translate(${wr(w)}, ${wr(x)})`},S=()=>{document.removeEventListener("mousemove",Q),document.removeEventListener("mouseup",S)};document.addEventListener("mousemove",Q),document.addEventListener("mouseup",S)},s=()=>{e.value&&t.value&&e.value.addEventListener("mousedown",r)},o=()=>{e.value&&t.value&&e.value.removeEventListener("mousedown",r)};xt(()=>{va(()=>{n.value?s():o()})}),Qn(()=>{o()})},r9=t=>({focus:()=>{var e,n;(n=(e=t.value)==null?void 0:e.focus)==null||n.call(e)}}),s9={prefix:Math.floor(Math.random()*1e4),current:0},o9=Symbol("elIdInjection"),Op=t=>{const e=De(o9,s9);return N(()=>M(t)||`el-id-${e.prefix}-${e.current++}`)},yf=()=>{const t=De(Ts,void 0),e=De(Gr,void 0);return{form:t,formItem:e}},$f=(t,{formItemContext:e,disableIdGeneration:n,disableIdManagement:i})=>{n||(n=J(!1)),i||(i=J(!1));const r=J();let s;const o=N(()=>{var a;return!!(!t.label&&e&&e.inputIds&&((a=e.inputIds)==null?void 0:a.length)<=1)});return xt(()=>{s=Ee([Pn(t,"id"),n],([a,l])=>{const c=a!=null?a:l?void 0:Op().value;c!==r.value&&(e!=null&&e.removeInputId&&(r.value&&e.removeInputId(r.value),!(i!=null&&i.value)&&!l&&c&&e.addInputId(c)),r.value=c)},{immediate:!0})}),Wa(()=>{s&&s(),e!=null&&e.removeInputId&&r.value&&e.removeInputId(r.value)}),{isLabeledByFormItem:o,inputId:r}};var a9={name:"en",el:{colorpicker:{confirm:"OK",clear:"Clear",defaultLabel:"color picker",description:"current color is {color}. press enter to select a new color."},datepicker:{now:"Now",today:"Today",cancel:"Cancel",clear:"Clear",confirm:"OK",selectDate:"Select date",selectTime:"Select time",startDate:"Start Date",startTime:"Start Time",endDate:"End Date",endTime:"End Time",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",year:"",month1:"January",month2:"February",month3:"March",month4:"April",month5:"May",month6:"June",month7:"July",month8:"August",month9:"September",month10:"October",month11:"November",month12:"December",week:"week",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},months:{jan:"Jan",feb:"Feb",mar:"Mar",apr:"Apr",may:"May",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Oct",nov:"Nov",dec:"Dec"}},inputNumber:{decrease:"decrease number",increase:"increase number"},select:{loading:"Loading",noMatch:"No matching data",noData:"No data",placeholder:"Select"},cascader:{noMatch:"No matching data",loading:"Loading",placeholder:"Select",noData:"No data"},pagination:{goto:"Go to",pagesize:"/page",total:"Total {total}",pageClassifier:"",deprecationWarning:"Deprecated usages detected, please refer to the el-pagination documentation for more details"},messagebox:{title:"Message",confirm:"OK",cancel:"Cancel",error:"Illegal input"},upload:{deleteTip:"press delete to remove",delete:"Delete",preview:"Preview",continue:"Continue"},slider:{defaultLabel:"slider between {min} and {max}",defaultRangeStartLabel:"pick start value",defaultRangeEndLabel:"pick end value"},table:{emptyText:"No Data",confirmFilter:"Confirm",resetFilter:"Reset",clearFilter:"All",sumText:"Sum"},tree:{emptyText:"No Data"},transfer:{noMatch:"No matching data",noData:"No data",titles:["List 1","List 2"],filterPlaceholder:"Enter keyword",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} checked"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"}}};const l9=t=>(e,n)=>c9(e,n,M(t)),c9=(t,e,n)=>ei(n,t,t).replace(/\{(\w+)\}/g,(i,r)=>{var s;return`${(s=e==null?void 0:e[r])!=null?s:`{${r}}`}`}),u9=t=>{const e=N(()=>M(t).name),n=It(t)?t:J(t);return{lang:e,locale:n,t:l9(t)}},Fn=()=>{const t=Da("locale");return u9(N(()=>t.value||a9))},WC=t=>{if(It(t)||Wo("[useLockscreen]","You need to pass a ref param to this function"),!qt||po(document.body,"el-popup-parent--hidden"))return;let e=0,n=!1,i="0",r=0;const s=()=>{wo(document.body,"el-popup-parent--hidden"),n&&(document.body.style.paddingRight=i)};Ee(t,o=>{if(!o){s();return}n=!po(document.body,"el-popup-parent--hidden"),n&&(i=document.body.style.paddingRight,r=Number.parseInt(hs(document.body,"paddingRight"),10)),e=UD();const a=document.documentElement.clientHeight0&&(a||l==="scroll")&&n&&(document.body.style.paddingRight=`${r+e}px`),Bu(document.body,"el-popup-parent--hidden")}),mP(()=>s())},wl=[],f9=t=>{wl.length!==0&&t.code===rt.esc&&(t.stopPropagation(),wl[wl.length-1].handleClose())},zC=(t,e)=>{Ee(e,n=>{n?wl.push(t):wl.splice(wl.indexOf(t),1)})};qt&&Wi(document,"keydown",f9);const O9=lp({type:Ne(Boolean),default:null}),h9=lp({type:Ne(Function)}),d9=t=>{const e={[t]:O9,[`onUpdate:${t}`]:h9},n=[`update:${t}`];return{useModelToggle:({indicator:r,shouldHideWhenRouteChanges:s,shouldProceed:o,onShow:a,onHide:l})=>{const c=$t(),u=c.props,{emit:O}=c,f=`update:${t}`,h=N(()=>st(u[`onUpdate:${t}`])),p=N(()=>u[t]===null),y=()=>{r.value!==!0&&(r.value=!0,st(a)&&a())},$=()=>{r.value!==!1&&(r.value=!1,st(l)&&l())},m=()=>{if(u.disabled===!0||st(o)&&!o())return;const b=h.value&&qt;b&&O(f,!0),(p.value||!b)&&y()},d=()=>{if(u.disabled===!0||!qt)return;const b=h.value&&qt;b&&O(f,!1),(p.value||!b)&&$()},g=b=>{!Ji(b)||(u.disabled&&b?h.value&&O(f,!1):r.value!==b&&(b?y():$()))},v=()=>{r.value?d():m()};return Ee(()=>u[t],g),s&&c.appContext.config.globalProperties.$route!==void 0&&Ee(()=>ze({},c.proxy.$route),()=>{s.value&&r.value&&d()}),xt(()=>{g(u[t])}),{hide:d,show:m,toggle:v}},useModelToggleProps:e,useModelToggleEmits:n}},p9=(t,e,n)=>{const i=s=>{n(s)&&s.stopImmediatePropagation()};let r;Ee(()=>t.value,s=>{s?r=Wi(document,e,i,!0):r==null||r()},{immediate:!0})},IC=(t,e)=>{let n;Ee(()=>t.value,i=>{var r,s;i?(n=document.activeElement,It(e)&&((s=(r=e.value).focus)==null||s.call(r))):n.focus()})},i$=t=>{if(!t)return{onClick:bn,onMousedown:bn,onMouseup:bn};let e=!1,n=!1;return{onClick:o=>{e&&n&&t(o),e=n=!1},onMousedown:o=>{e=o.target===o.currentTarget},onMouseup:o=>{n=o.target===o.currentTarget}}};function m9(){let t;const e=(i,r)=>{n(),t=window.setTimeout(i,r)},n=()=>window.clearTimeout(t);return rp(()=>n()),{registerTimeout:e,cancelTimeout:n}}const g9=t=>{const e=n=>{const i=n;i.key===rt.esc&&(t==null||t(i))};xt(()=>{bs(document,"keydown",e)}),Qn(()=>{So(document,"keydown",e)})};let y_;const qC=`el-popper-container-${wC()}`,UC=`#${qC}`,v9=()=>{const t=document.createElement("div");return t.id=qC,document.body.appendChild(t),t},y9=()=>{Yd(()=>{!qt||(!y_||!document.body.querySelector(UC))&&(y_=v9())})},$9=lt({showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200}}),b9=({showAfter:t,hideAfter:e,open:n,close:i})=>{const{registerTimeout:r}=m9();return{onOpen:()=>{r(()=>{n()},M(t))},onClose:()=>{r(()=>{i()},M(e))}}},DC=Symbol("elForwardRef"),_9=t=>{kt(DC,{setForwardRef:n=>{t.value=n}})},Q9=t=>({mounted(e){t(e)},updated(e){t(e)},unmounted(){t(null)}}),LC="el",S9="is-",Ko=(t,e,n,i,r)=>{let s=`${t}-${e}`;return n&&(s+=`-${n}`),i&&(s+=`__${i}`),r&&(s+=`--${r}`),s},Ze=t=>{const e=Da("namespace"),n=N(()=>e.value||LC);return{namespace:n,b:(y="")=>Ko(M(n),t,y,"",""),e:y=>y?Ko(M(n),t,"",y,""):"",m:y=>y?Ko(M(n),t,"","",y):"",be:(y,$)=>y&&$?Ko(M(n),t,y,$,""):"",em:(y,$)=>y&&$?Ko(M(n),t,"",y,$):"",bm:(y,$)=>y&&$?Ko(M(n),t,y,"",$):"",bem:(y,$,m)=>y&&$&&m?Ko(M(n),t,y,$,m):"",is:(y,...$)=>{const m=$.length>=1?$[0]:!0;return y&&m?`${S9}${y}`:""},cssVar:y=>{const $={};for(const m in y)$[`--${n.value}-${m}`]=y[m];return $},cssVarName:y=>`--${n.value}-${y}`,cssVarBlock:y=>{const $={};for(const m in y)$[`--${n.value}-${t}-${m}`]=y[m];return $},cssVarBlockName:y=>`--${n.value}-${t}-${y}`}},$_=J(0),La=()=>{const t=Da("zIndex",2e3),e=N(()=>t.value+$_.value);return{initialZIndex:t,currentZIndex:e,nextZIndex:()=>($_.value++,e.value)}};function w9(t){const e=J();function n(){if(t.value==null)return;const{selectionStart:r,selectionEnd:s,value:o}=t.value;if(r==null||s==null)return;const a=o.slice(0,Math.max(0,r)),l=o.slice(Math.max(0,s));e.value={selectionStart:r,selectionEnd:s,value:o,beforeTxt:a,afterTxt:l}}function i(){if(t.value==null||e.value==null)return;const{value:r}=t.value,{beforeTxt:s,afterTxt:o,selectionStart:a}=e.value;if(s==null||o==null||a==null)return;let l=r.length;if(r.endsWith(o))l=r.length-o.length;else if(r.startsWith(s))l=s.length;else{const c=s[a-1],u=r.indexOf(c,a-1);u!==-1&&(l=u+1)}t.value.setSelectionRange(l,l)}return[n,i]}var Me=(t,e)=>{const n=t.__vccOpts||t;for(const[i,r]of e)n[i]=r;return n};const x9=lt({size:{type:Ne([Number,String])},color:{type:String}}),P9={name:"ElIcon",inheritAttrs:!1},k9=Ce(Je(ze({},P9),{props:x9,setup(t){const e=t,n=Ze("icon"),i=N(()=>!e.size&&!e.color?{}:{fontSize:Dr(e.size)?void 0:wr(e.size),"--color":e.color});return(r,s)=>(L(),ie("i",ii({class:M(n).b(),style:M(i)},r.$attrs),[We(r.$slots,"default")],16))}}));var C9=Me(k9,[["__file","/home/runner/work/element-plus/element-plus/packages/components/icon/src/icon.vue"]]);const wt=Gt(C9),T9=["light","dark"],R9=lt({title:{type:String,default:""},description:{type:String,default:""},type:{type:String,values:gg(Qs),default:"info"},closable:{type:Boolean,default:!0},closeText:{type:String,default:""},showIcon:Boolean,center:Boolean,effect:{type:String,values:T9,default:"light"}}),A9={close:t=>t instanceof MouseEvent},E9={name:"ElAlert"},X9=Ce(Je(ze({},E9),{props:R9,emits:A9,setup(t,{emit:e}){const n=t,{Close:i}=cp,r=df(),s=Ze("alert"),o=J(!0),a=N(()=>Qs[n.type]||Qs.info),l=N(()=>n.description||{[s.is("big")]:r.default}),c=N(()=>n.description||{[s.is("bold")]:r.default}),u=O=>{o.value=!1,e("close",O)};return(O,f)=>(L(),be(ri,{name:M(s).b("fade")},{default:Z(()=>[it(D("div",{class:te([M(s).b(),M(s).m(O.type),M(s).is("center",O.center),M(s).is(O.effect)]),role:"alert"},[O.showIcon&&M(a)?(L(),be(M(wt),{key:0,class:te([M(s).e("icon"),M(l)])},{default:Z(()=>[(L(),be(Vt(M(a))))]),_:1},8,["class"])):Qe("v-if",!0),D("div",{class:te(M(s).e("content"))},[O.title||O.$slots.title?(L(),ie("span",{key:0,class:te([M(s).e("title"),M(c)])},[We(O.$slots,"title",{},()=>[Xe(de(O.title),1)])],2)):Qe("v-if",!0),O.$slots.default||O.description?(L(),ie("p",{key:1,class:te(M(s).e("description"))},[We(O.$slots,"default",{},()=>[Xe(de(O.description),1)])],2)):Qe("v-if",!0),O.closable?(L(),ie(Le,{key:2},[O.closeText?(L(),ie("div",{key:0,class:te([M(s).e("close-btn"),M(s).is("customed")]),onClick:u},de(O.closeText),3)):(L(),be(M(wt),{key:1,class:te(M(s).e("close-btn")),onClick:u},{default:Z(()=>[B(M(i))]),_:1},8,["class"]))],2112)):Qe("v-if",!0)],2)],2),[[Lt,o.value]])]),_:3},8,["name"]))}}));var W9=Me(X9,[["__file","/home/runner/work/element-plus/element-plus/packages/components/alert/src/alert.vue"]]);const bf=Gt(W9);let Or;const z9=` - height:0 !important; - visibility:hidden !important; - overflow:hidden !important; - position:absolute !important; - z-index:-1000 !important; - top:0 !important; - right:0 !important; -`,I9=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function q9(t){const e=window.getComputedStyle(t),n=e.getPropertyValue("box-sizing"),i=Number.parseFloat(e.getPropertyValue("padding-bottom"))+Number.parseFloat(e.getPropertyValue("padding-top")),r=Number.parseFloat(e.getPropertyValue("border-bottom-width"))+Number.parseFloat(e.getPropertyValue("border-top-width"));return{contextStyle:I9.map(o=>`${o}:${e.getPropertyValue(o)}`).join(";"),paddingSize:i,borderSize:r,boxSizing:n}}function b_(t,e=1,n){var i;Or||(Or=document.createElement("textarea"),document.body.appendChild(Or));const{paddingSize:r,borderSize:s,boxSizing:o,contextStyle:a}=q9(t);Or.setAttribute("style",`${a};${z9}`),Or.value=t.value||t.placeholder||"";let l=Or.scrollHeight;const c={};o==="border-box"?l=l+s:o==="content-box"&&(l=l-r),Or.value="";const u=Or.scrollHeight-r;if(Bt(e)){let O=u*e;o==="border-box"&&(O=O+r+s),l=Math.max(O,l),c.minHeight=`${O}px`}if(Bt(n)){let O=u*n;o==="border-box"&&(O=O+r+s),l=Math.min(O,l)}return c.height=`${l}px`,(i=Or.parentNode)==null||i.removeChild(Or),Or=void 0,c}const U9=lt({id:{type:String,default:void 0},size:fp,disabled:Boolean,modelValue:{type:Ne([String,Number,Object]),default:""},type:{type:String,default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:Ne([Boolean,Object]),default:!1},autocomplete:{type:String,default:"off"},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String,default:""},readonly:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},showPassword:{type:Boolean,default:!1},showWordLimit:{type:Boolean,default:!1},suffixIcon:{type:_s,default:""},prefixIcon:{type:_s,default:""},label:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:Ne([Object,Array,String]),default:()=>t$({})}}),D9={[Wt]:t=>ot(t),input:t=>ot(t),change:t=>ot(t),focus:t=>t instanceof FocusEvent,blur:t=>t instanceof FocusEvent,clear:()=>!0,mouseleave:t=>t instanceof MouseEvent,mouseenter:t=>t instanceof MouseEvent,keydown:t=>t instanceof Event,compositionstart:t=>t instanceof CompositionEvent,compositionupdate:t=>t instanceof CompositionEvent,compositionend:t=>t instanceof CompositionEvent},L9=["id","type","disabled","formatter","parser","readonly","autocomplete","tabindex","aria-label","placeholder"],B9=["id","tabindex","disabled","readonly","autocomplete","aria-label","placeholder"],M9={name:"ElInput",inheritAttrs:!1},Y9=Ce(Je(ze({},M9),{props:U9,emits:D9,setup(t,{expose:e,emit:n}){const i=t,r={suffix:"append",prefix:"prepend"},s=$t(),o=lk(),a=df(),l=xC(),{form:c,formItem:u}=yf(),{inputId:O}=$f(i,{formItemContext:u}),f=Dn(),h=hc(),p=Ze("input"),y=Ze("textarea"),$=ga(),m=ga(),d=J(!1),g=J(!1),v=J(!1),b=J(!1),_=J(),Q=ga(i.inputStyle),S=N(()=>$.value||m.value),P=N(()=>{var ce;return(ce=c==null?void 0:c.statusIcon)!=null?ce:!1}),w=N(()=>(u==null?void 0:u.validateState)||""),x=N(()=>FB[w.value]),k=N(()=>b.value?BB:uB),C=N(()=>[o.style,i.inputStyle]),T=N(()=>[i.inputStyle,Q.value,{resize:i.resize}]),E=N(()=>fD(i.modelValue)?"":String(i.modelValue)),A=N(()=>i.clearable&&!h.value&&!i.readonly&&!!E.value&&(d.value||g.value)),R=N(()=>i.showPassword&&!h.value&&!i.readonly&&(!!E.value||d.value)),X=N(()=>i.showWordLimit&&!!l.value.maxlength&&(i.type==="text"||i.type==="textarea")&&!h.value&&!i.readonly&&!i.showPassword),U=N(()=>Array.from(E.value).length),V=N(()=>!!X.value&&U.value>Number(l.value.maxlength)),j=N(()=>!!a.suffix||!!i.suffixIcon||A.value||i.showPassword||X.value||!!w.value&&P.value),[Y,ee]=w9($);mf(m,ce=>{if(!X.value||i.resize!=="both")return;const K=ce[0],{width:ge}=K.contentRect;_.value={right:`calc(100% - ${ge+15+6}px)`}});const se=()=>{const{type:ce,autosize:K}=i;if(!(!qt||ce!=="textarea"))if(K){const ge=yt(K)?K.minRows:void 0,Te=yt(K)?K.maxRows:void 0;Q.value=ze({},b_(m.value,ge,Te))}else Q.value={minHeight:b_(m.value).minHeight}},I=()=>{const ce=S.value;!ce||ce.value===E.value||(ce.value=E.value)},ne=ce=>{const{el:K}=s.vnode;if(!K)return;const Te=Array.from(K.querySelectorAll(`.${p.e(ce)}`)).find(Ae=>Ae.parentNode===K);if(!Te)return;const Ye=r[ce];a[Ye]?Te.style.transform=`translateX(${ce==="suffix"?"-":""}${K.querySelector(`.${p.be("group",Ye)}`).offsetWidth}px)`:Te.removeAttribute("style")},H=()=>{ne("prefix"),ne("suffix")},re=async ce=>{Y();let{value:K}=ce.target;i.formatter&&(K=i.parser?i.parser(K):K,K=i.formatter(K)),!v.value&&K!==E.value&&(n(Wt,K),n("input",K),await et(),I(),ee())},G=ce=>{n("change",ce.target.value)},Re=ce=>{n("compositionstart",ce),v.value=!0},_e=ce=>{var K;n("compositionupdate",ce);const ge=(K=ce.target)==null?void 0:K.value,Te=ge[ge.length-1]||"";v.value=!SC(Te)},ue=ce=>{n("compositionend",ce),v.value&&(v.value=!1,re(ce))},W=()=>{b.value=!b.value,q()},q=async()=>{var ce;await et(),(ce=S.value)==null||ce.focus()},F=()=>{var ce;return(ce=S.value)==null?void 0:ce.blur()},fe=ce=>{d.value=!0,n("focus",ce)},he=ce=>{var K;d.value=!1,n("blur",ce),i.validateEvent&&((K=u==null?void 0:u.validate)==null||K.call(u,"blur").catch(ge=>void 0))},ve=ce=>{g.value=!1,n("mouseleave",ce)},xe=ce=>{g.value=!0,n("mouseenter",ce)},me=ce=>{n("keydown",ce)},le=()=>{var ce;(ce=S.value)==null||ce.select()},oe=()=>{n(Wt,""),n("change",""),n("clear"),n("input","")};return Ee(()=>i.modelValue,()=>{var ce;et(()=>se()),i.validateEvent&&((ce=u==null?void 0:u.validate)==null||ce.call(u,"change").catch(K=>void 0))}),Ee(E,()=>I()),Ee(()=>i.type,async()=>{await et(),I(),se(),H()}),xt(async()=>{!i.formatter&&i.parser,I(),H(),await et(),se()}),Ps(async()=>{await et(),H()}),e({input:$,textarea:m,ref:S,textareaStyle:T,autosize:Pn(i,"autosize"),focus:q,blur:F,select:le,clear:oe,resizeTextarea:se}),(ce,K)=>it((L(),ie("div",{class:te([ce.type==="textarea"?M(y).b():M(p).b(),M(p).m(M(f)),M(p).is("disabled",M(h)),M(p).is("exceed",M(V)),{[M(p).b("group")]:ce.$slots.prepend||ce.$slots.append,[M(p).bm("group","append")]:ce.$slots.append,[M(p).bm("group","prepend")]:ce.$slots.prepend,[M(p).m("prefix")]:ce.$slots.prefix||ce.prefixIcon,[M(p).m("suffix")]:ce.$slots.suffix||ce.suffixIcon||ce.clearable||ce.showPassword,[M(p).bm("suffix","password-clear")]:M(A)&&M(R)},ce.$attrs.class]),style:tt(M(C)),onMouseenter:xe,onMouseleave:ve},[Qe(" input "),ce.type!=="textarea"?(L(),ie(Le,{key:0},[Qe(" prepend slot "),ce.$slots.prepend?(L(),ie("div",{key:0,class:te(M(p).be("group","prepend"))},[We(ce.$slots,"prepend")],2)):Qe("v-if",!0),D("div",{class:te([M(p).e("wrapper"),M(p).is("focus",d.value)])},[Qe(" prefix slot "),ce.$slots.prefix||ce.prefixIcon?(L(),ie("span",{key:0,class:te(M(p).e("prefix"))},[D("span",{class:te(M(p).e("prefix-inner"))},[We(ce.$slots,"prefix"),ce.prefixIcon?(L(),be(M(wt),{key:0,class:te(M(p).e("icon"))},{default:Z(()=>[(L(),be(Vt(ce.prefixIcon)))]),_:1},8,["class"])):Qe("v-if",!0)],2)],2)):Qe("v-if",!0),D("input",ii({id:M(O),ref_key:"input",ref:$,class:M(p).e("inner")},M(l),{type:ce.showPassword?b.value?"text":"password":ce.type,disabled:M(h),formatter:ce.formatter,parser:ce.parser,readonly:ce.readonly,autocomplete:ce.autocomplete,tabindex:ce.tabindex,"aria-label":ce.label,placeholder:ce.placeholder,style:ce.inputStyle,onCompositionstart:Re,onCompositionupdate:_e,onCompositionend:ue,onInput:re,onFocus:fe,onBlur:he,onChange:G,onKeydown:me}),null,16,L9),Qe(" suffix slot "),M(j)?(L(),ie("span",{key:1,class:te(M(p).e("suffix"))},[D("span",{class:te(M(p).e("suffix-inner"))},[!M(A)||!M(R)||!M(X)?(L(),ie(Le,{key:0},[We(ce.$slots,"suffix"),ce.suffixIcon?(L(),be(M(wt),{key:0,class:te(M(p).e("icon"))},{default:Z(()=>[(L(),be(Vt(ce.suffixIcon)))]),_:1},8,["class"])):Qe("v-if",!0)],64)):Qe("v-if",!0),M(A)?(L(),be(M(wt),{key:1,class:te([M(p).e("icon"),M(p).e("clear")]),onMousedown:K[0]||(K[0]=Et(()=>{},["prevent"])),onClick:oe},{default:Z(()=>[B(M(Ul))]),_:1},8,["class"])):Qe("v-if",!0),M(R)?(L(),be(M(wt),{key:2,class:te([M(p).e("icon"),M(p).e("password")]),onClick:W},{default:Z(()=>[(L(),be(Vt(M(k))))]),_:1},8,["class"])):Qe("v-if",!0),M(X)?(L(),ie("span",{key:3,class:te(M(p).e("count"))},[D("span",{class:te(M(p).e("count-inner"))},de(M(U))+" / "+de(M(l).maxlength),3)],2)):Qe("v-if",!0),M(w)&&M(x)&&M(P)?(L(),be(M(wt),{key:4,class:te([M(p).e("icon"),M(p).e("validateIcon"),M(p).is("loading",M(w)==="validating")])},{default:Z(()=>[(L(),be(Vt(M(x))))]),_:1},8,["class"])):Qe("v-if",!0)],2)],2)):Qe("v-if",!0)],2),Qe(" append slot "),ce.$slots.append?(L(),ie("div",{key:1,class:te(M(p).be("group","append"))},[We(ce.$slots,"append")],2)):Qe("v-if",!0)],64)):(L(),ie(Le,{key:1},[Qe(" textarea "),D("textarea",ii({id:M(O),ref_key:"textarea",ref:m,class:M(y).e("inner")},M(l),{tabindex:ce.tabindex,disabled:M(h),readonly:ce.readonly,autocomplete:ce.autocomplete,style:M(T),"aria-label":ce.label,placeholder:ce.placeholder,onCompositionstart:Re,onCompositionupdate:_e,onCompositionend:ue,onInput:re,onFocus:fe,onBlur:he,onChange:G,onKeydown:me}),null,16,B9),M(X)?(L(),ie("span",{key:0,style:tt(_.value),class:te(M(p).e("count"))},de(M(U))+" / "+de(M(l).maxlength),7)):Qe("v-if",!0)],64))],38)),[[Lt,ce.type!=="hidden"]])}}));var Z9=Me(Y9,[["__file","/home/runner/work/element-plus/element-plus/packages/components/input/src/input.vue"]]);const mi=Gt(Z9),V9={vertical:{offset:"offsetHeight",scroll:"scrollTop",scrollSize:"scrollHeight",size:"height",key:"vertical",axis:"Y",client:"clientY",direction:"top"},horizontal:{offset:"offsetWidth",scroll:"scrollLeft",scrollSize:"scrollWidth",size:"width",key:"horizontal",axis:"X",client:"clientX",direction:"left"}},j9=({move:t,size:e,bar:n})=>({[n.size]:e,transform:`translate${n.axis}(${t}%)`}),N9=lt({vertical:Boolean,size:String,move:Number,ratio:{type:Number,required:!0},always:Boolean}),__="Thumb",F9=Ce({name:__,props:N9,setup(t){const e=De(RC),n=Ze("scrollbar");e||Wo(__,"can not inject scrollbar context");const i=J(),r=J(),s=J({}),o=J(!1);let a=!1,l=!1,c=qt?document.onselectstart:null;const u=N(()=>V9[t.vertical?"vertical":"horizontal"]),O=N(()=>j9({size:t.size,move:t.move,bar:u.value})),f=N(()=>i.value[u.value.offset]**2/e.wrapElement[u.value.scrollSize]/t.ratio/r.value[u.value.offset]),h=b=>{var _;if(b.stopPropagation(),b.ctrlKey||[1,2].includes(b.button))return;(_=window.getSelection())==null||_.removeAllRanges(),y(b);const Q=b.currentTarget;!Q||(s.value[u.value.axis]=Q[u.value.offset]-(b[u.value.client]-Q.getBoundingClientRect()[u.value.direction]))},p=b=>{if(!r.value||!i.value||!e.wrapElement)return;const _=Math.abs(b.target.getBoundingClientRect()[u.value.direction]-b[u.value.client]),Q=r.value[u.value.offset]/2,S=(_-Q)*100*f.value/i.value[u.value.offset];e.wrapElement[u.value.scroll]=S*e.wrapElement[u.value.scrollSize]/100},y=b=>{b.stopImmediatePropagation(),a=!0,document.addEventListener("mousemove",$),document.addEventListener("mouseup",m),c=document.onselectstart,document.onselectstart=()=>!1},$=b=>{if(!i.value||!r.value||a===!1)return;const _=s.value[u.value.axis];if(!_)return;const Q=(i.value.getBoundingClientRect()[u.value.direction]-b[u.value.client])*-1,S=r.value[u.value.offset]-_,P=(Q-S)*100*f.value/i.value[u.value.offset];e.wrapElement[u.value.scroll]=P*e.wrapElement[u.value.scrollSize]/100},m=()=>{a=!1,s.value[u.value.axis]=0,document.removeEventListener("mousemove",$),document.removeEventListener("mouseup",m),v(),l&&(o.value=!1)},d=()=>{l=!1,o.value=!!t.size},g=()=>{l=!0,o.value=a};Qn(()=>{v(),document.removeEventListener("mouseup",m)});const v=()=>{document.onselectstart!==c&&(document.onselectstart=c)};return Wi(Pn(e,"scrollbarElement"),"mousemove",d),Wi(Pn(e,"scrollbarElement"),"mouseleave",g),{ns:n,instance:i,thumb:r,bar:u,thumbStyle:O,visible:o,clickTrackHandler:p,clickThumbHandler:h}}});function G9(t,e,n,i,r,s){return L(),be(ri,{name:t.ns.b("fade")},{default:Z(()=>[it(D("div",{ref:"instance",class:te([t.ns.e("bar"),t.ns.is(t.bar.key)]),onMousedown:e[1]||(e[1]=(...o)=>t.clickTrackHandler&&t.clickTrackHandler(...o))},[D("div",{ref:"thumb",class:te(t.ns.e("thumb")),style:tt(t.thumbStyle),onMousedown:e[0]||(e[0]=(...o)=>t.clickThumbHandler&&t.clickThumbHandler(...o))},null,38)],34),[[Lt,t.always||t.visible]])]),_:1},8,["name"])}var H9=Me(F9,[["render",G9],["__file","/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/thumb.vue"]]);const K9=lt({always:{type:Boolean,default:!0},width:{type:String,default:""},height:{type:String,default:""},ratioX:{type:Number,default:1},ratioY:{type:Number,default:1}}),J9=Ce({components:{Thumb:H9},props:K9,setup(t){const e=J(0),n=J(0),i=4;return{handleScroll:s=>{if(s){const o=s.offsetHeight-i,a=s.offsetWidth-i;n.value=s.scrollTop*100/o*t.ratioY,e.value=s.scrollLeft*100/a*t.ratioX}},moveX:e,moveY:n}}});function eM(t,e,n,i,r,s){const o=Pe("thumb");return L(),ie(Le,null,[B(o,{move:t.moveX,ratio:t.ratioX,size:t.width,always:t.always},null,8,["move","ratio","size","always"]),B(o,{move:t.moveY,ratio:t.ratioY,size:t.height,vertical:"",always:t.always},null,8,["move","ratio","size","always"])],64)}var tM=Me(J9,[["render",eM],["__file","/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/bar.vue"]]);const nM=lt({height:{type:[String,Number],default:""},maxHeight:{type:[String,Number],default:""},native:{type:Boolean,default:!1},wrapStyle:{type:Ne([String,Object,Array]),default:""},wrapClass:{type:[String,Array],default:""},viewClass:{type:[String,Array],default:""},viewStyle:{type:[String,Array,Object],default:""},noresize:Boolean,tag:{type:String,default:"div"},always:{type:Boolean,default:!1},minSize:{type:Number,default:20}}),iM={scroll:({scrollTop:t,scrollLeft:e})=>Bt(t)&&Bt(e)},rM=Ce({name:"ElScrollbar",components:{Bar:tM},props:nM,emits:iM,setup(t,{emit:e}){const n=Ze("scrollbar");let i,r;const s=J(),o=J(),a=J(),l=J("0"),c=J("0"),u=J(),O=J(0),f=J(0),h=J(1),p=J(1),y=4,$=N(()=>{const _={};return t.height&&(_.height=wr(t.height)),t.maxHeight&&(_.maxHeight=wr(t.maxHeight)),[t.wrapStyle,_]}),m=()=>{var _;o.value&&((_=u.value)==null||_.handleScroll(o.value),e("scroll",{scrollTop:o.value.scrollTop,scrollLeft:o.value.scrollLeft}))};function d(_,Q){yt(_)?o.value.scrollTo(_):Bt(_)&&Bt(Q)&&o.value.scrollTo(_,Q)}const g=_=>{!Bt(_)||(o.value.scrollTop=_)},v=_=>{!Bt(_)||(o.value.scrollLeft=_)},b=()=>{if(!o.value)return;const _=o.value.offsetHeight-y,Q=o.value.offsetWidth-y,S=_**2/o.value.scrollHeight,P=Q**2/o.value.scrollWidth,w=Math.max(S,t.minSize),x=Math.max(P,t.minSize);h.value=S/(_-S)/(w/(_-w)),p.value=P/(Q-P)/(x/(Q-x)),c.value=w+y<_?`${w}px`:"",l.value=x+yt.noresize,_=>{_?(i==null||i(),r==null||r()):({stop:i}=mf(a,b),r=Wi("resize",b))},{immediate:!0}),Ee(()=>[t.maxHeight,t.height],()=>{t.native||et(()=>{var _;b(),o.value&&((_=u.value)==null||_.handleScroll(o.value))})}),kt(RC,gn({scrollbarElement:s,wrapElement:o})),xt(()=>{t.native||et(()=>b())}),Ps(()=>b()),{ns:n,scrollbar$:s,wrap$:o,resize$:a,barRef:u,moveX:O,moveY:f,ratioX:p,ratioY:h,sizeWidth:l,sizeHeight:c,style:$,update:b,handleScroll:m,scrollTo:d,setScrollTop:g,setScrollLeft:v}}});function sM(t,e,n,i,r,s){const o=Pe("bar");return L(),ie("div",{ref:"scrollbar$",class:te(t.ns.b())},[D("div",{ref:"wrap$",class:te([t.wrapClass,t.ns.e("wrap"),{[t.ns.em("wrap","hidden-default")]:!t.native}]),style:tt(t.style),onScroll:e[0]||(e[0]=(...a)=>t.handleScroll&&t.handleScroll(...a))},[(L(),be(Vt(t.tag),{ref:"resize$",class:te([t.ns.e("view"),t.viewClass]),style:tt(t.viewStyle)},{default:Z(()=>[We(t.$slots,"default")]),_:3},8,["class","style"]))],38),t.native?Qe("v-if",!0):(L(),be(o,{key:0,ref:"barRef",height:t.sizeHeight,width:t.sizeWidth,always:t.always,"ratio-x":t.ratioX,"ratio-y":t.ratioY},null,8,["height","width","always","ratio-x","ratio-y"]))],2)}var oM=Me(rM,[["render",sM],["__file","/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/scrollbar.vue"]]);const dc=Gt(oM),aM={name:"ElPopperRoot",inheritAttrs:!1},lM=Ce(Je(ze({},aM),{setup(t,{expose:e}){const n=J(),i=J(),r=J(),s=J(),o={triggerRef:n,popperInstanceRef:i,contentRef:r,referenceRef:s};return e(o),kt(n$,o),(a,l)=>We(a.$slots,"default")}}));var cM=Me(lM,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/popper.vue"]]);const BC=lt({arrowOffset:{type:Number,default:5}}),uM={name:"ElPopperArrow",inheritAttrs:!1},fM=Ce(Je(ze({},uM),{props:BC,setup(t,{expose:e}){const n=t,i=Ze("popper"),{arrowOffset:r,arrowRef:s}=De(AC,void 0);return Ee(()=>n.arrowOffset,o=>{r.value=o}),Qn(()=>{s.value=void 0}),e({arrowRef:s}),(o,a)=>(L(),ie("span",{ref_key:"arrowRef",ref:s,class:te(M(i).e("arrow")),"data-popper-arrow":""},null,2))}}));var OM=Me(fM,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/arrow.vue"]]);const hM="ElOnlyChild",dM=Ce({name:hM,setup(t,{slots:e,attrs:n}){var i;const r=De(DC),s=Q9((i=r==null?void 0:r.setForwardRef)!=null?i:bn);return()=>{var o;const a=(o=e.default)==null?void 0:o.call(e,n);if(!a||a.length>1)return null;const l=MC(a);return l?it(ys(l,n),[[s]]):null}}});function MC(t){if(!t)return null;const e=t;for(const n of e){if(yt(n))switch(n.type){case fi:continue;case hf:return k0(n);case"svg":return k0(n);case Le:return MC(n.children);default:return n}return k0(n)}return null}function k0(t){return B("span",{class:"el-only-child__content"},[t])}const YC=lt({virtualRef:{type:Ne(Object)},virtualTriggering:Boolean,onMouseenter:Function,onMouseleave:Function,onClick:Function,onKeydown:Function,onFocus:Function,onBlur:Function,onContextmenu:Function,id:String,open:Boolean}),pM={name:"ElPopperTrigger",inheritAttrs:!1},mM=Ce(Je(ze({},pM),{props:YC,setup(t,{expose:e}){const n=t,{triggerRef:i}=De(n$,void 0);return _9(i),xt(()=>{Ee(()=>n.virtualRef,r=>{r&&(i.value=$a(r))},{immediate:!0}),Ee(()=>i.value,(r,s)=>{ql(r)&&["onMouseenter","onMouseleave","onClick","onKeydown","onFocus","onBlur","onContextmenu"].forEach(o=>{var a;const l=n[o];l&&(r.addEventListener(o.slice(2).toLowerCase(),l),(a=s==null?void 0:s.removeEventListener)==null||a.call(s,o.slice(2).toLowerCase(),l))})},{immediate:!0})}),e({triggerRef:i}),(r,s)=>r.virtualTriggering?Qe("v-if",!0):(L(),be(M(dM),ii({key:0},r.$attrs,{"aria-describedby":r.open?r.id:void 0}),{default:Z(()=>[We(r.$slots,"default")]),_:3},16,["aria-describedby"]))}}));var gM=Me(mM,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/trigger.vue"]]),Oi="top",ir="bottom",rr="right",hi="left",r$="auto",_f=[Oi,ir,rr,hi],Dl="start",Yu="end",vM="clippingParents",ZC="viewport",Xc="popper",yM="reference",Q_=_f.reduce(function(t,e){return t.concat([e+"-"+Dl,e+"-"+Yu])},[]),s$=[].concat(_f,[r$]).reduce(function(t,e){return t.concat([e,e+"-"+Dl,e+"-"+Yu])},[]),$M="beforeRead",bM="read",_M="afterRead",QM="beforeMain",SM="main",wM="afterMain",xM="beforeWrite",PM="write",kM="afterWrite",CM=[$M,bM,_M,QM,SM,wM,xM,PM,kM];function Hr(t){return t?(t.nodeName||"").toLowerCase():null}function kr(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function Ll(t){var e=kr(t).Element;return t instanceof e||t instanceof Element}function er(t){var e=kr(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function o$(t){if(typeof ShadowRoot=="undefined")return!1;var e=kr(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function TM(t){var e=t.state;Object.keys(e.elements).forEach(function(n){var i=e.styles[n]||{},r=e.attributes[n]||{},s=e.elements[n];!er(s)||!Hr(s)||(Object.assign(s.style,i),Object.keys(r).forEach(function(o){var a=r[o];a===!1?s.removeAttribute(o):s.setAttribute(o,a===!0?"":a)}))})}function RM(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach(function(i){var r=e.elements[i],s=e.attributes[i]||{},o=Object.keys(e.styles.hasOwnProperty(i)?e.styles[i]:n[i]),a=o.reduce(function(l,c){return l[c]="",l},{});!er(r)||!Hr(r)||(Object.assign(r.style,a),Object.keys(s).forEach(function(l){r.removeAttribute(l)}))})}}var VC={name:"applyStyles",enabled:!0,phase:"write",fn:TM,effect:RM,requires:["computeStyles"]};function Zr(t){return t.split("-")[0]}var ba=Math.max,Kh=Math.min,Bl=Math.round;function Ml(t,e){e===void 0&&(e=!1);var n=t.getBoundingClientRect(),i=1,r=1;if(er(t)&&e){var s=t.offsetHeight,o=t.offsetWidth;o>0&&(i=Bl(n.width)/o||1),s>0&&(r=Bl(n.height)/s||1)}return{width:n.width/i,height:n.height/r,top:n.top/r,right:n.right/i,bottom:n.bottom/r,left:n.left/i,x:n.left/i,y:n.top/r}}function a$(t){var e=Ml(t),n=t.offsetWidth,i=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-i)<=1&&(i=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:i}}function jC(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&o$(n)){var i=e;do{if(i&&t.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function Ss(t){return kr(t).getComputedStyle(t)}function AM(t){return["table","td","th"].indexOf(Hr(t))>=0}function zo(t){return((Ll(t)?t.ownerDocument:t.document)||window.document).documentElement}function hp(t){return Hr(t)==="html"?t:t.assignedSlot||t.parentNode||(o$(t)?t.host:null)||zo(t)}function S_(t){return!er(t)||Ss(t).position==="fixed"?null:t.offsetParent}function EM(t){var e=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,n=navigator.userAgent.indexOf("Trident")!==-1;if(n&&er(t)){var i=Ss(t);if(i.position==="fixed")return null}var r=hp(t);for(o$(r)&&(r=r.host);er(r)&&["html","body"].indexOf(Hr(r))<0;){var s=Ss(r);if(s.transform!=="none"||s.perspective!=="none"||s.contain==="paint"||["transform","perspective"].indexOf(s.willChange)!==-1||e&&s.willChange==="filter"||e&&s.filter&&s.filter!=="none")return r;r=r.parentNode}return null}function Qf(t){for(var e=kr(t),n=S_(t);n&&AM(n)&&Ss(n).position==="static";)n=S_(n);return n&&(Hr(n)==="html"||Hr(n)==="body"&&Ss(n).position==="static")?e:n||EM(t)||e}function l$(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function du(t,e,n){return ba(t,Kh(e,n))}function XM(t,e,n){var i=du(t,e,n);return i>n?n:i}function NC(){return{top:0,right:0,bottom:0,left:0}}function FC(t){return Object.assign({},NC(),t)}function GC(t,e){return e.reduce(function(n,i){return n[i]=t,n},{})}var WM=function(t,e){return t=typeof t=="function"?t(Object.assign({},e.rects,{placement:e.placement})):t,FC(typeof t!="number"?t:GC(t,_f))};function zM(t){var e,n=t.state,i=t.name,r=t.options,s=n.elements.arrow,o=n.modifiersData.popperOffsets,a=Zr(n.placement),l=l$(a),c=[hi,rr].indexOf(a)>=0,u=c?"height":"width";if(!(!s||!o)){var O=WM(r.padding,n),f=a$(s),h=l==="y"?Oi:hi,p=l==="y"?ir:rr,y=n.rects.reference[u]+n.rects.reference[l]-o[l]-n.rects.popper[u],$=o[l]-n.rects.reference[l],m=Qf(s),d=m?l==="y"?m.clientHeight||0:m.clientWidth||0:0,g=y/2-$/2,v=O[h],b=d-f[u]-O[p],_=d/2-f[u]/2+g,Q=du(v,_,b),S=l;n.modifiersData[i]=(e={},e[S]=Q,e.centerOffset=Q-_,e)}}function IM(t){var e=t.state,n=t.options,i=n.element,r=i===void 0?"[data-popper-arrow]":i;r!=null&&(typeof r=="string"&&(r=e.elements.popper.querySelector(r),!r)||!jC(e.elements.popper,r)||(e.elements.arrow=r))}var qM={name:"arrow",enabled:!0,phase:"main",fn:zM,effect:IM,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Yl(t){return t.split("-")[1]}var UM={top:"auto",right:"auto",bottom:"auto",left:"auto"};function DM(t){var e=t.x,n=t.y,i=window,r=i.devicePixelRatio||1;return{x:Bl(e*r)/r||0,y:Bl(n*r)/r||0}}function w_(t){var e,n=t.popper,i=t.popperRect,r=t.placement,s=t.variation,o=t.offsets,a=t.position,l=t.gpuAcceleration,c=t.adaptive,u=t.roundOffsets,O=t.isFixed,f=o.x,h=f===void 0?0:f,p=o.y,y=p===void 0?0:p,$=typeof u=="function"?u({x:h,y}):{x:h,y};h=$.x,y=$.y;var m=o.hasOwnProperty("x"),d=o.hasOwnProperty("y"),g=hi,v=Oi,b=window;if(c){var _=Qf(n),Q="clientHeight",S="clientWidth";if(_===kr(n)&&(_=zo(n),Ss(_).position!=="static"&&a==="absolute"&&(Q="scrollHeight",S="scrollWidth")),_=_,r===Oi||(r===hi||r===rr)&&s===Yu){v=ir;var P=O&&_===b&&b.visualViewport?b.visualViewport.height:_[Q];y-=P-i.height,y*=l?1:-1}if(r===hi||(r===Oi||r===ir)&&s===Yu){g=rr;var w=O&&_===b&&b.visualViewport?b.visualViewport.width:_[S];h-=w-i.width,h*=l?1:-1}}var x=Object.assign({position:a},c&&UM),k=u===!0?DM({x:h,y}):{x:h,y};if(h=k.x,y=k.y,l){var C;return Object.assign({},x,(C={},C[v]=d?"0":"",C[g]=m?"0":"",C.transform=(b.devicePixelRatio||1)<=1?"translate("+h+"px, "+y+"px)":"translate3d("+h+"px, "+y+"px, 0)",C))}return Object.assign({},x,(e={},e[v]=d?y+"px":"",e[g]=m?h+"px":"",e.transform="",e))}function LM(t){var e=t.state,n=t.options,i=n.gpuAcceleration,r=i===void 0?!0:i,s=n.adaptive,o=s===void 0?!0:s,a=n.roundOffsets,l=a===void 0?!0:a,c={placement:Zr(e.placement),variation:Yl(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:r,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,w_(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:o,roundOffsets:l})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,w_(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}var HC={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:LM,data:{}},yO={passive:!0};function BM(t){var e=t.state,n=t.instance,i=t.options,r=i.scroll,s=r===void 0?!0:r,o=i.resize,a=o===void 0?!0:o,l=kr(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return s&&c.forEach(function(u){u.addEventListener("scroll",n.update,yO)}),a&&l.addEventListener("resize",n.update,yO),function(){s&&c.forEach(function(u){u.removeEventListener("scroll",n.update,yO)}),a&&l.removeEventListener("resize",n.update,yO)}}var KC={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:BM,data:{}},MM={left:"right",right:"left",bottom:"top",top:"bottom"};function fh(t){return t.replace(/left|right|bottom|top/g,function(e){return MM[e]})}var YM={start:"end",end:"start"};function x_(t){return t.replace(/start|end/g,function(e){return YM[e]})}function c$(t){var e=kr(t),n=e.pageXOffset,i=e.pageYOffset;return{scrollLeft:n,scrollTop:i}}function u$(t){return Ml(zo(t)).left+c$(t).scrollLeft}function ZM(t){var e=kr(t),n=zo(t),i=e.visualViewport,r=n.clientWidth,s=n.clientHeight,o=0,a=0;return i&&(r=i.width,s=i.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(o=i.offsetLeft,a=i.offsetTop)),{width:r,height:s,x:o+u$(t),y:a}}function VM(t){var e,n=zo(t),i=c$(t),r=(e=t.ownerDocument)==null?void 0:e.body,s=ba(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),o=ba(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),a=-i.scrollLeft+u$(t),l=-i.scrollTop;return Ss(r||n).direction==="rtl"&&(a+=ba(n.clientWidth,r?r.clientWidth:0)-s),{width:s,height:o,x:a,y:l}}function f$(t){var e=Ss(t),n=e.overflow,i=e.overflowX,r=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+i)}function JC(t){return["html","body","#document"].indexOf(Hr(t))>=0?t.ownerDocument.body:er(t)&&f$(t)?t:JC(hp(t))}function pu(t,e){var n;e===void 0&&(e=[]);var i=JC(t),r=i===((n=t.ownerDocument)==null?void 0:n.body),s=kr(i),o=r?[s].concat(s.visualViewport||[],f$(i)?i:[]):i,a=e.concat(o);return r?a:a.concat(pu(hp(o)))}function bg(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function jM(t){var e=Ml(t);return e.top=e.top+t.clientTop,e.left=e.left+t.clientLeft,e.bottom=e.top+t.clientHeight,e.right=e.left+t.clientWidth,e.width=t.clientWidth,e.height=t.clientHeight,e.x=e.left,e.y=e.top,e}function P_(t,e){return e===ZC?bg(ZM(t)):Ll(e)?jM(e):bg(VM(zo(t)))}function NM(t){var e=pu(hp(t)),n=["absolute","fixed"].indexOf(Ss(t).position)>=0,i=n&&er(t)?Qf(t):t;return Ll(i)?e.filter(function(r){return Ll(r)&&jC(r,i)&&Hr(r)!=="body"}):[]}function FM(t,e,n){var i=e==="clippingParents"?NM(t):[].concat(e),r=[].concat(i,[n]),s=r[0],o=r.reduce(function(a,l){var c=P_(t,l);return a.top=ba(c.top,a.top),a.right=Kh(c.right,a.right),a.bottom=Kh(c.bottom,a.bottom),a.left=ba(c.left,a.left),a},P_(t,s));return o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}function e2(t){var e=t.reference,n=t.element,i=t.placement,r=i?Zr(i):null,s=i?Yl(i):null,o=e.x+e.width/2-n.width/2,a=e.y+e.height/2-n.height/2,l;switch(r){case Oi:l={x:o,y:e.y-n.height};break;case ir:l={x:o,y:e.y+e.height};break;case rr:l={x:e.x+e.width,y:a};break;case hi:l={x:e.x-n.width,y:a};break;default:l={x:e.x,y:e.y}}var c=r?l$(r):null;if(c!=null){var u=c==="y"?"height":"width";switch(s){case Dl:l[c]=l[c]-(e[u]/2-n[u]/2);break;case Yu:l[c]=l[c]+(e[u]/2-n[u]/2);break}}return l}function Zu(t,e){e===void 0&&(e={});var n=e,i=n.placement,r=i===void 0?t.placement:i,s=n.boundary,o=s===void 0?vM:s,a=n.rootBoundary,l=a===void 0?ZC:a,c=n.elementContext,u=c===void 0?Xc:c,O=n.altBoundary,f=O===void 0?!1:O,h=n.padding,p=h===void 0?0:h,y=FC(typeof p!="number"?p:GC(p,_f)),$=u===Xc?yM:Xc,m=t.rects.popper,d=t.elements[f?$:u],g=FM(Ll(d)?d:d.contextElement||zo(t.elements.popper),o,l),v=Ml(t.elements.reference),b=e2({reference:v,element:m,strategy:"absolute",placement:r}),_=bg(Object.assign({},m,b)),Q=u===Xc?_:v,S={top:g.top-Q.top+y.top,bottom:Q.bottom-g.bottom+y.bottom,left:g.left-Q.left+y.left,right:Q.right-g.right+y.right},P=t.modifiersData.offset;if(u===Xc&&P){var w=P[r];Object.keys(S).forEach(function(x){var k=[rr,ir].indexOf(x)>=0?1:-1,C=[Oi,ir].indexOf(x)>=0?"y":"x";S[x]+=w[C]*k})}return S}function GM(t,e){e===void 0&&(e={});var n=e,i=n.placement,r=n.boundary,s=n.rootBoundary,o=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,c=l===void 0?s$:l,u=Yl(i),O=u?a?Q_:Q_.filter(function(p){return Yl(p)===u}):_f,f=O.filter(function(p){return c.indexOf(p)>=0});f.length===0&&(f=O);var h=f.reduce(function(p,y){return p[y]=Zu(t,{placement:y,boundary:r,rootBoundary:s,padding:o})[Zr(y)],p},{});return Object.keys(h).sort(function(p,y){return h[p]-h[y]})}function HM(t){if(Zr(t)===r$)return[];var e=fh(t);return[x_(t),e,x_(e)]}function KM(t){var e=t.state,n=t.options,i=t.name;if(!e.modifiersData[i]._skip){for(var r=n.mainAxis,s=r===void 0?!0:r,o=n.altAxis,a=o===void 0?!0:o,l=n.fallbackPlacements,c=n.padding,u=n.boundary,O=n.rootBoundary,f=n.altBoundary,h=n.flipVariations,p=h===void 0?!0:h,y=n.allowedAutoPlacements,$=e.options.placement,m=Zr($),d=m===$,g=l||(d||!p?[fh($)]:HM($)),v=[$].concat(g).reduce(function(se,I){return se.concat(Zr(I)===r$?GM(e,{placement:I,boundary:u,rootBoundary:O,padding:c,flipVariations:p,allowedAutoPlacements:y}):I)},[]),b=e.rects.reference,_=e.rects.popper,Q=new Map,S=!0,P=v[0],w=0;w=0,E=T?"width":"height",A=Zu(e,{placement:x,boundary:u,rootBoundary:O,altBoundary:f,padding:c}),R=T?C?rr:hi:C?ir:Oi;b[E]>_[E]&&(R=fh(R));var X=fh(R),U=[];if(s&&U.push(A[k]<=0),a&&U.push(A[R]<=0,A[X]<=0),U.every(function(se){return se})){P=x,S=!1;break}Q.set(x,U)}if(S)for(var V=p?3:1,j=function(se){var I=v.find(function(ne){var H=Q.get(ne);if(H)return H.slice(0,se).every(function(re){return re})});if(I)return P=I,"break"},Y=V;Y>0;Y--){var ee=j(Y);if(ee==="break")break}e.placement!==P&&(e.modifiersData[i]._skip=!0,e.placement=P,e.reset=!0)}}var JM={name:"flip",enabled:!0,phase:"main",fn:KM,requiresIfExists:["offset"],data:{_skip:!1}};function k_(t,e,n){return n===void 0&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function C_(t){return[Oi,rr,ir,hi].some(function(e){return t[e]>=0})}function e7(t){var e=t.state,n=t.name,i=e.rects.reference,r=e.rects.popper,s=e.modifiersData.preventOverflow,o=Zu(e,{elementContext:"reference"}),a=Zu(e,{altBoundary:!0}),l=k_(o,i),c=k_(a,r,s),u=C_(l),O=C_(c);e.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:O},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":O})}var t7={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:e7};function n7(t,e,n){var i=Zr(t),r=[hi,Oi].indexOf(i)>=0?-1:1,s=typeof n=="function"?n(Object.assign({},e,{placement:t})):n,o=s[0],a=s[1];return o=o||0,a=(a||0)*r,[hi,rr].indexOf(i)>=0?{x:a,y:o}:{x:o,y:a}}function i7(t){var e=t.state,n=t.options,i=t.name,r=n.offset,s=r===void 0?[0,0]:r,o=s$.reduce(function(u,O){return u[O]=n7(O,e.rects,s),u},{}),a=o[e.placement],l=a.x,c=a.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=c),e.modifiersData[i]=o}var r7={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:i7};function s7(t){var e=t.state,n=t.name;e.modifiersData[n]=e2({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}var t2={name:"popperOffsets",enabled:!0,phase:"read",fn:s7,data:{}};function o7(t){return t==="x"?"y":"x"}function a7(t){var e=t.state,n=t.options,i=t.name,r=n.mainAxis,s=r===void 0?!0:r,o=n.altAxis,a=o===void 0?!1:o,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,O=n.padding,f=n.tether,h=f===void 0?!0:f,p=n.tetherOffset,y=p===void 0?0:p,$=Zu(e,{boundary:l,rootBoundary:c,padding:O,altBoundary:u}),m=Zr(e.placement),d=Yl(e.placement),g=!d,v=l$(m),b=o7(v),_=e.modifiersData.popperOffsets,Q=e.rects.reference,S=e.rects.popper,P=typeof y=="function"?y(Object.assign({},e.rects,{placement:e.placement})):y,w=typeof P=="number"?{mainAxis:P,altAxis:P}:Object.assign({mainAxis:0,altAxis:0},P),x=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,k={x:0,y:0};if(_){if(s){var C,T=v==="y"?Oi:hi,E=v==="y"?ir:rr,A=v==="y"?"height":"width",R=_[v],X=R+$[T],U=R-$[E],V=h?-S[A]/2:0,j=d===Dl?Q[A]:S[A],Y=d===Dl?-S[A]:-Q[A],ee=e.elements.arrow,se=h&&ee?a$(ee):{width:0,height:0},I=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:NC(),ne=I[T],H=I[E],re=du(0,Q[A],se[A]),G=g?Q[A]/2-V-re-ne-w.mainAxis:j-re-ne-w.mainAxis,Re=g?-Q[A]/2+V+re+H+w.mainAxis:Y+re+H+w.mainAxis,_e=e.elements.arrow&&Qf(e.elements.arrow),ue=_e?v==="y"?_e.clientTop||0:_e.clientLeft||0:0,W=(C=x==null?void 0:x[v])!=null?C:0,q=R+G-W-ue,F=R+Re-W,fe=du(h?Kh(X,q):X,R,h?ba(U,F):U);_[v]=fe,k[v]=fe-R}if(a){var he,ve=v==="x"?Oi:hi,xe=v==="x"?ir:rr,me=_[b],le=b==="y"?"height":"width",oe=me+$[ve],ce=me-$[xe],K=[Oi,hi].indexOf(m)!==-1,ge=(he=x==null?void 0:x[b])!=null?he:0,Te=K?oe:me-Q[le]-S[le]-ge+w.altAxis,Ye=K?me+Q[le]+S[le]-ge-w.altAxis:ce,Ae=h&&K?XM(Te,me,Ye):du(h?Te:oe,me,h?Ye:ce);_[b]=Ae,k[b]=Ae-me}e.modifiersData[i]=k}}var l7={name:"preventOverflow",enabled:!0,phase:"main",fn:a7,requiresIfExists:["offset"]};function c7(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function u7(t){return t===kr(t)||!er(t)?c$(t):c7(t)}function f7(t){var e=t.getBoundingClientRect(),n=Bl(e.width)/t.offsetWidth||1,i=Bl(e.height)/t.offsetHeight||1;return n!==1||i!==1}function O7(t,e,n){n===void 0&&(n=!1);var i=er(e),r=er(e)&&f7(e),s=zo(e),o=Ml(t,r),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(i||!i&&!n)&&((Hr(e)!=="body"||f$(s))&&(a=u7(e)),er(e)?(l=Ml(e,!0),l.x+=e.clientLeft,l.y+=e.clientTop):s&&(l.x=u$(s))),{x:o.left+a.scrollLeft-l.x,y:o.top+a.scrollTop-l.y,width:o.width,height:o.height}}function h7(t){var e=new Map,n=new Set,i=[];t.forEach(function(s){e.set(s.name,s)});function r(s){n.add(s.name);var o=[].concat(s.requires||[],s.requiresIfExists||[]);o.forEach(function(a){if(!n.has(a)){var l=e.get(a);l&&r(l)}}),i.push(s)}return t.forEach(function(s){n.has(s.name)||r(s)}),i}function d7(t){var e=h7(t);return CM.reduce(function(n,i){return n.concat(e.filter(function(r){return r.phase===i}))},[])}function p7(t){var e;return function(){return e||(e=new Promise(function(n){Promise.resolve().then(function(){e=void 0,n(t())})})),e}}function m7(t){var e=t.reduce(function(n,i){var r=n[i.name];return n[i.name]=r?Object.assign({},r,i,{options:Object.assign({},r.options,i.options),data:Object.assign({},r.data,i.data)}):i,n},{});return Object.keys(e).map(function(n){return e[n]})}var T_={placement:"bottom",modifiers:[],strategy:"absolute"};function R_(){for(var t=arguments.length,e=new Array(t),n=0;n[]},gpuAcceleration:{type:Boolean,default:!0},offset:{type:Number,default:12},placement:{type:String,values:s$,default:"bottom"},popperOptions:{type:Ne(Object),default:()=>({})},strategy:{type:String,values:y7,default:"absolute"}}),i2=lt(Je(ze({},$7),{style:{type:Ne([String,Array,Object])},className:{type:Ne([String,Array,Object])},effect:{type:String,default:"dark"},visible:Boolean,enterable:{type:Boolean,default:!0},pure:Boolean,popperClass:{type:Ne([String,Array,Object])},popperStyle:{type:Ne([String,Array,Object])},referenceEl:{type:Ne(Object)},stopPopperMouseEvent:{type:Boolean,default:!0},zIndex:Number})),A_=(t,e)=>{const{placement:n,strategy:i,popperOptions:r}=t,s=Je(ze({placement:n,strategy:i},r),{modifiers:_7(t)});return Q7(s,e),S7(s,r==null?void 0:r.modifiers),s},b7=t=>{if(!!qt)return $a(t)};function _7(t){const{offset:e,gpuAcceleration:n,fallbackPlacements:i}=t;return[{name:"offset",options:{offset:[0,e!=null?e:12]}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5,fallbackPlacements:i!=null?i:[]}},{name:"computeStyles",options:{gpuAcceleration:n,adaptive:n}}]}function Q7(t,{arrowEl:e,arrowOffset:n}){t.modifiers.push({name:"arrow",options:{element:e,padding:n!=null?n:5}})}function S7(t,e){e&&(t.modifiers=[...t.modifiers,...e!=null?e:[]])}const w7={name:"ElPopperContent"},x7=Ce(Je(ze({},w7),{props:i2,emits:["mouseenter","mouseleave"],setup(t,{expose:e}){const n=t,{popperInstanceRef:i,contentRef:r,triggerRef:s}=De(n$,void 0),o=De(Gr,void 0),{nextZIndex:a}=La(),l=Ze("popper"),c=J(),u=J(),O=J();kt(AC,{arrowRef:u,arrowOffset:O}),kt(Gr,Je(ze({},o),{addInputId:()=>{},removeInputId:()=>{}}));const f=J(n.zIndex||a()),h=N(()=>b7(n.referenceEl)||M(s)),p=N(()=>[{zIndex:M(f)},n.popperStyle]),y=N(()=>[l.b(),l.is("pure",n.pure),l.is(n.effect),n.popperClass]),$=({referenceEl:g,popperContentEl:v,arrowEl:b})=>{const _=A_(n,{arrowEl:b,arrowOffset:M(O)});return n2(g,v,_)},m=(g=!0)=>{var v;(v=M(i))==null||v.update(),g&&(f.value=n.zIndex||a())},d=()=>{var g,v;const b={name:"eventListeners",enabled:n.visible};(v=(g=M(i))==null?void 0:g.setOptions)==null||v.call(g,_=>Je(ze({},_),{modifiers:[..._.modifiers||[],b]})),m(!1)};return xt(()=>{let g;Ee(h,v=>{var b;g==null||g();const _=M(i);if((b=_==null?void 0:_.destroy)==null||b.call(_),v){const Q=M(c);r.value=Q,i.value=$({referenceEl:v,popperContentEl:Q,arrowEl:M(u)}),g=Ee(()=>v.getBoundingClientRect(),()=>m(),{immediate:!0})}else i.value=void 0},{immediate:!0}),Ee(()=>n.visible,d,{immediate:!0}),Ee(()=>A_(n,{arrowEl:M(u),arrowOffset:M(O)}),v=>{var b;return(b=i.value)==null?void 0:b.setOptions(v)})}),e({popperContentRef:c,popperInstanceRef:i,updatePopper:m,contentStyle:p}),(g,v)=>(L(),ie("div",{ref_key:"popperContentRef",ref:c,style:tt(M(p)),class:te(M(y)),role:"tooltip",onMouseenter:v[0]||(v[0]=b=>g.$emit("mouseenter",b)),onMouseleave:v[1]||(v[1]=b=>g.$emit("mouseleave",b))},[We(g.$slots,"default")],38))}}));var P7=Me(x7,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/content.vue"]]);const k7=Gt(cM),C7=Ce({name:"ElVisuallyHidden",props:{style:{type:[String,Object,Array]}},setup(t){return{computedStyle:N(()=>[t.style,{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}])}}});function T7(t,e,n,i,r,s){return L(),ie("span",ii(t.$attrs,{style:t.computedStyle}),[We(t.$slots,"default")],16)}var R7=Me(C7,[["render",T7],["__file","/home/runner/work/element-plus/element-plus/packages/components/visual-hidden/src/visual-hidden.vue"]]);const Qi=lt(Je(ze(ze({},$9),i2),{appendTo:{type:Ne([String,Object]),default:UC},content:{type:String,default:""},rawContent:{type:Boolean,default:!1},persistent:Boolean,ariaLabel:String,visible:{type:Ne(Boolean),default:null},transition:{type:String,default:"el-fade-in-linear"},teleported:{type:Boolean,default:!0},disabled:{type:Boolean}})),Vu=lt(Je(ze({},YC),{disabled:Boolean,trigger:{type:Ne([String,Array]),default:"hover"}})),A7=lt({openDelay:{type:Number},visibleArrow:{type:Boolean,default:void 0},hideAfter:{type:Number,default:200},showArrow:{type:Boolean,default:!0}}),dp=Symbol("elTooltip"),E7=Ce({name:"ElTooltipContent",components:{ElPopperContent:P7,ElVisuallyHidden:R7},inheritAttrs:!1,props:Qi,setup(t){const e=J(null),n=J(!1),i=J(!1),r=J(!1),s=J(!1),{controlled:o,id:a,open:l,trigger:c,onClose:u,onOpen:O,onShow:f,onHide:h,onBeforeShow:p,onBeforeHide:y}=De(dp,void 0),$=N(()=>t.persistent);Qn(()=>{s.value=!0});const m=N(()=>M($)?!0:M(l)),d=N(()=>t.disabled?!1:M(l)),g=N(()=>{var C;return(C=t.style)!=null?C:{}}),v=N(()=>!M(l));g9(u);const b=()=>{h()},_=()=>{if(M(o))return!0},Q=dn(_,()=>{t.enterable&&M(c)==="hover"&&O()}),S=dn(_,()=>{M(c)==="hover"&&u()}),P=()=>{var C,T;(T=(C=e.value)==null?void 0:C.updatePopper)==null||T.call(C),p==null||p()},w=()=>{y==null||y()},x=()=>{f()};let k;return Ee(()=>M(l),C=>{C?k=Fh(N(()=>{var T;return(T=e.value)==null?void 0:T.popperContentRef}),()=>{if(M(o))return;M(c)!=="hover"&&u()}):k==null||k()},{flush:"post"}),{ariaHidden:v,entering:i,leaving:r,id:a,intermediateOpen:n,contentStyle:g,contentRef:e,destroyed:s,shouldRender:m,shouldShow:d,open:l,onAfterShow:x,onBeforeEnter:P,onBeforeLeave:w,onContentEnter:Q,onContentLeave:S,onTransitionLeave:b}}});function X7(t,e,n,i,r,s){const o=Pe("el-visually-hidden"),a=Pe("el-popper-content");return L(),be(ek,{disabled:!t.teleported,to:t.appendTo},[B(ri,{name:t.transition,onAfterLeave:t.onTransitionLeave,onBeforeEnter:t.onBeforeEnter,onAfterEnter:t.onAfterShow,onBeforeLeave:t.onBeforeLeave},{default:Z(()=>[t.shouldRender?it((L(),be(a,ii({key:0,ref:"contentRef"},t.$attrs,{"aria-hidden":t.ariaHidden,"boundaries-padding":t.boundariesPadding,"fallback-placements":t.fallbackPlacements,"gpu-acceleration":t.gpuAcceleration,offset:t.offset,placement:t.placement,"popper-options":t.popperOptions,strategy:t.strategy,effect:t.effect,enterable:t.enterable,pure:t.pure,"popper-class":t.popperClass,"popper-style":[t.popperStyle,t.contentStyle],"reference-el":t.referenceEl,visible:t.shouldShow,"z-index":t.zIndex,onMouseenter:t.onContentEnter,onMouseleave:t.onContentLeave}),{default:Z(()=>[Qe(" Workaround bug #6378 "),t.destroyed?Qe("v-if",!0):(L(),ie(Le,{key:0},[We(t.$slots,"default"),B(o,{id:t.id,role:"tooltip"},{default:Z(()=>[Xe(de(t.ariaLabel),1)]),_:1},8,["id"])],64))]),_:3},16,["aria-hidden","boundaries-padding","fallback-placements","gpu-acceleration","offset","placement","popper-options","strategy","effect","enterable","pure","popper-class","popper-style","reference-el","visible","z-index","onMouseenter","onMouseleave"])),[[Lt,t.shouldShow]]):Qe("v-if",!0)]),_:3},8,["name","onAfterLeave","onBeforeEnter","onAfterEnter","onBeforeLeave"])],8,["disabled","to"])}var W7=Me(E7,[["render",X7],["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/content.vue"]]);const z7=(t,e)=>Fe(t)?t.includes(e):t===e,sl=(t,e,n)=>i=>{z7(M(t),e)&&n(i)},I7=Ce({name:"ElTooltipTrigger",components:{ElPopperTrigger:gM},props:Vu,setup(t){const e=Ze("tooltip"),{controlled:n,id:i,open:r,onOpen:s,onClose:o,onToggle:a}=De(dp,void 0),l=J(null),c=()=>{if(M(n)||t.disabled)return!0},u=Pn(t,"trigger"),O=dn(c,sl(u,"hover",s)),f=dn(c,sl(u,"hover",o)),h=dn(c,sl(u,"click",d=>{d.button===0&&a(d)})),p=dn(c,sl(u,"focus",s)),y=dn(c,sl(u,"focus",o)),$=dn(c,sl(u,"contextmenu",d=>{d.preventDefault(),a(d)})),m=dn(c,d=>{const{code:g}=d;(g===rt.enter||g===rt.space)&&a(d)});return{onBlur:y,onContextMenu:$,onFocus:p,onMouseenter:O,onMouseleave:f,onClick:h,onKeydown:m,open:r,id:i,triggerRef:l,ns:e}}});function q7(t,e,n,i,r,s){const o=Pe("el-popper-trigger");return L(),be(o,{id:t.id,"virtual-ref":t.virtualRef,open:t.open,"virtual-triggering":t.virtualTriggering,class:te(t.ns.e("trigger")),onBlur:t.onBlur,onClick:t.onClick,onContextmenu:t.onContextMenu,onFocus:t.onFocus,onMouseenter:t.onMouseenter,onMouseleave:t.onMouseleave,onKeydown:t.onKeydown},{default:Z(()=>[We(t.$slots,"default")]),_:3},8,["id","virtual-ref","open","virtual-triggering","class","onBlur","onClick","onContextmenu","onFocus","onMouseenter","onMouseleave","onKeydown"])}var U7=Me(I7,[["render",q7],["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/trigger.vue"]]);const{useModelToggleProps:D7,useModelToggle:L7,useModelToggleEmits:B7}=d9("visible"),M7=Ce({name:"ElTooltip",components:{ElPopper:k7,ElPopperArrow:OM,ElTooltipContent:W7,ElTooltipTrigger:U7},props:ze(ze(ze(ze(ze({},D7),Qi),Vu),BC),A7),emits:[...B7,"before-show","before-hide","show","hide"],setup(t,{emit:e}){y9();const n=N(()=>(Dr(t.openDelay),t.openDelay||t.showAfter)),i=N(()=>(Dr(t.visibleArrow),Ji(t.visibleArrow)?t.visibleArrow:t.showArrow)),r=Op(),s=J(null),o=()=>{var h;const p=M(s);p&&((h=p.popperInstanceRef)==null||h.update())},a=J(!1),{show:l,hide:c}=L7({indicator:a}),{onOpen:u,onClose:O}=b9({showAfter:n,hideAfter:Pn(t,"hideAfter"),open:l,close:c}),f=N(()=>Ji(t.visible));return kt(dp,{controlled:f,id:r,open:Of(a),trigger:Pn(t,"trigger"),onOpen:u,onClose:O,onToggle:()=>{M(a)?O():u()},onShow:()=>{e("show")},onHide:()=>{e("hide")},onBeforeShow:()=>{e("before-show")},onBeforeHide:()=>{e("before-hide")},updatePopper:o}),Ee(()=>t.disabled,h=>{h&&a.value&&(a.value=!1)}),{compatShowAfter:n,compatShowArrow:i,popperRef:s,open:a,hide:c,updatePopper:o,onOpen:u,onClose:O}}}),Y7=["innerHTML"],Z7={key:1};function V7(t,e,n,i,r,s){const o=Pe("el-tooltip-trigger"),a=Pe("el-popper-arrow"),l=Pe("el-tooltip-content"),c=Pe("el-popper");return L(),be(c,{ref:"popperRef"},{default:Z(()=>[B(o,{disabled:t.disabled,trigger:t.trigger,"virtual-ref":t.virtualRef,"virtual-triggering":t.virtualTriggering},{default:Z(()=>[t.$slots.default?We(t.$slots,"default",{key:0}):Qe("v-if",!0)]),_:3},8,["disabled","trigger","virtual-ref","virtual-triggering"]),B(l,{"aria-label":t.ariaLabel,"boundaries-padding":t.boundariesPadding,content:t.content,disabled:t.disabled,effect:t.effect,enterable:t.enterable,"fallback-placements":t.fallbackPlacements,"hide-after":t.hideAfter,"gpu-acceleration":t.gpuAcceleration,offset:t.offset,persistent:t.persistent,"popper-class":t.popperClass,"popper-style":t.popperStyle,placement:t.placement,"popper-options":t.popperOptions,pure:t.pure,"raw-content":t.rawContent,"reference-el":t.referenceEl,"show-after":t.compatShowAfter,strategy:t.strategy,teleported:t.teleported,transition:t.transition,"z-index":t.zIndex,"append-to":t.appendTo},{default:Z(()=>[We(t.$slots,"content",{},()=>[t.rawContent?(L(),ie("span",{key:0,innerHTML:t.content},null,8,Y7)):(L(),ie("span",Z7,de(t.content),1))]),t.compatShowArrow?(L(),be(a,{key:0,"arrow-offset":t.arrowOffset},null,8,["arrow-offset"])):Qe("v-if",!0)]),_:3},8,["aria-label","boundaries-padding","content","disabled","effect","enterable","fallback-placements","hide-after","gpu-acceleration","offset","persistent","popper-class","popper-style","placement","popper-options","pure","raw-content","reference-el","show-after","strategy","teleported","transition","z-index","append-to"])]),_:3},512)}var j7=Me(M7,[["render",V7],["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/tooltip.vue"]]);const Rs=Gt(j7),N7=lt({valueKey:{type:String,default:"value"},modelValue:{type:[String,Number],default:""},debounce:{type:Number,default:300},placement:{type:Ne(String),values:["top","top-start","top-end","bottom","bottom-start","bottom-end"],default:"bottom-start"},fetchSuggestions:{type:Ne([Function,Array]),default:bn},popperClass:{type:String,default:""},triggerOnFocus:{type:Boolean,default:!0},selectWhenUnmatched:{type:Boolean,default:!1},hideLoading:{type:Boolean,default:!1},label:{type:String},teleported:Qi.teleported,highlightFirstItem:{type:Boolean,default:!1}}),F7={[Wt]:t=>ot(t),input:t=>ot(t),change:t=>ot(t),focus:t=>t instanceof FocusEvent,blur:t=>t instanceof FocusEvent,clear:()=>!0,select:t=>yt(t)},G7=["aria-expanded","aria-owns"],H7={key:0},K7=["id","aria-selected","onClick"],J7={name:"ElAutocomplete",inheritAttrs:!1},eY=Ce(Je(ze({},J7),{props:N7,emits:F7,setup(t,{expose:e,emit:n}){const i=t,r="ElAutocomplete",s=Ze("autocomplete");let o=!1;const a=xC(),l=lk(),c=J([]),u=J(-1),O=J(""),f=J(!1),h=J(!1),p=J(!1),y=J(),$=J(),m=J(),d=J(),g=N(()=>s.b(String(wC()))),v=N(()=>l.style),b=N(()=>(Fe(c.value)&&c.value.length>0||p.value)&&f.value),_=N(()=>!i.hideLoading&&p.value),Q=()=>{et(()=>{b.value&&(O.value=`${y.value.$el.offsetWidth}px`)})},P=Qo(async V=>{if(h.value)return;p.value=!0;const j=Y=>{p.value=!1,!h.value&&(Fe(Y)?(c.value=Y,u.value=i.highlightFirstItem?0:-1):Wo(r,"autocomplete suggestions must be an array"))};if(Fe(i.fetchSuggestions))j(i.fetchSuggestions);else{const Y=await i.fetchSuggestions(V,j);Fe(Y)&&j(Y)}},i.debounce),w=V=>{const j=Boolean(V);if(n("input",V),n(Wt,V),h.value=!1,f.value||(f.value=o&&j),!i.triggerOnFocus&&!V){h.value=!0,c.value=[];return}o&&j&&(o=!1),P(V)},x=V=>{n("change",V)},k=V=>{f.value=!0,n("focus",V),i.triggerOnFocus&&P(String(i.modelValue))},C=V=>{n("blur",V)},T=()=>{f.value=!1,o=!0,n(Wt,""),n("clear")},E=()=>{b.value&&u.value>=0&&u.value{c.value=[],u.value=-1}))},A=()=>{f.value=!1},R=()=>{var V;(V=y.value)==null||V.focus()},X=V=>{n("input",V[i.valueKey]),n(Wt,V[i.valueKey]),n("select",V),et(()=>{c.value=[],u.value=-1})},U=V=>{if(!b.value||p.value)return;if(V<0){u.value=-1;return}V>=c.value.length&&(V=c.value.length-1);const j=$.value.querySelector(`.${s.be("suggestion","wrap")}`),ee=j.querySelectorAll(`.${s.be("suggestion","list")} li`)[V],se=j.scrollTop,{offsetTop:I,scrollHeight:ne}=ee;I+ne>se+j.clientHeight&&(j.scrollTop+=ne),I{y.value.ref.setAttribute("role","textbox"),y.value.ref.setAttribute("aria-autocomplete","list"),y.value.ref.setAttribute("aria-controls","id"),y.value.ref.setAttribute("aria-activedescendant",`${g.value}-item-${u.value}`)}),e({highlightedIndex:u,activated:f,loading:p,inputRef:y,popperRef:m,suggestions:c,handleSelect:X,handleKeyEnter:E,focus:R,close:A,highlight:U}),(V,j)=>(L(),be(M(Rs),{ref_key:"popperRef",ref:m,visible:M(b),"onUpdate:visible":j[2]||(j[2]=Y=>It(b)?b.value=Y:null),placement:V.placement,"fallback-placements":["bottom-start","top-start"],"popper-class":[M(s).e("popper"),V.popperClass],teleported:V.teleported,"gpu-acceleration":!1,pure:"","manual-mode":"",effect:"light",trigger:"click",transition:`${M(s).namespace.value}-zoom-in-top`,persistent:"",onBeforeShow:Q},{content:Z(()=>[D("div",{ref_key:"regionRef",ref:$,class:te([M(s).b("suggestion"),M(s).is("loading",M(_))]),style:tt({minWidth:O.value,outline:"none"}),role:"region"},[B(M(dc),{id:M(g),tag:"ul","wrap-class":M(s).be("suggestion","wrap"),"view-class":M(s).be("suggestion","list"),role:"listbox"},{default:Z(()=>[M(_)?(L(),ie("li",H7,[B(M(wt),{class:te(M(s).is("loading"))},{default:Z(()=>[B(M(vf))]),_:1},8,["class"])])):(L(!0),ie(Le,{key:1},Rt(c.value,(Y,ee)=>(L(),ie("li",{id:`${M(g)}-item-${ee}`,key:ee,class:te({highlighted:u.value===ee}),role:"option","aria-selected":u.value===ee,onClick:se=>X(Y)},[We(V.$slots,"default",{item:Y},()=>[Xe(de(Y[V.valueKey]),1)])],10,K7))),128))]),_:3},8,["id","wrap-class","view-class"])],6)]),default:Z(()=>[D("div",{ref_key:"listboxRef",ref:d,class:te([M(s).b(),V.$attrs.class]),style:tt(M(v)),role:"combobox","aria-haspopup":"listbox","aria-expanded":M(b),"aria-owns":M(g)},[B(M(mi),ii({ref_key:"inputRef",ref:y},M(a),{"model-value":V.modelValue,onInput:w,onChange:x,onFocus:k,onBlur:C,onClear:T,onKeydown:[j[0]||(j[0]=Qt(Et(Y=>U(u.value-1),["prevent"]),["up"])),j[1]||(j[1]=Qt(Et(Y=>U(u.value+1),["prevent"]),["down"])),Qt(E,["enter"]),Qt(A,["tab"])]}),Zd({_:2},[V.$slots.prepend?{name:"prepend",fn:Z(()=>[We(V.$slots,"prepend")])}:void 0,V.$slots.append?{name:"append",fn:Z(()=>[We(V.$slots,"append")])}:void 0,V.$slots.prefix?{name:"prefix",fn:Z(()=>[We(V.$slots,"prefix")])}:void 0,V.$slots.suffix?{name:"suffix",fn:Z(()=>[We(V.$slots,"suffix")])}:void 0]),1040,["model-value","onKeydown"])],14,G7)]),_:3},8,["visible","placement","popper-class","teleported","transition"]))}}));var tY=Me(eY,[["__file","/home/runner/work/element-plus/element-plus/packages/components/autocomplete/src/autocomplete.vue"]]);const nY=Gt(tY),iY=lt({value:{type:[String,Number],default:""},max:{type:Number,default:99},isDot:Boolean,hidden:Boolean,type:{type:String,values:["primary","success","warning","info","danger"],default:"danger"}}),rY=["textContent"],sY={name:"ElBadge"},oY=Ce(Je(ze({},sY),{props:iY,setup(t,{expose:e}){const n=t,i=Ze("badge"),r=N(()=>n.isDot?"":Bt(n.value)&&Bt(n.max)?n.max(L(),ie("div",{class:te(M(i).b())},[We(s.$slots,"default"),B(ri,{name:`${M(i).namespace.value}-zoom-in-center`},{default:Z(()=>[it(D("sup",{class:te([M(i).e("content"),M(i).em("content",s.type),M(i).is("fixed",!!s.$slots.default),M(i).is("dot",s.isDot)]),textContent:de(M(r))},null,10,rY),[[Lt,!s.hidden&&(M(r)||M(r)==="0"||s.isDot)]])]),_:1},8,["name"])],2))}}));var aY=Me(oY,[["__file","/home/runner/work/element-plus/element-plus/packages/components/badge/src/badge.vue"]]);const lY=Gt(aY),cY=["default","primary","success","warning","info","danger",""],uY=["button","submit","reset"],_g=lt({size:fp,disabled:Boolean,type:{type:String,values:cY,default:""},icon:{type:_s,default:""},nativeType:{type:String,values:uY,default:"button"},loading:Boolean,loadingIcon:{type:_s,default:()=>vf},plain:Boolean,text:Boolean,bg:Boolean,autofocus:Boolean,round:Boolean,circle:Boolean,color:String,dark:Boolean,autoInsertSpace:{type:Boolean,default:void 0}}),fY={click:t=>t instanceof MouseEvent};function Un(t,e){OY(t)&&(t="100%");var n=hY(t);return t=e===360?t:Math.min(e,Math.max(0,parseFloat(t))),n&&(t=parseInt(String(t*e),10)/100),Math.abs(t-e)<1e-6?1:(e===360?t=(t<0?t%e+e:t%e)/parseFloat(String(e)):t=t%e/parseFloat(String(e)),t)}function $O(t){return Math.min(1,Math.max(0,t))}function OY(t){return typeof t=="string"&&t.indexOf(".")!==-1&&parseFloat(t)===1}function hY(t){return typeof t=="string"&&t.indexOf("%")!==-1}function r2(t){return t=parseFloat(t),(isNaN(t)||t<0||t>1)&&(t=1),t}function bO(t){return t<=1?"".concat(Number(t)*100,"%"):t}function ua(t){return t.length===1?"0"+t:String(t)}function dY(t,e,n){return{r:Un(t,255)*255,g:Un(e,255)*255,b:Un(n,255)*255}}function E_(t,e,n){t=Un(t,255),e=Un(e,255),n=Un(n,255);var i=Math.max(t,e,n),r=Math.min(t,e,n),s=0,o=0,a=(i+r)/2;if(i===r)o=0,s=0;else{var l=i-r;switch(o=a>.5?l/(2-i-r):l/(i+r),i){case t:s=(e-n)/l+(e1&&(n-=1),n<1/6?t+(e-t)*(6*n):n<1/2?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function pY(t,e,n){var i,r,s;if(t=Un(t,360),e=Un(e,100),n=Un(n,100),e===0)r=n,s=n,i=n;else{var o=n<.5?n*(1+e):n+e-n*e,a=2*n-o;i=C0(a,o,t+1/3),r=C0(a,o,t),s=C0(a,o,t-1/3)}return{r:i*255,g:r*255,b:s*255}}function X_(t,e,n){t=Un(t,255),e=Un(e,255),n=Un(n,255);var i=Math.max(t,e,n),r=Math.min(t,e,n),s=0,o=i,a=i-r,l=i===0?0:a/i;if(i===r)s=0;else{switch(i){case t:s=(e-n)/a+(e>16,g:(t&65280)>>8,b:t&255}}var Qg={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function $Y(t){var e={r:0,g:0,b:0},n=1,i=null,r=null,s=null,o=!1,a=!1;return typeof t=="string"&&(t=QY(t)),typeof t=="object"&&(os(t.r)&&os(t.g)&&os(t.b)?(e=dY(t.r,t.g,t.b),o=!0,a=String(t.r).substr(-1)==="%"?"prgb":"rgb"):os(t.h)&&os(t.s)&&os(t.v)?(i=bO(t.s),r=bO(t.v),e=mY(t.h,i,r),o=!0,a="hsv"):os(t.h)&&os(t.s)&&os(t.l)&&(i=bO(t.s),s=bO(t.l),e=pY(t.h,i,s),o=!0,a="hsl"),Object.prototype.hasOwnProperty.call(t,"a")&&(n=t.a)),n=r2(n),{ok:o,format:t.format||a,r:Math.min(255,Math.max(e.r,0)),g:Math.min(255,Math.max(e.g,0)),b:Math.min(255,Math.max(e.b,0)),a:n}}var bY="[-\\+]?\\d+%?",_Y="[-\\+]?\\d*\\.\\d+%?",so="(?:".concat(_Y,")|(?:").concat(bY,")"),T0="[\\s|\\(]+(".concat(so,")[,|\\s]+(").concat(so,")[,|\\s]+(").concat(so,")\\s*\\)?"),R0="[\\s|\\(]+(".concat(so,")[,|\\s]+(").concat(so,")[,|\\s]+(").concat(so,")[,|\\s]+(").concat(so,")\\s*\\)?"),pr={CSS_UNIT:new RegExp(so),rgb:new RegExp("rgb"+T0),rgba:new RegExp("rgba"+R0),hsl:new RegExp("hsl"+T0),hsla:new RegExp("hsla"+R0),hsv:new RegExp("hsv"+T0),hsva:new RegExp("hsva"+R0),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function QY(t){if(t=t.trim().toLowerCase(),t.length===0)return!1;var e=!1;if(Qg[t])t=Qg[t],e=!0;else if(t==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=pr.rgb.exec(t);return n?{r:n[1],g:n[2],b:n[3]}:(n=pr.rgba.exec(t),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=pr.hsl.exec(t),n?{h:n[1],s:n[2],l:n[3]}:(n=pr.hsla.exec(t),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=pr.hsv.exec(t),n?{h:n[1],s:n[2],v:n[3]}:(n=pr.hsva.exec(t),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=pr.hex8.exec(t),n?{r:bi(n[1]),g:bi(n[2]),b:bi(n[3]),a:z_(n[4]),format:e?"name":"hex8"}:(n=pr.hex6.exec(t),n?{r:bi(n[1]),g:bi(n[2]),b:bi(n[3]),format:e?"name":"hex"}:(n=pr.hex4.exec(t),n?{r:bi(n[1]+n[1]),g:bi(n[2]+n[2]),b:bi(n[3]+n[3]),a:z_(n[4]+n[4]),format:e?"name":"hex8"}:(n=pr.hex3.exec(t),n?{r:bi(n[1]+n[1]),g:bi(n[2]+n[2]),b:bi(n[3]+n[3]),format:e?"name":"hex"}:!1)))))))))}function os(t){return Boolean(pr.CSS_UNIT.exec(String(t)))}var SY=function(){function t(e,n){e===void 0&&(e=""),n===void 0&&(n={});var i;if(e instanceof t)return e;typeof e=="number"&&(e=yY(e)),this.originalInput=e;var r=$Y(e);this.originalInput=e,this.r=r.r,this.g=r.g,this.b=r.b,this.a=r.a,this.roundA=Math.round(100*this.a)/100,this.format=(i=n.format)!==null&&i!==void 0?i:r.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=r.ok}return t.prototype.isDark=function(){return this.getBrightness()<128},t.prototype.isLight=function(){return!this.isDark()},t.prototype.getBrightness=function(){var e=this.toRgb();return(e.r*299+e.g*587+e.b*114)/1e3},t.prototype.getLuminance=function(){var e=this.toRgb(),n,i,r,s=e.r/255,o=e.g/255,a=e.b/255;return s<=.03928?n=s/12.92:n=Math.pow((s+.055)/1.055,2.4),o<=.03928?i=o/12.92:i=Math.pow((o+.055)/1.055,2.4),a<=.03928?r=a/12.92:r=Math.pow((a+.055)/1.055,2.4),.2126*n+.7152*i+.0722*r},t.prototype.getAlpha=function(){return this.a},t.prototype.setAlpha=function(e){return this.a=r2(e),this.roundA=Math.round(100*this.a)/100,this},t.prototype.toHsv=function(){var e=X_(this.r,this.g,this.b);return{h:e.h*360,s:e.s,v:e.v,a:this.a}},t.prototype.toHsvString=function(){var e=X_(this.r,this.g,this.b),n=Math.round(e.h*360),i=Math.round(e.s*100),r=Math.round(e.v*100);return this.a===1?"hsv(".concat(n,", ").concat(i,"%, ").concat(r,"%)"):"hsva(".concat(n,", ").concat(i,"%, ").concat(r,"%, ").concat(this.roundA,")")},t.prototype.toHsl=function(){var e=E_(this.r,this.g,this.b);return{h:e.h*360,s:e.s,l:e.l,a:this.a}},t.prototype.toHslString=function(){var e=E_(this.r,this.g,this.b),n=Math.round(e.h*360),i=Math.round(e.s*100),r=Math.round(e.l*100);return this.a===1?"hsl(".concat(n,", ").concat(i,"%, ").concat(r,"%)"):"hsla(".concat(n,", ").concat(i,"%, ").concat(r,"%, ").concat(this.roundA,")")},t.prototype.toHex=function(e){return e===void 0&&(e=!1),W_(this.r,this.g,this.b,e)},t.prototype.toHexString=function(e){return e===void 0&&(e=!1),"#"+this.toHex(e)},t.prototype.toHex8=function(e){return e===void 0&&(e=!1),gY(this.r,this.g,this.b,this.a,e)},t.prototype.toHex8String=function(e){return e===void 0&&(e=!1),"#"+this.toHex8(e)},t.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},t.prototype.toRgbString=function(){var e=Math.round(this.r),n=Math.round(this.g),i=Math.round(this.b);return this.a===1?"rgb(".concat(e,", ").concat(n,", ").concat(i,")"):"rgba(".concat(e,", ").concat(n,", ").concat(i,", ").concat(this.roundA,")")},t.prototype.toPercentageRgb=function(){var e=function(n){return"".concat(Math.round(Un(n,255)*100),"%")};return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}},t.prototype.toPercentageRgbString=function(){var e=function(n){return Math.round(Un(n,255)*100)};return this.a===1?"rgb(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%)"):"rgba(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%, ").concat(this.roundA,")")},t.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var e="#"+W_(this.r,this.g,this.b,!1),n=0,i=Object.entries(Qg);n=0,s=!n&&r&&(e.startsWith("hex")||e==="name");return s?e==="name"&&this.a===0?this.toName():this.toRgbString():(e==="rgb"&&(i=this.toRgbString()),e==="prgb"&&(i=this.toPercentageRgbString()),(e==="hex"||e==="hex6")&&(i=this.toHexString()),e==="hex3"&&(i=this.toHexString(!0)),e==="hex4"&&(i=this.toHex8String(!0)),e==="hex8"&&(i=this.toHex8String()),e==="name"&&(i=this.toName()),e==="hsl"&&(i=this.toHslString()),e==="hsv"&&(i=this.toHsvString()),i||this.toHexString())},t.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},t.prototype.clone=function(){return new t(this.toString())},t.prototype.lighten=function(e){e===void 0&&(e=10);var n=this.toHsl();return n.l+=e/100,n.l=$O(n.l),new t(n)},t.prototype.brighten=function(e){e===void 0&&(e=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(e/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(e/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(e/100)))),new t(n)},t.prototype.darken=function(e){e===void 0&&(e=10);var n=this.toHsl();return n.l-=e/100,n.l=$O(n.l),new t(n)},t.prototype.tint=function(e){return e===void 0&&(e=10),this.mix("white",e)},t.prototype.shade=function(e){return e===void 0&&(e=10),this.mix("black",e)},t.prototype.desaturate=function(e){e===void 0&&(e=10);var n=this.toHsl();return n.s-=e/100,n.s=$O(n.s),new t(n)},t.prototype.saturate=function(e){e===void 0&&(e=10);var n=this.toHsl();return n.s+=e/100,n.s=$O(n.s),new t(n)},t.prototype.greyscale=function(){return this.desaturate(100)},t.prototype.spin=function(e){var n=this.toHsl(),i=(n.h+e)%360;return n.h=i<0?360+i:i,new t(n)},t.prototype.mix=function(e,n){n===void 0&&(n=50);var i=this.toRgb(),r=new t(e).toRgb(),s=n/100,o={r:(r.r-i.r)*s+i.r,g:(r.g-i.g)*s+i.g,b:(r.b-i.b)*s+i.b,a:(r.a-i.a)*s+i.a};return new t(o)},t.prototype.analogous=function(e,n){e===void 0&&(e=6),n===void 0&&(n=30);var i=this.toHsl(),r=360/n,s=[this];for(i.h=(i.h-(r*e>>1)+720)%360;--e;)i.h=(i.h+r)%360,s.push(new t(i));return s},t.prototype.complement=function(){var e=this.toHsl();return e.h=(e.h+180)%360,new t(e)},t.prototype.monochromatic=function(e){e===void 0&&(e=6);for(var n=this.toHsv(),i=n.h,r=n.s,s=n.v,o=[],a=1/e;e--;)o.push(new t({h:i,s:r,v:s})),s=(s+a)%1;return o},t.prototype.splitcomplement=function(){var e=this.toHsl(),n=e.h;return[this,new t({h:(n+72)%360,s:e.s,l:e.l}),new t({h:(n+216)%360,s:e.s,l:e.l})]},t.prototype.onBackground=function(e){var n=this.toRgb(),i=new t(e).toRgb();return new t({r:i.r+(n.r-i.r)*n.a,g:i.g+(n.g-i.g)*n.a,b:i.b+(n.b-i.b)*n.a})},t.prototype.triad=function(){return this.polyad(3)},t.prototype.tetrad=function(){return this.polyad(4)},t.prototype.polyad=function(e){for(var n=this.toHsl(),i=n.h,r=[this],s=360/e,o=1;o{let i={};const r=t.color;if(r){const s=new SY(r),o=t.dark?s.tint(20).toString():Ls(s,20);if(t.plain)i=n.cssVarBlock({"bg-color":t.dark?Ls(s,90):s.tint(90).toString(),"text-color":r,"border-color":t.dark?Ls(s,50):s.tint(50).toString(),"hover-text-color":`var(${n.cssVarName("color-white")})`,"hover-bg-color":r,"hover-border-color":r,"active-bg-color":o,"active-text-color":`var(${n.cssVarName("color-white")})`,"active-border-color":o}),e.value&&(i[n.cssVarBlockName("disabled-bg-color")]=t.dark?Ls(s,90):s.tint(90).toString(),i[n.cssVarBlockName("disabled-text-color")]=t.dark?Ls(s,50):s.tint(50).toString(),i[n.cssVarBlockName("disabled-border-color")]=t.dark?Ls(s,80):s.tint(80).toString());else{const a=t.dark?Ls(s,30):s.tint(30).toString(),l=s.isDark()?`var(${n.cssVarName("color-white")})`:`var(${n.cssVarName("color-black")})`;if(i=n.cssVarBlock({"bg-color":r,"text-color":l,"border-color":r,"hover-bg-color":a,"hover-text-color":l,"hover-border-color":a,"active-bg-color":o,"active-border-color":o}),e.value){const c=t.dark?Ls(s,50):s.tint(50).toString();i[n.cssVarBlockName("disabled-bg-color")]=c,i[n.cssVarBlockName("disabled-text-color")]=t.dark?"rgba(255, 255, 255, 0.5)":`var(${n.cssVarName("color-white")})`,i[n.cssVarBlockName("disabled-border-color")]=c}}}return i})}const xY=["aria-disabled","disabled","autofocus","type"],PY={name:"ElButton"},kY=Ce(Je(ze({},PY),{props:_g,emits:fY,setup(t,{expose:e,emit:n}){const i=t,r=df(),s=De(PC,void 0),o=Da("button"),a=Ze("button"),{form:l}=yf(),c=Dn(N(()=>s==null?void 0:s.size)),u=hc(),O=J(),f=N(()=>i.type||(s==null?void 0:s.type)||""),h=N(()=>{var m,d,g;return(g=(d=i.autoInsertSpace)!=null?d:(m=o.value)==null?void 0:m.autoInsertSpace)!=null?g:!1}),p=N(()=>{var m;const d=(m=r.default)==null?void 0:m.call(r);if(h.value&&(d==null?void 0:d.length)===1){const g=d[0];if((g==null?void 0:g.type)===hf){const v=g.children;return/^\p{Unified_Ideograph}{2}$/u.test(v.trim())}}return!1}),y=wY(i),$=m=>{i.nativeType==="reset"&&(l==null||l.resetFields()),n("click",m)};return e({ref:O,size:c,type:f,disabled:u,shouldAddSpace:p}),(m,d)=>(L(),ie("button",{ref_key:"_ref",ref:O,class:te([M(a).b(),M(a).m(M(f)),M(a).m(M(c)),M(a).is("disabled",M(u)),M(a).is("loading",m.loading),M(a).is("plain",m.plain),M(a).is("round",m.round),M(a).is("circle",m.circle),M(a).is("text",m.text),M(a).is("has-bg",m.bg)]),"aria-disabled":M(u)||m.loading,disabled:M(u)||m.loading,autofocus:m.autofocus,type:m.nativeType,style:tt(M(y)),onClick:$},[m.loading?(L(),ie(Le,{key:0},[m.$slots.loading?We(m.$slots,"loading",{key:0}):(L(),be(M(wt),{key:1,class:te(M(a).is("loading"))},{default:Z(()=>[(L(),be(Vt(m.loadingIcon)))]),_:1},8,["class"]))],2112)):m.icon||m.$slots.icon?(L(),be(M(wt),{key:1},{default:Z(()=>[m.icon?(L(),be(Vt(m.icon),{key:0})):We(m.$slots,"icon",{key:1})]),_:3})):Qe("v-if",!0),m.$slots.default?(L(),ie("span",{key:2,class:te({[M(a).em("text","expand")]:M(p)})},[We(m.$slots,"default")],2)):Qe("v-if",!0)],14,xY))}}));var CY=Me(kY,[["__file","/home/runner/work/element-plus/element-plus/packages/components/button/src/button.vue"]]);const TY={size:_g.size,type:_g.type},RY={name:"ElButtonGroup"},AY=Ce(Je(ze({},RY),{props:TY,setup(t){const e=t;kt(PC,gn({size:Pn(e,"size"),type:Pn(e,"type")}));const n=Ze("button");return(i,r)=>(L(),ie("div",{class:te(`${M(n).b("group")}`)},[We(i.$slots,"default")],2))}}));var s2=Me(AY,[["__file","/home/runner/work/element-plus/element-plus/packages/components/button/src/button-group.vue"]]);const Ln=Gt(CY,{ButtonGroup:s2});Di(s2);var o2={exports:{}};(function(t,e){(function(n,i){t.exports=i()})(at,function(){var n=1e3,i=6e4,r=36e5,s="millisecond",o="second",a="minute",l="hour",c="day",u="week",O="month",f="quarter",h="year",p="date",y="Invalid Date",$=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,d={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},g=function(C,T,E){var A=String(C);return!A||A.length>=T?C:""+Array(T+1-A.length).join(E)+C},v={s:g,z:function(C){var T=-C.utcOffset(),E=Math.abs(T),A=Math.floor(E/60),R=E%60;return(T<=0?"+":"-")+g(A,2,"0")+":"+g(R,2,"0")},m:function C(T,E){if(T.date()1)return C(U[0])}else{var V=T.name;_[V]=T,R=V}return!A&&R&&(b=R),R||!A&&b},P=function(C,T){if(Q(C))return C.clone();var E=typeof T=="object"?T:{};return E.date=C,E.args=arguments,new x(E)},w=v;w.l=S,w.i=Q,w.w=function(C,T){return P(C,{locale:T.$L,utc:T.$u,x:T.$x,$offset:T.$offset})};var x=function(){function C(E){this.$L=S(E.locale,null,!0),this.parse(E)}var T=C.prototype;return T.parse=function(E){this.$d=function(A){var R=A.date,X=A.utc;if(R===null)return new Date(NaN);if(w.u(R))return new Date;if(R instanceof Date)return new Date(R);if(typeof R=="string"&&!/Z$/i.test(R)){var U=R.match($);if(U){var V=U[2]-1||0,j=(U[7]||"0").substring(0,3);return X?new Date(Date.UTC(U[1],V,U[3]||1,U[4]||0,U[5]||0,U[6]||0,j)):new Date(U[1],V,U[3]||1,U[4]||0,U[5]||0,U[6]||0,j)}}return new Date(R)}(E),this.$x=E.x||{},this.init()},T.init=function(){var E=this.$d;this.$y=E.getFullYear(),this.$M=E.getMonth(),this.$D=E.getDate(),this.$W=E.getDay(),this.$H=E.getHours(),this.$m=E.getMinutes(),this.$s=E.getSeconds(),this.$ms=E.getMilliseconds()},T.$utils=function(){return w},T.isValid=function(){return this.$d.toString()!==y},T.isSame=function(E,A){var R=P(E);return this.startOf(A)<=R&&R<=this.endOf(A)},T.isAfter=function(E,A){return P(E)68?1900:2e3)},c=function(y){return function($){this[y]=+$}},u=[/[+-]\d\d:?(\d\d)?|Z/,function(y){(this.zone||(this.zone={})).offset=function($){if(!$||$==="Z")return 0;var m=$.match(/([+-]|\d\d)/g),d=60*m[1]+(+m[2]||0);return d===0?0:m[0]==="+"?-d:d}(y)}],O=function(y){var $=a[y];return $&&($.indexOf?$:$.s.concat($.f))},f=function(y,$){var m,d=a.meridiem;if(d){for(var g=1;g<=24;g+=1)if(y.indexOf(d(g,0,$))>-1){m=g>12;break}}else m=y===($?"pm":"PM");return m},h={A:[o,function(y){this.afternoon=f(y,!1)}],a:[o,function(y){this.afternoon=f(y,!0)}],S:[/\d/,function(y){this.milliseconds=100*+y}],SS:[r,function(y){this.milliseconds=10*+y}],SSS:[/\d{3}/,function(y){this.milliseconds=+y}],s:[s,c("seconds")],ss:[s,c("seconds")],m:[s,c("minutes")],mm:[s,c("minutes")],H:[s,c("hours")],h:[s,c("hours")],HH:[s,c("hours")],hh:[s,c("hours")],D:[s,c("day")],DD:[r,c("day")],Do:[o,function(y){var $=a.ordinal,m=y.match(/\d+/);if(this.day=m[0],$)for(var d=1;d<=31;d+=1)$(d).replace(/\[|\]/g,"")===y&&(this.day=d)}],M:[s,c("month")],MM:[r,c("month")],MMM:[o,function(y){var $=O("months"),m=(O("monthsShort")||$.map(function(d){return d.slice(0,3)})).indexOf(y)+1;if(m<1)throw new Error;this.month=m%12||m}],MMMM:[o,function(y){var $=O("months").indexOf(y)+1;if($<1)throw new Error;this.month=$%12||$}],Y:[/[+-]?\d+/,c("year")],YY:[r,function(y){this.year=l(y)}],YYYY:[/\d{4}/,c("year")],Z:u,ZZ:u};function p(y){var $,m;$=y,m=a&&a.formats;for(var d=(y=$.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(P,w,x){var k=x&&x.toUpperCase();return w||m[x]||n[x]||m[k].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(C,T,E){return T||E.slice(1)})})).match(i),g=d.length,v=0;v-1)return new Date((R==="X"?1e3:1)*A);var U=p(R)(A),V=U.year,j=U.month,Y=U.day,ee=U.hours,se=U.minutes,I=U.seconds,ne=U.milliseconds,H=U.zone,re=new Date,G=Y||(V||j?1:re.getDate()),Re=V||re.getFullYear(),_e=0;V&&!j||(_e=j>0?j-1:re.getMonth());var ue=ee||0,W=se||0,q=I||0,F=ne||0;return H?new Date(Date.UTC(Re,_e,G,ue,W,q,F+60*H.offset*1e3)):X?new Date(Date.UTC(Re,_e,G,ue,W,q,F)):new Date(Re,_e,G,ue,W,q,F)}catch{return new Date("")}}(b,S,_),this.init(),k&&k!==!0&&(this.$L=this.locale(k).$L),x&&b!=this.format(S)&&(this.$d=new Date("")),a={}}else if(S instanceof Array)for(var C=S.length,T=1;T<=C;T+=1){Q[1]=S[T-1];var E=m.apply(this,Q);if(E.isValid()){this.$d=E.$d,this.$L=E.$L,this.init();break}T===C&&(this.$d=new Date(""))}else g.call(this,v)}}})})(l2);var XY=l2.exports;const I_="HH:mm:ss",Fc="YYYY-MM-DD",WY={date:Fc,week:"gggg[w]ww",year:"YYYY",month:"YYYY-MM",datetime:`${Fc} ${I_}`,monthrange:"YYYY-MM",daterange:Fc,datetimerange:`${Fc} ${I_}`},c2={id:{type:[Array,String]},name:{type:[Array,String],default:""},popperClass:{type:String,default:""},format:{type:String},valueFormat:{type:String},type:{type:String,default:""},clearable:{type:Boolean,default:!0},clearIcon:{type:[String,Object],default:Ul},editable:{type:Boolean,default:!0},prefixIcon:{type:[String,Object],default:""},size:{type:String,validator:Ua},readonly:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},placeholder:{type:String,default:""},popperOptions:{type:Object,default:()=>({})},modelValue:{type:[Date,Array,String,Number],default:""},rangeSeparator:{type:String,default:"-"},startPlaceholder:String,endPlaceholder:String,defaultValue:{type:[Date,Array]},defaultTime:{type:[Date,Array]},isRange:{type:Boolean,default:!1},disabledHours:{type:Function},disabledMinutes:{type:Function},disabledSeconds:{type:Function},disabledDate:{type:Function},cellClassName:{type:Function},shortcuts:{type:Array,default:()=>[]},arrowControl:{type:Boolean,default:!1},label:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},unlinkPanels:Boolean},q_=function(t,e){const n=t instanceof Date,i=e instanceof Date;return n&&i?t.getTime()===e.getTime():!n&&!i?t===e:!1},U_=function(t,e){const n=Array.isArray(t),i=Array.isArray(e);return n&&i?t.length!==e.length?!1:t.every((r,s)=>q_(r,e[s])):!n&&!i?q_(t,e):!1},D_=function(t,e,n){const i=pC(e)||e==="x"?nt(t).locale(n):nt(t,e).locale(n);return i.isValid()?i:void 0},L_=function(t,e,n){return pC(e)?t:e==="x"?+t:nt(t).locale(n).format(e)},zY=Ce({name:"Picker",components:{ElInput:mi,ElTooltip:Rs,ElIcon:wt},props:c2,emits:["update:modelValue","change","focus","blur","calendar-change","panel-change","visible-change"],setup(t,e){const{lang:n}=Fn(),i=Ze("date"),r=Ze("input"),s=Ze("range"),o=De(Ts,{}),a=De(Gr,{}),l=De("ElPopperOptions",{}),c=J(),u=J(),O=J(!1),f=J(!1),h=J(null);Ee(O,K=>{var ge;K?h.value=t.modelValue:(re.value=null,et(()=>{p(t.modelValue)}),e.emit("blur"),Re(),t.validateEvent&&((ge=a.validate)==null||ge.call(a,"blur").catch(Te=>void 0)))});const p=(K,ge)=>{var Te;(ge||!U_(K,h.value))&&(e.emit("change",K),t.validateEvent&&((Te=a.validate)==null||Te.call(a,"change").catch(Ye=>void 0)))},y=K=>{if(!U_(t.modelValue,K)){let ge;Array.isArray(K)?ge=K.map(Te=>L_(Te,t.valueFormat,n.value)):K&&(ge=L_(K,t.valueFormat,n.value)),e.emit("update:modelValue",K&&ge,n.value)}},$=N(()=>{if(u.value){const K=ee.value?u.value:u.value.$el;return Array.from(K.querySelectorAll("input"))}return[]}),m=N(()=>$==null?void 0:$.value[0]),d=N(()=>$==null?void 0:$.value[1]),g=(K,ge,Te)=>{const Ye=$.value;!Ye.length||(!Te||Te==="min"?(Ye[0].setSelectionRange(K,ge),Ye[0].focus()):Te==="max"&&(Ye[1].setSelectionRange(K,ge),Ye[1].focus()))},v=(K="",ge=!1)=>{O.value=ge;let Te;Array.isArray(K)?Te=K.map(Ye=>Ye.toDate()):Te=K&&K.toDate(),re.value=null,y(Te)},b=()=>{f.value=!0},_=()=>{e.emit("visible-change",!0)},Q=()=>{f.value=!1,e.emit("visible-change",!1)},S=(K=!0)=>{let ge=m.value;!K&&ee.value&&(ge=d.value),ge&&ge.focus()},P=K=>{t.readonly||x.value||O.value||(O.value=!0,e.emit("focus",K))},w=()=>{var K;(K=c.value)==null||K.onClose(),Re()},x=N(()=>t.disabled||o.disabled),k=N(()=>{let K;if(V.value?me.value.getDefaultValue&&(K=me.value.getDefaultValue()):Array.isArray(t.modelValue)?K=t.modelValue.map(ge=>D_(ge,t.valueFormat,n.value)):K=D_(t.modelValue,t.valueFormat,n.value),me.value.getRangeAvailableTime){const ge=me.value.getRangeAvailableTime(K);jh(ge,K)||(K=ge,y(Array.isArray(K)?K.map(Te=>Te.toDate()):K.toDate()))}return Array.isArray(K)&&K.some(ge=>!ge)&&(K=[]),K}),C=N(()=>{if(!me.value.panelReady)return;const K=ue(k.value);if(Array.isArray(re.value))return[re.value[0]||K&&K[0]||"",re.value[1]||K&&K[1]||""];if(re.value!==null)return re.value;if(!(!E.value&&V.value)&&!(!O.value&&V.value))return K?A.value?K.join(", "):K:""}),T=N(()=>t.type.includes("time")),E=N(()=>t.type.startsWith("time")),A=N(()=>t.type==="dates"),R=N(()=>t.prefixIcon||(T.value?BL:OL)),X=J(!1),U=K=>{t.readonly||x.value||X.value&&(K.stopPropagation(),y(null),p(null,!0),X.value=!1,O.value=!1,me.value.handleClear&&me.value.handleClear())},V=N(()=>!t.modelValue||Array.isArray(t.modelValue)&&!t.modelValue.length),j=()=>{t.readonly||x.value||!V.value&&t.clearable&&(X.value=!0)},Y=()=>{X.value=!1},ee=N(()=>t.type.includes("range")),se=Dn(),I=N(()=>{var K,ge;return(ge=(K=c.value)==null?void 0:K.popperRef)==null?void 0:ge.contentRef}),ne=N(()=>{var K,ge;return(ge=(K=M(c))==null?void 0:K.popperRef)==null?void 0:ge.contentRef}),H=N(()=>{var K;return M(ee)?M(u):(K=M(u))==null?void 0:K.$el});Fh(H,K=>{const ge=M(ne),Te=M(H);ge&&(K.target===ge||K.composedPath().includes(ge))||K.target===Te||K.composedPath().includes(Te)||(O.value=!1)});const re=J(null),G=()=>{if(re.value){const K=_e(C.value);K&&W(K)&&(y(Array.isArray(K)?K.map(ge=>ge.toDate()):K.toDate()),re.value=null)}re.value===""&&(y(null),p(null),re.value=null)},Re=()=>{$.value.forEach(K=>K.blur())},_e=K=>K?me.value.parseUserInput(K):null,ue=K=>K?me.value.formatToString(K):null,W=K=>me.value.isValidValue(K),q=K=>{const ge=K.code;if(ge===rt.esc){O.value=!1,K.stopPropagation();return}if(ge===rt.tab){ee.value?setTimeout(()=>{$.value.includes(document.activeElement)||(O.value=!1,Re())},0):(G(),O.value=!1,K.stopPropagation());return}if(ge===rt.enter||ge===rt.numpadEnter){(re.value===null||re.value===""||W(_e(C.value)))&&(G(),O.value=!1),K.stopPropagation();return}if(re.value){K.stopPropagation();return}me.value.handleKeydown&&me.value.handleKeydown(K)},F=K=>{re.value=K},fe=K=>{re.value?re.value=[K.target.value,re.value[1]]:re.value=[K.target.value,null]},he=K=>{re.value?re.value=[re.value[0],K.target.value]:re.value=[null,K.target.value]},ve=()=>{const K=_e(re.value&&re.value[0]);if(K&&K.isValid()){re.value=[ue(K),C.value[1]];const ge=[K,k.value&&k.value[1]];W(ge)&&(y(ge),re.value=null)}},xe=()=>{const K=_e(re.value&&re.value[1]);if(K&&K.isValid()){re.value=[C.value[0],ue(K)];const ge=[k.value&&k.value[0],K];W(ge)&&(y(ge),re.value=null)}},me=J({}),le=K=>{me.value[K[0]]=K[1],me.value.panelReady=!0},oe=K=>{e.emit("calendar-change",K)},ce=(K,ge,Te)=>{e.emit("panel-change",K,ge,Te)};return kt("EP_PICKER_BASE",{props:t}),{nsDate:i,nsInput:r,nsRange:s,elPopperOptions:l,isDatesPicker:A,handleEndChange:xe,handleStartChange:ve,handleStartInput:fe,handleEndInput:he,onUserInput:F,handleChange:G,handleKeydown:q,popperPaneRef:I,onClickOutside:Fh,pickerSize:se,isRangeInput:ee,onMouseLeave:Y,onMouseEnter:j,onClearIconClick:U,showClose:X,triggerIcon:R,onPick:v,handleFocus:P,handleBlur:w,pickerVisible:O,pickerActualVisible:f,displayValue:C,parsedValue:k,setSelectionRange:g,refPopper:c,inputRef:u,pickerDisabled:x,onSetPickerOption:le,onCalendarChange:oe,onPanelChange:ce,focus:S,onShow:_,onBeforeShow:b,onHide:Q}}}),IY=["id","name","placeholder","value","disabled","readonly"],qY=["id","name","placeholder","value","disabled","readonly"];function UY(t,e,n,i,r,s){const o=Pe("el-icon"),a=Pe("el-input"),l=Pe("el-tooltip");return L(),be(l,ii({ref:"refPopper",visible:t.pickerVisible,"onUpdate:visible":e[17]||(e[17]=c=>t.pickerVisible=c),effect:"light",pure:"",trigger:"click"},t.$attrs,{teleported:"",transition:`${t.nsDate.namespace.value}-zoom-in-top`,"popper-class":[`${t.nsDate.namespace.value}-picker__popper`,t.popperClass],"popper-options":t.elPopperOptions,"fallback-placements":["bottom","top","right","left"],"gpu-acceleration":!1,"stop-popper-mouse-event":!1,"hide-after":0,persistent:"",onBeforeShow:t.onBeforeShow,onShow:t.onShow,onHide:t.onHide}),{default:Z(()=>[t.isRangeInput?(L(),ie("div",{key:1,ref:"inputRef",class:te([t.nsDate.b("editor"),t.nsDate.bm("editor",t.type),t.nsInput.e("inner"),t.nsDate.is("disabled",t.pickerDisabled),t.nsDate.is("active",t.pickerVisible),t.nsRange.b("editor"),t.pickerSize?t.nsRange.bm("editor",t.pickerSize):"",t.$attrs.class]),style:tt(t.$attrs.style),onClick:e[7]||(e[7]=(...c)=>t.handleFocus&&t.handleFocus(...c)),onMouseenter:e[8]||(e[8]=(...c)=>t.onMouseEnter&&t.onMouseEnter(...c)),onMouseleave:e[9]||(e[9]=(...c)=>t.onMouseLeave&&t.onMouseLeave(...c)),onKeydown:e[10]||(e[10]=(...c)=>t.handleKeydown&&t.handleKeydown(...c))},[t.triggerIcon?(L(),be(o,{key:0,class:te([t.nsInput.e("icon"),t.nsRange.e("icon")]),onClick:t.handleFocus},{default:Z(()=>[(L(),be(Vt(t.triggerIcon)))]),_:1},8,["class","onClick"])):Qe("v-if",!0),D("input",{id:t.id&&t.id[0],autocomplete:"off",name:t.name&&t.name[0],placeholder:t.startPlaceholder,value:t.displayValue&&t.displayValue[0],disabled:t.pickerDisabled,readonly:!t.editable||t.readonly,class:te(t.nsRange.b("input")),onInput:e[1]||(e[1]=(...c)=>t.handleStartInput&&t.handleStartInput(...c)),onChange:e[2]||(e[2]=(...c)=>t.handleStartChange&&t.handleStartChange(...c)),onFocus:e[3]||(e[3]=(...c)=>t.handleFocus&&t.handleFocus(...c))},null,42,IY),We(t.$slots,"range-separator",{},()=>[D("span",{class:te(t.nsRange.b("separator"))},de(t.rangeSeparator),3)]),D("input",{id:t.id&&t.id[1],autocomplete:"off",name:t.name&&t.name[1],placeholder:t.endPlaceholder,value:t.displayValue&&t.displayValue[1],disabled:t.pickerDisabled,readonly:!t.editable||t.readonly,class:te(t.nsRange.b("input")),onFocus:e[4]||(e[4]=(...c)=>t.handleFocus&&t.handleFocus(...c)),onInput:e[5]||(e[5]=(...c)=>t.handleEndInput&&t.handleEndInput(...c)),onChange:e[6]||(e[6]=(...c)=>t.handleEndChange&&t.handleEndChange(...c))},null,42,qY),t.clearIcon?(L(),be(o,{key:1,class:te([t.nsInput.e("icon"),t.nsRange.e("close-icon"),{[t.nsRange.e("close-icon--hidden")]:!t.showClose}]),onClick:t.onClearIconClick},{default:Z(()=>[(L(),be(Vt(t.clearIcon)))]),_:1},8,["class","onClick"])):Qe("v-if",!0)],38)):(L(),be(a,{key:0,id:t.id,ref:"inputRef","model-value":t.displayValue,name:t.name,size:t.pickerSize,disabled:t.pickerDisabled,placeholder:t.placeholder,class:te([t.nsDate.b("editor"),t.nsDate.bm("editor",t.type),t.$attrs.class]),style:tt(t.$attrs.style),readonly:!t.editable||t.readonly||t.isDatesPicker||t.type==="week",label:t.label,tabindex:t.tabindex,onInput:t.onUserInput,onFocus:t.handleFocus,onKeydown:t.handleKeydown,onChange:t.handleChange,onMouseenter:t.onMouseEnter,onMouseleave:t.onMouseLeave,onClick:e[0]||(e[0]=Et(()=>{},["stop"]))},{prefix:Z(()=>[t.triggerIcon?(L(),be(o,{key:0,class:te(t.nsInput.e("icon")),onClick:t.handleFocus},{default:Z(()=>[(L(),be(Vt(t.triggerIcon)))]),_:1},8,["class","onClick"])):Qe("v-if",!0)]),suffix:Z(()=>[t.showClose&&t.clearIcon?(L(),be(o,{key:0,class:te(`${t.nsInput.e("icon")} clear-icon`),onClick:t.onClearIconClick},{default:Z(()=>[(L(),be(Vt(t.clearIcon)))]),_:1},8,["class","onClick"])):Qe("v-if",!0)]),_:1},8,["id","model-value","name","size","disabled","placeholder","class","style","readonly","label","tabindex","onInput","onFocus","onKeydown","onChange","onMouseenter","onMouseleave"]))]),content:Z(()=>[We(t.$slots,"default",{visible:t.pickerVisible,actualVisible:t.pickerActualVisible,parsedValue:t.parsedValue,format:t.format,unlinkPanels:t.unlinkPanels,type:t.type,defaultValue:t.defaultValue,onPick:e[11]||(e[11]=(...c)=>t.onPick&&t.onPick(...c)),onSelectRange:e[12]||(e[12]=(...c)=>t.setSelectionRange&&t.setSelectionRange(...c)),onSetPickerOption:e[13]||(e[13]=(...c)=>t.onSetPickerOption&&t.onSetPickerOption(...c)),onCalendarChange:e[14]||(e[14]=(...c)=>t.onCalendarChange&&t.onCalendarChange(...c)),onPanelChange:e[15]||(e[15]=(...c)=>t.onPanelChange&&t.onPanelChange(...c)),onMousedown:e[16]||(e[16]=Et(()=>{},["stop"]))})]),_:3},16,["visible","transition","popper-class","popper-options","onBeforeShow","onShow","onHide"])}var DY=Me(zY,[["render",UY],["__file","/home/runner/work/element-plus/element-plus/packages/components/time-picker/src/common/picker.vue"]]);const js=new Map;let B_;qt&&(document.addEventListener("mousedown",t=>B_=t),document.addEventListener("mouseup",t=>{for(const e of js.values())for(const{documentHandler:n}of e)n(t,B_)}));function M_(t,e){let n=[];return Array.isArray(e.arg)?n=e.arg:ql(e.arg)&&n.push(e.arg),function(i,r){const s=e.instance.popperRef,o=i.target,a=r==null?void 0:r.target,l=!e||!e.instance,c=!o||!a,u=t.contains(o)||t.contains(a),O=t===o,f=n.length&&n.some(p=>p==null?void 0:p.contains(o))||n.length&&n.includes(a),h=s&&(s.contains(o)||s.contains(a));l||c||u||O||f||h||e.value(i,r)}}const pp={beforeMount(t,e){js.has(t)||js.set(t,[]),js.get(t).push({documentHandler:M_(t,e),bindingFn:e.value})},updated(t,e){js.has(t)||js.set(t,[]);const n=js.get(t),i=n.findIndex(s=>s.bindingFn===e.oldValue),r={documentHandler:M_(t,e),bindingFn:e.value};i>=0?n.splice(i,1,r):n.push(r)},unmounted(t){js.delete(t)}};var u2={beforeMount(t,e){let n=null,i;const r=()=>e.value&&e.value(),s=()=>{Date.now()-i<100&&r(),clearInterval(n),n=null};bs(t,"mousedown",o=>{o.button===0&&(i=Date.now(),gD(document,"mouseup",s),clearInterval(n),n=setInterval(r,100))})}};const Sg="_trap-focus-children",fa=[],Y_=t=>{if(fa.length===0)return;const e=fa[fa.length-1][Sg];if(e.length>0&&t.code===rt.tab){if(e.length===1){t.preventDefault(),document.activeElement!==e[0]&&e[0].focus();return}const n=t.shiftKey,i=t.target===e[0],r=t.target===e[e.length-1];i&&n&&(t.preventDefault(),e[e.length-1].focus()),r&&!n&&(t.preventDefault(),e[0].focus())}},LY={beforeMount(t){t[Sg]=u_(t),fa.push(t),fa.length<=1&&bs(document,"keydown",Y_)},updated(t){et(()=>{t[Sg]=u_(t)})},unmounted(){fa.shift(),fa.length===0&&So(document,"keydown",Y_)}};var Z_=!1,aa,wg,xg,Oh,hh,f2,dh,Pg,kg,Cg,O2,Tg,Rg,h2,d2;function ai(){if(!Z_){Z_=!0;var t=navigator.userAgent,e=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(t),n=/(Mac OS X)|(Windows)|(Linux)/.exec(t);if(Tg=/\b(iPhone|iP[ao]d)/.exec(t),Rg=/\b(iP[ao]d)/.exec(t),Cg=/Android/i.exec(t),h2=/FBAN\/\w+;/i.exec(t),d2=/Mobile/i.exec(t),O2=!!/Win64/.exec(t),e){aa=e[1]?parseFloat(e[1]):e[5]?parseFloat(e[5]):NaN,aa&&document&&document.documentMode&&(aa=document.documentMode);var i=/(?:Trident\/(\d+.\d+))/.exec(t);f2=i?parseFloat(i[1])+4:aa,wg=e[2]?parseFloat(e[2]):NaN,xg=e[3]?parseFloat(e[3]):NaN,Oh=e[4]?parseFloat(e[4]):NaN,Oh?(e=/(?:Chrome\/(\d+\.\d+))/.exec(t),hh=e&&e[1]?parseFloat(e[1]):NaN):hh=NaN}else aa=wg=xg=hh=Oh=NaN;if(n){if(n[1]){var r=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(t);dh=r?parseFloat(r[1].replace("_",".")):!0}else dh=!1;Pg=!!n[2],kg=!!n[3]}else dh=Pg=kg=!1}}var Ag={ie:function(){return ai()||aa},ieCompatibilityMode:function(){return ai()||f2>aa},ie64:function(){return Ag.ie()&&O2},firefox:function(){return ai()||wg},opera:function(){return ai()||xg},webkit:function(){return ai()||Oh},safari:function(){return Ag.webkit()},chrome:function(){return ai()||hh},windows:function(){return ai()||Pg},osx:function(){return ai()||dh},linux:function(){return ai()||kg},iphone:function(){return ai()||Tg},mobile:function(){return ai()||Tg||Rg||Cg||d2},nativeApp:function(){return ai()||h2},android:function(){return ai()||Cg},ipad:function(){return ai()||Rg}},BY=Ag,_O=!!(typeof window<"u"&&window.document&&window.document.createElement),MY={canUseDOM:_O,canUseWorkers:typeof Worker<"u",canUseEventListeners:_O&&!!(window.addEventListener||window.attachEvent),canUseViewport:_O&&!!window.screen,isInWorker:!_O},p2=MY,m2;p2.canUseDOM&&(m2=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0);function YY(t,e){if(!p2.canUseDOM||e&&!("addEventListener"in document))return!1;var n="on"+t,i=n in document;if(!i){var r=document.createElement("div");r.setAttribute(n,"return;"),i=typeof r[n]=="function"}return!i&&m2&&t==="wheel"&&(i=document.implementation.hasFeature("Events.wheel","3.0")),i}var ZY=YY,V_=10,j_=40,N_=800;function g2(t){var e=0,n=0,i=0,r=0;return"detail"in t&&(n=t.detail),"wheelDelta"in t&&(n=-t.wheelDelta/120),"wheelDeltaY"in t&&(n=-t.wheelDeltaY/120),"wheelDeltaX"in t&&(e=-t.wheelDeltaX/120),"axis"in t&&t.axis===t.HORIZONTAL_AXIS&&(e=n,n=0),i=e*V_,r=n*V_,"deltaY"in t&&(r=t.deltaY),"deltaX"in t&&(i=t.deltaX),(i||r)&&t.deltaMode&&(t.deltaMode==1?(i*=j_,r*=j_):(i*=N_,r*=N_)),i&&!e&&(e=i<1?-1:1),r&&!n&&(n=r<1?-1:1),{spinX:e,spinY:n,pixelX:i,pixelY:r}}g2.getEventType=function(){return BY.firefox()?"DOMMouseScroll":ZY("wheel")?"wheel":"mousewheel"};var VY=g2;/** -* Checks if an event is supported in the current execution environment. -* -* NOTE: This will not work correctly for non-generic events such as `change`, -* `reset`, `load`, `error`, and `select`. -* -* Borrows from Modernizr. -* -* @param {string} eventNameSuffix Event name, e.g. "click". -* @param {?boolean} capture Check if the capture phase is supported. -* @return {boolean} True if the event is supported. -* @internal -* @license Modernizr 3.0.0pre (Custom Build) | MIT -*/const jY=function(t,e){if(t&&t.addEventListener){const n=function(i){const r=VY(i);e&&Reflect.apply(e,this,[i,r])};t.addEventListener("wheel",n,{passive:!0})}},NY={beforeMount(t,e){jY(t,e.value)}},A0=(t,e,n)=>{const i=[],r=e&&n();for(let s=0;st.map((e,n)=>e||n).filter(e=>e!==!0),v2=(t,e,n)=>({getHoursList:(o,a)=>A0(24,t,()=>t(o,a)),getMinutesList:(o,a,l)=>A0(60,e,()=>e(o,a,l)),getSecondsList:(o,a,l,c)=>A0(60,n,()=>n(o,a,l,c))}),FY=(t,e,n)=>{const{getHoursList:i,getMinutesList:r,getSecondsList:s}=v2(t,e,n);return{getAvailableHours:(c,u)=>E0(i(c,u)),getAvailableMinutes:(c,u,O)=>E0(r(c,u,O)),getAvailableSeconds:(c,u,O,f)=>E0(s(c,u,O,f))}},GY=t=>{const e=J(t.parsedValue);return Ee(()=>t.visible,n=>{n||(e.value=t.parsedValue)}),e},HY=Ce({directives:{repeatClick:u2},components:{ElScrollbar:dc,ElIcon:wt,ArrowUp:ap,ArrowDown:op},props:{role:{type:String,required:!0},spinnerDate:{type:Object,required:!0},showSeconds:{type:Boolean,default:!0},arrowControl:Boolean,amPmMode:{type:String,default:""},disabledHours:{type:Function},disabledMinutes:{type:Function},disabledSeconds:{type:Function}},emits:["change","select-range","set-option"],setup(t,e){const n=Ze("time");let i=!1;const r=Qo(ne=>{i=!1,P(ne)},200),s=J(null),o=J(null),a=J(null),l=J(null),c={hours:o,minutes:a,seconds:l},u=N(()=>{const ne=["hours","minutes","seconds"];return t.showSeconds?ne:ne.slice(0,2)}),O=N(()=>t.spinnerDate.hour()),f=N(()=>t.spinnerDate.minute()),h=N(()=>t.spinnerDate.second()),p=N(()=>({hours:O,minutes:f,seconds:h})),y=N(()=>ee(t.role)),$=N(()=>se(O.value,t.role)),m=N(()=>I(O.value,f.value,t.role)),d=N(()=>({hours:y,minutes:$,seconds:m})),g=N(()=>{const ne=O.value;return[ne>0?ne-1:void 0,ne,ne<23?ne+1:void 0]}),v=N(()=>{const ne=f.value;return[ne>0?ne-1:void 0,ne,ne<59?ne+1:void 0]}),b=N(()=>{const ne=h.value;return[ne>0?ne-1:void 0,ne,ne<59?ne+1:void 0]}),_=N(()=>({hours:g,minutes:v,seconds:b})),Q=ne=>{if(!!!t.amPmMode)return"";const re=t.amPmMode==="A";let G=ne<12?" am":" pm";return re&&(G=G.toUpperCase()),G},S=ne=>{ne==="hours"?e.emit("select-range",0,2):ne==="minutes"?e.emit("select-range",3,5):ne==="seconds"&&e.emit("select-range",6,8),s.value=ne},P=ne=>{k(ne,p.value[ne].value)},w=()=>{P("hours"),P("minutes"),P("seconds")},x=ne=>ne.querySelector(`.${n.namespace.value}-scrollbar__wrap`),k=(ne,H)=>{if(t.arrowControl)return;const re=c[ne];re&&re.$el&&(x(re.$el).scrollTop=Math.max(0,H*C(ne)))},C=ne=>c[ne].$el.querySelector("li").offsetHeight,T=()=>{A(1)},E=()=>{A(-1)},A=ne=>{s.value||S("hours");const H=s.value;let re=p.value[H].value;const G=s.value==="hours"?24:60;re=(re+ne+G)%G,R(H,re),k(H,re),et(()=>S(s.value))},R=(ne,H)=>{if(!d.value[ne].value[H])switch(ne){case"hours":e.emit("change",t.spinnerDate.hour(H).minute(f.value).second(h.value));break;case"minutes":e.emit("change",t.spinnerDate.hour(O.value).minute(H).second(h.value));break;case"seconds":e.emit("change",t.spinnerDate.hour(O.value).minute(f.value).second(H));break}},X=(ne,{value:H,disabled:re})=>{re||(R(ne,H),S(ne),k(ne,H))},U=ne=>{i=!0,r(ne);const H=Math.min(Math.round((x(c[ne].$el).scrollTop-(V(ne)*.5-10)/C(ne)+3)/C(ne)),ne==="hours"?23:59);R(ne,H)},V=ne=>c[ne].$el.offsetHeight,j=()=>{const ne=H=>{c[H]&&c[H].$el&&(x(c[H].$el).onscroll=()=>{U(H)})};ne("hours"),ne("minutes"),ne("seconds")};xt(()=>{et(()=>{!t.arrowControl&&j(),w(),t.role==="start"&&S("hours")})});const Y=(ne,H)=>{c[H]=ne};e.emit("set-option",[`${t.role}_scrollDown`,A]),e.emit("set-option",[`${t.role}_emitSelectRange`,S]);const{getHoursList:ee,getMinutesList:se,getSecondsList:I}=v2(t.disabledHours,t.disabledMinutes,t.disabledSeconds);return Ee(()=>t.spinnerDate,()=>{i||w()}),{ns:n,setRef:Y,spinnerItems:u,currentScrollbar:s,hours:O,minutes:f,seconds:h,hoursList:y,minutesList:$,arrowHourList:g,arrowMinuteList:v,arrowSecondList:b,getAmPmFlag:Q,emitSelectRange:S,adjustCurrentSpinner:P,typeItemHeight:C,listHoursRef:o,listMinutesRef:a,listSecondsRef:l,onIncreaseClick:T,onDecreaseClick:E,handleClick:X,secondsList:m,timePartsMap:p,arrowListMap:_,listMap:d}}}),KY=["onClick"],JY=["onMouseenter"];function eZ(t,e,n,i,r,s){const o=Pe("el-scrollbar"),a=Pe("arrow-up"),l=Pe("el-icon"),c=Pe("arrow-down"),u=Eo("repeat-click");return L(),ie("div",{class:te([t.ns.b("spinner"),{"has-seconds":t.showSeconds}])},[t.arrowControl?Qe("v-if",!0):(L(!0),ie(Le,{key:0},Rt(t.spinnerItems,O=>(L(),be(o,{key:O,ref_for:!0,ref:f=>t.setRef(f,O),class:te(t.ns.be("spinner","wrapper")),"wrap-style":"max-height: inherit;","view-class":t.ns.be("spinner","list"),noresize:"",tag:"ul",onMouseenter:f=>t.emitSelectRange(O),onMousemove:f=>t.adjustCurrentSpinner(O)},{default:Z(()=>[(L(!0),ie(Le,null,Rt(t.listMap[O].value,(f,h)=>(L(),ie("li",{key:h,class:te([t.ns.be("spinner","item"),t.ns.is("active",h===t.timePartsMap[O].value),t.ns.is("disabled",f)]),onClick:p=>t.handleClick(O,{value:h,disabled:f})},[O==="hours"?(L(),ie(Le,{key:0},[Xe(de(("0"+(t.amPmMode?h%12||12:h)).slice(-2))+de(t.getAmPmFlag(h)),1)],2112)):(L(),ie(Le,{key:1},[Xe(de(("0"+h).slice(-2)),1)],2112))],10,KY))),128))]),_:2},1032,["class","view-class","onMouseenter","onMousemove"]))),128)),t.arrowControl?(L(!0),ie(Le,{key:1},Rt(t.spinnerItems,O=>(L(),ie("div",{key:O,class:te([t.ns.be("spinner","wrapper"),t.ns.is("arrow")]),onMouseenter:f=>t.emitSelectRange(O)},[it((L(),be(l,{class:te(["arrow-up",t.ns.be("spinner","arrow")])},{default:Z(()=>[B(a)]),_:1},8,["class"])),[[u,t.onDecreaseClick]]),it((L(),be(l,{class:te(["arrow-down",t.ns.be("spinner","arrow")])},{default:Z(()=>[B(c)]),_:1},8,["class"])),[[u,t.onIncreaseClick]]),D("ul",{class:te(t.ns.be("spinner","list"))},[(L(!0),ie(Le,null,Rt(t.arrowListMap[O].value,(f,h)=>(L(),ie("li",{key:h,class:te([t.ns.be("spinner","item"),t.ns.is("active",f===t.timePartsMap[O].value),t.ns.is("disabled",t.listMap[O].value[f])])},[typeof f=="number"?(L(),ie(Le,{key:0},[O==="hours"?(L(),ie(Le,{key:0},[Xe(de(("0"+(t.amPmMode?f%12||12:f)).slice(-2))+de(t.getAmPmFlag(f)),1)],2112)):(L(),ie(Le,{key:1},[Xe(de(("0"+f).slice(-2)),1)],2112))],2112)):Qe("v-if",!0)],2))),128))],2)],42,JY))),128)):Qe("v-if",!0)],2)}var tZ=Me(HY,[["render",eZ],["__file","/home/runner/work/element-plus/element-plus/packages/components/time-picker/src/time-picker-com/basic-time-spinner.vue"]]);const nZ=Ce({components:{TimeSpinner:tZ},props:{visible:Boolean,actualVisible:{type:Boolean,default:void 0},datetimeRole:{type:String},parsedValue:{type:[Object,String]},format:{type:String,default:""}},emits:["pick","select-range","set-picker-option"],setup(t,e){const n=Ze("time"),{t:i,lang:r}=Fn(),s=J([0,2]),o=GY(t),a=N(()=>Dr(t.actualVisible)?`${n.namespace.value}-zoom-in-top`:""),l=N(()=>t.format.includes("ss")),c=N(()=>t.format.includes("A")?"A":t.format.includes("a")?"a":""),u=A=>{const R=nt(A).locale(r.value),X=m(R);return R.isSame(X)},O=()=>{e.emit("pick",o.value,!1)},f=(A=!1,R=!1)=>{R||e.emit("pick",t.parsedValue,A)},h=A=>{if(!t.visible)return;const R=m(A).millisecond(0);e.emit("pick",R,!0)},p=(A,R)=>{e.emit("select-range",A,R),s.value=[A,R]},y=A=>{const R=[0,3].concat(l.value?[6]:[]),X=["hours","minutes"].concat(l.value?["seconds"]:[]),V=(R.indexOf(s.value[0])+A+R.length)%R.length;b.start_emitSelectRange(X[V])},$=A=>{const R=A.code;if(R===rt.left||R===rt.right){const X=R===rt.left?-1:1;y(X),A.preventDefault();return}if(R===rt.up||R===rt.down){const X=R===rt.up?-1:1;b.start_scrollDown(X),A.preventDefault();return}},m=A=>{const R={hour:C,minute:T,second:E};let X=A;return["hour","minute","second"].forEach(U=>{if(R[U]){let V;const j=R[U];U==="minute"?V=j(X.hour(),t.datetimeRole):U==="second"?V=j(X.hour(),X.minute(),t.datetimeRole):V=j(t.datetimeRole),V&&V.length&&!V.includes(X[U]())&&(X=X[U](V[0]))}}),X},d=A=>A?nt(A,t.format).locale(r.value):null,g=A=>A?A.format(t.format):null,v=()=>nt(k).locale(r.value);e.emit("set-picker-option",["isValidValue",u]),e.emit("set-picker-option",["formatToString",g]),e.emit("set-picker-option",["parseUserInput",d]),e.emit("set-picker-option",["handleKeydown",$]),e.emit("set-picker-option",["getRangeAvailableTime",m]),e.emit("set-picker-option",["getDefaultValue",v]);const b={},_=A=>{b[A[0]]=A[1]},Q=De("EP_PICKER_BASE"),{arrowControl:S,disabledHours:P,disabledMinutes:w,disabledSeconds:x,defaultValue:k}=Q.props,{getAvailableHours:C,getAvailableMinutes:T,getAvailableSeconds:E}=FY(P,w,x);return{ns:n,transitionName:a,arrowControl:S,onSetOption:_,t:i,handleConfirm:f,handleChange:h,setSelectionRange:p,amPmMode:c,showSeconds:l,handleCancel:O,disabledHours:P,disabledMinutes:w,disabledSeconds:x}}});function iZ(t,e,n,i,r,s){const o=Pe("time-spinner");return L(),be(ri,{name:t.transitionName},{default:Z(()=>[t.actualVisible||t.visible?(L(),ie("div",{key:0,class:te(t.ns.b("panel"))},[D("div",{class:te([t.ns.be("panel","content"),{"has-seconds":t.showSeconds}])},[B(o,{ref:"spinner",role:t.datetimeRole||"start","arrow-control":t.arrowControl,"show-seconds":t.showSeconds,"am-pm-mode":t.amPmMode,"spinner-date":t.parsedValue,"disabled-hours":t.disabledHours,"disabled-minutes":t.disabledMinutes,"disabled-seconds":t.disabledSeconds,onChange:t.handleChange,onSetOption:t.onSetOption,onSelectRange:t.setSelectionRange},null,8,["role","arrow-control","show-seconds","am-pm-mode","spinner-date","disabled-hours","disabled-minutes","disabled-seconds","onChange","onSetOption","onSelectRange"])],2),D("div",{class:te(t.ns.be("panel","footer"))},[D("button",{type:"button",class:te([t.ns.be("panel","btn"),"cancel"]),onClick:e[0]||(e[0]=(...a)=>t.handleCancel&&t.handleCancel(...a))},de(t.t("el.datepicker.cancel")),3),D("button",{type:"button",class:te([t.ns.be("panel","btn"),"confirm"]),onClick:e[1]||(e[1]=a=>t.handleConfirm())},de(t.t("el.datepicker.confirm")),3)],2)],2)):Qe("v-if",!0)]),_:1},8,["name"])}var y2=Me(nZ,[["render",iZ],["__file","/home/runner/work/element-plus/element-plus/packages/components/time-picker/src/time-picker-com/panel-time-pick.vue"]]);const $2=t=>Array.from(Array.from({length:t}).keys()),b2=t=>t.replace(/\W?m{1,2}|\W?ZZ/g,"").replace(/\W?h{1,2}|\W?s{1,3}|\W?a/gi,"").trim(),_2=t=>t.replace(/\W?D{1,2}|\W?Do|\W?d{1,4}|\W?M{1,4}|\W?Y{2,4}/g,"").trim(),rZ=lt({header:{type:String,default:""},bodyStyle:{type:Ne([String,Object,Array]),default:""},shadow:{type:String,default:"always"}}),sZ={name:"ElCard"},oZ=Ce(Je(ze({},sZ),{props:rZ,setup(t){const e=Ze("card");return(n,i)=>(L(),ie("div",{class:te([M(e).b(),M(e).is(`${n.shadow}-shadow`)])},[n.$slots.header||n.header?(L(),ie("div",{key:0,class:te(M(e).e("header"))},[We(n.$slots,"header",{},()=>[Xe(de(n.header),1)])],2)):Qe("v-if",!0),D("div",{class:te(M(e).e("body")),style:tt(n.bodyStyle)},[We(n.$slots,"default")],6)],2))}}));var aZ=Me(oZ,[["__file","/home/runner/work/element-plus/element-plus/packages/components/card/src/card.vue"]]);const lZ=Gt(aZ),cZ={modelValue:{type:Array,default:()=>[]},disabled:Boolean,min:{type:Number,default:void 0},max:{type:Number,default:void 0},size:{type:String,validator:Ua},id:{type:String,default:void 0},label:{type:String,default:void 0},fill:{type:String,default:void 0},textColor:{type:String,default:void 0},tag:{type:String,default:"div"}},Q2={modelValue:{type:[Number,String,Boolean],default:()=>{}},label:{type:[String,Boolean,Number,Object]},indeterminate:Boolean,disabled:Boolean,checked:Boolean,name:{type:String,default:void 0},trueLabel:{type:[String,Number],default:void 0},falseLabel:{type:[String,Number],default:void 0},id:{type:String,default:void 0},controls:{type:String,default:void 0},border:Boolean,size:{type:String,validator:Ua},tabindex:[String,Number]},pc=()=>{const t=De(Ts,{}),e=De(Gr,{}),n=De("CheckboxGroup",{}),i=N(()=>n&&(n==null?void 0:n.name)==="ElCheckboxGroup"),r=N(()=>e.size);return{isGroup:i,checkboxGroup:n,elForm:t,elFormItemSize:r,elFormItem:e}},uZ=(t,{elFormItem:e})=>{const{inputId:n,isLabeledByFormItem:i}=$f(t,{formItemContext:e});return{isLabeledByFormItem:i,groupId:n}},fZ=t=>{const e=J(!1),{emit:n}=$t(),{isGroup:i,checkboxGroup:r,elFormItem:s}=pc(),o=J(!1);return{model:N({get(){var l,c;return i.value?(l=r.modelValue)==null?void 0:l.value:(c=t.modelValue)!=null?c:e.value},set(l){var c;i.value&&Array.isArray(l)?(o.value=r.max!==void 0&&l.length>r.max.value,o.value===!1&&((c=r==null?void 0:r.changeEvent)==null||c.call(r,l))):(n(Wt,l),e.value=l)}}),isGroup:i,isLimitExceeded:o,elFormItem:s}},OZ=(t,e,{model:n})=>{const{isGroup:i,checkboxGroup:r}=pc(),s=J(!1),o=Dn(r==null?void 0:r.checkboxGroupSize,{prop:!0}),a=N(()=>{const u=n.value;return cc(u)==="[object Boolean]"?u:Array.isArray(u)?u.includes(t.label):u!=null?u===t.trueLabel:!!u}),l=Dn(N(()=>{var u;return i.value?(u=r==null?void 0:r.checkboxGroupSize)==null?void 0:u.value:void 0})),c=N(()=>!!(e.default||t.label));return{isChecked:a,focus:s,size:o,checkboxSize:l,hasOwnLabel:c}},hZ=(t,{model:e,isChecked:n})=>{const{elForm:i,isGroup:r,checkboxGroup:s}=pc(),o=N(()=>{var l,c;const u=(l=s.max)==null?void 0:l.value,O=(c=s.min)==null?void 0:c.value;return!!(u||O)&&e.value.length>=u&&!n.value||e.value.length<=O&&n.value});return{isDisabled:N(()=>{var l,c;const u=t.disabled||(i==null?void 0:i.disabled);return(c=r.value?((l=s.disabled)==null?void 0:l.value)||u||o.value:u)!=null?c:!1}),isLimitDisabled:o}},dZ=(t,{model:e})=>{function n(){Array.isArray(e.value)&&!e.value.includes(t.label)?e.value.push(t.label):e.value=t.trueLabel||!0}t.checked&&n()},pZ=(t,{model:e,isLimitExceeded:n,hasOwnLabel:i,isDisabled:r,isLabeledByFormItem:s})=>{const{elFormItem:o}=pc(),{emit:a}=$t();function l(f){var h,p;return f===t.trueLabel||f===!0?(h=t.trueLabel)!=null?h:!0:(p=t.falseLabel)!=null?p:!1}function c(f,h){a("change",l(f),h)}function u(f){if(n.value)return;const h=f.target;a("change",l(h.checked),f)}async function O(f){n.value||!i.value&&!r.value&&s.value&&(e.value=l([!1,t.falseLabel].includes(e.value)),await et(),c(e.value,f))}return Ee(()=>t.modelValue,()=>{var f;(f=o==null?void 0:o.validate)==null||f.call(o,"change").catch(h=>void 0)}),{handleChange:u,onClickRoot:O}},S2=(t,e)=>{const{model:n,isGroup:i,isLimitExceeded:r,elFormItem:s}=fZ(t),{focus:o,size:a,isChecked:l,checkboxSize:c,hasOwnLabel:u}=OZ(t,e,{model:n}),{isDisabled:O}=hZ(t,{model:n,isChecked:l}),{inputId:f,isLabeledByFormItem:h}=$f(t,{formItemContext:s,disableIdGeneration:u,disableIdManagement:i}),{handleChange:p,onClickRoot:y}=pZ(t,{model:n,isLimitExceeded:r,hasOwnLabel:u,isDisabled:O,isLabeledByFormItem:h});return dZ(t,{model:n}),{elFormItem:s,inputId:f,isLabeledByFormItem:h,isChecked:l,isDisabled:O,isGroup:i,checkboxSize:c,hasOwnLabel:u,model:n,handleChange:p,onClickRoot:y,focus:o,size:a}},mZ=Ce({name:"ElCheckbox",props:Q2,emits:[Wt,"change"],setup(t,{slots:e}){const n=Ze("checkbox");return ze({ns:n},S2(t,e))}}),gZ=["tabindex","role","aria-checked"],vZ=["id","aria-hidden","name","tabindex","disabled","true-value","false-value"],yZ=["id","aria-hidden","disabled","value","name","tabindex"];function $Z(t,e,n,i,r,s){return L(),be(Vt(!t.hasOwnLabel&&t.isLabeledByFormItem?"span":"label"),{class:te([t.ns.b(),t.ns.m(t.checkboxSize),t.ns.is("disabled",t.isDisabled),t.ns.is("bordered",t.border),t.ns.is("checked",t.isChecked)]),"aria-controls":t.indeterminate?t.controls:null,onClick:t.onClickRoot},{default:Z(()=>[D("span",{class:te([t.ns.e("input"),t.ns.is("disabled",t.isDisabled),t.ns.is("checked",t.isChecked),t.ns.is("indeterminate",t.indeterminate),t.ns.is("focus",t.focus)]),tabindex:t.indeterminate?0:void 0,role:t.indeterminate?"checkbox":void 0,"aria-checked":t.indeterminate?"mixed":void 0},[D("span",{class:te(t.ns.e("inner"))},null,2),t.trueLabel||t.falseLabel?it((L(),ie("input",{key:0,id:t.inputId,"onUpdate:modelValue":e[0]||(e[0]=o=>t.model=o),class:te(t.ns.e("original")),type:"checkbox","aria-hidden":t.indeterminate?"true":"false",name:t.name,tabindex:t.tabindex,disabled:t.isDisabled,"true-value":t.trueLabel,"false-value":t.falseLabel,onChange:e[1]||(e[1]=(...o)=>t.handleChange&&t.handleChange(...o)),onFocus:e[2]||(e[2]=o=>t.focus=!0),onBlur:e[3]||(e[3]=o=>t.focus=!1)},null,42,vZ)),[[Mh,t.model]]):it((L(),ie("input",{key:1,id:t.inputId,"onUpdate:modelValue":e[4]||(e[4]=o=>t.model=o),class:te(t.ns.e("original")),type:"checkbox","aria-hidden":t.indeterminate?"true":"false",disabled:t.isDisabled,value:t.label,name:t.name,tabindex:t.tabindex,onChange:e[5]||(e[5]=(...o)=>t.handleChange&&t.handleChange(...o)),onFocus:e[6]||(e[6]=o=>t.focus=!0),onBlur:e[7]||(e[7]=o=>t.focus=!1)},null,42,yZ)),[[Mh,t.model]])],10,gZ),t.hasOwnLabel?(L(),ie("span",{key:0,class:te(t.ns.e("label"))},[We(t.$slots,"default"),t.$slots.default?Qe("v-if",!0):(L(),ie(Le,{key:0},[Xe(de(t.label),1)],2112))],2)):Qe("v-if",!0)]),_:3},8,["class","aria-controls","onClick"])}var bZ=Me(mZ,[["render",$Z],["__file","/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox.vue"]]);const _Z=Ce({name:"ElCheckboxButton",props:Q2,emits:[Wt,"change"],setup(t,{slots:e}){const{focus:n,isChecked:i,isDisabled:r,size:s,model:o,handleChange:a}=S2(t,e),{checkboxGroup:l}=pc(),c=Ze("checkbox"),u=N(()=>{var O,f,h,p;const y=(f=(O=l==null?void 0:l.fill)==null?void 0:O.value)!=null?f:"";return{backgroundColor:y,borderColor:y,color:(p=(h=l==null?void 0:l.textColor)==null?void 0:h.value)!=null?p:"",boxShadow:y?`-1px 0 0 0 ${y}`:null}});return{focus:n,isChecked:i,isDisabled:r,model:o,handleChange:a,activeStyle:u,size:s,ns:c}}}),QZ=["name","tabindex","disabled","true-value","false-value"],SZ=["name","tabindex","disabled","value"];function wZ(t,e,n,i,r,s){return L(),ie("label",{class:te([t.ns.b("button"),t.ns.bm("button",t.size),t.ns.is("disabled",t.isDisabled),t.ns.is("checked",t.isChecked),t.ns.is("focus",t.focus)])},[t.trueLabel||t.falseLabel?it((L(),ie("input",{key:0,"onUpdate:modelValue":e[0]||(e[0]=o=>t.model=o),class:te(t.ns.be("button","original")),type:"checkbox",name:t.name,tabindex:t.tabindex,disabled:t.isDisabled,"true-value":t.trueLabel,"false-value":t.falseLabel,onChange:e[1]||(e[1]=(...o)=>t.handleChange&&t.handleChange(...o)),onFocus:e[2]||(e[2]=o=>t.focus=!0),onBlur:e[3]||(e[3]=o=>t.focus=!1)},null,42,QZ)),[[Mh,t.model]]):it((L(),ie("input",{key:1,"onUpdate:modelValue":e[4]||(e[4]=o=>t.model=o),class:te(t.ns.be("button","original")),type:"checkbox",name:t.name,tabindex:t.tabindex,disabled:t.isDisabled,value:t.label,onChange:e[5]||(e[5]=(...o)=>t.handleChange&&t.handleChange(...o)),onFocus:e[6]||(e[6]=o=>t.focus=!0),onBlur:e[7]||(e[7]=o=>t.focus=!1)},null,42,SZ)),[[Mh,t.model]]),t.$slots.default||t.label?(L(),ie("span",{key:2,class:te(t.ns.be("button","inner")),style:tt(t.isChecked?t.activeStyle:null)},[We(t.$slots,"default",{},()=>[Xe(de(t.label),1)])],6)):Qe("v-if",!0)],2)}var w2=Me(_Z,[["render",wZ],["__file","/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox-button.vue"]]);const xZ=Ce({name:"ElCheckboxGroup",props:cZ,emits:[Wt,"change"],setup(t,{emit:e,slots:n}){const{elFormItem:i}=pc(),{groupId:r,isLabeledByFormItem:s}=uZ(t,{elFormItem:i}),o=Dn(),a=Ze("checkbox"),l=u=>{e(Wt,u),et(()=>{e("change",u)})},c=N({get(){return t.modelValue},set(u){l(u)}});return kt("CheckboxGroup",Je(ze({name:"ElCheckboxGroup",modelValue:c},xr(t)),{checkboxGroupSize:o,changeEvent:l})),Ee(()=>t.modelValue,()=>{var u;(u=i.validate)==null||u.call(i,"change").catch(O=>void 0)}),()=>Ke(t.tag,{id:r.value,class:a.b("group"),role:"group","aria-label":s.value?void 0:t.label||"checkbox-group","aria-labelledby":s.value?i.labelId:void 0},[We(n,"default")])}});var x2=Me(xZ,[["__file","/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox-group.vue"]]);const Zl=Gt(bZ,{CheckboxButton:w2,CheckboxGroup:x2});Di(w2);Di(x2);const P2=lt({size:fp,disabled:Boolean,label:{type:[String,Number,Boolean],default:""}}),PZ=lt(Je(ze({},P2),{modelValue:{type:[String,Number,Boolean],default:""},name:{type:String,default:""},border:Boolean})),k2={[Wt]:t=>ot(t)||Bt(t)||Ji(t),change:t=>ot(t)||Bt(t)||Ji(t)},C2=(t,e)=>{const n=J(),i=De(TC,void 0),r=N(()=>!!i),s=N({get(){return r.value?i.modelValue:t.modelValue},set(u){r.value?i.changeEvent(u):e(Wt,u),n.value.checked=t.modelValue===t.label}}),o=Dn(N(()=>i==null?void 0:i.size)),a=hc(N(()=>i==null?void 0:i.disabled)),l=J(!1),c=N(()=>a.value||r.value&&s.value!==t.label?-1:0);return{radioRef:n,isGroup:r,radioGroup:i,focus:l,size:o,disabled:a,tabIndex:c,modelValue:s}},kZ=Ce({name:"ElRadio",props:PZ,emits:k2,setup(t,{emit:e}){const n=Ze("radio"),{radioRef:i,isGroup:r,focus:s,size:o,disabled:a,tabIndex:l,modelValue:c}=C2(t,e);function u(){et(()=>e("change",c.value))}return{ns:n,focus:s,isGroup:r,modelValue:c,tabIndex:l,size:o,disabled:a,radioRef:i,handleChange:u}}}),CZ=["value","name","disabled"];function TZ(t,e,n,i,r,s){return L(),ie("label",{class:te([t.ns.b(),t.ns.is("disabled",t.disabled),t.ns.is("focus",t.focus),t.ns.is("bordered",t.border),t.ns.is("checked",t.modelValue===t.label),t.ns.m(t.size)]),onKeydown:e[5]||(e[5]=Qt(Et(o=>t.modelValue=t.disabled?t.modelValue:t.label,["stop","prevent"]),["space"]))},[D("span",{class:te([t.ns.e("input"),t.ns.is("disabled",t.disabled),t.ns.is("checked",t.modelValue===t.label)])},[D("span",{class:te(t.ns.e("inner"))},null,2),it(D("input",{ref:"radioRef","onUpdate:modelValue":e[0]||(e[0]=o=>t.modelValue=o),class:te(t.ns.e("original")),value:t.label,type:"radio",name:t.name,disabled:t.disabled,tabindex:"tabIndex",onFocus:e[1]||(e[1]=o=>t.focus=!0),onBlur:e[2]||(e[2]=o=>t.focus=!1),onChange:e[3]||(e[3]=(...o)=>t.handleChange&&t.handleChange(...o))},null,42,CZ),[[vk,t.modelValue]])],2),D("span",{class:te(t.ns.e("label")),onKeydown:e[4]||(e[4]=Et(()=>{},["stop"]))},[We(t.$slots,"default",{},()=>[Xe(de(t.label),1)])],34)],34)}var RZ=Me(kZ,[["render",TZ],["__file","/home/runner/work/element-plus/element-plus/packages/components/radio/src/radio.vue"]]);const AZ=lt(Je(ze({},P2),{name:{type:String,default:""}})),EZ=Ce({name:"ElRadioButton",props:AZ,setup(t,{emit:e}){const n=Ze("radio"),{radioRef:i,isGroup:r,focus:s,size:o,disabled:a,tabIndex:l,modelValue:c,radioGroup:u}=C2(t,e),O=N(()=>({backgroundColor:(u==null?void 0:u.fill)||"",borderColor:(u==null?void 0:u.fill)||"",boxShadow:u!=null&&u.fill?`-1px 0 0 0 ${u.fill}`:"",color:(u==null?void 0:u.textColor)||""}));return{ns:n,isGroup:r,size:o,disabled:a,tabIndex:l,modelValue:c,focus:s,activeStyle:O,radioRef:i}}}),XZ=["aria-checked","aria-disabled","tabindex"],WZ=["value","name","disabled"];function zZ(t,e,n,i,r,s){return L(),ie("label",{class:te([t.ns.b("button"),t.ns.is("active",t.modelValue===t.label),t.ns.is("disabled",t.disabled),t.ns.is("focus",t.focus),t.ns.bm("button",t.size)]),role:"radio","aria-checked":t.modelValue===t.label,"aria-disabled":t.disabled,tabindex:t.tabIndex,onKeydown:e[4]||(e[4]=Qt(Et(o=>t.modelValue=t.disabled?t.modelValue:t.label,["stop","prevent"]),["space"]))},[it(D("input",{ref:"radioRef","onUpdate:modelValue":e[0]||(e[0]=o=>t.modelValue=o),class:te(t.ns.be("button","original-radio")),value:t.label,type:"radio",name:t.name,disabled:t.disabled,tabindex:"-1",onFocus:e[1]||(e[1]=o=>t.focus=!0),onBlur:e[2]||(e[2]=o=>t.focus=!1)},null,42,WZ),[[vk,t.modelValue]]),D("span",{class:te(t.ns.be("button","inner")),style:tt(t.modelValue===t.label?t.activeStyle:{}),onKeydown:e[3]||(e[3]=Et(()=>{},["stop"]))},[We(t.$slots,"default",{},()=>[Xe(de(t.label),1)])],38)],42,XZ)}var T2=Me(EZ,[["render",zZ],["__file","/home/runner/work/element-plus/element-plus/packages/components/radio/src/radio-button.vue"]]);const IZ=lt({id:{type:String,default:void 0},size:fp,disabled:Boolean,modelValue:{type:[String,Number,Boolean],default:""},fill:{type:String,default:""},label:{type:String,default:void 0},textColor:{type:String,default:""}}),qZ=k2,UZ=Ce({name:"ElRadioGroup",props:IZ,emits:qZ,setup(t,e){const n=Ze("radio"),i=J(),{formItem:r}=yf(),{inputId:s,isLabeledByFormItem:o}=$f(t,{formItemContext:r}),a=c=>{e.emit(Wt,c),et(()=>e.emit("change",c))},l=c=>{if(!i.value)return;const u=c.target,O=u.nodeName==="INPUT"?"[type=radio]":"[role=radio]",f=i.value.querySelectorAll(O),h=f.length,p=Array.from(f).indexOf(u),y=i.value.querySelectorAll("[role=radio]");let $=null;switch(c.code){case rt.left:case rt.up:c.stopPropagation(),c.preventDefault(),$=p===0?h-1:p-1;break;case rt.right:case rt.down:c.stopPropagation(),c.preventDefault(),$=p===h-1?0:p+1;break}$!==null&&(y[$].click(),y[$].focus())};return xt(()=>{const c=i.value.querySelectorAll("[type=radio]"),u=c[0];!Array.from(c).some(O=>O.checked)&&u&&(u.tabIndex=0)}),kt(TC,gn(Je(ze({},xr(t)),{changeEvent:a}))),Ee(()=>t.modelValue,()=>r==null?void 0:r.validate("change").catch(c=>void 0)),{ns:n,radioGroupRef:i,formItem:r,groupId:s,isLabeledByFormItem:o,handleKeydown:l}}}),DZ=["id","aria-label","aria-labelledby"];function LZ(t,e,n,i,r,s){return L(),ie("div",{id:t.groupId,ref:"radioGroupRef",class:te(t.ns.b("group")),role:"radiogroup","aria-label":t.isLabeledByFormItem?void 0:t.label||"radio-group","aria-labelledby":t.isLabeledByFormItem?t.formItem.labelId:void 0,onKeydown:e[0]||(e[0]=(...o)=>t.handleKeydown&&t.handleKeydown(...o))},[We(t.$slots,"default")],42,DZ)}var R2=Me(UZ,[["render",LZ],["__file","/home/runner/work/element-plus/element-plus/packages/components/radio/src/radio-group.vue"]]);const A2=Gt(RZ,{RadioButton:T2,RadioGroup:R2}),BZ=Di(R2);Di(T2);const E2=lt({closable:Boolean,type:{type:String,values:["success","info","warning","danger",""],default:""},hit:Boolean,disableTransitions:Boolean,color:{type:String,default:""},size:{type:String,values:qa,default:""},effect:{type:String,values:["dark","light","plain"],default:"light"},round:Boolean}),MZ={close:t=>t instanceof MouseEvent,click:t=>t instanceof MouseEvent},YZ={name:"ElTag"},ZZ=Ce(Je(ze({},YZ),{props:E2,emits:MZ,setup(t,{emit:e}){const n=t,i=Dn(),r=Ze("tag"),s=N(()=>{const{type:l,hit:c,effect:u,closable:O,round:f}=n;return[r.b(),r.is("closable",O),r.m(l),r.m(i.value),r.m(u),r.is("hit",c),r.is("round",f)]}),o=l=>{l.stopPropagation(),e("close",l)},a=l=>{e("click",l)};return(l,c)=>l.disableTransitions?(L(),be(ri,{key:1,name:`${M(r).namespace.value}-zoom-in-center`},{default:Z(()=>[D("span",{class:te(M(s)),style:tt({backgroundColor:l.color}),onClick:a},[D("span",{class:te(M(r).e("content"))},[We(l.$slots,"default")],2),l.closable?(L(),be(M(wt),{key:0,class:te(M(r).e("close")),onClick:o},{default:Z(()=>[B(M(xa))]),_:1},8,["class"])):Qe("v-if",!0)],6)]),_:3},8,["name"])):(L(),ie("span",{key:0,class:te(M(s)),style:tt({backgroundColor:l.color}),onClick:a},[D("span",{class:te(M(r).e("content"))},[We(l.$slots,"default")],2),l.closable?(L(),be(M(wt),{key:0,class:te(M(r).e("close")),onClick:o},{default:Z(()=>[B(M(xa))]),_:1},8,["class"])):Qe("v-if",!0)],6))}}));var VZ=Me(ZZ,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tag/src/tag.vue"]]);const X2=Gt(VZ),Eg={},jZ=lt({a11y:{type:Boolean,default:!0},locale:{type:Ne(Object)},size:{type:String,values:qa,default:""},button:{type:Ne(Object)},experimentalFeatures:{type:Ne(Object)},keyboardNavigation:{type:Boolean,default:!0},message:{type:Ne(Object)},zIndex:{type:Number},namespace:{type:String,default:"el"}});var NZ=Ce({name:"ElConfigProvider",props:jZ,setup(t,{slots:e}){Ee(()=>t.message,i=>{Object.assign(Eg,i!=null?i:{})},{immediate:!0,deep:!0});const n=n9(t);return()=>We(e,"default",{config:n==null?void 0:n.value})}});const FZ=Gt(NZ);var W2={exports:{}};(function(t,e){(function(n,i){t.exports=i()})(at,function(){return function(n,i,r){var s=i.prototype,o=s.format;r.en.ordinal=function(a){var l=["th","st","nd","rd"],c=a%100;return"["+a+(l[(c-20)%10]||l[c]||l[0])+"]"},s.format=function(a){var l=this,c=this.$locale();if(!this.isValid())return o.bind(this)(a);var u=this.$utils(),O=(a||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(f){switch(f){case"Q":return Math.ceil((l.$M+1)/3);case"Do":return c.ordinal(l.$D);case"gggg":return l.weekYear();case"GGGG":return l.isoWeekYear();case"wo":return c.ordinal(l.week(),"W");case"w":case"ww":return u.s(l.week(),f==="w"?1:2,"0");case"W":case"WW":return u.s(l.isoWeek(),f==="W"?1:2,"0");case"k":case"kk":return u.s(String(l.$H===0?24:l.$H),f==="k"?1:2,"0");case"X":return Math.floor(l.$d.getTime()/1e3);case"x":return l.$d.getTime();case"z":return"["+l.offsetName()+"]";case"zzz":return"["+l.offsetName("long")+"]";default:return f}});return o.bind(this)(O)}}})})(W2);var GZ=W2.exports,z2={exports:{}};(function(t,e){(function(n,i){t.exports=i()})(at,function(){var n="week",i="year";return function(r,s,o){var a=s.prototype;a.week=function(l){if(l===void 0&&(l=null),l!==null)return this.add(7*(l-this.week()),"day");var c=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var u=o(this).startOf(i).add(1,i).date(c),O=o(this).endOf(n);if(u.isBefore(O))return 1}var f=o(this).startOf(i).date(c).startOf(n).subtract(1,"millisecond"),h=this.diff(f,n,!0);return h<0?o(this).startOf("week").week():Math.ceil(h)},a.weeks=function(l){return l===void 0&&(l=null),this.week(l)}}})})(z2);var HZ=z2.exports,I2={exports:{}};(function(t,e){(function(n,i){t.exports=i()})(at,function(){return function(n,i){i.prototype.weekYear=function(){var r=this.month(),s=this.week(),o=this.year();return s===1&&r===11?o+1:r===0&&s>=52?o-1:o}}})})(I2);var KZ=I2.exports,q2={exports:{}};(function(t,e){(function(n,i){t.exports=i()})(at,function(){return function(n,i,r){i.prototype.dayOfYear=function(s){var o=Math.round((r(this).startOf("day")-r(this).startOf("year"))/864e5)+1;return s==null?o:this.add(s-o,"day")}}})})(q2);var JZ=q2.exports,U2={exports:{}};(function(t,e){(function(n,i){t.exports=i()})(at,function(){return function(n,i){i.prototype.isSameOrAfter=function(r,s){return this.isSame(r,s)||this.isAfter(r,s)}}})})(U2);var eV=U2.exports,D2={exports:{}};(function(t,e){(function(n,i){t.exports=i()})(at,function(){return function(n,i){i.prototype.isSameOrBefore=function(r,s){return this.isSame(r,s)||this.isBefore(r,s)}}})})(D2);var tV=D2.exports;const L2=Symbol();var nV=Ce({name:"ElDatePickerCell",props:lt({cell:{type:Ne(Object)}}),setup(t){const e=De(L2);return()=>{const n=t.cell;if(e!=null&&e.ctx.slots.default){const i=e.ctx.slots.default(n).filter(r=>r.patchFlag!==-2&&r.type.toString()!=="Symbol(Comment)");if(i.length)return i}return Ke("div",{class:"el-date-table-cell"},[Ke("span",{class:"el-date-table-cell__text"},[n==null?void 0:n.text])])}}});const iV=Ce({components:{ElDatePickerCell:nV},props:{date:{type:Object},minDate:{type:Object},maxDate:{type:Object},parsedValue:{type:[Object,Array]},selectionMode:{type:String,default:"day"},showWeekNumber:{type:Boolean,default:!1},disabledDate:{type:Function},cellClassName:{type:Function},rangeState:{type:Object,default:()=>({endDate:null,selecting:!1})}},emits:["changerange","pick","select"],setup(t,e){const{t:n,lang:i}=Fn(),r=J(null),s=J(null),o=J([[],[],[],[],[],[]]),a=t.date.$locale().weekStart||7,l=t.date.locale("en").localeData().weekdaysShort().map(v=>v.toLowerCase()),c=N(()=>a>3?7-a:-a),u=N(()=>{const v=t.date.startOf("month");return v.subtract(v.day()||7,"day")}),O=N(()=>l.concat(l).slice(a,a+7)),f=N(()=>{var v;const b=t.date.startOf("month"),_=b.day()||7,Q=b.daysInMonth(),S=b.subtract(1,"month").daysInMonth(),P=c.value,w=o.value;let x=1;const k=t.selectionMode==="dates"?hu(t.parsedValue):[],C=nt().locale(i.value).startOf("day");for(let T=0;T<6;T++){const E=w[T];t.showWeekNumber&&(E[0]||(E[0]={type:"week",text:u.value.add(T*7+1,"day").week()}));for(let A=0;A<7;A++){let R=E[t.showWeekNumber?A+1:A];R||(R={row:T,column:A,type:"normal",inRange:!1,start:!1,end:!1});const X=T*7+A,U=u.value.add(X-P,"day");R.dayjs=U,R.date=U.toDate(),R.timestamp=U.valueOf(),R.type="normal";const V=t.rangeState.endDate||t.maxDate||t.rangeState.selecting&&t.minDate;if(R.inRange=t.minDate&&U.isSameOrAfter(t.minDate,"day")&&V&&U.isSameOrBefore(V,"day")||t.minDate&&U.isSameOrBefore(t.minDate,"day")&&V&&U.isSameOrAfter(V,"day"),(v=t.minDate)!=null&&v.isSameOrAfter(V)?(R.start=V&&U.isSame(V,"day"),R.end=t.minDate&&U.isSame(t.minDate,"day")):(R.start=t.minDate&&U.isSame(t.minDate,"day"),R.end=V&&U.isSame(V,"day")),U.isSame(C,"day")&&(R.type="today"),T>=0&&T<=1){const ee=_+P<0?7+_+P:_+P;A+T*7>=ee?R.text=x++:(R.text=S-(ee-A%7)+1+T*7,R.type="prev-month")}else x<=Q?R.text=x++:(R.text=x++-Q,R.type="next-month");const Y=U.toDate();R.selected=k.find(ee=>ee.valueOf()===U.valueOf()),R.isSelected=!!R.selected,R.isCurrent=h(R),R.disabled=t.disabledDate&&t.disabledDate(Y),R.customClass=t.cellClassName&&t.cellClassName(Y),E[t.showWeekNumber?A+1:A]=R}if(t.selectionMode==="week"){const A=t.showWeekNumber?1:0,R=t.showWeekNumber?7:6,X=g(E[A+1]);E[A].inRange=X,E[A].start=X,E[R].inRange=X,E[R].end=X}}return w}),h=v=>t.selectionMode==="day"&&(v.type==="normal"||v.type==="today")&&p(v,t.parsedValue),p=(v,b)=>b?nt(b).locale(i.value).isSame(t.date.date(Number(v.text)),"day"):!1,y=v=>{const b=[];return(v.type==="normal"||v.type==="today")&&!v.disabled?(b.push("available"),v.type==="today"&&b.push("today")):b.push(v.type),h(v)&&b.push("current"),v.inRange&&(v.type==="normal"||v.type==="today"||t.selectionMode==="week")&&(b.push("in-range"),v.start&&b.push("start-date"),v.end&&b.push("end-date")),v.disabled&&b.push("disabled"),v.selected&&b.push("selected"),v.customClass&&b.push(v.customClass),b.join(" ")},$=(v,b)=>{const _=v*7+(b-(t.showWeekNumber?1:0))-c.value;return u.value.add(_,"day")},m=v=>{if(!t.rangeState.selecting)return;let b=v.target;if(b.tagName==="SPAN"&&(b=b.parentNode.parentNode),b.tagName==="DIV"&&(b=b.parentNode),b.tagName!=="TD")return;const _=b.parentNode.rowIndex-1,Q=b.cellIndex;f.value[_][Q].disabled||(_!==r.value||Q!==s.value)&&(r.value=_,s.value=Q,e.emit("changerange",{selecting:!0,endDate:$(_,Q)}))},d=v=>{let b=v.target;for(;b&&b.tagName!=="TD";)b=b.parentNode;if(!b||b.tagName!=="TD")return;const _=b.parentNode.rowIndex-1,Q=b.cellIndex,S=f.value[_][Q];if(S.disabled||S.type==="week")return;const P=$(_,Q);if(t.selectionMode==="range")t.rangeState.selecting?(P>=t.minDate?e.emit("pick",{minDate:t.minDate,maxDate:P}):e.emit("pick",{minDate:P,maxDate:t.minDate}),e.emit("select",!1)):(e.emit("pick",{minDate:P,maxDate:null}),e.emit("select",!0));else if(t.selectionMode==="day")e.emit("pick",P);else if(t.selectionMode==="week"){const w=P.week(),x=`${P.year()}w${w}`;e.emit("pick",{year:P.year(),week:w,value:x,date:P.startOf("week")})}else if(t.selectionMode==="dates"){const w=S.selected?hu(t.parsedValue).filter(x=>x.valueOf()!==P.valueOf()):hu(t.parsedValue).concat([P]);e.emit("pick",w)}},g=v=>{if(t.selectionMode!=="week")return!1;let b=t.date.startOf("day");if(v.type==="prev-month"&&(b=b.subtract(1,"month")),v.type==="next-month"&&(b=b.add(1,"month")),b=b.date(Number.parseInt(v.text,10)),t.parsedValue&&!Array.isArray(t.parsedValue)){const _=(t.parsedValue.day()-a+7)%7-1;return t.parsedValue.subtract(_,"day").isSame(b,"day")}return!1};return{handleMouseMove:m,t:n,rows:f,isWeekActive:g,getCellClasses:y,WEEKS:O,handleClick:d}}}),rV={key:0};function sV(t,e,n,i,r,s){const o=Pe("el-date-picker-cell");return L(),ie("table",{cellspacing:"0",cellpadding:"0",class:te(["el-date-table",{"is-week-mode":t.selectionMode==="week"}]),onClick:e[0]||(e[0]=(...a)=>t.handleClick&&t.handleClick(...a)),onMousemove:e[1]||(e[1]=(...a)=>t.handleMouseMove&&t.handleMouseMove(...a))},[D("tbody",null,[D("tr",null,[t.showWeekNumber?(L(),ie("th",rV,de(t.t("el.datepicker.week")),1)):Qe("v-if",!0),(L(!0),ie(Le,null,Rt(t.WEEKS,(a,l)=>(L(),ie("th",{key:l},de(t.t("el.datepicker.weeks."+a)),1))),128))]),(L(!0),ie(Le,null,Rt(t.rows,(a,l)=>(L(),ie("tr",{key:l,class:te(["el-date-table__row",{current:t.isWeekActive(a[1])}])},[(L(!0),ie(Le,null,Rt(a,(c,u)=>(L(),ie("td",{key:u,class:te(t.getCellClasses(c))},[B(o,{cell:c},null,8,["cell"])],2))),128))],2))),128))])],34)}var B2=Me(iV,[["render",sV],["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/basic-date-table.vue"]]);const oV=(t,e,n)=>{const i=nt().locale(n).startOf("month").month(e).year(t),r=i.daysInMonth();return $2(r).map(s=>i.add(s,"day").toDate())},aV=Ce({props:{disabledDate:{type:Function},selectionMode:{type:String,default:"month"},minDate:{type:Object},maxDate:{type:Object},date:{type:Object},parsedValue:{type:Object},rangeState:{type:Object,default:()=>({endDate:null,selecting:!1})}},emits:["changerange","pick","select"],setup(t,e){const{t:n,lang:i}=Fn(),r=J(t.date.locale("en").localeData().monthsShort().map(f=>f.toLowerCase())),s=J([[],[],[]]),o=J(null),a=J(null),l=N(()=>{var f;const h=s.value,p=nt().locale(i.value).startOf("month");for(let y=0;y<3;y++){const $=h[y];for(let m=0;m<4;m++){let d=$[m];d||(d={row:y,column:m,type:"normal",inRange:!1,start:!1,end:!1}),d.type="normal";const g=y*4+m,v=t.date.startOf("year").month(g),b=t.rangeState.endDate||t.maxDate||t.rangeState.selecting&&t.minDate;d.inRange=t.minDate&&v.isSameOrAfter(t.minDate,"month")&&b&&v.isSameOrBefore(b,"month")||t.minDate&&v.isSameOrBefore(t.minDate,"month")&&b&&v.isSameOrAfter(b,"month"),(f=t.minDate)!=null&&f.isSameOrAfter(b)?(d.start=b&&v.isSame(b,"month"),d.end=t.minDate&&v.isSame(t.minDate,"month")):(d.start=t.minDate&&v.isSame(t.minDate,"month"),d.end=b&&v.isSame(b,"month")),p.isSame(v)&&(d.type="today"),d.text=g;const Q=v.toDate();d.disabled=t.disabledDate&&t.disabledDate(Q),$[m]=d}}return h});return{handleMouseMove:f=>{if(!t.rangeState.selecting)return;let h=f.target;if(h.tagName==="A"&&(h=h.parentNode.parentNode),h.tagName==="DIV"&&(h=h.parentNode),h.tagName!=="TD")return;const p=h.parentNode.rowIndex,y=h.cellIndex;l.value[p][y].disabled||(p!==o.value||y!==a.value)&&(o.value=p,a.value=y,e.emit("changerange",{selecting:!0,endDate:t.date.startOf("year").month(p*4+y)}))},handleMonthTableClick:f=>{let h=f.target;if(h.tagName==="A"&&(h=h.parentNode.parentNode),h.tagName==="DIV"&&(h=h.parentNode),h.tagName!=="TD"||po(h,"disabled"))return;const p=h.cellIndex,$=h.parentNode.rowIndex*4+p,m=t.date.startOf("year").month($);t.selectionMode==="range"?t.rangeState.selecting?(m>=t.minDate?e.emit("pick",{minDate:t.minDate,maxDate:m}):e.emit("pick",{minDate:m,maxDate:t.minDate}),e.emit("select",!1)):(e.emit("pick",{minDate:m,maxDate:null}),e.emit("select",!0)):e.emit("pick",$)},rows:l,getCellStyle:f=>{const h={},p=t.date.year(),y=new Date,$=f.text;return h.disabled=t.disabledDate?oV(p,$,i.value).every(t.disabledDate):!1,h.current=hu(t.parsedValue).findIndex(m=>m.year()===p&&m.month()===$)>=0,h.today=y.getFullYear()===p&&y.getMonth()===$,f.inRange&&(h["in-range"]=!0,f.start&&(h["start-date"]=!0),f.end&&(h["end-date"]=!0)),h},t:n,months:r}}}),lV={class:"cell"};function cV(t,e,n,i,r,s){return L(),ie("table",{class:"el-month-table",onClick:e[0]||(e[0]=(...o)=>t.handleMonthTableClick&&t.handleMonthTableClick(...o)),onMousemove:e[1]||(e[1]=(...o)=>t.handleMouseMove&&t.handleMouseMove(...o))},[D("tbody",null,[(L(!0),ie(Le,null,Rt(t.rows,(o,a)=>(L(),ie("tr",{key:a},[(L(!0),ie(Le,null,Rt(o,(l,c)=>(L(),ie("td",{key:c,class:te(t.getCellStyle(l))},[D("div",null,[D("a",lV,de(t.t("el.datepicker.months."+t.months[l.text])),1)])],2))),128))]))),128))])],32)}var M2=Me(aV,[["render",cV],["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/basic-month-table.vue"]]);const uV=(t,e)=>{const n=nt(String(t)).locale(e).startOf("year"),r=n.endOf("year").dayOfYear();return $2(r).map(s=>n.add(s,"day").toDate())},fV=Ce({props:{disabledDate:{type:Function},parsedValue:{type:Object},date:{type:Object}},emits:["pick"],setup(t,e){const{lang:n}=Fn();return{startYear:N(()=>Math.floor(t.date.year()/10)*10),getCellStyle:o=>{const a={},l=nt().locale(n.value);return a.disabled=t.disabledDate?uV(o,n.value).every(t.disabledDate):!1,a.current=hu(t.parsedValue).findIndex(c=>c.year()===o)>=0,a.today=l.year()===o,a},handleYearTableClick:o=>{const a=o.target;if(a.tagName==="A"){if(po(a.parentNode,"disabled"))return;const l=a.textContent||a.innerText;e.emit("pick",Number(l))}}}}}),OV={class:"cell"},hV={class:"cell"},dV={class:"cell"},pV={class:"cell"},mV={class:"cell"},gV={class:"cell"},vV={class:"cell"},yV={class:"cell"},$V={class:"cell"},bV={class:"cell"},_V=D("td",null,null,-1),QV=D("td",null,null,-1);function SV(t,e,n,i,r,s){return L(),ie("table",{class:"el-year-table",onClick:e[0]||(e[0]=(...o)=>t.handleYearTableClick&&t.handleYearTableClick(...o))},[D("tbody",null,[D("tr",null,[D("td",{class:te(["available",t.getCellStyle(t.startYear+0)])},[D("a",OV,de(t.startYear),1)],2),D("td",{class:te(["available",t.getCellStyle(t.startYear+1)])},[D("a",hV,de(t.startYear+1),1)],2),D("td",{class:te(["available",t.getCellStyle(t.startYear+2)])},[D("a",dV,de(t.startYear+2),1)],2),D("td",{class:te(["available",t.getCellStyle(t.startYear+3)])},[D("a",pV,de(t.startYear+3),1)],2)]),D("tr",null,[D("td",{class:te(["available",t.getCellStyle(t.startYear+4)])},[D("a",mV,de(t.startYear+4),1)],2),D("td",{class:te(["available",t.getCellStyle(t.startYear+5)])},[D("a",gV,de(t.startYear+5),1)],2),D("td",{class:te(["available",t.getCellStyle(t.startYear+6)])},[D("a",vV,de(t.startYear+6),1)],2),D("td",{class:te(["available",t.getCellStyle(t.startYear+7)])},[D("a",yV,de(t.startYear+7),1)],2)]),D("tr",null,[D("td",{class:te(["available",t.getCellStyle(t.startYear+8)])},[D("a",$V,de(t.startYear+8),1)],2),D("td",{class:te(["available",t.getCellStyle(t.startYear+9)])},[D("a",bV,de(t.startYear+9),1)],2),_V,QV])])])}var wV=Me(fV,[["render",SV],["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/basic-year-table.vue"]]);const xV=(t,e,n)=>!0,PV=Ce({components:{DateTable:B2,ElInput:mi,ElButton:Ln,ElIcon:wt,TimePickPanel:y2,MonthTable:M2,YearTable:wV,DArrowLeft:Jy,ArrowLeft:Ky,DArrowRight:e$,ArrowRight:gf},directives:{clickoutside:pp},props:{visible:{type:Boolean,default:!1},parsedValue:{type:[Object,Array]},format:{type:String,default:""},type:{type:String,required:!0,validator:QC}},emits:["pick","set-picker-option","panel-change"],setup(t,e){const{t:n,lang:i}=Fn(),r=De("EP_PICKER_BASE"),s=De(dp),{shortcuts:o,disabledDate:a,cellClassName:l,defaultTime:c,arrowControl:u}=r.props,O=Pn(r.props,"defaultValue"),f=J(nt().locale(i.value)),h=N(()=>nt(c).locale(i.value)),p=N(()=>f.value.month()),y=N(()=>f.value.year()),$=J([]),m=J(null),d=J(null),g=le=>$.value.length>0?xV(le,$.value,t.format||"HH:mm:ss"):!0,v=le=>c&&!ne.value?h.value.year(le.year()).month(le.month()).date(le.date()):V.value?le.millisecond(0):le.startOf("day"),b=(le,...oe)=>{if(!le)e.emit("pick",le,...oe);else if(Array.isArray(le)){const ce=le.map(v);e.emit("pick",ce,...oe)}else e.emit("pick",v(le),...oe);m.value=null,d.value=null},_=le=>{if(T.value==="day"){let oe=t.parsedValue?t.parsedValue.year(le.year()).month(le.month()).date(le.date()):le;g(oe)||(oe=$.value[0][0].year(le.year()).month(le.month()).date(le.date())),f.value=oe,b(oe,V.value)}else T.value==="week"?b(le.date):T.value==="dates"&&b(le,!0)},Q=()=>{f.value=f.value.subtract(1,"month"),me("month")},S=()=>{f.value=f.value.add(1,"month"),me("month")},P=()=>{x.value==="year"?f.value=f.value.subtract(10,"year"):f.value=f.value.subtract(1,"year"),me("year")},w=()=>{x.value==="year"?f.value=f.value.add(10,"year"):f.value=f.value.add(1,"year"),me("year")},x=J("date"),k=N(()=>{const le=n("el.datepicker.year");if(x.value==="year"){const oe=Math.floor(y.value/10)*10;return le?`${oe} ${le} - ${oe+9} ${le}`:`${oe} - ${oe+9}`}return`${y.value} ${le}`}),C=le=>{const oe=typeof le.value=="function"?le.value():le.value;if(oe){b(nt(oe).locale(i.value));return}le.onClick&&le.onClick(e)},T=N(()=>["week","month","year","dates"].includes(t.type)?t.type:"day");Ee(()=>T.value,le=>{if(["month","year"].includes(le)){x.value=le;return}x.value="date"},{immediate:!0}),Ee(()=>x.value,()=>{s==null||s.updatePopper()});const E=N(()=>!!o.length),A=le=>{f.value=f.value.startOf("month").month(le),T.value==="month"?b(f.value):x.value="date",me("month")},R=le=>{T.value==="year"?(f.value=f.value.startOf("year").year(le),b(f.value)):(f.value=f.value.year(le),x.value="month"),me("year")},X=()=>{x.value="month"},U=()=>{x.value="year"},V=N(()=>t.type==="datetime"||t.type==="datetimerange"),j=N(()=>V.value||T.value==="dates"),Y=()=>{if(T.value==="dates")b(t.parsedValue);else{let le=t.parsedValue;if(!le){const oe=nt(c).locale(i.value),ce=he();le=oe.year(ce.year()).month(ce.month()).date(ce.date())}f.value=le,b(le)}},ee=()=>{const oe=nt().locale(i.value).toDate();(!a||!a(oe))&&g(oe)&&(f.value=nt().locale(i.value),b(f.value))},se=N(()=>_2(t.format)),I=N(()=>b2(t.format)),ne=N(()=>{if(d.value)return d.value;if(!(!t.parsedValue&&!O.value))return(t.parsedValue||f.value).format(se.value)}),H=N(()=>{if(m.value)return m.value;if(!(!t.parsedValue&&!O.value))return(t.parsedValue||f.value).format(I.value)}),re=J(!1),G=()=>{re.value=!0},Re=()=>{re.value=!1},_e=(le,oe,ce)=>{const K=t.parsedValue?t.parsedValue.hour(le.hour()).minute(le.minute()).second(le.second()):le;f.value=K,b(f.value,!0),ce||(re.value=oe)},ue=le=>{const oe=nt(le,se.value).locale(i.value);oe.isValid()&&g(oe)&&(f.value=oe.year(f.value.year()).month(f.value.month()).date(f.value.date()),d.value=null,re.value=!1,b(f.value,!0))},W=le=>{const oe=nt(le,I.value).locale(i.value);if(oe.isValid()){if(a&&a(oe.toDate()))return;f.value=oe.hour(f.value.hour()).minute(f.value.minute()).second(f.value.second()),m.value=null,b(f.value,!0)}},q=le=>nt.isDayjs(le)&&le.isValid()&&(a?!a(le.toDate()):!0),F=le=>T.value==="dates"?le.map(oe=>oe.format(t.format)):le.format(t.format),fe=le=>nt(le,t.format).locale(i.value),he=()=>{const le=nt(O.value).locale(i.value);if(!O.value){const oe=h.value;return nt().hour(oe.hour()).minute(oe.minute()).second(oe.second()).locale(i.value)}return le},ve=le=>{const{code:oe,keyCode:ce}=le,K=[rt.up,rt.down,rt.left,rt.right];t.visible&&!re.value&&(K.includes(oe)&&(xe(ce),le.stopPropagation(),le.preventDefault()),oe===rt.enter&&m.value===null&&d.value===null&&b(f,!1))},xe=le=>{const oe={year:{38:-4,40:4,37:-1,39:1,offset:(K,ge)=>K.setFullYear(K.getFullYear()+ge)},month:{38:-4,40:4,37:-1,39:1,offset:(K,ge)=>K.setMonth(K.getMonth()+ge)},week:{38:-1,40:1,37:-1,39:1,offset:(K,ge)=>K.setDate(K.getDate()+ge*7)},day:{38:-7,40:7,37:-1,39:1,offset:(K,ge)=>K.setDate(K.getDate()+ge)}},ce=f.value.toDate();for(;Math.abs(f.value.diff(ce,"year",!0))<1;){const K=oe[T.value];if(K.offset(ce,K[le]),a&&a(ce))continue;const ge=nt(ce).locale(i.value);f.value=ge,e.emit("pick",ge,!0);break}},me=le=>{e.emit("panel-change",f.value.toDate(),le,x.value)};return e.emit("set-picker-option",["isValidValue",q]),e.emit("set-picker-option",["formatToString",F]),e.emit("set-picker-option",["parseUserInput",fe]),e.emit("set-picker-option",["handleKeydown",ve]),Ee(()=>O.value,le=>{le&&(f.value=he())},{immediate:!0}),Ee(()=>t.parsedValue,le=>{if(le){if(T.value==="dates"||Array.isArray(le))return;f.value=le}else f.value=he()},{immediate:!0}),{handleTimePick:_e,handleTimePickClose:Re,onTimePickerInputFocus:G,timePickerVisible:re,visibleTime:ne,visibleDate:H,showTime:V,changeToNow:ee,onConfirm:Y,footerVisible:j,handleYearPick:R,showMonthPicker:X,showYearPicker:U,handleMonthPick:A,hasShortcuts:E,shortcuts:o,arrowControl:u,disabledDate:a,cellClassName:l,selectionMode:T,handleShortcutClick:C,prevYear_:P,nextYear_:w,prevMonth_:Q,nextMonth_:S,innerDate:f,t:n,yearLabel:k,currentView:x,month:p,handleDatePick:_,handleVisibleTimeChange:ue,handleVisibleDateChange:W,timeFormat:se,userInputTime:d,userInputDate:m}}}),kV={class:"el-picker-panel__body-wrapper"},CV={key:0,class:"el-picker-panel__sidebar"},TV=["onClick"],RV={class:"el-picker-panel__body"},AV={key:0,class:"el-date-picker__time-header"},EV={class:"el-date-picker__editor-wrap"},XV={class:"el-date-picker__editor-wrap"},WV=["aria-label"],zV=["aria-label"],IV=["aria-label"],qV=["aria-label"],UV={class:"el-picker-panel__content"},DV={class:"el-picker-panel__footer"};function LV(t,e,n,i,r,s){const o=Pe("el-input"),a=Pe("time-pick-panel"),l=Pe("d-arrow-left"),c=Pe("el-icon"),u=Pe("arrow-left"),O=Pe("d-arrow-right"),f=Pe("arrow-right"),h=Pe("date-table"),p=Pe("year-table"),y=Pe("month-table"),$=Pe("el-button"),m=Eo("clickoutside");return L(),ie("div",{class:te(["el-picker-panel el-date-picker",[{"has-sidebar":t.$slots.sidebar||t.hasShortcuts,"has-time":t.showTime}]])},[D("div",kV,[We(t.$slots,"sidebar",{class:"el-picker-panel__sidebar"}),t.hasShortcuts?(L(),ie("div",CV,[(L(!0),ie(Le,null,Rt(t.shortcuts,(d,g)=>(L(),ie("button",{key:g,type:"button",class:"el-picker-panel__shortcut",onClick:v=>t.handleShortcutClick(d)},de(d.text),9,TV))),128))])):Qe("v-if",!0),D("div",RV,[t.showTime?(L(),ie("div",AV,[D("span",EV,[B(o,{placeholder:t.t("el.datepicker.selectDate"),"model-value":t.visibleDate,size:"small",onInput:e[0]||(e[0]=d=>t.userInputDate=d),onChange:t.handleVisibleDateChange},null,8,["placeholder","model-value","onChange"])]),it((L(),ie("span",XV,[B(o,{placeholder:t.t("el.datepicker.selectTime"),"model-value":t.visibleTime,size:"small",onFocus:t.onTimePickerInputFocus,onInput:e[1]||(e[1]=d=>t.userInputTime=d),onChange:t.handleVisibleTimeChange},null,8,["placeholder","model-value","onFocus","onChange"]),B(a,{visible:t.timePickerVisible,format:t.timeFormat,"time-arrow-control":t.arrowControl,"parsed-value":t.innerDate,onPick:t.handleTimePick},null,8,["visible","format","time-arrow-control","parsed-value","onPick"])])),[[m,t.handleTimePickClose]])])):Qe("v-if",!0),it(D("div",{class:te(["el-date-picker__header",{"el-date-picker__header--bordered":t.currentView==="year"||t.currentView==="month"}])},[D("button",{type:"button","aria-label":t.t("el.datepicker.prevYear"),class:"el-picker-panel__icon-btn el-date-picker__prev-btn d-arrow-left",onClick:e[2]||(e[2]=(...d)=>t.prevYear_&&t.prevYear_(...d))},[B(c,null,{default:Z(()=>[B(l)]),_:1})],8,WV),it(D("button",{type:"button","aria-label":t.t("el.datepicker.prevMonth"),class:"el-picker-panel__icon-btn el-date-picker__prev-btn arrow-left",onClick:e[3]||(e[3]=(...d)=>t.prevMonth_&&t.prevMonth_(...d))},[B(c,null,{default:Z(()=>[B(u)]),_:1})],8,zV),[[Lt,t.currentView==="date"]]),D("span",{role:"button",class:"el-date-picker__header-label",onClick:e[4]||(e[4]=(...d)=>t.showYearPicker&&t.showYearPicker(...d))},de(t.yearLabel),1),it(D("span",{role:"button",class:te(["el-date-picker__header-label",{active:t.currentView==="month"}]),onClick:e[5]||(e[5]=(...d)=>t.showMonthPicker&&t.showMonthPicker(...d))},de(t.t(`el.datepicker.month${t.month+1}`)),3),[[Lt,t.currentView==="date"]]),D("button",{type:"button","aria-label":t.t("el.datepicker.nextYear"),class:"el-picker-panel__icon-btn el-date-picker__next-btn d-arrow-right",onClick:e[6]||(e[6]=(...d)=>t.nextYear_&&t.nextYear_(...d))},[B(c,null,{default:Z(()=>[B(O)]),_:1})],8,IV),it(D("button",{type:"button","aria-label":t.t("el.datepicker.nextMonth"),class:"el-picker-panel__icon-btn el-date-picker__next-btn arrow-right",onClick:e[7]||(e[7]=(...d)=>t.nextMonth_&&t.nextMonth_(...d))},[B(c,null,{default:Z(()=>[B(f)]),_:1})],8,qV),[[Lt,t.currentView==="date"]])],2),[[Lt,t.currentView!=="time"]]),D("div",UV,[t.currentView==="date"?(L(),be(h,{key:0,"selection-mode":t.selectionMode,date:t.innerDate,"parsed-value":t.parsedValue,"disabled-date":t.disabledDate,"cell-class-name":t.cellClassName,onPick:t.handleDatePick},null,8,["selection-mode","date","parsed-value","disabled-date","cell-class-name","onPick"])):Qe("v-if",!0),t.currentView==="year"?(L(),be(p,{key:1,date:t.innerDate,"disabled-date":t.disabledDate,"parsed-value":t.parsedValue,onPick:t.handleYearPick},null,8,["date","disabled-date","parsed-value","onPick"])):Qe("v-if",!0),t.currentView==="month"?(L(),be(y,{key:2,date:t.innerDate,"parsed-value":t.parsedValue,"disabled-date":t.disabledDate,onPick:t.handleMonthPick},null,8,["date","parsed-value","disabled-date","onPick"])):Qe("v-if",!0)])])]),it(D("div",DV,[it(B($,{text:"",size:"small",class:"el-picker-panel__link-btn",onClick:t.changeToNow},{default:Z(()=>[Xe(de(t.t("el.datepicker.now")),1)]),_:1},8,["onClick"]),[[Lt,t.selectionMode!=="dates"]]),B($,{plain:"",size:"small",class:"el-picker-panel__link-btn",onClick:t.onConfirm},{default:Z(()=>[Xe(de(t.t("el.datepicker.confirm")),1)]),_:1},8,["onClick"])],512),[[Lt,t.footerVisible&&t.currentView==="date"]])],2)}var BV=Me(PV,[["render",LV],["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/panel-date-pick.vue"]]);const MV=Ce({directives:{clickoutside:pp},components:{TimePickPanel:y2,DateTable:B2,ElInput:mi,ElButton:Ln,ElIcon:wt,DArrowLeft:Jy,ArrowLeft:Ky,DArrowRight:e$,ArrowRight:gf},props:{unlinkPanels:Boolean,parsedValue:{type:Array},type:{type:String,required:!0,validator:QC}},emits:["pick","set-picker-option","calendar-change","panel-change"],setup(t,e){const{t:n,lang:i}=Fn(),r=J(nt().locale(i.value)),s=J(nt().locale(i.value).add(1,"month")),o=J(null),a=J(null),l=J({min:null,max:null}),c=J({min:null,max:null}),u=N(()=>`${r.value.year()} ${n("el.datepicker.year")} ${n(`el.datepicker.month${r.value.month()+1}`)}`),O=N(()=>`${s.value.year()} ${n("el.datepicker.year")} ${n(`el.datepicker.month${s.value.month()+1}`)}`),f=N(()=>r.value.year()),h=N(()=>r.value.month()),p=N(()=>s.value.year()),y=N(()=>s.value.month()),$=N(()=>!!ce.length),m=N(()=>l.value.min!==null?l.value.min:o.value?o.value.format(_.value):""),d=N(()=>l.value.max!==null?l.value.max:a.value||o.value?(a.value||o.value).format(_.value):""),g=N(()=>c.value.min!==null?c.value.min:o.value?o.value.format(b.value):""),v=N(()=>c.value.max!==null?c.value.max:a.value||o.value?(a.value||o.value).format(b.value):""),b=N(()=>_2(Te)),_=N(()=>b2(Te)),Q=()=>{r.value=r.value.subtract(1,"year"),t.unlinkPanels||(s.value=r.value.add(1,"month")),E("year")},S=()=>{r.value=r.value.subtract(1,"month"),t.unlinkPanels||(s.value=r.value.add(1,"month")),E("month")},P=()=>{t.unlinkPanels?s.value=s.value.add(1,"year"):(r.value=r.value.add(1,"year"),s.value=r.value.add(1,"month")),E("year")},w=()=>{t.unlinkPanels?s.value=s.value.add(1,"month"):(r.value=r.value.add(1,"month"),s.value=r.value.add(1,"month")),E("month")},x=()=>{r.value=r.value.add(1,"year"),E("year")},k=()=>{r.value=r.value.add(1,"month"),E("month")},C=()=>{s.value=s.value.subtract(1,"year"),E("year")},T=()=>{s.value=s.value.subtract(1,"month"),E("month")},E=Oe=>{e.emit("panel-change",[r.value.toDate(),s.value.toDate()],Oe)},A=N(()=>{const Oe=(h.value+1)%12,Se=h.value+1>=12?1:0;return t.unlinkPanels&&new Date(f.value+Se,Oe)t.unlinkPanels&&p.value*12+y.value-(f.value*12+h.value+1)>=12),X=Oe=>Array.isArray(Oe)&&Oe[0]&&Oe[1]&&Oe[0].valueOf()<=Oe[1].valueOf(),U=J({endDate:null,selecting:!1}),V=N(()=>!(o.value&&a.value&&!U.value.selecting&&X([o.value,a.value]))),j=Oe=>{U.value=Oe},Y=Oe=>{U.value.selecting=Oe,Oe||(U.value.endDate=null)},ee=N(()=>t.type==="datetime"||t.type==="datetimerange"),se=(Oe=!1)=>{X([o.value,a.value])&&e.emit("pick",[o.value,a.value],Oe)},I=(Oe,Se)=>{if(!!Oe)return Ye?nt(Ye[Se]||Ye).locale(i.value).year(Oe.year()).month(Oe.month()).date(Oe.date()):Oe},ne=(Oe,Se=!0)=>{const qe=Oe.minDate,ht=Oe.maxDate,Ct=I(qe,0),Ot=I(ht,1);a.value===Ot&&o.value===Ct||(e.emit("calendar-change",[qe.toDate(),ht&&ht.toDate()]),a.value=Ot,o.value=Ct,!(!Se||ee.value)&&se())},H=Oe=>{const Se=typeof Oe.value=="function"?Oe.value():Oe.value;if(Se){e.emit("pick",[nt(Se[0]).locale(i.value),nt(Se[1]).locale(i.value)]);return}Oe.onClick&&Oe.onClick(e)},re=J(!1),G=J(!1),Re=()=>{re.value=!1},_e=()=>{G.value=!1},ue=(Oe,Se)=>{l.value[Se]=Oe;const qe=nt(Oe,_.value).locale(i.value);if(qe.isValid()){if(K&&K(qe.toDate()))return;Se==="min"?(r.value=qe,o.value=(o.value||r.value).year(qe.year()).month(qe.month()).date(qe.date()),t.unlinkPanels||(s.value=qe.add(1,"month"),a.value=o.value.add(1,"month"))):(s.value=qe,a.value=(a.value||s.value).year(qe.year()).month(qe.month()).date(qe.date()),t.unlinkPanels||(r.value=qe.subtract(1,"month"),o.value=a.value.subtract(1,"month")))}},W=(Oe,Se)=>{l.value[Se]=null},q=(Oe,Se)=>{c.value[Se]=Oe;const qe=nt(Oe,b.value).locale(i.value);qe.isValid()&&(Se==="min"?(re.value=!0,o.value=(o.value||r.value).hour(qe.hour()).minute(qe.minute()).second(qe.second()),(!a.value||a.value.isBefore(o.value))&&(a.value=o.value)):(G.value=!0,a.value=(a.value||s.value).hour(qe.hour()).minute(qe.minute()).second(qe.second()),s.value=a.value,a.value&&a.value.isBefore(o.value)&&(o.value=a.value)))},F=(Oe,Se)=>{c.value[Se]=null,Se==="min"?(r.value=o.value,re.value=!1):(s.value=a.value,G.value=!1)},fe=(Oe,Se,qe)=>{c.value.min||(Oe&&(r.value=Oe,o.value=(o.value||r.value).hour(Oe.hour()).minute(Oe.minute()).second(Oe.second())),qe||(re.value=Se),(!a.value||a.value.isBefore(o.value))&&(a.value=o.value,s.value=Oe))},he=(Oe,Se,qe)=>{c.value.max||(Oe&&(s.value=Oe,a.value=(a.value||s.value).hour(Oe.hour()).minute(Oe.minute()).second(Oe.second())),qe||(G.value=Se),a.value&&a.value.isBefore(o.value)&&(o.value=a.value))},ve=()=>{r.value=le()[0],s.value=r.value.add(1,"month"),e.emit("pick",null)},xe=Oe=>Array.isArray(Oe)?Oe.map(Se=>Se.format(Te)):Oe.format(Te),me=Oe=>Array.isArray(Oe)?Oe.map(Se=>nt(Se,Te).locale(i.value)):nt(Oe,Te).locale(i.value),le=()=>{let Oe;if(Array.isArray(pe.value)){const Se=nt(pe.value[0]);let qe=nt(pe.value[1]);return t.unlinkPanels||(qe=Se.add(1,"month")),[Se,qe]}else pe.value?Oe=nt(pe.value):Oe=nt();return Oe=Oe.locale(i.value),[Oe,Oe.add(1,"month")]};e.emit("set-picker-option",["isValidValue",X]),e.emit("set-picker-option",["parseUserInput",me]),e.emit("set-picker-option",["formatToString",xe]),e.emit("set-picker-option",["handleClear",ve]);const oe=De("EP_PICKER_BASE"),{shortcuts:ce,disabledDate:K,cellClassName:ge,format:Te,defaultTime:Ye,arrowControl:Ae,clearable:ae}=oe.props,pe=Pn(oe.props,"defaultValue");return Ee(()=>pe.value,Oe=>{if(Oe){const Se=le();o.value=null,a.value=null,r.value=Se[0],s.value=Se[1]}},{immediate:!0}),Ee(()=>t.parsedValue,Oe=>{if(Oe&&Oe.length===2)if(o.value=Oe[0],a.value=Oe[1],r.value=o.value,t.unlinkPanels&&a.value){const Se=o.value.year(),qe=o.value.month(),ht=a.value.year(),Ct=a.value.month();s.value=Se===ht&&qe===Ct?a.value.add(1,"month"):a.value}else s.value=r.value.add(1,"month"),a.value&&(s.value=s.value.hour(a.value.hour()).minute(a.value.minute()).second(a.value.second()));else{const Se=le();o.value=null,a.value=null,r.value=Se[0],s.value=Se[1]}},{immediate:!0}),{shortcuts:ce,disabledDate:K,cellClassName:ge,minTimePickerVisible:re,maxTimePickerVisible:G,handleMinTimeClose:Re,handleMaxTimeClose:_e,handleShortcutClick:H,rangeState:U,minDate:o,maxDate:a,handleRangePick:ne,onSelect:Y,handleChangeRange:j,btnDisabled:V,enableYearArrow:R,enableMonthArrow:A,rightPrevMonth:T,rightPrevYear:C,rightNextMonth:w,rightNextYear:P,leftPrevMonth:S,leftPrevYear:Q,leftNextMonth:k,leftNextYear:x,hasShortcuts:$,leftLabel:u,rightLabel:O,leftDate:r,rightDate:s,showTime:ee,t:n,minVisibleDate:m,maxVisibleDate:d,minVisibleTime:g,maxVisibleTime:v,arrowControl:Ae,handleDateInput:ue,handleDateChange:W,handleTimeInput:q,handleTimeChange:F,handleMinTimePick:fe,handleMaxTimePick:he,handleClear:ve,handleConfirm:se,timeFormat:b,clearable:ae}}}),YV={class:"el-picker-panel__body-wrapper"},ZV={key:0,class:"el-picker-panel__sidebar"},VV=["onClick"],jV={class:"el-picker-panel__body"},NV={key:0,class:"el-date-range-picker__time-header"},FV={class:"el-date-range-picker__editors-wrap"},GV={class:"el-date-range-picker__time-picker-wrap"},HV={class:"el-date-range-picker__time-picker-wrap"},KV={class:"el-date-range-picker__editors-wrap is-right"},JV={class:"el-date-range-picker__time-picker-wrap"},ej={class:"el-date-range-picker__time-picker-wrap"},tj={class:"el-picker-panel__content el-date-range-picker__content is-left"},nj={class:"el-date-range-picker__header"},ij=["disabled"],rj=["disabled"],sj={class:"el-picker-panel__content el-date-range-picker__content is-right"},oj={class:"el-date-range-picker__header"},aj=["disabled"],lj=["disabled"],cj={key:0,class:"el-picker-panel__footer"};function uj(t,e,n,i,r,s){const o=Pe("el-input"),a=Pe("time-pick-panel"),l=Pe("arrow-right"),c=Pe("el-icon"),u=Pe("d-arrow-left"),O=Pe("arrow-left"),f=Pe("d-arrow-right"),h=Pe("date-table"),p=Pe("el-button"),y=Eo("clickoutside");return L(),ie("div",{class:te(["el-picker-panel el-date-range-picker",[{"has-sidebar":t.$slots.sidebar||t.hasShortcuts,"has-time":t.showTime}]])},[D("div",YV,[We(t.$slots,"sidebar",{class:"el-picker-panel__sidebar"}),t.hasShortcuts?(L(),ie("div",ZV,[(L(!0),ie(Le,null,Rt(t.shortcuts,($,m)=>(L(),ie("button",{key:m,type:"button",class:"el-picker-panel__shortcut",onClick:d=>t.handleShortcutClick($)},de($.text),9,VV))),128))])):Qe("v-if",!0),D("div",jV,[t.showTime?(L(),ie("div",NV,[D("span",FV,[D("span",GV,[B(o,{size:"small",disabled:t.rangeState.selecting,placeholder:t.t("el.datepicker.startDate"),class:"el-date-range-picker__editor","model-value":t.minVisibleDate,onInput:e[0]||(e[0]=$=>t.handleDateInput($,"min")),onChange:e[1]||(e[1]=$=>t.handleDateChange($,"min"))},null,8,["disabled","placeholder","model-value"])]),it((L(),ie("span",HV,[B(o,{size:"small",class:"el-date-range-picker__editor",disabled:t.rangeState.selecting,placeholder:t.t("el.datepicker.startTime"),"model-value":t.minVisibleTime,onFocus:e[2]||(e[2]=$=>t.minTimePickerVisible=!0),onInput:e[3]||(e[3]=$=>t.handleTimeInput($,"min")),onChange:e[4]||(e[4]=$=>t.handleTimeChange($,"min"))},null,8,["disabled","placeholder","model-value"]),B(a,{visible:t.minTimePickerVisible,format:t.timeFormat,"datetime-role":"start","time-arrow-control":t.arrowControl,"parsed-value":t.leftDate,onPick:t.handleMinTimePick},null,8,["visible","format","time-arrow-control","parsed-value","onPick"])])),[[y,t.handleMinTimeClose]])]),D("span",null,[B(c,null,{default:Z(()=>[B(l)]),_:1})]),D("span",KV,[D("span",JV,[B(o,{size:"small",class:"el-date-range-picker__editor",disabled:t.rangeState.selecting,placeholder:t.t("el.datepicker.endDate"),"model-value":t.maxVisibleDate,readonly:!t.minDate,onInput:e[5]||(e[5]=$=>t.handleDateInput($,"max")),onChange:e[6]||(e[6]=$=>t.handleDateChange($,"max"))},null,8,["disabled","placeholder","model-value","readonly"])]),it((L(),ie("span",ej,[B(o,{size:"small",class:"el-date-range-picker__editor",disabled:t.rangeState.selecting,placeholder:t.t("el.datepicker.endTime"),"model-value":t.maxVisibleTime,readonly:!t.minDate,onFocus:e[7]||(e[7]=$=>t.minDate&&(t.maxTimePickerVisible=!0)),onInput:e[8]||(e[8]=$=>t.handleTimeInput($,"max")),onChange:e[9]||(e[9]=$=>t.handleTimeChange($,"max"))},null,8,["disabled","placeholder","model-value","readonly"]),B(a,{"datetime-role":"end",visible:t.maxTimePickerVisible,format:t.timeFormat,"time-arrow-control":t.arrowControl,"parsed-value":t.rightDate,onPick:t.handleMaxTimePick},null,8,["visible","format","time-arrow-control","parsed-value","onPick"])])),[[y,t.handleMaxTimeClose]])])])):Qe("v-if",!0),D("div",tj,[D("div",nj,[D("button",{type:"button",class:"el-picker-panel__icon-btn d-arrow-left",onClick:e[10]||(e[10]=(...$)=>t.leftPrevYear&&t.leftPrevYear(...$))},[B(c,null,{default:Z(()=>[B(u)]),_:1})]),D("button",{type:"button",class:"el-picker-panel__icon-btn arrow-left",onClick:e[11]||(e[11]=(...$)=>t.leftPrevMonth&&t.leftPrevMonth(...$))},[B(c,null,{default:Z(()=>[B(O)]),_:1})]),t.unlinkPanels?(L(),ie("button",{key:0,type:"button",disabled:!t.enableYearArrow,class:te([{"is-disabled":!t.enableYearArrow},"el-picker-panel__icon-btn d-arrow-right"]),onClick:e[12]||(e[12]=(...$)=>t.leftNextYear&&t.leftNextYear(...$))},[B(c,null,{default:Z(()=>[B(f)]),_:1})],10,ij)):Qe("v-if",!0),t.unlinkPanels?(L(),ie("button",{key:1,type:"button",disabled:!t.enableMonthArrow,class:te([{"is-disabled":!t.enableMonthArrow},"el-picker-panel__icon-btn arrow-right"]),onClick:e[13]||(e[13]=(...$)=>t.leftNextMonth&&t.leftNextMonth(...$))},[B(c,null,{default:Z(()=>[B(l)]),_:1})],10,rj)):Qe("v-if",!0),D("div",null,de(t.leftLabel),1)]),B(h,{"selection-mode":"range",date:t.leftDate,"min-date":t.minDate,"max-date":t.maxDate,"range-state":t.rangeState,"disabled-date":t.disabledDate,"cell-class-name":t.cellClassName,onChangerange:t.handleChangeRange,onPick:t.handleRangePick,onSelect:t.onSelect},null,8,["date","min-date","max-date","range-state","disabled-date","cell-class-name","onChangerange","onPick","onSelect"])]),D("div",sj,[D("div",oj,[t.unlinkPanels?(L(),ie("button",{key:0,type:"button",disabled:!t.enableYearArrow,class:te([{"is-disabled":!t.enableYearArrow},"el-picker-panel__icon-btn d-arrow-left"]),onClick:e[14]||(e[14]=(...$)=>t.rightPrevYear&&t.rightPrevYear(...$))},[B(c,null,{default:Z(()=>[B(u)]),_:1})],10,aj)):Qe("v-if",!0),t.unlinkPanels?(L(),ie("button",{key:1,type:"button",disabled:!t.enableMonthArrow,class:te([{"is-disabled":!t.enableMonthArrow},"el-picker-panel__icon-btn arrow-left"]),onClick:e[15]||(e[15]=(...$)=>t.rightPrevMonth&&t.rightPrevMonth(...$))},[B(c,null,{default:Z(()=>[B(O)]),_:1})],10,lj)):Qe("v-if",!0),D("button",{type:"button",class:"el-picker-panel__icon-btn d-arrow-right",onClick:e[16]||(e[16]=(...$)=>t.rightNextYear&&t.rightNextYear(...$))},[B(c,null,{default:Z(()=>[B(f)]),_:1})]),D("button",{type:"button",class:"el-picker-panel__icon-btn arrow-right",onClick:e[17]||(e[17]=(...$)=>t.rightNextMonth&&t.rightNextMonth(...$))},[B(c,null,{default:Z(()=>[B(l)]),_:1})]),D("div",null,de(t.rightLabel),1)]),B(h,{"selection-mode":"range",date:t.rightDate,"min-date":t.minDate,"max-date":t.maxDate,"range-state":t.rangeState,"disabled-date":t.disabledDate,"cell-class-name":t.cellClassName,onChangerange:t.handleChangeRange,onPick:t.handleRangePick,onSelect:t.onSelect},null,8,["date","min-date","max-date","range-state","disabled-date","cell-class-name","onChangerange","onPick","onSelect"])])])]),t.showTime?(L(),ie("div",cj,[t.clearable?(L(),be(p,{key:0,text:"",size:"small",class:"el-picker-panel__link-btn",onClick:t.handleClear},{default:Z(()=>[Xe(de(t.t("el.datepicker.clear")),1)]),_:1},8,["onClick"])):Qe("v-if",!0),B(p,{plain:"",size:"small",class:"el-picker-panel__link-btn",disabled:t.btnDisabled,onClick:e[18]||(e[18]=$=>t.handleConfirm(!1))},{default:Z(()=>[Xe(de(t.t("el.datepicker.confirm")),1)]),_:1},8,["disabled"])])):Qe("v-if",!0)],2)}var fj=Me(MV,[["render",uj],["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/panel-date-range.vue"]]);const Oj=Ce({components:{MonthTable:M2,ElIcon:wt,DArrowLeft:Jy,DArrowRight:e$},props:{unlinkPanels:Boolean,parsedValue:{type:Array}},emits:["pick","set-picker-option"],setup(t,e){const{t:n,lang:i}=Fn(),r=J(nt().locale(i.value)),s=J(nt().locale(i.value).add(1,"year")),o=N(()=>!!k.length),a=A=>{const R=typeof A.value=="function"?A.value():A.value;if(R){e.emit("pick",[nt(R[0]).locale(i.value),nt(R[1]).locale(i.value)]);return}A.onClick&&A.onClick(e)},l=()=>{r.value=r.value.subtract(1,"year"),t.unlinkPanels||(s.value=s.value.subtract(1,"year"))},c=()=>{t.unlinkPanels||(r.value=r.value.add(1,"year")),s.value=s.value.add(1,"year")},u=()=>{r.value=r.value.add(1,"year")},O=()=>{s.value=s.value.subtract(1,"year")},f=N(()=>`${r.value.year()} ${n("el.datepicker.year")}`),h=N(()=>`${s.value.year()} ${n("el.datepicker.year")}`),p=N(()=>r.value.year()),y=N(()=>s.value.year()===r.value.year()?r.value.year()+1:s.value.year()),$=N(()=>t.unlinkPanels&&y.value>p.value+1),m=J(null),d=J(null),g=J({endDate:null,selecting:!1}),v=A=>{g.value=A},b=(A,R=!0)=>{const X=A.minDate,U=A.maxDate;d.value===U&&m.value===X||(d.value=U,m.value=X,R&&Q())},_=A=>Array.isArray(A)&&A&&A[0]&&A[1]&&A[0].valueOf()<=A[1].valueOf(),Q=(A=!1)=>{_([m.value,d.value])&&e.emit("pick",[m.value,d.value],A)},S=A=>{g.value.selecting=A,A||(g.value.endDate=null)},P=A=>A.map(R=>R.format(T)),w=()=>{let A;if(Array.isArray(E.value)){const R=nt(E.value[0]);let X=nt(E.value[1]);return t.unlinkPanels||(X=R.add(1,"year")),[R,X]}else E.value?A=nt(E.value):A=nt();return A=A.locale(i.value),[A,A.add(1,"year")]};e.emit("set-picker-option",["formatToString",P]);const x=De("EP_PICKER_BASE"),{shortcuts:k,disabledDate:C,format:T}=x.props,E=Pn(x.props,"defaultValue");return Ee(()=>E.value,A=>{if(A){const R=w();r.value=R[0],s.value=R[1]}},{immediate:!0}),Ee(()=>t.parsedValue,A=>{if(A&&A.length===2)if(m.value=A[0],d.value=A[1],r.value=m.value,t.unlinkPanels&&d.value){const R=m.value.year(),X=d.value.year();s.value=R===X?d.value.add(1,"year"):d.value}else s.value=r.value.add(1,"year");else{const R=w();m.value=null,d.value=null,r.value=R[0],s.value=R[1]}},{immediate:!0}),{shortcuts:k,disabledDate:C,onSelect:S,handleRangePick:b,rangeState:g,handleChangeRange:v,minDate:m,maxDate:d,enableYearArrow:$,leftLabel:f,rightLabel:h,leftNextYear:u,leftPrevYear:l,rightNextYear:c,rightPrevYear:O,t:n,leftDate:r,rightDate:s,hasShortcuts:o,handleShortcutClick:a}}}),hj={class:"el-picker-panel__body-wrapper"},dj={key:0,class:"el-picker-panel__sidebar"},pj=["onClick"],mj={class:"el-picker-panel__body"},gj={class:"el-picker-panel__content el-date-range-picker__content is-left"},vj={class:"el-date-range-picker__header"},yj=["disabled"],$j={class:"el-picker-panel__content el-date-range-picker__content is-right"},bj={class:"el-date-range-picker__header"},_j=["disabled"];function Qj(t,e,n,i,r,s){const o=Pe("d-arrow-left"),a=Pe("el-icon"),l=Pe("d-arrow-right"),c=Pe("month-table");return L(),ie("div",{class:te(["el-picker-panel el-date-range-picker",[{"has-sidebar":t.$slots.sidebar||t.hasShortcuts}]])},[D("div",hj,[We(t.$slots,"sidebar",{class:"el-picker-panel__sidebar"}),t.hasShortcuts?(L(),ie("div",dj,[(L(!0),ie(Le,null,Rt(t.shortcuts,(u,O)=>(L(),ie("button",{key:O,type:"button",class:"el-picker-panel__shortcut",onClick:f=>t.handleShortcutClick(u)},de(u.text),9,pj))),128))])):Qe("v-if",!0),D("div",mj,[D("div",gj,[D("div",vj,[D("button",{type:"button",class:"el-picker-panel__icon-btn d-arrow-left",onClick:e[0]||(e[0]=(...u)=>t.leftPrevYear&&t.leftPrevYear(...u))},[B(a,null,{default:Z(()=>[B(o)]),_:1})]),t.unlinkPanels?(L(),ie("button",{key:0,type:"button",disabled:!t.enableYearArrow,class:te([{"is-disabled":!t.enableYearArrow},"el-picker-panel__icon-btn d-arrow-right"]),onClick:e[1]||(e[1]=(...u)=>t.leftNextYear&&t.leftNextYear(...u))},[B(a,null,{default:Z(()=>[B(l)]),_:1})],10,yj)):Qe("v-if",!0),D("div",null,de(t.leftLabel),1)]),B(c,{"selection-mode":"range",date:t.leftDate,"min-date":t.minDate,"max-date":t.maxDate,"range-state":t.rangeState,"disabled-date":t.disabledDate,onChangerange:t.handleChangeRange,onPick:t.handleRangePick,onSelect:t.onSelect},null,8,["date","min-date","max-date","range-state","disabled-date","onChangerange","onPick","onSelect"])]),D("div",$j,[D("div",bj,[t.unlinkPanels?(L(),ie("button",{key:0,type:"button",disabled:!t.enableYearArrow,class:te([{"is-disabled":!t.enableYearArrow},"el-picker-panel__icon-btn d-arrow-left"]),onClick:e[2]||(e[2]=(...u)=>t.rightPrevYear&&t.rightPrevYear(...u))},[B(a,null,{default:Z(()=>[B(o)]),_:1})],10,_j)):Qe("v-if",!0),D("button",{type:"button",class:"el-picker-panel__icon-btn d-arrow-right",onClick:e[3]||(e[3]=(...u)=>t.rightNextYear&&t.rightNextYear(...u))},[B(a,null,{default:Z(()=>[B(l)]),_:1})]),D("div",null,de(t.rightLabel),1)]),B(c,{"selection-mode":"range",date:t.rightDate,"min-date":t.minDate,"max-date":t.maxDate,"range-state":t.rangeState,"disabled-date":t.disabledDate,onChangerange:t.handleChangeRange,onPick:t.handleRangePick,onSelect:t.onSelect},null,8,["date","min-date","max-date","range-state","disabled-date","onChangerange","onPick","onSelect"])])])])],2)}var Sj=Me(Oj,[["render",Qj],["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/panel-month-range.vue"]]);nt.extend(EY);nt.extend(GZ);nt.extend(XY);nt.extend(HZ);nt.extend(KZ);nt.extend(JZ);nt.extend(eV);nt.extend(tV);const wj=function(t){return t==="daterange"||t==="datetimerange"?fj:t==="monthrange"?Sj:BV};var xj=Ce({name:"ElDatePicker",install:null,props:Je(ze({},c2),{type:{type:String,default:"date"}}),emits:["update:modelValue"],setup(t,e){kt("ElPopperOptions",t.popperOptions),kt(L2,{ctx:e});const n=J(null),i=Je(ze({},t),{focus:(r=!0)=>{var s;(s=n.value)==null||s.focus(r)}});return e.expose(i),()=>{var r;const s=(r=t.format)!=null?r:WY[t.type]||Fc;return Ke(DY,Je(ze({},t),{format:s,type:t.type,ref:n,"onUpdate:modelValue":o=>e.emit("update:modelValue",o)}),{default:o=>Ke(wj(t.type),o),"range-separator":()=>We(e.slots,"range-separator")})}}});const ph=xj;ph.install=t=>{t.component(ph.name,ph)};const Pj=ph,h$="elDescriptions";var F_=Ce({name:"ElDescriptionsCell",props:{cell:{type:Object},tag:{type:String},type:{type:String}},setup(){return{descriptions:De(h$,{})}},render(){var t,e,n,i,r,s;const o=JB(this.cell),{border:a,direction:l}=this.descriptions,c=l==="vertical",u=((n=(e=(t=this.cell)==null?void 0:t.children)==null?void 0:e.label)==null?void 0:n.call(e))||o.label,O=(s=(r=(i=this.cell)==null?void 0:i.children)==null?void 0:r.default)==null?void 0:s.call(r),f=o.span,h=o.align?`is-${o.align}`:"",p=o.labelAlign?`is-${o.labelAlign}`:h,y=o.className,$=o.labelClassName,m={width:wr(o.width),minWidth:wr(o.minWidth)},d=Ze("descriptions");switch(this.type){case"label":return Ke(this.tag,{style:m,class:[d.e("cell"),d.e("label"),d.is("bordered-label",a),d.is("vertical-label",c),p,$],colSpan:c?f:1},u);case"content":return Ke(this.tag,{style:m,class:[d.e("cell"),d.e("content"),d.is("bordered-content",a),d.is("vertical-content",c),h,y],colSpan:c?f:f*2-1},O);default:return Ke("td",{style:m,class:[d.e("cell"),h],colSpan:f},[Ke("span",{class:[d.e("label"),$]},u),Ke("span",{class:[d.e("content"),y]},O)])}}});const kj=Ce({name:"ElDescriptionsRow",components:{[F_.name]:F_},props:{row:{type:Array}},setup(){return{descriptions:De(h$,{})}}}),Cj={key:1};function Tj(t,e,n,i,r,s){const o=Pe("el-descriptions-cell");return t.descriptions.direction==="vertical"?(L(),ie(Le,{key:0},[D("tr",null,[(L(!0),ie(Le,null,Rt(t.row,(a,l)=>(L(),be(o,{key:`tr1-${l}`,cell:a,tag:"th",type:"label"},null,8,["cell"]))),128))]),D("tr",null,[(L(!0),ie(Le,null,Rt(t.row,(a,l)=>(L(),be(o,{key:`tr2-${l}`,cell:a,tag:"td",type:"content"},null,8,["cell"]))),128))])],64)):(L(),ie("tr",Cj,[(L(!0),ie(Le,null,Rt(t.row,(a,l)=>(L(),ie(Le,{key:`tr3-${l}`},[t.descriptions.border?(L(),ie(Le,{key:0},[B(o,{cell:a,tag:"td",type:"label"},null,8,["cell"]),B(o,{cell:a,tag:"td",type:"content"},null,8,["cell"])],64)):(L(),be(o,{key:1,cell:a,tag:"td",type:"both"},null,8,["cell"]))],64))),128))]))}var G_=Me(kj,[["render",Tj],["__file","/home/runner/work/element-plus/element-plus/packages/components/descriptions/src/descriptions-row.vue"]]);const Rj=Ce({name:"ElDescriptions",components:{[G_.name]:G_},props:{border:{type:Boolean,default:!1},column:{type:Number,default:3},direction:{type:String,default:"horizontal"},size:{type:String,validator:Ua},title:{type:String,default:""},extra:{type:String,default:""}},setup(t,{slots:e}){kt(h$,t);const n=Dn(),i=Ze("descriptions"),r=N(()=>[i.b(),i.m(n.value)]),s=l=>{const c=Array.isArray(l)?l:[l],u=[];return c.forEach(O=>{Array.isArray(O.children)?u.push(...s(O.children)):u.push(O)}),u},o=(l,c,u,O=!1)=>(l.props||(l.props={}),c>u&&(l.props.span=u),O&&(l.props.span=c),l);return{descriptionKls:r,getRows:()=>{var l;const c=s((l=e.default)==null?void 0:l.call(e)).filter(p=>{var y;return((y=p==null?void 0:p.type)==null?void 0:y.name)==="ElDescriptionsItem"}),u=[];let O=[],f=t.column,h=0;return c.forEach((p,y)=>{var $;const m=(($=p.props)==null?void 0:$.span)||1;if(yf?f:m),y===c.length-1){const d=t.column-h%t.column;O.push(o(p,d,f,!0)),u.push(O);return}m[Xe(de(t.title),1)])],2),D("div",{class:te(t.ns.e("extra"))},[We(t.$slots,"extra",{},()=>[Xe(de(t.extra),1)])],2)],2)):Qe("v-if",!0),D("div",{class:te(t.ns.e("body"))},[D("table",{class:te([t.ns.e("table"),t.ns.is("bordered",t.border)])},[D("tbody",null,[(L(!0),ie(Le,null,Rt(t.getRows(),(a,l)=>(L(),be(o,{key:l,row:a},null,8,["row"]))),128))])],2)],2)],2)}var Ej=Me(Rj,[["render",Aj],["__file","/home/runner/work/element-plus/element-plus/packages/components/descriptions/src/index.vue"]]),Y2=Ce({name:"ElDescriptionsItem",props:{label:{type:String,default:""},span:{type:Number,default:1},width:{type:[String,Number],default:""},minWidth:{type:[String,Number],default:""},align:{type:String,default:"left"},labelAlign:{type:String,default:""},className:{type:String,default:""},labelClassName:{type:String,default:""}}});const Xj=Gt(Ej,{DescriptionsItem:Y2}),Wj=Di(Y2),zj=lt({mask:{type:Boolean,default:!0},customMaskEvent:{type:Boolean,default:!1},overlayClass:{type:Ne([String,Array,Object])},zIndex:{type:Ne([String,Number])}}),Ij={click:t=>t instanceof MouseEvent};var qj=Ce({name:"ElOverlay",props:zj,emits:Ij,setup(t,{slots:e,emit:n}){const i=Ze("overlay"),r=l=>{n("click",l)},{onClick:s,onMousedown:o,onMouseup:a}=i$(t.customMaskEvent?void 0:r);return()=>t.mask?B("div",{class:[i.b(),t.overlayClass],style:{zIndex:t.zIndex},onClick:s,onMousedown:o,onMouseup:a},[We(e,"default")],uh.STYLE|uh.CLASS|uh.PROPS,["onClick","onMouseup","onMousedown"]):Ke("div",{class:t.overlayClass,style:{zIndex:t.zIndex,position:"fixed",top:"0px",right:"0px",bottom:"0px",left:"0px"}},[We(e,"default")])}});const Z2=qj,V2=lt({center:{type:Boolean,default:!1},closeIcon:{type:_s,default:""},customClass:{type:String,default:""},draggable:{type:Boolean,default:!1},fullscreen:{type:Boolean,default:!1},showClose:{type:Boolean,default:!0},title:{type:String,default:""}}),Uj={close:()=>!0},Dj=["aria-label"],Lj={name:"ElDialogContent"},Bj=Ce(Je(ze({},Lj),{props:V2,emits:Uj,setup(t){const{Close:e}=NB,{dialogRef:n,headerRef:i,ns:r,style:s}=De(CC);return(o,a)=>(L(),ie("div",{ref_key:"dialogRef",ref:n,class:te([M(r).b(),M(r).is("fullscreen",o.fullscreen),M(r).is("draggable",o.draggable),{[M(r).m("center")]:o.center},o.customClass]),"aria-modal":"true",role:"dialog","aria-label":o.title||"dialog",style:tt(M(s)),onClick:a[1]||(a[1]=Et(()=>{},["stop"]))},[D("div",{ref_key:"headerRef",ref:i,class:te(M(r).e("header"))},[We(o.$slots,"title",{},()=>[D("span",{class:te(M(r).e("title"))},de(o.title),3)])],2),D("div",{class:te(M(r).e("body"))},[We(o.$slots,"default")],2),o.$slots.footer?(L(),ie("div",{key:0,class:te(M(r).e("footer"))},[We(o.$slots,"footer")],2)):Qe("v-if",!0),o.showClose?(L(),ie("button",{key:1,"aria-label":"close",class:te(M(r).e("headerbtn")),type:"button",onClick:a[0]||(a[0]=l=>o.$emit("close"))},[B(M(wt),{class:te(M(r).e("close"))},{default:Z(()=>[(L(),be(Vt(o.closeIcon||M(e))))]),_:1},8,["class"])],2)):Qe("v-if",!0)],14,Dj))}}));var Mj=Me(Bj,[["__file","/home/runner/work/element-plus/element-plus/packages/components/dialog/src/dialog-content.vue"]]);const Yj=lt(Je(ze({},V2),{appendToBody:{type:Boolean,default:!1},beforeClose:{type:Ne(Function)},destroyOnClose:{type:Boolean,default:!1},closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},modal:{type:Boolean,default:!0},openDelay:{type:Number,default:0},closeDelay:{type:Number,default:0},top:{type:String},modelValue:{type:Boolean,required:!0},modalClass:String,width:{type:[String,Number]},zIndex:{type:Number},trapFocus:{type:Boolean,default:!1}})),Zj={open:()=>!0,opened:()=>!0,close:()=>!0,closed:()=>!0,[Wt]:t=>Ji(t),openAutoFocus:()=>!0,closeAutoFocus:()=>!0},Vj=(t,e)=>{const i=$t().emit,{nextZIndex:r}=La();let s="";const o=J(!1),a=J(!1),l=J(!1),c=J(t.zIndex||r());let u,O;const f=N(()=>Bt(t.width)?`${t.width}px`:t.width),h=Da("namespace",LC),p=N(()=>{const S={},P=`--${h.value}-dialog`;return t.fullscreen||(t.top&&(S[`${P}-margin-top`]=t.top),t.width&&(S[`${P}-width`]=f.value)),S});function y(){i("opened")}function $(){i("closed"),i(Wt,!1),t.destroyOnClose&&(l.value=!1)}function m(){i("close")}function d(){O==null||O(),u==null||u(),t.openDelay&&t.openDelay>0?{stop:u}=Nh(()=>_(),t.openDelay):_()}function g(){u==null||u(),O==null||O(),t.closeDelay&&t.closeDelay>0?{stop:O}=Nh(()=>Q(),t.closeDelay):Q()}function v(){function S(P){P||(a.value=!0,o.value=!1)}t.beforeClose?t.beforeClose(S):g()}function b(){t.closeOnClickModal&&v()}function _(){!qt||(o.value=!0)}function Q(){o.value=!1}return t.lockScroll&&WC(o),t.closeOnPressEscape&&zC({handleClose:v},o),IC(o),Ee(()=>t.modelValue,S=>{S?(a.value=!1,d(),l.value=!0,i("open"),c.value=t.zIndex?c.value++:r(),et(()=>{e.value&&(e.value.scrollTop=0)})):o.value&&g()}),Ee(()=>t.fullscreen,S=>{!e.value||(S?(s=e.value.style.transform,e.value.style.transform=""):e.value.style.transform=s)}),xt(()=>{t.modelValue&&(o.value=!0,l.value=!0,d())}),{afterEnter:y,afterLeave:$,beforeLeave:m,handleClose:v,onModalClick:b,close:g,doClose:Q,closed:a,style:p,rendered:l,visible:o,zIndex:c}},jj={name:"ElDialog"},Nj=Ce(Je(ze({},jj),{props:Yj,emits:Zj,setup(t,{expose:e}){const n=t,i=Ze("dialog"),r=J(),s=J(),{visible:o,style:a,rendered:l,zIndex:c,afterEnter:u,afterLeave:O,beforeLeave:f,handleClose:h,onModalClick:p}=Vj(n,r);kt(CC,{dialogRef:r,headerRef:s,ns:i,rendered:l,style:a});const y=i$(p),$=N(()=>n.draggable&&!n.fullscreen);return XC(r,s,$),e({visible:o}),(m,d)=>(L(),be(ek,{to:"body",disabled:!m.appendToBody},[B(ri,{name:"dialog-fade",onAfterEnter:M(u),onAfterLeave:M(O),onBeforeLeave:M(f)},{default:Z(()=>[it(B(M(Z2),{"custom-mask-event":"",mask:m.modal,"overlay-class":m.modalClass,"z-index":M(c)},{default:Z(()=>[D("div",{class:te(`${M(i).namespace.value}-overlay-dialog`),onClick:d[0]||(d[0]=(...g)=>M(y).onClick&&M(y).onClick(...g)),onMousedown:d[1]||(d[1]=(...g)=>M(y).onMousedown&&M(y).onMousedown(...g)),onMouseup:d[2]||(d[2]=(...g)=>M(y).onMouseup&&M(y).onMouseup(...g))},[M(l)?(L(),be(Mj,{key:0,"custom-class":m.customClass,center:m.center,"close-icon":m.closeIcon,draggable:M($),fullscreen:m.fullscreen,"show-close":m.showClose,style:tt(M(a)),title:m.title,onClose:M(h)},Zd({title:Z(()=>[We(m.$slots,"title")]),default:Z(()=>[We(m.$slots,"default")]),_:2},[m.$slots.footer?{name:"footer",fn:Z(()=>[We(m.$slots,"footer")])}:void 0]),1032,["custom-class","center","close-icon","draggable","fullscreen","show-close","style","title","onClose"])):Qe("v-if",!0)],34)]),_:3},8,["mask","overlay-class","z-index"]),[[Lt,M(o)]])]),_:3},8,["onAfterEnter","onAfterLeave","onBeforeLeave"])],8,["disabled"]))}}));var Fj=Me(Nj,[["__file","/home/runner/work/element-plus/element-plus/packages/components/dialog/src/dialog.vue"]]);const mc=Gt(Fj),Gj=lt({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},contentPosition:{type:String,values:["left","center","right"],default:"center"},borderStyle:{type:Ne(String),default:"solid"}}),Hj={name:"ElDivider"},Kj=Ce(Je(ze({},Hj),{props:Gj,setup(t){const e=t,n=Ze("divider"),i=N(()=>n.cssVar({"border-style":e.borderStyle}));return(r,s)=>(L(),ie("div",{class:te([M(n).b(),M(n).m(r.direction)]),style:tt(M(i))},[r.$slots.default&&r.direction!=="vertical"?(L(),ie("div",{key:0,class:te([M(n).e("text"),M(n).is(r.contentPosition)])},[We(r.$slots,"default")],2)):Qe("v-if",!0)],6))}}));var Jj=Me(Kj,[["__file","/home/runner/work/element-plus/element-plus/packages/components/divider/src/divider.vue"]]);const eN=Gt(Jj),j2=t=>{const e=[],n=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:i=>{const r=i.tagName==="INPUT"&&i.type==="hidden";return i.disabled||i.hidden||r?NodeFilter.FILTER_SKIP:i.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)e.push(n.currentNode);return e},H_=(t,e)=>{for(const n of t)if(!tN(n,e))return n},tN=(t,e)=>{if(getComputedStyle(t).visibility==="hidden")return!0;for(;t;){if(e&&t===e)return!1;if(getComputedStyle(t).display==="none")return!0;t=t.parentElement}return!1},nN=t=>{const e=j2(t),n=H_(e,t),i=H_(e.reverse(),t);return[n,i]},iN=t=>t instanceof HTMLInputElement&&"select"in t,ra=(t,e)=>{if(t&&t.focus){const n=document.activeElement;t.focus({preventScroll:!0}),t!==n&&iN(t)&&e&&t.select()}};function K_(t,e){const n=[...t],i=t.indexOf(e);return i!==-1&&n.splice(i,1),n}const rN=()=>{let t=[];return{push:i=>{const r=t[0];r&&i!==r&&r.pause(),t=K_(t,i),t.unshift(i)},remove:i=>{var r,s;t=K_(t,i),(s=(r=t[0])==null?void 0:r.resume)==null||s.call(r)}}},sN=(t,e=!1)=>{const n=document.activeElement;for(const i of t)if(ra(i,e),document.activeElement!==n)return},J_=rN(),X0="focus-trap.focus-on-mount",W0="focus-trap.focus-on-unmount",eQ={cancelable:!0,bubbles:!1},tQ="mountOnFocus",nQ="unmountOnFocus",N2=Symbol("elFocusTrap"),oN=Ce({name:"ElFocusTrap",inheritAttrs:!1,props:{loop:Boolean,trapped:Boolean},emits:[tQ,nQ],setup(t,{emit:e}){const n=J(),i=J(null);let r,s;const o={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},a=h=>{if(!t.loop&&!t.trapped||o.paused)return;const{key:p,altKey:y,ctrlKey:$,metaKey:m,currentTarget:d,shiftKey:g}=h,{loop:v}=t,b=p===rt.tab&&!y&&!$&&!m,_=document.activeElement;if(b&&_){const Q=d,[S,P]=nN(Q);S&&P?!g&&_===P?(h.preventDefault(),v&&ra(S,!0)):g&&_===S&&(h.preventDefault(),v&&ra(P,!0)):_===Q&&h.preventDefault()}};kt(N2,{focusTrapRef:i,onKeydown:a});const l=h=>{e(tQ,h)},c=h=>e(nQ,h),u=h=>{const p=M(i);if(o.paused||!p)return;const y=h.target;y&&p.contains(y)?s=y:ra(s,!0)},O=h=>{const p=M(i);o.paused||!p||p.contains(h.relatedTarget)||ra(s,!0)},f=()=>{document.removeEventListener("focusin",u),document.removeEventListener("focusout",O)};return xt(()=>{const h=M(i);if(h){J_.push(o);const p=document.activeElement;if(r=p,!h.contains(p)){const $=new Event(X0,eQ);h.addEventListener(X0,l),h.dispatchEvent($),$.defaultPrevented||et(()=>{sN(j2(h),!0),document.activeElement===p&&ra(h)})}}Ee(()=>t.trapped,p=>{p?(document.addEventListener("focusin",u),document.addEventListener("focusout",O)):f()},{immediate:!0})}),Qn(()=>{f();const h=M(i);if(h){h.removeEventListener(X0,l);const p=new Event(W0,eQ);h.addEventListener(W0,c),h.dispatchEvent(p),p.defaultPrevented||ra(r!=null?r:document.body,!0),h.removeEventListener(W0,l),J_.remove(o)}}),{focusTrapRef:n,forwardRef:i,onKeydown:a}}});function aN(t,e,n,i,r,s){return We(t.$slots,"default")}var lN=Me(oN,[["render",aN],["__file","/home/runner/work/element-plus/element-plus/packages/components/focus-trap/src/focus-trap.vue"]]);const cN=Ce({inheritAttrs:!1});function uN(t,e,n,i,r,s){return We(t.$slots,"default")}var fN=Me(cN,[["render",uN],["__file","/home/runner/work/element-plus/element-plus/packages/components/collection/src/collection.vue"]]);const ON=Ce({name:"ElCollectionItem",inheritAttrs:!1});function hN(t,e,n,i,r,s){return We(t.$slots,"default")}var dN=Me(ON,[["render",hN],["__file","/home/runner/work/element-plus/element-plus/packages/components/collection/src/collection-item.vue"]]);const F2="data-el-collection-item",G2=t=>{const e=`El${t}Collection`,n=`${e}Item`,i=Symbol(e),r=Symbol(n),s=Je(ze({},fN),{name:e,setup(){const a=J(null),l=new Map;kt(i,{itemMap:l,getItems:()=>{const u=M(a);if(!u)return[];const O=Array.from(u.querySelectorAll(`[${F2}]`));return[...l.values()].sort((p,y)=>O.indexOf(p.ref)-O.indexOf(y.ref))},collectionRef:a})}}),o=Je(ze({},dN),{name:n,setup(a,{attrs:l}){const c=J(null),u=De(i,void 0);kt(r,{collectionItemRef:c}),xt(()=>{const O=M(c);O&&u.itemMap.set(O,ze({ref:O},l))}),Qn(()=>{const O=M(c);u.itemMap.delete(O)})}});return{COLLECTION_INJECTION_KEY:i,COLLECTION_ITEM_INJECTION_KEY:r,ElCollection:s,ElCollectionItem:o}},pN=lt({style:{type:Ne([String,Array,Object])},currentTabId:{type:Ne(String)},defaultCurrentTabId:String,loop:Boolean,dir:{type:String,values:["ltr","rtl"],default:"ltr"},orientation:{type:Ne(String)},onBlur:Function,onFocus:Function,onMousedown:Function}),{ElCollection:mN,ElCollectionItem:gN,COLLECTION_INJECTION_KEY:d$,COLLECTION_ITEM_INJECTION_KEY:vN}=G2("RovingFocusGroup"),p$=Symbol("elRovingFocusGroup"),H2=Symbol("elRovingFocusGroupItem"),yN={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"},$N=(t,e)=>{if(e!=="rtl")return t;switch(t){case rt.right:return rt.left;case rt.left:return rt.right;default:return t}},bN=(t,e,n)=>{const i=$N(t.key,n);if(!(e==="vertical"&&[rt.left,rt.right].includes(i))&&!(e==="horizontal"&&[rt.up,rt.down].includes(i)))return yN[i]},_N=(t,e)=>t.map((n,i)=>t[(i+e)%t.length]),m$=t=>{const{activeElement:e}=document;for(const n of t)if(n===e||(n.focus(),e!==document.activeElement))return},iQ="currentTabIdChange",z0="rovingFocusGroup.entryFocus",QN={bubbles:!1,cancelable:!0},SN=Ce({name:"ElRovingFocusGroupImpl",inheritAttrs:!1,props:pN,emits:[iQ,"entryFocus"],setup(t,{emit:e}){var n;const i=J((n=t.currentTabId||t.defaultCurrentTabId)!=null?n:null),r=J(!1),s=J(!1),o=J(null),{getItems:a}=De(d$,void 0),l=N(()=>[{outline:"none"},t.style]),c=y=>{e(iQ,y)},u=()=>{r.value=!0},O=dn(y=>{var $;($=t.onMousedown)==null||$.call(t,y)},()=>{s.value=!0}),f=dn(y=>{var $;($=t.onFocus)==null||$.call(t,y)},y=>{const $=!M(s),{target:m,currentTarget:d}=y;if(m===d&&$&&!M(r)){const g=new Event(z0,QN);if(d==null||d.dispatchEvent(g),!g.defaultPrevented){const v=a().filter(P=>P.focusable),b=v.find(P=>P.active),_=v.find(P=>P.id===M(i)),S=[b,_,...v].filter(Boolean).map(P=>P.ref);m$(S)}}s.value=!1}),h=dn(y=>{var $;($=t.onBlur)==null||$.call(t,y)},()=>{r.value=!1}),p=(...y)=>{e("entryFocus",...y)};kt(p$,{currentTabbedId:Of(i),loop:Pn(t,"loop"),tabIndex:N(()=>M(r)?-1:0),rovingFocusGroupRef:o,rovingFocusGroupRootStyle:l,orientation:Pn(t,"orientation"),dir:Pn(t,"dir"),onItemFocus:c,onItemShiftTab:u,onBlur:h,onFocus:f,onMousedown:O}),Ee(()=>t.currentTabId,y=>{i.value=y!=null?y:null}),xt(()=>{const y=M(o);bs(y,z0,p)}),Qn(()=>{const y=M(o);So(y,z0,p)})}});function wN(t,e,n,i,r,s){return We(t.$slots,"default")}var xN=Me(SN,[["render",wN],["__file","/home/runner/work/element-plus/element-plus/packages/components/roving-focus-group/src/roving-focus-group-impl.vue"]]);const PN=Ce({name:"ElRovingFocusGroup",components:{ElFocusGroupCollection:mN,ElRovingFocusGroupImpl:xN}});function kN(t,e,n,i,r,s){const o=Pe("el-roving-focus-group-impl"),a=Pe("el-focus-group-collection");return L(),be(a,null,{default:Z(()=>[B(o,Mm(Bh(t.$attrs)),{default:Z(()=>[We(t.$slots,"default")]),_:3},16)]),_:3})}var CN=Me(PN,[["render",kN],["__file","/home/runner/work/element-plus/element-plus/packages/components/roving-focus-group/src/roving-focus-group.vue"]]);const TN=Ce({components:{ElRovingFocusCollectionItem:gN},props:{focusable:{type:Boolean,default:!0},active:{type:Boolean,default:!1}},emits:["mousedown","focus","keydown"],setup(t,{emit:e}){const{currentTabbedId:n,loop:i,onItemFocus:r,onItemShiftTab:s}=De(p$,void 0),{getItems:o}=De(d$,void 0),a=Op(),l=J(null),c=dn(h=>{e("mousedown",h)},h=>{t.focusable?r(M(a)):h.preventDefault()}),u=dn(h=>{e("focus",h)},()=>{r(M(a))}),O=dn(h=>{e("keydown",h)},h=>{const{key:p,shiftKey:y,target:$,currentTarget:m}=h;if(p===rt.tab&&y){s();return}if($!==m)return;const d=bN(h);if(d){h.preventDefault();let v=o().filter(b=>b.focusable).map(b=>b.ref);switch(d){case"last":{v.reverse();break}case"prev":case"next":{d==="prev"&&v.reverse();const b=v.indexOf(m);v=i.value?_N(v,b+1):v.slice(b+1);break}}et(()=>{m$(v)})}}),f=N(()=>n.value===M(a));return kt(H2,{rovingFocusGroupItemRef:l,tabIndex:N(()=>M(f)?0:-1),handleMousedown:c,handleFocus:u,handleKeydown:O}),{id:a,handleKeydown:O,handleFocus:u,handleMousedown:c}}});function RN(t,e,n,i,r,s){const o=Pe("el-roving-focus-collection-item");return L(),be(o,{id:t.id,focusable:t.focusable,active:t.active},{default:Z(()=>[We(t.$slots,"default")]),_:3},8,["id","focusable","active"])}var AN=Me(TN,[["render",RN],["__file","/home/runner/work/element-plus/element-plus/packages/components/roving-focus-group/src/roving-focus-item.vue"]]);const mh=lt({trigger:Vu.trigger,effect:Je(ze({},Qi.effect),{default:"light"}),type:{type:Ne(String)},placement:{type:Ne(String),default:"bottom"},popperOptions:{type:Ne(Object),default:()=>({})},size:{type:String,default:""},splitButton:Boolean,hideOnClick:{type:Boolean,default:!0},loop:{type:Boolean},showTimeout:{type:Number,default:150},hideTimeout:{type:Number,default:150},tabindex:{type:Ne([Number,String]),default:0},maxHeight:{type:Ne([Number,String]),default:""},popperClass:{type:String,default:""},disabled:{type:Boolean,default:!1},buttonProps:{type:Ne(Object)}}),K2=lt({command:{type:[Object,String,Number],default:()=>({})},disabled:Boolean,divided:Boolean,textValue:String,icon:{type:_s}}),EN=lt({onKeydown:{type:Ne(Function)}}),XN=[rt.down,rt.pageDown,rt.home],J2=[rt.up,rt.pageUp,rt.end],WN=[...XN,...J2],{ElCollection:zN,ElCollectionItem:IN,COLLECTION_INJECTION_KEY:qN,COLLECTION_ITEM_INJECTION_KEY:UN}=G2("Dropdown"),g$=Symbol("elDropdown"),{ButtonGroup:DN}=Ln,LN=Ce({name:"ElDropdown",components:{ElButton:Ln,ElFocusTrap:lN,ElButtonGroup:DN,ElScrollbar:dc,ElDropdownCollection:zN,ElTooltip:Rs,ElRovingFocusGroup:CN,ElIcon:wt,ArrowDown:op},props:mh,emits:["visible-change","click","command"],setup(t,{emit:e}){const n=$t(),i=Ze("dropdown"),r=J(),s=J(),o=J(null),a=J(null),l=J(null),c=J(null),u=J(!1),O=N(()=>({maxHeight:wr(t.maxHeight)})),f=N(()=>[i.m($.value)]);function h(){p()}function p(){var S;(S=o.value)==null||S.onClose()}function y(){var S;(S=o.value)==null||S.onOpen()}const $=Dn();function m(...S){e("command",...S)}function d(){}function g(){const S=M(a);S==null||S.focus(),c.value=null}function v(S){c.value=S}function b(S){u.value||(S.preventDefault(),S.stopImmediatePropagation())}return kt(g$,{contentRef:a,isUsingKeyboard:u,onItemEnter:d,onItemLeave:g}),kt("elDropdown",{instance:n,dropdownSize:$,handleClick:h,commandHandler:m,trigger:Pn(t,"trigger"),hideOnClick:Pn(t,"hideOnClick")}),{ns:i,scrollbar:l,wrapStyle:O,dropdownTriggerKls:f,dropdownSize:$,currentTabId:c,handleCurrentTabIdChange:v,handlerMainButtonClick:S=>{e("click",S)},handleEntryFocus:b,handleClose:p,handleOpen:y,onMountOnFocus:S=>{var P,w;S.preventDefault(),(w=(P=a.value)==null?void 0:P.focus)==null||w.call(P,{preventScroll:!0})},popperRef:o,triggeringElementRef:r,referenceElementRef:s}}});function BN(t,e,n,i,r,s){var o;const a=Pe("el-dropdown-collection"),l=Pe("el-roving-focus-group"),c=Pe("el-focus-trap"),u=Pe("el-scrollbar"),O=Pe("el-tooltip"),f=Pe("el-button"),h=Pe("arrow-down"),p=Pe("el-icon"),y=Pe("el-button-group");return L(),ie("div",{class:te([t.ns.b(),t.ns.is("disabled",t.disabled)])},[B(O,{ref:"popperRef",effect:t.effect,"fallback-placements":["bottom","top"],"popper-options":t.popperOptions,"gpu-acceleration":!1,"hide-after":t.trigger==="hover"?t.hideTimeout:0,"manual-mode":!0,placement:t.placement,"popper-class":[t.ns.e("popper"),t.popperClass],"reference-element":(o=t.referenceElementRef)==null?void 0:o.$el,trigger:t.trigger,"show-after":t.trigger==="hover"?t.showTimeout:0,"stop-popper-mouse-event":!1,"virtual-ref":t.triggeringElementRef,"virtual-triggering":t.splitButton,disabled:t.disabled,transition:`${t.ns.namespace.value}-zoom-in-top`,teleported:"",pure:"",persistent:"",onShow:e[0]||(e[0]=$=>t.$emit("visible-change",!0)),onHide:e[1]||(e[1]=$=>t.$emit("visible-change",!1))},Zd({content:Z(()=>[B(u,{ref:"scrollbar","wrap-style":t.wrapStyle,tag:"div","view-class":t.ns.e("list")},{default:Z(()=>[B(c,{trapped:"",onMountOnFocus:t.onMountOnFocus},{default:Z(()=>[B(l,{loop:t.loop,"current-tab-id":t.currentTabId,orientation:"horizontal",onCurrentTabIdChange:t.handleCurrentTabIdChange,onEntryFocus:t.handleEntryFocus},{default:Z(()=>[B(a,null,{default:Z(()=>[We(t.$slots,"dropdown")]),_:3})]),_:3},8,["loop","current-tab-id","onCurrentTabIdChange","onEntryFocus"])]),_:3},8,["onMountOnFocus"])]),_:3},8,["wrap-style","view-class"])]),_:2},[t.splitButton?void 0:{name:"default",fn:Z(()=>[D("div",{class:te(t.dropdownTriggerKls)},[We(t.$slots,"default")],2)])}]),1032,["effect","popper-options","hide-after","placement","popper-class","reference-element","trigger","show-after","virtual-ref","virtual-triggering","disabled","transition"]),t.splitButton?(L(),be(y,{key:0},{default:Z(()=>[B(f,ii({ref:"referenceElementRef"},t.buttonProps,{size:t.dropdownSize,type:t.type,disabled:t.disabled,onClick:t.handlerMainButtonClick}),{default:Z(()=>[We(t.$slots,"default")]),_:3},16,["size","type","disabled","onClick"]),B(f,ii({ref:"triggeringElementRef"},t.buttonProps,{size:t.dropdownSize,type:t.type,class:t.ns.e("caret-button"),disabled:t.disabled}),{default:Z(()=>[B(p,{class:te(t.ns.e("icon"))},{default:Z(()=>[B(h)]),_:1},8,["class"])]),_:1},16,["size","type","class","disabled"])]),_:3})):Qe("v-if",!0)],2)}var MN=Me(LN,[["render",BN],["__file","/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown.vue"]]);const YN=Ce({name:"DropdownItemImpl",components:{ElIcon:wt},props:K2,emits:["pointermove","pointerleave","click","clickimpl"],setup(t,{emit:e}){const n=Ze("dropdown"),{collectionItemRef:i}=De(UN,void 0),{collectionItemRef:r}=De(vN,void 0),{rovingFocusGroupItemRef:s,tabIndex:o,handleFocus:a,handleKeydown:l,handleMousedown:c}=De(H2,void 0),u=_C(i,r,s),O=dn(f=>{const{code:h}=f;if(h===rt.enter||h===rt.space)return f.preventDefault(),f.stopImmediatePropagation(),e("clickimpl",f),!0},l);return{ns:n,itemRef:u,dataset:{[F2]:""},tabIndex:o,handleFocus:a,handleKeydown:O,handleMousedown:c}}}),ZN=["aria-disabled","tabindex"];function VN(t,e,n,i,r,s){const o=Pe("el-icon");return L(),ie(Le,null,[t.divided?(L(),ie("li",ii({key:0,class:t.ns.bem("menu","item","divided")},t.$attrs),null,16)):Qe("v-if",!0),D("li",ii({ref:t.itemRef},ze(ze({},t.dataset),t.$attrs),{"aria-disabled":t.disabled,class:[t.ns.be("menu","item"),t.ns.is("disabled",t.disabled)],tabindex:t.tabIndex,role:"menuitem",onClick:e[0]||(e[0]=a=>t.$emit("clickimpl",a)),onFocus:e[1]||(e[1]=(...a)=>t.handleFocus&&t.handleFocus(...a)),onKeydown:e[2]||(e[2]=(...a)=>t.handleKeydown&&t.handleKeydown(...a)),onMousedown:e[3]||(e[3]=(...a)=>t.handleMousedown&&t.handleMousedown(...a)),onPointermove:e[4]||(e[4]=a=>t.$emit("pointermove",a)),onPointerleave:e[5]||(e[5]=a=>t.$emit("pointerleave",a))}),[t.icon?(L(),be(o,{key:0},{default:Z(()=>[(L(),be(Vt(t.icon)))]),_:1})):Qe("v-if",!0),We(t.$slots,"default")],16,ZN)],64)}var jN=Me(YN,[["render",VN],["__file","/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown-item-impl.vue"]]);const eT=()=>{const t=De("elDropdown",{}),e=N(()=>t==null?void 0:t.dropdownSize);return{elDropdown:t,_elDropdownSize:e}},NN=Ce({name:"ElDropdownItem",components:{ElDropdownCollectionItem:IN,ElRovingFocusItem:AN,ElDropdownItemImpl:jN},inheritAttrs:!1,props:K2,emits:["pointermove","pointerleave","click"],setup(t,{emit:e,attrs:n}){const{elDropdown:i}=eT(),r=$t(),s=J(null),o=N(()=>{var h,p;return(p=(h=M(s))==null?void 0:h.textContent)!=null?p:""}),{onItemEnter:a,onItemLeave:l}=De(g$,void 0),c=dn(h=>(e("pointermove",h),h.defaultPrevented),f_(h=>{var p;t.disabled?l(h):(a(h),h.defaultPrevented||(p=h.currentTarget)==null||p.focus())})),u=dn(h=>(e("pointerleave",h),h.defaultPrevented),f_(h=>{l(h)})),O=dn(h=>(e("click",h),h.defaultPrevented),h=>{var p,y,$;if(t.disabled){h.stopImmediatePropagation();return}(p=i==null?void 0:i.hideOnClick)!=null&&p.value&&((y=i.handleClick)==null||y.call(i)),($=i.commandHandler)==null||$.call(i,t.command,r,h)}),f=N(()=>ze(ze({},t),n));return{handleClick:O,handlePointerMove:c,handlePointerLeave:u,textContent:o,propsAndAttrs:f}}});function FN(t,e,n,i,r,s){var o;const a=Pe("el-dropdown-item-impl"),l=Pe("el-roving-focus-item"),c=Pe("el-dropdown-collection-item");return L(),be(c,{disabled:t.disabled,"text-value":(o=t.textValue)!=null?o:t.textContent},{default:Z(()=>[B(l,{focusable:!t.disabled},{default:Z(()=>[B(a,ii(t.propsAndAttrs,{onPointerleave:t.handlePointerLeave,onPointermove:t.handlePointerMove,onClickimpl:t.handleClick}),{default:Z(()=>[We(t.$slots,"default")]),_:3},16,["onPointerleave","onPointermove","onClickimpl"])]),_:3},8,["focusable"])]),_:3},8,["disabled","text-value"])}var tT=Me(NN,[["render",FN],["__file","/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown-item.vue"]]);const GN=Ce({name:"ElDropdownMenu",props:EN,setup(t){const e=Ze("dropdown"),{_elDropdownSize:n}=eT(),i=n.value,{focusTrapRef:r,onKeydown:s}=De(N2,void 0),{contentRef:o}=De(g$,void 0),{collectionRef:a,getItems:l}=De(qN,void 0),{rovingFocusGroupRef:c,rovingFocusGroupRootStyle:u,tabIndex:O,onBlur:f,onFocus:h,onMousedown:p}=De(p$,void 0),{collectionRef:y}=De(d$,void 0),$=N(()=>[e.b("menu"),e.bm("menu",i==null?void 0:i.value)]),m=_C(o,a,r,c,y),d=dn(v=>{var b;(b=t.onKeydown)==null||b.call(t,v)},v=>{const{currentTarget:b,code:_,target:Q}=v;if(b.contains(Q),rt.tab===_&&v.stopImmediatePropagation(),v.preventDefault(),Q!==M(o)||!WN.includes(_))return;const P=l().filter(w=>!w.disabled).map(w=>w.ref);J2.includes(_)&&P.reverse(),m$(P)});return{size:i,rovingFocusGroupRootStyle:u,tabIndex:O,dropdownKls:$,dropdownListWrapperRef:m,handleKeydown:v=>{d(v),s(v)},onBlur:f,onFocus:h,onMousedown:p}}});function HN(t,e,n,i,r,s){return L(),ie("ul",{ref:t.dropdownListWrapperRef,class:te(t.dropdownKls),style:tt(t.rovingFocusGroupRootStyle),tabindex:-1,role:"menu",onBlur:e[0]||(e[0]=(...o)=>t.onBlur&&t.onBlur(...o)),onFocus:e[1]||(e[1]=(...o)=>t.onFocus&&t.onFocus(...o)),onKeydown:e[2]||(e[2]=(...o)=>t.handleKeydown&&t.handleKeydown(...o)),onMousedown:e[3]||(e[3]=(...o)=>t.onMousedown&&t.onMousedown(...o))},[We(t.$slots,"default")],38)}var nT=Me(GN,[["render",HN],["__file","/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown-menu.vue"]]);const KN=Gt(MN,{DropdownItem:tT,DropdownMenu:nT}),JN=Di(tT),eF=Di(nT);let tF=0;const nF=Ce({name:"ImgEmpty",setup(){return{ns:Ze("empty"),id:++tF}}}),iF={viewBox:"0 0 79 86",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},rF=["id"],sF=["stop-color"],oF=["stop-color"],aF=["id"],lF=["stop-color"],cF=["stop-color"],uF=["id"],fF={id:"Illustrations",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},OF={id:"B-type",transform:"translate(-1268.000000, -535.000000)"},hF={id:"Group-2",transform:"translate(1268.000000, 535.000000)"},dF=["fill"],pF=["fill"],mF={id:"Group-Copy",transform:"translate(34.500000, 31.500000) scale(-1, 1) rotate(-25.000000) translate(-34.500000, -31.500000) translate(7.000000, 10.000000)"},gF=["fill"],vF=["fill"],yF=["fill"],$F=["fill"],bF=["fill"],_F={id:"Rectangle-Copy-17",transform:"translate(53.000000, 45.000000)"},QF=["fill","xlink:href"],SF=["fill","mask"],wF=["fill"];function xF(t,e,n,i,r,s){return L(),ie("svg",iF,[D("defs",null,[D("linearGradient",{id:`linearGradient-1-${t.id}`,x1:"38.8503086%",y1:"0%",x2:"61.1496914%",y2:"100%"},[D("stop",{"stop-color":`var(${t.ns.cssVarBlockName("fill-color-1")})`,offset:"0%"},null,8,sF),D("stop",{"stop-color":`var(${t.ns.cssVarBlockName("fill-color-4")})`,offset:"100%"},null,8,oF)],8,rF),D("linearGradient",{id:`linearGradient-2-${t.id}`,x1:"0%",y1:"9.5%",x2:"100%",y2:"90.5%"},[D("stop",{"stop-color":`var(${t.ns.cssVarBlockName("fill-color-1")})`,offset:"0%"},null,8,lF),D("stop",{"stop-color":`var(${t.ns.cssVarBlockName("fill-color-6")})`,offset:"100%"},null,8,cF)],8,aF),D("rect",{id:`path-3-${t.id}`,x:"0",y:"0",width:"17",height:"36"},null,8,uF)]),D("g",fF,[D("g",OF,[D("g",hF,[D("path",{id:"Oval-Copy-2",d:"M39.5,86 C61.3152476,86 79,83.9106622 79,81.3333333 C79,78.7560045 57.3152476,78 35.5,78 C13.6847524,78 0,78.7560045 0,81.3333333 C0,83.9106622 17.6847524,86 39.5,86 Z",fill:`var(${t.ns.cssVarBlockName("fill-color-3")})`},null,8,dF),D("polygon",{id:"Rectangle-Copy-14",fill:`var(${t.ns.cssVarBlockName("fill-color-7")})`,transform:"translate(27.500000, 51.500000) scale(1, -1) translate(-27.500000, -51.500000) ",points:"13 58 53 58 42 45 2 45"},null,8,pF),D("g",mF,[D("polygon",{id:"Rectangle-Copy-10",fill:`var(${t.ns.cssVarBlockName("fill-color-7")})`,transform:"translate(11.500000, 5.000000) scale(1, -1) translate(-11.500000, -5.000000) ",points:"2.84078316e-14 3 18 3 23 7 5 7"},null,8,gF),D("polygon",{id:"Rectangle-Copy-11",fill:`var(${t.ns.cssVarBlockName("fill-color-5")})`,points:"-3.69149156e-15 7 38 7 38 43 -3.69149156e-15 43"},null,8,vF),D("rect",{id:"Rectangle-Copy-12",fill:`url(#linearGradient-1-${t.id})`,transform:"translate(46.500000, 25.000000) scale(-1, 1) translate(-46.500000, -25.000000) ",x:"38",y:"7",width:"17",height:"36"},null,8,yF),D("polygon",{id:"Rectangle-Copy-13",fill:`var(${t.ns.cssVarBlockName("fill-color-2")})`,transform:"translate(39.500000, 3.500000) scale(-1, 1) translate(-39.500000, -3.500000) ",points:"24 7 41 7 55 -3.63806207e-12 38 -3.63806207e-12"},null,8,$F)]),D("rect",{id:"Rectangle-Copy-15",fill:`url(#linearGradient-2-${t.id})`,x:"13",y:"45",width:"40",height:"36"},null,8,bF),D("g",_F,[D("use",{id:"Mask",fill:`var(${t.ns.cssVarBlockName("fill-color-8")})`,transform:"translate(8.500000, 18.000000) scale(-1, 1) translate(-8.500000, -18.000000) ","xlink:href":`#path-3-${t.id}`},null,8,QF),D("polygon",{id:"Rectangle-Copy",fill:`var(${t.ns.cssVarBlockName("fill-color-9")})`,mask:`url(#mask-4-${t.id})`,transform:"translate(12.000000, 9.000000) scale(-1, 1) translate(-12.000000, -9.000000) ",points:"7 0 24 0 20 18 7 16.5"},null,8,SF)]),D("polygon",{id:"Rectangle-Copy-18",fill:`var(${t.ns.cssVarBlockName("fill-color-2")})`,transform:"translate(66.000000, 51.500000) scale(-1, 1) translate(-66.000000, -51.500000) ",points:"62 45 79 45 70 58 53 58"},null,8,wF)])])])])}var PF=Me(nF,[["render",xF],["__file","/home/runner/work/element-plus/element-plus/packages/components/empty/src/img-empty.vue"]]);const kF={image:{type:String,default:""},imageSize:Number,description:{type:String,default:""}},CF=["src"],TF={key:1},RF={name:"ElEmpty"},AF=Ce(Je(ze({},RF),{props:kF,setup(t){const e=t,{t:n}=Fn(),i=Ze("empty"),r=N(()=>e.description||n("el.table.emptyText")),s=N(()=>({width:e.imageSize?`${e.imageSize}px`:""}));return(o,a)=>(L(),ie("div",{class:te(M(i).b())},[D("div",{class:te(M(i).e("image")),style:tt(M(s))},[o.image?(L(),ie("img",{key:0,src:o.image,ondragstart:"return false"},null,8,CF)):We(o.$slots,"image",{key:1},()=>[B(PF)])],6),D("div",{class:te(M(i).e("description"))},[o.$slots.description?We(o.$slots,"description",{key:0}):(L(),ie("p",TF,de(M(r)),1))],2),o.$slots.default?(L(),ie("div",{key:0,class:te(M(i).e("bottom"))},[We(o.$slots,"default")],2)):Qe("v-if",!0)],2))}}));var EF=Me(AF,[["__file","/home/runner/work/element-plus/element-plus/packages/components/empty/src/empty.vue"]]);const XF=Gt(EF),WF=lt({model:Object,rules:{type:Ne(Object)},labelPosition:String,labelWidth:{type:[String,Number],default:""},labelSuffix:{type:String,default:""},inline:Boolean,inlineMessage:Boolean,statusIcon:Boolean,showMessage:{type:Boolean,default:!0},size:{type:String,values:qa},disabled:Boolean,validateOnRuleChange:{type:Boolean,default:!0},hideRequiredAsterisk:{type:Boolean,default:!1},scrollToError:Boolean}),zF={validate:(t,e,n)=>(Fe(t)||ot(t))&&Ji(e)&&ot(n)};function IF(){const t=J([]),e=N(()=>{if(!t.value.length)return"0";const s=Math.max(...t.value);return s?`${s}px`:""});function n(s){return t.value.indexOf(s)}function i(s,o){if(s&&o){const a=n(o);t.value.splice(a,1,s)}else s&&t.value.push(s)}function r(s){const o=n(s);o>-1&&t.value.splice(o,1)}return{autoLabelWidth:e,registerLabelWidth:i,deregisterLabelWidth:r}}const QO=(t,e)=>{const n=ug(e);return n.length>0?t.filter(i=>i.prop&&n.includes(i.prop)):t},qF={name:"ElForm"},UF=Ce(Je(ze({},qF),{props:WF,emits:zF,setup(t,{expose:e,emit:n}){const i=t,r=[],s=Dn(),o=Ze("form"),a=N(()=>{const{labelPosition:d,inline:g}=i;return[o.b(),o.m(s.value||"default"),{[o.m(`label-${d}`)]:d,[o.m("inline")]:g}]}),l=d=>{r.push(d)},c=d=>{d.prop&&r.splice(r.indexOf(d),1)},u=(d=[])=>{!i.model||QO(r,d).forEach(g=>g.resetField())},O=(d=[])=>{QO(r,d).forEach(g=>g.clearValidate())},f=N(()=>!!i.model),h=d=>{if(r.length===0)return[];const g=QO(r,d);return g.length?g:[]},p=async d=>$(void 0,d),y=async(d=[])=>{if(!f.value)return!1;const g=h(d);if(g.length===0)return!0;let v={};for(const b of g)try{await b.validate("")}catch(_){v=ze(ze({},v),_)}return Object.keys(v).length===0?!0:Promise.reject(v)},$=async(d=[],g)=>{const v=!st(g);try{const b=await y(d);return b===!0&&(g==null||g(b)),b}catch(b){const _=b;return i.scrollToError&&m(Object.keys(_)[0]),g==null||g(!1,_),v&&Promise.reject(_)}},m=d=>{var g;const v=QO(r,d)[0];v&&((g=v.$el)==null||g.scrollIntoView())};return Ee(()=>i.rules,()=>{i.validateOnRuleChange&&p()},{deep:!0}),kt(Ts,gn(ze(Je(ze({},xr(i)),{emit:n,resetFields:u,clearValidate:O,validateField:$,addField:l,removeField:c}),IF()))),e({validate:p,validateField:$,resetFields:u,clearValidate:O,scrollToField:m}),(d,g)=>(L(),ie("form",{class:te(M(a))},[We(d.$slots,"default")],2))}}));var DF=Me(UF,[["__file","/home/runner/work/element-plus/element-plus/packages/components/form/src/form.vue"]]);function Oa(){return Oa=Object.assign||function(t){for(var e=1;e1?e-1:0),i=1;i=s)return a;switch(a){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch{return"[Circular]"}break;default:return a}});return o}return t}function VF(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function _n(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||VF(e)&&typeof t=="string"&&!t)}function jF(t,e,n){var i=[],r=0,s=t.length;function o(a){i.push.apply(i,a||[]),r++,r===s&&n(i)}t.forEach(function(a){e(a,o)})}function rQ(t,e,n){var i=0,r=t.length;function s(o){if(o&&o.length){n(o);return}var a=i;i=i+1,a()\[\]\\.,;:\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,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},Gc={integer:function(e){return Gc.number(e)&&parseInt(e,10)===e},float:function(e){return Gc.number(e)&&!Gc.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch{return!1}},date:function(e){return typeof e.getTime=="function"&&typeof e.getMonth=="function"&&typeof e.getYear=="function"&&!isNaN(e.getTime())},number:function(e){return isNaN(e)?!1:typeof e=="number"},object:function(e){return typeof e=="object"&&!Gc.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&e.length<=320&&!!e.match(I0.email)},url:function(e){return typeof e=="string"&&e.length<=2048&&!!e.match(I0.url)},hex:function(e){return typeof e=="string"&&!!e.match(I0.hex)}},JF=function(e,n,i,r,s){if(e.required&&n===void 0){iT(e,n,i,r,s);return}var o=["integer","float","array","regexp","object","method","email","number","date","url","hex"],a=e.type;o.indexOf(a)>-1?Gc[a](n)||r.push(Ci(s.messages.types[a],e.fullField,e.type)):a&&typeof n!==e.type&&r.push(Ci(s.messages.types[a],e.fullField,e.type))},eG=function(e,n,i,r,s){var o=typeof e.len=="number",a=typeof e.min=="number",l=typeof e.max=="number",c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,u=n,O=null,f=typeof n=="number",h=typeof n=="string",p=Array.isArray(n);if(f?O="number":h?O="string":p&&(O="array"),!O)return!1;p&&(u=n.length),h&&(u=n.replace(c,"_").length),o?u!==e.len&&r.push(Ci(s.messages[O].len,e.fullField,e.len)):a&&!l&&ue.max?r.push(Ci(s.messages[O].max,e.fullField,e.max)):a&&l&&(ue.max)&&r.push(Ci(s.messages[O].range,e.fullField,e.min,e.max))},ol="enum",tG=function(e,n,i,r,s){e[ol]=Array.isArray(e[ol])?e[ol]:[],e[ol].indexOf(n)===-1&&r.push(Ci(s.messages[ol],e.fullField,e[ol].join(", ")))},nG=function(e,n,i,r,s){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(n)||r.push(Ci(s.messages.pattern.mismatch,e.fullField,n,e.pattern));else if(typeof e.pattern=="string"){var o=new RegExp(e.pattern);o.test(n)||r.push(Ci(s.messages.pattern.mismatch,e.fullField,n,e.pattern))}}},gt={required:iT,whitespace:KF,type:JF,range:eG,enum:tG,pattern:nG},iG=function(e,n,i,r,s){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(_n(n,"string")&&!e.required)return i();gt.required(e,n,r,o,s,"string"),_n(n,"string")||(gt.type(e,n,r,o,s),gt.range(e,n,r,o,s),gt.pattern(e,n,r,o,s),e.whitespace===!0&>.whitespace(e,n,r,o,s))}i(o)},rG=function(e,n,i,r,s){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(_n(n)&&!e.required)return i();gt.required(e,n,r,o,s),n!==void 0&>.type(e,n,r,o,s)}i(o)},sG=function(e,n,i,r,s){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(n===""&&(n=void 0),_n(n)&&!e.required)return i();gt.required(e,n,r,o,s),n!==void 0&&(gt.type(e,n,r,o,s),gt.range(e,n,r,o,s))}i(o)},oG=function(e,n,i,r,s){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(_n(n)&&!e.required)return i();gt.required(e,n,r,o,s),n!==void 0&>.type(e,n,r,o,s)}i(o)},aG=function(e,n,i,r,s){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(_n(n)&&!e.required)return i();gt.required(e,n,r,o,s),_n(n)||gt.type(e,n,r,o,s)}i(o)},lG=function(e,n,i,r,s){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(_n(n)&&!e.required)return i();gt.required(e,n,r,o,s),n!==void 0&&(gt.type(e,n,r,o,s),gt.range(e,n,r,o,s))}i(o)},cG=function(e,n,i,r,s){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(_n(n)&&!e.required)return i();gt.required(e,n,r,o,s),n!==void 0&&(gt.type(e,n,r,o,s),gt.range(e,n,r,o,s))}i(o)},uG=function(e,n,i,r,s){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(n==null&&!e.required)return i();gt.required(e,n,r,o,s,"array"),n!=null&&(gt.type(e,n,r,o,s),gt.range(e,n,r,o,s))}i(o)},fG=function(e,n,i,r,s){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(_n(n)&&!e.required)return i();gt.required(e,n,r,o,s),n!==void 0&>.type(e,n,r,o,s)}i(o)},OG="enum",hG=function(e,n,i,r,s){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(_n(n)&&!e.required)return i();gt.required(e,n,r,o,s),n!==void 0&>[OG](e,n,r,o,s)}i(o)},dG=function(e,n,i,r,s){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(_n(n,"string")&&!e.required)return i();gt.required(e,n,r,o,s),_n(n,"string")||gt.pattern(e,n,r,o,s)}i(o)},pG=function(e,n,i,r,s){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(_n(n,"date")&&!e.required)return i();if(gt.required(e,n,r,o,s),!_n(n,"date")){var l;n instanceof Date?l=n:l=new Date(n),gt.type(e,l,r,o,s),l&>.range(e,l.getTime(),r,o,s)}}i(o)},mG=function(e,n,i,r,s){var o=[],a=Array.isArray(n)?"array":typeof n;gt.required(e,n,r,o,s,a),i(o)},q0=function(e,n,i,r,s){var o=e.type,a=[],l=e.required||!e.required&&r.hasOwnProperty(e.field);if(l){if(_n(n,o)&&!e.required)return i();gt.required(e,n,r,a,s,o),_n(n,o)||gt.type(e,n,r,a,s)}i(a)},gG=function(e,n,i,r,s){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(_n(n)&&!e.required)return i();gt.required(e,n,r,o,s)}i(o)},mu={string:iG,method:rG,number:sG,boolean:oG,regexp:aG,integer:lG,float:cG,array:uG,object:fG,enum:hG,pattern:dG,date:pG,url:q0,hex:q0,email:q0,required:mG,any:gG};function Ig(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var qg=Ig(),Sf=function(){function t(n){this.rules=null,this._messages=qg,this.define(n)}var e=t.prototype;return e.define=function(i){var r=this;if(!i)throw new Error("Cannot configure a schema with no rules");if(typeof i!="object"||Array.isArray(i))throw new Error("Rules must be an object");this.rules={},Object.keys(i).forEach(function(s){var o=i[s];r.rules[s]=Array.isArray(o)?o:[o]})},e.messages=function(i){return i&&(this._messages=aQ(Ig(),i)),this._messages},e.validate=function(i,r,s){var o=this;r===void 0&&(r={}),s===void 0&&(s=function(){});var a=i,l=r,c=s;if(typeof l=="function"&&(c=l,l={}),!this.rules||Object.keys(this.rules).length===0)return c&&c(null,a),Promise.resolve(a);function u(y){var $=[],m={};function d(v){if(Array.isArray(v)){var b;$=(b=$).concat.apply(b,v)}else $.push(v)}for(var g=0;g");const r=Ze("form"),s=J(),o=J(0),a=()=>{var u;if((u=s.value)!=null&&u.firstElementChild){const O=window.getComputedStyle(s.value.firstElementChild).width;return Math.ceil(Number.parseFloat(O))}else return 0},l=(u="update")=>{et(()=>{e.default&&t.isAutoWidth&&(u==="update"?o.value=a():u==="remove"&&(n==null||n.deregisterLabelWidth(o.value)))})},c=()=>l("update");return xt(()=>{c()}),Qn(()=>{l("remove")}),Ps(()=>c()),Ee(o,(u,O)=>{t.updateAll&&(n==null||n.registerLabelWidth(u,O))}),mf(N(()=>{var u,O;return(O=(u=s.value)==null?void 0:u.firstElementChild)!=null?O:null}),c),()=>{var u,O;if(!e)return null;const{isAutoWidth:f}=t;if(f){const h=n==null?void 0:n.autoLabelWidth,p={};if(h&&h!=="auto"){const y=Math.max(0,Number.parseInt(h,10)-o.value),$=n.labelPosition==="left"?"marginRight":"marginLeft";y&&(p[$]=`${y}px`)}return B("div",{ref:s,class:[r.be("item","label-wrap")],style:p},[(u=e.default)==null?void 0:u.call(e)])}else return B(Le,{ref:s},[(O=e.default)==null?void 0:O.call(e)])}}});const bG=["role","aria-labelledby"],_G={name:"ElFormItem"},QG=Ce(Je(ze({},_G),{props:yG,setup(t,{expose:e}){const n=t,i=df(),r=De(Ts,void 0),s=De(Gr,void 0),o=Dn(void 0,{formItem:!1}),a=Ze("form-item"),l=Op().value,c=J([]),u=J(""),O=CD(u,100),f=J(""),h=J();let p,y=!1;const $=N(()=>{if((r==null?void 0:r.labelPosition)==="top")return{};const H=wr(n.labelWidth||(r==null?void 0:r.labelWidth)||"");return H?{width:H}:{}}),m=N(()=>{if((r==null?void 0:r.labelPosition)==="top"||(r==null?void 0:r.inline))return{};if(!n.label&&!n.labelWidth&&P)return{};const H=wr(n.labelWidth||(r==null?void 0:r.labelWidth)||"");return!n.label&&!i.label?{marginLeft:H}:{}}),d=N(()=>[a.b(),a.m(o.value),a.is("error",u.value==="error"),a.is("validating",u.value==="validating"),a.is("success",u.value==="success"),a.is("required",T.value||n.required),a.is("no-asterisk",r==null?void 0:r.hideRequiredAsterisk),{[a.m("feedback")]:r==null?void 0:r.statusIcon}]),g=N(()=>Ji(n.inlineMessage)?n.inlineMessage:(r==null?void 0:r.inlineMessage)||!1),v=N(()=>[a.e("error"),{[a.em("error","inline")]:g.value}]),b=N(()=>n.prop?ot(n.prop)?n.prop:n.prop.join("."):""),_=N(()=>!!(n.label||i.label)),Q=N(()=>n.for||c.value.length===1?c.value[0]:void 0),S=N(()=>!Q.value&&_.value),P=!!s,w=N(()=>{const H=r==null?void 0:r.model;if(!(!H||!n.prop))return ch(H,n.prop).value}),x=N(()=>{const H=n.rules?ug(n.rules):[],re=r==null?void 0:r.rules;if(re&&n.prop){const G=ch(re,n.prop).value;G&&H.push(...ug(G))}return n.required!==void 0&&H.push({required:!!n.required}),H}),k=N(()=>x.value.length>0),C=H=>x.value.filter(G=>!G.trigger||!H?!0:Array.isArray(G.trigger)?G.trigger.includes(H):G.trigger===H).map(_e=>{var ue=_e,{trigger:G}=ue,Re=lO(ue,["trigger"]);return Re}),T=N(()=>x.value.some(H=>H.required===!0)),E=N(()=>{var H;return O.value==="error"&&n.showMessage&&((H=r==null?void 0:r.showMessage)!=null?H:!0)}),A=N(()=>`${n.label||""}${(r==null?void 0:r.labelSuffix)||""}`),R=H=>{u.value=H},X=H=>{var re,G;const{errors:Re,fields:_e}=H;(!Re||!_e)&&console.error(H),R("error"),f.value=Re?(G=(re=Re==null?void 0:Re[0])==null?void 0:re.message)!=null?G:`${n.prop} is required`:"",r==null||r.emit("validate",n.prop,!1,f.value)},U=()=>{R("success"),r==null||r.emit("validate",n.prop,!0,"")},V=async H=>{const re=b.value;return new Sf({[re]:H}).validate({[re]:w.value},{firstFields:!0}).then(()=>(U(),!0)).catch(Re=>(X(Re),Promise.reject(Re)))},j=async(H,re)=>{if(y)return y=!1,!1;const G=st(re);if(!k.value)return re==null||re(!1),!1;const Re=C(H);return Re.length===0?(re==null||re(!0),!0):(R("validating"),V(Re).then(()=>(re==null||re(!0),!0)).catch(_e=>{const{fields:ue}=_e;return re==null||re(!1,ue),G?!1:Promise.reject(ue)}))},Y=()=>{R(""),f.value=""},ee=async()=>{const H=r==null?void 0:r.model;if(!H||!n.prop)return;const re=ch(H,n.prop);jh(re.value,p)||(y=!0),re.value=p,await et(),Y()},se=H=>{c.value.includes(H)||c.value.push(H)},I=H=>{c.value=c.value.filter(re=>re!==H)};Ee(()=>n.error,H=>{f.value=H||"",R(H?"error":"")},{immediate:!0}),Ee(()=>n.validateStatus,H=>R(H||""));const ne=gn(Je(ze({},xr(n)),{$el:h,size:o,validateState:u,labelId:l,inputIds:c,isGroup:S,addInputId:se,removeInputId:I,resetField:ee,clearValidate:Y,validate:j}));return kt(Gr,ne),xt(()=>{n.prop&&(r==null||r.addField(ne),p=TU(w.value))}),Qn(()=>{r==null||r.removeField(ne)}),e({size:o,validateMessage:f,validateState:u,validate:j,clearValidate:Y,resetField:ee}),(H,re)=>{var G;return L(),ie("div",{ref_key:"formItemRef",ref:h,class:te(M(d)),role:M(S)?"group":void 0,"aria-labelledby":M(S)?M(l):void 0},[B(M($G),{"is-auto-width":M($).width==="auto","update-all":((G=M(r))==null?void 0:G.labelWidth)==="auto"},{default:Z(()=>[M(_)?(L(),be(Vt(M(Q)?"label":"div"),{key:0,id:M(l),for:M(Q),class:te(M(a).e("label")),style:tt(M($))},{default:Z(()=>[We(H.$slots,"label",{label:M(A)},()=>[Xe(de(M(A)),1)])]),_:3},8,["id","for","class","style"])):Qe("v-if",!0)]),_:3},8,["is-auto-width","update-all"]),D("div",{class:te(M(a).e("content")),style:tt(M(m))},[We(H.$slots,"default"),B(ri,{name:`${M(a).namespace.value}-zoom-in-top`},{default:Z(()=>[M(E)?We(H.$slots,"error",{key:0,error:f.value},()=>[D("div",{class:te(M(v))},de(f.value),3)]):Qe("v-if",!0)]),_:3},8,["name"])],6)],10,bG)}}}));var rT=Me(QG,[["__file","/home/runner/work/element-plus/element-plus/packages/components/form/src/form-item.vue"]]);const gc=Gt(DF,{FormItem:rT}),vc=Di(rT),SG=lt({id:{type:String,default:void 0},step:{type:Number,default:1},stepStrictly:{type:Boolean,default:!1},max:{type:Number,default:Number.POSITIVE_INFINITY},min:{type:Number,default:Number.NEGATIVE_INFINITY},modelValue:{type:Number},disabled:{type:Boolean,default:!1},size:{type:String,values:qa},controls:{type:Boolean,default:!0},controlsPosition:{type:String,default:"",values:["","right"]},name:String,label:String,placeholder:String,precision:{type:Number,validator:t=>t>=0&&t===Number.parseInt(`${t}`,10)}}),wG={change:(t,e)=>t!==e,blur:t=>t instanceof FocusEvent,focus:t=>t instanceof FocusEvent,input:t=>Bt(t),"update:modelValue":t=>Bt(t)||t===void 0},xG=Ce({name:"ElInputNumber",components:{ElInput:mi,ElIcon:wt,ArrowUp:ap,ArrowDown:op,Plus:yC,Minus:xB},directives:{RepeatClick:u2},props:SG,emits:wG,setup(t,{emit:e}){const n=J(),i=gn({currentValue:t.modelValue,userInput:null}),{t:r}=Fn(),{formItem:s}=yf(),o=Ze("input-number"),a=N(()=>$(t.modelValue,-1)$(t.modelValue)>t.max),c=N(()=>{const x=y(t.step);return Dr(t.precision)?Math.max(y(t.modelValue),x):(x>t.precision,t.precision)}),u=N(()=>t.controls&&t.controlsPosition==="right"),O=Dn(),f=hc(),h=N(()=>{if(i.userInput!==null)return i.userInput;let x=i.currentValue;if(Bt(x)){if(Number.isNaN(x))return"";Dr(t.precision)||(x=x.toFixed(t.precision))}return x}),p=(x,k)=>{Dr(k)&&(k=c.value);const C=x.toString().split(".");if(C.length>1){const T=C[0],E=Math.round(+C[1]/10**(C[1].length-k));return Number.parseFloat(`${T}.${E}`)}return Number.parseFloat(`${Math.round(x*10**k)/10**k}`)},y=x=>{if(Dr(x))return 0;const k=x.toString(),C=k.indexOf(".");let T=0;return C!==-1&&(T=k.length-C-1),T},$=(x,k=1)=>Bt(x)?(x=Bt(x)?x:Number.NaN,p(x+t.step*k)):i.currentValue,m=()=>{if(f.value||l.value)return;const x=t.modelValue||0,k=$(x);v(k)},d=()=>{if(f.value||a.value)return;const x=t.modelValue||0,k=$(x,-1);v(k)},g=(x,k)=>{const{max:C,min:T,step:E,precision:A,stepStrictly:R}=t;let X=Number(x);return x===null&&(X=Number.NaN),Number.isNaN(X)||(R&&(X=Math.round(X/E)*E),Dr(A)||(X=p(X,A)),(X>C||XC?C:T,k&&e("update:modelValue",X))),X},v=x=>{var k;const C=i.currentValue;let T=g(x);C!==T&&(Number.isNaN(T)&&(T=void 0),i.userInput=null,e("update:modelValue",T),e("input",T),e("change",T,C),(k=s==null?void 0:s.validate)==null||k.call(s,"change").catch(E=>void 0),i.currentValue=T)},b=x=>i.userInput=x,_=x=>{const k=x!==""?Number(x):"";(Bt(k)&&!Number.isNaN(k)||x==="")&&v(k),i.userInput=null},Q=()=>{var x,k;(k=(x=n.value)==null?void 0:x.focus)==null||k.call(x)},S=()=>{var x,k;(k=(x=n.value)==null?void 0:x.blur)==null||k.call(x)},P=x=>{e("focus",x)},w=x=>{var k;e("blur",x),(k=s==null?void 0:s.validate)==null||k.call(s,"blur").catch(C=>void 0)};return Ee(()=>t.modelValue,x=>{const k=g(x,!0);i.currentValue=k,i.userInput=null},{immediate:!0}),xt(()=>{var x;const k=(x=n.value)==null?void 0:x.input;if(k.setAttribute("role","spinbutton"),Number.isFinite(t.max)?k.setAttribute("aria-valuemax",String(t.max)):k.removeAttribute("aria-valuemax"),Number.isFinite(t.min)?k.setAttribute("aria-valuemin",String(t.min)):k.removeAttribute("aria-valuemin"),k.setAttribute("aria-valuenow",String(i.currentValue)),k.setAttribute("aria-disabled",String(f.value)),!Bt(t.modelValue)){let C=Number(t.modelValue);Number.isNaN(C)&&(C=void 0),e("update:modelValue",C)}}),Ps(()=>{var x;const k=(x=n.value)==null?void 0:x.input;k==null||k.setAttribute("aria-valuenow",i.currentValue)}),{t:r,input:n,displayValue:h,handleInput:b,handleInputChange:_,controlsAtRight:u,decrease:d,increase:m,inputNumberSize:O,inputNumberDisabled:f,maxDisabled:l,minDisabled:a,focus:Q,blur:S,handleFocus:P,handleBlur:w,ns:o}}}),PG=["aria-label"],kG=["aria-label"];function CG(t,e,n,i,r,s){const o=Pe("arrow-down"),a=Pe("minus"),l=Pe("el-icon"),c=Pe("arrow-up"),u=Pe("plus"),O=Pe("el-input"),f=Eo("repeat-click");return L(),ie("div",{class:te([t.ns.b(),t.ns.m(t.inputNumberSize),t.ns.is("disabled",t.inputNumberDisabled),t.ns.is("without-controls",!t.controls),t.ns.is("controls-right",t.controlsAtRight)]),onDragstart:e[2]||(e[2]=Et(()=>{},["prevent"]))},[t.controls?it((L(),ie("span",{key:0,role:"button","aria-label":t.t("el.inputNumber.decrease"),class:te([t.ns.e("decrease"),t.ns.is("disabled",t.minDisabled)]),onKeydown:e[0]||(e[0]=Qt((...h)=>t.decrease&&t.decrease(...h),["enter"]))},[B(l,null,{default:Z(()=>[t.controlsAtRight?(L(),be(o,{key:0})):(L(),be(a,{key:1}))]),_:1})],42,PG)),[[f,t.decrease]]):Qe("v-if",!0),t.controls?it((L(),ie("span",{key:1,role:"button","aria-label":t.t("el.inputNumber.increase"),class:te([t.ns.e("increase"),t.ns.is("disabled",t.maxDisabled)]),onKeydown:e[1]||(e[1]=Qt((...h)=>t.increase&&t.increase(...h),["enter"]))},[B(l,null,{default:Z(()=>[t.controlsAtRight?(L(),be(c,{key:0})):(L(),be(u,{key:1}))]),_:1})],42,kG)),[[f,t.increase]]):Qe("v-if",!0),B(O,{id:t.id,ref:"input",type:"number",step:t.step,"model-value":t.displayValue,placeholder:t.placeholder,disabled:t.inputNumberDisabled,size:t.inputNumberSize,max:t.max,min:t.min,name:t.name,label:t.label,"validate-event":!1,onKeydown:[Qt(Et(t.increase,["prevent"]),["up"]),Qt(Et(t.decrease,["prevent"]),["down"])],onBlur:t.handleBlur,onFocus:t.handleFocus,onInput:t.handleInput,onChange:t.handleInputChange},null,8,["id","step","model-value","placeholder","disabled","size","max","min","name","label","onKeydown","onBlur","onFocus","onInput","onChange"])],34)}var TG=Me(xG,[["render",CG],["__file","/home/runner/work/element-plus/element-plus/packages/components/input-number/src/input-number.vue"]]);const RG=Gt(TG),sT="ElSelectGroup",mp="ElSelect";function AG(t,e){const n=De(mp),i=De(sT,{disabled:!1}),r=N(()=>Object.prototype.toString.call(t.value).toLowerCase()==="[object object]"),s=N(()=>n.props.multiple?O(n.props.modelValue,t.value):f(t.value,n.props.modelValue)),o=N(()=>{if(n.props.multiple){const y=n.props.modelValue||[];return!s.value&&y.length>=n.props.multipleLimit&&n.props.multipleLimit>0}else return!1}),a=N(()=>t.label||(r.value?"":t.value)),l=N(()=>t.value||t.label||""),c=N(()=>t.disabled||e.groupDisabled||o.value),u=$t(),O=(y=[],$)=>{if(r.value){const m=n.props.valueKey;return y&&y.some(d=>ei(d,m)===ei($,m))}else return y&&y.includes($)},f=(y,$)=>{if(r.value){const{valueKey:m}=n.props;return ei(y,m)===ei($,m)}else return y===$},h=()=>{!t.disabled&&!i.disabled&&(n.hoverIndex=n.optionsArray.indexOf(u.proxy))};Ee(()=>a.value,()=>{!t.created&&!n.props.remote&&n.setSelected()}),Ee(()=>t.value,(y,$)=>{const{remote:m,valueKey:d}=n.props;if(!t.created&&!m){if(d&&typeof y=="object"&&typeof $=="object"&&y[d]===$[d])return;n.setSelected()}}),Ee(()=>i.disabled,()=>{e.groupDisabled=i.disabled},{immediate:!0});const{queryChange:p}=mt(n);return Ee(p,y=>{const{query:$}=M(y),m=new RegExp(ID($),"i");e.visible=m.test(a.value)||t.created,e.visible||n.filteredOptionsCount--}),{select:n,currentLabel:a,currentValue:l,itemSelected:s,isDisabled:c,hoverItem:h}}const EG=Ce({name:"ElOption",componentName:"ElOption",props:{value:{required:!0,type:[String,Number,Boolean,Object]},label:[String,Number],created:Boolean,disabled:{type:Boolean,default:!1}},setup(t){const e=Ze("select"),n=gn({index:-1,groupDisabled:!1,visible:!0,hitState:!1,hover:!1}),{currentLabel:i,itemSelected:r,isDisabled:s,select:o,hoverItem:a}=AG(t,n),{visible:l,hover:c}=xr(n),u=$t().proxy,O=u.value;o.onOptionCreate(u),Qn(()=>{const{selected:h}=o,y=(o.props.multiple?h:[h]).some($=>$.value===u.value);o.cachedOptions.get(O)===u&&!y&&et(()=>{o.cachedOptions.delete(O)}),o.onOptionDestroy(O,u)});function f(){t.disabled!==!0&&n.groupDisabled!==!0&&o.handleOptionSelect(u,!0)}return{ns:e,currentLabel:i,itemSelected:r,isDisabled:s,select:o,hoverItem:a,visible:l,hover:c,selectOptionClick:f,states:n}}});function XG(t,e,n,i,r,s){return it((L(),ie("li",{class:te([t.ns.be("dropdown","item"),t.ns.is("disabled",t.isDisabled),{selected:t.itemSelected,hover:t.hover}]),onMouseenter:e[0]||(e[0]=(...o)=>t.hoverItem&&t.hoverItem(...o)),onClick:e[1]||(e[1]=Et((...o)=>t.selectOptionClick&&t.selectOptionClick(...o),["stop"]))},[We(t.$slots,"default",{},()=>[D("span",null,de(t.currentLabel),1)])],34)),[[Lt,t.visible]])}var v$=Me(EG,[["render",XG],["__file","/home/runner/work/element-plus/element-plus/packages/components/select/src/option.vue"]]);const WG=Ce({name:"ElSelectDropdown",componentName:"ElSelectDropdown",setup(){const t=De(mp),e=Ze("select"),n=N(()=>t.props.popperClass),i=N(()=>t.props.multiple),r=N(()=>t.props.fitInputWidth),s=J("");function o(){var a;s.value=`${(a=t.selectWrapper)==null?void 0:a.getBoundingClientRect().width}px`}return xt(()=>{o(),Gy(t.selectWrapper,o)}),Qn(()=>{Hy(t.selectWrapper,o)}),{ns:e,minWidth:s,popperClass:n,isMultiple:i,isFitInputWidth:r}}});function zG(t,e,n,i,r,s){return L(),ie("div",{class:te([t.ns.b("dropdown"),t.ns.is("multiple",t.isMultiple),t.popperClass]),style:tt({[t.isFitInputWidth?"width":"minWidth"]:t.minWidth})},[We(t.$slots,"default")],6)}var IG=Me(WG,[["render",zG],["__file","/home/runner/work/element-plus/element-plus/packages/components/select/src/select-dropdown.vue"]]);function qG(t){const{t:e}=Fn();return gn({options:new Map,cachedOptions:new Map,createdLabel:null,createdSelected:!1,selected:t.multiple?[]:{},inputLength:20,inputWidth:0,initialInputHeight:0,optionsCount:0,filteredOptionsCount:0,visible:!1,softFocus:!1,selectedLabel:"",hoverIndex:-1,query:"",previousQuery:null,inputHovering:!1,cachedPlaceHolder:"",currentPlaceholder:e("el.select.placeholder"),menuVisibleOnFocus:!1,isOnComposition:!1,isSilentBlur:!1,prefixWidth:11,tagInMultiLine:!1})}const UG=(t,e,n)=>{const{t:i}=Fn(),r=Ze("select"),s=J(null),o=J(null),a=J(null),l=J(null),c=J(null),u=J(null),O=J(-1),f=ga({query:""}),h=ga(""),p=De(Ts,{}),y=De(Gr,{}),$=N(()=>!t.filterable||t.multiple||!e.visible),m=N(()=>t.disabled||p.disabled),d=N(()=>{const ae=t.multiple?Array.isArray(t.modelValue)&&t.modelValue.length>0:t.modelValue!==void 0&&t.modelValue!==null&&t.modelValue!=="";return t.clearable&&!m.value&&e.inputHovering&&ae}),g=N(()=>t.remote&&t.filterable?"":t.suffixIcon),v=N(()=>r.is("reverse",g.value&&e.visible)),b=N(()=>t.remote?300:0),_=N(()=>t.loading?t.loadingText||i("el.select.loading"):t.remote&&e.query===""&&e.options.size===0?!1:t.filterable&&e.query&&e.options.size>0&&e.filteredOptionsCount===0?t.noMatchText||i("el.select.noMatch"):e.options.size===0?t.noDataText||i("el.select.noData"):null),Q=N(()=>Array.from(e.options.values())),S=N(()=>Array.from(e.cachedOptions.values())),P=N(()=>{const ae=Q.value.filter(pe=>!pe.created).some(pe=>pe.currentLabel===e.query);return t.filterable&&t.allowCreate&&e.query!==""&&!ae}),w=Dn(),x=N(()=>["small"].includes(w.value)?"small":"default"),k=N({get(){return e.visible&&_.value!==!1},set(ae){e.visible=ae}});Ee([()=>m.value,()=>w.value,()=>p.size],()=>{et(()=>{C()})}),Ee(()=>t.placeholder,ae=>{e.cachedPlaceHolder=e.currentPlaceholder=ae}),Ee(()=>t.modelValue,(ae,pe)=>{var Oe;t.multiple&&(C(),ae&&ae.length>0||o.value&&e.query!==""?e.currentPlaceholder="":e.currentPlaceholder=e.cachedPlaceHolder,t.filterable&&!t.reserveKeyword&&(e.query="",T(e.query))),R(),t.filterable&&!t.multiple&&(e.inputLength=20),jh(ae,pe)||(Oe=y.validate)==null||Oe.call(y,"change").catch(Se=>void 0)},{flush:"post",deep:!0}),Ee(()=>e.visible,ae=>{var pe,Oe,Se;ae?((Oe=(pe=a.value)==null?void 0:pe.updatePopper)==null||Oe.call(pe),t.filterable&&(e.filteredOptionsCount=e.optionsCount,e.query=t.remote?"":e.selectedLabel,t.multiple?(Se=o.value)==null||Se.focus():e.selectedLabel&&(e.currentPlaceholder=`${e.selectedLabel}`,e.selectedLabel=""),T(e.query),!t.multiple&&!t.remote&&(f.value.query="",Tc(f),Tc(h)))):(o.value&&o.value.blur(),e.query="",e.previousQuery=null,e.selectedLabel="",e.inputLength=20,e.menuVisibleOnFocus=!1,U(),et(()=>{o.value&&o.value.value===""&&e.selected.length===0&&(e.currentPlaceholder=e.cachedPlaceHolder)}),t.multiple||(e.selected&&(t.filterable&&t.allowCreate&&e.createdSelected&&e.createdLabel?e.selectedLabel=e.createdLabel:e.selectedLabel=e.selected.currentLabel,t.filterable&&(e.query=e.selectedLabel)),t.filterable&&(e.currentPlaceholder=e.cachedPlaceHolder))),n.emit("visible-change",ae)}),Ee(()=>e.options.entries(),()=>{var ae,pe,Oe;if(!qt)return;(pe=(ae=a.value)==null?void 0:ae.updatePopper)==null||pe.call(ae),t.multiple&&C();const Se=((Oe=c.value)==null?void 0:Oe.querySelectorAll("input"))||[];Array.from(Se).includes(document.activeElement)||R(),t.defaultFirstOption&&(t.filterable||t.remote)&&e.filteredOptionsCount&&A()},{flush:"post"}),Ee(()=>e.hoverIndex,ae=>{typeof ae=="number"&&ae>-1&&(O.value=Q.value[ae]||{}),Q.value.forEach(pe=>{pe.hover=O.value===pe})});const C=()=>{t.collapseTags&&!t.filterable||et(()=>{var ae,pe;if(!s.value)return;const Oe=s.value.$el.querySelector("input"),Se=l.value,qe=e.initialInputHeight||KB(w.value||p.size);Oe.style.height=e.selected.length===0?`${qe}px`:`${Math.max(Se?Se.clientHeight+(Se.clientHeight>qe?6:0):0,qe)}px`,e.tagInMultiLine=Number.parseFloat(Oe.style.height)>=qe,e.visible&&_.value!==!1&&((pe=(ae=a.value)==null?void 0:ae.updatePopper)==null||pe.call(ae))})},T=ae=>{if(!(e.previousQuery===ae||e.isOnComposition)){if(e.previousQuery===null&&(typeof t.filterMethod=="function"||typeof t.remoteMethod=="function")){e.previousQuery=ae;return}e.previousQuery=ae,et(()=>{var pe,Oe;e.visible&&((Oe=(pe=a.value)==null?void 0:pe.updatePopper)==null||Oe.call(pe))}),e.hoverIndex=-1,t.multiple&&t.filterable&&et(()=>{const pe=o.value.value.length*15+20;e.inputLength=t.collapseTags?Math.min(50,pe):pe,E(),C()}),t.remote&&typeof t.remoteMethod=="function"?(e.hoverIndex=-1,t.remoteMethod(ae)):typeof t.filterMethod=="function"?(t.filterMethod(ae),Tc(h)):(e.filteredOptionsCount=e.optionsCount,f.value.query=ae,Tc(f),Tc(h)),t.defaultFirstOption&&(t.filterable||t.remote)&&e.filteredOptionsCount&&A()}},E=()=>{e.currentPlaceholder!==""&&(e.currentPlaceholder=o.value.value?"":e.cachedPlaceHolder)},A=()=>{const ae=Q.value.filter(Se=>Se.visible&&!Se.disabled&&!Se.states.groupDisabled),pe=ae.find(Se=>Se.created),Oe=ae[0];e.hoverIndex=Re(Q.value,pe||Oe)},R=()=>{var ae;if(t.multiple)e.selectedLabel="";else{const Oe=X(t.modelValue);(ae=Oe.props)!=null&&ae.created?(e.createdLabel=Oe.props.value,e.createdSelected=!0):e.createdSelected=!1,e.selectedLabel=Oe.currentLabel,e.selected=Oe,t.filterable&&(e.query=e.selectedLabel);return}const pe=[];Array.isArray(t.modelValue)&&t.modelValue.forEach(Oe=>{pe.push(X(Oe))}),e.selected=pe,et(()=>{C()})},X=ae=>{let pe;const Oe=nh(ae).toLowerCase()==="object",Se=nh(ae).toLowerCase()==="null",qe=nh(ae).toLowerCase()==="undefined";for(let Ot=e.cachedOptions.size-1;Ot>=0;Ot--){const Pt=S.value[Ot];if(Oe?ei(Pt.value,t.valueKey)===ei(ae,t.valueKey):Pt.value===ae){pe={value:ae,currentLabel:Pt.currentLabel,isDisabled:Pt.isDisabled};break}}if(pe)return pe;const ht=Oe?ae.label:!Se&&!qe?ae:"",Ct={value:ae,currentLabel:ht};return t.multiple&&(Ct.hitState=!1),Ct},U=()=>{setTimeout(()=>{const ae=t.valueKey;t.multiple?e.selected.length>0?e.hoverIndex=Math.min.apply(null,e.selected.map(pe=>Q.value.findIndex(Oe=>ei(Oe,ae)===ei(pe,ae)))):e.hoverIndex=-1:e.hoverIndex=Q.value.findIndex(pe=>Te(pe)===Te(e.selected))},300)},V=()=>{var ae,pe;j(),(pe=(ae=a.value)==null?void 0:ae.updatePopper)==null||pe.call(ae),t.multiple&&!t.filterable&&C()},j=()=>{var ae;e.inputWidth=(ae=s.value)==null?void 0:ae.$el.getBoundingClientRect().width},Y=()=>{t.filterable&&e.query!==e.selectedLabel&&(e.query=e.selectedLabel,T(e.query))},ee=Qo(()=>{Y()},b.value),se=Qo(ae=>{T(ae.target.value)},b.value),I=ae=>{jh(t.modelValue,ae)||n.emit(Mu,ae)},ne=ae=>{if(ae.target.value.length<=0&&!fe()){const pe=t.modelValue.slice();pe.pop(),n.emit(Wt,pe),I(pe)}ae.target.value.length===1&&t.modelValue.length===0&&(e.currentPlaceholder=e.cachedPlaceHolder)},H=(ae,pe)=>{const Oe=e.selected.indexOf(pe);if(Oe>-1&&!m.value){const Se=t.modelValue.slice();Se.splice(Oe,1),n.emit(Wt,Se),I(Se),n.emit("remove-tag",pe.value)}ae.stopPropagation()},re=ae=>{ae.stopPropagation();const pe=t.multiple?[]:"";if(typeof pe!="string")for(const Oe of e.selected)Oe.isDisabled&&pe.push(Oe.value);n.emit(Wt,pe),I(pe),e.visible=!1,n.emit("clear")},G=(ae,pe)=>{var Oe;if(t.multiple){const Se=(t.modelValue||[]).slice(),qe=Re(Se,ae.value);qe>-1?Se.splice(qe,1):(t.multipleLimit<=0||Se.length{ue(ae)})},Re=(ae=[],pe)=>{if(!yt(pe))return ae.indexOf(pe);const Oe=t.valueKey;let Se=-1;return ae.some((qe,ht)=>ei(qe,Oe)===ei(pe,Oe)?(Se=ht,!0):!1),Se},_e=()=>{e.softFocus=!0;const ae=o.value||s.value;ae&&(ae==null||ae.focus())},ue=ae=>{var pe,Oe,Se,qe,ht;const Ct=Array.isArray(ae)?ae[0]:ae;let Ot=null;if(Ct!=null&&Ct.value){const Pt=Q.value.filter(Ut=>Ut.value===Ct.value);Pt.length>0&&(Ot=Pt[0].$el)}if(a.value&&Ot){const Pt=(qe=(Se=(Oe=(pe=a.value)==null?void 0:pe.popperRef)==null?void 0:Oe.contentRef)==null?void 0:Se.querySelector)==null?void 0:qe.call(Se,`.${r.be("dropdown","wrap")}`);Pt&&DD(Pt,Ot)}(ht=u.value)==null||ht.handleScroll()},W=ae=>{e.optionsCount++,e.filteredOptionsCount++,e.options.set(ae.value,ae),e.cachedOptions.set(ae.value,ae)},q=(ae,pe)=>{e.options.get(ae)===pe&&(e.optionsCount--,e.filteredOptionsCount--,e.options.delete(ae))},F=ae=>{ae.code!==rt.backspace&&fe(!1),e.inputLength=o.value.value.length*15+20,C()},fe=ae=>{if(!Array.isArray(e.selected))return;const pe=e.selected[e.selected.length-1];if(!!pe)return ae===!0||ae===!1?(pe.hitState=ae,ae):(pe.hitState=!pe.hitState,pe.hitState)},he=ae=>{const pe=ae.target.value;if(ae.type==="compositionend")e.isOnComposition=!1,et(()=>T(pe));else{const Oe=pe[pe.length-1]||"";e.isOnComposition=!SC(Oe)}},ve=()=>{et(()=>ue(e.selected))},xe=ae=>{e.softFocus?e.softFocus=!1:((t.automaticDropdown||t.filterable)&&(t.filterable&&!e.visible&&(e.menuVisibleOnFocus=!0),e.visible=!0),n.emit("focus",ae))},me=()=>{var ae;e.visible=!1,(ae=s.value)==null||ae.blur()},le=ae=>{et(()=>{e.isSilentBlur?e.isSilentBlur=!1:n.emit("blur",ae)}),e.softFocus=!1},oe=ae=>{re(ae)},ce=()=>{e.visible=!1},K=()=>{var ae;t.automaticDropdown||m.value||(e.menuVisibleOnFocus?e.menuVisibleOnFocus=!1:e.visible=!e.visible,e.visible&&((ae=o.value||s.value)==null||ae.focus()))},ge=()=>{e.visible?Q.value[e.hoverIndex]&&G(Q.value[e.hoverIndex],void 0):K()},Te=ae=>yt(ae.value)?ei(ae.value,t.valueKey):ae.value,Ye=N(()=>Q.value.filter(ae=>ae.visible).every(ae=>ae.disabled)),Ae=ae=>{if(!e.visible){e.visible=!0;return}if(!(e.options.size===0||e.filteredOptionsCount===0)&&!e.isOnComposition&&!Ye.value){ae==="next"?(e.hoverIndex++,e.hoverIndex===e.options.size&&(e.hoverIndex=0)):ae==="prev"&&(e.hoverIndex--,e.hoverIndex<0&&(e.hoverIndex=e.options.size-1));const pe=Q.value[e.hoverIndex];(pe.disabled===!0||pe.states.groupDisabled===!0||!pe.visible)&&Ae(ae),et(()=>ue(O.value))}};return{optionsArray:Q,selectSize:w,handleResize:V,debouncedOnInputChange:ee,debouncedQueryChange:se,deletePrevTag:ne,deleteTag:H,deleteSelected:re,handleOptionSelect:G,scrollToOption:ue,readonly:$,resetInputHeight:C,showClose:d,iconComponent:g,iconReverse:v,showNewOption:P,collapseTagSize:x,setSelected:R,managePlaceholder:E,selectDisabled:m,emptyText:_,toggleLastOptionHitState:fe,resetInputState:F,handleComposition:he,onOptionCreate:W,onOptionDestroy:q,handleMenuEnter:ve,handleFocus:xe,blur:me,handleBlur:le,handleClearClick:oe,handleClose:ce,toggleMenu:K,selectOption:ge,getValueKey:Te,navigateOptions:Ae,dropMenuVisible:k,queryChange:f,groupQueryChange:h,reference:s,input:o,tooltipRef:a,tags:l,selectWrapper:c,scrollbar:u}},cQ="ElSelect",DG=Ce({name:cQ,componentName:cQ,components:{ElInput:mi,ElSelectMenu:IG,ElOption:v$,ElTag:X2,ElScrollbar:dc,ElTooltip:Rs,ElIcon:wt},directives:{ClickOutside:pp},props:{name:String,id:String,modelValue:{type:[Array,String,Number,Boolean,Object],default:void 0},autocomplete:{type:String,default:"off"},automaticDropdown:Boolean,size:{type:String,validator:Ua},effect:{type:String,default:"light"},disabled:Boolean,clearable:Boolean,filterable:Boolean,allowCreate:Boolean,loading:Boolean,popperClass:{type:String,default:""},remote:Boolean,loadingText:String,noMatchText:String,noDataText:String,remoteMethod:Function,filterMethod:Function,multiple:Boolean,multipleLimit:{type:Number,default:0},placeholder:{type:String},defaultFirstOption:Boolean,reserveKeyword:{type:Boolean,default:!0},valueKey:{type:String,default:"value"},collapseTags:Boolean,collapseTagsTooltip:{type:Boolean,default:!1},teleported:Qi.teleported,persistent:{type:Boolean,default:!0},clearIcon:{type:[String,Object],default:Ul},fitInputWidth:{type:Boolean,default:!1},suffixIcon:{type:[String,Object],default:ap},tagType:Je(ze({},E2.type),{default:"info"})},emits:[Wt,Mu,"remove-tag","clear","visible-change","focus","blur"],setup(t,e){const n=Ze("select"),i=Ze("input"),{t:r}=Fn(),s=qG(t),{optionsArray:o,selectSize:a,readonly:l,handleResize:c,collapseTagSize:u,debouncedOnInputChange:O,debouncedQueryChange:f,deletePrevTag:h,deleteTag:p,deleteSelected:y,handleOptionSelect:$,scrollToOption:m,setSelected:d,resetInputHeight:g,managePlaceholder:v,showClose:b,selectDisabled:_,iconComponent:Q,iconReverse:S,showNewOption:P,emptyText:w,toggleLastOptionHitState:x,resetInputState:k,handleComposition:C,onOptionCreate:T,onOptionDestroy:E,handleMenuEnter:A,handleFocus:R,blur:X,handleBlur:U,handleClearClick:V,handleClose:j,toggleMenu:Y,selectOption:ee,getValueKey:se,navigateOptions:I,dropMenuVisible:ne,reference:H,input:re,tooltipRef:G,tags:Re,selectWrapper:_e,scrollbar:ue,queryChange:W,groupQueryChange:q}=UG(t,s,e),{focus:F}=r9(H),{inputWidth:fe,selected:he,inputLength:ve,filteredOptionsCount:xe,visible:me,softFocus:le,selectedLabel:oe,hoverIndex:ce,query:K,inputHovering:ge,currentPlaceholder:Te,menuVisibleOnFocus:Ye,isOnComposition:Ae,isSilentBlur:ae,options:pe,cachedOptions:Oe,optionsCount:Se,prefixWidth:qe,tagInMultiLine:ht}=xr(s),Ct=N(()=>{const Ut=[n.b()],Bn=M(a);return Bn&&Ut.push(n.m(Bn)),t.disabled&&Ut.push(n.m("disabled")),Ut}),Ot=N(()=>({maxWidth:`${M(fe)-32}px`,width:"100%"}));kt(mp,gn({props:t,options:pe,optionsArray:o,cachedOptions:Oe,optionsCount:Se,filteredOptionsCount:xe,hoverIndex:ce,handleOptionSelect:$,onOptionCreate:T,onOptionDestroy:E,selectWrapper:_e,selected:he,setSelected:d,queryChange:W,groupQueryChange:q})),xt(()=>{if(s.cachedPlaceHolder=Te.value=t.placeholder||r("el.select.placeholder"),t.multiple&&Array.isArray(t.modelValue)&&t.modelValue.length>0&&(Te.value=""),Gy(_e.value,c),H.value&&H.value.$el){const Ut=H.value.input;s.initialInputHeight=Ut.getBoundingClientRect().height}t.remote&&t.multiple&&g(),et(()=>{const Ut=H.value&&H.value.$el;if(!!Ut&&(fe.value=Ut.getBoundingClientRect().width,e.slots.prefix)){const Bn=Ut.querySelector(`.${i.e("prefix")}`);qe.value=Math.max(Bn.getBoundingClientRect().width+5,30)}}),d()}),Qn(()=>{Hy(_e.value,c)}),t.multiple&&!Array.isArray(t.modelValue)&&e.emit(Wt,[]),!t.multiple&&Array.isArray(t.modelValue)&&e.emit(Wt,"");const Pt=N(()=>{var Ut,Bn;return(Bn=(Ut=G.value)==null?void 0:Ut.popperRef)==null?void 0:Bn.contentRef});return{tagInMultiLine:ht,prefixWidth:qe,selectSize:a,readonly:l,handleResize:c,collapseTagSize:u,debouncedOnInputChange:O,debouncedQueryChange:f,deletePrevTag:h,deleteTag:p,deleteSelected:y,handleOptionSelect:$,scrollToOption:m,inputWidth:fe,selected:he,inputLength:ve,filteredOptionsCount:xe,visible:me,softFocus:le,selectedLabel:oe,hoverIndex:ce,query:K,inputHovering:ge,currentPlaceholder:Te,menuVisibleOnFocus:Ye,isOnComposition:Ae,isSilentBlur:ae,options:pe,resetInputHeight:g,managePlaceholder:v,showClose:b,selectDisabled:_,iconComponent:Q,iconReverse:S,showNewOption:P,emptyText:w,toggleLastOptionHitState:x,resetInputState:k,handleComposition:C,handleMenuEnter:A,handleFocus:R,blur:X,handleBlur:U,handleClearClick:V,handleClose:j,toggleMenu:Y,selectOption:ee,getValueKey:se,navigateOptions:I,dropMenuVisible:ne,focus:F,reference:H,input:re,tooltipRef:G,popperPaneRef:Pt,tags:Re,selectWrapper:_e,scrollbar:ue,wrapperKls:Ct,selectTagsStyle:Ot,nsSelect:n}}}),LG={class:"select-trigger"},BG=["disabled","autocomplete"],MG={style:{height:"100%",display:"flex","justify-content":"center","align-items":"center"}};function YG(t,e,n,i,r,s){const o=Pe("el-tag"),a=Pe("el-tooltip"),l=Pe("el-icon"),c=Pe("el-input"),u=Pe("el-option"),O=Pe("el-scrollbar"),f=Pe("el-select-menu"),h=Eo("click-outside");return it((L(),ie("div",{ref:"selectWrapper",class:te(t.wrapperKls),onClick:e[24]||(e[24]=Et((...p)=>t.toggleMenu&&t.toggleMenu(...p),["stop"]))},[B(a,{ref:"tooltipRef",visible:t.dropMenuVisible,"onUpdate:visible":e[23]||(e[23]=p=>t.dropMenuVisible=p),placement:"bottom-start",teleported:t.teleported,"popper-class":[t.nsSelect.e("popper"),t.popperClass],"fallback-placements":["bottom-start","top-start","right","left"],effect:t.effect,pure:"",trigger:"click",transition:`${t.nsSelect.namespace.value}-zoom-in-top`,"stop-popper-mouse-event":!1,"gpu-acceleration":!1,persistent:t.persistent,onShow:t.handleMenuEnter},{default:Z(()=>[D("div",LG,[t.multiple?(L(),ie("div",{key:0,ref:"tags",class:te(t.nsSelect.e("tags")),style:tt(t.selectTagsStyle)},[t.collapseTags&&t.selected.length?(L(),ie("span",{key:0,class:te([t.nsSelect.b("tags-wrapper"),{"has-prefix":t.prefixWidth&&t.selected.length}])},[B(o,{closable:!t.selectDisabled&&!t.selected[0].isDisabled,size:t.collapseTagSize,hit:t.selected[0].hitState,type:t.tagType,"disable-transitions":"",onClose:e[0]||(e[0]=p=>t.deleteTag(p,t.selected[0]))},{default:Z(()=>[D("span",{class:te(t.nsSelect.e("tags-text")),style:tt({maxWidth:t.inputWidth-123+"px"})},de(t.selected[0].currentLabel),7)]),_:1},8,["closable","size","hit","type"]),t.selected.length>1?(L(),be(o,{key:0,closable:!1,size:t.collapseTagSize,type:t.tagType,"disable-transitions":""},{default:Z(()=>[t.collapseTagsTooltip?(L(),be(a,{key:0,disabled:t.dropMenuVisible,"fallback-placements":["bottom","top","right","left"],effect:t.effect,placement:"bottom",teleported:!1},{default:Z(()=>[D("span",{class:te(t.nsSelect.e("tags-text"))},"+ "+de(t.selected.length-1),3)]),content:Z(()=>[D("div",{class:te(t.nsSelect.e("collapse-tags"))},[(L(!0),ie(Le,null,Rt(t.selected,(p,y)=>(L(),ie("div",{key:y,class:te(t.nsSelect.e("collapse-tag"))},[(L(),be(o,{key:t.getValueKey(p),class:"in-tooltip",closable:!t.selectDisabled&&!p.isDisabled,size:t.collapseTagSize,hit:p.hitState,type:t.tagType,"disable-transitions":"",style:{margin:"2px"},onClose:$=>t.deleteTag($,p)},{default:Z(()=>[D("span",{class:te(t.nsSelect.e("tags-text")),style:tt({maxWidth:t.inputWidth-75+"px"})},de(p.currentLabel),7)]),_:2},1032,["closable","size","hit","type","onClose"]))],2))),128))],2)]),_:1},8,["disabled","effect"])):(L(),ie("span",{key:1,class:te(t.nsSelect.e("tags-text"))},"+ "+de(t.selected.length-1),3))]),_:1},8,["size","type"])):Qe("v-if",!0)],2)):Qe("v-if",!0),Qe("
"),t.collapseTags?Qe("v-if",!0):(L(),be(ri,{key:1,onAfterLeave:t.resetInputHeight},{default:Z(()=>[D("span",{class:te([t.nsSelect.b("tags-wrapper"),{"has-prefix":t.prefixWidth&&t.selected.length}])},[(L(!0),ie(Le,null,Rt(t.selected,p=>(L(),be(o,{key:t.getValueKey(p),closable:!t.selectDisabled&&!p.isDisabled,size:t.collapseTagSize,hit:p.hitState,type:t.tagType,"disable-transitions":"",onClose:y=>t.deleteTag(y,p)},{default:Z(()=>[D("span",{class:te(t.nsSelect.e("tags-text")),style:tt({maxWidth:t.inputWidth-75+"px"})},de(p.currentLabel),7)]),_:2},1032,["closable","size","hit","type","onClose"]))),128))],2)]),_:1},8,["onAfterLeave"])),Qe("
"),t.filterable?it((L(),ie("input",{key:2,ref:"input","onUpdate:modelValue":e[1]||(e[1]=p=>t.query=p),type:"text",class:te([t.nsSelect.e("input"),t.nsSelect.is(t.selectSize)]),disabled:t.selectDisabled,autocomplete:t.autocomplete,style:tt({marginLeft:t.prefixWidth&&!t.selected.length||t.tagInMultiLine?`${t.prefixWidth}px`:"",flexGrow:1,width:`${t.inputLength/(t.inputWidth-32)}%`,maxWidth:`${t.inputWidth-42}px`}),onFocus:e[2]||(e[2]=(...p)=>t.handleFocus&&t.handleFocus(...p)),onBlur:e[3]||(e[3]=(...p)=>t.handleBlur&&t.handleBlur(...p)),onKeyup:e[4]||(e[4]=(...p)=>t.managePlaceholder&&t.managePlaceholder(...p)),onKeydown:[e[5]||(e[5]=(...p)=>t.resetInputState&&t.resetInputState(...p)),e[6]||(e[6]=Qt(Et(p=>t.navigateOptions("next"),["prevent"]),["down"])),e[7]||(e[7]=Qt(Et(p=>t.navigateOptions("prev"),["prevent"]),["up"])),e[8]||(e[8]=Qt(Et(p=>t.visible=!1,["stop","prevent"]),["esc"])),e[9]||(e[9]=Qt(Et((...p)=>t.selectOption&&t.selectOption(...p),["stop","prevent"]),["enter"])),e[10]||(e[10]=Qt((...p)=>t.deletePrevTag&&t.deletePrevTag(...p),["delete"])),e[11]||(e[11]=Qt(p=>t.visible=!1,["tab"]))],onCompositionstart:e[12]||(e[12]=(...p)=>t.handleComposition&&t.handleComposition(...p)),onCompositionupdate:e[13]||(e[13]=(...p)=>t.handleComposition&&t.handleComposition(...p)),onCompositionend:e[14]||(e[14]=(...p)=>t.handleComposition&&t.handleComposition(...p)),onInput:e[15]||(e[15]=(...p)=>t.debouncedQueryChange&&t.debouncedQueryChange(...p))},null,46,BG)),[[D6,t.query]]):Qe("v-if",!0)],6)):Qe("v-if",!0),B(c,{id:t.id,ref:"reference",modelValue:t.selectedLabel,"onUpdate:modelValue":e[16]||(e[16]=p=>t.selectedLabel=p),type:"text",placeholder:t.currentPlaceholder,name:t.name,autocomplete:t.autocomplete,size:t.selectSize,disabled:t.selectDisabled,readonly:t.readonly,"validate-event":!1,class:te([t.nsSelect.is("focus",t.visible)]),tabindex:t.multiple&&t.filterable?-1:void 0,onFocus:t.handleFocus,onBlur:t.handleBlur,onInput:t.debouncedOnInputChange,onPaste:t.debouncedOnInputChange,onCompositionstart:t.handleComposition,onCompositionupdate:t.handleComposition,onCompositionend:t.handleComposition,onKeydown:[e[17]||(e[17]=Qt(Et(p=>t.navigateOptions("next"),["stop","prevent"]),["down"])),e[18]||(e[18]=Qt(Et(p=>t.navigateOptions("prev"),["stop","prevent"]),["up"])),Qt(Et(t.selectOption,["stop","prevent"]),["enter"]),e[19]||(e[19]=Qt(Et(p=>t.visible=!1,["stop","prevent"]),["esc"])),e[20]||(e[20]=Qt(p=>t.visible=!1,["tab"]))],onMouseenter:e[21]||(e[21]=p=>t.inputHovering=!0),onMouseleave:e[22]||(e[22]=p=>t.inputHovering=!1)},Zd({suffix:Z(()=>[t.iconComponent&&!t.showClose?(L(),be(l,{key:0,class:te([t.nsSelect.e("caret"),t.nsSelect.e("icon"),t.iconReverse])},{default:Z(()=>[(L(),be(Vt(t.iconComponent)))]),_:1},8,["class"])):Qe("v-if",!0),t.showClose&&t.clearIcon?(L(),be(l,{key:1,class:te([t.nsSelect.e("caret"),t.nsSelect.e("icon")]),onClick:t.handleClearClick},{default:Z(()=>[(L(),be(Vt(t.clearIcon)))]),_:1},8,["class","onClick"])):Qe("v-if",!0)]),_:2},[t.$slots.prefix?{name:"prefix",fn:Z(()=>[D("div",MG,[We(t.$slots,"prefix")])])}:void 0]),1032,["id","modelValue","placeholder","name","autocomplete","size","disabled","readonly","class","tabindex","onFocus","onBlur","onInput","onPaste","onCompositionstart","onCompositionupdate","onCompositionend","onKeydown"])])]),content:Z(()=>[B(f,null,{default:Z(()=>[it(B(O,{ref:"scrollbar",tag:"ul","wrap-class":t.nsSelect.be("dropdown","wrap"),"view-class":t.nsSelect.be("dropdown","list"),class:te([t.nsSelect.is("empty",!t.allowCreate&&Boolean(t.query)&&t.filteredOptionsCount===0)])},{default:Z(()=>[t.showNewOption?(L(),be(u,{key:0,value:t.query,created:!0},null,8,["value"])):Qe("v-if",!0),We(t.$slots,"default")]),_:3},8,["wrap-class","view-class","class"]),[[Lt,t.options.size>0&&!t.loading]]),t.emptyText&&(!t.allowCreate||t.loading||t.allowCreate&&t.options.size===0)?(L(),ie(Le,{key:0},[t.$slots.empty?We(t.$slots,"empty",{key:0}):(L(),ie("p",{key:1,class:te(t.nsSelect.be("dropdown","empty"))},de(t.emptyText),3))],2112)):Qe("v-if",!0)]),_:3})]),_:3},8,["visible","teleported","popper-class","effect","transition","persistent","onShow"])],2)),[[h,t.handleClose,t.popperPaneRef]])}var ZG=Me(DG,[["render",YG],["__file","/home/runner/work/element-plus/element-plus/packages/components/select/src/select.vue"]]);const VG=Ce({name:"ElOptionGroup",componentName:"ElOptionGroup",props:{label:String,disabled:{type:Boolean,default:!1}},setup(t){const e=Ze("select"),n=J(!0),i=$t(),r=J([]);kt(sT,gn(ze({},xr(t))));const s=De(mp);xt(()=>{r.value=o(i.subTree)});const o=l=>{const c=[];return Array.isArray(l.children)&&l.children.forEach(u=>{var O;u.type&&u.type.name==="ElOption"&&u.component&&u.component.proxy?c.push(u.component.proxy):(O=u.children)!=null&&O.length&&c.push(...o(u))}),c},{groupQueryChange:a}=mt(s);return Ee(a,()=>{n.value=r.value.some(l=>l.visible===!0)}),{visible:n,ns:e}}});function jG(t,e,n,i,r,s){return it((L(),ie("ul",{class:te(t.ns.be("group","wrap"))},[D("li",{class:te(t.ns.be("group","title"))},de(t.label),3),D("li",null,[D("ul",{class:te(t.ns.b("group"))},[We(t.$slots,"default")],2)])],2)),[[Lt,t.visible]])}var oT=Me(VG,[["render",jG],["__file","/home/runner/work/element-plus/element-plus/packages/components/select/src/option-group.vue"]]);const y$=Gt(ZG,{Option:v$,OptionGroup:oT}),$$=Di(v$);Di(oT);const NG=lt({trigger:Vu.trigger,placement:mh.placement,disabled:Vu.disabled,visible:Qi.visible,transition:Qi.transition,popperOptions:mh.popperOptions,tabindex:mh.tabindex,content:Qi.content,popperStyle:Qi.popperStyle,popperClass:Qi.popperClass,enterable:Je(ze({},Qi.enterable),{default:!0}),effect:Je(ze({},Qi.effect),{default:"light"}),teleported:Qi.teleported,title:String,width:{type:[String,Number],default:150},offset:{type:Number,default:void 0},showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0},showArrow:{type:Boolean,default:!0},persistent:{type:Boolean,default:!0}}),FG=["update:visible","before-enter","before-leave","after-enter","after-leave"],GG="ElPopover",HG=Ce({name:GG,components:{ElTooltip:Rs},props:NG,emits:FG,setup(t,{emit:e}){const n=Ze("popover"),i=J(null),r=N(()=>{var p;return(p=M(i))==null?void 0:p.popperRef}),s=N(()=>ot(t.width)?t.width:`${t.width}px`),o=N(()=>[{width:s.value},t.popperStyle]),a=N(()=>[n.b(),t.popperClass,{[n.m("plain")]:!!t.content}]),l=N(()=>t.transition==="el-fade-in-linear");return{ns:n,kls:a,gpuAcceleration:l,style:o,tooltipRef:i,popperRef:r,hide:()=>{var p;(p=i.value)==null||p.hide()},beforeEnter:()=>{e("before-enter")},beforeLeave:()=>{e("before-leave")},afterEnter:()=>{e("after-enter")},afterLeave:()=>{e("update:visible",!1),e("after-leave")}}}});function KG(t,e,n,i,r,s){const o=Pe("el-tooltip");return L(),be(o,ii({ref:"tooltipRef"},t.$attrs,{trigger:t.trigger,placement:t.placement,disabled:t.disabled,visible:t.visible,transition:t.transition,"popper-options":t.popperOptions,tabindex:t.tabindex,content:t.content,offset:t.offset,"show-after":t.showAfter,"hide-after":t.hideAfter,"auto-close":t.autoClose,"show-arrow":t.showArrow,"aria-label":t.title,effect:t.effect,enterable:t.enterable,"popper-class":t.kls,"popper-style":t.style,teleported:t.teleported,persistent:t.persistent,"gpu-acceleration":t.gpuAcceleration,onBeforeShow:t.beforeEnter,onBeforeHide:t.beforeLeave,onShow:t.afterEnter,onHide:t.afterLeave}),{content:Z(()=>[t.title?(L(),ie("div",{key:0,class:te(t.ns.e("title")),role:"title"},de(t.title),3)):Qe("v-if",!0),We(t.$slots,"default",{},()=>[Xe(de(t.content),1)])]),default:Z(()=>[t.$slots.reference?We(t.$slots,"reference",{key:0}):Qe("v-if",!0)]),_:3},16,["trigger","placement","disabled","visible","transition","popper-options","tabindex","content","offset","show-after","hide-after","auto-close","show-arrow","aria-label","effect","enterable","popper-class","popper-style","teleported","persistent","gpu-acceleration","onBeforeShow","onBeforeHide","onShow","onHide"])}var gu=Me(HG,[["render",KG],["__file","/home/runner/work/element-plus/element-plus/packages/components/popover/src/index.vue"]]);const uQ=(t,e)=>{const n=e.arg||e.value,i=n==null?void 0:n.popperRef;i&&(i.triggerRef=t)};var Ug={mounted(t,e){uQ(t,e)},updated(t,e){uQ(t,e)}};const JG="popover";gu.install=t=>{t.component(gu.name,gu)};Ug.install=t=>{t.directive(JG,Ug)};const eH=Ug;gu.directive=eH;const tH=gu,aT=tH,nH=lt({type:{type:String,default:"line",values:["line","circle","dashboard"]},percentage:{type:Number,default:0,validator:t=>t>=0&&t<=100},status:{type:String,default:"",values:["","success","exception","warning"]},indeterminate:{type:Boolean,default:!1},duration:{type:Number,default:3},strokeWidth:{type:Number,default:6},strokeLinecap:{type:Ne(String),default:"round"},textInside:{type:Boolean,default:!1},width:{type:Number,default:126},showText:{type:Boolean,default:!0},color:{type:Ne([String,Array,Function]),default:""},format:{type:Ne(Function),default:t=>`${t}%`}}),iH=Ce({name:"ElProgress",components:{ElIcon:wt,CircleCheck:vg,CircleClose:Ul,Check:g_,Close:xa,WarningFilled:Gh},props:nH,setup(t){const e=Ze("progress"),n=N(()=>({width:`${t.percentage}%`,animationDuration:`${t.duration}s`,backgroundColor:y(t.percentage)})),i=N(()=>(t.strokeWidth/t.width*100).toFixed(1)),r=N(()=>t.type==="circle"||t.type==="dashboard"?Number.parseInt(`${50-Number.parseFloat(i.value)/2}`,10):0),s=N(()=>{const m=r.value,d=t.type==="dashboard";return` - M 50 50 - m 0 ${d?"":"-"}${m} - a ${m} ${m} 0 1 1 0 ${d?"-":""}${m*2} - a ${m} ${m} 0 1 1 0 ${d?"":"-"}${m*2} - `}),o=N(()=>2*Math.PI*r.value),a=N(()=>t.type==="dashboard"?.75:1),l=N(()=>`${-1*o.value*(1-a.value)/2}px`),c=N(()=>({strokeDasharray:`${o.value*a.value}px, ${o.value}px`,strokeDashoffset:l.value})),u=N(()=>({strokeDasharray:`${o.value*a.value*(t.percentage/100)}px, ${o.value}px`,strokeDashoffset:l.value,transition:"stroke-dasharray 0.6s ease 0s, stroke 0.6s ease"})),O=N(()=>{let m;if(t.color)m=y(t.percentage);else switch(t.status){case"success":m="#13ce66";break;case"exception":m="#ff4949";break;case"warning":m="#e6a23c";break;default:m="#20a0ff"}return m}),f=N(()=>t.status==="warning"?Gh:t.type==="line"?t.status==="success"?vg:Ul:t.status==="success"?g_:xa),h=N(()=>t.type==="line"?12+t.strokeWidth*.4:t.width*.111111+2),p=N(()=>t.format(t.percentage)),y=m=>{var d;const{color:g}=t;if(typeof g=="function")return g(m);if(typeof g=="string")return g;{const v=100/g.length,_=g.map((Q,S)=>typeof Q=="string"?{color:Q,percentage:(S+1)*v}:Q).sort((Q,S)=>Q.percentage-S.percentage);for(const Q of _)if(Q.percentage>m)return Q.color;return(d=_[_.length-1])==null?void 0:d.color}},$=N(()=>({percentage:t.percentage}));return{ns:e,barStyle:n,relativeStrokeWidth:i,radius:r,trackPath:s,perimeter:o,rate:a,strokeDashoffset:l,trailPathStyle:c,circlePathStyle:u,stroke:O,statusIcon:f,progressTextSize:h,content:p,slotData:$}}}),rH=["aria-valuenow"],sH={viewBox:"0 0 100 100"},oH=["d","stroke","stroke-width"],aH=["d","stroke","stroke-linecap","stroke-width"],lH={key:0};function cH(t,e,n,i,r,s){const o=Pe("el-icon");return L(),ie("div",{class:te([t.ns.b(),t.ns.m(t.type),t.ns.is(t.status),{[t.ns.m("without-text")]:!t.showText,[t.ns.m("text-inside")]:t.textInside}]),role:"progressbar","aria-valuenow":t.percentage,"aria-valuemin":"0","aria-valuemax":"100"},[t.type==="line"?(L(),ie("div",{key:0,class:te(t.ns.b("bar"))},[D("div",{class:te(t.ns.be("bar","outer")),style:tt({height:`${t.strokeWidth}px`})},[D("div",{class:te([t.ns.be("bar","inner"),{[t.ns.bem("bar","inner","indeterminate")]:t.indeterminate}]),style:tt(t.barStyle)},[(t.showText||t.$slots.default)&&t.textInside?(L(),ie("div",{key:0,class:te(t.ns.be("bar","innerText"))},[We(t.$slots,"default",Mm(Bh(t.slotData)),()=>[D("span",null,de(t.content),1)])],2)):Qe("v-if",!0)],6)],6)],2)):(L(),ie("div",{key:1,class:te(t.ns.b("circle")),style:tt({height:`${t.width}px`,width:`${t.width}px`})},[(L(),ie("svg",sH,[D("path",{class:te(t.ns.be("circle","track")),d:t.trackPath,stroke:`var(${t.ns.cssVarName("fill-color-light")}, #e5e9f2)`,"stroke-width":t.relativeStrokeWidth,fill:"none",style:tt(t.trailPathStyle)},null,14,oH),D("path",{class:te(t.ns.be("circle","path")),d:t.trackPath,stroke:t.stroke,fill:"none","stroke-linecap":t.strokeLinecap,"stroke-width":t.percentage?t.relativeStrokeWidth:0,style:tt(t.circlePathStyle)},null,14,aH)]))],6)),(t.showText||t.$slots.default)&&!t.textInside?(L(),ie("div",{key:2,class:te(t.ns.e("text")),style:tt({fontSize:`${t.progressTextSize}px`})},[We(t.$slots,"default",Mm(Bh(t.slotData)),()=>[t.status?(L(),be(o,{key:1},{default:Z(()=>[(L(),be(Vt(t.statusIcon)))]),_:1})):(L(),ie("span",lH,de(t.content),1))])],6)):Qe("v-if",!0)],10,rH)}var uH=Me(iH,[["render",cH],["__file","/home/runner/work/element-plus/element-plus/packages/components/progress/src/progress.vue"]]);const lT=Gt(uH),fH=lt({modelValue:{type:[Boolean,String,Number],default:!1},value:{type:[Boolean,String,Number],default:!1},disabled:{type:Boolean,default:!1},width:{type:[String,Number],default:""},inlinePrompt:{type:Boolean,default:!1},activeIcon:{type:_s,default:""},inactiveIcon:{type:_s,default:""},activeText:{type:String,default:""},inactiveText:{type:String,default:""},activeColor:{type:String,default:""},inactiveColor:{type:String,default:""},borderColor:{type:String,default:""},activeValue:{type:[Boolean,String,Number],default:!0},inactiveValue:{type:[Boolean,String,Number],default:!1},name:{type:String,default:""},validateEvent:{type:Boolean,default:!0},id:String,loading:{type:Boolean,default:!1},beforeChange:{type:Ne(Function)},size:{type:String,validator:Ua}}),OH={[Wt]:t=>Ji(t)||ot(t)||Bt(t),[Mu]:t=>Ji(t)||ot(t)||Bt(t),[$g]:t=>Ji(t)||ot(t)||Bt(t)},fQ="ElSwitch",hH=Ce({name:fQ,components:{ElIcon:wt,Loading:vf},props:fH,emits:OH,setup(t,{emit:e}){const{formItem:n}=yf(),i=hc(N(()=>t.loading)),r=Ze("switch"),{inputId:s}=$f(t,{formItemContext:n}),o=Dn(),a=J(t.modelValue!==!1),l=J(),c=J(),u=N(()=>[r.b(),r.m(o.value),r.is("disabled",i.value),r.is("checked",h.value)]),O=N(()=>({width:wr(t.width)}));Ee(()=>t.modelValue,()=>{a.value=!0}),Ee(()=>t.value,()=>{a.value=!1});const f=N(()=>a.value?t.modelValue:t.value),h=N(()=>f.value===t.activeValue);[t.activeValue,t.inactiveValue].includes(f.value)||(e(Wt,t.inactiveValue),e(Mu,t.inactiveValue),e($g,t.inactiveValue)),Ee(h,()=>{var d;l.value.checked=h.value,(t.activeColor||t.inactiveColor)&&$(),t.validateEvent&&((d=n==null?void 0:n.validate)==null||d.call(n,"change").catch(g=>void 0))});const p=()=>{const d=h.value?t.inactiveValue:t.activeValue;e(Wt,d),e(Mu,d),e($g,d),et(()=>{l.value.checked=h.value})},y=()=>{if(i.value)return;const{beforeChange:d}=t;if(!d){p();return}const g=d();[Wh(g),Ji(g)].some(b=>b)||Wo(fQ,"beforeChange must return type `Promise` or `boolean`"),Wh(g)?g.then(b=>{b&&p()}).catch(b=>{}):g&&p()},$=()=>{const d=h.value?t.activeColor:t.inactiveColor,g=c.value;t.borderColor?g.style.borderColor=t.borderColor:t.borderColor||(g.style.borderColor=d),g.style.backgroundColor=d,g.children[0].style.color=d},m=()=>{var d,g;(g=(d=l.value)==null?void 0:d.focus)==null||g.call(d)};return xt(()=>{(t.activeColor||t.inactiveColor||t.borderColor)&&$(),l.value.checked=h.value}),{ns:r,input:l,inputId:s,core:c,switchDisabled:i,checked:h,switchKls:u,coreStyle:O,handleChange:p,switchValue:y,focus:m}}}),dH=["id","aria-checked","aria-disabled","name","true-value","false-value","disabled"],pH=["aria-hidden"],mH=["aria-hidden"],gH=["aria-hidden"],vH=["aria-hidden"];function yH(t,e,n,i,r,s){const o=Pe("el-icon"),a=Pe("loading");return L(),ie("div",{class:te(t.switchKls),onClick:e[2]||(e[2]=Et((...l)=>t.switchValue&&t.switchValue(...l),["prevent"]))},[D("input",{id:t.inputId,ref:"input",class:te(t.ns.e("input")),type:"checkbox",role:"switch","aria-checked":t.checked,"aria-disabled":t.switchDisabled,name:t.name,"true-value":t.activeValue,"false-value":t.inactiveValue,disabled:t.switchDisabled,onChange:e[0]||(e[0]=(...l)=>t.handleChange&&t.handleChange(...l)),onKeydown:e[1]||(e[1]=Qt((...l)=>t.switchValue&&t.switchValue(...l),["enter"]))},null,42,dH),!t.inlinePrompt&&(t.inactiveIcon||t.inactiveText)?(L(),ie("span",{key:0,class:te([t.ns.e("label"),t.ns.em("label","left"),t.ns.is("active",!t.checked)])},[t.inactiveIcon?(L(),be(o,{key:0},{default:Z(()=>[(L(),be(Vt(t.inactiveIcon)))]),_:1})):Qe("v-if",!0),!t.inactiveIcon&&t.inactiveText?(L(),ie("span",{key:1,"aria-hidden":t.checked},de(t.inactiveText),9,pH)):Qe("v-if",!0)],2)):Qe("v-if",!0),D("span",{ref:"core",class:te(t.ns.e("core")),style:tt(t.coreStyle)},[t.inlinePrompt?(L(),ie("div",{key:0,class:te(t.ns.e("inner"))},[t.activeIcon||t.inactiveIcon?(L(),ie(Le,{key:0},[t.activeIcon?(L(),be(o,{key:0,class:te([t.ns.is("icon"),t.checked?t.ns.is("show"):t.ns.is("hide")])},{default:Z(()=>[(L(),be(Vt(t.activeIcon)))]),_:1},8,["class"])):Qe("v-if",!0),t.inactiveIcon?(L(),be(o,{key:1,class:te([t.ns.is("icon"),t.checked?t.ns.is("hide"):t.ns.is("show")])},{default:Z(()=>[(L(),be(Vt(t.inactiveIcon)))]),_:1},8,["class"])):Qe("v-if",!0)],64)):t.activeText||t.inactiveIcon?(L(),ie(Le,{key:1},[t.activeText?(L(),ie("span",{key:0,class:te([t.ns.is("text"),t.checked?t.ns.is("show"):t.ns.is("hide")]),"aria-hidden":!t.checked},de(t.activeText.substring(0,3)),11,mH)):Qe("v-if",!0),t.inactiveText?(L(),ie("span",{key:1,class:te([t.ns.is("text"),t.checked?t.ns.is("hide"):t.ns.is("show")]),"aria-hidden":t.checked},de(t.inactiveText.substring(0,3)),11,gH)):Qe("v-if",!0)],64)):Qe("v-if",!0)],2)):Qe("v-if",!0),D("div",{class:te(t.ns.e("action"))},[t.loading?(L(),be(o,{key:0,class:te(t.ns.is("loading"))},{default:Z(()=>[B(a)]),_:1},8,["class"])):Qe("v-if",!0)],2)],6),!t.inlinePrompt&&(t.activeIcon||t.activeText)?(L(),ie("span",{key:1,class:te([t.ns.e("label"),t.ns.em("label","right"),t.ns.is("active",t.checked)])},[t.activeIcon?(L(),be(o,{key:0},{default:Z(()=>[(L(),be(Vt(t.activeIcon)))]),_:1})):Qe("v-if",!0),!t.activeIcon&&t.activeText?(L(),ie("span",{key:1,"aria-hidden":!t.checked},de(t.activeText),9,vH)):Qe("v-if",!0)],2)):Qe("v-if",!0)],2)}var $H=Me(hH,[["render",yH],["__file","/home/runner/work/element-plus/element-plus/packages/components/switch/src/switch.vue"]]);const cT=Gt($H);/*! - * escape-html - * Copyright(c) 2012-2013 TJ Holowaychuk - * Copyright(c) 2015 Andreas Lubbe - * Copyright(c) 2015 Tiancheng "Timothy" Gu - * MIT Licensed - */var bH=/["'&<>]/,_H=QH;function QH(t){var e=""+t,n=bH.exec(e);if(!n)return e;var i,r="",s=0,o=0;for(s=n.index;stypeof c=="string"?ei(a,c):c(a,l,t))):(e!=="$key"&&OQ(a)&&"$value"in a&&(a=a.$value),[OQ(a)?ei(a,e):a])},o=function(a,l){if(i)return i(a.value,l.value);for(let c=0,u=a.key.length;cl.key[c])return 1}return 0};return t.map((a,l)=>({value:a,index:l,key:s?s(a,l):null})).sort((a,l)=>{let c=o(a,l);return c||(c=a.index-l.index),c*+n}).map(a=>a.value)},uT=function(t,e){let n=null;return t.columns.forEach(i=>{i.id===e&&(n=i)}),n},wH=function(t,e){let n=null;for(let i=0;i{if(!t)throw new Error("Row is required when get row identity");if(typeof e=="string"){if(!e.includes("."))return`${t[e]}`;const n=e.split(".");let i=t;for(const r of n)i=i[r];return`${i}`}else if(typeof e=="function")return e.call(null,t)},ha=function(t,e){const n={};return(t||[]).forEach((i,r)=>{n[zn(i,e)]={row:i,index:r}}),n};function xH(t,e){const n={};let i;for(i in t)n[i]=t[i];for(i in e)if(ct(e,i)){const r=e[i];typeof r!="undefined"&&(n[i]=r)}return n}function b$(t){return t===""||t!==void 0&&(t=Number.parseInt(t,10),Number.isNaN(t)&&(t="")),t}function fT(t){return t===""||t!==void 0&&(t=b$(t),Number.isNaN(t)&&(t=80)),t}function Dg(t){return typeof t=="number"?t:typeof t=="string"?/^\d+(?:px)?$/.test(t)?Number.parseInt(t,10):t:null}function PH(...t){return t.length===0?e=>e:t.length===1?t[0]:t.reduce((e,n)=>(...i)=>e(n(...i)))}function vh(t,e,n){let i=!1;const r=t.indexOf(e),s=r!==-1,o=()=>{t.push(e),i=!0},a=()=>{t.splice(r,1),i=!0};return typeof n=="boolean"?n&&!s?o():!n&&s&&a():s?a():o(),i}function kH(t,e,n="children",i="hasChildren"){const r=o=>!(Array.isArray(o)&&o.length);function s(o,a,l){e(o,a,l),a.forEach(c=>{if(c[i]){e(c,null,l+1);return}const u=c[n];r(u)||s(c,u,l+1)})}t.forEach(o=>{if(o[i]){e(o,null,0);return}const a=o[n];r(a)||s(o,a,0)})}let Jh;function CH(t,e,n,i){const{nextZIndex:r}=La();function s(){const O=i==="light",f=document.createElement("div");return f.className=`el-popper ${O?"is-light":"is-dark"}`,e=_H(e),f.innerHTML=e,f.style.zIndex=String(r()),document.body.appendChild(f),f}function o(){const O=document.createElement("div");return O.className="el-popper__arrow",O}function a(){l&&l.update()}Jh=function O(){try{l&&l.destroy(),c&&document.body.removeChild(c),So(t,"mouseenter",a),So(t,"mouseleave",O)}catch{}};let l=null;const c=s(),u=o();return c.appendChild(u),l=n2(t,c,ze({modifiers:[{name:"offset",options:{offset:[0,8]}},{name:"arrow",options:{element:u,padding:10}}]},n)),bs(t,"mouseenter",a),bs(t,"mouseleave",Jh),l}const OT=(t,e,n,i)=>{let r=0,s=t;if(i){if(i[t].colSpan>1)return{};for(let l=0;l=a.value.length-n.states.rightFixedLeafColumnsLength.value&&(o="right");break;default:s=a.value.length-n.states.rightFixedLeafColumnsLength.value&&(o="right")}return o?{direction:o,start:r,after:s}:{}},_$=(t,e,n,i,r)=>{const s=[],{direction:o,start:a}=OT(e,n,i,r);if(o){const l=o==="left";s.push(`${t}-fixed-column--${o}`),l&&a===i.states.fixedLeafColumnsLength.value-1?s.push("is-last-column"):!l&&a===i.states.columns.value.length-i.states.rightFixedLeafColumnsLength.value&&s.push("is-first-column")}return s};function dQ(t,e){return t+(e.realWidth===null||Number.isNaN(e.realWidth)?Number(e.width):e.realWidth)}const Q$=(t,e,n,i)=>{const{direction:r,start:s=0}=OT(t,e,n,i);if(!r)return;const o={},a=r==="left",l=n.states.columns.value;return a?o.left=l.slice(0,t).reduce(dQ,0):o.right=l.slice(s+1).reverse().reduce(dQ,0),o},Vl=(t,e)=>{!t||Number.isNaN(t[e])||(t[e]=`${t[e]}px`)};function TH(t){const e=$t(),n=J(!1),i=J([]);return{updateExpandRows:()=>{const l=t.data.value||[],c=t.rowKey.value;if(n.value)i.value=l.slice();else if(c){const u=ha(i.value,c);i.value=l.reduce((O,f)=>{const h=zn(f,c);return u[h]&&O.push(f),O},[])}else i.value=[]},toggleRowExpansion:(l,c)=>{vh(i.value,l,c)&&e.emit("expand-change",l,i.value.slice())},setExpandRowKeys:l=>{e.store.assertRowKey();const c=t.data.value||[],u=t.rowKey.value,O=ha(c,u);i.value=l.reduce((f,h)=>{const p=O[h];return p&&f.push(p.row),f},[])},isRowExpanded:l=>{const c=t.rowKey.value;return c?!!ha(i.value,c)[zn(l,c)]:i.value.includes(l)},states:{expandRows:i,defaultExpandAll:n}}}function RH(t){const e=$t(),n=J(null),i=J(null),r=c=>{e.store.assertRowKey(),n.value=c,o(c)},s=()=>{n.value=null},o=c=>{const{data:u,rowKey:O}=t;let f=null;O.value&&(f=(M(u)||[]).find(h=>zn(h,O.value)===c)),i.value=f,e.emit("current-change",i.value,null)};return{setCurrentRowKey:r,restoreCurrentRowKey:s,setCurrentRowByKey:o,updateCurrentRow:c=>{const u=i.value;if(c&&c!==u){i.value=c,e.emit("current-change",i.value,u);return}!c&&u&&(i.value=null,e.emit("current-change",null,u))},updateCurrentRowData:()=>{const c=t.rowKey.value,u=t.data.value||[],O=i.value;if(!u.includes(O)&&O){if(c){const f=zn(O,c);o(f)}else i.value=null;i.value===null&&e.emit("current-change",null,O)}else n.value&&(o(n.value),s())},states:{_currentRowKey:n,currentRow:i}}}function AH(t){const e=J([]),n=J({}),i=J(16),r=J(!1),s=J({}),o=J("hasChildren"),a=J("children"),l=$t(),c=N(()=>{if(!t.rowKey.value)return{};const m=t.data.value||[];return O(m)}),u=N(()=>{const m=t.rowKey.value,d=Object.keys(s.value),g={};return d.length&&d.forEach(v=>{if(s.value[v].length){const b={children:[]};s.value[v].forEach(_=>{const Q=zn(_,m);b.children.push(Q),_[o.value]&&!g[Q]&&(g[Q]={children:[]})}),g[v]=b}}),g}),O=m=>{const d=t.rowKey.value,g={};return kH(m,(v,b,_)=>{const Q=zn(v,d);Array.isArray(b)?g[Q]={children:b.map(S=>zn(S,d)),level:_}:r.value&&(g[Q]={children:[],lazy:!0,level:_})},a.value,o.value),g},f=(m=!1,d=(g=>(g=l.store)==null?void 0:g.states.defaultExpandAll.value)())=>{var g;const v=c.value,b=u.value,_=Object.keys(v),Q={};if(_.length){const S=M(n),P=[],w=(k,C)=>{if(m)return e.value?d||e.value.includes(C):!!(d||(k==null?void 0:k.expanded));{const T=d||e.value&&e.value.includes(C);return!!((k==null?void 0:k.expanded)||T)}};_.forEach(k=>{const C=S[k],T=ze({},v[k]);if(T.expanded=w(C,k),T.lazy){const{loaded:E=!1,loading:A=!1}=C||{};T.loaded=!!E,T.loading=!!A,P.push(k)}Q[k]=T});const x=Object.keys(b);r.value&&x.length&&P.length&&x.forEach(k=>{const C=S[k],T=b[k].children;if(P.includes(k)){if(Q[k].children.length!==0)throw new Error("[ElTable]children must be an empty array.");Q[k].children=T}else{const{loaded:E=!1,loading:A=!1}=C||{};Q[k]={lazy:!0,loaded:!!E,loading:!!A,expanded:w(C,k),children:T,level:""}}})}n.value=Q,(g=l.store)==null||g.updateTableScrollY()};Ee(()=>e.value,()=>{f(!0)}),Ee(()=>c.value,()=>{f()}),Ee(()=>u.value,()=>{f()});const h=m=>{e.value=m,f()},p=(m,d)=>{l.store.assertRowKey();const g=t.rowKey.value,v=zn(m,g),b=v&&n.value[v];if(v&&b&&"expanded"in b){const _=b.expanded;d=typeof d=="undefined"?!b.expanded:d,n.value[v].expanded=d,_!==d&&l.emit("expand-change",m,d),l.store.updateTableScrollY()}},y=m=>{l.store.assertRowKey();const d=t.rowKey.value,g=zn(m,d),v=n.value[g];r.value&&v&&"loaded"in v&&!v.loaded?$(m,g,v):p(m,void 0)},$=(m,d,g)=>{const{load:v}=l.props;v&&!n.value[d].loaded&&(n.value[d].loading=!0,v(m,g,b=>{if(!Array.isArray(b))throw new TypeError("[ElTable] data must be an array");n.value[d].loading=!1,n.value[d].loaded=!0,n.value[d].expanded=!0,b.length&&(s.value[d]=b),l.emit("expand-change",m,!0)}))};return{loadData:$,loadOrToggle:y,toggleTreeExpansion:p,updateTreeExpandKeys:h,updateTreeData:f,normalize:O,states:{expandRowKeys:e,treeData:n,indent:i,lazy:r,lazyTreeNodeMap:s,lazyColumnIdentifier:o,childrenColumnName:a}}}const EH=(t,e)=>{const n=e.sortingColumn;return!n||typeof n.sortable=="string"?t:SH(t,e.sortProp,e.sortOrder,n.sortMethod,n.sortBy)},yh=t=>{const e=[];return t.forEach(n=>{n.children?e.push.apply(e,yh(n.children)):e.push(n)}),e};function XH(){var t;const e=$t(),{size:n}=xr((t=e.proxy)==null?void 0:t.$props),i=J(null),r=J([]),s=J([]),o=J(!1),a=J([]),l=J([]),c=J([]),u=J([]),O=J([]),f=J([]),h=J([]),p=J([]),y=J(0),$=J(0),m=J(0),d=J(!1),g=J([]),v=J(!1),b=J(!1),_=J(null),Q=J({}),S=J(null),P=J(null),w=J(null),x=J(null),k=J(null);Ee(r,()=>e.state&&E(!1),{deep:!0});const C=()=>{if(!i.value)throw new Error("[ElTable] prop row-key is required")},T=()=>{u.value=a.value.filter(Se=>Se.fixed===!0||Se.fixed==="left"),O.value=a.value.filter(Se=>Se.fixed==="right"),u.value.length>0&&a.value[0]&&a.value[0].type==="selection"&&!a.value[0].fixed&&(a.value[0].fixed=!0,u.value.unshift(a.value[0]));const Ae=a.value.filter(Se=>!Se.fixed);l.value=[].concat(u.value).concat(Ae).concat(O.value);const ae=yh(Ae),pe=yh(u.value),Oe=yh(O.value);y.value=ae.length,$.value=pe.length,m.value=Oe.length,c.value=[].concat(pe).concat(ae).concat(Oe),o.value=u.value.length>0||O.value.length>0},E=(Ae,ae=!1)=>{Ae&&T(),ae?e.state.doLayout():e.state.debouncedUpdateLayout()},A=Ae=>g.value.includes(Ae),R=()=>{d.value=!1,g.value.length&&(g.value=[],e.emit("selection-change",[]))},X=()=>{let Ae;if(i.value){Ae=[];const ae=ha(g.value,i.value),pe=ha(r.value,i.value);for(const Oe in ae)ct(ae,Oe)&&!pe[Oe]&&Ae.push(ae[Oe].row)}else Ae=g.value.filter(ae=>!r.value.includes(ae));if(Ae.length){const ae=g.value.filter(pe=>!Ae.includes(pe));g.value=ae,e.emit("selection-change",ae.slice())}},U=()=>(g.value||[]).slice(),V=(Ae,ae=void 0,pe=!0)=>{if(vh(g.value,Ae,ae)){const Se=(g.value||[]).slice();pe&&e.emit("select",Se,Ae),e.emit("selection-change",Se)}},j=()=>{var Ae,ae;const pe=b.value?!d.value:!(d.value||g.value.length);d.value=pe;let Oe=!1,Se=0;const qe=(ae=(Ae=e==null?void 0:e.store)==null?void 0:Ae.states)==null?void 0:ae.rowKey.value;r.value.forEach((ht,Ct)=>{const Ot=Ct+Se;_.value?_.value.call(null,ht,Ot)&&vh(g.value,ht,pe)&&(Oe=!0):vh(g.value,ht,pe)&&(Oe=!0),Se+=se(zn(ht,qe))}),Oe&&e.emit("selection-change",g.value?g.value.slice():[]),e.emit("select-all",g.value)},Y=()=>{const Ae=ha(g.value,i.value);r.value.forEach(ae=>{const pe=zn(ae,i.value),Oe=Ae[pe];Oe&&(g.value[Oe.index]=ae)})},ee=()=>{var Ae,ae,pe;if(((Ae=r.value)==null?void 0:Ae.length)===0){d.value=!1;return}let Oe;i.value&&(Oe=ha(g.value,i.value));const Se=function(Ot){return Oe?!!Oe[zn(Ot,i.value)]:g.value.includes(Ot)};let qe=!0,ht=0,Ct=0;for(let Ot=0,Pt=(r.value||[]).length;Ot{var ae;if(!e||!e.store)return 0;const{treeData:pe}=e.store.states;let Oe=0;const Se=(ae=pe.value[Ae])==null?void 0:ae.children;return Se&&(Oe+=Se.length,Se.forEach(qe=>{Oe+=se(qe)})),Oe},I=(Ae,ae)=>{Array.isArray(Ae)||(Ae=[Ae]);const pe={};return Ae.forEach(Oe=>{Q.value[Oe.id]=ae,pe[Oe.columnKey||Oe.id]=ae}),pe},ne=(Ae,ae,pe)=>{P.value&&P.value!==Ae&&(P.value.order=null),P.value=Ae,w.value=ae,x.value=pe},H=()=>{let Ae=M(s);Object.keys(Q.value).forEach(ae=>{const pe=Q.value[ae];if(!pe||pe.length===0)return;const Oe=uT({columns:c.value},ae);Oe&&Oe.filterMethod&&(Ae=Ae.filter(Se=>pe.some(qe=>Oe.filterMethod.call(null,qe,Se,Oe))))}),S.value=Ae},re=()=>{r.value=EH(S.value,{sortingColumn:P.value,sortProp:w.value,sortOrder:x.value})},G=(Ae=void 0)=>{Ae&&Ae.filter||H(),re()},Re=Ae=>{const{tableHeaderRef:ae}=e.refs;if(!ae)return;const pe=Object.assign({},ae.filterPanels),Oe=Object.keys(pe);if(!!Oe.length)if(typeof Ae=="string"&&(Ae=[Ae]),Array.isArray(Ae)){const Se=Ae.map(qe=>wH({columns:c.value},qe));Oe.forEach(qe=>{const ht=Se.find(Ct=>Ct.id===qe);ht&&(ht.filteredValue=[])}),e.store.commit("filterChange",{column:Se,values:[],silent:!0,multi:!0})}else Oe.forEach(Se=>{const qe=c.value.find(ht=>ht.id===Se);qe&&(qe.filteredValue=[])}),Q.value={},e.store.commit("filterChange",{column:{},values:[],silent:!0})},_e=()=>{!P.value||(ne(null,null,null),e.store.commit("changeSortCondition",{silent:!0}))},{setExpandRowKeys:ue,toggleRowExpansion:W,updateExpandRows:q,states:F,isRowExpanded:fe}=TH({data:r,rowKey:i}),{updateTreeExpandKeys:he,toggleTreeExpansion:ve,updateTreeData:xe,loadOrToggle:me,states:le}=AH({data:r,rowKey:i}),{updateCurrentRowData:oe,updateCurrentRow:ce,setCurrentRowKey:K,states:ge}=RH({data:r,rowKey:i});return{assertRowKey:C,updateColumns:T,scheduleLayout:E,isSelected:A,clearSelection:R,cleanSelection:X,getSelectionRows:U,toggleRowSelection:V,_toggleAllSelection:j,toggleAllSelection:null,updateSelectionByRowKey:Y,updateAllSelected:ee,updateFilters:I,updateCurrentRow:ce,updateSort:ne,execFilter:H,execSort:re,execQuery:G,clearFilter:Re,clearSort:_e,toggleRowExpansion:W,setExpandRowKeysAdapter:Ae=>{ue(Ae),he(Ae)},setCurrentRowKey:K,toggleRowExpansionAdapter:(Ae,ae)=>{c.value.some(({type:Oe})=>Oe==="expand")?W(Ae,ae):ve(Ae,ae)},isRowExpanded:fe,updateExpandRows:q,updateCurrentRowData:oe,loadOrToggle:me,updateTreeData:xe,states:ze(ze(ze({tableSize:n,rowKey:i,data:r,_data:s,isComplex:o,_columns:a,originColumns:l,columns:c,fixedColumns:u,rightFixedColumns:O,leafColumns:f,fixedLeafColumns:h,rightFixedLeafColumns:p,leafColumnsLength:y,fixedLeafColumnsLength:$,rightFixedLeafColumnsLength:m,isAllSelected:d,selection:g,reserveSelection:v,selectOnIndeterminate:b,selectable:_,filters:Q,filteredData:S,sortingColumn:P,sortProp:w,sortOrder:x,hoverRow:k},F),le),ge)}}function Lg(t,e){return t.map(n=>{var i;return n.id===e.id?e:((i=n.children)!=null&&i.length&&(n.children=Lg(n.children,e)),n)})}function hT(t){t.forEach(e=>{var n,i;e.no=(n=e.getColumnIndex)==null?void 0:n.call(e),(i=e.children)!=null&&i.length&&hT(e.children)}),t.sort((e,n)=>e.no-n.no)}function WH(){const t=$t(),e=XH(),n=Ze("table"),i={setData(o,a){const l=M(o._data)!==a;o.data.value=a,o._data.value=a,t.store.execQuery(),t.store.updateCurrentRowData(),t.store.updateExpandRows(),t.store.updateTreeData(t.store.states.defaultExpandAll.value),M(o.reserveSelection)?(t.store.assertRowKey(),t.store.updateSelectionByRowKey()):l?t.store.clearSelection():t.store.cleanSelection(),t.store.updateAllSelected(),t.$ready&&t.store.scheduleLayout()},insertColumn(o,a,l){const c=M(o._columns);let u=[];l?(l&&!l.children&&(l.children=[]),l.children.push(a),u=Lg(c,l)):(c.push(a),u=c),hT(u),o._columns.value=u,a.type==="selection"&&(o.selectable.value=a.selectable,o.reserveSelection.value=a.reserveSelection),t.$ready&&(t.store.updateColumns(),t.store.scheduleLayout())},removeColumn(o,a,l){const c=M(o._columns)||[];if(l)l.children.splice(l.children.findIndex(u=>u.id===a.id),1),l.children.length===0&&delete l.children,o._columns.value=Lg(c,l);else{const u=c.indexOf(a);u>-1&&(c.splice(u,1),o._columns.value=c)}t.$ready&&(t.store.updateColumns(),t.store.scheduleLayout())},sort(o,a){const{prop:l,order:c,init:u}=a;if(l){const O=M(o.columns).find(f=>f.property===l);O&&(O.order=c,t.store.updateSort(O,l,c),t.store.commit("changeSortCondition",{init:u}))}},changeSortCondition(o,a){const{sortingColumn:l,sortProp:c,sortOrder:u}=o;M(u)===null&&(o.sortingColumn.value=null,o.sortProp.value=null);const O={filter:!0};t.store.execQuery(O),(!a||!(a.silent||a.init))&&t.emit("sort-change",{column:M(l),prop:M(c),order:M(u)}),t.store.updateTableScrollY()},filterChange(o,a){const{column:l,values:c,silent:u}=a,O=t.store.updateFilters(l,c);t.store.execQuery(),u||t.emit("filter-change",O),t.store.updateTableScrollY()},toggleAllSelection(){t.store.toggleAllSelection()},rowSelectedChanged(o,a){t.store.toggleRowSelection(a),t.store.updateAllSelected()},setHoverRow(o,a){o.hoverRow.value=a},setCurrentRow(o,a){t.store.updateCurrentRow(a)}},r=function(o,...a){const l=t.store.mutations;if(l[o])l[o].apply(t,[t.store.states].concat(a));else throw new Error(`Action not found: ${o}`)},s=function(){et(()=>t.layout.updateScrollY.apply(t.layout))};return Je(ze({ns:n},e),{mutations:i,commit:r,updateTableScrollY:s})}const vu={rowKey:"rowKey",defaultExpandAll:"defaultExpandAll",selectOnIndeterminate:"selectOnIndeterminate",indent:"indent",lazy:"lazy",data:"data",["treeProps.hasChildren"]:{key:"lazyColumnIdentifier",default:"hasChildren"},["treeProps.children"]:{key:"childrenColumnName",default:"children"}};function zH(t,e){if(!t)throw new Error("Table is required.");const n=WH();return n.toggleAllSelection=Qo(n._toggleAllSelection,10),Object.keys(vu).forEach(i=>{dT(pT(e,i),i,n)}),IH(n,e),n}function IH(t,e){Object.keys(vu).forEach(n=>{Ee(()=>pT(e,n),i=>{dT(i,n,t)})})}function dT(t,e,n){let i=t,r=vu[e];typeof vu[e]=="object"&&(r=r.key,i=i||vu[e].default),n.states[r].value=i}function pT(t,e){if(e.includes(".")){const n=e.split(".");let i=t;return n.forEach(r=>{i=i[r]}),i}else return t[e]}class qH{constructor(e){this.observers=[],this.table=null,this.store=null,this.columns=[],this.fit=!0,this.showHeader=!0,this.height=J(null),this.scrollX=J(!1),this.scrollY=J(!1),this.bodyWidth=J(null),this.fixedWidth=J(null),this.rightFixedWidth=J(null),this.tableHeight=J(null),this.headerHeight=J(44),this.appendHeight=J(0),this.footerHeight=J(44),this.viewportHeight=J(null),this.bodyHeight=J(null),this.bodyScrollHeight=J(0),this.fixedBodyHeight=J(null),this.gutterWidth=0;for(const n in e)ct(e,n)&&(It(this[n])?this[n].value=e[n]:this[n]=e[n]);if(!this.table)throw new Error("Table is required for Table Layout");if(!this.store)throw new Error("Store is required for Table Layout")}updateScrollY(){if(this.height.value===null)return!1;const n=this.table.refs.bodyWrapper;if(this.table.vnode.el&&n){let i=!0;const r=this.scrollY.value;return this.bodyHeight.value===null?i=!1:i=n.scrollHeight>this.bodyHeight.value,this.scrollY.value=i,r!==i}return!1}setHeight(e,n="height"){if(!qt)return;const i=this.table.vnode.el;if(e=Dg(e),this.height.value=Number(e),!i&&(e||e===0))return et(()=>this.setHeight(e,n));typeof e=="number"?(i.style[n]=`${e}px`,this.updateElsHeight()):typeof e=="string"&&(i.style[n]=e,this.updateElsHeight())}setMaxHeight(e){this.setHeight(e,"max-height")}getFlattenColumns(){const e=[];return this.table.store.states.columns.value.forEach(i=>{i.isColumnGroup?e.push.apply(e,i.columns):e.push(i)}),e}updateElsHeight(){var e,n;if(!this.table.$ready)return et(()=>this.updateElsHeight());const{tableWrapper:i,headerWrapper:r,appendWrapper:s,footerWrapper:o,tableHeader:a,tableBody:l}=this.table.refs;if(i&&i.style.display==="none")return;const{tableLayout:c}=this.table.props;if(this.appendHeight.value=s?s.offsetHeight:0,this.showHeader&&!r&&c==="fixed")return;const u=a||null,O=this.headerDisplayNone(u),f=(r==null?void 0:r.offsetHeight)||0,h=this.headerHeight.value=this.showHeader?f:0;if(this.showHeader&&!O&&f>0&&(this.table.store.states.columns.value||[]).length>0&&h<2)return et(()=>this.updateElsHeight());const p=this.tableHeight.value=(n=(e=this.table)==null?void 0:e.vnode.el)==null?void 0:n.clientHeight,y=this.footerHeight.value=o?o.offsetHeight:0;this.height.value!==null&&(this.bodyHeight.value===null&&requestAnimationFrame(()=>this.updateElsHeight()),this.bodyHeight.value=p-h-y+(o?1:0),this.bodyScrollHeight.value=l==null?void 0:l.scrollHeight),this.fixedBodyHeight.value=this.scrollX.value?this.bodyHeight.value-this.gutterWidth:this.bodyHeight.value,this.viewportHeight.value=this.scrollX.value?p-this.gutterWidth:p,this.updateScrollY(),this.notifyObservers("scrollable")}headerDisplayNone(e){if(!e)return!0;let n=e;for(;n.tagName!=="DIV";){if(getComputedStyle(n).display==="none")return!0;n=n.parentElement}return!1}updateColumnsWidth(){if(!qt)return;const e=this.fit,n=this.table.vnode.el.clientWidth;let i=0;const r=this.getFlattenColumns(),s=r.filter(l=>typeof l.width!="number");if(r.forEach(l=>{typeof l.width=="number"&&l.realWidth&&(l.realWidth=null)}),s.length>0&&e){if(r.forEach(l=>{i+=Number(l.width||l.minWidth||80)}),i<=n){this.scrollX.value=!1;const l=n-i;if(s.length===1)s[0].realWidth=Number(s[0].minWidth||80)+l;else{const c=s.reduce((f,h)=>f+Number(h.minWidth||80),0),u=l/c;let O=0;s.forEach((f,h)=>{if(h===0)return;const p=Math.floor(Number(f.minWidth||80)*u);O+=p,f.realWidth=Number(f.minWidth||80)+p}),s[0].realWidth=Number(s[0].minWidth||80)+l-O}}else this.scrollX.value=!0,s.forEach(l=>{l.realWidth=Number(l.minWidth)});this.bodyWidth.value=Math.max(i,n),this.table.state.resizeState.value.width=this.bodyWidth.value}else r.forEach(l=>{!l.width&&!l.minWidth?l.realWidth=80:l.realWidth=Number(l.width||l.minWidth),i+=l.realWidth}),this.scrollX.value=i>n,this.bodyWidth.value=i;const o=this.store.states.fixedColumns.value;if(o.length>0){let l=0;o.forEach(c=>{l+=Number(c.realWidth||c.width)}),this.fixedWidth.value=l}const a=this.store.states.rightFixedColumns.value;if(a.length>0){let l=0;a.forEach(c=>{l+=Number(c.realWidth||c.width)}),this.rightFixedWidth.value=l}this.notifyObservers("columns")}addObserver(e){this.observers.push(e)}removeObserver(e){const n=this.observers.indexOf(e);n!==-1&&this.observers.splice(n,1)}notifyObservers(e){this.observers.forEach(i=>{var r,s;switch(e){case"columns":(r=i.state)==null||r.onColumnsChange(this);break;case"scrollable":(s=i.state)==null||s.onScrollableChange(this);break;default:throw new Error(`Table Layout don't have event ${e}.`)}})}}const{CheckboxGroup:UH}=Zl,DH=Ce({name:"ElTableFilterPanel",components:{ElCheckbox:Zl,ElCheckboxGroup:UH,ElScrollbar:dc,ElTooltip:Rs,ElIcon:wt,ArrowDown:op,ArrowUp:ap},directives:{ClickOutside:pp},props:{placement:{type:String,default:"bottom-start"},store:{type:Object},column:{type:Object},upDataColumn:{type:Function}},setup(t){const e=$t(),{t:n}=Fn(),i=Ze("table-filter"),r=e==null?void 0:e.parent;r.filterPanels.value[t.column.id]||(r.filterPanels.value[t.column.id]=e);const s=J(!1),o=J(null),a=N(()=>t.column&&t.column.filters),l=N({get:()=>{var v;return(((v=t.column)==null?void 0:v.filteredValue)||[])[0]},set:v=>{c.value&&(typeof v!="undefined"&&v!==null?c.value.splice(0,1,v):c.value.splice(0,1))}}),c=N({get(){return t.column?t.column.filteredValue||[]:[]},set(v){t.column&&t.upDataColumn("filteredValue",v)}}),u=N(()=>t.column?t.column.filterMultiple:!0),O=v=>v.value===l.value,f=()=>{s.value=!1},h=v=>{v.stopPropagation(),s.value=!s.value},p=()=>{s.value=!1},y=()=>{d(c.value),f()},$=()=>{c.value=[],d(c.value),f()},m=v=>{l.value=v,d(typeof v!="undefined"&&v!==null?c.value:[]),f()},d=v=>{t.store.commit("filterChange",{column:t.column,values:v}),t.store.updateAllSelected()};Ee(s,v=>{t.column&&t.upDataColumn("filterOpened",v)},{immediate:!0});const g=N(()=>{var v,b;return(b=(v=o.value)==null?void 0:v.popperRef)==null?void 0:b.contentRef});return{tooltipVisible:s,multiple:u,filteredValue:c,filterValue:l,filters:a,handleConfirm:y,handleReset:$,handleSelect:m,isActive:O,t:n,ns:i,showFilterPanel:h,hideFilterPanel:p,popperPaneRef:g,tooltip:o}}}),LH={key:0},BH=["disabled"],MH=["label","onClick"];function YH(t,e,n,i,r,s){const o=Pe("el-checkbox"),a=Pe("el-checkbox-group"),l=Pe("el-scrollbar"),c=Pe("arrow-up"),u=Pe("arrow-down"),O=Pe("el-icon"),f=Pe("el-tooltip"),h=Eo("click-outside");return L(),be(f,{ref:"tooltip",visible:t.tooltipVisible,"onUpdate:visible":e[5]||(e[5]=p=>t.tooltipVisible=p),offset:0,placement:t.placement,"show-arrow":!1,"stop-popper-mouse-event":!1,teleported:"",effect:"light",pure:"","popper-class":t.ns.b(),persistent:""},{content:Z(()=>[t.multiple?(L(),ie("div",LH,[D("div",{class:te(t.ns.e("content"))},[B(l,{"wrap-class":t.ns.e("wrap")},{default:Z(()=>[B(a,{modelValue:t.filteredValue,"onUpdate:modelValue":e[0]||(e[0]=p=>t.filteredValue=p),class:te(t.ns.e("checkbox-group"))},{default:Z(()=>[(L(!0),ie(Le,null,Rt(t.filters,p=>(L(),be(o,{key:p.value,label:p.value},{default:Z(()=>[Xe(de(p.text),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue","class"])]),_:1},8,["wrap-class"])],2),D("div",{class:te(t.ns.e("bottom"))},[D("button",{class:te({[t.ns.is("disabled")]:t.filteredValue.length===0}),disabled:t.filteredValue.length===0,type:"button",onClick:e[1]||(e[1]=(...p)=>t.handleConfirm&&t.handleConfirm(...p))},de(t.t("el.table.confirmFilter")),11,BH),D("button",{type:"button",onClick:e[2]||(e[2]=(...p)=>t.handleReset&&t.handleReset(...p))},de(t.t("el.table.resetFilter")),1)],2)])):(L(),ie("ul",{key:1,class:te(t.ns.e("list"))},[D("li",{class:te([t.ns.e("list-item"),{[t.ns.is("active")]:t.filterValue===void 0||t.filterValue===null}]),onClick:e[3]||(e[3]=p=>t.handleSelect(null))},de(t.t("el.table.clearFilter")),3),(L(!0),ie(Le,null,Rt(t.filters,p=>(L(),ie("li",{key:p.value,class:te([t.ns.e("list-item"),t.ns.is("active",t.isActive(p))]),label:p.value,onClick:y=>t.handleSelect(p.value)},de(p.text),11,MH))),128))],2))]),default:Z(()=>[it((L(),ie("span",{class:te([`${t.ns.namespace.value}-table__column-filter-trigger`,`${t.ns.namespace.value}-none-outline`]),onClick:e[4]||(e[4]=(...p)=>t.showFilterPanel&&t.showFilterPanel(...p))},[B(O,null,{default:Z(()=>[t.column.filterOpened?(L(),be(c,{key:0})):(L(),be(u,{key:1}))]),_:1})],2)),[[h,t.hideFilterPanel,t.popperPaneRef]])]),_:1},8,["visible","placement","popper-class"])}var ZH=Me(DH,[["render",YH],["__file","/home/runner/work/element-plus/element-plus/packages/components/table/src/filter-panel.vue"]]);function mT(t){const e=$t();Yd(()=>{n.value.addObserver(e)}),xt(()=>{i(n.value),r(n.value)}),Ps(()=>{i(n.value),r(n.value)}),Wa(()=>{n.value.removeObserver(e)});const n=N(()=>{const s=t.layout;if(!s)throw new Error("Can not find table layout.");return s}),i=s=>{var o;const a=((o=t.vnode.el)==null?void 0:o.querySelectorAll("colgroup > col"))||[];if(!a.length)return;const l=s.getFlattenColumns(),c={};l.forEach(u=>{c[u.id]=u});for(let u=0,O=a.length;u{var o,a;const l=((o=t.vnode.el)==null?void 0:o.querySelectorAll("colgroup > col[name=gutter]"))||[];for(let u=0,O=l.length;u{y.stopPropagation()},s=(y,$)=>{!$.filters&&$.sortable?p(y,$,!1):$.filterable&&!$.sortable&&r(y),i==null||i.emit("header-click",$,y)},o=(y,$)=>{i==null||i.emit("header-contextmenu",$,y)},a=J(null),l=J(!1),c=J({}),u=(y,$)=>{if(!!qt&&!($.children&&$.children.length>0)&&a.value&&t.border){l.value=!0;const m=i;e("set-drag-visible",!0);const g=(m==null?void 0:m.vnode.el).getBoundingClientRect().left,v=n.vnode.el.querySelector(`th.${$.id}`),b=v.getBoundingClientRect(),_=b.left-g+30;Bu(v,"noclick"),c.value={startMouseLeft:y.clientX,startLeft:b.right-g,startColumnLeft:b.left-g,tableLeft:g};const Q=m==null?void 0:m.refs.resizeProxy;Q.style.left=`${c.value.startLeft}px`,document.onselectstart=function(){return!1},document.ondragstart=function(){return!1};const S=w=>{const x=w.clientX-c.value.startMouseLeft,k=c.value.startLeft+x;Q.style.left=`${Math.max(_,k)}px`},P=()=>{if(l.value){const{startColumnLeft:w,startLeft:x}=c.value,C=Number.parseInt(Q.style.left,10)-w;$.width=$.realWidth=C,m==null||m.emit("header-dragend",$.width,x-w,$,y),requestAnimationFrame(()=>{t.store.scheduleLayout(!1,!0)}),document.body.style.cursor="",l.value=!1,a.value=null,c.value={},e("set-drag-visible",!1)}document.removeEventListener("mousemove",S),document.removeEventListener("mouseup",P),document.onselectstart=null,document.ondragstart=null,setTimeout(()=>{wo(v,"noclick")},0)};document.addEventListener("mousemove",S),document.addEventListener("mouseup",P)}},O=(y,$)=>{if($.children&&$.children.length>0)return;let m=y.target;for(;m&&m.tagName!=="TH";)m=m.parentNode;if(!(!$||!$.resizable)&&!l.value&&t.border){const d=m.getBoundingClientRect(),g=document.body.style;d.width>12&&d.right-y.pageX<8?(g.cursor="col-resize",po(m,"is-sortable")&&(m.style.cursor="col-resize"),a.value=$):l.value||(g.cursor="",po(m,"is-sortable")&&(m.style.cursor="pointer"),a.value=null)}},f=()=>{!qt||(document.body.style.cursor="")},h=({order:y,sortOrders:$})=>{if(y==="")return $[0];const m=$.indexOf(y||null);return $[m>$.length-2?0:m+1]},p=(y,$,m)=>{y.stopPropagation();const d=$.order===m?null:m||h($);let g=y.target;for(;g&&g.tagName!=="TH";)g=g.parentNode;if(g&&g.tagName==="TH"&&po(g,"noclick")){wo(g,"noclick");return}if(!$.sortable)return;const v=t.store.states;let b=v.sortProp.value,_;const Q=v.sortingColumn.value;(Q!==$||Q===$&&Q.order===null)&&(Q&&(Q.order=null),v.sortingColumn.value=$,b=$.property),d?_=$.order=d:_=$.order=null,v.sortProp.value=b,v.sortOrder.value=_,i==null||i.store.commit("changeSortCondition")};return{handleHeaderClick:s,handleHeaderContextMenu:o,handleMouseDown:u,handleMouseMove:O,handleMouseOut:f,handleSortClick:p,handleFilterClick:r}}function jH(t){const e=De(ts),n=Ze("table");return{getHeaderRowStyle:a=>{const l=e==null?void 0:e.props.headerRowStyle;return typeof l=="function"?l.call(null,{rowIndex:a}):l},getHeaderRowClass:a=>{const l=[],c=e==null?void 0:e.props.headerRowClassName;return typeof c=="string"?l.push(c):typeof c=="function"&&l.push(c.call(null,{rowIndex:a})),l.join(" ")},getHeaderCellStyle:(a,l,c,u)=>{var O;let f=(O=e==null?void 0:e.props.headerCellStyle)!=null?O:{};typeof f=="function"&&(f=f.call(null,{rowIndex:a,columnIndex:l,row:c,column:u}));const h=u.isSubColumn?null:Q$(l,u.fixed,t.store,c);return Vl(h,"left"),Vl(h,"right"),Object.assign({},f,h)},getHeaderCellClass:(a,l,c,u)=>{const O=u.isSubColumn?[]:_$(n.b(),l,u.fixed,t.store,c),f=[u.id,u.order,u.headerAlign,u.className,u.labelClassName,...O];u.children||f.push("is-leaf"),u.sortable&&f.push("is-sortable");const h=e==null?void 0:e.props.headerCellClassName;return typeof h=="string"?f.push(h):typeof h=="function"&&f.push(h.call(null,{rowIndex:a,columnIndex:l,row:c,column:u})),f.push(n.e("cell")),f.filter(p=>Boolean(p)).join(" ")}}}const gT=t=>{const e=[];return t.forEach(n=>{n.children?(e.push(n),e.push.apply(e,gT(n.children))):e.push(n)}),e},NH=t=>{let e=1;const n=(s,o)=>{if(o&&(s.level=o.level+1,e{n(l,s),a+=l.colSpan}),s.colSpan=a}else s.colSpan=1};t.forEach(s=>{s.level=1,n(s,void 0)});const i=[];for(let s=0;s{s.children?(s.rowSpan=1,s.children.forEach(o=>o.isSubColumn=!0)):s.rowSpan=e-s.level+1,i[s.level-1].push(s)}),i};function FH(t){const e=De(ts),n=N(()=>NH(t.store.states.originColumns.value));return{isGroup:N(()=>{const s=n.value.length>1;return s&&e&&(e.state.isGroup.value=!0),s}),toggleAllSelection:s=>{s.stopPropagation(),e==null||e.store.commit("toggleAllSelection")},columnRows:n}}var GH=Ce({name:"ElTableHeader",components:{ElCheckbox:Zl},props:{fixed:{type:String,default:""},store:{required:!0,type:Object},border:Boolean,defaultSort:{type:Object,default:()=>({prop:"",order:""})}},setup(t,{emit:e}){const n=$t(),i=De(ts),r=Ze("table"),s=J({}),{onColumnsChange:o,onScrollableChange:a}=mT(i);xt(async()=>{await et(),await et();const{prop:_,order:Q}=t.defaultSort;i==null||i.store.commit("sort",{prop:_,order:Q,init:!0})});const{handleHeaderClick:l,handleHeaderContextMenu:c,handleMouseDown:u,handleMouseMove:O,handleMouseOut:f,handleSortClick:h,handleFilterClick:p}=VH(t,e),{getHeaderRowStyle:y,getHeaderRowClass:$,getHeaderCellStyle:m,getHeaderCellClass:d}=jH(t),{isGroup:g,toggleAllSelection:v,columnRows:b}=FH(t);return n.state={onColumnsChange:o,onScrollableChange:a},n.filterPanels=s,{ns:r,filterPanels:s,onColumnsChange:o,onScrollableChange:a,columnRows:b,getHeaderRowClass:$,getHeaderRowStyle:y,getHeaderCellClass:d,getHeaderCellStyle:m,handleHeaderClick:l,handleHeaderContextMenu:c,handleMouseDown:u,handleMouseMove:O,handleMouseOut:f,handleSortClick:h,handleFilterClick:p,isGroup:g,toggleAllSelection:v}},render(){const{ns:t,isGroup:e,columnRows:n,getHeaderCellStyle:i,getHeaderCellClass:r,getHeaderRowClass:s,getHeaderRowStyle:o,handleHeaderClick:a,handleHeaderContextMenu:l,handleMouseDown:c,handleMouseMove:u,handleSortClick:O,handleMouseOut:f,store:h,$parent:p}=this;let y=1;return Ke("thead",{class:{[t.is("group")]:e}},n.map(($,m)=>Ke("tr",{class:s(m),key:m,style:o(m)},$.map((d,g)=>(d.rowSpan>y&&(y=d.rowSpan),Ke("th",{class:r(m,g,$,d),colspan:d.colSpan,key:`${d.id}-thead`,rowspan:d.rowSpan,style:i(m,g,$,d),onClick:v=>a(v,d),onContextmenu:v=>l(v,d),onMousedown:v=>c(v,d),onMousemove:v=>u(v,d),onMouseout:f},[Ke("div",{class:["cell",d.filteredValue&&d.filteredValue.length>0?"highlight":"",d.labelClassName]},[d.renderHeader?d.renderHeader({column:d,$index:g,store:h,_self:p}):d.label,d.sortable&&Ke("span",{onClick:v=>O(v,d),class:"caret-wrapper"},[Ke("i",{onClick:v=>O(v,d,"ascending"),class:"sort-caret ascending"}),Ke("i",{onClick:v=>O(v,d,"descending"),class:"sort-caret descending"})]),d.filterable&&Ke(ZH,{store:h,placement:d.filterPlacement||"bottom-start",column:d,upDataColumn:(v,b)=>{d[v]=b}})])]))))))}});function HH(t){const e=De(ts),n=J(""),i=J(Ke("div")),r=(f,h,p)=>{var y;const $=e,m=U0(f);let d;const g=(y=$==null?void 0:$.vnode.el)==null?void 0:y.dataset.prefix;m&&(d=hQ({columns:t.store.states.columns.value},m,g),d&&($==null||$.emit(`cell-${p}`,h,d,m,f))),$==null||$.emit(`row-${p}`,h,d,f)},s=(f,h)=>{r(f,h,"dblclick")},o=(f,h)=>{t.store.commit("setCurrentRow",h),r(f,h,"click")},a=(f,h)=>{r(f,h,"contextmenu")},l=Qo(f=>{t.store.commit("setHoverRow",f)},30),c=Qo(()=>{t.store.commit("setHoverRow",null)},30);return{handleDoubleClick:s,handleClick:o,handleContextMenu:a,handleMouseEnter:l,handleMouseLeave:c,handleCellMouseEnter:(f,h)=>{var p;const y=e,$=U0(f),m=(p=y==null?void 0:y.vnode.el)==null?void 0:p.dataset.prefix;if($){const _=hQ({columns:t.store.states.columns.value},$,m),Q=y.hoverState={cell:$,column:_,row:h};y==null||y.emit("cell-mouse-enter",Q.row,Q.column,Q.cell,f)}const d=f.target.querySelector(".cell");if(!(po(d,`${m}-tooltip`)&&d.childNodes.length))return;const g=document.createRange();g.setStart(d,0),g.setEnd(d,d.childNodes.length);const v=g.getBoundingClientRect().width,b=(Number.parseInt(hs(d,"paddingLeft"),10)||0)+(Number.parseInt(hs(d,"paddingRight"),10)||0);(v+b>d.offsetWidth||d.scrollWidth>d.offsetWidth)&&CH($,$.innerText||$.textContent,{placement:"top",strategy:"fixed"},h.tooltipEffect)},handleCellMouseLeave:f=>{if(!U0(f))return;const p=e==null?void 0:e.hoverState;e==null||e.emit("cell-mouse-leave",p==null?void 0:p.row,p==null?void 0:p.column,p==null?void 0:p.cell,f)},tooltipContent:n,tooltipTrigger:i}}function KH(t){const e=De(ts),n=Ze("table");return{getRowStyle:(c,u)=>{const O=e==null?void 0:e.props.rowStyle;return typeof O=="function"?O.call(null,{row:c,rowIndex:u}):O||null},getRowClass:(c,u)=>{const O=[n.e("row")];(e==null?void 0:e.props.highlightCurrentRow)&&c===t.store.states.currentRow.value&&O.push("current-row"),t.stripe&&u%2===1&&O.push(n.em("row","striped"));const f=e==null?void 0:e.props.rowClassName;return typeof f=="string"?O.push(f):typeof f=="function"&&O.push(f.call(null,{row:c,rowIndex:u})),O},getCellStyle:(c,u,O,f)=>{const h=e==null?void 0:e.props.cellStyle;let p=h!=null?h:{};typeof h=="function"&&(p=h.call(null,{rowIndex:c,columnIndex:u,row:O,column:f}));const y=f.isSubColumn?null:Q$(u,t==null?void 0:t.fixed,t.store);return Vl(y,"left"),Vl(y,"right"),Object.assign({},p,y)},getCellClass:(c,u,O,f)=>{const h=f.isSubColumn?[]:_$(n.b(),u,t==null?void 0:t.fixed,t.store),p=[f.id,f.align,f.className,...h],y=e==null?void 0:e.props.cellClassName;return typeof y=="string"?p.push(y):typeof y=="function"&&p.push(y.call(null,{rowIndex:c,columnIndex:u,row:O,column:f})),p.push(n.e("cell")),p.filter($=>Boolean($)).join(" ")},getSpan:(c,u,O,f)=>{let h=1,p=1;const y=e==null?void 0:e.props.spanMethod;if(typeof y=="function"){const $=y({row:c,column:u,rowIndex:O,columnIndex:f});Array.isArray($)?(h=$[0],p=$[1]):typeof $=="object"&&(h=$.rowspan,p=$.colspan)}return{rowspan:h,colspan:p}},getColspanRealWidth:(c,u,O)=>{if(u<1)return c[O].realWidth;const f=c.map(({realWidth:h,width:p})=>h||p).slice(O,O+u);return Number(f.reduce((h,p)=>Number(h)+Number(p),-1))}}}function JH(t){const e=De(ts),{handleDoubleClick:n,handleClick:i,handleContextMenu:r,handleMouseEnter:s,handleMouseLeave:o,handleCellMouseEnter:a,handleCellMouseLeave:l,tooltipContent:c,tooltipTrigger:u}=HH(t),{getRowStyle:O,getRowClass:f,getCellStyle:h,getCellClass:p,getSpan:y,getColspanRealWidth:$}=KH(t),m=N(()=>t.store.states.columns.value.findIndex(({type:_})=>_==="default")),d=(_,Q)=>{const S=e.props.rowKey;return S?zn(_,S):Q},g=(_,Q,S,P=!1)=>{const{tooltipEffect:w,store:x}=t,{indent:k,columns:C}=x.states,T=f(_,Q);let E=!0;return S&&(T.push(`el-table__row--level-${S.level}`),E=S.display),Ke("tr",{style:[E?null:{display:"none"},O(_,Q)],class:T,key:d(_,Q),onDblclick:R=>n(R,_),onClick:R=>i(R,_),onContextmenu:R=>r(R,_),onMouseenter:()=>s(Q),onMouseleave:o},C.value.map((R,X)=>{const{rowspan:U,colspan:V}=y(_,R,Q,X);if(!U||!V)return null;const j=ze({},R);j.realWidth=$(C.value,V,X);const Y={store:t.store,_self:t.context||e,column:j,row:_,$index:Q,cellIndex:X,expanded:P};X===m.value&&S&&(Y.treeNode={indent:S.level*k.value,level:S.level},typeof S.expanded=="boolean"&&(Y.treeNode.expanded=S.expanded,"loading"in S&&(Y.treeNode.loading=S.loading),"noLazyChildren"in S&&(Y.treeNode.noLazyChildren=S.noLazyChildren)));const ee=`${Q},${X}`,se=j.columnKey||j.rawColumnKey||"",I=v(X,R,Y);return Ke("td",{style:h(Q,X,_,R),class:p(Q,X,_,R),key:`${se}${ee}`,rowspan:U,colspan:V,onMouseenter:ne=>a(ne,Je(ze({},_),{tooltipEffect:w})),onMouseleave:l},[I])}))},v=(_,Q,S)=>Q.renderCell(S);return{wrappedRowRender:(_,Q)=>{const S=t.store,{isRowExpanded:P,assertRowKey:w}=S,{treeData:x,lazyTreeNodeMap:k,childrenColumnName:C,rowKey:T}=S.states,E=S.states.columns.value;if(E.some(({type:R})=>R==="expand")){const R=P(_),X=g(_,Q,void 0,R),U=e.renderExpanded;return R?U?[[X,Ke("tr",{key:`expanded-row__${X.key}`},[Ke("td",{colspan:E.length,class:"el-table__cell el-table__expanded-cell"},[U({row:_,$index:Q,store:S,expanded:R})])])]]:(console.error("[Element Error]renderExpanded is required."),X):[[X]]}else if(Object.keys(x.value).length){w();const R=zn(_,T.value);let X=x.value[R],U=null;X&&(U={expanded:X.expanded,level:X.level,display:!0},typeof X.lazy=="boolean"&&(typeof X.loaded=="boolean"&&X.loaded&&(U.noLazyChildren=!(X.children&&X.children.length)),U.loading=X.loading));const V=[g(_,Q,U)];if(X){let j=0;const Y=(se,I)=>{!(se&&se.length&&I)||se.forEach(ne=>{const H={display:I.display&&I.expanded,level:I.level+1,expanded:!1,noLazyChildren:!1,loading:!1},re=zn(ne,T.value);if(re==null)throw new Error("For nested data item, row-key is required.");if(X=ze({},x.value[re]),X&&(H.expanded=X.expanded,X.level=X.level||H.level,X.display=!!(X.expanded&&H.display),typeof X.lazy=="boolean"&&(typeof X.loaded=="boolean"&&X.loaded&&(H.noLazyChildren=!(X.children&&X.children.length)),H.loading=X.loading)),j++,V.push(g(ne,Q+j,H)),X){const G=k.value[re]||ne[C.value];Y(G,X)}})};X.display=!0;const ee=k.value[R]||_[C.value];Y(ee,X)}return V}else return g(_,Q,void 0)},tooltipContent:c,tooltipTrigger:u}}const eK={store:{required:!0,type:Object},stripe:Boolean,tooltipEffect:String,context:{default:()=>({}),type:Object},rowClassName:[String,Function],rowStyle:[Object,Function],fixed:{type:String,default:""},highlight:Boolean};var tK=Ce({name:"ElTableBody",props:eK,setup(t){const e=$t(),n=De(ts),i=Ze("table"),{wrappedRowRender:r,tooltipContent:s,tooltipTrigger:o}=JH(t),{onColumnsChange:a,onScrollableChange:l}=mT(n);return Ee(t.store.states.hoverRow,(c,u)=>{if(!t.store.states.isComplex.value||!qt)return;let O=window.requestAnimationFrame;O||(O=f=>window.setTimeout(f,16)),O(()=>{var f;const h=(f=e==null?void 0:e.vnode.el)==null?void 0:f.querySelectorAll(`.${i.e("row")}`),p=h[u],y=h[c];p&&wo(p,"hover-row"),y&&Bu(y,"hover-row")})}),Wa(()=>{var c;(c=Jh)==null||c()}),Ps(()=>{var c;(c=Jh)==null||c()}),{ns:i,onColumnsChange:a,onScrollableChange:l,wrappedRowRender:r,tooltipContent:s,tooltipTrigger:o}},render(){const{wrappedRowRender:t,store:e}=this,n=e.states.data.value||[];return Ke("tbody",{},[n.reduce((i,r)=>i.concat(t(r,i.length)),[])])}});function S$(t){const e=t.tableLayout==="auto";let n=t.columns||[];e&&n.every(r=>r.width===void 0)&&(n=[]);const i=r=>{const s={key:`${t.tableLayout}_${r.id}`,style:{},name:void 0};return e?s.style={width:`${r.width}px`}:s.name=r.id,s};return Ke("colgroup",{},n.map(r=>Ke("col",i(r))))}S$.props=["columns","tableLayout"];function nK(){const t=De(ts),e=t==null?void 0:t.store,n=N(()=>e.states.fixedLeafColumnsLength.value),i=N(()=>e.states.rightFixedColumns.value.length),r=N(()=>e.states.columns.value.length),s=N(()=>e.states.fixedColumns.value.length),o=N(()=>e.states.rightFixedColumns.value.length);return{leftFixedLeafCount:n,rightFixedLeafCount:i,columnsCount:r,leftFixedCount:s,rightFixedCount:o,columns:e.states.columns}}function iK(t){const{columns:e}=nK(),n=Ze("table");return{getCellClasses:(s,o)=>{const a=s[o],l=[n.e("cell"),a.id,a.align,a.labelClassName,..._$(n.b(),o,a.fixed,t.store)];return a.className&&l.push(a.className),a.children||l.push(n.is("leaf")),l},getCellStyles:(s,o)=>{const a=Q$(o,s.fixed,t.store);return Vl(a,"left"),Vl(a,"right"),a},columns:e}}var rK=Ce({name:"ElTableFooter",props:{fixed:{type:String,default:""},store:{required:!0,type:Object},summaryMethod:Function,sumText:String,border:Boolean,defaultSort:{type:Object,default:()=>({prop:"",order:""})}},setup(t){const{getCellClasses:e,getCellStyles:n,columns:i}=iK(t);return{ns:Ze("table"),getCellClasses:e,getCellStyles:n,columns:i}},render(){const{columns:t,getCellStyles:e,getCellClasses:n,summaryMethod:i,sumText:r,ns:s}=this,o=this.store.states.data.value;let a=[];return i?a=i({columns:t,data:o}):t.forEach((l,c)=>{if(c===0){a[c]=r;return}const u=o.map(p=>Number(p[l.property])),O=[];let f=!0;u.forEach(p=>{if(!Number.isNaN(+p)){f=!1;const y=`${p}`.split(".")[1];O.push(y?y.length:0)}});const h=Math.max.apply(null,O);f?a[c]="":a[c]=u.reduce((p,y)=>{const $=Number(y);return Number.isNaN(+$)?p:Number.parseFloat((p+y).toFixed(Math.min(h,20)))},0)}),Ke("table",{class:s.e("footer"),cellspacing:"0",cellpadding:"0",border:"0"},[S$({columns:t}),Ke("tbody",[Ke("tr",{},[...t.map((l,c)=>Ke("td",{key:c,colspan:l.colSpan,rowspan:l.rowSpan,class:n(t,c),style:e(l,c)},[Ke("div",{class:["cell",l.labelClassName]},[a[c]])]))])])])}});function sK(t){return{setCurrentRow:u=>{t.commit("setCurrentRow",u)},getSelectionRows:()=>t.getSelectionRows(),toggleRowSelection:(u,O)=>{t.toggleRowSelection(u,O,!1),t.updateAllSelected()},clearSelection:()=>{t.clearSelection()},clearFilter:u=>{t.clearFilter(u)},toggleAllSelection:()=>{t.commit("toggleAllSelection")},toggleRowExpansion:(u,O)=>{t.toggleRowExpansionAdapter(u,O)},clearSort:()=>{t.clearSort()},sort:(u,O)=>{t.commit("sort",{prop:u,order:O})}}}function oK(t,e,n,i){const r=J(!1),s=J(null),o=J(!1),a=X=>{o.value=X},l=J({width:null,height:null}),c=J(!1),u={display:"inline-block",verticalAlign:"middle"},O=J();va(()=>{e.setHeight(t.height)}),va(()=>{e.setMaxHeight(t.maxHeight)}),Ee(()=>[t.currentRowKey,n.states.rowKey],([X,U])=>{!M(U)||n.setCurrentRowKey(`${X}`)},{immediate:!0}),Ee(()=>t.data,X=>{i.store.commit("setData",X)},{immediate:!0,deep:!0}),va(()=>{t.expandRowKeys&&n.setExpandRowKeysAdapter(t.expandRowKeys)});const f=()=>{i.store.commit("setHoverRow",null),i.hoverState&&(i.hoverState=null)},h=(X,U)=>{const{pixelX:V,pixelY:j}=U;Math.abs(V)>=Math.abs(j)&&(i.refs.bodyWrapper.scrollLeft+=U.pixelX/5)},p=N(()=>t.height||t.maxHeight||n.states.fixedColumns.value.length>0||n.states.rightFixedColumns.value.length>0),y=N(()=>({width:e.bodyWidth.value?`${e.bodyWidth.value}px`:""})),$=()=>{p.value&&e.updateElsHeight(),e.updateColumnsWidth(),requestAnimationFrame(v)};xt(async()=>{await et(),n.updateColumns(),b(),requestAnimationFrame($),l.value={width:O.value=i.vnode.el.offsetWidth,height:i.vnode.el.offsetHeight},n.states.columns.value.forEach(X=>{X.filteredValue&&X.filteredValue.length&&i.store.commit("filterChange",{column:X,values:X.filteredValue,silent:!0})}),i.$ready=!0});const m=(X,U)=>{if(!X)return;const V=Array.from(X.classList).filter(j=>!j.startsWith("is-scrolling-"));V.push(e.scrollX.value?U:"is-scrolling-none"),X.className=V.join(" ")},d=X=>{const{tableWrapper:U}=i.refs;m(U,X)},g=X=>{const{tableWrapper:U}=i.refs;return!!(U&&U.classList.contains(X))},v=function(){if(!i.refs.scrollBarRef)return;if(!e.scrollX.value){const I="is-scrolling-none";g(I)||d(I);return}const X=i.refs.scrollBarRef.wrap$;if(!X)return;const{scrollLeft:U,offsetWidth:V,scrollWidth:j}=X,{headerWrapper:Y,footerWrapper:ee}=i.refs;Y&&(Y.scrollLeft=U),ee&&(ee.scrollLeft=U);const se=j-V-1;U>=se?d("is-scrolling-right"):d(U===0?"is-scrolling-left":"is-scrolling-middle")},b=()=>{var X;!i.refs.scrollBarRef||((X=i.refs.scrollBarRef.wrap$)==null||X.addEventListener("scroll",v,{passive:!0}),t.fit?Gy(i.vnode.el,Q):bs(window,"resize",$))};Qn(()=>{_()});const _=()=>{var X;(X=i.refs.scrollBarRef.wrap$)==null||X.removeEventListener("scroll",v,!0),t.fit?Hy(i.vnode.el,Q):So(window,"resize",$)},Q=()=>{if(!i.$ready)return;let X=!1;const U=i.vnode.el,{width:V,height:j}=l.value,Y=O.value=U.offsetWidth;V!==Y&&(X=!0);const ee=U.offsetHeight;(t.height||p.value)&&j!==ee&&(X=!0),X&&(l.value={width:Y,height:ee},$())},S=Dn(),P=N(()=>{const{bodyWidth:X,scrollY:U,gutterWidth:V}=e;return X.value?`${X.value-(U.value?V:0)}px`:""}),w=N(()=>t.maxHeight?"fixed":t.tableLayout);function x(X,U,V){const j=Dg(X),Y=t.showHeader?V:0;if(j!==null)return ot(j)?`calc(${j} - ${U}px - ${Y}px)`:j-U-Y}const k=N(()=>{const X=e.headerHeight.value||0,U=e.bodyHeight.value,V=e.footerHeight.value||0;if(t.height)return U||void 0;if(t.maxHeight)return x(t.maxHeight,V,X)}),C=N(()=>{const X=e.headerHeight.value||0,U=e.bodyHeight.value,V=e.footerHeight.value||0;if(t.height)return{height:U?`${U}px`:""};if(t.maxHeight){const j=x(t.maxHeight,V,X);if(j!==null)return{"max-height":`${j}${Bt(j)?"px":""}`}}return{}}),T=N(()=>{if(t.data&&t.data.length)return null;let X="100%";return e.appendHeight.value&&(X=`calc(100% - ${e.appendHeight.value}px)`),{width:O.value?`${O.value}px`:"",height:X}}),E=(X,U)=>{const V=i.refs.bodyWrapper;if(Math.abs(U.spinY)>0){const j=V.scrollTop;U.pixelY<0&&j!==0&&X.preventDefault(),U.pixelY>0&&V.scrollHeight-V.clientHeight>j&&X.preventDefault(),V.scrollTop+=Math.ceil(U.pixelY/5)}else V.scrollLeft+=Math.ceil(U.pixelX/5)},A=N(()=>t.maxHeight?t.showSummary?{bottom:0}:{bottom:e.scrollX.value&&t.data.length?`${e.gutterWidth}px`:""}:t.showSummary?{height:e.tableHeight.value?`${e.tableHeight.value}px`:""}:{height:e.viewportHeight.value?`${e.viewportHeight.value}px`:""}),R=N(()=>{if(t.height)return{height:e.fixedBodyHeight.value?`${e.fixedBodyHeight.value}px`:""};if(t.maxHeight){let X=Dg(t.maxHeight);if(typeof X=="number")return X=e.scrollX.value?X-e.gutterWidth:X,t.showHeader&&(X-=e.headerHeight.value),X-=e.footerHeight.value,{"max-height":`${X}px`}}return{}});return{isHidden:r,renderExpanded:s,setDragVisible:a,isGroup:c,handleMouseLeave:f,handleHeaderFooterMousewheel:h,tableSize:S,bodyHeight:C,height:k,emptyBlockStyle:T,handleFixedMousewheel:E,fixedHeight:A,fixedBodyHeight:R,resizeProxyVisible:o,bodyWidth:P,resizeState:l,doLayout:$,tableBodyStyles:y,tableLayout:w,scrollbarViewStyle:u}}var aK={data:{type:Array,default:()=>[]},size:String,width:[String,Number],height:[String,Number],maxHeight:[String,Number],fit:{type:Boolean,default:!0},stripe:Boolean,border:Boolean,rowKey:[String,Function],showHeader:{type:Boolean,default:!0},showSummary:Boolean,sumText:String,summaryMethod:Function,rowClassName:[String,Function],rowStyle:[Object,Function],cellClassName:[String,Function],cellStyle:[Object,Function],headerRowClassName:[String,Function],headerRowStyle:[Object,Function],headerCellClassName:[String,Function],headerCellStyle:[Object,Function],highlightCurrentRow:Boolean,currentRowKey:[String,Number],emptyText:String,expandRowKeys:Array,defaultExpandAll:Boolean,defaultSort:Object,tooltipEffect:String,spanMethod:Function,selectOnIndeterminate:{type:Boolean,default:!0},indent:{type:Number,default:16},treeProps:{type:Object,default:()=>({hasChildren:"hasChildren",children:"children"})},lazy:Boolean,load:Function,style:{type:Object,default:()=>({})},className:{type:String,default:""},tableLayout:{type:String,default:"fixed"},scrollbarAlwaysOn:{type:Boolean,default:!1}};const lK=()=>{const t=J(),e=(s,o)=>{const a=t.value;a&&a.scrollTo(s,o)},n=(s,o)=>{const a=t.value;a&&Bt(o)&&["Top","Left"].includes(s)&&a[`setScroll${s}`](o)};return{scrollBarRef:t,scrollTo:e,setScrollTop:s=>n("Top",s),setScrollLeft:s=>n("Left",s)}};let cK=1;const uK=Ce({name:"ElTable",directives:{Mousewheel:NY},components:{TableHeader:GH,TableBody:tK,TableFooter:rK,ElScrollbar:dc,hColgroup:S$},props:aK,emits:["select","select-all","selection-change","cell-mouse-enter","cell-mouse-leave","cell-contextmenu","cell-click","cell-dblclick","row-click","row-contextmenu","row-dblclick","header-click","header-contextmenu","sort-change","filter-change","current-change","header-dragend","expand-change"],setup(t){const{t:e}=Fn(),n=Ze("table"),i=$t();kt(ts,i);const r=zH(i,t);i.store=r;const s=new qH({store:i.store,table:i,fit:t.fit,showHeader:t.showHeader});i.layout=s;const o=N(()=>(r.states.data.value||[]).length===0),{setCurrentRow:a,getSelectionRows:l,toggleRowSelection:c,clearSelection:u,clearFilter:O,toggleAllSelection:f,toggleRowExpansion:h,clearSort:p,sort:y}=sK(r),{isHidden:$,renderExpanded:m,setDragVisible:d,isGroup:g,handleMouseLeave:v,handleHeaderFooterMousewheel:b,tableSize:_,bodyHeight:Q,height:S,emptyBlockStyle:P,handleFixedMousewheel:w,fixedHeight:x,fixedBodyHeight:k,resizeProxyVisible:C,bodyWidth:T,resizeState:E,doLayout:A,tableBodyStyles:R,tableLayout:X,scrollbarViewStyle:U}=oK(t,s,r,i),{scrollBarRef:V,scrollTo:j,setScrollLeft:Y,setScrollTop:ee}=lK(),se=Qo(A,50),I=`el-table_${cK++}`;i.tableId=I,i.state={isGroup:g,resizeState:E,doLayout:A,debouncedUpdateLayout:se};const ne=N(()=>t.sumText||e("el.table.sumText")),H=N(()=>t.emptyText||e("el.table.emptyText"));return{ns:n,layout:s,store:r,handleHeaderFooterMousewheel:b,handleMouseLeave:v,tableId:I,tableSize:_,isHidden:$,isEmpty:o,renderExpanded:m,resizeProxyVisible:C,resizeState:E,isGroup:g,bodyWidth:T,bodyHeight:Q,height:S,tableBodyStyles:R,emptyBlockStyle:P,debouncedUpdateLayout:se,handleFixedMousewheel:w,fixedHeight:x,fixedBodyHeight:k,setCurrentRow:a,getSelectionRows:l,toggleRowSelection:c,clearSelection:u,clearFilter:O,toggleAllSelection:f,toggleRowExpansion:h,clearSort:p,doLayout:A,sort:y,t:e,setDragVisible:d,context:i,computedSumText:ne,computedEmptyText:H,tableLayout:X,scrollbarViewStyle:U,scrollBarRef:V,scrollTo:j,setScrollLeft:Y,setScrollTop:ee}}}),fK=["data-prefix"],OK={ref:"hiddenColumns",class:"hidden-columns"};function hK(t,e,n,i,r,s){const o=Pe("hColgroup"),a=Pe("table-header"),l=Pe("table-body"),c=Pe("el-scrollbar"),u=Pe("table-footer"),O=Eo("mousewheel");return L(),ie("div",{ref:"tableWrapper",class:te([{[t.ns.m("fit")]:t.fit,[t.ns.m("striped")]:t.stripe,[t.ns.m("border")]:t.border||t.isGroup,[t.ns.m("hidden")]:t.isHidden,[t.ns.m("group")]:t.isGroup,[t.ns.m("fluid-height")]:t.maxHeight,[t.ns.m("scrollable-x")]:t.layout.scrollX.value,[t.ns.m("scrollable-y")]:t.layout.scrollY.value,[t.ns.m("enable-row-hover")]:!t.store.states.isComplex.value,[t.ns.m("enable-row-transition")]:(t.store.states.data.value||[]).length!==0&&(t.store.states.data.value||[]).length<100,"has-footer":t.showSummary},t.ns.m(t.tableSize),t.className,t.ns.b(),t.ns.m(`layout-${t.tableLayout}`)]),style:tt(t.style),"data-prefix":t.ns.namespace.value,onMouseleave:e[0]||(e[0]=f=>t.handleMouseLeave())},[D("div",{class:te(t.ns.e("inner-wrapper"))},[D("div",OK,[We(t.$slots,"default")],512),t.showHeader&&t.tableLayout==="fixed"?it((L(),ie("div",{key:0,ref:"headerWrapper",class:te(t.ns.e("header-wrapper"))},[D("table",{ref:"tableHeader",class:te(t.ns.e("header")),style:tt(t.tableBodyStyles),border:"0",cellpadding:"0",cellspacing:"0"},[B(o,{columns:t.store.states.columns.value,"table-layout":t.tableLayout},null,8,["columns","table-layout"]),B(a,{ref:"tableHeaderRef",border:t.border,"default-sort":t.defaultSort,store:t.store,onSetDragVisible:t.setDragVisible},null,8,["border","default-sort","store","onSetDragVisible"])],6)],2)),[[O,t.handleHeaderFooterMousewheel]]):Qe("v-if",!0),D("div",{ref:"bodyWrapper",style:tt(t.bodyHeight),class:te(t.ns.e("body-wrapper"))},[B(c,{ref:"scrollBarRef",height:t.maxHeight?void 0:t.height,"max-height":t.maxHeight?t.height:void 0,"view-style":t.scrollbarViewStyle,always:t.scrollbarAlwaysOn},{default:Z(()=>[D("table",{ref:"tableBody",class:te(t.ns.e("body")),cellspacing:"0",cellpadding:"0",border:"0",style:tt({width:t.bodyWidth,tableLayout:t.tableLayout})},[B(o,{columns:t.store.states.columns.value,"table-layout":t.tableLayout},null,8,["columns","table-layout"]),t.showHeader&&t.tableLayout==="auto"?(L(),be(a,{key:0,border:t.border,"default-sort":t.defaultSort,store:t.store,onSetDragVisible:t.setDragVisible},null,8,["border","default-sort","store","onSetDragVisible"])):Qe("v-if",!0),B(l,{context:t.context,highlight:t.highlightCurrentRow,"row-class-name":t.rowClassName,"tooltip-effect":t.tooltipEffect,"row-style":t.rowStyle,store:t.store,stripe:t.stripe},null,8,["context","highlight","row-class-name","tooltip-effect","row-style","store","stripe"])],6),t.isEmpty?(L(),ie("div",{key:0,ref:"emptyBlock",style:tt(t.emptyBlockStyle),class:te(t.ns.e("empty-block"))},[D("span",{class:te(t.ns.e("empty-text"))},[We(t.$slots,"empty",{},()=>[Xe(de(t.computedEmptyText),1)])],2)],6)):Qe("v-if",!0),t.$slots.append?(L(),ie("div",{key:1,ref:"appendWrapper",class:te(t.ns.e("append-wrapper"))},[We(t.$slots,"append")],2)):Qe("v-if",!0)]),_:3},8,["height","max-height","view-style","always"])],6),t.border||t.isGroup?(L(),ie("div",{key:1,class:te(t.ns.e("border-left-patch"))},null,2)):Qe("v-if",!0)],2),t.showSummary?it((L(),ie("div",{key:0,ref:"footerWrapper",class:te(t.ns.e("footer-wrapper"))},[B(u,{border:t.border,"default-sort":t.defaultSort,store:t.store,style:tt(t.tableBodyStyles),"sum-text":t.computedSumText,"summary-method":t.summaryMethod},null,8,["border","default-sort","store","style","sum-text","summary-method"])],2)),[[Lt,!t.isEmpty],[O,t.handleHeaderFooterMousewheel]]):Qe("v-if",!0),it(D("div",{ref:"resizeProxy",class:te(t.ns.e("column-resize-proxy"))},null,2),[[Lt,t.resizeProxyVisible]])],46,fK)}var dK=Me(uK,[["render",hK],["__file","/home/runner/work/element-plus/element-plus/packages/components/table/src/table.vue"]]);const pK={selection:"table-column--selection",expand:"table__expand-column"},mK={default:{order:""},selection:{width:48,minWidth:48,realWidth:48,order:""},expand:{width:48,minWidth:48,realWidth:48,order:""},index:{width:48,minWidth:48,realWidth:48,order:""}},gK=t=>pK[t]||"",vK={selection:{renderHeader({store:t}){function e(){return t.states.data.value&&t.states.data.value.length===0}return Ke(Zl,{disabled:e(),size:t.states.tableSize.value,indeterminate:t.states.selection.value.length>0&&!t.states.isAllSelected.value,"onUpdate:modelValue":t.toggleAllSelection,modelValue:t.states.isAllSelected.value})},renderCell({row:t,column:e,store:n,$index:i}){return Ke(Zl,{disabled:e.selectable?!e.selectable.call(null,t,i):!1,size:n.states.tableSize.value,onChange:()=>{n.commit("rowSelectedChanged",t)},onClick:r=>r.stopPropagation(),modelValue:n.isSelected(t)})},sortable:!1,resizable:!1},index:{renderHeader({column:t}){return t.label||"#"},renderCell({column:t,$index:e}){let n=e+1;const i=t.index;return typeof i=="number"?n=e+i:typeof i=="function"&&(n=i(e)),Ke("div",{},[n])},sortable:!1},expand:{renderHeader({column:t}){return t.label||""},renderCell({row:t,store:e,expanded:n}){const{ns:i}=e,r=[i.e("expand-icon")];return n&&r.push(i.em("expand-icon","expanded")),Ke("div",{class:r,onClick:function(o){o.stopPropagation(),e.toggleRowExpansion(t)}},{default:()=>[Ke(wt,null,{default:()=>[Ke(gf)]})]})},sortable:!1,resizable:!1}};function yK({row:t,column:e,$index:n}){var i;const r=e.property,s=r&&ch(t,r).value;return e&&e.formatter?e.formatter(t,e,s,n):((i=s==null?void 0:s.toString)==null?void 0:i.call(s))||""}function $K({row:t,treeNode:e,store:n},i=!1){const{ns:r}=n;if(!e)return i?[Ke("span",{class:r.e("placeholder")})]:null;const s=[],o=function(a){a.stopPropagation(),n.loadOrToggle(t)};if(e.indent&&s.push(Ke("span",{class:r.e("indent"),style:{"padding-left":`${e.indent}px`}})),typeof e.expanded=="boolean"&&!e.noLazyChildren){const a=[r.e("expand-icon"),e.expanded?r.em("expand-icon","expanded"):""];let l=gf;e.loading&&(l=vf),s.push(Ke("div",{class:a,onClick:o},{default:()=>[Ke(wt,{class:{[r.is("loading")]:e.loading}},{default:()=>[Ke(l)]})]}))}else s.push(Ke("span",{class:r.e("placeholder")}));return s}function pQ(t,e){return t.reduce((n,i)=>(n[i]=i,n),e)}function bK(t,e){const n=$t();return{registerComplexWatchers:()=>{const s=["fixed"],o={realWidth:"width",realMinWidth:"minWidth"},a=pQ(s,o);Object.keys(a).forEach(l=>{const c=o[l];ct(e,c)&&Ee(()=>e[c],u=>{let O=u;c==="width"&&l==="realWidth"&&(O=b$(u)),c==="minWidth"&&l==="realMinWidth"&&(O=fT(u)),n.columnConfig.value[c]=O,n.columnConfig.value[l]=O;const f=c==="fixed";t.value.store.scheduleLayout(f)})})},registerNormalWatchers:()=>{const s=["label","filters","filterMultiple","sortable","index","formatter","className","labelClassName","showOverflowTooltip"],o={property:"prop",align:"realAlign",headerAlign:"realHeaderAlign"},a=pQ(s,o);Object.keys(a).forEach(l=>{const c=o[l];ct(e,c)&&Ee(()=>e[c],u=>{n.columnConfig.value[l]=u})})}}}function _K(t,e,n){const i=$t(),r=J(""),s=J(!1),o=J(),a=J(),l=Ze("table");va(()=>{o.value=t.align?`is-${t.align}`:null,o.value}),va(()=>{a.value=t.headerAlign?`is-${t.headerAlign}`:o.value,a.value});const c=N(()=>{let g=i.vnode.vParent||i.parent;for(;g&&!g.tableId&&!g.columnId;)g=g.vnode.vParent||g.parent;return g}),u=N(()=>{const{store:g}=i.parent;if(!g)return!1;const{treeData:v}=g.states,b=v.value;return b&&Object.keys(b).length>0}),O=J(b$(t.width)),f=J(fT(t.minWidth)),h=g=>(O.value&&(g.width=O.value),f.value&&(g.minWidth=f.value),g.minWidth||(g.minWidth=80),g.realWidth=Number(g.width===void 0?g.minWidth:g.width),g),p=g=>{const v=g.type,b=vK[v]||{};Object.keys(b).forEach(Q=>{const S=b[Q];Q!=="className"&&S!==void 0&&(g[Q]=S)});const _=gK(v);if(_){const Q=`${M(l.namespace)}-${_}`;g.className=g.className?`${g.className} ${Q}`:Q}return g},y=g=>{Array.isArray(g)?g.forEach(b=>v(b)):v(g);function v(b){var _;((_=b==null?void 0:b.type)==null?void 0:_.name)==="ElTableColumn"&&(b.vParent=i)}};return{columnId:r,realAlign:o,isSubColumn:s,realHeaderAlign:a,columnOrTableParent:c,setColumnWidth:h,setColumnForcedProps:p,setColumnRenders:g=>{t.renderHeader||g.type!=="selection"&&(g.renderHeader=_=>{i.columnConfig.value.label;const Q=e.header;return Q?Q(_):g.label});let v=g.renderCell;const b=u.value;return g.type==="expand"?(g.renderCell=_=>Ke("div",{class:"cell"},[v(_)]),n.value.renderExpanded=_=>e.default?e.default(_):e.default):(v=v||yK,g.renderCell=_=>{let Q=null;if(e.default){const x=e.default(_);Q=x.some(k=>k.type!==fi)?x:v(_)}else Q=v(_);const S=b&&_.cellIndex===0,P=$K(_,S),w={class:"cell",style:{}};return g.showOverflowTooltip&&(w.class=`${w.class} ${M(l.namespace)}-tooltip`,w.style={width:`${(_.column.realWidth||Number(_.column.width))-1}px`}),y(Q),Ke("div",w,[P,Q])}),g},getPropsData:(...g)=>g.reduce((v,b)=>(Array.isArray(b)&&b.forEach(_=>{v[_]=t[_]}),v),{}),getColumnElIndex:(g,v)=>Array.prototype.indexOf.call(g,v)}}var QK={type:{type:String,default:"default"},label:String,className:String,labelClassName:String,property:String,prop:String,width:{type:[String,Number],default:""},minWidth:{type:[String,Number],default:""},renderHeader:Function,sortable:{type:[Boolean,String],default:!1},sortMethod:Function,sortBy:[String,Function,Array],resizable:{type:Boolean,default:!0},columnKey:String,align:String,headerAlign:String,showTooltipWhenOverflow:Boolean,showOverflowTooltip:Boolean,fixed:[Boolean,String],formatter:Function,selectable:Function,reserveSelection:Boolean,filterMethod:Function,filteredValue:Array,filters:Array,filterPlacement:String,filterMultiple:{type:Boolean,default:!0},index:[Number,Function],sortOrders:{type:Array,default:()=>["ascending","descending",null],validator:t=>t.every(e=>["ascending","descending",null].includes(e))}};let SK=1;var vT=Ce({name:"ElTableColumn",components:{ElCheckbox:Zl},props:QK,setup(t,{slots:e}){const n=$t(),i=J({}),r=N(()=>{let d=n.parent;for(;d&&!d.tableId;)d=d.parent;return d}),{registerNormalWatchers:s,registerComplexWatchers:o}=bK(r,t),{columnId:a,isSubColumn:l,realHeaderAlign:c,columnOrTableParent:u,setColumnWidth:O,setColumnForcedProps:f,setColumnRenders:h,getPropsData:p,getColumnElIndex:y,realAlign:$}=_K(t,e,r),m=u.value;a.value=`${m.tableId||m.columnId}_column_${SK++}`,Yd(()=>{l.value=r.value!==m;const d=t.type||"default",g=t.sortable===""?!0:t.sortable,v=Je(ze({},mK[d]),{id:a.value,type:d,property:t.prop||t.property,align:$,headerAlign:c,showOverflowTooltip:t.showOverflowTooltip||t.showTooltipWhenOverflow,filterable:t.filters||t.filterMethod,filteredValue:[],filterPlacement:"",isColumnGroup:!1,isSubColumn:!1,filterOpened:!1,sortable:g,index:t.index,rawColumnKey:n.vnode.key});let P=p(["columnKey","label","className","labelClassName","type","renderHeader","formatter","fixed","resizable"],["sortMethod","sortBy","sortOrders"],["selectable","reserveSelection"],["filterMethod","filters","filterMultiple","filterOpened","filteredValue","filterPlacement"]);P=xH(v,P),P=PH(h,O,f)(P),i.value=P,s(),o()}),xt(()=>{var d;const g=u.value,v=l.value?g.vnode.el.children:(d=g.refs.hiddenColumns)==null?void 0:d.children,b=()=>y(v||[],n.vnode.el);i.value.getColumnIndex=b,b()>-1&&r.value.store.commit("insertColumn",i.value,l.value?g.columnConfig.value:null)}),Qn(()=>{r.value.store.commit("removeColumn",i.value,l.value?m.columnConfig.value:null)}),n.columnId=a.value,n.columnConfig=i},render(){var t,e,n;try{const i=(e=(t=this.$slots).default)==null?void 0:e.call(t,{row:{},column:{},$index:-1}),r=[];if(Array.isArray(i))for(const o of i)((n=o.type)==null?void 0:n.name)==="ElTableColumn"||o.shapeFlag&2?r.push(o):o.type===Le&&Array.isArray(o.children)&&o.children.forEach(a=>{(a==null?void 0:a.patchFlag)!==1024&&!ot(a==null?void 0:a.children)&&r.push(a)});return Ke("div",r)}catch{return Ke("div",[])}}});const gp=Gt(dK,{TableColumn:vT}),vp=Di(vT),wK=lt({tabs:{type:Ne(Array),default:()=>t$([])}}),xK={name:"ElTabBar"},PK=Ce(Je(ze({},xK),{props:wK,setup(t,{expose:e}){const n=t,i="ElTabBar",r=$t(),s=De(up);s||Wo(i,"");const o=Ze("tabs"),a=J(),l=J(),c=()=>{let O=0,f=0;const h=["top","bottom"].includes(s.props.tabPosition)?"width":"height",p=h==="width"?"x":"y";return n.tabs.every(y=>{var $,m,d,g;const v=(m=($=r.parent)==null?void 0:$.refs)==null?void 0:m[`tab-${y.paneName}`];if(!v)return!1;if(!y.active)return!0;f=v[`client${_r(h)}`];const b=p==="x"?"left":"top";O=v.getBoundingClientRect()[b]-((g=(d=v.parentElement)==null?void 0:d.getBoundingClientRect()[b])!=null?g:0);const _=window.getComputedStyle(v);return h==="width"&&(n.tabs.length>1&&(f-=Number.parseFloat(_.paddingLeft)+Number.parseFloat(_.paddingRight)),O+=Number.parseFloat(_.paddingLeft)),!1}),{[h]:`${f}px`,transform:`translate${_r(p)}(${O}px)`}},u=()=>l.value=c();return Ee(()=>n.tabs,async()=>{await et(),u()},{immediate:!0}),mf(a,()=>u()),e({ref:a,update:u}),(O,f)=>(L(),ie("div",{ref_key:"barRef",ref:a,class:te([M(o).e("active-bar"),M(o).is(M(s).props.tabPosition)]),style:tt(l.value)},null,6))}}));var kK=Me(PK,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tabs/src/tab-bar.vue"]]);const CK=lt({panes:{type:Ne(Array),default:()=>t$([])},currentName:{type:[String,Number],default:""},editable:Boolean,onTabClick:{type:Ne(Function),default:bn},onTabRemove:{type:Ne(Function),default:bn},type:{type:String,values:["card","border-card",""],default:""},stretch:Boolean}),mQ="ElTabNav",TK=Ce({name:mQ,props:CK,setup(t,{expose:e}){const n=$t(),i=De(up);i||Wo(mQ,"");const r=Ze("tabs"),s=RD(),o=WD(),a=J(),l=J(),c=J(),u=J(!1),O=J(0),f=J(!1),h=J(!0),p=N(()=>["top","bottom"].includes(i.props.tabPosition)?"width":"height"),y=N(()=>({transform:`translate${p.value==="width"?"X":"Y"}(-${O.value}px)`})),$=()=>{if(!a.value)return;const Q=a.value[`offset${_r(p.value)}`],S=O.value;if(!S)return;const P=S>Q?S-Q:0;O.value=P},m=()=>{if(!a.value||!l.value)return;const Q=l.value[`offset${_r(p.value)}`],S=a.value[`offset${_r(p.value)}`],P=O.value;if(Q-P<=S)return;const w=Q-P>S*2?P+S:Q-S;O.value=w},d=()=>{const Q=l.value;if(!u.value||!c.value||!a.value||!Q)return;const S=c.value.querySelector(".is-active");if(!S)return;const P=a.value,w=["top","bottom"].includes(i.props.tabPosition),x=S.getBoundingClientRect(),k=P.getBoundingClientRect(),C=w?Q.offsetWidth-k.width:Q.offsetHeight-k.height,T=O.value;let E=T;w?(x.leftk.right&&(E=T+x.right-k.right)):(x.topk.bottom&&(E=T+(x.bottom-k.bottom))),E=Math.max(E,0),O.value=Math.min(E,C)},g=()=>{if(!l.value||!a.value)return;const Q=l.value[`offset${_r(p.value)}`],S=a.value[`offset${_r(p.value)}`],P=O.value;if(S0&&(O.value=0)},v=Q=>{const S=Q.code,{up:P,down:w,left:x,right:k}=rt;if(![P,w,x,k].includes(S))return;const C=Array.from(Q.currentTarget.querySelectorAll("[role=tab]")),T=C.indexOf(Q.target);let E;S===x||S===P?T===0?E=C.length-1:E=T-1:T{h.value&&(f.value=!0)},_=()=>f.value=!1;return Ee(s,Q=>{Q==="hidden"?h.value=!1:Q==="visible"&&setTimeout(()=>h.value=!0,50)}),Ee(o,Q=>{Q?setTimeout(()=>h.value=!0,50):h.value=!1}),mf(c,g),xt(()=>setTimeout(()=>d(),0)),Ps(()=>g()),e({scrollToActiveTab:d,removeFocus:_}),Ee(()=>t.panes,()=>n.update(),{flush:"post"}),()=>{const Q=u.value?[B("span",{class:[r.e("nav-prev"),r.is("disabled",!u.value.prev)],onClick:$},[B(wt,null,{default:()=>[B(Ky,null,null)]})]),B("span",{class:[r.e("nav-next"),r.is("disabled",!u.value.next)],onClick:m},[B(wt,null,{default:()=>[B(gf,null,null)]})])]:null,S=t.panes.map((P,w)=>{var x,k;const C=P.props.name||P.index||`${w}`,T=P.isClosable||t.editable;P.index=`${w}`;const E=T?B(wt,{class:"is-icon-close",onClick:X=>t.onTabRemove(P,X)},{default:()=>[B(xa,null,null)]}):null,A=((k=(x=P.slots).label)==null?void 0:k.call(x))||P.props.label,R=P.active?0:-1;return B("div",{ref:`tab-${C}`,class:[r.e("item"),r.is(i.props.tabPosition),r.is("active",P.active),r.is("disabled",P.props.disabled),r.is("closable",T),r.is("focus",f.value)],id:`tab-${C}`,key:`tab-${C}`,"aria-controls":`pane-${C}`,role:"tab","aria-selected":P.active,tabindex:R,onFocus:()=>b(),onBlur:()=>_(),onClick:X=>{_(),t.onTabClick(P,C,X)},onKeydown:X=>{T&&(X.code===rt.delete||X.code===rt.backspace)&&t.onTabRemove(P,X)}},[A,E])});return B("div",{ref:c,class:[r.e("nav-wrap"),r.is("scrollable",!!u.value),r.is(i.props.tabPosition)]},[Q,B("div",{class:r.e("nav-scroll"),ref:a},[B("div",{class:[r.e("nav"),r.is(i.props.tabPosition),r.is("stretch",t.stretch&&["top","bottom"].includes(i.props.tabPosition))],ref:l,style:y.value,role:"tablist",onKeydown:v},[t.type?null:B(kK,{tabs:[...t.panes]},null),S])])])}}}),RK=lt({type:{type:String,values:["card","border-card",""],default:""},activeName:{type:[String,Number],default:""},closable:Boolean,addable:Boolean,modelValue:{type:[String,Number],default:""},editable:Boolean,tabPosition:{type:String,values:["top","right","bottom","left"],default:"top"},beforeLeave:{type:Ne(Function),default:()=>!0},stretch:Boolean}),D0=t=>ot(t)||Bt(t),AK={[Wt]:t=>D0(t),"tab-click":(t,e)=>e instanceof Event,"tab-change":t=>D0(t),edit:(t,e)=>["remove","add"].includes(e),"tab-remove":t=>D0(t),"tab-add":()=>!0};var EK=Ce({name:"ElTabs",props:RK,emits:AK,setup(t,{emit:e,slots:n,expose:i}){const r=Ze("tabs"),s=J(),o=gn({}),a=J(t.modelValue||t.activeName||"0"),l=h=>{a.value=h,e(Wt,h),e("tab-change",h)},c=async h=>{var p,y,$;if(a.value!==h)try{await((p=t.beforeLeave)==null?void 0:p.call(t,h,a.value))!==!1&&(l(h),($=(y=s.value)==null?void 0:y.removeFocus)==null||$.call(y))}catch{}},u=(h,p,y)=>{h.props.disabled||(c(p),e("tab-click",h,y))},O=(h,p)=>{h.props.disabled||(p.stopPropagation(),e("edit",h.props.name,"remove"),e("tab-remove",h.props.name))},f=()=>{e("edit",void 0,"add"),e("tab-add")};return Ee(()=>t.activeName,h=>c(h)),Ee(()=>t.modelValue,h=>c(h)),Ee(a,async()=>{var h;(h=s.value)==null||h.scrollToActiveTab()}),kt(up,{props:t,currentName:a,registerPane:y=>o[y.uid]=y,unregisterPane:y=>delete o[y]}),i({currentName:a}),()=>{const h=t.editable||t.addable?B("span",{class:r.e("new-tab"),tabindex:"0",onClick:f,onKeydown:$=>{$.code===rt.enter&&f()}},[B(wt,{class:r.is("icon-plus")},{default:()=>[B(yC,null,null)]})]):null,p=B("div",{class:[r.e("header"),r.is(t.tabPosition)]},[h,B(TK,{ref:s,currentName:a.value,editable:t.editable,type:t.type,panes:Object.values(o),stretch:t.stretch,onTabClick:u,onTabRemove:O},null)]),y=B("div",{class:r.e("content")},[We(n,"default")]);return B("div",{class:[r.b(),r.m(t.tabPosition),{[r.m("card")]:t.type==="card",[r.m("border-card")]:t.type==="border-card"}]},[...t.tabPosition!=="bottom"?[p,y]:[y,p]])}}});const XK=lt({label:{type:String,default:""},name:{type:[String,Number],default:""},closable:Boolean,disabled:Boolean,lazy:Boolean}),WK=["id","aria-hidden","aria-labelledby"],zK={name:"ElTabPane"},IK=Ce(Je(ze({},zK),{props:XK,setup(t){const e=t,n="ElTabPane",i=$t(),r=df(),s=De(up);s||Wo(n,"usage: ");const o=Ze("tab-pane"),a=J(),l=N(()=>e.closable||s.props.closable),c=d_(()=>s.currentName.value===(e.name||a.value)),u=J(c.value),O=N(()=>e.name||a.value),f=d_(()=>!e.lazy||u.value||c.value);Ee(c,p=>{p&&(u.value=!0)});const h=gn({uid:i.uid,slots:r,props:e,paneName:O,active:c,index:a,isClosable:l});return xt(()=>{s.registerPane(h)}),Wa(()=>{s.unregisterPane(h.uid)}),(p,y)=>M(f)?it((L(),ie("div",{key:0,id:`pane-${M(O)}`,class:te(M(o).b()),role:"tabpanel","aria-hidden":!M(c),"aria-labelledby":`tab-${M(O)}`},[We(p.$slots,"default")],10,WK)),[[Lt,M(c)]]):Qe("v-if",!0)}}));var yT=Me(IK,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tabs/src/tab-pane.vue"]]);const $T=Gt(EK,{TabPane:yT}),bT=Di(yT);function qK(t){let e;const n=J(!1),i=gn(Je(ze({},t),{originalPosition:"",originalOverflow:"",visible:!1}));function r(f){i.text=f}function s(){const f=i.parent;if(!f.vLoadingAddClassList){let h=f.getAttribute("loading-number");h=Number.parseInt(h)-1,h?f.setAttribute("loading-number",h.toString()):(wo(f,"el-loading-parent--relative"),f.removeAttribute("loading-number")),wo(f,"el-loading-parent--hidden")}o(),u.unmount()}function o(){var f,h;(h=(f=O.$el)==null?void 0:f.parentNode)==null||h.removeChild(O.$el)}function a(){var f;if(t.beforeClose&&!t.beforeClose())return;const h=i.parent;h.vLoadingAddClassList=void 0,n.value=!0,clearTimeout(e),e=window.setTimeout(()=>{n.value&&(n.value=!1,s())},400),i.visible=!1,(f=t.closed)==null||f.call(t)}function l(){!n.value||(n.value=!1,s())}const u=_k({name:"ElLoading",setup(){return()=>{const f=i.spinner||i.svg,h=Ke("svg",ze({class:"circular",viewBox:i.svgViewBox?i.svgViewBox:"25 25 50 50"},f?{innerHTML:f}:{}),[Ke("circle",{class:"path",cx:"50",cy:"50",r:"20",fill:"none"})]),p=i.text?Ke("p",{class:"el-loading-text"},[i.text]):void 0;return Ke(ri,{name:"el-loading-fade",onAfterLeave:l},{default:Z(()=>[it(B("div",{style:{backgroundColor:i.background||""},class:["el-loading-mask",i.customClass,i.fullscreen?"is-fullscreen":""]},[Ke("div",{class:"el-loading-spinner"},[h,p])]),[[Lt,i.visible]])])})}}}),O=u.mount(document.createElement("div"));return Je(ze({},xr(i)),{setText:r,remvoeElLoadingChild:o,close:a,handleAfterLeave:l,vm:O,get $el(){return O.$el}})}let SO;const UK=function(t={}){if(!qt)return;const e=DK(t);if(e.fullscreen&&SO)return SO;const n=qK(Je(ze({},e),{closed:()=>{var r;(r=e.closed)==null||r.call(e),e.fullscreen&&(SO=void 0)}}));LK(e,e.parent,n),gQ(e,e.parent,n),e.parent.vLoadingAddClassList=()=>gQ(e,e.parent,n);let i=e.parent.getAttribute("loading-number");return i?i=`${Number.parseInt(i)+1}`:i="1",e.parent.setAttribute("loading-number",i),e.parent.appendChild(n.$el),et(()=>n.visible.value=e.visible),e.fullscreen&&(SO=n),n},DK=t=>{var e,n,i,r;let s;return ot(t.target)?s=(e=document.querySelector(t.target))!=null?e:document.body:s=t.target||document.body,{parent:s===document.body||t.body?document.body:s,background:t.background||"",svg:t.svg||"",svgViewBox:t.svgViewBox||"",spinner:t.spinner||!1,text:t.text||"",fullscreen:s===document.body&&((n=t.fullscreen)!=null?n:!0),lock:(i=t.lock)!=null?i:!1,customClass:t.customClass||"",visible:(r=t.visible)!=null?r:!0,target:s}},LK=async(t,e,n)=>{const{nextZIndex:i}=La(),r={};if(t.fullscreen)n.originalPosition.value=hs(document.body,"position"),n.originalOverflow.value=hs(document.body,"overflow"),r.zIndex=i();else if(t.parent===document.body){n.originalPosition.value=hs(document.body,"position"),await et();for(const s of["top","left"]){const o=s==="top"?"scrollTop":"scrollLeft";r[s]=`${t.target.getBoundingClientRect()[s]+document.body[o]+document.documentElement[o]-Number.parseInt(hs(document.body,`margin-${s}`),10)}px`}for(const s of["height","width"])r[s]=`${t.target.getBoundingClientRect()[s]}px`}else n.originalPosition.value=hs(e,"position");for(const[s,o]of Object.entries(r))n.$el.style[s]=o},gQ=(t,e,n)=>{n.originalPosition.value!=="absolute"&&n.originalPosition.value!=="fixed"?Bu(e,"el-loading-parent--relative"):wo(e,"el-loading-parent--relative"),t.fullscreen&&t.lock?Bu(e,"el-loading-parent--hidden"):wo(e,"el-loading-parent--hidden")},Bg=Symbol("ElLoading"),vQ=(t,e)=>{var n,i,r,s;const o=e.instance,a=f=>yt(e.value)?e.value[f]:void 0,l=f=>{const h=ot(f)&&(o==null?void 0:o[f])||f;return h&&J(h)},c=f=>l(a(f)||t.getAttribute(`element-loading-${Ao(f)}`)),u=(n=a("fullscreen"))!=null?n:e.modifiers.fullscreen,O={text:c("text"),svg:c("svg"),svgViewBox:c("svgViewBox"),spinner:c("spinner"),background:c("background"),customClass:c("customClass"),fullscreen:u,target:(i=a("target"))!=null?i:u?void 0:t,body:(r=a("body"))!=null?r:e.modifiers.body,lock:(s=a("lock"))!=null?s:e.modifiers.lock};t[Bg]={options:O,instance:UK(O)}},BK=(t,e)=>{for(const n of Object.keys(e))It(e[n])&&(e[n].value=t[n])},yc={mounted(t,e){e.value&&vQ(t,e)},updated(t,e){const n=t[Bg];e.oldValue!==e.value&&(e.value&&!e.oldValue?vQ(t,e):e.value&&e.oldValue?yt(e.value)&&BK(e.value,n.options):n==null||n.instance.close())},unmounted(t){var e;(e=t[Bg])==null||e.instance.close()}},_T=["success","info","warning","error"],MK=lt({customClass:{type:String,default:""},center:{type:Boolean,default:!1},dangerouslyUseHTMLString:{type:Boolean,default:!1},duration:{type:Number,default:3e3},icon:{type:_s,default:""},id:{type:String,default:""},message:{type:Ne([String,Object,Function]),default:""},onClose:{type:Ne(Function),required:!1},showClose:{type:Boolean,default:!1},type:{type:String,values:_T,default:"info"},offset:{type:Number,default:20},zIndex:{type:Number,default:0},grouping:{type:Boolean,default:!1},repeatNum:{type:Number,default:1}}),YK={destroy:()=>!0},ZK=Ce({name:"ElMessage",components:ze({ElBadge:lY,ElIcon:wt},cp),props:MK,emits:YK,setup(t){const e=Ze("message"),n=J(!1),i=J(t.type?t.type==="error"?"danger":t.type:"info");let r;const s=N(()=>{const f=t.type;return{[e.bm("icon",f)]:f&&Qs[f]}}),o=N(()=>t.icon||Qs[t.type]||""),a=N(()=>({top:`${t.offset}px`,zIndex:t.zIndex}));function l(){t.duration>0&&({stop:r}=Nh(()=>{n.value&&u()},t.duration))}function c(){r==null||r()}function u(){n.value=!1}function O({code:f}){f===rt.esc?n.value&&u():l()}return xt(()=>{l(),n.value=!0}),Ee(()=>t.repeatNum,()=>{c(),l()}),Wi(document,"keydown",O),{ns:e,typeClass:s,iconComponent:o,customStyle:a,visible:n,badgeType:i,close:u,clearTimer:c,startTimer:l}}}),VK=["id"],jK=["innerHTML"];function NK(t,e,n,i,r,s){const o=Pe("el-badge"),a=Pe("el-icon"),l=Pe("close");return L(),be(ri,{name:t.ns.b("fade"),onBeforeLeave:t.onClose,onAfterLeave:e[2]||(e[2]=c=>t.$emit("destroy"))},{default:Z(()=>[it(D("div",{id:t.id,class:te([t.ns.b(),{[t.ns.m(t.type)]:t.type&&!t.icon},t.ns.is("center",t.center),t.ns.is("closable",t.showClose),t.customClass]),style:tt(t.customStyle),role:"alert",onMouseenter:e[0]||(e[0]=(...c)=>t.clearTimer&&t.clearTimer(...c)),onMouseleave:e[1]||(e[1]=(...c)=>t.startTimer&&t.startTimer(...c))},[t.repeatNum>1?(L(),be(o,{key:0,value:t.repeatNum,type:t.badgeType,class:te(t.ns.e("badge"))},null,8,["value","type","class"])):Qe("v-if",!0),t.iconComponent?(L(),be(a,{key:1,class:te([t.ns.e("icon"),t.typeClass])},{default:Z(()=>[(L(),be(Vt(t.iconComponent)))]),_:1},8,["class"])):Qe("v-if",!0),We(t.$slots,"default",{},()=>[t.dangerouslyUseHTMLString?(L(),ie(Le,{key:1},[Qe(" Caution here, message could've been compromised, never use user's input as message "),D("p",{class:te(t.ns.e("content")),innerHTML:t.message},null,10,jK)],2112)):(L(),ie("p",{key:0,class:te(t.ns.e("content"))},de(t.message),3))]),t.showClose?(L(),be(a,{key:2,class:te(t.ns.e("closeBtn")),onClick:Et(t.close,["stop"])},{default:Z(()=>[B(l)]),_:1},8,["class","onClick"])):Qe("v-if",!0)],46,VK),[[Lt,t.visible]])]),_:3},8,["name","onBeforeLeave"])}var FK=Me(ZK,[["render",NK],["__file","/home/runner/work/element-plus/element-plus/packages/components/message/src/message.vue"]]);const wi=[];let GK=1;const jl=function(t={},e){if(!qt)return{close:()=>{}};if(Bt(Eg.max)&&wi.length>=Eg.max)return{close:()=>{}};if(!xn(t)&&yt(t)&&t.grouping&&!xn(t.message)&&wi.length){const O=wi.find(f=>{var h,p,y;return`${(p=(h=f.vm.props)==null?void 0:h.message)!=null?p:""}`==`${(y=t.message)!=null?y:""}`});if(O)return O.vm.component.props.repeatNum+=1,O.vm.component.props.type=(t==null?void 0:t.type)||"info",{close:()=>u.component.proxy.visible=!1}}(ot(t)||xn(t))&&(t={message:t});let n=t.offset||20;wi.forEach(({vm:O})=>{var f;n+=(((f=O.el)==null?void 0:f.offsetHeight)||0)+16}),n+=16;const{nextZIndex:i}=La(),r=`message_${GK++}`,s=t.onClose,o=Je(ze({zIndex:i()},t),{offset:n,id:r,onClose:()=>{HK(r,s)}});let a=document.body;ql(t.appendTo)?a=t.appendTo:ot(t.appendTo)&&(a=document.querySelector(t.appendTo)),ql(a)||(a=document.body);const l=document.createElement("div");l.className=`container_${r}`;const c=o.message,u=B(FK,o,st(c)?{default:c}:xn(c)?{default:()=>c}:null);return u.appContext=e||jl._context,u.props.onDestroy=()=>{Wl(null,l)},Wl(u,l),wi.push({vm:u}),a.appendChild(l.firstElementChild),{close:()=>u.component.proxy.visible=!1}};_T.forEach(t=>{jl[t]=(e={},n)=>((ot(e)||xn(e))&&(e={message:e}),jl(Je(ze({},e),{type:t}),n))});function HK(t,e){const n=wi.findIndex(({vm:o})=>t===o.component.props.id);if(n===-1)return;const{vm:i}=wi[n];if(!i)return;e==null||e(i);const r=i.el.offsetHeight;wi.splice(n,1);const s=wi.length;if(!(s<1))for(let o=n;o=0;e--){const n=wi[e].vm.component;(t=n==null?void 0:n.proxy)==null||t.close()}}jl.closeAll=KK;jl._context=null;const mo=bC(jl,"$message"),JK=Ce({name:"ElMessageBox",directives:{TrapFocus:LY},components:ze({ElButton:Ln,ElInput:mi,ElOverlay:Z2,ElIcon:wt},cp),inheritAttrs:!1,props:{buttonSize:{type:String,validator:Ua},modal:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},closeOnHashChange:{type:Boolean,default:!0},center:Boolean,draggable:Boolean,roundButton:{default:!1,type:Boolean},container:{type:String,default:"body"},boxType:{type:String,default:""}},emits:["vanish","action"],setup(t,{emit:e}){const{t:n}=Fn(),i=Ze("message-box"),r=J(!1),{nextZIndex:s}=La(),o=gn({beforeClose:null,callback:null,cancelButtonText:"",cancelButtonClass:"",confirmButtonText:"",confirmButtonClass:"",customClass:"",customStyle:{},dangerouslyUseHTMLString:!1,distinguishCancelAndClose:!1,icon:"",inputPattern:null,inputPlaceholder:"",inputType:"text",inputValue:null,inputValidator:null,inputErrorMessage:"",message:null,modalFade:!0,modalClass:"",showCancelButton:!1,showConfirmButton:!0,type:"",title:void 0,showInput:!1,action:"",confirmButtonLoading:!1,cancelButtonLoading:!1,confirmButtonDisabled:!1,editorErrorMessage:"",validateError:!1,zIndex:s()}),a=N(()=>{const P=o.type;return{[i.bm("icon",P)]:P&&Qs[P]}}),l=Dn(N(()=>t.buttonSize),{prop:!0,form:!0,formItem:!0}),c=N(()=>o.icon||Qs[o.type]||""),u=N(()=>!!o.message),O=J(),f=J(),h=J(),p=J(),y=N(()=>o.confirmButtonClass);Ee(()=>o.inputValue,async P=>{await et(),t.boxType==="prompt"&&P!==null&&_()},{immediate:!0}),Ee(()=>r.value,P=>{P&&((t.boxType==="alert"||t.boxType==="confirm")&&et().then(()=>{var w,x,k;(k=(x=(w=p.value)==null?void 0:w.$el)==null?void 0:x.focus)==null||k.call(x)}),o.zIndex=s()),t.boxType==="prompt"&&(P?et().then(()=>{h.value&&h.value.$el&&Q().focus()}):(o.editorErrorMessage="",o.validateError=!1))});const $=N(()=>t.draggable);XC(O,f,$),xt(async()=>{await et(),t.closeOnHashChange&&bs(window,"hashchange",m)}),Qn(()=>{t.closeOnHashChange&&So(window,"hashchange",m)});function m(){!r.value||(r.value=!1,et(()=>{o.action&&e("action",o.action)}))}const d=()=>{t.closeOnClickModal&&b(o.distinguishCancelAndClose?"close":"cancel")},g=i$(d),v=P=>{if(o.inputType!=="textarea")return P.preventDefault(),b("confirm")},b=P=>{var w;t.boxType==="prompt"&&P==="confirm"&&!_()||(o.action=P,o.beforeClose?(w=o.beforeClose)==null||w.call(o,P,o,m):m())},_=()=>{if(t.boxType==="prompt"){const P=o.inputPattern;if(P&&!P.test(o.inputValue||""))return o.editorErrorMessage=o.inputErrorMessage||n("el.messagebox.error"),o.validateError=!0,!1;const w=o.inputValidator;if(typeof w=="function"){const x=w(o.inputValue);if(x===!1)return o.editorErrorMessage=o.inputErrorMessage||n("el.messagebox.error"),o.validateError=!0,!1;if(typeof x=="string")return o.editorErrorMessage=x,o.validateError=!0,!1}}return o.editorErrorMessage="",o.validateError=!1,!0},Q=()=>{const P=h.value.$refs;return P.input||P.textarea},S=()=>{b("close")};return t.closeOnPressEscape?zC({handleClose:S},r):p9(r,"keydown",P=>P.code===rt.esc),t.lockScroll&&WC(r),IC(r),Je(ze({},xr(o)),{ns:i,overlayEvent:g,visible:r,hasMessage:u,typeClass:a,btnSize:l,iconComponent:c,confirmButtonClasses:y,rootRef:O,headerRef:f,inputRef:h,confirmRef:p,doClose:m,handleClose:S,handleWrapperClick:d,handleInputEnter:v,handleAction:b,t:n})}}),eJ=["aria-label"],tJ={key:0},nJ=["innerHTML"];function iJ(t,e,n,i,r,s){const o=Pe("el-icon"),a=Pe("close"),l=Pe("el-input"),c=Pe("el-button"),u=Pe("el-overlay"),O=Eo("trap-focus");return L(),be(ri,{name:"fade-in-linear",onAfterLeave:e[11]||(e[11]=f=>t.$emit("vanish"))},{default:Z(()=>[it(B(u,{"z-index":t.zIndex,"overlay-class":[t.ns.is("message-box"),t.modalClass],mask:t.modal},{default:Z(()=>[D("div",{class:te(`${t.ns.namespace.value}-overlay-message-box`),onClick:e[8]||(e[8]=(...f)=>t.overlayEvent.onClick&&t.overlayEvent.onClick(...f)),onMousedown:e[9]||(e[9]=(...f)=>t.overlayEvent.onMousedown&&t.overlayEvent.onMousedown(...f)),onMouseup:e[10]||(e[10]=(...f)=>t.overlayEvent.onMouseup&&t.overlayEvent.onMouseup(...f))},[it((L(),ie("div",{ref:"rootRef",role:"dialog","aria-label":t.title||"dialog","aria-modal":"true",class:te([t.ns.b(),t.customClass,t.ns.is("draggable",t.draggable),{[t.ns.m("center")]:t.center}]),style:tt(t.customStyle),onClick:e[7]||(e[7]=Et(()=>{},["stop"]))},[t.title!==null&&t.title!==void 0?(L(),ie("div",{key:0,ref:"headerRef",class:te(t.ns.e("header"))},[D("div",{class:te(t.ns.e("title"))},[t.iconComponent&&t.center?(L(),be(o,{key:0,class:te([t.ns.e("status"),t.typeClass])},{default:Z(()=>[(L(),be(Vt(t.iconComponent)))]),_:1},8,["class"])):Qe("v-if",!0),D("span",null,de(t.title),1)],2),t.showClose?(L(),ie("button",{key:0,type:"button",class:te(t.ns.e("headerbtn")),"aria-label":"Close",onClick:e[0]||(e[0]=f=>t.handleAction(t.distinguishCancelAndClose?"close":"cancel")),onKeydown:e[1]||(e[1]=Qt(Et(f=>t.handleAction(t.distinguishCancelAndClose?"close":"cancel"),["prevent"]),["enter"]))},[B(o,{class:te(t.ns.e("close"))},{default:Z(()=>[B(a)]),_:1},8,["class"])],34)):Qe("v-if",!0)],2)):Qe("v-if",!0),D("div",{class:te(t.ns.e("content"))},[D("div",{class:te(t.ns.e("container"))},[t.iconComponent&&!t.center&&t.hasMessage?(L(),be(o,{key:0,class:te([t.ns.e("status"),t.typeClass])},{default:Z(()=>[(L(),be(Vt(t.iconComponent)))]),_:1},8,["class"])):Qe("v-if",!0),t.hasMessage?(L(),ie("div",{key:1,class:te(t.ns.e("message"))},[We(t.$slots,"default",{},()=>[t.dangerouslyUseHTMLString?(L(),ie("p",{key:1,innerHTML:t.message},null,8,nJ)):(L(),ie("p",tJ,de(t.message),1))])],2)):Qe("v-if",!0)],2),it(D("div",{class:te(t.ns.e("input"))},[B(l,{ref:"inputRef",modelValue:t.inputValue,"onUpdate:modelValue":e[2]||(e[2]=f=>t.inputValue=f),type:t.inputType,placeholder:t.inputPlaceholder,class:te({invalid:t.validateError}),onKeydown:Qt(t.handleInputEnter,["enter"])},null,8,["modelValue","type","placeholder","class","onKeydown"]),D("div",{class:te(t.ns.e("errormsg")),style:tt({visibility:t.editorErrorMessage?"visible":"hidden"})},de(t.editorErrorMessage),7)],2),[[Lt,t.showInput]])],2),D("div",{class:te(t.ns.e("btns"))},[t.showCancelButton?(L(),be(c,{key:0,loading:t.cancelButtonLoading,class:te([t.cancelButtonClass]),round:t.roundButton,size:t.btnSize,onClick:e[3]||(e[3]=f=>t.handleAction("cancel")),onKeydown:e[4]||(e[4]=Qt(Et(f=>t.handleAction("cancel"),["prevent"]),["enter"]))},{default:Z(()=>[Xe(de(t.cancelButtonText||t.t("el.messagebox.cancel")),1)]),_:1},8,["loading","class","round","size"])):Qe("v-if",!0),it(B(c,{ref:"confirmRef",type:"primary",loading:t.confirmButtonLoading,class:te([t.confirmButtonClasses]),round:t.roundButton,disabled:t.confirmButtonDisabled,size:t.btnSize,onClick:e[5]||(e[5]=f=>t.handleAction("confirm")),onKeydown:e[6]||(e[6]=Qt(Et(f=>t.handleAction("confirm"),["prevent"]),["enter"]))},{default:Z(()=>[Xe(de(t.confirmButtonText||t.t("el.messagebox.confirm")),1)]),_:1},8,["loading","class","round","disabled","size"]),[[Lt,t.showConfirmButton]])],2)],14,eJ)),[[O]])],34)]),_:3},8,["z-index","overlay-class","mask"]),[[Lt,t.visible]])]),_:3})}var rJ=Me(JK,[["render",iJ],["__file","/home/runner/work/element-plus/element-plus/packages/components/message-box/src/index.vue"]]);const Nu=new Map,sJ=(t,e,n=null)=>{const i=Ke(rJ,t);return i.appContext=n,Wl(i,e),document.body.appendChild(e.firstElementChild),i.component},oJ=()=>document.createElement("div"),aJ=(t,e)=>{const n=oJ();t.onVanish=()=>{Wl(null,n),Nu.delete(r)},t.onAction=s=>{const o=Nu.get(r);let a;t.showInput?a={value:r.inputValue,action:s}:a=s,t.callback?t.callback(a,i.proxy):s==="cancel"||s==="close"?t.distinguishCancelAndClose&&s!=="cancel"?o.reject("close"):o.reject("cancel"):o.resolve(a)};const i=sJ(t,n,e),r=i.proxy;for(const s in t)ct(t,s)&&!ct(r.$props,s)&&(r[s]=t[s]);return Ee(()=>r.message,(s,o)=>{xn(s)?i.slots.default=()=>[s]:xn(o)&&!xn(s)&&delete i.slots.default},{immediate:!0}),r.visible=!0,r};function $c(t,e=null){if(!qt)return Promise.reject();let n;return ot(t)||xn(t)?t={message:t}:n=t.callback,new Promise((i,r)=>{const s=aJ(t,e!=null?e:$c._context);Nu.set(s,{options:t,callback:n,resolve:i,reject:r})})}const lJ=["alert","confirm","prompt"],cJ={alert:{closeOnPressEscape:!1,closeOnClickModal:!1},confirm:{showCancelButton:!0},prompt:{showCancelButton:!0,showInput:!0}};lJ.forEach(t=>{$c[t]=uJ(t)});function uJ(t){return(e,n,i,r)=>{let s;return yt(n)?(i=n,s=""):Dr(n)?s="":s=n,$c(Object.assign(ze({title:s,message:e,type:""},cJ[t]),i,{boxType:t}),r)}}$c.close=()=>{Nu.forEach((t,e)=>{e.doClose()}),Nu.clear()};$c._context=null;const Ns=$c;Ns.install=t=>{Ns._context=t._context,t.config.globalProperties.$msgbox=Ns,t.config.globalProperties.$messageBox=Ns,t.config.globalProperties.$alert=Ns.alert,t.config.globalProperties.$confirm=Ns.confirm,t.config.globalProperties.$prompt=Ns.prompt};const Mg=Ns,QT=["success","info","warning","error"],fJ=lt({customClass:{type:String,default:""},dangerouslyUseHTMLString:{type:Boolean,default:!1},duration:{type:Number,default:4500},icon:{type:Ne([String,Object]),default:""},id:{type:String,default:""},message:{type:Ne([String,Object]),default:""},offset:{type:Number,default:0},onClick:{type:Ne(Function),default:()=>{}},onClose:{type:Ne(Function),required:!0},position:{type:String,values:["top-right","top-left","bottom-right","bottom-left"],default:"top-right"},showClose:{type:Boolean,default:!0},title:{type:String,default:""},type:{type:String,values:[...QT,""],default:""},zIndex:{type:Number,default:0}}),OJ={destroy:()=>!0},hJ=Ce({name:"ElNotification",components:ze({ElIcon:wt},cp),props:fJ,emits:OJ,setup(t){const e=Ze("notification"),n=J(!1);let i;const r=N(()=>{const h=t.type;return h&&Qs[t.type]?e.m(h):""}),s=N(()=>Qs[t.type]||t.icon||""),o=N(()=>t.position.endsWith("right")?"right":"left"),a=N(()=>t.position.startsWith("top")?"top":"bottom"),l=N(()=>({[a.value]:`${t.offset}px`,zIndex:t.zIndex}));function c(){t.duration>0&&({stop:i}=Nh(()=>{n.value&&O()},t.duration))}function u(){i==null||i()}function O(){n.value=!1}function f({code:h}){h===rt.delete||h===rt.backspace?u():h===rt.esc?n.value&&O():c()}return xt(()=>{c(),n.value=!0}),Wi(document,"keydown",f),{ns:e,horizontalClass:o,typeClass:r,iconComponent:s,positionStyle:l,visible:n,close:O,clearTimer:u,startTimer:c}}}),dJ=["id"],pJ=["textContent"],mJ={key:0},gJ=["innerHTML"];function vJ(t,e,n,i,r,s){const o=Pe("el-icon"),a=Pe("close");return L(),be(ri,{name:t.ns.b("fade"),onBeforeLeave:t.onClose,onAfterLeave:e[3]||(e[3]=l=>t.$emit("destroy"))},{default:Z(()=>[it(D("div",{id:t.id,class:te([t.ns.b(),t.customClass,t.horizontalClass]),style:tt(t.positionStyle),role:"alert",onMouseenter:e[0]||(e[0]=(...l)=>t.clearTimer&&t.clearTimer(...l)),onMouseleave:e[1]||(e[1]=(...l)=>t.startTimer&&t.startTimer(...l)),onClick:e[2]||(e[2]=(...l)=>t.onClick&&t.onClick(...l))},[t.iconComponent?(L(),be(o,{key:0,class:te([t.ns.e("icon"),t.typeClass])},{default:Z(()=>[(L(),be(Vt(t.iconComponent)))]),_:1},8,["class"])):Qe("v-if",!0),D("div",{class:te(t.ns.e("group"))},[D("h2",{class:te(t.ns.e("title")),textContent:de(t.title)},null,10,pJ),it(D("div",{class:te(t.ns.e("content")),style:tt(t.title?void 0:{margin:0})},[We(t.$slots,"default",{},()=>[t.dangerouslyUseHTMLString?(L(),ie(Le,{key:1},[Qe(" Caution here, message could've been compromized, nerver use user's input as message "),Qe(" eslint-disable-next-line "),D("p",{innerHTML:t.message},null,8,gJ)],2112)):(L(),ie("p",mJ,de(t.message),1))])],6),[[Lt,t.message]]),t.showClose?(L(),be(o,{key:0,class:te(t.ns.e("closeBtn")),onClick:Et(t.close,["stop"])},{default:Z(()=>[B(a)]),_:1},8,["class","onClick"])):Qe("v-if",!0)],2)],46,dJ),[[Lt,t.visible]])]),_:3},8,["name","onBeforeLeave"])}var yJ=Me(hJ,[["render",vJ],["__file","/home/runner/work/element-plus/element-plus/packages/components/notification/src/notification.vue"]]);const ed={"top-left":[],"top-right":[],"bottom-left":[],"bottom-right":[]},Yg=16;let $J=1;const Nl=function(t={},e=null){if(!qt)return{close:()=>{}};(typeof t=="string"||xn(t))&&(t={message:t});const n=t.position||"top-right";let i=t.offset||0;ed[n].forEach(({vm:O})=>{var f;i+=(((f=O.el)==null?void 0:f.offsetHeight)||0)+Yg}),i+=Yg;const{nextZIndex:r}=La(),s=`notification_${$J++}`,o=t.onClose,a=Je(ze({zIndex:r(),offset:i},t),{id:s,onClose:()=>{bJ(s,n,o)}});let l=document.body;ql(t.appendTo)?l=t.appendTo:ot(t.appendTo)&&(l=document.querySelector(t.appendTo)),ql(l)||(l=document.body);const c=document.createElement("div"),u=B(yJ,a,xn(a.message)?{default:()=>a.message}:null);return u.appContext=e!=null?e:Nl._context,u.props.onDestroy=()=>{Wl(null,c)},Wl(u,c),ed[n].push({vm:u}),l.appendChild(c.firstElementChild),{close:()=>{u.component.proxy.visible=!1}}};QT.forEach(t=>{Nl[t]=(e={})=>((typeof e=="string"||xn(e))&&(e={message:e}),Nl(Je(ze({},e),{type:t})))});function bJ(t,e,n){const i=ed[e],r=i.findIndex(({vm:c})=>{var u;return((u=c.component)==null?void 0:u.props.id)===t});if(r===-1)return;const{vm:s}=i[r];if(!s)return;n==null||n(s);const o=s.el.offsetHeight,a=e.split("-")[0];i.splice(r,1);const l=i.length;if(!(l<1))for(let c=r;c{e.component.proxy.visible=!1})}Nl.closeAll=_J;Nl._context=null;const QJ=bC(Nl,"$notify");/*! - * vue-router v4.0.15 - * (c) 2022 Eduardo San Martin Morote - * @license MIT - */const ST=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",bc=t=>ST?Symbol(t):"_vr_"+t,SJ=bc("rvlm"),yQ=bc("rvd"),w$=bc("r"),wT=bc("rl"),Zg=bc("rvl"),pl=typeof window!="undefined";function wJ(t){return t.__esModule||ST&&t[Symbol.toStringTag]==="Module"}const Yt=Object.assign;function L0(t,e){const n={};for(const i in e){const r=e[i];n[i]=Array.isArray(r)?r.map(t):t(r)}return n}const yu=()=>{},xJ=/\/$/,PJ=t=>t.replace(xJ,"");function B0(t,e,n="/"){let i,r={},s="",o="";const a=e.indexOf("?"),l=e.indexOf("#",a>-1?a:0);return a>-1&&(i=e.slice(0,a),s=e.slice(a+1,l>-1?l:e.length),r=t(s)),l>-1&&(i=i||e.slice(0,l),o=e.slice(l,e.length)),i=RJ(i!=null?i:e,n),{fullPath:i+(s&&"?")+s+o,path:i,query:r,hash:o}}function kJ(t,e){const n=e.query?t(e.query):"";return e.path+(n&&"?")+n+(e.hash||"")}function $Q(t,e){return!e||!t.toLowerCase().startsWith(e.toLowerCase())?t:t.slice(e.length)||"/"}function CJ(t,e,n){const i=e.matched.length-1,r=n.matched.length-1;return i>-1&&i===r&&Fl(e.matched[i],n.matched[r])&&xT(e.params,n.params)&&t(e.query)===t(n.query)&&e.hash===n.hash}function Fl(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function xT(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(!TJ(t[n],e[n]))return!1;return!0}function TJ(t,e){return Array.isArray(t)?bQ(t,e):Array.isArray(e)?bQ(e,t):t===e}function bQ(t,e){return Array.isArray(e)?t.length===e.length&&t.every((n,i)=>n===e[i]):t.length===1&&t[0]===e}function RJ(t,e){if(t.startsWith("/"))return t;if(!t)return e;const n=e.split("/"),i=t.split("/");let r=n.length-1,s,o;for(s=0;s({left:window.pageXOffset,top:window.pageYOffset});function zJ(t){let e;if("el"in t){const n=t.el,i=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?i?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;e=WJ(r,t)}else e=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(e.left!=null?e.left:window.pageXOffset,e.top!=null?e.top:window.pageYOffset)}function _Q(t,e){return(history.state?history.state.position-e:-1)+t}const Vg=new Map;function IJ(t,e){Vg.set(t,e)}function qJ(t){const e=Vg.get(t);return Vg.delete(t),e}let UJ=()=>location.protocol+"//"+location.host;function PT(t,e){const{pathname:n,search:i,hash:r}=e,s=t.indexOf("#");if(s>-1){let a=r.includes(t.slice(s))?t.slice(s).length:1,l=r.slice(a);return l[0]!=="/"&&(l="/"+l),$Q(l,"")}return $Q(n,t)+i+r}function DJ(t,e,n,i){let r=[],s=[],o=null;const a=({state:f})=>{const h=PT(t,location),p=n.value,y=e.value;let $=0;if(f){if(n.value=h,e.value=f,o&&o===p){o=null;return}$=y?f.position-y.position:0}else i(h);r.forEach(m=>{m(n.value,p,{delta:$,type:Fu.pop,direction:$?$>0?$u.forward:$u.back:$u.unknown})})};function l(){o=n.value}function c(f){r.push(f);const h=()=>{const p=r.indexOf(f);p>-1&&r.splice(p,1)};return s.push(h),h}function u(){const{history:f}=window;!f.state||f.replaceState(Yt({},f.state,{scroll:yp()}),"")}function O(){for(const f of s)f();s=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u),{pauseListeners:l,listen:c,destroy:O}}function QQ(t,e,n,i=!1,r=!1){return{back:t,current:e,forward:n,replaced:i,position:window.history.length,scroll:r?yp():null}}function LJ(t){const{history:e,location:n}=window,i={value:PT(t,n)},r={value:e.state};r.value||s(i.value,{back:null,current:i.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0);function s(l,c,u){const O=t.indexOf("#"),f=O>-1?(n.host&&document.querySelector("base")?t:t.slice(O))+l:UJ()+t+l;try{e[u?"replaceState":"pushState"](c,"",f),r.value=c}catch(h){console.error(h),n[u?"replace":"assign"](f)}}function o(l,c){const u=Yt({},e.state,QQ(r.value.back,l,r.value.forward,!0),c,{position:r.value.position});s(l,u,!0),i.value=l}function a(l,c){const u=Yt({},r.value,e.state,{forward:l,scroll:yp()});s(u.current,u,!0);const O=Yt({},QQ(i.value,l,null),{position:u.position+1},c);s(l,O,!1),i.value=l}return{location:i,state:r,push:a,replace:o}}function BJ(t){t=AJ(t);const e=LJ(t),n=DJ(t,e.state,e.location,e.replace);function i(s,o=!0){o||n.pauseListeners(),history.go(s)}const r=Yt({location:"",base:t,go:i,createHref:XJ.bind(null,t)},e,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>e.state.value}),r}function MJ(t){return typeof t=="string"||t&&typeof t=="object"}function kT(t){return typeof t=="string"||typeof t=="symbol"}const Bs={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},CT=bc("nf");var SQ;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(SQ||(SQ={}));function Gl(t,e){return Yt(new Error,{type:t,[CT]:!0},e)}function Ms(t,e){return t instanceof Error&&CT in t&&(e==null||!!(t.type&e))}const wQ="[^/]+?",YJ={sensitive:!1,strict:!1,start:!0,end:!0},ZJ=/[.+*?^${}()[\]/\\]/g;function VJ(t,e){const n=Yt({},YJ,e),i=[];let r=n.start?"^":"";const s=[];for(const c of t){const u=c.length?[]:[90];n.strict&&!c.length&&(r+="/");for(let O=0;O1&&(u.endsWith("/")?u=u.slice(0,-1):O=!0);else throw new Error(`Missing required param "${p}"`);u+=d}}return u}return{re:o,score:i,keys:s,parse:a,stringify:l}}function jJ(t,e){let n=0;for(;ne.length?e.length===1&&e[0]===40+40?1:-1:0}function NJ(t,e){let n=0;const i=t.score,r=e.score;for(;n1&&(l==="*"||l==="+")&&e(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):e("Invalid state to consume buffer"),c="")}function f(){c+=l}for(;a{o(d)}:yu}function o(u){if(kT(u)){const O=i.get(u);O&&(i.delete(u),n.splice(n.indexOf(O),1),O.children.forEach(o),O.alias.forEach(o))}else{const O=n.indexOf(u);O>-1&&(n.splice(O,1),u.record.name&&i.delete(u.record.name),u.children.forEach(o),u.alias.forEach(o))}}function a(){return n}function l(u){let O=0;for(;O=0&&(u.record.path!==n[O].record.path||!TT(u,n[O]));)O++;n.splice(O,0,u),u.record.name&&!xQ(u)&&i.set(u.record.name,u)}function c(u,O){let f,h={},p,y;if("name"in u&&u.name){if(f=i.get(u.name),!f)throw Gl(1,{location:u});y=f.record.name,h=Yt(eee(O.params,f.keys.filter(d=>!d.optional).map(d=>d.name)),u.params),p=f.stringify(h)}else if("path"in u)p=u.path,f=n.find(d=>d.re.test(p)),f&&(h=f.parse(p),y=f.record.name);else{if(f=O.name?i.get(O.name):n.find(d=>d.re.test(O.path)),!f)throw Gl(1,{location:u,currentLocation:O});y=f.record.name,h=Yt({},O.params,u.params),p=f.stringify(h)}const $=[];let m=f;for(;m;)$.unshift(m.record),m=m.parent;return{name:y,path:p,params:h,matched:$,meta:iee($)}}return t.forEach(u=>s(u)),{addRoute:s,resolve:c,removeRoute:o,getRoutes:a,getRecordMatcher:r}}function eee(t,e){const n={};for(const i of e)i in t&&(n[i]=t[i]);return n}function tee(t){return{path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:void 0,beforeEnter:t.beforeEnter,props:nee(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||{}:{default:t.component}}}function nee(t){const e={},n=t.props||!1;if("component"in t)e.default=n;else for(const i in t.components)e[i]=typeof n=="boolean"?n:n[i];return e}function xQ(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function iee(t){return t.reduce((e,n)=>Yt(e,n.meta),{})}function PQ(t,e){const n={};for(const i in t)n[i]=i in e?e[i]:t[i];return n}function TT(t,e){return e.children.some(n=>n===t||TT(t,n))}const RT=/#/g,ree=/&/g,see=/\//g,oee=/=/g,aee=/\?/g,AT=/\+/g,lee=/%5B/g,cee=/%5D/g,ET=/%5E/g,uee=/%60/g,XT=/%7B/g,fee=/%7C/g,WT=/%7D/g,Oee=/%20/g;function x$(t){return encodeURI(""+t).replace(fee,"|").replace(lee,"[").replace(cee,"]")}function hee(t){return x$(t).replace(XT,"{").replace(WT,"}").replace(ET,"^")}function jg(t){return x$(t).replace(AT,"%2B").replace(Oee,"+").replace(RT,"%23").replace(ree,"%26").replace(uee,"`").replace(XT,"{").replace(WT,"}").replace(ET,"^")}function dee(t){return jg(t).replace(oee,"%3D")}function pee(t){return x$(t).replace(RT,"%23").replace(aee,"%3F")}function mee(t){return t==null?"":pee(t).replace(see,"%2F")}function td(t){try{return decodeURIComponent(""+t)}catch{}return""+t}function gee(t){const e={};if(t===""||t==="?")return e;const i=(t[0]==="?"?t.slice(1):t).split("&");for(let r=0;rs&&jg(s)):[i&&jg(i)]).forEach(s=>{s!==void 0&&(e+=(e.length?"&":"")+n,s!=null&&(e+="="+s))})}return e}function vee(t){const e={};for(const n in t){const i=t[n];i!==void 0&&(e[n]=Array.isArray(i)?i.map(r=>r==null?null:""+r):i==null?i:""+i)}return e}function Wc(){let t=[];function e(i){return t.push(i),()=>{const r=t.indexOf(i);r>-1&&t.splice(r,1)}}function n(){t=[]}return{add:e,list:()=>t,reset:n}}function Hs(t,e,n,i,r){const s=i&&(i.enterCallbacks[r]=i.enterCallbacks[r]||[]);return()=>new Promise((o,a)=>{const l=O=>{O===!1?a(Gl(4,{from:n,to:e})):O instanceof Error?a(O):MJ(O)?a(Gl(2,{from:e,to:O})):(s&&i.enterCallbacks[r]===s&&typeof O=="function"&&s.push(O),o())},c=t.call(i&&i.instances[r],e,n,l);let u=Promise.resolve(c);t.length<3&&(u=u.then(l)),u.catch(O=>a(O))})}function M0(t,e,n,i){const r=[];for(const s of t)for(const o in s.components){let a=s.components[o];if(!(e!=="beforeRouteEnter"&&!s.instances[o]))if(yee(a)){const c=(a.__vccOpts||a)[e];c&&r.push(Hs(c,n,i,s,o))}else{let l=a();r.push(()=>l.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${o}" at "${s.path}"`));const u=wJ(c)?c.default:c;s.components[o]=u;const f=(u.__vccOpts||u)[e];return f&&Hs(f,n,i,s,o)()}))}}return r}function yee(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function CQ(t){const e=De(w$),n=De(wT),i=N(()=>e.resolve(M(t.to))),r=N(()=>{const{matched:l}=i.value,{length:c}=l,u=l[c-1],O=n.matched;if(!u||!O.length)return-1;const f=O.findIndex(Fl.bind(null,u));if(f>-1)return f;const h=TQ(l[c-2]);return c>1&&TQ(u)===h&&O[O.length-1].path!==h?O.findIndex(Fl.bind(null,l[c-2])):f}),s=N(()=>r.value>-1&&Qee(n.params,i.value.params)),o=N(()=>r.value>-1&&r.value===n.matched.length-1&&xT(n.params,i.value.params));function a(l={}){return _ee(l)?e[M(t.replace)?"replace":"push"](M(t.to)).catch(yu):Promise.resolve()}return{route:i,href:N(()=>i.value.href),isActive:s,isExactActive:o,navigate:a}}const $ee=Ce({name:"RouterLink",props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:CQ,setup(t,{slots:e}){const n=gn(CQ(t)),{options:i}=De(w$),r=N(()=>({[RQ(t.activeClass,i.linkActiveClass,"router-link-active")]:n.isActive,[RQ(t.exactActiveClass,i.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=e.default&&e.default(n);return t.custom?s:Ke("a",{"aria-current":n.isExactActive?t.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},s)}}}),bee=$ee;function _ee(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){const e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function Qee(t,e){for(const n in e){const i=e[n],r=t[n];if(typeof i=="string"){if(i!==r)return!1}else if(!Array.isArray(r)||r.length!==i.length||i.some((s,o)=>s!==r[o]))return!1}return!0}function TQ(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const RQ=(t,e,n)=>t!=null?t:e!=null?e:n,See=Ce({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:n}){const i=De(Zg),r=N(()=>t.route||i.value),s=De(yQ,0),o=N(()=>r.value.matched[s]);kt(yQ,s+1),kt(SJ,o),kt(Zg,r);const a=J();return Ee(()=>[a.value,o.value,t.name],([l,c,u],[O,f,h])=>{c&&(c.instances[u]=l,f&&f!==c&&l&&l===O&&(c.leaveGuards.size||(c.leaveGuards=f.leaveGuards),c.updateGuards.size||(c.updateGuards=f.updateGuards))),l&&c&&(!f||!Fl(c,f)||!O)&&(c.enterCallbacks[u]||[]).forEach(p=>p(l))},{flush:"post"}),()=>{const l=r.value,c=o.value,u=c&&c.components[t.name],O=t.name;if(!u)return AQ(n.default,{Component:u,route:l});const f=c.props[t.name],h=f?f===!0?l.params:typeof f=="function"?f(l):f:null,y=Ke(u,Yt({},h,e,{onVnodeUnmounted:$=>{$.component.isUnmounted&&(c.instances[O]=null)},ref:a}));return AQ(n.default,{Component:y,route:l})||y}}});function AQ(t,e){if(!t)return null;const n=t(e);return n.length===1?n[0]:n}const wee=See;function xee(t){const e=JJ(t.routes,t),n=t.parseQuery||gee,i=t.stringifyQuery||kQ,r=t.history,s=Wc(),o=Wc(),a=Wc(),l=ga(Bs);let c=Bs;pl&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=L0.bind(null,I=>""+I),O=L0.bind(null,mee),f=L0.bind(null,td);function h(I,ne){let H,re;return kT(I)?(H=e.getRecordMatcher(I),re=ne):re=I,e.addRoute(re,H)}function p(I){const ne=e.getRecordMatcher(I);ne&&e.removeRoute(ne)}function y(){return e.getRoutes().map(I=>I.record)}function $(I){return!!e.getRecordMatcher(I)}function m(I,ne){if(ne=Yt({},ne||l.value),typeof I=="string"){const ue=B0(n,I,ne.path),W=e.resolve({path:ue.path},ne),q=r.createHref(ue.fullPath);return Yt(ue,W,{params:f(W.params),hash:td(ue.hash),redirectedFrom:void 0,href:q})}let H;if("path"in I)H=Yt({},I,{path:B0(n,I.path,ne.path).path});else{const ue=Yt({},I.params);for(const W in ue)ue[W]==null&&delete ue[W];H=Yt({},I,{params:O(I.params)}),ne.params=O(ne.params)}const re=e.resolve(H,ne),G=I.hash||"";re.params=u(f(re.params));const Re=kJ(i,Yt({},I,{hash:hee(G),path:re.path})),_e=r.createHref(Re);return Yt({fullPath:Re,hash:G,query:i===kQ?vee(I.query):I.query||{}},re,{redirectedFrom:void 0,href:_e})}function d(I){return typeof I=="string"?B0(n,I,l.value.path):Yt({},I)}function g(I,ne){if(c!==I)return Gl(8,{from:ne,to:I})}function v(I){return Q(I)}function b(I){return v(Yt(d(I),{replace:!0}))}function _(I){const ne=I.matched[I.matched.length-1];if(ne&&ne.redirect){const{redirect:H}=ne;let re=typeof H=="function"?H(I):H;return typeof re=="string"&&(re=re.includes("?")||re.includes("#")?re=d(re):{path:re},re.params={}),Yt({query:I.query,hash:I.hash,params:I.params},re)}}function Q(I,ne){const H=c=m(I),re=l.value,G=I.state,Re=I.force,_e=I.replace===!0,ue=_(H);if(ue)return Q(Yt(d(ue),{state:G,force:Re,replace:_e}),ne||H);const W=H;W.redirectedFrom=ne;let q;return!Re&&CJ(i,re,H)&&(q=Gl(16,{to:W,from:re}),V(re,re,!0,!1)),(q?Promise.resolve(q):P(W,re)).catch(F=>Ms(F)?Ms(F,2)?F:U(F):R(F,W,re)).then(F=>{if(F){if(Ms(F,2))return Q(Yt(d(F.to),{state:G,force:Re,replace:_e}),ne||W)}else F=x(W,re,!0,_e,G);return w(W,re,F),F})}function S(I,ne){const H=g(I,ne);return H?Promise.reject(H):Promise.resolve()}function P(I,ne){let H;const[re,G,Re]=Pee(I,ne);H=M0(re.reverse(),"beforeRouteLeave",I,ne);for(const ue of re)ue.leaveGuards.forEach(W=>{H.push(Hs(W,I,ne))});const _e=S.bind(null,I,ne);return H.push(_e),al(H).then(()=>{H=[];for(const ue of s.list())H.push(Hs(ue,I,ne));return H.push(_e),al(H)}).then(()=>{H=M0(G,"beforeRouteUpdate",I,ne);for(const ue of G)ue.updateGuards.forEach(W=>{H.push(Hs(W,I,ne))});return H.push(_e),al(H)}).then(()=>{H=[];for(const ue of I.matched)if(ue.beforeEnter&&!ne.matched.includes(ue))if(Array.isArray(ue.beforeEnter))for(const W of ue.beforeEnter)H.push(Hs(W,I,ne));else H.push(Hs(ue.beforeEnter,I,ne));return H.push(_e),al(H)}).then(()=>(I.matched.forEach(ue=>ue.enterCallbacks={}),H=M0(Re,"beforeRouteEnter",I,ne),H.push(_e),al(H))).then(()=>{H=[];for(const ue of o.list())H.push(Hs(ue,I,ne));return H.push(_e),al(H)}).catch(ue=>Ms(ue,8)?ue:Promise.reject(ue))}function w(I,ne,H){for(const re of a.list())re(I,ne,H)}function x(I,ne,H,re,G){const Re=g(I,ne);if(Re)return Re;const _e=ne===Bs,ue=pl?history.state:{};H&&(re||_e?r.replace(I.fullPath,Yt({scroll:_e&&ue&&ue.scroll},G)):r.push(I.fullPath,G)),l.value=I,V(I,ne,H,_e),U()}let k;function C(){k||(k=r.listen((I,ne,H)=>{const re=m(I),G=_(re);if(G){Q(Yt(G,{replace:!0}),re).catch(yu);return}c=re;const Re=l.value;pl&&IJ(_Q(Re.fullPath,H.delta),yp()),P(re,Re).catch(_e=>Ms(_e,12)?_e:Ms(_e,2)?(Q(_e.to,re).then(ue=>{Ms(ue,20)&&!H.delta&&H.type===Fu.pop&&r.go(-1,!1)}).catch(yu),Promise.reject()):(H.delta&&r.go(-H.delta,!1),R(_e,re,Re))).then(_e=>{_e=_e||x(re,Re,!1),_e&&(H.delta?r.go(-H.delta,!1):H.type===Fu.pop&&Ms(_e,20)&&r.go(-1,!1)),w(re,Re,_e)}).catch(yu)}))}let T=Wc(),E=Wc(),A;function R(I,ne,H){U(I);const re=E.list();return re.length?re.forEach(G=>G(I,ne,H)):console.error(I),Promise.reject(I)}function X(){return A&&l.value!==Bs?Promise.resolve():new Promise((I,ne)=>{T.add([I,ne])})}function U(I){return A||(A=!I,C(),T.list().forEach(([ne,H])=>I?H(I):ne()),T.reset()),I}function V(I,ne,H,re){const{scrollBehavior:G}=t;if(!pl||!G)return Promise.resolve();const Re=!H&&qJ(_Q(I.fullPath,0))||(re||!H)&&history.state&&history.state.scroll||null;return et().then(()=>G(I,ne,Re)).then(_e=>_e&&zJ(_e)).catch(_e=>R(_e,I,ne))}const j=I=>r.go(I);let Y;const ee=new Set;return{currentRoute:l,addRoute:h,removeRoute:p,hasRoute:$,getRoutes:y,resolve:m,options:t,push:v,replace:b,go:j,back:()=>j(-1),forward:()=>j(1),beforeEach:s.add,beforeResolve:o.add,afterEach:a.add,onError:E.add,isReady:X,install(I){const ne=this;I.component("RouterLink",bee),I.component("RouterView",wee),I.config.globalProperties.$router=ne,Object.defineProperty(I.config.globalProperties,"$route",{enumerable:!0,get:()=>M(l)}),pl&&!Y&&l.value===Bs&&(Y=!0,v(r.location).catch(G=>{}));const H={};for(const G in Bs)H[G]=N(()=>l.value[G]);I.provide(w$,ne),I.provide(wT,gn(H)),I.provide(Zg,l);const re=I.unmount;ee.add(I),I.unmount=function(){ee.delete(I),ee.size<1&&(c=Bs,k&&k(),k=null,l.value=Bs,Y=!1,A=!1),re()}}}}function al(t){return t.reduce((e,n)=>e.then(()=>n()),Promise.resolve())}function Pee(t,e){const n=[],i=[],r=[],s=Math.max(e.matched.length,t.matched.length);for(let o=0;oFl(c,a))?i.push(a):n.push(a));const l=t.matched[o];l&&(e.matched.find(c=>Fl(c,l))||r.push(l))}return[n,i,r]}const Kr=Object.create(null);Kr.open="0";Kr.close="1";Kr.ping="2";Kr.pong="3";Kr.message="4";Kr.upgrade="5";Kr.noop="6";const $h=Object.create(null);Object.keys(Kr).forEach(t=>{$h[Kr[t]]=t});const kee={type:"error",data:"parser error"},Cee=typeof Blob=="function"||typeof Blob!="undefined"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",Tee=typeof ArrayBuffer=="function",Ree=t=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(t):t&&t.buffer instanceof ArrayBuffer,zT=({type:t,data:e},n,i)=>Cee&&e instanceof Blob?n?i(e):EQ(e,i):Tee&&(e instanceof ArrayBuffer||Ree(e))?n?i(e):EQ(new Blob([e]),i):i(Kr[t]+(e||"")),EQ=(t,e)=>{const n=new FileReader;return n.onload=function(){const i=n.result.split(",")[1];e("b"+i)},n.readAsDataURL(t)},XQ="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Hc=typeof Uint8Array=="undefined"?[]:new Uint8Array(256);for(let t=0;t{let e=t.length*.75,n=t.length,i,r=0,s,o,a,l;t[t.length-1]==="="&&(e--,t[t.length-2]==="="&&e--);const c=new ArrayBuffer(e),u=new Uint8Array(c);for(i=0;i>4,u[r++]=(o&15)<<4|a>>2,u[r++]=(a&3)<<6|l&63;return c},Eee=typeof ArrayBuffer=="function",IT=(t,e)=>{if(typeof t!="string")return{type:"message",data:qT(t,e)};const n=t.charAt(0);return n==="b"?{type:"message",data:Xee(t.substring(1),e)}:$h[n]?t.length>1?{type:$h[n],data:t.substring(1)}:{type:$h[n]}:kee},Xee=(t,e)=>{if(Eee){const n=Aee(t);return qT(n,e)}else return{base64:!0,data:t}},qT=(t,e)=>{switch(e){case"blob":return t instanceof ArrayBuffer?new Blob([t]):t;case"arraybuffer":default:return t}},UT=String.fromCharCode(30),Wee=(t,e)=>{const n=t.length,i=new Array(n);let r=0;t.forEach((s,o)=>{zT(s,!1,a=>{i[o]=a,++r===n&&e(i.join(UT))})})},zee=(t,e)=>{const n=t.split(UT),i=[];for(let r=0;rtypeof self!="undefined"?self:typeof window!="undefined"?window:Function("return this")())();function LT(t,...e){return e.reduce((n,i)=>(t.hasOwnProperty(i)&&(n[i]=t[i]),n),{})}const qee=setTimeout,Uee=clearTimeout;function $p(t,e){e.useNativeTimers?(t.setTimeoutFn=qee.bind(oo),t.clearTimeoutFn=Uee.bind(oo)):(t.setTimeoutFn=setTimeout.bind(oo),t.clearTimeoutFn=clearTimeout.bind(oo))}const Dee=1.33;function Lee(t){return typeof t=="string"?Bee(t):Math.ceil((t.byteLength||t.size)*Dee)}function Bee(t){let e=0,n=0;for(let i=0,r=t.length;i=57344?n+=3:(i++,n+=4);return n}class Mee extends Error{constructor(e,n,i){super(e),this.description=n,this.context=i,this.type="TransportError"}}class BT extends pn{constructor(e){super(),this.writable=!1,$p(this,e),this.opts=e,this.query=e.query,this.readyState="",this.socket=e.socket}onError(e,n,i){return super.emitReserved("error",new Mee(e,n,i)),this}open(){return(this.readyState==="closed"||this.readyState==="")&&(this.readyState="opening",this.doOpen()),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(e){this.readyState==="open"&&this.write(e)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(e){const n=IT(e,this.socket.binaryType);this.onPacket(n)}onPacket(e){super.emitReserved("packet",e)}onClose(e){this.readyState="closed",super.emitReserved("close",e)}}const MT="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),Ng=64,Yee={};let WQ=0,wO=0,zQ;function IQ(t){let e="";do e=MT[t%Ng]+e,t=Math.floor(t/Ng);while(t>0);return e}function YT(){const t=IQ(+new Date);return t!==zQ?(WQ=0,zQ=t):t+"."+IQ(WQ++)}for(;wO{this.readyState="paused",e()};if(this.polling||!this.writable){let i=0;this.polling&&(i++,this.once("pollComplete",function(){--i||n()})),this.writable||(i++,this.once("drain",function(){--i||n()}))}else n()}poll(){this.polling=!0,this.doPoll(),this.emitReserved("poll")}onData(e){const n=i=>{if(this.readyState==="opening"&&i.type==="open"&&this.onOpen(),i.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(i)};zee(e,this.socket.binaryType).forEach(n),this.readyState!=="closed"&&(this.polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this.poll())}doClose(){const e=()=>{this.write([{type:"close"}])};this.readyState==="open"?e():this.once("open",e)}write(e){this.writable=!1,Wee(e,n=>{this.doWrite(n,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){let e=this.query||{};const n=this.opts.secure?"https":"http";let i="";this.opts.timestampRequests!==!1&&(e[this.opts.timestampParam]=YT()),!this.supportsBinary&&!e.sid&&(e.b64=1),this.opts.port&&(n==="https"&&Number(this.opts.port)!==443||n==="http"&&Number(this.opts.port)!==80)&&(i=":"+this.opts.port);const r=ZT(e),s=this.opts.hostname.indexOf(":")!==-1;return n+"://"+(s?"["+this.opts.hostname+"]":this.opts.hostname)+i+this.opts.path+(r.length?"?"+r:"")}request(e={}){return Object.assign(e,{xd:this.xd,xs:this.xs},this.opts),new Vr(this.uri(),e)}doWrite(e,n){const i=this.request({method:"POST",data:e});i.on("success",n),i.on("error",(r,s)=>{this.onError("xhr post error",r,s)})}doPoll(){const e=this.request();e.on("data",this.onData.bind(this)),e.on("error",(n,i)=>{this.onError("xhr poll error",n,i)}),this.pollXhr=e}}class Vr extends pn{constructor(e,n){super(),$p(this,n),this.opts=n,this.method=n.method||"GET",this.uri=e,this.async=n.async!==!1,this.data=n.data!==void 0?n.data:null,this.create()}create(){const e=LT(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");e.xdomain=!!this.opts.xd,e.xscheme=!!this.opts.xs;const n=this.xhr=new jT(e);try{n.open(this.method,this.uri,this.async);try{if(this.opts.extraHeaders){n.setDisableHeaderCheck&&n.setDisableHeaderCheck(!0);for(let i in this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(i)&&n.setRequestHeader(i,this.opts.extraHeaders[i])}}catch{}if(this.method==="POST")try{n.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{n.setRequestHeader("Accept","*/*")}catch{}"withCredentials"in n&&(n.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(n.timeout=this.opts.requestTimeout),n.onreadystatechange=()=>{n.readyState===4&&(n.status===200||n.status===1223?this.onLoad():this.setTimeoutFn(()=>{this.onError(typeof n.status=="number"?n.status:0)},0))},n.send(this.data)}catch(i){this.setTimeoutFn(()=>{this.onError(i)},0);return}typeof document!="undefined"&&(this.index=Vr.requestsCount++,Vr.requests[this.index]=this)}onError(e){this.emitReserved("error",e,this.xhr),this.cleanup(!0)}cleanup(e){if(!(typeof this.xhr=="undefined"||this.xhr===null)){if(this.xhr.onreadystatechange=jee,e)try{this.xhr.abort()}catch{}typeof document!="undefined"&&delete Vr.requests[this.index],this.xhr=null}}onLoad(){const e=this.xhr.responseText;e!==null&&(this.emitReserved("data",e),this.emitReserved("success"),this.cleanup())}abort(){this.cleanup()}}Vr.requestsCount=0;Vr.requests={};if(typeof document!="undefined"){if(typeof attachEvent=="function")attachEvent("onunload",qQ);else if(typeof addEventListener=="function"){const t="onpagehide"in oo?"pagehide":"unload";addEventListener(t,qQ,!1)}}function qQ(){for(let t in Vr.requests)Vr.requests.hasOwnProperty(t)&&Vr.requests[t].abort()}const Gee=(()=>typeof Promise=="function"&&typeof Promise.resolve=="function"?e=>Promise.resolve().then(e):(e,n)=>n(e,0))(),xO=oo.WebSocket||oo.MozWebSocket,UQ=!0,Hee="arraybuffer",DQ=typeof navigator!="undefined"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class Kee extends BT{constructor(e){super(e),this.supportsBinary=!e.forceBase64}get name(){return"websocket"}doOpen(){if(!this.check())return;const e=this.uri(),n=this.opts.protocols,i=DQ?{}:LT(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(i.headers=this.opts.extraHeaders);try{this.ws=UQ&&!DQ?n?new xO(e,n):new xO(e):new xO(e,n,i)}catch(r){return this.emitReserved("error",r)}this.ws.binaryType=this.socket.binaryType||Hee,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=e=>this.onClose({description:"websocket connection closed",context:e}),this.ws.onmessage=e=>this.onData(e.data),this.ws.onerror=e=>this.onError("websocket error",e)}write(e){this.writable=!1;for(let n=0;n{const o={};try{UQ&&this.ws.send(s)}catch{}r&&Gee(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws!="undefined"&&(this.ws.close(),this.ws=null)}uri(){let e=this.query||{};const n=this.opts.secure?"wss":"ws";let i="";this.opts.port&&(n==="wss"&&Number(this.opts.port)!==443||n==="ws"&&Number(this.opts.port)!==80)&&(i=":"+this.opts.port),this.opts.timestampRequests&&(e[this.opts.timestampParam]=YT()),this.supportsBinary||(e.b64=1);const r=ZT(e),s=this.opts.hostname.indexOf(":")!==-1;return n+"://"+(s?"["+this.opts.hostname+"]":this.opts.hostname)+i+this.opts.path+(r.length?"?"+r:"")}check(){return!!xO}}const Jee={websocket:Kee,polling:Fee},ete=/^(?:(?![^:@]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,tte=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function Fg(t){const e=t,n=t.indexOf("["),i=t.indexOf("]");n!=-1&&i!=-1&&(t=t.substring(0,n)+t.substring(n,i).replace(/:/g,";")+t.substring(i,t.length));let r=ete.exec(t||""),s={},o=14;for(;o--;)s[tte[o]]=r[o]||"";return n!=-1&&i!=-1&&(s.source=e,s.host=s.host.substring(1,s.host.length-1).replace(/;/g,":"),s.authority=s.authority.replace("[","").replace("]","").replace(/;/g,":"),s.ipv6uri=!0),s.pathNames=nte(s,s.path),s.queryKey=ite(s,s.query),s}function nte(t,e){const n=/\/{2,9}/g,i=e.replace(n,"/").split("/");return(e.substr(0,1)=="/"||e.length===0)&&i.splice(0,1),e.substr(e.length-1,1)=="/"&&i.splice(i.length-1,1),i}function ite(t,e){const n={};return e.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(i,r,s){r&&(n[r]=s)}),n}class io extends pn{constructor(e,n={}){super(),e&&typeof e=="object"&&(n=e,e=null),e?(e=Fg(e),n.hostname=e.host,n.secure=e.protocol==="https"||e.protocol==="wss",n.port=e.port,e.query&&(n.query=e.query)):n.host&&(n.hostname=Fg(n.host).host),$p(this,n),this.secure=n.secure!=null?n.secure:typeof location!="undefined"&&location.protocol==="https:",n.hostname&&!n.port&&(n.port=this.secure?"443":"80"),this.hostname=n.hostname||(typeof location!="undefined"?location.hostname:"localhost"),this.port=n.port||(typeof location!="undefined"&&location.port?location.port:this.secure?"443":"80"),this.transports=n.transports||["polling","websocket"],this.readyState="",this.writeBuffer=[],this.prevBufferLen=0,this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!0},n),this.opts.path=this.opts.path.replace(/\/$/,"")+"/",typeof this.opts.query=="string"&&(this.opts.query=Zee(this.opts.query)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingTimeoutTimer=null,typeof addEventListener=="function"&&(this.opts.closeOnBeforeunload&&addEventListener("beforeunload",()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},!1),this.hostname!=="localhost"&&(this.offlineEventListener=()=>{this.onClose("transport close",{description:"network connection lost"})},addEventListener("offline",this.offlineEventListener,!1))),this.open()}createTransport(e){const n=Object.assign({},this.opts.query);n.EIO=DT,n.transport=e,this.id&&(n.sid=this.id);const i=Object.assign({},this.opts.transportOptions[e],this.opts,{query:n,socket:this,hostname:this.hostname,secure:this.secure,port:this.port});return new Jee[e](i)}open(){let e;if(this.opts.rememberUpgrade&&io.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1)e="websocket";else if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}else e=this.transports[0];this.readyState="opening";try{e=this.createTransport(e)}catch{this.transports.shift(),this.open();return}e.open(),this.setTransport(e)}setTransport(e){this.transport&&this.transport.removeAllListeners(),this.transport=e,e.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",n=>this.onClose("transport close",n))}probe(e){let n=this.createTransport(e),i=!1;io.priorWebsocketSuccess=!1;const r=()=>{i||(n.send([{type:"ping",data:"probe"}]),n.once("packet",O=>{if(!i)if(O.type==="pong"&&O.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",n),!n)return;io.priorWebsocketSuccess=n.name==="websocket",this.transport.pause(()=>{i||this.readyState!=="closed"&&(u(),this.setTransport(n),n.send([{type:"upgrade"}]),this.emitReserved("upgrade",n),n=null,this.upgrading=!1,this.flush())})}else{const f=new Error("probe error");f.transport=n.name,this.emitReserved("upgradeError",f)}}))};function s(){i||(i=!0,u(),n.close(),n=null)}const o=O=>{const f=new Error("probe error: "+O);f.transport=n.name,s(),this.emitReserved("upgradeError",f)};function a(){o("transport closed")}function l(){o("socket closed")}function c(O){n&&O.name!==n.name&&s()}const u=()=>{n.removeListener("open",r),n.removeListener("error",o),n.removeListener("close",a),this.off("close",l),this.off("upgrading",c)};n.once("open",r),n.once("error",o),n.once("close",a),this.once("close",l),this.once("upgrading",c),n.open()}onOpen(){if(this.readyState="open",io.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush(),this.readyState==="open"&&this.opts.upgrade&&this.transport.pause){let e=0;const n=this.upgrades.length;for(;e{this.onClose("ping timeout")},this.pingInterval+this.pingTimeout),this.opts.autoUnref&&this.pingTimeoutTimer.unref()}onDrain(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const e=this.getWritablePackets();this.transport.send(e),this.prevBufferLen=e.length,this.emitReserved("flush")}}getWritablePackets(){if(!(this.maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let n=1;for(let i=0;i0&&n>this.maxPayload)return this.writeBuffer.slice(0,i);n+=2}return this.writeBuffer}write(e,n,i){return this.sendPacket("message",e,n,i),this}send(e,n,i){return this.sendPacket("message",e,n,i),this}sendPacket(e,n,i,r){if(typeof n=="function"&&(r=n,n=void 0),typeof i=="function"&&(r=i,i=null),this.readyState==="closing"||this.readyState==="closed")return;i=i||{},i.compress=i.compress!==!1;const s={type:e,data:n,options:i};this.emitReserved("packetCreate",s),this.writeBuffer.push(s),r&&this.once("flush",r),this.flush()}close(){const e=()=>{this.onClose("forced close"),this.transport.close()},n=()=>{this.off("upgrade",n),this.off("upgradeError",n),e()},i=()=>{this.once("upgrade",n),this.once("upgradeError",n)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?i():e()}):this.upgrading?i():e()),this}onError(e){io.priorWebsocketSuccess=!1,this.emitReserved("error",e),this.onClose("transport error",e)}onClose(e,n){(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")&&(this.clearTimeoutFn(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),typeof removeEventListener=="function"&&removeEventListener("offline",this.offlineEventListener,!1),this.readyState="closed",this.id=null,this.emitReserved("close",e,n),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(e){const n=[];let i=0;const r=e.length;for(;itypeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(t):t.buffer instanceof ArrayBuffer,NT=Object.prototype.toString,ate=typeof Blob=="function"||typeof Blob!="undefined"&&NT.call(Blob)==="[object BlobConstructor]",lte=typeof File=="function"||typeof File!="undefined"&&NT.call(File)==="[object FileConstructor]";function P$(t){return ste&&(t instanceof ArrayBuffer||ote(t))||ate&&t instanceof Blob||lte&&t instanceof File}function bh(t,e){if(!t||typeof t!="object")return!1;if(Array.isArray(t)){for(let n=0,i=t.length;n0;case _t.ACK:case _t.BINARY_ACK:return Array.isArray(n)}}destroy(){this.reconstructor&&this.reconstructor.finishedReconstruction()}}class hte{constructor(e){this.packet=e,this.buffers=[],this.reconPack=e}takeBinaryData(e){if(this.buffers.push(e),this.buffers.length===this.reconPack.attachments){const n=ute(this.reconPack,this.buffers);return this.finishedReconstruction(),n}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}var dte=Object.freeze(Object.defineProperty({__proto__:null,protocol:fte,get PacketType(){return _t},Encoder:Ote,Decoder:k$},Symbol.toStringTag,{value:"Module"}));function vr(t,e,n){return t.on(e,n),function(){t.off(e,n)}}const pte=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class FT extends pn{constructor(e,n,i){super(),this.connected=!1,this.receiveBuffer=[],this.sendBuffer=[],this.ids=0,this.acks={},this.flags={},this.io=e,this.nsp=n,i&&i.auth&&(this.auth=i.auth),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const e=this.io;this.subs=[vr(e,"open",this.onopen.bind(this)),vr(e,"packet",this.onpacket.bind(this)),vr(e,"error",this.onerror.bind(this)),vr(e,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(...e){return e.unshift("message"),this.emit.apply(this,e),this}emit(e,...n){if(pte.hasOwnProperty(e))throw new Error('"'+e+'" is a reserved event name');n.unshift(e);const i={type:_t.EVENT,data:n};if(i.options={},i.options.compress=this.flags.compress!==!1,typeof n[n.length-1]=="function"){const o=this.ids++,a=n.pop();this._registerAckCallback(o,a),i.id=o}const r=this.io.engine&&this.io.engine.transport&&this.io.engine.transport.writable;return this.flags.volatile&&(!r||!this.connected)||(this.connected?(this.notifyOutgoingListeners(i),this.packet(i)):this.sendBuffer.push(i)),this.flags={},this}_registerAckCallback(e,n){const i=this.flags.timeout;if(i===void 0){this.acks[e]=n;return}const r=this.io.setTimeoutFn(()=>{delete this.acks[e];for(let s=0;s{this.io.clearTimeoutFn(r),n.apply(this,[null,...s])}}packet(e){e.nsp=this.nsp,this.io._packet(e)}onopen(){typeof this.auth=="function"?this.auth(e=>{this.packet({type:_t.CONNECT,data:e})}):this.packet({type:_t.CONNECT,data:this.auth})}onerror(e){this.connected||this.emitReserved("connect_error",e)}onclose(e,n){this.connected=!1,delete this.id,this.emitReserved("disconnect",e,n)}onpacket(e){if(e.nsp===this.nsp)switch(e.type){case _t.CONNECT:if(e.data&&e.data.sid){const r=e.data.sid;this.onconnect(r)}else this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case _t.EVENT:case _t.BINARY_EVENT:this.onevent(e);break;case _t.ACK:case _t.BINARY_ACK:this.onack(e);break;case _t.DISCONNECT:this.ondisconnect();break;case _t.CONNECT_ERROR:this.destroy();const i=new Error(e.data.message);i.data=e.data.data,this.emitReserved("connect_error",i);break}}onevent(e){const n=e.data||[];e.id!=null&&n.push(this.ack(e.id)),this.connected?this.emitEvent(n):this.receiveBuffer.push(Object.freeze(n))}emitEvent(e){if(this._anyListeners&&this._anyListeners.length){const n=this._anyListeners.slice();for(const i of n)i.apply(this,e)}super.emit.apply(this,e)}ack(e){const n=this;let i=!1;return function(...r){i||(i=!0,n.packet({type:_t.ACK,id:e,data:r}))}}onack(e){const n=this.acks[e.id];typeof n=="function"&&(n.apply(this,e.data),delete this.acks[e.id])}onconnect(e){this.id=e,this.connected=!0,this.emitBuffered(),this.emitReserved("connect")}emitBuffered(){this.receiveBuffer.forEach(e=>this.emitEvent(e)),this.receiveBuffer=[],this.sendBuffer.forEach(e=>{this.notifyOutgoingListeners(e),this.packet(e)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(e=>e()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:_t.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(e){return this.flags.compress=e,this}get volatile(){return this.flags.volatile=!0,this}timeout(e){return this.flags.timeout=e,this}onAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(e),this}prependAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(e),this}offAny(e){if(!this._anyListeners)return this;if(e){const n=this._anyListeners;for(let i=0;i0&&t.jitter<=1?t.jitter:0,this.attempts=0}_c.prototype.duration=function(){var t=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var e=Math.random(),n=Math.floor(e*this.jitter*t);t=(Math.floor(e*10)&1)==0?t-n:t+n}return Math.min(t,this.max)|0};_c.prototype.reset=function(){this.attempts=0};_c.prototype.setMin=function(t){this.ms=t};_c.prototype.setMax=function(t){this.max=t};_c.prototype.setJitter=function(t){this.jitter=t};class Kg extends pn{constructor(e,n){var i;super(),this.nsps={},this.subs=[],e&&typeof e=="object"&&(n=e,e=void 0),n=n||{},n.path=n.path||"/socket.io",this.opts=n,$p(this,n),this.reconnection(n.reconnection!==!1),this.reconnectionAttempts(n.reconnectionAttempts||1/0),this.reconnectionDelay(n.reconnectionDelay||1e3),this.reconnectionDelayMax(n.reconnectionDelayMax||5e3),this.randomizationFactor((i=n.randomizationFactor)!==null&&i!==void 0?i:.5),this.backoff=new _c({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(n.timeout==null?2e4:n.timeout),this._readyState="closed",this.uri=e;const r=n.parser||dte;this.encoder=new r.Encoder,this.decoder=new r.Decoder,this._autoConnect=n.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(e){return arguments.length?(this._reconnection=!!e,this):this._reconnection}reconnectionAttempts(e){return e===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=e,this)}reconnectionDelay(e){var n;return e===void 0?this._reconnectionDelay:(this._reconnectionDelay=e,(n=this.backoff)===null||n===void 0||n.setMin(e),this)}randomizationFactor(e){var n;return e===void 0?this._randomizationFactor:(this._randomizationFactor=e,(n=this.backoff)===null||n===void 0||n.setJitter(e),this)}reconnectionDelayMax(e){var n;return e===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=e,(n=this.backoff)===null||n===void 0||n.setMax(e),this)}timeout(e){return arguments.length?(this._timeout=e,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(e){if(~this._readyState.indexOf("open"))return this;this.engine=new io(this.uri,this.opts);const n=this.engine,i=this;this._readyState="opening",this.skipReconnect=!1;const r=vr(n,"open",function(){i.onopen(),e&&e()}),s=vr(n,"error",o=>{i.cleanup(),i._readyState="closed",this.emitReserved("error",o),e?e(o):i.maybeReconnectOnOpen()});if(this._timeout!==!1){const o=this._timeout;o===0&&r();const a=this.setTimeoutFn(()=>{r(),n.close(),n.emit("error",new Error("timeout"))},o);this.opts.autoUnref&&a.unref(),this.subs.push(function(){clearTimeout(a)})}return this.subs.push(r),this.subs.push(s),this}connect(e){return this.open(e)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const e=this.engine;this.subs.push(vr(e,"ping",this.onping.bind(this)),vr(e,"data",this.ondata.bind(this)),vr(e,"error",this.onerror.bind(this)),vr(e,"close",this.onclose.bind(this)),vr(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(e){this.decoder.add(e)}ondecoded(e){this.emitReserved("packet",e)}onerror(e){this.emitReserved("error",e)}socket(e,n){let i=this.nsps[e];return i||(i=new FT(this,e,n),this.nsps[e]=i),i}_destroy(e){const n=Object.keys(this.nsps);for(const i of n)if(this.nsps[i].active)return;this._close()}_packet(e){const n=this.encoder.encode(e);for(let i=0;ie()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close"),this.engine&&this.engine.close()}disconnect(){return this._close()}onclose(e,n){this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",e,n),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const e=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const n=this.backoff.duration();this._reconnecting=!0;const i=this.setTimeoutFn(()=>{e.skipReconnect||(this.emitReserved("reconnect_attempt",e.backoff.attempts),!e.skipReconnect&&e.open(r=>{r?(e._reconnecting=!1,e.reconnect(),this.emitReserved("reconnect_error",r)):e.onreconnect()}))},n);this.opts.autoUnref&&i.unref(),this.subs.push(function(){clearTimeout(i)})}}onreconnect(){const e=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",e)}}const zc={};function _a(t,e){typeof t=="object"&&(e=t,t=void 0),e=e||{};const n=rte(t,e.path||"/socket.io"),i=n.source,r=n.id,s=n.path,o=zc[r]&&s in zc[r].nsps,a=e.forceNew||e["force new connection"]||e.multiplex===!1||o;let l;return a?l=new Kg(i,e):(zc[r]||(zc[r]=new Kg(i,e)),l=zc[r]),n.query&&!e.query&&(e.query=n.queryKey),l.socket(n.path,e)}Object.assign(_a,{Manager:Kg,Socket:FT,io:_a,connect:_a});var fn=(t,e)=>{const n=t.__vccOpts||t;for(const[i,r]of e)n[i]=r;return n};const mte={name:"HostForm",props:{show:{required:!0,type:Boolean},defaultData:{required:!1,type:Object,default:()=>{}}},emits:["update:show","update-list"],data(){return{hostForm:{group:"default",name:"",host:"",expired:null,expiredNotify:!1,consoleUrl:"",remark:""},oldHost:"",groupList:[],rules:{group:{required:!0,message:"\u9009\u62E9\u4E00\u4E2A\u5206\u7EC4"},name:{required:!0,message:"\u8F93\u5165\u4E3B\u673A\u522B\u540D",trigger:"change"},host:{required:!0,message:"\u8F93\u5165IP/\u57DF\u540D",trigger:"change"},expired:{required:!1},expiredNotify:{required:!1},consoleUrl:{required:!1},remark:{required:!1}}}},computed:{visible:{get(){return this.show},set(t){this.$emit("update:show",t)}},title(){return this.defaultData?"\u4FEE\u6539\u670D\u52A1\u5668":"\u65B0\u589E\u670D\u52A1\u5668"},formRef(){return this.$refs.form}},watch:{show(t){!t||this.getGroupList()}},methods:{getGroupList(){this.$api.getGroupList().then(({data:t})=>{this.groupList=t})},setDefaultData(){if(this.defaultData){let{name:t,host:e,expired:n,expiredNotify:i,consoleUrl:r,group:s,remark:o}=this.defaultData;this.oldHost=e,this.hostForm={name:t,host:e,expired:n,expiredNotify:i,consoleUrl:r,group:s,remark:o}}},handleSave(){this.formRef.validate().then(async()=>{if((!this.hostForm.expired||!this.hostForm.expiredNotify)&&(this.hostForm.expired=null,this.hostForm.expiredNotify=!1),this.defaultData){let{oldHost:t}=this,{msg:e}=await this.$api.updateHost(Object.assign({},this.hostForm,{oldHost:t}));this.$message({type:"success",center:!0,message:e})}else{let{msg:t}=await this.$api.saveHost(this.hostForm);this.$message({type:"success",center:!0,message:t})}this.visible=!1,this.$emit("update-list"),this.hostForm={name:"",host:"",expired:null,expiredNotify:!1,group:"default",consoleUrl:"",remark:""}})}}},gte={class:"dialog-footer"},vte=Xe("\u5173\u95ED"),yte=Xe("\u786E\u8BA4");function $te(t,e,n,i,r,s){const o=$$,a=y$,l=vc,c=mi,u=Pj,O=cT,f=Rs,h=gc,p=Ln,y=mc;return L(),be(y,{modelValue:s.visible,"onUpdate:modelValue":e[8]||(e[8]=$=>s.visible=$),width:"400px",title:s.title,"close-on-click-modal":!1,onOpen:s.setDefaultData,onClosed:e[9]||(e[9]=$=>t.$nextTick(()=>s.formRef.resetFields()))},{footer:Z(()=>[D("span",gte,[B(p,{onClick:e[7]||(e[7]=$=>s.visible=!1)},{default:Z(()=>[vte]),_:1}),B(p,{type:"primary",onClick:s.handleSave},{default:Z(()=>[yte]),_:1},8,["onClick"])])]),default:Z(()=>[B(h,{ref:"form",model:r.hostForm,rules:r.rules,"hide-required-asterisk":!0,"label-suffix":"\uFF1A","label-width":"100px"},{default:Z(()=>[B(gk,{name:"list",mode:"out-in",tag:"div"},{default:Z(()=>[B(l,{key:"group",label:"\u5206\u7EC4",prop:"group"},{default:Z(()=>[B(a,{modelValue:r.hostForm.group,"onUpdate:modelValue":e[0]||(e[0]=$=>r.hostForm.group=$),placeholder:"\u670D\u52A1\u5668\u5206\u7EC4",style:{width:"100%"}},{default:Z(()=>[(L(!0),ie(Le,null,Rt(r.groupList,$=>(L(),be(o,{key:$.id,label:$.name,value:$.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),B(l,{key:"name",label:"\u4E3B\u673A\u522B\u540D",prop:"name"},{default:Z(()=>[B(c,{modelValue:r.hostForm.name,"onUpdate:modelValue":e[1]||(e[1]=$=>r.hostForm.name=$),modelModifiers:{trim:!0},clearable:"",placeholder:"\u4E3B\u673A\u522B\u540D",autocomplete:"off"},null,8,["modelValue"])]),_:1}),B(l,{key:"host",label:"IP/\u57DF\u540D",prop:"host"},{default:Z(()=>[B(c,{modelValue:r.hostForm.host,"onUpdate:modelValue":e[2]||(e[2]=$=>r.hostForm.host=$),modelModifiers:{trim:!0},clearable:"",placeholder:"IP/\u57DF\u540D",autocomplete:"off",onKeyup:Qt(s.handleSave,["enter"])},null,8,["modelValue","onKeyup"])]),_:1}),B(l,{key:"expired",label:"\u5230\u671F\u65F6\u95F4",prop:"expired"},{default:Z(()=>[B(u,{modelValue:r.hostForm.expired,"onUpdate:modelValue":e[3]||(e[3]=$=>r.hostForm.expired=$),type:"date","value-format":"x",placeholder:"\u670D\u52A1\u5668\u5230\u671F\u65F6\u95F4"},null,8,["modelValue"])]),_:1}),r.hostForm.expired?(L(),be(l,{key:"expiredNotify",label:"\u5230\u671F\u63D0\u9192",prop:"expiredNotify"},{default:Z(()=>[B(f,{content:"\u5C06\u5728\u670D\u52A1\u5668\u5230\u671F\u524D7\u30013\u30011\u5929\u53D1\u9001\u63D0\u9192(\u9700\u5728\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u6709\u6548\u90AE\u7BB1)",placement:"right"},{default:Z(()=>[B(O,{modelValue:r.hostForm.expiredNotify,"onUpdate:modelValue":e[4]||(e[4]=$=>r.hostForm.expiredNotify=$),"active-value":!0,"inactive-value":!1},null,8,["modelValue"])]),_:1})]),_:1})):Qe("",!0),B(l,{key:"consoleUrl",label:"\u63A7\u5236\u53F0URL",prop:"consoleUrl"},{default:Z(()=>[B(c,{modelValue:r.hostForm.consoleUrl,"onUpdate:modelValue":e[5]||(e[5]=$=>r.hostForm.consoleUrl=$),modelModifiers:{trim:!0},clearable:"",placeholder:"\u7528\u4E8E\u76F4\u8FBE\u670D\u52A1\u5668\u63A7\u5236\u53F0",autocomplete:"off",onKeyup:Qt(s.handleSave,["enter"])},null,8,["modelValue","onKeyup"])]),_:1}),B(l,{key:"remark",label:"\u5907\u6CE8",prop:"remark"},{default:Z(()=>[B(c,{modelValue:r.hostForm.remark,"onUpdate:modelValue":e[6]||(e[6]=$=>r.hostForm.remark=$),modelModifiers:{trim:!0},type:"textarea",rows:3,clearable:"",autocomplete:"off",placeholder:"\u7528\u4E8E\u7B80\u5355\u8BB0\u5F55\u670D\u52A1\u5668\u7528\u9014"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["modelValue","title","onOpen"])}var bte=fn(mte,[["render",$te],["__scopeId","data-v-62b4be7c"]]);const _te={name:"NotifyList",data(){return{notifyListLoading:!1,notifyList:[]}},mounted(){this.getNotifyList()},methods:{getNotifyList(t=!0){t&&(this.notifyListLoading=!0),this.$api.getNotifyList().then(({data:e})=>{this.notifyList=e.map(n=>(n.loading=!1,n))}).finally(()=>this.notifyListLoading=!1)},async handleChangeSw(t){t.loading=!0;const{type:e,sw:n}=t;try{await this.$api.updateNotifyList({type:e,sw:n})}finally{t.loading=!0}this.getNotifyList(!1)}}},Qte=D("span",{style:{"letter-spacing":"2px"}}," Tips: \u8BF7\u6DFB\u52A0\u90AE\u7BB1\u5E76\u786E\u4FDD\u6D4B\u8BD5\u90AE\u4EF6\u901A\u8FC7 ",-1);function Ste(t,e,n,i,r,s){const o=bf,a=vp,l=cT,c=gp,u=yc;return L(),ie(Le,null,[B(o,{type:"success",closable:!1},{title:Z(()=>[Qte]),_:1}),it((L(),be(c,{data:r.notifyList},{default:Z(()=>[B(a,{prop:"desc",label:"\u901A\u77E5\u7C7B\u578B"}),B(a,{prop:"sw",label:"\u5F00\u5173"},{default:Z(({row:O})=>[B(l,{modelValue:O.sw,"onUpdate:modelValue":f=>O.sw=f,"active-value":!0,"inactive-value":!1,loading:O.loading,onChange:f=>s.handleChangeSw(O,f)},null,8,["modelValue","onUpdate:modelValue","loading","onChange"])]),_:1})]),_:1},8,["data"])),[[u,r.notifyListLoading]])],64)}var wte=fn(_te,[["render",Ste]]);const xte={name:"UserEmailList",data(){return{loading:!1,userEmailList:[],supportEmailList:[],emailForm:{target:"qq",auth:{user:"",pass:""}},rules:{"auth.user":{required:!0,type:"email",message:"\u9700\u8F93\u5165\u90AE\u7BB1",trigger:"change"},"auth.pass":{required:!0,message:"\u9700\u8F93\u5165SMTP\u6388\u6743\u7801",trigger:"change"}}}},mounted(){this.getUserEmailList(),this.getSupportEmailList()},methods:{getUserEmailList(){this.loading=!0,this.$api.getUserEmailList().then(({data:t})=>{this.userEmailList=t.map(e=>(e.loading=!1,e))}).finally(()=>this.loading=!1)},getSupportEmailList(){this.$api.getSupportEmailList().then(({data:t})=>{this.supportEmailList=t})},addEmail(){let t=this.$refs["email-form"];t.validate().then(()=>{this.$api.updateUserEmailList(ze({},this.emailForm)).then(()=>{this.$message.success("\u6DFB\u52A0\u6210\u529F, \u70B9\u51FB[\u6D4B\u8BD5]\u6309\u94AE\u53D1\u9001\u6D4B\u8BD5\u90AE\u4EF6");let{target:e}=this.emailForm;this.emailForm={target:e,auth:{user:"",pass:""}},this.$nextTick(()=>t.resetFields()),this.getUserEmailList()})})},pushTestEmail(t){t.loading=!0;const{email:e}=t;this.$api.pushTestEmail({isTest:!0,toEmail:e}).then(()=>{this.$message.success(`\u53D1\u9001\u6210\u529F, \u8BF7\u68C0\u67E5\u90AE\u7BB1: ${e}`)}).catch(n=>{var i;this.$notification({title:"\u53D1\u9001\u6D4B\u8BD5\u90AE\u4EF6\u5931\u8D25, \u8BF7\u68C0\u67E5\u90AE\u7BB1SMTP\u914D\u7F6E",message:(i=n.response)==null?void 0:i.data.msg,type:"error"})}).finally(()=>{t.loading=!1})},deleteUserEmail({email:t}){this.$messageBox.confirm(`\u786E\u8BA4\u5220\u9664\u90AE\u7BB1\uFF1A${t}`,"Warning",{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",type:"warning"}).then(async()=>{await this.$api.deleteUserEmail(t),this.$message.success("success"),this.getUserEmailList()})}}},Pte=Xe(" \u6DFB\u52A0 "),kte=D("span",{style:{"letter-spacing":"2px"}}," Tips: \u7CFB\u7EDF\u6240\u6709\u901A\u77E5\u90AE\u4EF6\u5C06\u4F1A\u4E0B\u53D1\u5230\u6240\u6709\u5DF2\u7ECF\u914D\u7F6E\u6210\u529F\u7684\u90AE\u7BB1\u4E2D ",-1),Cte=Xe(" \u6D4B\u8BD5 "),Tte=Xe(" \u5220\u9664 ");function Rte(t,e,n,i,r,s){const o=$$,a=y$,l=vc,c=mi,u=Ln,O=Rs,f=gc,h=bf,p=vp,y=gp,$=yc;return it((L(),ie("div",null,[B(f,{ref:"email-form",model:r.emailForm,rules:r.rules,inline:!0,"hide-required-asterisk":!0,"label-suffix":"\uFF1A"},{default:Z(()=>[B(l,{label:"",prop:"target",style:{width:"200px"}},{default:Z(()=>[B(a,{modelValue:r.emailForm.target,"onUpdate:modelValue":e[0]||(e[0]=m=>r.emailForm.target=m),placeholder:"\u90AE\u4EF6\u670D\u52A1\u5546"},{default:Z(()=>[(L(!0),ie(Le,null,Rt(r.supportEmailList,m=>(L(),be(o,{key:m.target,label:m.name,value:m.target},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),B(l,{label:"",prop:"auth.user",style:{width:"200px"}},{default:Z(()=>[B(c,{modelValue:r.emailForm.auth.user,"onUpdate:modelValue":e[1]||(e[1]=m=>r.emailForm.auth.user=m),modelModifiers:{trim:!0},clearable:"",placeholder:"\u90AE\u7BB1",autocomplete:"off"},null,8,["modelValue"])]),_:1}),B(l,{label:"",prop:"auth.pass",style:{width:"200px"}},{default:Z(()=>[B(c,{modelValue:r.emailForm.auth.pass,"onUpdate:modelValue":e[2]||(e[2]=m=>r.emailForm.auth.pass=m),modelModifiers:{trim:!0},clearable:"",placeholder:"SMTP\u6388\u6743\u7801",autocomplete:"off",onKeyup:Qt(s.addEmail,["enter"])},null,8,["modelValue","onKeyup"])]),_:1}),B(l,{label:""},{default:Z(()=>[B(O,{effect:"dark",content:"\u91CD\u590D\u6DFB\u52A0\u7684\u90AE\u7BB1\u5C06\u4F1A\u88AB\u8986\u76D6",placement:"right"},{default:Z(()=>[B(u,{type:"primary",onClick:s.addEmail},{default:Z(()=>[Pte]),_:1},8,["onClick"])]),_:1})]),_:1})]),_:1},8,["model","rules"]),B(h,{type:"success",closable:!1},{title:Z(()=>[kte]),_:1}),B(y,{data:r.userEmailList,class:"table"},{default:Z(()=>[B(p,{prop:"email",label:"Email"}),B(p,{prop:"name",label:"\u670D\u52A1\u5546"}),B(p,{label:"\u64CD\u4F5C"},{default:Z(({row:m})=>[B(u,{type:"primary",loading:m.loading,onClick:d=>s.pushTestEmail(m)},{default:Z(()=>[Cte]),_:2},1032,["loading","onClick"]),B(u,{type:"danger",onClick:d=>s.deleteUserEmail(m)},{default:Z(()=>[Tte]),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"])])),[[$,r.loading]])}var Ate=fn(xte,[["render",Rte]]);const Ete={name:"HostSort",emits:["update-list"],data(){return{targetIndex:0,list:[]}},created(){this.list=this.$store.hostList.map(({name:t,host:e})=>({name:t,host:e}))},methods:{dragstart(t){this.targetIndex=t},dragenter(t,e){if(t.preventDefault(),this.targetIndex!==e){let n=this.list.splice(this.targetIndex,1)[0];this.list.splice(e,0,n),this.targetIndex=e}},dragover(t){t.preventDefault()},handleUpdateSort(){let{list:t}=this;this.$api.updateHostSort({list:t}).then(({msg:e})=>{this.$message({type:"success",center:!0,message:e}),this.$store.sortHostList(this.list)})}}},Xte=["onDragenter","onDragstart"],Wte=Xe(" --- "),zte={style:{display:"flex","justify-content":"center","margin-top":"25px"}},Ite=Xe(" \u4FDD\u5B58 ");function qte(t,e,n,i,r,s){const o=Ln;return L(),ie(Le,null,[B(gk,{name:"list",mode:"out-in",tag:"ul",class:"host-list"},{default:Z(()=>[(L(!0),ie(Le,null,Rt(r.list,(a,l)=>(L(),ie("li",{key:a.host,draggable:!0,class:"host-item",onDragenter:c=>s.dragenter(c,l),onDragover:e[0]||(e[0]=c=>s.dragover(c)),onDragstart:c=>s.dragstart(l)},[D("span",null,de(a.host),1),Wte,D("span",null,de(a.name),1)],40,Xte))),128))]),_:1}),D("div",zte,[B(o,{type:"primary",onClick:s.handleUpdateSort},{default:Z(()=>[Ite]),_:1},8,["onClick"])])],64)}var Ute=fn(Ete,[["render",qte],["__scopeId","data-v-89667db6"]]);const Dte={name:"LoginRecord",data(){return{loginRecordList:[],loading:!1}},created(){this.handleLookupLoginRecord()},methods:{handleLookupLoginRecord(){this.loading=!0,this.$api.getLoginRecord().then(({data:t})=>{this.loginRecordList=t.map(e=>(e.date=this.$tools.formatTimestamp(e.date),e))}).finally(()=>{this.loading=!1})}}},Lte=D("span",{style:{"letter-spacing":"2px"}}," Tips: \u7CFB\u7EDF\u53EA\u4FDD\u5B58\u6700\u8FD110\u6761\u767B\u5F55\u8BB0\u5F55, \u68C0\u6D4B\u5230\u66F4\u6362IP\u540E\u9700\u91CD\u65B0\u767B\u5F55 ",-1),Bte={style:{"letter-spacing":"2px"}};function Mte(t,e,n,i,r,s){const o=bf,a=vp,l=gp,c=yc;return L(),ie(Le,null,[B(o,{type:"success",closable:!1},{title:Z(()=>[Lte]),_:1}),it((L(),be(l,{data:r.loginRecordList},{default:Z(()=>[B(a,{prop:"ip",label:"IP"}),B(a,{prop:"address",label:"\u5730\u70B9","show-overflow-tooltip":""},{default:Z(u=>[D("span",Bte,de(u.row.country)+" "+de(u.row.city),1)]),_:1}),B(a,{prop:"date",label:"\u65F6\u95F4"})]),_:1},8,["data"])),[[c,r.loading]])],64)}var Yte=fn(Dte,[["render",Mte]]);const Zte={name:"NotifyList",data(){return{loading:!1,visible:!1,groupList:[],groupForm:{name:"",index:""},updateForm:{name:"",index:""},rules:{name:{required:!0,message:"\u9700\u8F93\u5165\u5206\u7EC4\u540D\u79F0",trigger:"change"},index:{required:!0,type:"number",message:"\u9700\u8F93\u5165\u6570\u5B57",trigger:"change"}}}},computed:{hostGroupInfo(){let t=this.$store.hostList.length,e=this.$store.hostList.reduce((n,i)=>(i.group||n++,n),0);return{total:t,notGroupCount:e}},list(){return this.groupList.map(t=>{let e=this.$store.hostList.reduce((n,i)=>(i.group===t.id&&(n.count++,n.list.push(i)),n),{count:0,list:[]});return Je(ze({},t),{hosts:e})})}},mounted(){this.getGroupList()},methods:{getGroupList(){this.loading=!0,this.$api.getGroupList().then(({data:t})=>{this.groupList=t,this.groupForm.index=t.length}).finally(()=>this.loading=!1)},addGroup(){let t=this.$refs["group-form"];t.validate().then(()=>{const{name:e,index:n}=this.groupForm;this.$api.addGroup({name:e,index:n}).then(()=>{this.$message.success("success"),this.groupForm={name:"",index:""},this.$nextTick(()=>t.resetFields()),this.getGroupList()})})},handleChange({id:t,name:e,index:n}){this.updateForm={id:t,name:e,index:n},this.visible=!0},updateGroup(){this.$refs["update-form"].validate().then(()=>{const{id:e,name:n,index:i}=this.updateForm;this.$api.updateGroup(e,{name:n,index:i}).then(()=>{this.$message.success("success"),this.visible=!1,this.getGroupList()})})},deleteGroup({id:t,name:e}){this.$messageBox.confirm(`\u786E\u8BA4\u5220\u9664\u5206\u7EC4\uFF1A${e}`,"Warning",{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",type:"warning"}).then(async()=>{await this.$api.deleteGroup(t),await this.$store.getHostList(),this.$message.success("success"),this.getGroupList()})}}},GT=t=>(uc("data-v-914cda9c"),t=t(),fc(),t),Vte=Xe(" \u6DFB\u52A0 "),jte={style:{"letter-spacing":"2px"}},Nte=Xe(" Tips: \u5DF2\u6DFB\u52A0\u670D\u52A1\u5668\u6570\u91CF "),Fte=Xe(", \u6709 "),Gte=Xe(" \u53F0\u670D\u52A1\u5668\u5C1A\u672A\u5206\u7EC4"),Hte=GT(()=>D("br",null,null,-1)),Kte=GT(()=>D("span",{style:{"letter-spacing":"2px"}}," Tips: \u5220\u9664\u5206\u7EC4\u4F1A\u5C06\u5206\u7EC4\u5185\u6240\u6709\u670D\u52A1\u5668\u79FB\u81F3\u9ED8\u8BA4\u5206\u7EC4 ",-1)),Jte={class:"host-count"},ene=Xe(" - "),tne={key:1,class:"host-count"},nne=Xe("\u4FEE\u6539"),ine=Xe("\u5220\u9664"),rne={class:"dialog-footer"},sne=Xe("\u5173\u95ED"),one=Xe("\u4FEE\u6539");function ane(t,e,n,i,r,s){const o=mi,a=vc,l=Ln,c=gc,u=bf,O=vp,f=aT,h=gp,p=mc,y=yc;return L(),ie(Le,null,[B(c,{ref:"group-form",model:r.groupForm,rules:r.rules,inline:!0,"hide-required-asterisk":!0,"label-suffix":"\uFF1A"},{default:Z(()=>[B(a,{label:"",prop:"name",style:{width:"200px"}},{default:Z(()=>[B(o,{modelValue:r.groupForm.name,"onUpdate:modelValue":e[0]||(e[0]=$=>r.groupForm.name=$),modelModifiers:{trim:!0},clearable:"",placeholder:"\u5206\u7EC4\u540D\u79F0",autocomplete:"off",onKeyup:Qt(s.addGroup,["enter"])},null,8,["modelValue","onKeyup"])]),_:1}),B(a,{label:"",prop:"index",style:{width:"200px"}},{default:Z(()=>[B(o,{modelValue:r.groupForm.index,"onUpdate:modelValue":e[1]||(e[1]=$=>r.groupForm.index=$),modelModifiers:{number:!0},clearable:"",placeholder:"\u5E8F\u53F7(\u6570\u5B57, \u7528\u4E8E\u5206\u7EC4\u6392\u5E8F)",autocomplete:"off",onKeyup:Qt(s.addGroup,["enter"])},null,8,["modelValue","onKeyup"])]),_:1}),B(a,{label:""},{default:Z(()=>[B(l,{type:"primary",onClick:s.addGroup},{default:Z(()=>[Vte]),_:1},8,["onClick"])]),_:1})]),_:1},8,["model","rules"]),B(u,{type:"success",closable:!1},{title:Z(()=>[D("span",jte,[Nte,D("u",null,de(s.hostGroupInfo.total),1),it(D("span",null,[Fte,D("u",null,de(s.hostGroupInfo.notGroupCount),1),Gte],512),[[Lt,s.hostGroupInfo.notGroupCount]])])]),_:1}),Hte,B(u,{type:"success",closable:!1},{title:Z(()=>[Kte]),_:1}),it((L(),be(h,{data:s.list},{default:Z(()=>[B(O,{prop:"index",label:"\u5E8F\u53F7"}),B(O,{prop:"id",label:"ID"}),B(O,{prop:"name",label:"\u5206\u7EC4\u540D\u79F0"}),B(O,{label:"\u5173\u8054\u670D\u52A1\u5668\u6570\u91CF"},{default:Z(({row:$})=>[$.hosts.list.length!==0?(L(),be(f,{key:0,placement:"right",width:350,trigger:"hover"},{reference:Z(()=>[D("u",Jte,de($.hosts.count),1)]),default:Z(()=>[D("ul",null,[(L(!0),ie(Le,null,Rt($.hosts.list,m=>(L(),ie("li",{key:m.host},[D("span",null,de(m.host),1),ene,D("span",null,de(m.name),1)]))),128))])]),_:2},1024)):(L(),ie("u",tne,"0"))]),_:1}),B(O,{label:"\u64CD\u4F5C"},{default:Z(({row:$})=>[B(l,{type:"primary",onClick:m=>s.handleChange($)},{default:Z(()=>[nne]),_:2},1032,["onClick"]),it(B(l,{type:"danger",onClick:m=>s.deleteGroup($)},{default:Z(()=>[ine]),_:2},1032,["onClick"]),[[Lt,$.id!=="default"]])]),_:1})]),_:1},8,["data"])),[[y,r.loading]]),B(p,{modelValue:r.visible,"onUpdate:modelValue":e[5]||(e[5]=$=>r.visible=$),width:"400px",title:"\u4FEE\u6539\u5206\u7EC4","close-on-click-modal":!1},{footer:Z(()=>[D("span",rne,[B(l,{onClick:e[4]||(e[4]=$=>r.visible=!1)},{default:Z(()=>[sne]),_:1}),B(l,{type:"primary",onClick:s.updateGroup},{default:Z(()=>[one]),_:1},8,["onClick"])])]),default:Z(()=>[B(c,{ref:"update-form",model:r.updateForm,rules:r.rules,"hide-required-asterisk":!0,"label-suffix":"\uFF1A","label-width":"100px"},{default:Z(()=>[B(a,{label:"\u5206\u7EC4\u540D\u79F0",prop:"name"},{default:Z(()=>[B(o,{modelValue:r.updateForm.name,"onUpdate:modelValue":e[2]||(e[2]=$=>r.updateForm.name=$),modelModifiers:{trim:!0},clearable:"",placeholder:"\u5206\u7EC4\u540D\u79F0",autocomplete:"off"},null,8,["modelValue"])]),_:1}),B(a,{label:"\u5206\u7EC4\u5E8F\u53F7",prop:"index"},{default:Z(()=>[B(o,{modelValue:r.updateForm.index,"onUpdate:modelValue":e[3]||(e[3]=$=>r.updateForm.index=$),modelModifiers:{number:!0},clearable:"",placeholder:"\u5206\u7EC4\u5E8F\u53F7",autocomplete:"off"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["modelValue"])],64)}var lne=fn(Zte,[["render",ane],["__scopeId","data-v-914cda9c"]]),cne="0123456789abcdefghijklmnopqrstuvwxyz";function cs(t){return cne.charAt(t)}function une(t,e){return t&e}function PO(t,e){return t|e}function LQ(t,e){return t^e}function BQ(t,e){return t&~e}function fne(t){if(t==0)return-1;var e=0;return(t&65535)==0&&(t>>=16,e+=16),(t&255)==0&&(t>>=8,e+=8),(t&15)==0&&(t>>=4,e+=4),(t&3)==0&&(t>>=2,e+=2),(t&1)==0&&++e,e}function One(t){for(var e=0;t!=0;)t&=t-1,++e;return e}var ml="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",HT="=";function nd(t){var e,n,i="";for(e=0;e+3<=t.length;e+=3)n=parseInt(t.substring(e,e+3),16),i+=ml.charAt(n>>6)+ml.charAt(n&63);for(e+1==t.length?(n=parseInt(t.substring(e,e+1),16),i+=ml.charAt(n<<2)):e+2==t.length&&(n=parseInt(t.substring(e,e+2),16),i+=ml.charAt(n>>2)+ml.charAt((n&3)<<4));(i.length&3)>0;)i+=HT;return i}function MQ(t){var e="",n,i=0,r=0;for(n=0;n>2),r=s&3,i=1):i==1?(e+=cs(r<<2|s>>4),r=s&15,i=2):i==2?(e+=cs(r),e+=cs(s>>2),r=s&3,i=3):(e+=cs(r<<2|s>>4),e+=cs(s&15),i=0))}return i==1&&(e+=cs(r<<2)),e}var ll,hne={decode:function(t){var e;if(ll===void 0){var n="0123456789ABCDEF",i=` \f -\r \xA0\u2028\u2029`;for(ll={},e=0;e<16;++e)ll[n.charAt(e)]=e;for(n=n.toLowerCase(),e=10;e<16;++e)ll[n.charAt(e)]=e;for(e=0;e=2?(r[r.length]=s,s=0,o=0):s<<=4}}if(o)throw new Error("Hex encoding incomplete: 4 bits missing");return r}},Jo,Jg={decode:function(t){var e;if(Jo===void 0){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=`= \f -\r \xA0\u2028\u2029`;for(Jo=Object.create(null),e=0;e<64;++e)Jo[n.charAt(e)]=e;for(Jo["-"]=62,Jo._=63,e=0;e=4?(r[r.length]=s>>16,r[r.length]=s>>8&255,r[r.length]=s&255,s=0,o=0):s<<=6}}switch(o){case 1:throw new Error("Base64 encoding incomplete: at least 2 bits missing");case 2:r[r.length]=s>>10;break;case 3:r[r.length]=s>>16,r[r.length]=s>>8&255;break}return r},re:/-----BEGIN [^-]+-----([A-Za-z0-9+\/=\s]+)-----END [^-]+-----|begin-base64[^\n]+\n([A-Za-z0-9+\/=\s]+)====/,unarmor:function(t){var e=Jg.re.exec(t);if(e)if(e[1])t=e[1];else if(e[2])t=e[2];else throw new Error("RegExp out of sync");return Jg.decode(t)}},cl=1e13,Kc=function(){function t(e){this.buf=[+e||0]}return t.prototype.mulAdd=function(e,n){var i=this.buf,r=i.length,s,o;for(s=0;s0&&(i[s]=n)},t.prototype.sub=function(e){var n=this.buf,i=n.length,r,s;for(r=0;r=0;--r)i+=(cl+n[r]).toString().substring(1);return i},t.prototype.valueOf=function(){for(var e=this.buf,n=0,i=e.length-1;i>=0;--i)n=n*cl+e[i];return n},t.prototype.simplify=function(){var e=this.buf;return e.length==1?e[0]:this},t}(),KT="\u2026",dne=/^(\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/,pne=/^(\d\d\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/;function xl(t,e){return t.length>e&&(t=t.substring(0,e)+KT),t}var Y0=function(){function t(e,n){this.hexDigits="0123456789ABCDEF",e instanceof t?(this.enc=e.enc,this.pos=e.pos):(this.enc=e,this.pos=n)}return t.prototype.get=function(e){if(e===void 0&&(e=this.pos++),e>=this.enc.length)throw new Error("Requesting byte offset "+e+" on a stream of length "+this.enc.length);return typeof this.enc=="string"?this.enc.charCodeAt(e):this.enc[e]},t.prototype.hexByte=function(e){return this.hexDigits.charAt(e>>4&15)+this.hexDigits.charAt(e&15)},t.prototype.hexDump=function(e,n,i){for(var r="",s=e;s176)return!1}return!0},t.prototype.parseStringISO=function(e,n){for(var i="",r=e;r191&&s<224?i+=String.fromCharCode((s&31)<<6|this.get(r++)&63):i+=String.fromCharCode((s&15)<<12|(this.get(r++)&63)<<6|this.get(r++)&63)}return i},t.prototype.parseStringBMP=function(e,n){for(var i="",r,s,o=e;o127,s=r?255:0,o,a="";i==s&&++e4){for(a=i,o<<=3;((+a^s)&128)==0;)a=+a<<1,--o;a="("+o+` bit) -`}r&&(i=i-256);for(var l=new Kc(i),c=e+1;c=u;--O)a+=c>>O&1?"1":"0";if(a.length>i)return o+xl(a,i)}return o+a},t.prototype.parseOctetString=function(e,n,i){if(this.isASCII(e,n))return xl(this.parseStringISO(e,n),i);var r=n-e,s="("+r+` byte) -`;i/=2,r>i&&(n=e+i);for(var o=e;oi&&(s+=KT),s},t.prototype.parseOID=function(e,n,i){for(var r="",s=new Kc,o=0,a=e;ai)return xl(r,i);s=new Kc,o=0}}return o>0&&(r+=".incomplete"),r},t}(),mne=function(){function t(e,n,i,r,s){if(!(r instanceof YQ))throw new Error("Invalid tag value.");this.stream=e,this.header=n,this.length=i,this.tag=r,this.sub=s}return t.prototype.typeName=function(){switch(this.tag.tagClass){case 0:switch(this.tag.tagNumber){case 0:return"EOC";case 1:return"BOOLEAN";case 2:return"INTEGER";case 3:return"BIT_STRING";case 4:return"OCTET_STRING";case 5:return"NULL";case 6:return"OBJECT_IDENTIFIER";case 7:return"ObjectDescriptor";case 8:return"EXTERNAL";case 9:return"REAL";case 10:return"ENUMERATED";case 11:return"EMBEDDED_PDV";case 12:return"UTF8String";case 16:return"SEQUENCE";case 17:return"SET";case 18:return"NumericString";case 19:return"PrintableString";case 20:return"TeletexString";case 21:return"VideotexString";case 22:return"IA5String";case 23:return"UTCTime";case 24:return"GeneralizedTime";case 25:return"GraphicString";case 26:return"VisibleString";case 27:return"GeneralString";case 28:return"UniversalString";case 30:return"BMPString"}return"Universal_"+this.tag.tagNumber.toString();case 1:return"Application_"+this.tag.tagNumber.toString();case 2:return"["+this.tag.tagNumber.toString()+"]";case 3:return"Private_"+this.tag.tagNumber.toString()}},t.prototype.content=function(e){if(this.tag===void 0)return null;e===void 0&&(e=1/0);var n=this.posContent(),i=Math.abs(this.length);if(!this.tag.isUniversal())return this.sub!==null?"("+this.sub.length+" elem)":this.stream.parseOctetString(n,n+i,e);switch(this.tag.tagNumber){case 1:return this.stream.get(n)===0?"false":"true";case 2:return this.stream.parseInteger(n,n+i);case 3:return this.sub?"("+this.sub.length+" elem)":this.stream.parseBitString(n,n+i,e);case 4:return this.sub?"("+this.sub.length+" elem)":this.stream.parseOctetString(n,n+i,e);case 6:return this.stream.parseOID(n,n+i,e);case 16:case 17:return this.sub!==null?"("+this.sub.length+" elem)":"(no elem)";case 12:return xl(this.stream.parseStringUTF(n,n+i),e);case 18:case 19:case 20:case 21:case 22:case 26:return xl(this.stream.parseStringISO(n,n+i),e);case 30:return xl(this.stream.parseStringBMP(n,n+i),e);case 23:case 24:return this.stream.parseTime(n,n+i,this.tag.tagNumber==23)}return null},t.prototype.toString=function(){return this.typeName()+"@"+this.stream.pos+"[header:"+this.header+",length:"+this.length+",sub:"+(this.sub===null?"null":this.sub.length)+"]"},t.prototype.toPrettyString=function(e){e===void 0&&(e="");var n=e+this.typeName()+" @"+this.stream.pos;if(this.length>=0&&(n+="+"),n+=this.length,this.tag.tagConstructed?n+=" (constructed)":this.tag.isUniversal()&&(this.tag.tagNumber==3||this.tag.tagNumber==4)&&this.sub!==null&&(n+=" (encapsulates)"),n+=` -`,this.sub!==null){e+=" ";for(var i=0,r=this.sub.length;i6)throw new Error("Length over 48 bits not supported at position "+(e.pos-1));if(i===0)return null;n=0;for(var r=0;r>6,this.tagConstructed=(n&32)!==0,this.tagNumber=n&31,this.tagNumber==31){var i=new Kc;do n=e.get(),i.mulAdd(128,n&127);while(n&128);this.tagNumber=i.simplify()}}return t.prototype.isUniversal=function(){return this.tagClass===0},t.prototype.isEOC=function(){return this.tagClass===0&&this.tagNumber===0},t}(),go,gne=0xdeadbeefcafe,ZQ=(gne&16777215)==15715070,Jn=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],vne=(1<<26)/Jn[Jn.length-1],dt=function(){function t(e,n,i){e!=null&&(typeof e=="number"?this.fromNumber(e,n,i):n==null&&typeof e!="string"?this.fromString(e,256):this.fromString(e,n))}return t.prototype.toString=function(e){if(this.s<0)return"-"+this.negate().toString(e);var n;if(e==16)n=4;else if(e==8)n=3;else if(e==2)n=1;else if(e==32)n=5;else if(e==4)n=2;else return this.toRadix(e);var i=(1<0)for(l>l)>0&&(s=!0,o=cs(r));a>=0;)l>(l+=this.DB-n)):(r=this[a]>>(l-=n)&i,l<=0&&(l+=this.DB,--a)),r>0&&(s=!0),s&&(o+=cs(r));return s?o:"0"},t.prototype.negate=function(){var e=pt();return t.ZERO.subTo(this,e),e},t.prototype.abs=function(){return this.s<0?this.negate():this},t.prototype.compareTo=function(e){var n=this.s-e.s;if(n!=0)return n;var i=this.t;if(n=i-e.t,n!=0)return this.s<0?-n:n;for(;--i>=0;)if((n=this[i]-e[i])!=0)return n;return 0},t.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+kO(this[this.t-1]^this.s&this.DM)},t.prototype.mod=function(e){var n=pt();return this.abs().divRemTo(e,null,n),this.s<0&&n.compareTo(t.ZERO)>0&&e.subTo(n,n),n},t.prototype.modPowInt=function(e,n){var i;return e<256||n.isEven()?i=new VQ(n):i=new jQ(n),this.exp(e,i)},t.prototype.clone=function(){var e=pt();return this.copyTo(e),e},t.prototype.intValue=function(){if(this.s<0){if(this.t==1)return this[0]-this.DV;if(this.t==0)return-1}else{if(this.t==1)return this[0];if(this.t==0)return 0}return(this[1]&(1<<32-this.DB)-1)<>24},t.prototype.shortValue=function(){return this.t==0?this.s:this[0]<<16>>16},t.prototype.signum=function(){return this.s<0?-1:this.t<=0||this.t==1&&this[0]<=0?0:1},t.prototype.toByteArray=function(){var e=this.t,n=[];n[0]=this.s;var i=this.DB-e*this.DB%8,r,s=0;if(e-- >0)for(i>i)!=(this.s&this.DM)>>i&&(n[s++]=r|this.s<=0;)i<8?(r=(this[e]&(1<>(i+=this.DB-8)):(r=this[e]>>(i-=8)&255,i<=0&&(i+=this.DB,--e)),(r&128)!=0&&(r|=-256),s==0&&(this.s&128)!=(r&128)&&++s,(s>0||r!=this.s)&&(n[s++]=r);return n},t.prototype.equals=function(e){return this.compareTo(e)==0},t.prototype.min=function(e){return this.compareTo(e)<0?this:e},t.prototype.max=function(e){return this.compareTo(e)>0?this:e},t.prototype.and=function(e){var n=pt();return this.bitwiseTo(e,une,n),n},t.prototype.or=function(e){var n=pt();return this.bitwiseTo(e,PO,n),n},t.prototype.xor=function(e){var n=pt();return this.bitwiseTo(e,LQ,n),n},t.prototype.andNot=function(e){var n=pt();return this.bitwiseTo(e,BQ,n),n},t.prototype.not=function(){for(var e=pt(),n=0;n=this.t?this.s!=0:(this[n]&1<1){var O=pt();for(o.sqrTo(a[1],O);l<=u;)a[l]=pt(),o.mulTo(O,a[l-2],a[l]),l+=2}var f=e.t-1,h,p=!0,y=pt(),$;for(i=kO(e[f])-1;f>=0;){for(i>=c?h=e[f]>>i-c&u:(h=(e[f]&(1<0&&(h|=e[f-1]>>this.DB+i-c)),l=r;(h&1)==0;)h>>=1,--l;if((i-=l)<0&&(i+=this.DB,--f),p)a[h].copyTo(s),p=!1;else{for(;l>1;)o.sqrTo(s,y),o.sqrTo(y,s),l-=2;l>0?o.sqrTo(s,y):($=s,s=y,y=$),o.mulTo(y,a[h],s)}for(;f>=0&&(e[f]&1<=0?(i.subTo(r,i),n&&s.subTo(a,s),o.subTo(l,o)):(r.subTo(i,r),n&&a.subTo(s,a),l.subTo(o,l))}if(r.compareTo(t.ONE)!=0)return t.ZERO;if(l.compareTo(e)>=0)return l.subtract(e);if(l.signum()<0)l.addTo(e,l);else return l;return l.signum()<0?l.add(e):l},t.prototype.pow=function(e){return this.exp(e,new yne)},t.prototype.gcd=function(e){var n=this.s<0?this.negate():this.clone(),i=e.s<0?e.negate():e.clone();if(n.compareTo(i)<0){var r=n;n=i,i=r}var s=n.getLowestSetBit(),o=i.getLowestSetBit();if(o<0)return n;for(s0&&(n.rShiftTo(o,n),i.rShiftTo(o,i));n.signum()>0;)(s=n.getLowestSetBit())>0&&n.rShiftTo(s,n),(s=i.getLowestSetBit())>0&&i.rShiftTo(s,i),n.compareTo(i)>=0?(n.subTo(i,n),n.rShiftTo(1,n)):(i.subTo(n,i),i.rShiftTo(1,i));return o>0&&i.lShiftTo(o,i),i},t.prototype.isProbablePrime=function(e){var n,i=this.abs();if(i.t==1&&i[0]<=Jn[Jn.length-1]){for(n=0;n=0;--n)e[n]=this[n];e.t=this.t,e.s=this.s},t.prototype.fromInt=function(e){this.t=1,this.s=e<0?-1:0,e>0?this[0]=e:e<-1?this[0]=e+this.DV:this.t=0},t.prototype.fromString=function(e,n){var i;if(n==16)i=4;else if(n==8)i=3;else if(n==256)i=8;else if(n==2)i=1;else if(n==32)i=5;else if(n==4)i=2;else{this.fromRadix(e,n);return}this.t=0,this.s=0;for(var r=e.length,s=!1,o=0;--r>=0;){var a=i==8?+e[r]&255:FQ(e,r);if(a<0){e.charAt(r)=="-"&&(s=!0);continue}s=!1,o==0?this[this.t++]=a:o+i>this.DB?(this[this.t-1]|=(a&(1<>this.DB-o):this[this.t-1]|=a<=this.DB&&(o-=this.DB)}i==8&&(+e[0]&128)!=0&&(this.s=-1,o>0&&(this[this.t-1]|=(1<0&&this[this.t-1]==e;)--this.t},t.prototype.dlShiftTo=function(e,n){var i;for(i=this.t-1;i>=0;--i)n[i+e]=this[i];for(i=e-1;i>=0;--i)n[i]=0;n.t=this.t+e,n.s=this.s},t.prototype.drShiftTo=function(e,n){for(var i=e;i=0;--l)n[l+o+1]=this[l]>>r|a,a=(this[l]&s)<=0;--l)n[l]=0;n[o]=a,n.t=this.t+o+1,n.s=this.s,n.clamp()},t.prototype.rShiftTo=function(e,n){n.s=this.s;var i=Math.floor(e/this.DB);if(i>=this.t){n.t=0;return}var r=e%this.DB,s=this.DB-r,o=(1<>r;for(var a=i+1;a>r;r>0&&(n[this.t-i-1]|=(this.s&o)<>=this.DB;if(e.t>=this.DB;r+=this.s}else{for(r+=this.s;i>=this.DB;r-=e.s}n.s=r<0?-1:0,r<-1?n[i++]=this.DV+r:r>0&&(n[i++]=r),n.t=i,n.clamp()},t.prototype.multiplyTo=function(e,n){var i=this.abs(),r=e.abs(),s=i.t;for(n.t=s+r.t;--s>=0;)n[s]=0;for(s=0;s=0;)e[i]=0;for(i=0;i=n.DV&&(e[i+n.t]-=n.DV,e[i+n.t+1]=1)}e.t>0&&(e[e.t-1]+=n.am(i,n[i],e,2*i,0,1)),e.s=0,e.clamp()},t.prototype.divRemTo=function(e,n,i){var r=e.abs();if(!(r.t<=0)){var s=this.abs();if(s.t0?(r.lShiftTo(c,o),s.lShiftTo(c,i)):(r.copyTo(o),s.copyTo(i));var u=o.t,O=o[u-1];if(O!=0){var f=O*(1<1?o[u-2]>>this.F2:0),h=this.FV/f,p=(1<=0&&(i[i.t++]=1,i.subTo(d,i)),t.ONE.dlShiftTo(u,d),d.subTo(o,o);o.t=0;){var g=i[--$]==O?this.DM:Math.floor(i[$]*h+(i[$-1]+y)*p);if((i[$]+=o.am(0,g,i,m,0,u))0&&i.rShiftTo(c,i),a<0&&t.ZERO.subTo(i,i)}}},t.prototype.invDigit=function(){if(this.t<1)return 0;var e=this[0];if((e&1)==0)return 0;var n=e&3;return n=n*(2-(e&15)*n)&15,n=n*(2-(e&255)*n)&255,n=n*(2-((e&65535)*n&65535))&65535,n=n*(2-e*n%this.DV)%this.DV,n>0?this.DV-n:-n},t.prototype.isEven=function(){return(this.t>0?this[0]&1:this.s)==0},t.prototype.exp=function(e,n){if(e>4294967295||e<1)return t.ONE;var i=pt(),r=pt(),s=n.convert(this),o=kO(e)-1;for(s.copyTo(i);--o>=0;)if(n.sqrTo(i,r),(e&1<0)n.mulTo(r,s,i);else{var a=i;i=r,r=a}return n.revert(i)},t.prototype.chunkSize=function(e){return Math.floor(Math.LN2*this.DB/Math.log(e))},t.prototype.toRadix=function(e){if(e==null&&(e=10),this.signum()==0||e<2||e>36)return"0";var n=this.chunkSize(e),i=Math.pow(e,n),r=Ks(i),s=pt(),o=pt(),a="";for(this.divRemTo(r,s,o);s.signum()>0;)a=(i+o.intValue()).toString(e).substr(1)+a,s.divRemTo(r,s,o);return o.intValue().toString(e)+a},t.prototype.fromRadix=function(e,n){this.fromInt(0),n==null&&(n=10);for(var i=this.chunkSize(n),r=Math.pow(n,i),s=!1,o=0,a=0,l=0;l=i&&(this.dMultiply(r),this.dAddOffset(a,0),o=0,a=0)}o>0&&(this.dMultiply(Math.pow(n,o)),this.dAddOffset(a,0)),s&&t.ZERO.subTo(this,this)},t.prototype.fromNumber=function(e,n,i){if(typeof n=="number")if(e<2)this.fromInt(1);else for(this.fromNumber(e,i),this.testBit(e-1)||this.bitwiseTo(t.ONE.shiftLeft(e-1),PO,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(n);)this.dAddOffset(2,0),this.bitLength()>e&&this.subTo(t.ONE.shiftLeft(e-1),this);else{var r=[],s=e&7;r.length=(e>>3)+1,n.nextBytes(r),s>0?r[0]&=(1<>=this.DB;if(e.t>=this.DB;r+=this.s}else{for(r+=this.s;i>=this.DB;r+=e.s}n.s=r<0?-1:0,r>0?n[i++]=r:r<-1&&(n[i++]=this.DV+r),n.t=i,n.clamp()},t.prototype.dMultiply=function(e){this[this.t]=this.am(0,e-1,this,0,0,this.t),++this.t,this.clamp()},t.prototype.dAddOffset=function(e,n){if(e!=0){for(;this.t<=n;)this[this.t++]=0;for(this[n]+=e;this[n]>=this.DV;)this[n]-=this.DV,++n>=this.t&&(this[this.t++]=0),++this[n]}},t.prototype.multiplyLowerTo=function(e,n,i){var r=Math.min(this.t+e.t,n);for(i.s=0,i.t=r;r>0;)i[--r]=0;for(var s=i.t-this.t;r=0;)i[r]=0;for(r=Math.max(n-this.t,0);r0)if(n==0)i=this[0]%e;else for(var r=this.t-1;r>=0;--r)i=(n*i+this[r])%e;return i},t.prototype.millerRabin=function(e){var n=this.subtract(t.ONE),i=n.getLowestSetBit();if(i<=0)return!1;var r=n.shiftRight(i);e=e+1>>1,e>Jn.length&&(e=Jn.length);for(var s=pt(),o=0;o0&&(i.rShiftTo(a,i),r.rShiftTo(a,r));var l=function(){(o=i.getLowestSetBit())>0&&i.rShiftTo(o,i),(o=r.getLowestSetBit())>0&&r.rShiftTo(o,r),i.compareTo(r)>=0?(i.subTo(r,i),i.rShiftTo(1,i)):(r.subTo(i,r),r.rShiftTo(1,r)),i.signum()>0?setTimeout(l,0):(a>0&&r.lShiftTo(a,r),setTimeout(function(){n(r)},0))};setTimeout(l,10)},t.prototype.fromNumberAsync=function(e,n,i,r){if(typeof n=="number")if(e<2)this.fromInt(1);else{this.fromNumber(e,i),this.testBit(e-1)||this.bitwiseTo(t.ONE.shiftLeft(e-1),PO,this),this.isEven()&&this.dAddOffset(1,0);var s=this,o=function(){s.dAddOffset(2,0),s.bitLength()>e&&s.subTo(t.ONE.shiftLeft(e-1),s),s.isProbablePrime(n)?setTimeout(function(){r()},0):setTimeout(o,0)};setTimeout(o,0)}else{var a=[],l=e&7;a.length=(e>>3)+1,n.nextBytes(a),l>0?a[0]&=(1<=0?e.mod(this.m):e},t.prototype.revert=function(e){return e},t.prototype.reduce=function(e){e.divRemTo(this.m,null,e)},t.prototype.mulTo=function(e,n,i){e.multiplyTo(n,i),this.reduce(i)},t.prototype.sqrTo=function(e,n){e.squareTo(n),this.reduce(n)},t}(),jQ=function(){function t(e){this.m=e,this.mp=e.invDigit(),this.mpl=this.mp&32767,this.mph=this.mp>>15,this.um=(1<0&&this.m.subTo(n,n),n},t.prototype.revert=function(e){var n=pt();return e.copyTo(n),this.reduce(n),n},t.prototype.reduce=function(e){for(;e.t<=this.mt2;)e[e.t++]=0;for(var n=0;n>15)*this.mpl&this.um)<<15)&e.DM;for(i=n+this.m.t,e[i]+=this.m.am(0,r,e,n,0,this.m.t);e[i]>=e.DV;)e[i]-=e.DV,e[++i]++}e.clamp(),e.drShiftTo(this.m.t,e),e.compareTo(this.m)>=0&&e.subTo(this.m,e)},t.prototype.mulTo=function(e,n,i){e.multiplyTo(n,i),this.reduce(i)},t.prototype.sqrTo=function(e,n){e.squareTo(n),this.reduce(n)},t}(),$ne=function(){function t(e){this.m=e,this.r2=pt(),this.q3=pt(),dt.ONE.dlShiftTo(2*e.t,this.r2),this.mu=this.r2.divide(e)}return t.prototype.convert=function(e){if(e.s<0||e.t>2*this.m.t)return e.mod(this.m);if(e.compareTo(this.m)<0)return e;var n=pt();return e.copyTo(n),this.reduce(n),n},t.prototype.revert=function(e){return e},t.prototype.reduce=function(e){for(e.drShiftTo(this.m.t-1,this.r2),e.t>this.m.t+1&&(e.t=this.m.t+1,e.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);e.compareTo(this.r2)<0;)e.dAddOffset(1,this.m.t+1);for(e.subTo(this.r2,e);e.compareTo(this.m)>=0;)e.subTo(this.m,e)},t.prototype.mulTo=function(e,n,i){e.multiplyTo(n,i),this.reduce(i)},t.prototype.sqrTo=function(e,n){e.squareTo(n),this.reduce(n)},t}();function pt(){return new dt(null)}function an(t,e){return new dt(t,e)}var NQ=typeof navigator!="undefined";NQ&&ZQ&&navigator.appName=="Microsoft Internet Explorer"?(dt.prototype.am=function(e,n,i,r,s,o){for(var a=n&32767,l=n>>15;--o>=0;){var c=this[e]&32767,u=this[e++]>>15,O=l*c+u*a;c=a*c+((O&32767)<<15)+i[r]+(s&1073741823),s=(c>>>30)+(O>>>15)+l*u+(s>>>30),i[r++]=c&1073741823}return s},go=30):NQ&&ZQ&&navigator.appName!="Netscape"?(dt.prototype.am=function(e,n,i,r,s,o){for(;--o>=0;){var a=n*this[e++]+i[r]+s;s=Math.floor(a/67108864),i[r++]=a&67108863}return s},go=26):(dt.prototype.am=function(e,n,i,r,s,o){for(var a=n&16383,l=n>>14;--o>=0;){var c=this[e]&16383,u=this[e++]>>14,O=l*c+u*a;c=a*c+((O&16383)<<14)+i[r]+s,s=(c>>28)+(O>>14)+l*u,i[r++]=c&268435455}return s},go=28);dt.prototype.DB=go;dt.prototype.DM=(1<>>16)!=0&&(t=n,e+=16),(n=t>>8)!=0&&(t=n,e+=8),(n=t>>4)!=0&&(t=n,e+=4),(n=t>>2)!=0&&(t=n,e+=2),(n=t>>1)!=0&&(t=n,e+=1),e}dt.ZERO=Ks(0);dt.ONE=Ks(1);var bne=function(){function t(){this.i=0,this.j=0,this.S=[]}return t.prototype.init=function(e){var n,i,r;for(n=0;n<256;++n)this.S[n]=n;for(i=0,n=0;n<256;++n)i=i+this.S[n]+e[n%e.length]&255,r=this.S[n],this.S[n]=this.S[i],this.S[i]=r;this.i=0,this.j=0},t.prototype.next=function(){var e;return this.i=this.i+1&255,this.j=this.j+this.S[this.i]&255,e=this.S[this.i],this.S[this.i]=this.S[this.j],this.S[this.j]=e,this.S[e+this.S[this.i]&255]},t}();function _ne(){return new bne}var JT=256,CO,ao=null,yr;if(ao==null){ao=[],yr=0;var TO=void 0;if(window.crypto&&window.crypto.getRandomValues){var Z0=new Uint32Array(256);for(window.crypto.getRandomValues(Z0),TO=0;TO=256||yr>=JT){window.removeEventListener?window.removeEventListener("mousemove",AO,!1):window.detachEvent&&window.detachEvent("onmousemove",AO);return}try{var e=t.x+t.y;ao[yr++]=e&255,RO+=1}catch{}};window.addEventListener?window.addEventListener("mousemove",AO,!1):window.attachEvent&&window.attachEvent("onmousemove",AO)}function Qne(){if(CO==null){for(CO=_ne();yr=0&&e>0;){var r=t.charCodeAt(i--);r<128?n[--e]=r:r>127&&r<2048?(n[--e]=r&63|128,n[--e]=r>>6|192):(n[--e]=r&63|128,n[--e]=r>>6&63|128,n[--e]=r>>12|224)}n[--e]=0;for(var s=new ev,o=[];e>2;){for(o[0]=0;o[0]==0;)s.nextBytes(o);n[--e]=o[0]}return n[--e]=2,n[--e]=0,new dt(n)}var xne=function(){function t(){this.n=null,this.e=0,this.d=null,this.p=null,this.q=null,this.dmp1=null,this.dmq1=null,this.coeff=null}return t.prototype.doPublic=function(e){return e.modPowInt(this.e,this.n)},t.prototype.doPrivate=function(e){if(this.p==null||this.q==null)return e.modPow(this.d,this.n);for(var n=e.mod(this.p).modPow(this.dmp1,this.p),i=e.mod(this.q).modPow(this.dmq1,this.q);n.compareTo(i)<0;)n=n.add(this.p);return n.subtract(i).multiply(this.coeff).mod(this.p).multiply(this.q).add(i)},t.prototype.setPublic=function(e,n){e!=null&&n!=null&&e.length>0&&n.length>0?(this.n=an(e,16),this.e=parseInt(n,16)):console.error("Invalid RSA public key")},t.prototype.encrypt=function(e){var n=this.n.bitLength()+7>>3,i=wne(e,n);if(i==null)return null;var r=this.doPublic(i);if(r==null)return null;for(var s=r.toString(16),o=s.length,a=0;a0&&n.length>0?(this.n=an(e,16),this.e=parseInt(n,16),this.d=an(i,16)):console.error("Invalid RSA private key")},t.prototype.setPrivateEx=function(e,n,i,r,s,o,a,l){e!=null&&n!=null&&e.length>0&&n.length>0?(this.n=an(e,16),this.e=parseInt(n,16),this.d=an(i,16),this.p=an(r,16),this.q=an(s,16),this.dmp1=an(o,16),this.dmq1=an(a,16),this.coeff=an(l,16)):console.error("Invalid RSA private key")},t.prototype.generate=function(e,n){var i=new ev,r=e>>1;this.e=parseInt(n,16);for(var s=new dt(n,16);;){for(;this.p=new dt(e-r,1,i),!(this.p.subtract(dt.ONE).gcd(s).compareTo(dt.ONE)==0&&this.p.isProbablePrime(10)););for(;this.q=new dt(r,1,i),!(this.q.subtract(dt.ONE).gcd(s).compareTo(dt.ONE)==0&&this.q.isProbablePrime(10)););if(this.p.compareTo(this.q)<=0){var o=this.p;this.p=this.q,this.q=o}var a=this.p.subtract(dt.ONE),l=this.q.subtract(dt.ONE),c=a.multiply(l);if(c.gcd(s).compareTo(dt.ONE)==0){this.n=this.p.multiply(this.q),this.d=s.modInverse(c),this.dmp1=this.d.mod(a),this.dmq1=this.d.mod(l),this.coeff=this.q.modInverse(this.p);break}}},t.prototype.decrypt=function(e){var n=an(e,16),i=this.doPrivate(n);return i==null?null:Pne(i,this.n.bitLength()+7>>3)},t.prototype.generateAsync=function(e,n,i){var r=new ev,s=e>>1;this.e=parseInt(n,16);var o=new dt(n,16),a=this,l=function(){var c=function(){if(a.p.compareTo(a.q)<=0){var f=a.p;a.p=a.q,a.q=f}var h=a.p.subtract(dt.ONE),p=a.q.subtract(dt.ONE),y=h.multiply(p);y.gcd(o).compareTo(dt.ONE)==0?(a.n=a.p.multiply(a.q),a.d=o.modInverse(y),a.dmp1=a.d.mod(h),a.dmq1=a.d.mod(p),a.coeff=a.q.modInverse(a.p),setTimeout(function(){i()},0)):setTimeout(l,0)},u=function(){a.q=pt(),a.q.fromNumberAsync(s,1,r,function(){a.q.subtract(dt.ONE).gcda(o,function(f){f.compareTo(dt.ONE)==0&&a.q.isProbablePrime(10)?setTimeout(c,0):setTimeout(u,0)})})},O=function(){a.p=pt(),a.p.fromNumberAsync(e-s,1,r,function(){a.p.subtract(dt.ONE).gcda(o,function(f){f.compareTo(dt.ONE)==0&&a.p.isProbablePrime(10)?setTimeout(u,0):setTimeout(O,0)})})};setTimeout(O,0)};setTimeout(l,0)},t.prototype.sign=function(e,n,i){var r=kne(i),s=r+n(e).toString(),o=Sne(s,this.n.bitLength()/4);if(o==null)return null;var a=this.doPrivate(o);if(a==null)return null;var l=a.toString(16);return(l.length&1)==0?l:"0"+l},t.prototype.verify=function(e,n,i){var r=an(n,16),s=this.doPublic(r);if(s==null)return null;var o=s.toString(16).replace(/^1f+00/,""),a=Cne(o);return a==i(e).toString()},t}();function Pne(t,e){for(var n=t.toByteArray(),i=0;i=n.length)return null;for(var r="";++i191&&s<224?(r+=String.fromCharCode((s&31)<<6|n[i+1]&63),++i):(r+=String.fromCharCode((s&15)<<12|(n[i+1]&63)<<6|n[i+2]&63),i+=2)}return r}var _h={md2:"3020300c06082a864886f70d020205000410",md5:"3020300c06082a864886f70d020505000410",sha1:"3021300906052b0e03021a05000414",sha224:"302d300d06096086480165030402040500041c",sha256:"3031300d060960864801650304020105000420",sha384:"3041300d060960864801650304020205000430",sha512:"3051300d060960864801650304020305000440",ripemd160:"3021300906052b2403020105000414"};function kne(t){return _h[t]||""}function Cne(t){for(var e in _h)if(_h.hasOwnProperty(e)){var n=_h[e],i=n.length;if(t.substr(0,i)==n)return t.substr(i)}return t}/*! -Copyright (c) 2011, Yahoo! Inc. All rights reserved. -Code licensed under the BSD License: -http://developer.yahoo.com/yui/license.html -version: 2.9.0 -*/var On={};On.lang={extend:function(t,e,n){if(!e||!t)throw new Error("YAHOO.lang.extend failed, please check that all dependencies are included.");var i=function(){};if(i.prototype=e.prototype,t.prototype=new i,t.prototype.constructor=t,t.superclass=e.prototype,e.prototype.constructor==Object.prototype.constructor&&(e.prototype.constructor=e),n){var r;for(r in n)t.prototype[r]=n[r];var s=function(){},o=["toString","valueOf"];try{/MSIE/.test(navigator.userAgent)&&(s=function(a,l){for(r=0;rMIT License - */var ke={};(typeof ke.asn1=="undefined"||!ke.asn1)&&(ke.asn1={});ke.asn1.ASN1Util=new function(){this.integerToByteHex=function(t){var e=t.toString(16);return e.length%2==1&&(e="0"+e),e},this.bigIntToMinTwosComplementsHex=function(t){var e=t.toString(16);if(e.substr(0,1)!="-")e.length%2==1?e="0"+e:e.match(/^[0-7]/)||(e="00"+e);else{var n=e.substr(1),i=n.length;i%2==1?i+=1:e.match(/^[0-7]/)||(i+=2);for(var r="",s=0;s15)throw"ASN.1 length too long to represent by 8x: n = "+e.toString(16);var r=128+i;return r.toString(16)+n},this.getEncodedHex=function(){return(this.hTLV==null||this.isModified)&&(this.hV=this.getFreshValueHex(),this.hL=this.getLengthHexFromValue(),this.hTLV=this.hT+this.hL+this.hV,this.isModified=!1),this.hTLV},this.getValueHex=function(){return this.getEncodedHex(),this.hV},this.getFreshValueHex=function(){return""}};ke.asn1.DERAbstractString=function(t){ke.asn1.DERAbstractString.superclass.constructor.call(this),this.getString=function(){return this.s},this.setString=function(e){this.hTLV=null,this.isModified=!0,this.s=e,this.hV=stohex(this.s)},this.setStringHex=function(e){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=e},this.getFreshValueHex=function(){return this.hV},typeof t!="undefined"&&(typeof t=="string"?this.setString(t):typeof t.str!="undefined"?this.setString(t.str):typeof t.hex!="undefined"&&this.setStringHex(t.hex))};On.lang.extend(ke.asn1.DERAbstractString,ke.asn1.ASN1Object);ke.asn1.DERAbstractTime=function(t){ke.asn1.DERAbstractTime.superclass.constructor.call(this),this.localDateToUTC=function(e){utc=e.getTime()+e.getTimezoneOffset()*6e4;var n=new Date(utc);return n},this.formatDate=function(e,n,i){var r=this.zeroPadding,s=this.localDateToUTC(e),o=String(s.getFullYear());n=="utc"&&(o=o.substr(2,2));var a=r(String(s.getMonth()+1),2),l=r(String(s.getDate()),2),c=r(String(s.getHours()),2),u=r(String(s.getMinutes()),2),O=r(String(s.getSeconds()),2),f=o+a+l+c+u+O;if(i===!0){var h=s.getMilliseconds();if(h!=0){var p=r(String(h),3);p=p.replace(/[0]+$/,""),f=f+"."+p}}return f+"Z"},this.zeroPadding=function(e,n){return e.length>=n?e:new Array(n-e.length+1).join("0")+e},this.getString=function(){return this.s},this.setString=function(e){this.hTLV=null,this.isModified=!0,this.s=e,this.hV=stohex(e)},this.setByDateValue=function(e,n,i,r,s,o){var a=new Date(Date.UTC(e,n-1,i,r,s,o,0));this.setByDate(a)},this.getFreshValueHex=function(){return this.hV}};On.lang.extend(ke.asn1.DERAbstractTime,ke.asn1.ASN1Object);ke.asn1.DERAbstractStructured=function(t){ke.asn1.DERAbstractString.superclass.constructor.call(this),this.setByASN1ObjectArray=function(e){this.hTLV=null,this.isModified=!0,this.asn1Array=e},this.appendASN1Object=function(e){this.hTLV=null,this.isModified=!0,this.asn1Array.push(e)},this.asn1Array=new Array,typeof t!="undefined"&&typeof t.array!="undefined"&&(this.asn1Array=t.array)};On.lang.extend(ke.asn1.DERAbstractStructured,ke.asn1.ASN1Object);ke.asn1.DERBoolean=function(){ke.asn1.DERBoolean.superclass.constructor.call(this),this.hT="01",this.hTLV="0101ff"};On.lang.extend(ke.asn1.DERBoolean,ke.asn1.ASN1Object);ke.asn1.DERInteger=function(t){ke.asn1.DERInteger.superclass.constructor.call(this),this.hT="02",this.setByBigInteger=function(e){this.hTLV=null,this.isModified=!0,this.hV=ke.asn1.ASN1Util.bigIntToMinTwosComplementsHex(e)},this.setByInteger=function(e){var n=new dt(String(e),10);this.setByBigInteger(n)},this.setValueHex=function(e){this.hV=e},this.getFreshValueHex=function(){return this.hV},typeof t!="undefined"&&(typeof t.bigint!="undefined"?this.setByBigInteger(t.bigint):typeof t.int!="undefined"?this.setByInteger(t.int):typeof t=="number"?this.setByInteger(t):typeof t.hex!="undefined"&&this.setValueHex(t.hex))};On.lang.extend(ke.asn1.DERInteger,ke.asn1.ASN1Object);ke.asn1.DERBitString=function(t){if(t!==void 0&&typeof t.obj!="undefined"){var e=ke.asn1.ASN1Util.newObject(t.obj);t.hex="00"+e.getEncodedHex()}ke.asn1.DERBitString.superclass.constructor.call(this),this.hT="03",this.setHexValueIncludingUnusedBits=function(n){this.hTLV=null,this.isModified=!0,this.hV=n},this.setUnusedBitsAndHexValue=function(n,i){if(n<0||7>>2]>>>24-Q%4*8&255;g[b+Q>>>2]|=S<<24-(b+Q)%4*8}else for(var P=0;P<_;P+=4)g[b+P>>>2]=v[P>>>2];return this.sigBytes+=_,this},clamp:function(){var d=this.words,g=this.sigBytes;d[g>>>2]&=4294967295<<32-g%4*8,d.length=i.ceil(g/4)},clone:function(){var d=u.clone.call(this);return d.words=this.words.slice(0),d},random:function(d){for(var g=[],v=0;v>>2]>>>24-_%4*8&255;b.push((Q>>>4).toString(16)),b.push((Q&15).toString(16))}return b.join("")},parse:function(d){for(var g=d.length,v=[],b=0;b>>3]|=parseInt(d.substr(b,2),16)<<24-b%8*4;return new O.init(v,g/2)}},p=f.Latin1={stringify:function(d){for(var g=d.words,v=d.sigBytes,b=[],_=0;_>>2]>>>24-_%4*8&255;b.push(String.fromCharCode(Q))}return b.join("")},parse:function(d){for(var g=d.length,v=[],b=0;b>>2]|=(d.charCodeAt(b)&255)<<24-b%4*8;return new O.init(v,g)}},y=f.Utf8={stringify:function(d){try{return decodeURIComponent(escape(p.stringify(d)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(d){return p.parse(unescape(encodeURIComponent(d)))}},$=c.BufferedBlockAlgorithm=u.extend({reset:function(){this._data=new O.init,this._nDataBytes=0},_append:function(d){typeof d=="string"&&(d=y.parse(d)),this._data.concat(d),this._nDataBytes+=d.sigBytes},_process:function(d){var g,v=this._data,b=v.words,_=v.sigBytes,Q=this.blockSize,S=Q*4,P=_/S;d?P=i.ceil(P):P=i.max((P|0)-this._minBufferSize,0);var w=P*Q,x=i.min(w*4,_);if(w){for(var k=0;k>>2]|=l[O]<<24-O%4*8;o.call(this,u,c)}else o.apply(this,arguments)};a.prototype=s}}(),n.lib.WordArray})})(tR);var nR={exports:{}};(function(t,e){(function(n,i){t.exports=i(bt.exports)})(at,function(n){return function(){var i=n,r=i.lib,s=r.WordArray,o=i.enc;o.Utf16=o.Utf16BE={stringify:function(l){for(var c=l.words,u=l.sigBytes,O=[],f=0;f>>2]>>>16-f%4*8&65535;O.push(String.fromCharCode(h))}return O.join("")},parse:function(l){for(var c=l.length,u=[],O=0;O>>1]|=l.charCodeAt(O)<<16-O%2*16;return s.create(u,c*2)}},o.Utf16LE={stringify:function(l){for(var c=l.words,u=l.sigBytes,O=[],f=0;f>>2]>>>16-f%4*8&65535);O.push(String.fromCharCode(h))}return O.join("")},parse:function(l){for(var c=l.length,u=[],O=0;O>>1]|=a(l.charCodeAt(O)<<16-O%2*16);return s.create(u,c*2)}};function a(l){return l<<8&4278255360|l>>>8&16711935}}(),n.enc.Utf16})})(nR);var Ba={exports:{}};(function(t,e){(function(n,i){t.exports=i(bt.exports)})(at,function(n){return function(){var i=n,r=i.lib,s=r.WordArray,o=i.enc;o.Base64={stringify:function(l){var c=l.words,u=l.sigBytes,O=this._map;l.clamp();for(var f=[],h=0;h>>2]>>>24-h%4*8&255,y=c[h+1>>>2]>>>24-(h+1)%4*8&255,$=c[h+2>>>2]>>>24-(h+2)%4*8&255,m=p<<16|y<<8|$,d=0;d<4&&h+d*.75>>6*(3-d)&63));var g=O.charAt(64);if(g)for(;f.length%4;)f.push(g);return f.join("")},parse:function(l){var c=l.length,u=this._map,O=this._reverseMap;if(!O){O=this._reverseMap=[];for(var f=0;f>>6-h%4*2,$=p|y;O[f>>>2]|=$<<24-f%4*8,f++}return s.create(O,f)}}(),n.enc.Base64})})(Ba);var iR={exports:{}};(function(t,e){(function(n,i){t.exports=i(bt.exports)})(at,function(n){return function(){var i=n,r=i.lib,s=r.WordArray,o=i.enc;o.Base64url={stringify:function(l,c=!0){var u=l.words,O=l.sigBytes,f=c?this._safe_map:this._map;l.clamp();for(var h=[],p=0;p>>2]>>>24-p%4*8&255,$=u[p+1>>>2]>>>24-(p+1)%4*8&255,m=u[p+2>>>2]>>>24-(p+2)%4*8&255,d=y<<16|$<<8|m,g=0;g<4&&p+g*.75>>6*(3-g)&63));var v=f.charAt(64);if(v)for(;h.length%4;)h.push(v);return h.join("")},parse:function(l,c=!0){var u=l.length,O=c?this._safe_map:this._map,f=this._reverseMap;if(!f){f=this._reverseMap=[];for(var h=0;h>>6-h%4*2,$=p|y;O[f>>>2]|=$<<24-f%4*8,f++}return s.create(O,f)}}(),n.enc.Base64url})})(iR);var Ma={exports:{}};(function(t,e){(function(n,i){t.exports=i(bt.exports)})(at,function(n){return function(i){var r=n,s=r.lib,o=s.WordArray,a=s.Hasher,l=r.algo,c=[];(function(){for(var y=0;y<64;y++)c[y]=i.abs(i.sin(y+1))*4294967296|0})();var u=l.MD5=a.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(y,$){for(var m=0;m<16;m++){var d=$+m,g=y[d];y[d]=(g<<8|g>>>24)&16711935|(g<<24|g>>>8)&4278255360}var v=this._hash.words,b=y[$+0],_=y[$+1],Q=y[$+2],S=y[$+3],P=y[$+4],w=y[$+5],x=y[$+6],k=y[$+7],C=y[$+8],T=y[$+9],E=y[$+10],A=y[$+11],R=y[$+12],X=y[$+13],U=y[$+14],V=y[$+15],j=v[0],Y=v[1],ee=v[2],se=v[3];j=O(j,Y,ee,se,b,7,c[0]),se=O(se,j,Y,ee,_,12,c[1]),ee=O(ee,se,j,Y,Q,17,c[2]),Y=O(Y,ee,se,j,S,22,c[3]),j=O(j,Y,ee,se,P,7,c[4]),se=O(se,j,Y,ee,w,12,c[5]),ee=O(ee,se,j,Y,x,17,c[6]),Y=O(Y,ee,se,j,k,22,c[7]),j=O(j,Y,ee,se,C,7,c[8]),se=O(se,j,Y,ee,T,12,c[9]),ee=O(ee,se,j,Y,E,17,c[10]),Y=O(Y,ee,se,j,A,22,c[11]),j=O(j,Y,ee,se,R,7,c[12]),se=O(se,j,Y,ee,X,12,c[13]),ee=O(ee,se,j,Y,U,17,c[14]),Y=O(Y,ee,se,j,V,22,c[15]),j=f(j,Y,ee,se,_,5,c[16]),se=f(se,j,Y,ee,x,9,c[17]),ee=f(ee,se,j,Y,A,14,c[18]),Y=f(Y,ee,se,j,b,20,c[19]),j=f(j,Y,ee,se,w,5,c[20]),se=f(se,j,Y,ee,E,9,c[21]),ee=f(ee,se,j,Y,V,14,c[22]),Y=f(Y,ee,se,j,P,20,c[23]),j=f(j,Y,ee,se,T,5,c[24]),se=f(se,j,Y,ee,U,9,c[25]),ee=f(ee,se,j,Y,S,14,c[26]),Y=f(Y,ee,se,j,C,20,c[27]),j=f(j,Y,ee,se,X,5,c[28]),se=f(se,j,Y,ee,Q,9,c[29]),ee=f(ee,se,j,Y,k,14,c[30]),Y=f(Y,ee,se,j,R,20,c[31]),j=h(j,Y,ee,se,w,4,c[32]),se=h(se,j,Y,ee,C,11,c[33]),ee=h(ee,se,j,Y,A,16,c[34]),Y=h(Y,ee,se,j,U,23,c[35]),j=h(j,Y,ee,se,_,4,c[36]),se=h(se,j,Y,ee,P,11,c[37]),ee=h(ee,se,j,Y,k,16,c[38]),Y=h(Y,ee,se,j,E,23,c[39]),j=h(j,Y,ee,se,X,4,c[40]),se=h(se,j,Y,ee,b,11,c[41]),ee=h(ee,se,j,Y,S,16,c[42]),Y=h(Y,ee,se,j,x,23,c[43]),j=h(j,Y,ee,se,T,4,c[44]),se=h(se,j,Y,ee,R,11,c[45]),ee=h(ee,se,j,Y,V,16,c[46]),Y=h(Y,ee,se,j,Q,23,c[47]),j=p(j,Y,ee,se,b,6,c[48]),se=p(se,j,Y,ee,k,10,c[49]),ee=p(ee,se,j,Y,U,15,c[50]),Y=p(Y,ee,se,j,w,21,c[51]),j=p(j,Y,ee,se,R,6,c[52]),se=p(se,j,Y,ee,S,10,c[53]),ee=p(ee,se,j,Y,E,15,c[54]),Y=p(Y,ee,se,j,_,21,c[55]),j=p(j,Y,ee,se,C,6,c[56]),se=p(se,j,Y,ee,V,10,c[57]),ee=p(ee,se,j,Y,x,15,c[58]),Y=p(Y,ee,se,j,X,21,c[59]),j=p(j,Y,ee,se,P,6,c[60]),se=p(se,j,Y,ee,A,10,c[61]),ee=p(ee,se,j,Y,Q,15,c[62]),Y=p(Y,ee,se,j,T,21,c[63]),v[0]=v[0]+j|0,v[1]=v[1]+Y|0,v[2]=v[2]+ee|0,v[3]=v[3]+se|0},_doFinalize:function(){var y=this._data,$=y.words,m=this._nDataBytes*8,d=y.sigBytes*8;$[d>>>5]|=128<<24-d%32;var g=i.floor(m/4294967296),v=m;$[(d+64>>>9<<4)+15]=(g<<8|g>>>24)&16711935|(g<<24|g>>>8)&4278255360,$[(d+64>>>9<<4)+14]=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360,y.sigBytes=($.length+1)*4,this._process();for(var b=this._hash,_=b.words,Q=0;Q<4;Q++){var S=_[Q];_[Q]=(S<<8|S>>>24)&16711935|(S<<24|S>>>8)&4278255360}return b},clone:function(){var y=a.clone.call(this);return y._hash=this._hash.clone(),y}});function O(y,$,m,d,g,v,b){var _=y+($&m|~$&d)+g+b;return(_<>>32-v)+$}function f(y,$,m,d,g,v,b){var _=y+($&d|m&~d)+g+b;return(_<>>32-v)+$}function h(y,$,m,d,g,v,b){var _=y+($^m^d)+g+b;return(_<>>32-v)+$}function p(y,$,m,d,g,v,b){var _=y+(m^($|~d))+g+b;return(_<>>32-v)+$}r.MD5=a._createHelper(u),r.HmacMD5=a._createHmacHelper(u)}(Math),n.MD5})})(Ma);var _p={exports:{}};(function(t,e){(function(n,i){t.exports=i(bt.exports)})(at,function(n){return function(){var i=n,r=i.lib,s=r.WordArray,o=r.Hasher,a=i.algo,l=[],c=a.SHA1=o.extend({_doReset:function(){this._hash=new s.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(u,O){for(var f=this._hash.words,h=f[0],p=f[1],y=f[2],$=f[3],m=f[4],d=0;d<80;d++){if(d<16)l[d]=u[O+d]|0;else{var g=l[d-3]^l[d-8]^l[d-14]^l[d-16];l[d]=g<<1|g>>>31}var v=(h<<5|h>>>27)+m+l[d];d<20?v+=(p&y|~p&$)+1518500249:d<40?v+=(p^y^$)+1859775393:d<60?v+=(p&y|p&$|y&$)-1894007588:v+=(p^y^$)-899497514,m=$,$=y,y=p<<30|p>>>2,p=h,h=v}f[0]=f[0]+h|0,f[1]=f[1]+p|0,f[2]=f[2]+y|0,f[3]=f[3]+$|0,f[4]=f[4]+m|0},_doFinalize:function(){var u=this._data,O=u.words,f=this._nDataBytes*8,h=u.sigBytes*8;return O[h>>>5]|=128<<24-h%32,O[(h+64>>>9<<4)+14]=Math.floor(f/4294967296),O[(h+64>>>9<<4)+15]=f,u.sigBytes=O.length*4,this._process(),this._hash},clone:function(){var u=o.clone.call(this);return u._hash=this._hash.clone(),u}});i.SHA1=o._createHelper(c),i.HmacSHA1=o._createHmacHelper(c)}(),n.SHA1})})(_p);var T$={exports:{}};(function(t,e){(function(n,i){t.exports=i(bt.exports)})(at,function(n){return function(i){var r=n,s=r.lib,o=s.WordArray,a=s.Hasher,l=r.algo,c=[],u=[];(function(){function h(m){for(var d=i.sqrt(m),g=2;g<=d;g++)if(!(m%g))return!1;return!0}function p(m){return(m-(m|0))*4294967296|0}for(var y=2,$=0;$<64;)h(y)&&($<8&&(c[$]=p(i.pow(y,1/2))),u[$]=p(i.pow(y,1/3)),$++),y++})();var O=[],f=l.SHA256=a.extend({_doReset:function(){this._hash=new o.init(c.slice(0))},_doProcessBlock:function(h,p){for(var y=this._hash.words,$=y[0],m=y[1],d=y[2],g=y[3],v=y[4],b=y[5],_=y[6],Q=y[7],S=0;S<64;S++){if(S<16)O[S]=h[p+S]|0;else{var P=O[S-15],w=(P<<25|P>>>7)^(P<<14|P>>>18)^P>>>3,x=O[S-2],k=(x<<15|x>>>17)^(x<<13|x>>>19)^x>>>10;O[S]=w+O[S-7]+k+O[S-16]}var C=v&b^~v&_,T=$&m^$&d^m&d,E=($<<30|$>>>2)^($<<19|$>>>13)^($<<10|$>>>22),A=(v<<26|v>>>6)^(v<<21|v>>>11)^(v<<7|v>>>25),R=Q+A+C+u[S]+O[S],X=E+T;Q=_,_=b,b=v,v=g+R|0,g=d,d=m,m=$,$=R+X|0}y[0]=y[0]+$|0,y[1]=y[1]+m|0,y[2]=y[2]+d|0,y[3]=y[3]+g|0,y[4]=y[4]+v|0,y[5]=y[5]+b|0,y[6]=y[6]+_|0,y[7]=y[7]+Q|0},_doFinalize:function(){var h=this._data,p=h.words,y=this._nDataBytes*8,$=h.sigBytes*8;return p[$>>>5]|=128<<24-$%32,p[($+64>>>9<<4)+14]=i.floor(y/4294967296),p[($+64>>>9<<4)+15]=y,h.sigBytes=p.length*4,this._process(),this._hash},clone:function(){var h=a.clone.call(this);return h._hash=this._hash.clone(),h}});r.SHA256=a._createHelper(f),r.HmacSHA256=a._createHmacHelper(f)}(Math),n.SHA256})})(T$);var rR={exports:{}};(function(t,e){(function(n,i,r){t.exports=i(bt.exports,T$.exports)})(at,function(n){return function(){var i=n,r=i.lib,s=r.WordArray,o=i.algo,a=o.SHA256,l=o.SHA224=a.extend({_doReset:function(){this._hash=new s.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var c=a._doFinalize.call(this);return c.sigBytes-=4,c}});i.SHA224=a._createHelper(l),i.HmacSHA224=a._createHmacHelper(l)}(),n.SHA224})})(rR);var R$={exports:{}};(function(t,e){(function(n,i,r){t.exports=i(bt.exports,wf.exports)})(at,function(n){return function(){var i=n,r=i.lib,s=r.Hasher,o=i.x64,a=o.Word,l=o.WordArray,c=i.algo;function u(){return a.create.apply(a,arguments)}var O=[u(1116352408,3609767458),u(1899447441,602891725),u(3049323471,3964484399),u(3921009573,2173295548),u(961987163,4081628472),u(1508970993,3053834265),u(2453635748,2937671579),u(2870763221,3664609560),u(3624381080,2734883394),u(310598401,1164996542),u(607225278,1323610764),u(1426881987,3590304994),u(1925078388,4068182383),u(2162078206,991336113),u(2614888103,633803317),u(3248222580,3479774868),u(3835390401,2666613458),u(4022224774,944711139),u(264347078,2341262773),u(604807628,2007800933),u(770255983,1495990901),u(1249150122,1856431235),u(1555081692,3175218132),u(1996064986,2198950837),u(2554220882,3999719339),u(2821834349,766784016),u(2952996808,2566594879),u(3210313671,3203337956),u(3336571891,1034457026),u(3584528711,2466948901),u(113926993,3758326383),u(338241895,168717936),u(666307205,1188179964),u(773529912,1546045734),u(1294757372,1522805485),u(1396182291,2643833823),u(1695183700,2343527390),u(1986661051,1014477480),u(2177026350,1206759142),u(2456956037,344077627),u(2730485921,1290863460),u(2820302411,3158454273),u(3259730800,3505952657),u(3345764771,106217008),u(3516065817,3606008344),u(3600352804,1432725776),u(4094571909,1467031594),u(275423344,851169720),u(430227734,3100823752),u(506948616,1363258195),u(659060556,3750685593),u(883997877,3785050280),u(958139571,3318307427),u(1322822218,3812723403),u(1537002063,2003034995),u(1747873779,3602036899),u(1955562222,1575990012),u(2024104815,1125592928),u(2227730452,2716904306),u(2361852424,442776044),u(2428436474,593698344),u(2756734187,3733110249),u(3204031479,2999351573),u(3329325298,3815920427),u(3391569614,3928383900),u(3515267271,566280711),u(3940187606,3454069534),u(4118630271,4000239992),u(116418474,1914138554),u(174292421,2731055270),u(289380356,3203993006),u(460393269,320620315),u(685471733,587496836),u(852142971,1086792851),u(1017036298,365543100),u(1126000580,2618297676),u(1288033470,3409855158),u(1501505948,4234509866),u(1607167915,987167468),u(1816402316,1246189591)],f=[];(function(){for(var p=0;p<80;p++)f[p]=u()})();var h=c.SHA512=s.extend({_doReset:function(){this._hash=new l.init([new a.init(1779033703,4089235720),new a.init(3144134277,2227873595),new a.init(1013904242,4271175723),new a.init(2773480762,1595750129),new a.init(1359893119,2917565137),new a.init(2600822924,725511199),new a.init(528734635,4215389547),new a.init(1541459225,327033209)])},_doProcessBlock:function(p,y){for(var $=this._hash.words,m=$[0],d=$[1],g=$[2],v=$[3],b=$[4],_=$[5],Q=$[6],S=$[7],P=m.high,w=m.low,x=d.high,k=d.low,C=g.high,T=g.low,E=v.high,A=v.low,R=b.high,X=b.low,U=_.high,V=_.low,j=Q.high,Y=Q.low,ee=S.high,se=S.low,I=P,ne=w,H=x,re=k,G=C,Re=T,_e=E,ue=A,W=R,q=X,F=U,fe=V,he=j,ve=Y,xe=ee,me=se,le=0;le<80;le++){var oe,ce,K=f[le];if(le<16)ce=K.high=p[y+le*2]|0,oe=K.low=p[y+le*2+1]|0;else{var ge=f[le-15],Te=ge.high,Ye=ge.low,Ae=(Te>>>1|Ye<<31)^(Te>>>8|Ye<<24)^Te>>>7,ae=(Ye>>>1|Te<<31)^(Ye>>>8|Te<<24)^(Ye>>>7|Te<<25),pe=f[le-2],Oe=pe.high,Se=pe.low,qe=(Oe>>>19|Se<<13)^(Oe<<3|Se>>>29)^Oe>>>6,ht=(Se>>>19|Oe<<13)^(Se<<3|Oe>>>29)^(Se>>>6|Oe<<26),Ct=f[le-7],Ot=Ct.high,Pt=Ct.low,Ut=f[le-16],Bn=Ut.high,ur=Ut.low;oe=ae+Pt,ce=Ae+Ot+(oe>>>0>>0?1:0),oe=oe+ht,ce=ce+qe+(oe>>>0>>0?1:0),oe=oe+ur,ce=ce+Bn+(oe>>>0>>0?1:0),K.high=ce,K.low=oe}var Ws=W&F^~W&he,Lo=q&fe^~q&ve,ja=I&H^I&G^H&G,Na=ne&re^ne&Re^re&Re,Fa=(I>>>28|ne<<4)^(I<<30|ne>>>2)^(I<<25|ne>>>7),Bo=(ne>>>28|I<<4)^(ne<<30|I>>>2)^(ne<<25|I>>>7),Ga=(W>>>14|q<<18)^(W>>>18|q<<14)^(W<<23|q>>>9),Ha=(q>>>14|W<<18)^(q>>>18|W<<14)^(q<<23|W>>>9),Mo=O[le],Ka=Mo.high,Yo=Mo.low,Sn=me+Ha,gi=xe+Ga+(Sn>>>0>>0?1:0),Sn=Sn+Lo,gi=gi+Ws+(Sn>>>0>>0?1:0),Sn=Sn+Yo,gi=gi+Ka+(Sn>>>0>>0?1:0),Sn=Sn+oe,gi=gi+ce+(Sn>>>0>>0?1:0),Zo=Bo+Na,Ja=Fa+ja+(Zo>>>0>>0?1:0);xe=he,me=ve,he=F,ve=fe,F=W,fe=q,q=ue+Sn|0,W=_e+gi+(q>>>0>>0?1:0)|0,_e=G,ue=Re,G=H,Re=re,H=I,re=ne,ne=Sn+Zo|0,I=gi+Ja+(ne>>>0>>0?1:0)|0}w=m.low=w+ne,m.high=P+I+(w>>>0>>0?1:0),k=d.low=k+re,d.high=x+H+(k>>>0>>0?1:0),T=g.low=T+Re,g.high=C+G+(T>>>0>>0?1:0),A=v.low=A+ue,v.high=E+_e+(A>>>0>>0?1:0),X=b.low=X+q,b.high=R+W+(X>>>0>>0?1:0),V=_.low=V+fe,_.high=U+F+(V>>>0>>0?1:0),Y=Q.low=Y+ve,Q.high=j+he+(Y>>>0>>0?1:0),se=S.low=se+me,S.high=ee+xe+(se>>>0>>0?1:0)},_doFinalize:function(){var p=this._data,y=p.words,$=this._nDataBytes*8,m=p.sigBytes*8;y[m>>>5]|=128<<24-m%32,y[(m+128>>>10<<5)+30]=Math.floor($/4294967296),y[(m+128>>>10<<5)+31]=$,p.sigBytes=y.length*4,this._process();var d=this._hash.toX32();return d},clone:function(){var p=s.clone.call(this);return p._hash=this._hash.clone(),p},blockSize:1024/32});i.SHA512=s._createHelper(h),i.HmacSHA512=s._createHmacHelper(h)}(),n.SHA512})})(R$);var sR={exports:{}};(function(t,e){(function(n,i,r){t.exports=i(bt.exports,wf.exports,R$.exports)})(at,function(n){return function(){var i=n,r=i.x64,s=r.Word,o=r.WordArray,a=i.algo,l=a.SHA512,c=a.SHA384=l.extend({_doReset:function(){this._hash=new o.init([new s.init(3418070365,3238371032),new s.init(1654270250,914150663),new s.init(2438529370,812702999),new s.init(355462360,4144912697),new s.init(1731405415,4290775857),new s.init(2394180231,1750603025),new s.init(3675008525,1694076839),new s.init(1203062813,3204075428)])},_doFinalize:function(){var u=l._doFinalize.call(this);return u.sigBytes-=16,u}});i.SHA384=l._createHelper(c),i.HmacSHA384=l._createHmacHelper(c)}(),n.SHA384})})(sR);var oR={exports:{}};(function(t,e){(function(n,i,r){t.exports=i(bt.exports,wf.exports)})(at,function(n){return function(i){var r=n,s=r.lib,o=s.WordArray,a=s.Hasher,l=r.x64,c=l.Word,u=r.algo,O=[],f=[],h=[];(function(){for(var $=1,m=0,d=0;d<24;d++){O[$+5*m]=(d+1)*(d+2)/2%64;var g=m%5,v=(2*$+3*m)%5;$=g,m=v}for(var $=0;$<5;$++)for(var m=0;m<5;m++)f[$+5*m]=m+(2*$+3*m)%5*5;for(var b=1,_=0;_<24;_++){for(var Q=0,S=0,P=0;P<7;P++){if(b&1){var w=(1<>>24)&16711935|(b<<24|b>>>8)&4278255360,_=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360;var Q=d[v];Q.high^=_,Q.low^=b}for(var S=0;S<24;S++){for(var P=0;P<5;P++){for(var w=0,x=0,k=0;k<5;k++){var Q=d[P+5*k];w^=Q.high,x^=Q.low}var C=p[P];C.high=w,C.low=x}for(var P=0;P<5;P++)for(var T=p[(P+4)%5],E=p[(P+1)%5],A=E.high,R=E.low,w=T.high^(A<<1|R>>>31),x=T.low^(R<<1|A>>>31),k=0;k<5;k++){var Q=d[P+5*k];Q.high^=w,Q.low^=x}for(var X=1;X<25;X++){var w,x,Q=d[X],U=Q.high,V=Q.low,j=O[X];j<32?(w=U<>>32-j,x=V<>>32-j):(w=V<>>64-j,x=U<>>64-j);var Y=p[f[X]];Y.high=w,Y.low=x}var ee=p[0],se=d[0];ee.high=se.high,ee.low=se.low;for(var P=0;P<5;P++)for(var k=0;k<5;k++){var X=P+5*k,Q=d[X],I=p[X],ne=p[(P+1)%5+5*k],H=p[(P+2)%5+5*k];Q.high=I.high^~ne.high&H.high,Q.low=I.low^~ne.low&H.low}var Q=d[0],re=h[S];Q.high^=re.high,Q.low^=re.low}},_doFinalize:function(){var $=this._data,m=$.words;this._nDataBytes*8;var d=$.sigBytes*8,g=this.blockSize*32;m[d>>>5]|=1<<24-d%32,m[(i.ceil((d+1)/g)*g>>>5)-1]|=128,$.sigBytes=m.length*4,this._process();for(var v=this._state,b=this.cfg.outputLength/8,_=b/8,Q=[],S=0;S<_;S++){var P=v[S],w=P.high,x=P.low;w=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360,x=(x<<8|x>>>24)&16711935|(x<<24|x>>>8)&4278255360,Q.push(x),Q.push(w)}return new o.init(Q,b)},clone:function(){for(var $=a.clone.call(this),m=$._state=this._state.slice(0),d=0;d<25;d++)m[d]=m[d].clone();return $}});r.SHA3=a._createHelper(y),r.HmacSHA3=a._createHmacHelper(y)}(Math),n.SHA3})})(oR);var aR={exports:{}};(function(t,e){(function(n,i){t.exports=i(bt.exports)})(at,function(n){/** @preserve - (c) 2012 by Cédric Mesnil. All rights reserved. - - Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - - - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */return function(i){var r=n,s=r.lib,o=s.WordArray,a=s.Hasher,l=r.algo,c=o.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),u=o.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),O=o.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),f=o.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),h=o.create([0,1518500249,1859775393,2400959708,2840853838]),p=o.create([1352829926,1548603684,1836072691,2053994217,0]),y=l.RIPEMD160=a.extend({_doReset:function(){this._hash=o.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(_,Q){for(var S=0;S<16;S++){var P=Q+S,w=_[P];_[P]=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360}var x=this._hash.words,k=h.words,C=p.words,T=c.words,E=u.words,A=O.words,R=f.words,X,U,V,j,Y,ee,se,I,ne,H;ee=X=x[0],se=U=x[1],I=V=x[2],ne=j=x[3],H=Y=x[4];for(var re,S=0;S<80;S+=1)re=X+_[Q+T[S]]|0,S<16?re+=$(U,V,j)+k[0]:S<32?re+=m(U,V,j)+k[1]:S<48?re+=d(U,V,j)+k[2]:S<64?re+=g(U,V,j)+k[3]:re+=v(U,V,j)+k[4],re=re|0,re=b(re,A[S]),re=re+Y|0,X=Y,Y=j,j=b(V,10),V=U,U=re,re=ee+_[Q+E[S]]|0,S<16?re+=v(se,I,ne)+C[0]:S<32?re+=g(se,I,ne)+C[1]:S<48?re+=d(se,I,ne)+C[2]:S<64?re+=m(se,I,ne)+C[3]:re+=$(se,I,ne)+C[4],re=re|0,re=b(re,R[S]),re=re+H|0,ee=H,H=ne,ne=b(I,10),I=se,se=re;re=x[1]+V+ne|0,x[1]=x[2]+j+H|0,x[2]=x[3]+Y+ee|0,x[3]=x[4]+X+se|0,x[4]=x[0]+U+I|0,x[0]=re},_doFinalize:function(){var _=this._data,Q=_.words,S=this._nDataBytes*8,P=_.sigBytes*8;Q[P>>>5]|=128<<24-P%32,Q[(P+64>>>9<<4)+14]=(S<<8|S>>>24)&16711935|(S<<24|S>>>8)&4278255360,_.sigBytes=(Q.length+1)*4,this._process();for(var w=this._hash,x=w.words,k=0;k<5;k++){var C=x[k];x[k]=(C<<8|C>>>24)&16711935|(C<<24|C>>>8)&4278255360}return w},clone:function(){var _=a.clone.call(this);return _._hash=this._hash.clone(),_}});function $(_,Q,S){return _^Q^S}function m(_,Q,S){return _&Q|~_&S}function d(_,Q,S){return(_|~Q)^S}function g(_,Q,S){return _&S|Q&~S}function v(_,Q,S){return _^(Q|~S)}function b(_,Q){return _<>>32-Q}r.RIPEMD160=a._createHelper(y),r.HmacRIPEMD160=a._createHmacHelper(y)}(),n.RIPEMD160})})(aR);var Qp={exports:{}};(function(t,e){(function(n,i){t.exports=i(bt.exports)})(at,function(n){(function(){var i=n,r=i.lib,s=r.Base,o=i.enc,a=o.Utf8,l=i.algo;l.HMAC=s.extend({init:function(c,u){c=this._hasher=new c.init,typeof u=="string"&&(u=a.parse(u));var O=c.blockSize,f=O*4;u.sigBytes>f&&(u=c.finalize(u)),u.clamp();for(var h=this._oKey=u.clone(),p=this._iKey=u.clone(),y=h.words,$=p.words,m=0;m>>2]&255;w.sigBytes-=x}};s.BlockCipher=h.extend({cfg:h.cfg.extend({mode:$,padding:d}),reset:function(){var w;h.reset.call(this);var x=this.cfg,k=x.iv,C=x.mode;this._xformMode==this._ENC_XFORM_MODE?w=C.createEncryptor:(w=C.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==w?this._mode.init(this,k&&k.words):(this._mode=w.call(C,this,k&&k.words),this._mode.__creator=w)},_doProcessBlock:function(w,x){this._mode.processBlock(w,x)},_doFinalize:function(){var w,x=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(x.pad(this._data,this.blockSize),w=this._process(!0)):(w=this._process(!0),x.unpad(w)),w},blockSize:128/32});var g=s.CipherParams=o.extend({init:function(w){this.mixIn(w)},toString:function(w){return(w||this.formatter).stringify(this)}}),v=r.format={},b=v.OpenSSL={stringify:function(w){var x,k=w.ciphertext,C=w.salt;return C?x=a.create([1398893684,1701076831]).concat(C).concat(k):x=k,x.toString(u)},parse:function(w){var x,k=u.parse(w),C=k.words;return C[0]==1398893684&&C[1]==1701076831&&(x=a.create(C.slice(2,4)),C.splice(0,4),k.sigBytes-=16),g.create({ciphertext:k,salt:x})}},_=s.SerializableCipher=o.extend({cfg:o.extend({format:b}),encrypt:function(w,x,k,C){C=this.cfg.extend(C);var T=w.createEncryptor(k,C),E=T.finalize(x),A=T.cfg;return g.create({ciphertext:E,key:k,iv:A.iv,algorithm:w,mode:A.mode,padding:A.padding,blockSize:w.blockSize,formatter:C.format})},decrypt:function(w,x,k,C){C=this.cfg.extend(C),x=this._parse(x,C.format);var T=w.createDecryptor(k,C).finalize(x.ciphertext);return T},_parse:function(w,x){return typeof w=="string"?x.parse(w,this):w}}),Q=r.kdf={},S=Q.OpenSSL={execute:function(w,x,k,C){C||(C=a.random(64/8));var T=f.create({keySize:x+k}).compute(w,C),E=a.create(T.words.slice(x),k*4);return T.sigBytes=x*4,g.create({key:T,iv:E,salt:C})}},P=s.PasswordBasedCipher=_.extend({cfg:_.cfg.extend({kdf:S}),encrypt:function(w,x,k,C){C=this.cfg.extend(C);var T=C.kdf.execute(k,w.keySize,w.ivSize);C.iv=T.iv;var E=_.encrypt.call(this,w,x,T.key,C);return E.mixIn(T),E},decrypt:function(w,x,k,C){C=this.cfg.extend(C),x=this._parse(x,C.format);var T=C.kdf.execute(k,w.keySize,w.ivSize,x.salt);C.iv=T.iv;var E=_.decrypt.call(this,w,x,T.key,C);return E}})}()})})(Tn);var cR={exports:{}};(function(t,e){(function(n,i,r){t.exports=i(bt.exports,Tn.exports)})(at,function(n){return n.mode.CFB=function(){var i=n.lib.BlockCipherMode.extend();i.Encryptor=i.extend({processBlock:function(s,o){var a=this._cipher,l=a.blockSize;r.call(this,s,o,l,a),this._prevBlock=s.slice(o,o+l)}}),i.Decryptor=i.extend({processBlock:function(s,o){var a=this._cipher,l=a.blockSize,c=s.slice(o,o+l);r.call(this,s,o,l,a),this._prevBlock=c}});function r(s,o,a,l){var c,u=this._iv;u?(c=u.slice(0),this._iv=void 0):c=this._prevBlock,l.encryptBlock(c,0);for(var O=0;O>24&255)===255){var l=a>>16&255,c=a>>8&255,u=a&255;l===255?(l=0,c===255?(c=0,u===255?u=0:++u):++c):++l,a=0,a+=l<<16,a+=c<<8,a+=u}else a+=1<<24;return a}function s(a){return(a[0]=r(a[0]))===0&&(a[1]=r(a[1])),a}var o=i.Encryptor=i.extend({processBlock:function(a,l){var c=this._cipher,u=c.blockSize,O=this._iv,f=this._counter;O&&(f=this._counter=O.slice(0),this._iv=void 0),s(f);var h=f.slice(0);c.encryptBlock(h,0);for(var p=0;p>>2]|=a<<24-l%4*8,i.sigBytes+=a},unpad:function(i){var r=i.words[i.sigBytes-1>>>2]&255;i.sigBytes-=r}},n.pad.Ansix923})})(dR);var pR={exports:{}};(function(t,e){(function(n,i,r){t.exports=i(bt.exports,Tn.exports)})(at,function(n){return n.pad.Iso10126={pad:function(i,r){var s=r*4,o=s-i.sigBytes%s;i.concat(n.lib.WordArray.random(o-1)).concat(n.lib.WordArray.create([o<<24],1))},unpad:function(i){var r=i.words[i.sigBytes-1>>>2]&255;i.sigBytes-=r}},n.pad.Iso10126})})(pR);var mR={exports:{}};(function(t,e){(function(n,i,r){t.exports=i(bt.exports,Tn.exports)})(at,function(n){return n.pad.Iso97971={pad:function(i,r){i.concat(n.lib.WordArray.create([2147483648],1)),n.pad.ZeroPadding.pad(i,r)},unpad:function(i){n.pad.ZeroPadding.unpad(i),i.sigBytes--}},n.pad.Iso97971})})(mR);var gR={exports:{}};(function(t,e){(function(n,i,r){t.exports=i(bt.exports,Tn.exports)})(at,function(n){return n.pad.ZeroPadding={pad:function(i,r){var s=r*4;i.clamp(),i.sigBytes+=s-(i.sigBytes%s||s)},unpad:function(i){for(var r=i.words,s=i.sigBytes-1,s=i.sigBytes-1;s>=0;s--)if(r[s>>>2]>>>24-s%4*8&255){i.sigBytes=s+1;break}}},n.pad.ZeroPadding})})(gR);var vR={exports:{}};(function(t,e){(function(n,i,r){t.exports=i(bt.exports,Tn.exports)})(at,function(n){return n.pad.NoPadding={pad:function(){},unpad:function(){}},n.pad.NoPadding})})(vR);var yR={exports:{}};(function(t,e){(function(n,i,r){t.exports=i(bt.exports,Tn.exports)})(at,function(n){return function(i){var r=n,s=r.lib,o=s.CipherParams,a=r.enc,l=a.Hex,c=r.format;c.Hex={stringify:function(u){return u.ciphertext.toString(l)},parse:function(u){var O=l.parse(u);return o.create({ciphertext:O})}}}(),n.format.Hex})})(yR);var $R={exports:{}};(function(t,e){(function(n,i,r){t.exports=i(bt.exports,Ba.exports,Ma.exports,Io.exports,Tn.exports)})(at,function(n){return function(){var i=n,r=i.lib,s=r.BlockCipher,o=i.algo,a=[],l=[],c=[],u=[],O=[],f=[],h=[],p=[],y=[],$=[];(function(){for(var g=[],v=0;v<256;v++)v<128?g[v]=v<<1:g[v]=v<<1^283;for(var b=0,_=0,v=0;v<256;v++){var Q=_^_<<1^_<<2^_<<3^_<<4;Q=Q>>>8^Q&255^99,a[b]=Q,l[Q]=b;var S=g[b],P=g[S],w=g[P],x=g[Q]*257^Q*16843008;c[b]=x<<24|x>>>8,u[b]=x<<16|x>>>16,O[b]=x<<8|x>>>24,f[b]=x;var x=w*16843009^P*65537^S*257^b*16843008;h[Q]=x<<24|x>>>8,p[Q]=x<<16|x>>>16,y[Q]=x<<8|x>>>24,$[Q]=x,b?(b=S^g[g[g[w^S]]],_^=g[g[_]]):b=_=1}})();var m=[0,1,2,4,8,16,32,64,128,27,54],d=o.AES=s.extend({_doReset:function(){var g;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var v=this._keyPriorReset=this._key,b=v.words,_=v.sigBytes/4,Q=this._nRounds=_+6,S=(Q+1)*4,P=this._keySchedule=[],w=0;w6&&w%_==4&&(g=a[g>>>24]<<24|a[g>>>16&255]<<16|a[g>>>8&255]<<8|a[g&255]):(g=g<<8|g>>>24,g=a[g>>>24]<<24|a[g>>>16&255]<<16|a[g>>>8&255]<<8|a[g&255],g^=m[w/_|0]<<24),P[w]=P[w-_]^g);for(var x=this._invKeySchedule=[],k=0;k>>24]]^p[a[g>>>16&255]]^y[a[g>>>8&255]]^$[a[g&255]]}}},encryptBlock:function(g,v){this._doCryptBlock(g,v,this._keySchedule,c,u,O,f,a)},decryptBlock:function(g,v){var b=g[v+1];g[v+1]=g[v+3],g[v+3]=b,this._doCryptBlock(g,v,this._invKeySchedule,h,p,y,$,l);var b=g[v+1];g[v+1]=g[v+3],g[v+3]=b},_doCryptBlock:function(g,v,b,_,Q,S,P,w){for(var x=this._nRounds,k=g[v]^b[0],C=g[v+1]^b[1],T=g[v+2]^b[2],E=g[v+3]^b[3],A=4,R=1;R>>24]^Q[C>>>16&255]^S[T>>>8&255]^P[E&255]^b[A++],U=_[C>>>24]^Q[T>>>16&255]^S[E>>>8&255]^P[k&255]^b[A++],V=_[T>>>24]^Q[E>>>16&255]^S[k>>>8&255]^P[C&255]^b[A++],j=_[E>>>24]^Q[k>>>16&255]^S[C>>>8&255]^P[T&255]^b[A++];k=X,C=U,T=V,E=j}var X=(w[k>>>24]<<24|w[C>>>16&255]<<16|w[T>>>8&255]<<8|w[E&255])^b[A++],U=(w[C>>>24]<<24|w[T>>>16&255]<<16|w[E>>>8&255]<<8|w[k&255])^b[A++],V=(w[T>>>24]<<24|w[E>>>16&255]<<16|w[k>>>8&255]<<8|w[C&255])^b[A++],j=(w[E>>>24]<<24|w[k>>>16&255]<<16|w[C>>>8&255]<<8|w[T&255])^b[A++];g[v]=X,g[v+1]=U,g[v+2]=V,g[v+3]=j},keySize:256/32});i.AES=s._createHelper(d)}(),n.AES})})($R);var bR={exports:{}};(function(t,e){(function(n,i,r){t.exports=i(bt.exports,Ba.exports,Ma.exports,Io.exports,Tn.exports)})(at,function(n){return function(){var i=n,r=i.lib,s=r.WordArray,o=r.BlockCipher,a=i.algo,l=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],c=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],u=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],O=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],f=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],h=a.DES=o.extend({_doReset:function(){for(var m=this._key,d=m.words,g=[],v=0;v<56;v++){var b=l[v]-1;g[v]=d[b>>>5]>>>31-b%32&1}for(var _=this._subKeys=[],Q=0;Q<16;Q++){for(var S=_[Q]=[],P=u[Q],v=0;v<24;v++)S[v/6|0]|=g[(c[v]-1+P)%28]<<31-v%6,S[4+(v/6|0)]|=g[28+(c[v+24]-1+P)%28]<<31-v%6;S[0]=S[0]<<1|S[0]>>>31;for(var v=1;v<7;v++)S[v]=S[v]>>>(v-1)*4+3;S[7]=S[7]<<5|S[7]>>>27}for(var w=this._invSubKeys=[],v=0;v<16;v++)w[v]=_[15-v]},encryptBlock:function(m,d){this._doCryptBlock(m,d,this._subKeys)},decryptBlock:function(m,d){this._doCryptBlock(m,d,this._invSubKeys)},_doCryptBlock:function(m,d,g){this._lBlock=m[d],this._rBlock=m[d+1],p.call(this,4,252645135),p.call(this,16,65535),y.call(this,2,858993459),y.call(this,8,16711935),p.call(this,1,1431655765);for(var v=0;v<16;v++){for(var b=g[v],_=this._lBlock,Q=this._rBlock,S=0,P=0;P<8;P++)S|=O[P][((Q^b[P])&f[P])>>>0];this._lBlock=Q,this._rBlock=_^S}var w=this._lBlock;this._lBlock=this._rBlock,this._rBlock=w,p.call(this,1,1431655765),y.call(this,8,16711935),y.call(this,2,858993459),p.call(this,16,65535),p.call(this,4,252645135),m[d]=this._lBlock,m[d+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function p(m,d){var g=(this._lBlock>>>m^this._rBlock)&d;this._rBlock^=g,this._lBlock^=g<>>m^this._lBlock)&d;this._lBlock^=g,this._rBlock^=g<192.");var g=d.slice(0,2),v=d.length<4?d.slice(0,2):d.slice(2,4),b=d.length<6?d.slice(0,2):d.slice(4,6);this._des1=h.createEncryptor(s.create(g)),this._des2=h.createEncryptor(s.create(v)),this._des3=h.createEncryptor(s.create(b))},encryptBlock:function(m,d){this._des1.encryptBlock(m,d),this._des2.decryptBlock(m,d),this._des3.encryptBlock(m,d)},decryptBlock:function(m,d){this._des3.decryptBlock(m,d),this._des2.encryptBlock(m,d),this._des1.decryptBlock(m,d)},keySize:192/32,ivSize:64/32,blockSize:64/32});i.TripleDES=o._createHelper($)}(),n.TripleDES})})(bR);var _R={exports:{}};(function(t,e){(function(n,i,r){t.exports=i(bt.exports,Ba.exports,Ma.exports,Io.exports,Tn.exports)})(at,function(n){return function(){var i=n,r=i.lib,s=r.StreamCipher,o=i.algo,a=o.RC4=s.extend({_doReset:function(){for(var u=this._key,O=u.words,f=u.sigBytes,h=this._S=[],p=0;p<256;p++)h[p]=p;for(var p=0,y=0;p<256;p++){var $=p%f,m=O[$>>>2]>>>24-$%4*8&255;y=(y+h[p]+m)%256;var d=h[p];h[p]=h[y],h[y]=d}this._i=this._j=0},_doProcessBlock:function(u,O){u[O]^=l.call(this)},keySize:256/32,ivSize:0});function l(){for(var u=this._S,O=this._i,f=this._j,h=0,p=0;p<4;p++){O=(O+1)%256,f=(f+u[O])%256;var y=u[O];u[O]=u[f],u[f]=y,h|=u[(u[O]+u[f])%256]<<24-p*8}return this._i=O,this._j=f,h}i.RC4=s._createHelper(a);var c=o.RC4Drop=a.extend({cfg:a.cfg.extend({drop:192}),_doReset:function(){a._doReset.call(this);for(var u=this.cfg.drop;u>0;u--)l.call(this)}});i.RC4Drop=s._createHelper(c)}(),n.RC4})})(_R);var QR={exports:{}};(function(t,e){(function(n,i,r){t.exports=i(bt.exports,Ba.exports,Ma.exports,Io.exports,Tn.exports)})(at,function(n){return function(){var i=n,r=i.lib,s=r.StreamCipher,o=i.algo,a=[],l=[],c=[],u=o.Rabbit=s.extend({_doReset:function(){for(var f=this._key.words,h=this.cfg.iv,p=0;p<4;p++)f[p]=(f[p]<<8|f[p]>>>24)&16711935|(f[p]<<24|f[p]>>>8)&4278255360;var y=this._X=[f[0],f[3]<<16|f[2]>>>16,f[1],f[0]<<16|f[3]>>>16,f[2],f[1]<<16|f[0]>>>16,f[3],f[2]<<16|f[1]>>>16],$=this._C=[f[2]<<16|f[2]>>>16,f[0]&4294901760|f[1]&65535,f[3]<<16|f[3]>>>16,f[1]&4294901760|f[2]&65535,f[0]<<16|f[0]>>>16,f[2]&4294901760|f[3]&65535,f[1]<<16|f[1]>>>16,f[3]&4294901760|f[0]&65535];this._b=0;for(var p=0;p<4;p++)O.call(this);for(var p=0;p<8;p++)$[p]^=y[p+4&7];if(h){var m=h.words,d=m[0],g=m[1],v=(d<<8|d>>>24)&16711935|(d<<24|d>>>8)&4278255360,b=(g<<8|g>>>24)&16711935|(g<<24|g>>>8)&4278255360,_=v>>>16|b&4294901760,Q=b<<16|v&65535;$[0]^=v,$[1]^=_,$[2]^=b,$[3]^=Q,$[4]^=v,$[5]^=_,$[6]^=b,$[7]^=Q;for(var p=0;p<4;p++)O.call(this)}},_doProcessBlock:function(f,h){var p=this._X;O.call(this),a[0]=p[0]^p[5]>>>16^p[3]<<16,a[1]=p[2]^p[7]>>>16^p[5]<<16,a[2]=p[4]^p[1]>>>16^p[7]<<16,a[3]=p[6]^p[3]>>>16^p[1]<<16;for(var y=0;y<4;y++)a[y]=(a[y]<<8|a[y]>>>24)&16711935|(a[y]<<24|a[y]>>>8)&4278255360,f[h+y]^=a[y]},blockSize:128/32,ivSize:64/32});function O(){for(var f=this._X,h=this._C,p=0;p<8;p++)l[p]=h[p];h[0]=h[0]+1295307597+this._b|0,h[1]=h[1]+3545052371+(h[0]>>>0>>0?1:0)|0,h[2]=h[2]+886263092+(h[1]>>>0>>0?1:0)|0,h[3]=h[3]+1295307597+(h[2]>>>0>>0?1:0)|0,h[4]=h[4]+3545052371+(h[3]>>>0>>0?1:0)|0,h[5]=h[5]+886263092+(h[4]>>>0>>0?1:0)|0,h[6]=h[6]+1295307597+(h[5]>>>0>>0?1:0)|0,h[7]=h[7]+3545052371+(h[6]>>>0>>0?1:0)|0,this._b=h[7]>>>0>>0?1:0;for(var p=0;p<8;p++){var y=f[p]+h[p],$=y&65535,m=y>>>16,d=(($*$>>>17)+$*m>>>15)+m*m,g=((y&4294901760)*y|0)+((y&65535)*y|0);c[p]=d^g}f[0]=c[0]+(c[7]<<16|c[7]>>>16)+(c[6]<<16|c[6]>>>16)|0,f[1]=c[1]+(c[0]<<8|c[0]>>>24)+c[7]|0,f[2]=c[2]+(c[1]<<16|c[1]>>>16)+(c[0]<<16|c[0]>>>16)|0,f[3]=c[3]+(c[2]<<8|c[2]>>>24)+c[1]|0,f[4]=c[4]+(c[3]<<16|c[3]>>>16)+(c[2]<<16|c[2]>>>16)|0,f[5]=c[5]+(c[4]<<8|c[4]>>>24)+c[3]|0,f[6]=c[6]+(c[5]<<16|c[5]>>>16)+(c[4]<<16|c[4]>>>16)|0,f[7]=c[7]+(c[6]<<8|c[6]>>>24)+c[5]|0}i.Rabbit=s._createHelper(u)}(),n.Rabbit})})(QR);var SR={exports:{}};(function(t,e){(function(n,i,r){t.exports=i(bt.exports,Ba.exports,Ma.exports,Io.exports,Tn.exports)})(at,function(n){return function(){var i=n,r=i.lib,s=r.StreamCipher,o=i.algo,a=[],l=[],c=[],u=o.RabbitLegacy=s.extend({_doReset:function(){var f=this._key.words,h=this.cfg.iv,p=this._X=[f[0],f[3]<<16|f[2]>>>16,f[1],f[0]<<16|f[3]>>>16,f[2],f[1]<<16|f[0]>>>16,f[3],f[2]<<16|f[1]>>>16],y=this._C=[f[2]<<16|f[2]>>>16,f[0]&4294901760|f[1]&65535,f[3]<<16|f[3]>>>16,f[1]&4294901760|f[2]&65535,f[0]<<16|f[0]>>>16,f[2]&4294901760|f[3]&65535,f[1]<<16|f[1]>>>16,f[3]&4294901760|f[0]&65535];this._b=0;for(var $=0;$<4;$++)O.call(this);for(var $=0;$<8;$++)y[$]^=p[$+4&7];if(h){var m=h.words,d=m[0],g=m[1],v=(d<<8|d>>>24)&16711935|(d<<24|d>>>8)&4278255360,b=(g<<8|g>>>24)&16711935|(g<<24|g>>>8)&4278255360,_=v>>>16|b&4294901760,Q=b<<16|v&65535;y[0]^=v,y[1]^=_,y[2]^=b,y[3]^=Q,y[4]^=v,y[5]^=_,y[6]^=b,y[7]^=Q;for(var $=0;$<4;$++)O.call(this)}},_doProcessBlock:function(f,h){var p=this._X;O.call(this),a[0]=p[0]^p[5]>>>16^p[3]<<16,a[1]=p[2]^p[7]>>>16^p[5]<<16,a[2]=p[4]^p[1]>>>16^p[7]<<16,a[3]=p[6]^p[3]>>>16^p[1]<<16;for(var y=0;y<4;y++)a[y]=(a[y]<<8|a[y]>>>24)&16711935|(a[y]<<24|a[y]>>>8)&4278255360,f[h+y]^=a[y]},blockSize:128/32,ivSize:64/32});function O(){for(var f=this._X,h=this._C,p=0;p<8;p++)l[p]=h[p];h[0]=h[0]+1295307597+this._b|0,h[1]=h[1]+3545052371+(h[0]>>>0>>0?1:0)|0,h[2]=h[2]+886263092+(h[1]>>>0>>0?1:0)|0,h[3]=h[3]+1295307597+(h[2]>>>0>>0?1:0)|0,h[4]=h[4]+3545052371+(h[3]>>>0>>0?1:0)|0,h[5]=h[5]+886263092+(h[4]>>>0>>0?1:0)|0,h[6]=h[6]+1295307597+(h[5]>>>0>>0?1:0)|0,h[7]=h[7]+3545052371+(h[6]>>>0>>0?1:0)|0,this._b=h[7]>>>0>>0?1:0;for(var p=0;p<8;p++){var y=f[p]+h[p],$=y&65535,m=y>>>16,d=(($*$>>>17)+$*m>>>15)+m*m,g=((y&4294901760)*y|0)+((y&65535)*y|0);c[p]=d^g}f[0]=c[0]+(c[7]<<16|c[7]>>>16)+(c[6]<<16|c[6]>>>16)|0,f[1]=c[1]+(c[0]<<8|c[0]>>>24)+c[7]|0,f[2]=c[2]+(c[1]<<16|c[1]>>>16)+(c[0]<<16|c[0]>>>16)|0,f[3]=c[3]+(c[2]<<8|c[2]>>>24)+c[1]|0,f[4]=c[4]+(c[3]<<16|c[3]>>>16)+(c[2]<<16|c[2]>>>16)|0,f[5]=c[5]+(c[4]<<8|c[4]>>>24)+c[3]|0,f[6]=c[6]+(c[5]<<16|c[5]>>>16)+(c[4]<<16|c[4]>>>16)|0,f[7]=c[7]+(c[6]<<8|c[6]>>>24)+c[5]|0}i.RabbitLegacy=s._createHelper(u)}(),n.RabbitLegacy})})(SR);(function(t,e){(function(n,i,r){t.exports=i(bt.exports,wf.exports,tR.exports,nR.exports,Ba.exports,iR.exports,Ma.exports,_p.exports,T$.exports,rR.exports,R$.exports,sR.exports,oR.exports,aR.exports,Qp.exports,lR.exports,Io.exports,Tn.exports,cR.exports,uR.exports,fR.exports,OR.exports,hR.exports,dR.exports,pR.exports,mR.exports,gR.exports,vR.exports,yR.exports,$R.exports,bR.exports,_R.exports,QR.exports,SR.exports)})(at,function(n){return n})})(eR);var Xne=eR.exports;const Wne=t=>{t=t||16;let e="ABCDEFGHJKMNPQRSTWXYZabcdefhijkmnprstwxyz2345678",n=e.length,i="";for(let r=0;r{const e=localStorage.getItem("publicKey");if(!e)return-1;const n=new Ene;return n.setPublicKey(e),n.encrypt(t)},HQ=(t,e)=>Xne.AES.encrypt(t,e).toString(),zne=(t=[])=>t.sort((e,n)=>{let i="",r="",s=e.length>n.length?n:e;for(let o=0;oIne.includes(t),KQ=t=>qne.includes(t),JQ=(t=[])=>{const e=t.filter(r=>Js(r.type)),n=t.filter(r=>!Js(r.type)),i=(r=[])=>r.sort((s,o)=>{const{name:a}=s,{name:l}=o;let c="",u="",O=a.length>l.length?l:a;for(let f=0;f{let n=window.URL.createObjectURL(new Blob([t])),i=document.createElement("a");i.style.display="none",i.href=n,console.log(e),i.setAttribute("download",e),document.body.appendChild(i),i.click(),setTimeout(()=>{document.body.removeChild(i),window.URL.revokeObjectURL(n)})},Dne=(t="")=>String(t).split(/\./).pop(),Lne={name:"UpdatePassword",data(){return{loading:!1,formData:{oldPwd:"",newPwd:"",confirmPwd:""},rules:{oldPwd:{required:!0,message:"\u8F93\u5165\u65E7\u5BC6\u7801",trigger:"change"},newPwd:{required:!0,message:"\u8F93\u5165\u65B0\u5BC6\u7801",trigger:"change"},confirmPwd:{required:!0,message:"\u8F93\u5165\u786E\u8BA4\u5BC6\u7801",trigger:"change"}}}},computed:{formRef(){return this.$refs.form}},methods:{handleUpdate(){this.formRef.validate().then(async()=>{let{oldPwd:t,newPwd:e,confirmPwd:n}=this.formData;if(e!==n)return this.$message.error({center:!0,message:"\u4E24\u6B21\u5BC6\u7801\u8F93\u5165\u4E0D\u4E00\u81F4"});t=id(t),e=id(e);let{msg:i}=await this.$api.updatePwd({oldPwd:t,newPwd:e});this.$message({type:"success",center:!0,message:i}),this.formData={oldPwd:"",newPwd:"",confirmPwd:""},this.formRef.resetFields()})}}},Bne=Xe("\u786E\u8BA4");function Mne(t,e,n,i,r,s){const o=mi,a=vc,l=Ln,c=gc;return L(),be(c,{ref:"form",class:"password-form",model:r.formData,rules:r.rules,"hide-required-asterisk":!0,"label-suffix":"\uFF1A","label-width":"90px"},{default:Z(()=>[B(a,{label:"\u65E7\u5BC6\u7801",prop:"oldPwd"},{default:Z(()=>[B(o,{modelValue:r.formData.oldPwd,"onUpdate:modelValue":e[0]||(e[0]=u=>r.formData.oldPwd=u),modelModifiers:{trim:!0},clearable:"",placeholder:"\u65E7\u5BC6\u7801",autocomplete:"off"},null,8,["modelValue"])]),_:1}),B(a,{label:"\u65B0\u5BC6\u7801",prop:"newPwd"},{default:Z(()=>[B(o,{modelValue:r.formData.newPwd,"onUpdate:modelValue":e[1]||(e[1]=u=>r.formData.newPwd=u),modelModifiers:{trim:!0},clearable:"",placeholder:"\u65B0\u5BC6\u7801",autocomplete:"off",onKeyup:Qt(s.handleUpdate,["enter"])},null,8,["modelValue","onKeyup"])]),_:1}),B(a,{label:"\u786E\u8BA4\u5BC6\u7801",prop:"confirmPwd"},{default:Z(()=>[B(o,{modelValue:r.formData.confirmPwd,"onUpdate:modelValue":e[2]||(e[2]=u=>r.formData.confirmPwd=u),modelModifiers:{trim:!0},clearable:"",placeholder:"\u786E\u8BA4\u5BC6\u7801",autocomplete:"off",onKeyup:Qt(s.handleUpdate,["enter"])},null,8,["modelValue","onKeyup"])]),_:1}),B(a,null,{default:Z(()=>[B(l,{type:"primary",loading:r.loading,onClick:s.handleUpdate},{default:Z(()=>[Bne]),_:1},8,["loading","onClick"])]),_:1})]),_:1},8,["model","rules"])}var Yne=fn(Lne,[["render",Mne],["__scopeId","data-v-f24fbfc6"]]);const Zne={name:"Setting",components:{NotifyList:wte,EmailList:Ate,Sort:Ute,Record:Yte,Group:lne,Password:Yne},props:{show:{required:!0,type:Boolean}},emits:["update:show","update-list"],data(){return{}},computed:{visible:{get(){return this.show},set(t){this.$emit("update:show",t)}}}};function Vne(t,e,n,i,r,s){const o=Pe("Group"),a=bT,l=Pe("Record"),c=Pe("Sort"),u=Pe("NotifyList"),O=Pe("EmailList"),f=Pe("Password"),h=$T,p=mc;return L(),be(p,{modelValue:s.visible,"onUpdate:modelValue":e[1]||(e[1]=y=>s.visible=y),width:"1100px",title:"\u529F\u80FD\u8BBE\u7F6E","close-on-click-modal":!1,"close-on-press-escape":!1},{default:Z(()=>[B(h,{style:{height:"500px"},"tab-position":"left"},{default:Z(()=>[B(a,{label:"\u5206\u7EC4\u7BA1\u7406"},{default:Z(()=>[B(o)]),_:1}),B(a,{label:"\u767B\u5F55\u8BB0\u5F55"},{default:Z(()=>[B(l)]),_:1}),B(a,{label:"\u4E3B\u673A\u6392\u5E8F",lazy:""},{default:Z(()=>[B(c,{onUpdateList:e[0]||(e[0]=y=>t.$emit("update-list"))})]),_:1}),B(a,{label:"\u5168\u5C40\u901A\u77E5",lazy:""},{default:Z(()=>[B(u)]),_:1}),B(a,{label:"\u90AE\u7BB1\u914D\u7F6E",lazy:""},{default:Z(()=>[B(O)]),_:1}),B(a,{label:"\u4FEE\u6539\u5BC6\u7801",lazy:""},{default:Z(()=>[B(f)]),_:1})]),_:1})]),_:1},8,["modelValue"])}var jne=fn(Zne,[["render",Vne],["__scopeId","data-v-437b239c"]]);const Nne={name:"IconSvg",props:{name:{type:String,default:""}},computed:{href(){return`#${this.name}`}}},Fne={class:"icon","aria-hidden":"true"},Gne=["xlink:href"];function Hne(t,e,n,i,r,s){return L(),ie("svg",Fne,[D("use",{"xlink:href":s.href},null,8,Gne)])}var A$=fn(Nne,[["render",Hne],["__scopeId","data-v-81152c44"]]);const Kne={name:"SSHForm",props:{show:{required:!0,type:Boolean},tempHost:{required:!0,type:String},name:{required:!0,type:String}},emits:["update:show"],data(){return{sshForm:{host:"",port:22,username:"",type:"privateKey",password:"",privateKey:"",command:""},defaultUsers:[{value:"root"},{value:"ubuntu"}],rules:{host:{required:!0,message:"\u9700\u8F93\u5165\u4E3B\u673A",trigger:"change"},port:{required:!0,message:"\u9700\u8F93\u5165\u7AEF\u53E3",trigger:"change"},username:{required:!0,message:"\u9700\u8F93\u5165\u7528\u6237\u540D",trigger:"change"},type:{required:!0},password:{required:!0,message:"\u9700\u8F93\u5165\u5BC6\u7801",trigger:"change"},privateKey:{required:!0,message:"\u9700\u8F93\u5165\u5BC6\u94A5",trigger:"change"},command:{required:!1}}}},computed:{visible:{get(){return this.show},set(t){this.$emit("update:show",t)}},formRef(){return this.$refs.form}},watch:{tempHost:{handler(t){this.sshForm.host=t}}},methods:{handleClickUploadBtn(){this.$refs.privateKey.click()},handleSelectPrivateKeyFile(t){let e=t.target.files[0],n=new FileReader;n.onload=i=>{this.sshForm.privateKey=i.target.result,this.$refs.privateKey.value=""},n.readAsText(e)},handleSaveSSH(){this.formRef.validate().then(async()=>{let t=Wne(16),e=JSON.parse(JSON.stringify(this.sshForm));e.password&&(e.password=HQ(e.password,t)),e.privateKey&&(e.privateKey=HQ(e.privateKey,t)),e.randomKey=id(t),await R1.updateSSH(e),this.$notification({title:"\u4FDD\u5B58\u6210\u529F",message:`\u4E0B\u6B21\u70B9\u51FB [Web SSH] \u53EF\u76F4\u63A5\u767B\u5F55\u7EC8\u7AEF -\u5982\u65E0\u6CD5\u767B\u5F55\u8BF7 [\u79FB\u9664\u51ED\u8BC1] \u540E\u91CD\u65B0\u6DFB\u52A0`,type:"success"}),this.visible=!1})},userSearch(t,e){let n=t?this.defaultUsers.filter(i=>i.value.includes(t)):this.defaultUsers;e(n)}}},Jne={class:"value"},eie=Xe("\u5BC6\u94A5"),tie=Xe("\u5BC6\u7801"),nie=Xe(" \u9009\u62E9\u79C1\u94A5... "),iie={class:"dialog-footer"},rie=Xe("\u53D6\u6D88"),sie=Xe("\u4FDD\u5B58");function oie(t,e,n,i,r,s){const o=mi,a=vc,l=nY,c=A2,u=Ln,O=gc,f=mc;return L(),be(f,{modelValue:s.visible,"onUpdate:modelValue":e[10]||(e[10]=h=>s.visible=h),title:"SSH\u8FDE\u63A5","close-on-click-modal":!1,onClosed:e[11]||(e[11]=h=>t.$nextTick(()=>s.formRef.resetFields()))},{footer:Z(()=>[D("span",iie,[B(u,{onClick:e[9]||(e[9]=h=>s.visible=!1)},{default:Z(()=>[rie]),_:1}),B(u,{type:"primary",onClick:s.handleSaveSSH},{default:Z(()=>[sie]),_:1},8,["onClick"])])]),default:Z(()=>[B(O,{ref:"form",model:r.sshForm,rules:r.rules,"hide-required-asterisk":!0,"label-suffix":"\uFF1A","label-width":"90px"},{default:Z(()=>[B(a,{label:"\u4E3B\u673A",prop:"host"},{default:Z(()=>[B(o,{modelValue:r.sshForm.host,"onUpdate:modelValue":e[0]||(e[0]=h=>r.sshForm.host=h),modelModifiers:{trim:!0},disabled:"",clearable:"",autocomplete:"off"},null,8,["modelValue"])]),_:1}),B(a,{label:"\u7AEF\u53E3",prop:"port"},{default:Z(()=>[B(o,{modelValue:r.sshForm.port,"onUpdate:modelValue":e[1]||(e[1]=h=>r.sshForm.port=h),modelModifiers:{trim:!0},clearable:"",autocomplete:"off"},null,8,["modelValue"])]),_:1}),B(a,{label:"\u7528\u6237\u540D",prop:"username"},{default:Z(()=>[B(l,{modelValue:r.sshForm.username,"onUpdate:modelValue":e[2]||(e[2]=h=>r.sshForm.username=h),modelModifiers:{trim:!0},"fetch-suggestions":s.userSearch,style:{width:"100%"},clearable:""},{default:Z(({item:h})=>[D("div",Jne,de(h.value),1)]),_:1},8,["modelValue","fetch-suggestions"])]),_:1}),B(a,{label:"\u8BA4\u8BC1\u65B9\u5F0F",prop:"type"},{default:Z(()=>[B(c,{modelValue:r.sshForm.type,"onUpdate:modelValue":e[3]||(e[3]=h=>r.sshForm.type=h),modelModifiers:{trim:!0},label:"privateKey"},{default:Z(()=>[eie]),_:1},8,["modelValue"]),B(c,{modelValue:r.sshForm.type,"onUpdate:modelValue":e[4]||(e[4]=h=>r.sshForm.type=h),modelModifiers:{trim:!0},label:"password"},{default:Z(()=>[tie]),_:1},8,["modelValue"])]),_:1}),r.sshForm.type==="password"?(L(),be(a,{key:0,prop:"password",label:"\u5BC6\u7801"},{default:Z(()=>[B(o,{modelValue:r.sshForm.password,"onUpdate:modelValue":e[5]||(e[5]=h=>r.sshForm.password=h),modelModifiers:{trim:!0},type:"password",placeholder:"Please input password",autocomplete:"off",clearable:"","show-password":""},null,8,["modelValue"])]),_:1})):Qe("",!0),r.sshForm.type==="privateKey"?(L(),be(a,{key:1,prop:"privateKey",label:"\u5BC6\u94A5"},{default:Z(()=>[B(u,{type:"primary",size:"small",onClick:s.handleClickUploadBtn},{default:Z(()=>[nie]),_:1},8,["onClick"]),D("input",{ref:"privateKey",type:"file",name:"privateKey",style:{display:"none"},onChange:e[6]||(e[6]=(...h)=>s.handleSelectPrivateKeyFile&&s.handleSelectPrivateKeyFile(...h))},null,544),B(o,{modelValue:r.sshForm.privateKey,"onUpdate:modelValue":e[7]||(e[7]=h=>r.sshForm.privateKey=h),modelModifiers:{trim:!0},type:"textarea",rows:5,clearable:"",autocomplete:"off",style:{"margin-top":"5px"},placeholder:"-----BEGIN RSA PRIVATE KEY-----"},null,8,["modelValue"])]),_:1})):Qe("",!0),B(a,{prop:"command",label:"\u6267\u884C\u6307\u4EE4"},{default:Z(()=>[B(o,{modelValue:r.sshForm.command,"onUpdate:modelValue":e[8]||(e[8]=h=>r.sshForm.command=h),type:"textarea",rows:5,clearable:"",autocomplete:"off",placeholder:"\u8FDE\u63A5\u670D\u52A1\u5668\u540E\u81EA\u52A8\u6267\u884C\u7684\u6307\u4EE4(\u4F8B\u5982: sudo -i)"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["modelValue"])}var aie=fn(Kne,[["render",oie]]);const lie={name:"HostCard",components:{SSHForm:aie},props:{hostInfo:{required:!0,type:Object},hiddenIp:{required:!0,type:[Number,Boolean]}},emits:["update-list","update-host"],data(){return{sshFormVisible:!1,tempHost:""}},computed:{hostIp(){var e;let t=((e=this.ipInfo)==null?void 0:e.query)||this.host||"--";try{let n=t.replace(/(?<=\d*\.\d*\.)(\d*)/g,i=>i.replace(/\d/g,"*"));return this.hiddenIp?n:t}catch{return t}},host(){var t;return(t=this.hostInfo)==null?void 0:t.host},name(){var t;return(t=this.hostInfo)==null?void 0:t.name},ping(){var t;return((t=this.hostInfo)==null?void 0:t.ping)||""},expiredTime(){var t;return this.$tools.formatTimestamp((t=this.hostInfo)==null?void 0:t.expired,"date")},consoleUrl(){var t;return(t=this.hostInfo)==null?void 0:t.consoleUrl},ipInfo(){var t;return((t=this.hostInfo)==null?void 0:t.ipInfo)||{}},isError(){var t;return!Boolean((t=this.hostInfo)==null?void 0:t.osInfo)},cpuInfo(){var t;return((t=this.hostInfo)==null?void 0:t.cpuInfo)||{}},memInfo(){var t;return((t=this.hostInfo)==null?void 0:t.memInfo)||{}},osInfo(){var t;return((t=this.hostInfo)==null?void 0:t.osInfo)||{}},driveInfo(){var t;return((t=this.hostInfo)==null?void 0:t.driveInfo)||{}},netstatInfo(){var n;let i=((n=this.hostInfo)==null?void 0:n.netstatInfo)||{},{total:t}=i,e=lO(i,["total"]);return{netTotal:t,netCards:e||{}}},openedCount(){var t;return((t=this.hostInfo)==null?void 0:t.openedCount)||0}},mounted(){},methods:{setColor(t){return t=Number(t),t?t<80?"#595959":t>=80&&t<90?"#FF6600":"#FF0000":"#595959"},handleUpdate(){let{name:t,host:e,hostInfo:{expired:n,expiredNotify:i,group:r,consoleUrl:s,remark:o}}=this;this.$emit("update-host",{name:t,host:e,expired:n,expiredNotify:i,group:r,consoleUrl:s,remark:o})},handleToConsole(){window.open(this.consoleUrl)},async handleSSH(){let{host:t,name:e}=this,{data:n}=await this.$api.existSSH(t);if(console.log("\u662F\u5426\u5B58\u5728\u51ED\u8BC1:",n),n)return window.open(`/terminal?host=${t}&name=${e}`);if(!t)return mo({message:"\u8BF7\u7B49\u5F85\u83B7\u53D6\u670D\u52A1\u5668ip\u6216\u5237\u65B0\u9875\u9762\u91CD\u8BD5",type:"warning",center:!0});this.tempHost=t,this.sshFormVisible=!0},async handleRemoveSSH(){Mg.confirm("\u786E\u8BA4\u5220\u9664SSH\u51ED\u8BC1","Warning",{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",type:"warning"}).then(async()=>{let{host:t}=this,{data:e}=await this.$api.removeSSH(t);mo({message:e,type:"success",center:!0})})},handleRemoveHost(){Mg.confirm("\u786E\u8BA4\u5220\u9664\u4E3B\u673A","Warning",{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",type:"warning"}).then(async()=>{let{host:t}=this,{data:e}=await this.$api.removeHost({host:t});mo({message:e,type:"success",center:!0}),this.$emit("update-list")})}}},At=t=>(uc("data-v-25b0e1b8"),t=t(),fc(),t),cie={class:"host-state"},uie={key:0,class:"offline"},fie={key:1,class:"online"},Oie={class:"info"},hie={class:"weizhi field"},die={class:"field-detail"},pie=At(()=>D("h2",null,"\u7CFB\u7EDF",-1)),mie=At(()=>D("span",null,"\u540D\u79F0:",-1)),gie=At(()=>D("span",null,"\u7C7B\u578B:",-1)),vie=At(()=>D("span",null,"\u67B6\u6784:",-1)),yie=At(()=>D("span",null,"\u5E73\u53F0:",-1)),$ie=At(()=>D("span",null,"\u7248\u672C:",-1)),bie=At(()=>D("span",null,"\u5F00\u673A\u65F6\u957F:",-1)),_ie=At(()=>D("span",null,"\u5230\u671F\u65F6\u95F4:",-1)),Qie=At(()=>D("span",null,"\u672C\u5730IP:",-1)),Sie=At(()=>D("span",null,"\u8FDE\u63A5\u6570:",-1)),wie={class:"fields"},xie={class:"weizhi field"},Pie={class:"field-detail"},kie=At(()=>D("h2",null,"\u4F4D\u7F6E\u4FE1\u606F",-1)),Cie=At(()=>D("span",null,"\u8BE6\u7EC6:",-1)),Tie=At(()=>D("span",null,"\u63D0\u4F9B\u5546:",-1)),Rie=At(()=>D("span",null,"\u7EBF\u8DEF:",-1)),Aie={class:"fields"},Eie={class:"cpu field"},Xie={class:"field-detail"},Wie=At(()=>D("h2",null,"CPU",-1)),zie=At(()=>D("span",null,"\u5229\u7528\u7387:",-1)),Iie=At(()=>D("span",null,"\u7269\u7406\u6838\u5FC3:",-1)),qie=At(()=>D("span",null,"\u578B\u53F7:",-1)),Uie={class:"fields"},Die={class:"ram field"},Lie={class:"field-detail"},Bie=At(()=>D("h2",null,"\u5185\u5B58",-1)),Mie=At(()=>D("span",null,"\u603B\u5927\u5C0F:",-1)),Yie=At(()=>D("span",null,"\u5DF2\u4F7F\u7528:",-1)),Zie=At(()=>D("span",null,"\u5360\u6BD4:",-1)),Vie=At(()=>D("span",null,"\u7A7A\u95F2:",-1)),jie={class:"fields"},Nie={class:"yingpan field"},Fie={class:"field-detail"},Gie=At(()=>D("h2",null,"\u5B58\u50A8",-1)),Hie=At(()=>D("span",null,"\u603B\u7A7A\u95F4:",-1)),Kie=At(()=>D("span",null,"\u5DF2\u4F7F\u7528:",-1)),Jie=At(()=>D("span",null,"\u5269\u4F59:",-1)),ere=At(()=>D("span",null,"\u5360\u6BD4:",-1)),tre={class:"fields"},nre={class:"wangluo field"},ire={class:"field-detail"},rre=At(()=>D("h2",null,"\u7F51\u5361",-1)),sre={class:"fields"},ore={class:"fields terminal"},are=Xe("\u529F\u80FD"),lre=Xe("\u8FDE\u63A5\u7EC8\u7AEF"),cre=Xe("\u63A7\u5236\u53F0"),ure=Xe("\u4FEE\u6539\u670D\u52A1\u5668"),fre=At(()=>D("span",{style:{color:"#727272"}},"\u79FB\u9664\u4E3B\u673A",-1)),Ore=At(()=>D("span",{style:{color:"#727272"}},"\u79FB\u9664\u51ED\u8BC1",-1));function hre(t,e,n,i,r,s){const o=A$,a=aT,l=Ln,c=JN,u=eF,O=KN,f=Pe("SSHForm"),h=lZ;return L(),be(h,{shadow:"always",class:"host-card"},{default:Z(()=>{var p,y,$,m,d;return[D("div",cie,[s.isError?(L(),ie("span",uie,"\u672A\u8FDE\u63A5")):(L(),ie("span",fie,"\u5DF2\u8FDE\u63A5 "+de(s.ping),1))]),D("div",Oie,[D("div",hie,[B(a,{placement:"bottom-start",width:200,trigger:"hover"},{reference:Z(()=>[B(o,{name:"icon-fuwuqi",class:"svg-icon"})]),default:Z(()=>[D("div",die,[pie,D("h3",null,[mie,Xe(" "+de(s.osInfo.hostname),1)]),D("h3",null,[gie,Xe(" "+de(s.osInfo.type),1)]),D("h3",null,[vie,Xe(" "+de(s.osInfo.arch),1)]),D("h3",null,[yie,Xe(" "+de(s.osInfo.platform),1)]),D("h3",null,[$ie,Xe(" "+de(s.osInfo.release),1)]),D("h3",null,[bie,Xe(" "+de(t.$tools.formatTime(s.osInfo.uptime)),1)]),D("h3",null,[_ie,Xe(" "+de(s.expiredTime),1)]),D("h3",null,[Qie,Xe(" "+de(s.osInfo.ip),1)]),D("h3",null,[Sie,Xe(" "+de(s.openedCount||0),1)])])]),_:1}),D("div",wie,[D("span",{class:"name",onClick:e[0]||(e[0]=(...g)=>s.handleUpdate&&s.handleUpdate(...g))},[Xe(de(s.name||"--")+" ",1),B(o,{name:"icon-xiugai",class:"svg-icon"})]),D("span",null,de(((p=s.osInfo)==null?void 0:p.type)||"--"),1)])]),D("div",xie,[B(a,{placement:"bottom-start",width:200,trigger:"hover"},{reference:Z(()=>[B(o,{name:"icon-position",class:"svg-icon"})]),default:Z(()=>[D("div",Pie,[kie,D("h3",null,[Cie,Xe(" "+de(s.ipInfo.country||"--")+" "+de(s.ipInfo.regionName),1)]),D("h3",null,[Tie,Xe(" "+de(s.ipInfo.isp||"--"),1)]),D("h3",null,[Rie,Xe(" "+de(s.ipInfo.as||"--"),1)])])]),_:1}),D("div",Aie,[D("span",null,de(`${((y=s.ipInfo)==null?void 0:y.country)||"--"} ${(($=s.ipInfo)==null?void 0:$.regionName)||"--"}`),1),D("span",null,de(s.hostIp),1)])]),D("div",Eie,[B(a,{placement:"bottom-start",width:200,trigger:"hover"},{reference:Z(()=>[B(o,{name:"icon-xingzhuang",class:"svg-icon"})]),default:Z(()=>[D("div",Xie,[Wie,D("h3",null,[zie,Xe(" "+de(s.cpuInfo.cpuUsage)+"%",1)]),D("h3",null,[Iie,Xe(" "+de(s.cpuInfo.cpuCount),1)]),D("h3",null,[qie,Xe(" "+de(s.cpuInfo.cpuModel),1)])])]),_:1}),D("div",Uie,[D("span",{style:tt({color:s.setColor(s.cpuInfo.cpuUsage)})},de(s.cpuInfo.cpuUsage||"0")+"%",5),D("span",null,de(s.cpuInfo.cpuCount||"--")+" \u6838\u5FC3",1)])]),D("div",Die,[B(a,{placement:"bottom-start",width:200,trigger:"hover"},{reference:Z(()=>[B(o,{name:"icon-neicun1",class:"svg-icon"})]),default:Z(()=>[D("div",Lie,[Bie,D("h3",null,[Mie,Xe(" "+de(t.$tools.toFixed(s.memInfo.totalMemMb/1024))+" GB",1)]),D("h3",null,[Yie,Xe(" "+de(t.$tools.toFixed(s.memInfo.usedMemMb/1024))+" GB",1)]),D("h3",null,[Zie,Xe(" "+de(t.$tools.toFixed(s.memInfo.usedMemPercentage))+"%",1)]),D("h3",null,[Vie,Xe(" "+de(t.$tools.toFixed(s.memInfo.freeMemMb/1024))+" GB",1)])])]),_:1}),D("div",jie,[D("span",{style:tt({color:s.setColor(s.memInfo.usedMemPercentage)})},de(t.$tools.toFixed(s.memInfo.usedMemPercentage))+"%",5),D("span",null,de(t.$tools.toFixed(s.memInfo.usedMemMb/1024))+" | "+de(t.$tools.toFixed(s.memInfo.totalMemMb/1024))+" GB",1)])]),D("div",Nie,[B(a,{placement:"bottom-start",width:200,trigger:"hover"},{reference:Z(()=>[B(o,{name:"icon-xingzhuang1",class:"svg-icon"})]),default:Z(()=>[D("div",Fie,[Gie,D("h3",null,[Hie,Xe(" "+de(s.driveInfo.totalGb||"--")+" GB",1)]),D("h3",null,[Kie,Xe(" "+de(s.driveInfo.usedGb||"--")+" GB",1)]),D("h3",null,[Jie,Xe(" "+de(s.driveInfo.freeGb||"--")+" GB",1)]),D("h3",null,[ere,Xe(" "+de(s.driveInfo.usedPercentage||"--")+"%",1)])])]),_:1}),D("div",tre,[D("span",{style:tt({color:s.setColor(s.driveInfo.usedPercentage)})},de(s.driveInfo.usedPercentage||"--")+"%",5),D("span",null,de(s.driveInfo.usedGb||"--")+" | "+de(s.driveInfo.totalGb||"--")+" GB",1)])]),D("div",nre,[B(a,{placement:"bottom-start",width:200,trigger:"hover"},{reference:Z(()=>[B(o,{name:"icon-wangluo1",class:"svg-icon"})]),default:Z(()=>[D("div",ire,[rre,(L(!0),ie(Le,null,Rt(s.netstatInfo.netCards,(g,v)=>(L(),ie("div",{key:v,style:{display:"flex","flex-direction":"column"}},[D("h3",null,[D("span",null,de(v),1),D("div",null,"\u2191 "+de(t.$tools.formatNetSpeed(g==null?void 0:g.outputMb)||0),1),D("div",null,"\u2193 "+de(t.$tools.formatNetSpeed(g==null?void 0:g.inputMb)||0),1)])]))),128))])]),_:1}),D("div",sre,[D("span",null,"\u2191 "+de(t.$tools.formatNetSpeed((m=s.netstatInfo.netTotal)==null?void 0:m.outputMb)||0),1),D("span",null,"\u2193 "+de(t.$tools.formatNetSpeed((d=s.netstatInfo.netTotal)==null?void 0:d.inputMb)||0),1)])]),D("div",ore,[B(O,{class:"web-ssh",type:"primary",trigger:"click"},{dropdown:Z(()=>[B(u,null,{default:Z(()=>[B(c,{onClick:s.handleSSH},{default:Z(()=>[lre]),_:1},8,["onClick"]),s.consoleUrl?(L(),be(c,{key:0,onClick:s.handleToConsole},{default:Z(()=>[cre]),_:1},8,["onClick"])):Qe("",!0),B(c,{onClick:s.handleUpdate},{default:Z(()=>[ure]),_:1},8,["onClick"]),B(c,{onClick:s.handleRemoveHost},{default:Z(()=>[fre]),_:1},8,["onClick"]),B(c,{onClick:s.handleRemoveSSH},{default:Z(()=>[Ore]),_:1},8,["onClick"])]),_:1})]),default:Z(()=>[B(l,{type:"primary"},{default:Z(()=>[are]),_:1})]),_:1})])]),B(f,{show:r.sshFormVisible,"onUpdate:show":e[1]||(e[1]=g=>r.sshFormVisible=g),"temp-host":r.tempHost,name:s.name},null,8,["show","temp-host","name"])]}),_:1})}var dre=fn(lie,[["render",hre],["__scopeId","data-v-25b0e1b8"]]),pre="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAIGNIUk0AAHolAACAgwAA+f8AAI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icVUtt8BUNmMe10ybAy1vLKt1i+uoh8K4itJTCU2RYNqwQgu7b7gk7oYU4lNnAEgPI8rU+syXx2Khxf27dkv5cML+zD91aGUX8p7HleyBiC+ahTTiqtmKdeS06Id1to2ujGJpyG9mbFaCqr9gVotZehQmPB0SfJ+4D1dksjQoTCliJP2R/bVUsh6QSiNXhCqEpuErtuflZ8PKEpQkp/fqpPEsV5QpopZuOGaPL4mTN3+jPz8mq0AN9DUMeBbMWurNqj7OGYok9HLPVa35+rg45bqdtr/m+H6YHzTc3DXVRMZVdCHDoWFpNvPrIrV3Ejr5zXnp2IsTMM5CFDdEjrdUFQlNkX9TwWrJxf1Py2j9fPjR71Rb89twQq3gjSVc7HXFwWnnIu9vpj7yrlbpq1rzDUCsH9v/h3fzF53kw3JMexfBm3QmdKR+IaLk2vkST197DKjerqtjveFHG6ra2NWT+d2Os1vYHMy1A+YOOYl3I8rOb8O9+NKZOKYl7Z+gCuP6gdsu/MYKmig6nO6aEBZwv5CSlmCqs/p9mwFjS2+N50aMvpfh+KRnSf64pGFfbj+1yFYQyab9YPsAMBnJV3ZP22SLlhFKc38El0dMXT0cDAT3X7C0y1BRw8HYR2xLFagtJX0Xn1njoVmKBXZY6GZQvTVd2ZYSW+ngZqhliSuLx3Z1kfPVJcM1pLMbCGXRjVV3FbfitvqW2E1Va7z8LCesBACNayoLZBADWvKC+SleE37/5sCanLypQ/c0wMBQADQdtH+GwDm0Y5PPMfRSgAAAABJRU5ErkJggg==";const mre={name:"App",components:{HostCard:dre,HostForm:bte,Setting:jne},data(){return{socket:null,loading:!0,hostListStatus:[],updateHostData:null,hostFormVisible:!1,settingVisible:!1,hiddenIp:Number(localStorage.getItem("hiddenIp")||0)}},mounted(){this.getHostList()},beforeUnmount(){var t;(t=this.socket)!=null&&t.close&&this.socket.close()},methods:{handleLogout(){this.$store.clearJwtToken(),this.$message({type:"success",message:"\u5DF2\u5B89\u5168\u9000\u51FA",center:!0}),this.$router.push("/login")},async getHostList(){try{this.loading=!0,await this.$store.getHostList(),this.connectIo()}catch{this.loading=!1}},connectIo(){let t=_a(this.$serviceURI,{path:"/clients",forceNew:!0,reconnectionDelay:5e3,reconnectionAttempts:2});this.socket=t,t.on("connect",()=>{let e=5;this.loading=!1,console.log("clients websocket \u5DF2\u8FDE\u63A5: ",t.id);let n=this.$store.token;t.emit("init_clients_data",{token:n}),t.on("clients_data",i=>{e++%5===0&&this.$store.getHostPing(),this.hostListStatus=this.$store.hostList.map(r=>{const{host:s}=r;return i[s]===null?ze({},r):Object.assign({},r,i[s])})}),t.on("token_verify_fail",i=>{this.$notification({title:"\u9274\u6743\u5931\u8D25",message:i,type:"error"}),this.$router.push("/login")})}),t.on("disconnect",()=>{console.error("clients websocket \u8FDE\u63A5\u65AD\u5F00")}),t.on("connect_error",e=>{this.loading=!1,console.error("clients websocket \u8FDE\u63A5\u51FA\u9519: ",e)})},handleUpdateList(){this.socket.close&&this.socket.close(),this.getHostList()},handleUpdateHost(t){this.hostFormVisible=!0,this.updateHostData=t},handleHiddenIP(){this.hiddenIp=this.hiddenIp?0:1,localStorage.setItem("hiddenIp",String(this.hiddenIp))}}},wR=t=>(uc("data-v-e982f820"),t=t(),fc(),t),gre=wR(()=>D("div",{class:"logo-wrap"},[D("img",{src:pre,alt:"logo"}),D("h1",null,"EasyNode")],-1)),vre=Xe(" \u65B0\u589E\u670D\u52A1\u5668 "),yre=Xe(" \u529F\u80FD\u8BBE\u7F6E "),$re=Xe("\u5B89\u5168\u9000\u51FA"),bre={"element-loading-background":"rgba(122, 122, 122, 0.58)"},_re=wR(()=>D("footer",null,[D("span",null,[Xe("Release v1.2.0, Powered by "),D("a",{href:"https://github.com/chaos-zhu/easynode",target:"_blank"},"EasyNode")])],-1));function Qre(t,e,n,i,r,s){const o=Ln,a=Pe("HostCard"),l=Pe("HostForm"),c=Pe("Setting"),u=yc;return L(),ie(Le,null,[D("header",null,[gre,D("div",null,[B(o,{type:"primary",onClick:e[0]||(e[0]=O=>r.hostFormVisible=!0)},{default:Z(()=>[vre]),_:1}),B(o,{type:"primary",onClick:e[1]||(e[1]=O=>r.settingVisible=!0)},{default:Z(()=>[yre]),_:1}),B(o,{type:"primary",onClick:s.handleHiddenIP},{default:Z(()=>[Xe(de(r.hiddenIp?"\u663E\u793AIP":"\u9690\u85CFIP"),1)]),_:1},8,["onClick"]),B(o,{type:"success",plain:"",onClick:s.handleLogout},{default:Z(()=>[$re]),_:1},8,["onClick"])])]),it((L(),ie("section",bre,[(L(!0),ie(Le,null,Rt(r.hostListStatus,(O,f)=>(L(),be(a,{key:f,"host-info":O,"hidden-ip":r.hiddenIp,onUpdateList:s.handleUpdateList,onUpdateHost:s.handleUpdateHost},null,8,["host-info","hidden-ip","onUpdateList","onUpdateHost"]))),128))])),[[u,r.loading]]),_re,B(l,{show:r.hostFormVisible,"onUpdate:show":e[2]||(e[2]=O=>r.hostFormVisible=O),"default-data":r.updateHostData,onUpdateList:s.handleUpdateList},null,8,["show","default-data","onUpdateList"]),B(c,{show:r.settingVisible,"onUpdate:show":e[3]||(e[3]=O=>r.settingVisible=O),onUpdateList:s.handleUpdateList},null,8,["show","onUpdateList"])],64)}var Sre=fn(mre,[["render",Qre],["__scopeId","data-v-e982f820"]]);const wre={name:"App",data(){return{isSession:!0,visible:!0,notKey:!1,loading:!1,loginForm:{pwd:"",jwtExpires:8},rules:{pwd:{required:!0,message:"\u9700\u8F93\u5165\u5BC6\u7801",trigger:"change"}}}},async created(){localStorage.getItem("jwtExpires")&&(this.loginForm.jwtExpires=Number(localStorage.getItem("jwtExpires"))),console.log(localStorage.getItem("jwtExpires"));let{data:t}=await this.$api.getPubPem();if(!t)return this.notKey=!0;localStorage.setItem("publicKey",t)},methods:{handleLogin(){this.$refs["login-form"].validate().then(()=>{let{isSession:t,loginForm:{pwd:e,jwtExpires:n}}=this;t?n="12h":(localStorage.setItem("jwtExpires",n),n=`${n}h`);const i=id(e);if(i===-1)return this.$message.error({message:"\u516C\u94A5\u52A0\u8F7D\u5931\u8D25",center:!0});this.loading=!0,this.$api.login({ciphertext:i,jwtExpires:n}).then(({data:r,msg:s})=>{let{token:o}=r;this.$store.setJwtToken(o,t),this.$message.success({message:s||"success",center:!0}),this.$router.push("/")}).finally(()=>{this.loading=!1})})}}},xre={key:0,style:{color:"#f56c6c"}},Pre={key:1,style:{color:"#409eff"}},kre={key:0},Cre={key:1},Tre=Xe("\u4E00\u6B21\u6027\u4F1A\u8BDD"),Rre=Xe("\u81EA\u5B9A\u4E49(\u5C0F\u65F6)"),Are={class:"dialog-footer"},Ere=Xe("\u767B\u5F55");function Xre(t,e,n,i,r,s){const o=bf,a=mi,l=vc,c=A2,u=RG,O=BZ,f=gc,h=Ln,p=mc;return L(),be(p,{modelValue:r.visible,"onUpdate:modelValue":e[4]||(e[4]=y=>r.visible=y),width:"500px",top:"30vh","destroy-on-close":"","close-on-click-modal":!1,"close-on-press-escape":!1,"show-close":!1,center:""},{title:Z(()=>[r.notKey?(L(),ie("h2",xre," Error ")):(L(),ie("h2",Pre," LOGIN "))]),footer:Z(()=>[D("span",Are,[B(h,{type:"primary",loading:r.loading,onClick:s.handleLogin},{default:Z(()=>[Ere]),_:1},8,["loading","onClick"])])]),default:Z(()=>[r.notKey?(L(),ie("div",kre,[B(o,{title:"Error: \u7528\u4E8E\u52A0\u5BC6\u7684\u516C\u94A5\u83B7\u53D6\u5931\u8D25\uFF0C\u8BF7\u5C1D\u8BD5\u91CD\u65B0\u542F\u52A8\u6216\u90E8\u7F72\u670D\u52A1",type:"error","show-icon":""})])):(L(),ie("div",Cre,[B(f,{ref:"login-form",model:r.loginForm,rules:r.rules,"hide-required-asterisk":!0,"label-suffix":"\uFF1A","label-width":"90px"},{default:Z(()=>[B(l,{prop:"pwd",label:"\u5BC6\u7801"},{default:Z(()=>[B(a,{modelValue:r.loginForm.pwd,"onUpdate:modelValue":e[0]||(e[0]=y=>r.loginForm.pwd=y),modelModifiers:{trim:!0},type:"password",placeholder:"Please input password",autocomplete:"off","trigger-on-focus":!1,clearable:"","show-password":"",onKeyup:Qt(s.handleLogin,["enter"])},null,8,["modelValue","onKeyup"])]),_:1}),it(B(l,{prop:"pwd",label:"\u5BC6\u7801"},{default:Z(()=>[B(a,{modelValue:r.loginForm.pwd,"onUpdate:modelValue":e[1]||(e[1]=y=>r.loginForm.pwd=y),modelModifiers:{trim:!0}},null,8,["modelValue"])]),_:1},512),[[Lt,!1]]),B(l,{prop:"jwtExpires",label:"\u6709\u6548\u671F"},{default:Z(()=>[B(O,{modelValue:r.isSession,"onUpdate:modelValue":e[3]||(e[3]=y=>r.isSession=y),class:"login-indate"},{default:Z(()=>[B(c,{label:!0},{default:Z(()=>[Tre]),_:1}),B(c,{label:!1},{default:Z(()=>[Rre]),_:1}),B(u,{modelValue:r.loginForm.jwtExpires,"onUpdate:modelValue":e[2]||(e[2]=y=>r.loginForm.jwtExpires=y),disabled:r.isSession,placeholder:"\u5355\u4F4D\uFF1A\u5C0F\u65F6",class:"input",min:1,max:72,"value-on-clear":"min",size:"small","controls-position":"right"},null,8,["modelValue","disabled"])]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])]))]),_:1},8,["modelValue"])}var Wre=fn(wre,[["render",Xre],["__scopeId","data-v-1ed2c930"]]),xR={exports:{}};(function(t,e){(function(n,i){t.exports=i()})(self,function(){return(()=>{var n={4567:function(r,s,o){var a,l=this&&this.__extends||(a=function(m,d){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,v){g.__proto__=v}||function(g,v){for(var b in v)Object.prototype.hasOwnProperty.call(v,b)&&(g[b]=v[b])},a(m,d)},function(m,d){if(typeof d!="function"&&d!==null)throw new TypeError("Class extends value "+String(d)+" is not a constructor or null");function g(){this.constructor=m}a(m,d),m.prototype=d===null?Object.create(d):(g.prototype=d.prototype,new g)});Object.defineProperty(s,"__esModule",{value:!0}),s.AccessibilityManager=void 0;var c=o(9042),u=o(6114),O=o(9924),f=o(3656),h=o(844),p=o(5596),y=o(9631),$=function(m){function d(g,v){var b=m.call(this)||this;b._terminal=g,b._renderService=v,b._liveRegionLineCount=0,b._charsToConsume=[],b._charsToAnnounce="",b._accessibilityTreeRoot=document.createElement("div"),b._accessibilityTreeRoot.classList.add("xterm-accessibility"),b._accessibilityTreeRoot.tabIndex=0,b._rowContainer=document.createElement("div"),b._rowContainer.setAttribute("role","list"),b._rowContainer.classList.add("xterm-accessibility-tree"),b._rowElements=[];for(var _=0;_g;)this._rowContainer.removeChild(this._rowElements.pop());this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._refreshRowsDimensions()},d.prototype._createAccessibilityTreeNode=function(){var g=document.createElement("div");return g.setAttribute("role","listitem"),g.tabIndex=-1,this._refreshRowDimensions(g),g},d.prototype._onTab=function(g){for(var v=0;v0?this._charsToConsume.shift()!==g&&(this._charsToAnnounce+=g):this._charsToAnnounce+=g,g===` -`&&(this._liveRegionLineCount++,this._liveRegionLineCount===21&&(this._liveRegion.textContent+=c.tooMuchOutput)),u.isMac&&this._liveRegion.textContent&&this._liveRegion.textContent.length>0&&!this._liveRegion.parentNode&&setTimeout(function(){v._accessibilityTreeRoot.appendChild(v._liveRegion)},0))},d.prototype._clearLiveRegion=function(){this._liveRegion.textContent="",this._liveRegionLineCount=0,u.isMac&&(0,y.removeElementFromParent)(this._liveRegion)},d.prototype._onKey=function(g){this._clearLiveRegion(),this._charsToConsume.push(g)},d.prototype._refreshRows=function(g,v){this._renderRowsDebouncer.refresh(g,v,this._terminal.rows)},d.prototype._renderRows=function(g,v){for(var b=this._terminal.buffer,_=b.lines.length.toString(),Q=g;Q<=v;Q++){var S=b.translateBufferLineToString(b.ydisp+Q,!0),P=(b.ydisp+Q+1).toString(),w=this._rowElements[Q];w&&(S.length===0?w.innerText="\xA0":w.textContent=S,w.setAttribute("aria-posinset",P),w.setAttribute("aria-setsize",_))}this._announceCharacters()},d.prototype._refreshRowsDimensions=function(){if(this._renderService.dimensions.actualCellHeight){this._rowElements.length!==this._terminal.rows&&this._onResize(this._terminal.rows);for(var g=0;g{function o(u){return u.replace(/\r?\n/g,"\r")}function a(u,O){return O?"\x1B[200~"+u+"\x1B[201~":u}function l(u,O,f){u=a(u=o(u),f.decPrivateModes.bracketedPasteMode),f.triggerDataEvent(u,!0),O.value=""}function c(u,O,f){var h=f.getBoundingClientRect(),p=u.clientX-h.left-10,y=u.clientY-h.top-10;O.style.width="20px",O.style.height="20px",O.style.left=p+"px",O.style.top=y+"px",O.style.zIndex="1000",O.focus()}Object.defineProperty(s,"__esModule",{value:!0}),s.rightClickHandler=s.moveTextAreaUnderMouseCursor=s.paste=s.handlePasteEvent=s.copyHandler=s.bracketTextForPaste=s.prepareTextForTerminal=void 0,s.prepareTextForTerminal=o,s.bracketTextForPaste=a,s.copyHandler=function(u,O){u.clipboardData&&u.clipboardData.setData("text/plain",O.selectionText),u.preventDefault()},s.handlePasteEvent=function(u,O,f){u.stopPropagation(),u.clipboardData&&l(u.clipboardData.getData("text/plain"),O,f)},s.paste=l,s.moveTextAreaUnderMouseCursor=c,s.rightClickHandler=function(u,O,f,h,p){c(u,O,f),p&&h.rightClickSelect(u),O.value=h.selectionText,O.select()}},7239:(r,s)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.ColorContrastCache=void 0;var o=function(){function a(){this._color={},this._rgba={}}return a.prototype.clear=function(){this._color={},this._rgba={}},a.prototype.setCss=function(l,c,u){this._rgba[l]||(this._rgba[l]={}),this._rgba[l][c]=u},a.prototype.getCss=function(l,c){return this._rgba[l]?this._rgba[l][c]:void 0},a.prototype.setColor=function(l,c,u){this._color[l]||(this._color[l]={}),this._color[l][c]=u},a.prototype.getColor=function(l,c){return this._color[l]?this._color[l][c]:void 0},a}();s.ColorContrastCache=o},5680:function(r,s,o){var a=this&&this.__read||function($,m){var d=typeof Symbol=="function"&&$[Symbol.iterator];if(!d)return $;var g,v,b=d.call($),_=[];try{for(;(m===void 0||m-- >0)&&!(g=b.next()).done;)_.push(g.value)}catch(Q){v={error:Q}}finally{try{g&&!g.done&&(d=b.return)&&d.call(b)}finally{if(v)throw v.error}}return _};Object.defineProperty(s,"__esModule",{value:!0}),s.ColorManager=s.DEFAULT_ANSI_COLORS=void 0;var l=o(8055),c=o(7239),u=l.css.toColor("#ffffff"),O=l.css.toColor("#000000"),f=l.css.toColor("#ffffff"),h=l.css.toColor("#000000"),p={css:"rgba(255, 255, 255, 0.3)",rgba:4294967117};s.DEFAULT_ANSI_COLORS=Object.freeze(function(){for(var $=[l.css.toColor("#2e3436"),l.css.toColor("#cc0000"),l.css.toColor("#4e9a06"),l.css.toColor("#c4a000"),l.css.toColor("#3465a4"),l.css.toColor("#75507b"),l.css.toColor("#06989a"),l.css.toColor("#d3d7cf"),l.css.toColor("#555753"),l.css.toColor("#ef2929"),l.css.toColor("#8ae234"),l.css.toColor("#fce94f"),l.css.toColor("#729fcf"),l.css.toColor("#ad7fa8"),l.css.toColor("#34e2e2"),l.css.toColor("#eeeeec")],m=[0,95,135,175,215,255],d=0;d<216;d++){var g=m[d/36%6|0],v=m[d/6%6|0],b=m[d%6];$.push({css:l.channels.toCss(g,v,b),rgba:l.channels.toRgba(g,v,b)})}for(d=0;d<24;d++){var _=8+10*d;$.push({css:l.channels.toCss(_,_,_),rgba:l.channels.toRgba(_,_,_)})}return $}());var y=function(){function $(m,d){this.allowTransparency=d;var g=m.createElement("canvas");g.width=1,g.height=1;var v=g.getContext("2d");if(!v)throw new Error("Could not get rendering context");this._ctx=v,this._ctx.globalCompositeOperation="copy",this._litmusColor=this._ctx.createLinearGradient(0,0,1,1),this._contrastCache=new c.ColorContrastCache,this.colors={foreground:u,background:O,cursor:f,cursorAccent:h,selectionTransparent:p,selectionOpaque:l.color.blend(O,p),selectionForeground:void 0,ansi:s.DEFAULT_ANSI_COLORS.slice(),contrastCache:this._contrastCache},this._updateRestoreColors()}return $.prototype.onOptionsChange=function(m){m==="minimumContrastRatio"&&this._contrastCache.clear()},$.prototype.setTheme=function(m){m===void 0&&(m={}),this.colors.foreground=this._parseColor(m.foreground,u),this.colors.background=this._parseColor(m.background,O),this.colors.cursor=this._parseColor(m.cursor,f,!0),this.colors.cursorAccent=this._parseColor(m.cursorAccent,h,!0),this.colors.selectionTransparent=this._parseColor(m.selection,p,!0),this.colors.selectionOpaque=l.color.blend(this.colors.background,this.colors.selectionTransparent);var d={css:"",rgba:0};this.colors.selectionForeground=m.selectionForeground?this._parseColor(m.selectionForeground,d):void 0,this.colors.selectionForeground===d&&(this.colors.selectionForeground=void 0),l.color.isOpaque(this.colors.selectionTransparent)&&(this.colors.selectionTransparent=l.color.opacity(this.colors.selectionTransparent,.3)),this.colors.ansi[0]=this._parseColor(m.black,s.DEFAULT_ANSI_COLORS[0]),this.colors.ansi[1]=this._parseColor(m.red,s.DEFAULT_ANSI_COLORS[1]),this.colors.ansi[2]=this._parseColor(m.green,s.DEFAULT_ANSI_COLORS[2]),this.colors.ansi[3]=this._parseColor(m.yellow,s.DEFAULT_ANSI_COLORS[3]),this.colors.ansi[4]=this._parseColor(m.blue,s.DEFAULT_ANSI_COLORS[4]),this.colors.ansi[5]=this._parseColor(m.magenta,s.DEFAULT_ANSI_COLORS[5]),this.colors.ansi[6]=this._parseColor(m.cyan,s.DEFAULT_ANSI_COLORS[6]),this.colors.ansi[7]=this._parseColor(m.white,s.DEFAULT_ANSI_COLORS[7]),this.colors.ansi[8]=this._parseColor(m.brightBlack,s.DEFAULT_ANSI_COLORS[8]),this.colors.ansi[9]=this._parseColor(m.brightRed,s.DEFAULT_ANSI_COLORS[9]),this.colors.ansi[10]=this._parseColor(m.brightGreen,s.DEFAULT_ANSI_COLORS[10]),this.colors.ansi[11]=this._parseColor(m.brightYellow,s.DEFAULT_ANSI_COLORS[11]),this.colors.ansi[12]=this._parseColor(m.brightBlue,s.DEFAULT_ANSI_COLORS[12]),this.colors.ansi[13]=this._parseColor(m.brightMagenta,s.DEFAULT_ANSI_COLORS[13]),this.colors.ansi[14]=this._parseColor(m.brightCyan,s.DEFAULT_ANSI_COLORS[14]),this.colors.ansi[15]=this._parseColor(m.brightWhite,s.DEFAULT_ANSI_COLORS[15]),this._contrastCache.clear(),this._updateRestoreColors()},$.prototype.restoreColor=function(m){if(m!==void 0)switch(m){case 256:this.colors.foreground=this._restoreColors.foreground;break;case 257:this.colors.background=this._restoreColors.background;break;case 258:this.colors.cursor=this._restoreColors.cursor;break;default:this.colors.ansi[m]=this._restoreColors.ansi[m]}else for(var d=0;d=a.length&&(a=void 0),{value:a&&a[u++],done:!a}}};throw new TypeError(l?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(s,"__esModule",{value:!0}),s.removeElementFromParent=void 0,s.removeElementFromParent=function(){for(var a,l,c,u=[],O=0;O{Object.defineProperty(s,"__esModule",{value:!0}),s.addDisposableDomListener=void 0,s.addDisposableDomListener=function(o,a,l,c){o.addEventListener(a,l,c);var u=!1;return{dispose:function(){u||(u=!0,o.removeEventListener(a,l,c))}}}},3551:function(r,s,o){var a=this&&this.__decorate||function(h,p,y,$){var m,d=arguments.length,g=d<3?p:$===null?$=Object.getOwnPropertyDescriptor(p,y):$;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")g=Reflect.decorate(h,p,y,$);else for(var v=h.length-1;v>=0;v--)(m=h[v])&&(g=(d<3?m(g):d>3?m(p,y,g):m(p,y))||g);return d>3&&g&&Object.defineProperty(p,y,g),g},l=this&&this.__param||function(h,p){return function(y,$){p(y,$,h)}};Object.defineProperty(s,"__esModule",{value:!0}),s.MouseZone=s.Linkifier=void 0;var c=o(8460),u=o(2585),O=function(){function h(p,y,$){this._bufferService=p,this._logService=y,this._unicodeService=$,this._linkMatchers=[],this._nextLinkMatcherId=0,this._onShowLinkUnderline=new c.EventEmitter,this._onHideLinkUnderline=new c.EventEmitter,this._onLinkTooltip=new c.EventEmitter,this._rowsToLinkify={start:void 0,end:void 0}}return Object.defineProperty(h.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"onLinkTooltip",{get:function(){return this._onLinkTooltip.event},enumerable:!1,configurable:!0}),h.prototype.attachToDom=function(p,y){this._element=p,this._mouseZoneManager=y},h.prototype.linkifyRows=function(p,y){var $=this;this._mouseZoneManager&&(this._rowsToLinkify.start===void 0||this._rowsToLinkify.end===void 0?(this._rowsToLinkify.start=p,this._rowsToLinkify.end=y):(this._rowsToLinkify.start=Math.min(this._rowsToLinkify.start,p),this._rowsToLinkify.end=Math.max(this._rowsToLinkify.end,y)),this._mouseZoneManager.clearAll(p,y),this._rowsTimeoutId&&clearTimeout(this._rowsTimeoutId),this._rowsTimeoutId=setTimeout(function(){return $._linkifyRows()},h._timeBeforeLatency))},h.prototype._linkifyRows=function(){this._rowsTimeoutId=void 0;var p=this._bufferService.buffer;if(this._rowsToLinkify.start!==void 0&&this._rowsToLinkify.end!==void 0){var y=p.ydisp+this._rowsToLinkify.start;if(!(y>=p.lines.length)){for(var $=p.ydisp+Math.min(this._rowsToLinkify.end,this._bufferService.rows)+1,m=Math.ceil(2e3/this._bufferService.cols),d=this._bufferService.buffer.iterator(!1,y,$,m,m);d.hasNext();)for(var g=d.next(),v=0;v=0;y--)if(p.priority<=this._linkMatchers[y].priority)return void this._linkMatchers.splice(y+1,0,p);this._linkMatchers.splice(0,0,p)}else this._linkMatchers.push(p)},h.prototype.deregisterLinkMatcher=function(p){for(var y=0;y>9&511:void 0;$.validationCallback?$.validationCallback(Q,function(k){d._rowsTimeoutId||k&&d._addLink(S[1],S[0]-d._bufferService.buffer.ydisp,Q,$,x)}):_._addLink(S[1],S[0]-_._bufferService.buffer.ydisp,Q,$,x)},_=this;(m=g.exec(y))!==null&&b()!=="break";);},h.prototype._addLink=function(p,y,$,m,d){var g=this;if(this._mouseZoneManager&&this._element){var v=this._unicodeService.getStringCellWidth($),b=p%this._bufferService.cols,_=y+Math.floor(p/this._bufferService.cols),Q=(b+v)%this._bufferService.cols,S=_+Math.floor((b+v)/this._bufferService.cols);Q===0&&(Q=this._bufferService.cols,S--),this._mouseZoneManager.add(new f(b+1,_+1,Q+1,S+1,function(P){if(m.handler)return m.handler(P,$);var w=window.open();w?(w.opener=null,w.location.href=$):console.warn("Opening link blocked as opener could not be cleared")},function(){g._onShowLinkUnderline.fire(g._createLinkHoverEvent(b,_,Q,S,d)),g._element.classList.add("xterm-cursor-pointer")},function(P){g._onLinkTooltip.fire(g._createLinkHoverEvent(b,_,Q,S,d)),m.hoverTooltipCallback&&m.hoverTooltipCallback(P,$,{start:{x:b,y:_},end:{x:Q,y:S}})},function(){g._onHideLinkUnderline.fire(g._createLinkHoverEvent(b,_,Q,S,d)),g._element.classList.remove("xterm-cursor-pointer"),m.hoverLeaveCallback&&m.hoverLeaveCallback()},function(P){return!m.willLinkActivate||m.willLinkActivate(P,$)}))}},h.prototype._createLinkHoverEvent=function(p,y,$,m,d){return{x1:p,y1:y,x2:$,y2:m,cols:this._bufferService.cols,fg:d}},h._timeBeforeLatency=200,h=a([l(0,u.IBufferService),l(1,u.ILogService),l(2,u.IUnicodeService)],h)}();s.Linkifier=O;var f=function(h,p,y,$,m,d,g,v,b){this.x1=h,this.y1=p,this.x2=y,this.y2=$,this.clickCallback=m,this.hoverCallback=d,this.tooltipCallback=g,this.leaveCallback=v,this.willLinkActivate=b};s.MouseZone=f},6465:function(r,s,o){var a,l=this&&this.__extends||(a=function(d,g){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(v,b){v.__proto__=b}||function(v,b){for(var _ in b)Object.prototype.hasOwnProperty.call(b,_)&&(v[_]=b[_])},a(d,g)},function(d,g){if(typeof g!="function"&&g!==null)throw new TypeError("Class extends value "+String(g)+" is not a constructor or null");function v(){this.constructor=d}a(d,g),d.prototype=g===null?Object.create(g):(v.prototype=g.prototype,new v)}),c=this&&this.__decorate||function(d,g,v,b){var _,Q=arguments.length,S=Q<3?g:b===null?b=Object.getOwnPropertyDescriptor(g,v):b;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")S=Reflect.decorate(d,g,v,b);else for(var P=d.length-1;P>=0;P--)(_=d[P])&&(S=(Q<3?_(S):Q>3?_(g,v,S):_(g,v))||S);return Q>3&&S&&Object.defineProperty(g,v,S),S},u=this&&this.__param||function(d,g){return function(v,b){g(v,b,d)}},O=this&&this.__values||function(d){var g=typeof Symbol=="function"&&Symbol.iterator,v=g&&d[g],b=0;if(v)return v.call(d);if(d&&typeof d.length=="number")return{next:function(){return d&&b>=d.length&&(d=void 0),{value:d&&d[b++],done:!d}}};throw new TypeError(g?"Object is not iterable.":"Symbol.iterator is not defined.")},f=this&&this.__read||function(d,g){var v=typeof Symbol=="function"&&d[Symbol.iterator];if(!v)return d;var b,_,Q=v.call(d),S=[];try{for(;(g===void 0||g-- >0)&&!(b=Q.next()).done;)S.push(b.value)}catch(P){_={error:P}}finally{try{b&&!b.done&&(v=Q.return)&&v.call(Q)}finally{if(_)throw _.error}}return S};Object.defineProperty(s,"__esModule",{value:!0}),s.Linkifier2=void 0;var h=o(2585),p=o(8460),y=o(844),$=o(3656),m=function(d){function g(v){var b=d.call(this)||this;return b._bufferService=v,b._linkProviders=[],b._linkCacheDisposables=[],b._isMouseOut=!0,b._activeLine=-1,b._onShowLinkUnderline=b.register(new p.EventEmitter),b._onHideLinkUnderline=b.register(new p.EventEmitter),b.register((0,y.getDisposeArrayDisposable)(b._linkCacheDisposables)),b}return l(g,d),Object.defineProperty(g.prototype,"currentLink",{get:function(){return this._currentLink},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),g.prototype.registerLinkProvider=function(v){var b=this;return this._linkProviders.push(v),{dispose:function(){var _=b._linkProviders.indexOf(v);_!==-1&&b._linkProviders.splice(_,1)}}},g.prototype.attachToDom=function(v,b,_){var Q=this;this._element=v,this._mouseService=b,this._renderService=_,this.register((0,$.addDisposableDomListener)(this._element,"mouseleave",function(){Q._isMouseOut=!0,Q._clearCurrentLink()})),this.register((0,$.addDisposableDomListener)(this._element,"mousemove",this._onMouseMove.bind(this))),this.register((0,$.addDisposableDomListener)(this._element,"mousedown",this._handleMouseDown.bind(this))),this.register((0,$.addDisposableDomListener)(this._element,"mouseup",this._handleMouseUp.bind(this)))},g.prototype._onMouseMove=function(v){if(this._lastMouseEvent=v,this._element&&this._mouseService){var b=this._positionFromMouseEvent(v,this._element,this._mouseService);if(b){this._isMouseOut=!1;for(var _=v.composedPath(),Q=0;Q<_.length;Q++){var S=_[Q];if(S.classList.contains("xterm"))break;if(S.classList.contains("xterm-hover"))return}this._lastBufferCell&&b.x===this._lastBufferCell.x&&b.y===this._lastBufferCell.y||(this._onHover(b),this._lastBufferCell=b)}}},g.prototype._onHover=function(v){if(this._activeLine!==v.y)return this._clearCurrentLink(),void this._askForLink(v,!1);this._currentLink&&this._linkAtPosition(this._currentLink.link,v)||(this._clearCurrentLink(),this._askForLink(v,!0))},g.prototype._askForLink=function(v,b){var _,Q,S,P,w=this;this._activeProviderReplies&&b||((S=this._activeProviderReplies)===null||S===void 0||S.forEach(function(R){R==null||R.forEach(function(X){X.link.dispose&&X.link.dispose()})}),this._activeProviderReplies=new Map,this._activeLine=v.y);var x=!1,k=function(R,X){b?!((P=C._activeProviderReplies)===null||P===void 0)&&P.get(R)&&(x=C._checkLinkProviderResult(R,v,x)):X.provideLinks(v.y,function(U){var V,j;if(!w._isMouseOut){var Y=U==null?void 0:U.map(function(ee){return{link:ee}});(V=w._activeProviderReplies)===null||V===void 0||V.set(R,Y),x=w._checkLinkProviderResult(R,v,x),((j=w._activeProviderReplies)===null||j===void 0?void 0:j.size)===w._linkProviders.length&&w._removeIntersectingLinks(v.y,w._activeProviderReplies)}})},C=this;try{for(var T=O(this._linkProviders.entries()),E=T.next();!E.done;E=T.next()){var A=f(E.value,2);k(A[0],A[1])}}catch(R){_={error:R}}finally{try{E&&!E.done&&(Q=T.return)&&Q.call(T)}finally{if(_)throw _.error}}},g.prototype._removeIntersectingLinks=function(v,b){for(var _=new Set,Q=0;Qv?this._bufferService.cols:w.link.range.end.x,C=x;C<=k;C++){if(_.has(C)){S.splice(P--,1);break}_.add(C)}}},g.prototype._checkLinkProviderResult=function(v,b,_){var Q,S=this;if(!this._activeProviderReplies)return _;for(var P=this._activeProviderReplies.get(v),w=!1,x=0;x=v&&this._currentLink.link.range.end.y<=b)&&(this._linkLeave(this._element,this._currentLink.link,this._lastMouseEvent),this._currentLink=void 0,(0,y.disposeArray)(this._linkCacheDisposables))},g.prototype._handleNewLink=function(v){var b=this;if(this._element&&this._lastMouseEvent&&this._mouseService){var _=this._positionFromMouseEvent(this._lastMouseEvent,this._element,this._mouseService);_&&this._linkAtPosition(v.link,_)&&(this._currentLink=v,this._currentLink.state={decorations:{underline:v.link.decorations===void 0||v.link.decorations.underline,pointerCursor:v.link.decorations===void 0||v.link.decorations.pointerCursor},isHovered:!0},this._linkHover(this._element,v.link,this._lastMouseEvent),v.link.decorations={},Object.defineProperties(v.link.decorations,{pointerCursor:{get:function(){var Q,S;return(S=(Q=b._currentLink)===null||Q===void 0?void 0:Q.state)===null||S===void 0?void 0:S.decorations.pointerCursor},set:function(Q){var S,P;((S=b._currentLink)===null||S===void 0?void 0:S.state)&&b._currentLink.state.decorations.pointerCursor!==Q&&(b._currentLink.state.decorations.pointerCursor=Q,b._currentLink.state.isHovered&&((P=b._element)===null||P===void 0||P.classList.toggle("xterm-cursor-pointer",Q)))}},underline:{get:function(){var Q,S;return(S=(Q=b._currentLink)===null||Q===void 0?void 0:Q.state)===null||S===void 0?void 0:S.decorations.underline},set:function(Q){var S,P,w;((S=b._currentLink)===null||S===void 0?void 0:S.state)&&((w=(P=b._currentLink)===null||P===void 0?void 0:P.state)===null||w===void 0?void 0:w.decorations.underline)!==Q&&(b._currentLink.state.decorations.underline=Q,b._currentLink.state.isHovered&&b._fireUnderlineEvent(v.link,Q))}}}),this._renderService&&this._linkCacheDisposables.push(this._renderService.onRenderedViewportChange(function(Q){var S=Q.start===0?0:Q.start+1+b._bufferService.buffer.ydisp;b._clearCurrentLink(S,Q.end+1+b._bufferService.buffer.ydisp)})))}},g.prototype._linkHover=function(v,b,_){var Q;!((Q=this._currentLink)===null||Q===void 0)&&Q.state&&(this._currentLink.state.isHovered=!0,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(b,!0),this._currentLink.state.decorations.pointerCursor&&v.classList.add("xterm-cursor-pointer")),b.hover&&b.hover(_,b.text)},g.prototype._fireUnderlineEvent=function(v,b){var _=v.range,Q=this._bufferService.buffer.ydisp,S=this._createLinkUnderlineEvent(_.start.x-1,_.start.y-Q-1,_.end.x,_.end.y-Q-1,void 0);(b?this._onShowLinkUnderline:this._onHideLinkUnderline).fire(S)},g.prototype._linkLeave=function(v,b,_){var Q;!((Q=this._currentLink)===null||Q===void 0)&&Q.state&&(this._currentLink.state.isHovered=!1,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(b,!1),this._currentLink.state.decorations.pointerCursor&&v.classList.remove("xterm-cursor-pointer")),b.leave&&b.leave(_,b.text)},g.prototype._linkAtPosition=function(v,b){var _=v.range.start.y===v.range.end.y,Q=v.range.start.yb.y;return(_&&v.range.start.x<=b.x&&v.range.end.x>=b.x||Q&&v.range.end.x>=b.x||S&&v.range.start.x<=b.x||Q&&S)&&v.range.start.y<=b.y&&v.range.end.y>=b.y},g.prototype._positionFromMouseEvent=function(v,b,_){var Q=_.getCoords(v,b,this._bufferService.cols,this._bufferService.rows);if(Q)return{x:Q[0],y:Q[1]+this._bufferService.buffer.ydisp}},g.prototype._createLinkUnderlineEvent=function(v,b,_,Q,S){return{x1:v,y1:b,x2:_,y2:Q,cols:this._bufferService.cols,fg:S}},c([u(0,h.IBufferService)],g)}(y.Disposable);s.Linkifier2=m},9042:(r,s)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.tooMuchOutput=s.promptLabel=void 0,s.promptLabel="Terminal input",s.tooMuchOutput="Too much output to announce, navigate to rows manually to read"},6954:function(r,s,o){var a,l=this&&this.__extends||(a=function($,m){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,g){d.__proto__=g}||function(d,g){for(var v in g)Object.prototype.hasOwnProperty.call(g,v)&&(d[v]=g[v])},a($,m)},function($,m){if(typeof m!="function"&&m!==null)throw new TypeError("Class extends value "+String(m)+" is not a constructor or null");function d(){this.constructor=$}a($,m),$.prototype=m===null?Object.create(m):(d.prototype=m.prototype,new d)}),c=this&&this.__decorate||function($,m,d,g){var v,b=arguments.length,_=b<3?m:g===null?g=Object.getOwnPropertyDescriptor(m,d):g;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")_=Reflect.decorate($,m,d,g);else for(var Q=$.length-1;Q>=0;Q--)(v=$[Q])&&(_=(b<3?v(_):b>3?v(m,d,_):v(m,d))||_);return b>3&&_&&Object.defineProperty(m,d,_),_},u=this&&this.__param||function($,m){return function(d,g){m(d,g,$)}};Object.defineProperty(s,"__esModule",{value:!0}),s.MouseZoneManager=void 0;var O=o(844),f=o(3656),h=o(4725),p=o(2585),y=function($){function m(d,g,v,b,_,Q){var S=$.call(this)||this;return S._element=d,S._screenElement=g,S._bufferService=v,S._mouseService=b,S._selectionService=_,S._optionsService=Q,S._zones=[],S._areZonesActive=!1,S._lastHoverCoords=[void 0,void 0],S._initialSelectionLength=0,S.register((0,f.addDisposableDomListener)(S._element,"mousedown",function(P){return S._onMouseDown(P)})),S._mouseMoveListener=function(P){return S._onMouseMove(P)},S._mouseLeaveListener=function(P){return S._onMouseLeave(P)},S._clickListener=function(P){return S._onClick(P)},S}return l(m,$),m.prototype.dispose=function(){$.prototype.dispose.call(this),this._deactivate()},m.prototype.add=function(d){this._zones.push(d),this._zones.length===1&&this._activate()},m.prototype.clearAll=function(d,g){if(this._zones.length!==0){d&&g||(d=0,g=this._bufferService.rows-1);for(var v=0;vd&&b.y1<=g+1||b.y2>d&&b.y2<=g+1||b.y1g+1)&&(this._currentZone&&this._currentZone===b&&(this._currentZone.leaveCallback(),this._currentZone=void 0),this._zones.splice(v--,1))}this._zones.length===0&&this._deactivate()}},m.prototype._activate=function(){this._areZonesActive||(this._areZonesActive=!0,this._element.addEventListener("mousemove",this._mouseMoveListener),this._element.addEventListener("mouseleave",this._mouseLeaveListener),this._element.addEventListener("click",this._clickListener))},m.prototype._deactivate=function(){this._areZonesActive&&(this._areZonesActive=!1,this._element.removeEventListener("mousemove",this._mouseMoveListener),this._element.removeEventListener("mouseleave",this._mouseLeaveListener),this._element.removeEventListener("click",this._clickListener))},m.prototype._onMouseMove=function(d){this._lastHoverCoords[0]===d.pageX&&this._lastHoverCoords[1]===d.pageY||(this._onHover(d),this._lastHoverCoords=[d.pageX,d.pageY])},m.prototype._onHover=function(d){var g=this,v=this._findZoneEventAt(d);v!==this._currentZone&&(this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout)),v&&(this._currentZone=v,v.hoverCallback&&v.hoverCallback(d),this._tooltipTimeout=window.setTimeout(function(){return g._onTooltip(d)},this._optionsService.rawOptions.linkTooltipHoverDuration)))},m.prototype._onTooltip=function(d){this._tooltipTimeout=void 0;var g=this._findZoneEventAt(d);g==null||g.tooltipCallback(d)},m.prototype._onMouseDown=function(d){if(this._initialSelectionLength=this._getSelectionLength(),this._areZonesActive){var g=this._findZoneEventAt(d);g!=null&&g.willLinkActivate(d)&&(d.preventDefault(),d.stopImmediatePropagation())}},m.prototype._onMouseLeave=function(d){this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout))},m.prototype._onClick=function(d){var g=this._findZoneEventAt(d),v=this._getSelectionLength();g&&v===this._initialSelectionLength&&(g.clickCallback(d),d.preventDefault(),d.stopImmediatePropagation())},m.prototype._getSelectionLength=function(){var d=this._selectionService.selectionText;return d?d.length:0},m.prototype._findZoneEventAt=function(d){var g=this._mouseService.getCoords(d,this._screenElement,this._bufferService.cols,this._bufferService.rows);if(g)for(var v=g[0],b=g[1],_=0;_=Q.x1&&v=Q.x1||b===Q.y2&&vQ.y1&&b=l.length&&(l=void 0),{value:l&&l[O++],done:!l}}};throw new TypeError(c?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(s,"__esModule",{value:!0}),s.RenderDebouncer=void 0;var a=function(){function l(c){this._renderCallback=c,this._refreshCallbacks=[]}return l.prototype.dispose=function(){this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},l.prototype.addRefreshCallback=function(c){var u=this;return this._refreshCallbacks.push(c),this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){return u._innerRefresh()})),this._animationFrame},l.prototype.refresh=function(c,u,O){var f=this;this._rowCount=O,c=c!==void 0?c:0,u=u!==void 0?u:this._rowCount-1,this._rowStart=this._rowStart!==void 0?Math.min(this._rowStart,c):c,this._rowEnd=this._rowEnd!==void 0?Math.max(this._rowEnd,u):u,this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){return f._innerRefresh()}))},l.prototype._innerRefresh=function(){if(this._animationFrame=void 0,this._rowStart!==void 0&&this._rowEnd!==void 0&&this._rowCount!==void 0){var c=Math.max(this._rowStart,0),u=Math.min(this._rowEnd,this._rowCount-1);this._rowStart=void 0,this._rowEnd=void 0,this._renderCallback(c,u),this._runRefreshCallbacks()}else this._runRefreshCallbacks()},l.prototype._runRefreshCallbacks=function(){var c,u;try{for(var O=o(this._refreshCallbacks),f=O.next();!f.done;f=O.next())(0,f.value)(0)}catch(h){c={error:h}}finally{try{f&&!f.done&&(u=O.return)&&u.call(O)}finally{if(c)throw c.error}}this._refreshCallbacks=[]},l}();s.RenderDebouncer=a},5596:function(r,s,o){var a,l=this&&this.__extends||(a=function(u,O){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,h){f.__proto__=h}||function(f,h){for(var p in h)Object.prototype.hasOwnProperty.call(h,p)&&(f[p]=h[p])},a(u,O)},function(u,O){if(typeof O!="function"&&O!==null)throw new TypeError("Class extends value "+String(O)+" is not a constructor or null");function f(){this.constructor=u}a(u,O),u.prototype=O===null?Object.create(O):(f.prototype=O.prototype,new f)});Object.defineProperty(s,"__esModule",{value:!0}),s.ScreenDprMonitor=void 0;var c=function(u){function O(){var f=u!==null&&u.apply(this,arguments)||this;return f._currentDevicePixelRatio=window.devicePixelRatio,f}return l(O,u),O.prototype.setListener=function(f){var h=this;this._listener&&this.clearListener(),this._listener=f,this._outerListener=function(){h._listener&&(h._listener(window.devicePixelRatio,h._currentDevicePixelRatio),h._updateDpr())},this._updateDpr()},O.prototype.dispose=function(){u.prototype.dispose.call(this),this.clearListener()},O.prototype._updateDpr=function(){var f;this._outerListener&&((f=this._resolutionMediaMatchList)===null||f===void 0||f.removeListener(this._outerListener),this._currentDevicePixelRatio=window.devicePixelRatio,this._resolutionMediaMatchList=window.matchMedia("screen and (resolution: "+window.devicePixelRatio+"dppx)"),this._resolutionMediaMatchList.addListener(this._outerListener))},O.prototype.clearListener=function(){this._resolutionMediaMatchList&&this._listener&&this._outerListener&&(this._resolutionMediaMatchList.removeListener(this._outerListener),this._resolutionMediaMatchList=void 0,this._listener=void 0,this._outerListener=void 0)},O}(o(844).Disposable);s.ScreenDprMonitor=c},3236:function(r,s,o){var a,l=this&&this.__extends||(a=function(_e,ue){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(W,q){W.__proto__=q}||function(W,q){for(var F in q)Object.prototype.hasOwnProperty.call(q,F)&&(W[F]=q[F])},a(_e,ue)},function(_e,ue){if(typeof ue!="function"&&ue!==null)throw new TypeError("Class extends value "+String(ue)+" is not a constructor or null");function W(){this.constructor=_e}a(_e,ue),_e.prototype=ue===null?Object.create(ue):(W.prototype=ue.prototype,new W)}),c=this&&this.__values||function(_e){var ue=typeof Symbol=="function"&&Symbol.iterator,W=ue&&_e[ue],q=0;if(W)return W.call(_e);if(_e&&typeof _e.length=="number")return{next:function(){return _e&&q>=_e.length&&(_e=void 0),{value:_e&&_e[q++],done:!_e}}};throw new TypeError(ue?"Object is not iterable.":"Symbol.iterator is not defined.")},u=this&&this.__read||function(_e,ue){var W=typeof Symbol=="function"&&_e[Symbol.iterator];if(!W)return _e;var q,F,fe=W.call(_e),he=[];try{for(;(ue===void 0||ue-- >0)&&!(q=fe.next()).done;)he.push(q.value)}catch(ve){F={error:ve}}finally{try{q&&!q.done&&(W=fe.return)&&W.call(fe)}finally{if(F)throw F.error}}return he},O=this&&this.__spreadArray||function(_e,ue,W){if(W||arguments.length===2)for(var q,F=0,fe=ue.length;F4)&&q.coreMouseService.triggerMouseEvent({col:ge.x-33,row:ge.y-33,button:ce,action:K,ctrl:oe.ctrlKey,alt:oe.altKey,shift:oe.shiftKey})}var he={mouseup:null,wheel:null,mousedrag:null,mousemove:null},ve=function(oe){return fe(oe),oe.buttons||(W._document.removeEventListener("mouseup",he.mouseup),he.mousedrag&&W._document.removeEventListener("mousemove",he.mousedrag)),W.cancel(oe)},xe=function(oe){return fe(oe),W.cancel(oe,!0)},me=function(oe){oe.buttons&&fe(oe)},le=function(oe){oe.buttons||fe(oe)};this.register(this.coreMouseService.onProtocolChange(function(oe){oe?(W.optionsService.rawOptions.logLevel==="debug"&&W._logService.debug("Binding to mouse events:",W.coreMouseService.explainEvents(oe)),W.element.classList.add("enable-mouse-events"),W._selectionService.disable()):(W._logService.debug("Unbinding from mouse events."),W.element.classList.remove("enable-mouse-events"),W._selectionService.enable()),8&oe?he.mousemove||(F.addEventListener("mousemove",le),he.mousemove=le):(F.removeEventListener("mousemove",he.mousemove),he.mousemove=null),16&oe?he.wheel||(F.addEventListener("wheel",xe,{passive:!1}),he.wheel=xe):(F.removeEventListener("wheel",he.wheel),he.wheel=null),2&oe?he.mouseup||(he.mouseup=ve):(W._document.removeEventListener("mouseup",he.mouseup),he.mouseup=null),4&oe?he.mousedrag||(he.mousedrag=me):(W._document.removeEventListener("mousemove",he.mousedrag),he.mousedrag=null)})),this.coreMouseService.activeProtocol=this.coreMouseService.activeProtocol,this.register((0,b.addDisposableDomListener)(F,"mousedown",function(oe){if(oe.preventDefault(),W.focus(),W.coreMouseService.areMouseEventsActive&&!W._selectionService.shouldForceSelection(oe))return fe(oe),he.mouseup&&W._document.addEventListener("mouseup",he.mouseup),he.mousedrag&&W._document.addEventListener("mousemove",he.mousedrag),W.cancel(oe)})),this.register((0,b.addDisposableDomListener)(F,"wheel",function(oe){if(!he.wheel){if(!W.buffer.hasScrollback){var ce=W.viewport.getLinesScrolled(oe);if(ce===0)return;for(var K=y.C0.ESC+(W.coreService.decPrivateModes.applicationCursorKeys?"O":"[")+(oe.deltaY<0?"A":"B"),ge="",Te=0;Te=65&&W.key.charCodeAt(0)<=90)||(this._unprocessedDeadKey?(this._unprocessedDeadKey=!1,!0):(F.key!==y.C0.ETX&&F.key!==y.C0.CR||(this.textarea.value=""),this._onKey.fire({key:F.key,domEvent:W}),this._showCursor(),this.coreService.triggerDataEvent(F.key,!0),this.optionsService.rawOptions.screenReaderMode?void(this._keyDownHandled=!0):this.cancel(W,!0))))},ue.prototype._isThirdLevelShift=function(W,q){var F=W.isMac&&!this.options.macOptionIsMeta&&q.altKey&&!q.ctrlKey&&!q.metaKey||W.isWindows&&q.altKey&&q.ctrlKey&&!q.metaKey||W.isWindows&&q.getModifierState("AltGraph");return q.type==="keypress"?F:F&&(!q.keyCode||q.keyCode>47)},ue.prototype._keyUp=function(W){this._keyDownSeen=!1,this._customKeyEventHandler&&this._customKeyEventHandler(W)===!1||(function(q){return q.keyCode===16||q.keyCode===17||q.keyCode===18}(W)||this.focus(),this.updateCursorStyle(W),this._keyPressHandled=!1)},ue.prototype._keyPress=function(W){var q;if(this._keyPressHandled=!1,this._keyDownHandled||this._customKeyEventHandler&&this._customKeyEventHandler(W)===!1)return!1;if(this.cancel(W),W.charCode)q=W.charCode;else if(W.which===null||W.which===void 0)q=W.keyCode;else{if(W.which===0||W.charCode===0)return!1;q=W.which}return!(!q||(W.altKey||W.ctrlKey||W.metaKey)&&!this._isThirdLevelShift(this.browser,W)||(q=String.fromCharCode(q),this._onKey.fire({key:q,domEvent:W}),this._showCursor(),this.coreService.triggerDataEvent(q,!0),this._keyPressHandled=!0,this._unprocessedDeadKey=!1,0))},ue.prototype._inputEvent=function(W){if(W.data&&W.inputType==="insertText"&&(!W.composed||!this._keyDownSeen)&&!this.optionsService.rawOptions.screenReaderMode){if(this._keyPressHandled)return!1;this._unprocessedDeadKey=!1;var q=W.data;return this.coreService.triggerDataEvent(q,!0),this.cancel(W),!0}return!1},ue.prototype.bell=function(){var W;this._soundBell()&&((W=this._soundService)===null||W===void 0||W.playBellSound()),this._onBell.fire()},ue.prototype.resize=function(W,q){W!==this.cols||q!==this.rows?_e.prototype.resize.call(this,W,q):this._charSizeService&&!this._charSizeService.hasValidSize&&this._charSizeService.measure()},ue.prototype._afterResize=function(W,q){var F,fe;(F=this._charSizeService)===null||F===void 0||F.measure(),(fe=this.viewport)===null||fe===void 0||fe.syncScrollArea(!0)},ue.prototype.clear=function(){if(this.buffer.ybase!==0||this.buffer.y!==0){this.buffer.clearAllMarkers(),this.buffer.lines.set(0,this.buffer.lines.get(this.buffer.ybase+this.buffer.y)),this.buffer.lines.length=1,this.buffer.ydisp=0,this.buffer.ybase=0,this.buffer.y=0;for(var W=1;W{Object.defineProperty(s,"__esModule",{value:!0}),s.TimeBasedDebouncer=void 0;var o=function(){function a(l,c){c===void 0&&(c=1e3),this._renderCallback=l,this._debounceThresholdMS=c,this._lastRefreshMs=0,this._additionalRefreshRequested=!1}return a.prototype.dispose=function(){this._refreshTimeoutID&&clearTimeout(this._refreshTimeoutID)},a.prototype.refresh=function(l,c,u){var O=this;this._rowCount=u,l=l!==void 0?l:0,c=c!==void 0?c:this._rowCount-1,this._rowStart=this._rowStart!==void 0?Math.min(this._rowStart,l):l,this._rowEnd=this._rowEnd!==void 0?Math.max(this._rowEnd,c):c;var f=Date.now();if(f-this._lastRefreshMs>=this._debounceThresholdMS)this._lastRefreshMs=f,this._innerRefresh();else if(!this._additionalRefreshRequested){var h=f-this._lastRefreshMs,p=this._debounceThresholdMS-h;this._additionalRefreshRequested=!0,this._refreshTimeoutID=window.setTimeout(function(){O._lastRefreshMs=Date.now(),O._innerRefresh(),O._additionalRefreshRequested=!1,O._refreshTimeoutID=void 0},p)}},a.prototype._innerRefresh=function(){if(this._rowStart!==void 0&&this._rowEnd!==void 0&&this._rowCount!==void 0){var l=Math.max(this._rowStart,0),c=Math.min(this._rowEnd,this._rowCount-1);this._rowStart=void 0,this._rowEnd=void 0,this._renderCallback(l,c)}},a}();s.TimeBasedDebouncer=o},1680:function(r,s,o){var a,l=this&&this.__extends||(a=function($,m){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,g){d.__proto__=g}||function(d,g){for(var v in g)Object.prototype.hasOwnProperty.call(g,v)&&(d[v]=g[v])},a($,m)},function($,m){if(typeof m!="function"&&m!==null)throw new TypeError("Class extends value "+String(m)+" is not a constructor or null");function d(){this.constructor=$}a($,m),$.prototype=m===null?Object.create(m):(d.prototype=m.prototype,new d)}),c=this&&this.__decorate||function($,m,d,g){var v,b=arguments.length,_=b<3?m:g===null?g=Object.getOwnPropertyDescriptor(m,d):g;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")_=Reflect.decorate($,m,d,g);else for(var Q=$.length-1;Q>=0;Q--)(v=$[Q])&&(_=(b<3?v(_):b>3?v(m,d,_):v(m,d))||_);return b>3&&_&&Object.defineProperty(m,d,_),_},u=this&&this.__param||function($,m){return function(d,g){m(d,g,$)}};Object.defineProperty(s,"__esModule",{value:!0}),s.Viewport=void 0;var O=o(844),f=o(3656),h=o(4725),p=o(2585),y=function($){function m(d,g,v,b,_,Q,S,P){var w=$.call(this)||this;return w._scrollLines=d,w._viewportElement=g,w._scrollArea=v,w._element=b,w._bufferService=_,w._optionsService=Q,w._charSizeService=S,w._renderService=P,w.scrollBarWidth=0,w._currentRowHeight=0,w._currentScaledCellHeight=0,w._lastRecordedBufferLength=0,w._lastRecordedViewportHeight=0,w._lastRecordedBufferHeight=0,w._lastTouchY=0,w._lastScrollTop=0,w._wheelPartialScroll=0,w._refreshAnimationFrame=null,w._ignoreNextScrollEvent=!1,w.scrollBarWidth=w._viewportElement.offsetWidth-w._scrollArea.offsetWidth||15,w.register((0,f.addDisposableDomListener)(w._viewportElement,"scroll",w._onScroll.bind(w))),w._activeBuffer=w._bufferService.buffer,w.register(w._bufferService.buffers.onBufferActivate(function(x){return w._activeBuffer=x.activeBuffer})),w._renderDimensions=w._renderService.dimensions,w.register(w._renderService.onDimensionsChange(function(x){return w._renderDimensions=x})),setTimeout(function(){return w.syncScrollArea()},0),w}return l(m,$),m.prototype.onThemeChange=function(d){this._viewportElement.style.backgroundColor=d.background.css},m.prototype._refresh=function(d){var g=this;if(d)return this._innerRefresh(),void(this._refreshAnimationFrame!==null&&cancelAnimationFrame(this._refreshAnimationFrame));this._refreshAnimationFrame===null&&(this._refreshAnimationFrame=requestAnimationFrame(function(){return g._innerRefresh()}))},m.prototype._innerRefresh=function(){if(this._charSizeService.height>0){this._currentRowHeight=this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio,this._currentScaledCellHeight=this._renderService.dimensions.scaledCellHeight,this._lastRecordedViewportHeight=this._viewportElement.offsetHeight;var d=Math.round(this._currentRowHeight*this._lastRecordedBufferLength)+(this._lastRecordedViewportHeight-this._renderService.dimensions.canvasHeight);this._lastRecordedBufferHeight!==d&&(this._lastRecordedBufferHeight=d,this._scrollArea.style.height=this._lastRecordedBufferHeight+"px")}var g=this._bufferService.buffer.ydisp*this._currentRowHeight;this._viewportElement.scrollTop!==g&&(this._ignoreNextScrollEvent=!0,this._viewportElement.scrollTop=g),this._refreshAnimationFrame=null},m.prototype.syncScrollArea=function(d){if(d===void 0&&(d=!1),this._lastRecordedBufferLength!==this._bufferService.buffer.lines.length)return this._lastRecordedBufferLength=this._bufferService.buffer.lines.length,void this._refresh(d);this._lastRecordedViewportHeight===this._renderService.dimensions.canvasHeight&&this._lastScrollTop===this._activeBuffer.ydisp*this._currentRowHeight&&this._renderDimensions.scaledCellHeight===this._currentScaledCellHeight||this._refresh(d)},m.prototype._onScroll=function(d){if(this._lastScrollTop=this._viewportElement.scrollTop,this._viewportElement.offsetParent){if(this._ignoreNextScrollEvent)return this._ignoreNextScrollEvent=!1,void this._scrollLines(0);var g=Math.round(this._lastScrollTop/this._currentRowHeight)-this._bufferService.buffer.ydisp;this._scrollLines(g)}},m.prototype._bubbleScroll=function(d,g){var v=this._viewportElement.scrollTop+this._lastRecordedViewportHeight;return!(g<0&&this._viewportElement.scrollTop!==0||g>0&&v0?1:-1),this._wheelPartialScroll%=1):d.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(g*=this._bufferService.rows),g},m.prototype._applyScrollModifier=function(d,g){var v=this._optionsService.rawOptions.fastScrollModifier;return v==="alt"&&g.altKey||v==="ctrl"&&g.ctrlKey||v==="shift"&&g.shiftKey?d*this._optionsService.rawOptions.fastScrollSensitivity*this._optionsService.rawOptions.scrollSensitivity:d*this._optionsService.rawOptions.scrollSensitivity},m.prototype.onTouchStart=function(d){this._lastTouchY=d.touches[0].pageY},m.prototype.onTouchMove=function(d){var g=this._lastTouchY-d.touches[0].pageY;return this._lastTouchY=d.touches[0].pageY,g!==0&&(this._viewportElement.scrollTop+=g,this._bubbleScroll(d,g))},c([u(4,p.IBufferService),u(5,p.IOptionsService),u(6,h.ICharSizeService),u(7,h.IRenderService)],m)}(O.Disposable);s.Viewport=y},3107:function(r,s,o){var a,l=this&&this.__extends||(a=function(m,d){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,v){g.__proto__=v}||function(g,v){for(var b in v)Object.prototype.hasOwnProperty.call(v,b)&&(g[b]=v[b])},a(m,d)},function(m,d){if(typeof d!="function"&&d!==null)throw new TypeError("Class extends value "+String(d)+" is not a constructor or null");function g(){this.constructor=m}a(m,d),m.prototype=d===null?Object.create(d):(g.prototype=d.prototype,new g)}),c=this&&this.__decorate||function(m,d,g,v){var b,_=arguments.length,Q=_<3?d:v===null?v=Object.getOwnPropertyDescriptor(d,g):v;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")Q=Reflect.decorate(m,d,g,v);else for(var S=m.length-1;S>=0;S--)(b=m[S])&&(Q=(_<3?b(Q):_>3?b(d,g,Q):b(d,g))||Q);return _>3&&Q&&Object.defineProperty(d,g,Q),Q},u=this&&this.__param||function(m,d){return function(g,v){d(g,v,m)}},O=this&&this.__values||function(m){var d=typeof Symbol=="function"&&Symbol.iterator,g=d&&m[d],v=0;if(g)return g.call(m);if(m&&typeof m.length=="number")return{next:function(){return m&&v>=m.length&&(m=void 0),{value:m&&m[v++],done:!m}}};throw new TypeError(d?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(s,"__esModule",{value:!0}),s.BufferDecorationRenderer=void 0;var f=o(3656),h=o(4725),p=o(844),y=o(2585),$=function(m){function d(g,v,b,_){var Q=m.call(this)||this;return Q._screenElement=g,Q._bufferService=v,Q._decorationService=b,Q._renderService=_,Q._decorationElements=new Map,Q._altBufferIsActive=!1,Q._dimensionsChanged=!1,Q._container=document.createElement("div"),Q._container.classList.add("xterm-decoration-container"),Q._screenElement.appendChild(Q._container),Q.register(Q._renderService.onRenderedViewportChange(function(){return Q._queueRefresh()})),Q.register(Q._renderService.onDimensionsChange(function(){Q._dimensionsChanged=!0,Q._queueRefresh()})),Q.register((0,f.addDisposableDomListener)(window,"resize",function(){return Q._queueRefresh()})),Q.register(Q._bufferService.buffers.onBufferActivate(function(){Q._altBufferIsActive=Q._bufferService.buffer===Q._bufferService.buffers.alt})),Q.register(Q._decorationService.onDecorationRegistered(function(){return Q._queueRefresh()})),Q.register(Q._decorationService.onDecorationRemoved(function(S){return Q._removeDecoration(S)})),Q}return l(d,m),d.prototype.dispose=function(){this._container.remove(),this._decorationElements.clear(),m.prototype.dispose.call(this)},d.prototype._queueRefresh=function(){var g=this;this._animationFrame===void 0&&(this._animationFrame=this._renderService.addRefreshCallback(function(){g.refreshDecorations(),g._animationFrame=void 0}))},d.prototype.refreshDecorations=function(){var g,v;try{for(var b=O(this._decorationService.decorations),_=b.next();!_.done;_=b.next()){var Q=_.value;this._renderDecoration(Q)}}catch(S){g={error:S}}finally{try{_&&!_.done&&(v=b.return)&&v.call(b)}finally{if(g)throw g.error}}this._dimensionsChanged=!1},d.prototype._renderDecoration=function(g){this._refreshStyle(g),this._dimensionsChanged&&this._refreshXPosition(g)},d.prototype._createElement=function(g){var v,b=document.createElement("div");b.classList.add("xterm-decoration"),b.style.width=Math.round((g.options.width||1)*this._renderService.dimensions.actualCellWidth)+"px",b.style.height=(g.options.height||1)*this._renderService.dimensions.actualCellHeight+"px",b.style.top=(g.marker.line-this._bufferService.buffers.active.ydisp)*this._renderService.dimensions.actualCellHeight+"px",b.style.lineHeight=this._renderService.dimensions.actualCellHeight+"px";var _=(v=g.options.x)!==null&&v!==void 0?v:0;return _&&_>this._bufferService.cols&&(b.style.display="none"),this._refreshXPosition(g,b),b},d.prototype._refreshStyle=function(g){var v=this,b=g.marker.line-this._bufferService.buffers.active.ydisp;if(b<0||b>=this._bufferService.rows)g.element&&(g.element.style.display="none",g.onRenderEmitter.fire(g.element));else{var _=this._decorationElements.get(g);_||(g.onDispose(function(){return v._removeDecoration(g)}),_=this._createElement(g),g.element=_,this._decorationElements.set(g,_),this._container.appendChild(_)),_.style.top=b*this._renderService.dimensions.actualCellHeight+"px",_.style.display=this._altBufferIsActive?"none":"block",g.onRenderEmitter.fire(_)}},d.prototype._refreshXPosition=function(g,v){var b;if(v===void 0&&(v=g.element),v){var _=(b=g.options.x)!==null&&b!==void 0?b:0;(g.options.anchor||"left")==="right"?v.style.right=_?_*this._renderService.dimensions.actualCellWidth+"px":"":v.style.left=_?_*this._renderService.dimensions.actualCellWidth+"px":""}},d.prototype._removeDecoration=function(g){var v;(v=this._decorationElements.get(g))===null||v===void 0||v.remove(),this._decorationElements.delete(g)},c([u(1,y.IBufferService),u(2,y.IDecorationService),u(3,h.IRenderService)],d)}(p.Disposable);s.BufferDecorationRenderer=$},5871:function(r,s){var o=this&&this.__values||function(l){var c=typeof Symbol=="function"&&Symbol.iterator,u=c&&l[c],O=0;if(u)return u.call(l);if(l&&typeof l.length=="number")return{next:function(){return l&&O>=l.length&&(l=void 0),{value:l&&l[O++],done:!l}}};throw new TypeError(c?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(s,"__esModule",{value:!0}),s.ColorZoneStore=void 0;var a=function(){function l(){this._zones=[],this._zonePool=[],this._zonePoolIndex=0,this._linePadding={full:0,left:0,center:0,right:0}}return Object.defineProperty(l.prototype,"zones",{get:function(){return this._zonePool.length=Math.min(this._zonePool.length,this._zones.length),this._zones},enumerable:!1,configurable:!0}),l.prototype.clear=function(){this._zones.length=0,this._zonePoolIndex=0},l.prototype.addDecoration=function(c){var u,O;if(c.options.overviewRulerOptions){try{for(var f=o(this._zones),h=f.next();!h.done;h=f.next()){var p=h.value;if(p.color===c.options.overviewRulerOptions.color&&p.position===c.options.overviewRulerOptions.position){if(this._lineIntersectsZone(p,c.marker.line))return;if(this._lineAdjacentToZone(p,c.marker.line,c.options.overviewRulerOptions.position))return void this._addLineToZone(p,c.marker.line)}}}catch(y){u={error:y}}finally{try{h&&!h.done&&(O=f.return)&&O.call(f)}finally{if(u)throw u.error}}if(this._zonePoolIndex=c.startBufferLine&&u<=c.endBufferLine},l.prototype._lineAdjacentToZone=function(c,u,O){return u>=c.startBufferLine-this._linePadding[O||"full"]&&u<=c.endBufferLine+this._linePadding[O||"full"]},l.prototype._addLineToZone=function(c,u){c.startBufferLine=Math.min(c.startBufferLine,u),c.endBufferLine=Math.max(c.endBufferLine,u)},l}();s.ColorZoneStore=a},5744:function(r,s,o){var a,l=this&&this.__extends||(a=function(b,_){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Q,S){Q.__proto__=S}||function(Q,S){for(var P in S)Object.prototype.hasOwnProperty.call(S,P)&&(Q[P]=S[P])},a(b,_)},function(b,_){if(typeof _!="function"&&_!==null)throw new TypeError("Class extends value "+String(_)+" is not a constructor or null");function Q(){this.constructor=b}a(b,_),b.prototype=_===null?Object.create(_):(Q.prototype=_.prototype,new Q)}),c=this&&this.__decorate||function(b,_,Q,S){var P,w=arguments.length,x=w<3?_:S===null?S=Object.getOwnPropertyDescriptor(_,Q):S;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(b,_,Q,S);else for(var k=b.length-1;k>=0;k--)(P=b[k])&&(x=(w<3?P(x):w>3?P(_,Q,x):P(_,Q))||x);return w>3&&x&&Object.defineProperty(_,Q,x),x},u=this&&this.__param||function(b,_){return function(Q,S){_(Q,S,b)}},O=this&&this.__values||function(b){var _=typeof Symbol=="function"&&Symbol.iterator,Q=_&&b[_],S=0;if(Q)return Q.call(b);if(b&&typeof b.length=="number")return{next:function(){return b&&S>=b.length&&(b=void 0),{value:b&&b[S++],done:!b}}};throw new TypeError(_?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(s,"__esModule",{value:!0}),s.OverviewRulerRenderer=void 0;var f=o(5871),h=o(3656),p=o(4725),y=o(844),$=o(2585),m={full:0,left:0,center:0,right:0},d={full:0,left:0,center:0,right:0},g={full:0,left:0,center:0,right:0},v=function(b){function _(Q,S,P,w,x,k){var C,T=b.call(this)||this;T._viewportElement=Q,T._screenElement=S,T._bufferService=P,T._decorationService=w,T._renderService=x,T._optionsService=k,T._colorZoneStore=new f.ColorZoneStore,T._shouldUpdateDimensions=!0,T._shouldUpdateAnchor=!0,T._lastKnownBufferLength=0,T._canvas=document.createElement("canvas"),T._canvas.classList.add("xterm-decoration-overview-ruler"),T._refreshCanvasDimensions(),(C=T._viewportElement.parentElement)===null||C===void 0||C.insertBefore(T._canvas,T._viewportElement);var E=T._canvas.getContext("2d");if(!E)throw new Error("Ctx cannot be null");return T._ctx=E,T._registerDecorationListeners(),T._registerBufferChangeListeners(),T._registerDimensionChangeListeners(),T}return l(_,b),Object.defineProperty(_.prototype,"_width",{get:function(){return this._optionsService.options.overviewRulerWidth||0},enumerable:!1,configurable:!0}),_.prototype._registerDecorationListeners=function(){var Q=this;this.register(this._decorationService.onDecorationRegistered(function(){return Q._queueRefresh(void 0,!0)})),this.register(this._decorationService.onDecorationRemoved(function(){return Q._queueRefresh(void 0,!0)}))},_.prototype._registerBufferChangeListeners=function(){var Q=this;this.register(this._renderService.onRenderedViewportChange(function(){return Q._queueRefresh()})),this.register(this._bufferService.buffers.onBufferActivate(function(){Q._canvas.style.display=Q._bufferService.buffer===Q._bufferService.buffers.alt?"none":"block"})),this.register(this._bufferService.onScroll(function(){Q._lastKnownBufferLength!==Q._bufferService.buffers.normal.lines.length&&(Q._refreshDrawHeightConstants(),Q._refreshColorZonePadding())}))},_.prototype._registerDimensionChangeListeners=function(){var Q=this;this.register(this._renderService.onRender(function(){Q._containerHeight&&Q._containerHeight===Q._screenElement.clientHeight||(Q._queueRefresh(!0),Q._containerHeight=Q._screenElement.clientHeight)})),this.register(this._optionsService.onOptionChange(function(S){S==="overviewRulerWidth"&&Q._queueRefresh(!0)})),this.register((0,h.addDisposableDomListener)(window,"resize",function(){Q._queueRefresh(!0)})),this._queueRefresh(!0)},_.prototype.dispose=function(){var Q;(Q=this._canvas)===null||Q===void 0||Q.remove(),b.prototype.dispose.call(this)},_.prototype._refreshDrawConstants=function(){var Q=Math.floor(this._canvas.width/3),S=Math.ceil(this._canvas.width/3);d.full=this._canvas.width,d.left=Q,d.center=S,d.right=Q,this._refreshDrawHeightConstants(),g.full=0,g.left=0,g.center=d.left,g.right=d.left+d.center},_.prototype._refreshDrawHeightConstants=function(){m.full=Math.round(2*window.devicePixelRatio);var Q=this._canvas.height/this._bufferService.buffer.lines.length,S=Math.round(Math.max(Math.min(Q,12),6)*window.devicePixelRatio);m.left=S,m.center=S,m.right=S},_.prototype._refreshColorZonePadding=function(){this._colorZoneStore.setPadding({full:Math.floor(this._bufferService.buffers.active.lines.length/(this._canvas.height-1)*m.full),left:Math.floor(this._bufferService.buffers.active.lines.length/(this._canvas.height-1)*m.left),center:Math.floor(this._bufferService.buffers.active.lines.length/(this._canvas.height-1)*m.center),right:Math.floor(this._bufferService.buffers.active.lines.length/(this._canvas.height-1)*m.right)}),this._lastKnownBufferLength=this._bufferService.buffers.normal.lines.length},_.prototype._refreshCanvasDimensions=function(){this._canvas.style.width=this._width+"px",this._canvas.width=Math.round(this._width*window.devicePixelRatio),this._canvas.style.height=this._screenElement.clientHeight+"px",this._canvas.height=Math.round(this._screenElement.clientHeight*window.devicePixelRatio),this._refreshDrawConstants(),this._refreshColorZonePadding()},_.prototype._refreshDecorations=function(){var Q,S,P,w,x,k;this._shouldUpdateDimensions&&this._refreshCanvasDimensions(),this._ctx.clearRect(0,0,this._canvas.width,this._canvas.height),this._colorZoneStore.clear();try{for(var C=O(this._decorationService.decorations),T=C.next();!T.done;T=C.next()){var E=T.value;this._colorZoneStore.addDecoration(E)}}catch(Y){Q={error:Y}}finally{try{T&&!T.done&&(S=C.return)&&S.call(C)}finally{if(Q)throw Q.error}}this._ctx.lineWidth=1;var A=this._colorZoneStore.zones;try{for(var R=O(A),X=R.next();!X.done;X=R.next())(j=X.value).position!=="full"&&this._renderColorZone(j)}catch(Y){P={error:Y}}finally{try{X&&!X.done&&(w=R.return)&&w.call(R)}finally{if(P)throw P.error}}try{for(var U=O(A),V=U.next();!V.done;V=U.next()){var j;(j=V.value).position==="full"&&this._renderColorZone(j)}}catch(Y){x={error:Y}}finally{try{V&&!V.done&&(k=U.return)&&k.call(U)}finally{if(x)throw x.error}}this._shouldUpdateDimensions=!1,this._shouldUpdateAnchor=!1},_.prototype._renderColorZone=function(Q){this._ctx.fillStyle=Q.color,this._ctx.fillRect(g[Q.position||"full"],Math.round((this._canvas.height-1)*(Q.startBufferLine/this._bufferService.buffers.active.lines.length)-m[Q.position||"full"]/2),d[Q.position||"full"],Math.round((this._canvas.height-1)*((Q.endBufferLine-Q.startBufferLine)/this._bufferService.buffers.active.lines.length)+m[Q.position||"full"]))},_.prototype._queueRefresh=function(Q,S){var P=this;this._shouldUpdateDimensions=Q||this._shouldUpdateDimensions,this._shouldUpdateAnchor=S||this._shouldUpdateAnchor,this._animationFrame===void 0&&(this._animationFrame=window.requestAnimationFrame(function(){P._refreshDecorations(),P._animationFrame=void 0}))},c([u(2,$.IBufferService),u(3,$.IDecorationService),u(4,p.IRenderService),u(5,$.IOptionsService)],_)}(y.Disposable);s.OverviewRulerRenderer=v},2950:function(r,s,o){var a=this&&this.__decorate||function(f,h,p,y){var $,m=arguments.length,d=m<3?h:y===null?y=Object.getOwnPropertyDescriptor(h,p):y;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")d=Reflect.decorate(f,h,p,y);else for(var g=f.length-1;g>=0;g--)($=f[g])&&(d=(m<3?$(d):m>3?$(h,p,d):$(h,p))||d);return m>3&&d&&Object.defineProperty(h,p,d),d},l=this&&this.__param||function(f,h){return function(p,y){h(p,y,f)}};Object.defineProperty(s,"__esModule",{value:!0}),s.CompositionHelper=void 0;var c=o(4725),u=o(2585),O=function(){function f(h,p,y,$,m,d){this._textarea=h,this._compositionView=p,this._bufferService=y,this._optionsService=$,this._coreService=m,this._renderService=d,this._isComposing=!1,this._isSendingComposition=!1,this._compositionPosition={start:0,end:0},this._dataAlreadySent=""}return Object.defineProperty(f.prototype,"isComposing",{get:function(){return this._isComposing},enumerable:!1,configurable:!0}),f.prototype.compositionstart=function(){this._isComposing=!0,this._compositionPosition.start=this._textarea.value.length,this._compositionView.textContent="",this._dataAlreadySent="",this._compositionView.classList.add("active")},f.prototype.compositionupdate=function(h){var p=this;this._compositionView.textContent=h.data,this.updateCompositionElements(),setTimeout(function(){p._compositionPosition.end=p._textarea.value.length},0)},f.prototype.compositionend=function(){this._finalizeComposition(!0)},f.prototype.keydown=function(h){if(this._isComposing||this._isSendingComposition){if(h.keyCode===229||h.keyCode===16||h.keyCode===17||h.keyCode===18)return!1;this._finalizeComposition(!1)}return h.keyCode!==229||(this._handleAnyTextareaChanges(),!1)},f.prototype._finalizeComposition=function(h){var p=this;if(this._compositionView.classList.remove("active"),this._isComposing=!1,h){var y={start:this._compositionPosition.start,end:this._compositionPosition.end};this._isSendingComposition=!0,setTimeout(function(){if(p._isSendingComposition){p._isSendingComposition=!1;var m;y.start+=p._dataAlreadySent.length,(m=p._isComposing?p._textarea.value.substring(y.start,y.end):p._textarea.value.substring(y.start)).length>0&&p._coreService.triggerDataEvent(m,!0)}},0)}else{this._isSendingComposition=!1;var $=this._textarea.value.substring(this._compositionPosition.start,this._compositionPosition.end);this._coreService.triggerDataEvent($,!0)}},f.prototype._handleAnyTextareaChanges=function(){var h=this,p=this._textarea.value;setTimeout(function(){if(!h._isComposing){var y=h._textarea.value.replace(p,"");y.length>0&&(h._dataAlreadySent=y,h._coreService.triggerDataEvent(y,!0))}},0)},f.prototype.updateCompositionElements=function(h){var p=this;if(this._isComposing){if(this._bufferService.buffer.isCursorInViewport){var y=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1),$=this._renderService.dimensions.actualCellHeight,m=this._bufferService.buffer.y*this._renderService.dimensions.actualCellHeight,d=y*this._renderService.dimensions.actualCellWidth;this._compositionView.style.left=d+"px",this._compositionView.style.top=m+"px",this._compositionView.style.height=$+"px",this._compositionView.style.lineHeight=$+"px",this._compositionView.style.fontFamily=this._optionsService.rawOptions.fontFamily,this._compositionView.style.fontSize=this._optionsService.rawOptions.fontSize+"px";var g=this._compositionView.getBoundingClientRect();this._textarea.style.left=d+"px",this._textarea.style.top=m+"px",this._textarea.style.width=Math.max(g.width,1)+"px",this._textarea.style.height=Math.max(g.height,1)+"px",this._textarea.style.lineHeight=g.height+"px"}h||setTimeout(function(){return p.updateCompositionElements(!0)},0)}},a([l(2,u.IBufferService),l(3,u.IOptionsService),l(4,u.ICoreService),l(5,c.IRenderService)],f)}();s.CompositionHelper=O},9806:(r,s)=>{function o(a,l,c){var u=c.getBoundingClientRect(),O=a.getComputedStyle(c),f=parseInt(O.getPropertyValue("padding-left")),h=parseInt(O.getPropertyValue("padding-top"));return[l.clientX-u.left-f,l.clientY-u.top-h]}Object.defineProperty(s,"__esModule",{value:!0}),s.getRawByteCoords=s.getCoords=s.getCoordsRelativeToElement=void 0,s.getCoordsRelativeToElement=o,s.getCoords=function(a,l,c,u,O,f,h,p,y){if(f){var $=o(a,l,c);if($)return $[0]=Math.ceil(($[0]+(y?h/2:0))/h),$[1]=Math.ceil($[1]/p),$[0]=Math.min(Math.max($[0],1),u+(y?1:0)),$[1]=Math.min(Math.max($[1],1),O),$}},s.getRawByteCoords=function(a){if(a)return{x:a[0]+32,y:a[1]+32}}},9504:(r,s,o)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.moveToCellSequence=void 0;var a=o(2584);function l(p,y,$,m){var d=p-c($,p),g=y-c($,y),v=Math.abs(d-g)-function(b,_,Q){for(var S=0,P=b-c(Q,b),w=_-c(Q,_),x=0;x=0&&yy?"A":"B"}function O(p,y,$,m,d,g){for(var v=p,b=y,_="";v!==$||b!==m;)v+=d?1:-1,d&&v>g.cols-1?(_+=g.buffer.translateBufferLineToString(b,!1,p,v),v=0,p=0,b++):!d&&v<0&&(_+=g.buffer.translateBufferLineToString(b,!1,0,p+1),p=v=g.cols-1,b--);return _+g.buffer.translateBufferLineToString(b,!1,p,v)}function f(p,y){var $=y?"O":"[";return a.C0.ESC+$+p}function h(p,y){p=Math.floor(p);for(var $="",m=0;m0?P-c(w,P):Q;var C=P,T=function(E,A,R,X,U,V){var j;return j=l(R,X,U,V).length>0?X-c(U,X):A,E=R&&jp?"D":"C",h(Math.abs(g-p),f(d,m));d=v>y?"D":"C";var b=Math.abs(v-y);return h(function(_,Q){return Q.cols-_}(v>y?p:g,$)+(b-1)*$.cols+1+((v>y?g:p)-1),f(d,m))}},4389:function(r,s,o){var a=this&&this.__assign||function(){return a=Object.assign||function(m){for(var d,g=1,v=arguments.length;g=m.length&&(m=void 0),{value:m&&m[v++],done:!m}}};throw new TypeError(d?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(s,"__esModule",{value:!0}),s.Terminal=void 0;var c=o(3236),u=o(9042),O=o(7975),f=o(7090),h=o(5741),p=o(8285),y=["cols","rows"],$=function(){function m(d){var g=this;this._core=new c.Terminal(d),this._addonManager=new h.AddonManager,this._publicOptions=a({},this._core.options);var v=function(S){return g._core.options[S]},b=function(S,P){g._checkReadonlyOptions(S),g._core.options[S]=P};for(var _ in this._core.options){var Q={get:v.bind(this,_),set:b.bind(this,_)};Object.defineProperty(this._publicOptions,_,Q)}}return m.prototype._checkReadonlyOptions=function(d){if(y.includes(d))throw new Error('Option "'+d+'" can only be set in the constructor')},m.prototype._checkProposedApi=function(){if(!this._core.optionsService.rawOptions.allowProposedApi)throw new Error("You must set the allowProposedApi option to true to use proposed API")},Object.defineProperty(m.prototype,"onBell",{get:function(){return this._core.onBell},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"onBinary",{get:function(){return this._core.onBinary},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"onCursorMove",{get:function(){return this._core.onCursorMove},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"onData",{get:function(){return this._core.onData},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"onKey",{get:function(){return this._core.onKey},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"onLineFeed",{get:function(){return this._core.onLineFeed},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"onRender",{get:function(){return this._core.onRender},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"onResize",{get:function(){return this._core.onResize},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"onScroll",{get:function(){return this._core.onScroll},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"onSelectionChange",{get:function(){return this._core.onSelectionChange},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"onTitleChange",{get:function(){return this._core.onTitleChange},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"onWriteParsed",{get:function(){return this._core.onWriteParsed},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"element",{get:function(){return this._core.element},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"parser",{get:function(){return this._checkProposedApi(),this._parser||(this._parser=new O.ParserApi(this._core)),this._parser},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"unicode",{get:function(){return this._checkProposedApi(),new f.UnicodeApi(this._core)},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"textarea",{get:function(){return this._core.textarea},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"rows",{get:function(){return this._core.rows},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"cols",{get:function(){return this._core.cols},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"buffer",{get:function(){return this._checkProposedApi(),this._buffer||(this._buffer=new p.BufferNamespaceApi(this._core)),this._buffer},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"markers",{get:function(){return this._checkProposedApi(),this._core.markers},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"modes",{get:function(){var d=this._core.coreService.decPrivateModes,g="none";switch(this._core.coreMouseService.activeProtocol){case"X10":g="x10";break;case"VT200":g="vt200";break;case"DRAG":g="drag";break;case"ANY":g="any"}return{applicationCursorKeysMode:d.applicationCursorKeys,applicationKeypadMode:d.applicationKeypad,bracketedPasteMode:d.bracketedPasteMode,insertMode:this._core.coreService.modes.insertMode,mouseTrackingMode:g,originMode:d.origin,reverseWraparoundMode:d.reverseWraparound,sendFocusMode:d.sendFocus,wraparoundMode:d.wraparound}},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"options",{get:function(){return this._publicOptions},set:function(d){for(var g in d)this._publicOptions[g]=d[g]},enumerable:!1,configurable:!0}),m.prototype.blur=function(){this._core.blur()},m.prototype.focus=function(){this._core.focus()},m.prototype.resize=function(d,g){this._verifyIntegers(d,g),this._core.resize(d,g)},m.prototype.open=function(d){this._core.open(d)},m.prototype.attachCustomKeyEventHandler=function(d){this._core.attachCustomKeyEventHandler(d)},m.prototype.registerLinkMatcher=function(d,g,v){return this._checkProposedApi(),this._core.registerLinkMatcher(d,g,v)},m.prototype.deregisterLinkMatcher=function(d){this._checkProposedApi(),this._core.deregisterLinkMatcher(d)},m.prototype.registerLinkProvider=function(d){return this._checkProposedApi(),this._core.registerLinkProvider(d)},m.prototype.registerCharacterJoiner=function(d){return this._checkProposedApi(),this._core.registerCharacterJoiner(d)},m.prototype.deregisterCharacterJoiner=function(d){this._checkProposedApi(),this._core.deregisterCharacterJoiner(d)},m.prototype.registerMarker=function(d){return d===void 0&&(d=0),this._checkProposedApi(),this._verifyIntegers(d),this._core.addMarker(d)},m.prototype.registerDecoration=function(d){var g,v,b;return this._checkProposedApi(),this._verifyPositiveIntegers((g=d.x)!==null&&g!==void 0?g:0,(v=d.width)!==null&&v!==void 0?v:0,(b=d.height)!==null&&b!==void 0?b:0),this._core.registerDecoration(d)},m.prototype.addMarker=function(d){return this.registerMarker(d)},m.prototype.hasSelection=function(){return this._core.hasSelection()},m.prototype.select=function(d,g,v){this._verifyIntegers(d,g,v),this._core.select(d,g,v)},m.prototype.getSelection=function(){return this._core.getSelection()},m.prototype.getSelectionPosition=function(){return this._core.getSelectionPosition()},m.prototype.clearSelection=function(){this._core.clearSelection()},m.prototype.selectAll=function(){this._core.selectAll()},m.prototype.selectLines=function(d,g){this._verifyIntegers(d,g),this._core.selectLines(d,g)},m.prototype.dispose=function(){this._addonManager.dispose(),this._core.dispose()},m.prototype.scrollLines=function(d){this._verifyIntegers(d),this._core.scrollLines(d)},m.prototype.scrollPages=function(d){this._verifyIntegers(d),this._core.scrollPages(d)},m.prototype.scrollToTop=function(){this._core.scrollToTop()},m.prototype.scrollToBottom=function(){this._core.scrollToBottom()},m.prototype.scrollToLine=function(d){this._verifyIntegers(d),this._core.scrollToLine(d)},m.prototype.clear=function(){this._core.clear()},m.prototype.write=function(d,g){this._core.write(d,g)},m.prototype.writeUtf8=function(d,g){this._core.write(d,g)},m.prototype.writeln=function(d,g){this._core.write(d),this._core.write(`\r -`,g)},m.prototype.paste=function(d){this._core.paste(d)},m.prototype.getOption=function(d){return this._core.optionsService.getOption(d)},m.prototype.setOption=function(d,g){this._checkReadonlyOptions(d),this._core.optionsService.setOption(d,g)},m.prototype.refresh=function(d,g){this._verifyIntegers(d,g),this._core.refresh(d,g)},m.prototype.reset=function(){this._core.reset()},m.prototype.clearTextureAtlas=function(){this._core.clearTextureAtlas()},m.prototype.loadAddon=function(d){return this._addonManager.loadAddon(this,d)},Object.defineProperty(m,"strings",{get:function(){return u},enumerable:!1,configurable:!0}),m.prototype._verifyIntegers=function(){for(var d,g,v=[],b=0;b=m.length&&(m=void 0),{value:m&&m[v++],done:!m}}};throw new TypeError(d?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(s,"__esModule",{value:!0}),s.BaseRenderLayer=void 0;var l=o(643),c=o(8803),u=o(1420),O=o(3734),f=o(1752),h=o(8055),p=o(9631),y=o(8978),$=function(){function m(d,g,v,b,_,Q,S,P,w){this._container=d,this._alpha=b,this._colors=_,this._rendererId=Q,this._bufferService=S,this._optionsService=P,this._decorationService=w,this._scaledCharWidth=0,this._scaledCharHeight=0,this._scaledCellWidth=0,this._scaledCellHeight=0,this._scaledCharLeft=0,this._scaledCharTop=0,this._columnSelectMode=!1,this._currentGlyphIdentifier={chars:"",code:0,bg:0,fg:0,bold:!1,dim:!1,italic:!1},this._canvas=document.createElement("canvas"),this._canvas.classList.add("xterm-"+g+"-layer"),this._canvas.style.zIndex=v.toString(),this._initCanvas(),this._container.appendChild(this._canvas)}return m.prototype.dispose=function(){var d;(0,p.removeElementFromParent)(this._canvas),(d=this._charAtlas)===null||d===void 0||d.dispose()},m.prototype._initCanvas=function(){this._ctx=(0,f.throwIfFalsy)(this._canvas.getContext("2d",{alpha:this._alpha})),this._alpha||this._clearAll()},m.prototype.onOptionsChanged=function(){},m.prototype.onBlur=function(){},m.prototype.onFocus=function(){},m.prototype.onCursorMove=function(){},m.prototype.onGridChanged=function(d,g){},m.prototype.onSelectionChanged=function(d,g,v){v===void 0&&(v=!1),this._selectionStart=d,this._selectionEnd=g,this._columnSelectMode=v},m.prototype.setColors=function(d){this._refreshCharAtlas(d)},m.prototype._setTransparency=function(d){if(d!==this._alpha){var g=this._canvas;this._alpha=d,this._canvas=this._canvas.cloneNode(),this._initCanvas(),this._container.replaceChild(this._canvas,g),this._refreshCharAtlas(this._colors),this.onGridChanged(0,this._bufferService.rows-1)}},m.prototype._refreshCharAtlas=function(d){this._scaledCharWidth<=0&&this._scaledCharHeight<=0||(this._charAtlas=(0,u.acquireCharAtlas)(this._optionsService.rawOptions,this._rendererId,d,this._scaledCharWidth,this._scaledCharHeight),this._charAtlas.warmUp())},m.prototype.resize=function(d){this._scaledCellWidth=d.scaledCellWidth,this._scaledCellHeight=d.scaledCellHeight,this._scaledCharWidth=d.scaledCharWidth,this._scaledCharHeight=d.scaledCharHeight,this._scaledCharLeft=d.scaledCharLeft,this._scaledCharTop=d.scaledCharTop,this._canvas.width=d.scaledCanvasWidth,this._canvas.height=d.scaledCanvasHeight,this._canvas.style.width=d.canvasWidth+"px",this._canvas.style.height=d.canvasHeight+"px",this._alpha||this._clearAll(),this._refreshCharAtlas(this._colors)},m.prototype.clearTextureAtlas=function(){var d;(d=this._charAtlas)===null||d===void 0||d.clear()},m.prototype._fillCells=function(d,g,v,b){this._ctx.fillRect(d*this._scaledCellWidth,g*this._scaledCellHeight,v*this._scaledCellWidth,b*this._scaledCellHeight)},m.prototype._fillMiddleLineAtCells=function(d,g,v){v===void 0&&(v=1);var b=Math.ceil(.5*this._scaledCellHeight);this._ctx.fillRect(d*this._scaledCellWidth,(g+1)*this._scaledCellHeight-b-window.devicePixelRatio,v*this._scaledCellWidth,window.devicePixelRatio)},m.prototype._fillBottomLineAtCells=function(d,g,v){v===void 0&&(v=1),this._ctx.fillRect(d*this._scaledCellWidth,(g+1)*this._scaledCellHeight-window.devicePixelRatio-1,v*this._scaledCellWidth,window.devicePixelRatio)},m.prototype._fillLeftLineAtCell=function(d,g,v){this._ctx.fillRect(d*this._scaledCellWidth,g*this._scaledCellHeight,window.devicePixelRatio*v,this._scaledCellHeight)},m.prototype._strokeRectAtCell=function(d,g,v,b){this._ctx.lineWidth=window.devicePixelRatio,this._ctx.strokeRect(d*this._scaledCellWidth+window.devicePixelRatio/2,g*this._scaledCellHeight+window.devicePixelRatio/2,v*this._scaledCellWidth-window.devicePixelRatio,b*this._scaledCellHeight-window.devicePixelRatio)},m.prototype._clearAll=function(){this._alpha?this._ctx.clearRect(0,0,this._canvas.width,this._canvas.height):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(0,0,this._canvas.width,this._canvas.height))},m.prototype._clearCells=function(d,g,v,b){this._alpha?this._ctx.clearRect(d*this._scaledCellWidth,g*this._scaledCellHeight,v*this._scaledCellWidth,b*this._scaledCellHeight):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(d*this._scaledCellWidth,g*this._scaledCellHeight,v*this._scaledCellWidth,b*this._scaledCellHeight))},m.prototype._fillCharTrueColor=function(d,g,v){this._ctx.font=this._getFont(!1,!1),this._ctx.textBaseline=c.TEXT_BASELINE,this._clipRow(v);var b=!1;this._optionsService.rawOptions.customGlyphs!==!1&&(b=(0,y.tryDrawCustomChar)(this._ctx,d.getChars(),g*this._scaledCellWidth,v*this._scaledCellHeight,this._scaledCellWidth,this._scaledCellHeight)),b||this._ctx.fillText(d.getChars(),g*this._scaledCellWidth+this._scaledCharLeft,v*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight)},m.prototype._drawChars=function(d,g,v){var b,_,Q,S=this._getContrastColor(d,g,v);if(S||d.isFgRGB()||d.isBgRGB())this._drawUncachedChars(d,g,v,S);else{var P,w;d.isInverse()?(P=d.isBgDefault()?c.INVERTED_DEFAULT_COLOR:d.getBgColor(),w=d.isFgDefault()?c.INVERTED_DEFAULT_COLOR:d.getFgColor()):(w=d.isBgDefault()?l.DEFAULT_COLOR:d.getBgColor(),P=d.isFgDefault()?l.DEFAULT_COLOR:d.getFgColor()),P+=this._optionsService.rawOptions.drawBoldTextInBrightColors&&d.isBold()&&P<8?8:0,this._currentGlyphIdentifier.chars=d.getChars()||l.WHITESPACE_CELL_CHAR,this._currentGlyphIdentifier.code=d.getCode()||l.WHITESPACE_CELL_CODE,this._currentGlyphIdentifier.bg=w,this._currentGlyphIdentifier.fg=P,this._currentGlyphIdentifier.bold=!!d.isBold(),this._currentGlyphIdentifier.dim=!!d.isDim(),this._currentGlyphIdentifier.italic=!!d.isItalic();var x=!1;try{for(var k=a(this._decorationService.getDecorationsAtCell(g,v)),C=k.next();!C.done;C=k.next()){var T=C.value;if(T.backgroundColorRGB||T.foregroundColorRGB){x=!0;break}}}catch(E){b={error:E}}finally{try{C&&!C.done&&(_=k.return)&&_.call(k)}finally{if(b)throw b.error}}!x&&((Q=this._charAtlas)===null||Q===void 0?void 0:Q.draw(this._ctx,this._currentGlyphIdentifier,g*this._scaledCellWidth+this._scaledCharLeft,v*this._scaledCellHeight+this._scaledCharTop))||this._drawUncachedChars(d,g,v)}},m.prototype._drawUncachedChars=function(d,g,v,b){if(this._ctx.save(),this._ctx.font=this._getFont(!!d.isBold(),!!d.isItalic()),this._ctx.textBaseline=c.TEXT_BASELINE,d.isInverse())if(b)this._ctx.fillStyle=b.css;else if(d.isBgDefault())this._ctx.fillStyle=h.color.opaque(this._colors.background).css;else if(d.isBgRGB())this._ctx.fillStyle="rgb("+O.AttributeData.toColorRGB(d.getBgColor()).join(",")+")";else{var _=d.getBgColor();this._optionsService.rawOptions.drawBoldTextInBrightColors&&d.isBold()&&_<8&&(_+=8),this._ctx.fillStyle=this._colors.ansi[_].css}else if(b)this._ctx.fillStyle=b.css;else if(d.isFgDefault())this._ctx.fillStyle=this._colors.foreground.css;else if(d.isFgRGB())this._ctx.fillStyle="rgb("+O.AttributeData.toColorRGB(d.getFgColor()).join(",")+")";else{var Q=d.getFgColor();this._optionsService.rawOptions.drawBoldTextInBrightColors&&d.isBold()&&Q<8&&(Q+=8),this._ctx.fillStyle=this._colors.ansi[Q].css}this._clipRow(v),d.isDim()&&(this._ctx.globalAlpha=c.DIM_OPACITY);var S=!1;this._optionsService.rawOptions.customGlyphs!==!1&&(S=(0,y.tryDrawCustomChar)(this._ctx,d.getChars(),g*this._scaledCellWidth,v*this._scaledCellHeight,this._scaledCellWidth,this._scaledCellHeight)),S||this._ctx.fillText(d.getChars(),g*this._scaledCellWidth+this._scaledCharLeft,v*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight),this._ctx.restore()},m.prototype._clipRow=function(d){this._ctx.beginPath(),this._ctx.rect(0,d*this._scaledCellHeight,this._bufferService.cols*this._scaledCellWidth,this._scaledCellHeight),this._ctx.clip()},m.prototype._getFont=function(d,g){return(g?"italic":"")+" "+(d?this._optionsService.rawOptions.fontWeightBold:this._optionsService.rawOptions.fontWeight)+" "+this._optionsService.rawOptions.fontSize*window.devicePixelRatio+"px "+this._optionsService.rawOptions.fontFamily},m.prototype._getContrastColor=function(d,g,v){var b,_,Q,S,P=!1;try{for(var w=a(this._decorationService.getDecorationsAtCell(g,v)),x=w.next();!x.done;x=w.next()){var k=x.value;k.options.layer!=="top"&&P||(k.backgroundColorRGB&&(Q=k.backgroundColorRGB.rgba),k.foregroundColorRGB&&(S=k.foregroundColorRGB.rgba),P=k.options.layer==="top")}}catch(ne){b={error:ne}}finally{try{x&&!x.done&&(_=w.return)&&_.call(w)}finally{if(b)throw b.error}}if(P||this._colors.selectionForeground&&this._isCellInSelection(g,v)&&(S=this._colors.selectionForeground.rgba),Q||S||this._optionsService.rawOptions.minimumContrastRatio!==1&&!(0,f.excludeFromContrastRatioDemands)(d.getCode())){if(!Q&&!S){var C=this._colors.contrastCache.getColor(d.bg,d.fg);if(C!==void 0)return C||void 0}var T=d.getFgColor(),E=d.getFgColorMode(),A=d.getBgColor(),R=d.getBgColorMode(),X=!!d.isInverse(),U=!!d.isInverse();if(X){var V=T;T=A,A=V;var j=E;E=R,R=j}var Y=this._resolveBackgroundRgba(Q!==void 0?50331648:R,Q!=null?Q:A,X),ee=this._resolveForegroundRgba(E,T,X,U),se=h.rgba.ensureContrastRatio(Q!=null?Q:Y,S!=null?S:ee,this._optionsService.rawOptions.minimumContrastRatio);if(!se){if(!S)return void this._colors.contrastCache.setColor(d.bg,d.fg,null);se=S}var I={css:h.channels.toCss(se>>24&255,se>>16&255,se>>8&255),rgba:se};return Q||S||this._colors.contrastCache.setColor(d.bg,d.fg,I),I}},m.prototype._resolveBackgroundRgba=function(d,g,v){switch(d){case 16777216:case 33554432:return this._colors.ansi[g].rgba;case 50331648:return g<<8;default:return v?this._colors.foreground.rgba:this._colors.background.rgba}},m.prototype._resolveForegroundRgba=function(d,g,v,b){switch(d){case 16777216:case 33554432:return this._optionsService.rawOptions.drawBoldTextInBrightColors&&b&&g<8&&(g+=8),this._colors.ansi[g].rgba;case 50331648:return g<<8;default:return v?this._colors.background.rgba:this._colors.foreground.rgba}},m.prototype._isCellInSelection=function(d,g){var v=this._selectionStart,b=this._selectionEnd;return!(!v||!b)&&(this._columnSelectMode?d>=v[0]&&g>=v[1]&&dv[1]&&g=v[0]&&d=v[0])},m}();s.BaseRenderLayer=$},2512:function(r,s,o){var a,l=this&&this.__extends||(a=function(d,g){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(v,b){v.__proto__=b}||function(v,b){for(var _ in b)Object.prototype.hasOwnProperty.call(b,_)&&(v[_]=b[_])},a(d,g)},function(d,g){if(typeof g!="function"&&g!==null)throw new TypeError("Class extends value "+String(g)+" is not a constructor or null");function v(){this.constructor=d}a(d,g),d.prototype=g===null?Object.create(g):(v.prototype=g.prototype,new v)}),c=this&&this.__decorate||function(d,g,v,b){var _,Q=arguments.length,S=Q<3?g:b===null?b=Object.getOwnPropertyDescriptor(g,v):b;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")S=Reflect.decorate(d,g,v,b);else for(var P=d.length-1;P>=0;P--)(_=d[P])&&(S=(Q<3?_(S):Q>3?_(g,v,S):_(g,v))||S);return Q>3&&S&&Object.defineProperty(g,v,S),S},u=this&&this.__param||function(d,g){return function(v,b){g(v,b,d)}};Object.defineProperty(s,"__esModule",{value:!0}),s.CursorRenderLayer=void 0;var O=o(1546),f=o(511),h=o(2585),p=o(4725),y=600,$=function(d){function g(v,b,_,Q,S,P,w,x,k,C){var T=d.call(this,v,"cursor",b,!0,_,Q,P,w,C)||this;return T._onRequestRedraw=S,T._coreService=x,T._coreBrowserService=k,T._cell=new f.CellData,T._state={x:0,y:0,isFocused:!1,style:"",width:0},T._cursorRenderers={bar:T._renderBarCursor.bind(T),block:T._renderBlockCursor.bind(T),underline:T._renderUnderlineCursor.bind(T)},T}return l(g,d),g.prototype.dispose=function(){this._cursorBlinkStateManager&&(this._cursorBlinkStateManager.dispose(),this._cursorBlinkStateManager=void 0),d.prototype.dispose.call(this)},g.prototype.resize=function(v){d.prototype.resize.call(this,v),this._state={x:0,y:0,isFocused:!1,style:"",width:0}},g.prototype.reset=function(){var v;this._clearCursor(),(v=this._cursorBlinkStateManager)===null||v===void 0||v.restartBlinkAnimation(),this.onOptionsChanged()},g.prototype.onBlur=function(){var v;(v=this._cursorBlinkStateManager)===null||v===void 0||v.pause(),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},g.prototype.onFocus=function(){var v;(v=this._cursorBlinkStateManager)===null||v===void 0||v.resume(),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},g.prototype.onOptionsChanged=function(){var v,b=this;this._optionsService.rawOptions.cursorBlink?this._cursorBlinkStateManager||(this._cursorBlinkStateManager=new m(this._coreBrowserService.isFocused,function(){b._render(!0)})):((v=this._cursorBlinkStateManager)===null||v===void 0||v.dispose(),this._cursorBlinkStateManager=void 0),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},g.prototype.onCursorMove=function(){var v;(v=this._cursorBlinkStateManager)===null||v===void 0||v.restartBlinkAnimation()},g.prototype.onGridChanged=function(v,b){!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isPaused?this._render(!1):this._cursorBlinkStateManager.restartBlinkAnimation()},g.prototype._render=function(v){if(this._coreService.isCursorInitialized&&!this._coreService.isCursorHidden){var b=this._bufferService.buffer.ybase+this._bufferService.buffer.y,_=b-this._bufferService.buffer.ydisp;if(_<0||_>=this._bufferService.rows)this._clearCursor();else{var Q=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1);if(this._bufferService.buffer.lines.get(b).loadCell(Q,this._cell),this._cell.content!==void 0){if(!this._coreBrowserService.isFocused){this._clearCursor(),this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css;var S=this._optionsService.rawOptions.cursorStyle;return S&&S!=="block"?this._cursorRenderers[S](Q,_,this._cell):this._renderBlurCursor(Q,_,this._cell),this._ctx.restore(),this._state.x=Q,this._state.y=_,this._state.isFocused=!1,this._state.style=S,void(this._state.width=this._cell.getWidth())}if(!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isCursorVisible){if(this._state){if(this._state.x===Q&&this._state.y===_&&this._state.isFocused===this._coreBrowserService.isFocused&&this._state.style===this._optionsService.rawOptions.cursorStyle&&this._state.width===this._cell.getWidth())return;this._clearCursor()}this._ctx.save(),this._cursorRenderers[this._optionsService.rawOptions.cursorStyle||"block"](Q,_,this._cell),this._ctx.restore(),this._state.x=Q,this._state.y=_,this._state.isFocused=!1,this._state.style=this._optionsService.rawOptions.cursorStyle,this._state.width=this._cell.getWidth()}else this._clearCursor()}}}else this._clearCursor()},g.prototype._clearCursor=function(){this._state&&(window.devicePixelRatio<1?this._clearAll():this._clearCells(this._state.x,this._state.y,this._state.width,1),this._state={x:0,y:0,isFocused:!1,style:"",width:0})},g.prototype._renderBarCursor=function(v,b,_){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillLeftLineAtCell(v,b,this._optionsService.rawOptions.cursorWidth),this._ctx.restore()},g.prototype._renderBlockCursor=function(v,b,_){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillCells(v,b,_.getWidth(),1),this._ctx.fillStyle=this._colors.cursorAccent.css,this._fillCharTrueColor(_,v,b),this._ctx.restore()},g.prototype._renderUnderlineCursor=function(v,b,_){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillBottomLineAtCells(v,b),this._ctx.restore()},g.prototype._renderBlurCursor=function(v,b,_){this._ctx.save(),this._ctx.strokeStyle=this._colors.cursor.css,this._strokeRectAtCell(v,b,_.getWidth(),1),this._ctx.restore()},c([u(5,h.IBufferService),u(6,h.IOptionsService),u(7,h.ICoreService),u(8,p.ICoreBrowserService),u(9,h.IDecorationService)],g)}(O.BaseRenderLayer);s.CursorRenderLayer=$;var m=function(){function d(g,v){this._renderCallback=v,this.isCursorVisible=!0,g&&this._restartInterval()}return Object.defineProperty(d.prototype,"isPaused",{get:function(){return!(this._blinkStartTimeout||this._blinkInterval)},enumerable:!1,configurable:!0}),d.prototype.dispose=function(){this._blinkInterval&&(window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},d.prototype.restartBlinkAnimation=function(){var g=this;this.isPaused||(this._animationTimeRestarted=Date.now(),this.isCursorVisible=!0,this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){g._renderCallback(),g._animationFrame=void 0})))},d.prototype._restartInterval=function(g){var v=this;g===void 0&&(g=y),this._blinkInterval&&(window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout=window.setTimeout(function(){if(v._animationTimeRestarted){var b=y-(Date.now()-v._animationTimeRestarted);if(v._animationTimeRestarted=void 0,b>0)return void v._restartInterval(b)}v.isCursorVisible=!1,v._animationFrame=window.requestAnimationFrame(function(){v._renderCallback(),v._animationFrame=void 0}),v._blinkInterval=window.setInterval(function(){if(v._animationTimeRestarted){var _=y-(Date.now()-v._animationTimeRestarted);return v._animationTimeRestarted=void 0,void v._restartInterval(_)}v.isCursorVisible=!v.isCursorVisible,v._animationFrame=window.requestAnimationFrame(function(){v._renderCallback(),v._animationFrame=void 0})},y)},g)},d.prototype.pause=function(){this.isCursorVisible=!0,this._blinkInterval&&(window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},d.prototype.resume=function(){this.pause(),this._animationTimeRestarted=void 0,this._restartInterval(),this.restartBlinkAnimation()},d}()},8978:function(r,s,o){var a,l,c,u,O,f,h,p,y,$,m,d,g,v,b,_,Q,S,P,w,x,k,C,T,E,A,R,X,U,V,j,Y,ee,se,I,ne,H,re,G,Re,_e,ue,W,q,F,fe,he,ve,xe,me,le,oe,ce,K,ge,Te,Ye,Ae,ae,pe,Oe,Se,qe,ht,Ct,Ot,Pt,Ut,Bn,ur,Ws,Lo,ja,Na,Fa,Bo,Ga,Ha,Mo,Ka,Yo,Sn,gi,Zo,Ja,Xf,Wf,zf,If,qf,Uf,Df,Lf,Bf,Mf,Yf,Zf,Vf,jf,Nf,Ff,Gf,Hf,Kf,Jf,eO,tO,nO,iO,rO,sO,oO,Fp,Gp,Hp,Kp,Jp,e0,t0,n0,i0,r0,s0,o0,a0,l0,c0,u0,A1=this&&this.__read||function(ye,$e){var vn=typeof Symbol=="function"&&ye[Symbol.iterator];if(!vn)return ye;var si,Cr,vi=vn.call(ye),hn=[];try{for(;($e===void 0||$e-- >0)&&!(si=vi.next()).done;)hn.push(si.value)}catch(Bi){Cr={error:Bi}}finally{try{si&&!si.done&&(vn=vi.return)&&vn.call(vi)}finally{if(Cr)throw Cr.error}}return hn},f0=this&&this.__values||function(ye){var $e=typeof Symbol=="function"&&Symbol.iterator,vn=$e&&ye[$e],si=0;if(vn)return vn.call(ye);if(ye&&typeof ye.length=="number")return{next:function(){return ye&&si>=ye.length&&(ye=void 0),{value:ye&&ye[si++],done:!ye}}};throw new TypeError($e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(s,"__esModule",{value:!0}),s.tryDrawCustomChar=s.powerlineDefinitions=s.boxDrawingDefinitions=s.blockElementDefinitions=void 0;var E1=o(1752);s.blockElementDefinitions={"\u2580":[{x:0,y:0,w:8,h:4}],"\u2581":[{x:0,y:7,w:8,h:1}],"\u2582":[{x:0,y:6,w:8,h:2}],"\u2583":[{x:0,y:5,w:8,h:3}],"\u2584":[{x:0,y:4,w:8,h:4}],"\u2585":[{x:0,y:3,w:8,h:5}],"\u2586":[{x:0,y:2,w:8,h:6}],"\u2587":[{x:0,y:1,w:8,h:7}],"\u2588":[{x:0,y:0,w:8,h:8}],"\u2589":[{x:0,y:0,w:7,h:8}],"\u258A":[{x:0,y:0,w:6,h:8}],"\u258B":[{x:0,y:0,w:5,h:8}],"\u258C":[{x:0,y:0,w:4,h:8}],"\u258D":[{x:0,y:0,w:3,h:8}],"\u258E":[{x:0,y:0,w:2,h:8}],"\u258F":[{x:0,y:0,w:1,h:8}],"\u2590":[{x:4,y:0,w:4,h:8}],"\u2594":[{x:0,y:0,w:9,h:1}],"\u2595":[{x:7,y:0,w:1,h:8}],"\u2596":[{x:0,y:4,w:4,h:4}],"\u2597":[{x:4,y:4,w:4,h:4}],"\u2598":[{x:0,y:0,w:4,h:4}],"\u2599":[{x:0,y:0,w:4,h:8},{x:0,y:4,w:8,h:4}],"\u259A":[{x:0,y:0,w:4,h:4},{x:4,y:4,w:4,h:4}],"\u259B":[{x:0,y:0,w:4,h:8},{x:0,y:0,w:4,h:8}],"\u259C":[{x:0,y:0,w:8,h:4},{x:4,y:0,w:4,h:8}],"\u259D":[{x:4,y:0,w:4,h:4}],"\u259E":[{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:7,h:8}],"\u{1FB95}":[{x:0,y:0,w:2,h:2},{x:4,y:0,w:2,h:2},{x:2,y:2,w:2,h:2},{x:6,y:2,w:2,h:2},{x:0,y:4,w:2,h:2},{x:4,y:4,w:2,h:2},{x:2,y:6,w:2,h:2},{x:6,y:6,w:2,h:2}],"\u{1FB96}":[{x:2,y:0,w:2,h:2},{x:6,y:0,w:2,h:2},{x:0,y:2,w:2,h:2},{x:4,y:2,w:2,h:2},{x:2,y:4,w:2,h:2},{x:6,y:4,w:2,h:2},{x:0,y:6,w:2,h:2},{x:4,y:6,w:2,h:2}],"\u{1FB97}":[{x:0,y:2,w:8,h:2},{x:0,y:6,w:8,h:2}]};var fX={"\u2591":[[1,0,0,0],[0,0,0,0],[0,0,1,0],[0,0,0,0]],"\u2592":[[1,0],[0,0],[0,1],[0,0]],"\u2593":[[0,1],[1,1],[1,0],[1,1]]};s.boxDrawingDefinitions={"\u2500":(a={},a[1]="M0,.5 L1,.5",a),"\u2501":(l={},l[3]="M0,.5 L1,.5",l),"\u2502":(c={},c[1]="M.5,0 L.5,1",c),"\u2503":(u={},u[3]="M.5,0 L.5,1",u),"\u250C":(O={},O[1]="M0.5,1 L.5,.5 L1,.5",O),"\u250F":(f={},f[3]="M0.5,1 L.5,.5 L1,.5",f),"\u2510":(h={},h[1]="M0,.5 L.5,.5 L.5,1",h),"\u2513":(p={},p[3]="M0,.5 L.5,.5 L.5,1",p),"\u2514":(y={},y[1]="M.5,0 L.5,.5 L1,.5",y),"\u2517":($={},$[3]="M.5,0 L.5,.5 L1,.5",$),"\u2518":(m={},m[1]="M.5,0 L.5,.5 L0,.5",m),"\u251B":(d={},d[3]="M.5,0 L.5,.5 L0,.5",d),"\u251C":(g={},g[1]="M.5,0 L.5,1 M.5,.5 L1,.5",g),"\u2523":(v={},v[3]="M.5,0 L.5,1 M.5,.5 L1,.5",v),"\u2524":(b={},b[1]="M.5,0 L.5,1 M.5,.5 L0,.5",b),"\u252B":(_={},_[3]="M.5,0 L.5,1 M.5,.5 L0,.5",_),"\u252C":(Q={},Q[1]="M0,.5 L1,.5 M.5,.5 L.5,1",Q),"\u2533":(S={},S[3]="M0,.5 L1,.5 M.5,.5 L.5,1",S),"\u2534":(P={},P[1]="M0,.5 L1,.5 M.5,.5 L.5,0",P),"\u253B":(w={},w[3]="M0,.5 L1,.5 M.5,.5 L.5,0",w),"\u253C":(x={},x[1]="M0,.5 L1,.5 M.5,0 L.5,1",x),"\u254B":(k={},k[3]="M0,.5 L1,.5 M.5,0 L.5,1",k),"\u2574":(C={},C[1]="M.5,.5 L0,.5",C),"\u2578":(T={},T[3]="M.5,.5 L0,.5",T),"\u2575":(E={},E[1]="M.5,.5 L.5,0",E),"\u2579":(A={},A[3]="M.5,.5 L.5,0",A),"\u2576":(R={},R[1]="M.5,.5 L1,.5",R),"\u257A":(X={},X[3]="M.5,.5 L1,.5",X),"\u2577":(U={},U[1]="M.5,.5 L.5,1",U),"\u257B":(V={},V[3]="M.5,.5 L.5,1",V),"\u2550":(j={},j[1]=function(ye,$e){return"M0,"+(.5-$e)+" L1,"+(.5-$e)+" M0,"+(.5+$e)+" L1,"+(.5+$e)},j),"\u2551":(Y={},Y[1]=function(ye,$e){return"M"+(.5-ye)+",0 L"+(.5-ye)+",1 M"+(.5+ye)+",0 L"+(.5+ye)+",1"},Y),"\u2552":(ee={},ee[1]=function(ye,$e){return"M.5,1 L.5,"+(.5-$e)+" L1,"+(.5-$e)+" M.5,"+(.5+$e)+" L1,"+(.5+$e)},ee),"\u2553":(se={},se[1]=function(ye,$e){return"M"+(.5-ye)+",1 L"+(.5-ye)+",.5 L1,.5 M"+(.5+ye)+",.5 L"+(.5+ye)+",1"},se),"\u2554":(I={},I[1]=function(ye,$e){return"M1,"+(.5-$e)+" L"+(.5-ye)+","+(.5-$e)+" L"+(.5-ye)+",1 M1,"+(.5+$e)+" L"+(.5+ye)+","+(.5+$e)+" L"+(.5+ye)+",1"},I),"\u2555":(ne={},ne[1]=function(ye,$e){return"M0,"+(.5-$e)+" L.5,"+(.5-$e)+" L.5,1 M0,"+(.5+$e)+" L.5,"+(.5+$e)},ne),"\u2556":(H={},H[1]=function(ye,$e){return"M"+(.5+ye)+",1 L"+(.5+ye)+",.5 L0,.5 M"+(.5-ye)+",.5 L"+(.5-ye)+",1"},H),"\u2557":(re={},re[1]=function(ye,$e){return"M0,"+(.5+$e)+" L"+(.5-ye)+","+(.5+$e)+" L"+(.5-ye)+",1 M0,"+(.5-$e)+" L"+(.5+ye)+","+(.5-$e)+" L"+(.5+ye)+",1"},re),"\u2558":(G={},G[1]=function(ye,$e){return"M.5,0 L.5,"+(.5+$e)+" L1,"+(.5+$e)+" M.5,"+(.5-$e)+" L1,"+(.5-$e)},G),"\u2559":(Re={},Re[1]=function(ye,$e){return"M1,.5 L"+(.5-ye)+",.5 L"+(.5-ye)+",0 M"+(.5+ye)+",.5 L"+(.5+ye)+",0"},Re),"\u255A":(_e={},_e[1]=function(ye,$e){return"M1,"+(.5-$e)+" L"+(.5+ye)+","+(.5-$e)+" L"+(.5+ye)+",0 M1,"+(.5+$e)+" L"+(.5-ye)+","+(.5+$e)+" L"+(.5-ye)+",0"},_e),"\u255B":(ue={},ue[1]=function(ye,$e){return"M0,"+(.5+$e)+" L.5,"+(.5+$e)+" L.5,0 M0,"+(.5-$e)+" L.5,"+(.5-$e)},ue),"\u255C":(W={},W[1]=function(ye,$e){return"M0,.5 L"+(.5+ye)+",.5 L"+(.5+ye)+",0 M"+(.5-ye)+",.5 L"+(.5-ye)+",0"},W),"\u255D":(q={},q[1]=function(ye,$e){return"M0,"+(.5-$e)+" L"+(.5-ye)+","+(.5-$e)+" L"+(.5-ye)+",0 M0,"+(.5+$e)+" L"+(.5+ye)+","+(.5+$e)+" L"+(.5+ye)+",0"},q),"\u255E":(F={},F[1]=function(ye,$e){return"M.5,0 L.5,1 M.5,"+(.5-$e)+" L1,"+(.5-$e)+" M.5,"+(.5+$e)+" L1,"+(.5+$e)},F),"\u255F":(fe={},fe[1]=function(ye,$e){return"M"+(.5-ye)+",0 L"+(.5-ye)+",1 M"+(.5+ye)+",0 L"+(.5+ye)+",1 M"+(.5+ye)+",.5 L1,.5"},fe),"\u2560":(he={},he[1]=function(ye,$e){return"M"+(.5-ye)+",0 L"+(.5-ye)+",1 M1,"+(.5+$e)+" L"+(.5+ye)+","+(.5+$e)+" L"+(.5+ye)+",1 M1,"+(.5-$e)+" L"+(.5+ye)+","+(.5-$e)+" L"+(.5+ye)+",0"},he),"\u2561":(ve={},ve[1]=function(ye,$e){return"M.5,0 L.5,1 M0,"+(.5-$e)+" L.5,"+(.5-$e)+" M0,"+(.5+$e)+" L.5,"+(.5+$e)},ve),"\u2562":(xe={},xe[1]=function(ye,$e){return"M0,.5 L"+(.5-ye)+",.5 M"+(.5-ye)+",0 L"+(.5-ye)+",1 M"+(.5+ye)+",0 L"+(.5+ye)+",1"},xe),"\u2563":(me={},me[1]=function(ye,$e){return"M"+(.5+ye)+",0 L"+(.5+ye)+",1 M0,"+(.5+$e)+" L"+(.5-ye)+","+(.5+$e)+" L"+(.5-ye)+",1 M0,"+(.5-$e)+" L"+(.5-ye)+","+(.5-$e)+" L"+(.5-ye)+",0"},me),"\u2564":(le={},le[1]=function(ye,$e){return"M0,"+(.5-$e)+" L1,"+(.5-$e)+" M0,"+(.5+$e)+" L1,"+(.5+$e)+" M.5,"+(.5+$e)+" L.5,1"},le),"\u2565":(oe={},oe[1]=function(ye,$e){return"M0,.5 L1,.5 M"+(.5-ye)+",.5 L"+(.5-ye)+",1 M"+(.5+ye)+",.5 L"+(.5+ye)+",1"},oe),"\u2566":(ce={},ce[1]=function(ye,$e){return"M0,"+(.5-$e)+" L1,"+(.5-$e)+" M0,"+(.5+$e)+" L"+(.5-ye)+","+(.5+$e)+" L"+(.5-ye)+",1 M1,"+(.5+$e)+" L"+(.5+ye)+","+(.5+$e)+" L"+(.5+ye)+",1"},ce),"\u2567":(K={},K[1]=function(ye,$e){return"M.5,0 L.5,"+(.5-$e)+" M0,"+(.5-$e)+" L1,"+(.5-$e)+" M0,"+(.5+$e)+" L1,"+(.5+$e)},K),"\u2568":(ge={},ge[1]=function(ye,$e){return"M0,.5 L1,.5 M"+(.5-ye)+",.5 L"+(.5-ye)+",0 M"+(.5+ye)+",.5 L"+(.5+ye)+",0"},ge),"\u2569":(Te={},Te[1]=function(ye,$e){return"M0,"+(.5+$e)+" L1,"+(.5+$e)+" M0,"+(.5-$e)+" L"+(.5-ye)+","+(.5-$e)+" L"+(.5-ye)+",0 M1,"+(.5-$e)+" L"+(.5+ye)+","+(.5-$e)+" L"+(.5+ye)+",0"},Te),"\u256A":(Ye={},Ye[1]=function(ye,$e){return"M.5,0 L.5,1 M0,"+(.5-$e)+" L1,"+(.5-$e)+" M0,"+(.5+$e)+" L1,"+(.5+$e)},Ye),"\u256B":(Ae={},Ae[1]=function(ye,$e){return"M0,.5 L1,.5 M"+(.5-ye)+",0 L"+(.5-ye)+",1 M"+(.5+ye)+",0 L"+(.5+ye)+",1"},Ae),"\u256C":(ae={},ae[1]=function(ye,$e){return"M0,"+(.5+$e)+" L"+(.5-ye)+","+(.5+$e)+" L"+(.5-ye)+",1 M1,"+(.5+$e)+" L"+(.5+ye)+","+(.5+$e)+" L"+(.5+ye)+",1 M0,"+(.5-$e)+" L"+(.5-ye)+","+(.5-$e)+" L"+(.5-ye)+",0 M1,"+(.5-$e)+" L"+(.5+ye)+","+(.5-$e)+" L"+(.5+ye)+",0"},ae),"\u2571":(pe={},pe[1]="M1,0 L0,1",pe),"\u2572":(Oe={},Oe[1]="M0,0 L1,1",Oe),"\u2573":(Se={},Se[1]="M1,0 L0,1 M0,0 L1,1",Se),"\u257C":(qe={},qe[1]="M.5,.5 L0,.5",qe[3]="M.5,.5 L1,.5",qe),"\u257D":(ht={},ht[1]="M.5,.5 L.5,0",ht[3]="M.5,.5 L.5,1",ht),"\u257E":(Ct={},Ct[1]="M.5,.5 L1,.5",Ct[3]="M.5,.5 L0,.5",Ct),"\u257F":(Ot={},Ot[1]="M.5,.5 L.5,1",Ot[3]="M.5,.5 L.5,0",Ot),"\u250D":(Pt={},Pt[1]="M.5,.5 L.5,1",Pt[3]="M.5,.5 L1,.5",Pt),"\u250E":(Ut={},Ut[1]="M.5,.5 L1,.5",Ut[3]="M.5,.5 L.5,1",Ut),"\u2511":(Bn={},Bn[1]="M.5,.5 L.5,1",Bn[3]="M.5,.5 L0,.5",Bn),"\u2512":(ur={},ur[1]="M.5,.5 L0,.5",ur[3]="M.5,.5 L.5,1",ur),"\u2515":(Ws={},Ws[1]="M.5,.5 L.5,0",Ws[3]="M.5,.5 L1,.5",Ws),"\u2516":(Lo={},Lo[1]="M.5,.5 L1,.5",Lo[3]="M.5,.5 L.5,0",Lo),"\u2519":(ja={},ja[1]="M.5,.5 L.5,0",ja[3]="M.5,.5 L0,.5",ja),"\u251A":(Na={},Na[1]="M.5,.5 L0,.5",Na[3]="M.5,.5 L.5,0",Na),"\u251D":(Fa={},Fa[1]="M.5,0 L.5,1",Fa[3]="M.5,.5 L1,.5",Fa),"\u251E":(Bo={},Bo[1]="M0.5,1 L.5,.5 L1,.5",Bo[3]="M.5,.5 L.5,0",Bo),"\u251F":(Ga={},Ga[1]="M.5,0 L.5,.5 L1,.5",Ga[3]="M.5,.5 L.5,1",Ga),"\u2520":(Ha={},Ha[1]="M.5,.5 L1,.5",Ha[3]="M.5,0 L.5,1",Ha),"\u2521":(Mo={},Mo[1]="M.5,.5 L.5,1",Mo[3]="M.5,0 L.5,.5 L1,.5",Mo),"\u2522":(Ka={},Ka[1]="M.5,.5 L.5,0",Ka[3]="M0.5,1 L.5,.5 L1,.5",Ka),"\u2525":(Yo={},Yo[1]="M.5,0 L.5,1",Yo[3]="M.5,.5 L0,.5",Yo),"\u2526":(Sn={},Sn[1]="M0,.5 L.5,.5 L.5,1",Sn[3]="M.5,.5 L.5,0",Sn),"\u2527":(gi={},gi[1]="M.5,0 L.5,.5 L0,.5",gi[3]="M.5,.5 L.5,1",gi),"\u2528":(Zo={},Zo[1]="M.5,.5 L0,.5",Zo[3]="M.5,0 L.5,1",Zo),"\u2529":(Ja={},Ja[1]="M.5,.5 L.5,1",Ja[3]="M.5,0 L.5,.5 L0,.5",Ja),"\u252A":(Xf={},Xf[1]="M.5,.5 L.5,0",Xf[3]="M0,.5 L.5,.5 L.5,1",Xf),"\u252D":(Wf={},Wf[1]="M0.5,1 L.5,.5 L1,.5",Wf[3]="M.5,.5 L0,.5",Wf),"\u252E":(zf={},zf[1]="M0,.5 L.5,.5 L.5,1",zf[3]="M.5,.5 L1,.5",zf),"\u252F":(If={},If[1]="M.5,.5 L.5,1",If[3]="M0,.5 L1,.5",If),"\u2530":(qf={},qf[1]="M0,.5 L1,.5",qf[3]="M.5,.5 L.5,1",qf),"\u2531":(Uf={},Uf[1]="M.5,.5 L1,.5",Uf[3]="M0,.5 L.5,.5 L.5,1",Uf),"\u2532":(Df={},Df[1]="M.5,.5 L0,.5",Df[3]="M0.5,1 L.5,.5 L1,.5",Df),"\u2535":(Lf={},Lf[1]="M.5,0 L.5,.5 L1,.5",Lf[3]="M.5,.5 L0,.5",Lf),"\u2536":(Bf={},Bf[1]="M.5,0 L.5,.5 L0,.5",Bf[3]="M.5,.5 L1,.5",Bf),"\u2537":(Mf={},Mf[1]="M.5,.5 L.5,0",Mf[3]="M0,.5 L1,.5",Mf),"\u2538":(Yf={},Yf[1]="M0,.5 L1,.5",Yf[3]="M.5,.5 L.5,0",Yf),"\u2539":(Zf={},Zf[1]="M.5,.5 L1,.5",Zf[3]="M.5,0 L.5,.5 L0,.5",Zf),"\u253A":(Vf={},Vf[1]="M.5,.5 L0,.5",Vf[3]="M.5,0 L.5,.5 L1,.5",Vf),"\u253D":(jf={},jf[1]="M.5,0 L.5,1 M.5,.5 L1,.5",jf[3]="M.5,.5 L0,.5",jf),"\u253E":(Nf={},Nf[1]="M.5,0 L.5,1 M.5,.5 L0,.5",Nf[3]="M.5,.5 L1,.5",Nf),"\u253F":(Ff={},Ff[1]="M.5,0 L.5,1",Ff[3]="M0,.5 L1,.5",Ff),"\u2540":(Gf={},Gf[1]="M0,.5 L1,.5 M.5,.5 L.5,1",Gf[3]="M.5,.5 L.5,0",Gf),"\u2541":(Hf={},Hf[1]="M.5,.5 L.5,0 M0,.5 L1,.5",Hf[3]="M.5,.5 L.5,1",Hf),"\u2542":(Kf={},Kf[1]="M0,.5 L1,.5",Kf[3]="M.5,0 L.5,1",Kf),"\u2543":(Jf={},Jf[1]="M0.5,1 L.5,.5 L1,.5",Jf[3]="M.5,0 L.5,.5 L0,.5",Jf),"\u2544":(eO={},eO[1]="M0,.5 L.5,.5 L.5,1",eO[3]="M.5,0 L.5,.5 L1,.5",eO),"\u2545":(tO={},tO[1]="M.5,0 L.5,.5 L1,.5",tO[3]="M0,.5 L.5,.5 L.5,1",tO),"\u2546":(nO={},nO[1]="M.5,0 L.5,.5 L0,.5",nO[3]="M0.5,1 L.5,.5 L1,.5",nO),"\u2547":(iO={},iO[1]="M.5,.5 L.5,1",iO[3]="M.5,.5 L.5,0 M0,.5 L1,.5",iO),"\u2548":(rO={},rO[1]="M.5,.5 L.5,0",rO[3]="M0,.5 L1,.5 M.5,.5 L.5,1",rO),"\u2549":(sO={},sO[1]="M.5,.5 L1,.5",sO[3]="M.5,0 L.5,1 M.5,.5 L0,.5",sO),"\u254A":(oO={},oO[1]="M.5,.5 L0,.5",oO[3]="M.5,0 L.5,1 M.5,.5 L1,.5",oO),"\u254C":(Fp={},Fp[1]="M.1,.5 L.4,.5 M.6,.5 L.9,.5",Fp),"\u254D":(Gp={},Gp[3]="M.1,.5 L.4,.5 M.6,.5 L.9,.5",Gp),"\u2504":(Hp={},Hp[1]="M.0667,.5 L.2667,.5 M.4,.5 L.6,.5 M.7333,.5 L.9333,.5",Hp),"\u2505":(Kp={},Kp[3]="M.0667,.5 L.2667,.5 M.4,.5 L.6,.5 M.7333,.5 L.9333,.5",Kp),"\u2508":(Jp={},Jp[1]="M.05,.5 L.2,.5 M.3,.5 L.45,.5 M.55,.5 L.7,.5 M.8,.5 L.95,.5",Jp),"\u2509":(e0={},e0[3]="M.05,.5 L.2,.5 M.3,.5 L.45,.5 M.55,.5 L.7,.5 M.8,.5 L.95,.5",e0),"\u254E":(t0={},t0[1]="M.5,.1 L.5,.4 M.5,.6 L.5,.9",t0),"\u254F":(n0={},n0[3]="M.5,.1 L.5,.4 M.5,.6 L.5,.9",n0),"\u2506":(i0={},i0[1]="M.5,.0667 L.5,.2667 M.5,.4 L.5,.6 M.5,.7333 L.5,.9333",i0),"\u2507":(r0={},r0[3]="M.5,.0667 L.5,.2667 M.5,.4 L.5,.6 M.5,.7333 L.5,.9333",r0),"\u250A":(s0={},s0[1]="M.5,.05 L.5,.2 M.5,.3 L.5,.45 L.5,.55 M.5,.7 L.5,.95",s0),"\u250B":(o0={},o0[3]="M.5,.05 L.5,.2 M.5,.3 L.5,.45 L.5,.55 M.5,.7 L.5,.95",o0),"\u256D":(a0={},a0[1]="C.5,1,.5,.5,1,.5",a0),"\u256E":(l0={},l0[1]="C.5,1,.5,.5,0,.5",l0),"\u256F":(c0={},c0[1]="C.5,0,.5,.5,0,.5",c0),"\u2570":(u0={},u0[1]="C.5,0,.5,.5,1,.5",u0)},s.powerlineDefinitions={"\uE0B0":{d:"M0,0 L1,.5 L0,1",type:0},"\uE0B1":{d:"M0,0 L1,.5 L0,1",type:1,horizontalPadding:.5},"\uE0B2":{d:"M1,0 L0,.5 L1,1",type:0},"\uE0B3":{d:"M1,0 L0,.5 L1,1",type:1,horizontalPadding:.5}},s.tryDrawCustomChar=function(ye,$e,vn,si,Cr,vi){var hn=s.blockElementDefinitions[$e];if(hn)return function(nn,oi,Vo,jo,zs,Is){for(var Mn=0;Mn7&&parseInt(Mt.slice(7,9),16)||1;else{if(!Mt.startsWith("rgba"))throw new Error('Unexpected fillStyle color format "'+Mt+'" when drawing pattern glyph');el=(Mn=A1(Mt.substring(5,Mt.length-1).split(",").map(function(Cc){return parseFloat(Cc)}),4))[0],qs=Mn[1],ss=Mn[2],tl=Mn[3]}for(var Ar=0;Ar{Object.defineProperty(s,"__esModule",{value:!0}),s.GridCache=void 0;var o=function(){function a(){this.cache=[]}return a.prototype.resize=function(l,c){for(var u=0;u=0;Q--)(v=$[Q])&&(_=(b<3?v(_):b>3?v(m,d,_):v(m,d))||_);return b>3&&_&&Object.defineProperty(m,d,_),_},u=this&&this.__param||function($,m){return function(d,g){m(d,g,$)}};Object.defineProperty(s,"__esModule",{value:!0}),s.LinkRenderLayer=void 0;var O=o(1546),f=o(8803),h=o(2040),p=o(2585),y=function($){function m(d,g,v,b,_,Q,S,P,w){var x=$.call(this,d,"link",g,!0,v,b,S,P,w)||this;return _.onShowLinkUnderline(function(k){return x._onShowLinkUnderline(k)}),_.onHideLinkUnderline(function(k){return x._onHideLinkUnderline(k)}),Q.onShowLinkUnderline(function(k){return x._onShowLinkUnderline(k)}),Q.onHideLinkUnderline(function(k){return x._onHideLinkUnderline(k)}),x}return l(m,$),m.prototype.resize=function(d){$.prototype.resize.call(this,d),this._state=void 0},m.prototype.reset=function(){this._clearCurrentLink()},m.prototype._clearCurrentLink=function(){if(this._state){this._clearCells(this._state.x1,this._state.y1,this._state.cols-this._state.x1,1);var d=this._state.y2-this._state.y1-1;d>0&&this._clearCells(0,this._state.y1+1,this._state.cols,d),this._clearCells(0,this._state.y2,this._state.x2,1),this._state=void 0}},m.prototype._onShowLinkUnderline=function(d){if(d.fg===f.INVERTED_DEFAULT_COLOR?this._ctx.fillStyle=this._colors.background.css:d.fg&&(0,h.is256Color)(d.fg)?this._ctx.fillStyle=this._colors.ansi[d.fg].css:this._ctx.fillStyle=this._colors.foreground.css,d.y1===d.y2)this._fillBottomLineAtCells(d.x1,d.y1,d.x2-d.x1);else{this._fillBottomLineAtCells(d.x1,d.y1,d.cols-d.x1);for(var g=d.y1+1;g=0;T--)(x=Q[T])&&(C=(k<3?x(C):k>3?x(S,P,C):x(S,P))||C);return k>3&&C&&Object.defineProperty(S,P,C),C},u=this&&this.__param||function(Q,S){return function(P,w){S(P,w,Q)}},O=this&&this.__values||function(Q){var S=typeof Symbol=="function"&&Symbol.iterator,P=S&&Q[S],w=0;if(P)return P.call(Q);if(Q&&typeof Q.length=="number")return{next:function(){return Q&&w>=Q.length&&(Q=void 0),{value:Q&&Q[w++],done:!Q}}};throw new TypeError(S?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(s,"__esModule",{value:!0}),s.Renderer=void 0;var f=o(9596),h=o(4149),p=o(2512),y=o(5098),$=o(844),m=o(4725),d=o(2585),g=o(1420),v=o(8460),b=1,_=function(Q){function S(P,w,x,k,C,T,E,A){var R=Q.call(this)||this;R._colors=P,R._screenElement=w,R._bufferService=T,R._charSizeService=E,R._optionsService=A,R._id=b++,R._onRequestRedraw=new v.EventEmitter;var X=R._optionsService.rawOptions.allowTransparency;return R._renderLayers=[C.createInstance(f.TextRenderLayer,R._screenElement,0,R._colors,X,R._id),C.createInstance(h.SelectionRenderLayer,R._screenElement,1,R._colors,R._id),C.createInstance(y.LinkRenderLayer,R._screenElement,2,R._colors,R._id,x,k),C.createInstance(p.CursorRenderLayer,R._screenElement,3,R._colors,R._id,R._onRequestRedraw)],R.dimensions={scaledCharWidth:0,scaledCharHeight:0,scaledCellWidth:0,scaledCellHeight:0,scaledCharLeft:0,scaledCharTop:0,scaledCanvasWidth:0,scaledCanvasHeight:0,canvasWidth:0,canvasHeight:0,actualCellWidth:0,actualCellHeight:0},R._devicePixelRatio=window.devicePixelRatio,R._updateDimensions(),R.onOptionsChanged(),R}return l(S,Q),Object.defineProperty(S.prototype,"onRequestRedraw",{get:function(){return this._onRequestRedraw.event},enumerable:!1,configurable:!0}),S.prototype.dispose=function(){var P,w;try{for(var x=O(this._renderLayers),k=x.next();!k.done;k=x.next())k.value.dispose()}catch(C){P={error:C}}finally{try{k&&!k.done&&(w=x.return)&&w.call(x)}finally{if(P)throw P.error}}Q.prototype.dispose.call(this),(0,g.removeTerminalFromCache)(this._id)},S.prototype.onDevicePixelRatioChange=function(){this._devicePixelRatio!==window.devicePixelRatio&&(this._devicePixelRatio=window.devicePixelRatio,this.onResize(this._bufferService.cols,this._bufferService.rows))},S.prototype.setColors=function(P){var w,x;this._colors=P;try{for(var k=O(this._renderLayers),C=k.next();!C.done;C=k.next()){var T=C.value;T.setColors(this._colors),T.reset()}}catch(E){w={error:E}}finally{try{C&&!C.done&&(x=k.return)&&x.call(k)}finally{if(w)throw w.error}}},S.prototype.onResize=function(P,w){var x,k;this._updateDimensions();try{for(var C=O(this._renderLayers),T=C.next();!T.done;T=C.next())T.value.resize(this.dimensions)}catch(E){x={error:E}}finally{try{T&&!T.done&&(k=C.return)&&k.call(C)}finally{if(x)throw x.error}}this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},S.prototype.onCharSizeChanged=function(){this.onResize(this._bufferService.cols,this._bufferService.rows)},S.prototype.onBlur=function(){this._runOperation(function(P){return P.onBlur()})},S.prototype.onFocus=function(){this._runOperation(function(P){return P.onFocus()})},S.prototype.onSelectionChanged=function(P,w,x){x===void 0&&(x=!1),this._runOperation(function(k){return k.onSelectionChanged(P,w,x)}),this._colors.selectionForeground&&this._onRequestRedraw.fire({start:0,end:this._bufferService.rows-1})},S.prototype.onCursorMove=function(){this._runOperation(function(P){return P.onCursorMove()})},S.prototype.onOptionsChanged=function(){this._runOperation(function(P){return P.onOptionsChanged()})},S.prototype.clear=function(){this._runOperation(function(P){return P.reset()})},S.prototype._runOperation=function(P){var w,x;try{for(var k=O(this._renderLayers),C=k.next();!C.done;C=k.next())P(C.value)}catch(T){w={error:T}}finally{try{C&&!C.done&&(x=k.return)&&x.call(k)}finally{if(w)throw w.error}}},S.prototype.renderRows=function(P,w){var x,k;try{for(var C=O(this._renderLayers),T=C.next();!T.done;T=C.next())T.value.onGridChanged(P,w)}catch(E){x={error:E}}finally{try{T&&!T.done&&(k=C.return)&&k.call(C)}finally{if(x)throw x.error}}},S.prototype.clearTextureAtlas=function(){var P,w;try{for(var x=O(this._renderLayers),k=x.next();!k.done;k=x.next())k.value.clearTextureAtlas()}catch(C){P={error:C}}finally{try{k&&!k.done&&(w=x.return)&&w.call(x)}finally{if(P)throw P.error}}},S.prototype._updateDimensions=function(){this._charSizeService.hasValidSize&&(this.dimensions.scaledCharWidth=Math.floor(this._charSizeService.width*window.devicePixelRatio),this.dimensions.scaledCharHeight=Math.ceil(this._charSizeService.height*window.devicePixelRatio),this.dimensions.scaledCellHeight=Math.floor(this.dimensions.scaledCharHeight*this._optionsService.rawOptions.lineHeight),this.dimensions.scaledCharTop=this._optionsService.rawOptions.lineHeight===1?0:Math.round((this.dimensions.scaledCellHeight-this.dimensions.scaledCharHeight)/2),this.dimensions.scaledCellWidth=this.dimensions.scaledCharWidth+Math.round(this._optionsService.rawOptions.letterSpacing),this.dimensions.scaledCharLeft=Math.floor(this._optionsService.rawOptions.letterSpacing/2),this.dimensions.scaledCanvasHeight=this._bufferService.rows*this.dimensions.scaledCellHeight,this.dimensions.scaledCanvasWidth=this._bufferService.cols*this.dimensions.scaledCellWidth,this.dimensions.canvasHeight=Math.round(this.dimensions.scaledCanvasHeight/window.devicePixelRatio),this.dimensions.canvasWidth=Math.round(this.dimensions.scaledCanvasWidth/window.devicePixelRatio),this.dimensions.actualCellHeight=this.dimensions.canvasHeight/this._bufferService.rows,this.dimensions.actualCellWidth=this.dimensions.canvasWidth/this._bufferService.cols)},c([u(4,d.IInstantiationService),u(5,d.IBufferService),u(6,m.ICharSizeService),u(7,d.IOptionsService)],S)}($.Disposable);s.Renderer=_},1752:(r,s)=>{function o(a){return 57508<=a&&a<=57558}Object.defineProperty(s,"__esModule",{value:!0}),s.excludeFromContrastRatioDemands=s.isPowerlineGlyph=s.throwIfFalsy=void 0,s.throwIfFalsy=function(a){if(!a)throw new Error("value must not be falsy");return a},s.isPowerlineGlyph=o,s.excludeFromContrastRatioDemands=function(a){return o(a)||function(l){return 9472<=l&&l<=9631}(a)}},4149:function(r,s,o){var a,l=this&&this.__extends||(a=function(p,y){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function($,m){$.__proto__=m}||function($,m){for(var d in m)Object.prototype.hasOwnProperty.call(m,d)&&($[d]=m[d])},a(p,y)},function(p,y){if(typeof y!="function"&&y!==null)throw new TypeError("Class extends value "+String(y)+" is not a constructor or null");function $(){this.constructor=p}a(p,y),p.prototype=y===null?Object.create(y):($.prototype=y.prototype,new $)}),c=this&&this.__decorate||function(p,y,$,m){var d,g=arguments.length,v=g<3?y:m===null?m=Object.getOwnPropertyDescriptor(y,$):m;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")v=Reflect.decorate(p,y,$,m);else for(var b=p.length-1;b>=0;b--)(d=p[b])&&(v=(g<3?d(v):g>3?d(y,$,v):d(y,$))||v);return g>3&&v&&Object.defineProperty(y,$,v),v},u=this&&this.__param||function(p,y){return function($,m){y($,m,p)}};Object.defineProperty(s,"__esModule",{value:!0}),s.SelectionRenderLayer=void 0;var O=o(1546),f=o(2585),h=function(p){function y($,m,d,g,v,b,_){var Q=p.call(this,$,"selection",m,!0,d,g,v,b,_)||this;return Q._clearState(),Q}return l(y,p),y.prototype._clearState=function(){this._state={start:void 0,end:void 0,columnSelectMode:void 0,ydisp:void 0}},y.prototype.resize=function($){p.prototype.resize.call(this,$),this._clearState()},y.prototype.reset=function(){this._state.start&&this._state.end&&(this._clearState(),this._clearAll())},y.prototype.onSelectionChanged=function($,m,d){if(p.prototype.onSelectionChanged.call(this,$,m,d),this._didStateChange($,m,d,this._bufferService.buffer.ydisp))if(this._clearAll(),$&&m){var g=$[1]-this._bufferService.buffer.ydisp,v=m[1]-this._bufferService.buffer.ydisp,b=Math.max(g,0),_=Math.min(v,this._bufferService.rows-1);if(b>=this._bufferService.rows||_<0)this._state.ydisp=this._bufferService.buffer.ydisp;else{if(this._ctx.fillStyle=this._colors.selectionTransparent.css,d){var Q=$[0],S=m[0]-Q,P=_-b+1;this._fillCells(Q,b,S,P)}else{Q=g===b?$[0]:0;var w=b===v?m[0]:this._bufferService.cols;this._fillCells(Q,b,w-Q,1);var x=Math.max(_-b-1,0);if(this._fillCells(0,b+1,this._bufferService.cols,x),b!==_){var k=v===_?m[0]:this._bufferService.cols;this._fillCells(0,_,k,1)}}this._state.start=[$[0],$[1]],this._state.end=[m[0],m[1]],this._state.columnSelectMode=d,this._state.ydisp=this._bufferService.buffer.ydisp}}else this._clearState()},y.prototype._didStateChange=function($,m,d,g){return!this._areCoordinatesEqual($,this._state.start)||!this._areCoordinatesEqual(m,this._state.end)||d!==this._state.columnSelectMode||g!==this._state.ydisp},y.prototype._areCoordinatesEqual=function($,m){return!(!$||!m)&&$[0]===m[0]&&$[1]===m[1]},c([u(4,f.IBufferService),u(5,f.IOptionsService),u(6,f.IDecorationService)],y)}(O.BaseRenderLayer);s.SelectionRenderLayer=h},9596:function(r,s,o){var a,l=this&&this.__extends||(a=function(b,_){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Q,S){Q.__proto__=S}||function(Q,S){for(var P in S)Object.prototype.hasOwnProperty.call(S,P)&&(Q[P]=S[P])},a(b,_)},function(b,_){if(typeof _!="function"&&_!==null)throw new TypeError("Class extends value "+String(_)+" is not a constructor or null");function Q(){this.constructor=b}a(b,_),b.prototype=_===null?Object.create(_):(Q.prototype=_.prototype,new Q)}),c=this&&this.__decorate||function(b,_,Q,S){var P,w=arguments.length,x=w<3?_:S===null?S=Object.getOwnPropertyDescriptor(_,Q):S;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(b,_,Q,S);else for(var k=b.length-1;k>=0;k--)(P=b[k])&&(x=(w<3?P(x):w>3?P(_,Q,x):P(_,Q))||x);return w>3&&x&&Object.defineProperty(_,Q,x),x},u=this&&this.__param||function(b,_){return function(Q,S){_(Q,S,b)}},O=this&&this.__values||function(b){var _=typeof Symbol=="function"&&Symbol.iterator,Q=_&&b[_],S=0;if(Q)return Q.call(b);if(b&&typeof b.length=="number")return{next:function(){return b&&S>=b.length&&(b=void 0),{value:b&&b[S++],done:!b}}};throw new TypeError(_?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(s,"__esModule",{value:!0}),s.TextRenderLayer=void 0;var f=o(3700),h=o(1546),p=o(3734),y=o(643),$=o(511),m=o(2585),d=o(4725),g=o(4269),v=function(b){function _(Q,S,P,w,x,k,C,T,E){var A=b.call(this,Q,"text",S,w,P,x,k,C,E)||this;return A._characterJoinerService=T,A._characterWidth=0,A._characterFont="",A._characterOverlapCache={},A._workCell=new $.CellData,A._state=new f.GridCache,A}return l(_,b),_.prototype.resize=function(Q){b.prototype.resize.call(this,Q);var S=this._getFont(!1,!1);this._characterWidth===Q.scaledCharWidth&&this._characterFont===S||(this._characterWidth=Q.scaledCharWidth,this._characterFont=S,this._characterOverlapCache={}),this._state.clear(),this._state.resize(this._bufferService.cols,this._bufferService.rows)},_.prototype.reset=function(){this._state.clear(),this._clearAll()},_.prototype._forEachCell=function(Q,S,P){for(var w=Q;w<=S;w++)for(var x=w+this._bufferService.buffer.ydisp,k=this._bufferService.buffer.lines.get(x),C=this._characterJoinerService.getJoinedCharacters(x),T=0;T0&&T===C[0][0]){A=!0;var X=C.shift();E=new g.JoinedCellData(this._workCell,k.translateToString(!0,X[0],X[1]),X[1]-X[0]),R=X[1]-1}!A&&this._isOverlapping(E)&&Rthis._characterWidth;return this._ctx.restore(),this._characterOverlapCache[S]=P,P},c([u(5,m.IBufferService),u(6,m.IOptionsService),u(7,d.ICharacterJoinerService),u(8,m.IDecorationService)],_)}(h.BaseRenderLayer);s.TextRenderLayer=v},9616:(r,s)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.BaseCharAtlas=void 0;var o=function(){function a(){this._didWarmUp=!1}return a.prototype.dispose=function(){},a.prototype.warmUp=function(){this._didWarmUp||(this._doWarmUp(),this._didWarmUp=!0)},a.prototype._doWarmUp=function(){},a.prototype.clear=function(){},a.prototype.beginFrame=function(){},a}();s.BaseCharAtlas=o},1420:(r,s,o)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.removeTerminalFromCache=s.acquireCharAtlas=void 0;var a=o(2040),l=o(1906),c=[];s.acquireCharAtlas=function(u,O,f,h,p){for(var y=(0,a.generateConfig)(h,p,u,f),$=0;$=0){if((0,a.configEquals)(d.config,y))return d.atlas;d.ownedBy.length===1?(d.atlas.dispose(),c.splice($,1)):d.ownedBy.splice(m,1);break}}for($=0;${Object.defineProperty(s,"__esModule",{value:!0}),s.is256Color=s.configEquals=s.generateConfig=void 0;var a=o(643);s.generateConfig=function(l,c,u,O){var f={foreground:O.foreground,background:O.background,cursor:void 0,cursorAccent:void 0,selection:void 0,ansi:O.ansi.slice()};return{devicePixelRatio:window.devicePixelRatio,scaledCharWidth:l,scaledCharHeight:c,fontFamily:u.fontFamily,fontSize:u.fontSize,fontWeight:u.fontWeight,fontWeightBold:u.fontWeightBold,allowTransparency:u.allowTransparency,colors:f}},s.configEquals=function(l,c){for(var u=0;u{Object.defineProperty(s,"__esModule",{value:!0}),s.CHAR_ATLAS_CELL_SPACING=s.TEXT_BASELINE=s.DIM_OPACITY=s.INVERTED_DEFAULT_COLOR=void 0;var a=o(6114);s.INVERTED_DEFAULT_COLOR=257,s.DIM_OPACITY=.5,s.TEXT_BASELINE=a.isFirefox||a.isLegacyEdge?"bottom":"ideographic",s.CHAR_ATLAS_CELL_SPACING=1},1906:function(r,s,o){var a,l=this&&this.__extends||(a=function(Q,S){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(P,w){P.__proto__=w}||function(P,w){for(var x in w)Object.prototype.hasOwnProperty.call(w,x)&&(P[x]=w[x])},a(Q,S)},function(Q,S){if(typeof S!="function"&&S!==null)throw new TypeError("Class extends value "+String(S)+" is not a constructor or null");function P(){this.constructor=Q}a(Q,S),Q.prototype=S===null?Object.create(S):(P.prototype=S.prototype,new P)});Object.defineProperty(s,"__esModule",{value:!0}),s.NoneCharAtlas=s.DynamicCharAtlas=s.getGlyphCacheKey=void 0;var c=o(8803),u=o(9616),O=o(5680),f=o(7001),h=o(6114),p=o(1752),y=o(8055),$=1024,m=1024,d={css:"rgba(0, 0, 0, 0)",rgba:0};function g(Q){return Q.code<<21|Q.bg<<12|Q.fg<<3|(Q.bold?0:4)+(Q.dim?0:2)+(Q.italic?0:1)}s.getGlyphCacheKey=g;var v=function(Q){function S(P,w){var x=Q.call(this)||this;x._config=w,x._drawToCacheCount=0,x._glyphsWaitingOnBitmap=[],x._bitmapCommitTimeout=null,x._bitmap=null,x._cacheCanvas=P.createElement("canvas"),x._cacheCanvas.width=$,x._cacheCanvas.height=m,x._cacheCtx=(0,p.throwIfFalsy)(x._cacheCanvas.getContext("2d",{alpha:!0}));var k=P.createElement("canvas");k.width=x._config.scaledCharWidth,k.height=x._config.scaledCharHeight,x._tmpCtx=(0,p.throwIfFalsy)(k.getContext("2d",{alpha:x._config.allowTransparency})),x._width=Math.floor($/x._config.scaledCharWidth),x._height=Math.floor(m/x._config.scaledCharHeight);var C=x._width*x._height;return x._cacheMap=new f.LRUMap(C),x._cacheMap.prealloc(C),x}return l(S,Q),S.prototype.dispose=function(){this._bitmapCommitTimeout!==null&&(window.clearTimeout(this._bitmapCommitTimeout),this._bitmapCommitTimeout=null)},S.prototype.beginFrame=function(){this._drawToCacheCount=0},S.prototype.clear=function(){if(this._cacheMap.size>0){var P=this._width*this._height;this._cacheMap=new f.LRUMap(P),this._cacheMap.prealloc(P)}this._cacheCtx.clearRect(0,0,$,m),this._tmpCtx.clearRect(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight)},S.prototype.draw=function(P,w,x,k){if(w.code===32)return!0;if(!this._canCache(w))return!1;var C=g(w),T=this._cacheMap.get(C);if(T!=null)return this._drawFromCache(P,T,x,k),!0;if(this._drawToCacheCount<100){var E;E=this._cacheMap.size>>24,x=S.rgba>>>16&255,k=S.rgba>>>8&255,C=0;C{Object.defineProperty(s,"__esModule",{value:!0}),s.LRUMap=void 0;var o=function(){function a(l){this.capacity=l,this._map={},this._head=null,this._tail=null,this._nodePool=[],this.size=0}return a.prototype._unlinkNode=function(l){var c=l.prev,u=l.next;l===this._head&&(this._head=u),l===this._tail&&(this._tail=c),c!==null&&(c.next=u),u!==null&&(u.prev=c)},a.prototype._appendNode=function(l){var c=this._tail;c!==null&&(c.next=l),l.prev=c,l.next=null,this._tail=l,this._head===null&&(this._head=l)},a.prototype.prealloc=function(l){for(var c=this._nodePool,u=0;u=this.capacity)u=this._head,this._unlinkNode(u),delete this._map[u.key],u.key=l,u.value=c,this._map[l]=u;else{var O=this._nodePool;O.length>0?((u=O.pop()).key=l,u.value=c):u={prev:null,next:null,key:l,value:c},this._map[l]=u,this.size++}this._appendNode(u)},a}();s.LRUMap=o},1296:function(r,s,o){var a,l=this&&this.__extends||(a=function(w,x){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(k,C){k.__proto__=C}||function(k,C){for(var T in C)Object.prototype.hasOwnProperty.call(C,T)&&(k[T]=C[T])},a(w,x)},function(w,x){if(typeof x!="function"&&x!==null)throw new TypeError("Class extends value "+String(x)+" is not a constructor or null");function k(){this.constructor=w}a(w,x),w.prototype=x===null?Object.create(x):(k.prototype=x.prototype,new k)}),c=this&&this.__decorate||function(w,x,k,C){var T,E=arguments.length,A=E<3?x:C===null?C=Object.getOwnPropertyDescriptor(x,k):C;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")A=Reflect.decorate(w,x,k,C);else for(var R=w.length-1;R>=0;R--)(T=w[R])&&(A=(E<3?T(A):E>3?T(x,k,A):T(x,k))||A);return E>3&&A&&Object.defineProperty(x,k,A),A},u=this&&this.__param||function(w,x){return function(k,C){x(k,C,w)}},O=this&&this.__values||function(w){var x=typeof Symbol=="function"&&Symbol.iterator,k=x&&w[x],C=0;if(k)return k.call(w);if(w&&typeof w.length=="number")return{next:function(){return w&&C>=w.length&&(w=void 0),{value:w&&w[C++],done:!w}}};throw new TypeError(x?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(s,"__esModule",{value:!0}),s.DomRenderer=void 0;var f=o(3787),h=o(8803),p=o(844),y=o(4725),$=o(2585),m=o(8460),d=o(8055),g=o(9631),v="xterm-dom-renderer-owner-",b="xterm-fg-",_="xterm-bg-",Q="xterm-focus",S=1,P=function(w){function x(k,C,T,E,A,R,X,U,V,j){var Y=w.call(this)||this;return Y._colors=k,Y._element=C,Y._screenElement=T,Y._viewportElement=E,Y._linkifier=A,Y._linkifier2=R,Y._charSizeService=U,Y._optionsService=V,Y._bufferService=j,Y._terminalClass=S++,Y._rowElements=[],Y._rowContainer=document.createElement("div"),Y._rowContainer.classList.add("xterm-rows"),Y._rowContainer.style.lineHeight="normal",Y._rowContainer.setAttribute("aria-hidden","true"),Y._refreshRowElements(Y._bufferService.cols,Y._bufferService.rows),Y._selectionContainer=document.createElement("div"),Y._selectionContainer.classList.add("xterm-selection"),Y._selectionContainer.setAttribute("aria-hidden","true"),Y.dimensions={scaledCharWidth:0,scaledCharHeight:0,scaledCellWidth:0,scaledCellHeight:0,scaledCharLeft:0,scaledCharTop:0,scaledCanvasWidth:0,scaledCanvasHeight:0,canvasWidth:0,canvasHeight:0,actualCellWidth:0,actualCellHeight:0},Y._updateDimensions(),Y._injectCss(),Y._rowFactory=X.createInstance(f.DomRendererRowFactory,document,Y._colors),Y._element.classList.add(v+Y._terminalClass),Y._screenElement.appendChild(Y._rowContainer),Y._screenElement.appendChild(Y._selectionContainer),Y.register(Y._linkifier.onShowLinkUnderline(function(ee){return Y._onLinkHover(ee)})),Y.register(Y._linkifier.onHideLinkUnderline(function(ee){return Y._onLinkLeave(ee)})),Y.register(Y._linkifier2.onShowLinkUnderline(function(ee){return Y._onLinkHover(ee)})),Y.register(Y._linkifier2.onHideLinkUnderline(function(ee){return Y._onLinkLeave(ee)})),Y}return l(x,w),Object.defineProperty(x.prototype,"onRequestRedraw",{get:function(){return new m.EventEmitter().event},enumerable:!1,configurable:!0}),x.prototype.dispose=function(){this._element.classList.remove(v+this._terminalClass),(0,g.removeElementFromParent)(this._rowContainer,this._selectionContainer,this._themeStyleElement,this._dimensionsStyleElement),w.prototype.dispose.call(this)},x.prototype._updateDimensions=function(){var k,C;this.dimensions.scaledCharWidth=this._charSizeService.width*window.devicePixelRatio,this.dimensions.scaledCharHeight=Math.ceil(this._charSizeService.height*window.devicePixelRatio),this.dimensions.scaledCellWidth=this.dimensions.scaledCharWidth+Math.round(this._optionsService.rawOptions.letterSpacing),this.dimensions.scaledCellHeight=Math.floor(this.dimensions.scaledCharHeight*this._optionsService.rawOptions.lineHeight),this.dimensions.scaledCharLeft=0,this.dimensions.scaledCharTop=0,this.dimensions.scaledCanvasWidth=this.dimensions.scaledCellWidth*this._bufferService.cols,this.dimensions.scaledCanvasHeight=this.dimensions.scaledCellHeight*this._bufferService.rows,this.dimensions.canvasWidth=Math.round(this.dimensions.scaledCanvasWidth/window.devicePixelRatio),this.dimensions.canvasHeight=Math.round(this.dimensions.scaledCanvasHeight/window.devicePixelRatio),this.dimensions.actualCellWidth=this.dimensions.canvasWidth/this._bufferService.cols,this.dimensions.actualCellHeight=this.dimensions.canvasHeight/this._bufferService.rows;try{for(var T=O(this._rowElements),E=T.next();!E.done;E=T.next()){var A=E.value;A.style.width=this.dimensions.canvasWidth+"px",A.style.height=this.dimensions.actualCellHeight+"px",A.style.lineHeight=this.dimensions.actualCellHeight+"px",A.style.overflow="hidden"}}catch(X){k={error:X}}finally{try{E&&!E.done&&(C=T.return)&&C.call(T)}finally{if(k)throw k.error}}this._dimensionsStyleElement||(this._dimensionsStyleElement=document.createElement("style"),this._screenElement.appendChild(this._dimensionsStyleElement));var R=this._terminalSelector+" .xterm-rows span { display: inline-block; height: 100%; vertical-align: top; width: "+this.dimensions.actualCellWidth+"px}";this._dimensionsStyleElement.textContent=R,this._selectionContainer.style.height=this._viewportElement.style.height,this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},x.prototype.setColors=function(k){this._colors=k,this._injectCss()},x.prototype._injectCss=function(){var k=this;this._themeStyleElement||(this._themeStyleElement=document.createElement("style"),this._screenElement.appendChild(this._themeStyleElement));var C=this._terminalSelector+" .xterm-rows { color: "+this._colors.foreground.css+"; font-family: "+this._optionsService.rawOptions.fontFamily+"; font-size: "+this._optionsService.rawOptions.fontSize+"px;}";C+=this._terminalSelector+" span:not(."+f.BOLD_CLASS+") { font-weight: "+this._optionsService.rawOptions.fontWeight+";}"+this._terminalSelector+" span."+f.BOLD_CLASS+" { font-weight: "+this._optionsService.rawOptions.fontWeightBold+";}"+this._terminalSelector+" span."+f.ITALIC_CLASS+" { font-style: italic;}",C+="@keyframes blink_box_shadow_"+this._terminalClass+" { 50% { box-shadow: none; }}",C+="@keyframes blink_block_"+this._terminalClass+" { 0% { background-color: "+this._colors.cursor.css+"; color: "+this._colors.cursorAccent.css+"; } 50% { background-color: "+this._colors.cursorAccent.css+"; color: "+this._colors.cursor.css+"; }}",C+=this._terminalSelector+" .xterm-rows:not(.xterm-focus) ."+f.CURSOR_CLASS+"."+f.CURSOR_STYLE_BLOCK_CLASS+" { outline: 1px solid "+this._colors.cursor.css+"; outline-offset: -1px;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+f.CURSOR_CLASS+"."+f.CURSOR_BLINK_CLASS+":not(."+f.CURSOR_STYLE_BLOCK_CLASS+") { animation: blink_box_shadow_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+f.CURSOR_CLASS+"."+f.CURSOR_BLINK_CLASS+"."+f.CURSOR_STYLE_BLOCK_CLASS+" { animation: blink_block_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+f.CURSOR_CLASS+"."+f.CURSOR_STYLE_BLOCK_CLASS+" { background-color: "+this._colors.cursor.css+"; color: "+this._colors.cursorAccent.css+";}"+this._terminalSelector+" .xterm-rows ."+f.CURSOR_CLASS+"."+f.CURSOR_STYLE_BAR_CLASS+" { box-shadow: "+this._optionsService.rawOptions.cursorWidth+"px 0 0 "+this._colors.cursor.css+" inset;}"+this._terminalSelector+" .xterm-rows ."+f.CURSOR_CLASS+"."+f.CURSOR_STYLE_UNDERLINE_CLASS+" { box-shadow: 0 -1px 0 "+this._colors.cursor.css+" inset;}",C+=this._terminalSelector+" .xterm-selection { position: absolute; top: 0; left: 0; z-index: 1; pointer-events: none;}"+this._terminalSelector+" .xterm-selection div { position: absolute; background-color: "+this._colors.selectionOpaque.css+";}",this._colors.ansi.forEach(function(T,E){C+=k._terminalSelector+" ."+b+E+" { color: "+T.css+"; }"+k._terminalSelector+" ."+_+E+" { background-color: "+T.css+"; }"}),C+=this._terminalSelector+" ."+b+h.INVERTED_DEFAULT_COLOR+" { color: "+d.color.opaque(this._colors.background).css+"; }"+this._terminalSelector+" ."+_+h.INVERTED_DEFAULT_COLOR+" { background-color: "+this._colors.foreground.css+"; }",this._themeStyleElement.textContent=C},x.prototype.onDevicePixelRatioChange=function(){this._updateDimensions()},x.prototype._refreshRowElements=function(k,C){for(var T=this._rowElements.length;T<=C;T++){var E=document.createElement("div");this._rowContainer.appendChild(E),this._rowElements.push(E)}for(;this._rowElements.length>C;)this._rowContainer.removeChild(this._rowElements.pop())},x.prototype.onResize=function(k,C){this._refreshRowElements(k,C),this._updateDimensions()},x.prototype.onCharSizeChanged=function(){this._updateDimensions()},x.prototype.onBlur=function(){this._rowContainer.classList.remove(Q)},x.prototype.onFocus=function(){this._rowContainer.classList.add(Q)},x.prototype.onSelectionChanged=function(k,C,T){for(;this._selectionContainer.children.length;)this._selectionContainer.removeChild(this._selectionContainer.children[0]);if(this._rowFactory.onSelectionChanged(k,C,T),this.renderRows(0,this._bufferService.rows-1),k&&C){var E=k[1]-this._bufferService.buffer.ydisp,A=C[1]-this._bufferService.buffer.ydisp,R=Math.max(E,0),X=Math.min(A,this._bufferService.rows-1);if(!(R>=this._bufferService.rows||X<0)){var U=document.createDocumentFragment();if(T){var V=k[0]>C[0];U.appendChild(this._createSelectionElement(R,V?C[0]:k[0],V?k[0]:C[0],X-R+1))}else{var j=E===R?k[0]:0,Y=R===A?C[0]:this._bufferService.cols;U.appendChild(this._createSelectionElement(R,j,Y));var ee=X-R-1;if(U.appendChild(this._createSelectionElement(R+1,0,this._bufferService.cols,ee)),R!==X){var se=A===X?C[0]:this._bufferService.cols;U.appendChild(this._createSelectionElement(X,0,se))}}this._selectionContainer.appendChild(U)}}},x.prototype._createSelectionElement=function(k,C,T,E){E===void 0&&(E=1);var A=document.createElement("div");return A.style.height=E*this.dimensions.actualCellHeight+"px",A.style.top=k*this.dimensions.actualCellHeight+"px",A.style.left=C*this.dimensions.actualCellWidth+"px",A.style.width=this.dimensions.actualCellWidth*(T-C)+"px",A},x.prototype.onCursorMove=function(){},x.prototype.onOptionsChanged=function(){this._updateDimensions(),this._injectCss()},x.prototype.clear=function(){var k,C;try{for(var T=O(this._rowElements),E=T.next();!E.done;E=T.next())E.value.innerText=""}catch(A){k={error:A}}finally{try{E&&!E.done&&(C=T.return)&&C.call(T)}finally{if(k)throw k.error}}},x.prototype.renderRows=function(k,C){for(var T=this._bufferService.buffer.ybase+this._bufferService.buffer.y,E=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1),A=this._optionsService.rawOptions.cursorBlink,R=k;R<=C;R++){var X=this._rowElements[R];X.innerText="";var U=R+this._bufferService.buffer.ydisp,V=this._bufferService.buffer.lines.get(U),j=this._optionsService.rawOptions.cursorStyle;X.appendChild(this._rowFactory.createRow(V,U,U===T,j,E,A,this.dimensions.actualCellWidth,this._bufferService.cols))}},Object.defineProperty(x.prototype,"_terminalSelector",{get:function(){return"."+v+this._terminalClass},enumerable:!1,configurable:!0}),x.prototype._onLinkHover=function(k){this._setCellUnderline(k.x1,k.x2,k.y1,k.y2,k.cols,!0)},x.prototype._onLinkLeave=function(k){this._setCellUnderline(k.x1,k.x2,k.y1,k.y2,k.cols,!1)},x.prototype._setCellUnderline=function(k,C,T,E,A,R){for(;k!==C||T!==E;){var X=this._rowElements[T];if(!X)return;var U=X.children[k];U&&(U.style.textDecoration=R?"underline":"none"),++k>=A&&(k=0,T++)}},c([u(6,$.IInstantiationService),u(7,y.ICharSizeService),u(8,$.IOptionsService),u(9,$.IBufferService)],x)}(p.Disposable);s.DomRenderer=P},3787:function(r,s,o){var a=this&&this.__decorate||function(v,b,_,Q){var S,P=arguments.length,w=P<3?b:Q===null?Q=Object.getOwnPropertyDescriptor(b,_):Q;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")w=Reflect.decorate(v,b,_,Q);else for(var x=v.length-1;x>=0;x--)(S=v[x])&&(w=(P<3?S(w):P>3?S(b,_,w):S(b,_))||w);return P>3&&w&&Object.defineProperty(b,_,w),w},l=this&&this.__param||function(v,b){return function(_,Q){b(_,Q,v)}},c=this&&this.__values||function(v){var b=typeof Symbol=="function"&&Symbol.iterator,_=b&&v[b],Q=0;if(_)return _.call(v);if(v&&typeof v.length=="number")return{next:function(){return v&&Q>=v.length&&(v=void 0),{value:v&&v[Q++],done:!v}}};throw new TypeError(b?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(s,"__esModule",{value:!0}),s.DomRendererRowFactory=s.CURSOR_STYLE_UNDERLINE_CLASS=s.CURSOR_STYLE_BAR_CLASS=s.CURSOR_STYLE_BLOCK_CLASS=s.CURSOR_BLINK_CLASS=s.CURSOR_CLASS=s.STRIKETHROUGH_CLASS=s.UNDERLINE_CLASS=s.ITALIC_CLASS=s.DIM_CLASS=s.BOLD_CLASS=void 0;var u=o(8803),O=o(643),f=o(511),h=o(2585),p=o(8055),y=o(4725),$=o(4269),m=o(1752);s.BOLD_CLASS="xterm-bold",s.DIM_CLASS="xterm-dim",s.ITALIC_CLASS="xterm-italic",s.UNDERLINE_CLASS="xterm-underline",s.STRIKETHROUGH_CLASS="xterm-strikethrough",s.CURSOR_CLASS="xterm-cursor",s.CURSOR_BLINK_CLASS="xterm-cursor-blink",s.CURSOR_STYLE_BLOCK_CLASS="xterm-cursor-block",s.CURSOR_STYLE_BAR_CLASS="xterm-cursor-bar",s.CURSOR_STYLE_UNDERLINE_CLASS="xterm-cursor-underline";var d=function(){function v(b,_,Q,S,P,w){this._document=b,this._colors=_,this._characterJoinerService=Q,this._optionsService=S,this._coreService=P,this._decorationService=w,this._workCell=new f.CellData,this._columnSelectMode=!1}return v.prototype.setColors=function(b){this._colors=b},v.prototype.onSelectionChanged=function(b,_,Q){this._selectionStart=b,this._selectionEnd=_,this._columnSelectMode=Q},v.prototype.createRow=function(b,_,Q,S,P,w,x,k){for(var C,T,E=this._document.createDocumentFragment(),A=this._characterJoinerService.getJoinedCharacters(_),R=0,X=Math.min(b.length,k)-1;X>=0;X--)if(b.loadCell(X,this._workCell).getCode()!==O.NULL_CELL_CODE||Q&&X===P){R=X+1;break}for(X=0;X0&&X===A[0][0]){V=!0;var ee=A.shift();Y=new $.JoinedCellData(this._workCell,b.translateToString(!0,ee[0],ee[1]),ee[1]-ee[0]),j=ee[1]-1,U=Y.getWidth()}var se=this._document.createElement("span");if(U>1&&(se.style.width=x*U+"px"),V&&(se.style.display="inline",P>=X&&P<=j&&(P=X)),!this._coreService.isCursorHidden&&Q&&X===P)switch(se.classList.add(s.CURSOR_CLASS),w&&se.classList.add(s.CURSOR_BLINK_CLASS),S){case"bar":se.classList.add(s.CURSOR_STYLE_BAR_CLASS);break;case"underline":se.classList.add(s.CURSOR_STYLE_UNDERLINE_CLASS);break;default:se.classList.add(s.CURSOR_STYLE_BLOCK_CLASS)}Y.isBold()&&se.classList.add(s.BOLD_CLASS),Y.isItalic()&&se.classList.add(s.ITALIC_CLASS),Y.isDim()&&se.classList.add(s.DIM_CLASS),Y.isUnderline()&&se.classList.add(s.UNDERLINE_CLASS),Y.isInvisible()?se.textContent=O.WHITESPACE_CELL_CHAR:se.textContent=Y.getChars()||O.WHITESPACE_CELL_CHAR,Y.isStrikethrough()&&se.classList.add(s.STRIKETHROUGH_CLASS);var I=Y.getFgColor(),ne=Y.getFgColorMode(),H=Y.getBgColor(),re=Y.getBgColorMode(),G=!!Y.isInverse();if(G){var Re=I;I=H,H=Re;var _e=ne;ne=re,re=_e}var ue=void 0,W=void 0,q=!1;try{for(var F=(C=void 0,c(this._decorationService.getDecorationsAtCell(X,_))),fe=F.next();!fe.done;fe=F.next()){var he=fe.value;he.options.layer!=="top"&&q||(he.backgroundColorRGB&&(re=50331648,H=he.backgroundColorRGB.rgba>>8&16777215,ue=he.backgroundColorRGB),he.foregroundColorRGB&&(ne=50331648,I=he.foregroundColorRGB.rgba>>8&16777215,W=he.foregroundColorRGB),q=he.options.layer==="top")}}catch(le){C={error:le}}finally{try{fe&&!fe.done&&(T=F.return)&&T.call(F)}finally{if(C)throw C.error}}var ve=this._isCellInSelection(X,_);q||this._colors.selectionForeground&&ve&&(ne=50331648,I=this._colors.selectionForeground.rgba>>8&16777215,W=this._colors.selectionForeground),ve&&(ue=this._colors.selectionOpaque,q=!0),q&&se.classList.add("xterm-decoration-top");var xe=void 0;switch(re){case 16777216:case 33554432:xe=this._colors.ansi[H],se.classList.add("xterm-bg-"+H);break;case 50331648:xe=p.rgba.toColor(H>>16,H>>8&255,255&H),this._addStyle(se,"background-color:#"+g((H>>>0).toString(16),"0",6));break;default:G?(xe=this._colors.foreground,se.classList.add("xterm-bg-"+u.INVERTED_DEFAULT_COLOR)):xe=this._colors.background}switch(ne){case 16777216:case 33554432:Y.isBold()&&I<8&&this._optionsService.rawOptions.drawBoldTextInBrightColors&&(I+=8),this._applyMinimumContrast(se,xe,this._colors.ansi[I],Y,ue,void 0)||se.classList.add("xterm-fg-"+I);break;case 50331648:var me=p.rgba.toColor(I>>16&255,I>>8&255,255&I);this._applyMinimumContrast(se,xe,me,Y,ue,W)||this._addStyle(se,"color:#"+g(I.toString(16),"0",6));break;default:this._applyMinimumContrast(se,xe,this._colors.foreground,Y,ue,void 0)||G&&se.classList.add("xterm-fg-"+u.INVERTED_DEFAULT_COLOR)}E.appendChild(se),X=j}}return E},v.prototype._applyMinimumContrast=function(b,_,Q,S,P,w){if(this._optionsService.rawOptions.minimumContrastRatio===1||(0,m.excludeFromContrastRatioDemands)(S.getCode()))return!1;var x=void 0;return P||w||(x=this._colors.contrastCache.getColor(_.rgba,Q.rgba)),x===void 0&&(x=p.color.ensureContrastRatio(P||_,w||Q,this._optionsService.rawOptions.minimumContrastRatio),this._colors.contrastCache.setColor((P||_).rgba,(w||Q).rgba,x!=null?x:null)),!!x&&(this._addStyle(b,"color:"+x.css),!0)},v.prototype._addStyle=function(b,_){b.setAttribute("style",""+(b.getAttribute("style")||"")+_+";")},v.prototype._isCellInSelection=function(b,_){var Q=this._selectionStart,S=this._selectionEnd;return!(!Q||!S)&&(this._columnSelectMode?Q[0]<=S[0]?b>=Q[0]&&_>=Q[1]&&b=Q[1]&&b>=S[0]&&_<=S[1]:_>Q[1]&&_=Q[0]&&b=Q[0])},a([l(2,y.ICharacterJoinerService),l(3,h.IOptionsService),l(4,h.ICoreService),l(5,h.IDecorationService)],v)}();function g(v,b,_){for(;v.length<_;)v=b+v;return v}s.DomRendererRowFactory=d},456:(r,s)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.SelectionModel=void 0;var o=function(){function a(l){this._bufferService=l,this.isSelectAllActive=!1,this.selectionStartLength=0}return a.prototype.clearSelection=function(){this.selectionStart=void 0,this.selectionEnd=void 0,this.isSelectAllActive=!1,this.selectionStartLength=0},Object.defineProperty(a.prototype,"finalSelectionStart",{get:function(){return this.isSelectAllActive?[0,0]:this.selectionEnd&&this.selectionStart&&this.areSelectionValuesReversed()?this.selectionEnd:this.selectionStart},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"finalSelectionEnd",{get:function(){return this.isSelectAllActive?[this._bufferService.cols,this._bufferService.buffer.ybase+this._bufferService.rows-1]:this.selectionStart?!this.selectionEnd||this.areSelectionValuesReversed()?(l=this.selectionStart[0]+this.selectionStartLength)>this._bufferService.cols?l%this._bufferService.cols==0?[this._bufferService.cols,this.selectionStart[1]+Math.floor(l/this._bufferService.cols)-1]:[l%this._bufferService.cols,this.selectionStart[1]+Math.floor(l/this._bufferService.cols)]:[l,this.selectionStart[1]]:this.selectionStartLength&&this.selectionEnd[1]===this.selectionStart[1]?(l=this.selectionStart[0]+this.selectionStartLength)>this._bufferService.cols?[l%this._bufferService.cols,this.selectionStart[1]+Math.floor(l/this._bufferService.cols)]:[Math.max(l,this.selectionEnd[0]),this.selectionEnd[1]]:this.selectionEnd:void 0;var l},enumerable:!1,configurable:!0}),a.prototype.areSelectionValuesReversed=function(){var l=this.selectionStart,c=this.selectionEnd;return!(!l||!c)&&(l[1]>c[1]||l[1]===c[1]&&l[0]>c[0])},a.prototype.onTrim=function(l){return this.selectionStart&&(this.selectionStart[1]-=l),this.selectionEnd&&(this.selectionEnd[1]-=l),this.selectionEnd&&this.selectionEnd[1]<0?(this.clearSelection(),!0):(this.selectionStart&&this.selectionStart[1]<0&&(this.selectionStart[1]=0),!1)},a}();s.SelectionModel=o},428:function(r,s,o){var a=this&&this.__decorate||function(h,p,y,$){var m,d=arguments.length,g=d<3?p:$===null?$=Object.getOwnPropertyDescriptor(p,y):$;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")g=Reflect.decorate(h,p,y,$);else for(var v=h.length-1;v>=0;v--)(m=h[v])&&(g=(d<3?m(g):d>3?m(p,y,g):m(p,y))||g);return d>3&&g&&Object.defineProperty(p,y,g),g},l=this&&this.__param||function(h,p){return function(y,$){p(y,$,h)}};Object.defineProperty(s,"__esModule",{value:!0}),s.CharSizeService=void 0;var c=o(2585),u=o(8460),O=function(){function h(p,y,$){this._optionsService=$,this.width=0,this.height=0,this._onCharSizeChange=new u.EventEmitter,this._measureStrategy=new f(p,y,this._optionsService)}return Object.defineProperty(h.prototype,"hasValidSize",{get:function(){return this.width>0&&this.height>0},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"onCharSizeChange",{get:function(){return this._onCharSizeChange.event},enumerable:!1,configurable:!0}),h.prototype.measure=function(){var p=this._measureStrategy.measure();p.width===this.width&&p.height===this.height||(this.width=p.width,this.height=p.height,this._onCharSizeChange.fire())},a([l(2,c.IOptionsService)],h)}();s.CharSizeService=O;var f=function(){function h(p,y,$){this._document=p,this._parentElement=y,this._optionsService=$,this._result={width:0,height:0},this._measureElement=this._document.createElement("span"),this._measureElement.classList.add("xterm-char-measure-element"),this._measureElement.textContent="W",this._measureElement.setAttribute("aria-hidden","true"),this._parentElement.appendChild(this._measureElement)}return h.prototype.measure=function(){this._measureElement.style.fontFamily=this._optionsService.rawOptions.fontFamily,this._measureElement.style.fontSize=this._optionsService.rawOptions.fontSize+"px";var p=this._measureElement.getBoundingClientRect();return p.width!==0&&p.height!==0&&(this._result.width=p.width,this._result.height=Math.ceil(p.height)),this._result},h}()},4269:function(r,s,o){var a,l=this&&this.__extends||(a=function(m,d){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,v){g.__proto__=v}||function(g,v){for(var b in v)Object.prototype.hasOwnProperty.call(v,b)&&(g[b]=v[b])},a(m,d)},function(m,d){if(typeof d!="function"&&d!==null)throw new TypeError("Class extends value "+String(d)+" is not a constructor or null");function g(){this.constructor=m}a(m,d),m.prototype=d===null?Object.create(d):(g.prototype=d.prototype,new g)}),c=this&&this.__decorate||function(m,d,g,v){var b,_=arguments.length,Q=_<3?d:v===null?v=Object.getOwnPropertyDescriptor(d,g):v;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")Q=Reflect.decorate(m,d,g,v);else for(var S=m.length-1;S>=0;S--)(b=m[S])&&(Q=(_<3?b(Q):_>3?b(d,g,Q):b(d,g))||Q);return _>3&&Q&&Object.defineProperty(d,g,Q),Q},u=this&&this.__param||function(m,d){return function(g,v){d(g,v,m)}};Object.defineProperty(s,"__esModule",{value:!0}),s.CharacterJoinerService=s.JoinedCellData=void 0;var O=o(3734),f=o(643),h=o(511),p=o(2585),y=function(m){function d(g,v,b){var _=m.call(this)||this;return _.content=0,_.combinedData="",_.fg=g.fg,_.bg=g.bg,_.combinedData=v,_._width=b,_}return l(d,m),d.prototype.isCombined=function(){return 2097152},d.prototype.getWidth=function(){return this._width},d.prototype.getChars=function(){return this.combinedData},d.prototype.getCode=function(){return 2097151},d.prototype.setFromCharData=function(g){throw new Error("not implemented")},d.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},d}(O.AttributeData);s.JoinedCellData=y;var $=function(){function m(d){this._bufferService=d,this._characterJoiners=[],this._nextCharacterJoinerId=0,this._workCell=new h.CellData}return m.prototype.register=function(d){var g={id:this._nextCharacterJoinerId++,handler:d};return this._characterJoiners.push(g),g.id},m.prototype.deregister=function(d){for(var g=0;g1)for(var k=this._getJoinedRanges(b,S,Q,g,_),C=0;C1)for(k=this._getJoinedRanges(b,S,Q,g,_),C=0;C{Object.defineProperty(s,"__esModule",{value:!0}),s.CoreBrowserService=void 0;var o=function(){function a(l){this._textarea=l}return Object.defineProperty(a.prototype,"isFocused",{get:function(){return(this._textarea.getRootNode?this._textarea.getRootNode():document).activeElement===this._textarea&&document.hasFocus()},enumerable:!1,configurable:!0}),a}();s.CoreBrowserService=o},8934:function(r,s,o){var a=this&&this.__decorate||function(f,h,p,y){var $,m=arguments.length,d=m<3?h:y===null?y=Object.getOwnPropertyDescriptor(h,p):y;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")d=Reflect.decorate(f,h,p,y);else for(var g=f.length-1;g>=0;g--)($=f[g])&&(d=(m<3?$(d):m>3?$(h,p,d):$(h,p))||d);return m>3&&d&&Object.defineProperty(h,p,d),d},l=this&&this.__param||function(f,h){return function(p,y){h(p,y,f)}};Object.defineProperty(s,"__esModule",{value:!0}),s.MouseService=void 0;var c=o(4725),u=o(9806),O=function(){function f(h,p){this._renderService=h,this._charSizeService=p}return f.prototype.getCoords=function(h,p,y,$,m){return(0,u.getCoords)(window,h,p,y,$,this._charSizeService.hasValidSize,this._renderService.dimensions.actualCellWidth,this._renderService.dimensions.actualCellHeight,m)},f.prototype.getRawByteCoords=function(h,p,y,$){var m=this.getCoords(h,p,y,$);return(0,u.getRawByteCoords)(m)},a([l(0,c.IRenderService),l(1,c.ICharSizeService)],f)}();s.MouseService=O},3230:function(r,s,o){var a,l=this&&this.__extends||(a=function(g,v){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,_){b.__proto__=_}||function(b,_){for(var Q in _)Object.prototype.hasOwnProperty.call(_,Q)&&(b[Q]=_[Q])},a(g,v)},function(g,v){if(typeof v!="function"&&v!==null)throw new TypeError("Class extends value "+String(v)+" is not a constructor or null");function b(){this.constructor=g}a(g,v),g.prototype=v===null?Object.create(v):(b.prototype=v.prototype,new b)}),c=this&&this.__decorate||function(g,v,b,_){var Q,S=arguments.length,P=S<3?v:_===null?_=Object.getOwnPropertyDescriptor(v,b):_;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")P=Reflect.decorate(g,v,b,_);else for(var w=g.length-1;w>=0;w--)(Q=g[w])&&(P=(S<3?Q(P):S>3?Q(v,b,P):Q(v,b))||P);return S>3&&P&&Object.defineProperty(v,b,P),P},u=this&&this.__param||function(g,v){return function(b,_){v(b,_,g)}};Object.defineProperty(s,"__esModule",{value:!0}),s.RenderService=void 0;var O=o(6193),f=o(8460),h=o(844),p=o(5596),y=o(3656),$=o(2585),m=o(4725),d=function(g){function v(b,_,Q,S,P,w,x){var k=g.call(this)||this;if(k._renderer=b,k._rowCount=_,k._charSizeService=P,k._isPaused=!1,k._needsFullRefresh=!1,k._isNextRenderRedrawOnly=!0,k._needsSelectionRefresh=!1,k._canvasWidth=0,k._canvasHeight=0,k._selectionState={start:void 0,end:void 0,columnSelectMode:!1},k._onDimensionsChange=new f.EventEmitter,k._onRenderedViewportChange=new f.EventEmitter,k._onRender=new f.EventEmitter,k._onRefreshRequest=new f.EventEmitter,k.register({dispose:function(){return k._renderer.dispose()}}),k._renderDebouncer=new O.RenderDebouncer(function(T,E){return k._renderRows(T,E)}),k.register(k._renderDebouncer),k._screenDprMonitor=new p.ScreenDprMonitor,k._screenDprMonitor.setListener(function(){return k.onDevicePixelRatioChange()}),k.register(k._screenDprMonitor),k.register(x.onResize(function(){return k._fullRefresh()})),k.register(x.buffers.onBufferActivate(function(){var T;return(T=k._renderer)===null||T===void 0?void 0:T.clear()})),k.register(S.onOptionChange(function(){return k._handleOptionsChanged()})),k.register(k._charSizeService.onCharSizeChange(function(){return k.onCharSizeChanged()})),k.register(w.onDecorationRegistered(function(){return k._fullRefresh()})),k.register(w.onDecorationRemoved(function(){return k._fullRefresh()})),k._renderer.onRequestRedraw(function(T){return k.refreshRows(T.start,T.end,!0)}),k.register((0,y.addDisposableDomListener)(window,"resize",function(){return k.onDevicePixelRatioChange()})),"IntersectionObserver"in window){var C=new IntersectionObserver(function(T){return k._onIntersectionChange(T[T.length-1])},{threshold:0});C.observe(Q),k.register({dispose:function(){return C.disconnect()}})}return k}return l(v,g),Object.defineProperty(v.prototype,"onDimensionsChange",{get:function(){return this._onDimensionsChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"onRenderedViewportChange",{get:function(){return this._onRenderedViewportChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"onRender",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"onRefreshRequest",{get:function(){return this._onRefreshRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"dimensions",{get:function(){return this._renderer.dimensions},enumerable:!1,configurable:!0}),v.prototype._onIntersectionChange=function(b){this._isPaused=b.isIntersecting===void 0?b.intersectionRatio===0:!b.isIntersecting,this._isPaused||this._charSizeService.hasValidSize||this._charSizeService.measure(),!this._isPaused&&this._needsFullRefresh&&(this.refreshRows(0,this._rowCount-1),this._needsFullRefresh=!1)},v.prototype.refreshRows=function(b,_,Q){Q===void 0&&(Q=!1),this._isPaused?this._needsFullRefresh=!0:(Q||(this._isNextRenderRedrawOnly=!1),this._renderDebouncer.refresh(b,_,this._rowCount))},v.prototype._renderRows=function(b,_){this._renderer.renderRows(b,_),this._needsSelectionRefresh&&(this._renderer.onSelectionChanged(this._selectionState.start,this._selectionState.end,this._selectionState.columnSelectMode),this._needsSelectionRefresh=!1),this._isNextRenderRedrawOnly||this._onRenderedViewportChange.fire({start:b,end:_}),this._onRender.fire({start:b,end:_}),this._isNextRenderRedrawOnly=!0},v.prototype.resize=function(b,_){this._rowCount=_,this._fireOnCanvasResize()},v.prototype._handleOptionsChanged=function(){this._renderer.onOptionsChanged(),this.refreshRows(0,this._rowCount-1),this._fireOnCanvasResize()},v.prototype._fireOnCanvasResize=function(){this._renderer.dimensions.canvasWidth===this._canvasWidth&&this._renderer.dimensions.canvasHeight===this._canvasHeight||this._onDimensionsChange.fire(this._renderer.dimensions)},v.prototype.dispose=function(){g.prototype.dispose.call(this)},v.prototype.setRenderer=function(b){var _=this;this._renderer.dispose(),this._renderer=b,this._renderer.onRequestRedraw(function(Q){return _.refreshRows(Q.start,Q.end,!0)}),this._needsSelectionRefresh=!0,this._fullRefresh()},v.prototype.addRefreshCallback=function(b){return this._renderDebouncer.addRefreshCallback(b)},v.prototype._fullRefresh=function(){this._isPaused?this._needsFullRefresh=!0:this.refreshRows(0,this._rowCount-1)},v.prototype.clearTextureAtlas=function(){var b,_;(_=(b=this._renderer)===null||b===void 0?void 0:b.clearTextureAtlas)===null||_===void 0||_.call(b),this._fullRefresh()},v.prototype.setColors=function(b){this._renderer.setColors(b),this._fullRefresh()},v.prototype.onDevicePixelRatioChange=function(){this._charSizeService.measure(),this._renderer.onDevicePixelRatioChange(),this.refreshRows(0,this._rowCount-1)},v.prototype.onResize=function(b,_){this._renderer.onResize(b,_),this._fullRefresh()},v.prototype.onCharSizeChanged=function(){this._renderer.onCharSizeChanged()},v.prototype.onBlur=function(){this._renderer.onBlur()},v.prototype.onFocus=function(){this._renderer.onFocus()},v.prototype.onSelectionChanged=function(b,_,Q){this._selectionState.start=b,this._selectionState.end=_,this._selectionState.columnSelectMode=Q,this._renderer.onSelectionChanged(b,_,Q)},v.prototype.onCursorMove=function(){this._renderer.onCursorMove()},v.prototype.clear=function(){this._renderer.clear()},c([u(3,$.IOptionsService),u(4,m.ICharSizeService),u(5,$.IDecorationService),u(6,$.IBufferService)],v)}(h.Disposable);s.RenderService=d},9312:function(r,s,o){var a,l=this&&this.__extends||(a=function(S,P){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(w,x){w.__proto__=x}||function(w,x){for(var k in x)Object.prototype.hasOwnProperty.call(x,k)&&(w[k]=x[k])},a(S,P)},function(S,P){if(typeof P!="function"&&P!==null)throw new TypeError("Class extends value "+String(P)+" is not a constructor or null");function w(){this.constructor=S}a(S,P),S.prototype=P===null?Object.create(P):(w.prototype=P.prototype,new w)}),c=this&&this.__decorate||function(S,P,w,x){var k,C=arguments.length,T=C<3?P:x===null?x=Object.getOwnPropertyDescriptor(P,w):x;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")T=Reflect.decorate(S,P,w,x);else for(var E=S.length-1;E>=0;E--)(k=S[E])&&(T=(C<3?k(T):C>3?k(P,w,T):k(P,w))||T);return C>3&&T&&Object.defineProperty(P,w,T),T},u=this&&this.__param||function(S,P){return function(w,x){P(w,x,S)}};Object.defineProperty(s,"__esModule",{value:!0}),s.SelectionService=void 0;var O=o(6114),f=o(456),h=o(511),p=o(8460),y=o(4725),$=o(2585),m=o(9806),d=o(9504),g=o(844),v=o(4841),b=String.fromCharCode(160),_=new RegExp(b,"g"),Q=function(S){function P(w,x,k,C,T,E,A,R){var X=S.call(this)||this;return X._element=w,X._screenElement=x,X._linkifier=k,X._bufferService=C,X._coreService=T,X._mouseService=E,X._optionsService=A,X._renderService=R,X._dragScrollAmount=0,X._enabled=!0,X._workCell=new h.CellData,X._mouseDownTimeStamp=0,X._oldHasSelection=!1,X._oldSelectionStart=void 0,X._oldSelectionEnd=void 0,X._onLinuxMouseSelection=X.register(new p.EventEmitter),X._onRedrawRequest=X.register(new p.EventEmitter),X._onSelectionChange=X.register(new p.EventEmitter),X._onRequestScrollLines=X.register(new p.EventEmitter),X._mouseMoveListener=function(U){return X._onMouseMove(U)},X._mouseUpListener=function(U){return X._onMouseUp(U)},X._coreService.onUserInput(function(){X.hasSelection&&X.clearSelection()}),X._trimListener=X._bufferService.buffer.lines.onTrim(function(U){return X._onTrim(U)}),X.register(X._bufferService.buffers.onBufferActivate(function(U){return X._onBufferActivate(U)})),X.enable(),X._model=new f.SelectionModel(X._bufferService),X._activeSelectionMode=0,X}return l(P,S),Object.defineProperty(P.prototype,"onLinuxMouseSelection",{get:function(){return this._onLinuxMouseSelection.event},enumerable:!1,configurable:!0}),Object.defineProperty(P.prototype,"onRequestRedraw",{get:function(){return this._onRedrawRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(P.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(P.prototype,"onRequestScrollLines",{get:function(){return this._onRequestScrollLines.event},enumerable:!1,configurable:!0}),P.prototype.dispose=function(){this._removeMouseDownListeners()},P.prototype.reset=function(){this.clearSelection()},P.prototype.disable=function(){this.clearSelection(),this._enabled=!1},P.prototype.enable=function(){this._enabled=!0},Object.defineProperty(P.prototype,"selectionStart",{get:function(){return this._model.finalSelectionStart},enumerable:!1,configurable:!0}),Object.defineProperty(P.prototype,"selectionEnd",{get:function(){return this._model.finalSelectionEnd},enumerable:!1,configurable:!0}),Object.defineProperty(P.prototype,"hasSelection",{get:function(){var w=this._model.finalSelectionStart,x=this._model.finalSelectionEnd;return!(!w||!x||w[0]===x[0]&&w[1]===x[1])},enumerable:!1,configurable:!0}),Object.defineProperty(P.prototype,"selectionText",{get:function(){var w=this._model.finalSelectionStart,x=this._model.finalSelectionEnd;if(!w||!x)return"";var k=this._bufferService.buffer,C=[];if(this._activeSelectionMode===3){if(w[0]===x[0])return"";for(var T=w[0]x[1]&&w[1]=x[0]&&w[0]=x[0]},P.prototype._selectWordAtCursor=function(w,x){var k,C,T=(C=(k=this._linkifier.currentLink)===null||k===void 0?void 0:k.link)===null||C===void 0?void 0:C.range;if(T)return this._model.selectionStart=[T.start.x-1,T.start.y-1],this._model.selectionStartLength=(0,v.getRangeLength)(T,this._bufferService.cols),this._model.selectionEnd=void 0,!0;var E=this._getMouseBufferCoords(w);return!!E&&(this._selectWordAt(E,x),this._model.selectionEnd=void 0,!0)},P.prototype.selectAll=function(){this._model.isSelectAllActive=!0,this.refresh(),this._onSelectionChange.fire()},P.prototype.selectLines=function(w,x){this._model.clearSelection(),w=Math.max(w,0),x=Math.min(x,this._bufferService.buffer.lines.length-1),this._model.selectionStart=[0,w],this._model.selectionEnd=[this._bufferService.cols,x],this.refresh(),this._onSelectionChange.fire()},P.prototype._onTrim=function(w){this._model.onTrim(w)&&this.refresh()},P.prototype._getMouseBufferCoords=function(w){var x=this._mouseService.getCoords(w,this._screenElement,this._bufferService.cols,this._bufferService.rows,!0);if(x)return x[0]--,x[1]--,x[1]+=this._bufferService.buffer.ydisp,x},P.prototype._getMouseEventScrollAmount=function(w){var x=(0,m.getCoordsRelativeToElement)(window,w,this._screenElement)[1],k=this._renderService.dimensions.canvasHeight;return x>=0&&x<=k?0:(x>k&&(x-=k),x=Math.min(Math.max(x,-50),50),(x/=50)/Math.abs(x)+Math.round(14*x))},P.prototype.shouldForceSelection=function(w){return O.isMac?w.altKey&&this._optionsService.rawOptions.macOptionClickForcesSelection:w.shiftKey},P.prototype.onMouseDown=function(w){if(this._mouseDownTimeStamp=w.timeStamp,(w.button!==2||!this.hasSelection)&&w.button===0){if(!this._enabled){if(!this.shouldForceSelection(w))return;w.stopPropagation()}w.preventDefault(),this._dragScrollAmount=0,this._enabled&&w.shiftKey?this._onIncrementalClick(w):w.detail===1?this._onSingleClick(w):w.detail===2?this._onDoubleClick(w):w.detail===3&&this._onTripleClick(w),this._addMouseDownListeners(),this.refresh(!0)}},P.prototype._addMouseDownListeners=function(){var w=this;this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.addEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.addEventListener("mouseup",this._mouseUpListener)),this._dragScrollIntervalTimer=window.setInterval(function(){return w._dragScroll()},50)},P.prototype._removeMouseDownListeners=function(){this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.removeEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.removeEventListener("mouseup",this._mouseUpListener)),clearInterval(this._dragScrollIntervalTimer),this._dragScrollIntervalTimer=void 0},P.prototype._onIncrementalClick=function(w){this._model.selectionStart&&(this._model.selectionEnd=this._getMouseBufferCoords(w))},P.prototype._onSingleClick=function(w){if(this._model.selectionStartLength=0,this._model.isSelectAllActive=!1,this._activeSelectionMode=this.shouldColumnSelect(w)?3:0,this._model.selectionStart=this._getMouseBufferCoords(w),this._model.selectionStart){this._model.selectionEnd=void 0;var x=this._bufferService.buffer.lines.get(this._model.selectionStart[1]);x&&x.length!==this._model.selectionStart[0]&&x.hasWidth(this._model.selectionStart[0])===0&&this._model.selectionStart[0]++}},P.prototype._onDoubleClick=function(w){this._selectWordAtCursor(w,!0)&&(this._activeSelectionMode=1)},P.prototype._onTripleClick=function(w){var x=this._getMouseBufferCoords(w);x&&(this._activeSelectionMode=2,this._selectLineAt(x[1]))},P.prototype.shouldColumnSelect=function(w){return w.altKey&&!(O.isMac&&this._optionsService.rawOptions.macOptionClickForcesSelection)},P.prototype._onMouseMove=function(w){if(w.stopImmediatePropagation(),this._model.selectionStart){var x=this._model.selectionEnd?[this._model.selectionEnd[0],this._model.selectionEnd[1]]:null;if(this._model.selectionEnd=this._getMouseBufferCoords(w),this._model.selectionEnd){this._activeSelectionMode===2?this._model.selectionEnd[1]0?this._model.selectionEnd[0]=this._bufferService.cols:this._dragScrollAmount<0&&(this._model.selectionEnd[0]=0));var k=this._bufferService.buffer;if(this._model.selectionEnd[1]0?(this._activeSelectionMode!==3&&(this._model.selectionEnd[0]=this._bufferService.cols),this._model.selectionEnd[1]=Math.min(w.ydisp+this._bufferService.rows,w.lines.length-1)):(this._activeSelectionMode!==3&&(this._model.selectionEnd[0]=0),this._model.selectionEnd[1]=w.ydisp),this.refresh()}},P.prototype._onMouseUp=function(w){var x=w.timeStamp-this._mouseDownTimeStamp;if(this._removeMouseDownListeners(),this.selectionText.length<=1&&x<500&&w.altKey&&this._optionsService.getOption("altClickMovesCursor")){if(this._bufferService.buffer.ybase===this._bufferService.buffer.ydisp){var k=this._mouseService.getCoords(w,this._element,this._bufferService.cols,this._bufferService.rows,!1);if(k&&k[0]!==void 0&&k[1]!==void 0){var C=(0,d.moveToCellSequence)(k[0]-1,k[1]-1,this._bufferService,this._coreService.decPrivateModes.applicationCursorKeys);this._coreService.triggerDataEvent(C,!0)}}}else this._fireEventIfSelectionChanged()},P.prototype._fireEventIfSelectionChanged=function(){var w=this._model.finalSelectionStart,x=this._model.finalSelectionEnd,k=!(!w||!x||w[0]===x[0]&&w[1]===x[1]);k?w&&x&&(this._oldSelectionStart&&this._oldSelectionEnd&&w[0]===this._oldSelectionStart[0]&&w[1]===this._oldSelectionStart[1]&&x[0]===this._oldSelectionEnd[0]&&x[1]===this._oldSelectionEnd[1]||this._fireOnSelectionChange(w,x,k)):this._oldHasSelection&&this._fireOnSelectionChange(w,x,k)},P.prototype._fireOnSelectionChange=function(w,x,k){this._oldSelectionStart=w,this._oldSelectionEnd=x,this._oldHasSelection=k,this._onSelectionChange.fire()},P.prototype._onBufferActivate=function(w){var x=this;this.clearSelection(),this._trimListener.dispose(),this._trimListener=w.activeBuffer.lines.onTrim(function(k){return x._onTrim(k)})},P.prototype._convertViewportColToCharacterIndex=function(w,x){for(var k=x[0],C=0;x[0]>=C;C++){var T=w.loadCell(C,this._workCell).getChars().length;this._workCell.getWidth()===0?k--:T>1&&x[0]!==C&&(k+=T-1)}return k},P.prototype.setSelection=function(w,x,k){this._model.clearSelection(),this._removeMouseDownListeners(),this._model.selectionStart=[w,x],this._model.selectionStartLength=k,this.refresh(),this._fireEventIfSelectionChanged()},P.prototype.rightClickSelect=function(w){this._isClickInSelection(w)||(this._selectWordAtCursor(w,!1)&&this.refresh(!0),this._fireEventIfSelectionChanged())},P.prototype._getWordAt=function(w,x,k,C){if(k===void 0&&(k=!0),C===void 0&&(C=!0),!(w[0]>=this._bufferService.cols)){var T=this._bufferService.buffer,E=T.lines.get(w[1]);if(E){var A=T.translateBufferLineToString(w[1],!1),R=this._convertViewportColToCharacterIndex(E,w),X=R,U=w[0]-R,V=0,j=0,Y=0,ee=0;if(A.charAt(R)===" "){for(;R>0&&A.charAt(R-1)===" ";)R--;for(;X1&&(ee+=ne-1,X+=ne-1);se>0&&R>0&&!this._isCharWordSeparator(E.loadCell(se-1,this._workCell));){E.loadCell(se-1,this._workCell);var H=this._workCell.getChars().length;this._workCell.getWidth()===0?(V++,se--):H>1&&(Y+=H-1,R-=H-1),R--,se--}for(;I1&&(ee+=re-1,X+=re-1),X++,I++}}X++;var G=R+U-V+Y,Re=Math.min(this._bufferService.cols,X-R+V+j-Y-ee);if(x||A.slice(R,X).trim()!==""){if(k&&G===0&&E.getCodePoint(0)!==32){var _e=T.lines.get(w[1]-1);if(_e&&E.isWrapped&&_e.getCodePoint(this._bufferService.cols-1)!==32){var ue=this._getWordAt([this._bufferService.cols-1,w[1]-1],!1,!0,!1);if(ue){var W=this._bufferService.cols-ue.start;G-=W,Re+=W}}}if(C&&G+Re===this._bufferService.cols&&E.getCodePoint(this._bufferService.cols-1)!==32){var q=T.lines.get(w[1]+1);if((q==null?void 0:q.isWrapped)&&q.getCodePoint(0)!==32){var F=this._getWordAt([0,w[1]+1],!1,!1,!0);F&&(Re+=F.length)}}return{start:G,length:Re}}}}},P.prototype._selectWordAt=function(w,x){var k=this._getWordAt(w,x);if(k){for(;k.start<0;)k.start+=this._bufferService.cols,w[1]--;this._model.selectionStart=[k.start,w[1]],this._model.selectionStartLength=k.length}},P.prototype._selectToWordAt=function(w){var x=this._getWordAt(w,!0);if(x){for(var k=w[1];x.start<0;)x.start+=this._bufferService.cols,k--;if(!this._model.areSelectionValuesReversed())for(;x.start+x.length>this._bufferService.cols;)x.length-=this._bufferService.cols,k++;this._model.selectionEnd=[this._model.areSelectionValuesReversed()?x.start:x.start+x.length,k]}},P.prototype._isCharWordSeparator=function(w){return w.getWidth()!==0&&this._optionsService.rawOptions.wordSeparator.indexOf(w.getChars())>=0},P.prototype._selectLineAt=function(w){var x=this._bufferService.buffer.getWrappedRangeForLine(w),k={start:{x:0,y:x.first},end:{x:this._bufferService.cols-1,y:x.last}};this._model.selectionStart=[0,x.first],this._model.selectionEnd=void 0,this._model.selectionStartLength=(0,v.getRangeLength)(k,this._bufferService.cols)},c([u(3,$.IBufferService),u(4,$.ICoreService),u(5,y.IMouseService),u(6,$.IOptionsService),u(7,y.IRenderService)],P)}(g.Disposable);s.SelectionService=Q},4725:(r,s,o)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.ICharacterJoinerService=s.ISoundService=s.ISelectionService=s.IRenderService=s.IMouseService=s.ICoreBrowserService=s.ICharSizeService=void 0;var a=o(8343);s.ICharSizeService=(0,a.createDecorator)("CharSizeService"),s.ICoreBrowserService=(0,a.createDecorator)("CoreBrowserService"),s.IMouseService=(0,a.createDecorator)("MouseService"),s.IRenderService=(0,a.createDecorator)("RenderService"),s.ISelectionService=(0,a.createDecorator)("SelectionService"),s.ISoundService=(0,a.createDecorator)("SoundService"),s.ICharacterJoinerService=(0,a.createDecorator)("CharacterJoinerService")},357:function(r,s,o){var a=this&&this.__decorate||function(O,f,h,p){var y,$=arguments.length,m=$<3?f:p===null?p=Object.getOwnPropertyDescriptor(f,h):p;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")m=Reflect.decorate(O,f,h,p);else for(var d=O.length-1;d>=0;d--)(y=O[d])&&(m=($<3?y(m):$>3?y(f,h,m):y(f,h))||m);return $>3&&m&&Object.defineProperty(f,h,m),m},l=this&&this.__param||function(O,f){return function(h,p){f(h,p,O)}};Object.defineProperty(s,"__esModule",{value:!0}),s.SoundService=void 0;var c=o(2585),u=function(){function O(f){this._optionsService=f}return Object.defineProperty(O,"audioContext",{get:function(){if(!O._audioContext){var f=window.AudioContext||window.webkitAudioContext;if(!f)return console.warn("Web Audio API is not supported by this browser. Consider upgrading to the latest version"),null;O._audioContext=new f}return O._audioContext},enumerable:!1,configurable:!0}),O.prototype.playBellSound=function(){var f=O.audioContext;if(f){var h=f.createBufferSource();f.decodeAudioData(this._base64ToArrayBuffer(this._removeMimeType(this._optionsService.rawOptions.bellSound)),function(p){h.buffer=p,h.connect(f.destination),h.start(0)})}},O.prototype._base64ToArrayBuffer=function(f){for(var h=window.atob(f),p=h.length,y=new Uint8Array(p),$=0;${Object.defineProperty(s,"__esModule",{value:!0}),s.CircularList=void 0;var a=o(8460),l=function(){function c(u){this._maxLength=u,this.onDeleteEmitter=new a.EventEmitter,this.onInsertEmitter=new a.EventEmitter,this.onTrimEmitter=new a.EventEmitter,this._array=new Array(this._maxLength),this._startIndex=0,this._length=0}return Object.defineProperty(c.prototype,"onDelete",{get:function(){return this.onDeleteEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"onInsert",{get:function(){return this.onInsertEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"onTrim",{get:function(){return this.onTrimEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"maxLength",{get:function(){return this._maxLength},set:function(u){if(this._maxLength!==u){for(var O=new Array(u),f=0;fthis._length)for(var O=this._length;O=u;p--)this._array[this._getCyclicIndex(p+f.length)]=this._array[this._getCyclicIndex(p)];for(p=0;pthis._maxLength){var y=this._length+f.length-this._maxLength;this._startIndex+=y,this._length=this._maxLength,this.onTrimEmitter.fire(y)}else this._length+=f.length},c.prototype.trimStart=function(u){u>this._length&&(u=this._length),this._startIndex+=u,this._length-=u,this.onTrimEmitter.fire(u)},c.prototype.shiftElements=function(u,O,f){if(!(O<=0)){if(u<0||u>=this._length)throw new Error("start argument out of range");if(u+f<0)throw new Error("Cannot shift elements in list beyond index 0");if(f>0){for(var h=O-1;h>=0;h--)this.set(u+h+f,this.get(u+h));var p=u+O+f-this._length;if(p>0)for(this._length+=p;this._length>this._maxLength;)this._length--,this._startIndex++,this.onTrimEmitter.fire(1)}else for(h=0;h{Object.defineProperty(s,"__esModule",{value:!0}),s.clone=void 0,s.clone=function o(a,l){if(l===void 0&&(l=5),typeof a!="object")return a;var c=Array.isArray(a)?[]:{};for(var u in a)c[u]=l<=1?a[u]:a[u]&&o(a[u],l-1);return c}},8055:function(r,s){var o,a,l,c,u=this&&this.__read||function(h,p){var y=typeof Symbol=="function"&&h[Symbol.iterator];if(!y)return h;var $,m,d=y.call(h),g=[];try{for(;(p===void 0||p-- >0)&&!($=d.next()).done;)g.push($.value)}catch(v){m={error:v}}finally{try{$&&!$.done&&(y=d.return)&&y.call(d)}finally{if(m)throw m.error}}return g};function O(h){var p=h.toString(16);return p.length<2?"0"+p:p}function f(h,p){return h>>0}}(o=s.channels||(s.channels={})),(a=s.color||(s.color={})).blend=function(h,p){var y=(255&p.rgba)/255;if(y===1)return{css:p.css,rgba:p.rgba};var $=p.rgba>>24&255,m=p.rgba>>16&255,d=p.rgba>>8&255,g=h.rgba>>24&255,v=h.rgba>>16&255,b=h.rgba>>8&255,_=g+Math.round(($-g)*y),Q=v+Math.round((m-v)*y),S=b+Math.round((d-b)*y);return{css:o.toCss(_,Q,S),rgba:o.toRgba(_,Q,S)}},a.isOpaque=function(h){return(255&h.rgba)==255},a.ensureContrastRatio=function(h,p,y){var $=c.ensureContrastRatio(h.rgba,p.rgba,y);if($)return c.toColor($>>24&255,$>>16&255,$>>8&255)},a.opaque=function(h){var p=(255|h.rgba)>>>0,y=u(c.toChannels(p),3),$=y[0],m=y[1],d=y[2];return{css:o.toCss($,m,d),rgba:p}},a.opacity=function(h,p){var y=Math.round(255*p),$=u(c.toChannels(h.rgba),3),m=$[0],d=$[1],g=$[2];return{css:o.toCss(m,d,g,y),rgba:o.toRgba(m,d,g,y)}},a.toColorRGB=function(h){return[h.rgba>>24&255,h.rgba>>16&255,h.rgba>>8&255]},(s.css||(s.css={})).toColor=function(h){if(h.match(/#[0-9a-f]{3,8}/i))switch(h.length){case 4:var p=parseInt(h.slice(1,2).repeat(2),16),y=parseInt(h.slice(2,3).repeat(2),16),$=parseInt(h.slice(3,4).repeat(2),16);return c.toColor(p,y,$);case 5:p=parseInt(h.slice(1,2).repeat(2),16),y=parseInt(h.slice(2,3).repeat(2),16),$=parseInt(h.slice(3,4).repeat(2),16);var m=parseInt(h.slice(4,5).repeat(2),16);return c.toColor(p,y,$,m);case 7:return{css:h,rgba:(parseInt(h.slice(1),16)<<8|255)>>>0};case 9:return{css:h,rgba:parseInt(h.slice(1),16)>>>0}}var d=h.match(/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(,\s*(0|1|\d?\.(\d+))\s*)?\)/);if(d)return p=parseInt(d[1]),y=parseInt(d[2]),$=parseInt(d[3]),m=Math.round(255*(d[5]===void 0?1:parseFloat(d[5]))),c.toColor(p,y,$,m);throw new Error("css.toColor: Unsupported css format")},function(h){function p(y,$,m){var d=y/255,g=$/255,v=m/255;return .2126*(d<=.03928?d/12.92:Math.pow((d+.055)/1.055,2.4))+.7152*(g<=.03928?g/12.92:Math.pow((g+.055)/1.055,2.4))+.0722*(v<=.03928?v/12.92:Math.pow((v+.055)/1.055,2.4))}h.relativeLuminance=function(y){return p(y>>16&255,y>>8&255,255&y)},h.relativeLuminance2=p}(l=s.rgb||(s.rgb={})),function(h){function p($,m,d){for(var g=$>>24&255,v=$>>16&255,b=$>>8&255,_=m>>24&255,Q=m>>16&255,S=m>>8&255,P=f(l.relativeLuminance2(_,Q,S),l.relativeLuminance2(g,v,b));P0||Q>0||S>0);)_-=Math.max(0,Math.ceil(.1*_)),Q-=Math.max(0,Math.ceil(.1*Q)),S-=Math.max(0,Math.ceil(.1*S)),P=f(l.relativeLuminance2(_,Q,S),l.relativeLuminance2(g,v,b));return(_<<24|Q<<16|S<<8|255)>>>0}function y($,m,d){for(var g=$>>24&255,v=$>>16&255,b=$>>8&255,_=m>>24&255,Q=m>>16&255,S=m>>8&255,P=f(l.relativeLuminance2(_,Q,S),l.relativeLuminance2(g,v,b));P>>0}h.ensureContrastRatio=function($,m,d){var g=l.relativeLuminance($>>8),v=l.relativeLuminance(m>>8);if(f(g,v)>8));if(_f(g,l.relativeLuminance(Q>>8))?b:Q}return b}var S=y($,m,d),P=f(g,l.relativeLuminance(S>>8));return Pf(g,l.relativeLuminance(Q>>8))?S:Q):S}},h.reduceLuminance=p,h.increaseLuminance=y,h.toChannels=function($){return[$>>24&255,$>>16&255,$>>8&255,255&$]},h.toColor=function($,m,d,g){return{css:o.toCss($,m,d,g),rgba:o.toRgba($,m,d,g)}}}(c=s.rgba||(s.rgba={})),s.toPaddedHex=O,s.contrastRatio=f},8969:function(r,s,o){var a,l=this&&this.__extends||(a=function(x,k){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(C,T){C.__proto__=T}||function(C,T){for(var E in T)Object.prototype.hasOwnProperty.call(T,E)&&(C[E]=T[E])},a(x,k)},function(x,k){if(typeof k!="function"&&k!==null)throw new TypeError("Class extends value "+String(k)+" is not a constructor or null");function C(){this.constructor=x}a(x,k),x.prototype=k===null?Object.create(k):(C.prototype=k.prototype,new C)}),c=this&&this.__values||function(x){var k=typeof Symbol=="function"&&Symbol.iterator,C=k&&x[k],T=0;if(C)return C.call(x);if(x&&typeof x.length=="number")return{next:function(){return x&&T>=x.length&&(x=void 0),{value:x&&x[T++],done:!x}}};throw new TypeError(k?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(s,"__esModule",{value:!0}),s.CoreTerminal=void 0;var u=o(844),O=o(2585),f=o(4348),h=o(7866),p=o(744),y=o(7302),$=o(6975),m=o(8460),d=o(1753),g=o(3730),v=o(1480),b=o(7994),_=o(9282),Q=o(5435),S=o(5981),P=!1,w=function(x){function k(C){var T=x.call(this)||this;return T._onBinary=new m.EventEmitter,T._onData=new m.EventEmitter,T._onLineFeed=new m.EventEmitter,T._onResize=new m.EventEmitter,T._onScroll=new m.EventEmitter,T._onWriteParsed=new m.EventEmitter,T._instantiationService=new f.InstantiationService,T.optionsService=new y.OptionsService(C),T._instantiationService.setService(O.IOptionsService,T.optionsService),T._bufferService=T.register(T._instantiationService.createInstance(p.BufferService)),T._instantiationService.setService(O.IBufferService,T._bufferService),T._logService=T._instantiationService.createInstance(h.LogService),T._instantiationService.setService(O.ILogService,T._logService),T.coreService=T.register(T._instantiationService.createInstance($.CoreService,function(){return T.scrollToBottom()})),T._instantiationService.setService(O.ICoreService,T.coreService),T.coreMouseService=T._instantiationService.createInstance(d.CoreMouseService),T._instantiationService.setService(O.ICoreMouseService,T.coreMouseService),T._dirtyRowService=T._instantiationService.createInstance(g.DirtyRowService),T._instantiationService.setService(O.IDirtyRowService,T._dirtyRowService),T.unicodeService=T._instantiationService.createInstance(v.UnicodeService),T._instantiationService.setService(O.IUnicodeService,T.unicodeService),T._charsetService=T._instantiationService.createInstance(b.CharsetService),T._instantiationService.setService(O.ICharsetService,T._charsetService),T._inputHandler=new Q.InputHandler(T._bufferService,T._charsetService,T.coreService,T._dirtyRowService,T._logService,T.optionsService,T.coreMouseService,T.unicodeService),T.register((0,m.forwardEvent)(T._inputHandler.onLineFeed,T._onLineFeed)),T.register(T._inputHandler),T.register((0,m.forwardEvent)(T._bufferService.onResize,T._onResize)),T.register((0,m.forwardEvent)(T.coreService.onData,T._onData)),T.register((0,m.forwardEvent)(T.coreService.onBinary,T._onBinary)),T.register(T.optionsService.onOptionChange(function(E){return T._updateOptions(E)})),T.register(T._bufferService.onScroll(function(E){T._onScroll.fire({position:T._bufferService.buffer.ydisp,source:0}),T._dirtyRowService.markRangeDirty(T._bufferService.buffer.scrollTop,T._bufferService.buffer.scrollBottom)})),T.register(T._inputHandler.onScroll(function(E){T._onScroll.fire({position:T._bufferService.buffer.ydisp,source:0}),T._dirtyRowService.markRangeDirty(T._bufferService.buffer.scrollTop,T._bufferService.buffer.scrollBottom)})),T._writeBuffer=new S.WriteBuffer(function(E,A){return T._inputHandler.parse(E,A)}),T.register((0,m.forwardEvent)(T._writeBuffer.onWriteParsed,T._onWriteParsed)),T}return l(k,x),Object.defineProperty(k.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),Object.defineProperty(k.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(k.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(k.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(k.prototype,"onWriteParsed",{get:function(){return this._onWriteParsed.event},enumerable:!1,configurable:!0}),Object.defineProperty(k.prototype,"onScroll",{get:function(){var C=this;return this._onScrollApi||(this._onScrollApi=new m.EventEmitter,this.register(this._onScroll.event(function(T){var E;(E=C._onScrollApi)===null||E===void 0||E.fire(T.position)}))),this._onScrollApi.event},enumerable:!1,configurable:!0}),Object.defineProperty(k.prototype,"cols",{get:function(){return this._bufferService.cols},enumerable:!1,configurable:!0}),Object.defineProperty(k.prototype,"rows",{get:function(){return this._bufferService.rows},enumerable:!1,configurable:!0}),Object.defineProperty(k.prototype,"buffers",{get:function(){return this._bufferService.buffers},enumerable:!1,configurable:!0}),Object.defineProperty(k.prototype,"options",{get:function(){return this.optionsService.options},set:function(C){for(var T in C)this.optionsService.options[T]=C[T]},enumerable:!1,configurable:!0}),k.prototype.dispose=function(){var C;this._isDisposed||(x.prototype.dispose.call(this),(C=this._windowsMode)===null||C===void 0||C.dispose(),this._windowsMode=void 0)},k.prototype.write=function(C,T){this._writeBuffer.write(C,T)},k.prototype.writeSync=function(C,T){this._logService.logLevel<=O.LogLevelEnum.WARN&&!P&&(this._logService.warn("writeSync is unreliable and will be removed soon."),P=!0),this._writeBuffer.writeSync(C,T)},k.prototype.resize=function(C,T){isNaN(C)||isNaN(T)||(C=Math.max(C,p.MINIMUM_COLS),T=Math.max(T,p.MINIMUM_ROWS),this._bufferService.resize(C,T))},k.prototype.scroll=function(C,T){T===void 0&&(T=!1),this._bufferService.scroll(C,T)},k.prototype.scrollLines=function(C,T,E){this._bufferService.scrollLines(C,T,E)},k.prototype.scrollPages=function(C){this._bufferService.scrollPages(C)},k.prototype.scrollToTop=function(){this._bufferService.scrollToTop()},k.prototype.scrollToBottom=function(){this._bufferService.scrollToBottom()},k.prototype.scrollToLine=function(C){this._bufferService.scrollToLine(C)},k.prototype.registerEscHandler=function(C,T){return this._inputHandler.registerEscHandler(C,T)},k.prototype.registerDcsHandler=function(C,T){return this._inputHandler.registerDcsHandler(C,T)},k.prototype.registerCsiHandler=function(C,T){return this._inputHandler.registerCsiHandler(C,T)},k.prototype.registerOscHandler=function(C,T){return this._inputHandler.registerOscHandler(C,T)},k.prototype._setup=function(){this.optionsService.rawOptions.windowsMode&&this._enableWindowsMode()},k.prototype.reset=function(){this._inputHandler.reset(),this._bufferService.reset(),this._charsetService.reset(),this.coreService.reset(),this.coreMouseService.reset()},k.prototype._updateOptions=function(C){var T;switch(C){case"scrollback":this.buffers.resize(this.cols,this.rows);break;case"windowsMode":this.optionsService.rawOptions.windowsMode?this._enableWindowsMode():((T=this._windowsMode)===null||T===void 0||T.dispose(),this._windowsMode=void 0)}},k.prototype._enableWindowsMode=function(){var C=this;if(!this._windowsMode){var T=[];T.push(this.onLineFeed(_.updateWindowsModeWrappedState.bind(null,this._bufferService))),T.push(this.registerCsiHandler({final:"H"},function(){return(0,_.updateWindowsModeWrappedState)(C._bufferService),!1})),this._windowsMode={dispose:function(){var E,A;try{for(var R=c(T),X=R.next();!X.done;X=R.next())X.value.dispose()}catch(U){E={error:U}}finally{try{X&&!X.done&&(A=R.return)&&A.call(R)}finally{if(E)throw E.error}}}}}},k}(u.Disposable);s.CoreTerminal=w},8460:(r,s)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.forwardEvent=s.EventEmitter=void 0;var o=function(){function a(){this._listeners=[],this._disposed=!1}return Object.defineProperty(a.prototype,"event",{get:function(){var l=this;return this._event||(this._event=function(c){return l._listeners.push(c),{dispose:function(){if(!l._disposed){for(var u=0;u24)return E.setWinLines||!1;switch(T){case 1:return!!E.restoreWin;case 2:return!!E.minimizeWin;case 3:return!!E.setWinPosition;case 4:return!!E.setWinSizePixels;case 5:return!!E.raiseWin;case 6:return!!E.lowerWin;case 7:return!!E.refreshWin;case 8:return!!E.setWinSizeChars;case 9:return!!E.maximizeWin;case 10:return!!E.fullscreenWin;case 11:return!!E.getWinState;case 13:return!!E.getWinPosition;case 14:return!!E.getWinSizePixels;case 15:return!!E.getScreenSizePixels;case 16:return!!E.getCellSizePixels;case 18:return!!E.getWinSizeChars;case 19:return!!E.getScreenSizeChars;case 20:return!!E.getIconTitle;case 21:return!!E.getWinTitle;case 22:return!!E.pushTitle;case 23:return!!E.popTitle;case 24:return!!E.setWinLines}return!1}(function(T){T[T.GET_WIN_SIZE_PIXELS=0]="GET_WIN_SIZE_PIXELS",T[T.GET_CELL_SIZE_PIXELS=1]="GET_CELL_SIZE_PIXELS"})(c=s.WindowsOptionsReportType||(s.WindowsOptionsReportType={}));var k=function(){function T(E,A,R,X){this._bufferService=E,this._coreService=A,this._logService=R,this._optionsService=X,this._data=new Uint32Array(0)}return T.prototype.hook=function(E){this._data=new Uint32Array(0)},T.prototype.put=function(E,A,R){this._data=(0,p.concat)(this._data,E.subarray(A,R))},T.prototype.unhook=function(E){if(!E)return this._data=new Uint32Array(0),!0;var A=(0,y.utf32ToString)(this._data);switch(this._data=new Uint32Array(0),A){case'"q':this._coreService.triggerDataEvent(u.C0.ESC+'P1$r0"q'+u.C0.ESC+"\\");break;case'"p':this._coreService.triggerDataEvent(u.C0.ESC+'P1$r61;1"p'+u.C0.ESC+"\\");break;case"r":var R=this._bufferService.buffer.scrollTop+1+";"+(this._bufferService.buffer.scrollBottom+1)+"r";this._coreService.triggerDataEvent(u.C0.ESC+"P1$r"+R+u.C0.ESC+"\\");break;case"m":this._coreService.triggerDataEvent(u.C0.ESC+"P1$r0m"+u.C0.ESC+"\\");break;case" q":var X={block:2,underline:4,bar:6}[this._optionsService.rawOptions.cursorStyle];X-=this._optionsService.rawOptions.cursorBlink?1:0,this._coreService.triggerDataEvent(u.C0.ESC+"P1$r"+X+" q"+u.C0.ESC+"\\");break;default:this._logService.debug("Unknown DCS $q %s",A),this._coreService.triggerDataEvent(u.C0.ESC+"P0$r"+u.C0.ESC+"\\")}return!0},T}(),C=function(T){function E(A,R,X,U,V,j,Y,ee,se){se===void 0&&(se=new f.EscapeSequenceParser);var I=T.call(this)||this;I._bufferService=A,I._charsetService=R,I._coreService=X,I._dirtyRowService=U,I._logService=V,I._optionsService=j,I._coreMouseService=Y,I._unicodeService=ee,I._parser=se,I._parseBuffer=new Uint32Array(4096),I._stringDecoder=new y.StringToUtf32,I._utf8Decoder=new y.Utf8ToUtf32,I._workCell=new g.CellData,I._windowTitle="",I._iconName="",I._windowTitleStack=[],I._iconNameStack=[],I._curAttrData=$.DEFAULT_ATTR_DATA.clone(),I._eraseAttrDataInternal=$.DEFAULT_ATTR_DATA.clone(),I._onRequestBell=new m.EventEmitter,I._onRequestRefreshRows=new m.EventEmitter,I._onRequestReset=new m.EventEmitter,I._onRequestSendFocus=new m.EventEmitter,I._onRequestSyncScrollBar=new m.EventEmitter,I._onRequestWindowsOptionsReport=new m.EventEmitter,I._onA11yChar=new m.EventEmitter,I._onA11yTab=new m.EventEmitter,I._onCursorMove=new m.EventEmitter,I._onLineFeed=new m.EventEmitter,I._onScroll=new m.EventEmitter,I._onTitleChange=new m.EventEmitter,I._onColor=new m.EventEmitter,I._parseStack={paused:!1,cursorStartX:0,cursorStartY:0,decodedLength:0,position:0},I._specialColors=[256,257,258],I.register(I._parser),I._activeBuffer=I._bufferService.buffer,I.register(I._bufferService.buffers.onBufferActivate(function(G){return I._activeBuffer=G.activeBuffer})),I._parser.setCsiHandlerFallback(function(G,Re){I._logService.debug("Unknown CSI code: ",{identifier:I._parser.identToString(G),params:Re.toArray()})}),I._parser.setEscHandlerFallback(function(G){I._logService.debug("Unknown ESC code: ",{identifier:I._parser.identToString(G)})}),I._parser.setExecuteHandlerFallback(function(G){I._logService.debug("Unknown EXECUTE code: ",{code:G})}),I._parser.setOscHandlerFallback(function(G,Re,_e){I._logService.debug("Unknown OSC code: ",{identifier:G,action:Re,data:_e})}),I._parser.setDcsHandlerFallback(function(G,Re,_e){Re==="HOOK"&&(_e=_e.toArray()),I._logService.debug("Unknown DCS code: ",{identifier:I._parser.identToString(G),action:Re,payload:_e})}),I._parser.setPrintHandler(function(G,Re,_e){return I.print(G,Re,_e)}),I._parser.registerCsiHandler({final:"@"},function(G){return I.insertChars(G)}),I._parser.registerCsiHandler({intermediates:" ",final:"@"},function(G){return I.scrollLeft(G)}),I._parser.registerCsiHandler({final:"A"},function(G){return I.cursorUp(G)}),I._parser.registerCsiHandler({intermediates:" ",final:"A"},function(G){return I.scrollRight(G)}),I._parser.registerCsiHandler({final:"B"},function(G){return I.cursorDown(G)}),I._parser.registerCsiHandler({final:"C"},function(G){return I.cursorForward(G)}),I._parser.registerCsiHandler({final:"D"},function(G){return I.cursorBackward(G)}),I._parser.registerCsiHandler({final:"E"},function(G){return I.cursorNextLine(G)}),I._parser.registerCsiHandler({final:"F"},function(G){return I.cursorPrecedingLine(G)}),I._parser.registerCsiHandler({final:"G"},function(G){return I.cursorCharAbsolute(G)}),I._parser.registerCsiHandler({final:"H"},function(G){return I.cursorPosition(G)}),I._parser.registerCsiHandler({final:"I"},function(G){return I.cursorForwardTab(G)}),I._parser.registerCsiHandler({final:"J"},function(G){return I.eraseInDisplay(G)}),I._parser.registerCsiHandler({prefix:"?",final:"J"},function(G){return I.eraseInDisplay(G)}),I._parser.registerCsiHandler({final:"K"},function(G){return I.eraseInLine(G)}),I._parser.registerCsiHandler({prefix:"?",final:"K"},function(G){return I.eraseInLine(G)}),I._parser.registerCsiHandler({final:"L"},function(G){return I.insertLines(G)}),I._parser.registerCsiHandler({final:"M"},function(G){return I.deleteLines(G)}),I._parser.registerCsiHandler({final:"P"},function(G){return I.deleteChars(G)}),I._parser.registerCsiHandler({final:"S"},function(G){return I.scrollUp(G)}),I._parser.registerCsiHandler({final:"T"},function(G){return I.scrollDown(G)}),I._parser.registerCsiHandler({final:"X"},function(G){return I.eraseChars(G)}),I._parser.registerCsiHandler({final:"Z"},function(G){return I.cursorBackwardTab(G)}),I._parser.registerCsiHandler({final:"`"},function(G){return I.charPosAbsolute(G)}),I._parser.registerCsiHandler({final:"a"},function(G){return I.hPositionRelative(G)}),I._parser.registerCsiHandler({final:"b"},function(G){return I.repeatPrecedingCharacter(G)}),I._parser.registerCsiHandler({final:"c"},function(G){return I.sendDeviceAttributesPrimary(G)}),I._parser.registerCsiHandler({prefix:">",final:"c"},function(G){return I.sendDeviceAttributesSecondary(G)}),I._parser.registerCsiHandler({final:"d"},function(G){return I.linePosAbsolute(G)}),I._parser.registerCsiHandler({final:"e"},function(G){return I.vPositionRelative(G)}),I._parser.registerCsiHandler({final:"f"},function(G){return I.hVPosition(G)}),I._parser.registerCsiHandler({final:"g"},function(G){return I.tabClear(G)}),I._parser.registerCsiHandler({final:"h"},function(G){return I.setMode(G)}),I._parser.registerCsiHandler({prefix:"?",final:"h"},function(G){return I.setModePrivate(G)}),I._parser.registerCsiHandler({final:"l"},function(G){return I.resetMode(G)}),I._parser.registerCsiHandler({prefix:"?",final:"l"},function(G){return I.resetModePrivate(G)}),I._parser.registerCsiHandler({final:"m"},function(G){return I.charAttributes(G)}),I._parser.registerCsiHandler({final:"n"},function(G){return I.deviceStatus(G)}),I._parser.registerCsiHandler({prefix:"?",final:"n"},function(G){return I.deviceStatusPrivate(G)}),I._parser.registerCsiHandler({intermediates:"!",final:"p"},function(G){return I.softReset(G)}),I._parser.registerCsiHandler({intermediates:" ",final:"q"},function(G){return I.setCursorStyle(G)}),I._parser.registerCsiHandler({final:"r"},function(G){return I.setScrollRegion(G)}),I._parser.registerCsiHandler({final:"s"},function(G){return I.saveCursor(G)}),I._parser.registerCsiHandler({final:"t"},function(G){return I.windowOptions(G)}),I._parser.registerCsiHandler({final:"u"},function(G){return I.restoreCursor(G)}),I._parser.registerCsiHandler({intermediates:"'",final:"}"},function(G){return I.insertColumns(G)}),I._parser.registerCsiHandler({intermediates:"'",final:"~"},function(G){return I.deleteColumns(G)}),I._parser.setExecuteHandler(u.C0.BEL,function(){return I.bell()}),I._parser.setExecuteHandler(u.C0.LF,function(){return I.lineFeed()}),I._parser.setExecuteHandler(u.C0.VT,function(){return I.lineFeed()}),I._parser.setExecuteHandler(u.C0.FF,function(){return I.lineFeed()}),I._parser.setExecuteHandler(u.C0.CR,function(){return I.carriageReturn()}),I._parser.setExecuteHandler(u.C0.BS,function(){return I.backspace()}),I._parser.setExecuteHandler(u.C0.HT,function(){return I.tab()}),I._parser.setExecuteHandler(u.C0.SO,function(){return I.shiftOut()}),I._parser.setExecuteHandler(u.C0.SI,function(){return I.shiftIn()}),I._parser.setExecuteHandler(u.C1.IND,function(){return I.index()}),I._parser.setExecuteHandler(u.C1.NEL,function(){return I.nextLine()}),I._parser.setExecuteHandler(u.C1.HTS,function(){return I.tabSet()}),I._parser.registerOscHandler(0,new _.OscHandler(function(G){return I.setTitle(G),I.setIconName(G),!0})),I._parser.registerOscHandler(1,new _.OscHandler(function(G){return I.setIconName(G)})),I._parser.registerOscHandler(2,new _.OscHandler(function(G){return I.setTitle(G)})),I._parser.registerOscHandler(4,new _.OscHandler(function(G){return I.setOrReportIndexedColor(G)})),I._parser.registerOscHandler(10,new _.OscHandler(function(G){return I.setOrReportFgColor(G)})),I._parser.registerOscHandler(11,new _.OscHandler(function(G){return I.setOrReportBgColor(G)})),I._parser.registerOscHandler(12,new _.OscHandler(function(G){return I.setOrReportCursorColor(G)})),I._parser.registerOscHandler(104,new _.OscHandler(function(G){return I.restoreIndexedColor(G)})),I._parser.registerOscHandler(110,new _.OscHandler(function(G){return I.restoreFgColor(G)})),I._parser.registerOscHandler(111,new _.OscHandler(function(G){return I.restoreBgColor(G)})),I._parser.registerOscHandler(112,new _.OscHandler(function(G){return I.restoreCursorColor(G)})),I._parser.registerEscHandler({final:"7"},function(){return I.saveCursor()}),I._parser.registerEscHandler({final:"8"},function(){return I.restoreCursor()}),I._parser.registerEscHandler({final:"D"},function(){return I.index()}),I._parser.registerEscHandler({final:"E"},function(){return I.nextLine()}),I._parser.registerEscHandler({final:"H"},function(){return I.tabSet()}),I._parser.registerEscHandler({final:"M"},function(){return I.reverseIndex()}),I._parser.registerEscHandler({final:"="},function(){return I.keypadApplicationMode()}),I._parser.registerEscHandler({final:">"},function(){return I.keypadNumericMode()}),I._parser.registerEscHandler({final:"c"},function(){return I.fullReset()}),I._parser.registerEscHandler({final:"n"},function(){return I.setgLevel(2)}),I._parser.registerEscHandler({final:"o"},function(){return I.setgLevel(3)}),I._parser.registerEscHandler({final:"|"},function(){return I.setgLevel(3)}),I._parser.registerEscHandler({final:"}"},function(){return I.setgLevel(2)}),I._parser.registerEscHandler({final:"~"},function(){return I.setgLevel(1)}),I._parser.registerEscHandler({intermediates:"%",final:"@"},function(){return I.selectDefaultCharset()}),I._parser.registerEscHandler({intermediates:"%",final:"G"},function(){return I.selectDefaultCharset()});var ne=function(G){H._parser.registerEscHandler({intermediates:"(",final:G},function(){return I.selectCharset("("+G)}),H._parser.registerEscHandler({intermediates:")",final:G},function(){return I.selectCharset(")"+G)}),H._parser.registerEscHandler({intermediates:"*",final:G},function(){return I.selectCharset("*"+G)}),H._parser.registerEscHandler({intermediates:"+",final:G},function(){return I.selectCharset("+"+G)}),H._parser.registerEscHandler({intermediates:"-",final:G},function(){return I.selectCharset("-"+G)}),H._parser.registerEscHandler({intermediates:".",final:G},function(){return I.selectCharset("."+G)}),H._parser.registerEscHandler({intermediates:"/",final:G},function(){return I.selectCharset("/"+G)})},H=this;for(var re in O.CHARSETS)ne(re);return I._parser.registerEscHandler({intermediates:"#",final:"8"},function(){return I.screenAlignmentPattern()}),I._parser.setErrorHandler(function(G){return I._logService.error("Parsing error: ",G),G}),I._parser.registerDcsHandler({intermediates:"$",final:"q"},new k(I._bufferService,I._coreService,I._logService,I._optionsService)),I}return l(E,T),Object.defineProperty(E.prototype,"onRequestBell",{get:function(){return this._onRequestBell.event},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"onRequestRefreshRows",{get:function(){return this._onRequestRefreshRows.event},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"onRequestReset",{get:function(){return this._onRequestReset.event},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"onRequestSendFocus",{get:function(){return this._onRequestSendFocus.event},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"onRequestSyncScrollBar",{get:function(){return this._onRequestSyncScrollBar.event},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"onRequestWindowsOptionsReport",{get:function(){return this._onRequestWindowsOptionsReport.event},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"onA11yChar",{get:function(){return this._onA11yChar.event},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"onA11yTab",{get:function(){return this._onA11yTab.event},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"onColor",{get:function(){return this._onColor.event},enumerable:!1,configurable:!0}),E.prototype.dispose=function(){T.prototype.dispose.call(this)},E.prototype._preserveStack=function(A,R,X,U){this._parseStack.paused=!0,this._parseStack.cursorStartX=A,this._parseStack.cursorStartY=R,this._parseStack.decodedLength=X,this._parseStack.position=U},E.prototype._logSlowResolvingAsync=function(A){this._logService.logLevel<=b.LogLevelEnum.WARN&&Promise.race([A,new Promise(function(R,X){return setTimeout(function(){return X("#SLOW_TIMEOUT")},5e3)})]).catch(function(R){if(R!=="#SLOW_TIMEOUT")throw R;console.warn("async parser handler taking longer than 5000 ms")})},E.prototype.parse=function(A,R){var X,U=this._activeBuffer.x,V=this._activeBuffer.y,j=0,Y=this._parseStack.paused;if(Y){if(X=this._parser.parse(this._parseBuffer,this._parseStack.decodedLength,R))return this._logSlowResolvingAsync(X),X;U=this._parseStack.cursorStartX,V=this._parseStack.cursorStartY,this._parseStack.paused=!1,A.length>w&&(j=this._parseStack.position+w)}if(this._logService.logLevel<=b.LogLevelEnum.DEBUG&&this._logService.debug("parsing data"+(typeof A=="string"?' "'+A+'"':' "'+Array.prototype.map.call(A,function(ne){return String.fromCharCode(ne)}).join("")+'"'),typeof A=="string"?A.split("").map(function(ne){return ne.charCodeAt(0)}):A),this._parseBuffer.lengthw)for(var ee=j;ee0&&H.getWidth(this._activeBuffer.x-1)===2&&H.setCellFromCodePoint(this._activeBuffer.x-1,0,1,ne.fg,ne.bg,ne.extended);for(var re=R;re=ee){if(se){for(;this._activeBuffer.x=this._bufferService.rows&&(this._activeBuffer.y=this._bufferService.rows-1),this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y).isWrapped=!0),H=this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y)}else if(this._activeBuffer.x=ee-1,V===2)continue}if(I&&(H.insertCells(this._activeBuffer.x,V,this._activeBuffer.getNullCell(ne),ne),H.getWidth(ee-1)===2&&H.setCellFromCodePoint(ee-1,d.NULL_CELL_CODE,d.NULL_CELL_WIDTH,ne.fg,ne.bg,ne.extended)),H.setCellFromCodePoint(this._activeBuffer.x++,U,V,ne.fg,ne.bg,ne.extended),V>0)for(;--V;)H.setCellFromCodePoint(this._activeBuffer.x++,0,0,ne.fg,ne.bg,ne.extended)}else H.getWidth(this._activeBuffer.x-1)?H.addCodepointToCell(this._activeBuffer.x-1,U):H.addCodepointToCell(this._activeBuffer.x-2,U)}X-R>0&&(H.loadCell(this._activeBuffer.x-1,this._workCell),this._workCell.getWidth()===2||this._workCell.getCode()>65535?this._parser.precedingCodepoint=0:this._workCell.isCombined()?this._parser.precedingCodepoint=this._workCell.getChars().charCodeAt(0):this._parser.precedingCodepoint=this._workCell.content),this._activeBuffer.x0&&H.getWidth(this._activeBuffer.x)===0&&!H.hasContent(this._activeBuffer.x)&&H.setCellFromCodePoint(this._activeBuffer.x,0,1,ne.fg,ne.bg,ne.extended),this._dirtyRowService.markDirty(this._activeBuffer.y)},E.prototype.registerCsiHandler=function(A,R){var X=this;return A.final!=="t"||A.prefix||A.intermediates?this._parser.registerCsiHandler(A,R):this._parser.registerCsiHandler(A,function(U){return!x(U.params[0],X._optionsService.rawOptions.windowOptions)||R(U)})},E.prototype.registerDcsHandler=function(A,R){return this._parser.registerDcsHandler(A,new Q.DcsHandler(R))},E.prototype.registerEscHandler=function(A,R){return this._parser.registerEscHandler(A,R)},E.prototype.registerOscHandler=function(A,R){return this._parser.registerOscHandler(A,new _.OscHandler(R))},E.prototype.bell=function(){return this._onRequestBell.fire(),!0},E.prototype.lineFeed=function(){return this._dirtyRowService.markDirty(this._activeBuffer.y),this._optionsService.rawOptions.convertEol&&(this._activeBuffer.x=0),this._activeBuffer.y++,this._activeBuffer.y===this._activeBuffer.scrollBottom+1?(this._activeBuffer.y--,this._bufferService.scroll(this._eraseAttrData())):this._activeBuffer.y>=this._bufferService.rows&&(this._activeBuffer.y=this._bufferService.rows-1),this._activeBuffer.x>=this._bufferService.cols&&this._activeBuffer.x--,this._dirtyRowService.markDirty(this._activeBuffer.y),this._onLineFeed.fire(),!0},E.prototype.carriageReturn=function(){return this._activeBuffer.x=0,!0},E.prototype.backspace=function(){var A;if(!this._coreService.decPrivateModes.reverseWraparound)return this._restrictCursor(),this._activeBuffer.x>0&&this._activeBuffer.x--,!0;if(this._restrictCursor(this._bufferService.cols),this._activeBuffer.x>0)this._activeBuffer.x--;else if(this._activeBuffer.x===0&&this._activeBuffer.y>this._activeBuffer.scrollTop&&this._activeBuffer.y<=this._activeBuffer.scrollBottom&&((A=this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y))===null||A===void 0?void 0:A.isWrapped)){this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y).isWrapped=!1,this._activeBuffer.y--,this._activeBuffer.x=this._bufferService.cols-1;var R=this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y);R.hasWidth(this._activeBuffer.x)&&!R.hasContent(this._activeBuffer.x)&&this._activeBuffer.x--}return this._restrictCursor(),!0},E.prototype.tab=function(){if(this._activeBuffer.x>=this._bufferService.cols)return!0;var A=this._activeBuffer.x;return this._activeBuffer.x=this._activeBuffer.nextStop(),this._optionsService.rawOptions.screenReaderMode&&this._onA11yTab.fire(this._activeBuffer.x-A),!0},E.prototype.shiftOut=function(){return this._charsetService.setgLevel(1),!0},E.prototype.shiftIn=function(){return this._charsetService.setgLevel(0),!0},E.prototype._restrictCursor=function(A){A===void 0&&(A=this._bufferService.cols-1),this._activeBuffer.x=Math.min(A,Math.max(0,this._activeBuffer.x)),this._activeBuffer.y=this._coreService.decPrivateModes.origin?Math.min(this._activeBuffer.scrollBottom,Math.max(this._activeBuffer.scrollTop,this._activeBuffer.y)):Math.min(this._bufferService.rows-1,Math.max(0,this._activeBuffer.y)),this._dirtyRowService.markDirty(this._activeBuffer.y)},E.prototype._setCursor=function(A,R){this._dirtyRowService.markDirty(this._activeBuffer.y),this._coreService.decPrivateModes.origin?(this._activeBuffer.x=A,this._activeBuffer.y=this._activeBuffer.scrollTop+R):(this._activeBuffer.x=A,this._activeBuffer.y=R),this._restrictCursor(),this._dirtyRowService.markDirty(this._activeBuffer.y)},E.prototype._moveCursor=function(A,R){this._restrictCursor(),this._setCursor(this._activeBuffer.x+A,this._activeBuffer.y+R)},E.prototype.cursorUp=function(A){var R=this._activeBuffer.y-this._activeBuffer.scrollTop;return R>=0?this._moveCursor(0,-Math.min(R,A.params[0]||1)):this._moveCursor(0,-(A.params[0]||1)),!0},E.prototype.cursorDown=function(A){var R=this._activeBuffer.scrollBottom-this._activeBuffer.y;return R>=0?this._moveCursor(0,Math.min(R,A.params[0]||1)):this._moveCursor(0,A.params[0]||1),!0},E.prototype.cursorForward=function(A){return this._moveCursor(A.params[0]||1,0),!0},E.prototype.cursorBackward=function(A){return this._moveCursor(-(A.params[0]||1),0),!0},E.prototype.cursorNextLine=function(A){return this.cursorDown(A),this._activeBuffer.x=0,!0},E.prototype.cursorPrecedingLine=function(A){return this.cursorUp(A),this._activeBuffer.x=0,!0},E.prototype.cursorCharAbsolute=function(A){return this._setCursor((A.params[0]||1)-1,this._activeBuffer.y),!0},E.prototype.cursorPosition=function(A){return this._setCursor(A.length>=2?(A.params[1]||1)-1:0,(A.params[0]||1)-1),!0},E.prototype.charPosAbsolute=function(A){return this._setCursor((A.params[0]||1)-1,this._activeBuffer.y),!0},E.prototype.hPositionRelative=function(A){return this._moveCursor(A.params[0]||1,0),!0},E.prototype.linePosAbsolute=function(A){return this._setCursor(this._activeBuffer.x,(A.params[0]||1)-1),!0},E.prototype.vPositionRelative=function(A){return this._moveCursor(0,A.params[0]||1),!0},E.prototype.hVPosition=function(A){return this.cursorPosition(A),!0},E.prototype.tabClear=function(A){var R=A.params[0];return R===0?delete this._activeBuffer.tabs[this._activeBuffer.x]:R===3&&(this._activeBuffer.tabs={}),!0},E.prototype.cursorForwardTab=function(A){if(this._activeBuffer.x>=this._bufferService.cols)return!0;for(var R=A.params[0]||1;R--;)this._activeBuffer.x=this._activeBuffer.nextStop();return!0},E.prototype.cursorBackwardTab=function(A){if(this._activeBuffer.x>=this._bufferService.cols)return!0;for(var R=A.params[0]||1;R--;)this._activeBuffer.x=this._activeBuffer.prevStop();return!0},E.prototype._eraseInBufferLine=function(A,R,X,U){U===void 0&&(U=!1);var V=this._activeBuffer.lines.get(this._activeBuffer.ybase+A);V.replaceCells(R,X,this._activeBuffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),U&&(V.isWrapped=!1)},E.prototype._resetBufferLine=function(A){var R=this._activeBuffer.lines.get(this._activeBuffer.ybase+A);R.fill(this._activeBuffer.getNullCell(this._eraseAttrData())),this._bufferService.buffer.clearMarkers(this._activeBuffer.ybase+A),R.isWrapped=!1},E.prototype.eraseInDisplay=function(A){var R;switch(this._restrictCursor(this._bufferService.cols),A.params[0]){case 0:for(R=this._activeBuffer.y,this._dirtyRowService.markDirty(R),this._eraseInBufferLine(R++,this._activeBuffer.x,this._bufferService.cols,this._activeBuffer.x===0);R=this._bufferService.cols&&(this._activeBuffer.lines.get(R+1).isWrapped=!1);R--;)this._resetBufferLine(R);this._dirtyRowService.markDirty(0);break;case 2:for(R=this._bufferService.rows,this._dirtyRowService.markDirty(R-1);R--;)this._resetBufferLine(R);this._dirtyRowService.markDirty(0);break;case 3:var X=this._activeBuffer.lines.length-this._bufferService.rows;X>0&&(this._activeBuffer.lines.trimStart(X),this._activeBuffer.ybase=Math.max(this._activeBuffer.ybase-X,0),this._activeBuffer.ydisp=Math.max(this._activeBuffer.ydisp-X,0),this._onScroll.fire(0))}return!0},E.prototype.eraseInLine=function(A){switch(this._restrictCursor(this._bufferService.cols),A.params[0]){case 0:this._eraseInBufferLine(this._activeBuffer.y,this._activeBuffer.x,this._bufferService.cols,this._activeBuffer.x===0);break;case 1:this._eraseInBufferLine(this._activeBuffer.y,0,this._activeBuffer.x+1,!1);break;case 2:this._eraseInBufferLine(this._activeBuffer.y,0,this._bufferService.cols,!0)}return this._dirtyRowService.markDirty(this._activeBuffer.y),!0},E.prototype.insertLines=function(A){this._restrictCursor();var R=A.params[0]||1;if(this._activeBuffer.y>this._activeBuffer.scrollBottom||this._activeBuffer.ythis._activeBuffer.scrollBottom||this._activeBuffer.ythis._activeBuffer.scrollBottom||this._activeBuffer.ythis._activeBuffer.scrollBottom||this._activeBuffer.ythis._activeBuffer.scrollBottom||this._activeBuffer.ythis._activeBuffer.scrollBottom||this._activeBuffer.y0||(this._is("xterm")||this._is("rxvt-unicode")||this._is("screen")?this._coreService.triggerDataEvent(u.C0.ESC+"[?1;2c"):this._is("linux")&&this._coreService.triggerDataEvent(u.C0.ESC+"[?6c")),!0},E.prototype.sendDeviceAttributesSecondary=function(A){return A.params[0]>0||(this._is("xterm")?this._coreService.triggerDataEvent(u.C0.ESC+"[>0;276;0c"):this._is("rxvt-unicode")?this._coreService.triggerDataEvent(u.C0.ESC+"[>85;95;0c"):this._is("linux")?this._coreService.triggerDataEvent(A.params[0]+"c"):this._is("screen")&&this._coreService.triggerDataEvent(u.C0.ESC+"[>83;40003;0c")),!0},E.prototype._is=function(A){return(this._optionsService.rawOptions.termName+"").indexOf(A)===0},E.prototype.setMode=function(A){for(var R=0;R=2||U[1]===2&&j+V>=5)break;U[1]&&(V=1)}while(++j+R5)&&(A=1),R.extended.underlineStyle=A,R.fg|=268435456,A===0&&(R.fg&=-268435457),R.updateExtended()},E.prototype.charAttributes=function(A){if(A.length===1&&A.params[0]===0)return this._curAttrData.fg=$.DEFAULT_ATTR_DATA.fg,this._curAttrData.bg=$.DEFAULT_ATTR_DATA.bg,!0;for(var R,X=A.length,U=this._curAttrData,V=0;V=30&&R<=37?(U.fg&=-50331904,U.fg|=16777216|R-30):R>=40&&R<=47?(U.bg&=-50331904,U.bg|=16777216|R-40):R>=90&&R<=97?(U.fg&=-50331904,U.fg|=16777224|R-90):R>=100&&R<=107?(U.bg&=-50331904,U.bg|=16777224|R-100):R===0?(U.fg=$.DEFAULT_ATTR_DATA.fg,U.bg=$.DEFAULT_ATTR_DATA.bg):R===1?U.fg|=134217728:R===3?U.bg|=67108864:R===4?(U.fg|=268435456,this._processUnderline(A.hasSubParams(V)?A.getSubParams(V)[0]:1,U)):R===5?U.fg|=536870912:R===7?U.fg|=67108864:R===8?U.fg|=1073741824:R===9?U.fg|=2147483648:R===2?U.bg|=134217728:R===21?this._processUnderline(2,U):R===22?(U.fg&=-134217729,U.bg&=-134217729):R===23?U.bg&=-67108865:R===24?U.fg&=-268435457:R===25?U.fg&=-536870913:R===27?U.fg&=-67108865:R===28?U.fg&=-1073741825:R===29?U.fg&=2147483647:R===39?(U.fg&=-67108864,U.fg|=16777215&$.DEFAULT_ATTR_DATA.fg):R===49?(U.bg&=-67108864,U.bg|=16777215&$.DEFAULT_ATTR_DATA.bg):R===38||R===48||R===58?V+=this._extractColor(A,V,U):R===59?(U.extended=U.extended.clone(),U.extended.underlineColor=-1,U.updateExtended()):R===100?(U.fg&=-67108864,U.fg|=16777215&$.DEFAULT_ATTR_DATA.fg,U.bg&=-67108864,U.bg|=16777215&$.DEFAULT_ATTR_DATA.bg):this._logService.debug("Unknown SGR attribute: %d.",R);return!0},E.prototype.deviceStatus=function(A){switch(A.params[0]){case 5:this._coreService.triggerDataEvent(u.C0.ESC+"[0n");break;case 6:var R=this._activeBuffer.y+1,X=this._activeBuffer.x+1;this._coreService.triggerDataEvent(u.C0.ESC+"["+R+";"+X+"R")}return!0},E.prototype.deviceStatusPrivate=function(A){if(A.params[0]===6){var R=this._activeBuffer.y+1,X=this._activeBuffer.x+1;this._coreService.triggerDataEvent(u.C0.ESC+"[?"+R+";"+X+"R")}return!0},E.prototype.softReset=function(A){return this._coreService.isCursorHidden=!1,this._onRequestSyncScrollBar.fire(),this._activeBuffer.scrollTop=0,this._activeBuffer.scrollBottom=this._bufferService.rows-1,this._curAttrData=$.DEFAULT_ATTR_DATA.clone(),this._coreService.reset(),this._charsetService.reset(),this._activeBuffer.savedX=0,this._activeBuffer.savedY=this._activeBuffer.ybase,this._activeBuffer.savedCurAttrData.fg=this._curAttrData.fg,this._activeBuffer.savedCurAttrData.bg=this._curAttrData.bg,this._activeBuffer.savedCharset=this._charsetService.charset,this._coreService.decPrivateModes.origin=!1,!0},E.prototype.setCursorStyle=function(A){var R=A.params[0]||1;switch(R){case 1:case 2:this._optionsService.options.cursorStyle="block";break;case 3:case 4:this._optionsService.options.cursorStyle="underline";break;case 5:case 6:this._optionsService.options.cursorStyle="bar"}var X=R%2==1;return this._optionsService.options.cursorBlink=X,!0},E.prototype.setScrollRegion=function(A){var R,X=A.params[0]||1;return(A.length<2||(R=A.params[1])>this._bufferService.rows||R===0)&&(R=this._bufferService.rows),R>X&&(this._activeBuffer.scrollTop=X-1,this._activeBuffer.scrollBottom=R-1,this._setCursor(0,0)),!0},E.prototype.windowOptions=function(A){if(!x(A.params[0],this._optionsService.rawOptions.windowOptions))return!0;var R=A.length>1?A.params[1]:0;switch(A.params[0]){case 14:R!==2&&this._onRequestWindowsOptionsReport.fire(c.GET_WIN_SIZE_PIXELS);break;case 16:this._onRequestWindowsOptionsReport.fire(c.GET_CELL_SIZE_PIXELS);break;case 18:this._bufferService&&this._coreService.triggerDataEvent(u.C0.ESC+"[8;"+this._bufferService.rows+";"+this._bufferService.cols+"t");break;case 22:R!==0&&R!==2||(this._windowTitleStack.push(this._windowTitle),this._windowTitleStack.length>10&&this._windowTitleStack.shift()),R!==0&&R!==1||(this._iconNameStack.push(this._iconName),this._iconNameStack.length>10&&this._iconNameStack.shift());break;case 23:R!==0&&R!==2||this._windowTitleStack.length&&this.setTitle(this._windowTitleStack.pop()),R!==0&&R!==1||this._iconNameStack.length&&this.setIconName(this._iconNameStack.pop())}return!0},E.prototype.saveCursor=function(A){return this._activeBuffer.savedX=this._activeBuffer.x,this._activeBuffer.savedY=this._activeBuffer.ybase+this._activeBuffer.y,this._activeBuffer.savedCurAttrData.fg=this._curAttrData.fg,this._activeBuffer.savedCurAttrData.bg=this._curAttrData.bg,this._activeBuffer.savedCharset=this._charsetService.charset,!0},E.prototype.restoreCursor=function(A){return this._activeBuffer.x=this._activeBuffer.savedX||0,this._activeBuffer.y=Math.max(this._activeBuffer.savedY-this._activeBuffer.ybase,0),this._curAttrData.fg=this._activeBuffer.savedCurAttrData.fg,this._curAttrData.bg=this._activeBuffer.savedCurAttrData.bg,this._charsetService.charset=this._savedCharset,this._activeBuffer.savedCharset&&(this._charsetService.charset=this._activeBuffer.savedCharset),this._restrictCursor(),!0},E.prototype.setTitle=function(A){return this._windowTitle=A,this._onTitleChange.fire(A),!0},E.prototype.setIconName=function(A){return this._iconName=A,!0},E.prototype.setOrReportIndexedColor=function(A){for(var R=[],X=A.split(";");X.length>1;){var U=X.shift(),V=X.shift();if(/^\d+$/.exec(U)){var j=parseInt(U);if(0<=j&&j<256)if(V==="?")R.push({type:0,index:j});else{var Y=(0,S.parseColor)(V);Y&&R.push({type:1,index:j,color:Y})}}}return R.length&&this._onColor.fire(R),!0},E.prototype._setOrReportSpecialColor=function(A,R){for(var X=A.split(";"),U=0;U=this._specialColors.length);++U,++R)if(X[U]==="?")this._onColor.fire([{type:0,index:this._specialColors[R]}]);else{var V=(0,S.parseColor)(X[U]);V&&this._onColor.fire([{type:1,index:this._specialColors[R],color:V}])}return!0},E.prototype.setOrReportFgColor=function(A){return this._setOrReportSpecialColor(A,0)},E.prototype.setOrReportBgColor=function(A){return this._setOrReportSpecialColor(A,1)},E.prototype.setOrReportCursorColor=function(A){return this._setOrReportSpecialColor(A,2)},E.prototype.restoreIndexedColor=function(A){if(!A)return this._onColor.fire([{type:2}]),!0;for(var R=[],X=A.split(";"),U=0;U=this._bufferService.rows&&(this._activeBuffer.y=this._bufferService.rows-1),this._restrictCursor(),!0},E.prototype.tabSet=function(){return this._activeBuffer.tabs[this._activeBuffer.x]=!0,!0},E.prototype.reverseIndex=function(){if(this._restrictCursor(),this._activeBuffer.y===this._activeBuffer.scrollTop){var A=this._activeBuffer.scrollBottom-this._activeBuffer.scrollTop;this._activeBuffer.lines.shiftElements(this._activeBuffer.ybase+this._activeBuffer.y,A,1),this._activeBuffer.lines.set(this._activeBuffer.ybase+this._activeBuffer.y,this._activeBuffer.getBlankLine(this._eraseAttrData())),this._dirtyRowService.markRangeDirty(this._activeBuffer.scrollTop,this._activeBuffer.scrollBottom)}else this._activeBuffer.y--,this._restrictCursor();return!0},E.prototype.fullReset=function(){return this._parser.reset(),this._onRequestReset.fire(),!0},E.prototype.reset=function(){this._curAttrData=$.DEFAULT_ATTR_DATA.clone(),this._eraseAttrDataInternal=$.DEFAULT_ATTR_DATA.clone()},E.prototype._eraseAttrData=function(){return this._eraseAttrDataInternal.bg&=-67108864,this._eraseAttrDataInternal.bg|=67108863&this._curAttrData.bg,this._eraseAttrDataInternal},E.prototype.setgLevel=function(A){return this._charsetService.setgLevel(A),!0},E.prototype.screenAlignmentPattern=function(){var A=new g.CellData;A.content=1<<22|"E".charCodeAt(0),A.fg=this._curAttrData.fg,A.bg=this._curAttrData.bg,this._setCursor(0,0);for(var R=0;R=c.length&&(c=void 0),{value:c&&c[f++],done:!c}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(s,"__esModule",{value:!0}),s.getDisposeArrayDisposable=s.disposeArray=s.Disposable=void 0;var a=function(){function c(){this._disposables=[],this._isDisposed=!1}return c.prototype.dispose=function(){var u,O;this._isDisposed=!0;try{for(var f=o(this._disposables),h=f.next();!h.done;h=f.next())h.value.dispose()}catch(p){u={error:p}}finally{try{h&&!h.done&&(O=f.return)&&O.call(f)}finally{if(u)throw u.error}}this._disposables.length=0},c.prototype.register=function(u){return this._disposables.push(u),u},c.prototype.unregister=function(u){var O=this._disposables.indexOf(u);O!==-1&&this._disposables.splice(O,1)},c}();function l(c){var u,O;try{for(var f=o(c),h=f.next();!h.done;h=f.next())h.value.dispose()}catch(p){u={error:p}}finally{try{h&&!h.done&&(O=f.return)&&O.call(f)}finally{if(u)throw u.error}}c.length=0}s.Disposable=a,s.disposeArray=l,s.getDisposeArrayDisposable=function(c){return{dispose:function(){return l(c)}}}},6114:(r,s)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.isLinux=s.isWindows=s.isIphone=s.isIpad=s.isMac=s.isSafari=s.isLegacyEdge=s.isFirefox=void 0;var o=typeof navigator=="undefined",a=o?"node":navigator.userAgent,l=o?"node":navigator.platform;s.isFirefox=a.includes("Firefox"),s.isLegacyEdge=a.includes("Edge"),s.isSafari=/^((?!chrome|android).)*safari/i.test(a),s.isMac=["Macintosh","MacIntel","MacPPC","Mac68K"].includes(l),s.isIpad=l==="iPad",s.isIphone=l==="iPhone",s.isWindows=["Windows","Win16","Win32","WinCE"].includes(l),s.isLinux=l.indexOf("Linux")>=0},6106:function(r,s){var o=this&&this.__generator||function(l,c){var u,O,f,h,p={label:0,sent:function(){if(1&f[0])throw f[1];return f[1]},trys:[],ops:[]};return h={next:y(0),throw:y(1),return:y(2)},typeof Symbol=="function"&&(h[Symbol.iterator]=function(){return this}),h;function y($){return function(m){return function(d){if(u)throw new TypeError("Generator is already executing.");for(;p;)try{if(u=1,O&&(f=2&d[0]?O.return:d[0]?O.throw||((f=O.return)&&f.call(O),0):O.next)&&!(f=f.call(O,d[1])).done)return f;switch(O=0,f&&(d=[2&d[0],f.value]),d[0]){case 0:case 1:f=d;break;case 4:return p.label++,{value:d[1],done:!1};case 5:p.label++,O=d[1],d=[0];continue;case 7:d=p.ops.pop(),p.trys.pop();continue;default:if(!((f=(f=p.trys).length>0&&f[f.length-1])||d[0]!==6&&d[0]!==2)){p=0;continue}if(d[0]===3&&(!f||d[1]>f[0]&&d[1]=this._array.length)return[2];if(this._getKey(this._array[u])!==c)return[2];O.label=1;case 1:return[4,this._array[u]];case 2:O.sent(),O.label=3;case 3:if(++uc)return this._search(c,u,f-1);if(this._getKey(this._array[f])0&&this._getKey(this._array[f-1])===c;)f--;return f},l}();s.SortedList=a},8273:(r,s)=>{function o(a,l,c,u){if(c===void 0&&(c=0),u===void 0&&(u=a.length),c>=a.length)return a;c=(a.length+c)%a.length,u=u>=a.length?a.length:(a.length+u)%a.length;for(var O=c;O{Object.defineProperty(s,"__esModule",{value:!0}),s.updateWindowsModeWrappedState=void 0;var a=o(643);s.updateWindowsModeWrappedState=function(l){var c=l.buffer.lines.get(l.buffer.ybase+l.buffer.y-1),u=c==null?void 0:c.get(l.cols-1),O=l.buffer.lines.get(l.buffer.ybase+l.buffer.y);O&&u&&(O.isWrapped=u[a.CHAR_DATA_CODE_INDEX]!==a.NULL_CELL_CODE&&u[a.CHAR_DATA_CODE_INDEX]!==a.WHITESPACE_CELL_CODE)}},3734:(r,s)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.ExtendedAttrs=s.AttributeData=void 0;var o=function(){function l(){this.fg=0,this.bg=0,this.extended=new a}return l.toColorRGB=function(c){return[c>>>16&255,c>>>8&255,255&c]},l.fromColorRGB=function(c){return(255&c[0])<<16|(255&c[1])<<8|255&c[2]},l.prototype.clone=function(){var c=new l;return c.fg=this.fg,c.bg=this.bg,c.extended=this.extended.clone(),c},l.prototype.isInverse=function(){return 67108864&this.fg},l.prototype.isBold=function(){return 134217728&this.fg},l.prototype.isUnderline=function(){return 268435456&this.fg},l.prototype.isBlink=function(){return 536870912&this.fg},l.prototype.isInvisible=function(){return 1073741824&this.fg},l.prototype.isItalic=function(){return 67108864&this.bg},l.prototype.isDim=function(){return 134217728&this.bg},l.prototype.isStrikethrough=function(){return 2147483648&this.fg},l.prototype.getFgColorMode=function(){return 50331648&this.fg},l.prototype.getBgColorMode=function(){return 50331648&this.bg},l.prototype.isFgRGB=function(){return(50331648&this.fg)==50331648},l.prototype.isBgRGB=function(){return(50331648&this.bg)==50331648},l.prototype.isFgPalette=function(){return(50331648&this.fg)==16777216||(50331648&this.fg)==33554432},l.prototype.isBgPalette=function(){return(50331648&this.bg)==16777216||(50331648&this.bg)==33554432},l.prototype.isFgDefault=function(){return(50331648&this.fg)==0},l.prototype.isBgDefault=function(){return(50331648&this.bg)==0},l.prototype.isAttributeDefault=function(){return this.fg===0&&this.bg===0},l.prototype.getFgColor=function(){switch(50331648&this.fg){case 16777216:case 33554432:return 255&this.fg;case 50331648:return 16777215&this.fg;default:return-1}},l.prototype.getBgColor=function(){switch(50331648&this.bg){case 16777216:case 33554432:return 255&this.bg;case 50331648:return 16777215&this.bg;default:return-1}},l.prototype.hasExtendedAttrs=function(){return 268435456&this.bg},l.prototype.updateExtended=function(){this.extended.isEmpty()?this.bg&=-268435457:this.bg|=268435456},l.prototype.getUnderlineColor=function(){if(268435456&this.bg&&~this.extended.underlineColor)switch(50331648&this.extended.underlineColor){case 16777216:case 33554432:return 255&this.extended.underlineColor;case 50331648:return 16777215&this.extended.underlineColor;default:return this.getFgColor()}return this.getFgColor()},l.prototype.getUnderlineColorMode=function(){return 268435456&this.bg&&~this.extended.underlineColor?50331648&this.extended.underlineColor:this.getFgColorMode()},l.prototype.isUnderlineColorRGB=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==50331648:this.isFgRGB()},l.prototype.isUnderlineColorPalette=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==16777216||(50331648&this.extended.underlineColor)==33554432:this.isFgPalette()},l.prototype.isUnderlineColorDefault=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==0:this.isFgDefault()},l.prototype.getUnderlineStyle=function(){return 268435456&this.fg?268435456&this.bg?this.extended.underlineStyle:1:0},l}();s.AttributeData=o;var a=function(){function l(c,u){c===void 0&&(c=0),u===void 0&&(u=-1),this.underlineStyle=c,this.underlineColor=u}return l.prototype.clone=function(){return new l(this.underlineStyle,this.underlineColor)},l.prototype.isEmpty=function(){return this.underlineStyle===0},l}();s.ExtendedAttrs=a},9092:function(r,s,o){var a=this&&this.__read||function(g,v){var b=typeof Symbol=="function"&&g[Symbol.iterator];if(!b)return g;var _,Q,S=b.call(g),P=[];try{for(;(v===void 0||v-- >0)&&!(_=S.next()).done;)P.push(_.value)}catch(w){Q={error:w}}finally{try{_&&!_.done&&(b=S.return)&&b.call(S)}finally{if(Q)throw Q.error}}return P},l=this&&this.__spreadArray||function(g,v,b){if(b||arguments.length===2)for(var _,Q=0,S=v.length;Qthis._rows},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"isCursorInViewport",{get:function(){var v=this.ybase+this.y-this.ydisp;return v>=0&&vs.MAX_BUFFER_SIZE?s.MAX_BUFFER_SIZE:b},g.prototype.fillViewportRows=function(v){if(this.lines.length===0){v===void 0&&(v=u.DEFAULT_ATTR_DATA);for(var b=this._rows;b--;)this.lines.push(this.getBlankLine(v))}},g.prototype.clear=function(){this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.lines=new c.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()},g.prototype.resize=function(v,b){var _=this.getNullCell(u.DEFAULT_ATTR_DATA),Q=this._getCorrectBufferLength(b);if(Q>this.lines.maxLength&&(this.lines.maxLength=Q),this.lines.length>0){if(this._cols0&&this.lines.length<=this.ybase+this.y+P+1?(this.ybase--,P++,this.ydisp>0&&this.ydisp--):this.lines.push(new u.BufferLine(v,_)));else for(w=this._rows;w>b;w--)this.lines.length>b+this.ybase&&(this.lines.length>this.ybase+this.y+1?this.lines.pop():(this.ybase++,this.ydisp++));if(Q0&&(this.lines.trimStart(x),this.ybase=Math.max(this.ybase-x,0),this.ydisp=Math.max(this.ydisp-x,0),this.savedY=Math.max(this.savedY-x,0)),this.lines.maxLength=Q}this.x=Math.min(this.x,v-1),this.y=Math.min(this.y,b-1),P&&(this.y+=P),this.savedX=Math.min(this.savedX,v-1),this.scrollTop=0}if(this.scrollBottom=b-1,this._isReflowEnabled&&(this._reflow(v,b),this._cols>v))for(S=0;Sthis._cols?this._reflowLarger(v,b):this._reflowSmaller(v,b))},g.prototype._reflowLarger=function(v,b){var _=(0,h.reflowLargerGetLinesToRemove)(this.lines,this._cols,v,this.ybase+this.y,this.getNullCell(u.DEFAULT_ATTR_DATA));if(_.length>0){var Q=(0,h.reflowLargerCreateNewLayout)(this.lines,_);(0,h.reflowLargerApplyNewLayout)(this.lines,Q.layout),this._reflowLargerAdjustViewport(v,b,Q.countRemoved)}},g.prototype._reflowLargerAdjustViewport=function(v,b,_){for(var Q=this.getNullCell(u.DEFAULT_ATTR_DATA),S=_;S-- >0;)this.ybase===0?(this.y>0&&this.y--,this.lines.length=0;P--){var w=this.lines.get(P);if(!(!w||!w.isWrapped&&w.getTrimmedLength()<=v)){for(var x=[w];w.isWrapped&&P>0;)w=this.lines.get(--P),x.unshift(w);var k=this.ybase+this.y;if(!(k>=P&&k0&&(Q.push({start:P+x.length+S,newLines:R}),S+=R.length),x.push.apply(x,l([],a(R),!1));var V=E.length-1,j=E[V];j===0&&(j=E[--V]);for(var Y=x.length-A-1,ee=T;Y>=0;){var se=Math.min(ee,j);if(x[V]===void 0)break;if(x[V].copyCellsFrom(x[Y],ee-se,j-se,se,!0),(j-=se)==0&&(j=E[--V]),(ee-=se)==0){Y--;var I=Math.max(Y,0);ee=(0,h.getWrappedLineTrimmedLength)(x,I,this._cols)}}for(X=0;X0;)this.ybase===0?this.y0){var H=[],re=[];for(X=0;X=0;X--)if(ue&&ue.start>Re+W){for(var q=ue.newLines.length-1;q>=0;q--)this.lines.set(X--,ue.newLines[q]);X++,H.push({index:Re+1,amount:ue.newLines.length}),W+=ue.newLines.length,ue=Q[++_e]}else this.lines.set(X,re[Re--]);var F=0;for(X=H.length-1;X>=0;X--)H[X].index+=F,this.lines.onInsertEmitter.fire(H[X]),F+=H[X].amount;var fe=Math.max(0,G+S-this.lines.maxLength);fe>0&&this.lines.onTrimEmitter.fire(fe)}},g.prototype.stringIndexToBufferIndex=function(v,b,_){for(_===void 0&&(_=!1);b;){var Q=this.lines.get(v);if(!Q)return[-1,-1];for(var S=_?Q.getTrimmedLength():Q.length,P=0;P0&&this.lines.get(b).isWrapped;)b--;for(;_+10;);return v>=this._cols?this._cols-1:v<0?0:v},g.prototype.nextStop=function(v){for(v==null&&(v=this.x);!this.tabs[++v]&&v=this._cols?this._cols-1:v<0?0:v},g.prototype.clearMarkers=function(v){this._isClearing=!0;for(var b=0;b=Q.index&&(_.line+=Q.amount)})),_.register(this.lines.onDelete(function(Q){_.line>=Q.index&&_.lineQ.index&&(_.line-=Q.amount)})),_.register(_.onDispose(function(){return b._removeMarker(_)})),_},g.prototype._removeMarker=function(v){this._isClearing||this.markers.splice(this.markers.indexOf(v),1)},g.prototype.iterator=function(v,b,_,Q,S){return new d(this,v,b,_,Q,S)},g}();s.Buffer=m;var d=function(){function g(v,b,_,Q,S,P){_===void 0&&(_=0),Q===void 0&&(Q=v.lines.length),S===void 0&&(S=0),P===void 0&&(P=0),this._buffer=v,this._trimRight=b,this._startIndex=_,this._endIndex=Q,this._startOverscan=S,this._endOverscan=P,this._startIndex<0&&(this._startIndex=0),this._endIndex>this._buffer.lines.length&&(this._endIndex=this._buffer.lines.length),this._current=this._startIndex}return g.prototype.hasNext=function(){return this._currentthis._endIndex+this._endOverscan&&(v.last=this._endIndex+this._endOverscan),v.first=Math.max(v.first,0),v.last=Math.min(v.last,this._buffer.lines.length);for(var b="",_=v.first;_<=v.last;++_)b+=this._buffer.translateBufferLineToString(_,this._trimRight);return this._current=v.last+1,{range:v,content:b}},g}();s.BufferStringIterator=d},8437:(r,s,o)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.BufferLine=s.DEFAULT_ATTR_DATA=void 0;var a=o(482),l=o(643),c=o(511),u=o(3734);s.DEFAULT_ATTR_DATA=Object.freeze(new u.AttributeData);var O=function(){function f(h,p,y){y===void 0&&(y=!1),this.isWrapped=y,this._combined={},this._extendedAttrs={},this._data=new Uint32Array(3*h);for(var $=p||c.CellData.fromCharData([0,l.NULL_CELL_CHAR,l.NULL_CELL_WIDTH,l.NULL_CELL_CODE]),m=0;m>22,2097152&p?this._combined[h].charCodeAt(this._combined[h].length-1):y]},f.prototype.set=function(h,p){this._data[3*h+1]=p[l.CHAR_DATA_ATTR_INDEX],p[l.CHAR_DATA_CHAR_INDEX].length>1?(this._combined[h]=p[1],this._data[3*h+0]=2097152|h|p[l.CHAR_DATA_WIDTH_INDEX]<<22):this._data[3*h+0]=p[l.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|p[l.CHAR_DATA_WIDTH_INDEX]<<22},f.prototype.getWidth=function(h){return this._data[3*h+0]>>22},f.prototype.hasWidth=function(h){return 12582912&this._data[3*h+0]},f.prototype.getFg=function(h){return this._data[3*h+1]},f.prototype.getBg=function(h){return this._data[3*h+2]},f.prototype.hasContent=function(h){return 4194303&this._data[3*h+0]},f.prototype.getCodePoint=function(h){var p=this._data[3*h+0];return 2097152&p?this._combined[h].charCodeAt(this._combined[h].length-1):2097151&p},f.prototype.isCombined=function(h){return 2097152&this._data[3*h+0]},f.prototype.getString=function(h){var p=this._data[3*h+0];return 2097152&p?this._combined[h]:2097151&p?(0,a.stringFromCodePoint)(2097151&p):""},f.prototype.loadCell=function(h,p){var y=3*h;return p.content=this._data[y+0],p.fg=this._data[y+1],p.bg=this._data[y+2],2097152&p.content&&(p.combinedData=this._combined[h]),268435456&p.bg&&(p.extended=this._extendedAttrs[h]),p},f.prototype.setCell=function(h,p){2097152&p.content&&(this._combined[h]=p.combinedData),268435456&p.bg&&(this._extendedAttrs[h]=p.extended),this._data[3*h+0]=p.content,this._data[3*h+1]=p.fg,this._data[3*h+2]=p.bg},f.prototype.setCellFromCodePoint=function(h,p,y,$,m,d){268435456&m&&(this._extendedAttrs[h]=d),this._data[3*h+0]=p|y<<22,this._data[3*h+1]=$,this._data[3*h+2]=m},f.prototype.addCodepointToCell=function(h,p){var y=this._data[3*h+0];2097152&y?this._combined[h]+=(0,a.stringFromCodePoint)(p):(2097151&y?(this._combined[h]=(0,a.stringFromCodePoint)(2097151&y)+(0,a.stringFromCodePoint)(p),y&=-2097152,y|=2097152):y=p|1<<22,this._data[3*h+0]=y)},f.prototype.insertCells=function(h,p,y,$){if((h%=this.length)&&this.getWidth(h-1)===2&&this.setCellFromCodePoint(h-1,0,1,($==null?void 0:$.fg)||0,($==null?void 0:$.bg)||0,($==null?void 0:$.extended)||new u.ExtendedAttrs),p=0;--d)this.setCell(h+p+d,this.loadCell(h+d,m));for(d=0;dthis.length){var y=new Uint32Array(3*h);this.length&&(3*h=h&&delete this._combined[d]}}else this._data=new Uint32Array(0),this._combined={};this.length=h}},f.prototype.fill=function(h){this._combined={},this._extendedAttrs={};for(var p=0;p=0;--h)if(4194303&this._data[3*h+0])return h+(this._data[3*h+0]>>22);return 0},f.prototype.copyCellsFrom=function(h,p,y,$,m){var d=h._data;if(m)for(var g=$-1;g>=0;g--)for(var v=0;v<3;v++)this._data[3*(y+g)+v]=d[3*(p+g)+v];else for(g=0;g<$;g++)for(v=0;v<3;v++)this._data[3*(y+g)+v]=d[3*(p+g)+v];var b=Object.keys(h._combined);for(v=0;v=p&&(this._combined[_-p+y]=h._combined[_])}},f.prototype.translateToString=function(h,p,y){h===void 0&&(h=!1),p===void 0&&(p=0),y===void 0&&(y=this.length),h&&(y=Math.min(y,this.getTrimmedLength()));for(var $="";p>22||1}return $},f}();s.BufferLine=O},4841:(r,s)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.getRangeLength=void 0,s.getRangeLength=function(o,a){if(o.start.y>o.end.y)throw new Error("Buffer range end ("+o.end.x+", "+o.end.y+") cannot be before start ("+o.start.x+", "+o.start.y+")");return a*(o.end.y-o.start.y)+(o.end.x-o.start.x+1)}},4634:(r,s)=>{function o(a,l,c){if(l===a.length-1)return a[l].getTrimmedLength();var u=!a[l].hasContent(c-1)&&a[l].getWidth(c-1)===1,O=a[l+1].getWidth(0)===2;return u&&O?c-1:c}Object.defineProperty(s,"__esModule",{value:!0}),s.getWrappedLineTrimmedLength=s.reflowSmallerGetNewLineLengths=s.reflowLargerApplyNewLayout=s.reflowLargerCreateNewLayout=s.reflowLargerGetLinesToRemove=void 0,s.reflowLargerGetLinesToRemove=function(a,l,c,u,O){for(var f=[],h=0;h=h&&u0&&(w>m||$[w].getTrimmedLength()===0);w--)P++;P>0&&(f.push(h+$.length-P),f.push(P)),h+=$.length-1}}}return f},s.reflowLargerCreateNewLayout=function(a,l){for(var c=[],u=0,O=l[u],f=0,h=0;hy&&(f-=y,h++);var $=a[h].getWidth(f-1)===2;$&&f--;var m=$?c-1:c;u.push(m),p+=m}return u},s.getWrappedLineTrimmedLength=o},5295:function(r,s,o){var a,l=this&&this.__extends||(a=function(f,h){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,y){p.__proto__=y}||function(p,y){for(var $ in y)Object.prototype.hasOwnProperty.call(y,$)&&(p[$]=y[$])},a(f,h)},function(f,h){if(typeof h!="function"&&h!==null)throw new TypeError("Class extends value "+String(h)+" is not a constructor or null");function p(){this.constructor=f}a(f,h),f.prototype=h===null?Object.create(h):(p.prototype=h.prototype,new p)});Object.defineProperty(s,"__esModule",{value:!0}),s.BufferSet=void 0;var c=o(9092),u=o(8460),O=function(f){function h(p,y){var $=f.call(this)||this;return $._optionsService=p,$._bufferService=y,$._onBufferActivate=$.register(new u.EventEmitter),$.reset(),$}return l(h,f),Object.defineProperty(h.prototype,"onBufferActivate",{get:function(){return this._onBufferActivate.event},enumerable:!1,configurable:!0}),h.prototype.reset=function(){this._normal=new c.Buffer(!0,this._optionsService,this._bufferService),this._normal.fillViewportRows(),this._alt=new c.Buffer(!1,this._optionsService,this._bufferService),this._activeBuffer=this._normal,this._onBufferActivate.fire({activeBuffer:this._normal,inactiveBuffer:this._alt}),this.setupTabStops()},Object.defineProperty(h.prototype,"alt",{get:function(){return this._alt},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"active",{get:function(){return this._activeBuffer},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"normal",{get:function(){return this._normal},enumerable:!1,configurable:!0}),h.prototype.activateNormalBuffer=function(){this._activeBuffer!==this._normal&&(this._normal.x=this._alt.x,this._normal.y=this._alt.y,this._alt.clear(),this._activeBuffer=this._normal,this._onBufferActivate.fire({activeBuffer:this._normal,inactiveBuffer:this._alt}))},h.prototype.activateAltBuffer=function(p){this._activeBuffer!==this._alt&&(this._alt.fillViewportRows(p),this._alt.x=this._normal.x,this._alt.y=this._normal.y,this._activeBuffer=this._alt,this._onBufferActivate.fire({activeBuffer:this._alt,inactiveBuffer:this._normal}))},h.prototype.resize=function(p,y){this._normal.resize(p,y),this._alt.resize(p,y)},h.prototype.setupTabStops=function(p){this._normal.setupTabStops(p),this._alt.setupTabStops(p)},h}(o(844).Disposable);s.BufferSet=O},511:function(r,s,o){var a,l=this&&this.__extends||(a=function(h,p){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(y,$){y.__proto__=$}||function(y,$){for(var m in $)Object.prototype.hasOwnProperty.call($,m)&&(y[m]=$[m])},a(h,p)},function(h,p){if(typeof p!="function"&&p!==null)throw new TypeError("Class extends value "+String(p)+" is not a constructor or null");function y(){this.constructor=h}a(h,p),h.prototype=p===null?Object.create(p):(y.prototype=p.prototype,new y)});Object.defineProperty(s,"__esModule",{value:!0}),s.CellData=void 0;var c=o(482),u=o(643),O=o(3734),f=function(h){function p(){var y=h!==null&&h.apply(this,arguments)||this;return y.content=0,y.fg=0,y.bg=0,y.extended=new O.ExtendedAttrs,y.combinedData="",y}return l(p,h),p.fromCharData=function(y){var $=new p;return $.setFromCharData(y),$},p.prototype.isCombined=function(){return 2097152&this.content},p.prototype.getWidth=function(){return this.content>>22},p.prototype.getChars=function(){return 2097152&this.content?this.combinedData:2097151&this.content?(0,c.stringFromCodePoint)(2097151&this.content):""},p.prototype.getCode=function(){return this.isCombined()?this.combinedData.charCodeAt(this.combinedData.length-1):2097151&this.content},p.prototype.setFromCharData=function(y){this.fg=y[u.CHAR_DATA_ATTR_INDEX],this.bg=0;var $=!1;if(y[u.CHAR_DATA_CHAR_INDEX].length>2)$=!0;else if(y[u.CHAR_DATA_CHAR_INDEX].length===2){var m=y[u.CHAR_DATA_CHAR_INDEX].charCodeAt(0);if(55296<=m&&m<=56319){var d=y[u.CHAR_DATA_CHAR_INDEX].charCodeAt(1);56320<=d&&d<=57343?this.content=1024*(m-55296)+d-56320+65536|y[u.CHAR_DATA_WIDTH_INDEX]<<22:$=!0}else $=!0}else this.content=y[u.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|y[u.CHAR_DATA_WIDTH_INDEX]<<22;$&&(this.combinedData=y[u.CHAR_DATA_CHAR_INDEX],this.content=2097152|y[u.CHAR_DATA_WIDTH_INDEX]<<22)},p.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},p}(O.AttributeData);s.CellData=f},643:(r,s)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.WHITESPACE_CELL_CODE=s.WHITESPACE_CELL_WIDTH=s.WHITESPACE_CELL_CHAR=s.NULL_CELL_CODE=s.NULL_CELL_WIDTH=s.NULL_CELL_CHAR=s.CHAR_DATA_CODE_INDEX=s.CHAR_DATA_WIDTH_INDEX=s.CHAR_DATA_CHAR_INDEX=s.CHAR_DATA_ATTR_INDEX=s.DEFAULT_ATTR=s.DEFAULT_COLOR=void 0,s.DEFAULT_COLOR=256,s.DEFAULT_ATTR=256|s.DEFAULT_COLOR<<9,s.CHAR_DATA_ATTR_INDEX=0,s.CHAR_DATA_CHAR_INDEX=1,s.CHAR_DATA_WIDTH_INDEX=2,s.CHAR_DATA_CODE_INDEX=3,s.NULL_CELL_CHAR="",s.NULL_CELL_WIDTH=1,s.NULL_CELL_CODE=0,s.WHITESPACE_CELL_CHAR=" ",s.WHITESPACE_CELL_WIDTH=1,s.WHITESPACE_CELL_CODE=32},4863:function(r,s,o){var a,l=this&&this.__extends||(a=function(O,f){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,p){h.__proto__=p}||function(h,p){for(var y in p)Object.prototype.hasOwnProperty.call(p,y)&&(h[y]=p[y])},a(O,f)},function(O,f){if(typeof f!="function"&&f!==null)throw new TypeError("Class extends value "+String(f)+" is not a constructor or null");function h(){this.constructor=O}a(O,f),O.prototype=f===null?Object.create(f):(h.prototype=f.prototype,new h)});Object.defineProperty(s,"__esModule",{value:!0}),s.Marker=void 0;var c=o(8460),u=function(O){function f(h){var p=O.call(this)||this;return p.line=h,p._id=f._nextId++,p.isDisposed=!1,p._onDispose=new c.EventEmitter,p}return l(f,O),Object.defineProperty(f.prototype,"id",{get:function(){return this._id},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"onDispose",{get:function(){return this._onDispose.event},enumerable:!1,configurable:!0}),f.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this.line=-1,this._onDispose.fire(),O.prototype.dispose.call(this))},f._nextId=1,f}(o(844).Disposable);s.Marker=u},7116:(r,s)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.DEFAULT_CHARSET=s.CHARSETS=void 0,s.CHARSETS={},s.DEFAULT_CHARSET=s.CHARSETS.B,s.CHARSETS[0]={"`":"\u25C6",a:"\u2592",b:"\u2409",c:"\u240C",d:"\u240D",e:"\u240A",f:"\xB0",g:"\xB1",h:"\u2424",i:"\u240B",j:"\u2518",k:"\u2510",l:"\u250C",m:"\u2514",n:"\u253C",o:"\u23BA",p:"\u23BB",q:"\u2500",r:"\u23BC",s:"\u23BD",t:"\u251C",u:"\u2524",v:"\u2534",w:"\u252C",x:"\u2502",y:"\u2264",z:"\u2265","{":"\u03C0","|":"\u2260","}":"\xA3","~":"\xB7"},s.CHARSETS.A={"#":"\xA3"},s.CHARSETS.B=void 0,s.CHARSETS[4]={"#":"\xA3","@":"\xBE","[":"ij","\\":"\xBD","]":"|","{":"\xA8","|":"f","}":"\xBC","~":"\xB4"},s.CHARSETS.C=s.CHARSETS[5]={"[":"\xC4","\\":"\xD6","]":"\xC5","^":"\xDC","`":"\xE9","{":"\xE4","|":"\xF6","}":"\xE5","~":"\xFC"},s.CHARSETS.R={"#":"\xA3","@":"\xE0","[":"\xB0","\\":"\xE7","]":"\xA7","{":"\xE9","|":"\xF9","}":"\xE8","~":"\xA8"},s.CHARSETS.Q={"@":"\xE0","[":"\xE2","\\":"\xE7","]":"\xEA","^":"\xEE","`":"\xF4","{":"\xE9","|":"\xF9","}":"\xE8","~":"\xFB"},s.CHARSETS.K={"@":"\xA7","[":"\xC4","\\":"\xD6","]":"\xDC","{":"\xE4","|":"\xF6","}":"\xFC","~":"\xDF"},s.CHARSETS.Y={"#":"\xA3","@":"\xA7","[":"\xB0","\\":"\xE7","]":"\xE9","`":"\xF9","{":"\xE0","|":"\xF2","}":"\xE8","~":"\xEC"},s.CHARSETS.E=s.CHARSETS[6]={"@":"\xC4","[":"\xC6","\\":"\xD8","]":"\xC5","^":"\xDC","`":"\xE4","{":"\xE6","|":"\xF8","}":"\xE5","~":"\xFC"},s.CHARSETS.Z={"#":"\xA3","@":"\xA7","[":"\xA1","\\":"\xD1","]":"\xBF","{":"\xB0","|":"\xF1","}":"\xE7"},s.CHARSETS.H=s.CHARSETS[7]={"@":"\xC9","[":"\xC4","\\":"\xD6","]":"\xC5","^":"\xDC","`":"\xE9","{":"\xE4","|":"\xF6","}":"\xE5","~":"\xFC"},s.CHARSETS["="]={"#":"\xF9","@":"\xE0","[":"\xE9","\\":"\xE7","]":"\xEA","^":"\xEE",_:"\xE8","`":"\xF4","{":"\xE4","|":"\xF6","}":"\xFC","~":"\xFB"}},2584:(r,s)=>{var o,a;Object.defineProperty(s,"__esModule",{value:!0}),s.C1_ESCAPED=s.C1=s.C0=void 0,function(l){l.NUL="\0",l.SOH="",l.STX="",l.ETX="",l.EOT="",l.ENQ="",l.ACK="",l.BEL="\x07",l.BS="\b",l.HT=" ",l.LF=` -`,l.VT="\v",l.FF="\f",l.CR="\r",l.SO="",l.SI="",l.DLE="",l.DC1="",l.DC2="",l.DC3="",l.DC4="",l.NAK="",l.SYN="",l.ETB="",l.CAN="",l.EM="",l.SUB="",l.ESC="\x1B",l.FS="",l.GS="",l.RS="",l.US="",l.SP=" ",l.DEL="\x7F"}(o=s.C0||(s.C0={})),(a=s.C1||(s.C1={})).PAD="\x80",a.HOP="\x81",a.BPH="\x82",a.NBH="\x83",a.IND="\x84",a.NEL="\x85",a.SSA="\x86",a.ESA="\x87",a.HTS="\x88",a.HTJ="\x89",a.VTS="\x8A",a.PLD="\x8B",a.PLU="\x8C",a.RI="\x8D",a.SS2="\x8E",a.SS3="\x8F",a.DCS="\x90",a.PU1="\x91",a.PU2="\x92",a.STS="\x93",a.CCH="\x94",a.MW="\x95",a.SPA="\x96",a.EPA="\x97",a.SOS="\x98",a.SGCI="\x99",a.SCI="\x9A",a.CSI="\x9B",a.ST="\x9C",a.OSC="\x9D",a.PM="\x9E",a.APC="\x9F",(s.C1_ESCAPED||(s.C1_ESCAPED={})).ST=o.ESC+"\\"},7399:(r,s,o)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.evaluateKeyboardEvent=void 0;var a=o(2584),l={48:["0",")"],49:["1","!"],50:["2","@"],51:["3","#"],52:["4","$"],53:["5","%"],54:["6","^"],55:["7","&"],56:["8","*"],57:["9","("],186:[";",":"],187:["=","+"],188:[",","<"],189:["-","_"],190:[".",">"],191:["/","?"],192:["`","~"],219:["[","{"],220:["\\","|"],221:["]","}"],222:["'",'"']};s.evaluateKeyboardEvent=function(c,u,O,f){var h={type:0,cancel:!1,key:void 0},p=(c.shiftKey?1:0)|(c.altKey?2:0)|(c.ctrlKey?4:0)|(c.metaKey?8:0);switch(c.keyCode){case 0:c.key==="UIKeyInputUpArrow"?h.key=u?a.C0.ESC+"OA":a.C0.ESC+"[A":c.key==="UIKeyInputLeftArrow"?h.key=u?a.C0.ESC+"OD":a.C0.ESC+"[D":c.key==="UIKeyInputRightArrow"?h.key=u?a.C0.ESC+"OC":a.C0.ESC+"[C":c.key==="UIKeyInputDownArrow"&&(h.key=u?a.C0.ESC+"OB":a.C0.ESC+"[B");break;case 8:if(c.shiftKey){h.key=a.C0.BS;break}if(c.altKey){h.key=a.C0.ESC+a.C0.DEL;break}h.key=a.C0.DEL;break;case 9:if(c.shiftKey){h.key=a.C0.ESC+"[Z";break}h.key=a.C0.HT,h.cancel=!0;break;case 13:h.key=c.altKey?a.C0.ESC+a.C0.CR:a.C0.CR,h.cancel=!0;break;case 27:h.key=a.C0.ESC,c.altKey&&(h.key=a.C0.ESC+a.C0.ESC),h.cancel=!0;break;case 37:if(c.metaKey)break;p?(h.key=a.C0.ESC+"[1;"+(p+1)+"D",h.key===a.C0.ESC+"[1;3D"&&(h.key=a.C0.ESC+(O?"b":"[1;5D"))):h.key=u?a.C0.ESC+"OD":a.C0.ESC+"[D";break;case 39:if(c.metaKey)break;p?(h.key=a.C0.ESC+"[1;"+(p+1)+"C",h.key===a.C0.ESC+"[1;3C"&&(h.key=a.C0.ESC+(O?"f":"[1;5C"))):h.key=u?a.C0.ESC+"OC":a.C0.ESC+"[C";break;case 38:if(c.metaKey)break;p?(h.key=a.C0.ESC+"[1;"+(p+1)+"A",O||h.key!==a.C0.ESC+"[1;3A"||(h.key=a.C0.ESC+"[1;5A")):h.key=u?a.C0.ESC+"OA":a.C0.ESC+"[A";break;case 40:if(c.metaKey)break;p?(h.key=a.C0.ESC+"[1;"+(p+1)+"B",O||h.key!==a.C0.ESC+"[1;3B"||(h.key=a.C0.ESC+"[1;5B")):h.key=u?a.C0.ESC+"OB":a.C0.ESC+"[B";break;case 45:c.shiftKey||c.ctrlKey||(h.key=a.C0.ESC+"[2~");break;case 46:h.key=p?a.C0.ESC+"[3;"+(p+1)+"~":a.C0.ESC+"[3~";break;case 36:h.key=p?a.C0.ESC+"[1;"+(p+1)+"H":u?a.C0.ESC+"OH":a.C0.ESC+"[H";break;case 35:h.key=p?a.C0.ESC+"[1;"+(p+1)+"F":u?a.C0.ESC+"OF":a.C0.ESC+"[F";break;case 33:c.shiftKey?h.type=2:c.ctrlKey?h.key=a.C0.ESC+"[5;"+(p+1)+"~":h.key=a.C0.ESC+"[5~";break;case 34:c.shiftKey?h.type=3:c.ctrlKey?h.key=a.C0.ESC+"[6;"+(p+1)+"~":h.key=a.C0.ESC+"[6~";break;case 112:h.key=p?a.C0.ESC+"[1;"+(p+1)+"P":a.C0.ESC+"OP";break;case 113:h.key=p?a.C0.ESC+"[1;"+(p+1)+"Q":a.C0.ESC+"OQ";break;case 114:h.key=p?a.C0.ESC+"[1;"+(p+1)+"R":a.C0.ESC+"OR";break;case 115:h.key=p?a.C0.ESC+"[1;"+(p+1)+"S":a.C0.ESC+"OS";break;case 116:h.key=p?a.C0.ESC+"[15;"+(p+1)+"~":a.C0.ESC+"[15~";break;case 117:h.key=p?a.C0.ESC+"[17;"+(p+1)+"~":a.C0.ESC+"[17~";break;case 118:h.key=p?a.C0.ESC+"[18;"+(p+1)+"~":a.C0.ESC+"[18~";break;case 119:h.key=p?a.C0.ESC+"[19;"+(p+1)+"~":a.C0.ESC+"[19~";break;case 120:h.key=p?a.C0.ESC+"[20;"+(p+1)+"~":a.C0.ESC+"[20~";break;case 121:h.key=p?a.C0.ESC+"[21;"+(p+1)+"~":a.C0.ESC+"[21~";break;case 122:h.key=p?a.C0.ESC+"[23;"+(p+1)+"~":a.C0.ESC+"[23~";break;case 123:h.key=p?a.C0.ESC+"[24;"+(p+1)+"~":a.C0.ESC+"[24~";break;default:if(!c.ctrlKey||c.shiftKey||c.altKey||c.metaKey)if(O&&!f||!c.altKey||c.metaKey)!O||c.altKey||c.ctrlKey||c.shiftKey||!c.metaKey?c.key&&!c.ctrlKey&&!c.altKey&&!c.metaKey&&c.keyCode>=48&&c.key.length===1?h.key=c.key:c.key&&c.ctrlKey&&(c.key==="_"&&(h.key=a.C0.US),c.key==="@"&&(h.key=a.C0.NUL)):c.keyCode===65&&(h.type=1);else{var y=l[c.keyCode],$=y==null?void 0:y[c.shiftKey?1:0];if($)h.key=a.C0.ESC+$;else if(c.keyCode>=65&&c.keyCode<=90){var m=c.ctrlKey?c.keyCode-64:c.keyCode+32,d=String.fromCharCode(m);c.shiftKey&&(d=d.toUpperCase()),h.key=a.C0.ESC+d}else c.key==="Dead"&&c.code.startsWith("Key")&&(d=c.code.slice(3,4),c.shiftKey||(d=d.toLowerCase()),h.key=a.C0.ESC+d,h.cancel=!0)}else c.keyCode>=65&&c.keyCode<=90?h.key=String.fromCharCode(c.keyCode-64):c.keyCode===32?h.key=a.C0.NUL:c.keyCode>=51&&c.keyCode<=55?h.key=String.fromCharCode(c.keyCode-51+27):c.keyCode===56?h.key=a.C0.DEL:c.keyCode===219?h.key=a.C0.ESC:c.keyCode===220?h.key=a.C0.FS:c.keyCode===221&&(h.key=a.C0.GS)}return h}},482:(r,s)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.Utf8ToUtf32=s.StringToUtf32=s.utf32ToString=s.stringFromCodePoint=void 0,s.stringFromCodePoint=function(l){return l>65535?(l-=65536,String.fromCharCode(55296+(l>>10))+String.fromCharCode(l%1024+56320)):String.fromCharCode(l)},s.utf32ToString=function(l,c,u){c===void 0&&(c=0),u===void 0&&(u=l.length);for(var O="",f=c;f65535?(h-=65536,O+=String.fromCharCode(55296+(h>>10))+String.fromCharCode(h%1024+56320)):O+=String.fromCharCode(h)}return O};var o=function(){function l(){this._interim=0}return l.prototype.clear=function(){this._interim=0},l.prototype.decode=function(c,u){var O=c.length;if(!O)return 0;var f=0,h=0;this._interim&&(56320<=($=c.charCodeAt(h++))&&$<=57343?u[f++]=1024*(this._interim-55296)+$-56320+65536:(u[f++]=this._interim,u[f++]=$),this._interim=0);for(var p=h;p=O)return this._interim=y,f;var $;56320<=($=c.charCodeAt(p))&&$<=57343?u[f++]=1024*(y-55296)+$-56320+65536:(u[f++]=y,u[f++]=$)}else y!==65279&&(u[f++]=y)}return f},l}();s.StringToUtf32=o;var a=function(){function l(){this.interim=new Uint8Array(3)}return l.prototype.clear=function(){this.interim.fill(0)},l.prototype.decode=function(c,u){var O=c.length;if(!O)return 0;var f,h,p,y,$=0,m=0,d=0;if(this.interim[0]){var g=!1,v=this.interim[0];v&=(224&v)==192?31:(240&v)==224?15:7;for(var b=0,_=void 0;(_=63&this.interim[++b])&&b<4;)v<<=6,v|=_;for(var Q=(224&this.interim[0])==192?2:(240&this.interim[0])==224?3:4,S=Q-b;d=O)return 0;if((192&(_=c[d++]))!=128){d--,g=!0;break}this.interim[b++]=_,v<<=6,v|=63&_}g||(Q===2?v<128?d--:u[$++]=v:Q===3?v<2048||v>=55296&&v<=57343||v===65279||(u[$++]=v):v<65536||v>1114111||(u[$++]=v)),this.interim.fill(0)}for(var P=O-4,w=d;w=O)return this.interim[0]=f,$;if((192&(h=c[w++]))!=128){w--;continue}if((m=(31&f)<<6|63&h)<128){w--;continue}u[$++]=m}else if((240&f)==224){if(w>=O)return this.interim[0]=f,$;if((192&(h=c[w++]))!=128){w--;continue}if(w>=O)return this.interim[0]=f,this.interim[1]=h,$;if((192&(p=c[w++]))!=128){w--;continue}if((m=(15&f)<<12|(63&h)<<6|63&p)<2048||m>=55296&&m<=57343||m===65279)continue;u[$++]=m}else if((248&f)==240){if(w>=O)return this.interim[0]=f,$;if((192&(h=c[w++]))!=128){w--;continue}if(w>=O)return this.interim[0]=f,this.interim[1]=h,$;if((192&(p=c[w++]))!=128){w--;continue}if(w>=O)return this.interim[0]=f,this.interim[1]=h,this.interim[2]=p,$;if((192&(y=c[w++]))!=128){w--;continue}if((m=(7&f)<<18|(63&h)<<12|(63&p)<<6|63&y)<65536||m>1114111)continue;u[$++]=m}}return $},l}();s.Utf8ToUtf32=a},225:(r,s,o)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.UnicodeV6=void 0;var a,l=o(8273),c=[[768,879],[1155,1158],[1160,1161],[1425,1469],[1471,1471],[1473,1474],[1476,1477],[1479,1479],[1536,1539],[1552,1557],[1611,1630],[1648,1648],[1750,1764],[1767,1768],[1770,1773],[1807,1807],[1809,1809],[1840,1866],[1958,1968],[2027,2035],[2305,2306],[2364,2364],[2369,2376],[2381,2381],[2385,2388],[2402,2403],[2433,2433],[2492,2492],[2497,2500],[2509,2509],[2530,2531],[2561,2562],[2620,2620],[2625,2626],[2631,2632],[2635,2637],[2672,2673],[2689,2690],[2748,2748],[2753,2757],[2759,2760],[2765,2765],[2786,2787],[2817,2817],[2876,2876],[2879,2879],[2881,2883],[2893,2893],[2902,2902],[2946,2946],[3008,3008],[3021,3021],[3134,3136],[3142,3144],[3146,3149],[3157,3158],[3260,3260],[3263,3263],[3270,3270],[3276,3277],[3298,3299],[3393,3395],[3405,3405],[3530,3530],[3538,3540],[3542,3542],[3633,3633],[3636,3642],[3655,3662],[3761,3761],[3764,3769],[3771,3772],[3784,3789],[3864,3865],[3893,3893],[3895,3895],[3897,3897],[3953,3966],[3968,3972],[3974,3975],[3984,3991],[3993,4028],[4038,4038],[4141,4144],[4146,4146],[4150,4151],[4153,4153],[4184,4185],[4448,4607],[4959,4959],[5906,5908],[5938,5940],[5970,5971],[6002,6003],[6068,6069],[6071,6077],[6086,6086],[6089,6099],[6109,6109],[6155,6157],[6313,6313],[6432,6434],[6439,6440],[6450,6450],[6457,6459],[6679,6680],[6912,6915],[6964,6964],[6966,6970],[6972,6972],[6978,6978],[7019,7027],[7616,7626],[7678,7679],[8203,8207],[8234,8238],[8288,8291],[8298,8303],[8400,8431],[12330,12335],[12441,12442],[43014,43014],[43019,43019],[43045,43046],[64286,64286],[65024,65039],[65056,65059],[65279,65279],[65529,65531]],u=[[68097,68099],[68101,68102],[68108,68111],[68152,68154],[68159,68159],[119143,119145],[119155,119170],[119173,119179],[119210,119213],[119362,119364],[917505,917505],[917536,917631],[917760,917999]],O=function(){function f(){if(this.version="6",!a){a=new Uint8Array(65536),(0,l.fill)(a,1),a[0]=0,(0,l.fill)(a,0,1,32),(0,l.fill)(a,0,127,160),(0,l.fill)(a,2,4352,4448),a[9001]=2,a[9002]=2,(0,l.fill)(a,2,11904,42192),a[12351]=1,(0,l.fill)(a,2,44032,55204),(0,l.fill)(a,2,63744,64256),(0,l.fill)(a,2,65040,65050),(0,l.fill)(a,2,65072,65136),(0,l.fill)(a,2,65280,65377),(0,l.fill)(a,2,65504,65511);for(var h=0;hy[d][1])return!1;for(;d>=m;)if(p>y[$=m+d>>1][1])m=$+1;else{if(!(p=131072&&h<=196605||h>=196608&&h<=262141?2:1},f}();s.UnicodeV6=O},5981:(r,s,o)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.WriteBuffer=void 0;var a=o(8460),l=typeof queueMicrotask=="undefined"?function(u){Promise.resolve().then(u)}:queueMicrotask,c=function(){function u(O){this._action=O,this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0,this._isSyncWriting=!1,this._syncCalls=0,this._onWriteParsed=new a.EventEmitter}return Object.defineProperty(u.prototype,"onWriteParsed",{get:function(){return this._onWriteParsed.event},enumerable:!1,configurable:!0}),u.prototype.writeSync=function(O,f){if(f!==void 0&&this._syncCalls>f)this._syncCalls=0;else if(this._pendingData+=O.length,this._writeBuffer.push(O),this._callbacks.push(void 0),this._syncCalls++,!this._isSyncWriting){var h;for(this._isSyncWriting=!0;h=this._writeBuffer.shift();){this._action(h);var p=this._callbacks.shift();p&&p()}this._pendingData=0,this._bufferOffset=2147483647,this._isSyncWriting=!1,this._syncCalls=0}},u.prototype.write=function(O,f){var h=this;if(this._pendingData>5e7)throw new Error("write data discarded, use flow control to avoid losing data");this._writeBuffer.length||(this._bufferOffset=0,setTimeout(function(){return h._innerWrite()})),this._pendingData+=O.length,this._writeBuffer.push(O),this._callbacks.push(f)},u.prototype._innerWrite=function(O,f){var h=this;O===void 0&&(O=0),f===void 0&&(f=!0);for(var p=O||Date.now();this._writeBuffer.length>this._bufferOffset;){var y=this._writeBuffer[this._bufferOffset],$=this._action(y,f);if($)return void $.catch(function(d){return l(function(){throw d}),Promise.resolve(!1)}).then(function(d){return Date.now()-p>=12?setTimeout(function(){return h._innerWrite(0,d)}):h._innerWrite(p,d)});var m=this._callbacks[this._bufferOffset];if(m&&m(),this._bufferOffset++,this._pendingData-=y.length,Date.now()-p>=12)break}this._writeBuffer.length>this._bufferOffset?(this._bufferOffset>50&&(this._writeBuffer=this._writeBuffer.slice(this._bufferOffset),this._callbacks=this._callbacks.slice(this._bufferOffset),this._bufferOffset=0),setTimeout(function(){return h._innerWrite()})):(this._writeBuffer.length=0,this._callbacks.length=0,this._pendingData=0,this._bufferOffset=0),this._onWriteParsed.fire()},u}();s.WriteBuffer=c},5941:function(r,s){var o=this&&this.__read||function(u,O){var f=typeof Symbol=="function"&&u[Symbol.iterator];if(!f)return u;var h,p,y=f.call(u),$=[];try{for(;(O===void 0||O-- >0)&&!(h=y.next()).done;)$.push(h.value)}catch(m){p={error:m}}finally{try{h&&!h.done&&(f=y.return)&&f.call(y)}finally{if(p)throw p.error}}return $};Object.defineProperty(s,"__esModule",{value:!0}),s.toRgbString=s.parseColor=void 0;var a=/^([\da-f])\/([\da-f])\/([\da-f])$|^([\da-f]{2})\/([\da-f]{2})\/([\da-f]{2})$|^([\da-f]{3})\/([\da-f]{3})\/([\da-f]{3})$|^([\da-f]{4})\/([\da-f]{4})\/([\da-f]{4})$/,l=/^[\da-f]+$/;function c(u,O){var f=u.toString(16),h=f.length<2?"0"+f:f;switch(O){case 4:return f[0];case 8:return h;case 12:return(h+h).slice(0,3);default:return h+h}}s.parseColor=function(u){if(u){var O=u.toLowerCase();if(O.indexOf("rgb:")===0){O=O.slice(4);var f=a.exec(O);if(f){var h=f[1]?15:f[4]?255:f[7]?4095:65535;return[Math.round(parseInt(f[1]||f[4]||f[7]||f[10],16)/h*255),Math.round(parseInt(f[2]||f[5]||f[8]||f[11],16)/h*255),Math.round(parseInt(f[3]||f[6]||f[9]||f[12],16)/h*255)]}}else if(O.indexOf("#")===0&&(O=O.slice(1),l.exec(O)&&[3,6,9,12].includes(O.length))){for(var p=O.length/3,y=[0,0,0],$=0;$<3;++$){var m=parseInt(O.slice(p*$,p*$+p),16);y[$]=p===1?m<<4:p===2?m:p===3?m>>4:m>>8}return y}}},s.toRgbString=function(u,O){O===void 0&&(O=16);var f=o(u,3),h=f[0],p=f[1],y=f[2];return"rgb:"+c(h,O)+"/"+c(p,O)+"/"+c(y,O)}},5770:(r,s)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.PAYLOAD_LIMIT=void 0,s.PAYLOAD_LIMIT=1e7},6351:(r,s,o)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.DcsHandler=s.DcsParser=void 0;var a=o(482),l=o(8742),c=o(5770),u=[],O=function(){function p(){this._handlers=Object.create(null),this._active=u,this._ident=0,this._handlerFb=function(){},this._stack={paused:!1,loopPosition:0,fallThrough:!1}}return p.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){},this._active=u},p.prototype.registerHandler=function(y,$){this._handlers[y]===void 0&&(this._handlers[y]=[]);var m=this._handlers[y];return m.push($),{dispose:function(){var d=m.indexOf($);d!==-1&&m.splice(d,1)}}},p.prototype.clearHandler=function(y){this._handlers[y]&&delete this._handlers[y]},p.prototype.setHandlerFallback=function(y){this._handlerFb=y},p.prototype.reset=function(){if(this._active.length)for(var y=this._stack.paused?this._stack.loopPosition-1:this._active.length-1;y>=0;--y)this._active[y].unhook(!1);this._stack.paused=!1,this._active=u,this._ident=0},p.prototype.hook=function(y,$){if(this.reset(),this._ident=y,this._active=this._handlers[y]||u,this._active.length)for(var m=this._active.length-1;m>=0;m--)this._active[m].hook($);else this._handlerFb(this._ident,"HOOK",$)},p.prototype.put=function(y,$,m){if(this._active.length)for(var d=this._active.length-1;d>=0;d--)this._active[d].put(y,$,m);else this._handlerFb(this._ident,"PUT",(0,a.utf32ToString)(y,$,m))},p.prototype.unhook=function(y,$){if($===void 0&&($=!0),this._active.length){var m=!1,d=this._active.length-1,g=!1;if(this._stack.paused&&(d=this._stack.loopPosition-1,m=$,g=this._stack.fallThrough,this._stack.paused=!1),!g&&m===!1){for(;d>=0&&(m=this._active[d].unhook(y))!==!0;d--)if(m instanceof Promise)return this._stack.paused=!0,this._stack.loopPosition=d,this._stack.fallThrough=!1,m;d--}for(;d>=0;d--)if((m=this._active[d].unhook(!1))instanceof Promise)return this._stack.paused=!0,this._stack.loopPosition=d,this._stack.fallThrough=!0,m}else this._handlerFb(this._ident,"UNHOOK",y);this._active=u,this._ident=0},p}();s.DcsParser=O;var f=new l.Params;f.addParam(0);var h=function(){function p(y){this._handler=y,this._data="",this._params=f,this._hitLimit=!1}return p.prototype.hook=function(y){this._params=y.length>1||y.params[0]?y.clone():f,this._data="",this._hitLimit=!1},p.prototype.put=function(y,$,m){this._hitLimit||(this._data+=(0,a.utf32ToString)(y,$,m),this._data.length>c.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},p.prototype.unhook=function(y){var $=this,m=!1;if(this._hitLimit)m=!1;else if(y&&(m=this._handler(this._data,this._params))instanceof Promise)return m.then(function(d){return $._params=f,$._data="",$._hitLimit=!1,d});return this._params=f,this._data="",this._hitLimit=!1,m},p}();s.DcsHandler=h},2015:function(r,s,o){var a,l=this&&this.__extends||(a=function(m,d){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,v){g.__proto__=v}||function(g,v){for(var b in v)Object.prototype.hasOwnProperty.call(v,b)&&(g[b]=v[b])},a(m,d)},function(m,d){if(typeof d!="function"&&d!==null)throw new TypeError("Class extends value "+String(d)+" is not a constructor or null");function g(){this.constructor=m}a(m,d),m.prototype=d===null?Object.create(d):(g.prototype=d.prototype,new g)});Object.defineProperty(s,"__esModule",{value:!0}),s.EscapeSequenceParser=s.VT500_TRANSITION_TABLE=s.TransitionTable=void 0;var c=o(844),u=o(8273),O=o(8742),f=o(6242),h=o(6351),p=function(){function m(d){this.table=new Uint8Array(d)}return m.prototype.setDefault=function(d,g){(0,u.fill)(this.table,d<<4|g)},m.prototype.add=function(d,g,v,b){this.table[g<<8|d]=v<<4|b},m.prototype.addMany=function(d,g,v,b){for(var _=0;_1)throw new Error("only one byte as prefix supported");if((b=g.prefix.charCodeAt(0))&&60>b||b>63)throw new Error("prefix must be in range 0x3c .. 0x3f")}if(g.intermediates){if(g.intermediates.length>2)throw new Error("only two bytes as intermediates are supported");for(var _=0;_Q||Q>47)throw new Error("intermediate must be in range 0x20 .. 0x2f");b<<=8,b|=Q}}if(g.final.length!==1)throw new Error("final must be a single byte");var S=g.final.charCodeAt(0);if(v[0]>S||S>v[1])throw new Error("final must be in range "+v[0]+" .. "+v[1]);return(b<<=8)|S},d.prototype.identToString=function(g){for(var v=[];g;)v.push(String.fromCharCode(255&g)),g>>=8;return v.reverse().join("")},d.prototype.dispose=function(){this._csiHandlers=Object.create(null),this._executeHandlers=Object.create(null),this._escHandlers=Object.create(null),this._oscParser.dispose(),this._dcsParser.dispose()},d.prototype.setPrintHandler=function(g){this._printHandler=g},d.prototype.clearPrintHandler=function(){this._printHandler=this._printHandlerFb},d.prototype.registerEscHandler=function(g,v){var b=this._identifier(g,[48,126]);this._escHandlers[b]===void 0&&(this._escHandlers[b]=[]);var _=this._escHandlers[b];return _.push(v),{dispose:function(){var Q=_.indexOf(v);Q!==-1&&_.splice(Q,1)}}},d.prototype.clearEscHandler=function(g){this._escHandlers[this._identifier(g,[48,126])]&&delete this._escHandlers[this._identifier(g,[48,126])]},d.prototype.setEscHandlerFallback=function(g){this._escHandlerFb=g},d.prototype.setExecuteHandler=function(g,v){this._executeHandlers[g.charCodeAt(0)]=v},d.prototype.clearExecuteHandler=function(g){this._executeHandlers[g.charCodeAt(0)]&&delete this._executeHandlers[g.charCodeAt(0)]},d.prototype.setExecuteHandlerFallback=function(g){this._executeHandlerFb=g},d.prototype.registerCsiHandler=function(g,v){var b=this._identifier(g);this._csiHandlers[b]===void 0&&(this._csiHandlers[b]=[]);var _=this._csiHandlers[b];return _.push(v),{dispose:function(){var Q=_.indexOf(v);Q!==-1&&_.splice(Q,1)}}},d.prototype.clearCsiHandler=function(g){this._csiHandlers[this._identifier(g)]&&delete this._csiHandlers[this._identifier(g)]},d.prototype.setCsiHandlerFallback=function(g){this._csiHandlerFb=g},d.prototype.registerDcsHandler=function(g,v){return this._dcsParser.registerHandler(this._identifier(g),v)},d.prototype.clearDcsHandler=function(g){this._dcsParser.clearHandler(this._identifier(g))},d.prototype.setDcsHandlerFallback=function(g){this._dcsParser.setHandlerFallback(g)},d.prototype.registerOscHandler=function(g,v){return this._oscParser.registerHandler(g,v)},d.prototype.clearOscHandler=function(g){this._oscParser.clearHandler(g)},d.prototype.setOscHandlerFallback=function(g){this._oscParser.setHandlerFallback(g)},d.prototype.setErrorHandler=function(g){this._errorHandler=g},d.prototype.clearErrorHandler=function(){this._errorHandler=this._errorHandlerFb},d.prototype.reset=function(){this.currentState=this.initialState,this._oscParser.reset(),this._dcsParser.reset(),this._params.reset(),this._params.addParam(0),this._collect=0,this.precedingCodepoint=0,this._parseStack.state!==0&&(this._parseStack.state=2,this._parseStack.handlers=[])},d.prototype._preserveStack=function(g,v,b,_,Q){this._parseStack.state=g,this._parseStack.handlers=v,this._parseStack.handlerPos=b,this._parseStack.transition=_,this._parseStack.chunkPos=Q},d.prototype.parse=function(g,v,b){var _,Q=0,S=0,P=0;if(this._parseStack.state)if(this._parseStack.state===2)this._parseStack.state=0,P=this._parseStack.chunkPos+1;else{if(b===void 0||this._parseStack.state===1)throw this._parseStack.state=1,new Error("improper continuation due to previous async handler, giving up parsing");var w=this._parseStack.handlers,x=this._parseStack.handlerPos-1;switch(this._parseStack.state){case 3:if(b===!1&&x>-1){for(;x>=0&&(_=w[x](this._params))!==!0;x--)if(_ instanceof Promise)return this._parseStack.handlerPos=x,_}this._parseStack.handlers=[];break;case 4:if(b===!1&&x>-1){for(;x>=0&&(_=w[x]())!==!0;x--)if(_ instanceof Promise)return this._parseStack.handlerPos=x,_}this._parseStack.handlers=[];break;case 6:if(Q=g[this._parseStack.chunkPos],_=this._dcsParser.unhook(Q!==24&&Q!==26,b))return _;Q===27&&(this._parseStack.transition|=1),this._params.reset(),this._params.addParam(0),this._collect=0;break;case 5:if(Q=g[this._parseStack.chunkPos],_=this._oscParser.end(Q!==24&&Q!==26,b))return _;Q===27&&(this._parseStack.transition|=1),this._params.reset(),this._params.addParam(0),this._collect=0}this._parseStack.state=0,P=this._parseStack.chunkPos+1,this.precedingCodepoint=0,this.currentState=15&this._parseStack.transition}for(var k=P;k>4){case 2:for(var C=k+1;;++C){if(C>=v||(Q=g[C])<32||Q>126&&Q=v||(Q=g[C])<32||Q>126&&Q=v||(Q=g[C])<32||Q>126&&Q=v||(Q=g[C])<32||Q>126&&Q=0&&(_=w[T](this._params))!==!0;T--)if(_ instanceof Promise)return this._preserveStack(3,w,T,S,k),_;T<0&&this._csiHandlerFb(this._collect<<8|Q,this._params),this.precedingCodepoint=0;break;case 8:do switch(Q){case 59:this._params.addParam(0);break;case 58:this._params.addSubParam(-1);break;default:this._params.addDigit(Q-48)}while(++k47&&Q<60);k--;break;case 9:this._collect<<=8,this._collect|=Q;break;case 10:for(var E=this._escHandlers[this._collect<<8|Q],A=E?E.length-1:-1;A>=0&&(_=E[A]())!==!0;A--)if(_ instanceof Promise)return this._preserveStack(4,E,A,S,k),_;A<0&&this._escHandlerFb(this._collect<<8|Q),this.precedingCodepoint=0;break;case 11:this._params.reset(),this._params.addParam(0),this._collect=0;break;case 12:this._dcsParser.hook(this._collect<<8|Q,this._params);break;case 13:for(var R=k+1;;++R)if(R>=v||(Q=g[R])===24||Q===26||Q===27||Q>127&&Q=v||(Q=g[X])<32||Q>127&&Q{Object.defineProperty(s,"__esModule",{value:!0}),s.OscHandler=s.OscParser=void 0;var a=o(5770),l=o(482),c=[],u=function(){function f(){this._state=0,this._active=c,this._id=-1,this._handlers=Object.create(null),this._handlerFb=function(){},this._stack={paused:!1,loopPosition:0,fallThrough:!1}}return f.prototype.registerHandler=function(h,p){this._handlers[h]===void 0&&(this._handlers[h]=[]);var y=this._handlers[h];return y.push(p),{dispose:function(){var $=y.indexOf(p);$!==-1&&y.splice($,1)}}},f.prototype.clearHandler=function(h){this._handlers[h]&&delete this._handlers[h]},f.prototype.setHandlerFallback=function(h){this._handlerFb=h},f.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){},this._active=c},f.prototype.reset=function(){if(this._state===2)for(var h=this._stack.paused?this._stack.loopPosition-1:this._active.length-1;h>=0;--h)this._active[h].end(!1);this._stack.paused=!1,this._active=c,this._id=-1,this._state=0},f.prototype._start=function(){if(this._active=this._handlers[this._id]||c,this._active.length)for(var h=this._active.length-1;h>=0;h--)this._active[h].start();else this._handlerFb(this._id,"START")},f.prototype._put=function(h,p,y){if(this._active.length)for(var $=this._active.length-1;$>=0;$--)this._active[$].put(h,p,y);else this._handlerFb(this._id,"PUT",(0,l.utf32ToString)(h,p,y))},f.prototype.start=function(){this.reset(),this._state=1},f.prototype.put=function(h,p,y){if(this._state!==3){if(this._state===1)for(;p0&&this._put(h,p,y)}},f.prototype.end=function(h,p){if(p===void 0&&(p=!0),this._state!==0){if(this._state!==3)if(this._state===1&&this._start(),this._active.length){var y=!1,$=this._active.length-1,m=!1;if(this._stack.paused&&($=this._stack.loopPosition-1,y=p,m=this._stack.fallThrough,this._stack.paused=!1),!m&&y===!1){for(;$>=0&&(y=this._active[$].end(h))!==!0;$--)if(y instanceof Promise)return this._stack.paused=!0,this._stack.loopPosition=$,this._stack.fallThrough=!1,y;$--}for(;$>=0;$--)if((y=this._active[$].end(!1))instanceof Promise)return this._stack.paused=!0,this._stack.loopPosition=$,this._stack.fallThrough=!0,y}else this._handlerFb(this._id,"END",h);this._active=c,this._id=-1,this._state=0}},f}();s.OscParser=u;var O=function(){function f(h){this._handler=h,this._data="",this._hitLimit=!1}return f.prototype.start=function(){this._data="",this._hitLimit=!1},f.prototype.put=function(h,p,y){this._hitLimit||(this._data+=(0,l.utf32ToString)(h,p,y),this._data.length>a.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},f.prototype.end=function(h){var p=this,y=!1;if(this._hitLimit)y=!1;else if(h&&(y=this._handler(this._data))instanceof Promise)return y.then(function($){return p._data="",p._hitLimit=!1,$});return this._data="",this._hitLimit=!1,y},f}();s.OscHandler=O},8742:(r,s)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.Params=void 0;var o=2147483647,a=function(){function l(c,u){if(c===void 0&&(c=32),u===void 0&&(u=32),this.maxLength=c,this.maxSubParamsLength=u,u>256)throw new Error("maxSubParamsLength must not be greater than 256");this.params=new Int32Array(c),this.length=0,this._subParams=new Int32Array(u),this._subParamsLength=0,this._subParamsIdx=new Uint16Array(c),this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1}return l.fromArray=function(c){var u=new l;if(!c.length)return u;for(var O=Array.isArray(c[0])?1:0;O>8,f=255&this._subParamsIdx[u];f-O>0&&c.push(Array.prototype.slice.call(this._subParams,O,f))}return c},l.prototype.reset=function(){this.length=0,this._subParamsLength=0,this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1},l.prototype.addParam=function(c){if(this._digitIsSub=!1,this.length>=this.maxLength)this._rejectDigits=!0;else{if(c<-1)throw new Error("values lesser than -1 are not allowed");this._subParamsIdx[this.length]=this._subParamsLength<<8|this._subParamsLength,this.params[this.length++]=c>o?o:c}},l.prototype.addSubParam=function(c){if(this._digitIsSub=!0,this.length)if(this._rejectDigits||this._subParamsLength>=this.maxSubParamsLength)this._rejectSubDigits=!0;else{if(c<-1)throw new Error("values lesser than -1 are not allowed");this._subParams[this._subParamsLength++]=c>o?o:c,this._subParamsIdx[this.length-1]++}},l.prototype.hasSubParams=function(c){return(255&this._subParamsIdx[c])-(this._subParamsIdx[c]>>8)>0},l.prototype.getSubParams=function(c){var u=this._subParamsIdx[c]>>8,O=255&this._subParamsIdx[c];return O-u>0?this._subParams.subarray(u,O):null},l.prototype.getSubParamsAll=function(){for(var c={},u=0;u>8,f=255&this._subParamsIdx[u];f-O>0&&(c[u]=this._subParams.slice(O,f))}return c},l.prototype.addDigit=function(c){var u;if(!(this._rejectDigits||!(u=this._digitIsSub?this._subParamsLength:this.length)||this._digitIsSub&&this._rejectSubDigits)){var O=this._digitIsSub?this._subParams:this.params,f=O[u-1];O[u-1]=~f?Math.min(10*f+c,o):c}},l}();s.Params=a},5741:(r,s)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.AddonManager=void 0;var o=function(){function a(){this._addons=[]}return a.prototype.dispose=function(){for(var l=this._addons.length-1;l>=0;l--)this._addons[l].instance.dispose()},a.prototype.loadAddon=function(l,c){var u=this,O={instance:c,dispose:c.dispose,isDisposed:!1};this._addons.push(O),c.dispose=function(){return u._wrappedAddonDispose(O)},c.activate(l)},a.prototype._wrappedAddonDispose=function(l){if(!l.isDisposed){for(var c=-1,u=0;u{Object.defineProperty(s,"__esModule",{value:!0}),s.BufferApiView=void 0;var a=o(3785),l=o(511),c=function(){function u(O,f){this._buffer=O,this.type=f}return u.prototype.init=function(O){return this._buffer=O,this},Object.defineProperty(u.prototype,"cursorY",{get:function(){return this._buffer.y},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"cursorX",{get:function(){return this._buffer.x},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"viewportY",{get:function(){return this._buffer.ydisp},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"baseY",{get:function(){return this._buffer.ybase},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"length",{get:function(){return this._buffer.lines.length},enumerable:!1,configurable:!0}),u.prototype.getLine=function(O){var f=this._buffer.lines.get(O);if(f)return new a.BufferLineApiView(f)},u.prototype.getNullCell=function(){return new l.CellData},u}();s.BufferApiView=c},3785:(r,s,o)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.BufferLineApiView=void 0;var a=o(511),l=function(){function c(u){this._line=u}return Object.defineProperty(c.prototype,"isWrapped",{get:function(){return this._line.isWrapped},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"length",{get:function(){return this._line.length},enumerable:!1,configurable:!0}),c.prototype.getCell=function(u,O){if(!(u<0||u>=this._line.length))return O?(this._line.loadCell(u,O),O):this._line.loadCell(u,new a.CellData)},c.prototype.translateToString=function(u,O,f){return this._line.translateToString(u,O,f)},c}();s.BufferLineApiView=l},8285:(r,s,o)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.BufferNamespaceApi=void 0;var a=o(8771),l=o(8460),c=function(){function u(O){var f=this;this._core=O,this._onBufferChange=new l.EventEmitter,this._normal=new a.BufferApiView(this._core.buffers.normal,"normal"),this._alternate=new a.BufferApiView(this._core.buffers.alt,"alternate"),this._core.buffers.onBufferActivate(function(){return f._onBufferChange.fire(f.active)})}return Object.defineProperty(u.prototype,"onBufferChange",{get:function(){return this._onBufferChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"active",{get:function(){if(this._core.buffers.active===this._core.buffers.normal)return this.normal;if(this._core.buffers.active===this._core.buffers.alt)return this.alternate;throw new Error("Active buffer is neither normal nor alternate")},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"normal",{get:function(){return this._normal.init(this._core.buffers.normal)},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"alternate",{get:function(){return this._alternate.init(this._core.buffers.alt)},enumerable:!1,configurable:!0}),u}();s.BufferNamespaceApi=c},7975:(r,s)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.ParserApi=void 0;var o=function(){function a(l){this._core=l}return a.prototype.registerCsiHandler=function(l,c){return this._core.registerCsiHandler(l,function(u){return c(u.toArray())})},a.prototype.addCsiHandler=function(l,c){return this.registerCsiHandler(l,c)},a.prototype.registerDcsHandler=function(l,c){return this._core.registerDcsHandler(l,function(u,O){return c(u,O.toArray())})},a.prototype.addDcsHandler=function(l,c){return this.registerDcsHandler(l,c)},a.prototype.registerEscHandler=function(l,c){return this._core.registerEscHandler(l,c)},a.prototype.addEscHandler=function(l,c){return this.registerEscHandler(l,c)},a.prototype.registerOscHandler=function(l,c){return this._core.registerOscHandler(l,c)},a.prototype.addOscHandler=function(l,c){return this.registerOscHandler(l,c)},a}();s.ParserApi=o},7090:(r,s)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.UnicodeApi=void 0;var o=function(){function a(l){this._core=l}return a.prototype.register=function(l){this._core.unicodeService.register(l)},Object.defineProperty(a.prototype,"versions",{get:function(){return this._core.unicodeService.versions},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"activeVersion",{get:function(){return this._core.unicodeService.activeVersion},set:function(l){this._core.unicodeService.activeVersion=l},enumerable:!1,configurable:!0}),a}();s.UnicodeApi=o},744:function(r,s,o){var a,l=this&&this.__extends||(a=function($,m){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,g){d.__proto__=g}||function(d,g){for(var v in g)Object.prototype.hasOwnProperty.call(g,v)&&(d[v]=g[v])},a($,m)},function($,m){if(typeof m!="function"&&m!==null)throw new TypeError("Class extends value "+String(m)+" is not a constructor or null");function d(){this.constructor=$}a($,m),$.prototype=m===null?Object.create(m):(d.prototype=m.prototype,new d)}),c=this&&this.__decorate||function($,m,d,g){var v,b=arguments.length,_=b<3?m:g===null?g=Object.getOwnPropertyDescriptor(m,d):g;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")_=Reflect.decorate($,m,d,g);else for(var Q=$.length-1;Q>=0;Q--)(v=$[Q])&&(_=(b<3?v(_):b>3?v(m,d,_):v(m,d))||_);return b>3&&_&&Object.defineProperty(m,d,_),_},u=this&&this.__param||function($,m){return function(d,g){m(d,g,$)}};Object.defineProperty(s,"__esModule",{value:!0}),s.BufferService=s.MINIMUM_ROWS=s.MINIMUM_COLS=void 0;var O=o(2585),f=o(5295),h=o(8460),p=o(844);s.MINIMUM_COLS=2,s.MINIMUM_ROWS=1;var y=function($){function m(d){var g=$.call(this)||this;return g._optionsService=d,g.isUserScrolling=!1,g._onResize=new h.EventEmitter,g._onScroll=new h.EventEmitter,g.cols=Math.max(d.rawOptions.cols||0,s.MINIMUM_COLS),g.rows=Math.max(d.rawOptions.rows||0,s.MINIMUM_ROWS),g.buffers=new f.BufferSet(d,g),g}return l(m,$),Object.defineProperty(m.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),m.prototype.dispose=function(){$.prototype.dispose.call(this),this.buffers.dispose()},m.prototype.resize=function(d,g){this.cols=d,this.rows=g,this.buffers.resize(d,g),this.buffers.setupTabStops(this.cols),this._onResize.fire({cols:d,rows:g})},m.prototype.reset=function(){this.buffers.reset(),this.isUserScrolling=!1},m.prototype.scroll=function(d,g){g===void 0&&(g=!1);var v,b=this.buffer;(v=this._cachedBlankLine)&&v.length===this.cols&&v.getFg(0)===d.fg&&v.getBg(0)===d.bg||(v=b.getBlankLine(d,g),this._cachedBlankLine=v),v.isWrapped=g;var _=b.ybase+b.scrollTop,Q=b.ybase+b.scrollBottom;if(b.scrollTop===0){var S=b.lines.isFull;Q===b.lines.length-1?S?b.lines.recycle().copyFrom(v):b.lines.push(v.clone()):b.lines.splice(Q+1,0,v.clone()),S?this.isUserScrolling&&(b.ydisp=Math.max(b.ydisp-1,0)):(b.ybase++,this.isUserScrolling||b.ydisp++)}else{var P=Q-_+1;b.lines.shiftElements(_+1,P-1,-1),b.lines.set(Q,v.clone())}this.isUserScrolling||(b.ydisp=b.ybase),this._onScroll.fire(b.ydisp)},m.prototype.scrollLines=function(d,g,v){var b=this.buffer;if(d<0){if(b.ydisp===0)return;this.isUserScrolling=!0}else d+b.ydisp>=b.ybase&&(this.isUserScrolling=!1);var _=b.ydisp;b.ydisp=Math.max(Math.min(b.ydisp+d,b.ybase),0),_!==b.ydisp&&(g||this._onScroll.fire(b.ydisp))},m.prototype.scrollPages=function(d){this.scrollLines(d*(this.rows-1))},m.prototype.scrollToTop=function(){this.scrollLines(-this.buffer.ydisp)},m.prototype.scrollToBottom=function(){this.scrollLines(this.buffer.ybase-this.buffer.ydisp)},m.prototype.scrollToLine=function(d){var g=d-this.buffer.ydisp;g!==0&&this.scrollLines(g)},c([u(0,O.IOptionsService)],m)}(p.Disposable);s.BufferService=y},7994:(r,s)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.CharsetService=void 0;var o=function(){function a(){this.glevel=0,this._charsets=[]}return a.prototype.reset=function(){this.charset=void 0,this._charsets=[],this.glevel=0},a.prototype.setgLevel=function(l){this.glevel=l,this.charset=this._charsets[l]},a.prototype.setgCharset=function(l,c){this._charsets[l]=c,this.glevel===l&&(this.charset=c)},a}();s.CharsetService=o},1753:function(r,s,o){var a=this&&this.__decorate||function(m,d,g,v){var b,_=arguments.length,Q=_<3?d:v===null?v=Object.getOwnPropertyDescriptor(d,g):v;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")Q=Reflect.decorate(m,d,g,v);else for(var S=m.length-1;S>=0;S--)(b=m[S])&&(Q=(_<3?b(Q):_>3?b(d,g,Q):b(d,g))||Q);return _>3&&Q&&Object.defineProperty(d,g,Q),Q},l=this&&this.__param||function(m,d){return function(g,v){d(g,v,m)}},c=this&&this.__values||function(m){var d=typeof Symbol=="function"&&Symbol.iterator,g=d&&m[d],v=0;if(g)return g.call(m);if(m&&typeof m.length=="number")return{next:function(){return m&&v>=m.length&&(m=void 0),{value:m&&m[v++],done:!m}}};throw new TypeError(d?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(s,"__esModule",{value:!0}),s.CoreMouseService=void 0;var u=o(2585),O=o(8460),f={NONE:{events:0,restrict:function(){return!1}},X10:{events:1,restrict:function(m){return m.button!==4&&m.action===1&&(m.ctrl=!1,m.alt=!1,m.shift=!1,!0)}},VT200:{events:19,restrict:function(m){return m.action!==32}},DRAG:{events:23,restrict:function(m){return m.action!==32||m.button!==3}},ANY:{events:31,restrict:function(m){return!0}}};function h(m,d){var g=(m.ctrl?16:0)|(m.shift?4:0)|(m.alt?8:0);return m.button===4?(g|=64,g|=m.action):(g|=3&m.button,4&m.button&&(g|=64),8&m.button&&(g|=128),m.action===32?g|=32:m.action!==0||d||(g|=3)),g}var p=String.fromCharCode,y={DEFAULT:function(m){var d=[h(m,!1)+32,m.col+32,m.row+32];return d[0]>255||d[1]>255||d[2]>255?"":"\x1B[M"+p(d[0])+p(d[1])+p(d[2])},SGR:function(m){var d=m.action===0&&m.button!==4?"m":"M";return"\x1B[<"+h(m,!0)+";"+m.col+";"+m.row+d}},$=function(){function m(d,g){var v,b,_,Q;this._bufferService=d,this._coreService=g,this._protocols={},this._encodings={},this._activeProtocol="",this._activeEncoding="",this._onProtocolChange=new O.EventEmitter,this._lastEvent=null;try{for(var S=c(Object.keys(f)),P=S.next();!P.done;P=S.next()){var w=P.value;this.addProtocol(w,f[w])}}catch(T){v={error:T}}finally{try{P&&!P.done&&(b=S.return)&&b.call(S)}finally{if(v)throw v.error}}try{for(var x=c(Object.keys(y)),k=x.next();!k.done;k=x.next()){var C=k.value;this.addEncoding(C,y[C])}}catch(T){_={error:T}}finally{try{k&&!k.done&&(Q=x.return)&&Q.call(x)}finally{if(_)throw _.error}}this.reset()}return m.prototype.addProtocol=function(d,g){this._protocols[d]=g},m.prototype.addEncoding=function(d,g){this._encodings[d]=g},Object.defineProperty(m.prototype,"activeProtocol",{get:function(){return this._activeProtocol},set:function(d){if(!this._protocols[d])throw new Error('unknown protocol "'+d+'"');this._activeProtocol=d,this._onProtocolChange.fire(this._protocols[d].events)},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"areMouseEventsActive",{get:function(){return this._protocols[this._activeProtocol].events!==0},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"activeEncoding",{get:function(){return this._activeEncoding},set:function(d){if(!this._encodings[d])throw new Error('unknown encoding "'+d+'"');this._activeEncoding=d},enumerable:!1,configurable:!0}),m.prototype.reset=function(){this.activeProtocol="NONE",this.activeEncoding="DEFAULT",this._lastEvent=null},Object.defineProperty(m.prototype,"onProtocolChange",{get:function(){return this._onProtocolChange.event},enumerable:!1,configurable:!0}),m.prototype.triggerMouseEvent=function(d){if(d.col<0||d.col>=this._bufferService.cols||d.row<0||d.row>=this._bufferService.rows||d.button===4&&d.action===32||d.button===3&&d.action!==32||d.button!==4&&(d.action===2||d.action===3)||(d.col++,d.row++,d.action===32&&this._lastEvent&&this._compareEvents(this._lastEvent,d))||!this._protocols[this._activeProtocol].restrict(d))return!1;var g=this._encodings[this._activeEncoding](d);return g&&(this._activeEncoding==="DEFAULT"?this._coreService.triggerBinaryEvent(g):this._coreService.triggerDataEvent(g,!0)),this._lastEvent=d,!0},m.prototype.explainEvents=function(d){return{down:!!(1&d),up:!!(2&d),drag:!!(4&d),move:!!(8&d),wheel:!!(16&d)}},m.prototype._compareEvents=function(d,g){return d.col===g.col&&d.row===g.row&&d.button===g.button&&d.action===g.action&&d.ctrl===g.ctrl&&d.alt===g.alt&&d.shift===g.shift},a([l(0,u.IBufferService),l(1,u.ICoreService)],m)}();s.CoreMouseService=$},6975:function(r,s,o){var a,l=this&&this.__extends||(a=function(d,g){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(v,b){v.__proto__=b}||function(v,b){for(var _ in b)Object.prototype.hasOwnProperty.call(b,_)&&(v[_]=b[_])},a(d,g)},function(d,g){if(typeof g!="function"&&g!==null)throw new TypeError("Class extends value "+String(g)+" is not a constructor or null");function v(){this.constructor=d}a(d,g),d.prototype=g===null?Object.create(g):(v.prototype=g.prototype,new v)}),c=this&&this.__decorate||function(d,g,v,b){var _,Q=arguments.length,S=Q<3?g:b===null?b=Object.getOwnPropertyDescriptor(g,v):b;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")S=Reflect.decorate(d,g,v,b);else for(var P=d.length-1;P>=0;P--)(_=d[P])&&(S=(Q<3?_(S):Q>3?_(g,v,S):_(g,v))||S);return Q>3&&S&&Object.defineProperty(g,v,S),S},u=this&&this.__param||function(d,g){return function(v,b){g(v,b,d)}};Object.defineProperty(s,"__esModule",{value:!0}),s.CoreService=void 0;var O=o(2585),f=o(8460),h=o(1439),p=o(844),y=Object.freeze({insertMode:!1}),$=Object.freeze({applicationCursorKeys:!1,applicationKeypad:!1,bracketedPasteMode:!1,origin:!1,reverseWraparound:!1,sendFocus:!1,wraparound:!0}),m=function(d){function g(v,b,_,Q){var S=d.call(this)||this;return S._bufferService=b,S._logService=_,S._optionsService=Q,S.isCursorInitialized=!1,S.isCursorHidden=!1,S._onData=S.register(new f.EventEmitter),S._onUserInput=S.register(new f.EventEmitter),S._onBinary=S.register(new f.EventEmitter),S._scrollToBottom=v,S.register({dispose:function(){return S._scrollToBottom=void 0}}),S.modes=(0,h.clone)(y),S.decPrivateModes=(0,h.clone)($),S}return l(g,d),Object.defineProperty(g.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"onUserInput",{get:function(){return this._onUserInput.event},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),g.prototype.reset=function(){this.modes=(0,h.clone)(y),this.decPrivateModes=(0,h.clone)($)},g.prototype.triggerDataEvent=function(v,b){if(b===void 0&&(b=!1),!this._optionsService.rawOptions.disableStdin){var _=this._bufferService.buffer;_.ybase!==_.ydisp&&this._scrollToBottom(),b&&this._onUserInput.fire(),this._logService.debug('sending data "'+v+'"',function(){return v.split("").map(function(Q){return Q.charCodeAt(0)})}),this._onData.fire(v)}},g.prototype.triggerBinaryEvent=function(v){this._optionsService.rawOptions.disableStdin||(this._logService.debug('sending binary "'+v+'"',function(){return v.split("").map(function(b){return b.charCodeAt(0)})}),this._onBinary.fire(v))},c([u(1,O.IBufferService),u(2,O.ILogService),u(3,O.IOptionsService)],g)}(p.Disposable);s.CoreService=m},9074:function(r,s,o){var a,l=this&&this.__extends||(a=function(m,d){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,v){g.__proto__=v}||function(g,v){for(var b in v)Object.prototype.hasOwnProperty.call(v,b)&&(g[b]=v[b])},a(m,d)},function(m,d){if(typeof d!="function"&&d!==null)throw new TypeError("Class extends value "+String(d)+" is not a constructor or null");function g(){this.constructor=m}a(m,d),m.prototype=d===null?Object.create(d):(g.prototype=d.prototype,new g)}),c=this&&this.__generator||function(m,d){var g,v,b,_,Q={label:0,sent:function(){if(1&b[0])throw b[1];return b[1]},trys:[],ops:[]};return _={next:S(0),throw:S(1),return:S(2)},typeof Symbol=="function"&&(_[Symbol.iterator]=function(){return this}),_;function S(P){return function(w){return function(x){if(g)throw new TypeError("Generator is already executing.");for(;Q;)try{if(g=1,v&&(b=2&x[0]?v.return:x[0]?v.throw||((b=v.return)&&b.call(v),0):v.next)&&!(b=b.call(v,x[1])).done)return b;switch(v=0,b&&(x=[2&x[0],b.value]),x[0]){case 0:case 1:b=x;break;case 4:return Q.label++,{value:x[1],done:!1};case 5:Q.label++,v=x[1],x=[0];continue;case 7:x=Q.ops.pop(),Q.trys.pop();continue;default:if(!((b=(b=Q.trys).length>0&&b[b.length-1])||x[0]!==6&&x[0]!==2)){Q=0;continue}if(x[0]===3&&(!b||x[1]>b[0]&&x[1]=m.length&&(m=void 0),{value:m&&m[v++],done:!m}}};throw new TypeError(d?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(s,"__esModule",{value:!0}),s.DecorationService=void 0;var O=o(8055),f=o(8460),h=o(844),p=o(6106),y=function(m){function d(){var g=m.call(this)||this;return g._decorations=new p.SortedList(function(v){return v.marker.line}),g._onDecorationRegistered=g.register(new f.EventEmitter),g._onDecorationRemoved=g.register(new f.EventEmitter),g}return l(d,m),Object.defineProperty(d.prototype,"onDecorationRegistered",{get:function(){return this._onDecorationRegistered.event},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"onDecorationRemoved",{get:function(){return this._onDecorationRemoved.event},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"decorations",{get:function(){return this._decorations.values()},enumerable:!1,configurable:!0}),d.prototype.registerDecoration=function(g){var v=this;if(!g.marker.isDisposed){var b=new $(g);if(b){var _=b.marker.onDispose(function(){return b.dispose()});b.onDispose(function(){b&&(v._decorations.delete(b)&&v._onDecorationRemoved.fire(b),_.dispose())}),this._decorations.insert(b),this._onDecorationRegistered.fire(b)}return b}},d.prototype.reset=function(){var g,v;try{for(var b=u(this._decorations.values()),_=b.next();!_.done;_=b.next())_.value.dispose()}catch(Q){g={error:Q}}finally{try{_&&!_.done&&(v=b.return)&&v.call(b)}finally{if(g)throw g.error}}this._decorations.clear()},d.prototype.getDecorationsAtLine=function(g){return c(this,function(v){return[2,this._decorations.getKeyIterator(g)]})},d.prototype.getDecorationsAtCell=function(g,v,b){var _,Q,S,P,w,x,k,C,T,E,A;return c(this,function(R){switch(R.label){case 0:_=0,Q=0,R.label=1;case 1:R.trys.push([1,6,7,8]),S=u(this._decorations.getKeyIterator(v)),P=S.next(),R.label=2;case 2:return P.done?[3,5]:(w=P.value,_=(T=w.options.x)!==null&&T!==void 0?T:0,Q=_+((E=w.options.width)!==null&&E!==void 0?E:1),!(g>=_&&g=0;d--)(y=O[d])&&(m=($<3?y(m):$>3?y(f,h,m):y(f,h))||m);return $>3&&m&&Object.defineProperty(f,h,m),m},l=this&&this.__param||function(O,f){return function(h,p){f(h,p,O)}};Object.defineProperty(s,"__esModule",{value:!0}),s.DirtyRowService=void 0;var c=o(2585),u=function(){function O(f){this._bufferService=f,this.clearRange()}return Object.defineProperty(O.prototype,"start",{get:function(){return this._start},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"end",{get:function(){return this._end},enumerable:!1,configurable:!0}),O.prototype.clearRange=function(){this._start=this._bufferService.buffer.y,this._end=this._bufferService.buffer.y},O.prototype.markDirty=function(f){fthis._end&&(this._end=f)},O.prototype.markRangeDirty=function(f,h){if(f>h){var p=f;f=h,h=p}fthis._end&&(this._end=h)},O.prototype.markAllDirty=function(){this.markRangeDirty(0,this._bufferService.rows-1)},a([l(0,c.IBufferService)],O)}();s.DirtyRowService=u},4348:function(r,s,o){var a=this&&this.__values||function(p){var y=typeof Symbol=="function"&&Symbol.iterator,$=y&&p[y],m=0;if($)return $.call(p);if(p&&typeof p.length=="number")return{next:function(){return p&&m>=p.length&&(p=void 0),{value:p&&p[m++],done:!p}}};throw new TypeError(y?"Object is not iterable.":"Symbol.iterator is not defined.")},l=this&&this.__read||function(p,y){var $=typeof Symbol=="function"&&p[Symbol.iterator];if(!$)return p;var m,d,g=$.call(p),v=[];try{for(;(y===void 0||y-- >0)&&!(m=g.next()).done;)v.push(m.value)}catch(b){d={error:b}}finally{try{m&&!m.done&&($=g.return)&&$.call(g)}finally{if(d)throw d.error}}return v},c=this&&this.__spreadArray||function(p,y,$){if($||arguments.length===2)for(var m,d=0,g=y.length;d0?v[0].index:d.length;if(d.length!==w)throw new Error("[createInstance] First service dependency of "+y.name+" at position "+(w+1)+" conflicts with "+d.length+" static arguments");return new(y.bind.apply(y,c([void 0],l(c(c([],l(d),!1),l(b),!1)),!1)))},p}();s.InstantiationService=h},7866:function(r,s,o){var a=this&&this.__decorate||function(p,y,$,m){var d,g=arguments.length,v=g<3?y:m===null?m=Object.getOwnPropertyDescriptor(y,$):m;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")v=Reflect.decorate(p,y,$,m);else for(var b=p.length-1;b>=0;b--)(d=p[b])&&(v=(g<3?d(v):g>3?d(y,$,v):d(y,$))||v);return g>3&&v&&Object.defineProperty(y,$,v),v},l=this&&this.__param||function(p,y){return function($,m){y($,m,p)}},c=this&&this.__read||function(p,y){var $=typeof Symbol=="function"&&p[Symbol.iterator];if(!$)return p;var m,d,g=$.call(p),v=[];try{for(;(y===void 0||y-- >0)&&!(m=g.next()).done;)v.push(m.value)}catch(b){d={error:b}}finally{try{m&&!m.done&&($=g.return)&&$.call(g)}finally{if(d)throw d.error}}return v},u=this&&this.__spreadArray||function(p,y,$){if($||arguments.length===2)for(var m,d=0,g=y.length;d{function o(a,l,c){l.di$target===l?l.di$dependencies.push({id:a,index:c}):(l.di$dependencies=[{id:a,index:c}],l.di$target=l)}Object.defineProperty(s,"__esModule",{value:!0}),s.createDecorator=s.getServiceDependencies=s.serviceRegistry=void 0,s.serviceRegistry=new Map,s.getServiceDependencies=function(a){return a.di$dependencies||[]},s.createDecorator=function(a){if(s.serviceRegistry.has(a))return s.serviceRegistry.get(a);var l=function(c,u,O){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");o(l,c,O)};return l.toString=function(){return a},s.serviceRegistry.set(a,l),l}},2585:(r,s,o)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.IDecorationService=s.IUnicodeService=s.IOptionsService=s.ILogService=s.LogLevelEnum=s.IInstantiationService=s.IDirtyRowService=s.ICharsetService=s.ICoreService=s.ICoreMouseService=s.IBufferService=void 0;var a,l=o(8343);s.IBufferService=(0,l.createDecorator)("BufferService"),s.ICoreMouseService=(0,l.createDecorator)("CoreMouseService"),s.ICoreService=(0,l.createDecorator)("CoreService"),s.ICharsetService=(0,l.createDecorator)("CharsetService"),s.IDirtyRowService=(0,l.createDecorator)("DirtyRowService"),s.IInstantiationService=(0,l.createDecorator)("InstantiationService"),(a=s.LogLevelEnum||(s.LogLevelEnum={}))[a.DEBUG=0]="DEBUG",a[a.INFO=1]="INFO",a[a.WARN=2]="WARN",a[a.ERROR=3]="ERROR",a[a.OFF=4]="OFF",s.ILogService=(0,l.createDecorator)("LogService"),s.IOptionsService=(0,l.createDecorator)("OptionsService"),s.IUnicodeService=(0,l.createDecorator)("UnicodeService"),s.IDecorationService=(0,l.createDecorator)("DecorationService")},1480:(r,s,o)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.UnicodeService=void 0;var a=o(8460),l=o(225),c=function(){function u(){this._providers=Object.create(null),this._active="",this._onChange=new a.EventEmitter;var O=new l.UnicodeV6;this.register(O),this._active=O.version,this._activeProvider=O}return Object.defineProperty(u.prototype,"onChange",{get:function(){return this._onChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"versions",{get:function(){return Object.keys(this._providers)},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"activeVersion",{get:function(){return this._active},set:function(O){if(!this._providers[O])throw new Error('unknown Unicode version "'+O+'"');this._active=O,this._activeProvider=this._providers[O],this._onChange.fire(O)},enumerable:!1,configurable:!0}),u.prototype.register=function(O){this._providers[O.version]=O},u.prototype.wcwidth=function(O){return this._activeProvider.wcwidth(O)},u.prototype.getStringCellWidth=function(O){for(var f=0,h=O.length,p=0;p=h)return f+this.wcwidth(y);var $=O.charCodeAt(p);56320<=$&&$<=57343?y=1024*(y-55296)+$-56320+65536:f+=this.wcwidth($)}f+=this.wcwidth(y)}return f},u}();s.UnicodeService=c}},i={};return function r(s){var o=i[s];if(o!==void 0)return o.exports;var a=i[s]={exports:{}};return n[s].call(a.exports,a,a.exports,r),a.exports}(4389)})()})})(xR);var PR={exports:{}};(function(t,e){(function(n,i){t.exports=i()})(self,function(){return(()=>{var n={775:(r,s)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.FitAddon=void 0;var o=function(){function a(){}return a.prototype.activate=function(l){this._terminal=l},a.prototype.dispose=function(){},a.prototype.fit=function(){var l=this.proposeDimensions();if(l&&this._terminal){var c=this._terminal._core;this._terminal.rows===l.rows&&this._terminal.cols===l.cols||(c._renderService.clear(),this._terminal.resize(l.cols,l.rows))}},a.prototype.proposeDimensions=function(){if(this._terminal&&this._terminal.element&&this._terminal.element.parentElement){var l=this._terminal._core;if(l._renderService.dimensions.actualCellWidth!==0&&l._renderService.dimensions.actualCellHeight!==0){var c=window.getComputedStyle(this._terminal.element.parentElement),u=parseInt(c.getPropertyValue("height")),O=Math.max(0,parseInt(c.getPropertyValue("width"))),f=window.getComputedStyle(this._terminal.element),h=u-(parseInt(f.getPropertyValue("padding-top"))+parseInt(f.getPropertyValue("padding-bottom"))),p=O-(parseInt(f.getPropertyValue("padding-right"))+parseInt(f.getPropertyValue("padding-left")))-l.viewport.scrollBarWidth;return{cols:Math.max(2,Math.floor(p/l._renderService.dimensions.actualCellWidth)),rows:Math.max(1,Math.floor(h/l._renderService.dimensions.actualCellHeight))}}}},a}();s.FitAddon=o}},i={};return function r(s){if(i[s])return i[s].exports;var o=i[s]={exports:{}};return n[s](o,o.exports,r),o.exports}(775)})()})})(PR);var kR={exports:{}};(function(t,e){(function(n,i){t.exports=i()})(self,function(){return(()=>{var n={258:function(r,s,o){var a=this&&this.__assign||function(){return a=Object.assign||function(O){for(var f,h=1,p=arguments.length;h?",u=function(){function O(){this._linesCacheTimeoutId=0,this._onDidChangeResults=new l.EventEmitter,this.onDidChangeResults=this._onDidChangeResults.event}return O.prototype.activate=function(f){var h=this;this._terminal=f,this._onDataDisposable=this._terminal.onWriteParsed(function(){return h._updateMatches()}),this._onResizeDisposable=this._terminal.onResize(function(){return h._updateMatches()})},O.prototype._updateMatches=function(){var f,h=this;this._highlightTimeout&&window.clearTimeout(this._highlightTimeout),this._cachedSearchTerm&&((f=this._lastSearchOptions)===null||f===void 0?void 0:f.decorations)&&(this._highlightTimeout=setTimeout(function(){var p,y;h.findPrevious(h._cachedSearchTerm,a(a({},h._lastSearchOptions),{incremental:!0,noScroll:!0})),h._resultIndex=h._searchResults?h._searchResults.size-1:-1,h._onDidChangeResults.fire({resultIndex:h._resultIndex,resultCount:(y=(p=h._searchResults)===null||p===void 0?void 0:p.size)!==null&&y!==void 0?y:-1})},200))},O.prototype.dispose=function(){var f,h;this.clearDecorations(),(f=this._onDataDisposable)===null||f===void 0||f.dispose(),(h=this._onResizeDisposable)===null||h===void 0||h.dispose()},O.prototype.clearDecorations=function(f){var h,p,y,$;(h=this._selectedDecoration)===null||h===void 0||h.dispose(),(p=this._searchResults)===null||p===void 0||p.clear(),(y=this._resultDecorations)===null||y===void 0||y.forEach(function(m){for(var d=0,g=m;d=this._terminal.cols?$.row+1:$.row,$.col+$.term.length>=this._terminal.cols?0:$.col+1,h),this._searchResults.size>1e3)return this.clearDecorations(),void(this._resultIndex=void 0);this._searchResults.forEach(function(m){var d=p._createResultDecoration(m,h.decorations);if(d){var g=y.get(d.marker.line)||[];g.push(d),y.set(d.marker.line,g)}})}else this.clearDecorations()},O.prototype._find=function(f,h,p,y){var $;if(!this._terminal||!f||f.length===0)return($=this._terminal)===null||$===void 0||$.clearSelection(),void this.clearDecorations();if(p>this._terminal.cols)throw new Error("Invalid col: "+p+" to search in terminal of "+this._terminal.cols+" cols");var m=void 0;this._initLinesCache();var d={startRow:h,startCol:p};if(!(m=this._findInLine(f,d,y)))for(var g=h+1;g=this._searchResults.size&&(this._resultIndex=0))),this._selectResult(v,h==null?void 0:h.decorations,h==null?void 0:h.noScroll)},O.prototype.findPrevious=function(f,h){if(!this._terminal)throw new Error("Cannot use addon until it has been loaded");return this._lastSearchOptions=h,h!=null&&h.decorations&&(this._resultIndex===void 0&&this._cachedSearchTerm!==void 0&&f===this._cachedSearchTerm||this._highlightAllMatches(f,h)),this._fireResults(f,this._findPreviousAndSelect(f,h),h)},O.prototype._fireResults=function(f,h,p){var y;return p!=null&&p.decorations&&(this._resultIndex!==void 0&&((y=this._searchResults)===null||y===void 0?void 0:y.size)!==void 0?this._onDidChangeResults.fire({resultIndex:this._resultIndex,resultCount:this._searchResults.size}):this._onDidChangeResults.fire(void 0)),this._cachedSearchTerm=f,h},O.prototype._findPreviousAndSelect=function(f,h){var p,y;if(!this._terminal)throw new Error("Cannot use addon until it has been loaded");if(!this._terminal||!f||f.length===0)return y=void 0,(p=this._terminal)===null||p===void 0||p.clearSelection(),this.clearDecorations(),this._resultIndex=-1,!1;this._cachedSearchTerm!==f&&(this._resultIndex=void 0,this._terminal.clearSelection());var $,m=this._terminal.buffer.active.baseY+this._terminal.rows,d=this._terminal.cols,g=!0,v=!!h&&h.incremental;this._terminal.hasSelection()&&(m=($=this._terminal.getSelectionPosition()).startRow,d=$.startColumn),this._initLinesCache();var b={startRow:m,startCol:d};if(v?(y=this._findInLine(f,b,h,!1))&&y.row===m&&y.col===d||($&&(b.startRow=$.endRow,b.startCol=$.endColumn),y=this._findInLine(f,b,h,!0)):y=this._findInLine(f,b,h,g),!y){b.startCol=Math.max(b.startCol,this._terminal.cols);for(var _=m-1;_>=0&&(b.startRow=_,!(y=this._findInLine(f,b,h,g)));_--);}if(!y&&m!==this._terminal.buffer.active.baseY+this._terminal.rows)for(_=this._terminal.buffer.active.baseY+this._terminal.rows;_>=m&&(b.startRow=_,!(y=this._findInLine(f,b,h,g)));_--);return this._searchResults&&(this._searchResults.size===0?this._resultIndex=-1:this._resultIndex===void 0||this._resultIndex<0?this._resultIndex=this._searchResults.size-1:(this._resultIndex--,this._resultIndex===-1&&(this._resultIndex=this._searchResults.size-1))),!(y||!$)||this._selectResult(y,h==null?void 0:h.decorations,h==null?void 0:h.noScroll)},O.prototype._initLinesCache=function(){var f=this,h=this._terminal;this._linesCache||(this._linesCache=new Array(h.buffer.active.length),this._cursorMoveListener=h.onCursorMove(function(){return f._destroyLinesCache()}),this._resizeListener=h.onResize(function(){return f._destroyLinesCache()})),window.clearTimeout(this._linesCacheTimeoutId),this._linesCacheTimeoutId=window.setTimeout(function(){return f._destroyLinesCache()},15e3)},O.prototype._destroyLinesCache=function(){this._linesCache=void 0,this._cursorMoveListener&&(this._cursorMoveListener.dispose(),this._cursorMoveListener=void 0),this._resizeListener&&(this._resizeListener.dispose(),this._resizeListener=void 0),this._linesCacheTimeoutId&&(window.clearTimeout(this._linesCacheTimeoutId),this._linesCacheTimeoutId=0)},O.prototype._isWholeWord=function(f,h,p){return(f===0||c.includes(h[f-1]))&&(f+p.length===h.length||c.includes(h[f+p.length]))},O.prototype._findInLine=function(f,h,p,y){var $;p===void 0&&(p={}),y===void 0&&(y=!1);var m=this._terminal,d=h.startRow,g=h.startCol,v=m.buffer.active.getLine(d);if(v!=null&&v.isWrapped)return y?void(h.startCol+=m.cols):(h.startRow--,h.startCol+=m.cols,this._findInLine(f,h,p));var b=($=this._linesCache)===null||$===void 0?void 0:$[d];b||(b=this._translateBufferLineToStringWithWrap(d,!0),this._linesCache&&(this._linesCache[d]=b));var _=b[0],Q=b[1],S=this._bufferColsToStringOffset(d,g),P=p.caseSensitive?f:f.toLowerCase(),w=p.caseSensitive?_:_.toLowerCase(),x=-1;if(p.regex){var k=RegExp(P,"g"),C=void 0;if(y)for(;C=k.exec(w.slice(0,S));)x=k.lastIndex-C[0].length,f=C[0],k.lastIndex-=f.length-1;else(C=k.exec(w.slice(S)))&&C[0].length>0&&(x=S+(k.lastIndex-C[0].length),f=C[0])}else y?S-P.length>=0&&(x=w.lastIndexOf(P,S-P.length)):x=w.indexOf(P,S);if(x>=0){if(p.wholeWord&&!this._isWholeWord(x,w,f))return;for(var T=0;T=Q[T+1];)T++;for(var E=T;E=Q[E+1];)E++;var A=x-Q[T],R=x+f.length-Q[E],X=this._stringLengthToBufferSize(d+T,A);return{term:f,col:X,row:d+T,size:this._stringLengthToBufferSize(d+E,R)-X+m.cols*(E-T)}}},O.prototype._stringLengthToBufferSize=function(f,h){var p=this._terminal.buffer.active.getLine(f);if(!p)return 0;for(var y=0;y1&&(h-=m.length-1);var d=p.getCell(y+1);d&&d.getWidth()===0&&h++}return h},O.prototype._bufferColsToStringOffset=function(f,h){for(var p=this._terminal,y=f,$=0,m=p.buffer.active.getLine(y);h>0&&m;){for(var d=0;d=d.buffer.active.viewportY+d.rows||f.row{Object.defineProperty(s,"__esModule",{value:!0}),s.forwardEvent=s.EventEmitter=void 0;var o=function(){function a(){this._listeners=[],this._disposed=!1}return Object.defineProperty(a.prototype,"event",{get:function(){var l=this;return this._event||(this._event=function(c){return l._listeners.push(c),{dispose:function(){if(!l._disposed){for(var u=0;u - - - - `,e.className=V0;const n=this.terminal.element.parentElement;this.searchBarElement=e,["relative","absoulte","fixed"].includes(n.style.position)||(n.style.position="relative"),n.appendChild(this.searchBarElement),this.on(".search-bar__btn.close","click",()=>{this.hidden()}),this.on(".search-bar__btn.next","click",()=>{this.searchAddon.findNext(this.searchKey,{incremental:!1})}),this.on(".search-bar__btn.prev","click",()=>{this.searchAddon.findPrevious(this.searchKey,{incremental:!1})}),this.on(".search-bar__input","keyup",i=>{this.searchKey=i.target.value,this.searchAddon.findNext(this.searchKey,{incremental:i.key!=="Enter"})}),this.searchBarElement.querySelector("input").select()}hidden(){this.searchBarElement&&this.terminal.element.parentElement&&(this.searchBarElement.style.visibility="hidden")}on(e,n,i){const r=this.terminal.element.parentElement;r.addEventListener(n,s=>{let o=s.target;for(;o!==document.querySelector(e);){if(o===r){o=null;break}o=o.parentElement}o===document.querySelector(e)&&(i.call(this,s),s.stopPropagation())})}addNewStyle(e){let n=document.getElementById(V0);n||(n=document.createElement("style"),n.type="text/css",n.id=V0,document.getElementsByTagName("head")[0].appendChild(n)),n.appendChild(document.createTextNode(e))}}var CR={exports:{}};(function(t,e){(function(n,i){t.exports=i()})(self,function(){return(()=>{var n={6:(o,a)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.LinkComputer=a.WebLinkProvider=void 0;var l=function(){function u(O,f,h,p){p===void 0&&(p={}),this._terminal=O,this._regex=f,this._handler=h,this._options=p}return u.prototype.provideLinks=function(O,f){var h=c.computeLink(O,this._regex,this._terminal,this._handler);f(this._addCallbacks(h))},u.prototype._addCallbacks=function(O){var f=this;return O.map(function(h){return h.leave=f._options.leave,h.hover=function(p,y){if(f._options.hover){var $=h.range;f._options.hover(p,y,$)}},h})},u}();a.WebLinkProvider=l;var c=function(){function u(){}return u.computeLink=function(O,f,h,p){for(var y,$=new RegExp(f.source,(f.flags||"")+"g"),m=u._translateBufferLineToStringWithWrap(O-1,!1,h),d=m[0],g=m[1],v=-1,b=[];(y=$.exec(d))!==null;){var _=y[1];if(!_){console.log("match found without corresponding matchIndex");break}if(v=d.indexOf(_,v+1),$.lastIndex=v+_.length,v<0)break;for(var Q=v+_.length,S=g+1;Q>h.cols;)Q-=h.cols,S++;for(var P=v+1,w=g+1;P>h.cols;)P-=h.cols,w++;var x={start:{x:P,y:w},end:{x:Q,y:S}};b.push({range:x,text:_,activate:p})}return b},u._translateBufferLineToStringWithWrap=function(O,f,h){var p,y,$="";do{if(!(d=h.buffer.active.getLine(O)))break;d.isWrapped&&O--,y=d.isWrapped}while(y);var m=O;do{var d,g=h.buffer.active.getLine(O+1);if(p=!!g&&g.isWrapped,!(d=h.buffer.active.getLine(O)))break;$+=d.translateToString(!p&&f).substring(0,h.cols),O++}while(p);return[$,m]},u}();a.LinkComputer=c}},i={};function r(o){var a=i[o];if(a!==void 0)return a.exports;var l=i[o]={exports:{}};return n[o](l,l.exports,r),l.exports}var s={};return(()=>{var o=s;Object.defineProperty(o,"__esModule",{value:!0}),o.WebLinksAddon=void 0;var a=r(6),l=new RegExp(`(?:^|[^\\da-z\\.-]+)((https?:\\/\\/)((([\\da-z\\.-]+)\\.([a-z\\.]{2,18}))|((\\d{1,3}\\.){3}\\d{1,3})|(localhost))(:\\d{1,5})?((\\/[\\/\\w\\.\\-%~:+@]*)*([^:"'\\s]))?(\\?[0-9\\w\\[\\]\\(\\)\\/\\?\\!#@$%&'*+,:;~\\=\\.\\-]*)?(#[0-9\\w\\[\\]\\(\\)\\/\\?\\!#@$%&'*+,:;~\\=\\.\\-]*)?)($|[^\\/\\w\\.\\-%]+)`);function c(O,f){var h=window.open();if(h){try{h.opener=null}catch{}h.location.href=f}else console.warn("Opening link blocked as opener could not be cleared")}var u=function(){function O(f,h,p){f===void 0&&(f=c),h===void 0&&(h={}),p===void 0&&(p=!1),this._handler=f,this._options=h,this._useLinkProvider=p}return O.prototype.activate=function(f){if(this._terminal=f,this._useLinkProvider&&"registerLinkProvider"in this._terminal){var h=(p=this._options).urlRegex||l;this._linkProvider=this._terminal.registerLinkProvider(new a.WebLinkProvider(this._terminal,h,this._handler,p))}else{var p;(p=this._options).matchIndex=1,this._linkMatcherId=this._terminal.registerLinkMatcher(l,this._handler,p)}},O.prototype.dispose=function(){var f;this._linkMatcherId!==void 0&&this._terminal!==void 0&&this._terminal.deregisterLinkMatcher(this._linkMatcherId),(f=this._linkProvider)===null||f===void 0||f.dispose()},O}();o.WebLinksAddon=u})(),s})()})})(CR);const{io:Ure}=_a,Dre={name:"Terminal",props:{token:{required:!0,type:String},host:{required:!0,type:String}},data(){return{socket:null,term:null,command:"",timer:null,fitAddon:null,searchBar:null,isManual:!1}},async mounted(){this.createLocalTerminal(),await this.getCommand(),this.connectIO()},beforeUnmount(){var t;this.isManual=!0,(t=this.socket)==null||t.close(),window.removeEventListener("resize",this.handleResize)},methods:{async getCommand(){let{data:t}=await this.$api.getCommand(this.host);t&&(this.command=t)},connectIO(){let{host:t,token:e}=this;this.socket=Ure(this.$serviceURI,{path:"/terminal",forceNew:!1,reconnectionAttempts:1}),this.socket.on("connect",()=>{console.log("/terminal socket\u5DF2\u8FDE\u63A5\uFF1A",this.socket.id),this.socket.emit("create",{host:t,token:e}),this.socket.on("connect_success",()=>{this.onData(),this.socket.on("connect_terminal",()=>{this.onResize(),this.onFindText(),this.onWebLinks(),this.command&&this.socket.emit("input",this.command+` -`)})}),this.socket.on("create_fail",n=>{console.error(n),this.$notification({title:"\u521B\u5EFA\u5931\u8D25",message:n,type:"error"})}),this.socket.on("token_verify_fail",()=>{this.$notification({title:"Error",message:"token\u6821\u9A8C\u5931\u8D25\uFF0C\u8BF7\u91CD\u65B0\u767B\u5F55",type:"error"}),this.$router.push("/login")}),this.socket.on("connect_fail",n=>{console.error(n),this.$notification({title:"\u8FDE\u63A5\u5931\u8D25",message:n,type:"error"})})}),this.socket.on("disconnect",()=>{console.warn("terminal websocket \u8FDE\u63A5\u65AD\u5F00"),this.isManual||this.reConnect()}),this.socket.on("connect_error",n=>{console.error("terminal websocket \u8FDE\u63A5\u9519\u8BEF\uFF1A",n),this.$notification({title:"\u7EC8\u7AEF\u8FDE\u63A5\u5931\u8D25",message:"\u8BF7\u68C0\u67E5socket\u670D\u52A1\u662F\u5426\u6B63\u5E38",type:"error"})})},reConnect(){this.socket.close&&this.socket.close(),this.$messageBox.alert("\u7EC8\u7AEF\u8FDE\u63A5\u65AD\u5F00","Error",{dangerouslyUseHTMLString:!0,confirmButtonText:"\u5237\u65B0\u9875\u9762"}).then(()=>{location.reload()})},createLocalTerminal(){let t=new xR.exports.Terminal({rendererType:"dom",bellStyle:"sound",convertEol:!0,cursorBlink:!0,disableStdin:!1,fontSize:18,minimumContrastRatio:7,theme:{foreground:"#ECECEC",background:"#000000",cursor:"help",selection:"#ff9900",lineHeight:20}});this.term=t,t.open(this.$refs.terminal),t.writeln("\x1B[1;32mWelcome to EasyNode terminal\x1B[0m."),t.writeln("\x1B[1;32mAn experimental Web-SSH Terminal\x1B[0m."),t.focus(),this.onSelectionChange()},onResize(){this.fitAddon=new PR.exports.FitAddon,this.term.loadAddon(this.fitAddon),this.fitAddon.fit();let{rows:t,cols:e}=this.term;this.socket.emit("resize",{rows:t,cols:e}),window.addEventListener("resize",this.handleResize)},handleResize(){this.timer&&clearTimeout(this.timer),this.timer=setTimeout(()=>{var r,s;let t=[],e=Array.from(document.getElementsByClassName("el-tab-pane"));e.forEach((o,a)=>{t[a]=o.style.display,o.style.display="block"}),(r=this.fitAddon)==null||r.fit(),e.forEach((o,a)=>{o.style.display=t[a]});let{rows:n,cols:i}=this.term;(s=this.socket)==null||s.emit("resize",{rows:n,cols:i})},200)},onWebLinks(){this.term.loadAddon(new CR.exports.WebLinksAddon)},onFindText(){const t=new kR.exports.SearchAddon;this.searchBar=new qre({searchAddon:t}),this.term.loadAddon(t),this.term.loadAddon(this.searchBar)},onSelectionChange(){this.term.onSelectionChange(()=>{let t=this.term.getSelection();if(!t)return;const e=new Blob([t],{type:"text/plain"}),n=new ClipboardItem({"text/plain":e});navigator.clipboard.write([n])})},onData(){this.socket.on("output",t=>{this.term.write(t)}),this.term.onData(t=>{let e=t.codePointAt();if(e===22)return this.handlePaste();if(e===6)return this.searchBar.show();this.socket.emit("input",t)})},handleClear(){this.term.clear()},async handlePaste(){let t=await navigator.clipboard.readText();this.socket.emit("input",t),this.term.focus()},focusTab(){this.term.blur(),setTimeout(()=>{this.term.focus()},200)}}},Lre=t=>(uc("data-v-5b148184"),t=t(),fc(),t),Bre=Lre(()=>D("header",null,null,-1)),Mre={ref:"terminal",class:"terminal-container"};function Yre(t,e,n,i,r,s){return L(),ie(Le,null,[Bre,D("div",Mre,null,512)],64)}var Zre=fn(Dre,[["render",Yre],["__scopeId","data-v-5b148184"]]),Vre="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAK8AAAA3CAYAAAB6pxpbAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAA7kSURBVHja7J15fBNlGsd/cyW96X2FtmnlbC0FuW8ox7IgyrWL4ILL6nZZ1xUPkEsOQQS1iKggiyKyAoJrhcqKiBzK4QrlVEqhLW1o6U3TkzbJXPtHmjZJkzYtbaq77/NfZjLvvJ35zjO/5/e8/YSSZRkk2iZkvoqTK9JipcobsXLNnQhZEjh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NDwCCBJe50ycgACCJIDF0vAI/BdYl2P2p3F5PwAAAABJRU5ErkJggg==";const Fre={name:"InfoSide",props:{token:{required:!0,type:String},host:{required:!0,type:String},visible:{required:!0,type:String}},emits:["connect-sftp"],data(){return{socket:null,name:"",clientPort:22022,hostData:null,flag:!1,ping:0,pingTimer:null}},computed:{ipInfo(){var t;return((t=this.hostData)==null?void 0:t.ipInfo)||{}},isError(){var t;return!Boolean((t=this.hostData)==null?void 0:t.osInfo)},cpuInfo(){var t;return((t=this.hostData)==null?void 0:t.cpuInfo)||{}},memInfo(){var t;return((t=this.hostData)==null?void 0:t.memInfo)||{}},osInfo(){var t;return((t=this.hostData)==null?void 0:t.osInfo)||{}},driveInfo(){var t;return((t=this.hostData)==null?void 0:t.driveInfo)||{}},netstatInfo(){var n;let i=((n=this.hostData)==null?void 0:n.netstatInfo)||{},{total:t}=i,e=lO(i,["total"]);return{netTotal:t,netCards:e||{}}},openedCount(){var t;return((t=this.hostData)==null?void 0:t.openedCount)||0},cpuUsage(){var t;return Number((t=this.cpuInfo)==null?void 0:t.cpuUsage)||0},usedMemPercentage(){var t;return Number((t=this.memInfo)==null?void 0:t.usedMemPercentage)||0},usedPercentage(){var t;return Number((t=this.driveInfo)==null?void 0:t.usedPercentage)||0},output(){var e;let t=Number((e=this.netstatInfo.netTotal)==null?void 0:e.outputMb)||0;return t>=1?`${t.toFixed(2)} MB/s`:`${(t*1024).toFixed(1)} KB/s`},input(){var e;let t=Number((e=this.netstatInfo.netTotal)==null?void 0:e.inputMb)||0;return t>=1?`${t.toFixed(2)} MB/s`:`${(t*1024).toFixed(1)} KB/s`}},created(){if(this.name=this.$route.query.name||"",!this.host||!this.name)return this.$message.error("\u53C2\u6570\u9519\u8BEF");this.connectIO()},beforeUnmount(){this.socket&&this.socket.close(),this.pingTimer&&clearInterval(this.pingTimer)},methods:{handleSftp(){this.flag=!this.flag,this.$emit("connect-sftp",this.flag)},connectIO(){let{host:t,token:e}=this;this.socket=_a(this.$serviceURI,{path:"/host-status",forceNew:!0,timeout:5e3,reconnectionDelay:3e3,reconnectionAttempts:100}),this.socket.on("connect",()=>{console.log("/host-status socket\u5DF2\u8FDE\u63A5\uFF1A",this.socket.id),this.socket.emit("init_host_data",{token:e,host:t}),this.getHostPing(),this.socket.on("host_data",n=>{if(!n)return this.hostData=null;this.hostData=n})}),this.socket.on("connect_error",n=>{console.error("host status websocket \u8FDE\u63A5\u9519\u8BEF\uFF1A",n),this.$notification({title:"\u8FDE\u63A5\u5BA2\u6237\u7AEF\u5931\u8D25(\u91CD\u8FDE\u4E2D...)",message:"\u8BF7\u68C0\u67E5\u5BA2\u6237\u7AEF\u670D\u52A1\u662F\u5426\u6B63\u5E38",type:"error"})}),this.socket.on("disconnect",()=>{this.hostData=null,this.$notification({title:"\u5BA2\u6237\u7AEF\u8FDE\u63A5\u4E3B\u52A8\u65AD\u5F00(\u91CD\u8FDE\u4E2D...)",message:"\u8BF7\u68C0\u67E5\u5BA2\u6237\u7AEF\u670D\u52A1\u662F\u5426\u6B63\u5E38",type:"error"})})},async handleCopy(){await navigator.clipboard.writeText(this.host),this.$message.success({message:"success",center:!0})},handleColor(t){if(t<65)return"#8AE234";if(t<85)return"#FFD700";if(t<90)return"#FFFF33";if(t<=100)return"#FF3333"},getHostPing(){this.pingTimer=setInterval(()=>{this.$tools.ping(`http://${this.host}:22022`).then(t=>{this.ping=t,console.clear(),console.warn("Please tick 'Preserve Log'")})},3e3)}}},Gn=t=>(uc("data-v-69fc9596"),t=t(),fc(),t),Gre=Gn(()=>D("header",null,[D("a",{href:"/"},[D("img",{src:Vre,alt:"logo"})])],-1)),Hre=Xe("POSITION"),Kre=Gn(()=>D("div",{class:"item-title"}," IP ",-1)),Jre={style:{"margin-right":"10px"}},ese=Xe("\u590D\u5236"),tse=Gn(()=>D("div",{class:"item-title"}," \u4F4D\u7F6E ",-1)),nse={size:"small"},ise=Gn(()=>D("div",{class:"item-title"}," \u5EF6\u8FDF ",-1)),rse={style:{"margin-right":"10px"},class:"host-ping"},sse=Xe("INDICATOR"),ose=Gn(()=>D("div",{class:"item-title"}," CPU ",-1)),ase=Gn(()=>D("div",{class:"item-title"}," \u5185\u5B58 ",-1)),lse={class:"position-right"},cse=Gn(()=>D("div",{class:"item-title"}," \u786C\u76D8 ",-1)),use={class:"position-right"},fse=Gn(()=>D("div",{class:"item-title"}," \u7F51\u7EDC ",-1)),Ose={class:"netstat-info"},hse={class:"wrap"},dse=Gn(()=>D("img",{src:jre,alt:""},null,-1)),pse={class:"upload"},mse={class:"wrap"},gse=Gn(()=>D("img",{src:Nre,alt:""},null,-1)),vse={class:"download"},yse=Xe("INFORMATION"),$se=Gn(()=>D("div",{class:"item-title"}," \u540D\u79F0 ",-1)),bse={size:"small"},_se=Gn(()=>D("div",{class:"item-title"}," \u6838\u5FC3 ",-1)),Qse={size:"small"},Sse=Gn(()=>D("div",{class:"item-title"}," \u578B\u53F7 ",-1)),wse={size:"small"},xse=Gn(()=>D("div",{class:"item-title"}," \u7C7B\u578B ",-1)),Pse={size:"small"},kse=Gn(()=>D("div",{class:"item-title"}," \u5728\u7EBF ",-1)),Cse={size:"small"},Tse=Gn(()=>D("div",{class:"item-title"}," \u672C\u5730 ",-1)),Rse={size:"small"},Ase=Xe("FEATURE");function Ese(t,e,n,i,r,s){const o=eN,a=X2,l=Wj,c=Xj,u=lT,O=Ln;return L(),ie("div",{class:"info-container",style:tt({width:n.visible?"250px":0})},[Gre,B(o,{class:"first-divider","content-position":"center"},{default:Z(()=>[Hre]),_:1}),B(c,{class:"margin-top",column:1,size:"small",border:""},{default:Z(()=>[B(l,null,{label:Z(()=>[Kre]),default:Z(()=>[D("span",Jre,de(n.host),1),B(a,{size:"small",style:{cursor:"pointer"},onClick:s.handleCopy},{default:Z(()=>[ese]),_:1},8,["onClick"])]),_:1}),B(l,null,{label:Z(()=>[tse]),default:Z(()=>[D("div",nse,de(s.ipInfo.country||"--")+" "+de(s.ipInfo.regionName),1)]),_:1}),B(l,null,{label:Z(()=>[ise]),default:Z(()=>[D("span",rse,de(r.ping),1)]),_:1})]),_:1}),B(o,{"content-position":"center"},{default:Z(()=>[sse]),_:1}),B(c,{class:"margin-top",column:1,size:"small",border:""},{default:Z(()=>[B(l,null,{label:Z(()=>[ose]),default:Z(()=>[B(u,{"text-inside":!0,"stroke-width":18,percentage:s.cpuUsage,color:s.handleColor(s.cpuUsage)},null,8,["percentage","color"])]),_:1}),B(l,null,{label:Z(()=>[ase]),default:Z(()=>[B(u,{"text-inside":!0,"stroke-width":18,percentage:s.usedMemPercentage,color:s.handleColor(s.usedMemPercentage)},null,8,["percentage","color"]),D("div",lse,de(t.$tools.toFixed(s.memInfo.usedMemMb/1024))+"/"+de(t.$tools.toFixed(s.memInfo.totalMemMb/1024))+"G ",1)]),_:1}),B(l,null,{label:Z(()=>[cse]),default:Z(()=>[B(u,{"text-inside":!0,"stroke-width":18,percentage:s.usedPercentage,color:s.handleColor(s.usedPercentage)},null,8,["percentage","color"]),D("div",use,de(s.driveInfo.usedGb||"--")+"/"+de(s.driveInfo.totalGb||"--")+"G ",1)]),_:1}),B(l,null,{label:Z(()=>[fse]),default:Z(()=>[D("div",Ose,[D("div",hse,[dse,D("span",pse,de(s.output||0),1)]),D("div",mse,[gse,D("span",vse,de(s.input||0),1)])])]),_:1})]),_:1}),B(o,{"content-position":"center"},{default:Z(()=>[yse]),_:1}),B(c,{class:"margin-top",column:1,size:"small",border:""},{default:Z(()=>[B(l,null,{label:Z(()=>[$se]),default:Z(()=>[D("div",bse,de(s.osInfo.hostname),1)]),_:1}),B(l,null,{label:Z(()=>[_se]),default:Z(()=>[D("div",Qse,de(s.cpuInfo.cpuCount),1)]),_:1}),B(l,null,{label:Z(()=>[Sse]),default:Z(()=>[D("div",wse,de(s.cpuInfo.cpuModel),1)]),_:1}),B(l,null,{label:Z(()=>[xse]),default:Z(()=>[D("div",Pse,de(s.osInfo.type)+" "+de(s.osInfo.release)+" "+de(s.osInfo.arch),1)]),_:1}),B(l,null,{label:Z(()=>[kse]),default:Z(()=>[D("div",Cse,de(t.$tools.formatTime(s.osInfo.uptime)),1)]),_:1}),B(l,null,{label:Z(()=>[Tse]),default:Z(()=>[D("div",Rse,de(s.osInfo.ip),1)]),_:1})]),_:1}),B(o,{"content-position":"center"},{default:Z(()=>[Ase]),_:1}),B(O,{type:r.flag?"primary":"success",style:{display:"block",width:"80%",margin:"30px auto"},onClick:s.handleSftp},{default:Z(()=>[Xe(de(r.flag?"\u5173\u95EDSFTP":"\u8FDE\u63A5SFTP"),1)]),_:1},8,["type","onClick"])],4)}var Xse=fn(Fre,[["render",Ese],["__scopeId","data-v-69fc9596"]]);class Xt{constructor(){}lineAt(e){if(e<0||e>this.length)throw new RangeError(`Invalid position ${e} in document of length ${this.length}`);return this.lineInner(e,!1,1,0)}line(e){if(e<1||e>this.lines)throw new RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,n,i){let r=[];return this.decompose(0,e,r,2),i.length&&i.decompose(0,i.length,r,3),this.decompose(n,this.length,r,1),Lr.from(r,this.length-(n-e)+i.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,n=this.length){let i=[];return this.decompose(e,n,i,0),Lr.from(i,n-e)}eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;let n=this.scanIdentical(e,1),i=this.length-this.scanIdentical(e,-1),r=new bu(this),s=new bu(e);for(let o=n,a=n;;){if(r.next(o),s.next(o),o=0,r.lineBreak!=s.lineBreak||r.done!=s.done||r.value!=s.value)return!1;if(a+=r.value.length,r.done||a>=i)return!0}}iter(e=1){return new bu(this,e)}iterRange(e,n=this.length){return new TR(this,e,n)}iterLines(e,n){let i;if(e==null)i=this.iter();else{n==null&&(n=this.lines+1);let r=this.line(e).from;i=this.iterRange(r,Math.max(r,n==this.lines+1?this.length:n<=1?0:this.line(n-1).to))}return new RR(i)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}static of(e){if(e.length==0)throw new RangeError("A document must have at least one line");return e.length==1&&!e[0]?Xt.empty:e.length<=32?new ln(e):Lr.from(ln.split(e,[]))}}class ln extends Xt{constructor(e,n=Wse(e)){super(),this.text=e,this.length=n}get lines(){return this.text.length}get children(){return null}lineInner(e,n,i,r){for(let s=0;;s++){let o=this.text[s],a=r+o.length;if((n?i:a)>=e)return new zse(r,a,i,o);r=a+1,i++}}decompose(e,n,i,r){let s=e<=0&&n>=this.length?this:new ln(eS(this.text,e,n),Math.min(n,this.length)-Math.max(0,e));if(r&1){let o=i.pop(),a=Qh(s.text,o.text.slice(),0,s.length);if(a.length<=32)i.push(new ln(a,o.length+s.length));else{let l=a.length>>1;i.push(new ln(a.slice(0,l)),new ln(a.slice(l)))}}else i.push(s)}replace(e,n,i){if(!(i instanceof ln))return super.replace(e,n,i);let r=Qh(this.text,Qh(i.text,eS(this.text,0,e)),n),s=this.length+i.length-(n-e);return r.length<=32?new ln(r,s):Lr.from(ln.split(r,[]),s)}sliceString(e,n=this.length,i=` -`){let r="";for(let s=0,o=0;s<=n&&oe&&o&&(r+=i),es&&(r+=a.slice(Math.max(0,e-s),n-s)),s=l+1}return r}flatten(e){for(let n of this.text)e.push(n)}scanIdentical(){return 0}static split(e,n){let i=[],r=-1;for(let s of e)i.push(s),r+=s.length+1,i.length==32&&(n.push(new ln(i,r)),i=[],r=-1);return r>-1&&n.push(new ln(i,r)),n}}class Lr extends Xt{constructor(e,n){super(),this.children=e,this.length=n,this.lines=0;for(let i of e)this.lines+=i.lines}lineInner(e,n,i,r){for(let s=0;;s++){let o=this.children[s],a=r+o.length,l=i+o.lines-1;if((n?l:a)>=e)return o.lineInner(e,n,i,r);r=a+1,i=l+1}}decompose(e,n,i,r){for(let s=0,o=0;o<=n&&s=o){let c=r&((o<=e?1:0)|(l>=n?2:0));o>=e&&l<=n&&!c?i.push(a):a.decompose(e-o,n-o,i,c)}o=l+1}}replace(e,n,i){if(i.lines=s&&n<=a){let l=o.replace(e-s,n-s,i),c=this.lines-o.lines+l.lines;if(l.lines>5-1&&l.lines>c>>5+1){let u=this.children.slice();return u[r]=l,new Lr(u,this.length-(n-e)+i.length)}return super.replace(s,a,l)}s=a+1}return super.replace(e,n,i)}sliceString(e,n=this.length,i=` -`){let r="";for(let s=0,o=0;se&&s&&(r+=i),eo&&(r+=a.sliceString(e-o,n-o,i)),o=l+1}return r}flatten(e){for(let n of this.children)n.flatten(e)}scanIdentical(e,n){if(!(e instanceof Lr))return 0;let i=0,[r,s,o,a]=n>0?[0,0,this.children.length,e.children.length]:[this.children.length-1,e.children.length-1,-1,-1];for(;;r+=n,s+=n){if(r==o||s==a)return i;let l=this.children[r],c=e.children[s];if(l!=c)return i+l.scanIdentical(c,n);i+=l.length+1}}static from(e,n=e.reduce((i,r)=>i+r.length+1,-1)){let i=0;for(let h of e)i+=h.lines;if(i<32){let h=[];for(let p of e)p.flatten(h);return new ln(h,n)}let r=Math.max(32,i>>5),s=r<<1,o=r>>1,a=[],l=0,c=-1,u=[];function O(h){let p;if(h.lines>s&&h instanceof Lr)for(let y of h.children)O(y);else h.lines>o&&(l>o||!l)?(f(),a.push(h)):h instanceof ln&&l&&(p=u[u.length-1])instanceof ln&&h.lines+p.lines<=32?(l+=h.lines,c+=h.length+1,u[u.length-1]=new ln(p.text.concat(h.text),p.length+1+h.length)):(l+h.lines>r&&f(),l+=h.lines,c+=h.length+1,u.push(h))}function f(){l!=0&&(a.push(u.length==1?u[0]:Lr.from(u,c)),c=-1,l=u.length=0)}for(let h of e)O(h);return f(),a.length==1?a[0]:new Lr(a,n)}}Xt.empty=new ln([""],0);function Wse(t){let e=-1;for(let n of t)e+=n.length+1;return e}function Qh(t,e,n=0,i=1e9){for(let r=0,s=0,o=!0;s=n&&(l>i&&(a=a.slice(0,i-r)),r0?1:(e instanceof ln?e.text.length:e.children.length)<<1]}nextInner(e,n){for(this.done=this.lineBreak=!1;;){let i=this.nodes.length-1,r=this.nodes[i],s=this.offsets[i],o=s>>1,a=r instanceof ln?r.text.length:r.children.length;if(o==(n>0?a:0)){if(i==0)return this.done=!0,this.value="",this;n>0&&this.offsets[i-1]++,this.nodes.pop(),this.offsets.pop()}else if((s&1)==(n>0?0:1)){if(this.offsets[i]+=n,e==0)return this.lineBreak=!0,this.value=` -`,this;e--}else if(r instanceof ln){let l=r.text[o+(n<0?-1:0)];if(this.offsets[i]+=n,l.length>Math.max(0,e))return this.value=e==0?l:n>0?l.slice(e):l.slice(0,l.length-e),this;e-=l.length}else{let l=r.children[o+(n<0?-1:0)];e>l.length?(e-=l.length,this.offsets[i]+=n):(n<0&&this.offsets[i]--,this.nodes.push(l),this.offsets.push(n>0?1:(l instanceof ln?l.text.length:l.children.length)<<1))}}}next(e=0){return e<0&&(this.nextInner(-e,-this.dir),e=this.value.length),this.nextInner(e,this.dir)}}class TR{constructor(e,n,i){this.value="",this.done=!1,this.cursor=new bu(e,n>i?-1:1),this.pos=n>i?e.length:0,this.from=Math.min(n,i),this.to=Math.max(n,i)}nextInner(e,n){if(n<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;e+=Math.max(0,n<0?this.pos-this.to:this.from-this.pos);let i=n<0?this.pos-this.from:this.to-this.pos;e>i&&(e=i),i-=e;let{value:r}=this.cursor.next(e);return this.pos+=(r.length+e)*n,this.value=r.length<=i?r:n<0?r.slice(r.length-i):r.slice(0,i),this.done=!this.value,this}next(e=0){return e<0?e=Math.max(e,this.from-this.pos):e>0&&(e=Math.min(e,this.to-this.pos)),this.nextInner(e,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&this.value!=""}}class RR{constructor(e){this.inner=e,this.afterBreak=!0,this.value="",this.done=!1}next(e=0){let{done:n,lineBreak:i,value:r}=this.inner.next(e);return n?(this.done=!0,this.value=""):i?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=r,this.afterBreak=!1),this}get lineBreak(){return!1}}typeof Symbol!="undefined"&&(Xt.prototype[Symbol.iterator]=function(){return this.iter()},bu.prototype[Symbol.iterator]=TR.prototype[Symbol.iterator]=RR.prototype[Symbol.iterator]=function(){return this});class zse{constructor(e,n,i,r){this.from=e,this.to=n,this.number=i,this.text=r}get length(){return this.to-this.from}}let Pl="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map(t=>t?parseInt(t,36):1);for(let t=1;tt)return Pl[e-1]<=t;return!1}function tS(t){return t>=127462&&t<=127487}const nS=8205;function Ti(t,e,n=!0,i=!0){return(n?AR:qse)(t,e,i)}function AR(t,e,n){if(e==t.length)return e;e&&ER(t.charCodeAt(e))&&XR(t.charCodeAt(e-1))&&e--;let i=Xn(t,e);for(e+=xi(i);e=0&&tS(Xn(t,o));)s++,o-=2;if(s%2==0)break;e+=2}else break}return e}function qse(t,e,n){for(;e>0;){let i=AR(t,e-2,n);if(i=56320&&t<57344}function XR(t){return t>=55296&&t<56320}function Xn(t,e){let n=t.charCodeAt(e);if(!XR(n)||e+1==t.length)return n;let i=t.charCodeAt(e+1);return ER(i)?(n-55296<<10)+(i-56320)+65536:n}function E$(t){return t<=65535?String.fromCharCode(t):(t-=65536,String.fromCharCode((t>>10)+55296,(t&1023)+56320))}function xi(t){return t<65536?1:2}const tv=/\r\n?|\n/;var In=function(t){return t[t.Simple=0]="Simple",t[t.TrackDel=1]="TrackDel",t[t.TrackBefore=2]="TrackBefore",t[t.TrackAfter=3]="TrackAfter",t}(In||(In={}));class jr{constructor(e){this.sections=e}get length(){let e=0;for(let n=0;ne)return s+(e-r);s+=a}else{if(i!=In.Simple&&c>=e&&(i==In.TrackDel&&re||i==In.TrackBefore&&re))return null;if(c>e||c==e&&n<0&&!a)return e==r||n<0?s:s+l;s+=l}r=c}if(e>r)throw new RangeError(`Position ${e} is out of range for changeset of length ${r}`);return s}touchesRange(e,n=e){for(let i=0,r=0;i=0&&r<=n&&a>=e)return rn?"cover":!0;r=a}return!1}toString(){let e="";for(let n=0;n=0?":"+r:"")}return e}toJSON(){return this.sections}static fromJSON(e){if(!Array.isArray(e)||e.length%2||e.some(n=>typeof n!="number"))throw new RangeError("Invalid JSON representation of ChangeDesc");return new jr(e)}static create(e){return new jr(e)}}class yn extends jr{constructor(e,n){super(e),this.inserted=n}apply(e){if(this.length!=e.length)throw new RangeError("Applying change set to a document with the wrong length");return nv(this,(n,i,r,s,o)=>e=e.replace(r,r+(i-n),o),!1),e}mapDesc(e,n=!1){return iv(this,e,n,!0)}invert(e){let n=this.sections.slice(),i=[];for(let r=0,s=0;r=0){n[r]=a,n[r+1]=o;let l=r>>1;for(;i.length0&&lo(i,n,s.text),s.forward(u),a+=u}let c=e[o++];for(;a>1].toJSON()))}return e}static of(e,n,i){let r=[],s=[],o=0,a=null;function l(u=!1){if(!u&&!r.length)return;of||O<0||f>n)throw new RangeError(`Invalid change range ${O} to ${f} (in doc of length ${n})`);let p=h?typeof h=="string"?Xt.of(h.split(i||tv)):h:Xt.empty,y=p.length;if(O==f&&y==0)return;Oo&&Vn(r,O-o,-1),Vn(r,f-O,y),lo(s,r,p),o=f}}return c(e),l(!a),a}static empty(e){return new yn(e?[e,-1]:[],[])}static fromJSON(e){if(!Array.isArray(e))throw new RangeError("Invalid JSON representation of ChangeSet");let n=[],i=[];for(let r=0;ra&&typeof o!="string"))throw new RangeError("Invalid JSON representation of ChangeSet");if(s.length==1)n.push(s[0],0);else{for(;i.length=0&&n<=0&&n==t[r+1]?t[r]+=e:e==0&&t[r]==0?t[r+1]+=n:i?(t[r]+=e,t[r+1]+=n):t.push(e,n)}function lo(t,e,n){if(n.length==0)return;let i=e.length-2>>1;if(i>1])),!(n||o==t.sections.length||t.sections[o+1]<0);)a=t.sections[o++],l=t.sections[o++];e(r,c,s,u,O),r=c,s=u}}}function iv(t,e,n,i=!1){let r=[],s=i?[]:null,o=new Gu(t),a=new Gu(e);for(let l=-1;;)if(o.ins==-1&&a.ins==-1){let c=Math.min(o.len,a.len);Vn(r,c,-1),o.forward(c),a.forward(c)}else if(a.ins>=0&&(o.ins<0||l==o.i||o.off==0&&(a.len=0&&l=0){let c=0,u=o.len;for(;u;)if(a.ins==-1){let O=Math.min(u,a.len);c+=O,u-=O,a.forward(O)}else if(a.ins==0&&a.lenl||o.ins>=0&&o.len>l)&&(a||i.length>c),s.forward2(l),o.forward(l)}}}}class Gu{constructor(e){this.set=e,this.i=0,this.next()}next(){let{sections:e}=this.set;this.i>1;return n>=e.length?Xt.empty:e[n]}textBit(e){let{inserted:n}=this.set,i=this.i-2>>1;return i>=n.length&&!e?Xt.empty:n[i].slice(this.off,e==null?void 0:this.off+e)}forward(e){e==this.len?this.next():(this.len-=e,this.off+=e)}forward2(e){this.ins==-1?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}}class da{constructor(e,n,i){this.from=e,this.to=n,this.flags=i}get anchor(){return this.flags&16?this.to:this.from}get head(){return this.flags&16?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return this.flags&4?-1:this.flags&8?1:0}get bidiLevel(){let e=this.flags&3;return e==3?null:e}get goalColumn(){let e=this.flags>>5;return e==33554431?void 0:e}map(e,n=-1){let i,r;return this.empty?i=r=e.mapPos(this.from,n):(i=e.mapPos(this.from,1),r=e.mapPos(this.to,-1)),i==this.from&&r==this.to?this:new da(i,r,this.flags)}extend(e,n=e){if(e<=this.anchor&&n>=this.anchor)return we.range(e,n);let i=Math.abs(e-this.anchor)>Math.abs(n-this.anchor)?e:n;return we.range(this.anchor,i)}eq(e){return this.anchor==e.anchor&&this.head==e.head}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(e){if(!e||typeof e.anchor!="number"||typeof e.head!="number")throw new RangeError("Invalid JSON representation for SelectionRange");return we.range(e.anchor,e.head)}static create(e,n,i){return new da(e,n,i)}}class we{constructor(e,n){this.ranges=e,this.mainIndex=n}map(e,n=-1){return e.empty?this:we.create(this.ranges.map(i=>i.map(e,n)),this.mainIndex)}eq(e){if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1;for(let n=0;ne.toJSON()),main:this.mainIndex}}static fromJSON(e){if(!e||!Array.isArray(e.ranges)||typeof e.main!="number"||e.main>=e.ranges.length)throw new RangeError("Invalid JSON representation for EditorSelection");return new we(e.ranges.map(n=>da.fromJSON(n)),e.main)}static single(e,n=e){return new we([we.range(e,n)],0)}static create(e,n=0){if(e.length==0)throw new RangeError("A selection needs at least one range");for(let i=0,r=0;re?4:0))}static normalized(e,n=0){let i=e[n];e.sort((r,s)=>r.from-s.from),n=e.indexOf(i);for(let r=1;rs.head?we.range(l,a):we.range(a,l))}}return new we(e,n)}}function zR(t,e){for(let n of t.ranges)if(n.to>e)throw new RangeError("Selection points outside of document")}let X$=0;class Ge{constructor(e,n,i,r,s){this.combine=e,this.compareInput=n,this.compare=i,this.isStatic=r,this.id=X$++,this.default=e([]),this.extensions=typeof s=="function"?s(this):s}static define(e={}){return new Ge(e.combine||(n=>n),e.compareInput||((n,i)=>n===i),e.compare||(e.combine?(n,i)=>n===i:W$),!!e.static,e.enables)}of(e){return new Sh([],this,0,e)}compute(e,n){if(this.isStatic)throw new Error("Can't compute a static facet");return new Sh(e,this,1,n)}computeN(e,n){if(this.isStatic)throw new Error("Can't compute a static facet");return new Sh(e,this,2,n)}from(e,n){return n||(n=i=>i),this.compute([e],i=>n(i.field(e)))}}function W$(t,e){return t==e||t.length==e.length&&t.every((n,i)=>n===e[i])}class Sh{constructor(e,n,i,r){this.dependencies=e,this.facet=n,this.type=i,this.value=r,this.id=X$++}dynamicSlot(e){var n;let i=this.value,r=this.facet.compareInput,s=this.id,o=e[s]>>1,a=this.type==2,l=!1,c=!1,u=[];for(let O of this.dependencies)O=="doc"?l=!0:O=="selection"?c=!0:(((n=e[O.id])!==null&&n!==void 0?n:1)&1)==0&&u.push(e[O.id]);return{create(O){return O.values[o]=i(O),1},update(O,f){if(l&&f.docChanged||c&&(f.docChanged||f.selection)||rv(O,u)){let h=i(O);if(a?!iS(h,O.values[o],r):!r(h,O.values[o]))return O.values[o]=h,1}return 0},reconfigure:(O,f)=>{let h=i(O),p=f.config.address[s];if(p!=null){let y=sd(f,p);if(this.dependencies.every($=>$ instanceof Ge?f.facet($)===O.facet($):$ instanceof Rn?f.field($,!1)==O.field($,!1):!0)||(a?iS(h,y,r):r(h,y)))return O.values[o]=y,0}return O.values[o]=h,1}}}}function iS(t,e,n){if(t.length!=e.length)return!1;for(let i=0;it[l.id]),r=n.map(l=>l.type),s=i.filter(l=>!(l&1)),o=t[e.id]>>1;function a(l){let c=[];for(let u=0;ui===r),e);return e.provide&&(n.provides=e.provide(n)),n}create(e){let n=e.facet(rS).find(i=>i.field==this);return((n==null?void 0:n.create)||this.createF)(e)}slot(e){let n=e[this.id]>>1;return{create:i=>(i.values[n]=this.create(i),1),update:(i,r)=>{let s=i.values[n],o=this.updateF(s,r);return this.compareF(s,o)?0:(i.values[n]=o,1)},reconfigure:(i,r)=>r.config.address[this.id]!=null?(i.values[n]=r.field(this),0):(i.values[n]=this.create(i),1)}}init(e){return[this,rS.of({field:this,create:e})]}get extension(){return this}}const gl={lowest:4,low:3,default:2,high:1,highest:0};function Ic(t){return e=>new IR(e,t)}const qo={highest:Ic(gl.highest),high:Ic(gl.high),default:Ic(gl.default),low:Ic(gl.low),lowest:Ic(gl.lowest)};class IR{constructor(e,n){this.inner=e,this.prec=n}}class xf{of(e){return new sv(this,e)}reconfigure(e){return xf.reconfigure.of({compartment:this,extension:e})}get(e){return e.config.compartments.get(this)}}class sv{constructor(e,n){this.compartment=e,this.inner=n}}class rd{constructor(e,n,i,r,s,o){for(this.base=e,this.compartments=n,this.dynamicSlots=i,this.address=r,this.staticValues=s,this.facets=o,this.statusTemplate=[];this.statusTemplate.length>1]}static resolve(e,n,i){let r=[],s=Object.create(null),o=new Map;for(let f of Dse(e,n,o))f instanceof Rn?r.push(f):(s[f.facet.id]||(s[f.facet.id]=[])).push(f);let a=Object.create(null),l=[],c=[];for(let f of r)a[f.id]=c.length<<1,c.push(h=>f.slot(h));let u=i==null?void 0:i.config.facets;for(let f in s){let h=s[f],p=h[0].facet,y=u&&u[f]||[];if(h.every($=>$.type==0))if(a[p.id]=l.length<<1|1,W$(y,h))l.push(i.facet(p));else{let $=p.combine(h.map(m=>m.value));l.push(i&&p.compare($,i.facet(p))?i.facet(p):$)}else{for(let $ of h)$.type==0?(a[$.id]=l.length<<1|1,l.push($.value)):(a[$.id]=c.length<<1,c.push(m=>$.dynamicSlot(m)));a[p.id]=c.length<<1,c.push($=>Use($,p,h))}}let O=c.map(f=>f(a));return new rd(e,o,O,a,l,s)}}function Dse(t,e,n){let i=[[],[],[],[],[]],r=new Map;function s(o,a){let l=r.get(o);if(l!=null){if(l<=a)return;let c=i[l].indexOf(o);c>-1&&i[l].splice(c,1),o instanceof sv&&n.delete(o.compartment)}if(r.set(o,a),Array.isArray(o))for(let c of o)s(c,a);else if(o instanceof sv){if(n.has(o.compartment))throw new RangeError("Duplicate use of compartment in extensions");let c=e.get(o.compartment)||o.inner;n.set(o.compartment,c),s(c,a)}else if(o instanceof IR)s(o.inner,o.prec);else if(o instanceof Rn)i[a].push(o),o.provides&&s(o.provides,a);else if(o instanceof Sh)i[a].push(o),o.facet.extensions&&s(o.facet.extensions,a);else{let c=o.extension;if(!c)throw new Error(`Unrecognized extension value in extension set (${o}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);s(c,a)}}return s(t,gl.default),i.reduce((o,a)=>o.concat(a))}function _u(t,e){if(e&1)return 2;let n=e>>1,i=t.status[n];if(i==4)throw new Error("Cyclic dependency between fields and/or facets");if(i&2)return i;t.status[n]=4;let r=t.computeSlot(t,t.config.dynamicSlots[n]);return t.status[n]=2|r}function sd(t,e){return e&1?t.config.staticValues[e>>1]:t.values[e>>1]}const qR=Ge.define(),UR=Ge.define({combine:t=>t.some(e=>e),static:!0}),DR=Ge.define({combine:t=>t.length?t[0]:void 0,static:!0}),LR=Ge.define(),BR=Ge.define(),MR=Ge.define(),YR=Ge.define({combine:t=>t.length?t[0]:!1});class Ya{constructor(e,n){this.type=e,this.value=n}static define(){return new Lse}}class Lse{of(e){return new Ya(this,e)}}class Bse{constructor(e){this.map=e}of(e){return new ut(this,e)}}class ut{constructor(e,n){this.type=e,this.value=n}map(e){let n=this.type.map(this.value,e);return n===void 0?void 0:n==this.value?this:new ut(this.type,n)}is(e){return this.type==e}static define(e={}){return new Bse(e.map||(n=>n))}static mapEffects(e,n){if(!e.length)return e;let i=[];for(let r of e){let s=r.map(n);s&&i.push(s)}return i}}ut.reconfigure=ut.define();ut.appendConfig=ut.define();class $n{constructor(e,n,i,r,s,o){this.startState=e,this.changes=n,this.selection=i,this.effects=r,this.annotations=s,this.scrollIntoView=o,this._doc=null,this._state=null,i&&zR(i,n.newLength),s.some(a=>a.type==$n.time)||(this.annotations=s.concat($n.time.of(Date.now())))}static create(e,n,i,r,s,o){return new $n(e,n,i,r,s,o)}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(e){for(let n of this.annotations)if(n.type==e)return n.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(e){let n=this.annotation($n.userEvent);return!!(n&&(n==e||n.length>e.length&&n.slice(0,e.length)==e&&n[e.length]=="."))}}$n.time=Ya.define();$n.userEvent=Ya.define();$n.addToHistory=Ya.define();$n.remote=Ya.define();function Mse(t,e){let n=[];for(let i=0,r=0;;){let s,o;if(i=t[i]))s=t[i++],o=t[i++];else if(r=0;r--){let s=i[r](t);s instanceof $n?t=s:Array.isArray(s)&&s.length==1&&s[0]instanceof $n?t=s[0]:t=VR(e,kl(s),!1)}return t}function Zse(t){let e=t.startState,n=e.facet(MR),i=t;for(let r=n.length-1;r>=0;r--){let s=n[r](t);s&&Object.keys(s).length&&(i=ZR(t,ov(e,s,t.changes.newLength),!0))}return i==t?t:$n.create(e,t.changes,t.selection,i.effects,i.annotations,i.scrollIntoView)}const Vse=[];function kl(t){return t==null?Vse:Array.isArray(t)?t:[t]}var ti=function(t){return t[t.Word=0]="Word",t[t.Space=1]="Space",t[t.Other=2]="Other",t}(ti||(ti={}));const jse=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let av;try{av=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch{}function Nse(t){if(av)return av.test(t);for(let e=0;e"\x80"&&(n.toUpperCase()!=n.toLowerCase()||jse.test(n)))return!0}return!1}function Fse(t){return e=>{if(!/\S/.test(e))return ti.Space;if(Nse(e))return ti.Word;for(let n=0;n-1)return ti.Word;return ti.Other}}class St{constructor(e,n,i,r,s,o){this.config=e,this.doc=n,this.selection=i,this.values=r,this.status=e.statusTemplate.slice(),this.computeSlot=s,o&&(o._state=this);for(let a=0;ar.set(l,a)),n=null),r.set(o.value.compartment,o.value.extension)):o.is(ut.reconfigure)?(n=null,i=o.value):o.is(ut.appendConfig)&&(n=null,i=kl(i).concat(o.value));let s;n?s=e.startState.values.slice():(n=rd.resolve(i,r,this),s=new St(n,this.doc,this.selection,n.dynamicSlots.map(()=>null),(a,l)=>l.reconfigure(a,this),null).values),new St(n,e.newDoc,e.newSelection,s,(o,a)=>a.update(o,e),e)}replaceSelection(e){return typeof e=="string"&&(e=this.toText(e)),this.changeByRange(n=>({changes:{from:n.from,to:n.to,insert:e},range:we.cursor(n.from+e.length)}))}changeByRange(e){let n=this.selection,i=e(n.ranges[0]),r=this.changes(i.changes),s=[i.range],o=kl(i.effects);for(let a=1;ao.spec.fromJSON(a,l)))}}return St.create({doc:e.doc,selection:we.fromJSON(e.selection),extensions:n.extensions?r.concat([n.extensions]):r})}static create(e={}){let n=rd.resolve(e.extensions||[],new Map),i=e.doc instanceof Xt?e.doc:Xt.of((e.doc||"").split(n.staticFacet(St.lineSeparator)||tv)),r=e.selection?e.selection instanceof we?e.selection:we.single(e.selection.anchor,e.selection.head):we.single(0);return zR(r,i.length),n.staticFacet(UR)||(r=r.asSingle()),new St(n,i,r,n.dynamicSlots.map(()=>null),(s,o)=>o.create(s),null)}get tabSize(){return this.facet(St.tabSize)}get lineBreak(){return this.facet(St.lineSeparator)||` -`}get readOnly(){return this.facet(YR)}phrase(e,...n){for(let i of this.facet(St.phrases))if(Object.prototype.hasOwnProperty.call(i,e)){e=i[e];break}return n.length&&(e=e.replace(/\$(\$|\d*)/g,(i,r)=>{if(r=="$")return"$";let s=+(r||1);return!s||s>n.length?i:n[s-1]})),e}languageDataAt(e,n,i=-1){let r=[];for(let s of this.facet(qR))for(let o of s(this,n,i))Object.prototype.hasOwnProperty.call(o,e)&&r.push(o[e]);return r}charCategorizer(e){return Fse(this.languageDataAt("wordChars",e).join(""))}wordAt(e){let{text:n,from:i,length:r}=this.doc.lineAt(e),s=this.charCategorizer(e),o=e-i,a=e-i;for(;o>0;){let l=Ti(n,o,!1);if(s(n.slice(l,o))!=ti.Word)break;o=l}for(;at.length?t[0]:4});St.lineSeparator=DR;St.readOnly=YR;St.phrases=Ge.define({compare(t,e){let n=Object.keys(t),i=Object.keys(e);return n.length==i.length&&n.every(r=>t[r]==e[r])}});St.languageData=qR;St.changeFilter=LR;St.transactionFilter=BR;St.transactionExtender=MR;xf.reconfigure=ut.define();function As(t,e,n={}){let i={};for(let r of t)for(let s of Object.keys(r)){let o=r[s],a=i[s];if(a===void 0)i[s]=o;else if(!(a===o||o===void 0))if(Object.hasOwnProperty.call(n,s))i[s]=n[s](a,o);else throw new Error("Config merge conflict for field "+s)}for(let r in e)i[r]===void 0&&(i[r]=e[r]);return i}class Pa{eq(e){return this==e}range(e,n=e){return Hu.create(e,n,this)}}Pa.prototype.startSide=Pa.prototype.endSide=0;Pa.prototype.point=!1;Pa.prototype.mapMode=In.TrackDel;class Hu{constructor(e,n,i){this.from=e,this.to=n,this.value=i}static create(e,n,i){return new Hu(e,n,i)}}function lv(t,e){return t.from-e.from||t.value.startSide-e.value.startSide}class z${constructor(e,n,i,r){this.from=e,this.to=n,this.value=i,this.maxPoint=r}get length(){return this.to[this.to.length-1]}findIndex(e,n,i,r=0){let s=i?this.to:this.from;for(let o=r,a=s.length;;){if(o==a)return o;let l=o+a>>1,c=s[l]-e||(i?this.value[l].endSide:this.value[l].startSide)-n;if(l==o)return c>=0?o:a;c>=0?a=l:o=l+1}}between(e,n,i,r){for(let s=this.findIndex(n,-1e9,!0),o=this.findIndex(i,1e9,!1,s);sh||f==h&&c.startSide>0&&c.endSide<=0)continue;(h-f||c.endSide-c.startSide)<0||(o<0&&(o=f),c.point&&(a=Math.max(a,h-f)),i.push(c),r.push(f-o),s.push(h-o))}return{mapped:i.length?new z$(r,s,i,a):null,pos:o}}}class zt{constructor(e,n,i,r){this.chunkPos=e,this.chunk=n,this.nextLayer=i,this.maxPoint=r}static create(e,n,i,r){return new zt(e,n,i,r)}get length(){let e=this.chunk.length-1;return e<0?0:Math.max(this.chunkEnd(e),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let e=this.nextLayer.size;for(let n of this.chunk)e+=n.value.length;return e}chunkEnd(e){return this.chunkPos[e]+this.chunk[e].length}update(e){let{add:n=[],sort:i=!1,filterFrom:r=0,filterTo:s=this.length}=e,o=e.filter;if(n.length==0&&!o)return this;if(i&&(n=n.slice().sort(lv)),this.isEmpty)return n.length?zt.of(n):this;let a=new jR(this,null,-1).goto(0),l=0,c=[],u=new xo;for(;a.value||l=0){let O=n[l++];u.addInner(O.from,O.to,O.value)||c.push(O)}else a.rangeIndex==1&&a.chunkIndexthis.chunkEnd(a.chunkIndex)||sa.to||s=s&&e<=s+o.length&&o.between(s,e-s,n-s,i)===!1)return}this.nextLayer.between(e,n,i)}}iter(e=0){return Ku.from([this]).goto(e)}get isEmpty(){return this.nextLayer==this}static iter(e,n=0){return Ku.from(e).goto(n)}static compare(e,n,i,r,s=-1){let o=e.filter(O=>O.maxPoint>0||!O.isEmpty&&O.maxPoint>=s),a=n.filter(O=>O.maxPoint>0||!O.isEmpty&&O.maxPoint>=s),l=sS(o,a,i),c=new qc(o,l,s),u=new qc(a,l,s);i.iterGaps((O,f,h)=>oS(c,O,u,f,h,r)),i.empty&&i.length==0&&oS(c,0,u,0,0,r)}static eq(e,n,i=0,r){r==null&&(r=1e9);let s=e.filter(u=>!u.isEmpty&&n.indexOf(u)<0),o=n.filter(u=>!u.isEmpty&&e.indexOf(u)<0);if(s.length!=o.length)return!1;if(!s.length)return!0;let a=sS(s,o),l=new qc(s,a,0).goto(i),c=new qc(o,a,0).goto(i);for(;;){if(l.to!=c.to||!cv(l.active,c.active)||l.point&&(!c.point||!l.point.eq(c.point)))return!1;if(l.to>r)return!0;l.next(),c.next()}}static spans(e,n,i,r,s=-1){let o=new qc(e,null,s).goto(n),a=n,l=o.openStart;for(;;){let c=Math.min(o.to,i);if(o.point?(r.point(a,c,o.point,o.activeForPoint(o.to),l,o.pointRank),l=o.openEnd(c)+(o.to>c?1:0)):c>a&&(r.span(a,c,o.active,l),l=o.openEnd(c)),o.to>i)break;a=o.to,o.next()}return l}static of(e,n=!1){let i=new xo;for(let r of e instanceof Hu?[e]:n?Gse(e):e)i.add(r.from,r.to,r.value);return i.finish()}}zt.empty=new zt([],[],null,-1);function Gse(t){if(t.length>1)for(let e=t[0],n=1;n0)return t.slice().sort(lv);e=i}return t}zt.empty.nextLayer=zt.empty;class xo{constructor(){this.chunks=[],this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,this.lastTo=-1e9,this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,this.nextLayer=null}finishChunk(e){this.chunks.push(new z$(this.from,this.to,this.value,this.maxPoint)),this.chunkPos.push(this.chunkStart),this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),this.maxPoint=-1,e&&(this.from=[],this.to=[],this.value=[])}add(e,n,i){this.addInner(e,n,i)||(this.nextLayer||(this.nextLayer=new xo)).add(e,n,i)}addInner(e,n,i){let r=e-this.lastTo||i.startSide-this.last.endSide;if(r<=0&&(e-this.lastFrom||i.startSide-this.last.startSide)<0)throw new Error("Ranges must be added sorted by `from` position and `startSide`");return r<0?!1:(this.from.length==250&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=e),this.from.push(e-this.chunkStart),this.to.push(n-this.chunkStart),this.last=i,this.lastFrom=e,this.lastTo=n,this.value.push(i),i.point&&(this.maxPoint=Math.max(this.maxPoint,n-e)),!0)}addChunk(e,n){if((e-this.lastTo||n.value[0].startSide-this.last.endSide)<0)return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,n.maxPoint),this.chunks.push(n),this.chunkPos.push(e);let i=n.value.length-1;return this.last=n.value[i],this.lastFrom=n.from[i]+e,this.lastTo=n.to[i]+e,!0}finish(){return this.finishInner(zt.empty)}finishInner(e){if(this.from.length&&this.finishChunk(!1),this.chunks.length==0)return e;let n=zt.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,n}}function sS(t,e,n){let i=new Map;for(let s of t)for(let o=0;o=this.minPoint)break}}setRangeIndex(e){if(e==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex=i&&r.push(new jR(o,n,i,s));return r.length==1?r[0]:new Ku(r)}get startSide(){return this.value?this.value.startSide:0}goto(e,n=-1e9){for(let i of this.heap)i.goto(e,n);for(let i=this.heap.length>>1;i>=0;i--)j0(this.heap,i);return this.next(),this}forward(e,n){for(let i of this.heap)i.forward(e,n);for(let i=this.heap.length>>1;i>=0;i--)j0(this.heap,i);(this.to-e||this.value.endSide-n)<0&&this.next()}next(){if(this.heap.length==0)this.from=this.to=1e9,this.value=null,this.rank=-1;else{let e=this.heap[0];this.from=e.from,this.to=e.to,this.value=e.value,this.rank=e.rank,e.value&&e.next(),j0(this.heap,0)}}}function j0(t,e){for(let n=t[e];;){let i=(e<<1)+1;if(i>=t.length)break;let r=t[i];if(i+1=0&&(r=t[i+1],i++),n.compare(r)<0)break;t[i]=n,t[e]=r,e=i}}class qc{constructor(e,n,i){this.minPoint=i,this.active=[],this.activeTo=[],this.activeRank=[],this.minActive=-1,this.point=null,this.pointFrom=0,this.pointRank=0,this.to=-1e9,this.endSide=0,this.openStart=-1,this.cursor=Ku.from(e,n,i)}goto(e,n=-1e9){return this.cursor.goto(e,n),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=e,this.endSide=n,this.openStart=-1,this.next(),this}forward(e,n){for(;this.minActive>-1&&(this.activeTo[this.minActive]-e||this.active[this.minActive].endSide-n)<0;)this.removeActive(this.minActive);this.cursor.forward(e,n)}removeActive(e){EO(this.active,e),EO(this.activeTo,e),EO(this.activeRank,e),this.minActive=aS(this.active,this.activeTo)}addActive(e){let n=0,{value:i,to:r,rank:s}=this.cursor;for(;n-1&&(this.activeTo[s]-this.cursor.from||this.active[s].endSide-this.cursor.startSide)<0){if(this.activeTo[s]>e){this.to=this.activeTo[s],this.endSide=this.active[s].endSide;break}this.removeActive(s),i&&EO(i,s)}else if(this.cursor.value)if(this.cursor.from>e){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}else{let o=this.cursor.value;if(!o.point)this.addActive(i),this.cursor.next();else if(n&&this.cursor.to==this.to&&this.cursor.from=0&&!(this.activeRank[i]e||this.activeTo[i]==e&&this.active[i].endSide>=this.point.endSide)&&n.push(this.active[i]);return n.reverse()}openEnd(e){let n=0;for(let i=this.activeTo.length-1;i>=0&&this.activeTo[i]>e;i--)n++;return n}}function oS(t,e,n,i,r,s){t.goto(e),n.goto(i);let o=i+r,a=i,l=i-e;for(;;){let c=t.to+l-n.to||t.endSide-n.endSide,u=c<0?t.to+l:n.to,O=Math.min(u,o);if(t.point||n.point?t.point&&n.point&&(t.point==n.point||t.point.eq(n.point))&&cv(t.activeForPoint(t.to+l),n.activeForPoint(n.to))||s.comparePoint(a,O,t.point,n.point):O>a&&!cv(t.active,n.active)&&s.compareRange(a,O,t.active,n.active),u>o)break;a=u,c<=0&&t.next(),c>=0&&n.next()}}function cv(t,e){if(t.length!=e.length)return!1;for(let n=0;n=e;i--)t[i+1]=t[i];t[e]=n}function aS(t,e){let n=-1,i=1e9;for(let r=0;r=e)return r;if(r==t.length)break;s+=t.charCodeAt(r)==9?n-s%n:1,r=Ti(t,r)}return i===!0?-1:t.length}const fv="\u037C",lS=typeof Symbol=="undefined"?"__"+fv:Symbol.for(fv),Ov=typeof Symbol=="undefined"?"__styleSet"+Math.floor(Math.random()*1e8):Symbol("styleSet"),cS=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:{};class Po{constructor(e,n){this.rules=[];let{finish:i}=n||{};function r(o){return/^@/.test(o)?[o]:o.split(/,\s*/)}function s(o,a,l,c){let u=[],O=/^@(\w+)\b/.exec(o[0]),f=O&&O[1]=="keyframes";if(O&&a==null)return l.push(o[0]+";");for(let h in a){let p=a[h];if(/&/.test(h))s(h.split(/,\s*/).map(y=>o.map($=>y.replace(/&/,$))).reduce((y,$)=>y.concat($)),p,l);else if(p&&typeof p=="object"){if(!O)throw new RangeError("The value of a property ("+h+") should be a primitive value.");s(r(h),p,u,f)}else p!=null&&u.push(h.replace(/_.*/,"").replace(/[A-Z]/g,y=>"-"+y.toLowerCase())+": "+p+";")}(u.length||f)&&l.push((i&&!O&&!c?o.map(i):o).join(", ")+" {"+u.join(" ")+"}")}for(let o in e)s(r(o),e[o],this.rules)}getRules(){return this.rules.join(` -`)}static newName(){let e=cS[lS]||1;return cS[lS]=e+1,fv+e.toString(36)}static mount(e,n){(e[Ov]||new Hse(e)).mount(Array.isArray(n)?n:[n])}}let WO=null;class Hse{constructor(e){if(!e.head&&e.adoptedStyleSheets&&typeof CSSStyleSheet!="undefined"){if(WO)return e.adoptedStyleSheets=[WO.sheet].concat(e.adoptedStyleSheets),e[Ov]=WO;this.sheet=new CSSStyleSheet,e.adoptedStyleSheets=[this.sheet].concat(e.adoptedStyleSheets),WO=this}else{this.styleTag=(e.ownerDocument||e).createElement("style");let n=e.head||e;n.insertBefore(this.styleTag,n.firstChild)}this.modules=[],e[Ov]=this}mount(e){let n=this.sheet,i=0,r=0;for(let s=0;s-1&&(this.modules.splice(a,1),r--,a=-1),a==-1){if(this.modules.splice(r++,0,o),n)for(let l=0;l",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"',229:"Q"},uS=typeof navigator!="undefined"&&/Chrome\/(\d+)/.exec(navigator.userAgent),Kse=typeof navigator!="undefined"&&/Apple Computer/.test(navigator.vendor),Jse=typeof navigator!="undefined"&&/Gecko\/\d+/.test(navigator.userAgent),fS=typeof navigator!="undefined"&&/Mac/.test(navigator.platform),eoe=typeof navigator!="undefined"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),toe=uS&&(fS||+uS[1]<57)||Jse&&fS;for(var Wn=0;Wn<10;Wn++)ko[48+Wn]=ko[96+Wn]=String(Wn);for(var Wn=1;Wn<=24;Wn++)ko[Wn+111]="F"+Wn;for(var Wn=65;Wn<=90;Wn++)ko[Wn]=String.fromCharCode(Wn+32),Hl[Wn]=String.fromCharCode(Wn);for(var N0 in ko)Hl.hasOwnProperty(N0)||(Hl[N0]=ko[N0]);function noe(t){var e=toe&&(t.ctrlKey||t.altKey||t.metaKey)||(Kse||eoe)&&t.shiftKey&&t.key&&t.key.length==1,n=!e&&t.key||(t.shiftKey?Hl:ko)[t.keyCode]||t.key||"Unidentified";return n=="Esc"&&(n="Escape"),n=="Del"&&(n="Delete"),n=="Left"&&(n="ArrowLeft"),n=="Up"&&(n="ArrowUp"),n=="Right"&&(n="ArrowRight"),n=="Down"&&(n="ArrowDown"),n}function od(t){let e;return t.nodeType==11?e=t.getSelection?t:t.ownerDocument:e=t,e.getSelection()}function Kl(t,e){return e?t==e||t.contains(e.nodeType!=1?e.parentNode:e):!1}function ioe(){let t=document.activeElement;for(;t&&t.shadowRoot;)t=t.shadowRoot.activeElement;return t}function hv(t,e){if(!e.anchorNode)return!1;try{return Kl(t,e.anchorNode)}catch{return!1}}function Ju(t){return t.nodeType==3?Jl(t,0,t.nodeValue.length).getClientRects():t.nodeType==1?t.getClientRects():[]}function ad(t,e,n,i){return n?OS(t,e,n,i,-1)||OS(t,e,n,i,1):!1}function dv(t){for(var e=0;;e++)if(t=t.previousSibling,!t)return e}function OS(t,e,n,i,r){for(;;){if(t==n&&e==i)return!0;if(e==(r<0?0:ld(t))){if(t.nodeName=="DIV")return!1;let s=t.parentNode;if(!s||s.nodeType!=1)return!1;e=dv(t)+(r<0?0:1),t=s}else if(t.nodeType==1){if(t=t.childNodes[e+(r<0?-1:0)],t.nodeType==1&&t.contentEditable=="false")return!1;e=r<0?ld(t):0}else return!1}}function ld(t){return t.nodeType==3?t.nodeValue.length:t.childNodes.length}const NR={left:0,right:0,top:0,bottom:0};function Sp(t,e){let n=e?t.left:t.right;return{left:n,right:n,top:t.top,bottom:t.bottom}}function roe(t){return{left:0,right:t.innerWidth,top:0,bottom:t.innerHeight}}function soe(t,e,n,i,r,s,o,a){let l=t.ownerDocument,c=l.defaultView;for(let u=t;u;)if(u.nodeType==1){let O,f=u==l.body;if(f)O=roe(c);else{if(u.scrollHeight<=u.clientHeight&&u.scrollWidth<=u.clientWidth){u=u.parentNode;continue}let y=u.getBoundingClientRect();O={left:y.left,right:y.left+u.clientWidth,top:y.top,bottom:y.top+u.clientHeight}}let h=0,p=0;if(r=="nearest")e.top0&&e.bottom>O.bottom+p&&(p=e.bottom-O.bottom+p+o)):e.bottom>O.bottom&&(p=e.bottom-O.bottom+o,n<0&&e.top-p0&&e.right>O.right+h&&(h=e.right-O.right+h+s)):e.right>O.right&&(h=e.right-O.right+s,n<0&&e.leftn)return O.domBoundsAround(e,n,c);if(f>=e&&r==-1&&(r=l,s=c),c>n&&O.dom.parentNode==this.dom){o=l,a=u;break}u=f,c=f+O.breakAfter}return{from:s,to:a<0?i+this.length:a,startDOM:(r?this.children[r-1].dom.nextSibling:null)||this.dom.firstChild,endDOM:o=0?this.children[o].dom:null}}markDirty(e=!1){this.dirty|=2,this.markParentsDirty(e)}markParentsDirty(e){for(let n=this.parent;n;n=n.parent){if(e&&(n.dirty|=2),n.dirty&1)return;n.dirty|=1,e=!1}}setParent(e){this.parent!=e&&(this.parent=e,this.dirty&&this.markParentsDirty(!0))}setDOM(e){this.dom&&(this.dom.cmView=null),this.dom=e,e.cmView=this}get rootView(){for(let e=this;;){let n=e.parent;if(!n)return e;e=n}}replaceChildren(e,n,i=I$){this.markDirty();for(let r=e;rthis.pos||e==this.pos&&(n>0||this.i==0||this.children[this.i-1].breakAfter))return this.off=e-this.pos,this;let i=this.children[--this.i];this.pos-=i.length+i.breakAfter}}}function KR(t,e,n,i,r,s,o,a,l){let{children:c}=t,u=c.length?c[e]:null,O=s.length?s[s.length-1]:null,f=O?O.breakAfter:o;if(!(e==i&&u&&!o&&!f&&s.length<2&&u.merge(n,r,s.length?O:null,n==0,a,l))){if(i0&&(!o&&s.length&&u.merge(n,u.length,s[0],!1,a,0)?u.breakAfter=s.shift().breakAfter:(n2);var He={mac:gS||/Mac/.test(ki.platform),windows:/Win/.test(ki.platform),linux:/Linux|X11/.test(ki.platform),ie:wp,ie_version:e5?pv.documentMode||6:gv?+gv[1]:mv?+mv[1]:0,gecko:pS,gecko_version:pS?+(/Firefox\/(\d+)/.exec(ki.userAgent)||[0,0])[1]:0,chrome:!!F0,chrome_version:F0?+F0[1]:0,ios:gS,android:/Android\b/.test(ki.userAgent),webkit:mS,safari:t5,webkit_version:mS?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0,tabSize:pv.documentElement.style.tabSize!=null?"tab-size":"-moz-tab-size"};const loe=256;class Co extends tn{constructor(e){super(),this.text=e}get length(){return this.text.length}createDOM(e){this.setDOM(e||document.createTextNode(this.text))}sync(e){this.dom||this.createDOM(),this.dom.nodeValue!=this.text&&(e&&e.node==this.dom&&(e.written=!0),this.dom.nodeValue=this.text)}reuseDOM(e){e.nodeType==3&&this.createDOM(e)}merge(e,n,i){return i&&(!(i instanceof Co)||this.length-(n-e)+i.length>loe)?!1:(this.text=this.text.slice(0,e)+(i?i.text:"")+this.text.slice(n),this.markDirty(),!0)}split(e){let n=new Co(this.text.slice(e));return this.text=this.text.slice(0,e),this.markDirty(),n}localPosFromDOM(e,n){return e==this.dom?n:n?this.text.length:0}domAtPos(e){return new qn(this.dom,e)}domBoundsAround(e,n,i){return{from:i,to:i+this.length,startDOM:this.dom,endDOM:this.dom.nextSibling}}coordsAt(e,n){return vv(this.dom,e,n)}}class Jr extends tn{constructor(e,n=[],i=0){super(),this.mark=e,this.children=n,this.length=i;for(let r of n)r.setParent(this)}setAttrs(e){if(GR(e),this.mark.class&&(e.className=this.mark.class),this.mark.attrs)for(let n in this.mark.attrs)e.setAttribute(n,this.mark.attrs[n]);return e}reuseDOM(e){e.nodeName==this.mark.tagName.toUpperCase()&&(this.setDOM(e),this.dirty|=6)}sync(e){this.dom?this.dirty&4&&this.setAttrs(this.dom):this.setDOM(this.setAttrs(document.createElement(this.mark.tagName))),super.sync(e)}merge(e,n,i,r,s,o){return i&&(!(i instanceof Jr&&i.mark.eq(this.mark))||e&&s<=0||ne&&n.push(i=e&&(r=s),i=l,s++}let o=this.length-e;return this.length=e,r>-1&&(this.children.length=r,this.markDirty()),new Jr(this.mark,n,o)}domAtPos(e){return r5(this.dom,this.children,e)}coordsAt(e,n){return o5(this,e,n)}}function vv(t,e,n){let i=t.nodeValue.length;e>i&&(e=i);let r=e,s=e,o=0;e==0&&n<0||e==i&&n>=0?He.chrome||He.gecko||(e?(r--,o=1):s=0)?0:a.length-1];return He.safari&&!o&&l.width==0&&(l=Array.prototype.find.call(a,c=>c.width)||l),o?Sp(l,o<0):l||null}class co extends tn{constructor(e,n,i){super(),this.widget=e,this.length=n,this.side=i,this.prevWidget=null}static create(e,n,i){return new(e.customView||co)(e,n,i)}split(e){let n=co.create(this.widget,this.length-e,this.side);return this.length-=e,n}sync(){(!this.dom||!this.widget.updateDOM(this.dom))&&(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),this.prevWidget=null,this.setDOM(this.widget.toDOM(this.editorView)),this.dom.contentEditable="false")}getSide(){return this.side}merge(e,n,i,r,s,o){return i&&(!(i instanceof co)||!this.widget.compare(i.widget)||e>0&&s<=0||n0?i.length-1:0;r=i[s],!(e>0?s==0:s==i.length-1||r.top0?-1:1);return e==0&&n>0||e==this.length&&n<=0?r:Sp(r,e==0)}get isEditable(){return!1}destroy(){super.destroy(),this.dom&&this.widget.destroy(this.dom)}}class n5 extends co{domAtPos(e){let{topView:n,text:i}=this.widget;return n?yv(e,0,n,i,(r,s)=>r.domAtPos(s),r=>new qn(i,Math.min(r,i.nodeValue.length))):new qn(i,Math.min(e,i.nodeValue.length))}sync(){this.setDOM(this.widget.toDOM())}localPosFromDOM(e,n){let{topView:i,text:r}=this.widget;return i?i5(e,n,i,r):Math.min(n,this.length)}ignoreMutation(){return!1}get overrideDOMText(){return null}coordsAt(e,n){let{topView:i,text:r}=this.widget;return i?yv(e,n,i,r,(s,o,a)=>s.coordsAt(o,a),(s,o)=>vv(r,s,o)):vv(r,e,n)}destroy(){var e;super.destroy(),(e=this.widget.topView)===null||e===void 0||e.destroy()}get isEditable(){return!0}}function yv(t,e,n,i,r,s){if(n instanceof Jr){for(let o of n.children){let a=Kl(o.dom,i),l=a?i.nodeValue.length:o.length;if(t0?-1:1);return i&&i.topn.top?{left:n.left,right:n.right,top:i.top,bottom:i.bottom}:n}get overrideDOMText(){return Xt.empty}}Co.prototype.children=co.prototype.children=ec.prototype.children=I$;function coe(t,e){let n=t.parent,i=n?n.children.indexOf(t):-1;for(;n&&i>=0;)if(e<0?i>0:ir&&n0;i--){let r=e[i-1].dom;if(r.parentNode==t)return qn.after(r)}return new qn(t,0)}function s5(t,e,n){let i,{children:r}=t;n>0&&e instanceof Jr&&r.length&&(i=r[r.length-1])instanceof Jr&&i.mark.eq(e.mark)?s5(i,e.children[0],n-1):(r.push(e),e.setParent(t)),t.length+=e.length}function o5(t,e,n){for(let s=0,o=0;o0?l>=e:l>e)&&(e0)){let u=0;if(l==s){if(a.getSide()<=0)continue;u=n=-a.getSide()}let O=a.coordsAt(Math.max(0,e-s),n);return u&&O?Sp(O,n<0):O}s=l}let i=t.dom.lastChild;if(!i)return t.dom.getBoundingClientRect();let r=Ju(i);return r[r.length-1]||null}function $v(t,e){for(let n in t)n=="class"&&e.class?e.class+=" "+t.class:n=="style"&&e.style?e.style+=";"+t.style:e[n]=t[n];return e}function q$(t,e){if(t==e)return!0;if(!t||!e)return!1;let n=Object.keys(t),i=Object.keys(e);if(n.length!=i.length)return!1;for(let r of n)if(i.indexOf(r)==-1||t[r]!==e[r])return!1;return!0}function bv(t,e,n){let i=null;if(e)for(let r in e)n&&r in n||t.removeAttribute(i=r);if(n)for(let r in n)e&&e[r]==n[r]||t.setAttribute(i=r,n[r]);return!!i}class ns{eq(e){return!1}updateDOM(e){return!1}compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}get estimatedHeight(){return-1}ignoreEvent(e){return!0}get customView(){return null}destroy(e){}}var Ft=function(t){return t[t.Text=0]="Text",t[t.WidgetBefore=1]="WidgetBefore",t[t.WidgetAfter=2]="WidgetAfter",t[t.WidgetRange=3]="WidgetRange",t}(Ft||(Ft={}));class je extends Pa{constructor(e,n,i,r){super(),this.startSide=e,this.endSide=n,this.widget=i,this.spec=r}get heightRelevant(){return!1}static mark(e){return new xp(e)}static widget(e){let n=e.side||0,i=!!e.block;return n+=i?n>0?3e8:-4e8:n>0?1e8:-1e8,new ka(e,n,n,i,e.widget||null,!1)}static replace(e){let n=!!e.block,i,r;if(e.isBlockGap)i=-5e8,r=4e8;else{let{start:s,end:o}=a5(e,n);i=(s?n?-3e8:-1:5e8)-1,r=(o?n?2e8:1:-6e8)+1}return new ka(e,i,r,n,e.widget||null,!0)}static line(e){return new kf(e)}static set(e,n=!1){return zt.of(e,n)}hasHeight(){return this.widget?this.widget.estimatedHeight>-1:!1}}je.none=zt.empty;class xp extends je{constructor(e){let{start:n,end:i}=a5(e);super(n?-1:5e8,i?1:-6e8,null,e),this.tagName=e.tagName||"span",this.class=e.class||"",this.attrs=e.attributes||null}eq(e){return this==e||e instanceof xp&&this.tagName==e.tagName&&this.class==e.class&&q$(this.attrs,e.attrs)}range(e,n=e){if(e>=n)throw new RangeError("Mark decorations may not be empty");return super.range(e,n)}}xp.prototype.point=!1;class kf extends je{constructor(e){super(-2e8,-2e8,null,e)}eq(e){return e instanceof kf&&q$(this.spec.attributes,e.spec.attributes)}range(e,n=e){if(n!=e)throw new RangeError("Line decoration ranges must be zero-length");return super.range(e,n)}}kf.prototype.mapMode=In.TrackBefore;kf.prototype.point=!0;class ka extends je{constructor(e,n,i,r,s,o){super(n,i,s,e),this.block=r,this.isReplace=o,this.mapMode=r?n<=0?In.TrackBefore:In.TrackAfter:In.TrackDel}get type(){return this.startSide=5}eq(e){return e instanceof ka&&uoe(this.widget,e.widget)&&this.block==e.block&&this.startSide==e.startSide&&this.endSide==e.endSide}range(e,n=e){if(this.isReplace&&(e>n||e==n&&this.startSide>0&&this.endSide<=0))throw new RangeError("Invalid range for replacement decoration");if(!this.isReplace&&n!=e)throw new RangeError("Widget decorations can only have zero-length ranges");return super.range(e,n)}}ka.prototype.point=!0;function a5(t,e=!1){let{inclusiveStart:n,inclusiveEnd:i}=t;return n==null&&(n=t.inclusive),i==null&&(i=t.inclusive),{start:n!=null?n:e,end:i!=null?i:e}}function uoe(t,e){return t==e||!!(t&&e&&t.compare(e))}function _v(t,e,n,i=0){let r=n.length-1;r>=0&&n[r]+i>=t?n[r]=Math.max(n[r],e):n.push(t,e)}class ni extends tn{constructor(){super(...arguments),this.children=[],this.length=0,this.prevAttrs=void 0,this.attrs=null,this.breakAfter=0}merge(e,n,i,r,s,o){if(i){if(!(i instanceof ni))return!1;this.dom||i.transferDOM(this)}return r&&this.setDeco(i?i.attrs:null),JR(this,e,n,i?i.children:[],s,o),!0}split(e){let n=new ni;if(n.breakAfter=this.breakAfter,this.length==0)return n;let{i,off:r}=this.childPos(e);r&&(n.append(this.children[i].split(r),0),this.children[i].merge(r,this.children[i].length,null,!1,0,0),i++);for(let s=i;s0&&this.children[i-1].length==0;)this.children[--i].destroy();return this.children.length=i,this.markDirty(),this.length=e,n}transferDOM(e){!this.dom||(this.markDirty(),e.setDOM(this.dom),e.prevAttrs=this.prevAttrs===void 0?this.attrs:this.prevAttrs,this.prevAttrs=void 0,this.dom=null)}setDeco(e){q$(this.attrs,e)||(this.dom&&(this.prevAttrs=this.attrs,this.markDirty()),this.attrs=e)}append(e,n){s5(this,e,n)}addLineDeco(e){let n=e.spec.attributes,i=e.spec.class;n&&(this.attrs=$v(n,this.attrs||{})),i&&(this.attrs=$v({class:i},this.attrs||{}))}domAtPos(e){return r5(this.dom,this.children,e)}reuseDOM(e){e.nodeName=="DIV"&&(this.setDOM(e),this.dirty|=6)}sync(e){var n;this.dom?this.dirty&4&&(GR(this.dom),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0):(this.setDOM(document.createElement("div")),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0),this.prevAttrs!==void 0&&(bv(this.dom,this.prevAttrs,this.attrs),this.dom.classList.add("cm-line"),this.prevAttrs=void 0),super.sync(e);let i=this.dom.lastChild;for(;i&&tn.get(i)instanceof Jr;)i=i.lastChild;if(!i||!this.length||i.nodeName!="BR"&&((n=tn.get(i))===null||n===void 0?void 0:n.isEditable)==!1&&(!He.ios||!this.children.some(r=>r instanceof Co))){let r=document.createElement("BR");r.cmIgnore=!0,this.dom.appendChild(r)}}measureTextSize(){if(this.children.length==0||this.length>20)return null;let e=0;for(let n of this.children){if(!(n instanceof Co))return null;let i=Ju(n.dom);if(i.length!=1)return null;e+=i[0].width}return{lineHeight:this.dom.getBoundingClientRect().height,charWidth:e/this.length}}coordsAt(e,n){return o5(this,e,n)}become(e){return!1}get type(){return Ft.Text}static find(e,n){for(let i=0,r=0;i=n){if(s instanceof ni)return s;if(o>n)break}r=o+s.breakAfter}return null}}class Qa extends tn{constructor(e,n,i){super(),this.widget=e,this.length=n,this.type=i,this.breakAfter=0,this.prevWidget=null}merge(e,n,i,r,s,o){return i&&(!(i instanceof Qa)||!this.widget.compare(i.widget)||e>0&&s<=0||n0;){if(this.textOff==this.text.length){let{value:s,lineBreak:o,done:a}=this.cursor.next(this.skip);if(this.skip=0,a)throw new Error("Ran out of text content when drawing inline views");if(o){this.posCovered()||this.getLine(),this.content.length?this.content[this.content.length-1].breakAfter=1:this.breakAtStart=1,this.flushBuffer([]),this.curLine=null,e--;continue}else this.text=s,this.textOff=0}let r=Math.min(this.text.length-this.textOff,e,512);this.flushBuffer(n.slice(0,i)),this.getLine().append(zO(new Co(this.text.slice(this.textOff,this.textOff+r)),n),i),this.atCursorPos=!0,this.textOff+=r,e-=r,i=0}}span(e,n,i,r){this.buildText(n-e,i,r),this.pos=n,this.openStart<0&&(this.openStart=r)}point(e,n,i,r,s,o){if(this.disallowBlockEffectsFor[o]&&i instanceof ka){if(i.block)throw new RangeError("Block decorations may not be specified via plugins");if(n>this.doc.lineAt(this.pos).to)throw new RangeError("Decorations that replace line breaks may not be specified via plugins")}let a=n-e;if(i instanceof ka)if(i.block){let{type:l}=i;l==Ft.WidgetAfter&&!this.posCovered()&&this.getLine(),this.addBlockWidget(new Qa(i.widget||new vS("div"),a,l))}else{let l=co.create(i.widget||new vS("span"),a,i.startSide),c=this.atCursorPos&&!l.isEditable&&s<=r.length&&(e0),u=!l.isEditable&&(et.some(e=>e)});class cd{constructor(e,n="nearest",i="nearest",r=5,s=5){this.range=e,this.y=n,this.x=i,this.yMargin=r,this.xMargin=s}map(e){return e.empty?this:new cd(this.range.map(e),this.y,this.x,this.yMargin,this.xMargin)}}const yS=ut.define({map:(t,e)=>t.map(e)});function zi(t,e,n){let i=t.facet(f5);i.length?i[0](e):window.onerror?window.onerror(String(e),n,void 0,void 0,e):n?console.error(n+":",e):console.error(e)}const Pp=Ge.define({combine:t=>t.length?t[0]:!0});let foe=0;const Jc=Ge.define();class cn{constructor(e,n,i,r){this.id=e,this.create=n,this.domEventHandlers=i,this.extension=r(this)}static define(e,n){const{eventHandlers:i,provide:r,decorations:s}=n||{};return new cn(foe++,e,i,o=>{let a=[Jc.of(o)];return s&&a.push(ef.of(l=>{let c=l.plugin(o);return c?s(c):je.none})),r&&a.push(r(o)),a})}static fromClass(e,n){return cn.define(i=>new e(i),n)}}class G0{constructor(e){this.spec=e,this.mustUpdate=null,this.value=null}update(e){if(this.value){if(this.mustUpdate){let n=this.mustUpdate;if(this.mustUpdate=null,this.value.update)try{this.value.update(n)}catch(i){if(zi(n.state,i,"CodeMirror plugin crashed"),this.value.destroy)try{this.value.destroy()}catch{}this.deactivate()}}}else if(this.spec)try{this.value=this.spec.create(e)}catch(n){zi(e.state,n,"CodeMirror plugin crashed"),this.deactivate()}return this}destroy(e){var n;if(!((n=this.value)===null||n===void 0)&&n.destroy)try{this.value.destroy()}catch(i){zi(e.state,i,"CodeMirror plugin crashed")}}deactivate(){this.spec=this.value=null}}const d5=Ge.define(),p5=Ge.define(),ef=Ge.define(),m5=Ge.define(),g5=Ge.define(),eu=Ge.define();class ms{constructor(e,n,i,r){this.fromA=e,this.toA=n,this.fromB=i,this.toB=r}join(e){return new ms(Math.min(this.fromA,e.fromA),Math.max(this.toA,e.toA),Math.min(this.fromB,e.fromB),Math.max(this.toB,e.toB))}addToSet(e){let n=e.length,i=this;for(;n>0;n--){let r=e[n-1];if(!(r.fromA>i.toA)){if(r.toAu)break;s+=2}if(!l)return i;new ms(l.fromA,l.toA,l.fromB,l.toB).addToSet(i),o=l.toA,a=l.toB}}}class ud{constructor(e,n,i){this.view=e,this.state=n,this.transactions=i,this.flags=0,this.startState=e.state,this.changes=yn.empty(this.startState.doc.length);for(let o of i)this.changes=this.changes.compose(o.changes);let r=[];this.changes.iterChangedRanges((o,a,l,c)=>r.push(new ms(o,a,l,c))),this.changedRanges=r;let s=e.hasFocus;s!=e.inputState.notifiedFocused&&(e.inputState.notifiedFocused=s,this.flags|=1)}static create(e,n,i){return new ud(e,n,i)}get viewportChanged(){return(this.flags&4)>0}get heightChanged(){return(this.flags&2)>0}get geometryChanged(){return this.docChanged||(this.flags&10)>0}get focusChanged(){return(this.flags&1)>0}get docChanged(){return!this.changes.empty}get selectionSet(){return this.transactions.some(e=>e.selection)}get empty(){return this.flags==0&&this.transactions.length==0}}var sn=function(t){return t[t.LTR=0]="LTR",t[t.RTL=1]="RTL",t}(sn||(sn={}));const Sv=sn.LTR,Ooe=sn.RTL;function v5(t){let e=[];for(let n=0;n=n){if(a.level==i)return o;(s<0||(r!=0?r<0?a.fromn:e[s].level>a.level))&&(s=o)}}if(s<0)throw new RangeError("Index out of range");return s}}const rn=[];function goe(t,e){let n=t.length,i=e==Sv?1:2,r=e==Sv?2:1;if(!t||i==1&&!moe.test(t))return y5(n);for(let o=0,a=i,l=i;o=0;f-=3)if(Wr[f+1]==-u){let h=Wr[f+2],p=h&2?i:h&4?h&1?r:i:0;p&&(rn[o]=rn[Wr[f]]=p),a=f;break}}else{if(Wr.length==189)break;Wr[a++]=o,Wr[a++]=c,Wr[a++]=l}else if((O=rn[o])==2||O==1){let f=O==i;l=f?0:1;for(let h=a-3;h>=0;h-=3){let p=Wr[h+2];if(p&2)break;if(f)Wr[h+2]|=2;else{if(p&4)break;Wr[h+2]|=4}}}for(let o=0;oa;){let u=c,O=rn[--c]!=2;for(;c>a&&O==(rn[c-1]!=2);)c--;s.push(new Cl(c,u,O?2:1))}else s.push(new Cl(a,o,0))}else for(let o=0;o1)for(let l of this.points)l.node==e&&l.pos>this.text.length&&(l.pos-=o-1);i=s+o}}readNode(e){if(e.cmIgnore)return;let n=tn.get(e),i=n&&n.overrideDOMText;if(i!=null){this.findPointInside(e,i.length);for(let r=i.iter();!r.next().done;)r.lineBreak?this.lineBreak():this.append(r.value)}else e.nodeType==3?this.readTextNode(e):e.nodeName=="BR"?e.nextSibling&&this.lineBreak():e.nodeType==1&&this.readRange(e.firstChild,null)}findPointBefore(e,n){for(let i of this.points)i.node==e&&e.childNodes[i.offset]==n&&(i.pos=this.text.length)}findPointInside(e,n){for(let i of this.points)(e.nodeType==3?i.node==e:e.contains(i.node))&&(i.pos=this.text.length+Math.min(n,i.offset))}}function $S(t){return t.nodeType==1&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/.test(t.nodeName)}class bS{constructor(e,n){this.node=e,this.offset=n,this.pos=-1}}class _S extends tn{constructor(e){super(),this.view=e,this.compositionDeco=je.none,this.decorations=[],this.dynamicDecorationMap=[],this.minWidth=0,this.minWidthFrom=0,this.minWidthTo=0,this.impreciseAnchor=null,this.impreciseHead=null,this.forceSelection=!1,this.lastUpdate=Date.now(),this.setDOM(e.contentDOM),this.children=[new ni],this.children[0].setParent(this),this.updateDeco(),this.updateInner([new ms(0,0,0,e.state.doc.length)],0)}get root(){return this.view.root}get editorView(){return this.view}get length(){return this.view.state.doc.length}update(e){let n=e.changedRanges;this.minWidth>0&&n.length&&(n.every(({fromA:o,toA:a})=>athis.minWidthTo)?(this.minWidthFrom=e.changes.mapPos(this.minWidthFrom,1),this.minWidthTo=e.changes.mapPos(this.minWidthTo,1)):this.minWidth=this.minWidthFrom=this.minWidthTo=0),this.view.inputState.composing<0?this.compositionDeco=je.none:(e.transactions.length||this.dirty)&&(this.compositionDeco=$oe(this.view,e.changes)),(He.ie||He.chrome)&&!this.compositionDeco.size&&e&&e.state.doc.lines!=e.startState.doc.lines&&(this.forceSelection=!0);let i=this.decorations,r=this.updateDeco(),s=Soe(i,r,e.changes);return n=ms.extendWithRanges(n,s),this.dirty==0&&n.length==0?!1:(this.updateInner(n,e.startState.doc.length),e.transactions.length&&(this.lastUpdate=Date.now()),!0)}updateInner(e,n){this.view.viewState.mustMeasureContent=!0,this.updateChildren(e,n);let{observer:i}=this.view;i.ignore(()=>{this.dom.style.height=this.view.viewState.contentHeight+"px",this.dom.style.flexBasis=this.minWidth?this.minWidth+"px":"";let s=He.chrome||He.ios?{node:i.selectionRange.focusNode,written:!1}:void 0;this.sync(s),this.dirty=0,s&&(s.written||i.selectionRange.focusNode!=s.node)&&(this.forceSelection=!0),this.dom.style.height=""});let r=[];if(this.view.viewport.from||this.view.viewport.to=0?e[r]:null;if(!s)break;let{fromA:o,toA:a,fromB:l,toB:c}=s,{content:u,breakAtStart:O,openStart:f,openEnd:h}=U$.build(this.view.state.doc,l,c,this.decorations,this.dynamicDecorationMap),{i:p,off:y}=i.findPos(a,1),{i:$,off:m}=i.findPos(o,-1);KR(this,$,m,p,y,u,O,f,h)}}updateSelection(e=!1,n=!1){if((e||!this.view.observer.selectionRange.focusNode)&&this.view.observer.readSelectionRange(),!(n||this.mayControlSelection())||He.ios&&this.view.inputState.rapidCompositionStart)return;let i=this.forceSelection;this.forceSelection=!1;let r=this.view.state.selection.main,s=this.domAtPos(r.anchor),o=r.empty?s:this.domAtPos(r.head);if(He.gecko&&r.empty&&yoe(s)){let l=document.createTextNode("");this.view.observer.ignore(()=>s.node.insertBefore(l,s.node.childNodes[s.offset]||null)),s=o=new qn(l,0),i=!0}let a=this.view.observer.selectionRange;(i||!a.focusNode||!ad(s.node,s.offset,a.anchorNode,a.anchorOffset)||!ad(o.node,o.offset,a.focusNode,a.focusOffset))&&(this.view.observer.ignore(()=>{He.android&&He.chrome&&this.dom.contains(a.focusNode)&&woe(a.focusNode,this.dom)&&(this.dom.blur(),this.dom.focus({preventScroll:!0}));let l=od(this.root);if(l)if(r.empty){if(He.gecko){let c=_oe(s.node,s.offset);if(c&&c!=3){let u=Q5(s.node,s.offset,c==1?1:-1);u&&(s=new qn(u,c==1?0:u.nodeValue.length))}}l.collapse(s.node,s.offset),r.bidiLevel!=null&&a.cursorBidiLevel!=null&&(a.cursorBidiLevel=r.bidiLevel)}else if(l.extend)l.collapse(s.node,s.offset),l.extend(o.node,o.offset);else{let c=document.createRange();r.anchor>r.head&&([s,o]=[o,s]),c.setEnd(o.node,o.offset),c.setStart(s.node,s.offset),l.removeAllRanges(),l.addRange(c)}}),this.view.observer.setSelectionRange(s,o)),this.impreciseAnchor=s.precise?null:new qn(a.anchorNode,a.anchorOffset),this.impreciseHead=o.precise?null:new qn(a.focusNode,a.focusOffset)}enforceCursorAssoc(){if(this.compositionDeco.size)return;let e=this.view.state.selection.main,n=od(this.root);if(!n||!e.empty||!e.assoc||!n.modify)return;let i=ni.find(this,e.head);if(!i)return;let r=i.posAtStart;if(e.head==r||e.head==r+i.length)return;let s=this.coordsAt(e.head,-1),o=this.coordsAt(e.head,1);if(!s||!o||s.bottom>o.top)return;let a=this.domAtPos(e.head+e.assoc);n.collapse(a.node,a.offset),n.modify("move",e.assoc<0?"forward":"backward","lineboundary")}mayControlSelection(){let e=this.root.activeElement;return e==this.dom||hv(this.dom,this.view.observer.selectionRange)&&!(e&&this.dom.contains(e))}nearest(e){for(let n=e;n;){let i=tn.get(n);if(i&&i.rootView==this)return i;n=n.parentNode}return null}posFromDOM(e,n){let i=this.nearest(e);if(!i)throw new RangeError("Trying to find position for a DOM position outside of the document");return i.localPosFromDOM(e,n)+i.posAtStart}domAtPos(e){let{i:n,off:i}=this.childCursor().findPos(e,-1);for(;no||e==o&&s.type!=Ft.WidgetBefore&&s.type!=Ft.WidgetAfter&&(!r||n==2||this.children[r-1].breakAfter||this.children[r-1].type==Ft.WidgetBefore&&n>-2))return s.coordsAt(e-o,n);i=o}}measureVisibleLineHeights(e){let n=[],{from:i,to:r}=e,s=this.view.contentDOM.clientWidth,o=s>Math.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,a=-1,l=this.view.textDirection==sn.LTR;for(let c=0,u=0;ur)break;if(c>=i){let h=O.dom.getBoundingClientRect();if(n.push(h.height),o){let p=O.dom.lastChild,y=p?Ju(p):[];if(y.length){let $=y[y.length-1],m=l?$.right-h.left:h.right-$.left;m>a&&(a=m,this.minWidth=s,this.minWidthFrom=c,this.minWidthTo=f)}}}c=f+O.breakAfter}return n}textDirectionAt(e){let{i:n}=this.childPos(e,1);return getComputedStyle(this.children[n].dom).direction=="rtl"?sn.RTL:sn.LTR}measureTextSize(){for(let r of this.children)if(r instanceof ni){let s=r.measureTextSize();if(s)return s}let e=document.createElement("div"),n,i;return e.className="cm-line",e.style.width="99999px",e.textContent="abc def ghi jkl mno pqr stu",this.view.observer.ignore(()=>{this.dom.appendChild(e);let r=Ju(e.firstChild)[0];n=e.getBoundingClientRect().height,i=r?r.width/27:7,e.remove()}),{lineHeight:n,charWidth:i}}childCursor(e=this.length){let n=this.children.length;return n&&(e-=this.children[--n].length),new HR(this.children,e,n)}computeBlockGapDeco(){let e=[],n=this.view.viewState;for(let i=0,r=0;;r++){let s=r==n.viewports.length?null:n.viewports[r],o=s?s.from-1:this.length;if(o>i){let a=n.lineBlockAt(o).bottom-n.lineBlockAt(i).top;e.push(je.replace({widget:new QS(a),block:!0,inclusive:!0,isBlockGap:!0}).range(i,o))}if(!s)break;i=s.to+1}return je.set(e)}updateDeco(){let e=this.view.state.facet(ef).map((n,i)=>(this.dynamicDecorationMap[i]=typeof n=="function")?n(this.view):n);for(let n=e.length;nn.anchor?-1:1),r;if(!i)return;!n.empty&&(r=this.coordsAt(n.anchor,n.anchor>n.head?-1:1))&&(i={left:Math.min(i.left,r.left),top:Math.min(i.top,r.top),right:Math.max(i.right,r.right),bottom:Math.max(i.bottom,r.bottom)});let s=0,o=0,a=0,l=0;for(let u of this.view.state.facet(g5).map(O=>O(this.view)))if(u){let{left:O,right:f,top:h,bottom:p}=u;O!=null&&(s=Math.max(s,O)),f!=null&&(o=Math.max(o,f)),h!=null&&(a=Math.max(a,h)),p!=null&&(l=Math.max(l,p))}let c={left:i.left-s,top:i.top-a,right:i.right+o,bottom:i.bottom+l};soe(this.view.scrollDOM,c,n.head0&&n<=0)t=t.childNodes[e-1],e=ld(t);else if(t.nodeType==1&&e=0)t=t.childNodes[e],e=0;else return null}}function _oe(t,e){return t.nodeType!=1?0:(e&&t.childNodes[e-1].contentEditable=="false"?1:0)|(e0;){let c=Ti(r.text,o,!1);if(i(r.text.slice(c,o))!=l)break;o=c}for(;at?e.left-t:Math.max(0,t-e.right)}function koe(t,e){return e.top>t?e.top-t:Math.max(0,t-e.bottom)}function H0(t,e){return t.tope.top+1}function SS(t,e){return et.bottom?{top:t.top,left:t.left,right:t.right,bottom:e}:t}function xv(t,e,n){let i,r,s,o,a,l,c,u;for(let h=t.firstChild;h;h=h.nextSibling){let p=Ju(h);for(let y=0;yd||o==d&&s>m)&&(i=h,r=$,s=m,o=d),m==0?n>$.bottom&&(!c||c.bottom<$.bottom)?(a=h,c=$):n<$.top&&(!u||u.top>$.top)&&(l=h,u=$):c&&H0(c,$)?c=wS(c,$.bottom):u&&H0(u,$)&&(u=SS(u,$.top))}}if(c&&c.bottom>=n?(i=a,r=c):u&&u.top<=n&&(i=l,r=u),!i)return{node:t,offset:0};let O=Math.max(r.left,Math.min(r.right,e));if(i.nodeType==3)return xS(i,O,n);if(!s&&i.contentEditable=="true")return xv(i,O,n);let f=Array.prototype.indexOf.call(t.childNodes,i)+(e>=(r.left+r.right)/2?1:0);return{node:t,offset:f}}function xS(t,e,n){let i=t.nodeValue.length,r=-1,s=1e9,o=0;for(let a=0;an?u.top-n:n-u.bottom)-1;if(u.left-1<=e&&u.right+1>=e&&O=(u.left+u.right)/2,h=f;if((He.chrome||He.gecko)&&Jl(t,a).getBoundingClientRect().left==u.right&&(h=!f),O<=0)return{node:t,offset:a+(h?1:0)};r=a+(h?1:0),s=O}}}return{node:t,offset:r>-1?r:o>0?t.nodeValue.length:0}}function S5(t,{x:e,y:n},i,r=-1){var s;let o=t.contentDOM.getBoundingClientRect(),a=o.top+t.viewState.paddingTop,l,{docHeight:c}=t.viewState,u=n-a;if(u<0)return 0;if(u>c)return t.state.doc.length;for(let m=t.defaultLineHeight/2,d=!1;l=t.elementAtHeight(u),l.type!=Ft.Text;)for(;u=r>0?l.bottom+m:l.top-m,!(u>=0&&u<=c);){if(d)return i?null:0;d=!0,r=-r}n=a+u;let O=l.from;if(Ot.viewport.to)return t.viewport.to==t.state.doc.length?t.state.doc.length:i?null:PS(t,o,l,e,n);let f=t.dom.ownerDocument,h=t.root.elementFromPoint?t.root:f,p=h.elementFromPoint(e,n);p&&!t.contentDOM.contains(p)&&(p=null),p||(e=Math.max(o.left+1,Math.min(o.right-1,e)),p=h.elementFromPoint(e,n),p&&!t.contentDOM.contains(p)&&(p=null));let y,$=-1;if(p&&((s=t.docView.nearest(p))===null||s===void 0?void 0:s.isEditable)!=!1){if(f.caretPositionFromPoint){let m=f.caretPositionFromPoint(e,n);m&&({offsetNode:y,offset:$}=m)}else if(f.caretRangeFromPoint){let m=f.caretRangeFromPoint(e,n);m&&({startContainer:y,startOffset:$}=m,(He.safari&&Coe(y,$,e)||He.chrome&&Toe(y,$,e))&&(y=void 0))}}if(!y||!t.docView.dom.contains(y)){let m=ni.find(t.docView,O);if(!m)return u>l.top+l.height/2?l.to:l.from;({node:y,offset:$}=xv(m.dom,e,n))}return t.docView.posFromDOM(y,$)}function PS(t,e,n,i,r){let s=Math.round((i-e.left)*t.defaultCharacterWidth);t.lineWrapping&&n.height>t.defaultLineHeight*1.5&&(s+=Math.floor((r-n.top)/t.defaultLineHeight)*t.viewState.heightOracle.lineLength);let o=t.state.sliceDoc(n.from,n.to);return n.from+uv(o,s,t.state.tabSize)}function Coe(t,e,n){let i;if(t.nodeType!=3||e!=(i=t.nodeValue.length))return!1;for(let r=t.nextSibling;r;r=r.nextSibling)if(r.nodeType!=1||r.nodeName!="BR")return!1;return Jl(t,i-1,i).getBoundingClientRect().left>n}function Toe(t,e,n){if(e!=0)return!1;for(let r=t;;){let s=r.parentNode;if(!s||s.nodeType!=1||s.firstChild!=r)return!1;if(s.classList.contains("cm-line"))break;r=s}let i=t.nodeType==1?t.getBoundingClientRect():Jl(t,0,Math.max(t.nodeValue.length,1)).getBoundingClientRect();return n-i.left>5}function Roe(t,e,n,i){let r=t.state.doc.lineAt(e.head),s=!i||!t.lineWrapping?null:t.coordsAtPos(e.assoc<0&&e.head>r.from?e.head-1:e.head);if(s){let l=t.dom.getBoundingClientRect(),c=t.textDirectionAt(r.from),u=t.posAtCoords({x:n==(c==sn.LTR)?l.right-1:l.left+1,y:(s.top+s.bottom)/2});if(u!=null)return we.cursor(u,n?-1:1)}let o=ni.find(t.docView,e.head),a=o?n?o.posAtEnd:o.posAtStart:n?r.to:r.from;return we.cursor(a,n?-1:1)}function kS(t,e,n,i){let r=t.state.doc.lineAt(e.head),s=t.bidiSpans(r),o=t.textDirectionAt(r.from);for(let a=e,l=null;;){let c=voe(r,s,o,a,n),u=$5;if(!c){if(r.number==(n?t.state.doc.lines:1))return a;u=` -`,r=t.state.doc.line(r.number+(n?1:-1)),s=t.bidiSpans(r),c=we.cursor(n?r.from:r.to)}if(l){if(!l(u))return a}else{if(!i)return c;l=i(u)}a=c}}function Aoe(t,e,n){let i=t.state.charCategorizer(e),r=i(n);return s=>{let o=i(s);return r==ti.Space&&(r=o),r==o}}function Eoe(t,e,n,i){let r=e.head,s=n?1:-1;if(r==(n?t.state.doc.length:0))return we.cursor(r,e.assoc);let o=e.goalColumn,a,l=t.contentDOM.getBoundingClientRect(),c=t.coordsAtPos(r),u=t.documentTop;if(c)o==null&&(o=c.left-l.left),a=s<0?c.top:c.bottom;else{let h=t.viewState.lineBlockAt(r);o==null&&(o=Math.min(l.right-l.left,t.defaultCharacterWidth*(r-h.from))),a=(s<0?h.top:h.bottom)+u}let O=l.left+o,f=i!=null?i:t.defaultLineHeight>>1;for(let h=0;;h+=10){let p=a+(f+h)*s,y=S5(t,{x:O,y:p},!1,s);if(pl.bottom||(s<0?yr))return we.cursor(y,e.assoc,void 0,o)}}function K0(t,e,n){let i=t.state.facet(m5).map(r=>r(t));for(;;){let r=!1;for(let s of i)s.between(n.from-1,n.from+1,(o,a,l)=>{n.from>o&&n.fromn.from?we.cursor(o,1):we.cursor(a,-1),r=!0)});if(!r)return n}}class Xoe{constructor(e){this.lastKeyCode=0,this.lastKeyTime=0,this.chromeScrollHack=-1,this.pendingIOSKey=void 0,this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastEscPress=0,this.lastContextMenu=0,this.scrollHandlers=[],this.registeredEvents=[],this.customHandlers=[],this.composing=-1,this.compositionFirstChange=null,this.compositionEndedAt=0,this.rapidCompositionStart=!1,this.mouseSelection=null;for(let n in Cn){let i=Cn[n];e.contentDOM.addEventListener(n,r=>{!CS(e,r)||this.ignoreDuringComposition(r)||n=="keydown"&&this.keydown(e,r)||(this.mustFlushObserver(r)&&e.observer.forceFlush(),this.runCustomHandlers(n,e,r)?r.preventDefault():i(e,r))}),this.registeredEvents.push(n)}He.chrome&&He.chrome_version>=102&&e.scrollDOM.addEventListener("wheel",()=>{this.chromeScrollHack<0?e.contentDOM.style.pointerEvents="none":window.clearTimeout(this.chromeScrollHack),this.chromeScrollHack=setTimeout(()=>{this.chromeScrollHack=-1,e.contentDOM.style.pointerEvents=""},100)},{passive:!0}),this.notifiedFocused=e.hasFocus,He.safari&&e.contentDOM.addEventListener("input",()=>null)}setSelectionOrigin(e){this.lastSelectionOrigin=e,this.lastSelectionTime=Date.now()}ensureHandlers(e,n){var i;let r;this.customHandlers=[];for(let s of n)if(r=(i=s.update(e).spec)===null||i===void 0?void 0:i.domEventHandlers){this.customHandlers.push({plugin:s.value,handlers:r});for(let o in r)this.registeredEvents.indexOf(o)<0&&o!="scroll"&&(this.registeredEvents.push(o),e.contentDOM.addEventListener(o,a=>{!CS(e,a)||this.runCustomHandlers(o,e,a)&&a.preventDefault()}))}}runCustomHandlers(e,n,i){for(let r of this.customHandlers){let s=r.handlers[e];if(s)try{if(s.call(r.plugin,i,n)||i.defaultPrevented)return!0}catch(o){zi(n.state,o)}}return!1}runScrollHandlers(e,n){for(let i of this.customHandlers){let r=i.handlers.scroll;if(r)try{r.call(i.plugin,n,e)}catch(s){zi(e.state,s)}}}keydown(e,n){if(this.lastKeyCode=n.keyCode,this.lastKeyTime=Date.now(),n.keyCode==9&&Date.now()r.keyCode==n.keyCode))&&!(n.ctrlKey||n.altKey||n.metaKey)&&!n.synthetic?(this.pendingIOSKey=i,setTimeout(()=>this.flushIOSKey(e),250),!0):!1}flushIOSKey(e){let n=this.pendingIOSKey;return n?(this.pendingIOSKey=void 0,Qu(e.contentDOM,n.key,n.keyCode)):!1}ignoreDuringComposition(e){return/^key/.test(e.type)?this.composing>0?!0:He.safari&&Date.now()-this.compositionEndedAt<100?(this.compositionEndedAt=0,!0):!1:!1}mustFlushObserver(e){return e.type=="keydown"&&e.keyCode!=229||e.type=="compositionend"&&!He.ios}startMouseSelection(e){this.mouseSelection&&this.mouseSelection.destroy(),this.mouseSelection=e}update(e){this.mouseSelection&&this.mouseSelection.update(e),e.transactions.length&&(this.lastKeyCode=this.lastSelectionTime=0)}destroy(){this.mouseSelection&&this.mouseSelection.destroy()}}const w5=[{key:"Backspace",keyCode:8,inputType:"deleteContentBackward"},{key:"Enter",keyCode:13,inputType:"insertParagraph"},{key:"Delete",keyCode:46,inputType:"deleteContentForward"}],x5=[16,17,18,20,91,92,224,225];class Woe{constructor(e,n,i,r){this.view=e,this.style=i,this.mustSelect=r,this.lastEvent=n;let s=e.contentDOM.ownerDocument;s.addEventListener("mousemove",this.move=this.move.bind(this)),s.addEventListener("mouseup",this.up=this.up.bind(this)),this.extend=n.shiftKey,this.multiple=e.state.facet(St.allowMultipleSelections)&&zoe(e,n),this.dragMove=Ioe(e,n),this.dragging=qoe(e,n)&&D$(n)==1?null:!1,this.dragging===!1&&(n.preventDefault(),this.select(n))}move(e){if(e.buttons==0)return this.destroy();this.dragging===!1&&this.select(this.lastEvent=e)}up(e){this.dragging==null&&this.select(this.lastEvent),this.dragging||e.preventDefault(),this.destroy()}destroy(){let e=this.view.contentDOM.ownerDocument;e.removeEventListener("mousemove",this.move),e.removeEventListener("mouseup",this.up),this.view.inputState.mouseSelection=null}select(e){let n=this.style.get(e,this.extend,this.multiple);(this.mustSelect||!n.eq(this.view.state.selection)||n.main.assoc!=this.view.state.selection.main.assoc)&&this.view.dispatch({selection:n,userEvent:"select.pointer",scrollIntoView:!0}),this.mustSelect=!1}update(e){e.docChanged&&this.dragging&&(this.dragging=this.dragging.map(e.changes)),this.style.update(e)&&setTimeout(()=>this.select(this.lastEvent),20)}}function zoe(t,e){let n=t.state.facet(l5);return n.length?n[0](e):He.mac?e.metaKey:e.ctrlKey}function Ioe(t,e){let n=t.state.facet(c5);return n.length?n[0](e):He.mac?!e.altKey:!e.ctrlKey}function qoe(t,e){let{main:n}=t.state.selection;if(n.empty)return!1;let i=od(t.root);if(!i||i.rangeCount==0)return!0;let r=i.getRangeAt(0).getClientRects();for(let s=0;s=e.clientX&&o.top<=e.clientY&&o.bottom>=e.clientY)return!0}return!1}function CS(t,e){if(!e.bubbles)return!0;if(e.defaultPrevented)return!1;for(let n=e.target,i;n!=t.contentDOM;n=n.parentNode)if(!n||n.nodeType==11||(i=tn.get(n))&&i.ignoreEvent(e))return!1;return!0}const Cn=Object.create(null),P5=He.ie&&He.ie_version<15||He.ios&&He.webkit_version<604;function Uoe(t){let e=t.dom.parentNode;if(!e)return;let n=e.appendChild(document.createElement("textarea"));n.style.cssText="position: fixed; left: -10000px; top: 10px",n.focus(),setTimeout(()=>{t.focus(),n.remove(),k5(t,n.value)},50)}function k5(t,e){let{state:n}=t,i,r=1,s=n.toText(e),o=s.lines==n.selection.ranges.length;if(Pv!=null&&n.selection.ranges.every(l=>l.empty)&&Pv==s.toString()){let l=-1;i=n.changeByRange(c=>{let u=n.doc.lineAt(c.from);if(u.from==l)return{range:c};l=u.from;let O=n.toText((o?s.line(r++).text:e)+n.lineBreak);return{changes:{from:u.from,insert:O},range:we.cursor(c.from+O.length)}})}else o?i=n.changeByRange(l=>{let c=s.line(r++);return{changes:{from:l.from,to:l.to,insert:c.text},range:we.cursor(l.from+c.length)}}):i=n.replaceSelection(s);t.dispatch(i,{userEvent:"input.paste",scrollIntoView:!0})}Cn.keydown=(t,e)=>{t.inputState.setSelectionOrigin("select"),e.keyCode==27?t.inputState.lastEscPress=Date.now():x5.indexOf(e.keyCode)<0&&(t.inputState.lastEscPress=0)};let C5=0;Cn.touchstart=(t,e)=>{C5=Date.now(),t.inputState.setSelectionOrigin("select.pointer")};Cn.touchmove=t=>{t.inputState.setSelectionOrigin("select.pointer")};Cn.mousedown=(t,e)=>{if(t.observer.flush(),C5>Date.now()-2e3&&D$(e)==1)return;let n=null;for(let i of t.state.facet(u5))if(n=i(t,e),n)break;if(!n&&e.button==0&&(n=Boe(t,e)),n){let i=t.root.activeElement!=t.contentDOM;i&&t.observer.ignore(()=>FR(t.contentDOM)),t.inputState.startMouseSelection(new Woe(t,e,n,i))}};function TS(t,e,n,i){if(i==1)return we.cursor(e,n);if(i==2)return xoe(t.state,e,n);{let r=ni.find(t.docView,e),s=t.state.doc.lineAt(r?r.posAtEnd:e),o=r?r.posAtStart:s.from,a=r?r.posAtEnd:s.to;return at>=e.top&&t<=e.bottom,RS=(t,e,n)=>T5(e,n)&&t>=n.left&&t<=n.right;function Doe(t,e,n,i){let r=ni.find(t.docView,e);if(!r)return 1;let s=e-r.posAtStart;if(s==0)return 1;if(s==r.length)return-1;let o=r.coordsAt(s,-1);if(o&&RS(n,i,o))return-1;let a=r.coordsAt(s,1);return a&&RS(n,i,a)?1:o&&T5(i,o)?-1:1}function AS(t,e){let n=t.posAtCoords({x:e.clientX,y:e.clientY},!1);return{pos:n,bias:Doe(t,n,e.clientX,e.clientY)}}const Loe=He.ie&&He.ie_version<=11;let ES=null,XS=0,WS=0;function D$(t){if(!Loe)return t.detail;let e=ES,n=WS;return ES=t,WS=Date.now(),XS=!e||n>Date.now()-400&&Math.abs(e.clientX-t.clientX)<2&&Math.abs(e.clientY-t.clientY)<2?(XS+1)%3:1}function Boe(t,e){let n=AS(t,e),i=D$(e),r=t.state.selection,s=n,o=e;return{update(a){a.docChanged&&(n&&(n.pos=a.changes.mapPos(n.pos)),r=r.map(a.changes),o=null)},get(a,l,c){let u;if(o&&a.clientX==o.clientX&&a.clientY==o.clientY?u=s:(u=s=AS(t,a),o=a),!u||!n)return r;let O=TS(t,u.pos,u.bias,i);if(n.pos!=u.pos&&!l){let f=TS(t,n.pos,n.bias,i),h=Math.min(f.from,O.from),p=Math.max(f.to,O.to);O=h1&&r.ranges.some(f=>f.eq(O))?Moe(r,O):c?r.addRange(O):we.create([O])}}}function Moe(t,e){for(let n=0;;n++)if(t.ranges[n].eq(e))return we.create(t.ranges.slice(0,n).concat(t.ranges.slice(n+1)),t.mainIndex==n?0:t.mainIndex-(t.mainIndex>n?1:0))}Cn.dragstart=(t,e)=>{let{selection:{main:n}}=t.state,{mouseSelection:i}=t.inputState;i&&(i.dragging=n),e.dataTransfer&&(e.dataTransfer.setData("Text",t.state.sliceDoc(n.from,n.to)),e.dataTransfer.effectAllowed="copyMove")};function zS(t,e,n,i){if(!n)return;let r=t.posAtCoords({x:e.clientX,y:e.clientY},!1);e.preventDefault();let{mouseSelection:s}=t.inputState,o=i&&s&&s.dragging&&s.dragMove?{from:s.dragging.from,to:s.dragging.to}:null,a={from:r,insert:n},l=t.state.changes(o?[o,a]:a);t.focus(),t.dispatch({changes:l,selection:{anchor:l.mapPos(r,-1),head:l.mapPos(r,1)},userEvent:o?"move.drop":"input.drop"})}Cn.drop=(t,e)=>{if(!e.dataTransfer)return;if(t.state.readOnly)return e.preventDefault();let n=e.dataTransfer.files;if(n&&n.length){e.preventDefault();let i=Array(n.length),r=0,s=()=>{++r==n.length&&zS(t,e,i.filter(o=>o!=null).join(t.state.lineBreak),!1)};for(let o=0;o{/[\x00-\x08\x0e-\x1f]{2}/.test(a.result)||(i[o]=a.result),s()},a.readAsText(n[o])}}else zS(t,e,e.dataTransfer.getData("Text"),!0)};Cn.paste=(t,e)=>{if(t.state.readOnly)return e.preventDefault();t.observer.flush();let n=P5?null:e.clipboardData;n?(k5(t,n.getData("text/plain")),e.preventDefault()):Uoe(t)};function Yoe(t,e){let n=t.dom.parentNode;if(!n)return;let i=n.appendChild(document.createElement("textarea"));i.style.cssText="position: fixed; left: -10000px; top: 10px",i.value=e,i.focus(),i.selectionEnd=e.length,i.selectionStart=0,setTimeout(()=>{i.remove(),t.focus()},50)}function Zoe(t){let e=[],n=[],i=!1;for(let r of t.selection.ranges)r.empty||(e.push(t.sliceDoc(r.from,r.to)),n.push(r));if(!e.length){let r=-1;for(let{from:s}of t.selection.ranges){let o=t.doc.lineAt(s);o.number>r&&(e.push(o.text),n.push({from:o.from,to:Math.min(t.doc.length,o.to+1)})),r=o.number}i=!0}return{text:e.join(t.lineBreak),ranges:n,linewise:i}}let Pv=null;Cn.copy=Cn.cut=(t,e)=>{let{text:n,ranges:i,linewise:r}=Zoe(t.state);if(!n&&!r)return;Pv=r?n:null;let s=P5?null:e.clipboardData;s?(e.preventDefault(),s.clearData(),s.setData("text/plain",n)):Yoe(t,n),e.type=="cut"&&!t.state.readOnly&&t.dispatch({changes:i,scrollIntoView:!0,userEvent:"delete.cut"})};function R5(t){setTimeout(()=>{t.hasFocus!=t.inputState.notifiedFocused&&t.update([])},10)}Cn.focus=R5;Cn.blur=t=>{t.observer.clearSelectionRange(),R5(t)};function A5(t,e){if(t.docView.compositionDeco.size){t.inputState.rapidCompositionStart=e;try{t.update([])}finally{t.inputState.rapidCompositionStart=!1}}}Cn.compositionstart=Cn.compositionupdate=t=>{t.inputState.compositionFirstChange==null&&(t.inputState.compositionFirstChange=!0),t.inputState.composing<0&&(t.inputState.composing=0,t.docView.compositionDeco.size&&(t.observer.flush(),A5(t,!0)))};Cn.compositionend=t=>{t.inputState.composing=-1,t.inputState.compositionEndedAt=Date.now(),t.inputState.compositionFirstChange=null,setTimeout(()=>{t.inputState.composing<0&&A5(t,!1)},50)};Cn.contextmenu=t=>{t.inputState.lastContextMenu=Date.now()};Cn.beforeinput=(t,e)=>{var n;let i;if(He.chrome&&He.android&&(i=w5.find(r=>r.inputType==e.inputType))&&(t.observer.delayAndroidKey(i.key,i.keyCode),i.key=="Backspace"||i.key=="Delete")){let r=((n=window.visualViewport)===null||n===void 0?void 0:n.height)||0;setTimeout(()=>{var s;(((s=window.visualViewport)===null||s===void 0?void 0:s.height)||0)>r+10&&t.hasFocus&&(t.contentDOM.blur(),t.focus())},100)}};const IS=["pre-wrap","normal","pre-line","break-spaces"];class Voe{constructor(){this.doc=Xt.empty,this.lineWrapping=!1,this.heightSamples={},this.lineHeight=14,this.charWidth=7,this.lineLength=30,this.heightChanged=!1}heightForGap(e,n){let i=this.doc.lineAt(n).number-this.doc.lineAt(e).number+1;return this.lineWrapping&&(i+=Math.ceil((n-e-i*this.lineLength*.5)/this.lineLength)),this.lineHeight*i}heightForLine(e){return this.lineWrapping?(1+Math.max(0,Math.ceil((e-this.lineLength)/(this.lineLength-5))))*this.lineHeight:this.lineHeight}setDoc(e){return this.doc=e,this}mustRefreshForWrapping(e){return IS.indexOf(e)>-1!=this.lineWrapping}mustRefreshForHeights(e){let n=!1;for(let i=0;i-1,a=Math.round(n)!=Math.round(this.lineHeight)||this.lineWrapping!=o;if(this.lineWrapping=o,this.lineHeight=n,this.charWidth=i,this.lineLength=r,a){this.heightSamples={};for(let l=0;l0}set outdated(e){this.flags=(e?2:0)|this.flags&-3}setHeight(e,n){this.height!=n&&(Math.abs(this.height-n)>wh&&(e.heightChanged=!0),this.height=n)}replace(e,n,i){return di.of(i)}decomposeLeft(e,n){n.push(this)}decomposeRight(e,n){n.push(this)}applyChanges(e,n,i,r){let s=this;for(let o=r.length-1;o>=0;o--){let{fromA:a,toA:l,fromB:c,toB:u}=r[o],O=s.lineAt(a,Kt.ByPosNoHeight,n,0,0),f=O.to>=l?O:s.lineAt(l,Kt.ByPosNoHeight,n,0,0);for(u+=f.to-l,l=f.to;o>0&&O.from<=r[o-1].toA;)a=r[o-1].fromA,c=r[o-1].fromB,o--,as*2){let a=e[n-1];a.break?e.splice(--n,1,a.left,null,a.right):e.splice(--n,1,a.left,a.right),i+=1+a.break,r-=a.size}else if(s>r*2){let a=e[i];a.break?e.splice(i,1,a.left,null,a.right):e.splice(i,1,a.left,a.right),i+=2+a.break,s-=a.size}else break;else if(r=s&&o(this.blockAt(0,i,r,s))}updateHeight(e,n=0,i=!1,r){return r&&r.from<=n&&r.more&&this.setHeight(e,r.heights[r.index++]),this.outdated=!1,this}toString(){return`block(${this.length})`}}class Si extends E5{constructor(e,n){super(e,n,Ft.Text),this.collapsed=0,this.widgetHeight=0}replace(e,n,i){let r=i[0];return i.length==1&&(r instanceof Si||r instanceof En&&r.flags&4)&&Math.abs(this.length-r.length)<10?(r instanceof En?r=new Si(r.length,this.height):r.height=this.height,this.outdated||(r.outdated=!1),r):di.of(i)}updateHeight(e,n=0,i=!1,r){return r&&r.from<=n&&r.more?this.setHeight(e,r.heights[r.index++]):(i||this.outdated)&&this.setHeight(e,Math.max(this.widgetHeight,e.heightForLine(this.length-this.collapsed))),this.outdated=!1,this}toString(){return`line(${this.length}${this.collapsed?-this.collapsed:""}${this.widgetHeight?":"+this.widgetHeight:""})`}}class En extends di{constructor(e){super(e,0)}lines(e,n){let i=e.lineAt(n).number,r=e.lineAt(n+this.length).number;return{firstLine:i,lastLine:r,lineHeight:this.height/(r-i+1)}}blockAt(e,n,i,r){let{firstLine:s,lastLine:o,lineHeight:a}=this.lines(n,r),l=Math.max(0,Math.min(o-s,Math.floor((e-i)/a))),{from:c,length:u}=n.line(s+l);return new fo(c,u,i+a*l,a,Ft.Text)}lineAt(e,n,i,r,s){if(n==Kt.ByHeight)return this.blockAt(e,i,r,s);if(n==Kt.ByPosNoHeight){let{from:O,to:f}=i.lineAt(e);return new fo(O,f-O,0,0,Ft.Text)}let{firstLine:o,lineHeight:a}=this.lines(i,s),{from:l,length:c,number:u}=i.lineAt(e);return new fo(l,c,r+a*(u-o),a,Ft.Text)}forEachLine(e,n,i,r,s,o){let{firstLine:a,lineHeight:l}=this.lines(i,s);for(let c=Math.max(e,s),u=Math.min(s+this.length,n);c<=u;){let O=i.lineAt(c);c==e&&(r+=l*(O.number-a)),o(new fo(O.from,O.length,r,l,Ft.Text)),r+=l,c=O.to+1}}replace(e,n,i){let r=this.length-n;if(r>0){let s=i[i.length-1];s instanceof En?i[i.length-1]=new En(s.length+r):i.push(null,new En(r-1))}if(e>0){let s=i[0];s instanceof En?i[0]=new En(e+s.length):i.unshift(new En(e-1),null)}return di.of(i)}decomposeLeft(e,n){n.push(new En(e-1),null)}decomposeRight(e,n){n.push(null,new En(this.length-e-1))}updateHeight(e,n=0,i=!1,r){let s=n+this.length;if(r&&r.from<=n+this.length&&r.more){let o=[],a=Math.max(n,r.from),l=-1,c=e.heightChanged;for(r.from>n&&o.push(new En(r.from-n-1).updateHeight(e,n));a<=s&&r.more;){let O=e.doc.lineAt(a).length;o.length&&o.push(null);let f=r.heights[r.index++];l==-1?l=f:Math.abs(f-l)>=wh&&(l=-2);let h=new Si(O,f);h.outdated=!1,o.push(h),a+=O+1}a<=s&&o.push(null,new En(s-a).updateHeight(e,a));let u=di.of(o);return e.heightChanged=c||l<0||Math.abs(u.height-this.height)>=wh||Math.abs(l-this.lines(e.doc,n).lineHeight)>=wh,u}else(i||this.outdated)&&(this.setHeight(e,e.heightForGap(n,n+this.length)),this.outdated=!1);return this}toString(){return`gap(${this.length})`}}class Noe extends di{constructor(e,n,i){super(e.length+n+i.length,e.height+i.height,n|(e.outdated||i.outdated?2:0)),this.left=e,this.right=i,this.size=e.size+i.size}get break(){return this.flags&1}blockAt(e,n,i,r){let s=i+this.left.height;return ea))return c;let u=n==Kt.ByPosNoHeight?Kt.ByPosNoHeight:Kt.ByPos;return l?c.join(this.right.lineAt(a,u,i,o,a)):this.left.lineAt(a,u,i,r,s).join(c)}forEachLine(e,n,i,r,s,o){let a=r+this.left.height,l=s+this.left.length+this.break;if(this.break)e=l&&this.right.forEachLine(e,n,i,a,l,o);else{let c=this.lineAt(l,Kt.ByPos,i,r,s);e=e&&c.from<=n&&o(c),n>c.to&&this.right.forEachLine(c.to+1,n,i,a,l,o)}}replace(e,n,i){let r=this.left.length+this.break;if(nthis.left.length)return this.balanced(this.left,this.right.replace(e-r,n-r,i));let s=[];e>0&&this.decomposeLeft(e,s);let o=s.length;for(let a of i)s.push(a);if(e>0&&qS(s,o-1),n=i&&n.push(null)),e>i&&this.right.decomposeLeft(e-i,n)}decomposeRight(e,n){let i=this.left.length,r=i+this.break;if(e>=r)return this.right.decomposeRight(e-r,n);e2*n.size||n.size>2*e.size?di.of(this.break?[e,null,n]:[e,n]):(this.left=e,this.right=n,this.height=e.height+n.height,this.outdated=e.outdated||n.outdated,this.size=e.size+n.size,this.length=e.length+this.break+n.length,this)}updateHeight(e,n=0,i=!1,r){let{left:s,right:o}=this,a=n+s.length+this.break,l=null;return r&&r.from<=n+s.length&&r.more?l=s=s.updateHeight(e,n,i,r):s.updateHeight(e,n,i),r&&r.from<=a+o.length&&r.more?l=o=o.updateHeight(e,a,i,r):o.updateHeight(e,a,i),l?this.balanced(s,o):(this.height=this.left.height+this.right.height,this.outdated=!1,this)}toString(){return this.left+(this.break?" ":"-")+this.right}}function qS(t,e){let n,i;t[e]==null&&(n=t[e-1])instanceof En&&(i=t[e+1])instanceof En&&t.splice(e-1,3,new En(n.length+1+i.length))}const Foe=5;class L${constructor(e,n){this.pos=e,this.oracle=n,this.nodes=[],this.lineStart=-1,this.lineEnd=-1,this.covering=null,this.writtenTo=e}get isCovered(){return this.covering&&this.nodes[this.nodes.length-1]==this.covering}span(e,n){if(this.lineStart>-1){let i=Math.min(n,this.lineEnd),r=this.nodes[this.nodes.length-1];r instanceof Si?r.length+=i-this.pos:(i>this.pos||!this.isCovered)&&this.nodes.push(new Si(i-this.pos,-1)),this.writtenTo=i,n>i&&(this.nodes.push(null),this.writtenTo++,this.lineStart=-1)}this.pos=n}point(e,n,i){if(e=Foe)&&this.addLineDeco(r,s)}else n>e&&this.span(e,n);this.lineEnd>-1&&this.lineEnd-1)return;let{from:e,to:n}=this.oracle.doc.lineAt(this.pos);this.lineStart=e,this.lineEnd=n,this.writtenToe&&this.nodes.push(new Si(this.pos-e,-1)),this.writtenTo=this.pos}blankContent(e,n){let i=new En(n-e);return this.oracle.doc.lineAt(e).to==n&&(i.flags|=4),i}ensureLine(){this.enterLine();let e=this.nodes.length?this.nodes[this.nodes.length-1]:null;if(e instanceof Si)return e;let n=new Si(0,-1);return this.nodes.push(n),n}addBlock(e){this.enterLine(),e.type==Ft.WidgetAfter&&!this.isCovered&&this.ensureLine(),this.nodes.push(e),this.writtenTo=this.pos=this.pos+e.length,e.type!=Ft.WidgetBefore&&(this.covering=e)}addLineDeco(e,n){let i=this.ensureLine();i.length+=n,i.collapsed+=n,i.widgetHeight=Math.max(i.widgetHeight,e),this.writtenTo=this.pos=this.pos+n}finish(e){let n=this.nodes.length==0?null:this.nodes[this.nodes.length-1];this.lineStart>-1&&!(n instanceof Si)&&!this.isCovered?this.nodes.push(new Si(0,-1)):(this.writtenToc.clientHeight||c.scrollWidth>c.clientWidth)&&u.overflow!="visible"){let O=c.getBoundingClientRect();i=Math.max(i,O.left),r=Math.min(r,O.right),s=Math.max(s,O.top),o=Math.min(o,O.bottom)}l=u.position=="absolute"||u.position=="fixed"?c.offsetParent:c.parentNode}else if(l.nodeType==11)l=l.host;else break;return{left:i-n.left,right:Math.max(i,r)-n.left,top:s-(n.top+e),bottom:Math.max(s,o)-(n.top+e)}}function Joe(t,e){let n=t.getBoundingClientRect();return{left:0,right:n.right-n.left,top:e,bottom:n.bottom-(n.top+e)}}class J0{constructor(e,n,i){this.from=e,this.to=n,this.size=i}static same(e,n){if(e.length!=n.length)return!1;for(let i=0;itypeof n!="function"),this.heightMap=di.empty().applyChanges(this.stateDeco,Xt.empty,this.heightOracle.setDoc(e.doc),[new ms(0,0,0,e.doc.length)]),this.viewport=this.getViewport(0,null),this.updateViewportLines(),this.updateForViewport(),this.lineGaps=this.ensureLineGaps([]),this.lineGapDeco=je.set(this.lineGaps.map(n=>n.draw(!1))),this.computeVisibleRanges()}updateForViewport(){let e=[this.viewport],{main:n}=this.state.selection;for(let i=0;i<=1;i++){let r=i?n.head:n.anchor;if(!e.some(({from:s,to:o})=>r>=s&&r<=o)){let{from:s,to:o}=this.lineBlockAt(r);e.push(new IO(s,o))}}this.viewports=e.sort((i,r)=>i.from-r.from),this.scaler=this.heightMap.height<=7e6?BS:new iae(this.heightOracle.doc,this.heightMap,this.viewports)}updateViewportLines(){this.viewportLines=[],this.heightMap.forEachLine(this.viewport.from,this.viewport.to,this.state.doc,0,0,e=>{this.viewportLines.push(this.scaler.scale==1?e:tu(e,this.scaler))})}update(e,n=null){this.state=e.state;let i=this.stateDeco;this.stateDeco=this.state.facet(ef).filter(c=>typeof c!="function");let r=e.changedRanges,s=ms.extendWithRanges(r,Goe(i,this.stateDeco,e?e.changes:yn.empty(this.state.doc.length))),o=this.heightMap.height;this.heightMap=this.heightMap.applyChanges(this.stateDeco,e.startState.doc,this.heightOracle.setDoc(this.state.doc),s),this.heightMap.height!=o&&(e.flags|=2);let a=s.length?this.mapViewport(this.viewport,e.changes):this.viewport;(n&&(n.range.heada.to)||!this.viewportIsAppropriate(a))&&(a=this.getViewport(0,n));let l=!e.changes.empty||e.flags&2||a.from!=this.viewport.from||a.to!=this.viewport.to;this.viewport=a,this.updateForViewport(),l&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(this.mapLineGaps(this.lineGaps,e.changes))),e.flags|=this.computeVisibleRanges(),n&&(this.scrollTarget=n),!this.mustEnforceCursorAssoc&&e.selectionSet&&e.view.lineWrapping&&e.state.selection.main.empty&&e.state.selection.main.assoc&&(this.mustEnforceCursorAssoc=!0)}measure(e){let n=e.contentDOM,i=window.getComputedStyle(n),r=this.heightOracle,s=i.whiteSpace;this.defaultTextDirection=i.direction=="rtl"?sn.RTL:sn.LTR;let o=this.heightOracle.mustRefreshForWrapping(s),a=o||this.mustMeasureContent||this.contentDOMHeight!=n.clientHeight;this.contentDOMHeight=n.clientHeight,this.mustMeasureContent=!1;let l=0,c=0,u=parseInt(i.paddingTop)||0,O=parseInt(i.paddingBottom)||0;(this.paddingTop!=u||this.paddingBottom!=O)&&(this.paddingTop=u,this.paddingBottom=O,l|=10),this.editorWidth!=e.scrollDOM.clientWidth&&(r.lineWrapping&&(a=!0),this.editorWidth=e.scrollDOM.clientWidth,l|=8);let f=(this.printing?Joe:Koe)(n,this.paddingTop),h=f.top-this.pixelViewport.top,p=f.bottom-this.pixelViewport.bottom;this.pixelViewport=f;let y=this.pixelViewport.bottom>this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left;if(y!=this.inView&&(this.inView=y,y&&(a=!0)),!this.inView)return 0;let $=n.clientWidth;if((this.contentDOMWidth!=$||this.editorHeight!=e.scrollDOM.clientHeight)&&(this.contentDOMWidth=$,this.editorHeight=e.scrollDOM.clientHeight,l|=8),a){let d=e.docView.measureVisibleLineHeights(this.viewport);if(r.mustRefreshForHeights(d)&&(o=!0),o||r.lineWrapping&&Math.abs($-this.contentDOMWidth)>r.charWidth){let{lineHeight:g,charWidth:v}=e.docView.measureTextSize();o=r.refresh(s,g,v,$/v,d),o&&(e.docView.minWidth=0,l|=8)}h>0&&p>0?c=Math.max(h,p):h<0&&p<0&&(c=Math.min(h,p)),r.heightChanged=!1;for(let g of this.viewports){let v=g.from==this.viewport.from?d:e.docView.measureVisibleLineHeights(g);this.heightMap=this.heightMap.updateHeight(r,0,o,new joe(g.from,v))}r.heightChanged&&(l|=2)}let m=!this.viewportIsAppropriate(this.viewport,c)||this.scrollTarget&&(this.scrollTarget.range.headthis.viewport.to);return m&&(this.viewport=this.getViewport(c,this.scrollTarget)),this.updateForViewport(),(l&2||m)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(o?[]:this.lineGaps)),l|=this.computeVisibleRanges(),this.mustEnforceCursorAssoc&&(this.mustEnforceCursorAssoc=!1,e.docView.enforceCursorAssoc()),l}get visibleTop(){return this.scaler.fromDOM(this.pixelViewport.top)}get visibleBottom(){return this.scaler.fromDOM(this.pixelViewport.bottom)}getViewport(e,n){let i=.5-Math.max(-.5,Math.min(.5,e/1e3/2)),r=this.heightMap,s=this.state.doc,{visibleTop:o,visibleBottom:a}=this,l=new IO(r.lineAt(o-i*1e3,Kt.ByHeight,s,0,0).from,r.lineAt(a+(1-i)*1e3,Kt.ByHeight,s,0,0).to);if(n){let{head:c}=n.range;if(cl.to){let u=Math.min(this.editorHeight,this.pixelViewport.bottom-this.pixelViewport.top),O=r.lineAt(c,Kt.ByPos,s,0,0),f;n.y=="center"?f=(O.top+O.bottom)/2-u/2:n.y=="start"||n.y=="nearest"&&c=a+Math.max(10,Math.min(i,250)))&&r>o-2*1e3&&si.from&&a.push({from:i.from,to:s}),o=i.from&&l.from<=i.to&&LS(a,l.from-10,l.from+10),!l.empty&&l.to>=i.from&&l.to<=i.to&&LS(a,l.to-10,l.to+10);for(let{from:c,to:u}of a)u-c>1e3&&n.push(nae(e,O=>O.from>=i.from&&O.to<=i.to&&Math.abs(O.from-c)<1e3&&Math.abs(O.to-u)<1e3)||new J0(c,u,this.gapSize(i,c,u,r)))}return n}gapSize(e,n,i,r){let s=DS(r,i)-DS(r,n);return this.heightOracle.lineWrapping?e.height*s:r.total*this.heightOracle.charWidth*s}updateLineGaps(e){J0.same(e,this.lineGaps)||(this.lineGaps=e,this.lineGapDeco=je.set(e.map(n=>n.draw(this.heightOracle.lineWrapping))))}computeVisibleRanges(){let e=this.stateDeco;this.lineGaps.length&&(e=e.concat(this.lineGapDeco));let n=[];zt.spans(e,this.viewport.from,this.viewport.to,{span(r,s){n.push({from:r,to:s})},point(){}},20);let i=n.length!=this.visibleRanges.length||this.visibleRanges.some((r,s)=>r.from!=n[s].from||r.to!=n[s].to);return this.visibleRanges=n,i?4:0}lineBlockAt(e){return e>=this.viewport.from&&e<=this.viewport.to&&this.viewportLines.find(n=>n.from<=e&&n.to>=e)||tu(this.heightMap.lineAt(e,Kt.ByPos,this.state.doc,0,0),this.scaler)}lineBlockAtHeight(e){return tu(this.heightMap.lineAt(this.scaler.fromDOM(e),Kt.ByHeight,this.state.doc,0,0),this.scaler)}elementAtHeight(e){return tu(this.heightMap.blockAt(this.scaler.fromDOM(e),this.state.doc,0,0),this.scaler)}get docHeight(){return this.scaler.toDOM(this.heightMap.height)}get contentHeight(){return this.docHeight+this.paddingTop+this.paddingBottom}}class IO{constructor(e,n){this.from=e,this.to=n}}function tae(t,e,n){let i=[],r=t,s=0;return zt.spans(n,t,e,{span(){},point(o,a){o>r&&(i.push({from:r,to:o}),s+=o-r),r=a}},20),r=1)return e[e.length-1].to;let i=Math.floor(t*n);for(let r=0;;r++){let{from:s,to:o}=e[r],a=o-s;if(i<=a)return s+i;i-=a}}function DS(t,e){let n=0;for(let{from:i,to:r}of t.ranges){if(e<=r){n+=e-i;break}n+=r-i}return n/t.total}function LS(t,e,n){for(let i=0;ie){let s=[];r.fromn&&s.push({from:n,to:r.to}),t.splice(i,1,...s),i+=s.length-1}}}function nae(t,e){for(let n of t)if(e(n))return n}const BS={toDOM(t){return t},fromDOM(t){return t},scale:1};class iae{constructor(e,n,i){let r=0,s=0,o=0;this.viewports=i.map(({from:a,to:l})=>{let c=n.lineAt(a,Kt.ByPos,e,0,0).top,u=n.lineAt(l,Kt.ByPos,e,0,0).bottom;return r+=u-c,{from:a,to:l,top:c,bottom:u,domTop:0,domBottom:0}}),this.scale=(7e6-r)/(n.height-r);for(let a of this.viewports)a.domTop=o+(a.top-s)*this.scale,o=a.domBottom=a.domTop+(a.bottom-a.top),s=a.bottom}toDOM(e){for(let n=0,i=0,r=0;;n++){let s=ntu(r,e)):t.type)}const UO=Ge.define({combine:t=>t.join(" ")}),kv=Ge.define({combine:t=>t.indexOf(!0)>-1}),Cv=Po.newName(),X5=Po.newName(),W5=Po.newName(),z5={"&light":"."+X5,"&dark":"."+W5};function Tv(t,e,n){return new Po(e,{finish(i){return/&/.test(i)?i.replace(/&\w*/,r=>{if(r=="&")return t;if(!n||!n[r])throw new RangeError(`Unsupported selector: ${r}`);return n[r]}):t+" "+i}})}const rae=Tv("."+Cv,{"&.cm-editor":{position:"relative !important",boxSizing:"border-box","&.cm-focused":{outline:"1px dotted #212121"},display:"flex !important",flexDirection:"column"},".cm-scroller":{display:"flex !important",alignItems:"flex-start !important",fontFamily:"monospace",lineHeight:1.4,height:"100%",overflowX:"auto",position:"relative",zIndex:0},".cm-content":{margin:0,flexGrow:2,flexShrink:0,minHeight:"100%",display:"block",whiteSpace:"pre",wordWrap:"normal",boxSizing:"border-box",padding:"4px 0",outline:"none","&[contenteditable=true]":{WebkitUserModify:"read-write-plaintext-only"}},".cm-lineWrapping":{whiteSpace_fallback:"pre-wrap",whiteSpace:"break-spaces",wordBreak:"break-word",overflowWrap:"anywhere",flexShrink:1},"&light .cm-content":{caretColor:"black"},"&dark .cm-content":{caretColor:"white"},".cm-line":{display:"block",padding:"0 2px 0 4px"},".cm-selectionLayer":{zIndex:-1,contain:"size style"},".cm-selectionBackground":{position:"absolute"},"&light .cm-selectionBackground":{background:"#d9d9d9"},"&dark .cm-selectionBackground":{background:"#222"},"&light.cm-focused .cm-selectionBackground":{background:"#d7d4f0"},"&dark.cm-focused .cm-selectionBackground":{background:"#233"},".cm-cursorLayer":{zIndex:100,contain:"size style",pointerEvents:"none"},"&.cm-focused .cm-cursorLayer":{animation:"steps(1) cm-blink 1.2s infinite"},"@keyframes cm-blink":{"0%":{},"50%":{opacity:0},"100%":{}},"@keyframes cm-blink2":{"0%":{},"50%":{opacity:0},"100%":{}},".cm-cursor, .cm-dropCursor":{position:"absolute",borderLeft:"1.2px solid black",marginLeft:"-0.6px",pointerEvents:"none"},".cm-cursor":{display:"none"},"&dark .cm-cursor":{borderLeftColor:"#444"},"&.cm-focused .cm-cursor":{display:"block"},"&light .cm-activeLine":{backgroundColor:"#f3f9ff"},"&dark .cm-activeLine":{backgroundColor:"#223039"},"&light .cm-specialChar":{color:"red"},"&dark .cm-specialChar":{color:"#f78"},".cm-gutters":{display:"flex",height:"100%",boxSizing:"border-box",left:0,zIndex:200},"&light .cm-gutters":{backgroundColor:"#f5f5f5",color:"#6c6c6c",borderRight:"1px solid #ddd"},"&dark .cm-gutters":{backgroundColor:"#333338",color:"#ccc"},".cm-gutter":{display:"flex !important",flexDirection:"column",flexShrink:0,boxSizing:"border-box",minHeight:"100%",overflow:"hidden"},".cm-gutterElement":{boxSizing:"border-box"},".cm-lineNumbers .cm-gutterElement":{padding:"0 3px 0 5px",minWidth:"20px",textAlign:"right",whiteSpace:"nowrap"},"&light .cm-activeLineGutter":{backgroundColor:"#e2f2ff"},"&dark .cm-activeLineGutter":{backgroundColor:"#222227"},".cm-panels":{boxSizing:"border-box",position:"sticky",left:0,right:0},"&light .cm-panels":{backgroundColor:"#f5f5f5",color:"black"},"&light .cm-panels-top":{borderBottom:"1px solid #ddd"},"&light .cm-panels-bottom":{borderTop:"1px solid #ddd"},"&dark .cm-panels":{backgroundColor:"#333338",color:"white"},".cm-tab":{display:"inline-block",overflow:"hidden",verticalAlign:"bottom"},".cm-widgetBuffer":{verticalAlign:"text-top",height:"1em",display:"inline"},".cm-placeholder":{color:"#888",display:"inline-block",verticalAlign:"top"},".cm-button":{verticalAlign:"middle",color:"inherit",fontSize:"70%",padding:".2em 1em",borderRadius:"1px"},"&light .cm-button":{backgroundImage:"linear-gradient(#eff1f5, #d9d9df)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#b4b4b4, #d0d3d6)"}},"&dark .cm-button":{backgroundImage:"linear-gradient(#393939, #111)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#111, #333)"}},".cm-textfield":{verticalAlign:"middle",color:"inherit",fontSize:"70%",border:"1px solid silver",padding:".2em .5em"},"&light .cm-textfield":{backgroundColor:"white"},"&dark .cm-textfield":{border:"1px solid #555",backgroundColor:"inherit"}},z5),sae={childList:!0,characterData:!0,subtree:!0,attributes:!0,characterDataOldValue:!0},em=He.ie&&He.ie_version<=11;class oae{constructor(e,n,i){this.view=e,this.onChange=n,this.onScrollChanged=i,this.active=!1,this.selectionRange=new ooe,this.selectionChanged=!1,this.delayedFlush=-1,this.resizeTimeout=-1,this.queue=[],this.delayedAndroidKey=null,this.scrollTargets=[],this.intersection=null,this.resize=null,this.intersecting=!1,this.gapIntersection=null,this.gaps=[],this.parentCheck=-1,this.dom=e.contentDOM,this.observer=new MutationObserver(r=>{for(let s of r)this.queue.push(s);(He.ie&&He.ie_version<=11||He.ios&&e.composing)&&r.some(s=>s.type=="childList"&&s.removedNodes.length||s.type=="characterData"&&s.oldValue.length>s.target.nodeValue.length)?this.flushSoon():this.flush()}),em&&(this.onCharData=r=>{this.queue.push({target:r.target,type:"characterData",oldValue:r.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this),window.addEventListener("resize",this.onResize=this.onResize.bind(this)),typeof ResizeObserver=="function"&&(this.resize=new ResizeObserver(()=>{this.view.docView.lastUpdate{this.parentCheck<0&&(this.parentCheck=setTimeout(this.listenForScroll.bind(this),1e3)),r.length>0&&r[r.length-1].intersectionRatio>0!=this.intersecting&&(this.intersecting=!this.intersecting,this.intersecting!=this.view.inView&&this.onScrollChanged(document.createEvent("Event")))},{}),this.intersection.observe(this.dom),this.gapIntersection=new IntersectionObserver(r=>{r.length>0&&r[r.length-1].intersectionRatio>0&&this.onScrollChanged(document.createEvent("Event"))},{})),this.listenForScroll(),this.readSelectionRange(),this.dom.ownerDocument.addEventListener("selectionchange",this.onSelectionChange)}onScroll(e){this.intersecting&&this.flush(!1),this.onScrollChanged(e)}onResize(){this.resizeTimeout<0&&(this.resizeTimeout=setTimeout(()=>{this.resizeTimeout=-1,this.view.requestMeasure()},50))}onPrint(){this.view.viewState.printing=!0,this.view.measure(),setTimeout(()=>{this.view.viewState.printing=!1,this.view.requestMeasure()},500)}updateGaps(e){if(this.gapIntersection&&(e.length!=this.gaps.length||this.gaps.some((n,i)=>n!=e[i]))){this.gapIntersection.disconnect();for(let n of e)this.gapIntersection.observe(n);this.gaps=e}}onSelectionChange(e){if(!this.readSelectionRange()||this.delayedAndroidKey)return;let{view:n}=this,i=this.selectionRange;if(n.state.facet(Pp)?n.root.activeElement!=this.dom:!hv(n.dom,i))return;let r=i.anchorNode&&n.docView.nearest(i.anchorNode);r&&r.ignoreEvent(e)||((He.ie&&He.ie_version<=11||He.android&&He.chrome)&&!n.state.selection.main.empty&&i.focusNode&&ad(i.focusNode,i.focusOffset,i.anchorNode,i.anchorOffset)?this.flushSoon():this.flush(!1))}readSelectionRange(){let{root:e}=this.view,n=He.safari&&e.nodeType==11&&ioe()==this.view.contentDOM&&aae(this.view)||od(e);return!n||this.selectionRange.eq(n)?!1:(this.selectionRange.setRange(n),this.selectionChanged=!0)}setSelectionRange(e,n){this.selectionRange.set(e.node,e.offset,n.node,n.offset),this.selectionChanged=!1}clearSelectionRange(){this.selectionRange.set(null,0,null,0)}listenForScroll(){this.parentCheck=-1;let e=0,n=null;for(let i=this.dom;i;)if(i.nodeType==1)!n&&e{let i=this.delayedAndroidKey;this.delayedAndroidKey=null,this.delayedFlush=-1,this.flush()||Qu(this.view.contentDOM,i.key,i.keyCode)}),(!this.delayedAndroidKey||e=="Enter")&&(this.delayedAndroidKey={key:e,keyCode:n})}flushSoon(){this.delayedFlush<0&&(this.delayedFlush=window.setTimeout(()=>{this.delayedFlush=-1,this.flush()},20))}forceFlush(){this.delayedFlush>=0&&(window.clearTimeout(this.delayedFlush),this.delayedFlush=-1,this.flush())}processRecords(){let e=this.queue;for(let s of this.observer.takeRecords())e.push(s);e.length&&(this.queue=[]);let n=-1,i=-1,r=!1;for(let s of e){let o=this.readMutation(s);!o||(o.typeOver&&(r=!0),n==-1?{from:n,to:i}=o:(n=Math.min(o.from,n),i=Math.max(o.to,i)))}return{from:n,to:i,typeOver:r}}flush(e=!0){if(this.delayedFlush>=0||this.delayedAndroidKey)return;e&&this.readSelectionRange();let{from:n,to:i,typeOver:r}=this.processRecords(),s=this.selectionChanged&&hv(this.dom,this.selectionRange);if(n<0&&!s)return;this.selectionChanged=!1;let o=this.view.state,a=this.onChange(n,i,r);return this.view.state==o&&this.view.update([]),a}readMutation(e){let n=this.view.docView.nearest(e.target);if(!n||n.ignoreMutation(e))return null;if(n.markDirty(e.type=="attributes"),e.type=="attributes"&&(n.dirty|=4),e.type=="childList"){let i=MS(n,e.previousSibling||e.target.previousSibling,-1),r=MS(n,e.nextSibling||e.target.nextSibling,1);return{from:i?n.posAfter(i):n.posAtStart,to:r?n.posBefore(r):n.posAtEnd,typeOver:!1}}else return e.type=="characterData"?{from:n.posAtStart,to:n.posAtEnd,typeOver:e.target.nodeValue==e.oldValue}:null}destroy(){var e,n,i;this.stop(),(e=this.intersection)===null||e===void 0||e.disconnect(),(n=this.gapIntersection)===null||n===void 0||n.disconnect(),(i=this.resize)===null||i===void 0||i.disconnect();for(let r of this.scrollTargets)r.removeEventListener("scroll",this.onScroll);window.removeEventListener("scroll",this.onScroll),window.removeEventListener("resize",this.onResize),window.removeEventListener("beforeprint",this.onPrint),this.dom.ownerDocument.removeEventListener("selectionchange",this.onSelectionChange),clearTimeout(this.parentCheck),clearTimeout(this.resizeTimeout)}}function MS(t,e,n){for(;e;){let i=tn.get(e);if(i&&i.parent==t)return i;let r=e.parentNode;e=r!=t.dom?r:n>0?e.nextSibling:e.previousSibling}return null}function aae(t){let e=null;function n(l){l.preventDefault(),l.stopImmediatePropagation(),e=l.getTargetRanges()[0]}if(t.contentDOM.addEventListener("beforeinput",n,!0),document.execCommand("indent"),t.contentDOM.removeEventListener("beforeinput",n,!0),!e)return null;let i=e.startContainer,r=e.startOffset,s=e.endContainer,o=e.endOffset,a=t.docView.domAtPos(t.state.selection.main.anchor);return ad(a.node,a.offset,s,o)&&([i,r,s,o]=[s,o,i,r]),{anchorNode:i,anchorOffset:r,focusNode:s,focusOffset:o}}function lae(t,e,n,i){let r,s,o=t.state.selection.main;if(e>-1){let a=t.docView.domBoundsAround(e,n,0);if(!a||t.state.readOnly)return!1;let{from:l,to:c}=a,u=t.docView.impreciseHead||t.docView.impreciseAnchor?[]:uae(t),O=new b5(u,t.state);O.readRange(a.startDOM,a.endDOM);let f=o.from,h=null;(t.inputState.lastKeyCode===8&&t.inputState.lastKeyTime>Date.now()-100||He.android&&O.text.length=o.from&&r.to<=o.to&&(r.from!=o.from||r.to!=o.to)&&o.to-o.from-(r.to-r.from)<=4?r={from:o.from,to:o.to,insert:t.state.doc.slice(o.from,r.from).append(r.insert).append(t.state.doc.slice(r.to,o.to))}:(He.mac||He.android)&&r&&r.from==r.to&&r.from==o.head-1&&r.insert.toString()=="."&&(r={from:o.from,to:o.to,insert:Xt.of([" "])}),r){let a=t.state;if(He.ios&&t.inputState.flushIOSKey(t)||He.android&&(r.from==o.from&&r.to==o.to&&r.insert.length==1&&r.insert.lines==2&&Qu(t.contentDOM,"Enter",13)||r.from==o.from-1&&r.to==o.to&&r.insert.length==0&&Qu(t.contentDOM,"Backspace",8)||r.from==o.from&&r.to==o.to+1&&r.insert.length==0&&Qu(t.contentDOM,"Delete",46)))return!0;let l=r.insert.toString();if(t.state.facet(O5).some(O=>O(t,r.from,r.to,l)))return!0;t.inputState.composing>=0&&t.inputState.composing++;let c;if(r.from>=o.from&&r.to<=o.to&&r.to-r.from>=(o.to-o.from)/3&&(!s||s.main.empty&&s.main.from==r.from+r.insert.length)&&t.inputState.composing<0){let O=o.fromr.to?a.sliceDoc(r.to,o.to):"";c=a.replaceSelection(t.state.toText(O+r.insert.sliceString(0,void 0,t.state.lineBreak)+f))}else{let O=a.changes(r),f=s&&!a.selection.main.eq(s.main)&&s.main.to<=O.newLength?s.main:void 0;if(a.selection.ranges.length>1&&t.inputState.composing>=0&&r.to<=o.to&&r.to>=o.to-10){let h=t.state.sliceDoc(r.from,r.to),p=_5(t)||t.state.doc.lineAt(o.head),y=o.to-r.to,$=o.to-o.from;c=a.changeByRange(m=>{if(m.from==o.from&&m.to==o.to)return{changes:O,range:f||m.map(O)};let d=m.to-y,g=d-h.length;if(m.to-m.from!=$||t.state.sliceDoc(g,d)!=h||p&&m.to>=p.from&&m.from<=p.to)return{range:m};let v=a.changes({from:g,to:d,insert:r.insert}),b=m.to-o.to;return{changes:v,range:f?we.range(Math.max(0,f.anchor+b),Math.max(0,f.head+b)):m.map(v)}})}else c={changes:O,selection:f&&a.selection.replaceRange(f)}}let u="input.type";return t.composing&&(u+=".compose",t.inputState.compositionFirstChange&&(u+=".start",t.inputState.compositionFirstChange=!1)),t.dispatch(c,{scrollIntoView:!0,userEvent:u}),!0}else if(s&&!s.main.eq(o)){let a=!1,l="select";return t.inputState.lastSelectionTime>Date.now()-50&&(t.inputState.lastSelectionOrigin=="select"&&(a=!0),l=t.inputState.lastSelectionOrigin),t.dispatch({selection:s,scrollIntoView:a,userEvent:l}),!0}else return!1}function cae(t,e,n,i){let r=Math.min(t.length,e.length),s=0;for(;s0&&a>0&&t.charCodeAt(o-1)==e.charCodeAt(a-1);)o--,a--;if(i=="end"){let l=Math.max(0,s-Math.min(o,a));n-=o+l-s}return o=o?s-n:0,a=s+(a-o),o=s):a=a?s-n:0,o=s+(o-a),a=s),{from:s,toA:o,toB:a}}function uae(t){let e=[];if(t.root.activeElement!=t.contentDOM)return e;let{anchorNode:n,anchorOffset:i,focusNode:r,focusOffset:s}=t.observer.selectionRange;return n&&(e.push(new bS(n,i)),(r!=n||s!=i)&&e.push(new bS(r,s))),e}function fae(t,e){if(t.length==0)return null;let n=t[0].pos,i=t.length==2?t[1].pos:n;return n>-1&&i>-1?we.single(n+e,i+e):null}class Ve{constructor(e={}){this.plugins=[],this.pluginMap=new Map,this.editorAttrs={},this.contentAttrs={},this.bidiCache=[],this.destroyed=!1,this.updateState=2,this.measureScheduled=-1,this.measureRequests=[],this.contentDOM=document.createElement("div"),this.scrollDOM=document.createElement("div"),this.scrollDOM.tabIndex=-1,this.scrollDOM.className="cm-scroller",this.scrollDOM.appendChild(this.contentDOM),this.announceDOM=document.createElement("div"),this.announceDOM.style.cssText="position: absolute; top: -10000px",this.announceDOM.setAttribute("aria-live","polite"),this.dom=document.createElement("div"),this.dom.appendChild(this.announceDOM),this.dom.appendChild(this.scrollDOM),this._dispatch=e.dispatch||(n=>this.update([n])),this.dispatch=this.dispatch.bind(this),this.root=e.root||aoe(e.parent)||document,this.viewState=new US(e.state||St.create(e)),this.plugins=this.state.facet(Jc).map(n=>new G0(n));for(let n of this.plugins)n.update(this);this.observer=new oae(this,(n,i,r)=>lae(this,n,i,r),n=>{this.inputState.runScrollHandlers(this,n),this.observer.intersecting&&this.measure()}),this.inputState=new Xoe(this),this.inputState.ensureHandlers(this,this.plugins),this.docView=new _S(this),this.mountStyles(),this.updateAttrs(),this.updateState=0,this.requestMeasure(),e.parent&&e.parent.appendChild(this.dom)}get state(){return this.viewState.state}get viewport(){return this.viewState.viewport}get visibleRanges(){return this.viewState.visibleRanges}get inView(){return this.viewState.inView}get composing(){return this.inputState.composing>0}get compositionStarted(){return this.inputState.composing>=0}dispatch(...e){this._dispatch(e.length==1&&e[0]instanceof $n?e[0]:this.state.update(...e))}update(e){if(this.updateState!=0)throw new Error("Calls to EditorView.update are not allowed while an update is in progress");let n=!1,i=!1,r,s=this.state;for(let a of e){if(a.startState!=s)throw new RangeError("Trying to update state with a transaction that doesn't start from the previous state.");s=a.state}if(this.destroyed){this.viewState.state=s;return}if(this.observer.clear(),s.facet(St.phrases)!=this.state.facet(St.phrases))return this.setState(s);r=ud.create(this,s,e);let o=this.viewState.scrollTarget;try{this.updateState=2;for(let a of e){if(o&&(o=o.map(a.changes)),a.scrollIntoView){let{main:l}=a.state.selection;o=new cd(l.empty?l:we.cursor(l.head,l.head>l.anchor?-1:1))}for(let l of a.effects)l.is(yS)&&(o=l.value)}this.viewState.update(r,o),this.bidiCache=fd.update(this.bidiCache,r.changes),r.empty||(this.updatePlugins(r),this.inputState.update(r)),n=this.docView.update(r),this.state.facet(eu)!=this.styleModules&&this.mountStyles(),i=this.updateAttrs(),this.showAnnouncements(e),this.docView.updateSelection(n,e.some(a=>a.isUserEvent("select.pointer")))}finally{this.updateState=0}if(r.startState.facet(UO)!=r.state.facet(UO)&&(this.viewState.mustMeasureContent=!0),(n||i||o||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),!r.empty)for(let a of this.state.facet(Qv))a(r)}setState(e){if(this.updateState!=0)throw new Error("Calls to EditorView.setState are not allowed while an update is in progress");if(this.destroyed){this.viewState.state=e;return}this.updateState=2;let n=this.hasFocus;try{for(let i of this.plugins)i.destroy(this);this.viewState=new US(e),this.plugins=e.facet(Jc).map(i=>new G0(i)),this.pluginMap.clear();for(let i of this.plugins)i.update(this);this.docView=new _S(this),this.inputState.ensureHandlers(this,this.plugins),this.mountStyles(),this.updateAttrs(),this.bidiCache=[]}finally{this.updateState=0}n&&this.focus(),this.requestMeasure()}updatePlugins(e){let n=e.startState.facet(Jc),i=e.state.facet(Jc);if(n!=i){let r=[];for(let s of i){let o=n.indexOf(s);if(o<0)r.push(new G0(s));else{let a=this.plugins[o];a.mustUpdate=e,r.push(a)}}for(let s of this.plugins)s.mustUpdate!=e&&s.destroy(this);this.plugins=r,this.pluginMap.clear(),this.inputState.ensureHandlers(this,this.plugins)}else for(let r of this.plugins)r.mustUpdate=e;for(let r=0;r-1&&cancelAnimationFrame(this.measureScheduled),this.measureScheduled=0,e&&this.observer.flush();let n=null;try{for(let i=0;;i++){this.updateState=1;let r=this.viewport,s=this.viewState.measure(this);if(!s&&!this.measureRequests.length&&this.viewState.scrollTarget==null)break;if(i>5){console.warn(this.measureRequests.length?"Measure loop restarted more than 5 times":"Viewport failed to stabilize");break}let o=[];s&4||([this.measureRequests,o]=[o,this.measureRequests]);let a=o.map(O=>{try{return O.read(this)}catch(f){return zi(this.state,f),YS}}),l=ud.create(this,this.state,[]),c=!1,u=!1;l.flags|=s,n?n.flags|=s:n=l,this.updateState=2,l.empty||(this.updatePlugins(l),this.inputState.update(l),this.updateAttrs(),c=this.docView.update(l));for(let O=0;O{let r=bv(this.contentDOM,this.contentAttrs,n),s=bv(this.dom,this.editorAttrs,e);return r||s});return this.editorAttrs=e,this.contentAttrs=n,i}showAnnouncements(e){let n=!0;for(let i of e)for(let r of i.effects)if(r.is(Ve.announce)){n&&(this.announceDOM.textContent=""),n=!1;let s=this.announceDOM.appendChild(document.createElement("div"));s.textContent=r.value}}mountStyles(){this.styleModules=this.state.facet(eu),Po.mount(this.root,this.styleModules.concat(rae).reverse())}readMeasured(){if(this.updateState==2)throw new Error("Reading the editor layout isn't allowed during an update");this.updateState==0&&this.measureScheduled>-1&&this.measure(!1)}requestMeasure(e){if(this.measureScheduled<0&&(this.measureScheduled=requestAnimationFrame(()=>this.measure())),e){if(e.key!=null){for(let n=0;ni.spec==e)||null),n&&n.update(this).value}get documentTop(){return this.contentDOM.getBoundingClientRect().top+this.viewState.paddingTop}get documentPadding(){return{top:this.viewState.paddingTop,bottom:this.viewState.paddingBottom}}elementAtHeight(e){return this.readMeasured(),this.viewState.elementAtHeight(e)}lineBlockAtHeight(e){return this.readMeasured(),this.viewState.lineBlockAtHeight(e)}get viewportLineBlocks(){return this.viewState.viewportLines}lineBlockAt(e){return this.viewState.lineBlockAt(e)}get contentHeight(){return this.viewState.contentHeight}moveByChar(e,n,i){return K0(this,e,kS(this,e,n,i))}moveByGroup(e,n){return K0(this,e,kS(this,e,n,i=>Aoe(this,e.head,i)))}moveToLineBoundary(e,n,i=!0){return Roe(this,e,n,i)}moveVertically(e,n,i){return K0(this,e,Eoe(this,e,n,i))}domAtPos(e){return this.docView.domAtPos(e)}posAtDOM(e,n=0){return this.docView.posFromDOM(e,n)}posAtCoords(e,n=!0){return this.readMeasured(),S5(this,e,n)}coordsAtPos(e,n=1){this.readMeasured();let i=this.docView.coordsAt(e,n);if(!i||i.left==i.right)return i;let r=this.state.doc.lineAt(e),s=this.bidiSpans(r),o=s[Cl.find(s,e-r.from,-1,n)];return Sp(i,o.dir==sn.LTR==n>0)}get defaultCharacterWidth(){return this.viewState.heightOracle.charWidth}get defaultLineHeight(){return this.viewState.heightOracle.lineHeight}get textDirection(){return this.viewState.defaultTextDirection}textDirectionAt(e){return!this.state.facet(h5)||ethis.viewport.to?this.textDirection:(this.readMeasured(),this.docView.textDirectionAt(e))}get lineWrapping(){return this.viewState.heightOracle.lineWrapping}bidiSpans(e){if(e.length>Oae)return y5(e.length);let n=this.textDirectionAt(e.from);for(let r of this.bidiCache)if(r.from==e.from&&r.dir==n)return r.order;let i=goe(e.text,n);return this.bidiCache.push(new fd(e.from,e.to,n,i)),i}get hasFocus(){var e;return(document.hasFocus()||He.safari&&((e=this.inputState)===null||e===void 0?void 0:e.lastContextMenu)>Date.now()-3e4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore(()=>{FR(this.contentDOM),this.docView.updateSelection()})}destroy(){for(let e of this.plugins)e.destroy(this);this.plugins=[],this.inputState.destroy(),this.dom.remove(),this.observer.destroy(),this.measureScheduled>-1&&cancelAnimationFrame(this.measureScheduled),this.destroyed=!0}static scrollIntoView(e,n={}){return yS.of(new cd(typeof e=="number"?we.cursor(e):e,n.y,n.x,n.yMargin,n.xMargin))}static domEventHandlers(e){return cn.define(()=>({}),{eventHandlers:e})}static theme(e,n){let i=Po.newName(),r=[UO.of(i),eu.of(Tv(`.${i}`,e))];return n&&n.dark&&r.push(kv.of(!0)),r}static baseTheme(e){return qo.lowest(eu.of(Tv("."+Cv,e,z5)))}static findFromDOM(e){var n;let i=e.querySelector(".cm-content"),r=i&&tn.get(i)||tn.get(e);return((n=r==null?void 0:r.rootView)===null||n===void 0?void 0:n.view)||null}}Ve.styleModule=eu;Ve.inputHandler=O5;Ve.perLineTextDirection=h5;Ve.exceptionSink=f5;Ve.updateListener=Qv;Ve.editable=Pp;Ve.mouseSelectionStyle=u5;Ve.dragMovesSelection=c5;Ve.clickAddsSelectionRange=l5;Ve.decorations=ef;Ve.atomicRanges=m5;Ve.scrollMargins=g5;Ve.darkTheme=kv;Ve.contentAttributes=p5;Ve.editorAttributes=d5;Ve.lineWrapping=Ve.contentAttributes.of({class:"cm-lineWrapping"});Ve.announce=ut.define();const Oae=4096,YS={};class fd{constructor(e,n,i,r){this.from=e,this.to=n,this.dir=i,this.order=r}static update(e,n){if(n.empty)return e;let i=[],r=e.length?e[e.length-1].dir:sn.LTR;for(let s=Math.max(0,e.length-10);s=0;r--){let s=i[r],o=typeof s=="function"?s(t):s;o&&$v(o,n)}return n}const hae=He.mac?"mac":He.windows?"win":He.linux?"linux":"key";function dae(t,e){const n=t.split(/-(?!$)/);let i=n[n.length-1];i=="Space"&&(i=" ");let r,s,o,a;for(let l=0;li.concat(r),[]))),n}function mae(t,e,n){return q5(I5(t.state),e,t,n)}let ro=null;const gae=4e3;function vae(t,e=hae){let n=Object.create(null),i=Object.create(null),r=(o,a)=>{let l=i[o];if(l==null)i[o]=a;else if(l!=a)throw new Error("Key binding "+o+" is used both as a regular binding and as a multi-stroke prefix")},s=(o,a,l,c)=>{let u=n[o]||(n[o]=Object.create(null)),O=a.split(/ (?!$)/).map(p=>dae(p,e));for(let p=1;p{let m=ro={view:$,prefix:y,scope:o};return setTimeout(()=>{ro==m&&(ro=null)},gae),!0}]})}let f=O.join(" ");r(f,!1);let h=u[f]||(u[f]={preventDefault:!1,commands:[]});h.commands.push(l),c&&(h.preventDefault=!0)};for(let o of t){let a=o[e]||o.key;if(!!a)for(let l of o.scope?o.scope.split(" "):["editor"])s(l,a,o.run,o.preventDefault),o.shift&&s(l,"Shift-"+a,o.shift,o.preventDefault)}return n}function q5(t,e,n,i){let r=noe(e),s=Xn(r,0),o=xi(s)==r.length&&r!=" ",a="",l=!1;ro&&ro.view==n&&ro.scope==i&&(a=ro.prefix+" ",(l=x5.indexOf(e.keyCode)<0)&&(ro=null));let c=f=>{if(f){for(let h of f.commands)if(h(n))return!0;f.preventDefault&&(l=!0)}return!1},u=t[i],O;if(u){if(c(u[a+DO(r,e,!o)]))return!0;if(o&&(e.shiftKey||e.altKey||e.metaKey||s>127)&&(O=ko[e.keyCode])&&O!=r){if(c(u[a+DO(O,e,!0)]))return!0;if(e.shiftKey&&Hl[e.keyCode]!=O&&c(u[a+DO(Hl[e.keyCode],e,!1)]))return!0}else if(o&&e.shiftKey&&c(u[a+DO(r,e,!0)]))return!0}return l}const U5=!He.ios,nu=Ge.define({combine(t){return As(t,{cursorBlinkRate:1200,drawRangeCursor:!0},{cursorBlinkRate:(e,n)=>Math.min(e,n),drawRangeCursor:(e,n)=>e||n})}});function yae(t={}){return[nu.of(t),$ae,bae]}class D5{constructor(e,n,i,r,s){this.left=e,this.top=n,this.width=i,this.height=r,this.className=s}draw(){let e=document.createElement("div");return e.className=this.className,this.adjust(e),e}adjust(e){e.style.left=this.left+"px",e.style.top=this.top+"px",this.width>=0&&(e.style.width=this.width+"px"),e.style.height=this.height+"px"}eq(e){return this.left==e.left&&this.top==e.top&&this.width==e.width&&this.height==e.height&&this.className==e.className}}const $ae=cn.fromClass(class{constructor(t){this.view=t,this.rangePieces=[],this.cursors=[],this.measureReq={read:this.readPos.bind(this),write:this.drawSel.bind(this)},this.selectionLayer=t.scrollDOM.appendChild(document.createElement("div")),this.selectionLayer.className="cm-selectionLayer",this.selectionLayer.setAttribute("aria-hidden","true"),this.cursorLayer=t.scrollDOM.appendChild(document.createElement("div")),this.cursorLayer.className="cm-cursorLayer",this.cursorLayer.setAttribute("aria-hidden","true"),t.requestMeasure(this.measureReq),this.setBlinkRate()}setBlinkRate(){this.cursorLayer.style.animationDuration=this.view.state.facet(nu).cursorBlinkRate+"ms"}update(t){let e=t.startState.facet(nu)!=t.state.facet(nu);(e||t.selectionSet||t.geometryChanged||t.viewportChanged)&&this.view.requestMeasure(this.measureReq),t.transactions.some(n=>n.scrollIntoView)&&(this.cursorLayer.style.animationName=this.cursorLayer.style.animationName=="cm-blink"?"cm-blink2":"cm-blink"),e&&this.setBlinkRate()}readPos(){let{state:t}=this.view,e=t.facet(nu),n=t.selection.ranges.map(r=>r.empty?[]:_ae(this.view,r)).reduce((r,s)=>r.concat(s)),i=[];for(let r of t.selection.ranges){let s=r==t.selection.main;if(r.empty?!s||U5:e.drawRangeCursor){let o=Qae(this.view,r,s);o&&i.push(o)}}return{rangePieces:n,cursors:i}}drawSel({rangePieces:t,cursors:e}){if(t.length!=this.rangePieces.length||t.some((n,i)=>!n.eq(this.rangePieces[i]))){this.selectionLayer.textContent="";for(let n of t)this.selectionLayer.appendChild(n.draw());this.rangePieces=t}if(e.length!=this.cursors.length||e.some((n,i)=>!n.eq(this.cursors[i]))){let n=this.cursorLayer.children;if(n.length!==e.length){this.cursorLayer.textContent="";for(const i of e)this.cursorLayer.appendChild(i.draw())}else e.forEach((i,r)=>i.adjust(n[r]));this.cursors=e}}destroy(){this.selectionLayer.remove(),this.cursorLayer.remove()}}),L5={".cm-line":{"& ::selection":{backgroundColor:"transparent !important"},"&::selection":{backgroundColor:"transparent !important"}}};U5&&(L5[".cm-line"].caretColor="transparent !important");const bae=qo.highest(Ve.theme(L5));function B5(t){let e=t.scrollDOM.getBoundingClientRect();return{left:(t.textDirection==sn.LTR?e.left:e.right-t.scrollDOM.clientWidth)-t.scrollDOM.scrollLeft,top:e.top-t.scrollDOM.scrollTop}}function jS(t,e,n){let i=we.cursor(e);return{from:Math.max(n.from,t.moveToLineBoundary(i,!1,!0).from),to:Math.min(n.to,t.moveToLineBoundary(i,!0,!0).from),type:Ft.Text}}function NS(t,e){let n=t.lineBlockAt(e);if(Array.isArray(n.type)){for(let i of n.type)if(i.to>e||i.to==e&&(i.to==n.to||i.type==Ft.Text))return i}return n}function _ae(t,e){if(e.to<=t.viewport.from||e.from>=t.viewport.to)return[];let n=Math.max(e.from,t.viewport.from),i=Math.min(e.to,t.viewport.to),r=t.textDirection==sn.LTR,s=t.contentDOM,o=s.getBoundingClientRect(),a=B5(t),l=window.getComputedStyle(s.firstChild),c=o.left+parseInt(l.paddingLeft)+Math.min(0,parseInt(l.textIndent)),u=o.right-parseInt(l.paddingRight),O=NS(t,n),f=NS(t,i),h=O.type==Ft.Text?O:null,p=f.type==Ft.Text?f:null;if(t.lineWrapping&&(h&&(h=jS(t,n,h)),p&&(p=jS(t,i,p))),h&&p&&h.from==p.from)return $(m(e.from,e.to,h));{let g=h?m(e.from,null,h):d(O,!1),v=p?m(null,e.to,p):d(f,!0),b=[];return(h||O).to<(p||f).from-1?b.push(y(c,g.bottom,u,v.top)):g.bottomw&&k.from=T)break;X>C&&P(Math.max(R,C),g==null&&R<=w,Math.min(X,T),v==null&&X>=x,A.dir)}if(C=E.to+1,C>=T)break}return S.length==0&&P(w,g==null,x,v==null,t.textDirection),{top:_,bottom:Q,horizontal:S}}function d(g,v){let b=o.top+(v?g.top:g.bottom);return{top:b,bottom:b,horizontal:[]}}}function Qae(t,e,n){let i=t.coordsAtPos(e.head,e.assoc||1);if(!i)return null;let r=B5(t);return new D5(i.left-r.left,i.top-r.top,-1,i.bottom-i.top,n?"cm-cursor cm-cursor-primary":"cm-cursor cm-cursor-secondary")}const M5=ut.define({map(t,e){return t==null?null:e.mapPos(t)}}),iu=Rn.define({create(){return null},update(t,e){return t!=null&&(t=e.changes.mapPos(t)),e.effects.reduce((n,i)=>i.is(M5)?i.value:n,t)}}),Sae=cn.fromClass(class{constructor(t){this.view=t,this.cursor=null,this.measureReq={read:this.readPos.bind(this),write:this.drawCursor.bind(this)}}update(t){var e;let n=t.state.field(iu);n==null?this.cursor!=null&&((e=this.cursor)===null||e===void 0||e.remove(),this.cursor=null):(this.cursor||(this.cursor=this.view.scrollDOM.appendChild(document.createElement("div")),this.cursor.className="cm-dropCursor"),(t.startState.field(iu)!=n||t.docChanged||t.geometryChanged)&&this.view.requestMeasure(this.measureReq))}readPos(){let t=this.view.state.field(iu),e=t!=null&&this.view.coordsAtPos(t);if(!e)return null;let n=this.view.scrollDOM.getBoundingClientRect();return{left:e.left-n.left+this.view.scrollDOM.scrollLeft,top:e.top-n.top+this.view.scrollDOM.scrollTop,height:e.bottom-e.top}}drawCursor(t){this.cursor&&(t?(this.cursor.style.left=t.left+"px",this.cursor.style.top=t.top+"px",this.cursor.style.height=t.height+"px"):this.cursor.style.left="-100000px")}destroy(){this.cursor&&this.cursor.remove()}setDropPos(t){this.view.state.field(iu)!=t&&this.view.dispatch({effects:M5.of(t)})}},{eventHandlers:{dragover(t){this.setDropPos(this.view.posAtCoords({x:t.clientX,y:t.clientY}))},dragleave(t){(t.target==this.view.contentDOM||!this.view.contentDOM.contains(t.relatedTarget))&&this.setDropPos(null)},dragend(){this.setDropPos(null)},drop(){this.setDropPos(null)}}});function wae(){return[iu,Sae]}function FS(t,e,n,i,r){e.lastIndex=0;for(let s=t.iterRange(n,i),o=n,a;!s.next().done;o+=s.value.length)if(!s.lineBreak)for(;a=e.exec(s.value);)r(o+a.index,o+a.index+a[0].length,a)}function xae(t,e){let n=t.visibleRanges;if(n.length==1&&n[0].from==t.viewport.from&&n[0].to==t.viewport.to)return n;let i=[];for(let{from:r,to:s}of n)r=Math.max(t.state.doc.lineAt(r).from,r-e),s=Math.min(t.state.doc.lineAt(s).to,s+e),i.length&&i[i.length-1].to>=r?i[i.length-1].to=s:i.push({from:r,to:s});return i}class Pae{constructor(e){let{regexp:n,decoration:i,boundary:r,maxLength:s=1e3}=e;if(!n.global)throw new RangeError("The regular expression given to MatchDecorator should have its 'g' flag set");this.regexp=n,this.getDeco=typeof i=="function"?i:()=>i,this.boundary=r,this.maxLength=s}createDeco(e){let n=new xo;for(let{from:i,to:r}of xae(e,this.maxLength))FS(e.state.doc,this.regexp,i,r,(s,o,a)=>n.add(s,o,this.getDeco(a,e,s)));return n.finish()}updateDeco(e,n){let i=1e9,r=-1;return e.docChanged&&e.changes.iterChanges((s,o,a,l)=>{l>e.view.viewport.from&&a1e3?this.createDeco(e.view):r>-1?this.updateRange(e.view,n.map(e.changes),i,r):n}updateRange(e,n,i,r){for(let s of e.visibleRanges){let o=Math.max(s.from,i),a=Math.min(s.to,r);if(a>o){let l=e.state.doc.lineAt(o),c=l.tol.from;o--)if(this.boundary.test(l.text[o-1-l.from])){u=o;break}for(;af.push(this.getDeco($,e,p).range(p,y)));n=n.update({filterFrom:u,filterTo:O,filter:(p,y)=>pO,add:f})}}return n}}const Rv=/x/.unicode!=null?"gu":"g",kae=new RegExp(`[\0-\b --\x7F-\x9F\xAD\u061C\u200B\u200E\u200F\u2028\u2029\u202D\u202E\uFEFF\uFFF9-\uFFFC]`,Rv),Cae={0:"null",7:"bell",8:"backspace",10:"newline",11:"vertical tab",13:"carriage return",27:"escape",8203:"zero width space",8204:"zero width non-joiner",8205:"zero width joiner",8206:"left-to-right mark",8207:"right-to-left mark",8232:"line separator",8237:"left-to-right override",8238:"right-to-left override",8233:"paragraph separator",65279:"zero width no-break space",65532:"object replacement"};let tm=null;function Tae(){var t;if(tm==null&&typeof document!="undefined"&&document.body){let e=document.body.style;tm=((t=e.tabSize)!==null&&t!==void 0?t:e.MozTabSize)!=null}return tm||!1}const xh=Ge.define({combine(t){let e=As(t,{render:null,specialChars:kae,addSpecialChars:null});return(e.replaceTabs=!Tae())&&(e.specialChars=new RegExp(" |"+e.specialChars.source,Rv)),e.addSpecialChars&&(e.specialChars=new RegExp(e.specialChars.source+"|"+e.addSpecialChars.source,Rv)),e}});function Rae(t={}){return[xh.of(t),Aae()]}let GS=null;function Aae(){return GS||(GS=cn.fromClass(class{constructor(t){this.view=t,this.decorations=je.none,this.decorationCache=Object.create(null),this.decorator=this.makeDecorator(t.state.facet(xh)),this.decorations=this.decorator.createDeco(t)}makeDecorator(t){return new Pae({regexp:t.specialChars,decoration:(e,n,i)=>{let{doc:r}=n.state,s=Xn(e[0],0);if(s==9){let o=r.lineAt(i),a=n.state.tabSize,l=Pf(o.text,a,i-o.from);return je.replace({widget:new zae((a-l%a)*this.view.defaultCharacterWidth)})}return this.decorationCache[s]||(this.decorationCache[s]=je.replace({widget:new Wae(t,s)}))},boundary:t.replaceTabs?void 0:/[^]/})}update(t){let e=t.state.facet(xh);t.startState.facet(xh)!=e?(this.decorator=this.makeDecorator(e),this.decorations=this.decorator.createDeco(t.view)):this.decorations=this.decorator.updateDeco(t,this.decorations)}},{decorations:t=>t.decorations}))}const Eae="\u2022";function Xae(t){return t>=32?Eae:t==10?"\u2424":String.fromCharCode(9216+t)}class Wae extends ns{constructor(e,n){super(),this.options=e,this.code=n}eq(e){return e.code==this.code}toDOM(e){let n=Xae(this.code),i=e.state.phrase("Control character")+" "+(Cae[this.code]||"0x"+this.code.toString(16)),r=this.options.render&&this.options.render(this.code,i,n);if(r)return r;let s=document.createElement("span");return s.textContent=n,s.title=i,s.setAttribute("aria-label",i),s.className="cm-specialChar",s}ignoreEvent(){return!1}}class zae extends ns{constructor(e){super(),this.width=e}eq(e){return e.width==this.width}toDOM(){let e=document.createElement("span");return e.textContent=" ",e.className="cm-tab",e.style.width=this.width+"px",e}ignoreEvent(){return!1}}function Iae(){return Uae}const qae=je.line({class:"cm-activeLine"}),Uae=cn.fromClass(class{constructor(t){this.decorations=this.getDeco(t)}update(t){(t.docChanged||t.selectionSet)&&(this.decorations=this.getDeco(t.view))}getDeco(t){let e=-1,n=[];for(let i of t.state.selection.ranges){if(!i.empty)return je.none;let r=t.lineBlockAt(i.head);r.from>e&&(n.push(qae.range(r.from)),e=r.from)}return je.set(n)}},{decorations:t=>t.decorations});class Dae extends ns{constructor(e){super(),this.content=e}toDOM(){let e=document.createElement("span");return e.className="cm-placeholder",e.style.pointerEvents="none",e.appendChild(typeof this.content=="string"?document.createTextNode(this.content):this.content),typeof this.content=="string"?e.setAttribute("aria-label","placeholder "+this.content):e.setAttribute("aria-hidden","true"),e}ignoreEvent(){return!1}}function Lae(t){return cn.fromClass(class{constructor(e){this.view=e,this.placeholder=je.set([je.widget({widget:new Dae(t),side:1}).range(0)])}get decorations(){return this.view.state.doc.length?je.none:this.placeholder}},{decorations:e=>e.decorations})}const Av=2e3;function Bae(t,e,n){let i=Math.min(e.line,n.line),r=Math.max(e.line,n.line),s=[];if(e.off>Av||n.off>Av||e.col<0||n.col<0){let o=Math.min(e.off,n.off),a=Math.max(e.off,n.off);for(let l=i;l<=r;l++){let c=t.doc.line(l);c.length<=a&&s.push(we.range(c.from+o,c.to+a))}}else{let o=Math.min(e.col,n.col),a=Math.max(e.col,n.col);for(let l=i;l<=r;l++){let c=t.doc.line(l),u=uv(c.text,o,t.tabSize,!0);if(u>-1){let O=uv(c.text,a,t.tabSize);s.push(we.range(c.from+u,c.from+O))}}}return s}function Mae(t,e){let n=t.coordsAtPos(t.viewport.from);return n?Math.round(Math.abs((n.left-e)/t.defaultCharacterWidth)):-1}function HS(t,e){let n=t.posAtCoords({x:e.clientX,y:e.clientY},!1),i=t.state.doc.lineAt(n),r=n-i.from,s=r>Av?-1:r==i.length?Mae(t,e.clientX):Pf(i.text,t.state.tabSize,n-i.from);return{line:i.number,col:s,off:r}}function Yae(t,e){let n=HS(t,e),i=t.state.selection;return n?{update(r){if(r.docChanged){let s=r.changes.mapPos(r.startState.doc.line(n.line).from),o=r.state.doc.lineAt(s);n={line:o.number,col:n.col,off:Math.min(n.off,o.length)},i=i.map(r.changes)}},get(r,s,o){let a=HS(t,r);if(!a)return i;let l=Bae(t.state,n,a);return l.length?o?we.create(l.concat(i.ranges)):we.create(l):i}}:null}function Zae(t){let e=(t==null?void 0:t.eventFilter)||(n=>n.altKey&&n.button==0);return Ve.mouseSelectionStyle.of((n,i)=>e(i)?Yae(n,i):null)}const Vae={Alt:[18,t=>t.altKey],Control:[17,t=>t.ctrlKey],Shift:[16,t=>t.shiftKey],Meta:[91,t=>t.metaKey]},jae={style:"cursor: crosshair"};function Nae(t={}){let[e,n]=Vae[t.key||"Alt"],i=cn.fromClass(class{constructor(r){this.view=r,this.isDown=!1}set(r){this.isDown!=r&&(this.isDown=r,this.view.update([]))}},{eventHandlers:{keydown(r){this.set(r.keyCode==e||n(r))},keyup(r){(r.keyCode==e||!n(r))&&this.set(!1)}}});return[i,Ve.contentAttributes.of(r=>{var s;return!((s=r.plugin(i))===null||s===void 0)&&s.isDown?jae:null})]}const nm="-10000px";class Y5{constructor(e,n,i){this.facet=n,this.createTooltipView=i,this.input=e.state.facet(n),this.tooltips=this.input.filter(r=>r),this.tooltipViews=this.tooltips.map(i)}update(e){let n=e.state.facet(this.facet),i=n.filter(s=>s);if(n===this.input){for(let s of this.tooltipViews)s.update&&s.update(e);return!1}let r=[];for(let s=0;s{var e,n,i;return{position:He.ios?"absolute":((e=t.find(r=>r.position))===null||e===void 0?void 0:e.position)||"fixed",parent:((n=t.find(r=>r.parent))===null||n===void 0?void 0:n.parent)||null,tooltipSpace:((i=t.find(r=>r.tooltipSpace))===null||i===void 0?void 0:i.tooltipSpace)||Fae}}}),Z5=cn.fromClass(class{constructor(t){var e;this.view=t,this.inView=!0,this.lastTransaction=0,this.measureTimeout=-1;let n=t.state.facet(im);this.position=n.position,this.parent=n.parent,this.classes=t.themeClasses,this.createContainer(),this.measureReq={read:this.readMeasure.bind(this),write:this.writeMeasure.bind(this),key:this},this.manager=new Y5(t,B$,i=>this.createTooltip(i)),this.intersectionObserver=typeof IntersectionObserver=="function"?new IntersectionObserver(i=>{Date.now()>this.lastTransaction-50&&i.length>0&&i[i.length-1].intersectionRatio<1&&this.measureSoon()},{threshold:[1]}):null,this.observeIntersection(),(e=t.dom.ownerDocument.defaultView)===null||e===void 0||e.addEventListener("resize",this.measureSoon=this.measureSoon.bind(this)),this.maybeMeasure()}createContainer(){this.parent?(this.container=document.createElement("div"),this.container.style.position="relative",this.container.className=this.view.themeClasses,this.parent.appendChild(this.container)):this.container=this.view.dom}observeIntersection(){if(this.intersectionObserver){this.intersectionObserver.disconnect();for(let t of this.manager.tooltipViews)this.intersectionObserver.observe(t.dom)}}measureSoon(){this.measureTimeout<0&&(this.measureTimeout=setTimeout(()=>{this.measureTimeout=-1,this.maybeMeasure()},50))}update(t){t.transactions.length&&(this.lastTransaction=Date.now());let e=this.manager.update(t);e&&this.observeIntersection();let n=e||t.geometryChanged,i=t.state.facet(im);if(i.position!=this.position){this.position=i.position;for(let r of this.manager.tooltipViews)r.dom.style.position=this.position;n=!0}if(i.parent!=this.parent){this.parent&&this.container.remove(),this.parent=i.parent,this.createContainer();for(let r of this.manager.tooltipViews)this.container.appendChild(r.dom);n=!0}else this.parent&&this.view.themeClasses!=this.classes&&(this.classes=this.container.className=this.view.themeClasses);n&&this.maybeMeasure()}createTooltip(t){let e=t.create(this.view);if(e.dom.classList.add("cm-tooltip"),t.arrow&&!e.dom.querySelector(".cm-tooltip > .cm-tooltip-arrow")){let n=document.createElement("div");n.className="cm-tooltip-arrow",e.dom.appendChild(n)}return e.dom.style.position=this.position,e.dom.style.top=nm,this.container.appendChild(e.dom),e.mount&&e.mount(this.view),e}destroy(){var t,e;(t=this.view.dom.ownerDocument.defaultView)===null||t===void 0||t.removeEventListener("resize",this.measureSoon);for(let{dom:n}of this.manager.tooltipViews)n.remove();(e=this.intersectionObserver)===null||e===void 0||e.disconnect(),clearTimeout(this.measureTimeout)}readMeasure(){let t=this.view.dom.getBoundingClientRect();return{editor:t,parent:this.parent?this.container.getBoundingClientRect():t,pos:this.manager.tooltips.map((e,n)=>{let i=this.manager.tooltipViews[n];return i.getCoords?i.getCoords(e.pos):this.view.coordsAtPos(e.pos)}),size:this.manager.tooltipViews.map(({dom:e})=>e.getBoundingClientRect()),space:this.view.state.facet(im).tooltipSpace(this.view)}}writeMeasure(t){let{editor:e,space:n}=t,i=[];for(let r=0;r=Math.min(e.bottom,n.bottom)||l.rightMath.min(e.right,n.right)+.1){a.style.top=nm;continue}let u=s.arrow?o.dom.querySelector(".cm-tooltip-arrow"):null,O=u?7:0,f=c.right-c.left,h=c.bottom-c.top,p=o.offset||Hae,y=this.view.textDirection==sn.LTR,$=c.width>n.right-n.left?y?n.left:n.right-c.width:y?Math.min(l.left-(u?14:0)+p.x,n.right-f):Math.max(n.left,l.left-f+(u?14:0)-p.x),m=!!s.above;!s.strictSide&&(m?l.top-(c.bottom-c.top)-p.yn.bottom)&&m==n.bottom-l.bottom>l.top-n.top&&(m=!m);let d=m?l.top-h-O-p.y:l.bottom+O+p.y,g=$+f;if(o.overlap!==!0)for(let v of i)v.left$&&v.topd&&(d=m?v.top-h-2-O:v.bottom+O+2);this.position=="absolute"?(a.style.top=d-t.parent.top+"px",a.style.left=$-t.parent.left+"px"):(a.style.top=d+"px",a.style.left=$+"px"),u&&(u.style.left=`${l.left+(y?p.x:-p.x)-($+14-7)}px`),o.overlap!==!0&&i.push({left:$,top:d,right:g,bottom:d+h}),a.classList.toggle("cm-tooltip-above",m),a.classList.toggle("cm-tooltip-below",!m),o.positioned&&o.positioned()}}maybeMeasure(){if(this.manager.tooltips.length&&(this.view.inView&&this.view.requestMeasure(this.measureReq),this.inView!=this.view.inView&&(this.inView=this.view.inView,!this.inView)))for(let t of this.manager.tooltipViews)t.dom.style.top=nm}},{eventHandlers:{scroll(){this.maybeMeasure()}}}),Gae=Ve.baseTheme({".cm-tooltip":{zIndex:100},"&light .cm-tooltip":{border:"1px solid #bbb",backgroundColor:"#f5f5f5"},"&light .cm-tooltip-section:not(:first-child)":{borderTop:"1px solid #bbb"},"&dark .cm-tooltip":{backgroundColor:"#333338",color:"white"},".cm-tooltip-arrow":{height:`${7}px`,width:`${7*2}px`,position:"absolute",zIndex:-1,overflow:"hidden","&:before, &:after":{content:"''",position:"absolute",width:0,height:0,borderLeft:`${7}px solid transparent`,borderRight:`${7}px solid transparent`},".cm-tooltip-above &":{bottom:`-${7}px`,"&:before":{borderTop:`${7}px solid #bbb`},"&:after":{borderTop:`${7}px solid #f5f5f5`,bottom:"1px"}},".cm-tooltip-below &":{top:`-${7}px`,"&:before":{borderBottom:`${7}px solid #bbb`},"&:after":{borderBottom:`${7}px solid #f5f5f5`,top:"1px"}}},"&dark .cm-tooltip .cm-tooltip-arrow":{"&:before":{borderTopColor:"#333338",borderBottomColor:"#333338"},"&:after":{borderTopColor:"transparent",borderBottomColor:"transparent"}}}),Hae={x:0,y:0},B$=Ge.define({enables:[Z5,Gae]}),Od=Ge.define();class M${constructor(e){this.view=e,this.mounted=!1,this.dom=document.createElement("div"),this.dom.classList.add("cm-tooltip-hover"),this.manager=new Y5(e,Od,n=>this.createHostedView(n))}static create(e){return new M$(e)}createHostedView(e){let n=e.create(this.view);return n.dom.classList.add("cm-tooltip-section"),this.dom.appendChild(n.dom),this.mounted&&n.mount&&n.mount(this.view),n}mount(e){for(let n of this.manager.tooltipViews)n.mount&&n.mount(e);this.mounted=!0}positioned(){for(let e of this.manager.tooltipViews)e.positioned&&e.positioned()}update(e){this.manager.update(e)}}const Kae=B$.compute([Od],t=>{let e=t.facet(Od).filter(n=>n);return e.length===0?null:{pos:Math.min(...e.map(n=>n.pos)),end:Math.max(...e.filter(n=>n.end!=null).map(n=>n.end)),create:M$.create,above:e[0].above,arrow:e.some(n=>n.arrow)}});class Jae{constructor(e,n,i,r,s){this.view=e,this.source=n,this.field=i,this.setHover=r,this.hoverTime=s,this.hoverTimeout=-1,this.restartTimeout=-1,this.pending=null,this.lastMove={x:0,y:0,target:e.dom,time:0},this.checkHover=this.checkHover.bind(this),e.dom.addEventListener("mouseleave",this.mouseleave=this.mouseleave.bind(this)),e.dom.addEventListener("mousemove",this.mousemove=this.mousemove.bind(this))}update(){this.pending&&(this.pending=null,clearTimeout(this.restartTimeout),this.restartTimeout=setTimeout(()=>this.startHover(),20))}get active(){return this.view.state.field(this.field)}checkHover(){if(this.hoverTimeout=-1,this.active)return;let e=Date.now()-this.lastMove.time;ei.bottom||e.xi.right+this.view.defaultCharacterWidth)return;let r=this.view.bidiSpans(this.view.state.doc.lineAt(n)).find(a=>a.from<=n&&a.to>=n),s=r&&r.dir==sn.RTL?-1:1,o=this.source(this.view,n,e.x{this.pending==a&&(this.pending=null,l&&this.view.dispatch({effects:this.setHover.of(l)}))},l=>zi(this.view.state,l,"hover tooltip"))}else o&&this.view.dispatch({effects:this.setHover.of(o)})}mousemove(e){var n;this.lastMove={x:e.clientX,y:e.clientY,target:e.target,time:Date.now()},this.hoverTimeout<0&&(this.hoverTimeout=setTimeout(this.checkHover,this.hoverTime));let i=this.active;if(i&&!ele(this.lastMove.target)||this.pending){let{pos:r}=i||this.pending,s=(n=i==null?void 0:i.end)!==null&&n!==void 0?n:r;(r==s?this.view.posAtCoords(this.lastMove)!=r:!tle(this.view,r,s,e.clientX,e.clientY,6))&&(this.view.dispatch({effects:this.setHover.of(null)}),this.pending=null)}}mouseleave(){clearTimeout(this.hoverTimeout),this.hoverTimeout=-1,this.active&&this.view.dispatch({effects:this.setHover.of(null)})}destroy(){clearTimeout(this.hoverTimeout),this.view.dom.removeEventListener("mouseleave",this.mouseleave),this.view.dom.removeEventListener("mousemove",this.mousemove)}}function ele(t){for(let e=t;e;e=e.parentNode)if(e.nodeType==1&&e.classList.contains("cm-tooltip"))return!0;return!1}function tle(t,e,n,i,r,s){let o=document.createRange(),a=t.domAtPos(e),l=t.domAtPos(n);o.setEnd(l.node,l.offset),o.setStart(a.node,a.offset);let c=o.getClientRects();o.detach();for(let u=0;uOd.from(r)});return[i,cn.define(r=>new Jae(r,t,i,n,e.hoverTime||300)),Kae]}function ile(t,e){let n=t.plugin(Z5);if(!n)return null;let i=n.manager.tooltips.indexOf(e);return i<0?null:n.manager.tooltipViews[i]}const rle=ut.define(),KS=Ge.define({combine(t){let e,n;for(let i of t)e=e||i.topContainer,n=n||i.bottomContainer;return{topContainer:e,bottomContainer:n}}});function tf(t,e){let n=t.plugin(V5),i=n?n.specs.indexOf(e):-1;return i>-1?n.panels[i]:null}const V5=cn.fromClass(class{constructor(t){this.input=t.state.facet(nf),this.specs=this.input.filter(n=>n),this.panels=this.specs.map(n=>n(t));let e=t.state.facet(KS);this.top=new LO(t,!0,e.topContainer),this.bottom=new LO(t,!1,e.bottomContainer),this.top.sync(this.panels.filter(n=>n.top)),this.bottom.sync(this.panels.filter(n=>!n.top));for(let n of this.panels)n.dom.classList.add("cm-panel"),n.mount&&n.mount()}update(t){let e=t.state.facet(KS);this.top.container!=e.topContainer&&(this.top.sync([]),this.top=new LO(t.view,!0,e.topContainer)),this.bottom.container!=e.bottomContainer&&(this.bottom.sync([]),this.bottom=new LO(t.view,!1,e.bottomContainer)),this.top.syncClasses(),this.bottom.syncClasses();let n=t.state.facet(nf);if(n!=this.input){let i=n.filter(l=>l),r=[],s=[],o=[],a=[];for(let l of i){let c=this.specs.indexOf(l),u;c<0?(u=l(t.view),a.push(u)):(u=this.panels[c],u.update&&u.update(t)),r.push(u),(u.top?s:o).push(u)}this.specs=i,this.panels=r,this.top.sync(s),this.bottom.sync(o);for(let l of a)l.dom.classList.add("cm-panel"),l.mount&&l.mount()}else for(let i of this.panels)i.update&&i.update(t)}destroy(){this.top.sync([]),this.bottom.sync([])}},{provide:t=>Ve.scrollMargins.of(e=>{let n=e.plugin(t);return n&&{top:n.top.scrollMargin(),bottom:n.bottom.scrollMargin()}})});class LO{constructor(e,n,i){this.view=e,this.top=n,this.container=i,this.dom=void 0,this.classes="",this.panels=[],this.syncClasses()}sync(e){for(let n of this.panels)n.destroy&&e.indexOf(n)<0&&n.destroy();this.panels=e,this.syncDOM()}syncDOM(){if(this.panels.length==0){this.dom&&(this.dom.remove(),this.dom=void 0);return}if(!this.dom){this.dom=document.createElement("div"),this.dom.className=this.top?"cm-panels cm-panels-top":"cm-panels cm-panels-bottom",this.dom.style[this.top?"top":"bottom"]="0";let n=this.container||this.view.dom;n.insertBefore(this.dom,this.top?n.firstChild:null)}let e=this.dom.firstChild;for(let n of this.panels)if(n.dom.parentNode==this.dom){for(;e!=n.dom;)e=JS(e);e=e.nextSibling}else this.dom.insertBefore(n.dom,e);for(;e;)e=JS(e)}scrollMargin(){return!this.dom||this.container?0:Math.max(0,this.top?this.dom.getBoundingClientRect().bottom-Math.max(0,this.view.scrollDOM.getBoundingClientRect().top):Math.min(innerHeight,this.view.scrollDOM.getBoundingClientRect().bottom)-this.dom.getBoundingClientRect().top)}syncClasses(){if(!(!this.container||this.classes==this.view.themeClasses)){for(let e of this.classes.split(" "))e&&this.container.classList.remove(e);for(let e of(this.classes=this.view.themeClasses).split(" "))e&&this.container.classList.add(e)}}}function JS(t){let e=t.nextSibling;return t.remove(),e}const nf=Ge.define({enables:V5});class ws extends Pa{compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}eq(e){return!1}destroy(e){}}ws.prototype.elementClass="";ws.prototype.toDOM=void 0;ws.prototype.mapMode=In.TrackBefore;ws.prototype.startSide=ws.prototype.endSide=-1;ws.prototype.point=!0;const Ph=Ge.define(),sle={class:"",renderEmptyElements:!1,elementStyle:"",markers:()=>zt.empty,lineMarker:()=>null,lineMarkerChange:null,initialSpacer:null,updateSpacer:null,domEventHandlers:{}},Su=Ge.define();function ole(t){return[j5(),Su.of(Object.assign(Object.assign({},sle),t))]}const Ev=Ge.define({combine:t=>t.some(e=>e)});function j5(t){let e=[ale];return t&&t.fixed===!1&&e.push(Ev.of(!0)),e}const ale=cn.fromClass(class{constructor(t){this.view=t,this.prevViewport=t.viewport,this.dom=document.createElement("div"),this.dom.className="cm-gutters",this.dom.setAttribute("aria-hidden","true"),this.dom.style.minHeight=this.view.contentHeight+"px",this.gutters=t.state.facet(Su).map(e=>new tw(t,e));for(let e of this.gutters)this.dom.appendChild(e.dom);this.fixed=!t.state.facet(Ev),this.fixed&&(this.dom.style.position="sticky"),this.syncGutters(!1),t.scrollDOM.insertBefore(this.dom,t.contentDOM)}update(t){if(this.updateGutters(t)){let e=this.prevViewport,n=t.view.viewport,i=Math.min(e.to,n.to)-Math.max(e.from,n.from);this.syncGutters(i<(n.to-n.from)*.8)}t.geometryChanged&&(this.dom.style.minHeight=this.view.contentHeight+"px"),this.view.state.facet(Ev)!=!this.fixed&&(this.fixed=!this.fixed,this.dom.style.position=this.fixed?"sticky":""),this.prevViewport=t.view.viewport}syncGutters(t){let e=this.dom.nextSibling;t&&this.dom.remove();let n=zt.iter(this.view.state.facet(Ph),this.view.viewport.from),i=[],r=this.gutters.map(s=>new lle(s,this.view.viewport,-this.view.documentPadding.top));for(let s of this.view.viewportLineBlocks){let o;if(Array.isArray(s.type)){for(let a of s.type)if(a.type==Ft.Text){o=a;break}}else o=s.type==Ft.Text?s:void 0;if(!!o){i.length&&(i=[]),N5(n,i,s.from);for(let a of r)a.line(this.view,o,i)}}for(let s of r)s.finish();t&&this.view.scrollDOM.insertBefore(this.dom,e)}updateGutters(t){let e=t.startState.facet(Su),n=t.state.facet(Su),i=t.docChanged||t.heightChanged||t.viewportChanged||!zt.eq(t.startState.facet(Ph),t.state.facet(Ph),t.view.viewport.from,t.view.viewport.to);if(e==n)for(let r of this.gutters)r.update(t)&&(i=!0);else{i=!0;let r=[];for(let s of n){let o=e.indexOf(s);o<0?r.push(new tw(this.view,s)):(this.gutters[o].update(t),r.push(this.gutters[o]))}for(let s of this.gutters)s.dom.remove(),r.indexOf(s)<0&&s.destroy();for(let s of r)this.dom.appendChild(s.dom);this.gutters=r}return i}destroy(){for(let t of this.gutters)t.destroy();this.dom.remove()}},{provide:t=>Ve.scrollMargins.of(e=>{let n=e.plugin(t);return!n||n.gutters.length==0||!n.fixed?null:e.textDirection==sn.LTR?{left:n.dom.offsetWidth}:{right:n.dom.offsetWidth}})});function ew(t){return Array.isArray(t)?t:[t]}function N5(t,e,n){for(;t.value&&t.from<=n;)t.from==n&&e.push(t.value),t.next()}class lle{constructor(e,n,i){this.gutter=e,this.height=i,this.localMarkers=[],this.i=0,this.cursor=zt.iter(e.markers,n.from)}line(e,n,i){this.localMarkers.length&&(this.localMarkers=[]),N5(this.cursor,this.localMarkers,n.from);let r=i.length?this.localMarkers.concat(i):this.localMarkers,s=this.gutter.config.lineMarker(e,n,r);s&&r.unshift(s);let o=this.gutter;if(r.length==0&&!o.config.renderEmptyElements)return;let a=n.top-this.height;if(this.i==o.elements.length){let l=new F5(e,n.height,a,r);o.elements.push(l),o.dom.appendChild(l.dom)}else o.elements[this.i].update(e,n.height,a,r);this.height=n.bottom,this.i++}finish(){let e=this.gutter;for(;e.elements.length>this.i;){let n=e.elements.pop();e.dom.removeChild(n.dom),n.destroy()}}}class tw{constructor(e,n){this.view=e,this.config=n,this.elements=[],this.spacer=null,this.dom=document.createElement("div"),this.dom.className="cm-gutter"+(this.config.class?" "+this.config.class:"");for(let i in n.domEventHandlers)this.dom.addEventListener(i,r=>{let s=e.lineBlockAtHeight(r.clientY-e.documentTop);n.domEventHandlers[i](e,s,r)&&r.preventDefault()});this.markers=ew(n.markers(e)),n.initialSpacer&&(this.spacer=new F5(e,0,0,[n.initialSpacer(e)]),this.dom.appendChild(this.spacer.dom),this.spacer.dom.style.cssText+="visibility: hidden; pointer-events: none")}update(e){let n=this.markers;if(this.markers=ew(this.config.markers(e.view)),this.spacer&&this.config.updateSpacer){let r=this.config.updateSpacer(this.spacer.markers[0],e);r!=this.spacer.markers[0]&&this.spacer.update(e.view,0,0,[r])}let i=e.view.viewport;return!zt.eq(this.markers,n,i.from,i.to)||(this.config.lineMarkerChange?this.config.lineMarkerChange(e):!1)}destroy(){for(let e of this.elements)e.destroy()}}class F5{constructor(e,n,i,r){this.height=-1,this.above=0,this.markers=[],this.dom=document.createElement("div"),this.dom.className="cm-gutterElement",this.update(e,n,i,r)}update(e,n,i,r){this.height!=n&&(this.dom.style.height=(this.height=n)+"px"),this.above!=i&&(this.dom.style.marginTop=(this.above=i)?i+"px":""),cle(this.markers,r)||this.setMarkers(e,r)}setMarkers(e,n){let i="cm-gutterElement",r=this.dom.firstChild;for(let s=0,o=0;;){let a=o,l=ss(a,l,c)||o(a,l,c):o}return i}})}});class rm extends ws{constructor(e){super(),this.number=e}eq(e){return this.number==e.number}toDOM(){return document.createTextNode(this.number)}}function sm(t,e){return t.state.facet(bl).formatNumber(e,t.state)}const fle=Su.compute([bl],t=>({class:"cm-lineNumbers",renderEmptyElements:!1,markers(e){return e.state.facet(ule)},lineMarker(e,n,i){return i.some(r=>r.toDOM)?null:new rm(sm(e,e.state.doc.lineAt(n.from).number))},lineMarkerChange:e=>e.startState.facet(bl)!=e.state.facet(bl),initialSpacer(e){return new rm(sm(e,nw(e.state.doc.lines)))},updateSpacer(e,n){let i=sm(n.view,nw(n.view.state.doc.lines));return i==e.number?e:new rm(i)},domEventHandlers:t.facet(bl).domEventHandlers}));function Ole(t={}){return[bl.of(t),j5(),fle]}function nw(t){let e=9;for(;e{let e=[],n=-1;for(let i of t.selection.ranges)if(i.empty){let r=t.doc.lineAt(i.head).from;r>n&&(n=r,e.push(hle.range(r)))}return zt.of(e)});function ple(){return dle}const G5=1024;let mle=0;class Gi{constructor(e,n){this.from=e,this.to=n}}class ft{constructor(e={}){this.id=mle++,this.perNode=!!e.perNode,this.deserialize=e.deserialize||(()=>{throw new Error("This node type doesn't define a deserialize function")})}add(e){if(this.perNode)throw new RangeError("Can't add per-node props to node types");return typeof e!="function"&&(e=mn.match(e)),n=>{let i=e(n);return i===void 0?null:[this,i]}}}ft.closedBy=new ft({deserialize:t=>t.split(" ")});ft.openedBy=new ft({deserialize:t=>t.split(" ")});ft.group=new ft({deserialize:t=>t.split(" ")});ft.contextHash=new ft({perNode:!0});ft.lookAhead=new ft({perNode:!0});ft.mounted=new ft({perNode:!0});class gle{constructor(e,n,i){this.tree=e,this.overlay=n,this.parser=i}}const vle=Object.create(null);class mn{constructor(e,n,i,r=0){this.name=e,this.props=n,this.id=i,this.flags=r}static define(e){let n=e.props&&e.props.length?Object.create(null):vle,i=(e.top?1:0)|(e.skipped?2:0)|(e.error?4:0)|(e.name==null?8:0),r=new mn(e.name||"",n,e.id,i);if(e.props){for(let s of e.props)if(Array.isArray(s)||(s=s(r)),s){if(s[0].perNode)throw new RangeError("Can't store a per-node prop on a node type");n[s[0].id]=s[1]}}return r}prop(e){return this.props[e.id]}get isTop(){return(this.flags&1)>0}get isSkipped(){return(this.flags&2)>0}get isError(){return(this.flags&4)>0}get isAnonymous(){return(this.flags&8)>0}is(e){if(typeof e=="string"){if(this.name==e)return!0;let n=this.prop(ft.group);return n?n.indexOf(e)>-1:!1}return this.id==e}static match(e){let n=Object.create(null);for(let i in e)for(let r of i.split(" "))n[r]=e[i];return i=>{for(let r=i.prop(ft.group),s=-1;s<(r?r.length:0);s++){let o=n[s<0?i.name:r[s]];if(o)return o}}}}mn.none=new mn("",Object.create(null),0,8);class wc{constructor(e){this.types=e;for(let n=0;n=r&&(o.type.isAnonymous||n(o)!==!1)){if(o.firstChild())continue;a=!0}for(;a&&i&&!o.type.isAnonymous&&i(o),!o.nextSibling();){if(!o.parent())return;a=!0}}}prop(e){return e.perNode?this.props?this.props[e.id]:void 0:this.type.prop(e)}get propValues(){let e=[];if(this.props)for(let n in this.props)e.push([+n,this.props[n]]);return e}balance(e={}){return this.children.length<=8?this:V$(mn.none,this.children,this.positions,0,this.children.length,0,this.length,(n,i,r)=>new vt(this.type,n,i,r,this.propValues),e.makeTree||((n,i,r)=>new vt(mn.none,n,i,r)))}static build(e){return $le(e)}}vt.empty=new vt(mn.none,[],[],0);class Y${constructor(e,n){this.buffer=e,this.index=n}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new Y$(this.buffer,this.index)}}class Za{constructor(e,n,i){this.buffer=e,this.length=n,this.set=i}get type(){return mn.none}toString(){let e=[];for(let n=0;n0));l=o[l+3]);return a}slice(e,n,i,r){let s=this.buffer,o=new Uint16Array(n-e);for(let a=e,l=0;a=e&&ne;case 1:return n<=e&&i>e;case 2:return i>e;case 4:return!0}}function K5(t,e){let n=t.childBefore(e);for(;n;){let i=n.lastChild;if(!i||i.to!=n.to)break;i.type.isError&&i.from==i.to?(t=n,n=i.prevSibling):n=i}return t}function tc(t,e,n,i){for(var r;t.from==t.to||(n<1?t.from>=e:t.from>e)||(n>-1?t.to<=e:t.to0?a.length:-1;e!=c;e+=n){let u=a[e],O=l[e]+o.from;if(!!H5(r,i,O,O+u.length)){if(u instanceof Za){if(s&en.ExcludeBuffers)continue;let f=u.findChild(0,u.buffer.length,n,i-O,r);if(f>-1)return new Br(new yle(o,u,e,O),null,f)}else if(s&en.IncludeAnonymous||!u.type.isAnonymous||Z$(u)){let f;if(!(s&en.IgnoreMounts)&&u.props&&(f=u.prop(ft.mounted))&&!f.overlay)return new tr(f.tree,O,e,o);let h=new tr(u,O,e,o);return s&en.IncludeAnonymous||!h.type.isAnonymous?h:h.nextChild(n<0?u.children.length-1:0,n,i,r)}}}if(s&en.IncludeAnonymous||!o.type.isAnonymous||(o.index>=0?e=o.index+n:e=n<0?-1:o._parent._tree.children.length,o=o._parent,!o))return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(e){return this.nextChild(0,1,e,2)}childBefore(e){return this.nextChild(this._tree.children.length-1,-1,e,-2)}enter(e,n,i=0){let r;if(!(i&en.IgnoreOverlays)&&(r=this._tree.prop(ft.mounted))&&r.overlay){let s=e-this.from;for(let{from:o,to:a}of r.overlay)if((n>0?o<=s:o=s:a>s))return new tr(r.tree,r.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,e,n,i)}nextSignificantParent(){let e=this;for(;e.type.isAnonymous&&e._parent;)e=e._parent;return e}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}cursor(e=0){return new rf(this,e)}get tree(){return this._tree}toTree(){return this._tree}resolve(e,n=0){return tc(this,e,n,!1)}resolveInner(e,n=0){return tc(this,e,n,!0)}enterUnfinishedNodesBefore(e){return K5(this,e)}getChild(e,n=null,i=null){let r=hd(this,e,n,i);return r.length?r[0]:null}getChildren(e,n=null,i=null){return hd(this,e,n,i)}toString(){return this._tree.toString()}get node(){return this}matchContext(e){return dd(this,e)}}function hd(t,e,n,i){let r=t.cursor(),s=[];if(!r.firstChild())return s;if(n!=null){for(;!r.type.is(n);)if(!r.nextSibling())return s}for(;;){if(i!=null&&r.type.is(i))return s;if(r.type.is(e)&&s.push(r.node),!r.nextSibling())return i==null?s:[]}}function dd(t,e,n=e.length-1){for(let i=t.parent;n>=0;i=i.parent){if(!i)return!1;if(!i.type.isAnonymous){if(e[n]&&e[n]!=i.name)return!1;n--}}return!0}class yle{constructor(e,n,i,r){this.parent=e,this.buffer=n,this.index=i,this.start=r}}class Br{constructor(e,n,i){this.context=e,this._parent=n,this.index=i,this.type=e.buffer.set.types[e.buffer.buffer[i]]}get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}child(e,n,i){let{buffer:r}=this.context,s=r.findChild(this.index+4,r.buffer[this.index+3],e,n-this.context.start,i);return s<0?null:new Br(this.context,this,s)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(e){return this.child(1,e,2)}childBefore(e){return this.child(-1,e,-2)}enter(e,n,i=0){if(i&en.ExcludeBuffers)return null;let{buffer:r}=this.context,s=r.findChild(this.index+4,r.buffer[this.index+3],n>0?1:-1,e-this.context.start,n);return s<0?null:new Br(this.context,this,s)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(e){return this._parent?null:this.context.parent.nextChild(this.context.index+e,e,0,4)}get nextSibling(){let{buffer:e}=this.context,n=e.buffer[this.index+3];return n<(this._parent?e.buffer[this._parent.index+3]:e.buffer.length)?new Br(this.context,this._parent,n):this.externalSibling(1)}get prevSibling(){let{buffer:e}=this.context,n=this._parent?this._parent.index+4:0;return this.index==n?this.externalSibling(-1):new Br(this.context,this._parent,e.findChild(n,this.index,-1,0,4))}cursor(e=0){return new rf(this,e)}get tree(){return null}toTree(){let e=[],n=[],{buffer:i}=this.context,r=this.index+4,s=i.buffer[this.index+3];if(s>r){let o=i.buffer[this.index+1],a=i.buffer[this.index+2];e.push(i.slice(r,s,o,a)),n.push(0)}return new vt(this.type,e,n,this.to-this.from)}resolve(e,n=0){return tc(this,e,n,!1)}resolveInner(e,n=0){return tc(this,e,n,!0)}enterUnfinishedNodesBefore(e){return K5(this,e)}toString(){return this.context.buffer.childString(this.index)}getChild(e,n=null,i=null){let r=hd(this,e,n,i);return r.length?r[0]:null}getChildren(e,n=null,i=null){return hd(this,e,n,i)}get node(){return this}matchContext(e){return dd(this,e)}}class rf{constructor(e,n=0){if(this.mode=n,this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,e instanceof tr)this.yieldNode(e);else{this._tree=e.context.parent,this.buffer=e.context;for(let i=e._parent;i;i=i._parent)this.stack.unshift(i.index);this.bufferNode=e,this.yieldBuf(e.index)}}get name(){return this.type.name}yieldNode(e){return e?(this._tree=e,this.type=e.type,this.from=e.from,this.to=e.to,!0):!1}yieldBuf(e,n){this.index=e;let{start:i,buffer:r}=this.buffer;return this.type=n||r.set.types[r.buffer[e]],this.from=i+r.buffer[e+1],this.to=i+r.buffer[e+2],!0}yield(e){return e?e instanceof tr?(this.buffer=null,this.yieldNode(e)):(this.buffer=e.context,this.yieldBuf(e.index,e.type)):!1}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(e,n,i){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,n,i,this.mode));let{buffer:r}=this.buffer,s=r.findChild(this.index+4,r.buffer[this.index+3],e,n-this.buffer.start,i);return s<0?!1:(this.stack.push(this.index),this.yieldBuf(s))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(e){return this.enterChild(1,e,2)}childBefore(e){return this.enterChild(-1,e,-2)}enter(e,n,i=this.mode){return this.buffer?i&en.ExcludeBuffers?!1:this.enterChild(1,e,n):this.yield(this._tree.enter(e,n,i))}parent(){if(!this.buffer)return this.yieldNode(this.mode&en.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&en.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(e)}sibling(e){if(!this.buffer)return this._tree._parent?this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+e,e,0,4,this.mode)):!1;let{buffer:n}=this.buffer,i=this.stack.length-1;if(e<0){let r=i<0?0:this.stack[i]+4;if(this.index!=r)return this.yieldBuf(n.findChild(r,this.index,-1,0,4))}else{let r=n.buffer[this.index+3];if(r<(i<0?n.buffer.length:n.buffer[this.stack[i]+3]))return this.yieldBuf(r)}return i<0?this.yield(this.buffer.parent.nextChild(this.buffer.index+e,e,0,4,this.mode)):!1}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(e){let n,i,{buffer:r}=this;if(r){if(e>0){if(this.index-1)for(let s=n+e,o=e<0?-1:i._tree.children.length;s!=o;s+=e){let a=i._tree.children[s];if(this.mode&en.IncludeAnonymous||a instanceof Za||!a.type.isAnonymous||Z$(a))return!1}return!0}move(e,n){if(n&&this.enterChild(e,0,4))return!0;for(;;){if(this.sibling(e))return!0;if(this.atLastNode(e)||!this.parent())return!1}}next(e=!0){return this.move(1,e)}prev(e=!0){return this.move(-1,e)}moveTo(e,n=0){for(;(this.from==this.to||(n<1?this.from>=e:this.from>e)||(n>-1?this.to<=e:this.to=0;){for(let o=e;o;o=o._parent)if(o.index==r){if(r==this.index)return o;n=o,i=s+1;break e}r=this.stack[--s]}}for(let r=i;r=0;s--){if(s<0)return dd(this.node,e,r);let o=i[n.buffer[this.stack[s]]];if(!o.isAnonymous){if(e[r]&&e[r]!=o.name)return!1;r--}}return!0}}function Z$(t){return t.children.some(e=>e instanceof Za||!e.type.isAnonymous||Z$(e))}function $le(t){var e;let{buffer:n,nodeSet:i,maxBufferLength:r=G5,reused:s=[],minRepeatType:o=i.types.length}=t,a=Array.isArray(n)?new Y$(n,n.length):n,l=i.types,c=0,u=0;function O(v,b,_,Q,S){let{id:P,start:w,end:x,size:k}=a,C=u;for(;k<0;)if(a.next(),k==-1){let X=s[P];_.push(X),Q.push(w-v);return}else if(k==-3){c=P;return}else if(k==-4){u=P;return}else throw new RangeError(`Unrecognized record size: ${k}`);let T=l[P],E,A,R=w-v;if(x-w<=r&&(A=y(a.pos-b,S))){let X=new Uint16Array(A.size-A.skip),U=a.pos-A.size,V=X.length;for(;a.pos>U;)V=$(A.start,X,V);E=new Za(X,x-A.start,i),R=A.start-v}else{let X=a.pos-k;a.next();let U=[],V=[],j=P>=o?P:-1,Y=0,ee=x;for(;a.pos>X;)j>=0&&a.id==j&&a.size>=0?(a.end<=ee-r&&(h(U,V,w,Y,a.end,ee,j,C),Y=U.length,ee=a.end),a.next()):O(w,X,U,V,j);if(j>=0&&Y>0&&Y-1&&Y>0){let se=f(T);E=V$(T,U,V,0,U.length,0,x-w,se,se)}else E=p(T,U,V,x-w,C-x)}_.push(E),Q.push(R)}function f(v){return(b,_,Q)=>{let S=0,P=b.length-1,w,x;if(P>=0&&(w=b[P])instanceof vt){if(!P&&w.type==v&&w.length==Q)return w;(x=w.prop(ft.lookAhead))&&(S=_[P]+w.length+x)}return p(v,b,_,Q,S)}}function h(v,b,_,Q,S,P,w,x){let k=[],C=[];for(;v.length>Q;)k.push(v.pop()),C.push(b.pop()+_-S);v.push(p(i.types[w],k,C,P-S,x-P)),b.push(S-_)}function p(v,b,_,Q,S=0,P){if(c){let w=[ft.contextHash,c];P=P?[w].concat(P):[w]}if(S>25){let w=[ft.lookAhead,S];P=P?[w].concat(P):[w]}return new vt(v,b,_,Q,P)}function y(v,b){let _=a.fork(),Q=0,S=0,P=0,w=_.end-r,x={size:0,start:0,skip:0};e:for(let k=_.pos-v;_.pos>k;){let C=_.size;if(_.id==b&&C>=0){x.size=Q,x.start=S,x.skip=P,P+=4,Q+=4,_.next();continue}let T=_.pos-C;if(C<0||T=o?4:0,A=_.start;for(_.next();_.pos>T;){if(_.size<0)if(_.size==-3)E+=4;else break e;else _.id>=o&&(E+=4);_.next()}S=A,Q+=C,P+=E}return(b<0||Q==v)&&(x.size=Q,x.start=S,x.skip=P),x.size>4?x:void 0}function $(v,b,_){let{id:Q,start:S,end:P,size:w}=a;if(a.next(),w>=0&&Q4){let k=a.pos-(w-4);for(;a.pos>k;)_=$(v,b,_)}b[--_]=x,b[--_]=P-v,b[--_]=S-v,b[--_]=Q}else w==-3?c=Q:w==-4&&(u=Q);return _}let m=[],d=[];for(;a.pos>0;)O(t.start||0,t.bufferStart||0,m,d,-1);let g=(e=t.length)!==null&&e!==void 0?e:m.length?d[0]+m[0].length:0;return new vt(l[t.topID],m.reverse(),d.reverse(),g)}const rw=new WeakMap;function kh(t,e){if(!t.isAnonymous||e instanceof Za||e.type!=t)return 1;let n=rw.get(e);if(n==null){n=1;for(let i of e.children){if(i.type!=t||!(i instanceof vt)){n=1;break}n+=kh(t,i)}rw.set(e,n)}return n}function V$(t,e,n,i,r,s,o,a,l){let c=0;for(let p=i;p=u)break;_+=Q}if(g==v+1){if(_>u){let Q=p[v];h(Q.children,Q.positions,0,Q.children.length,y[v]+d);continue}O.push(p[v])}else{let Q=y[g-1]+p[g-1].length-b;O.push(V$(t,p,y,v,g,b,Q,null,l))}f.push(b+d-s)}}return h(e,n,i,r,0),(a||l)(O,f,o)}class ble{constructor(){this.map=new WeakMap}setBuffer(e,n,i){let r=this.map.get(e);r||this.map.set(e,r=new Map),r.set(n,i)}getBuffer(e,n){let i=this.map.get(e);return i&&i.get(n)}set(e,n){e instanceof Br?this.setBuffer(e.context.buffer,e.index,n):e instanceof tr&&this.map.set(e.tree,n)}get(e){return e instanceof Br?this.getBuffer(e.context.buffer,e.index):e instanceof tr?this.map.get(e.tree):void 0}cursorSet(e,n){e.buffer?this.setBuffer(e.buffer.buffer,e.index,n):this.map.set(e.tree,n)}cursorGet(e){return e.buffer?this.getBuffer(e.buffer.buffer,e.index):this.map.get(e.tree)}}class gs{constructor(e,n,i,r,s=!1,o=!1){this.from=e,this.to=n,this.tree=i,this.offset=r,this.open=(s?1:0)|(o?2:0)}get openStart(){return(this.open&1)>0}get openEnd(){return(this.open&2)>0}static addTree(e,n=[],i=!1){let r=[new gs(0,e.length,e,0,!1,i)];for(let s of n)s.to>e.length&&r.push(s);return r}static applyChanges(e,n,i=128){if(!n.length)return e;let r=[],s=1,o=e.length?e[0]:null;for(let a=0,l=0,c=0;;a++){let u=a=i)for(;o&&o.from=f.from||O<=f.to||c){let h=Math.max(f.from,l)-c,p=Math.min(f.to,O)-c;f=h>=p?null:new gs(h,p,f.tree,f.offset+c,a>0,!!u)}if(f&&r.push(f),o.to>O)break;o=snew Gi(r.from,r.to)):[new Gi(0,0)]:[new Gi(0,e.length)],this.createParse(e,n||[],i)}parse(e,n,i){let r=this.startParse(e,n,i);for(;;){let s=r.advance();if(s)return s}}}class _le{constructor(e){this.string=e}get length(){return this.string.length}chunk(e){return this.string.slice(e)}get lineChunks(){return!1}read(e,n){return this.string.slice(e,n)}}function j$(t){return(e,n,i,r)=>new Sle(e,t,n,i,r)}class sw{constructor(e,n,i,r,s){this.parser=e,this.parse=n,this.overlay=i,this.target=r,this.ranges=s}}class Qle{constructor(e,n,i,r,s,o,a){this.parser=e,this.predicate=n,this.mounts=i,this.index=r,this.start=s,this.target=o,this.prev=a,this.depth=0,this.ranges=[]}}const Xv=new ft({perNode:!0});class Sle{constructor(e,n,i,r,s){this.nest=n,this.input=i,this.fragments=r,this.ranges=s,this.inner=[],this.innerDone=0,this.baseTree=null,this.stoppedAt=null,this.baseParse=e}advance(){if(this.baseParse){let i=this.baseParse.advance();if(!i)return null;if(this.baseParse=null,this.baseTree=i,this.startInner(),this.stoppedAt!=null)for(let r of this.inner)r.parse.stopAt(this.stoppedAt)}if(this.innerDone==this.inner.length){let i=this.baseTree;return this.stoppedAt!=null&&(i=new vt(i.type,i.children,i.positions,i.length,i.propValues.concat([[Xv,this.stoppedAt]]))),i}let e=this.inner[this.innerDone],n=e.parse.advance();if(n){this.innerDone++;let i=Object.assign(Object.create(null),e.target.props);i[ft.mounted.id]=new gle(n,e.overlay,e.parser),e.target.props=i}return null}get parsedPos(){if(this.baseParse)return 0;let e=this.input.length;for(let n=this.innerDone;nu.frag.from<=r.from&&u.frag.to>=r.to&&u.mount.overlay);if(c)for(let u of c.mount.overlay){let O=u.from+c.pos,f=u.to+c.pos;O>=r.from&&f<=r.to&&!n.ranges.some(h=>h.fromO)&&n.ranges.push({from:O,to:f})}}a=!1}else if(i&&(o=wle(i.ranges,r.from,r.to)))a=o!=2;else if(!r.type.isAnonymous&&r.fromnew Gi(O.from-r.from,O.to-r.from)):null,r.tree,u)),s.overlay?u.length&&(i={ranges:u,depth:0,prev:i}):a=!1}}else n&&(l=n.predicate(r))&&(l===!0&&(l=new Gi(r.from,r.to)),l.fromnew Gi(u.from-n.start,u.to-n.start)),n.target,c)),n=n.prev}i&&!--i.depth&&(i=i.prev)}}}}function wle(t,e,n){for(let i of t){if(i.from>=n)break;if(i.to>e)return i.from<=e&&i.to>=n?2:1}return 0}function ow(t,e,n,i,r,s){if(e=e.to);i++);let o=r.children[i],a=o.buffer;function l(c,u,O,f,h){let p=c;for(;a[p+2]+s<=e.from;)p=a[p+3];let y=[],$=[];ow(o,c,p,y,$,f);let m=a[p+1],d=a[p+2],g=m+s==e.from&&d+s==e.to&&a[p]==e.type.id;return y.push(g?e.toTree():l(p+4,a[p+3],o.set.types[a[p]],m,d-m)),$.push(m-f),ow(o,a[p+3],u,y,$,f),new vt(O,y,$,h)}r.children[i]=l(0,a.length,mn.none,0,o.length);for(let c=0;c<=n;c++)t.childAfter(e.from)}class aw{constructor(e,n){this.offset=n,this.done=!1,this.cursor=e.cursor(en.IncludeAnonymous|en.IgnoreMounts)}moveTo(e){let{cursor:n}=this,i=e-this.offset;for(;!this.done&&n.from=e&&n.enter(i,1,en.IgnoreOverlays|en.ExcludeBuffers)||n.next(!1)||(this.done=!0)}hasNode(e){if(this.moveTo(e.from),!this.done&&this.cursor.from+this.offset==e.from&&this.cursor.tree)for(let n=this.cursor.tree;;){if(n==e.tree)return!0;if(n.children.length&&n.positions[0]==0&&n.children[0]instanceof vt)n=n.children[0];else break}return!1}}class Ple{constructor(e){var n;if(this.fragments=e,this.curTo=0,this.fragI=0,e.length){let i=this.curFrag=e[0];this.curTo=(n=i.tree.prop(Xv))!==null&&n!==void 0?n:i.to,this.inner=new aw(i.tree,-i.offset)}else this.curFrag=this.inner=null}hasNode(e){for(;this.curFrag&&e.from>=this.curTo;)this.nextFrag();return this.curFrag&&this.curFrag.from<=e.from&&this.curTo>=e.to&&this.inner.hasNode(e)}nextFrag(){var e;if(this.fragI++,this.fragI==this.fragments.length)this.curFrag=this.inner=null;else{let n=this.curFrag=this.fragments[this.fragI];this.curTo=(e=n.tree.prop(Xv))!==null&&e!==void 0?e:n.to,this.inner=new aw(n.tree,-n.offset)}}findMounts(e,n){var i;let r=[];if(this.inner){this.inner.cursor.moveTo(e,1);for(let s=this.inner.cursor.node;s;s=s.parent){let o=(i=s.tree)===null||i===void 0?void 0:i.prop(ft.mounted);if(o&&o.parser==n)for(let a=this.fragI;a=s.to)break;l.tree==this.curFrag.tree&&r.push({frag:l,pos:s.from-l.offset,mount:o})}}}return r}}function lw(t,e){let n=null,i=e;for(let r=1,s=0;r=a)break;l.to<=o||(n||(i=n=e.slice()),l.froma&&n.splice(s+1,0,new Gi(a,l.to))):l.to>a?n[s--]=new Gi(a,l.to):n.splice(s--,1))}}return i}function kle(t,e,n,i){let r=0,s=0,o=!1,a=!1,l=-1e9,c=[];for(;;){let u=r==t.length?1e9:o?t[r].to:t[r].from,O=s==e.length?1e9:a?e[s].to:e[s].from;if(o!=a){let f=Math.max(l,n),h=Math.min(u,O,i);fnew Gi(f.from+i,f.to+i)),O=kle(e,u,l,c);for(let f=0,h=l;;f++){let p=f==O.length,y=p?c:O[f].from;if(y>h&&n.push(new gs(h,y,r.tree,-o,s.from>=h,s.to<=y)),p)break;h=O[f].to}}else n.push(new gs(l,c,r.tree,-o,s.from>=o,s.to<=a))}return n}let Cle=0;class $r{constructor(e,n,i){this.set=e,this.base=n,this.modified=i,this.id=Cle++}static define(e){if(e!=null&&e.base)throw new Error("Can not derive from a modified tag");let n=new $r([],null,[]);if(n.set.push(n),e)for(let i of e.set)n.set.push(i);return n}static defineModifier(){let e=new pd;return n=>n.modified.indexOf(e)>-1?n:pd.get(n.base||n,n.modified.concat(e).sort((i,r)=>i.id-r.id))}}let Tle=0;class pd{constructor(){this.instances=[],this.id=Tle++}static get(e,n){if(!n.length)return e;let i=n[0].instances.find(a=>a.base==e&&Rle(n,a.modified));if(i)return i;let r=[],s=new $r(r,e,n);for(let a of n)a.instances.push(s);let o=J5(n);for(let a of e.set)for(let l of o)r.push(pd.get(a,l));return s}}function Rle(t,e){return t.length==e.length&&t.every((n,i)=>n==e[i])}function J5(t){let e=[t];for(let n=0;n0&&O+3==r.length){o=1;break}let f=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(a);if(!f)throw new RangeError("Invalid path: "+r);if(s.push(f[0]=="*"?"":f[0][0]=='"'?JSON.parse(f[0]):f[0]),O+=f[0].length,O==r.length)break;let h=r[O++];if(O==r.length&&h=="!"){o=0;break}if(h!="/")throw new RangeError("Invalid path: "+r);a=r.slice(O)}let l=s.length-1,c=s[l];if(!c)throw new RangeError("Invalid path: "+r);let u=new Ale(i,o,l>0?s.slice(0,l):null);e[c]=u.sort(e[c])}}return eA.add(e)}const eA=new ft;class Ale{constructor(e,n,i,r){this.tags=e,this.mode=n,this.context=i,this.next=r}sort(e){return!e||e.depth{let o=r;for(let a of s)for(let l of a.set){let c=n[l.id];if(c){o=o?o+" "+c:c;break}}return o},scope:i}}function Ele(t,e){let n=null;for(let i of t){let r=i.style(e);r&&(n=n?n+" "+r:r)}return n}function Xle(t,e,n,i=0,r=t.length){let s=new Wle(i,Array.isArray(e)?e:[e],n);s.highlightRange(t.cursor(),i,r,"",s.highlighters),s.flush(r)}class Wle{constructor(e,n,i){this.at=e,this.highlighters=n,this.span=i,this.class=""}startSpan(e,n){n!=this.class&&(this.flush(e),e>this.at&&(this.at=e),this.class=n)}flush(e){e>this.at&&this.class&&this.span(this.at,e,this.class)}highlightRange(e,n,i,r,s){let{type:o,from:a,to:l}=e;if(a>=i||l<=n)return;o.isTop&&(s=this.highlighters.filter(h=>!h.scope||h.scope(o)));let c=r,u=o.prop(eA),O=!1;for(;u;){if(!u.context||e.matchContext(u.context)){let h=Ele(s,u.tags);h&&(c&&(c+=" "),c+=h,u.mode==1?r+=(r?" ":"")+h:u.mode==0&&(O=!0));break}u=u.next}if(this.startSpan(e.from,c),O)return;let f=e.tree&&e.tree.prop(ft.mounted);if(f&&f.overlay){let h=e.node.enter(f.overlay[0].from+a,1),p=this.highlighters.filter($=>!$.scope||$.scope(f.tree.type)),y=e.firstChild();for(let $=0,m=a;;$++){let d=$=g||!e.nextSibling())););if(!d||g>i)break;m=d.to+a,m>n&&(this.highlightRange(h.cursor(),Math.max(n,d.from+a),Math.min(i,m),r,p),this.startSpan(m,c))}y&&e.parent()}else if(e.firstChild()){do if(!(e.to<=n)){if(e.from>=i)break;this.highlightRange(e,n,i,r,s),this.startSpan(Math.min(i,e.to),c)}while(e.nextSibling());e.parent()}}}const Ue=$r.define,MO=Ue(),eo=Ue(),uw=Ue(eo),fw=Ue(eo),to=Ue(),YO=Ue(to),om=Ue(to),qr=Ue(),ea=Ue(qr),zr=Ue(),Ir=Ue(),Wv=Ue(),Uc=Ue(Wv),ZO=Ue(),z={comment:MO,lineComment:Ue(MO),blockComment:Ue(MO),docComment:Ue(MO),name:eo,variableName:Ue(eo),typeName:uw,tagName:Ue(uw),propertyName:fw,attributeName:Ue(fw),className:Ue(eo),labelName:Ue(eo),namespace:Ue(eo),macroName:Ue(eo),literal:to,string:YO,docString:Ue(YO),character:Ue(YO),attributeValue:Ue(YO),number:om,integer:Ue(om),float:Ue(om),bool:Ue(to),regexp:Ue(to),escape:Ue(to),color:Ue(to),url:Ue(to),keyword:zr,self:Ue(zr),null:Ue(zr),atom:Ue(zr),unit:Ue(zr),modifier:Ue(zr),operatorKeyword:Ue(zr),controlKeyword:Ue(zr),definitionKeyword:Ue(zr),moduleKeyword:Ue(zr),operator:Ir,derefOperator:Ue(Ir),arithmeticOperator:Ue(Ir),logicOperator:Ue(Ir),bitwiseOperator:Ue(Ir),compareOperator:Ue(Ir),updateOperator:Ue(Ir),definitionOperator:Ue(Ir),typeOperator:Ue(Ir),controlOperator:Ue(Ir),punctuation:Wv,separator:Ue(Wv),bracket:Uc,angleBracket:Ue(Uc),squareBracket:Ue(Uc),paren:Ue(Uc),brace:Ue(Uc),content:qr,heading:ea,heading1:Ue(ea),heading2:Ue(ea),heading3:Ue(ea),heading4:Ue(ea),heading5:Ue(ea),heading6:Ue(ea),contentSeparator:Ue(qr),list:Ue(qr),quote:Ue(qr),emphasis:Ue(qr),strong:Ue(qr),link:Ue(qr),monospace:Ue(qr),strikethrough:Ue(qr),inserted:Ue(),deleted:Ue(),changed:Ue(),invalid:Ue(),meta:ZO,documentMeta:Ue(ZO),annotation:Ue(ZO),processingInstruction:Ue(ZO),definition:$r.defineModifier(),constant:$r.defineModifier(),function:$r.defineModifier(),standard:$r.defineModifier(),local:$r.defineModifier(),special:$r.defineModifier()};tA([{tag:z.link,class:"tok-link"},{tag:z.heading,class:"tok-heading"},{tag:z.emphasis,class:"tok-emphasis"},{tag:z.strong,class:"tok-strong"},{tag:z.keyword,class:"tok-keyword"},{tag:z.atom,class:"tok-atom"},{tag:z.bool,class:"tok-bool"},{tag:z.url,class:"tok-url"},{tag:z.labelName,class:"tok-labelName"},{tag:z.inserted,class:"tok-inserted"},{tag:z.deleted,class:"tok-deleted"},{tag:z.literal,class:"tok-literal"},{tag:z.string,class:"tok-string"},{tag:z.number,class:"tok-number"},{tag:[z.regexp,z.escape,z.special(z.string)],class:"tok-string2"},{tag:z.variableName,class:"tok-variableName"},{tag:z.local(z.variableName),class:"tok-variableName tok-local"},{tag:z.definition(z.variableName),class:"tok-variableName tok-definition"},{tag:z.special(z.variableName),class:"tok-variableName2"},{tag:z.definition(z.propertyName),class:"tok-propertyName tok-definition"},{tag:z.typeName,class:"tok-typeName"},{tag:z.namespace,class:"tok-namespace"},{tag:z.className,class:"tok-className"},{tag:z.macroName,class:"tok-macroName"},{tag:z.propertyName,class:"tok-propertyName"},{tag:z.operator,class:"tok-operator"},{tag:z.comment,class:"tok-comment"},{tag:z.meta,class:"tok-meta"},{tag:z.invalid,class:"tok-invalid"},{tag:z.punctuation,class:"tok-punctuation"}]);var am;const Ca=new ft;function N$(t){return Ge.define({combine:t?e=>e.concat(t):void 0})}class Ri{constructor(e,n,i=[]){this.data=e,St.prototype.hasOwnProperty("tree")||Object.defineProperty(St.prototype,"tree",{get(){return jt(this)}}),this.parser=n,this.extension=[To.of(this),St.languageData.of((r,s,o)=>r.facet(Ow(r,s,o)))].concat(i)}isActiveAt(e,n,i=-1){return Ow(e,n,i)==this.data}findRegions(e){let n=e.facet(To);if((n==null?void 0:n.data)==this.data)return[{from:0,to:e.doc.length}];if(!n||!n.allowsNesting)return[];let i=[],r=(s,o)=>{if(s.prop(Ca)==this.data){i.push({from:o,to:o+s.length});return}let a=s.prop(ft.mounted);if(a){if(a.tree.prop(Ca)==this.data){if(a.overlay)for(let l of a.overlay)i.push({from:l.from+o,to:l.to+o});else i.push({from:o,to:o+s.length});return}else if(a.overlay){let l=i.length;if(r(a.tree,a.overlay[0].from+o),i.length>l)return}}for(let l=0;li.isTop?n:void 0)]}))}configure(e){return new qi(this.data,this.parser.configure(e))}get allowsNesting(){return this.parser.hasWrappers()}}function jt(t){let e=t.field(Ri.state,!1);return e?e.tree:vt.empty}class zle{constructor(e,n=e.length){this.doc=e,this.length=n,this.cursorPos=0,this.string="",this.cursor=e.iter()}syncTo(e){return this.string=this.cursor.next(e-this.cursorPos).value,this.cursorPos=e+this.string.length,this.cursorPos-this.string.length}chunk(e){return this.syncTo(e),this.string}get lineChunks(){return!0}read(e,n){let i=this.cursorPos-this.string.length;return e=this.cursorPos?this.doc.sliceString(e,n):this.string.slice(e-i,n-i)}}let Dc=null;class Ta{constructor(e,n,i=[],r,s,o,a,l){this.parser=e,this.state=n,this.fragments=i,this.tree=r,this.treeLen=s,this.viewport=o,this.skipped=a,this.scheduleOn=l,this.parse=null,this.tempSkipped=[]}static create(e,n,i){return new Ta(e,n,[],vt.empty,0,i,[],null)}startParse(){return this.parser.startParse(new zle(this.state.doc),this.fragments)}work(e,n){return n!=null&&n>=this.state.doc.length&&(n=void 0),this.tree!=vt.empty&&this.isDone(n!=null?n:this.state.doc.length)?(this.takeTree(),!0):this.withContext(()=>{var i;if(typeof e=="number"){let r=Date.now()+e;e=()=>Date.now()>r}for(this.parse||(this.parse=this.startParse()),n!=null&&(this.parse.stoppedAt==null||this.parse.stoppedAt>n)&&n=this.treeLen&&((this.parse.stoppedAt==null||this.parse.stoppedAt>e)&&this.parse.stopAt(e),this.withContext(()=>{for(;!(n=this.parse.advance()););}),this.treeLen=e,this.tree=n,this.fragments=this.withoutTempSkipped(gs.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(e){let n=Dc;Dc=this;try{return e()}finally{Dc=n}}withoutTempSkipped(e){for(let n;n=this.tempSkipped.pop();)e=hw(e,n.from,n.to);return e}changes(e,n){let{fragments:i,tree:r,treeLen:s,viewport:o,skipped:a}=this;if(this.takeTree(),!e.empty){let l=[];if(e.iterChangedRanges((c,u,O,f)=>l.push({fromA:c,toA:u,fromB:O,toB:f})),i=gs.applyChanges(i,l),r=vt.empty,s=0,o={from:e.mapPos(o.from,-1),to:e.mapPos(o.to,1)},this.skipped.length){a=[];for(let c of this.skipped){let u=e.mapPos(c.from,1),O=e.mapPos(c.to,-1);ue.from&&(this.fragments=hw(this.fragments,r,s),this.skipped.splice(i--,1))}return this.skipped.length>=n?!1:(this.reset(),!0)}reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(e,n){this.skipped.push({from:e,to:n})}static getSkippingParser(e){return new class extends kp{createParse(n,i,r){let s=r[0].from,o=r[r.length-1].to;return{parsedPos:s,advance(){let l=Dc;if(l){for(let c of r)l.tempSkipped.push(c);e&&(l.scheduleOn=l.scheduleOn?Promise.all([l.scheduleOn,e]):e)}return this.parsedPos=o,new vt(mn.none,[],[],o-s)},stoppedAt:null,stopAt(){}}}}}isDone(e){e=Math.min(e,this.state.doc.length);let n=this.fragments;return this.treeLen>=e&&n.length&&n[0].from==0&&n[0].to>=e}static get(){return Dc}}function hw(t,e,n){return gs.applyChanges(t,[{fromA:e,toA:n,fromB:e,toB:n}])}class nc{constructor(e){this.context=e,this.tree=e.tree}apply(e){if(!e.docChanged&&this.tree==this.context.tree)return this;let n=this.context.changes(e.changes,e.state),i=this.context.treeLen==e.startState.doc.length?void 0:Math.max(e.changes.mapPos(this.context.treeLen),n.viewport.to);return n.work(20,i)||n.takeTree(),new nc(n)}static init(e){let n=Math.min(3e3,e.doc.length),i=Ta.create(e.facet(To).parser,e,{from:0,to:n});return i.work(20,n)||i.takeTree(),new nc(i)}}Ri.state=Rn.define({create:nc.init,update(t,e){for(let n of e.effects)if(n.is(Ri.setState))return n.value;return e.startState.facet(To)!=e.state.facet(To)?nc.init(e.state):t.apply(e)}});let nA=t=>{let e=setTimeout(()=>t(),500);return()=>clearTimeout(e)};typeof requestIdleCallback!="undefined"&&(nA=t=>{let e=-1,n=setTimeout(()=>{e=requestIdleCallback(t,{timeout:500-100})},100);return()=>e<0?clearTimeout(n):cancelIdleCallback(e)});const lm=typeof navigator!="undefined"&&((am=navigator.scheduling)===null||am===void 0?void 0:am.isInputPending)?()=>navigator.scheduling.isInputPending():null,Ile=cn.fromClass(class{constructor(e){this.view=e,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(e){let n=this.view.state.field(Ri.state).context;(n.updateViewport(e.view.viewport)||this.view.viewport.to>n.treeLen)&&this.scheduleWork(),e.docChanged&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(n)}scheduleWork(){if(this.working)return;let{state:e}=this.view,n=e.field(Ri.state);(n.tree!=n.context.tree||!n.context.isDone(e.doc.length))&&(this.working=nA(this.work))}work(e){this.working=null;let n=Date.now();if(this.chunkEndr+1e3,l=s.context.work(()=>lm&&lm()||Date.now()>o,r+(a?0:1e5));this.chunkBudget-=Date.now()-n,(l||this.chunkBudget<=0)&&(s.context.takeTree(),this.view.dispatch({effects:Ri.setState.of(new nc(s.context))})),this.chunkBudget>0&&!(l&&!a)&&this.scheduleWork(),this.checkAsyncSchedule(s.context)}checkAsyncSchedule(e){e.scheduleOn&&(this.workScheduled++,e.scheduleOn.then(()=>this.scheduleWork()).catch(n=>zi(this.view.state,n)).then(()=>this.workScheduled--),e.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),To=Ge.define({combine(t){return t.length?t[0]:null},enables:[Ri.state,Ile]});class sr{constructor(e,n=[]){this.language=e,this.support=n,this.extension=[e,n]}}class md{constructor(e,n,i,r,s,o=void 0){this.name=e,this.alias=n,this.extensions=i,this.filename=r,this.loadFunc=s,this.support=o,this.loading=null}load(){return this.loading||(this.loading=this.loadFunc().then(e=>this.support=e,e=>{throw this.loading=null,e}))}static of(e){let{load:n,support:i}=e;if(!n){if(!i)throw new RangeError("Must pass either 'load' or 'support' to LanguageDescription.of");n=()=>Promise.resolve(i)}return new md(e.name,(e.alias||[]).concat(e.name).map(r=>r.toLowerCase()),e.extensions||[],e.filename,n,i)}static matchFilename(e,n){for(let r of e)if(r.filename&&r.filename.test(n))return r;let i=/\.([^.]+)$/.exec(n);if(i){for(let r of e)if(r.extensions.indexOf(i[1])>-1)return r}return null}static matchLanguageName(e,n,i=!0){n=n.toLowerCase();for(let r of e)if(r.alias.some(s=>s==n))return r;if(i)for(let r of e)for(let s of r.alias){let o=n.indexOf(s);if(o>-1&&(s.length>2||!/\w/.test(n[o-1])&&!/\w/.test(n[o+s.length])))return r}return null}}const iA=Ge.define(),Cf=Ge.define({combine:t=>{if(!t.length)return" ";if(!/^(?: +|\t+)$/.test(t[0]))throw new Error("Invalid indent unit: "+JSON.stringify(t[0]));return t[0]}});function Ra(t){let e=t.facet(Cf);return e.charCodeAt(0)==9?t.tabSize*e.length:e.length}function sf(t,e){let n="",i=t.tabSize;if(t.facet(Cf).charCodeAt(0)==9)for(;e>=i;)n+=" ",e-=i;for(let r=0;r=i.from&&r<=i.to?s&&r==e?{text:"",from:e}:(n<0?r-1&&(s+=o-this.countColumn(i,i.search(/\S|$/))),s}countColumn(e,n=e.length){return Pf(e,this.state.tabSize,n)}lineIndent(e,n=1){let{text:i,from:r}=this.lineAt(e,n),s=this.options.overrideIndentation;if(s){let o=s(r);if(o>-1)return o}return this.countColumn(i,i.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}}const or=new ft;function qle(t,e,n){return rA(e.resolveInner(n).enterUnfinishedNodesBefore(n),n,t)}function Ule(t){return t.pos==t.options.simulateBreak&&t.options.simulateDoubleBreak}function Dle(t){let e=t.type.prop(or);if(e)return e;let n=t.firstChild,i;if(n&&(i=n.type.prop(ft.closedBy))){let r=t.lastChild,s=r&&i.indexOf(r.name)>-1;return o=>sA(o,!0,1,void 0,s&&!Ule(o)?r.from:void 0)}return t.parent==null?Lle:null}function rA(t,e,n){for(;t;t=t.parent){let i=Dle(t);if(i)return i(G$.create(n,e,t))}return null}function Lle(){return 0}class G$ extends Cp{constructor(e,n,i){super(e.state,e.options),this.base=e,this.pos=n,this.node=i}static create(e,n,i){return new G$(e,n,i)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){let e=this.state.doc.lineAt(this.node.from);for(;;){let n=this.node.resolve(e.from);for(;n.parent&&n.parent.from==n.from;)n=n.parent;if(Ble(n,this.node))break;e=this.state.doc.lineAt(n.from)}return this.lineIndent(e.from)}continue(){let e=this.node.parent;return e?rA(e,this.pos,this.base):0}}function Ble(t,e){for(let n=e;n;n=n.parent)if(t==n)return!0;return!1}function Mle(t){let e=t.node,n=e.childAfter(e.from),i=e.lastChild;if(!n)return null;let r=t.options.simulateBreak,s=t.state.doc.lineAt(n.from),o=r==null||r<=s.from?s.to:Math.min(s.to,r);for(let a=n.to;;){let l=e.childAfter(a);if(!l||l==i)return null;if(!l.type.isSkipped)return l.fromsA(i,e,n,t)}function sA(t,e,n,i,r){let s=t.textAfter,o=s.match(/^\s*/)[0].length,a=i&&s.slice(o,o+i.length)==i||r==t.pos+o,l=e?Mle(t):null;return l?a?t.column(l.from):t.column(l.to):t.baseIndent+(a?0:t.unit*n)}const H$=t=>t.baseIndent;function Nn({except:t,units:e=1}={}){return n=>{let i=t&&t.test(n.textAfter);return n.baseIndent+(i?0:e*n.unit)}}const Yle=200;function Zle(){return St.transactionFilter.of(t=>{if(!t.docChanged||!t.isUserEvent("input.type")&&!t.isUserEvent("input.complete"))return t;let e=t.startState.languageDataAt("indentOnInput",t.startState.selection.main.head);if(!e.length)return t;let n=t.newDoc,{head:i}=t.newSelection.main,r=n.lineAt(i);if(i>r.from+Yle)return t;let s=n.sliceString(r.from,i);if(!e.some(c=>c.test(s)))return t;let{state:o}=t,a=-1,l=[];for(let{head:c}of o.selection.ranges){let u=o.doc.lineAt(c);if(u.from==a)continue;a=u.from;let O=F$(o,u.from);if(O==null)continue;let f=/^\s*/.exec(u.text)[0],h=sf(o,O);f!=h&&l.push({from:u.from,to:u.from+f.length,insert:h})}return l.length?[t,{changes:l,sequential:!0}]:t})}const Vle=Ge.define(),ar=new ft;function Va(t){let e=t.firstChild,n=t.lastChild;return e&&e.ton)continue;if(s&&o.from=e&&l.to>n&&(s=l)}}return s}function Nle(t){let e=t.lastChild;return e&&e.to==t.to&&e.type.isError}function gd(t,e,n){for(let i of t.facet(Vle)){let r=i(t,e,n);if(r)return r}return jle(t,e,n)}function oA(t,e){let n=e.mapPos(t.from,1),i=e.mapPos(t.to,-1);return n>=i?void 0:{from:n,to:i}}const Tp=ut.define({map:oA}),Tf=ut.define({map:oA});function aA(t){let e=[];for(let{head:n}of t.state.selection.ranges)e.some(i=>i.from<=n&&i.to>=n)||e.push(t.lineBlockAt(n));return e}const Aa=Rn.define({create(){return je.none},update(t,e){t=t.map(e.changes);for(let n of e.effects)n.is(Tp)&&!Fle(t,n.value.from,n.value.to)?t=t.update({add:[dw.range(n.value.from,n.value.to)]}):n.is(Tf)&&(t=t.update({filter:(i,r)=>n.value.from!=i||n.value.to!=r,filterFrom:n.value.from,filterTo:n.value.to}));if(e.selection){let n=!1,{head:i}=e.selection.main;t.between(i,i,(r,s)=>{ri&&(n=!0)}),n&&(t=t.update({filterFrom:i,filterTo:i,filter:(r,s)=>s<=i||r>=i}))}return t},provide:t=>Ve.decorations.from(t),toJSON(t,e){let n=[];return t.between(0,e.doc.length,(i,r)=>{n.push(i,r)}),n},fromJSON(t){if(!Array.isArray(t)||t.length%2)throw new RangeError("Invalid JSON for fold state");let e=[];for(let n=0;n{(!r||r.from>s)&&(r={from:s,to:o})}),r}function Fle(t,e,n){let i=!1;return t.between(e,e,(r,s)=>{r==e&&s==n&&(i=!0)}),i}function lA(t,e){return t.field(Aa,!1)?e:e.concat(ut.appendConfig.of(fA()))}const Gle=t=>{for(let e of aA(t)){let n=gd(t.state,e.from,e.to);if(n)return t.dispatch({effects:lA(t.state,[Tp.of(n),cA(t,n)])}),!0}return!1},Hle=t=>{if(!t.state.field(Aa,!1))return!1;let e=[];for(let n of aA(t)){let i=vd(t.state,n.from,n.to);i&&e.push(Tf.of(i),cA(t,i,!1))}return e.length&&t.dispatch({effects:e}),e.length>0};function cA(t,e,n=!0){let i=t.state.doc.lineAt(e.from).number,r=t.state.doc.lineAt(e.to).number;return Ve.announce.of(`${t.state.phrase(n?"Folded lines":"Unfolded lines")} ${i} ${t.state.phrase("to")} ${r}.`)}const Kle=t=>{let{state:e}=t,n=[];for(let i=0;i{let e=t.state.field(Aa,!1);if(!e||!e.size)return!1;let n=[];return e.between(0,t.state.doc.length,(i,r)=>{n.push(Tf.of({from:i,to:r}))}),t.dispatch({effects:n}),!0},ece=[{key:"Ctrl-Shift-[",mac:"Cmd-Alt-[",run:Gle},{key:"Ctrl-Shift-]",mac:"Cmd-Alt-]",run:Hle},{key:"Ctrl-Alt-[",run:Kle},{key:"Ctrl-Alt-]",run:Jle}],tce={placeholderDOM:null,placeholderText:"\u2026"},uA=Ge.define({combine(t){return As(t,tce)}});function fA(t){let e=[Aa,rce];return t&&e.push(uA.of(t)),e}const dw=je.replace({widget:new class extends ns{toDOM(t){let{state:e}=t,n=e.facet(uA),i=s=>{let o=t.lineBlockAt(t.posAtDOM(s.target)),a=vd(t.state,o.from,o.to);a&&t.dispatch({effects:Tf.of(a)}),s.preventDefault()};if(n.placeholderDOM)return n.placeholderDOM(t,i);let r=document.createElement("span");return r.textContent=n.placeholderText,r.setAttribute("aria-label",e.phrase("folded code")),r.title=e.phrase("unfold"),r.className="cm-foldPlaceholder",r.onclick=i,r}}}),nce={openText:"\u2304",closedText:"\u203A",markerDOM:null,domEventHandlers:{},foldingChanged:()=>!1};class cm extends ws{constructor(e,n){super(),this.config=e,this.open=n}eq(e){return this.config==e.config&&this.open==e.open}toDOM(e){if(this.config.markerDOM)return this.config.markerDOM(this.open);let n=document.createElement("span");return n.textContent=this.open?this.config.openText:this.config.closedText,n.title=e.state.phrase(this.open?"Fold line":"Unfold line"),n}}function ice(t={}){let e=Object.assign(Object.assign({},nce),t),n=new cm(e,!0),i=new cm(e,!1),r=cn.fromClass(class{constructor(o){this.from=o.viewport.from,this.markers=this.buildMarkers(o)}update(o){(o.docChanged||o.viewportChanged||o.startState.facet(To)!=o.state.facet(To)||o.startState.field(Aa,!1)!=o.state.field(Aa,!1)||jt(o.startState)!=jt(o.state)||e.foldingChanged(o))&&(this.markers=this.buildMarkers(o.view))}buildMarkers(o){let a=new xo;for(let l of o.viewportLineBlocks){let c=vd(o.state,l.from,l.to)?i:gd(o.state,l.from,l.to)?n:null;c&&a.add(l.from,l.from,c)}return a.finish()}}),{domEventHandlers:s}=e;return[r,ole({class:"cm-foldGutter",markers(o){var a;return((a=o.plugin(r))===null||a===void 0?void 0:a.markers)||zt.empty},initialSpacer(){return new cm(e,!1)},domEventHandlers:Object.assign(Object.assign({},s),{click:(o,a,l)=>{if(s.click&&s.click(o,a,l))return!0;let c=vd(o.state,a.from,a.to);if(c)return o.dispatch({effects:Tf.of(c)}),!0;let u=gd(o.state,a.from,a.to);return u?(o.dispatch({effects:Tp.of(u)}),!0):!1}})}),fA()]}const rce=Ve.baseTheme({".cm-foldPlaceholder":{backgroundColor:"#eee",border:"1px solid #ddd",color:"#888",borderRadius:".2em",margin:"0 1px",padding:"0 1px",cursor:"pointer"},".cm-foldGutter span":{padding:"0 1px",cursor:"pointer"}});class Rf{constructor(e,n){let i;function r(a){let l=Po.newName();return(i||(i=Object.create(null)))["."+l]=a,l}const s=typeof n.all=="string"?n.all:n.all?r(n.all):void 0,o=n.scope;this.scope=o instanceof Ri?a=>a.prop(Ca)==o.data:o?a=>a==o:void 0,this.style=tA(e.map(a=>({tag:a.tag,class:a.class||r(Object.assign({},a,{tag:null}))})),{all:s}).style,this.module=i?new Po(i):null,this.themeType=n.themeType}static define(e,n){return new Rf(e,n||{})}}const zv=Ge.define(),OA=Ge.define({combine(t){return t.length?[t[0]]:null}});function um(t){let e=t.facet(zv);return e.length?e:t.facet(OA)}function hA(t,e){let n=[oce],i;return t instanceof Rf&&(t.module&&n.push(Ve.styleModule.of(t.module)),i=t.themeType),e!=null&&e.fallback?n.push(OA.of(t)):i?n.push(zv.computeN([Ve.darkTheme],r=>r.facet(Ve.darkTheme)==(i=="dark")?[t]:[])):n.push(zv.of(t)),n}class sce{constructor(e){this.markCache=Object.create(null),this.tree=jt(e.state),this.decorations=this.buildDeco(e,um(e.state))}update(e){let n=jt(e.state),i=um(e.state),r=i!=um(e.startState);n.length{i.add(o,a,this.markCache[l]||(this.markCache[l]=je.mark({class:l})))},r,s);return i.finish()}}const oce=qo.high(cn.fromClass(sce,{decorations:t=>t.decorations})),ace=Rf.define([{tag:z.meta,color:"#7a757a"},{tag:z.link,textDecoration:"underline"},{tag:z.heading,textDecoration:"underline",fontWeight:"bold"},{tag:z.emphasis,fontStyle:"italic"},{tag:z.strong,fontWeight:"bold"},{tag:z.strikethrough,textDecoration:"line-through"},{tag:z.keyword,color:"#708"},{tag:[z.atom,z.bool,z.url,z.contentSeparator,z.labelName],color:"#219"},{tag:[z.literal,z.inserted],color:"#164"},{tag:[z.string,z.deleted],color:"#a11"},{tag:[z.regexp,z.escape,z.special(z.string)],color:"#e40"},{tag:z.definition(z.variableName),color:"#00f"},{tag:z.local(z.variableName),color:"#30a"},{tag:[z.typeName,z.namespace],color:"#085"},{tag:z.className,color:"#167"},{tag:[z.special(z.variableName),z.macroName],color:"#256"},{tag:z.definition(z.propertyName),color:"#00c"},{tag:z.comment,color:"#940"},{tag:z.invalid,color:"#f00"}]),lce=Ve.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),dA=1e4,pA="()[]{}",mA=Ge.define({combine(t){return As(t,{afterCursor:!0,brackets:pA,maxScanDistance:dA,renderMatch:fce})}}),cce=je.mark({class:"cm-matchingBracket"}),uce=je.mark({class:"cm-nonmatchingBracket"});function fce(t){let e=[],n=t.matched?cce:uce;return e.push(n.range(t.start.from,t.start.to)),t.end&&e.push(n.range(t.end.from,t.end.to)),e}const Oce=Rn.define({create(){return je.none},update(t,e){if(!e.docChanged&&!e.selection)return t;let n=[],i=e.state.facet(mA);for(let r of e.state.selection.ranges){if(!r.empty)continue;let s=Mr(e.state,r.head,-1,i)||r.head>0&&Mr(e.state,r.head-1,1,i)||i.afterCursor&&(Mr(e.state,r.head,1,i)||r.headVe.decorations.from(t)}),hce=[Oce,lce];function dce(t={}){return[mA.of(t),hce]}function Iv(t,e,n){let i=t.prop(e<0?ft.openedBy:ft.closedBy);if(i)return i;if(t.name.length==1){let r=n.indexOf(t.name);if(r>-1&&r%2==(e<0?1:0))return[n[r+e]]}return null}function Mr(t,e,n,i={}){let r=i.maxScanDistance||dA,s=i.brackets||pA,o=jt(t),a=o.resolveInner(e,n);for(let l=a;l;l=l.parent){let c=Iv(l.type,n,s);if(c&&l.from=i.to){if(l==0&&r.indexOf(c.type.name)>-1&&c.from0)return null;let c={from:n<0?e-1:e,to:n>0?e+1:e},u=t.doc.iterRange(e,n>0?t.doc.length:0),O=0;for(let f=0;!u.next().done&&f<=s;){let h=u.value;n<0&&(f+=h.length);let p=e+f*n;for(let y=n>0?0:h.length-1,$=n>0?h.length:-1;y!=$;y+=n){let m=o.indexOf(h[y]);if(!(m<0||i.resolveInner(p+y,1).type!=r))if(m%2==0==n>0)O++;else{if(O==1)return{start:c,end:{from:p+y,to:p+y+1},matched:m>>1==l>>1};O--}}n>0&&(f+=h.length)}return u.done?{start:c,matched:!1}:null}function pw(t,e,n,i=0,r=0){e==null&&(e=t.search(/[^\s\u00a0]/),e==-1&&(e=t.length));let s=r;for(let o=i;o=this.string.length}sol(){return this.pos==0}peek(){return this.string.charAt(this.pos)||void 0}next(){if(this.posn}eatSpace(){let e=this.pos;for(;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e}skipToEnd(){this.pos=this.string.length}skipTo(e){let n=this.string.indexOf(e,this.pos);if(n>-1)return this.pos=n,!0}backUp(e){this.pos-=e}column(){return this.lastColumnPosi?o.toLowerCase():o,s=this.string.substr(this.pos,e.length);return r(s)==r(e)?(n!==!1&&(this.pos+=e.length),!0):null}else{let r=this.string.slice(this.pos).match(e);return r&&r.index>0?null:(r&&n!==!1&&(this.pos+=r[0].length),r)}}current(){return this.string.slice(this.start,this.pos)}}function gce(t){return{token:t.token,blankLine:t.blankLine||(()=>{}),startState:t.startState||(()=>!0),copyState:t.copyState||vce,indent:t.indent||(()=>null),languageData:t.languageData||{},tokenTable:t.tokenTable||J$}}function vce(t){if(typeof t!="object")return t;let e={};for(let n in t){let i=t[n];e[n]=i instanceof Array?i.slice():i}return e}class Vi extends Ri{constructor(e){let n=N$(e.languageData),i=gce(e),r,s=new class extends kp{createParse(o,a,l){return new $ce(r,o,a,l)}};super(n,s,[iA.of((o,a)=>this.getIndent(o,a))]),this.topNode=Qce(n),r=this,this.streamParser=i,this.stateAfter=new ft({perNode:!0}),this.tokenTable=e.tokenTable?new bA(i.tokenTable):_ce}static define(e){return new Vi(e)}getIndent(e,n){let i=jt(e.state),r=i.resolve(n);for(;r&&r.type!=this.topNode;)r=r.parent;if(!r)return null;let s=K$(this,i,0,r.from,n),o,a;if(s?(a=s.state,o=s.pos+1):(a=this.streamParser.startState(e.unit),o=0),n-o>1e4)return null;for(;o=i&&n+e.length<=r&&e.prop(t.stateAfter);if(s)return{state:t.streamParser.copyState(s),pos:n+e.length};for(let o=e.children.length-1;o>=0;o--){let a=e.children[o],l=n+e.positions[o],c=a instanceof vt&&l=e.length)return e;!r&&e.type==t.topNode&&(r=!0);for(let s=e.children.length-1;s>=0;s--){let o=e.positions[s],a=e.children[s],l;if(on&&K$(t,r.tree,0-r.offset,n,o),l;if(a&&(l=vA(t,r.tree,n+r.offset,a.pos+r.offset,!1)))return{state:a.state,tree:l}}return{state:t.streamParser.startState(i?Ra(i):4),tree:vt.empty}}class $ce{constructor(e,n,i,r){this.lang=e,this.input=n,this.fragments=i,this.ranges=r,this.stoppedAt=null,this.chunks=[],this.chunkPos=[],this.chunk=[],this.chunkReused=void 0,this.rangeIndex=0,this.to=r[r.length-1].to;let s=Ta.get(),o=r[0].from,{state:a,tree:l}=yce(e,i,o,s==null?void 0:s.state);this.state=a,this.parsedPos=this.chunkStart=o+l.length;for(let c=0;c=n?this.finish():e&&this.parsedPos>=e.viewport.to?(e.skipUntilInView(this.parsedPos,n),this.finish()):null}stopAt(e){this.stoppedAt=e}lineAfter(e){let n=this.input.chunk(e);if(this.input.lineChunks)n==` -`&&(n="");else{let i=n.indexOf(` -`);i>-1&&(n=n.slice(0,i))}return e+n.length<=this.to?n:n.slice(0,this.to-e)}nextLine(){let e=this.parsedPos,n=this.lineAfter(e),i=e+n.length;for(let r=this.rangeIndex;;){let s=this.ranges[r].to;if(s>=i||(n=n.slice(0,s-(i-n.length)),r++,r==this.ranges.length))break;let o=this.ranges[r].from,a=this.lineAfter(o);n+=a,i=o+a.length}return{line:n,end:i}}skipGapsTo(e,n,i){for(;;){let r=this.ranges[this.rangeIndex].to,s=e+n;if(i>0?r>s:r>=s)break;n+=this.ranges[++this.rangeIndex].from-r}return n}moveRangeIndex(){for(;this.ranges[this.rangeIndex].to1){s=this.skipGapsTo(n,s,1),n+=s;let o=this.chunk.length;s=this.skipGapsTo(i,s,-1),i+=s,r+=this.chunk.length-o}return this.chunk.push(e,n,i,r),s}parseLine(e){let{line:n,end:i}=this.nextLine(),r=0,{streamParser:s}=this.lang,o=new gA(n,e?e.state.tabSize:4,e?Ra(e.state):2);if(o.eol())s.blankLine(this.state,o.indentUnit);else for(;!o.eol();){let a=yA(s.token,o,this.state);if(a&&(r=this.emitToken(this.lang.tokenTable.resolve(a),this.parsedPos+o.start,this.parsedPos+o.pos,4,r)),o.start>1e4)break}this.parsedPos=i,this.moveRangeIndex(),this.parsedPose.start)return r}throw new Error("Stream parser failed to advance stream.")}const J$=Object.create(null),of=[mn.none],bce=new wc(of),mw=[],$A=Object.create(null);for(let[t,e]of[["variable","variableName"],["variable-2","variableName.special"],["string-2","string.special"],["def","variableName.definition"],["tag","tagName"],["attribute","attributeName"],["type","typeName"],["builtin","variableName.standard"],["qualifier","modifier"],["error","invalid"],["header","heading"],["property","propertyName"]])$A[t]=_A(J$,e);class bA{constructor(e){this.extra=e,this.table=Object.assign(Object.create(null),$A)}resolve(e){return e?this.table[e]||(this.table[e]=_A(this.extra,e)):0}}const _ce=new bA(J$);function fm(t,e){mw.indexOf(t)>-1||(mw.push(t),console.warn(e))}function _A(t,e){let n=null;for(let s of e.split(".")){let o=t[s]||z[s];o?typeof o=="function"?n?n=o(n):fm(s,`Modifier ${s} used at start of tag`):n?fm(s,`Tag ${s} used as modifier`):n=o:fm(s,`Unknown highlighting tag ${s}`)}if(!n)return 0;let i=e.replace(/ /g,"_"),r=mn.define({id:of.length,name:i,props:[Li({[i]:n})]});return of.push(r),r.id}function Qce(t){let e=mn.define({id:of.length,name:"Document",props:[Ca.add(()=>t)]});return of.push(e),e}const Sce=t=>{let e=t1(t.state);return e.line?wce(t):e.block?Pce(t):!1};function e1(t,e){return({state:n,dispatch:i})=>{if(n.readOnly)return!1;let r=t(e,n);return r?(i(n.update(r)),!0):!1}}const wce=e1(Tce,0),xce=e1(QA,0),Pce=e1((t,e)=>QA(t,e,Cce(e)),0);function t1(t,e=t.selection.main.head){let n=t.languageDataAt("commentTokens",e);return n.length?n[0]:{}}const Lc=50;function kce(t,{open:e,close:n},i,r){let s=t.sliceDoc(i-Lc,i),o=t.sliceDoc(r,r+Lc),a=/\s*$/.exec(s)[0].length,l=/^\s*/.exec(o)[0].length,c=s.length-a;if(s.slice(c-e.length,c)==e&&o.slice(l,l+n.length)==n)return{open:{pos:i-a,margin:a&&1},close:{pos:r+l,margin:l&&1}};let u,O;r-i<=2*Lc?u=O=t.sliceDoc(i,r):(u=t.sliceDoc(i,i+Lc),O=t.sliceDoc(r-Lc,r));let f=/^\s*/.exec(u)[0].length,h=/\s*$/.exec(O)[0].length,p=O.length-h-n.length;return u.slice(f,f+e.length)==e&&O.slice(p,p+n.length)==n?{open:{pos:i+f+e.length,margin:/\s/.test(u.charAt(f+e.length))?1:0},close:{pos:r-h-n.length,margin:/\s/.test(O.charAt(p-1))?1:0}}:null}function Cce(t){let e=[];for(let n of t.selection.ranges){let i=t.doc.lineAt(n.from),r=n.to<=i.to?i:t.doc.lineAt(n.to),s=e.length-1;s>=0&&e[s].to>i.from?e[s].to=r.to:e.push({from:i.from,to:r.to})}return e}function QA(t,e,n=e.selection.ranges){let i=n.map(s=>t1(e,s.from).block);if(!i.every(s=>s))return null;let r=n.map((s,o)=>kce(e,i[o],s.from,s.to));if(t!=2&&!r.every(s=>s))return{changes:e.changes(n.map((s,o)=>r[o]?[]:[{from:s.from,insert:i[o].open+" "},{from:s.to,insert:" "+i[o].close}]))};if(t!=1&&r.some(s=>s)){let s=[];for(let o=0,a;or&&(s==o||o>u.from)){r=u.from;let O=t1(e,c).line;if(!O)continue;let f=/^\s*/.exec(u.text)[0].length,h=f==u.length,p=u.text.slice(f,f+O.length)==O?f:-1;fs.comment<0&&(!s.empty||s.single))){let s=[];for(let{line:a,token:l,indent:c,empty:u,single:O}of i)(O||!u)&&s.push({from:a.from+c,insert:l+" "});let o=e.changes(s);return{changes:o,selection:e.selection.map(o,1)}}else if(t!=1&&i.some(s=>s.comment>=0)){let s=[];for(let{line:o,comment:a,token:l}of i)if(a>=0){let c=o.from+a,u=c+l.length;o.text[u-o.from]==" "&&u++,s.push({from:c,to:u})}return{changes:s}}return null}const qv=Ya.define(),Rce=Ya.define(),Ace=Ge.define(),SA=Ge.define({combine(t){return As(t,{minDepth:100,newGroupDelay:500},{minDepth:Math.max,newGroupDelay:Math.min})}});function Ece(t){let e=0;return t.iterChangedRanges((n,i)=>e=i),e}const wA=Rn.define({create(){return Yr.empty},update(t,e){let n=e.state.facet(SA),i=e.annotation(qv);if(i){let l=e.docChanged?we.single(Ece(e.changes)):void 0,c=ui.fromTransaction(e,l),u=i.side,O=u==0?t.undone:t.done;return c?O=yd(O,O.length,n.minDepth,c):O=kA(O,e.startState.selection),new Yr(u==0?i.rest:O,u==0?O:i.rest)}let r=e.annotation(Rce);if((r=="full"||r=="before")&&(t=t.isolate()),e.annotation($n.addToHistory)===!1)return e.changes.empty?t:t.addMapping(e.changes.desc);let s=ui.fromTransaction(e),o=e.annotation($n.time),a=e.annotation($n.userEvent);return s?t=t.addChanges(s,o,a,n.newGroupDelay,n.minDepth):e.selection&&(t=t.addSelection(e.startState.selection,o,a,n.newGroupDelay)),(r=="full"||r=="after")&&(t=t.isolate()),t},toJSON(t){return{done:t.done.map(e=>e.toJSON()),undone:t.undone.map(e=>e.toJSON())}},fromJSON(t){return new Yr(t.done.map(ui.fromJSON),t.undone.map(ui.fromJSON))}});function Xce(t={}){return[wA,SA.of(t),Ve.domEventHandlers({beforeinput(e,n){let i=e.inputType=="historyUndo"?xA:e.inputType=="historyRedo"?Uv:null;return i?(e.preventDefault(),i(n)):!1}})]}function Rp(t,e){return function({state:n,dispatch:i}){if(!e&&n.readOnly)return!1;let r=n.field(wA,!1);if(!r)return!1;let s=r.pop(t,n,e);return s?(i(s),!0):!1}}const xA=Rp(0,!1),Uv=Rp(1,!1),Wce=Rp(0,!0),zce=Rp(1,!0);class ui{constructor(e,n,i,r,s){this.changes=e,this.effects=n,this.mapped=i,this.startSelection=r,this.selectionsAfter=s}setSelAfter(e){return new ui(this.changes,this.effects,this.mapped,this.startSelection,e)}toJSON(){var e,n,i;return{changes:(e=this.changes)===null||e===void 0?void 0:e.toJSON(),mapped:(n=this.mapped)===null||n===void 0?void 0:n.toJSON(),startSelection:(i=this.startSelection)===null||i===void 0?void 0:i.toJSON(),selectionsAfter:this.selectionsAfter.map(r=>r.toJSON())}}static fromJSON(e){return new ui(e.changes&&yn.fromJSON(e.changes),[],e.mapped&&jr.fromJSON(e.mapped),e.startSelection&&we.fromJSON(e.startSelection),e.selectionsAfter.map(we.fromJSON))}static fromTransaction(e,n){let i=Hi;for(let r of e.startState.facet(Ace)){let s=r(e);s.length&&(i=i.concat(s))}return!i.length&&e.changes.empty?null:new ui(e.changes.invert(e.startState.doc),i,void 0,n||e.startState.selection,Hi)}static selection(e){return new ui(void 0,Hi,void 0,void 0,e)}}function yd(t,e,n,i){let r=e+1>n+20?e-n-1:0,s=t.slice(r,e);return s.push(i),s}function Ice(t,e){let n=[],i=!1;return t.iterChangedRanges((r,s)=>n.push(r,s)),e.iterChangedRanges((r,s,o,a)=>{for(let l=0;l=c&&o<=u&&(i=!0)}}),i}function qce(t,e){return t.ranges.length==e.ranges.length&&t.ranges.filter((n,i)=>n.empty!=e.ranges[i].empty).length===0}function PA(t,e){return t.length?e.length?t.concat(e):t:e}const Hi=[],Uce=200;function kA(t,e){if(t.length){let n=t[t.length-1],i=n.selectionsAfter.slice(Math.max(0,n.selectionsAfter.length-Uce));return i.length&&i[i.length-1].eq(e)?t:(i.push(e),yd(t,t.length-1,1e9,n.setSelAfter(i)))}else return[ui.selection([e])]}function Dce(t){let e=t[t.length-1],n=t.slice();return n[t.length-1]=e.setSelAfter(e.selectionsAfter.slice(0,e.selectionsAfter.length-1)),n}function Om(t,e){if(!t.length)return t;let n=t.length,i=Hi;for(;n;){let r=Lce(t[n-1],e,i);if(r.changes&&!r.changes.empty||r.effects.length){let s=t.slice(0,n);return s[n-1]=r,s}else e=r.mapped,n--,i=r.selectionsAfter}return i.length?[ui.selection(i)]:Hi}function Lce(t,e,n){let i=PA(t.selectionsAfter.length?t.selectionsAfter.map(a=>a.map(e)):Hi,n);if(!t.changes)return ui.selection(i);let r=t.changes.map(e),s=e.mapDesc(t.changes,!0),o=t.mapped?t.mapped.composeDesc(s):s;return new ui(r,ut.mapEffects(t.effects,e),o,t.startSelection.map(s),i)}const Bce=/^(input\.type|delete)($|\.)/;class Yr{constructor(e,n,i=0,r=void 0){this.done=e,this.undone=n,this.prevTime=i,this.prevUserEvent=r}isolate(){return this.prevTime?new Yr(this.done,this.undone):this}addChanges(e,n,i,r,s){let o=this.done,a=o[o.length-1];return a&&a.changes&&!a.changes.empty&&e.changes&&(!i||Bce.test(i))&&(!a.selectionsAfter.length&&n-this.prevTime0&&n-this.prevTimen.empty?t.moveByChar(n,e):Ap(n,e))}function lr(t){return t.textDirectionAt(t.state.selection.main.head)==sn.LTR}const TA=t=>CA(t,!lr(t)),RA=t=>CA(t,lr(t));function AA(t,e){return Es(t,n=>n.empty?t.moveByGroup(n,e):Ap(n,e))}const Yce=t=>AA(t,!lr(t)),Zce=t=>AA(t,lr(t));function Vce(t,e,n){if(e.type.prop(n))return!0;let i=e.to-e.from;return i&&(i>2||/[^\s,.;:]/.test(t.sliceDoc(e.from,e.to)))||e.firstChild}function Ep(t,e,n){let i=jt(t).resolveInner(e.head),r=n?ft.closedBy:ft.openedBy;for(let l=e.head;;){let c=n?i.childAfter(l):i.childBefore(l);if(!c)break;Vce(t,c,r)?i=c:l=n?c.to:c.from}let s=i.type.prop(r),o,a;return s&&(o=n?Mr(t,i.from,1):Mr(t,i.to,-1))&&o.matched?a=n?o.end.to:o.end.from:a=n?i.to:i.from,we.cursor(a,n?-1:1)}const jce=t=>Es(t,e=>Ep(t.state,e,!lr(t))),Nce=t=>Es(t,e=>Ep(t.state,e,lr(t)));function EA(t,e){return Es(t,n=>{if(!n.empty)return Ap(n,e);let i=t.moveVertically(n,e);return i.head!=n.head?i:t.moveToLineBoundary(n,e)})}const XA=t=>EA(t,!1),WA=t=>EA(t,!0);function zA(t){return Math.max(t.defaultLineHeight,Math.min(t.dom.clientHeight,innerHeight)-5)}function IA(t,e){let{state:n}=t,i=xc(n.selection,a=>a.empty?t.moveVertically(a,e,zA(t)):Ap(a,e));if(i.eq(n.selection))return!1;let r=t.coordsAtPos(n.selection.main.head),s=t.scrollDOM.getBoundingClientRect(),o;return r&&r.top>s.top&&r.bottomIA(t,!1),Dv=t=>IA(t,!0);function Xp(t,e,n){let i=t.lineBlockAt(e.head),r=t.moveToLineBoundary(e,n);if(r.head==e.head&&r.head!=(n?i.to:i.from)&&(r=t.moveToLineBoundary(e,n,!1)),!n&&r.head==i.from&&i.length){let s=/^\s*/.exec(t.state.sliceDoc(i.from,Math.min(i.from+100,i.to)))[0].length;s&&e.head!=i.from+s&&(r=we.cursor(i.from+s))}return r}const vw=t=>Es(t,e=>Xp(t,e,!0)),yw=t=>Es(t,e=>Xp(t,e,!1)),Fce=t=>Es(t,e=>we.cursor(t.lineBlockAt(e.head).from,1)),Gce=t=>Es(t,e=>we.cursor(t.lineBlockAt(e.head).to,-1));function Hce(t,e,n){let i=!1,r=xc(t.selection,s=>{let o=Mr(t,s.head,-1)||Mr(t,s.head,1)||s.head>0&&Mr(t,s.head-1,1)||s.headHce(t,e,!1);function rs(t,e){let n=xc(t.state.selection,i=>{let r=e(i);return we.range(i.anchor,r.head,r.goalColumn)});return n.eq(t.state.selection)?!1:(t.dispatch(is(t.state,n)),!0)}function qA(t,e){return rs(t,n=>t.moveByChar(n,e))}const UA=t=>qA(t,!lr(t)),DA=t=>qA(t,lr(t));function LA(t,e){return rs(t,n=>t.moveByGroup(n,e))}const Jce=t=>LA(t,!lr(t)),eue=t=>LA(t,lr(t)),tue=t=>rs(t,e=>Ep(t.state,e,!lr(t))),nue=t=>rs(t,e=>Ep(t.state,e,lr(t)));function BA(t,e){return rs(t,n=>t.moveVertically(n,e))}const MA=t=>BA(t,!1),YA=t=>BA(t,!0);function ZA(t,e){return rs(t,n=>t.moveVertically(n,e,zA(t)))}const $w=t=>ZA(t,!1),bw=t=>ZA(t,!0),_w=t=>rs(t,e=>Xp(t,e,!0)),Qw=t=>rs(t,e=>Xp(t,e,!1)),iue=t=>rs(t,e=>we.cursor(t.lineBlockAt(e.head).from)),rue=t=>rs(t,e=>we.cursor(t.lineBlockAt(e.head).to)),Sw=({state:t,dispatch:e})=>(e(is(t,{anchor:0})),!0),ww=({state:t,dispatch:e})=>(e(is(t,{anchor:t.doc.length})),!0),xw=({state:t,dispatch:e})=>(e(is(t,{anchor:t.selection.main.anchor,head:0})),!0),Pw=({state:t,dispatch:e})=>(e(is(t,{anchor:t.selection.main.anchor,head:t.doc.length})),!0),sue=({state:t,dispatch:e})=>(e(t.update({selection:{anchor:0,head:t.doc.length},userEvent:"select"})),!0),oue=({state:t,dispatch:e})=>{let n=Ip(t).map(({from:i,to:r})=>we.range(i,Math.min(r+1,t.doc.length)));return e(t.update({selection:we.create(n),userEvent:"select"})),!0},aue=({state:t,dispatch:e})=>{let n=xc(t.selection,i=>{var r;let s=jt(t).resolveInner(i.head,1);for(;!(s.from=i.to||s.to>i.to&&s.from<=i.from||!(!((r=s.parent)===null||r===void 0)&&r.parent));)s=s.parent;return we.range(s.to,s.from)});return e(is(t,n)),!0},lue=({state:t,dispatch:e})=>{let n=t.selection,i=null;return n.ranges.length>1?i=we.create([n.main]):n.main.empty||(i=we.create([we.cursor(n.main.head)])),i?(e(is(t,i)),!0):!1};function Wp({state:t,dispatch:e},n){if(t.readOnly)return!1;let i="delete.selection",r=t.changeByRange(s=>{let{from:o,to:a}=s;if(o==a){let l=n(o);lo&&(i="delete.forward"),o=Math.min(o,l),a=Math.max(a,l)}return o==a?{range:s}:{changes:{from:o,to:a},range:we.cursor(o)}});return r.changes.empty?!1:(e(t.update(r,{scrollIntoView:!0,userEvent:i,effects:i=="delete.selection"?Ve.announce.of(t.phrase("Selection deleted")):void 0})),!0)}function zp(t,e,n){if(t instanceof Ve)for(let i of t.state.facet(Ve.atomicRanges).map(r=>r(t)))i.between(e,e,(r,s)=>{re&&(e=n?s:r)});return e}const VA=(t,e)=>Wp(t,n=>{let{state:i}=t,r=i.doc.lineAt(n),s,o;if(!e&&n>r.from&&nVA(t,!1),jA=t=>VA(t,!0),NA=(t,e)=>Wp(t,n=>{let i=n,{state:r}=t,s=r.doc.lineAt(i),o=r.charCategorizer(i);for(let a=null;;){if(i==(e?s.to:s.from)){i==n&&s.number!=(e?r.doc.lines:1)&&(i+=e?1:-1);break}let l=Ti(s.text,i-s.from,e)+s.from,c=s.text.slice(Math.min(i,l)-s.from,Math.max(i,l)-s.from),u=o(c);if(a!=null&&u!=a)break;(c!=" "||i!=n)&&(a=u),i=l}return zp(t,i,e)}),FA=t=>NA(t,!1),cue=t=>NA(t,!0),GA=t=>Wp(t,e=>{let n=t.lineBlockAt(e).to;return zp(t,eWp(t,e=>{let n=t.lineBlockAt(e).from;return zp(t,e>n?n:Math.max(0,e-1),!1)}),fue=({state:t,dispatch:e})=>{if(t.readOnly)return!1;let n=t.changeByRange(i=>({changes:{from:i.from,to:i.to,insert:Xt.of(["",""])},range:we.cursor(i.from)}));return e(t.update(n,{scrollIntoView:!0,userEvent:"input"})),!0},Oue=({state:t,dispatch:e})=>{if(t.readOnly)return!1;let n=t.changeByRange(i=>{if(!i.empty||i.from==0||i.from==t.doc.length)return{range:i};let r=i.from,s=t.doc.lineAt(r),o=r==s.from?r-1:Ti(s.text,r-s.from,!1)+s.from,a=r==s.to?r+1:Ti(s.text,r-s.from,!0)+s.from;return{changes:{from:o,to:a,insert:t.doc.slice(r,a).append(t.doc.slice(o,r))},range:we.cursor(a)}});return n.changes.empty?!1:(e(t.update(n,{scrollIntoView:!0,userEvent:"move.character"})),!0)};function Ip(t){let e=[],n=-1;for(let i of t.selection.ranges){let r=t.doc.lineAt(i.from),s=t.doc.lineAt(i.to);if(!i.empty&&i.to==s.from&&(s=t.doc.lineAt(i.to-1)),n>=r.number){let o=e[e.length-1];o.to=s.to,o.ranges.push(i)}else e.push({from:r.from,to:s.to,ranges:[i]});n=s.number+1}return e}function HA(t,e,n){if(t.readOnly)return!1;let i=[],r=[];for(let s of Ip(t)){if(n?s.to==t.doc.length:s.from==0)continue;let o=t.doc.lineAt(n?s.to+1:s.from-1),a=o.length+1;if(n){i.push({from:s.to,to:o.to},{from:s.from,insert:o.text+t.lineBreak});for(let l of s.ranges)r.push(we.range(Math.min(t.doc.length,l.anchor+a),Math.min(t.doc.length,l.head+a)))}else{i.push({from:o.from,to:s.from},{from:s.to,insert:t.lineBreak+o.text});for(let l of s.ranges)r.push(we.range(l.anchor-a,l.head-a))}}return i.length?(e(t.update({changes:i,scrollIntoView:!0,selection:we.create(r,t.selection.mainIndex),userEvent:"move.line"})),!0):!1}const hue=({state:t,dispatch:e})=>HA(t,e,!1),due=({state:t,dispatch:e})=>HA(t,e,!0);function KA(t,e,n){if(t.readOnly)return!1;let i=[];for(let r of Ip(t))n?i.push({from:r.from,insert:t.doc.slice(r.from,r.to)+t.lineBreak}):i.push({from:r.to,insert:t.lineBreak+t.doc.slice(r.from,r.to)});return e(t.update({changes:i,scrollIntoView:!0,userEvent:"input.copyline"})),!0}const pue=({state:t,dispatch:e})=>KA(t,e,!1),mue=({state:t,dispatch:e})=>KA(t,e,!0),gue=t=>{if(t.state.readOnly)return!1;let{state:e}=t,n=e.changes(Ip(e).map(({from:r,to:s})=>(r>0?r--:st.moveVertically(r,!0)).map(n);return t.dispatch({changes:n,selection:i,scrollIntoView:!0,userEvent:"delete.line"}),!0};function vue(t,e){if(/\(\)|\[\]|\{\}/.test(t.sliceDoc(e-1,e+1)))return{from:e,to:e};let n=jt(t).resolveInner(e),i=n.childBefore(e),r=n.childAfter(e),s;return i&&r&&i.to<=e&&r.from>=e&&(s=i.type.prop(ft.closedBy))&&s.indexOf(r.name)>-1&&t.doc.lineAt(i.to).from==t.doc.lineAt(r.from).from?{from:i.to,to:r.from}:null}const yue=JA(!1),$ue=JA(!0);function JA(t){return({state:e,dispatch:n})=>{if(e.readOnly)return!1;let i=e.changeByRange(r=>{let{from:s,to:o}=r,a=e.doc.lineAt(s),l=!t&&s==o&&vue(e,s);t&&(s=o=(o<=a.to?a:e.doc.lineAt(o)).to);let c=new Cp(e,{simulateBreak:s,simulateDoubleBreak:!!l}),u=F$(c,s);for(u==null&&(u=/^\s*/.exec(e.doc.lineAt(s).text)[0].length);oa.from&&s{let r=[];for(let o=i.from;o<=i.to;){let a=t.doc.lineAt(o);a.number>n&&(i.empty||i.to>a.from)&&(e(a,r,i),n=a.number),o=a.to+1}let s=t.changes(r);return{changes:r,range:we.range(s.mapPos(i.anchor,1),s.mapPos(i.head,1))}})}const bue=({state:t,dispatch:e})=>{if(t.readOnly)return!1;let n=Object.create(null),i=new Cp(t,{overrideIndentation:s=>{let o=n[s];return o==null?-1:o}}),r=n1(t,(s,o,a)=>{let l=F$(i,s.from);if(l==null)return;/\S/.test(s.text)||(l=0);let c=/^\s*/.exec(s.text)[0],u=sf(t,l);(c!=u||a.fromt.readOnly?!1:(e(t.update(n1(t,(n,i)=>{i.push({from:n.from,insert:t.facet(Cf)})}),{userEvent:"input.indent"})),!0),t4=({state:t,dispatch:e})=>t.readOnly?!1:(e(t.update(n1(t,(n,i)=>{let r=/^\s*/.exec(n.text)[0];if(!r)return;let s=Pf(r,t.tabSize),o=0,a=sf(t,Math.max(0,s-Ra(t)));for(;o({mac:t.key,run:t.run,shift:t.shift}))),Sue=[{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:jce,shift:tue},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:Nce,shift:nue},{key:"Alt-ArrowUp",run:hue},{key:"Shift-Alt-ArrowUp",run:pue},{key:"Alt-ArrowDown",run:due},{key:"Shift-Alt-ArrowDown",run:mue},{key:"Escape",run:lue},{key:"Mod-Enter",run:$ue},{key:"Alt-l",mac:"Ctrl-l",run:oue},{key:"Mod-i",run:aue,preventDefault:!0},{key:"Mod-[",run:t4},{key:"Mod-]",run:e4},{key:"Mod-Alt-\\",run:bue},{key:"Shift-Mod-k",run:gue},{key:"Shift-Mod-\\",run:Kce},{key:"Mod-/",run:Sce},{key:"Alt-A",run:xce}].concat(Que),wue={key:"Tab",run:e4,shift:t4};function Jt(){var t=arguments[0];typeof t=="string"&&(t=document.createElement(t));var e=1,n=arguments[1];if(n&&typeof n=="object"&&n.nodeType==null&&!Array.isArray(n)){for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)){var r=n[i];typeof r=="string"?t.setAttribute(i,r):r!=null&&(t[i]=r)}e++}for(;et.normalize("NFKD"):t=>t;class ic{constructor(e,n,i=0,r=e.length,s){this.value={from:0,to:0},this.done=!1,this.matches=[],this.buffer="",this.bufferPos=0,this.iter=e.iterRange(i,r),this.bufferStart=i,this.normalize=s?o=>s(kw(o)):kw,this.query=this.normalize(n)}peek(){if(this.bufferPos==this.buffer.length){if(this.bufferStart+=this.buffer.length,this.iter.next(),this.iter.done)return-1;this.bufferPos=0,this.buffer=this.iter.value}return Xn(this.buffer,this.bufferPos)}next(){for(;this.matches.length;)this.matches.pop();return this.nextOverlapping()}nextOverlapping(){for(;;){let e=this.peek();if(e<0)return this.done=!0,this;let n=E$(e),i=this.bufferStart+this.bufferPos;this.bufferPos+=xi(e);let r=this.normalize(n);for(let s=0,o=i;;s++){let a=r.charCodeAt(s),l=this.match(a,o);if(l)return this.value=l,this;if(s==r.length-1)break;o==i&&sthis.to&&(this.curLine=this.curLine.slice(0,this.to-this.curLineStart)),this.iter.next())}nextLine(){this.curLineStart=this.curLineStart+this.curLine.length+1,this.curLineStart>this.to?this.curLine="":this.getLine(0)}next(){for(let e=this.matchPos-this.curLineStart;;){this.re.lastIndex=e;let n=this.matchPos<=this.to&&this.re.exec(this.curLine);if(n){let i=this.curLineStart+n.index,r=i+n[0].length;if(this.matchPos=r+(i==r?1:0),i==this.curLine.length&&this.nextLine(),ithis.value.to)return this.value={from:i,to:r,match:n},this;e=this.matchPos-this.curLineStart}else if(this.curLineStart+this.curLine.length=i||r.to<=n){let a=new Tl(n,e.sliceString(n,i));return hm.set(e,a),a}if(r.from==n&&r.to==i)return r;let{text:s,from:o}=r;return o>n&&(s=e.sliceString(n,o)+s,o=n),r.to=this.to?this.to:this.text.lineAt(e).to}next(){for(;;){let e=this.re.lastIndex=this.matchPos-this.flat.from,n=this.re.exec(this.flat.text);if(n&&!n[0]&&n.index==e&&(this.re.lastIndex=e+1,n=this.re.exec(this.flat.text)),n&&this.flat.tothis.flat.text.length-10&&(n=null),n){let i=this.flat.from+n.index,r=i+n[0].length;return this.value={from:i,to:r,match:n},this.matchPos=r+(i==r?1:0),this}else{if(this.flat.to==this.to)return this.done=!0,this;this.flat=Tl.get(this.text,this.flat.from,this.chunkEnd(this.flat.from+this.flat.text.length*2))}}}}typeof Symbol!="undefined"&&(r4.prototype[Symbol.iterator]=s4.prototype[Symbol.iterator]=function(){return this});function xue(t){try{return new RegExp(t,i1),!0}catch{return!1}}function Bv(t){let e=Jt("input",{class:"cm-textfield",name:"line"}),n=Jt("form",{class:"cm-gotoLine",onkeydown:r=>{r.keyCode==27?(r.preventDefault(),t.dispatch({effects:$d.of(!1)}),t.focus()):r.keyCode==13&&(r.preventDefault(),i())},onsubmit:r=>{r.preventDefault(),i()}},Jt("label",t.state.phrase("Go to line"),": ",e)," ",Jt("button",{class:"cm-button",type:"submit"},t.state.phrase("go")));function i(){let r=/^([+-])?(\d+)?(:\d+)?(%)?$/.exec(e.value);if(!r)return;let{state:s}=t,o=s.doc.lineAt(s.selection.main.head),[,a,l,c,u]=r,O=c?+c.slice(1):0,f=l?+l:o.number;if(l&&u){let p=f/100;a&&(p=p*(a=="-"?-1:1)+o.number/s.doc.lines),f=Math.round(s.doc.lines*p)}else l&&a&&(f=f*(a=="-"?-1:1)+o.number);let h=s.doc.line(Math.max(1,Math.min(s.doc.lines,f)));t.dispatch({effects:$d.of(!1),selection:we.cursor(h.from+Math.max(0,Math.min(O,h.length))),scrollIntoView:!0}),t.focus()}return{dom:n}}const $d=ut.define(),Cw=Rn.define({create(){return!0},update(t,e){for(let n of e.effects)n.is($d)&&(t=n.value);return t},provide:t=>nf.from(t,e=>e?Bv:null)}),Pue=t=>{let e=tf(t,Bv);if(!e){let n=[$d.of(!0)];t.state.field(Cw,!1)==null&&n.push(ut.appendConfig.of([Cw,kue])),t.dispatch({effects:n}),e=tf(t,Bv)}return e&&e.dom.querySelector("input").focus(),!0},kue=Ve.baseTheme({".cm-panel.cm-gotoLine":{padding:"2px 6px 4px","& label":{fontSize:"80%"}}}),Cue={highlightWordAroundCursor:!1,minSelectionLength:1,maxMatches:100,wholeWords:!1},o4=Ge.define({combine(t){return As(t,Cue,{highlightWordAroundCursor:(e,n)=>e||n,minSelectionLength:Math.min,maxMatches:Math.min})}});function Tue(t){let e=[Wue,Xue];return t&&e.push(o4.of(t)),e}const Rue=je.mark({class:"cm-selectionMatch"}),Aue=je.mark({class:"cm-selectionMatch cm-selectionMatch-main"});function Tw(t,e,n,i){return(n==0||t(e.sliceDoc(n-1,n))!=ti.Word)&&(i==e.doc.length||t(e.sliceDoc(i,i+1))!=ti.Word)}function Eue(t,e,n,i){return t(e.sliceDoc(n,n+1))==ti.Word&&t(e.sliceDoc(i-1,i))==ti.Word}const Xue=cn.fromClass(class{constructor(t){this.decorations=this.getDeco(t)}update(t){(t.selectionSet||t.docChanged||t.viewportChanged)&&(this.decorations=this.getDeco(t.view))}getDeco(t){let e=t.state.facet(o4),{state:n}=t,i=n.selection;if(i.ranges.length>1)return je.none;let r=i.main,s,o=null;if(r.empty){if(!e.highlightWordAroundCursor)return je.none;let l=n.wordAt(r.head);if(!l)return je.none;o=n.charCategorizer(r.head),s=n.sliceDoc(l.from,l.to)}else{let l=r.to-r.from;if(l200)return je.none;if(e.wholeWords){if(s=n.sliceDoc(r.from,r.to),o=n.charCategorizer(r.head),!(Tw(o,n,r.from,r.to)&&Eue(o,n,r.from,r.to)))return je.none}else if(s=n.sliceDoc(r.from,r.to).trim(),!s)return je.none}let a=[];for(let l of t.visibleRanges){let c=new ic(n.doc,s,l.from,l.to);for(;!c.next().done;){let{from:u,to:O}=c.value;if((!o||Tw(o,n,u,O))&&(r.empty&&u<=r.from&&O>=r.to?a.push(Aue.range(u,O)):(u>=r.to||O<=r.from)&&a.push(Rue.range(u,O)),a.length>e.maxMatches))return je.none}}return je.set(a)}},{decorations:t=>t.decorations}),Wue=Ve.baseTheme({".cm-selectionMatch":{backgroundColor:"#99ff7780"},".cm-searchMatch .cm-selectionMatch":{backgroundColor:"transparent"}}),zue=({state:t,dispatch:e})=>{let{selection:n}=t,i=we.create(n.ranges.map(r=>t.wordAt(r.head)||we.cursor(r.head)),n.mainIndex);return i.eq(n)?!1:(e(t.update({selection:i})),!0)};function Iue(t,e){let{main:n,ranges:i}=t.selection,r=t.wordAt(n.head),s=r&&r.from==n.from&&r.to==n.to;for(let o=!1,a=new ic(t.doc,e,i[i.length-1].to);;)if(a.next(),a.done){if(o)return null;a=new ic(t.doc,e,0,Math.max(0,i[i.length-1].from-1)),o=!0}else{if(o&&i.some(l=>l.from==a.value.from))continue;if(s){let l=t.wordAt(a.value.from);if(!l||l.from!=a.value.from||l.to!=a.value.to)continue}return a.value}}const que=({state:t,dispatch:e})=>{let{ranges:n}=t.selection;if(n.some(s=>s.from===s.to))return zue({state:t,dispatch:e});let i=t.sliceDoc(n[0].from,n[0].to);if(t.selection.ranges.some(s=>t.sliceDoc(s.from,s.to)!=i))return!1;let r=Iue(t,i);return r?(e(t.update({selection:t.selection.addRange(we.range(r.from,r.to),!1),effects:Ve.scrollIntoView(r.to)})),!0):!1},r1=Ge.define({combine(t){var e;return{top:t.reduce((n,i)=>n!=null?n:i.top,void 0)||!1,caseSensitive:t.reduce((n,i)=>n!=null?n:i.caseSensitive,void 0)||!1,createPanel:((e=t.find(n=>n.createPanel))===null||e===void 0?void 0:e.createPanel)||(n=>new Nue(n))}}});class a4{constructor(e){this.search=e.search,this.caseSensitive=!!e.caseSensitive,this.regexp=!!e.regexp,this.replace=e.replace||"",this.valid=!!this.search&&(!this.regexp||xue(this.search)),this.unquoted=e.literal?this.search:this.search.replace(/\\([nrt\\])/g,(n,i)=>i=="n"?` -`:i=="r"?"\r":i=="t"?" ":"\\")}eq(e){return this.search==e.search&&this.replace==e.replace&&this.caseSensitive==e.caseSensitive&&this.regexp==e.regexp}create(){return this.regexp?new Due(this):new Uue(this)}getCursor(e,n=0,i=e.length){return this.regexp?yl(this,e,n,i):vl(this,e,n,i)}}class l4{constructor(e){this.spec=e}}function vl(t,e,n,i){return new ic(e,t.unquoted,n,i,t.caseSensitive?void 0:r=>r.toLowerCase())}class Uue extends l4{constructor(e){super(e)}nextMatch(e,n,i){let r=vl(this.spec,e,i,e.length).nextOverlapping();return r.done&&(r=vl(this.spec,e,0,n).nextOverlapping()),r.done?null:r.value}prevMatchInRange(e,n,i){for(let r=i;;){let s=Math.max(n,r-1e4-this.spec.unquoted.length),o=vl(this.spec,e,s,r),a=null;for(;!o.nextOverlapping().done;)a=o.value;if(a)return a;if(s==n)return null;r-=1e4}}prevMatch(e,n,i){return this.prevMatchInRange(e,0,n)||this.prevMatchInRange(e,i,e.length)}getReplacement(e){return this.spec.replace}matchAll(e,n){let i=vl(this.spec,e,0,e.length),r=[];for(;!i.next().done;){if(r.length>=n)return null;r.push(i.value)}return r}highlight(e,n,i,r){let s=vl(this.spec,e,Math.max(0,n-this.spec.unquoted.length),Math.min(i+this.spec.unquoted.length,e.length));for(;!s.next().done;)r(s.value.from,s.value.to)}}function yl(t,e,n,i){return new r4(e,t.search,t.caseSensitive?void 0:{ignoreCase:!0},n,i)}class Due extends l4{nextMatch(e,n,i){let r=yl(this.spec,e,i,e.length).next();return r.done&&(r=yl(this.spec,e,0,n).next()),r.done?null:r.value}prevMatchInRange(e,n,i){for(let r=1;;r++){let s=Math.max(n,i-r*1e4),o=yl(this.spec,e,s,i),a=null;for(;!o.next().done;)a=o.value;if(a&&(s==n||a.from>s+10))return a;if(s==n)return null}}prevMatch(e,n,i){return this.prevMatchInRange(e,0,n)||this.prevMatchInRange(e,i,e.length)}getReplacement(e){return this.spec.replace.replace(/\$([$&\d+])/g,(n,i)=>i=="$"?"$":i=="&"?e.match[0]:i!="0"&&+i=n)return null;r.push(i.value)}return r}highlight(e,n,i,r){let s=yl(this.spec,e,Math.max(0,n-250),Math.min(i+250,e.length));for(;!s.next().done;)r(s.value.from,s.value.to)}}const af=ut.define(),s1=ut.define(),vo=Rn.define({create(t){return new dm(Mv(t).create(),null)},update(t,e){for(let n of e.effects)n.is(af)?t=new dm(n.value.create(),t.panel):n.is(s1)&&(t=new dm(t.query,n.value?o1:null));return t},provide:t=>nf.from(t,e=>e.panel)});class dm{constructor(e,n){this.query=e,this.panel=n}}const Lue=je.mark({class:"cm-searchMatch"}),Bue=je.mark({class:"cm-searchMatch cm-searchMatch-selected"}),Mue=cn.fromClass(class{constructor(t){this.view=t,this.decorations=this.highlight(t.state.field(vo))}update(t){let e=t.state.field(vo);(e!=t.startState.field(vo)||t.docChanged||t.selectionSet||t.viewportChanged)&&(this.decorations=this.highlight(e))}highlight({query:t,panel:e}){if(!e||!t.spec.valid)return je.none;let{view:n}=this,i=new xo;for(let r=0,s=n.visibleRanges,o=s.length;rs[r+1].from-2*250;)l=s[++r].to;t.highlight(n.state.doc,a,l,(c,u)=>{let O=n.state.selection.ranges.some(f=>f.from==c&&f.to==u);i.add(c,u,O?Bue:Lue)})}return i.finish()}},{decorations:t=>t.decorations});function Af(t){return e=>{let n=e.state.field(vo,!1);return n&&n.query.spec.valid?t(e,n):c4(e)}}const bd=Af((t,{query:e})=>{let{from:n,to:i}=t.state.selection.main,r=e.nextMatch(t.state.doc,n,i);return!r||r.from==n&&r.to==i?!1:(t.dispatch({selection:{anchor:r.from,head:r.to},scrollIntoView:!0,effects:a1(t,r),userEvent:"select.search"}),!0)}),_d=Af((t,{query:e})=>{let{state:n}=t,{from:i,to:r}=n.selection.main,s=e.prevMatch(n.doc,i,r);return s?(t.dispatch({selection:{anchor:s.from,head:s.to},scrollIntoView:!0,effects:a1(t,s),userEvent:"select.search"}),!0):!1}),Yue=Af((t,{query:e})=>{let n=e.matchAll(t.state.doc,1e3);return!n||!n.length?!1:(t.dispatch({selection:we.create(n.map(i=>we.range(i.from,i.to))),userEvent:"select.search.matches"}),!0)}),Zue=({state:t,dispatch:e})=>{let n=t.selection;if(n.ranges.length>1||n.main.empty)return!1;let{from:i,to:r}=n.main,s=[],o=0;for(let a=new ic(t.doc,t.sliceDoc(i,r));!a.next().done;){if(s.length>1e3)return!1;a.value.from==i&&(o=s.length),s.push(we.range(a.value.from,a.value.to))}return e(t.update({selection:we.create(s,o),userEvent:"select.search.matches"})),!0},Rw=Af((t,{query:e})=>{let{state:n}=t,{from:i,to:r}=n.selection.main;if(n.readOnly)return!1;let s=e.nextMatch(n.doc,i,i);if(!s)return!1;let o=[],a,l,c=[];if(s.from==i&&s.to==r&&(l=n.toText(e.getReplacement(s)),o.push({from:s.from,to:s.to,insert:l}),s=e.nextMatch(n.doc,s.from,s.to),c.push(Ve.announce.of(n.phrase("replaced match on line $",n.doc.lineAt(i).number)+"."))),s){let u=o.length==0||o[0].from>=s.to?0:s.to-s.from-l.length;a={anchor:s.from-u,head:s.to-u},c.push(a1(t,s))}return t.dispatch({changes:o,selection:a,scrollIntoView:!!a,effects:c,userEvent:"input.replace"}),!0}),Vue=Af((t,{query:e})=>{if(t.state.readOnly)return!1;let n=e.matchAll(t.state.doc,1e9).map(r=>{let{from:s,to:o}=r;return{from:s,to:o,insert:e.getReplacement(r)}});if(!n.length)return!1;let i=t.state.phrase("replaced $ matches",n.length)+".";return t.dispatch({changes:n,effects:Ve.announce.of(i),userEvent:"input.replace.all"}),!0});function o1(t){return t.state.facet(r1).createPanel(t)}function Mv(t,e){var n;let i=t.selection.main,r=i.empty||i.to>i.from+100?"":t.sliceDoc(i.from,i.to),s=(n=e==null?void 0:e.caseSensitive)!==null&&n!==void 0?n:t.facet(r1).caseSensitive;return e&&!r?e:new a4({search:r.replace(/\n/g,"\\n"),caseSensitive:s})}const c4=t=>{let e=t.state.field(vo,!1);if(e&&e.panel){let n=tf(t,o1);if(!n)return!1;let i=n.dom.querySelector("[main-field]");if(i&&i!=t.root.activeElement){let r=Mv(t.state,e.query.spec);r.valid&&t.dispatch({effects:af.of(r)}),i.focus(),i.select()}}else t.dispatch({effects:[s1.of(!0),e?af.of(Mv(t.state,e.query.spec)):ut.appendConfig.of(Gue)]});return!0},u4=t=>{let e=t.state.field(vo,!1);if(!e||!e.panel)return!1;let n=tf(t,o1);return n&&n.dom.contains(t.root.activeElement)&&t.focus(),t.dispatch({effects:s1.of(!1)}),!0},jue=[{key:"Mod-f",run:c4,scope:"editor search-panel"},{key:"F3",run:bd,shift:_d,scope:"editor search-panel",preventDefault:!0},{key:"Mod-g",run:bd,shift:_d,scope:"editor search-panel",preventDefault:!0},{key:"Escape",run:u4,scope:"editor search-panel"},{key:"Mod-Shift-l",run:Zue},{key:"Alt-g",run:Pue},{key:"Mod-d",run:que,preventDefault:!0}];class Nue{constructor(e){this.view=e;let n=this.query=e.state.field(vo).query.spec;this.commit=this.commit.bind(this),this.searchField=Jt("input",{value:n.search,placeholder:Zi(e,"Find"),"aria-label":Zi(e,"Find"),class:"cm-textfield",name:"search","main-field":"true",onchange:this.commit,onkeyup:this.commit}),this.replaceField=Jt("input",{value:n.replace,placeholder:Zi(e,"Replace"),"aria-label":Zi(e,"Replace"),class:"cm-textfield",name:"replace",onchange:this.commit,onkeyup:this.commit}),this.caseField=Jt("input",{type:"checkbox",name:"case",checked:n.caseSensitive,onchange:this.commit}),this.reField=Jt("input",{type:"checkbox",name:"re",checked:n.regexp,onchange:this.commit});function i(r,s,o){return Jt("button",{class:"cm-button",name:r,onclick:s,type:"button"},o)}this.dom=Jt("div",{onkeydown:r=>this.keydown(r),class:"cm-search"},[this.searchField,i("next",()=>bd(e),[Zi(e,"next")]),i("prev",()=>_d(e),[Zi(e,"previous")]),i("select",()=>Yue(e),[Zi(e,"all")]),Jt("label",null,[this.caseField,Zi(e,"match case")]),Jt("label",null,[this.reField,Zi(e,"regexp")]),...e.state.readOnly?[]:[Jt("br"),this.replaceField,i("replace",()=>Rw(e),[Zi(e,"replace")]),i("replaceAll",()=>Vue(e),[Zi(e,"replace all")]),Jt("button",{name:"close",onclick:()=>u4(e),"aria-label":Zi(e,"close"),type:"button"},["\xD7"])]])}commit(){let e=new a4({search:this.searchField.value,caseSensitive:this.caseField.checked,regexp:this.reField.checked,replace:this.replaceField.value});e.eq(this.query)||(this.query=e,this.view.dispatch({effects:af.of(e)}))}keydown(e){mae(this.view,e,"search-panel")?e.preventDefault():e.keyCode==13&&e.target==this.searchField?(e.preventDefault(),(e.shiftKey?_d:bd)(this.view)):e.keyCode==13&&e.target==this.replaceField&&(e.preventDefault(),Rw(this.view))}update(e){for(let n of e.transactions)for(let i of n.effects)i.is(af)&&!i.value.eq(this.query)&&this.setQuery(i.value)}setQuery(e){this.query=e,this.searchField.value=e.search,this.replaceField.value=e.replace,this.caseField.checked=e.caseSensitive,this.reField.checked=e.regexp}mount(){this.searchField.select()}get pos(){return 80}get top(){return this.view.state.facet(r1).top}}function Zi(t,e){return t.state.phrase(e)}const VO=30,jO=/[\s\.,:;?!]/;function a1(t,{from:e,to:n}){let i=t.state.doc.lineAt(e),r=t.state.doc.lineAt(n).to,s=Math.max(i.from,e-VO),o=Math.min(r,n+VO),a=t.state.sliceDoc(s,o);if(s!=i.from){for(let l=0;la.length-VO;l--)if(!jO.test(a[l-1])&&jO.test(a[l])){a=a.slice(0,l);break}}return Ve.announce.of(`${t.state.phrase("current match")}. ${a} ${t.state.phrase("on line")} ${i.number}.`)}const Fue=Ve.baseTheme({".cm-panel.cm-search":{padding:"2px 6px 4px",position:"relative","& [name=close]":{position:"absolute",top:"0",right:"4px",backgroundColor:"inherit",border:"none",font:"inherit",padding:0,margin:0},"& input, & button, & label":{margin:".2em .6em .2em 0"},"& input[type=checkbox]":{marginRight:".2em"},"& label":{fontSize:"80%",whiteSpace:"pre"}},"&light .cm-searchMatch":{backgroundColor:"#ffff0054"},"&dark .cm-searchMatch":{backgroundColor:"#00ffff8a"},"&light .cm-searchMatch-selected":{backgroundColor:"#ff6a0054"},"&dark .cm-searchMatch-selected":{backgroundColor:"#ff00ff8a"}}),Gue=[vo,qo.lowest(Mue),Fue];class f4{constructor(e,n,i){this.state=e,this.pos=n,this.explicit=i,this.abortListeners=[]}tokenBefore(e){let n=jt(this.state).resolveInner(this.pos,-1);for(;n&&e.indexOf(n.name)<0;)n=n.parent;return n?{from:n.from,to:this.pos,text:this.state.sliceDoc(n.from,this.pos),type:n.type}:null}matchBefore(e){let n=this.state.doc.lineAt(this.pos),i=Math.max(n.from,this.pos-250),r=n.text.slice(i-n.from,this.pos-n.from),s=r.search(h4(e,!1));return s<0?null:{from:i+s,to:this.pos,text:r.slice(s)}}get aborted(){return this.abortListeners==null}addEventListener(e,n){e=="abort"&&this.abortListeners&&this.abortListeners.push(n)}}function Aw(t){let e=Object.keys(t).join(""),n=/\w/.test(e);return n&&(e=e.replace(/\w/g,"")),`[${n?"\\w":""}${e.replace(/[^\w\s]/g,"\\$&")}]`}function Hue(t){let e=Object.create(null),n=Object.create(null);for(let{label:r}of t){e[r[0]]=!0;for(let s=1;stypeof r=="string"?{label:r}:r),[n,i]=e.every(r=>/^\w+$/.test(r.label))?[/\w*$/,/\w+$/]:Hue(e);return r=>{let s=r.matchBefore(i);return s||r.explicit?{from:s?s.from:r.pos,options:e,validFor:n}:null}}function O4(t,e){return n=>{for(let i=jt(n.state).resolveInner(n.pos,-1);i;i=i.parent)if(t.indexOf(i.name)>-1)return null;return e(n)}}class Ew{constructor(e,n,i){this.completion=e,this.source=n,this.match=i}}function yo(t){return t.selection.main.head}function h4(t,e){var n;let{source:i}=t,r=e&&i[0]!="^",s=i[i.length-1]!="$";return!r&&!s?t:new RegExp(`${r?"^":""}(?:${i})${s?"$":""}`,(n=t.flags)!==null&&n!==void 0?n:t.ignoreCase?"i":"")}function Kue(t,e,n,i){return Object.assign(Object.assign({},t.changeByRange(r=>{if(r==t.selection.main)return{changes:{from:n,to:i,insert:e},range:we.cursor(n+e.length)};let s=i-n;return!r.empty||s&&t.sliceDoc(r.from-s,r.from)!=t.sliceDoc(n,i)?{range:r}:{changes:{from:r.from-s,to:r.from,insert:e},range:we.cursor(r.from-s+e.length)}})),{userEvent:"input.complete"})}function d4(t,e){const n=e.completion.apply||e.completion.label;let i=e.source;typeof n=="string"?t.dispatch(Kue(t.state,n,i.from,i.to)):n(t,e.completion,i.from,i.to)}const Xw=new WeakMap;function Jue(t){if(!Array.isArray(t))return t;let e=Xw.get(t);return e||Xw.set(t,e=l1(t)),e}class efe{constructor(e){this.pattern=e,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[];for(let n=0;n=48&&b<=57||b>=97&&b<=122?2:b>=65&&b<=90?1:0:(_=E$(b))!=_.toLowerCase()?1:_!=_.toUpperCase()?2:0;(!d||Q==1&&$||v==0&&Q!=0)&&(n[O]==b||i[O]==b&&(f=!0)?o[O++]=d:o.length&&(m=!1)),v=Q,d+=xi(b)}return O==l&&o[0]==0&&m?this.result(-100+(f?-200:0),o,e):h==l&&p==0?[-200-e.length,0,y]:a>-1?[-700-e.length,a,a+this.pattern.length]:h==l?[-200+-700-e.length,p,y]:O==l?this.result(-100+(f?-200:0)+-700+(m?0:-1100),o,e):n.length==2?null:this.result((r[0]?-700:0)+-200+-1100,r,e)}result(e,n,i){let r=[e-i.length],s=1;for(let o of n){let a=o+(this.astral?xi(Xn(i,o)):1);s>1&&r[s-1]==o?r[s-1]=a:(r[s++]=o,r[s++]=a)}return r}}const Ro=Ge.define({combine(t){return As(t,{activateOnTyping:!0,override:null,closeOnBlur:!0,maxRenderedOptions:100,defaultKeymap:!0,optionClass:()=>"",aboveCursor:!1,icons:!0,addToOptions:[]},{defaultKeymap:(e,n)=>e&&n,closeOnBlur:(e,n)=>e&&n,icons:(e,n)=>e&&n,optionClass:(e,n)=>i=>tfe(e(i),n(i)),addToOptions:(e,n)=>e.concat(n)})}});function tfe(t,e){return t?e?t+" "+e:t:e}function nfe(t){let e=t.addToOptions.slice();return t.icons&&e.push({render(n){let i=document.createElement("div");return i.classList.add("cm-completionIcon"),n.type&&i.classList.add(...n.type.split(/\s+/g).map(r=>"cm-completionIcon-"+r)),i.setAttribute("aria-hidden","true"),i},position:20}),e.push({render(n,i,r){let s=document.createElement("span");s.className="cm-completionLabel";let{label:o}=n,a=0;for(let l=1;la&&s.appendChild(document.createTextNode(o.slice(a,c)));let O=s.appendChild(document.createElement("span"));O.appendChild(document.createTextNode(o.slice(c,u))),O.className="cm-completionMatchedText",a=u}return an.position-i.position).map(n=>n.render)}function Ww(t,e,n){if(t<=n)return{from:0,to:t};if(e<=t>>1){let r=Math.floor(e/n);return{from:r*n,to:(r+1)*n}}let i=Math.floor((t-e)/n);return{from:t-(i+1)*n,to:t-i*n}}class ife{constructor(e,n){this.view=e,this.stateField=n,this.info=null,this.placeInfo={read:()=>this.measureInfo(),write:a=>this.positionInfo(a),key:this};let i=e.state.field(n),{options:r,selected:s}=i.open,o=e.state.facet(Ro);this.optionContent=nfe(o),this.optionClass=o.optionClass,this.range=Ww(r.length,s,o.maxRenderedOptions),this.dom=document.createElement("div"),this.dom.className="cm-tooltip-autocomplete",this.dom.addEventListener("mousedown",a=>{for(let l=a.target,c;l&&l!=this.dom;l=l.parentNode)if(l.nodeName=="LI"&&(c=/-(\d+)$/.exec(l.id))&&+c[1]{this.info&&this.view.requestMeasure(this.placeInfo)})}mount(){this.updateSel()}update(e){e.state.field(this.stateField)!=e.startState.field(this.stateField)&&this.updateSel()}positioned(){this.info&&this.view.requestMeasure(this.placeInfo)}updateSel(){let e=this.view.state.field(this.stateField),n=e.open;if((n.selected=this.range.to)&&(this.range=Ww(n.options.length,n.selected,this.view.state.facet(Ro).maxRenderedOptions),this.list.remove(),this.list=this.dom.appendChild(this.createListBox(n.options,e.id,this.range)),this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfo)})),this.updateSelectedOption(n.selected)){this.info&&(this.info.remove(),this.info=null);let{completion:i}=n.options[n.selected],{info:r}=i;if(!r)return;let s=typeof r=="string"?document.createTextNode(r):r(i);if(!s)return;"then"in s?s.then(o=>{o&&this.view.state.field(this.stateField,!1)==e&&this.addInfoPane(o)}).catch(o=>zi(this.view.state,o,"completion info")):this.addInfoPane(s)}}addInfoPane(e){let n=this.info=document.createElement("div");n.className="cm-tooltip cm-completionInfo",n.appendChild(e),this.dom.appendChild(n),this.view.requestMeasure(this.placeInfo)}updateSelectedOption(e){let n=null;for(let i=this.list.firstChild,r=this.range.from;i;i=i.nextSibling,r++)r==e?i.hasAttribute("aria-selected")||(i.setAttribute("aria-selected","true"),n=i):i.hasAttribute("aria-selected")&&i.removeAttribute("aria-selected");return n&&sfe(this.list,n),n}measureInfo(){let e=this.dom.querySelector("[aria-selected]");if(!e||!this.info)return null;let n=this.dom.getBoundingClientRect(),i=this.info.getBoundingClientRect(),r=e.getBoundingClientRect();if(r.top>Math.min(innerHeight,n.bottom)-10||r.bottomnew ife(e,t)}function sfe(t,e){let n=t.getBoundingClientRect(),i=e.getBoundingClientRect();i.topn.bottom&&(t.scrollTop+=i.bottom-n.bottom)}function zw(t){return(t.boost||0)*100+(t.apply?10:0)+(t.info?5:0)+(t.type?1:0)}function ofe(t,e){let n=[],i=0;for(let o of t)if(o.hasResult())if(o.result.filter===!1){let a=o.result.getMatch;for(let l of o.result.options){let c=[1e9-i++];if(a)for(let u of a(l))c.push(u);n.push(new Ew(l,o,c))}}else{let a=new efe(e.sliceDoc(o.from,o.to)),l;for(let c of o.result.options)(l=a.match(c.label))&&(c.boost!=null&&(l[0]+=c.boost),n.push(new Ew(c,o,l)))}let r=[],s=null;for(let o of n.sort(ufe))!s||s.label!=o.completion.label||s.detail!=o.completion.detail||s.type!=null&&o.completion.type!=null&&s.type!=o.completion.type||s.apply!=o.completion.apply?r.push(o):zw(o.completion)>zw(s)&&(r[r.length-1]=o),s=o.completion;return r}class wu{constructor(e,n,i,r,s){this.options=e,this.attrs=n,this.tooltip=i,this.timestamp=r,this.selected=s}setSelected(e,n){return e==this.selected||e>=this.options.length?this:new wu(this.options,Iw(n,e),this.tooltip,this.timestamp,e)}static build(e,n,i,r,s){let o=ofe(e,n);if(!o.length)return null;let a=0;if(r&&r.selected){let l=r.options[r.selected].completion;for(let c=0;cc.hasResult()?Math.min(l,c.from):l,1e8),create:rfe(Ni),above:s.aboveCursor},r?r.timestamp:Date.now(),a)}map(e){return new wu(this.options,this.attrs,Object.assign(Object.assign({},this.tooltip),{pos:e.mapPos(this.tooltip.pos)}),this.timestamp,this.selected)}}class Qd{constructor(e,n,i){this.active=e,this.id=n,this.open=i}static start(){return new Qd(cfe,"cm-ac-"+Math.floor(Math.random()*2e6).toString(36),null)}update(e){let{state:n}=e,i=n.facet(Ro),s=(i.override||n.languageDataAt("autocomplete",yo(n)).map(Jue)).map(a=>(this.active.find(c=>c.source==a)||new ci(a,this.active.some(c=>c.state!=0)?1:0)).update(e,i));s.length==this.active.length&&s.every((a,l)=>a==this.active[l])&&(s=this.active);let o=e.selection||s.some(a=>a.hasResult()&&e.changes.touchesRange(a.from,a.to))||!afe(s,this.active)?wu.build(s,n,this.id,this.open,i):this.open&&e.docChanged?this.open.map(e.changes):this.open;!o&&s.every(a=>a.state!=1)&&s.some(a=>a.hasResult())&&(s=s.map(a=>a.hasResult()?new ci(a.source,0):a));for(let a of e.effects)a.is(m4)&&(o=o&&o.setSelected(a.value,this.id));return s==this.active&&o==this.open?this:new Qd(s,this.id,o)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:lfe}}function afe(t,e){if(t==e)return!0;for(let n=0,i=0;;){for(;no||n=="delete"&&yo(e.startState)==this.from)return new ci(this.source,n=="input"&&i.activateOnTyping?1:0);let l=this.explicitPos<0?-1:e.changes.mapPos(this.explicitPos),c;return ffe(this.result.validFor,e.state,s,o)?new xu(this.source,l,this.result,s,o):this.result.update&&(c=this.result.update(this.result,s,o,new f4(e.state,a,l>=0)))?new xu(this.source,l,c,c.from,(r=c.to)!==null&&r!==void 0?r:yo(e.state)):new ci(this.source,1,l)}handleChange(e){return e.changes.touchesRange(this.from,this.to)?new ci(this.source,0):this.map(e.changes)}map(e){return e.empty?this:new xu(this.source,this.explicitPos<0?-1:e.mapPos(this.explicitPos),this.result,e.mapPos(this.from),e.mapPos(this.to,1))}}function ffe(t,e,n,i){if(!t)return!1;let r=e.sliceDoc(n,i);return typeof t=="function"?t(r,n,i,e):h4(t,!0).test(r)}const c1=ut.define(),Sd=ut.define(),p4=ut.define({map(t,e){return t.map(n=>n.map(e))}}),m4=ut.define(),Ni=Rn.define({create(){return Qd.start()},update(t,e){return t.update(e)},provide:t=>[B$.from(t,e=>e.tooltip),Ve.contentAttributes.from(t,e=>e.attrs)]}),g4=75;function NO(t,e="option"){return n=>{let i=n.state.field(Ni,!1);if(!i||!i.open||Date.now()-i.open.timestamp=a&&(o=e=="page"?a-1:0),n.dispatch({effects:m4.of(o)}),!0}}const Ofe=t=>{let e=t.state.field(Ni,!1);return t.state.readOnly||!e||!e.open||Date.now()-e.open.timestampt.state.field(Ni,!1)?(t.dispatch({effects:c1.of(!0)}),!0):!1,dfe=t=>{let e=t.state.field(Ni,!1);return!e||!e.active.some(n=>n.state!=0)?!1:(t.dispatch({effects:Sd.of(null)}),!0)};class pfe{constructor(e,n){this.active=e,this.context=n,this.time=Date.now(),this.updates=[],this.done=void 0}}const qw=50,mfe=50,gfe=1e3,vfe=cn.fromClass(class{constructor(t){this.view=t,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.composing=0;for(let e of t.state.field(Ni).active)e.state==1&&this.startQuery(e)}update(t){let e=t.state.field(Ni);if(!t.selectionSet&&!t.docChanged&&t.startState.field(Ni)==e)return;let n=t.transactions.some(i=>(i.selection||i.docChanged)&&!Yv(i));for(let i=0;imfe&&Date.now()-r.time>gfe){for(let s of r.context.abortListeners)try{s()}catch(o){zi(this.view.state,o)}r.context.abortListeners=null,this.running.splice(i--,1)}else r.updates.push(...t.transactions)}if(this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),this.debounceUpdate=e.active.some(i=>i.state==1&&!this.running.some(r=>r.active.source==i.source))?setTimeout(()=>this.startUpdate(),qw):-1,this.composing!=0)for(let i of t.transactions)Yv(i)=="input"?this.composing=2:this.composing==2&&i.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1;let{state:t}=this.view,e=t.field(Ni);for(let n of e.active)n.state==1&&!this.running.some(i=>i.active.source==n.source)&&this.startQuery(n)}startQuery(t){let{state:e}=this.view,n=yo(e),i=new f4(e,n,t.explicitPos==n),r=new pfe(t,i);this.running.push(r),Promise.resolve(t.source(i)).then(s=>{r.context.aborted||(r.done=s||null,this.scheduleAccept())},s=>{this.view.dispatch({effects:Sd.of(null)}),zi(this.view.state,s)})}scheduleAccept(){this.running.every(t=>t.done!==void 0)?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout(()=>this.accept(),qw))}accept(){var t;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let e=[],n=this.view.state.facet(Ro);for(let i=0;io.source==r.active.source);if(s&&s.state==1)if(r.done==null){let o=new ci(r.active.source,0);for(let a of r.updates)o=o.update(a,n);o.state!=1&&e.push(o)}else this.startQuery(s)}e.length&&this.view.dispatch({effects:p4.of(e)})}},{eventHandlers:{blur(){let t=this.view.state.field(Ni,!1);t&&t.tooltip&&this.view.state.facet(Ro).closeOnBlur&&this.view.dispatch({effects:Sd.of(null)})},compositionstart(){this.composing=1},compositionend(){this.composing==3&&setTimeout(()=>this.view.dispatch({effects:c1.of(!1)}),20),this.composing=0}}}),v4=Ve.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:"monospace",whiteSpace:"nowrap",overflow:"hidden auto",maxWidth_fallback:"700px",maxWidth:"min(700px, 95vw)",minWidth:"250px",maxHeight:"10em",listStyle:"none",margin:0,padding:0,"& > li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer",padding:"1px 3px",lineHeight:1.2}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c",color:"white"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"\xB7\xB7\xB7"',opacity:.5,display:"block",textAlign:"center"},".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",width:"max-content",maxWidth:"300px"},".cm-completionInfo.cm-completionInfo-left":{right:"100%"},".cm-completionInfo.cm-completionInfo-right":{left:"100%"},"&light .cm-snippetField":{backgroundColor:"#00000022"},"&dark .cm-snippetField":{backgroundColor:"#ffffff22"},".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},".cm-completionMatchedText":{textDecoration:"underline"},".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",textAlign:"center",paddingRight:".6em",opacity:"0.6"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'\u0192'"}},".cm-completionIcon-class":{"&:after":{content:"'\u25CB'"}},".cm-completionIcon-interface":{"&:after":{content:"'\u25CC'"}},".cm-completionIcon-variable":{"&:after":{content:"'\u{1D465}'"}},".cm-completionIcon-constant":{"&:after":{content:"'\u{1D436}'"}},".cm-completionIcon-type":{"&:after":{content:"'\u{1D461}'"}},".cm-completionIcon-enum":{"&:after":{content:"'\u222A'"}},".cm-completionIcon-property":{"&:after":{content:"'\u25A1'"}},".cm-completionIcon-keyword":{"&:after":{content:"'\u{1F511}\uFE0E'"}},".cm-completionIcon-namespace":{"&:after":{content:"'\u25A2'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}});class yfe{constructor(e,n,i,r){this.field=e,this.line=n,this.from=i,this.to=r}}class u1{constructor(e,n,i){this.field=e,this.from=n,this.to=i}map(e){let n=e.mapPos(this.from,-1,In.TrackDel),i=e.mapPos(this.to,1,In.TrackDel);return n==null||i==null?null:new u1(this.field,n,i)}}class f1{constructor(e,n){this.lines=e,this.fieldPositions=n}instantiate(e,n){let i=[],r=[n],s=e.doc.lineAt(n),o=/^\s*/.exec(s.text)[0];for(let l of this.lines){if(i.length){let c=o,u=/^\t*/.exec(l)[0].length;for(let O=0;Onew u1(l.field,r[l.line]+l.from,r[l.line]+l.to));return{text:i,ranges:a}}static parse(e){let n=[],i=[],r=[],s;for(let o of e.split(/\r\n?|\n/)){for(;s=/[#$]\{(?:(\d+)(?::([^}]*))?|([^}]*))\}/.exec(o);){let a=s[1]?+s[1]:null,l=s[2]||s[3]||"",c=-1;for(let u=0;u=c&&O.field++}r.push(new yfe(c,i.length,s.index,s.index+l.length)),o=o.slice(0,s.index)+l+o.slice(s.index+s[0].length)}for(let a;a=/([$#])\\{/.exec(o);){o=o.slice(0,a.index)+a[1]+"{"+o.slice(a.index+a[0].length);for(let l of r)l.line==i.length&&l.from>a.index&&(l.from--,l.to--)}i.push(o)}return new f1(i,r)}}let $fe=je.widget({widget:new class extends ns{toDOM(){let t=document.createElement("span");return t.className="cm-snippetFieldPosition",t}ignoreEvent(){return!1}}}),bfe=je.mark({class:"cm-snippetField"});class Pc{constructor(e,n){this.ranges=e,this.active=n,this.deco=je.set(e.map(i=>(i.from==i.to?$fe:bfe).range(i.from,i.to)))}map(e){let n=[];for(let i of this.ranges){let r=i.map(e);if(!r)return null;n.push(r)}return new Pc(n,this.active)}selectionInsideField(e){return e.ranges.every(n=>this.ranges.some(i=>i.field==this.active&&i.from<=n.from&&i.to>=n.to))}}const Ef=ut.define({map(t,e){return t&&t.map(e)}}),_fe=ut.define(),lf=Rn.define({create(){return null},update(t,e){for(let n of e.effects){if(n.is(Ef))return n.value;if(n.is(_fe)&&t)return new Pc(t.ranges,n.value)}return t&&e.docChanged&&(t=t.map(e.changes)),t&&e.selection&&!t.selectionInsideField(e.selection)&&(t=null),t},provide:t=>Ve.decorations.from(t,e=>e?e.deco:je.none)});function O1(t,e){return we.create(t.filter(n=>n.field==e).map(n=>we.range(n.from,n.to)))}function Qfe(t){let e=f1.parse(t);return(n,i,r,s)=>{let{text:o,ranges:a}=e.instantiate(n.state,r),l={changes:{from:r,to:s,insert:Xt.of(o)},scrollIntoView:!0};if(a.length&&(l.selection=O1(a,0)),a.length>1){let c=new Pc(a,0),u=l.effects=[Ef.of(c)];n.state.field(lf,!1)===void 0&&u.push(ut.appendConfig.of([lf,kfe,Cfe,v4]))}n.dispatch(n.state.update(l))}}function y4(t){return({state:e,dispatch:n})=>{let i=e.field(lf,!1);if(!i||t<0&&i.active==0)return!1;let r=i.active+t,s=t>0&&!i.ranges.some(o=>o.field==r+t);return n(e.update({selection:O1(i.ranges,r),effects:Ef.of(s?null:new Pc(i.ranges,r))})),!0}}const Sfe=({state:t,dispatch:e})=>t.field(lf,!1)?(e(t.update({effects:Ef.of(null)})),!0):!1,wfe=y4(1),xfe=y4(-1),Pfe=[{key:"Tab",run:wfe,shift:xfe},{key:"Escape",run:Sfe}],Uw=Ge.define({combine(t){return t.length?t[0]:Pfe}}),kfe=qo.highest(Sc.compute([Uw],t=>t.facet(Uw)));function hr(t,e){return Object.assign(Object.assign({},e),{apply:Qfe(t)})}const Cfe=Ve.domEventHandlers({mousedown(t,e){let n=e.state.field(lf,!1),i;if(!n||(i=e.posAtCoords({x:t.clientX,y:t.clientY}))==null)return!1;let r=n.ranges.find(s=>s.from<=i&&s.to>=i);return!r||r.field==n.active?!1:(e.dispatch({selection:O1(n.ranges,r.field),effects:Ef.of(n.ranges.some(s=>s.field>r.field)?new Pc(n.ranges,r.field):null)}),!0)}}),wd={brackets:["(","[","{","'",'"'],before:")]}:;>"},pa=ut.define({map(t,e){let n=e.mapPos(t,-1,In.TrackAfter);return n==null?void 0:n}}),h1=ut.define({map(t,e){return e.mapPos(t)}}),d1=new class extends Pa{};d1.startSide=1;d1.endSide=-1;const $4=Rn.define({create(){return zt.empty},update(t,e){if(e.selection){let n=e.state.doc.lineAt(e.selection.main.head).from,i=e.startState.doc.lineAt(e.startState.selection.main.head).from;n!=e.changes.mapPos(i,-1)&&(t=zt.empty)}t=t.map(e.changes);for(let n of e.effects)n.is(pa)?t=t.update({add:[d1.range(n.value,n.value+1)]}):n.is(h1)&&(t=t.update({filter:i=>i!=n.value}));return t}});function Tfe(){return[Afe,$4]}const pm="()[]{}<>";function b4(t){for(let e=0;e{if((Rfe?t.composing:t.compositionStarted)||t.state.readOnly)return!1;let r=t.state.selection.main;if(i.length>2||i.length==2&&xi(Xn(i,0))==1||e!=r.from||n!=r.to)return!1;let s=Wfe(t.state,i);return s?(t.dispatch(s),!0):!1}),Efe=({state:t,dispatch:e})=>{if(t.readOnly)return!1;let i=_4(t,t.selection.main.head).brackets||wd.brackets,r=null,s=t.changeByRange(o=>{if(o.empty){let a=zfe(t.doc,o.head);for(let l of i)if(l==a&&qp(t.doc,o.head)==b4(Xn(l,0)))return{changes:{from:o.head-l.length,to:o.head+l.length},range:we.cursor(o.head-l.length),userEvent:"delete.backward"}}return{range:r=o}});return r||e(t.update(s,{scrollIntoView:!0})),!r},Xfe=[{key:"Backspace",run:Efe}];function Wfe(t,e){let n=_4(t,t.selection.main.head),i=n.brackets||wd.brackets;for(let r of i){let s=b4(Xn(r,0));if(e==r)return s==r?Ufe(t,r,i.indexOf(r+r+r)>-1):Ife(t,r,s,n.before||wd.before);if(e==s&&Q4(t,t.selection.main.from))return qfe(t,r,s)}return null}function Q4(t,e){let n=!1;return t.field($4).between(0,t.doc.length,i=>{i==e&&(n=!0)}),n}function qp(t,e){let n=t.sliceString(e,e+2);return n.slice(0,xi(Xn(n,0)))}function zfe(t,e){let n=t.sliceString(e-2,e);return xi(Xn(n,0))==n.length?n:n.slice(1)}function Ife(t,e,n,i){let r=null,s=t.changeByRange(o=>{if(!o.empty)return{changes:[{insert:e,from:o.from},{insert:n,from:o.to}],effects:pa.of(o.to+e.length),range:we.range(o.anchor+e.length,o.head+e.length)};let a=qp(t.doc,o.head);return!a||/\s/.test(a)||i.indexOf(a)>-1?{changes:{insert:e+n,from:o.head},effects:pa.of(o.head+e.length),range:we.cursor(o.head+e.length)}:{range:r=o}});return r?null:t.update(s,{scrollIntoView:!0,userEvent:"input.type"})}function qfe(t,e,n){let i=null,r=t.selection.ranges.map(s=>s.empty&&qp(t.doc,s.head)==n?we.cursor(s.head+n.length):i=s);return i?null:t.update({selection:we.create(r,t.selection.mainIndex),scrollIntoView:!0,effects:t.selection.ranges.map(({from:s})=>h1.of(s))})}function Ufe(t,e,n){let i=null,r=t.changeByRange(s=>{if(!s.empty)return{changes:[{insert:e,from:s.from},{insert:e,from:s.to}],effects:pa.of(s.to+e.length),range:we.range(s.anchor+e.length,s.head+e.length)};let o=s.head,a=qp(t.doc,o);if(a==e){if(Dw(t,o))return{changes:{insert:e+e,from:o},effects:pa.of(o+e.length),range:we.cursor(o+e.length)};if(Q4(t,o)){let l=n&&t.sliceDoc(o,o+e.length*3)==e+e+e;return{range:we.cursor(o+e.length*(l?3:1)),effects:h1.of(o)}}}else{if(n&&t.sliceDoc(o-2*e.length,o)==e+e&&Dw(t,o-2*e.length))return{changes:{insert:e+e+e+e,from:o},effects:pa.of(o+e.length),range:we.cursor(o+e.length)};if(t.charCategorizer(o)(a)!=ti.Word){let l=t.sliceDoc(o-1,o);if(l!=e&&t.charCategorizer(o)(l)!=ti.Word&&!Dfe(t,o,e))return{changes:{insert:e+e,from:o},effects:pa.of(o+e.length),range:we.cursor(o+e.length)}}}return{range:i=s}});return i?null:t.update(r,{scrollIntoView:!0,userEvent:"input.type"})}function Dw(t,e){let n=jt(t).resolveInner(e+1);return n.parent&&n.from==e}function Dfe(t,e,n){let i=jt(t).resolveInner(e,-1);for(let r=0;r<5;r++){if(t.sliceDoc(i.from,i.from+n.length)==n){let o=i.firstChild;for(;o&&o.from==i.from&&o.to-o.from>n.length;){if(t.sliceDoc(o.to-n.length,o.to)==n)return!1;o=o.firstChild}return!0}let s=i.to==e&&i.parent;if(!s)break;i=s}return!1}function Lfe(t={}){return[Ni,Ro.of(t),vfe,Bfe,v4]}const S4=[{key:"Ctrl-Space",run:hfe},{key:"Escape",run:dfe},{key:"ArrowDown",run:NO(!0)},{key:"ArrowUp",run:NO(!1)},{key:"PageDown",run:NO(!0,"page")},{key:"PageUp",run:NO(!1,"page")},{key:"Enter",run:Ofe}],Bfe=qo.highest(Sc.computeN([Ro],t=>t.facet(Ro).defaultKeymap?[S4]:[]));class Mfe{constructor(e,n,i){this.from=e,this.to=n,this.diagnostic=i}}class la{constructor(e,n,i){this.diagnostics=e,this.panel=n,this.selected=i}static init(e,n,i){let r=e,s=i.facet(_l).markerFilter;s&&(r=s(r));let o=je.set(r.map(a=>a.from==a.to||a.from==a.to-1&&i.doc.lineAt(a.from).to==a.from?je.widget({widget:new Jfe(a),diagnostic:a}).range(a.from):je.mark({attributes:{class:"cm-lintRange cm-lintRange-"+a.severity},diagnostic:a}).range(a.from,a.to)),!0);return new la(o,n,rc(o))}}function rc(t,e=null,n=0){let i=null;return t.between(n,1e9,(r,s,{spec:o})=>{if(!(e&&o.diagnostic!=e))return i=new Mfe(r,s,o.diagnostic),!1}),i}function Yfe(t,e){return!!(t.effects.some(n=>n.is(p1))||t.changes.touchesRange(e.pos))}function w4(t,e){return t.field(Ai,!1)?e:e.concat(ut.appendConfig.of([Ai,Ve.decorations.compute([Ai],n=>{let{selected:i,panel:r}=n.field(Ai);return!i||!r||i.from==i.to?je.none:je.set([Vfe.range(i.from,i.to)])}),nle(jfe,{hideOn:Yfe}),tOe]))}function Zfe(t,e){return{effects:w4(t,[p1.of(e)])}}const p1=ut.define(),m1=ut.define(),x4=ut.define(),Ai=Rn.define({create(){return new la(je.none,null,null)},update(t,e){if(e.docChanged){let n=t.diagnostics.map(e.changes),i=null;if(t.selected){let r=e.changes.mapPos(t.selected.from,1);i=rc(n,t.selected.diagnostic,r)||rc(n,null,r)}t=new la(n,t.panel,i)}for(let n of e.effects)n.is(p1)?t=la.init(n.value,t.panel,e.state):n.is(m1)?t=new la(t.diagnostics,n.value?Up.open:null,t.selected):n.is(x4)&&(t=new la(t.diagnostics,t.panel,n.value));return t},provide:t=>[nf.from(t,e=>e.panel),Ve.decorations.from(t,e=>e.diagnostics)]}),Vfe=je.mark({class:"cm-lintRange cm-lintRange-active"});function jfe(t,e,n){let{diagnostics:i}=t.state.field(Ai),r=[],s=2e8,o=0;i.between(e-(n<0?1:0),e+(n>0?1:0),(l,c,{spec:u})=>{e>=l&&e<=c&&(l==c||(e>l||n>0)&&(ek4(t,n,!1)))}const Ffe=t=>{let e=t.state.field(Ai,!1);(!e||!e.panel)&&t.dispatch({effects:w4(t.state,[m1.of(!0)])});let n=tf(t,Up.open);return n&&n.dom.querySelector(".cm-panel-lint ul").focus(),!0},Lw=t=>{let e=t.state.field(Ai,!1);return!e||!e.panel?!1:(t.dispatch({effects:m1.of(!1)}),!0)},Gfe=t=>{let e=t.state.field(Ai,!1);if(!e)return!1;let n=t.state.selection.main,i=e.diagnostics.iter(n.to+1);return!i.value&&(i=e.diagnostics.iter(0),!i.value||i.from==n.from&&i.to==n.to)?!1:(t.dispatch({selection:{anchor:i.from,head:i.to},scrollIntoView:!0}),!0)},Hfe=[{key:"Mod-Shift-m",run:Ffe},{key:"F8",run:Gfe}],Kfe=cn.fromClass(class{constructor(t){this.view=t,this.timeout=-1,this.set=!0;let{delay:e}=t.state.facet(_l);this.lintTime=Date.now()+e,this.run=this.run.bind(this),this.timeout=setTimeout(this.run,e)}run(){let t=Date.now();if(tPromise.resolve(i(this.view)))).then(i=>{let r=i.reduce((s,o)=>s.concat(o));this.view.state.doc==e.doc&&this.view.dispatch(Zfe(this.view.state,r))},i=>{zi(this.view.state,i)})}}update(t){let e=t.state.facet(_l);(t.docChanged||e!=t.startState.facet(_l))&&(this.lintTime=Date.now()+e.delay,this.set||(this.set=!0,this.timeout=setTimeout(this.run,e.delay)))}force(){this.set&&(this.lintTime=Date.now(),this.run())}destroy(){clearTimeout(this.timeout)}}),_l=Ge.define({combine(t){return Object.assign({sources:t.map(e=>e.source)},As(t.map(e=>e.config),{delay:750,markerFilter:null,tooltipFilter:null}))},enables:Kfe});function P4(t){let e=[];if(t)e:for(let{name:n}of t){for(let i=0;is.toLowerCase()==r.toLowerCase())){e.push(r);continue e}}e.push("")}return e}function k4(t,e,n){var i;let r=n?P4(e.actions):[];return Jt("li",{class:"cm-diagnostic cm-diagnostic-"+e.severity},Jt("span",{class:"cm-diagnosticText"},e.renderMessage?e.renderMessage():e.message),(i=e.actions)===null||i===void 0?void 0:i.map((s,o)=>{let a=O=>{O.preventDefault();let f=rc(t.state.field(Ai).diagnostics,e);f&&s.apply(t,f.from,f.to)},{name:l}=s,c=r[o]?l.indexOf(r[o]):-1,u=c<0?l:[l.slice(0,c),Jt("u",l.slice(c,c+1)),l.slice(c+1)];return Jt("button",{type:"button",class:"cm-diagnosticAction",onclick:a,onmousedown:a,"aria-label":` Action: ${l}${c<0?"":` (access key "${r[o]})"`}.`},u)}),e.source&&Jt("div",{class:"cm-diagnosticSource"},e.source))}class Jfe extends ns{constructor(e){super(),this.diagnostic=e}eq(e){return e.diagnostic==this.diagnostic}toDOM(){return Jt("span",{class:"cm-lintPoint cm-lintPoint-"+this.diagnostic.severity})}}class Bw{constructor(e,n){this.diagnostic=n,this.id="item_"+Math.floor(Math.random()*4294967295).toString(16),this.dom=k4(e,n,!0),this.dom.id=this.id,this.dom.setAttribute("role","option")}}class Up{constructor(e){this.view=e,this.items=[];let n=r=>{if(r.keyCode==27)Lw(this.view),this.view.focus();else if(r.keyCode==38||r.keyCode==33)this.moveSelection((this.selectedIndex-1+this.items.length)%this.items.length);else if(r.keyCode==40||r.keyCode==34)this.moveSelection((this.selectedIndex+1)%this.items.length);else if(r.keyCode==36)this.moveSelection(0);else if(r.keyCode==35)this.moveSelection(this.items.length-1);else if(r.keyCode==13)this.view.focus();else if(r.keyCode>=65&&r.keyCode<=90&&this.selectedIndex>=0){let{diagnostic:s}=this.items[this.selectedIndex],o=P4(s.actions);for(let a=0;a{for(let s=0;sLw(this.view)},"\xD7")),this.update()}get selectedIndex(){let e=this.view.state.field(Ai).selected;if(!e)return-1;for(let n=0;n{let c=-1,u;for(let O=i;Oi&&(this.items.splice(i,c-i),r=!0)),n&&u.diagnostic==n.diagnostic?u.dom.hasAttribute("aria-selected")||(u.dom.setAttribute("aria-selected","true"),s=u):u.dom.hasAttribute("aria-selected")&&u.dom.removeAttribute("aria-selected"),i++});i({sel:s.dom.getBoundingClientRect(),panel:this.list.getBoundingClientRect()}),write:({sel:o,panel:a})=>{o.topa.bottom&&(this.list.scrollTop+=o.bottom-a.bottom)}})):this.selectedIndex<0&&this.list.removeAttribute("aria-activedescendant"),r&&this.sync()}sync(){let e=this.list.firstChild;function n(){let i=e;e=i.nextSibling,i.remove()}for(let i of this.items)if(i.dom.parentNode==this.list){for(;e!=i.dom;)n();e=i.dom.nextSibling}else this.list.insertBefore(i.dom,e);for(;e;)n()}moveSelection(e){if(this.selectedIndex<0)return;let n=this.view.state.field(Ai),i=rc(n.diagnostics,this.items[e].diagnostic);!i||this.view.dispatch({selection:{anchor:i.from,head:i.to},scrollIntoView:!0,effects:x4.of(i)})}static open(e){return new Up(e)}}function eOe(t,e='viewBox="0 0 40 40"'){return`url('data:image/svg+xml,${encodeURIComponent(t)}')`}function mm(t){return eOe(``,'width="6" height="3"')}const tOe=Ve.baseTheme({".cm-diagnostic":{padding:"3px 6px 3px 8px",marginLeft:"-1px",display:"block",whiteSpace:"pre-wrap"},".cm-diagnostic-error":{borderLeft:"5px solid #d11"},".cm-diagnostic-warning":{borderLeft:"5px solid orange"},".cm-diagnostic-info":{borderLeft:"5px solid #999"},".cm-diagnosticAction":{font:"inherit",border:"none",padding:"2px 4px",backgroundColor:"#444",color:"white",borderRadius:"3px",marginLeft:"8px"},".cm-diagnosticSource":{fontSize:"70%",opacity:.7},".cm-lintRange":{backgroundPosition:"left bottom",backgroundRepeat:"repeat-x",paddingBottom:"0.7px"},".cm-lintRange-error":{backgroundImage:mm("#d11")},".cm-lintRange-warning":{backgroundImage:mm("orange")},".cm-lintRange-info":{backgroundImage:mm("#999")},".cm-lintRange-active":{backgroundColor:"#ffdd9980"},".cm-tooltip-lint":{padding:0,margin:0},".cm-lintPoint":{position:"relative","&:after":{content:'""',position:"absolute",bottom:0,left:"-2px",borderLeft:"3px solid transparent",borderRight:"3px solid transparent",borderBottom:"4px solid #d11"}},".cm-lintPoint-warning":{"&:after":{borderBottomColor:"orange"}},".cm-lintPoint-info":{"&:after":{borderBottomColor:"#999"}},".cm-panel.cm-panel-lint":{position:"relative","& ul":{maxHeight:"100px",overflowY:"auto","& [aria-selected]":{backgroundColor:"#ddd","& u":{textDecoration:"underline"}},"&:focus [aria-selected]":{background_fallback:"#bdf",backgroundColor:"Highlight",color_fallback:"white",color:"HighlightText"},"& u":{textDecoration:"none"},padding:0,margin:0},"& [name=close]":{position:"absolute",top:"0",right:"2px",background:"inherit",border:"none",font:"inherit",padding:0,margin:0}}}),nOe=(()=>[Ole(),ple(),Rae(),Xce(),ice(),yae(),wae(),St.allowMultipleSelections.of(!0),Zle(),hA(ace,{fallback:!0}),dce(),Tfe(),Lfe(),Zae(),Nae(),Iae(),Tue(),Sc.of([...Xfe,...Sue,...jue,...Mce,...ece,...S4,...Hfe])])();/*! -* VueCodemirror v6.0.0 -* Copyright (c) Surmon. All rights reserved. -* Released under the MIT License. -* Surmon -*/var iOe=Symbol("vue-codemirror-global-config"),rOe=function(t){var e=t.config,n=function(r,s){var o={};for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&s.indexOf(a)<0&&(o[a]=r[a]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function"){var l=0;for(a=Object.getOwnPropertySymbols(r);l ul > li[aria-selected]":{backgroundColor:gm,color:Ch}}},{dark:!0}),QOe=Rf.define([{tag:z.keyword,color:yOe},{tag:[z.name,z.deleted,z.character,z.propertyName,z.macroName],color:Yw},{tag:[z.function(z.variableName),z.labelName],color:gOe},{tag:[z.color,z.constant(z.name),z.standard(z.name)],color:Zw},{tag:[z.definition(z.name),z.separator],color:Ch},{tag:[z.typeName,z.className,z.number,z.changed,z.annotation,z.modifier,z.self,z.namespace],color:dOe},{tag:[z.operator,z.operatorKeyword,z.url,z.escape,z.regexp,z.link,z.special(z.string)],color:pOe},{tag:[z.meta,z.comment],color:Zv},{tag:z.strong,fontWeight:"bold"},{tag:z.emphasis,fontStyle:"italic"},{tag:z.strikethrough,textDecoration:"line-through"},{tag:z.link,color:Zv,textDecoration:"underline"},{tag:z.heading,fontWeight:"bold",color:Yw},{tag:[z.atom,z.bool,z.special(z.variableName)],color:Zw},{tag:[z.processingInstruction,z.string,z.inserted],color:vOe},{tag:z.invalid,color:mOe}]),SOe=[_Oe,hA(QOe)];class xd{constructor(e,n,i,r,s,o,a,l,c,u=0,O){this.p=e,this.stack=n,this.state=i,this.reducePos=r,this.pos=s,this.score=o,this.buffer=a,this.bufferBase=l,this.curContext=c,this.lookAhead=u,this.parent=O}toString(){return`[${this.stack.filter((e,n)=>n%3==0).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(e,n,i=0){let r=e.parser.context;return new xd(e,[],n,i,i,0,[],0,r?new Nw(r,r.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(e,n){this.stack.push(this.state,n,this.bufferBase+this.buffer.length),this.state=e}reduce(e){let n=e>>19,i=e&65535,{parser:r}=this.p,s=r.dynamicPrecedence(i);if(s&&(this.score+=s),n==0){this.pushState(r.getGoto(this.state,i,!0),this.reducePos),io;)this.stack.pop();this.reduceContext(i,a)}storeNode(e,n,i,r=4,s=!1){if(e==0&&(!this.stack.length||this.stack[this.stack.length-1]0&&o.buffer[a-4]==0&&o.buffer[a-1]>-1){if(n==i)return;if(o.buffer[a-2]>=n){o.buffer[a-2]=i;return}}}if(!s||this.pos==i)this.buffer.push(e,n,i,r);else{let o=this.buffer.length;if(o>0&&this.buffer[o-4]!=0)for(;o>0&&this.buffer[o-2]>i;)this.buffer[o]=this.buffer[o-4],this.buffer[o+1]=this.buffer[o-3],this.buffer[o+2]=this.buffer[o-2],this.buffer[o+3]=this.buffer[o-1],o-=4,r>4&&(r-=4);this.buffer[o]=e,this.buffer[o+1]=n,this.buffer[o+2]=i,this.buffer[o+3]=r}}shift(e,n,i){let r=this.pos;if(e&131072)this.pushState(e&65535,this.pos);else if((e&262144)==0){let s=e,{parser:o}=this.p;(i>this.pos||n<=o.maxNode)&&(this.pos=i,o.stateFlag(s,1)||(this.reducePos=i)),this.pushState(s,r),this.shiftContext(n,r),n<=o.maxNode&&this.buffer.push(n,r,i,4)}else this.pos=i,this.shiftContext(n,r),n<=this.p.parser.maxNode&&this.buffer.push(n,r,i,4)}apply(e,n,i){e&65536?this.reduce(e):this.shift(e,n,i)}useNode(e,n){let i=this.p.reused.length-1;(i<0||this.p.reused[i]!=e)&&(this.p.reused.push(e),i++);let r=this.pos;this.reducePos=this.pos=r+e.length,this.pushState(n,r),this.buffer.push(i,r,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,e,this,this.p.stream.reset(this.pos-e.length)))}split(){let e=this,n=e.buffer.length;for(;n>0&&e.buffer[n-2]>e.reducePos;)n-=4;let i=e.buffer.slice(n),r=e.bufferBase+n;for(;e&&r==e.bufferBase;)e=e.parent;return new xd(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,i,r,this.curContext,this.lookAhead,e)}recoverByDelete(e,n){let i=e<=this.p.parser.maxNode;i&&this.storeNode(e,this.pos,n,4),this.storeNode(0,this.pos,n,i?8:4),this.pos=this.reducePos=n,this.score-=190}canShift(e){for(let n=new wOe(this);;){let i=this.p.parser.stateSlot(n.state,4)||this.p.parser.hasAction(n.state,e);if((i&65536)==0)return!0;if(i==0)return!1;n.reduce(i)}}recoverByInsert(e){if(this.stack.length>=300)return[];let n=this.p.parser.nextStates(this.state);if(n.length>4<<1||this.stack.length>=120){let r=[];for(let s=0,o;sl&1&&a==o)||r.push(n[s],o)}n=r}let i=[];for(let r=0;r>19,r=e&65535,s=this.stack.length-i*3;if(s<0||n.getGoto(this.stack[s],r,!1)<0)return!1;this.storeNode(0,this.reducePos,this.reducePos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(e),!0}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(this.stack.length!=3)return!1;let{parser:e}=this.p;return e.data[e.stateSlot(this.state,1)]==65535&&!e.stateSlot(this.state,4)}restart(){this.state=this.stack[0],this.stack.length=0}sameState(e){if(this.state!=e.state||this.stack.length!=e.stack.length)return!1;for(let n=0;nthis.lookAhead&&(this.emitLookAhead(),this.lookAhead=e)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}}class Nw{constructor(e,n){this.tracker=e,this.context=n,this.hash=e.strict?e.hash(n):0}}var Fw;(function(t){t[t.Insert=200]="Insert",t[t.Delete=190]="Delete",t[t.Reduce=100]="Reduce",t[t.MaxNext=4]="MaxNext",t[t.MaxInsertStackDepth=300]="MaxInsertStackDepth",t[t.DampenInsertStackDepth=120]="DampenInsertStackDepth"})(Fw||(Fw={}));class wOe{constructor(e){this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}reduce(e){let n=e&65535,i=e>>19;i==0?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=(i-1)*3;let r=this.start.p.parser.getGoto(this.stack[this.base-3],n,!0);this.state=r}}class Pd{constructor(e,n,i){this.stack=e,this.pos=n,this.index=i,this.buffer=e.buffer,this.index==0&&this.maybeNext()}static create(e,n=e.bufferBase+e.buffer.length){return new Pd(e,n,n-e.bufferBase)}maybeNext(){let e=this.stack.parent;e!=null&&(this.index=this.stack.bufferBase-e.bufferBase,this.stack=e,this.buffer=e.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,this.index==0&&this.maybeNext()}fork(){return new Pd(this.stack,this.pos,this.index)}}class Th{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}const Gw=new Th;class xOe{constructor(e,n){this.input=e,this.ranges=n,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=Gw,this.rangeIndex=0,this.pos=this.chunkPos=n[0].from,this.range=n[0],this.end=n[n.length-1].to,this.readNext()}resolveOffset(e,n){let i=this.range,r=this.rangeIndex,s=this.pos+e;for(;si.to:s>=i.to;){if(r==this.ranges.length-1)return null;let o=this.ranges[++r];s+=o.from-i.to,i=o}return s}peek(e){let n=this.chunkOff+e,i,r;if(n>=0&&n=this.chunk2Pos&&ia.to&&(this.chunk2=this.chunk2.slice(0,a.to-i)),r=this.chunk2.charCodeAt(0)}}return i>=this.token.lookAhead&&(this.token.lookAhead=i+1),r}acceptToken(e,n=0){let i=n?this.resolveOffset(n,-1):this.pos;if(i==null||i=this.chunk2Pos&&this.posthis.range.to?e.slice(0,this.range.to-this.pos):e,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(e=1){for(this.chunkOff+=e;this.pos+e>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();e-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=e,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}reset(e,n){if(n?(this.token=n,n.start=e,n.lookAhead=e+1,n.value=n.extended=-1):this.token=Gw,this.pos!=e){if(this.pos=e,e==this.end)return this.setDone(),this;for(;e=this.range.to;)this.range=this.ranges[++this.rangeIndex];e>=this.chunkPos&&e=this.chunkPos&&n<=this.chunkPos+this.chunk.length)return this.chunk.slice(e-this.chunkPos,n-this.chunkPos);if(e>=this.chunk2Pos&&n<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(e-this.chunk2Pos,n-this.chunk2Pos);if(e>=this.range.from&&n<=this.range.to)return this.input.read(e,n);let i="";for(let r of this.ranges){if(r.from>=n)break;r.to>e&&(i+=this.input.read(Math.max(r.from,e),Math.min(r.to,n)))}return i}}class Rh{constructor(e,n){this.data=e,this.id=n}token(e,n){POe(this.data,e,n,this.id)}}Rh.prototype.contextual=Rh.prototype.fallback=Rh.prototype.extend=!1;class on{constructor(e,n={}){this.token=e,this.contextual=!!n.contextual,this.fallback=!!n.fallback,this.extend=!!n.extend}}function POe(t,e,n,i){let r=0,s=1<0){let h=t[f];if(a.allows(h)&&(e.token.value==-1||e.token.value==h||o.overrides(h,e.token.value))){e.acceptToken(h);break}}let c=e.next,u=0,O=t[r+2];if(e.next<0&&O>u&&t[l+O*3-3]==65535){r=t[l+O*3-1];continue e}for(;u>1,h=l+f+(f<<1),p=t[h],y=t[h+1];if(c=y)u=f+1;else{r=t[h+2],e.advance();continue e}}break}}function GO(t,e=Uint16Array){if(typeof t!="string")return t;let n=null;for(let i=0,r=0;i=92&&o--,o>=34&&o--;let l=o-32;if(l>=46&&(l-=46,a=!0),s+=l,a)break;s*=46}n?n[r++]=s:n=new e(s)}return n}const dr=typeof process!="undefined"&&{serviceURI:"http://localhost:8082/"}&&/\bparse\b/.test({serviceURI:"http://localhost:8082/"}.LOG);let ym=null;var Hw;(function(t){t[t.Margin=25]="Margin"})(Hw||(Hw={}));function Kw(t,e,n){let i=t.cursor(en.IncludeAnonymous);for(i.moveTo(e);;)if(!(n<0?i.childBefore(e):i.childAfter(e)))for(;;){if((n<0?i.toe)&&!i.type.isError)return n<0?Math.max(0,Math.min(i.to-1,e-25)):Math.min(t.length,Math.max(i.from+1,e+25));if(n<0?i.prevSibling():i.nextSibling())break;if(!i.parent())return n<0?0:t.length}}class kOe{constructor(e,n){this.fragments=e,this.nodeSet=n,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let e=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(e){for(this.safeFrom=e.openStart?Kw(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?Kw(e.tree,e.to+e.offset,-1)-e.offset:e.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(e.tree),this.start.push(-e.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(e){if(ee)return this.nextStart=o,null;if(s instanceof vt){if(o==e){if(o=Math.max(this.safeFrom,e)&&(this.trees.push(s),this.start.push(o),this.index.push(0))}else this.index[n]++,this.nextStart=o+s.length}}}class COe{constructor(e,n){this.stream=n,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map(i=>new Th)}getActions(e){let n=0,i=null,{parser:r}=e.p,{tokenizers:s}=r,o=r.stateSlot(e.state,3),a=e.curContext?e.curContext.hash:0,l=0;for(let c=0;cO.end+25&&(l=Math.max(O.lookAhead,l)),O.value!=0)){let f=n;if(O.extended>-1&&(n=this.addActions(e,O.extended,O.end,n)),n=this.addActions(e,O.value,O.end,n),!u.extend&&(i=O,n>f))break}}for(;this.actions.length>n;)this.actions.pop();return l&&e.setLookAhead(l),!i&&e.pos==this.stream.end&&(i=new Th,i.value=e.p.parser.eofTerm,i.start=i.end=e.pos,n=this.addActions(e,i.value,i.end,n)),this.mainToken=i,this.actions}getMainToken(e){if(this.mainToken)return this.mainToken;let n=new Th,{pos:i,p:r}=e;return n.start=i,n.end=Math.min(i+1,r.stream.end),n.value=i==r.stream.end?r.parser.eofTerm:0,n}updateCachedToken(e,n,i){if(n.token(this.stream.reset(i.pos,e),i),e.value>-1){let{parser:r}=i.p;for(let s=0;s=0&&i.p.parser.dialect.allows(o>>1)){(o&1)==0?e.value=o>>1:e.extended=o>>1;break}}}else e.value=0,e.end=Math.min(i.p.stream.end,i.pos+1)}putAction(e,n,i,r){for(let s=0;se.bufferLength*4?new kOe(i,e.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let e=this.stacks,n=this.minStackPos,i=this.stacks=[],r,s;for(let o=0;on)i.push(a);else{if(this.advanceStack(a,i,e))continue;{r||(r=[],s=[]),r.push(a);let l=this.tokens.getMainToken(a);s.push(l.value,l.end)}}break}}if(!i.length){let o=r&&AOe(r);if(o)return this.stackToTree(o);if(this.parser.strict)throw dr&&r&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),new SyntaxError("No parse at "+n);this.recovering||(this.recovering=5)}if(this.recovering&&r){let o=this.stoppedAt!=null&&r[0].pos>this.stoppedAt?r[0]:this.runRecovery(r,s,i);if(o)return this.stackToTree(o.forceAll())}if(this.recovering){let o=this.recovering==1?1:this.recovering*3;if(i.length>o)for(i.sort((a,l)=>l.score-a.score);i.length>o;)i.pop();i.some(a=>a.reducePos>n)&&this.recovering--}else if(i.length>1){e:for(let o=0;o500&&c.buffer.length>500)if((a.score-c.score||a.buffer.length-c.buffer.length)>0)i.splice(l--,1);else{i.splice(o--,1);continue e}}}}this.minStackPos=i[0].pos;for(let o=1;o ":"";if(this.stoppedAt!=null&&r>this.stoppedAt)return e.forceReduce()?e:null;if(this.fragments){let c=e.curContext&&e.curContext.tracker.strict,u=c?e.curContext.hash:0;for(let O=this.fragments.nodeAt(r);O;){let f=this.parser.nodeSet.types[O.type.id]==O.type?s.getGoto(e.state,O.type.id):-1;if(f>-1&&O.length&&(!c||(O.prop(ft.contextHash)||0)==u))return e.useNode(O,f),dr&&console.log(o+this.stackID(e)+` (via reuse of ${s.getName(O.type.id)})`),!0;if(!(O instanceof vt)||O.children.length==0||O.positions[0]>0)break;let h=O.children[0];if(h instanceof vt&&O.positions[0]==0)O=h;else break}}let a=s.stateSlot(e.state,4);if(a>0)return e.reduce(a),dr&&console.log(o+this.stackID(e)+` (via always-reduce ${s.getName(a&65535)})`),!0;if(e.stack.length>=15e3)for(;e.stack.length>9e3&&e.forceReduce(););let l=this.tokens.getActions(e);for(let c=0;cr?n.push(p):i.push(p)}return!1}advanceFully(e,n){let i=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>i)return ex(e,n),!0}}runRecovery(e,n,i){let r=null,s=!1;for(let o=0;o ":"";if(a.deadEnd&&(s||(s=!0,a.restart(),dr&&console.log(u+this.stackID(a)+" (restarted)"),this.advanceFully(a,i))))continue;let O=a.split(),f=u;for(let h=0;O.forceReduce()&&h<10&&(dr&&console.log(f+this.stackID(O)+" (via force-reduce)"),!this.advanceFully(O,i));h++)dr&&(f=this.stackID(O)+" -> ");for(let h of a.recoverByInsert(l))dr&&console.log(u+this.stackID(h)+" (via recover-insert)"),this.advanceFully(h,i);this.stream.end>a.pos?(c==a.pos&&(c++,l=0),a.recoverByDelete(l,c),dr&&console.log(u+this.stackID(a)+` (via recover-delete ${this.parser.getName(l)})`),ex(a,i)):(!r||r.scoret;class Dp{constructor(e){this.start=e.start,this.shift=e.shift||$m,this.reduce=e.reduce||$m,this.reuse=e.reuse||$m,this.hash=e.hash||(()=>0),this.strict=e.strict!==!1}}class Ui extends kp{constructor(e){if(super(),this.wrappers=[],e.version!=14)throw new RangeError(`Parser version (${e.version}) doesn't match runtime version (${14})`);let n=e.nodeNames.split(" ");this.minRepeatTerm=n.length;for(let a=0;ae.topRules[a][1]),r=[];for(let a=0;a=0)s(u,l,a[c++]);else{let O=a[c+-u];for(let f=-u;f>0;f--)s(a[c++],l,O);c++}}}this.nodeSet=new wc(n.map((a,l)=>mn.define({name:l>=this.minRepeatTerm?void 0:a,id:l,props:r[l],top:i.indexOf(l)>-1,error:l==0,skipped:e.skippedNodes&&e.skippedNodes.indexOf(l)>-1}))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),this.strict=!1,this.bufferLength=G5;let o=GO(e.tokenData);if(this.context=e.context,this.specialized=new Uint16Array(e.specialized?e.specialized.length:0),this.specializers=[],e.specialized)for(let a=0;atypeof a=="number"?new Rh(o,a):a),this.topRules=e.topRules,this.dialects=e.dialects||{},this.dynamicPrecedences=e.dynamicPrecedences||null,this.tokenPrecTable=e.tokenPrec,this.termNames=e.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(e,n,i){let r=new TOe(this,e,n,i);for(let s of this.wrappers)r=s(r,e,n,i);return r}getGoto(e,n,i=!1){let r=this.goto;if(n>=r[0])return-1;for(let s=r[n+1];;){let o=r[s++],a=o&1,l=r[s++];if(a&&i)return l;for(let c=s+(o>>1);s0}validAction(e,n){if(n==this.stateSlot(e,4))return!0;for(let i=this.stateSlot(e,1);;i+=3){if(this.data[i]==65535)if(this.data[i+1]==1)i=fs(this.data,i+2);else return!1;if(n==fs(this.data,i+1))return!0}}nextStates(e){let n=[];for(let i=this.stateSlot(e,1);;i+=3){if(this.data[i]==65535)if(this.data[i+1]==1)i=fs(this.data,i+2);else break;if((this.data[i+2]&1)==0){let r=this.data[i+1];n.some((s,o)=>o&1&&s==r)||n.push(this.data[i],r)}}return n}overrides(e,n){let i=tx(this.data,this.tokenPrecTable,n);return i<0||tx(this.data,this.tokenPrecTable,e){let r=e.tokenizers.find(s=>s.from==i);return r?r.to:i})),e.specializers&&(n.specializers=this.specializers.map(i=>{let r=e.specializers.find(s=>s.from==i);return r?r.to:i})),e.contextTracker&&(n.context=e.contextTracker),e.dialect&&(n.dialect=this.parseDialect(e.dialect)),e.strict!=null&&(n.strict=e.strict),e.wrap&&(n.wrappers=n.wrappers.concat(e.wrap)),e.bufferLength!=null&&(n.bufferLength=e.bufferLength),n}hasWrappers(){return this.wrappers.length>0}getName(e){return this.termNames?this.termNames[e]:String(e<=this.maxNode&&this.nodeSet.types[e].name||e)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(e){let n=this.dynamicPrecedences;return n==null?0:n[e]||0}parseDialect(e){let n=Object.keys(this.dialects),i=n.map(()=>!1);if(e)for(let s of e.split(" ")){let o=n.indexOf(s);o>=0&&(i[o]=!0)}let r=null;for(let s=0;si)&&n.p.parser.stateFlag(n.state,2)&&(!e||e.score{let{next:n}=t;(n==T4||n==-1||e.context)&&e.canShift(rx)&&t.acceptToken(rx)},{contextual:!0,fallback:!0}),JOe=new on((t,e)=>{let{next:n}=t,i;BOe.indexOf(n)>-1||n==sx&&((i=t.peek(1))==sx||i==ZOe)||n!=T4&&n!=YOe&&n!=-1&&!e.context&&e.canShift(nx)&&t.acceptToken(nx)},{contextual:!0}),ehe=new on((t,e)=>{let{next:n}=t;if((n==VOe||n==jOe)&&(t.advance(),n==t.next)){t.advance();let i=!e.context&&e.canShift(ix);t.acceptToken(i?ix:XOe)}},{contextual:!0}),the=new on(t=>{for(let e=!1,n=0;;n++){let{next:i}=t;if(i<0){n&&t.acceptToken(HO);break}else if(i==FOe){n?t.acceptToken(HO):t.acceptToken(zOe,1);break}else if(i==MOe&&e){n==1?t.acceptToken(WOe,1):t.acceptToken(HO,-1);break}else if(i==10&&n){t.advance(),t.acceptToken(HO);break}else i==GOe&&t.advance();e=i==NOe,t.advance()}}),nhe=new on((t,e)=>{if(!(t.next!=101||!e.dialectEnabled(LOe))){t.advance();for(let n=0;n<6;n++){if(t.next!="xtends".charCodeAt(n))return;t.advance()}t.next>=57&&t.next<=65||t.next>=48&&t.next<=90||t.next==95||t.next>=97&&t.next<=122||t.next>160||t.acceptToken(EOe)}}),ihe=Li({"get set async static":z.modifier,"for while do if else switch try catch finally return throw break continue default case":z.controlKeyword,"in of await yield void typeof delete instanceof":z.operatorKeyword,"let var const function class extends":z.definitionKeyword,"import export from":z.moduleKeyword,"with debugger as new":z.keyword,TemplateString:z.special(z.string),Super:z.atom,BooleanLiteral:z.bool,this:z.self,null:z.null,Star:z.modifier,VariableName:z.variableName,"CallExpression/VariableName TaggedTemplateExpression/VariableName":z.function(z.variableName),VariableDefinition:z.definition(z.variableName),Label:z.labelName,PropertyName:z.propertyName,PrivatePropertyName:z.special(z.propertyName),"CallExpression/MemberExpression/PropertyName":z.function(z.propertyName),"FunctionDeclaration/VariableDefinition":z.function(z.definition(z.variableName)),"ClassDeclaration/VariableDefinition":z.definition(z.className),PropertyDefinition:z.definition(z.propertyName),PrivatePropertyDefinition:z.definition(z.special(z.propertyName)),UpdateOp:z.updateOperator,LineComment:z.lineComment,BlockComment:z.blockComment,Number:z.number,String:z.string,ArithOp:z.arithmeticOperator,LogicOp:z.logicOperator,BitOp:z.bitwiseOperator,CompareOp:z.compareOperator,RegExp:z.regexp,Equals:z.definitionOperator,"Arrow : Spread":z.punctuation,"( )":z.paren,"[ ]":z.squareBracket,"{ }":z.brace,"InterpolationStart InterpolationEnd":z.special(z.brace),".":z.derefOperator,", ;":z.separator,TypeName:z.typeName,TypeDefinition:z.definition(z.typeName),"type enum interface implements namespace module declare":z.definitionKeyword,"abstract global Privacy readonly override":z.modifier,"is keyof unique infer":z.operatorKeyword,JSXAttributeValue:z.attributeValue,JSXText:z.content,"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":z.angleBracket,"JSXIdentifier JSXNameSpacedName":z.tagName,"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":z.attributeName}),rhe={__proto__:null,export:18,as:23,from:29,default:32,async:37,function:38,this:48,true:56,false:56,void:66,typeof:70,null:86,super:88,new:122,await:139,yield:141,delete:142,class:152,extends:154,public:197,private:197,protected:197,readonly:199,instanceof:220,in:222,const:224,import:256,keyof:307,unique:311,infer:317,is:351,abstract:371,implements:373,type:375,let:378,var:380,interface:387,enum:391,namespace:397,module:399,declare:403,global:407,for:428,of:437,while:440,with:444,do:448,if:452,else:454,switch:458,case:464,try:470,catch:474,finally:478,return:482,throw:486,break:490,continue:494,debugger:498},she={__proto__:null,async:109,get:111,set:113,public:161,private:161,protected:161,static:163,abstract:165,override:167,readonly:173,new:355},ohe={__proto__:null,"<":129},ahe=Ui.deserialize({version:14,states:"$8SO`QdOOO'QQ(C|O'#ChO'XOWO'#DVO)dQdO'#D]O)tQdO'#DhO){QdO'#DrO-xQdO'#DxOOQO'#E]'#E]O.]Q`O'#E[O.bQ`O'#E[OOQ(C['#Ef'#EfO0aQ(C|O'#ItO2wQ(C|O'#IuO3eQ`O'#EzO3jQ!bO'#FaOOQ(C['#FS'#FSO3rO#tO'#FSO4QQ&jO'#FhO5bQ`O'#FgOOQ(C['#Iu'#IuOOQ(CW'#It'#ItOOQS'#J^'#J^O5gQ`O'#HpO5lQ(ChO'#HqOOQS'#Ih'#IhOOQS'#Hr'#HrQ`QdOOO){QdO'#DjO5tQ`O'#G[O5yQ&jO'#CmO6XQ`O'#EZO6dQ`O'#EgO6iQ,UO'#FRO7TQ`O'#G[O7YQ`O'#G`O7eQ`O'#G`O7sQ`O'#GcO7sQ`O'#GdO7sQ`O'#GfO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X0l`!dR!]!`$u%x&`)x+hh!qUrs!r!u$Z&t&w)z,S,U0lQ/d*mQ/w+YQ3p/oT:s&W)yT!gR$uS!fR$uS%y!]&`S&O!`)xS+S%x+hT+_&W)yT&]!b$vQ#i^R'{#nT'q#i'rR1Z,lT(a#v(cR(i#yQ-})]Q2U.RQ2|.{Q4{2TQ5l3QQ6t4}Q7U5kQ7y6zQ8S7WR8i8TlhOSj}!n$]%c%f%g%i*o*t/g/jQ%]yR*d%YV$yrs*mR.u*TR*c%WQ$qpR)u$rR)k$lT%az%dT%bz%dT/i*t/j",nodeNames:"\u26A0 extends ArithOp ArithOp InterpolationStart LineComment BlockComment Script ExportDeclaration export Star as VariableName String from ; default FunctionDeclaration async function VariableDefinition TypeParamList TypeDefinition ThisType this LiteralType ArithOp Number BooleanLiteral TemplateType InterpolationEnd Interpolation VoidType void TypeofType typeof MemberExpression . ?. PropertyName [ TemplateString Interpolation null super RegExp ] ArrayExpression Spread , } { ObjectExpression Property async get set PropertyDefinition Block : NewExpression new TypeArgList CompareOp < ) ( ArgList UnaryExpression await yield delete LogicOp BitOp ParenthesizedExpression ClassExpression class extends ClassBody MethodDeclaration Privacy static abstract override PrivatePropertyDefinition PropertyDeclaration readonly Optional TypeAnnotation Equals StaticBlock FunctionExpression ArrowFunction ParamList ParamList ArrayPattern ObjectPattern PatternProperty Privacy readonly Arrow MemberExpression PrivatePropertyName BinaryExpression ArithOp ArithOp ArithOp ArithOp BitOp CompareOp instanceof in const CompareOp BitOp BitOp BitOp LogicOp LogicOp ConditionalExpression LogicOp LogicOp AssignmentExpression UpdateOp PostfixExpression CallExpression TaggedTemplateExpression DynamicImport import ImportMeta JSXElement JSXSelfCloseEndTag JSXStartTag JSXSelfClosingTag JSXIdentifier JSXNamespacedName JSXMemberExpression JSXSpreadAttribute JSXAttribute JSXAttributeValue JSXEscape JSXEndTag JSXOpenTag JSXFragmentTag JSXText JSXEscape JSXStartCloseTag JSXCloseTag PrefixCast ArrowFunction TypeParamList SequenceExpression KeyofType keyof UniqueType unique ImportType InferredType infer TypeName ParenthesizedType FunctionSignature ParamList NewSignature IndexedType TupleType Label ArrayType ReadonlyType ObjectType MethodType PropertyType IndexSignature CallSignature TypePredicate is NewSignature new UnionType LogicOp IntersectionType LogicOp ConditionalType ParameterizedType ClassDeclaration abstract implements type VariableDeclaration let var TypeAliasDeclaration InterfaceDeclaration interface EnumDeclaration enum EnumBody NamespaceDeclaration namespace module AmbientDeclaration declare GlobalDeclaration global ClassDeclaration ClassBody MethodDeclaration AmbientFunctionDeclaration ExportGroup VariableName VariableName ImportDeclaration ImportGroup ForStatement for ForSpec ForInSpec ForOfSpec of WhileStatement while WithStatement with DoStatement do IfStatement if else SwitchStatement switch SwitchBody CaseLabel case DefaultLabel TryStatement try CatchClause catch FinallyClause finally ReturnStatement return ThrowStatement throw BreakStatement break ContinueStatement continue DebuggerStatement debugger LabeledStatement ExpressionStatement",maxTerm:332,context:HOe,nodeProps:[["closedBy",4,"InterpolationEnd",40,"]",51,"}",66,")",132,"JSXSelfCloseEndTag JSXEndTag",146,"JSXEndTag"],["group",-26,8,15,17,58,184,188,191,192,194,197,200,211,213,219,221,223,225,228,234,240,242,244,246,248,250,251,"Statement",-30,12,13,24,27,28,41,43,44,45,47,52,60,68,74,75,91,92,101,103,119,122,124,125,126,127,129,130,148,149,151,"Expression",-22,23,25,29,32,34,152,154,156,157,159,160,161,163,164,165,167,168,169,178,180,182,183,"Type",-3,79,85,90,"ClassItem"],["openedBy",30,"InterpolationStart",46,"[",50,"{",65,"(",131,"JSXStartTag",141,"JSXStartTag JSXStartCloseTag"]],propSources:[ihe],skippedNodes:[0,5,6],repeatNodeCount:28,tokenData:"!C}~R!`OX%TXY%cYZ'RZ[%c[]%T]^'R^p%Tpq%cqr'crs(kst0htu2`uv4pvw5ewx6cxyk|}?O}!O>k!O!P?`!P!QCl!Q!R!0[!R![!1q![!]!7s!]!^!8V!^!_!8g!_!`!9d!`!a!:[!a!b!U#R#S2`#S#T!>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!_!c%T!c!}2`!}#R%T#R#S2`#S#T%T#T#o2`#p$f%T$f$g%c$g#BY2`#BY#BZ!@Y#BZ$IS2`$IS$I_!@Y$I_$JT2`$JT$JU!@Y$JU$KV2`$KV$KW!@Y$KW&FU2`&FU&FV!@Y&FV?HT2`?HT?HU!@Y?HU~2`7Z!CO_$UW'Z7R#zS']$y'g3SOt%Ttu2`u}%T}!O3j!O!Q%T!Q![2`![!^%T!_!c%T!c!}2`!}#R%T#R#S2`#S#T%T#T#o2`#p$g%T$g~2`",tokenizers:[nhe,JOe,ehe,the,0,1,2,3,4,5,6,7,8,9,KOe],topRules:{Script:[0,7]},dialects:{jsx:12107,ts:12109},dynamicPrecedences:{"149":1,"176":1},specialized:[{term:289,get:t=>rhe[t]||-1},{term:299,get:t=>she[t]||-1},{term:63,get:t=>ohe[t]||-1}],tokenPrec:12130}),lhe=[hr("function ${name}(${params}) {\n ${}\n}",{label:"function",detail:"definition",type:"keyword"}),hr("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n ${}\n}",{label:"for",detail:"loop",type:"keyword"}),hr("for (let ${name} of ${collection}) {\n ${}\n}",{label:"for",detail:"of loop",type:"keyword"}),hr("do {\n ${}\n} while (${})",{label:"do",detail:"loop",type:"keyword"}),hr("while (${}) {\n ${}\n}",{label:"while",detail:"loop",type:"keyword"}),hr(`try { - \${} -} catch (\${error}) { - \${} -}`,{label:"try",detail:"/ catch block",type:"keyword"}),hr("if (${}) {\n ${}\n}",{label:"if",detail:"block",type:"keyword"}),hr(`if (\${}) { - \${} -} else { - \${} -}`,{label:"if",detail:"/ else block",type:"keyword"}),hr(`class \${name} { - constructor(\${params}) { - \${} - } -}`,{label:"class",detail:"definition",type:"keyword"}),hr('import {${names}} from "${module}"\n${}',{label:"import",detail:"named",type:"keyword"}),hr('import ${name} from "${module}"\n${}',{label:"import",detail:"default",type:"keyword"})],ox=new ble,R4=new Set(["Script","Block","FunctionExpression","FunctionDeclaration","ArrowFunction","MethodDeclaration","ForStatement"]);function Bc(t){return(e,n)=>{let i=e.node.getChild("VariableDefinition");return i&&n(i,t),!0}}const che=["FunctionDeclaration"],uhe={FunctionDeclaration:Bc("function"),ClassDeclaration:Bc("class"),ClassExpression:()=>!0,EnumDeclaration:Bc("constant"),TypeAliasDeclaration:Bc("type"),NamespaceDeclaration:Bc("namespace"),VariableDefinition(t,e){t.matchContext(che)||e(t,"variable")},TypeDefinition(t,e){e(t,"type")},__proto__:null};function A4(t,e){let n=ox.get(e);if(n)return n;let i=[],r=!0;function s(o,a){let l=t.sliceString(o.from,o.to);i.push({label:l,type:a})}return e.cursor(en.IncludeAnonymous).iterate(o=>{if(r)r=!1;else if(o.name){let a=uhe[o.name];if(a&&a(o,s)||R4.has(o.name))return!1}else if(o.to-o.from>8192){for(let a of A4(t,o.node))i.push(a);return!1}}),ox.set(e,i),i}const ax=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,E4=["TemplateString","String","RegExp","LineComment","BlockComment","VariableDefinition","TypeDefinition","Label","PropertyDefinition","PropertyName","PrivatePropertyDefinition","PrivatePropertyName"];function fhe(t){let e=jt(t.state).resolveInner(t.pos,-1);if(E4.indexOf(e.name)>-1)return null;let n=e.to-e.from<20&&ax.test(t.state.sliceDoc(e.from,e.to));if(!n&&!t.explicit)return null;let i=[];for(let r=e;r;r=r.parent)R4.has(r.name)&&(i=i.concat(A4(t.state.doc,r)));return{options:i,from:n?e.from:t.pos,validFor:ax}}const $o=qi.define({parser:ahe.configure({props:[or.add({IfStatement:Nn({except:/^\s*({|else\b)/}),TryStatement:Nn({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:H$,SwitchBody:t=>{let e=t.textAfter,n=/^\s*\}/.test(e),i=/^\s*(case|default)\b/.test(e);return t.baseIndent+(n?0:i?1:2)*t.unit},Block:Sa({closing:"}"}),ArrowFunction:t=>t.baseIndent+t.unit,"TemplateString BlockComment":()=>-1,"Statement Property":Nn({except:/^{/}),JSXElement(t){let e=/^\s*<\//.test(t.textAfter);return t.lineIndent(t.node.from)+(e?0:t.unit)},JSXEscape(t){let e=/\s*\}/.test(t.textAfter);return t.lineIndent(t.node.from)+(e?0:t.unit)},"JSXOpenTag JSXSelfClosingTag"(t){return t.column(t.node.from)+t.unit}}),ar.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression":Va,BlockComment(t){return{from:t.from+2,to:t.to-2}}})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}}),Ohe=$o.configure({dialect:"ts"}),hhe=$o.configure({dialect:"jsx"}),dhe=$o.configure({dialect:"jsx ts"}),phe="break case const continue default delete export extends false finally in instanceof let new return static super switch this throw true typeof var yield".split(" ").map(t=>({label:t,type:"keyword"}));function ru(t={}){let e=t.jsx?t.typescript?dhe:hhe:t.typescript?Ohe:$o;return new sr(e,[$o.data.of({autocomplete:O4(E4,l1(lhe.concat(phe)))}),$o.data.of({autocomplete:fhe}),t.jsx?ghe:[]])}function lx(t,e,n=t.length){if(!e)return"";let i=e.getChild("JSXIdentifier");return i?t.sliceString(i.from,Math.min(i.to,n)):""}const mhe=typeof navigator=="object"&&/Android\b/.test(navigator.userAgent),ghe=Ve.inputHandler.of((t,e,n,i)=>{if((mhe?t.composing:t.compositionStarted)||t.state.readOnly||e!=n||i!=">"&&i!="/"||!$o.isActiveAt(t.state,e,-1))return!1;let{state:r}=t,s=r.changeByRange(o=>{var a,l,c;let{head:u}=o,O=jt(r).resolveInner(u,-1),f;if(O.name=="JSXStartTag"&&(O=O.parent),i==">"&&O.name=="JSXFragmentTag")return{range:we.cursor(u+1),changes:{from:u,insert:"><>"}};if(i==">"&&O.name=="JSXIdentifier"){if(((l=(a=O.parent)===null||a===void 0?void 0:a.lastChild)===null||l===void 0?void 0:l.name)!="JSXEndTag"&&(f=lx(r.doc,O.parent,u)))return{range:we.cursor(u+1),changes:{from:u,insert:`>`}}}else if(i=="/"&&O.name=="JSXFragmentTag"){let h=O.parent,p=h==null?void 0:h.parent;if(h.from==u-1&&((c=p.lastChild)===null||c===void 0?void 0:c.name)!="JSXEndTag"&&(f=lx(r.doc,p==null?void 0:p.firstChild,u))){let y=`/${f}>`;return{range:we.cursor(u+y.length),changes:{from:u,insert:y}}}}return{range:o}});return s.changes.empty?!1:(t.dispatch(s,{userEvent:"input.type",scrollIntoView:!0}),!0)}),vhe=53,yhe=1,$he=54,bhe=2,_he=55,Qhe=3,kd=4,X4=5,W4=6,z4=7,I4=8,She=9,whe=10,xhe=11,bm=56,Phe=12,cx=57,khe=18,Che=27,The=30,Rhe=33,Ahe=35,Ehe=0,Xhe={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},Whe={dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},ux={dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}};function zhe(t){return t==45||t==46||t==58||t>=65&&t<=90||t==95||t>=97&&t<=122||t>=161}function q4(t){return t==9||t==10||t==13||t==32}let fx=null,Ox=null,hx=0;function Vv(t,e){let n=t.pos+e;if(hx==n&&Ox==t)return fx;let i=t.peek(e);for(;q4(i);)i=t.peek(++e);let r="";for(;zhe(i);)r+=String.fromCharCode(i),i=t.peek(++e);return Ox=t,hx=n,fx=r?r.toLowerCase():i==Ihe||i==qhe?void 0:null}const U4=60,D4=62,L4=47,Ihe=63,qhe=33,Uhe=45;function dx(t,e){this.name=t,this.parent=e,this.hash=e?e.hash:0;for(let n=0;n-1?new dx(Vv(i,1)||"",t):t},reduce(t,e){return e==khe&&t?t.parent:t},reuse(t,e,n,i){let r=e.type.id;return r==kd||r==Ahe?new dx(Vv(i,1)||"",t):t},hash(t){return t?t.hash:0},strict:!1}),Bhe=new on((t,e)=>{if(t.next!=U4){t.next<0&&e.context&&t.acceptToken(bm);return}t.advance();let n=t.next==L4;n&&t.advance();let i=Vv(t,0);if(i===void 0)return;if(!i)return t.acceptToken(n?Phe:kd);let r=e.context?e.context.name:null;if(n){if(i==r)return t.acceptToken(She);if(r&&Whe[r])return t.acceptToken(bm,-2);if(e.dialectEnabled(Ehe))return t.acceptToken(whe);for(let s=e.context;s;s=s.parent)if(s.name==i)return;t.acceptToken(xhe)}else{if(i=="script")return t.acceptToken(X4);if(i=="style")return t.acceptToken(W4);if(i=="textarea")return t.acceptToken(z4);if(Xhe.hasOwnProperty(i))return t.acceptToken(I4);r&&ux[r]&&ux[r][i]?t.acceptToken(bm,-1):t.acceptToken(kd)}},{contextual:!0}),Mhe=new on(t=>{for(let e=0,n=0;;n++){if(t.next<0){n&&t.acceptToken(cx);break}if(t.next==Uhe)e++;else if(t.next==D4&&e>=2){n>3&&t.acceptToken(cx,-2);break}else e=0;t.advance()}});function g1(t,e,n){let i=2+t.length;return new on(r=>{for(let s=0,o=0,a=0;;a++){if(r.next<0){a&&r.acceptToken(e);break}if(s==0&&r.next==U4||s==1&&r.next==L4||s>=2&&so?r.acceptToken(e,-o):r.acceptToken(n,-(o-2));break}else if((r.next==10||r.next==13)&&a){r.acceptToken(e,1);break}else s=o=0;r.advance()}})}const Yhe=g1("script",vhe,yhe),Zhe=g1("style",$he,bhe),Vhe=g1("textarea",_he,Qhe),jhe=Li({"Text RawText":z.content,"StartTag StartCloseTag SelfCloserEndTag EndTag SelfCloseEndTag":z.angleBracket,TagName:z.tagName,"MismatchedCloseTag/TagName":[z.tagName,z.invalid],AttributeName:z.attributeName,"AttributeValue UnquotedAttributeValue":z.attributeValue,Is:z.definitionOperator,"EntityReference CharacterReference":z.character,Comment:z.blockComment,ProcessingInst:z.processingInstruction,DoctypeDecl:z.documentMeta}),Nhe=Ui.deserialize({version:14,states:",xOVOxOOO!WQ!bO'#CoO!]Q!bO'#CyO!bQ!bO'#C|O!gQ!bO'#DPO!lQ!bO'#DRO!qOXO'#CnO!|OYO'#CnO#XO[O'#CnO$eOxO'#CnOOOW'#Cn'#CnO$lO!rO'#DSO$tQ!bO'#DUO$yQ!bO'#DVOOOW'#Dj'#DjOOOW'#DX'#DXQVOxOOO%OQ#tO,59ZO%WQ#tO,59eO%`Q#tO,59hO%hQ#tO,59kO%pQ#tO,59mOOOX'#D]'#D]O%xOXO'#CwO&TOXO,59YOOOY'#D^'#D^O&]OYO'#CzO&hOYO,59YOOO['#D_'#D_O&pO[O'#C}O&{O[O,59YOOOW'#D`'#D`O'TOxO,59YO'[Q!bO'#DQOOOW,59Y,59YOOO`'#Da'#DaO'aO!rO,59nOOOW,59n,59nO'iQ!bO,59pO'nQ!bO,59qOOOW-E7V-E7VO'sQ#tO'#CqOOQO'#DY'#DYO(OQ#tO1G.uOOOX1G.u1G.uO(WQ#tO1G/POOOY1G/P1G/PO(`Q#tO1G/SOOO[1G/S1G/SO(hQ#tO1G/VOOOW1G/V1G/VO(pQ#tO1G/XOOOW1G/X1G/XOOOX-E7Z-E7ZO(xQ!bO'#CxOOOW1G.t1G.tOOOY-E7[-E7[O(}Q!bO'#C{OOO[-E7]-E7]O)SQ!bO'#DOOOOW-E7^-E7^O)XQ!bO,59lOOO`-E7_-E7_OOOW1G/Y1G/YOOOW1G/[1G/[OOOW1G/]1G/]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pRnWR!XnXXOX`pQrXR!XpXYOX`pQ`ORx`Q{aQ}bQ!PcQ!RdQ!TeZ!e{}!P!R!TQ!v!oR!z!vQ!y!pR!|!yQgUR!VgQjVR!YjQmWR![mQpXR!^pQtZR!`tS_O`ToXp",nodeNames:"\u26A0 StartCloseTag StartCloseTag StartCloseTag StartTag StartTag StartTag StartTag StartTag StartCloseTag StartCloseTag StartCloseTag IncompleteCloseTag Document Text EntityReference CharacterReference InvalidEntity Element OpenTag TagName Attribute AttributeName Is AttributeValue UnquotedAttributeValue EndTag ScriptText CloseTag OpenTag StyleText CloseTag OpenTag TextareaText CloseTag OpenTag CloseTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag CloseTag DoctypeDecl",maxTerm:66,context:Lhe,nodeProps:[["closedBy",-11,1,2,3,4,5,6,7,8,9,10,11,"EndTag",-4,19,29,32,35,"CloseTag"],["group",-9,12,15,16,17,18,38,39,40,41,"Entity",14,"Entity TextContent",-3,27,30,33,"TextContent Entity"],["openedBy",26,"StartTag StartCloseTag",-4,28,31,34,36,"OpenTag"]],propSources:[jhe],skippedNodes:[0],repeatNodeCount:9,tokenData:"!#b!aR!WOX$kXY)sYZ)sZ]$k]^)s^p$kpq)sqr$krs*zsv$kvw+dwx2yx}$k}!O3f!O!P$k!P!Q7_!Q![$k![!]8u!]!^$k!^!_>b!_!`!!p!`!a8T!a!c$k!c!}8u!}#R$k#R#S8u#S#T$k#T#o8u#o$f$k$f$g&R$g%W$k%W%o8u%o%p$k%p&a8u&a&b$k&b1p8u1p4U$k4U4d8u4d4e$k4e$IS8u$IS$I`$k$I`$Ib8u$Ib$Kh$k$Kh%#t8u%#t&/x$k&/x&Et8u&Et&FV$k&FV;'S8u;'S;:jiW!``!bpOq(kqr?Rrs'gsv(kwx(]x!a(k!a!bKj!b~(k!R?YZ!``!bpOr(krs'gsv(kwx(]x}(k}!O?{!O!f(k!f!gAR!g#W(k#W#XGz#X~(k!R@SV!``!bpOr(krs'gsv(kwx(]x}(k}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bpOrKjrsLZsvKjvwLowxNPx!`Kj!`!a!!W!a~Kj!R!!aT!``!bpwPOr(krs'gsv(kwx(]x~(k!V!!{VgS^P!``!bpOr&Rrs&qsv&Rwx'rx!^&R!^!_(k!_~&R",tokenizers:[Yhe,Zhe,Vhe,Bhe,Mhe,0,1,2,3,4,5],topRules:{Document:[0,13]},dialects:{noMatch:0},tokenPrec:464});function Fhe(t,e){let n=Object.create(null);for(let i of t.firstChild.getChildren("Attribute")){let r=i.getChild("AttributeName"),s=i.getChild("AttributeValue")||i.getChild("UnquotedAttributeValue");r&&(n[e.read(r.from,r.to)]=s?s.name=="AttributeValue"?e.read(s.from+1,s.to-1):e.read(s.from,s.to):"")}return n}function _m(t,e,n){let i;for(let r of n)if(!r.attrs||r.attrs(i||(i=Fhe(t.node.parent,e))))return{parser:r.parser};return null}function Ghe(t){let e=[],n=[],i=[];for(let r of t){let s=r.tag=="script"?e:r.tag=="style"?n:r.tag=="textarea"?i:null;if(!s)throw new RangeError("Only script, style, and textarea tags can host nested parsers");s.push(r)}return j$((r,s)=>{let o=r.type.id;return o==Che?_m(r,s,e):o==The?_m(r,s,n):o==Rhe?_m(r,s,i):null})}const Hhe=93,px=1,Khe=94,Jhe=95,mx=2,B4=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],ede=58,tde=40,M4=95,nde=91,Ah=45,ide=46,rde=35,sde=37;function Cd(t){return t>=65&&t<=90||t>=97&&t<=122||t>=161}function ode(t){return t>=48&&t<=57}const ade=new on((t,e)=>{for(let n=!1,i=0,r=0;;r++){let{next:s}=t;if(Cd(s)||s==Ah||s==M4||n&&ode(s))!n&&(s!=Ah||r>0)&&(n=!0),i===r&&s==Ah&&i++,t.advance();else{n&&t.acceptToken(s==tde?Khe:i==2&&e.canShift(mx)?mx:Jhe);break}}}),lde=new on(t=>{if(B4.includes(t.peek(-1))){let{next:e}=t;(Cd(e)||e==M4||e==rde||e==ide||e==nde||e==ede||e==Ah)&&t.acceptToken(Hhe)}}),cde=new on(t=>{if(!B4.includes(t.peek(-1))){let{next:e}=t;if(e==sde&&(t.advance(),t.acceptToken(px)),Cd(e)){do t.advance();while(Cd(t.next));t.acceptToken(px)}}}),ude=Li({"import charset namespace keyframes":z.definitionKeyword,"media supports":z.controlKeyword,"from to selector":z.keyword,NamespaceName:z.namespace,KeyframeName:z.labelName,TagName:z.tagName,ClassName:z.className,PseudoClassName:z.constant(z.className),IdName:z.labelName,"FeatureName PropertyName":z.propertyName,AttributeName:z.attributeName,NumberLiteral:z.number,KeywordQuery:z.keyword,UnaryQueryOp:z.operatorKeyword,"CallTag ValueName":z.atom,VariableName:z.variableName,Callee:z.operatorKeyword,Unit:z.unit,"UniversalSelector NestingSelector":z.definitionOperator,AtKeyword:z.keyword,MatchOp:z.compareOperator,"ChildOp SiblingOp, LogicOp":z.logicOperator,BinOp:z.arithmeticOperator,Important:z.modifier,Comment:z.blockComment,ParenthesizedContent:z.special(z.name),ColorLiteral:z.color,StringLiteral:z.string,":":z.punctuation,"PseudoOp #":z.derefOperator,"; ,":z.separator,"( )":z.paren,"[ ]":z.squareBracket,"{ }":z.brace}),fde={__proto__:null,lang:32,"nth-child":32,"nth-last-child":32,"nth-of-type":32,dir:32,url:60,"url-prefix":60,domain:60,regexp:60,selector:134},Ode={__proto__:null,"@import":114,"@media":138,"@charset":142,"@namespace":146,"@keyframes":152,"@supports":164},hde={__proto__:null,not:128,only:128,from:158,to:160},dde=Ui.deserialize({version:14,states:"7WOYQ[OOOOQP'#Cd'#CdOOQP'#Cc'#CcO!ZQ[O'#CfO!}QXO'#CaO#UQ[O'#ChO#aQ[O'#DPO#fQ[O'#DTOOQP'#Ec'#EcO#kQdO'#DeO$VQ[O'#DrO#kQdO'#DtO$hQ[O'#DvO$sQ[O'#DyO$xQ[O'#EPO%WQ[O'#EROOQS'#Eb'#EbOOQS'#ES'#ESQYQ[OOOOQP'#Cg'#CgOOQP,59Q,59QO!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%Q!Q![7_![!g%Q!g!h5z!h#X%Q#X#Y5z#Y~%Q_8ZQpVOy%Qz~%Q^8fUjSOy%Qz!O%Q!O!P4x!P!Q%Q!Q![7_![~%Q_8}S#WPOy%Qz!Q%Q!Q![5Z![~%Q~9`RjSOy%Qz{9i{~%Q~9nSoWOy9iyz9zz{:o{~9i~9}ROz9zz{:W{~9z~:ZTOz9zz{:W{!P9z!P!Q:j!Q~9z~:oOR~~:tUoWOy9iyz9zz{:o{!P9i!P!Q;W!Q~9i~;_QoWR~Oy%Qz~%Q^;jY#ZUOy%Qz!O%Q!O!P5Z!P!Q%Q!Q![7_![!g%Q!g!h5z!h#X%Q#X#Y5z#Y~%QX<_S]POy%Qz![%Q![!]RUOy%Qz!c%Q!c!}>e!}#T%Q#T#o>e#o~%QX>lY!YPoWOy%Qz}%Q}!O>e!O!Q%Q!Q![>e![!c%Q!c!}>e!}#T%Q#T#o>e#o~%QX?aQxPOy%Qz~%Q^?lQvUOy%Qz~%QX?uSOy%Qz#b%Q#b#c@R#c~%QX@WSoWOy%Qz#W%Q#W#X@d#X~%QX@kQ!`PoWOy%Qz~%QX@tSOy%Qz#f%Q#f#g@d#g~%QXAVQ!RPOy%Qz~%Q_AbQ!QVOy%Qz~%QZAmS!PPOy%Qz!_%Q!_!`2e!`~%Q",tokenizers:[lde,cde,ade,0,1,2,3],topRules:{StyleSheet:[0,4]},specialized:[{term:94,get:t=>fde[t]||-1},{term:56,get:t=>Ode[t]||-1},{term:95,get:t=>hde[t]||-1}],tokenPrec:1078});let Qm=null;function Sm(){if(!Qm&&typeof document=="object"&&document.body){let t=[];for(let e in document.body.style)/[A-Z]|^-|^(item|length)$/.test(e)||t.push(e);Qm=t.sort().map(e=>({type:"property",label:e}))}return Qm||[]}const gx=["active","after","before","checked","default","disabled","empty","enabled","first-child","first-letter","first-line","first-of-type","focus","hover","in-range","indeterminate","invalid","lang","last-child","last-of-type","link","not","nth-child","nth-last-child","nth-last-of-type","nth-of-type","only-of-type","only-child","optional","out-of-range","placeholder","read-only","read-write","required","root","selection","target","valid","visited"].map(t=>({type:"class",label:t})),vx=["above","absolute","activeborder","additive","activecaption","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","antialiased","appworkspace","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","axis-pan","background","backwards","baseline","below","bidi-override","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic-abegede-gez","ethiopic-halehame-aa-er","ethiopic-halehame-gez","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fill-box","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","graytext","grid","groove","hand","hard-light","help","hidden","hide","higher","highlight","highlighttext","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","justify","keep-all","landscape","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-hexadecimal","lower-latin","lower-norwegian","lowercase","ltr","luminosity","manipulation","match","matrix","matrix3d","medium","menu","menutext","message-box","middle","min-intrinsic","mix","monospace","move","multiple","multiple_mask_images","multiply","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","opacity","open-quote","optimizeLegibility","optimizeSpeed","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","perspective","pinch-zoom","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","start","static","status-bar","stretch","stroke","stroke-box","sub","subpixel-antialiased","svg_masks","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","text","text-bottom","text-top","textarea","textfield","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","to","top","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unidirectional-pan","unset","up","upper-latin","uppercase","url","var","vertical","vertical-text","view-box","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"].map(t=>({type:"keyword",label:t})).concat(["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"].map(t=>({type:"constant",label:t}))),pde=["a","abbr","address","article","aside","b","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","dd","del","details","dfn","dialog","div","dl","dt","em","figcaption","figure","footer","form","header","hgroup","h1","h2","h3","h4","h5","h6","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","meter","nav","ol","output","p","pre","ruby","section","select","small","source","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","tr","u","ul"].map(t=>({type:"type",label:t})),Ys=/^[\w-]*/,mde=t=>{let{state:e,pos:n}=t,i=jt(e).resolveInner(n,-1);if(i.name=="PropertyName")return{from:i.from,options:Sm(),validFor:Ys};if(i.name=="ValueName")return{from:i.from,options:vx,validFor:Ys};if(i.name=="PseudoClassName")return{from:i.from,options:gx,validFor:Ys};if(i.name=="TagName"){for(let{parent:o}=i;o;o=o.parent)if(o.name=="Block")return{from:i.from,options:Sm(),validFor:Ys};return{from:i.from,options:pde,validFor:Ys}}if(!t.explicit)return null;let r=i.resolve(n),s=r.childBefore(n);return s&&s.name==":"&&r.name=="PseudoClassSelector"?{from:n,options:gx,validFor:Ys}:s&&s.name==":"&&r.name=="Declaration"||r.name=="ArgList"?{from:n,options:vx,validFor:Ys}:r.name=="Block"?{from:n,options:Sm(),validFor:Ys}:null},jv=qi.define({parser:dde.configure({props:[or.add({Declaration:Nn()}),ar.add({Block:Va})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}});function Y4(){return new sr(jv,jv.data.of({autocomplete:mde}))}const Mc=["_blank","_self","_top","_parent"],wm=["ascii","utf-8","utf-16","latin1","latin1"],xm=["get","post","put","delete"],Pm=["application/x-www-form-urlencoded","multipart/form-data","text/plain"],$i=["true","false"],Be={},gde={a:{attrs:{href:null,ping:null,type:null,media:null,target:Mc,hreflang:null}},abbr:Be,acronym:Be,address:Be,applet:Be,area:{attrs:{alt:null,coords:null,href:null,target:null,ping:null,media:null,hreflang:null,type:null,shape:["default","rect","circle","poly"]}},article:Be,aside:Be,audio:{attrs:{src:null,mediagroup:null,crossorigin:["anonymous","use-credentials"],preload:["none","metadata","auto"],autoplay:["autoplay"],loop:["loop"],controls:["controls"]}},b:Be,base:{attrs:{href:null,target:Mc}},basefont:Be,bdi:Be,bdo:Be,big:Be,blockquote:{attrs:{cite:null}},body:Be,br:Be,button:{attrs:{form:null,formaction:null,name:null,value:null,autofocus:["autofocus"],disabled:["autofocus"],formenctype:Pm,formmethod:xm,formnovalidate:["novalidate"],formtarget:Mc,type:["submit","reset","button"]}},canvas:{attrs:{width:null,height:null}},caption:Be,center:Be,cite:Be,code:Be,col:{attrs:{span:null}},colgroup:{attrs:{span:null}},command:{attrs:{type:["command","checkbox","radio"],label:null,icon:null,radiogroup:null,command:null,title:null,disabled:["disabled"],checked:["checked"]}},data:{attrs:{value:null}},datagrid:{attrs:{disabled:["disabled"],multiple:["multiple"]}},datalist:{attrs:{data:null}},dd:Be,del:{attrs:{cite:null,datetime:null}},details:{attrs:{open:["open"]}},dfn:Be,dir:Be,div:Be,dl:Be,dt:Be,em:Be,embed:{attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}},fieldset:{attrs:{disabled:["disabled"],form:null,name:null}},figcaption:Be,figure:Be,font:Be,footer:Be,form:{attrs:{action:null,name:null,"accept-charset":wm,autocomplete:["on","off"],enctype:Pm,method:xm,novalidate:["novalidate"],target:Mc}},frame:Be,frameset:Be,h1:Be,h2:Be,h3:Be,h4:Be,h5:Be,h6:Be,head:{children:["title","base","link","style","meta","script","noscript","command"]},header:Be,hgroup:Be,hr:Be,html:{attrs:{manifest:null}},i:Be,iframe:{attrs:{src:null,srcdoc:null,name:null,width:null,height:null,sandbox:["allow-top-navigation","allow-same-origin","allow-forms","allow-scripts"],seamless:["seamless"]}},img:{attrs:{alt:null,src:null,ismap:null,usemap:null,width:null,height:null,crossorigin:["anonymous","use-credentials"]}},input:{attrs:{alt:null,dirname:null,form:null,formaction:null,height:null,list:null,max:null,maxlength:null,min:null,name:null,pattern:null,placeholder:null,size:null,src:null,step:null,value:null,width:null,accept:["audio/*","video/*","image/*"],autocomplete:["on","off"],autofocus:["autofocus"],checked:["checked"],disabled:["disabled"],formenctype:Pm,formmethod:xm,formnovalidate:["novalidate"],formtarget:Mc,multiple:["multiple"],readonly:["readonly"],required:["required"],type:["hidden","text","search","tel","url","email","password","datetime","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]}},ins:{attrs:{cite:null,datetime:null}},kbd:Be,keygen:{attrs:{challenge:null,form:null,name:null,autofocus:["autofocus"],disabled:["disabled"],keytype:["RSA"]}},label:{attrs:{for:null,form:null}},legend:Be,li:{attrs:{value:null}},link:{attrs:{href:null,type:null,hreflang:null,media:null,sizes:["all","16x16","16x16 32x32","16x16 32x32 64x64"]}},map:{attrs:{name:null}},mark:Be,menu:{attrs:{label:null,type:["list","context","toolbar"]}},meta:{attrs:{content:null,charset:wm,name:["viewport","application-name","author","description","generator","keywords"],"http-equiv":["content-language","content-type","default-style","refresh"]}},meter:{attrs:{value:null,min:null,low:null,high:null,max:null,optimum:null}},nav:Be,noframes:Be,noscript:Be,object:{attrs:{data:null,type:null,name:null,usemap:null,form:null,width:null,height:null,typemustmatch:["typemustmatch"]}},ol:{attrs:{reversed:["reversed"],start:null,type:["1","a","A","i","I"]},children:["li","script","template","ul","ol"]},optgroup:{attrs:{disabled:["disabled"],label:null}},option:{attrs:{disabled:["disabled"],label:null,selected:["selected"],value:null}},output:{attrs:{for:null,form:null,name:null}},p:Be,param:{attrs:{name:null,value:null}},pre:Be,progress:{attrs:{value:null,max:null}},q:{attrs:{cite:null}},rp:Be,rt:Be,ruby:Be,s:Be,samp:Be,script:{attrs:{type:["text/javascript"],src:null,async:["async"],defer:["defer"],charset:wm}},section:Be,select:{attrs:{form:null,name:null,size:null,autofocus:["autofocus"],disabled:["disabled"],multiple:["multiple"]}},slot:{attrs:{name:null}},small:Be,source:{attrs:{src:null,type:null,media:null}},span:Be,strike:Be,strong:Be,style:{attrs:{type:["text/css"],media:null,scoped:null}},sub:Be,summary:Be,sup:Be,table:Be,tbody:Be,td:{attrs:{colspan:null,rowspan:null,headers:null}},template:Be,textarea:{attrs:{dirname:null,form:null,maxlength:null,name:null,placeholder:null,rows:null,cols:null,autofocus:["autofocus"],disabled:["disabled"],readonly:["readonly"],required:["required"],wrap:["soft","hard"]}},tfoot:Be,th:{attrs:{colspan:null,rowspan:null,headers:null,scope:["row","col","rowgroup","colgroup"]}},thead:Be,time:{attrs:{datetime:null}},title:Be,tr:Be,track:{attrs:{src:null,label:null,default:null,kind:["subtitles","captions","descriptions","chapters","metadata"],srclang:null}},tt:Be,u:Be,ul:{children:["li","script","template","ul","ol"]},var:Be,video:{attrs:{src:null,poster:null,width:null,height:null,crossorigin:["anonymous","use-credentials"],preload:["auto","metadata","none"],autoplay:["autoplay"],mediagroup:["movie"],muted:["muted"],controls:["controls"]}},wbr:Be},vde={accesskey:null,class:null,contenteditable:$i,contextmenu:null,dir:["ltr","rtl","auto"],draggable:["true","false","auto"],dropzone:["copy","move","link","string:","file:"],hidden:["hidden"],id:null,inert:["inert"],itemid:null,itemprop:null,itemref:null,itemscope:["itemscope"],itemtype:null,lang:["ar","bn","de","en-GB","en-US","es","fr","hi","id","ja","pa","pt","ru","tr","zh"],spellcheck:$i,autocorrect:$i,autocapitalize:$i,style:null,tabindex:null,title:null,translate:["yes","no"],onclick:null,rel:["stylesheet","alternate","author","bookmark","help","license","next","nofollow","noreferrer","prefetch","prev","search","tag"],role:"alert application article banner button cell checkbox complementary contentinfo dialog document feed figure form grid gridcell heading img list listbox listitem main navigation region row rowgroup search switch tab table tabpanel textbox timer".split(" "),"aria-activedescendant":null,"aria-atomic":$i,"aria-autocomplete":["inline","list","both","none"],"aria-busy":$i,"aria-checked":["true","false","mixed","undefined"],"aria-controls":null,"aria-describedby":null,"aria-disabled":$i,"aria-dropeffect":null,"aria-expanded":["true","false","undefined"],"aria-flowto":null,"aria-grabbed":["true","false","undefined"],"aria-haspopup":$i,"aria-hidden":$i,"aria-invalid":["true","false","grammar","spelling"],"aria-label":null,"aria-labelledby":null,"aria-level":null,"aria-live":["off","polite","assertive"],"aria-multiline":$i,"aria-multiselectable":$i,"aria-owns":null,"aria-posinset":null,"aria-pressed":["true","false","mixed","undefined"],"aria-readonly":$i,"aria-relevant":null,"aria-required":$i,"aria-selected":["true","false","undefined"],"aria-setsize":null,"aria-sort":["ascending","descending","none","other"],"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null};class Td{constructor(e,n){this.tags=Object.assign(Object.assign({},gde),e),this.globalAttrs=Object.assign(Object.assign({},vde),n),this.allTags=Object.keys(this.tags),this.globalAttrNames=Object.keys(this.globalAttrs)}}Td.default=new Td;function sc(t,e,n=t.length){if(!e)return"";let i=e.firstChild,r=i&&i.getChild("TagName");return r?t.sliceString(r.from,Math.min(r.to,n)):""}function Lp(t,e=!1){for(let n=t.parent;n;n=n.parent)if(n.name=="Element")if(e)e=!1;else return n;return null}function Z4(t,e,n){let i=n.tags[sc(t,Lp(e,!0))];return(i==null?void 0:i.children)||n.allTags}function v1(t,e){let n=[];for(let i=e;i=Lp(i);){let r=sc(t,i);if(r&&i.lastChild.name=="CloseTag")break;r&&n.indexOf(r)<0&&(e.name=="EndTag"||e.from>=i.firstChild.to)&&n.push(r)}return n}const V4=/^[:\-\.\w\u00b7-\uffff]*$/;function yx(t,e,n,i,r){let s=/\s*>/.test(t.sliceDoc(r,r+5))?"":">";return{from:i,to:r,options:Z4(t.doc,n,e).map(o=>({label:o,type:"type"})).concat(v1(t.doc,n).map((o,a)=>({label:"/"+o,apply:"/"+o+s,type:"type",boost:99-a}))),validFor:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}function $x(t,e,n,i){let r=/\s*>/.test(t.sliceDoc(i,i+5))?"":">";return{from:n,to:i,options:v1(t.doc,e).map((s,o)=>({label:s,apply:s+r,type:"type",boost:99-o})),validFor:V4}}function yde(t,e,n,i){let r=[],s=0;for(let o of Z4(t.doc,n,e))r.push({label:"<"+o,type:"type"});for(let o of v1(t.doc,n))r.push({label:"",type:"type",boost:99-s++});return{from:i,to:i,options:r,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}function $de(t,e,n,i,r){let s=Lp(n),o=s?e.tags[sc(t.doc,s)]:null,a=o&&o.attrs?Object.keys(o.attrs).concat(e.globalAttrNames):e.globalAttrNames;return{from:i,to:r,options:a.map(l=>({label:l,type:"property"})),validFor:V4}}function bde(t,e,n,i,r){var s;let o=(s=n.parent)===null||s===void 0?void 0:s.getChild("AttributeName"),a=[],l;if(o){let c=t.sliceDoc(o.from,o.to),u=e.globalAttrs[c];if(!u){let O=Lp(n),f=O?e.tags[sc(t.doc,O)]:null;u=(f==null?void 0:f.attrs)&&f.attrs[c]}if(u){let O=t.sliceDoc(i,r).toLowerCase(),f='"',h='"';/^['"]/.test(O)?(l=O[0]=='"'?/^[^"]*$/:/^[^']*$/,f="",h=t.sliceDoc(r,r+1)==O[0]?"":O[0],O=O.slice(1),i++):l=/^[^\s<>='"]*$/;for(let p of u)a.push({label:p,apply:f+p+h,type:"constant"})}}return{from:i,to:r,options:a,validFor:l}}function _de(t,e){let{state:n,pos:i}=e,r=jt(n).resolveInner(i),s=r.resolve(i,-1);for(let o=i,a;r==s&&(a=s.childBefore(o));){let l=a.lastChild;if(!l||!l.type.isError||l.from_de(i,r)}const Nv=qi.define({parser:Nhe.configure({props:[or.add({Element(t){let e=/^(\s*)(<\/)?/.exec(t.textAfter);return t.node.to<=t.pos+e[0].length?t.continue():t.lineIndent(t.node.from)+(e[2]?0:t.unit)},"OpenTag CloseTag SelfClosingTag"(t){return t.column(t.node.from)+t.unit},Document(t){if(t.pos+/\s*/.exec(t.textAfter)[0].length"}},indentOnInput:/^\s*<\/\w+\W$/,wordChars:"-._"}});function y1(t={}){let e=Nv;return t.matchClosingTags===!1&&(e=e.configure({dialect:"noMatch"})),new sr(e,[Nv.data.of({autocomplete:Qde(t)}),t.autoCloseTags!==!1?Sde:[],ru().support,Y4().support])}const Sde=Ve.inputHandler.of((t,e,n,i)=>{if(t.composing||t.state.readOnly||e!=n||i!=">"&&i!="/"||!Nv.isActiveAt(t.state,e,-1))return!1;let{state:r}=t,s=r.changeByRange(o=>{var a,l,c;let{head:u}=o,O=jt(r).resolveInner(u,-1),f;if((O.name=="TagName"||O.name=="StartTag")&&(O=O.parent),i==">"&&O.name=="OpenTag"){if(((l=(a=O.parent)===null||a===void 0?void 0:a.lastChild)===null||l===void 0?void 0:l.name)!="CloseTag"&&(f=sc(r.doc,O.parent,u)))return{range:we.cursor(u+1),changes:{from:u,insert:`>`}}}else if(i=="/"&&O.name=="OpenTag"){let h=O.parent,p=h==null?void 0:h.parent;if(h.from==u-1&&((c=p.lastChild)===null||c===void 0?void 0:c.name)!="CloseTag"&&(f=sc(r.doc,p,u))){let y=`/${f}>`;return{range:we.cursor(u+y.length),changes:{from:u,insert:y}}}}return{range:o}});return s.changes.empty?!1:(t.dispatch(s,{userEvent:"input.type",scrollIntoView:!0}),!0)}),bx=1,wde=2,xde=3,Pde=82,kde=76,Cde=117,Tde=85,Rde=97,Ade=122,Ede=65,Xde=90,Wde=95,Fv=48,_x=34,zde=40,Qx=41,Ide=32,Sx=62,qde=new on(t=>{if(t.next==kde||t.next==Tde?t.advance():t.next==Cde&&(t.advance(),t.next==Fv+8&&t.advance()),t.next!=Pde||(t.advance(),t.next!=_x))return;t.advance();let e="";for(;t.next!=zde;){if(t.next==Ide||t.next<=13||t.next==Qx)return;e+=String.fromCharCode(t.next),t.advance()}for(t.advance();;){if(t.next<0)return t.acceptToken(bx);if(t.next==Qx){let n=!0;for(let i=0;n&&i{if(t.next==Sx)t.peek(1)==Sx&&t.acceptToken(wde,1);else{let e=!1,n=0;for(;;n++){if(t.next>=Ede&&t.next<=Xde)e=!0;else{if(t.next>=Rde&&t.next<=Ade)return;if(t.next!=Wde&&!(t.next>=Fv&&t.next<=Fv+9))break}t.advance()}e&&n>1&&t.acceptToken(xde)}},{extend:!0}),Dde=Li({"typedef struct union enum class typename decltype auto template operator friend noexcept namespace using __attribute__ __declspec __based":z.definitionKeyword,"extern MsCallModifier MsPointerModifier extern static register inline const volatile restrict _Atomic mutable constexpr virtual explicit VirtualSpecifier Access":z.modifier,"if else switch for while do case default return break continue goto throw try catch":z.controlKeyword,"new sizeof delete static_assert":z.operatorKeyword,"NULL nullptr":z.null,this:z.self,"True False":z.bool,"TypeSize PrimitiveType":z.standard(z.typeName),TypeIdentifier:z.typeName,FieldIdentifier:z.propertyName,"CallExpression/FieldExpression/FieldIdentifier":z.function(z.propertyName),StatementIdentifier:z.labelName,"Identifier DestructorName":z.variableName,"CallExpression/Identifier":z.function(z.variableName),"CallExpression/ScopedIdentifier/Identifier":z.function(z.variableName),"FunctionDeclarator/Identifier FunctionDeclarator/DestructorName":z.function(z.definition(z.variableName)),NamespaceIdentifier:z.namespace,OperatorName:z.operator,ArithOp:z.arithmeticOperator,LogicOp:z.logicOperator,BitOp:z.bitwiseOperator,CompareOp:z.compareOperator,AssignOp:z.definitionOperator,UpdateOp:z.updateOperator,LineComment:z.lineComment,BlockComment:z.blockComment,Number:z.number,String:z.string,"RawString SystemLibString":z.special(z.string),CharLiteral:z.character,EscapeSequence:z.escape,PreProcArg:z.meta,"PreprocDirectiveName #include #ifdef #ifndef #if #define #else #endif #elif":z.processingInstruction,MacroName:z.special(z.name),"( )":z.paren,"[ ]":z.squareBracket,"{ }":z.brace,"< >":z.angleBracket,". ->":z.derefOperator,", ;":z.separator}),Lde={__proto__:null,bool:34,char:34,int:34,float:34,double:34,void:34,size_t:34,ssize_t:34,intptr_t:34,uintptr_t:34,charptr_t:34,int8_t:34,int16_t:34,int32_t:34,int64_t:34,uint8_t:34,uint16_t:34,uint32_t:34,uint64_t:34,char8_t:34,char16_t:34,char32_t:34,char64_t:34,const:68,volatile:70,restrict:72,_Atomic:74,mutable:76,constexpr:78,struct:82,__declspec:86,final:90,override:90,public:94,private:94,protected:94,virtual:154,extern:156,static:158,register:160,inline:162,__attribute__:166,__based:172,__restrict:174,__uptr:174,__sptr:174,_unaligned:174,__unaligned:174,noexcept:188,throw:192,new:228,delete:230,operator:236,template:266,typename:272,class:274,using:284,friend:292,__cdecl:296,__clrcall:296,__stdcall:296,__fastcall:296,__thiscall:296,__vectorcall:296,case:306,default:308,if:320,else:326,switch:330,do:334,while:336,for:344,return:348,break:352,continue:356,goto:360,typedef:364,try:378,catch:382,namespace:388,static_assert:394,explicit:404,union:420,enum:442,signed:446,unsigned:446,long:446,short:446,decltype:458,auto:460,sizeof:492,TRUE:746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]8^9f9g9hQ,e'SQ,p'VQ.t)f[.u)l)n8v8w8x8yQ/X){Q/v*lQ0a+hQ0i+rS0x,Q0`U3R.v9Q9RR3^/RR3Y.}Q&O!XQ*S$vU*}%|/S9TS+X&Q/VW+Y&R/W3]9XQ+b&aQ.R(tQ/T){S/a*P*RQ0P*|Q2p.WQ3T.yQ3[/RQ3f/`Q5n3UQ8{8lQ8|8mQ9U8zQ9V9SR9Y9WX%Ui$}/U/sT)T#y*iR,a'RQ,`'RR4d1Q^zO|}%t&{*i,ZR,n'TW%dm+h+r,QT)e$W0`_{O|}%t&{*i,Z^zO|}%t&{*i,ZQ&i!fQ*p%eQ+l&fQ+p&jQ0e+mQ3z0dQ5x3{Q6P4RQ7O5{Q7d6|Q7e7PR7l7cvrO|}!f%e%t&f&j&{*i+m,Z0d3{4R5{6|7P7cX,R&v,P,S0wQ,O&tR0l+wS+{&t+wQ0o+yQ0u+|U4U0m0n0pQ4]0sS6Q4V4WR7Q6R^vO|}%t&{*i,ZQ,i'TT,x'Z,}R*d%^^xO|}%t&{*i,ZQ,j'TT,y'Z,}^yO|}%t&{*i,ZT,z'Z,}Q-`'gR2X-aR-]'fR's!}[%[i%Y'x(x)O/sR/l*aQ(R#US-m'y'zR2b-nR-q'{R2d-o",nodeNames:"\u26A0 RawString > MacroName LineComment BlockComment PreprocDirective #include String EscapeSequence SystemLibString Identifier ArgumentList ( ConditionalExpression AssignmentExpression CallExpression PrimitiveType FieldExpression FieldIdentifier DestructorName TemplateMethod ScopedFieldIdentifier NamespaceIdentifier TemplateType TypeIdentifier ScopedTypeIdentifier ScopedNamespaceIdentifier :: NamespaceIdentifier TypeIdentifier TemplateArgumentList < TypeDescriptor const volatile restrict _Atomic mutable constexpr StructSpecifier struct MsDeclspecModifier __declspec ) VirtualSpecifier BaseClassClause Access , FieldDeclarationList { FieldDeclaration Attribute AttributeName Identifier AttributeArgs } [ ] UpdateOp ArithOp ArithOp ArithOp LogicOp BitOp BitOp BitOp CompareOp CompareOp CompareOp > CompareOp BitOp UpdateOp Number CharLiteral AttributeArgs virtual extern static register inline AttributeSpecifier __attribute__ PointerDeclarator MsBasedModifier __based MsPointerModifier FunctionDeclarator ParameterList ParameterDeclaration PointerDeclarator FunctionDeclarator Noexcept noexcept ThrowSpecifier throw TrailingReturnType AbstractPointerDeclarator AbstractFunctionDeclarator AbstractArrayDeclarator AbstractParenthesizedDeclarator AbstractReferenceDeclarator ArrayDeclarator ParenthesizedDeclarator ReferenceDeclarator ScopedIdentifier Identifier OperatorName operator ArithOp BitOp CompareOp LogicOp new delete TemplateFunction OperatorName operator StructuredBindingDeclarator OptionalParameterDeclaration VariadicParameterDeclaration VariadicDeclarator ReferenceDeclarator ArrayDeclarator ParenthesizedDeclarator ReferenceDeclarator BitfieldClause InitializerList InitializerPair SubscriptDesignator FieldDesignator TemplateDeclaration template TemplateParameterList TypeParameterDeclaration typename class OptionalTypeParameterDeclaration VariadicTypeParameterDeclaration TemplateTemplateParameterDeclaration AliasDeclaration using Declaration InitDeclarator FriendDeclaration friend FunctionDefinition MsCallModifier CompoundStatement LinkageSpecification DeclarationList CaseStatement case default LabeledStatement StatementIdentifier ExpressionStatement CommaExpression IfStatement if ConditionClause Declaration else SwitchStatement switch DoStatement do while ParenthesizedExpression WhileStatement ForStatement for ReturnStatement return BreakStatement break ContinueStatement continue GotoStatement goto TypeDefinition typedef PointerDeclarator FunctionDeclarator ArrayDeclarator ParenthesizedDeclarator ForRangeLoop TryStatement try CatchClause catch ThrowStatement NamespaceDefinition namespace UsingDeclaration StaticAssertDeclaration static_assert ConcatenatedString TemplateInstantiation FunctionDefinition ExplicitFunctionSpecifier explicit FieldInitializerList FieldInitializer DefaultMethodClause DeleteMethodClause FunctionDefinition OperatorCast Declaration union FunctionDefinition FunctionDefinition FunctionDefinition FunctionDefinition Declaration FunctionDefinition Declaration AccessSpecifier UnionSpecifier EnumSpecifier enum SizedTypeSpecifier TypeSize EnumeratorList Enumerator ClassSpecifier DependentType Decltype decltype auto ParameterPackExpansion ParameterPackExpansion FieldIdentifier PointerExpression SubscriptExpression BinaryExpression ArithOp LogicOp BitOp UnaryExpression LogicOp BitOp UpdateExpression CastExpression SizeofExpression sizeof CompoundLiteralExpression True False NULL NewExpression new NewDeclarator DeleteExpression delete LambdaExpression LambdaCaptureSpecifier ParameterPackExpansion nullptr this #define PreprocArg #if #ifdef #ifndef #else #endif #elif PreprocDirectiveName Macro Program",maxTerm:380,nodeProps:[["group",-31,1,8,11,14,15,16,18,74,75,106,116,117,169,198,234,235,236,240,243,244,245,247,248,249,250,251,254,256,258,259,260,"Expression",-12,17,24,25,26,40,219,220,222,226,227,228,230,"Type",-16,149,152,155,157,159,164,166,170,171,173,175,177,179,187,188,192,"Statement"]],propSources:[Dde],skippedNodes:[0,3,4,5,6,7,10,261,262,263,264,265,266,267,268,269,270,307,308],repeatNodeCount:37,tokenData:"%0W,TR!SOX$_XY'gYZ,cZ]$_]^)e^p$_pq'gqr,yrs.mst/[tu$_uv!/uvw!1gwx!3^xy!3{yz!4pz{!5e{|!6b|}!8Y}!O!8}!O!P!:x!P!Q!Nr!Q!R#2X!R![#Ew![!]$.t!]!^$0d!^!_$1X!_!`$;|!`!a${#Z#o0s#o~$_*q?Y`(cW'vQ&p#t&v'q&w'qOY$_Zr$_rs%Qsw$_wx&|x!Q$_!Q![0s![!c$_!c!}0s!}#O$_#O#P%|#P#R$_#R#S0s#S#T$_#T#o0s#o~$_*q@gb(cW'vQ&p#t&w'qOY$_Zr$_rs%Qsw$_wx&|x!Q$_!Q![0s![!c$_!c!}0s!}#O$_#O#P%|#P#R$_#R#S0s#S#T$_#T#X0s#X#YAo#Y#o0s#o~$_*qA|`(cW'vQ&t'q&p#t&w'qOY$_Zr$_rs%Qsw$_wx&|x!Q$_!Q![0s![!c$_!c!}0s!}#O$_#O#P%|#P#R$_#R#S0s#S#T$_#T#o0s#o~$_*qCZb(cW'vQ&p#t&w'qOY$_Zr$_rs%Qsw$_wx&|x!Q$_!Q![0s![!c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=>Lde[t]||-1},{term:32,get:t=>Bde[t]||-1},{term:70,get:t=>Mde[t]||-1},{term:323,get:t=>Yde[t]||-1}],tokenPrec:21623}),Vde=qi.define({parser:Zde.configure({props:[or.add({IfStatement:Nn({except:/^\s*({|else\b)/}),TryStatement:Nn({except:/^\s*({|catch)\b/}),LabeledStatement:H$,CaseStatement:t=>t.baseIndent+t.unit,BlockComment:()=>-1,CompoundStatement:Sa({closing:"}"}),Statement:Nn({except:/^{/})}),ar.add({"DeclarationList CompoundStatement EnumeratorList FieldDeclarationList InitializerList":Va,BlockComment(t){return{from:t.from+2,to:t.to-2}}})]}),languageData:{commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\})$/}});function jde(){return new sr(Vde)}function Nde(t){j4(t,"start");var e={},n=t.languageData||{},i=!1;for(var r in t)if(r!=n&&t.hasOwnProperty(r))for(var s=e[r]=[],o=t[r],a=0;a2&&o.token&&typeof o.token!="string"){n.pending=[];for(var c=2;c-1)return null;var r=n.indent.length-1,s=t[n.state];e:for(;;){for(var o=0;o]:","[<>=]=","<<=?",">>>?=?","=>","--?>","<--[->]?","\\/\\/","\\.{2,3}","[\\.\\\\%*+\\-<>!\\/^|&]=?","\\?","\\$","~",":"],Ope=Uo(["[<>]:","[<>=]=","[!=]==","<<=?",">>>?=?","=>?","--?>","<--[->]?","\\/\\/","[\\\\%*+\\-<>!\\/^|&\\u00F7\\u22BB]=?","\\?","\\$","~",":","\\u00D7","\\u2208","\\u2209","\\u220B","\\u220C","\\u2218","\\u221A","\\u221B","\\u2229","\\u222A","\\u2260","\\u2264","\\u2265","\\u2286","\\u2288","\\u228A","\\u22C5","\\b(in|isa)\\b(?!.?\\()"],""),hpe=/^[;,()[\]{}]/,dpe=/^[_A-Za-z\u00A1-\u2217\u2219-\uFFFF][\w\u00A1-\u2217\u2219-\uFFFF]*!*/,ppe=Uo([lpe,cpe,upe,fpe],"'"),mpe=["begin","function","type","struct","immutable","let","macro","for","while","quote","if","else","elseif","try","finally","catch","do"],gpe=["end","else","elseif","catch","finally"],J4=["if","else","elseif","while","for","begin","let","end","do","try","catch","finally","return","break","continue","global","local","const","export","import","importall","using","function","where","macro","module","baremodule","struct","type","mutable","immutable","quote","typealias","abstract","primitive","bitstype"],eE=["true","false","nothing","NaN","Inf"],vpe=Uo(mpe),ype=Uo(gpe),$pe=Uo(J4),bpe=Uo(eE),_pe=/^@[_A-Za-z\u00A1-\uFFFF][\w\u00A1-\uFFFF]*!*/,Qpe=/^:[_A-Za-z\u00A1-\uFFFF][\w\u00A1-\uFFFF]*!*/,Spe=/^(`|([_A-Za-z\u00A1-\uFFFF]*"("")?))/,wpe=Uo(K4,"","@"),xpe=Uo(K4,"",":");function wx(t){return t.nestedArrays>0}function Ppe(t){return t.nestedGenerators>0}function xx(t,e){return typeof e=="undefined"&&(e=0),t.scopes.length<=e?null:t.scopes[t.scopes.length-(e+1)]}function oc(t,e){if(t.match("#=",!1))return e.tokenize=Cpe,e.tokenize(t,e);var n=e.leavingExpr;if(t.sol()&&(n=!1),e.leavingExpr=!1,n&&t.match(/^'+/))return"operator";if(t.match(/\.{4,}/))return"error";if(t.match(/\.{1,3}/))return"operator";if(t.eatSpace())return null;var i=t.peek();if(i==="#")return t.skipToEnd(),"comment";if(i==="["&&(e.scopes.push("["),e.nestedArrays++),i==="("&&(e.scopes.push("("),e.nestedGenerators++),wx(e)&&i==="]"){for(;e.scopes.length&&xx(e)!=="[";)e.scopes.pop();e.scopes.pop(),e.nestedArrays--,e.leavingExpr=!0}if(Ppe(e)&&i===")"){for(;e.scopes.length&&xx(e)!=="(";)e.scopes.pop();e.scopes.pop(),e.nestedGenerators--,e.leavingExpr=!0}if(wx(e)){if(e.lastToken=="end"&&t.match(":"))return"operator";if(t.match("end"))return"number"}var r;if((r=t.match(vpe,!1))&&e.scopes.push(r[0]),t.match(ype,!1)&&e.scopes.pop(),t.match(/^::(?![:\$])/))return e.tokenize=kpe,e.tokenize(t,e);if(!n&&(t.match(Qpe)||t.match(xpe)))return"builtin";if(t.match(Ope))return"operator";if(t.match(/^\.?\d/,!1)){var s=RegExp(/^im\b/),o=!1;if(t.match(/^0x\.[0-9a-f_]+p[\+\-]?[_\d]+/i)&&(o=!0),t.match(/^0x[0-9a-f_]+/i)&&(o=!0),t.match(/^0b[01_]+/i)&&(o=!0),t.match(/^0o[0-7_]+/i)&&(o=!0),t.match(/^(?:(?:\d[_\d]*)?\.(?!\.)(?:\d[_\d]*)?|\d[_\d]*\.(?!\.)(?:\d[_\d]*))?([Eef][\+\-]?[_\d]+)?/i)&&(o=!0),t.match(/^\d[_\d]*(e[\+\-]?\d+)?/i)&&(o=!0),o)return t.match(s),e.leavingExpr=!0,"number"}if(t.match("'"))return e.tokenize=Tpe,e.tokenize(t,e);if(t.match(Spe))return e.tokenize=Rpe(t.current()),e.tokenize(t,e);if(t.match(_pe)||t.match(wpe))return"meta";if(t.match(hpe))return null;if(t.match($pe))return"keyword";if(t.match(bpe))return"builtin";var a=e.isDefinition||e.lastToken=="function"||e.lastToken=="macro"||e.lastToken=="type"||e.lastToken=="struct"||e.lastToken=="immutable";return t.match(dpe)?a?t.peek()==="."?(e.isDefinition=!0,"variable"):(e.isDefinition=!1,"def"):(e.leavingExpr=!0,"variable"):(t.next(),"error")}function kpe(t,e){return t.match(/.*?(?=[,;{}()=\s]|$)/),t.match("{")?e.nestedParameters++:t.match("}")&&e.nestedParameters>0&&e.nestedParameters--,e.nestedParameters>0?t.match(/.*?(?={|})/)||t.next():e.nestedParameters==0&&(e.tokenize=oc),"builtin"}function Cpe(t,e){return t.match("#=")&&e.nestedComments++,t.match(/.*?(?=(#=|=#))/)||t.skipToEnd(),t.match("=#")&&(e.nestedComments--,e.nestedComments==0&&(e.tokenize=oc)),"comment"}function Tpe(t,e){var n=!1,i;if(t.match(ppe))n=!0;else if(i=t.match(/\\u([a-f0-9]{1,4})(?=')/i)){var r=parseInt(i[1],16);(r<=55295||r>=57344)&&(n=!0,t.next())}else if(i=t.match(/\\U([A-Fa-f0-9]{5,8})(?=')/)){var r=parseInt(i[1],16);r<=1114111&&(n=!0,t.next())}return n?(e.leavingExpr=!0,e.tokenize=oc,"string"):(t.match(/^[^']+(?=')/)||t.skipToEnd(),t.match("'")&&(e.tokenize=oc),"error")}function Rpe(t){t.substr(-3)==='"""'?t='"""':t.substr(-1)==='"'&&(t='"');function e(n,i){if(n.eat("\\"))n.next();else{if(n.match(t))return i.tokenize=oc,i.leavingExpr=!0,"string";n.eat(/[`"]/)}return n.eatWhile(/[^\\`"]/),"string"}return e}const Ape={startState:function(){return{tokenize:oc,scopes:[],lastToken:null,leavingExpr:!1,isDefinition:!1,nestedArrays:0,nestedComments:0,nestedGenerators:0,nestedParameters:0,firstParenPos:-1}},token:function(t,e){var n=e.tokenize(t,e),i=t.current();return i&&n&&(e.lastToken=i),n},indent:function(t,e,n){var i=0;return(e==="]"||e===")"||/^end\b/.test(e)||/^else/.test(e)||/^catch\b/.test(e)||/^elseif\b/.test(e)||/^finally/.test(e))&&(i=-1),(t.scopes.length+i)*n.unit},languageData:{indentOnInput:/^\s*(end|else|catch|finally)\b$/,commentTokens:{line:"#",block:{open:"#=",close:"=#"}},closeBrackets:{brackets:["(","[","{",'"']},autocomplete:J4.concat(eE)}};function $1(t){for(var e={},n=t.split(" "),i=0;i*\/]/.test(i)?ji(null,"select-op"):/[;{}:\[\]]/.test(i)?ji(null,i):(t.eatWhile(/[\w\\\-]/),ji("variable","variable"))}function Px(t,e){for(var n=!1,i;(i=t.next())!=null;){if(n&&i=="/"){e.tokenize=Bp;break}n=i=="*"}return ji("comment","comment")}function kx(t,e){for(var n=0,i;(i=t.next())!=null;){if(n>=2&&i==">"){e.tokenize=Bp;break}n=i=="-"?n+1:0}return ji("comment","comment")}function zpe(t){return function(e,n){for(var i=!1,r;(r=e.next())!=null&&!(r==t&&!i);)i=!i&&r=="\\";return i||(n.tokenize=Bp),ji("string","string")}}const Ipe={startState:function(){return{tokenize:Bp,baseIndent:0,stack:[]}},token:function(t,e){if(t.eatSpace())return null;Fs=null;var n=e.tokenize(t,e),i=e.stack[e.stack.length-1];return Fs=="hash"&&i=="rule"?n="atom":n=="variable"&&(i=="rule"?n="number":(!i||i=="@media{")&&(n="tag")),i=="rule"&&/^[\{\};]$/.test(Fs)&&e.stack.pop(),Fs=="{"?i=="@media"?e.stack[e.stack.length-1]="@media{":e.stack.push("{"):Fs=="}"?e.stack.pop():Fs=="@media"?e.stack.push("@media"):i=="{"&&Fs!="comment"&&e.stack.push("rule"),n},indent:function(t,e,n){var i=t.stack.length;return/^\}/.test(e)&&(i-=t.stack[t.stack.length-1]=="rule"?2:1),t.baseIndent+i*n.unit},languageData:{indentOnInput:/^\s*\}$/}};function Mp(t){for(var e={},n=0;n=!&|~$:]/,mr;function Gv(t,e){mr=null;var n=t.next();if(n=="#")return t.skipToEnd(),"comment";if(n=="0"&&t.eat("x"))return t.eatWhile(/[\da-f]/i),"number";if(n=="."&&t.eat(/\d/))return t.match(/\d*(?:e[+\-]?\d+)?/),"number";if(/\d/.test(n))return t.match(/\d*(?:\.\d+)?(?:e[+\-]\d+)?L?/),"number";if(n=="'"||n=='"')return e.tokenize=Mpe(n),"string";if(n=="`")return t.match(/[^`]+`/),"string.special";if(n=="."&&t.match(/.(?:[.]|\d+)/))return"keyword";if(/[a-zA-Z\.]/.test(n)){t.eatWhile(/[\w\.]/);var i=t.current();return Upe.propertyIsEnumerable(i)?"atom":Lpe.propertyIsEnumerable(i)?(Bpe.propertyIsEnumerable(i)&&!t.match(/\s*if(\s+|$)/,!1)&&(mr="block"),"keyword"):Dpe.propertyIsEnumerable(i)?"builtin":"variable"}else return n=="%"?(t.skipTo("%")&&t.next(),"variableName.special"):n=="<"&&t.eat("-")||n=="<"&&t.match("<-")||n=="-"&&t.match(/>>?/)||n=="="&&e.ctx.argList?"operator":Cx.test(n)?(n=="$"||t.eatWhile(Cx),"operator"):/[\(\){}\[\];]/.test(n)?(mr=n,n==";"?"punctuation":null):null}function Mpe(t){return function(e,n){if(e.eat("\\")){var i=e.next();return i=="x"?e.match(/^[a-f0-9]{2}/i):(i=="u"||i=="U")&&e.eat("{")&&e.skipTo("}")?e.next():i=="u"?e.match(/^[a-f0-9]{4}/i):i=="U"?e.match(/^[a-f0-9]{8}/i):/[0-7]/.test(i)&&e.match(/^[0-7]{1,2}/),"string.special"}else{for(var r;(r=e.next())!=null;){if(r==t){n.tokenize=Gv;break}if(r=="\\"){e.backUp(1);break}}return"string"}}}var Tx=1,km=2,Cm=4;function KO(t,e,n){t.ctx={type:e,indent:t.indent,flags:0,column:n.column(),prev:t.ctx}}function Rx(t,e){var n=t.ctx;t.ctx={type:n.type,indent:n.indent,flags:n.flags|e,column:n.column,prev:n.prev}}function Tm(t){t.indent=t.ctx.indent,t.ctx=t.ctx.prev}const Ype={startState:function(t){return{tokenize:Gv,ctx:{type:"top",indent:-t,flags:km},indent:0,afterIdent:!1}},token:function(t,e){if(t.sol()&&((e.ctx.flags&3)==0&&(e.ctx.flags|=km),e.ctx.flags&Cm&&Tm(e),e.indent=t.indentation()),t.eatSpace())return null;var n=e.tokenize(t,e);return n!="comment"&&(e.ctx.flags&km)==0&&Rx(e,Tx),(mr==";"||mr=="{"||mr=="}")&&e.ctx.type=="block"&&Tm(e),mr=="{"?KO(e,"}",t):mr=="("?(KO(e,")",t),e.afterIdent&&(e.ctx.argList=!0)):mr=="["?KO(e,"]",t):mr=="block"?KO(e,"block",t):mr==e.ctx.type?Tm(e):e.ctx.type=="block"&&n!="comment"&&Rx(e,Cm),e.afterIdent=n=="variable"||n=="keyword",n},indent:function(t,e,n){if(t.tokenize!=Gv)return 0;var i=e&&e.charAt(0),r=t.ctx,s=i==r.type;return r.flags&Cm&&(r=r.prev),r.type=="block"?r.indent+(i=="{"?0:n.unit):r.flags&Tx?r.column+(s?0:1):r.indent+(s?0:n.unit)},languageData:{wordChars:".",commentTokens:{line:"#"},autocomplete:tE.concat(nE,iE)}};function b1(t){for(var e={},n=0,i=t.length;n]/)?(t.eat(/[\<\>]/),"atom"):t.eat(/[\+\-\*\/\&\|\:\!]/)?"atom":t.eat(/[a-zA-Z$@_\xa1-\uffff]/)?(t.eatWhile(/[\w$\xa1-\uffff]/),t.eat(/[\?\!\=]/),"atom"):"operator";if(n=="@"&&t.match(/^@?[a-zA-Z_\xa1-\uffff]/))return t.eat("@"),t.eatWhile(/[\w\xa1-\uffff]/),"propertyName";if(n=="$")return t.eat(/[a-zA-Z_]/)?t.eatWhile(/[\w]/):t.eat(/\d/)?t.eat(/\d/):t.next(),"variableName.special";if(/[a-zA-Z_\xa1-\uffff]/.test(n))return t.eatWhile(/[\w\xa1-\uffff]/),t.eat(/[\?\!]/),t.eat(":")?"atom":"variable";if(n=="|"&&(e.varList||e.lastTok=="{"||e.lastTok=="do"))return gr="|",null;if(/[\(\)\[\]{}\\;]/.test(n))return gr=n,null;if(n=="-"&&t.eat(">"))return"operator";if(/[=+\-\/*:\.^%<>~|]/.test(n)){var a=t.eatWhile(/[=+\-\/*:\.^%<>~|]/);return n=="."&&!a&&(gr="."),"operator"}else return null}}}function Fpe(t){for(var e=t.pos,n=0,i,r=!1,s=!1;(i=t.next())!=null;)if(s)s=!1;else{if("[{(".indexOf(i)>-1)n++;else if("]})".indexOf(i)>-1){if(n--,n<0)break}else if(i=="/"&&n==0){r=!0;break}s=i=="\\"}return t.backUp(t.pos-e),r}function Hv(t){return t||(t=1),function(e,n){if(e.peek()=="}"){if(t==1)return n.tokenize.pop(),n.tokenize[n.tokenize.length-1](e,n);n.tokenize[n.tokenize.length-1]=Hv(t-1)}else e.peek()=="{"&&(n.tokenize[n.tokenize.length-1]=Hv(t+1));return Rd(e,n)}}function Gpe(){var t=!1;return function(e,n){return t?(n.tokenize.pop(),n.tokenize[n.tokenize.length-1](e,n)):(t=!0,Rd(e,n))}}function Yc(t,e,n,i){return function(r,s){var o=!1,a;for(s.context.type==="read-quoted-paused"&&(s.context=s.context.prev,r.eat("}"));(a=r.next())!=null;){if(a==t&&(i||!o)){s.tokenize.pop();break}if(n&&a=="#"&&!o){if(r.eat("{")){t=="}"&&(s.context={prev:s.context,type:"read-quoted-paused"}),s.tokenize.push(Hv());break}else if(/[@\$]/.test(r.peek())){s.tokenize.push(Gpe());break}}o=!o&&a=="\\"}return e}}function Hpe(t,e){return function(n,i){return e&&n.eatSpace(),n.match(t)?i.tokenize.pop():n.skipToEnd(),"string"}}function Kpe(t,e){return t.sol()&&t.match("=end")&&t.eol()&&e.tokenize.pop(),t.skipToEnd(),"comment"}const Jpe={startState:function(t){return{tokenize:[Rd],indented:0,context:{type:"top",indented:-t},continuedLine:!1,lastTok:null,varList:!1}},token:function(t,e){gr=null,t.sol()&&(e.indented=t.indentation());var n=e.tokenize[e.tokenize.length-1](t,e),i,r=gr;if(n=="variable"){var s=t.current();n=e.lastTok=="."?"property":Zpe.propertyIsEnumerable(t.current())?"keyword":/^[A-Z]/.test(s)?"tag":e.lastTok=="def"||e.lastTok=="class"||e.varList?"def":"variable",n=="keyword"&&(r=s,Vpe.propertyIsEnumerable(s)?i="indent":jpe.propertyIsEnumerable(s)?i="dedent":((s=="if"||s=="unless")&&t.column()==t.indentation()||s=="do"&&e.context.indented1&&t.eat("$");var n=t.next();return/['"({]/.test(n)?(e.tokens[0]=Yp(n,n=="("?"quote":n=="{"?"def":"string"),ac(t,e)):(/\d/.test(n)||t.eatWhile(/\w/),e.tokens.shift(),"def")};function n0e(t){return function(e,n){return e.sol()&&e.string==t&&n.tokens.shift(),e.skipToEnd(),"string.special"}}function ac(t,e){return(e.tokens[0]||e0e)(t,e)}const i0e={startState:function(){return{tokens:[]}},token:function(t,e){return ac(t,e)},languageData:{autocomplete:sE.concat(oE,aE),closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"#"}}};function Zp(t){for(var e={},n=0;n~^?!",c0e=":;,.(){}[]",u0e=/^\-?0b[01][01_]*/,f0e=/^\-?0o[0-7][0-7_]*/,O0e=/^\-?0x[\dA-Fa-f][\dA-Fa-f_]*(?:(?:\.[\dA-Fa-f][\dA-Fa-f_]*)?[Pp]\-?\d[\d_]*)?/,h0e=/^\-?\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee]\-?\d[\d_]*)?/,d0e=/^\$\d+|(`?)[_A-Za-z][_A-Za-z$0-9]*\1/,p0e=/^\.(?:\$\d+|(`?)[_A-Za-z][_A-Za-z$0-9]*\1)/,m0e=/^\#[A-Za-z]+/,g0e=/^@(?:\$\d+|(`?)[_A-Za-z][_A-Za-z$0-9]*\1)/;function cE(t,e,n){if(t.sol()&&(e.indented=t.indentation()),t.eatSpace())return null;var i=t.peek();if(i=="/"){if(t.match("//"))return t.skipToEnd(),"comment";if(t.match("/*"))return e.tokenize.push(Jv),Jv(t,e)}if(t.match(m0e))return"builtin";if(t.match(g0e))return"attribute";if(t.match(u0e)||t.match(f0e)||t.match(O0e)||t.match(h0e))return"number";if(t.match(p0e))return"property";if(l0e.indexOf(i)>-1)return t.next(),"operator";if(c0e.indexOf(i)>-1)return t.next(),t.match(".."),"punctuation";var r;if(r=t.match(/("""|"|')/)){var s=y0e.bind(null,r[0]);return e.tokenize.push(s),s(t,e)}if(t.match(d0e)){var o=t.current();return a0e.hasOwnProperty(o)?"type":o0e.hasOwnProperty(o)?"atom":r0e.hasOwnProperty(o)?(s0e.hasOwnProperty(o)&&(e.prev="define"),"keyword"):n=="define"?"def":"variable"}return t.next(),null}function v0e(){var t=0;return function(e,n,i){var r=cE(e,n,i);if(r=="punctuation"){if(e.current()=="(")++t;else if(e.current()==")"){if(t==0)return e.backUp(1),n.tokenize.pop(),n.tokenize[n.tokenize.length-1](e,n);--t}}return r}}function y0e(t,e,n){for(var i=t.length==1,r,s=!1;r=e.peek();)if(s){if(e.next(),r=="(")return n.tokenize.push(v0e()),"string";s=!1}else{if(e.match(t))return n.tokenize.pop(),"string";e.next(),s=r=="\\"}return i&&n.tokenize.pop(),"string"}function Jv(t,e){for(var n;t.match(/^[^/*]+/,!0),n=t.next(),!!n;)n==="/"&&t.eat("*")?e.tokenize.push(Jv):n==="*"&&t.eat("/")&&e.tokenize.pop();return"comment"}function $0e(t,e,n){this.prev=t,this.align=e,this.indented=n}function b0e(t,e){var n=e.match(/^\s*($|\/[\/\*]|[)}\]])/,!1)?null:e.column()+1;t.context=new $0e(t.context,n,t.indented)}function _0e(t){t.context&&(t.indented=t.context.indented,t.context=t.context.prev)}const Q0e={startState:function(){return{prev:null,context:null,indented:0,tokenize:[]}},token:function(t,e){var n=e.prev;e.prev=null;var i=e.tokenize[e.tokenize.length-1]||cE,r=i(t,e,n);if(!r||r=="comment"?e.prev=n:e.prev||(e.prev=r),r=="punctuation"){var s=/[\(\[\{]|([\]\)\}])/.exec(t.current());s&&(s[1]?_0e:b0e)(e,t)}return r},indent:function(t,e,n){var i=t.context;if(!i)return 0;var r=/^[\]\}\)]/.test(e);return i.align!=null?i.align-(r?1:0):i.indented+(r?0:n.unit)},languageData:{indentOnInput:/^\s*[\)\}\]]$/,commentTokens:{line:"//",block:{open:"/*",close:"*/"}},closeBrackets:{brackets:["(","[","{","'",'"',"`"]}}};var ey="error";function Do(t){return new RegExp("^(("+t.join(")|(")+"))\\b","i")}var S0e=new RegExp("^[\\+\\-\\*/%&\\\\|\\^~<>!]"),w0e=new RegExp("^[\\(\\)\\[\\]\\{\\}@,:`=;\\.]"),x0e=new RegExp("^((==)|(<>)|(<=)|(>=)|(<>)|(<<)|(>>)|(//)|(\\*\\*))"),P0e=new RegExp("^((\\+=)|(\\-=)|(\\*=)|(%=)|(/=)|(&=)|(\\|=)|(\\^=))"),k0e=new RegExp("^((//=)|(>>=)|(<<=)|(\\*\\*=))"),C0e=new RegExp("^[_A-Za-z][_A-Za-z0-9]*"),uE=["class","module","sub","enum","select","while","if","function","get","set","property","try","structure","synclock","using","with"],fE=["else","elseif","case","catch","finally"],OE=["next","loop"],hE=["and","andalso","or","orelse","xor","in","not","is","isnot","like"],T0e=Do(hE),dE=["#const","#else","#elseif","#end","#if","#region","addhandler","addressof","alias","as","byref","byval","cbool","cbyte","cchar","cdate","cdbl","cdec","cint","clng","cobj","compare","const","continue","csbyte","cshort","csng","cstr","cuint","culng","cushort","declare","default","delegate","dim","directcast","each","erase","error","event","exit","explicit","false","for","friend","gettype","goto","handles","implements","imports","infer","inherits","interface","isfalse","istrue","lib","me","mod","mustinherit","mustoverride","my","mybase","myclass","namespace","narrowing","new","nothing","notinheritable","notoverridable","of","off","on","operator","option","optional","out","overloads","overridable","overrides","paramarray","partial","private","protected","public","raiseevent","readonly","redim","removehandler","resume","return","shadows","shared","static","step","stop","strict","then","throw","to","true","trycast","typeof","until","until","when","widening","withevents","writeonly"],pE=["object","boolean","char","string","byte","sbyte","short","ushort","int16","uint16","integer","uinteger","int32","uint32","long","ulong","int64","uint64","decimal","single","double","float","date","datetime","intptr","uintptr"],R0e=Do(dE),A0e=Do(pE),E0e='"',X0e=Do(uE),mE=Do(fE),gE=Do(OE),vE=Do(["end"]),W0e=Do(["do"]);function ty(t,e){e.currentIndent++}function Eh(t,e){e.currentIndent--}function ny(t,e){if(t.eatSpace())return null;var n=t.peek();if(n==="'")return t.skipToEnd(),"comment";if(t.match(/^((&H)|(&O))?[0-9\.a-f]/i,!1)){var i=!1;if((t.match(/^\d*\.\d+F?/i)||t.match(/^\d+\.\d*F?/)||t.match(/^\.\d+F?/))&&(i=!0),i)return t.eat(/J/i),"number";var r=!1;if(t.match(/^&H[0-9a-f]+/i)||t.match(/^&O[0-7]+/i)?r=!0:t.match(/^[1-9]\d*F?/)?(t.eat(/J/i),r=!0):t.match(/^0(?![\dx])/i)&&(r=!0),r)return t.eat(/L/i),"number"}return t.match(E0e)?(e.tokenize=z0e(t.current()),e.tokenize(t,e)):t.match(k0e)||t.match(P0e)?null:t.match(x0e)||t.match(S0e)||t.match(T0e)?"operator":t.match(w0e)?null:t.match(W0e)?(ty(t,e),e.doInCurrentLine=!0,"keyword"):t.match(X0e)?(e.doInCurrentLine?e.doInCurrentLine=!1:ty(t,e),"keyword"):t.match(mE)?"keyword":t.match(vE)?(Eh(t,e),Eh(t,e),"keyword"):t.match(gE)?(Eh(t,e),"keyword"):t.match(A0e)||t.match(R0e)?"keyword":t.match(C0e)?"variable":(t.next(),ey)}function z0e(t){var e=t.length==1,n="string";return function(i,r){for(;!i.eol();){if(i.eatWhile(/[^'"]/),i.match(t))return r.tokenize=ny,n;i.eat(/['"]/)}return e&&(r.tokenize=ny),n}}function I0e(t,e){var n=e.tokenize(t,e),i=t.current();if(i===".")return n=e.tokenize(t,e),n==="variable"?"variable":ey;var r="[({".indexOf(i);return r!==-1&&ty(t,e),r="])}".indexOf(i),r!==-1&&Eh(t,e)?ey:n}const q0e={startState:function(){return{tokenize:ny,lastToken:null,currentIndent:0,nextLineIndent:0,doInCurrentLine:!1}},token:function(t,e){t.sol()&&(e.currentIndent+=e.nextLineIndent,e.nextLineIndent=0,e.doInCurrentLine=0);var n=I0e(t,e);return e.lastToken={style:n,content:t.current()},n},indent:function(t,e,n){var i=e.replace(/^\s+|\s+$/g,"");return i.match(gE)||i.match(vE)||i.match(mE)?n.unit*(t.currentIndent-1):t.currentIndent<0?0:t.currentIndent*n.unit},languageData:{closeBrackets:{brackets:["(","[","{",'"']},commentTokens:{line:"'"},autocomplete:uE.concat(fE).concat(OE).concat(hE).concat(dE).concat(pE)}};var U0e=["true","false","on","off","yes","no"],D0e=new RegExp("\\b(("+U0e.join(")|(")+"))$","i");const L0e={token:function(t,e){var n=t.peek(),i=e.escaped;if(e.escaped=!1,n=="#"&&(t.pos==0||/\s/.test(t.string.charAt(t.pos-1))))return t.skipToEnd(),"comment";if(t.match(/^('([^']|\\.)*'?|"([^"]|\\.)*"?)/))return"string";if(e.literal&&t.indentation()>e.keyCol)return t.skipToEnd(),"string";if(e.literal&&(e.literal=!1),t.sol()){if(e.keyCol=0,e.pair=!1,e.pairStart=!1,t.match("---")||t.match("..."))return"def";if(t.match(/^\s*-\s+/))return"meta"}if(t.match(/^(\{|\}|\[|\])/))return n=="{"?e.inlinePairs++:n=="}"?e.inlinePairs--:n=="["?e.inlineList++:e.inlineList--,"meta";if(e.inlineList>0&&!i&&n==",")return t.next(),"meta";if(e.inlinePairs>0&&!i&&n==",")return e.keyCol=0,e.pair=!1,e.pairStart=!1,t.next(),"meta";if(e.pairStart){if(t.match(/^\s*(\||\>)\s*/))return e.literal=!0,"meta";if(t.match(/^\s*(\&|\*)[a-z0-9\._-]+\b/i))return"variable";if(e.inlinePairs==0&&t.match(/^\s*-?[0-9\.\,]+\s?$/)||e.inlinePairs>0&&t.match(/^\s*-?[0-9\.\,]+\s?(?=(,|}))/))return"number";if(t.match(D0e))return"keyword"}return!e.pair&&t.match(/^\s*(?:[,\[\]{}&*!|>'"%@`][^\s'":]|[^,\[\]{}#&*!|>'"%@`])[^#]*?(?=\s*:($|\s))/)?(e.pair=!0,e.keyCol=t.indentation(),"atom"):e.pair&&t.match(/^:\s*/)?(e.pairStart=!0,"meta"):(e.pairStart=!1,e.escaped=n=="\\",t.next(),null)},startState:function(){return{pair:!1,pairStart:!1,keyCol:0,inlinePairs:0,inlineList:0,literal:!1,escaped:!1}},languageData:{commentTokens:{line:"#"}}};var B0e={break:!0,case:!0,chan:!0,const:!0,continue:!0,default:!0,defer:!0,else:!0,fallthrough:!0,for:!0,func:!0,go:!0,goto:!0,if:!0,import:!0,interface:!0,map:!0,package:!0,range:!0,return:!0,select:!0,struct:!0,switch:!0,type:!0,var:!0,bool:!0,byte:!0,complex64:!0,complex128:!0,float32:!0,float64:!0,int8:!0,int16:!0,int32:!0,int64:!0,string:!0,uint8:!0,uint16:!0,uint32:!0,uint64:!0,int:!0,uint:!0,uintptr:!0,error:!0,rune:!0},M0e={true:!0,false:!0,iota:!0,nil:!0,append:!0,cap:!0,close:!0,complex:!0,copy:!0,delete:!0,imag:!0,len:!0,make:!0,new:!0,panic:!0,print:!0,println:!0,real:!0,recover:!0},Ex=/[+\-*&^%:=<>!|\/]/,us;function Ad(t,e){var n=t.next();if(n=='"'||n=="'"||n=="`")return e.tokenize=Y0e(n),e.tokenize(t,e);if(/[\d\.]/.test(n))return n=="."?t.match(/^[0-9]+([eE][\-+]?[0-9]+)?/):n=="0"?t.match(/^[xX][0-9a-fA-F]+/)||t.match(/^0[0-7]+/):t.match(/^[0-9]*\.?[0-9]*([eE][\-+]?[0-9]+)?/),"number";if(/[\[\]{}\(\),;\:\.]/.test(n))return us=n,null;if(n=="/"){if(t.eat("*"))return e.tokenize=Xx,Xx(t,e);if(t.eat("/"))return t.skipToEnd(),"comment"}if(Ex.test(n))return t.eatWhile(Ex),"operator";t.eatWhile(/[\w\$_\xa1-\uffff]/);var i=t.current();return B0e.propertyIsEnumerable(i)?((i=="case"||i=="default")&&(us="case"),"keyword"):M0e.propertyIsEnumerable(i)?"atom":"variable"}function Y0e(t){return function(e,n){for(var i=!1,r,s=!1;(r=e.next())!=null;){if(r==t&&!i){s=!0;break}i=!i&&t!="`"&&r=="\\"}return(s||!(i||t=="`"))&&(n.tokenize=Ad),"string"}}function Xx(t,e){for(var n=!1,i;i=t.next();){if(i=="/"&&n){e.tokenize=Ad;break}n=i=="*"}return"comment"}function yE(t,e,n,i,r){this.indented=t,this.column=e,this.type=n,this.align=i,this.prev=r}function Rm(t,e,n){return t.context=new yE(t.indented,e,n,null,t.context)}function Wx(t){if(!!t.context.prev){var e=t.context.type;return(e==")"||e=="]"||e=="}")&&(t.indented=t.context.indented),t.context=t.context.prev}}const Z0e={startState:function(t){return{tokenize:null,context:new yE(-t,0,"top",!1),indented:0,startOfLine:!0}},token:function(t,e){var n=e.context;if(t.sol()&&(n.align==null&&(n.align=!1),e.indented=t.indentation(),e.startOfLine=!0,n.type=="case"&&(n.type="}")),t.eatSpace())return null;us=null;var i=(e.tokenize||Ad)(t,e);return i=="comment"||(n.align==null&&(n.align=!0),us=="{"?Rm(e,t.column(),"}"):us=="["?Rm(e,t.column(),"]"):us=="("?Rm(e,t.column(),")"):us=="case"?n.type="case":(us=="}"&&n.type=="}"||us==n.type)&&Wx(e),e.startOfLine=!1),i},indent:function(t,e,n){if(t.tokenize!=Ad&&t.tokenize!=null)return null;var i=t.context,r=e&&e.charAt(0);if(i.type=="case"&&/^(?:case|default)\b/.test(e))return t.context.type="}",i.indented;var s=r==i.type;return i.align?i.column+(s?0:1):i.indented+(s?0:n.unit)},languageData:{indentOnInput:/^\s([{}]|case |default\s*:)$/,commentTokens:{line:"//",block:{open:"/*",close:"*/"}}}},V0e=Li({null:z.null,instanceof:z.operatorKeyword,this:z.self,"new super assert open to with void":z.keyword,"class interface extends implements enum":z.definitionKeyword,"module package import":z.moduleKeyword,"switch while for if else case default do break continue return try catch finally throw":z.controlKeyword,["requires exports opens uses provides public private protected static transitive abstract final strictfp synchronized native transient volatile throws"]:z.modifier,IntegerLiteral:z.integer,FloatLiteral:z.float,"StringLiteral TextBlock":z.string,CharacterLiteral:z.character,LineComment:z.lineComment,BlockComment:z.blockComment,BooleanLiteral:z.bool,PrimitiveType:z.standard(z.typeName),TypeName:z.typeName,Identifier:z.variableName,"MethodName/Identifier":z.function(z.variableName),Definition:z.definition(z.variableName),ArithOp:z.arithmeticOperator,LogicOp:z.logicOperator,BitOp:z.bitwiseOperator,CompareOp:z.compareOperator,AssignOp:z.definitionOperator,UpdateOp:z.updateOperator,Asterisk:z.punctuation,Label:z.labelName,"( )":z.paren,"[ ]":z.squareBracket,"{ }":z.brace,".":z.derefOperator,", ;":z.separator}),j0e={__proto__:null,true:34,false:34,null:42,void:46,byte:48,short:48,int:48,long:48,char:48,float:48,double:48,boolean:48,extends:62,super:64,class:76,this:78,new:84,public:100,protected:102,private:104,abstract:106,static:108,final:110,strictfp:112,default:114,synchronized:116,native:118,transient:120,volatile:122,throws:150,implements:160,interface:166,enum:176,instanceof:236,open:265,module:267,requires:272,transitive:274,exports:276,to:278,opens:280,uses:282,provides:284,with:286,package:290,import:294,if:306,else:308,while:312,for:316,var:323,assert:330,switch:334,case:340,do:344,break:348,continue:352,return:356,throw:362,try:366,catch:370,finally:378},N0e=Ui.deserialize({version:14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#o!;^#o~$z_!VT}R&WSOY$zYZ%`Zr$zrs%es~$z_!>oX&|X#cQ&WSOY$zYZ%`Zr$zrs%es!_$z!_!`2{!`#p$z#p#q!?[#q~$zU!?cT#dQ&WSOY$zYZ%`Zr$zrs%es~$zV!?yT|R&WSOY$zYZ%`Zr$zrs%es~$zT!@aT#tP&WSOY$zYZ%`Zr$zrs%es~$z",tokenizers:[0,1,2,3],topRules:{Program:[0,3]},dynamicPrecedences:{"27":1,"230":-1,"241":-1},specialized:[{term:229,get:t=>j0e[t]||-1}],tokenPrec:7067}),F0e=qi.define({parser:N0e.configure({props:[or.add({IfStatement:Nn({except:/^\s*({|else\b)/}),TryStatement:Nn({except:/^\s*({|catch|finally)\b/}),LabeledStatement:H$,SwitchBlock:t=>{let e=t.textAfter,n=/^\s*\}/.test(e),i=/^\s*(case|default)\b/.test(e);return t.baseIndent+(n?0:i?1:2)*t.unit},Block:Sa({closing:"}"}),BlockComment:()=>-1,Statement:Nn({except:/^{/})}),ar.add({["Block SwitchBlock ClassBody ElementValueArrayInitializer ModuleBody EnumBody ConstructorBody InterfaceBody ArrayInitializer"]:Va,BlockComment(t){return{from:t.from+2,to:t.to-2}}})]}),languageData:{commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\})$/}});function G0e(){return new sr(F0e)}const H0e=Li({String:z.string,Number:z.number,"True False":z.bool,PropertyName:z.propertyName,Null:z.null,",":z.separator,"[ ]":z.squareBracket,"{ }":z.brace}),K0e=Ui.deserialize({version:14,states:"$bOVQPOOOOQO'#Cb'#CbOnQPO'#CeOvQPO'#CjOOQO'#Cp'#CpQOQPOOOOQO'#Cg'#CgO}QPO'#CfO!SQPO'#CrOOQO,59P,59PO![QPO,59PO!aQPO'#CuOOQO,59U,59UO!iQPO,59UOVQPO,59QOqQPO'#CkO!nQPO,59^OOQO1G.k1G.kOVQPO'#ClO!vQPO,59aOOQO1G.p1G.pOOQO1G.l1G.lOOQO,59V,59VOOQO-E6i-E6iOOQO,59W,59WOOQO-E6j-E6j",stateData:"#O~OcOS~OQSORSOSSOTSOWQO]ROePO~OVXOeUO~O[[O~PVOg^O~Oh_OVfX~OVaO~OhbO[iX~O[dO~Oh_OVfa~OhbO[ia~O",goto:"!kjPPPPPPkPPkqwPPk{!RPPP!XP!ePP!hXSOR^bQWQRf_TVQ_Q`WRg`QcZRicQTOQZRQe^RhbRYQR]R",nodeNames:"\u26A0 JsonText True False Null Number String } { Object Property PropertyName ] [ Array",maxTerm:25,nodeProps:[["openedBy",7,"{",12,"["],["closedBy",8,"}",13,"]"]],propSources:[H0e],skippedNodes:[0],repeatNodeCount:2,tokenData:"(p~RaXY!WYZ!W]^!Wpq!Wrs!]|}$i}!O$n!Q!R$w!R![&V![!]&h!}#O&m#P#Q&r#Y#Z&w#b#c'f#h#i'}#o#p(f#q#r(k~!]Oc~~!`Upq!]qr!]rs!rs#O!]#O#P!w#P~!]~!wOe~~!zXrs!]!P!Q!]#O#P!]#U#V!]#Y#Z!]#b#c!]#f#g!]#h#i!]#i#j#g~#jR!Q![#s!c!i#s#T#Z#s~#vR!Q![$P!c!i$P#T#Z$P~$SR!Q![$]!c!i$]#T#Z$]~$`R!Q![!]!c!i!]#T#Z!]~$nOh~~$qQ!Q!R$w!R![&V~$|RT~!O!P%V!g!h%k#X#Y%k~%YP!Q![%]~%bRT~!Q![%]!g!h%k#X#Y%k~%nR{|%w}!O%w!Q![%}~%zP!Q![%}~&SPT~!Q![%}~&[ST~!O!P%V!Q![&V!g!h%k#X#Y%k~&mOg~~&rO]~~&wO[~~&zP#T#U&}~'QP#`#a'T~'WP#g#h'Z~'^P#X#Y'a~'fOR~~'iP#i#j'l~'oP#`#a'r~'uP#`#a'x~'}OS~~(QP#f#g(T~(WP#i#j(Z~(^P#X#Y(a~(fOQ~~(kOW~~(pOV~",tokenizers:[0],topRules:{JsonText:[0,1]},tokenPrec:0}),J0e=qi.define({parser:K0e.configure({props:[or.add({Object:Nn({except:/^\s*\}/}),Array:Nn({except:/^\s*\]/})}),ar.add({"Object Array":Va})]}),languageData:{closeBrackets:{brackets:["[","{",'"']},indentOnInput:/^\s*[\}\]]$/}});function eme(){return new sr(J0e)}class Ed{constructor(e,n,i,r,s,o,a){this.type=e,this.value=n,this.from=i,this.hash=r,this.end=s,this.children=o,this.positions=a,this.hashProp=[[ft.contextHash,r]]}static create(e,n,i,r,s){let o=r+(r<<8)+e+(n<<4)|0;return new Ed(e,n,i,o,s,[],[])}addChild(e,n){e.prop(ft.contextHash)!=this.hash&&(e=new vt(e.type,e.children,e.positions,e.length,this.hashProp)),this.children.push(e),this.positions.push(n)}toTree(e,n=this.end){let i=this.children.length-1;return i>=0&&(n=Math.max(n,this.positions[i]+this.children[i].length+this.from)),new vt(e.types[this.type],this.children,this.positions,n-this.from).balance({makeTree:(s,o,a)=>new vt(mn.none,s,o,a,this.hashProp)})}}var Ie;(function(t){t[t.Document=1]="Document",t[t.CodeBlock=2]="CodeBlock",t[t.FencedCode=3]="FencedCode",t[t.Blockquote=4]="Blockquote",t[t.HorizontalRule=5]="HorizontalRule",t[t.BulletList=6]="BulletList",t[t.OrderedList=7]="OrderedList",t[t.ListItem=8]="ListItem",t[t.ATXHeading1=9]="ATXHeading1",t[t.ATXHeading2=10]="ATXHeading2",t[t.ATXHeading3=11]="ATXHeading3",t[t.ATXHeading4=12]="ATXHeading4",t[t.ATXHeading5=13]="ATXHeading5",t[t.ATXHeading6=14]="ATXHeading6",t[t.SetextHeading1=15]="SetextHeading1",t[t.SetextHeading2=16]="SetextHeading2",t[t.HTMLBlock=17]="HTMLBlock",t[t.LinkReference=18]="LinkReference",t[t.Paragraph=19]="Paragraph",t[t.CommentBlock=20]="CommentBlock",t[t.ProcessingInstructionBlock=21]="ProcessingInstructionBlock",t[t.Escape=22]="Escape",t[t.Entity=23]="Entity",t[t.HardBreak=24]="HardBreak",t[t.Emphasis=25]="Emphasis",t[t.StrongEmphasis=26]="StrongEmphasis",t[t.Link=27]="Link",t[t.Image=28]="Image",t[t.InlineCode=29]="InlineCode",t[t.HTMLTag=30]="HTMLTag",t[t.Comment=31]="Comment",t[t.ProcessingInstruction=32]="ProcessingInstruction",t[t.URL=33]="URL",t[t.HeaderMark=34]="HeaderMark",t[t.QuoteMark=35]="QuoteMark",t[t.ListMark=36]="ListMark",t[t.LinkMark=37]="LinkMark",t[t.EmphasisMark=38]="EmphasisMark",t[t.CodeMark=39]="CodeMark",t[t.CodeText=40]="CodeText",t[t.CodeInfo=41]="CodeInfo",t[t.LinkTitle=42]="LinkTitle",t[t.LinkLabel=43]="LinkLabel"})(Ie||(Ie={}));class tme{constructor(e,n){this.start=e,this.content=n,this.marks=[],this.parsers=[]}}class nme{constructor(){this.text="",this.baseIndent=0,this.basePos=0,this.depth=0,this.markers=[],this.pos=0,this.indent=0,this.next=-1}forward(){this.basePos>this.pos&&this.forwardInner()}forwardInner(){let e=this.skipSpace(this.basePos);this.indent=this.countIndent(e,this.pos,this.indent),this.pos=e,this.next=e==this.text.length?-1:this.text.charCodeAt(e)}skipSpace(e){return Pu(this.text,e)}reset(e){for(this.text=e,this.baseIndent=this.basePos=this.pos=this.indent=0,this.forwardInner(),this.depth=1;this.markers.length;)this.markers.pop()}moveBase(e){this.basePos=e,this.baseIndent=this.countIndent(e,this.pos,this.indent)}moveBaseColumn(e){this.baseIndent=e,this.basePos=this.findColumn(e)}addMarker(e){this.markers.push(e)}countIndent(e,n=0,i=0){for(let r=n;r=e.stack[n.depth+1].value+n.baseIndent)return!0;if(n.indent>=n.baseIndent+4)return!1;let i=(t.type==Ie.OrderedList?w1:S1)(n,e,!1);return i>0&&(t.type!=Ie.BulletList||Q1(n,e,!1)<0)&&n.text.charCodeAt(n.pos+i-1)==t.value}const $E={[Ie.Blockquote](t,e,n){return n.next!=62?!1:(n.markers.push(Tt(Ie.QuoteMark,e.lineStart+n.pos,e.lineStart+n.pos+1)),n.moveBase(n.pos+(cr(n.text.charCodeAt(n.pos+1))?2:1)),t.end=e.lineStart+n.text.length,!0)},[Ie.ListItem](t,e,n){return n.indent-1?!1:(n.moveBaseColumn(n.baseIndent+t.value),!0)},[Ie.OrderedList]:zx,[Ie.BulletList]:zx,[Ie.Document](){return!0}};function cr(t){return t==32||t==9||t==10||t==13}function Pu(t,e=0){for(;en&&cr(t.charCodeAt(e-1));)e--;return e}function bE(t){if(t.next!=96&&t.next!=126)return-1;let e=t.pos+1;for(;e-1&&t.depth==e.stack.length||i<3?-1:1}function QE(t,e){for(let n=t.stack.length-1;n>=0;n--)if(t.stack[n].type==e)return!0;return!1}function S1(t,e,n){return(t.next==45||t.next==43||t.next==42)&&(t.pos==t.text.length-1||cr(t.text.charCodeAt(t.pos+1)))&&(!n||QE(e,Ie.BulletList)||t.skipSpace(t.pos+2)=48&&r<=57;){i++;if(i==t.text.length)return-1;r=t.text.charCodeAt(i)}return i==t.pos||i>t.pos+9||r!=46&&r!=41||it.pos+1||t.next!=49)?-1:i+1-t.pos}function SE(t){if(t.next!=35)return-1;let e=t.pos+1;for(;e6?-1:n}function wE(t){if(t.next!=45&&t.next!=61||t.indent>=t.baseIndent+4)return-1;let e=t.pos+1;for(;e/,PE=/\?>/,ry=[[/^<(?:script|pre|style)(?:\s|>|$)/i,/<\/(?:script|pre|style)>/i],[/^\s*/i.exec(i);if(s)return t.append(Tt(Ie.Comment,n,n+1+s[0].length));let o=/^\?[^]*?\?>/.exec(i);if(o)return t.append(Tt(Ie.ProcessingInstruction,n,n+1+o[0].length));let a=/^(?:![A-Z][^]*?>|!\[CDATA\[[^]*?\]\]>|\/\s*[a-zA-Z][\w-]*\s*>|\s*[a-zA-Z][\w-]*(\s+[a-zA-Z:_][\w-.:]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*(\/\s*)?>)/.exec(i);return a?t.append(Tt(Ie.HTMLTag,n,n+1+a[0].length)):-1},Emphasis(t,e,n){if(e!=95&&e!=42)return-1;let i=n+1;for(;t.char(i)==e;)i++;let r=t.slice(n-1,n),s=t.slice(i,i+1),o=oy.test(r),a=oy.test(s),l=/\s|^$/.test(r),c=/\s|^$/.test(s),u=!c&&(!a||l||o),O=!l&&(!o||c||a),f=u&&(e==42||!O||o),h=O&&(e==42||!u||a);return t.append(new br(e==95?EE:XE,n,i,(f?1:0)|(h?2:0)))},HardBreak(t,e,n){if(e==92&&t.char(n+1)==10)return t.append(Tt(Ie.HardBreak,n,n+2));if(e==32){let i=n+1;for(;t.char(i)==32;)i++;if(t.char(i)==10&&i>=n+2)return t.append(Tt(Ie.HardBreak,n,i+1))}return-1},Link(t,e,n){return e==91?t.append(new br(Vc,n,n+1,1)):-1},Image(t,e,n){return e==33&&t.char(n+1)==91?t.append(new br(Ux,n,n+2,1)):-1},LinkEnd(t,e,n){if(e!=93)return-1;for(let i=t.parts.length-1;i>=0;i--){let r=t.parts[i];if(r instanceof br&&(r.type==Vc||r.type==Ux)){if(!r.side||t.skipSpace(r.to)==n&&!/[(\[]/.test(t.slice(n+1,n+2)))return t.parts[i]=null,-1;let s=t.takeContent(i),o=t.parts[i]=cme(t,s,r.type==Vc?Ie.Link:Ie.Image,r.from,n+1);if(r.type==Vc)for(let a=0;ae?Tt(Ie.URL,e+n,s+n):s==t.length?null:!1}}function zE(t,e,n){let i=t.charCodeAt(e);if(i!=39&&i!=34&&i!=40)return!1;let r=i==40?41:i;for(let s=e+1,o=!1;s=this.end?-1:this.text.charCodeAt(e-this.offset)}get end(){return this.offset+this.text.length}slice(e,n){return this.text.slice(e-this.offset,n-this.offset)}append(e){return this.parts.push(e),e.to}addDelimiter(e,n,i,r,s){return this.append(new br(e,n,i,(r?1:0)|(s?2:0)))}addElement(e){return this.append(e)}resolveMarkers(e){for(let i=e;i=e;l--){let y=this.parts[l];if(!(!(y instanceof br&&y.side&1&&y.type==r.type)||s&&(r.side&1||y.side&2)&&(y.to-y.from+o)%3==0&&((y.to-y.from)%3||o%3))){a=y;break}}if(!a)continue;let c=r.type.resolve,u=[],O=a.from,f=r.to;if(s){let y=Math.min(2,a.to-a.from,o);O=a.to-y,f=r.from+y,c=y==1?"Emphasis":"StrongEmphasis"}a.type.mark&&u.push(this.elt(a.type.mark,O,a.to));for(let y=l+1;y=0;n--){let i=this.parts[n];if(i instanceof br&&i.type==e)return n}return null}takeContent(e){let n=this.resolveMarkers(e);return this.parts.length=e,n}skipSpace(e){return Pu(this.text,e-this.offset)+this.offset}elt(e,n,i,r){return typeof e=="string"?Tt(this.parser.getNodeType(e),n,i,r):new AE(e,n)}}function ay(t,e){if(!e.length)return t;if(!t.length)return e;let n=t.slice(),i=0;for(let r of e){for(;i(e?e-1:0))return!1;if(this.fragmentEnd<0){let s=this.fragment.to;for(;s>0&&this.input.read(s-1,s)!=` -`;)s--;this.fragmentEnd=s?s-1:0}let i=this.cursor;i||(i=this.cursor=this.fragment.tree.cursor(),i.firstChild());let r=e+this.fragment.offset;for(;i.to<=r;)if(!i.parent())return!1;for(;;){if(i.from>=r)return this.fragment.from<=n;if(!i.childAfter(r))return!1}}matches(e){let n=this.cursor.tree;return n&&n.prop(ft.contextHash)==e}takeNodes(e){let n=this.cursor,i=this.fragment.offset,r=this.fragmentEnd-(this.fragment.openEnd?1:0),s=e.absoluteLineStart,o=s,a=e.block.children.length,l=o,c=a;for(;;){if(n.to-i>r){if(n.type.isAnonymous&&n.firstChild())continue;break}if(e.dontInject.add(n.tree),e.addNode(n.tree,n.from-i),n.type.is("Block")&&(fme.indexOf(n.type.id)<0?(o=n.to-i,a=e.block.children.length):(o=l,a=c,l=n.to-i,c=e.block.children.length)),!n.nextSibling())break}for(;e.block.children.length>a;)e.block.children.pop(),e.block.positions.pop();return o-s}}const hme=Li({"Blockquote/...":z.quote,HorizontalRule:z.contentSeparator,"ATXHeading1/... SetextHeading1/...":z.heading1,"ATXHeading2/... SetextHeading2/...":z.heading2,"ATXHeading3/...":z.heading3,"ATXHeading4/...":z.heading4,"ATXHeading5/...":z.heading5,"ATXHeading6/...":z.heading6,"Comment CommentBlock":z.comment,Escape:z.escape,Entity:z.character,"Emphasis/...":z.emphasis,"StrongEmphasis/...":z.strong,"Link/... Image/...":z.link,"OrderedList/... BulletList/...":z.list,"BlockQuote/...":z.quote,"InlineCode CodeText":z.monospace,URL:z.url,"HeaderMark HardBreak QuoteMark ListMark LinkMark EmphasisMark CodeMark":z.processingInstruction,"CodeInfo LinkLabel":z.labelName,LinkTitle:z.string,Paragraph:z.content}),dme=new Vp(new wc(TE).extend(hme),Object.keys(JO).map(t=>JO[t]),Object.keys(JO).map(t=>sme[t]),Object.keys(JO),ome,$E,Object.keys(Em).map(t=>Em[t]),Object.keys(Em),[]);function pme(t,e,n){let i=[];for(let r=t.firstChild,s=e;;r=r.nextSibling){let o=r?r.from:n;if(o>s&&i.push({from:s,to:o}),!r)break;s=r.to}return i}function mme(t){let{codeParser:e,htmlParser:n}=t;return{wrap:j$((r,s)=>{let o=r.type.id;if(e&&(o==Ie.CodeBlock||o==Ie.FencedCode)){let a="";if(o==Ie.FencedCode){let c=r.node.getChild(Ie.CodeInfo);c&&(a=s.read(c.from,c.to))}let l=e(a);if(l)return{parser:l,overlay:c=>c.type.id==Ie.CodeText}}else if(n&&(o==Ie.HTMLBlock||o==Ie.HTMLTag))return{parser:n,overlay:pme(r.node,r.from,r.to)};return null})}}const gme={resolve:"Strikethrough",mark:"StrikethroughMark"},vme={defineNodes:[{name:"Strikethrough",style:{"Strikethrough/...":z.strikethrough}},{name:"StrikethroughMark",style:z.processingInstruction}],parseInline:[{name:"Strikethrough",parse(t,e,n){return e!=126||t.char(n+1)!=126?-1:t.addDelimiter(gme,n,n+2,!0,!0)},after:"Emphasis"}]};function ku(t,e,n=0,i,r=0){let s=0,o=!0,a=-1,l=-1,c=!1,u=()=>{i.push(t.elt("TableCell",r+a,r+l,t.parser.parseInline(e.slice(a,l),r+a)))};for(let O=n;O-1)&&s++,o=!1,i&&(a>-1&&u(),i.push(t.elt("TableDelimiter",O+r,O+r+1))),a=l=-1):(c||f!=32&&f!=9)&&(a<0&&(a=O),l=O+1),c=!c&&f==92}return a>-1&&(s++,i&&u()),s}function Lx(t,e){for(let n=e;nr instanceof Bx)||!Lx(e.text,e.basePos))return!1;let i=t.scanLine(t.absoluteLineEnd+1).text;return qE.test(i)&&ku(t,e.text,e.basePos)==ku(t,i,e.basePos)},before:"SetextHeading"}]};class $me{nextLine(){return!1}finish(e,n){return e.addLeafElement(n,e.elt("Task",n.start,n.start+n.content.length,[e.elt("TaskMarker",n.start,n.start+3),...e.parser.parseInline(n.content.slice(3),n.start+3)])),!0}}const bme={defineNodes:[{name:"Task",block:!0,style:z.list},{name:"TaskMarker",style:z.atom}],parseBlock:[{name:"TaskList",leaf(t,e){return/^\[[ xX]\]/.test(e.content)&&t.parentType().name=="ListItem"?new $me:null},after:"SetextHeading"}]},_me=[yme,bme,vme];function UE(t,e,n){return(i,r,s)=>{if(r!=t||i.char(s+1)==t)return-1;let o=[i.elt(n,s,s+1)];for(let a=s+1;a"}}),LE=dme.configure({props:[ar.add(t=>{if(!(!t.is("Block")||t.is("Document")))return(e,n)=>({from:n.doc.lineAt(e.from).to,to:e.to})}),or.add({Document:()=>null}),Ca.add({Document:DE})]});function x1(t){return new Ri(DE,t)}const xme=x1(LE),Pme=LE.configure([_me,Sme,Qme,wme]),BE=x1(Pme);function kme(t,e){return n=>{if(n&&t){let i=null;if(typeof t=="function"?i=t(n):i=md.matchLanguageName(t,n,!0),i instanceof md)return i.support?i.support.language.parser:Ta.getSkippingParser(i.load());if(i)return i.parser}return e?e.parser:null}}function Mx(t,e){return e.sliceString(t.from,t.from+50)}class Xm{constructor(e,n,i,r,s,o,a){this.node=e,this.from=n,this.to=i,this.spaceBefore=r,this.spaceAfter=s,this.type=o,this.item=a}blank(e=!0){let n=this.spaceBefore;if(this.node.name=="Blockquote")n+=">";else for(let i=this.to-this.from-n.length-this.spaceAfter.length;i>0;i--)n+=" ";return n+(e?this.spaceAfter:"")}marker(e,n){let i=this.node.name=="OrderedList"?String(+YE(this.item,e)[2]+n):"";return this.spaceBefore+i+this.type+this.spaceAfter}}function ME(t,e,n){let i=[];for(let o=t;o&&o.name!="Document";o=o.parent)(o.name=="ListItem"||o.name=="Blockquote")&&i.push(o);let r=[],s=0;for(let o=i.length-1;o>=0;o--){let a=i[o],l,c=s;if(a.name=="Blockquote"&&(l=/^[ \t]*>( ?)/.exec(e.slice(s))))s+=l[0].length,r.push(new Xm(a,c,s,"",l[1],">",null));else if(a.name=="ListItem"&&a.parent.name=="OrderedList"&&(l=/^([ \t]*)\d+([.)])([ \t]*)/.exec(Mx(a,n)))){let u=l[3],O=l[0].length;u.length>=4&&(u=u.slice(0,u.length-4),O-=4),s+=O,r.push(new Xm(a.parent,c,s,l[1],u,l[2],a))}else if(a.name=="ListItem"&&a.parent.name=="BulletList"&&(l=/^([ \t]*)([-+*])([ \t]{1,4}\[[ xX]\])?([ \t]+)/.exec(Mx(a,n)))){let u=l[4],O=l[0].length;u.length>4&&(u=u.slice(0,u.length-4),O-=4);let f=l[2];l[3]&&(f+=l[3].replace(/[xX]/," ")),s+=O,r.push(new Xm(a.parent,c,s,l[1],u,f,a))}}return r}function YE(t,e){return/^(\s*)(\d+)(?=[.)])/.exec(e.sliceString(t.from,t.from+10))}function Wm(t,e,n,i=0){for(let r=-1,s=t;;){if(s.name=="ListItem"){let a=YE(s,e),l=+a[2];if(r>=0){if(l!=r+1)return;n.push({from:s.from+a[1].length,to:s.from+a[0].length,insert:String(r+2+i)})}r=l}let o=s.nextSibling;if(!o)break;s=o}}const Cme=({state:t,dispatch:e})=>{let n=jt(t),{doc:i}=t,r=null,s=t.changeByRange(o=>{if(!o.empty||!BE.isActiveAt(t,o.from))return r={range:o};let a=o.from,l=i.lineAt(a),c=ME(n.resolveInner(a,-1),l.text,i);for(;c.length&&c[c.length-1].from>a-l.from;)c.pop();if(!c.length)return r={range:o};let u=c[c.length-1];if(u.to-u.spaceAfter.length>a-l.from)return r={range:o};let O=a>=u.to-u.spaceAfter.length&&!/\S/.test(l.text.slice(u.to));if(u.item&&O)if(u.node.firstChild.to>=a||l.from>0&&!/[^\s>]/.test(i.lineAt(l.from-1).text)){let $=c.length>1?c[c.length-2]:null,m,d="";$&&$.item?(m=l.from+$.from,d=$.marker(i,1)):m=l.from+($?$.to:0);let g=[{from:m,to:a,insert:d}];return u.node.name=="OrderedList"&&Wm(u.item,i,g,-2),$&&$.node.name=="OrderedList"&&Wm($.item,i,g),{range:we.cursor(m+d.length),changes:g}}else{let $="";for(let m=0,d=c.length-2;m<=d;m++)$+=c[m].blank(m\s*$/.exec($.text);if(m&&m.index==u.from){let d=t.changes([{from:$.from+m.index,to:$.to},{from:l.from+u.from,to:l.to}]);return{range:o.map(d),changes:d}}}let f=[];u.node.name=="OrderedList"&&Wm(u.item,i,f);let h=t.lineBreak,p=u.item&&u.item.from]*/.exec(l.text)[0].length>=u.to)for(let $=0,m=c.length-1;$<=m;$++)h+=$==m&&!p?c[$].marker(i,1):c[$].blank();let y=a;for(;y>l.from&&/\s/.test(l.text.charAt(y-l.from-1));)y--;return f.push({from:y,to:a,insert:h}),{range:we.cursor(y+h.length),changes:f}});return r?!1:(e(t.update(s,{scrollIntoView:!0,userEvent:"input"})),!0)};function Yx(t){return t.name=="QuoteMark"||t.name=="ListMark"}function Tme(t,e){let n=t.resolveInner(e,-1),i=e;Yx(n)&&(i=n.from,n=n.parent);for(let r;r=n.childBefore(i);)if(Yx(r))i=r.from;else if(r.name=="OrderedList"||r.name=="BulletList")n=r.lastChild,i=n.to;else break;return n}const Rme=({state:t,dispatch:e})=>{let n=jt(t),i=null,r=t.changeByRange(s=>{let o=s.from,{doc:a}=t;if(s.empty&&BE.isActiveAt(t,s.from)){let l=a.lineAt(o),c=ME(Tme(n,o),l.text,a);if(c.length){let u=c[c.length-1],O=u.to-u.spaceAfter.length+(u.spaceAfter?1:0);if(o-l.from>O&&!/\S/.test(l.text.slice(O,o-l.from)))return{range:we.cursor(l.from+O),changes:{from:l.from+O,to:o}};if(o-l.from==O){let f=l.from+u.from;if(u.item&&u.node.from=65&&t<=90||t>=97&&t<=122||t>=48&&t<=57}function Kme(t){return t>=48&&t<=57||t>=97&&t<=102||t>=65&&t<=70}function $l(t,e,n){for(let i=!1;;){if(t.next<0)return;if(t.next==e&&!i){t.advance();return}i=n&&!i&&t.next==92,t.advance()}}function jE(t,e){for(;!(t.next!=95&&!ly(t.next));)e!=null&&(e+=String.fromCharCode(t.next)),t.advance();return e}function Jme(t){if(t.next==39||t.next==34||t.next==96){let e=t.next;t.advance(),$l(t,e,!1)}else jE(t)}function jx(t,e){for(;;){if(t.next==46){if(e)break;e=!0}else if(t.next<48||t.next>57)break;t.advance()}if(t.next==69||t.next==101)for(t.advance(),(t.next==43||t.next==45)&&t.advance();t.next>=48&&t.next<=57;)t.advance()}function Nx(t){for(;!(t.next<0||t.next==10);)t.advance()}function Ol(t,e){for(let n=0;n!=&|~^/",specialVar:"?",identifierQuotes:'"',words:NE(GE,FE)};function ege(t,e,n,i){let r={};for(let s in cy)r[s]=(t.hasOwnProperty(s)?t:cy)[s];return e&&(r.words=NE(e,n||"",i)),r}function HE(t){return new on(e=>{var n;let{next:i}=e;if(e.advance(),Ol(i,Fx)){for(;Ol(e.next,Fx);)e.advance();e.acceptToken(Xme)}else if(i==39||i==34&&t.doubleQuotedStrings)$l(e,i,t.backslashEscapes),e.acceptToken(zm);else if(i==35&&t.hashComments||i==47&&e.next==47&&t.slashComments)Nx(e),e.acceptToken(Vx);else if(i==45&&e.next==45&&(!t.spaceAfterDashes||e.peek(2)==32))Nx(e),e.acceptToken(Vx);else if(i==47&&e.next==42){e.advance();for(let r=-1,s=1;!(e.next<0);)if(e.advance(),r==42&&e.next==47){if(s--,!s){e.advance();break}r=-1}else r==47&&e.next==42?(s++,r=-1):r=e.next;e.acceptToken(Wme)}else if((i==101||i==69)&&e.next==39)e.advance(),$l(e,39,!0);else if((i==110||i==78)&&e.next==39&&t.charSetCasts)e.advance(),$l(e,39,t.backslashEscapes),e.acceptToken(zm);else if(i==95&&t.charSetCasts)for(let r=0;;r++){if(e.next==39&&r>1){e.advance(),$l(e,39,t.backslashEscapes),e.acceptToken(zm);break}if(!ly(e.next))break;e.advance()}else if(i==40)e.acceptToken(qme);else if(i==41)e.acceptToken(Ume);else if(i==123)e.acceptToken(Dme);else if(i==125)e.acceptToken(Lme);else if(i==91)e.acceptToken(Bme);else if(i==93)e.acceptToken(Mme);else if(i==59)e.acceptToken(Yme);else if(i==48&&(e.next==98||e.next==66)||(i==98||i==66)&&e.next==39){let r=e.next==39;for(e.advance();e.next==48||e.next==49;)e.advance();r&&e.next==39&&e.advance(),e.acceptToken(th)}else if(i==48&&(e.next==120||e.next==88)||(i==120||i==88)&&e.next==39){let r=e.next==39;for(e.advance();Kme(e.next);)e.advance();r&&e.next==39&&e.advance(),e.acceptToken(th)}else if(i==46&&e.next>=48&&e.next<=57)jx(e,!0),e.acceptToken(th);else if(i==46)e.acceptToken(Zme);else if(i>=48&&i<=57)jx(e,!1),e.acceptToken(th);else if(Ol(i,t.operatorChars)){for(;Ol(e.next,t.operatorChars);)e.advance();e.acceptToken(Vme)}else if(Ol(i,t.specialVar))e.next==i&&e.advance(),Jme(e),e.acceptToken(Nme);else if(Ol(i,t.identifierQuotes))$l(e,i,!1),e.acceptToken(Gme);else if(i==58||i==44)e.acceptToken(jme);else if(ly(i)){let r=jE(e,String.fromCharCode(i));e.acceptToken((n=t.words[r.toLowerCase()])!==null&&n!==void 0?n:Fme)}})}const KE=HE(cy),tge=Ui.deserialize({version:14,states:"%dQ]QQOOO#kQRO'#DQO#rQQO'#CuO%RQQO'#CvO%YQQO'#CwO%aQQO'#CxOOQQ'#DQ'#DQOOQQ'#C{'#C{O&lQRO'#CyOOQQ'#Ct'#CtOOQQ'#Cz'#CzQ]QQOOQOQQOOO&vQQO,59aO'RQQO,59aO'WQQO'#DQOOQQ,59b,59bO'eQQO,59bOOQQ,59c,59cO'lQQO,59cOOQQ,59d,59dO'sQQO,59dOOQQ-E6y-E6yOOQQ,59`,59`OOQQ-E6x-E6xOOQQ'#C|'#C|OOQQ1G.{1G.{O&vQQO1G.{OOQQ1G.|1G.|OOQQ1G.}1G.}OOQQ1G/O1G/OP'zQQO'#C{POQQ-E6z-E6zOOQQ7+$g7+$g",stateData:"(R~OrOSPOSQOS~ORUOSUOTUOUUOVROXSOZTO]XO^QO_UO`UOaPObPOcPOdUOeUOfUO~O^]ORtXStXTtXUtXVtXXtXZtX]tX_tX`tXatXbtXctXdtXetXftX~OqtX~P!dOa^Ob^Oc^O~ORUOSUOTUOUUOVROXSOZTO^QO_UO`UOa_Ob_Oc_OdUOeUOfUO~OW`O~P#}OYbO~P#}O[dO~P#}ORUOSUOTUOUUOVROXSOZTO^QO_UO`UOaPObPOcPOdUOeUOfUO~O]gOqmX~P%hOaiObiOciO~O^kO~OWtXYtX[tX~P!dOWlO~P#}OYmO~P#}O[nO~P#}O]gO~P#}O",goto:"#YuPPPPPPPPPPPPPPPPPPPPPPPPvzzzz!W![!b!vPPP!|TYOZeUORSTWZaceoT[OZQZORhZSWOZQaRQcSQeTZfWaceoQj]RqkeVORSTWZaceo",nodeNames:"\u26A0 LineComment BlockComment String Number Bool Null ( ) [ ] { } ; . Operator Punctuation SpecialVar Identifier QuotedIdentifier Keyword Type Builtin Script Statement CompositeIdentifier Parens Braces Brackets Statement",maxTerm:36,skippedNodes:[0,1,2],repeatNodeCount:3,tokenData:"RORO",tokenizers:[0,KE],topRules:{Script:[0,23]},tokenPrec:0});function uy(t){let e=t.cursor().moveTo(t.from,-1);for(;/Comment/.test(e.name);)e.moveTo(e.from,-1);return e.node}function nge(t){let e=/^[`'"](.*)[`'"]$/.exec(t);return e?e[1]:t}function ige(t,e){return e.name=="Identifier"||e.name=="QuotedIdentifier"||e.name=="Keyword"&&/^public$/i.test(t.sliceDoc(e.from,e.to))}function Gx(t,e){for(let n=[];;){if(!e||e.name!=".")return n;let i=uy(e);if(!i||!ige(t,i))return n;n.unshift(nge(t.sliceDoc(i.from,i.to))),e=uy(i)}}function rge(t,e){let n=jt(t).resolveInner(e,-1);return n.name=="Identifier"||n.name=="QuotedIdentifier"?{from:n.from,quoted:n.name=="QuotedIdentifier"?t.sliceDoc(n.from,n.from+1):null,parents:Gx(t,uy(n))}:n.name=="."?{from:e,quoted:null,parents:Gx(t,n)}:{from:e,quoted:null,parents:[],empty:!0}}function sge(t,e){return t?e.map(n=>Object.assign(Object.assign({},n),{label:t+n.label+t,apply:void 0})):e}const oge=/^\w*$/,age=/^[`'"]?\w*[`'"]?$/;class P1{constructor(){this.list=[],this.children=void 0}child(e){let n=this.children||(this.children=Object.create(null));return n[e]||(n[e]=new P1)}childCompletions(e){return this.children?Object.keys(this.children).filter(n=>n).map(n=>({label:n,type:e})):[]}}function lge(t,e,n,i){let r=new P1,s=r.child(i||"");for(let o in t){let a=o.indexOf("."),c=(a>-1?r.child(o.slice(0,a)):s).child(a>-1?o.slice(a+1):o);c.list=t[o].map(u=>typeof u=="string"?{label:u,type:"property"}:u)}s.list=(e||s.childCompletions("type")).concat(n?s.child(n).list:[]);for(let o in r.children){let a=r.child(o);a.list.length||(a.list=a.childCompletions("type"))}return r.list=s.list.concat(r.childCompletions("type")),o=>{let{parents:a,from:l,quoted:c,empty:u}=rge(o.state,o.pos);if(u&&!o.explicit)return null;let O=r;for(let h of a){for(;!O.children||!O.children[h];)if(O==r)O=s;else if(O==s&&n)O=O.child(n);else return null;O=O.child(h)}let f=c&&o.state.sliceDoc(o.pos,o.pos+1)==c;return{from:l,to:f?o.pos+1:void 0,options:sge(c,O.list),validFor:c?age:oge}}}function cge(t,e){let n=Object.keys(t).map(i=>({label:e?i.toUpperCase():i,type:t[i]==VE?"type":t[i]==ZE?"keyword":"variable",boost:-1}));return O4(["QuotedIdentifier","SpecialVar","String","LineComment","BlockComment","."],l1(n))}let uge=tge.configure({props:[or.add({Statement:Nn()}),ar.add({Statement(t){return{from:t.firstChild.to,to:t.to}},BlockComment(t){return{from:t.from+2,to:t.to-2}}}),Li({Keyword:z.keyword,Type:z.typeName,Builtin:z.standard(z.name),Bool:z.bool,Null:z.null,Number:z.number,String:z.string,Identifier:z.name,QuotedIdentifier:z.special(z.string),SpecialVar:z.special(z.name),LineComment:z.lineComment,BlockComment:z.blockComment,Operator:z.operator,"Semi Punctuation":z.punctuation,"( )":z.paren,"{ }":z.brace,"[ ]":z.squareBracket})]});class jp{constructor(e,n){this.dialect=e,this.language=n}get extension(){return this.language.extension}static define(e){let n=ege(e,e.keywords,e.types,e.builtin),i=qi.define({parser:uge.configure({tokenizers:[{from:KE,to:HE(n)}]}),languageData:{commentTokens:{line:"--",block:{open:"/*",close:"*/"}},closeBrackets:{brackets:["(","[","{","'",'"',"`"]}}});return new jp(n,i)}}function fge(t,e=!1){return cge(t.dialect.words,e)}function Oge(t,e=!1){return t.language.data.of({autocomplete:fge(t,e)})}function hge(t){return t.schema?lge(t.schema,t.tables,t.defaultTable,t.defaultSchema):()=>null}function dge(t){return t.schema?(t.dialect||JE).language.data.of({autocomplete:hge(t)}):[]}function pge(t={}){let e=t.dialect||JE;return new sr(e.language,[dge(t),Oge(e,!!t.upperCaseKeywords)])}const JE=jp.define({}),mge="accessible algorithm analyze asensitive authors auto_increment autocommit avg avg_row_length binlog btree cache catalog_name chain change changed checkpoint checksum class_origin client_statistics coalesce code collations columns comment committed completion concurrent consistent contains contributors convert database databases day_hour day_microsecond day_minute day_second delay_key_write delayed delimiter des_key_file dev_pop dev_samp deviance directory disable discard distinctrow div dual dumpfile enable enclosed ends engine engines enum errors escaped even event events every explain extended fast field fields flush force found_rows fulltext grants handler hash high_priority hosts hour_microsecond hour_minute hour_second ignore ignore_server_ids import index index_statistics infile innodb insensitive insert_method install invoker iterate keys kill linear lines list load lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modify mutex mysql_errno no_write_to_binlog offline offset one online optimize optionally outfile pack_keys parser partition partitions password phase plugin plugins prev processlist profile profiles purge query quick range read_write rebuild recover regexp relaylog remove rename reorganize repair repeatable replace require resume rlike row_format rtree schedule schema_name schemas second_microsecond security sensitive separator serializable server share show slave slow snapshot soname spatial sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result ssl starting starts std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace terminated triggers truncate uncommitted uninstall unlock upgrade use use_frm user_resources user_statistics utc_date utc_time utc_timestamp variables views warnings xa xor year_month zerofill",gge=FE+"bool blob long longblob longtext medium mediumblob mediumint mediumtext tinyblob tinyint tinytext text bigint int1 int2 int3 int4 int8 float4 float8 varbinary varcharacter precision datetime unsigned signed",vge="charset clear edit ego help nopager notee nowarning pager print prompt quit rehash source status system tee",yge=jp.define({operatorChars:"*+-%<>!=&|^",charSetCasts:!0,doubleQuotedStrings:!0,hashComments:!0,spaceAfterDashes:!0,specialVar:"@?",identifierQuotes:"`",keywords:GE+"group_concat "+mge,types:gge,builtin:vge}),$ge=1,bge=2,_ge=263,Qge=3,Sge=264,Hx=265,wge=266,xge=4,Pge=5,kge=6,Cge=7,Kx=8,Tge=9,Rge=10,Age=11,Ege=12,Xge=13,Wge=14,zge=15,Ige=16,qge=17,Uge=18,Dge=19,Lge=20,Bge=21,Mge=22,Yge=23,Zge=24,Vge=25,jge=26,Nge=27,Fge=28,Gge=29,Hge=30,Kge=31,Jge=32,eve=33,tve=34,nve=35,ive=36,rve=37,sve=38,ove=39,ave=40,lve=41,cve=42,uve=43,fve=44,Ove=45,hve=46,dve=47,pve=48,mve=49,gve=50,vve=51,yve=52,$ve=53,bve=54,_ve=55,Qve=56,Sve=57,wve=58,xve=59,Pve=60,kve=61,Im=62,Cve=63,Tve=64,Rve=65,Ave={abstract:xge,and:Pge,array:kge,as:Cge,true:Kx,false:Kx,break:Tge,case:Rge,catch:Age,clone:Ege,const:Xge,continue:Wge,declare:Ige,default:zge,do:qge,echo:Uge,else:Dge,elseif:Lge,enddeclare:Bge,endfor:Mge,endforeach:Yge,endif:Zge,endswitch:Vge,endwhile:jge,enum:Nge,extends:Fge,final:Gge,finally:Hge,fn:Kge,for:Jge,foreach:eve,from:tve,function:nve,global:ive,goto:rve,if:sve,implements:ove,include:ave,include_once:lve,instanceof:cve,insteadof:uve,interface:fve,list:Ove,match:hve,namespace:dve,new:pve,null:mve,or:gve,print:vve,require:yve,require_once:$ve,return:bve,switch:_ve,throw:Qve,trait:Sve,try:wve,unset:xve,use:Pve,var:kve,public:Im,private:Im,protected:Im,while:Cve,xor:Tve,yield:Rve,__proto__:null};function Eve(t){let e=Ave[t.toLowerCase()];return e==null?-1:e}function Jx(t){return t==9||t==10||t==13||t==32}function eX(t){return t>=97&&t<=122||t>=65&&t<=90}function Cu(t){return t==95||t>=128||eX(t)}function qm(t){return t>=48&&t<=55||t>=97&&t<=102||t>=65&&t<=70}const Xve={int:!0,integer:!0,bool:!0,boolean:!0,float:!0,double:!0,real:!0,string:!0,array:!0,object:!0,unset:!0,__proto__:null},Wve=new on(t=>{if(t.next==40){t.advance();let e=0;for(;Jx(t.peek(e));)e++;let n="",i;for(;eX(i=t.peek(e));)n+=String.fromCharCode(i),e++;for(;Jx(t.peek(e));)e++;t.peek(e)==41&&Xve[n.toLowerCase()]&&t.acceptToken($ge)}else if(t.next==60&&t.peek(1)==60&&t.peek(2)==60){for(let i=0;i<3;i++)t.advance();for(;t.next==32||t.next==9;)t.advance();let e=t.next==39;if(e&&t.advance(),!Cu(t.next))return;let n=String.fromCharCode(t.next);for(;t.advance(),!(!Cu(t.next)&&!(t.next>=48&&t.next<=55));)n+=String.fromCharCode(t.next);if(e){if(t.next!=39)return;t.advance()}if(t.next!=10&&t.next!=13)return;for(;;){let i=t.next==10||t.next==13;if(t.advance(),t.next<0)return;if(i){for(;t.next==32||t.next==9;)t.advance();let r=!0;for(let s=0;s{t.next<0&&t.acceptToken(wge)}),Ive=new on((t,e)=>{t.next==63&&e.canShift(Hx)&&t.peek(1)==62&&t.acceptToken(Hx)});function qve(t){let e=t.peek(1);if(e==110||e==114||e==116||e==118||e==101||e==102||e==92||e==36||e==34||e==123)return 2;if(e>=48&&e<=55){let n=2,i;for(;n<5&&(i=t.peek(n))>=48&&i<=55;)n++;return n}if(e==120&&qm(t.peek(2)))return qm(t.peek(3))?4:3;if(e==117&&t.peek(2)==123)for(let n=3;;n++){let i=t.peek(n);if(i==125)return n==2?0:n+1;if(!qm(i))break}return 0}const Uve=new on((t,e)=>{let n=!1;for(;!(t.next==34||t.next<0||t.next==36&&(Cu(t.peek(1))||t.peek(1)==123)||t.next==123&&t.peek(1)==36);n=!0){if(t.next==92){let i=qve(t);if(i){if(n)break;return t.acceptToken(Qge,i)}}else if(!n&&(t.next==91||t.next==45&&t.peek(1)==62&&Cu(t.peek(2))||t.next==63&&t.peek(1)==45&&t.peek(2)==62&&Cu(t.peek(3)))&&e.canShift(Sge))break;t.advance()}n&&t.acceptToken(_ge)}),Dve=Li({"Visibility abstract final static":z.modifier,"for foreach while do if else elseif switch try catch finally return throw break continue default case":z.controlKeyword,"endif endfor endforeach endswitch endwhile declare enddeclare goto match":z.controlKeyword,"and or xor yield unset clone instanceof insteadof":z.operatorKeyword,"function fn class trait implements extends const enum global interface use var":z.definitionKeyword,"include include_once require require_once namespace":z.moduleKeyword,"new from echo print array list as":z.keyword,null:z.null,Boolean:z.bool,VariableName:z.variableName,"NamespaceName/...":z.namespace,"NamedType/...":z.typeName,Name:z.name,"CallExpression/Name":z.function(z.variableName),"LabelStatement/Name":z.labelName,"MemberExpression/Name":z.propertyName,"MemberExpression/VariableName":z.special(z.propertyName),"ScopedExpression/ClassMemberName/Name":z.propertyName,"ScopedExpression/ClassMemberName/VariableName":z.special(z.propertyName),"CallExpression/MemberExpression/Name":z.function(z.propertyName),"CallExpression/ScopedExpression/ClassMemberName/Name":z.function(z.propertyName),"MethodDeclaration/Name":z.function(z.definition(z.variableName)),"FunctionDefinition/Name":z.function(z.definition(z.variableName)),"ClassDeclaration/Name":z.definition(z.className),UpdateOp:z.updateOperator,ArithOp:z.arithmeticOperator,LogicOp:z.logicOperator,BitOp:z.bitwiseOperator,CompareOp:z.compareOperator,ControlOp:z.controlOperator,AssignOp:z.definitionOperator,"$ ConcatOp":z.operator,LineComment:z.lineComment,BlockComment:z.blockComment,Integer:z.integer,Float:z.float,String:z.string,ShellExpression:z.special(z.string),"=> ->":z.punctuation,"( )":z.paren,"#[ [ ]":z.squareBracket,"${ { }":z.brace,"-> ?->":z.derefOperator,", ; :: : \\":z.separator,"PhpOpen PhpClose":z.processingInstruction}),Lve={__proto__:null,static:311,STATIC:311,class:333,CLASS:333},Bve=Ui.deserialize({version:14,states:"$GSQ`OWOOQhQaOOP%oO`OOOOO#t'#H_'#H_O%tO#|O'#DtOOO#u'#Dw'#DwQ&SOWO'#DwO&XO$VOOOOQ#u'#Dx'#DxO&lQaO'#D|O(mQdO'#E}O(tQdO'#EQO*kQaO'#EWO,zQ`O'#ETO-PQ`O'#E^O/nQaO'#E^O/uQ`O'#EfO/zQ`O'#EoO*kQaO'#EoO0VQ`O'#HhO0[Q`O'#E{O0[Q`O'#E{OOQS'#Ic'#IcO0aQ`O'#EvOOQS'#IZ'#IZO2oQdO'#IWO6tQeO'#FUO*kQaO'#FeO*kQaO'#FfO*kQaO'#FgO*kQaO'#FhO*kQaO'#FhO*kQaO'#FkOOQO'#Id'#IdO7RQ`O'#FqOOQO'#Hi'#HiO7ZQ`O'#HOO7uQ`O'#FlO8QQ`O'#H]O8]Q`O'#FvO8eQaO'#FwO*kQaO'#GVO*kQaO'#GYO8}OrO'#G]OOQS'#Iq'#IqOOQS'#Ip'#IpOOQS'#IW'#IWO,zQ`O'#GdO,zQ`O'#GfO,zQ`O'#GkOhQaO'#GmO9UQ`O'#GnO9ZQ`O'#GqO9`Q`O'#GtO9eQeO'#GuO9eQeO'#GvO9eQeO'#GwO9oQ`O'#GxO9tQ`O'#GzO9yQaO'#G{OS,5>SOJ[QdO,5;gOOQO-E;f-E;fOL^Q`O,5;gOLcQpO,5;bO0aQ`O'#EyOLkQtO'#E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8t8u8v8w8x8y8z8{8|8}9O9P9Q9R9S9T9Z9[9]9h9y9}:O:R:Y:Z:_:a:b;c;d=Z=m=n!v>^+z-Q9V9X:d:e:f:g:h:j:k:m:o:p:r:t:v:x:z:|;O;Q;S;U;W;Y;[;^;`;e;g;i;t_0V1]9W:i:l:n:q:s:u:w:y:{:};P;R;T;V;X;Z;];_;a;f;h;u AssignmentExpression ArrayExpression ValueList & VariadicUnpacking ... Pair [ ] ListExpression ValueList Pair Pair SubscriptExpression MemberExpression -> ?-> VariableName DynamicVariable $ ${ CallExpression ArgList NamedArgument SpreadArgument CastExpression UnionType LogicOp OptionalType NamedType QualifiedName \\ NamespaceName ScopedExpression :: ClassMemberName AssignOp UpdateExpression UpdateOp YieldExpression BinaryExpression LogicOp LogicOp LogicOp BitOp BitOp BitOp CompareOp CompareOp BitOp ArithOp ConcatOp ArithOp ArithOp IncludeExpression RequireExpression CloneExpression UnaryExpression ControlOp LogicOp PrintIntrinsic FunctionExpression static ParamList Parameter #[ Attributes Attribute VariadicParameter PropertyParameter UseList ArrowFunction NewExpression class BaseClause ClassInterfaceClause DeclarationList ConstDeclaration VariableDeclarator PropertyDeclaration VariableDeclarator MethodDeclaration UseDeclaration UseList UseInsteadOfClause UseAsClause UpdateExpression ArithOp ShellExpression ThrowExpression Integer Float String MemberExpression SubscriptExpression UnaryExpression ArithOp Interpolation String IfStatement ColonBlock SwitchStatement Block CaseStatement DefaultStatement ColonBlock WhileStatement EmptyStatement DoStatement ForStatement ForSpec SequenceExpression ForeachStatement ForSpec Pair GotoStatement ContinueStatement BreakStatement ReturnStatement TryStatement CatchDeclarator DeclareStatement EchoStatement UnsetStatement ConstDeclaration FunctionDefinition ClassDeclaration InterfaceDeclaration TraitDeclaration EnumDeclaration EnumBody EnumCase NamespaceDefinition NamespaceUseDeclaration UseGroup UseClause UseClause GlobalDeclaration FunctionStaticDeclaration Program",maxTerm:304,nodeProps:[["group",-36,2,8,49,81,83,85,88,93,94,102,106,107,110,111,114,118,123,126,130,132,133,147,148,149,150,153,154,164,165,179,181,182,183,184,185,191,"Expression",-28,74,78,80,82,192,194,199,201,202,205,208,209,210,211,212,214,215,216,217,218,219,220,221,222,225,226,230,231,"Statement",-3,119,121,122,"Type"],["openedBy",69,"phpOpen",76,"{",86,"(",101,"#["],["closedBy",71,"phpClose",77,"}",87,")",158,"]"]],propSources:[Dve],skippedNodes:[0],repeatNodeCount:29,tokenData:"!5h_R!ZOX$tXY%nYZ&}Z]$t]^%n^p$tpq%nqr(]rs)wst*atu/nuv2_vw3`wx4gxy8Oyz8fz{8|{|:W|};_}!O;u!O!P=R!P!QBl!Q!RFr!R![Hn![!]Nz!]!^!!O!^!_!!f!_!`!%R!`!a!&V!a!b!'Z!b!c!*T!c!d!*k!d!e!+q!e!}!*k!}#O!-k#O#P!.R#P#Q!.i#Q#R!/P#R#S!*k#S#T!/j#T#U!*k#U#V!+q#V#o!*k#o#p!2y#p#q!3a#q#r!4j#r#s!5Q#s$f$t$f$g%n$g&j!*k&j$I_$t$I_$I`%n$I`$KW$t$KW$KX%n$KX?HT$t?HT?HU%n?HU~$tP$yT&wPOY$tYZ%YZ!^$t!^!_%_!_~$tP%_O&wPP%bSOY$tYZ%YZ!a$t!b~$tV%ub&wP&vUOX$tXY%nYZ&}Z]$t]^%n^p$tpq%nq!^$t!^!_%_!_$f$t$f$g%n$g$I_$t$I_$I`%n$I`$KW$t$KW$KX%n$KX?HT$t?HT?HU%n?HU~$tV'UW&wP&vUXY'nYZ'n]^'npq'n$f$g'n$I_$I`'n$KW$KX'n?HT?HU'nU'sW&vUXY'nYZ'n]^'npq'n$f$g'n$I_$I`'n$KW$KX'n?HT?HU'nR(dU$^Q&wPOY$tYZ%YZ!^$t!^!_%_!_!`(v!`~$tR(}U$QQ&wPOY$tYZ%YZ!^$t!^!_%_!_!`)a!`~$tR)hT$QQ&wPOY$tYZ%YZ!^$t!^!_%_!_~$tV*QT'fS&wP'gQOY$tYZ%YZ!^$t!^!_%_!_~$tV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S#T!1Y#T~!0pQ!0sTO#O!0p#O#P!1S#P#S!0p#S#T!1Y#T~!0pQ!1VPO~!0pQ!1_O${QR!1bXOY!/jYZ!0[Z!a!/j!a!b!0p!b#O!/j#O#P!1}#P#S!/j#S#T!2c#T~!/jR!2ST&wPOY!/jYZ!0[Z!^!/j!^!_!1_!_~!/jR!2jT${Q&wPOY$tYZ%YZ!^$t!^!_%_!_~$tV!3QT!oU&wPOY$tYZ%YZ!^$t!^!_%_!_~$tV!3jW#}Q#lS&wPOY$tYZ%YZ!^$t!^!_%_!_!`2x!`#p$t#p#q!4S#q~$tR!4ZT#{Q&wPOY$tYZ%YZ!^$t!^!_%_!_~$tR!4qT!nQ&wPOY$tYZ%YZ!^$t!^!_%_!_~$tR!5XT$^Q&wPOY$tYZ%YZ!^$t!^!_%_!_~$t",tokenizers:[Wve,Uve,Ive,0,1,2,3,zve],topRules:{Template:[0,72],Program:[1,232]},dynamicPrecedences:{"284":1},specialized:[{term:81,get:(t,e)=>Eve(t)<<1},{term:81,get:t=>Lve[t]||-1}],tokenPrec:29354}),Mve=qi.define({parser:Bve.configure({props:[or.add({IfStatement:Nn({except:/^\s*({|else\b|elseif\b|endif\b)/}),TryStatement:Nn({except:/^\s*({|catch\b|finally\b)/}),SwitchBody:t=>{let e=t.textAfter,n=/^\s*\}/.test(e),i=/^\s*(case|default)\b/.test(e);return t.baseIndent+(n?0:i?1:2)*t.unit},ColonBlock:t=>t.baseIndent+t.unit,"Block EnumBody DeclarationList":Sa({closing:"}"}),ArrowFunction:t=>t.baseIndent+t.unit,"String BlockComment":()=>-1,Statement:Nn({except:/^({|end(for|foreach|switch|while)\b)/})}),ar.add({"Block EnumBody DeclarationList SwitchBody ArrayExpression ValueList":Va,ColonBlock(t){return{from:t.from+1,to:t.to}},BlockComment(t){return{from:t.from+2,to:t.to-2}}})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"},line:"//"},indentOnInput:/^\s*(?:case |default:|end(?:if|for(?:each)?|switch|while)|else(?:if)?|\{|\})$/,wordChars:"$"}});function Yve(t={}){let e=[],n;if(t.baseLanguage!==null)if(t.baseLanguage)n=t.baseLanguage;else{let i=y1({matchClosingTags:!1});e.push(i.support),n=i.language}return new sr(Mve.configure({wrap:n&&j$(i=>i.type.isTop?{parser:n.parser,overlay:r=>r.name=="Text"}:null),top:t.plain?"Program":"Template"}),e)}const Zve=1,tX=162,nX=163,Vve=164,jve=165,Nve=166,Fve=167,Gve=22,Hve=23,Kve=47,Jve=48,eye=53,tye=54,nye=55,iye=57,rye=58,sye=59,oye=60,aye=61,lye=63,cye=203,uye=71,fye=228,Oye=121,uf=10,ff=13,k1=32,Np=9,C1=35,hye=40,dye=46,pye=[Hve,Kve,Jve,fye,lye,Oye,tye,nye,cye,oye,aye,rye,sye,uye],mye=new on((t,e)=>{if(t.next<0)t.acceptToken(Fve);else if(!(t.next!=uf&&t.next!=ff))if(e.context.depth<0)t.acceptToken(jve,1);else{t.advance();let n=0;for(;t.next==k1||t.next==Np;)t.advance(),n++;let i=t.next==uf||t.next==ff||t.next==C1;t.acceptToken(i?Nve:Vve,-n)}},{contextual:!0,fallback:!0}),gye=new on((t,e)=>{let n=e.context.depth;if(n<0)return;let i=t.peek(-1);if((i==uf||i==ff)&&e.context.depth>=0){let r=0,s=0;for(;;){if(t.next==k1)r++;else if(t.next==Np)r+=8-r%8;else break;t.advance(),s++}r!=n&&t.next!=uf&&t.next!=ff&&t.next!=C1&&(r-1?t.parent:t},shift(t,e,n,i){return e==tX?new fy(t,yye(i.read(i.pos,n.pos))):e==nX?t.parent:e==Gve||e==eye||e==iye?new fy(t,-1):t},hash(t){return t.hash}}),bye=new on(t=>{for(let e=0;e<5;e++){if(t.next!="print".charCodeAt(e))return;t.advance()}if(!/\w/.test(String.fromCharCode(t.next)))for(let e=0;;e++){let n=t.peek(e);if(!(n==k1||n==Np)){n!=hye&&n!=dye&&n!=uf&&n!=ff&&n!=C1&&t.acceptToken(Zve);return}}}),_ye=Li({'async "*" "**" FormatConversion FormatSpec':z.modifier,"for while if elif else try except finally return raise break continue with pass assert await yield":z.controlKeyword,"in not and or is del":z.operatorKeyword,"from def class global nonlocal lambda":z.definitionKeyword,import:z.moduleKeyword,"with as print":z.keyword,Boolean:z.bool,None:z.null,VariableName:z.variableName,"CallExpression/VariableName":z.function(z.variableName),"FunctionDefinition/VariableName":z.function(z.definition(z.variableName)),"ClassDefinition/VariableName":z.definition(z.className),PropertyName:z.propertyName,"CallExpression/MemberExpression/PropertyName":z.function(z.propertyName),Comment:z.lineComment,Number:z.number,String:z.string,FormatString:z.special(z.string),UpdateOp:z.updateOperator,ArithOp:z.arithmeticOperator,BitOp:z.bitwiseOperator,CompareOp:z.compareOperator,AssignOp:z.definitionOperator,Ellipsis:z.punctuation,At:z.meta,"( )":z.paren,"[ ]":z.squareBracket,"{ }":z.brace,".":z.derefOperator,", ;":z.separator}),Qye={__proto__:null,await:40,or:50,and:52,in:56,not:58,is:60,if:66,else:68,lambda:72,yield:90,from:92,async:98,for:100,None:152,True:154,False:154,del:168,pass:172,break:176,continue:180,return:184,raise:192,import:196,as:198,global:202,nonlocal:204,assert:208,elif:218,while:222,try:228,except:230,finally:232,with:236,def:240,class:250},Sye=Ui.deserialize({version:14,states:"!?pO`Q$IXOOO%cQ$I[O'#GaOOQ$IS'#Cm'#CmOOQ$IS'#Cn'#CnO'RQ$IWO'#ClO(tQ$I[O'#G`OOQ$IS'#Ga'#GaOOQ$IS'#DS'#DSOOQ$IS'#G`'#G`O)bQ$IWO'#CsO)rQ$IWO'#DdO*SQ$IWO'#DhOOQ$IS'#Ds'#DsO*gO`O'#DsO*oOpO'#DsO*wO!bO'#DtO+SO#tO'#DtO+_O&jO'#DtO+jO,UO'#DtO-lQ$I[O'#GQOOQ$IS'#GQ'#GQO'RQ$IWO'#GPO/OQ$I[O'#GPOOQ$IS'#E]'#E]O/gQ$IWO'#E^OOQ$IS'#GO'#GOO/qQ$IWO'#F}OOQ$IV'#F}'#F}O/|Q$IWO'#F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X#r~IqGk&=]Z%q7[%kW%tp%y#tOrIqrs)}swIqwx&>Ox#OIq#O#PJs#P#oIq#o#p! T#p#qIq#q#rKX#r~IqFT&>]X%q7[%kW%v,X%tp%y#tOr!!urs?ms#O!!u#O#P!#m#P#o!!u#o#pNc#p#q!!u#q#rMm#r~!!uMg&?_c%q7[%hS%kW%e&j%n`%tp%w!b%y#t%Q,XOr$}rs&9Ysw$}wx&x!i!t&+n!t!u&5j!u!}&+n!}#O$}#O#P!$R#P#R$}#R#S&+n#S#T$}#T#U&+n#U#V&5j#V#Y&+n#Y#Z&>x#Z#o&+n#o#p!%i#p#q$}#q#r!$g#r$g$}$g~&+nG{&CXZ!V,X%q7[%hS%kW%n`%tp%w!b%y#tOr$}rs&Rsw$}wxHsx#O$}#O#P!$R#P#o$}#o#p!%i#p#q$}#q#r!$g#r~$}Qye[t]||-1}],tokenPrec:6584});function eP(t,e){let n=t.lineIndent(e.from),i=t.lineAt(t.pos,-1),r=i.from+i.text.length;return!/\S/.test(i.text)&&t.node.ton?null:n+t.unit}const wye=qi.define({parser:Sye.configure({props:[or.add({Body:t=>{var e;return(e=eP(t,t.node))!==null&&e!==void 0?e:t.continue()},IfStatement:t=>/^\s*(else:|elif )/.test(t.textAfter)?t.baseIndent:t.continue(),TryStatement:t=>/^\s*(except |finally:)/.test(t.textAfter)?t.baseIndent:t.continue(),"TupleExpression ComprehensionExpression ParamList ArgList ParenthesizedExpression":Sa({closing:")"}),"DictionaryExpression DictionaryComprehensionExpression SetExpression SetComprehensionExpression":Sa({closing:"}"}),"ArrayExpression ArrayComprehensionExpression":Sa({closing:"]"}),Script:t=>{if(t.pos+/\s*/.exec(t.textAfter)[0].length>=t.node.to){let e=null;for(let n=t.node,i=n.to;n=n.lastChild,!(!n||n.to!=i);)n.type.name=="Body"&&(e=n);if(e){let n=eP(t,e);if(n!=null)return n}}return t.continue()}}),ar.add({"ArrayExpression DictionaryExpression SetExpression TupleExpression":Va,Body:(t,e)=>({from:t.from+1,to:t.to-(t.to==e.doc.length?0:1)})})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"'''",'"""']},commentTokens:{line:"#"},indentOnInput:/^\s*([\}\]\)]|else:|elif |except |finally:)$/}});function xye(){return new sr(wye)}const Oy=1,Pye=2,kye=3,Cye=4,Tye=5,Rye=35,Aye=36,Eye=37,Xye=11,Wye=13;function zye(t){return t==45||t==46||t==58||t>=65&&t<=90||t==95||t>=97&&t<=122||t>=161}function Iye(t){return t==9||t==10||t==13||t==32}let tP=null,nP=null,iP=0;function hy(t,e){let n=t.pos+e;if(nP==t&&iP==n)return tP;for(;Iye(t.peek(e));)e++;let i="";for(;;){let r=t.peek(e);if(!zye(r))break;i+=String.fromCharCode(r),e++}return nP=t,iP=n,tP=i||null}function rP(t,e){this.name=t,this.parent=e,this.hash=e?e.hash:0;for(let n=0;n{if(t.next==60){if(t.advance(),t.next==47){t.advance();let n=hy(t,0);if(!n)return t.acceptToken(Tye);if(e.context&&n==e.context.name)return t.acceptToken(Pye);for(let i=e.context;i;i=i.parent)if(i.name==n)return t.acceptToken(kye,-2);t.acceptToken(Cye)}else if(t.next!=33&&t.next!=63)return t.acceptToken(Oy)}},{contextual:!0});function T1(t,e){return new on(n=>{for(let i=0,r=0;;r++){if(n.next<0){r&&n.acceptToken(t);break}if(n.next==e.charCodeAt(i)){if(i++,i==e.length){r>e.length&&n.acceptToken(t,1-e.length);break}}else i=n.next==e.charCodeAt(0)?1:0;n.advance()}})}const Dye=T1(Rye,"-->"),Lye=T1(Aye,"?>"),Bye=T1(Eye,"]]>"),Mye=Li({Text:z.content,"StartTag StartCloseTag EndTag SelfCloseEndTag":z.angleBracket,TagName:z.tagName,"MismatchedCloseTag/Tagname":[z.tagName,z.invalid],AttributeName:z.attributeName,AttributeValue:z.attributeValue,Is:z.definitionOperator,"EntityReference CharacterReference":z.character,Comment:z.blockComment,ProcessingInst:z.processingInstruction,DoctypeDecl:z.documentMeta,Cdata:z.special(z.string)}),Yye=Ui.deserial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{%d!{!|3l!|~%dX3qT{WOr%dsv%dw!r%d!r!s4Q!s~%dX4VT{WOr%dsv%dw!g%d!g!h4f!h~%dX4kV{WOr4frs5Qsv4fvw5Qw!`4f!`!a5c!a~4fP5TRO!`5Q!`!a5^!a~5QP5cOiPX5jRiP{WOr%dsv%dw~%dX5xV{WOr%dsv%dw!e%d!e!f6_!f#V%d#V#W8w#W~%dX6dT{WOr%dsv%dw!f%d!f!g6s!g~%dX6xT{WOr%dsv%dw!c%d!c!d7X!d~%dX7^T{WOr%dsv%dw!v%d!v!w7m!w~%dX7rT{WOr%dsv%dw!c%d!c!d8R!d~%dX8WT{WOr%dsv%dw!}%d!}#O8g#O~%dX8nR{WxPOr%dsv%dw~%dX8|T{WOr%dsv%dw#W%d#W#X9]#X~%dX9bT{WOr%dsv%dw#T%d#T#U9q#U~%dX9vT{WOr%dsv%dw#h%d#h#i:V#i~%dX:[T{WOr%dsv%dw#T%d#T#U8R#U~%dX:pT{WOr%dsv%dw#c%d#c#d;P#d~%dX;UT{WOr%dsv%dw#V%d#V#W;e#W~%dX;jT{WOr%dsv%dw#h%d#h#i;y#i~%dX_U[UVP{WOr$krs%Usv$kw!^$k!^!_%d!_~$kZ>xWVP{WOr$krs%Usv$kw!^$k!^!_%d!_!`$k!`!a?b!a~$kZ?kU!OQVP{WOr$krs%Usv$kw!^$k!^!_%d!_~$kZ@UWVP{WOr$krs%Usv$kw!^$k!^!_%d!_#P$k#P#Q@n#Q~$kZ@uWVP{WOr$krs%Usv$kw!^$k!^!_%d!_!`$k!`!aA_!a~$kZAhUwQVP{WOr$krs%Usv$kw!^$k!^!_%d!_~$k",tokenizers:[Uye,Dye,Lye,Bye,0,1,2,3],topRules:{Document:[0,6]},tokenPrec:0});function Xh(t,e){let n=e&&e.getChild("TagName");return n?t.sliceString(n.from,n.to):""}function Um(t,e){let n=e&&e.firstChild;return!n||n.name!="OpenTag"?"":Xh(t,n)}function Zye(t,e,n){let i=e&&e.getChildren("Attribute").find(s=>s.from<=n&&s.to>=n),r=i&&i.getChild("AttributeName");return r?t.sliceString(r.from,r.to):""}function Dm(t){for(let e=t&&t.parent;e;e=e.parent)if(e.name=="Element")return e;return null}function Vye(t,e){var n;let i=jt(t).resolveInner(e,-1),r=null;for(let s=i;!r&&s.parent;s=s.parent)(s.name=="OpenTag"||s.name=="CloseTag"||s.name=="SelfClosingTag"||s.name=="MismatchedCloseTag")&&(r=s);if(r&&(r.to>e||r.lastChild.type.isError)){let s=r.parent;if(i.name=="TagName")return r.name=="CloseTag"||r.name=="MismatchedCloseTag"?{type:"closeTag",from:i.from,context:s}:{type:"openTag",from:i.from,context:Dm(s)};if(i.name=="AttributeName")return{type:"attrName",from:i.from,context:r};if(i.name=="AttributeValue")return{type:"attrValue",from:i.from,context:r};let o=i==r||i.name=="Attribute"?i.childBefore(e):i;return(o==null?void 0:o.name)=="StartTag"?{type:"openTag",from:e,context:Dm(s)}:(o==null?void 0:o.name)=="StartCloseTag"&&o.to<=e?{type:"closeTag",from:e,context:s}:(o==null?void 0:o.name)=="Is"?{type:"attrValue",from:e,context:r}:o?{type:"attrName",from:e,context:r}:null}else if(i.name=="StartCloseTag")return{type:"closeTag",from:e,context:i.parent};for(;i.parent&&i.to==e&&!(!((n=i.lastChild)===null||n===void 0)&&n.type.isError);)i=i.parent;return i.name=="Element"||i.name=="Text"||i.name=="Document"?{type:"tag",from:e,context:i.name=="Element"?i:Dm(i)}:null}class jye{constructor(e,n,i){this.attrs=n,this.attrValues=i,this.children=[],this.name=e.name,this.completion=Object.assign(Object.assign({type:"type"},e.completion||{}),{label:this.name}),this.openCompletion=Object.assign(Object.assign({},this.completion),{label:"<"+this.name}),this.closeCompletion=Object.assign(Object.assign({},this.completion),{label:"",boost:2}),this.closeNameCompletion=Object.assign(Object.assign({},this.completion),{label:this.name+">"}),this.text=e.textContent?e.textContent.map(r=>({label:r,type:"text"})):[]}}const Lm=/^[:\-\.\w\u00b7-\uffff]*$/;function sP(t){return Object.assign(Object.assign({type:"property"},t.completion||{}),{label:t.name})}function oP(t){return typeof t=="string"?{label:`"${t}"`,type:"constant"}:/^"/.test(t.label)?t:Object.assign(Object.assign({},t),{label:`"${t.label}"`})}function Nye(t,e){let n=[],i=[],r=Object.create(null);for(let l of e){let c=sP(l);n.push(c),l.global&&i.push(c),l.values&&(r[l.name]=l.values.map(oP))}let s=[],o=[],a=Object.create(null);for(let l of t){let c=i,u=r;l.attributes&&(c=c.concat(l.attributes.map(f=>typeof f=="string"?n.find(h=>h.label==f)||{label:f,type:"property"}:(f.values&&(u==r&&(u=Object.create(u)),u[f.name]=f.values.map(oP)),sP(f)))));let O=new jye(l,c,u);a[O.name]=O,s.push(O),l.top&&o.push(O)}o.length||(o=s);for(let l=0;l{var c;let{doc:u}=l.state,O=Vye(l.state,l.pos);if(!O||O.type=="tag"&&!l.explicit)return null;let{type:f,from:h,context:p}=O;if(f=="openTag"){let y=o,$=Um(u,p);if($){let m=a[$];y=(m==null?void 0:m.children)||s}return{from:h,options:y.map(m=>m.completion),validFor:Lm}}else if(f=="closeTag"){let y=Um(u,p);return y?{from:h,to:l.pos+(u.sliceString(l.pos,l.pos+1)==">"?1:0),options:[((c=a[y])===null||c===void 0?void 0:c.closeNameCompletion)||{label:y+">",type:"type"}],validFor:Lm}:null}else if(f=="attrName"){let y=a[Xh(u,p)];return{from:h,options:(y==null?void 0:y.attrs)||i,validFor:Lm}}else if(f=="attrValue"){let y=Zye(u,p,h);if(!y)return null;let $=a[Xh(u,p)],m=(($==null?void 0:$.attrValues)||r)[y];return!m||!m.length?null:{from:h,to:l.pos+(u.sliceString(l.pos,l.pos+1)=='"'?1:0),options:m,validFor:/^"[^"]*"?$/}}else if(f=="tag"){let y=Um(u,p),$=a[y],m=[],d=p&&p.lastChild;y&&(!d||d.name!="CloseTag"||Xh(u,d)!=y)&&m.push($?$.closeCompletion:{label:"",type:"type",boost:2});let g=m.concat((($==null?void 0:$.children)||(p?s:o)).map(v=>v.openCompletion));if(p&&($==null?void 0:$.text.length)){let v=p.firstChild;v.to>l.pos-20&&!/\S/.test(l.state.sliceDoc(v.to,l.pos))&&(g=g.concat($.text))}return{from:h,options:g,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}else return null}}const aP=qi.define({parser:Yye.configure({props:[or.add({Element(t){let e=/^\s*<\//.test(t.textAfter);return t.lineIndent(t.node.from)+(e?0:t.unit)},"OpenTag CloseTag SelfClosingTag"(t){return t.column(t.node.from)+t.unit}}),ar.add({Element(t){let e=t.firstChild,n=t.lastChild;return!e||e.name!="OpenTag"?null:{from:e.to,to:n.name=="CloseTag"?n.from:t.to}}})]}),languageData:{commentTokens:{block:{open:""}},indentOnInput:/^\s*<\/$/}});function Fye(t={}){return new sr(aP,aP.data.of({autocomplete:Nye(t.elements||[],t.attributes||[])}))}var iX={javascript:ru,typescript:()=>ru({typescript:!0}),jsx:()=>ru({jsx:!0}),tsx:()=>ru({typescript:!0,jsx:!0}),html:y1,css:Y4,json:eme,swift:()=>Vi.define(Q0e),yaml:()=>Vi.define(L0e),vb:()=>Vi.define(q0e),dockerFile:()=>Vi.define(ape),shell:()=>Vi.define(i0e),r:()=>Vi.define(Ype),ruby:()=>Vi.define(Jpe),go:()=>Vi.define(Z0e),julia:()=>Vi.define(Ape),nginx:()=>Vi.define(Ipe),cpp:jde,java:G0e,xml:Fye,php:Yve,sql:()=>pge({dialect:yge}),markdown:Eme,python:xye};const Gye=zne(Object.keys(iX)),Hye={name:"CodeEdit",components:{Codemirror:hOe},props:{show:{required:!0,type:Boolean},originalCode:{required:!0,type:String},filename:{required:!0,type:String}},emits:["update:show","save","closed"],data(){return{languageKey:Gye,curLang:null,status:"\u51C6\u5907\u4E2D",loading:!1,isTips:!1,code:"hello world"}},computed:{extensions(){let t=[];return this.curLang&&t.push(iX[this.curLang]()),t.push(SOe),t},visible:{get(){return this.show},set(t){this.$emit("update:show",t)}}},watch:{originalCode(t){this.code=t},filename(t){try{let e=String(t).toLowerCase();switch(Dne(e)){case"js":return this.curLang="javascript";case"ts":return this.curLang="typescript";case"jsx":return this.curLang="jsx";case"tsx":return this.curLang="tsx";case"html":return this.curLang="html";case"css":return this.curLang="css";case"json":return this.curLang="json";case"swift":return this.curLang="swift";case"yaml":return this.curLang="yaml";case"yml":return this.curLang="yaml";case"vb":return this.curLang="vb";case"dockerfile":return this.curLang="dockerFile";case"sh":return this.curLang="shell";case"r":return this.curLang="r";case"ruby":return this.curLang="ruby";case"go":return this.curLang="go";case"julia":return this.curLang="julia";case"conf":return this.curLang="nginx";case"cpp":return this.curLang="cpp";case"java":return this.curLang="java";case"xml":return this.curLang="xml";case"php":return this.curLang="php";case"sql":return this.curLang="sql";case"md":return this.curLang="markdown";case"py":return this.curLang="python";default:return console.log("\u4E0D\u652F\u6301\u7684\u6587\u4EF6\u7C7B\u578B: ",t),console.log("\u9ED8\u8BA4: ","shell"),this.curLang="shell"}}catch(e){console.log("\u672A\u77E5\u6587\u4EF6\u7C7B\u578B",t,e)}}},created(){},methods:{handleSave(){this.isTips?this.$messageBox.confirm("\u6587\u4EF6\u5DF2\u53D8\u66F4, \u786E\u8BA4\u4FDD\u5B58?","Warning",{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",type:"warning"}).then(async()=>{this.visible=!1,this.$emit("save",this.code)}):this.visible=!1},handleClosed(){this.isTips=!1,this.$emit("closed")},handleClose(){this.isTips?this.$messageBox.confirm("\u6587\u4EF6\u5DF2\u53D8\u66F4, \u786E\u8BA4\u4E22\u5F03?","Warning",{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",type:"warning"}).then(async()=>{this.visible=!1}):this.visible=!1},handleChange(){this.isTips=!0}}},Kye={class:"title"},Jye=Xe(" FileName - "),e$e=Xe("\u4FDD\u5B58"),t$e=Xe("\u5173\u95ED");function n$e(t,e,n,i,r,s){const o=Pe("codemirror"),a=$$,l=y$,c=Ln,u=mc;return L(),be(u,{modelValue:s.visible,"onUpdate:modelValue":e[5]||(e[5]=O=>s.visible=O),width:"80%",top:"20px","close-on-click-modal":!1,"close-on-press-escape":!1,"show-close":!1,center:"","custom-class":"container",onClosed:s.handleClosed},{title:Z(()=>[D("div",Kye,[Jye,D("span",null,de(r.status),1)])]),footer:Z(()=>[D("footer",null,[D("div",null,[B(l,{modelValue:r.curLang,"onUpdate:modelValue":e[4]||(e[4]=O=>r.curLang=O),placeholder:"Select language",size:"small"},{default:Z(()=>[(L(!0),ie(Le,null,Rt(r.languageKey,O=>(L(),be(a,{key:O,label:O,value:O},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),D("div",null,[B(c,{type:"primary",loading:r.loading,onClick:s.handleSave},{default:Z(()=>[e$e]),_:1},8,["loading","onClick"]),B(c,{type:"info",onClick:s.handleClose},{default:Z(()=>[t$e]),_:1},8,["onClick"])])])]),default:Z(()=>[B(o,{modelValue:r.code,"onUpdate:modelValue":e[0]||(e[0]=O=>r.code=O),placeholder:"Code goes here...",style:{height:"79vh",minHeight:"500px"},autofocus:!0,"indent-with-tab":!0,"tab-size":4,extensions:s.extensions,onReady:e[1]||(e[1]=O=>r.status="\u51C6\u5907\u4E2D"),onChange:s.handleChange,onFocus:e[2]||(e[2]=O=>r.status="\u7F16\u8F91\u4E2D"),onBlur:e[3]||(e[3]=O=>r.status="\u672A\u805A\u7126")},null,8,["modelValue","extensions","onChange"])]),_:1},8,["modelValue","onClosed"])}var rX=fn(Hye,[["render",n$e]]);const i$e={name:"Tooltip",props:{showAfter:{required:!1,type:Number,default:1e3},content:{required:!0,type:String}},data(){return{}}};function r$e(t,e,n,i,r,s){const o=Rs;return L(),be(o,{effect:"dark","show-after":n.showAfter,"hide-after":0,content:n.content,placement:"bottom"},{default:Z(()=>[We(t.$slots,"default")]),_:3},8,["show-after","content"])}var sX=fn(i$e,[["render",r$e]]),lP="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAMAAABrrFhUAAAAYFBMVEUAAAAAAAAAAAD5y30AAAD/2YT+3Yr734n+4Y3+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ABkzgwQcgaUAMeUGeCJGWDoX1pRA4RsQSVAyBZUAhwjADPAR26ANAJEgAgQASJABIgAESACRIB/HuCFGwC4AYAbALgBgBsAuAGAGwC4AYAboBVgHxygFWATHAC4AYAbALgBgBsAuAGAGwC4AYAb4BLgGw/AW4CvTADADQDcAMANANwAwA0A3ADADQDcAMANANwAEBjgTvHN7SEBFF+cHBZA8c3JYQEUBIEBugSBAboEoQE6BJvgf8B1SxAeoEUQHuCWgAPghoAD4JqAB+CKgAfgQsAF8EbABXAm4AP4TcAH8ErACfCLgBPgRMAL0BDwAjQEzACxYsWKFSsWWf0EuLjGMQSi73MAAAAASUVORK5CYII=",l$e="/assets/refresh.edd046ad.png",c$e="/assets/delete.41fc4989.png",u$e="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAMAAABrrFhUAAAAwFBMVEUAAAAAAAAAAAD/z4AAAAD/2Yb/3Yv/4Y3+4Y4TYqX/4o783oj/6qY3meg4mujz0m/vzGn11HL103Dy0G3413X42Hbwzmv31XM9nOjxz2w1mej/6aL/553/5Zb623r/45D73X3/5JP94IEyl+j/5ptCnuj/5pj/6KA7m+hAnej+4YT+4Yjuymf52Xj/4YztyWX73n/qx2T933/52Xn/7rj/66v/7LAiaqcwcKb/7bQdaagVZqoxkNwsjdwobKZtkJJR5zpEAAAADHRSTlMABAsQEyBAc56hz/TkXBHBAAANEklEQVR42u3diZ7aOBIHYDrHdJJmBzDXenFDw7Kw22BuyDKTSd7/rUY+ZOsoHYAPCVwvkF99+atsycZdq1VVVVVVVVVVVVVVVVVVVVVVVVVVycpzl0E1w+oR5YbVjqoRl+O0cPVRdYLq4tr7+6iGqN7i2sQ1QfWOa5HWy5eP5QIc604KQCIIABwJABYYEgIgACmw+FauwPF4fKEAmgoATNDnBPZYYEgIYICdKAKLxXPJCTgex1QGlAAOE4EOtASGb9oCLyUD1OvHeY8g0AVoxQDdRMD3rwJYlA6AQuBwk1ACwEQgEdj71BIYUgDhFIAFygeoH08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k8A/MwCG/ieBSyMAjn6oQBCApR8pEALg6QcKBACY+nEC0wBc/TCBSQC2fpTAFABfP0hgAoCxHyMwDoDv/5E0gMAoAGs/QmAMgLcfIDACwNwvL3AOwN0vLnAGwN4vLXAKwN8vLHAC4KFfVuAYwEe/qMAcALp+SYEZAIT9ggLvANpxAMp+OYE3gHYcQLD/u+iEBF4B2nEA2n4pgQ8AiPuFBMIA1P0yAgNAOw5A3i8isBvun1EA+n4Jgd1w/4wBOOgXENgN988IgIv+5QK74f4ZAHp//YsFdu04gJv+pQITAI76HwX2l9IArvqXCYwCOOtfJPAC8NTe9U77lwiMADjsXyBwDuCyP13gDMBpf7LAKYBg/x/lpQkcALoDgOD/n4/bf7T5dftZSxDYHgHg/n8+3mZYDMD120S/G50HgOn3AwDqZwNopgBQ/WQAzRQArD8RoMMANFMAuP40gE4ZANifBNApAyD7UwA6DEAzBQDtTwDoMADNFAC2Px6gwwA0UwDg/miADgPQTAGg+2MBOgxAMwUA79/sf8/e/q1fGKCZAsD3xwF0ygAK/VEAnTKARj8zgEo/MYBOPy+AUj8tgFY/K4BaPymAXn8MwL0agGI/JYBmPyOAaj8hgG6/OwDpfm8A4v1sAFUYQL5/s/87ewoAVRgA0L+5ZwKowgCIfk8AkH5HAJh+IoAqDADq5wGowgCofhqAKgwA62cBqMIAuH4SgCoMAOznAFC+f7wBQPsdAGD7+QHA/fQA6P5EgO2VEgC8f3P/a/beA6x1APD9aQDbi5UKgEJ/CsBWuH+1tVwMwOGVq7Vs/2ptuRiA4Y1VXosBWOW4AlAACkABKAAFoAAUgALwaQEitiorK5u3/7/ixEmMxy8HAAAAAElFTkSuQmCC";const{io:O$e}=_a,h$e={name:"Sftp",components:{CodeEdit:rX},props:{token:{required:!0,type:String},host:{required:!0,type:String}},emits:["resize"],data(){return{visible:!1,originalCode:"",filename:"",filterKey:"",socket:null,icons:{"-":o$e,l:s$e,d:lP,c:lP,p:Bm,s:Bm,b:Bm},paths:["/"],rootLs:[],childDir:[],childDirLoading:!1,curTarget:null,showFileProgress:!1,upFileProgress:0}},computed:{curPath(){return this.paths.join("/").replace(/\/{2,}/g,"/")},fileList(){return this.childDir.filter(({name:t})=>t.includes(this.filterKey))}},mounted(){this.connectSftp(),this.adjustHeight()},beforeUnmount(){this.socket&&this.socket.close()},methods:{connectSftp(){let{host:t,token:e}=this;this.socket=O$e(this.$serviceURI,{path:"/sftp",forceNew:!1,reconnectionAttempts:1}),this.socket.on("connect",()=>{console.log("/sftp socket\u5DF2\u8FDE\u63A5\uFF1A",this.socket.id),this.listenSftp(),this.socket.emit("create",{host:t,token:e}),this.socket.on("root_ls",n=>{let i=JQ(n).filter(r=>Js(r.type));i.unshift({name:"/",type:"d"}),this.rootLs=i}),this.socket.on("create_fail",n=>{this.$notification({title:"Sftp\u8FDE\u63A5\u5931\u8D25",message:n,type:"error"})}),this.socket.on("token_verify_fail",()=>{this.$notification({title:"Error",message:"token\u6821\u9A8C\u5931\u8D25\uFF0C\u9700\u91CD\u65B0\u767B\u5F55",type:"error"})})}),this.socket.on("disconnect",()=>{console.warn("sftp websocket \u8FDE\u63A5\u65AD\u5F00")}),this.socket.on("connect_error",n=>{console.error("sftp websocket \u8FDE\u63A5\u9519\u8BEF\uFF1A",n),this.$notification({title:"sftp\u8FDE\u63A5\u5931\u8D25",message:"\u8BF7\u68C0\u67E5socket\u670D\u52A1\u662F\u5426\u6B63\u5E38",type:"error"})})},listenSftp(){this.socket.on("dir_ls",t=>{console.log("dir_ls: ",t),this.childDir=JQ(t),this.childDirLoading=!1}),this.socket.on("not_exists_dir",t=>{this.$message.error(t),this.childDirLoading=!1}),this.socket.on("rm_success",t=>{this.$message.success(t),this.childDirLoading=!1,this.handleRefresh()}),this.socket.on("down_file_success",t=>{const{buffer:e,name:n}=t;Une({buffer:e,name:n}),this.$message.success("success"),this.resetFileStatusFlag()}),this.socket.on("preview_file_success",t=>{const{buffer:e,name:n}=t;console.log("preview_file: ",n,e),this.originalCode=new TextDecoder().decode(e),this.filename=n,this.visible=!0}),this.socket.on("up_file_success",t=>{console.log("up_file_success:",t),this.$message.success("success"),this.handleRefresh(),this.resetFileStatusFlag()}),this.socket.on("sftp_error",t=>{console.log("\u64CD\u4F5C\u5931\u8D25:",t),this.$message.error(t),this.resetFileStatusFlag()}),this.socket.on("up_file_progress",t=>{let e=Math.ceil(50+t/2);this.upFileProgress=e>100?100:e}),this.socket.on("down_file_progress",t=>{this.upFileProgress=t})},openRootChild(t){var i;const{name:e,type:n}=t;Js(n)?(this.childDirLoading=!0,this.paths.length=2,this.paths[1]=e,(i=this.$refs["child-dir"])==null||i.scrollTo(0,0),this.openDir(),this.filterKey=""):(console.log("\u6682\u4E0D\u652F\u6301\u6253\u5F00\u6587\u4EF6",e,n),this.$message.warning(`\u6682\u4E0D\u652F\u6301\u6253\u5F00\u6587\u4EF6${e} ${n}`))},openTarget(t){var r;console.log(t);const{name:e,type:n,size:i}=t;if(Js(n))this.paths.push(e),(r=this.$refs["child-dir"])==null||r.scrollTo(0,0),this.openDir();else if(KQ(n)){if(i/1024/1024>1)return this.$message.warning("\u6682\u4E0D\u652F\u6301\u6253\u5F001M\u53CA\u4EE5\u4E0A\u6587\u4EF6, \u8BF7\u4E0B\u8F7D\u672C\u5730\u67E5\u770B");const s=this.getPath(e);this.socket.emit("down_file",{path:s,name:e,size:i,target:"preview"})}else this.$message.warning(`\u6682\u4E0D\u652F\u6301\u6253\u5F00\u6587\u4EF6${e} ${n}`)},handleSaveCode(t){let e=new TextEncoder("utf-8").encode(t),n=this.filename;const i=this.getPath(n),r=this.curPath;this.socket.emit("up_file",{targetPath:r,fullPath:i,name:n,file:e})},handleClosedCode(){this.filename="",this.originalCode=""},selectFile(t){this.curTarget=t},handleReturn(){this.paths.length!==1&&(this.paths.pop(),this.openDir())},handleRefresh(){this.openDir()},handleDownload(){if(this.curTarget===null)return this.$message.warning("\u5148\u9009\u62E9\u4E00\u4E2A\u6587\u4EF6");const{name:t,size:e,type:n}=this.curTarget;if(Js(n))return this.$message.error("\u6682\u4E0D\u652F\u6301\u4E0B\u8F7D\u6587\u4EF6\u5939");this.$messageBox.confirm(`\u786E\u8BA4\u4E0B\u8F7D\uFF1A${t}`,"Warning",{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",type:"warning"}).then(()=>{this.childDirLoading=!0;const i=this.getPath(t);Js(n)||(KQ(n)?(this.showFileProgress=!0,this.socket.emit("down_file",{path:i,name:t,size:e,target:"down"})):this.$message.error("\u4E0D\u652F\u6301\u4E0B\u8F7D\u7684\u6587\u4EF6\u7C7B\u578B"))})},handleDelete(){if(this.curTarget===null)return this.$message.warning("\u5148\u9009\u62E9\u4E00\u4E2A\u6587\u4EF6(\u5939)");const{name:t,type:e}=this.curTarget;this.$messageBox.confirm(`\u786E\u8BA4\u5220\u9664\uFF1A${t}`,"Warning",{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",type:"warning"}).then(()=>{this.childDirLoading=!0;const n=this.getPath(t);Js(e)?this.socket.emit("rm_dir",n):this.socket.emit("rm_file",n)})},async handleUpload(t){if(this.showFileProgress)return this.$message.warning("\u9700\u7B49\u5F85\u5F53\u524D\u4EFB\u52A1\u5B8C\u6210");let e=t.target.files[0];console.log(e),e.size/1024/1024>1e3&&this.$message.error("\u7528\u7F51\u9875\u4F20\u8FD9\u4E48\u5927\u6587\u4EF6\u4F60\u662F\u8BA4\u771F\u7684\u5417?");let n=new FileReader;n.onload=async i=>{console.log("buffer:",i.target.result);const r=e.name,s=this.getPath(r),o=this.curPath;this.socket.emit("create_cache_dir",{targetPath:o,name:r}),this.socket.once("create_cache_success",async()=>{let a=0,l=0,c=1024*512,u=e.size,O=0;try{console.log("=========\u5F00\u59CB\u4E0A\u4F20\u5206\u7247========="),this.upFileProgress=0,this.showFileProgress=!0,this.childDirLoading=!0;let f=Math.ceil(u/c);for(;l{this.socket.emit("up_file_slice",t),this.socket.once("up_file_slice_success",()=>{e()}),this.socket.once("up_file_slice_fail",()=>{n("\u5206\u7247\u6587\u4EF6\u4E0A\u4F20\u5931\u8D25")}),this.socket.once("not_exists_dir",i=>{n(i)})})},openDir(){this.childDirLoading=!0,this.curTarget=null,this.socket.emit("open_dir",this.curPath)},getPath(t=""){return this.curPath.length===1?`/${t}`:`${this.curPath}/${t}`},adjustHeight(){let t=!1,e=null;this.$nextTick(()=>{let n=localStorage.getItem("sftpHeight");n?document.querySelector(".sftp-container").style.height=n:document.querySelector(".sftp-container").style.height="33vh",this.$refs.adjust.addEventListener("mousedown",()=>{t=!0}),document.addEventListener("mousemove",i=>{!t||(e&&clearTimeout(e),e=setTimeout(()=>{n=`calc(100vh - ${i.pageY}px)`,document.querySelector(".sftp-container").style.height=n,this.$emit("resize")}))}),document.addEventListener("mouseup",i=>{!t||(t=!1,n=`calc(100vh - ${i.pageY}px)`,localStorage.setItem("sftpHeight",n))})})}}},d$e=t=>(uc("data-v-570421be"),t=t(),fc(),t),p$e={class:"sftp-container"},m$e={ref:"adjust",class:"adjust"},g$e={class:"left box"},v$e=d$e(()=>D("div",{class:"header"},[D("div",{class:"operation"},[Xe(" \u6839\u76EE\u5F55 "),D("span",{style:{"font-size":"12px",color:"gray",transform:"scale(0.8)","margin-left":"-10px"}}," (\u5355\u51FB\u9009\u62E9, \u53CC\u51FB\u6253\u5F00) ")])],-1)),y$e={class:"dir-list"},$$e=["onClick"],b$e=["src","alt"],_$e={class:"right box"},Q$e={class:"header"},S$e={class:"operation"},w$e={class:"img"},x$e={class:"img"},P$e={class:"img"},k$e={class:"img"},C$e={class:"img"},T$e={class:"filter-input"},R$e={class:"path"},A$e={key:0,ref:"child-dir","element-loading-text":"\u64CD\u4F5C\u4E2D...",class:"dir-list"},E$e=["onClick","onDblclick"],X$e=["src","alt"],W$e={key:1};function z$e(t,e,n,i,r,s){const o=sX,a=mi,l=lT,c=XF,u=rX,O=yc;return L(),ie("div",p$e,[D("div",m$e,null,512),D("section",null,[D("div",g$e,[v$e,D("ul",y$e,[(L(!0),ie(Le,null,Rt(r.rootLs,f=>(L(),ie("li",{key:f.name,onClick:h=>s.openRootChild(f)},[D("img",{src:r.icons[f.type],alt:f.type},null,8,b$e),D("span",null,de(f.name),1)],8,$$e))),128))])]),D("div",_$e,[D("div",Q$e,[D("div",S$e,[B(o,{content:"\u4E0A\u7EA7\u76EE\u5F55"},{default:Z(()=>[D("div",w$e,[D("img",{src:a$e,alt:"",onClick:e[0]||(e[0]=(...f)=>s.handleReturn&&s.handleReturn(...f))})])]),_:1}),B(o,{content:"\u5237\u65B0"},{default:Z(()=>[D("div",x$e,[D("img",{src:l$e,style:{width:"15px",height:"15px","margin-top":"2px","margin-left":"2px"},onClick:e[1]||(e[1]=(...f)=>s.handleRefresh&&s.handleRefresh(...f))})])]),_:1}),B(o,{content:"\u5220\u9664"},{default:Z(()=>[D("div",P$e,[D("img",{src:c$e,style:{height:"20px",width:"20px"},onClick:e[2]||(e[2]=(...f)=>s.handleDelete&&s.handleDelete(...f))})])]),_:1}),B(o,{content:"\u4E0B\u8F7D\u9009\u62E9\u6587\u4EF6"},{default:Z(()=>[D("div",k$e,[D("img",{src:u$e,style:{height:"22px",width:"22px","margin-left":"-3px"},onClick:e[3]||(e[3]=(...f)=>s.handleDownload&&s.handleDownload(...f))})])]),_:1}),B(o,{content:"\u4E0A\u4F20\u5230\u5F53\u524D\u76EE\u5F55"},{default:Z(()=>[D("div",C$e,[D("img",{src:f$e,style:{width:"19px",height:"19px"},onClick:e[4]||(e[4]=f=>t.$refs.upload_file.click())}),D("input",{ref:"upload_file",type:"file",style:{display:"none"},onChange:e[5]||(e[5]=(...f)=>s.handleUpload&&s.handleUpload(...f))},null,544)])]),_:1})]),D("div",T$e,[B(a,{modelValue:r.filterKey,"onUpdate:modelValue":e[6]||(e[6]=f=>r.filterKey=f),size:"small",placeholder:"Filter Files",clearable:""},null,8,["modelValue"])]),D("span",R$e,de(s.curPath),1),r.showFileProgress?(L(),be(l,{key:0,class:"up-file-progress-wrap",percentage:r.upFileProgress},null,8,["percentage"])):Qe("",!0)]),s.fileList.length!==0?it((L(),ie("ul",A$e,[(L(!0),ie(Le,null,Rt(s.fileList,f=>(L(),ie("li",{key:f.name,class:te(r.curTarget===f?"active":""),onClick:h=>s.selectFile(f),onDblclick:h=>s.openTarget(f)},[D("img",{src:r.icons[f.type],alt:f.type},null,8,X$e),D("span",null,de(f.name),1)],42,E$e))),128))])),[[O,r.childDirLoading]]):(L(),ie("div",W$e,[B(c,{"image-size":100,description:"\u7A7A\u7A7A\u5982\u4E5F~"})]))])]),B(u,{show:r.visible,"onUpdate:show":e[7]||(e[7]=f=>r.visible=f),"original-code":r.originalCode,filename:r.filename,onSave:s.handleSaveCode,onClosed:s.handleClosedCode},null,8,["show","original-code","filename","onSave","onClosed"])])}var I$e=fn(h$e,[["render",z$e],["__scopeId","data-v-570421be"]]);const q$e={name:"Terminals",components:{TerminalTab:Zre,InfoSide:Xse,SftpFooter:I$e},data(){return{name:"",host:"",token:this.$store.token,activeTab:"",terminalTabs:[],isFullScreen:!1,timer:null,showSftp:!1,visible:!0}},computed:{closable(){return this.terminalTabs.length>1}},created(){if(!this.token)return this.$router.push("login");let{host:t,name:e}=this.$route.query;this.name=e,this.host=t,document.title=`${document.title}-${e}`;let n=Date.now().toString();this.terminalTabs.push({title:e,key:n}),this.activeTab=n,this.registryDbClick()},methods:{connectSftp(t){this.showSftp=t,this.resizeTerminal()},tabAdd(){this.timer&&clearTimeout(this.timer),this.timer=setTimeout(()=>{let{name:t}=this,e=t,n=Date.now().toString();this.terminalTabs.push({title:e,key:n}),this.activeTab=n,this.registryDbClick()},200)},removeTab(t){let e=this.terminalTabs.findIndex(({key:n})=>t===n);this.terminalTabs.splice(e,1),t===this.activeTab&&(this.activeTab=this.terminalTabs[0].key)},tabChange(t){this.$refs[t][0].focusTab()},handleFullScreen(){this.isFullScreen?document.exitFullscreen():document.getElementsByClassName("terminals")[0].requestFullscreen(),this.isFullScreen=!this.isFullScreen},registryDbClick(){this.$nextTick(()=>{Array.from(document.getElementsByClassName("el-tabs__item")).forEach(e=>{e.removeEventListener("dblclick",this.handleDblclick),e.addEventListener("dblclick",this.handleDblclick)})})},handleDblclick(t){if(this.terminalTabs.length>1){let e=t.target.id.substring(4);this.removeTab(e)}},handleVisibleSidebar(){this.visible=!this.visible,this.resizeTerminal()},resizeTerminal(){let t=this.$refs;for(let e in t)this.$refs[e][0].handleResize()}}},U$e={class:"container"},D$e={class:"terminals"},L$e={key:0,class:"sftp"};function B$e(t,e,n,i,r,s){const o=Pe("InfoSide"),a=Ln,l=A$,c=Pe("TerminalTab"),u=bT,O=$T,f=Pe("SftpFooter");return L(),ie("div",U$e,[B(o,{token:r.token,host:r.host,visible:r.visible,onConnectSftp:s.connectSftp},null,8,["token","host","visible","onConnectSftp"]),D("section",null,[D("div",D$e,[B(a,{class:"full-screen-button",type:"success",onClick:s.handleFullScreen},{default:Z(()=>[Xe(de(r.isFullScreen?"\u9000\u51FA\u5168\u5C4F":"\u5168\u5C4F"),1)]),_:1},8,["onClick"]),D("div",{class:"visible",onClick:e[0]||(e[0]=(...h)=>s.handleVisibleSidebar&&s.handleVisibleSidebar(...h))},[B(l,{name:"icon-jiantou_zuoyouqiehuan",class:"svg-icon"})]),B(O,{modelValue:r.activeTab,"onUpdate:modelValue":e[1]||(e[1]=h=>r.activeTab=h),type:"border-card",addable:"","tab-position":"top",onTabRemove:s.removeTab,onTabChange:s.tabChange,onTabAdd:s.tabAdd},{default:Z(()=>[(L(!0),ie(Le,null,Rt(r.terminalTabs,h=>(L(),be(u,{key:h.key,label:h.title,name:h.key,closable:s.closable},{default:Z(()=>[B(c,{ref_for:!0,ref:h.key,token:r.token,host:r.host},null,8,["token","host"])]),_:2},1032,["label","name","closable"]))),128))]),_:1},8,["modelValue","onTabRemove","onTabChange","onTabAdd"])]),r.showSftp?(L(),ie("div",L$e,[B(f,{token:r.token,host:r.host,onResize:s.resizeTerminal},null,8,["token","host","onResize"])])):Qe("",!0)])])}var M$e=fn(q$e,[["render",B$e],["__scopeId","data-v-28208a32"]]);const Y$e={name:"Test",data(){return{}}};function Z$e(t,e,n,i,r,s){return L(),ie("div")}var V$e=fn(Y$e,[["render",Z$e]]);const j$e=[{path:"/",component:Sre},{path:"/login",component:Wre},{path:"/terminal",component:M$e},{path:"/test",component:V$e}];var dy=xee({history:BJ(),routes:j$e});Jd.defaults.timeout=10*1e3;Jd.defaults.withCredentials=!0;Jd.defaults.baseURL="/api/v1";const Dt=Jd.create();Dt.interceptors.request.use(t=>(t.headers.token=aX().token,t),t=>(mo.error({message:"\u8BF7\u6C42\u8D85\u65F6\uFF01"}),Promise.reject(t)));Dt.interceptors.response.use(t=>{if(t.status===200)return t.data},t=>{var n;let{response:e}=t;if((n=t==null?void 0:t.message)!=null&&n.includes("timeout"))return mo({message:"\u8BF7\u6C42\u8D85\u65F6",type:"error",center:!0}),Promise.reject(t);switch(e==null?void 0:e.data.status){case 401:return dy.push("login"),Promise.reject(t);case 403:return dy.push("login"),Promise.reject(t)}switch(e==null?void 0:e.status){case 404:return mo({message:"404 Not Found",type:"error",center:!0}),Promise.reject(t)}return mo({message:(e==null?void 0:e.data.msg)||(t==null?void 0:t.message)||"\u7F51\u7EDC\u9519\u8BEF",type:"error",center:!0}),Promise.reject(t)});var R1={getOsInfo(t={}){return Dt({url:"/monitor",method:"get",params:t})},getIpInfo(t={}){return Dt({url:"/ip-info",method:"get",params:t})},updateSSH(t){return Dt({url:"/update-ssh",method:"post",data:t})},removeSSH(t){return Dt({url:"/remove-ssh",method:"post",data:{host:t}})},existSSH(t){return Dt({url:"/exist-ssh",method:"post",data:{host:t}})},getCommand(t){return Dt({url:"/command",method:"get",params:{host:t}})},getHostList(){return Dt({url:"/host-list",method:"get"})},saveHost(t){return Dt({url:"/host-save",method:"post",data:t})},updateHost(t){return Dt({url:"/host-save",method:"put",data:t})},removeHost(t){return Dt({url:"/host-remove",method:"post",data:t})},getPubPem(){return Dt({url:"/get-pub-pem",method:"get"})},login(t){return Dt({url:"/login",method:"post",data:t})},getLoginRecord(){return Dt({url:"/get-login-record",method:"get"})},updatePwd(t){return Dt({url:"/pwd",method:"put",data:t})},updateHostSort(t){return Dt({url:"/host-sort",method:"put",data:t})},getUserEmailList(){return Dt({url:"/user-email",method:"get"})},getSupportEmailList(){return Dt({url:"/support-email",method:"get"})},updateUserEmailList(t){return Dt({url:"/user-email",method:"post",data:t})},deleteUserEmail(t){return Dt({url:`/user-email/${t}`,method:"delete"})},pushTestEmail(t){return Dt({url:"/push-email",method:"post",data:t})},getNotifyList(){return Dt({url:"/notify",method:"get"})},updateNotifyList(t){return Dt({url:"/notify",method:"put",data:t})},getGroupList(){return Dt({url:"/group",method:"get"})},addGroup(t){return Dt({url:"/group",method:"post",data:t})},updateGroup(t,e){return Dt({url:`/group/${t}`,method:"put",data:e})},deleteGroup(t){return Dt({url:`/group/${t}`,method:"delete"})}};function N$e(t){return new Promise((e,n)=>{let i=new Image;i.onload=()=>e(),i.onerror=()=>n(),i.src=t+"?random-no-cache="+Math.floor((1+Math.random())*65536).toString(16)})}function oX(t,e=5e3){return new Promise((n,i)=>{let r=Date.now(),s=()=>{let o=Date.now()-r+"ms";n(o)};N$e(t).then(s).catch(s),setTimeout(()=>{n("timeout")},e)})}const F$e=K6({id:"global",state:()=>({hostList:[],token:sessionStorage.getItem("token")||localStorage.getItem("token")||null}),actions:{async setJwtToken(t,e=!0){e?sessionStorage.setItem("token",t):localStorage.setItem("token",t),this.$patch({token:t})},async clearJwtToken(){localStorage.clear("token"),sessionStorage.clear("token"),this.$patch({token:null})},async getHostList(){const{data:t}=await R1.getHostList();this.$patch({hostList:t})},getHostPing(){setTimeout(()=>{this.hostList.forEach(t=>{const{host:e}=t;oX(`http://${e}:22022`).then(n=>{t.ping=n})}),console.clear()},1500)},async sortHostList(t){let e=t.map(({host:n})=>this.hostList.find(i=>i.host===n));this.$patch({hostList:e})}}});var aX=F$e,G$e={toFixed(t,e=1){return t=Number(t),isNaN(t)?"--":t.toFixed(e)},formatTime(t=0){let e=Math.floor(t/60/60/24),n=Math.floor(t/60/60%24),i=Math.floor(t/60%60);return`${e}\u5929${n}\u65F6${i}\u5206`},formatNetSpeed(t){return t=Number(t)||0,t>=1?`${t.toFixed(2)} MB/s`:`${(t*1024).toFixed(1)} KB/s`},formatTimestamp:(t,e="time")=>{if(typeof t!="number")return"--";let n=new Date(t),i=u=>String(u).padStart(2,"0"),r=n.getFullYear(),s=i(n.getMonth()+1),o=i(n.getDate()),a=i(n.getHours()),l=i(n.getMinutes()),c=i(n.getSeconds());switch(e){case"date":return`${r}-${s}-${o}`;case"time":return`${r}-${s}-${o} ${a}:${l}:${c}`;default:return`${r}-${s}-${o} ${a}:${l}:${c}`}},ping:oX},H$e=t=>{t.config.globalProperties.$ELEMENT={size:"default"},t.config.globalProperties.$message=mo,t.config.globalProperties.$messageBox=Mg,t.config.globalProperties.$notification=QJ},K$e=t=>{t.component("SvgIcon",A$),t.component("Tooltip",sX)},lX={},cX={};(function(t){Object.defineProperty(t,"__esModule",{value:!0});var e={name:"zh-cn",el:{colorpicker:{confirm:"\u786E\u5B9A",clear:"\u6E05\u7A7A"},datepicker:{now:"\u6B64\u523B",today:"\u4ECA\u5929",cancel:"\u53D6\u6D88",clear:"\u6E05\u7A7A",confirm:"\u786E\u5B9A",selectDate:"\u9009\u62E9\u65E5\u671F",selectTime:"\u9009\u62E9\u65F6\u95F4",startDate:"\u5F00\u59CB\u65E5\u671F",startTime:"\u5F00\u59CB\u65F6\u95F4",endDate:"\u7ED3\u675F\u65E5\u671F",endTime:"\u7ED3\u675F\u65F6\u95F4",prevYear:"\u524D\u4E00\u5E74",nextYear:"\u540E\u4E00\u5E74",prevMonth:"\u4E0A\u4E2A\u6708",nextMonth:"\u4E0B\u4E2A\u6708",year:"\u5E74",month1:"1 \u6708",month2:"2 \u6708",month3:"3 \u6708",month4:"4 \u6708",month5:"5 \u6708",month6:"6 \u6708",month7:"7 \u6708",month8:"8 \u6708",month9:"9 \u6708",month10:"10 \u6708",month11:"11 \u6708",month12:"12 \u6708",weeks:{sun:"\u65E5",mon:"\u4E00",tue:"\u4E8C",wed:"\u4E09",thu:"\u56DB",fri:"\u4E94",sat:"\u516D"},months:{jan:"\u4E00\u6708",feb:"\u4E8C\u6708",mar:"\u4E09\u6708",apr:"\u56DB\u6708",may:"\u4E94\u6708",jun:"\u516D\u6708",jul:"\u4E03\u6708",aug:"\u516B\u6708",sep:"\u4E5D\u6708",oct:"\u5341\u6708",nov:"\u5341\u4E00\u6708",dec:"\u5341\u4E8C\u6708"}},select:{loading:"\u52A0\u8F7D\u4E2D",noMatch:"\u65E0\u5339\u914D\u6570\u636E",noData:"\u65E0\u6570\u636E",placeholder:"\u8BF7\u9009\u62E9"},cascader:{noMatch:"\u65E0\u5339\u914D\u6570\u636E",loading:"\u52A0\u8F7D\u4E2D",placeholder:"\u8BF7\u9009\u62E9",noData:"\u6682\u65E0\u6570\u636E"},pagination:{goto:"\u524D\u5F80",pagesize:"\u6761/\u9875",total:"\u5171 {total} \u6761",pageClassifier:"\u9875",deprecationWarning:"\u4F60\u4F7F\u7528\u4E86\u4E00\u4E9B\u5DF2\u88AB\u5E9F\u5F03\u7684\u7528\u6CD5\uFF0C\u8BF7\u53C2\u8003 el-pagination \u7684\u5B98\u65B9\u6587\u6863"},messagebox:{title:"\u63D0\u793A",confirm:"\u786E\u5B9A",cancel:"\u53D6\u6D88",error:"\u8F93\u5165\u7684\u6570\u636E\u4E0D\u5408\u6CD5!"},upload:{deleteTip:"\u6309 delete \u952E\u53EF\u5220\u9664",delete:"\u5220\u9664",preview:"\u67E5\u770B\u56FE\u7247",continue:"\u7EE7\u7EED\u4E0A\u4F20"},table:{emptyText:"\u6682\u65E0\u6570\u636E",confirmFilter:"\u7B5B\u9009",resetFilter:"\u91CD\u7F6E",clearFilter:"\u5168\u90E8",sumText:"\u5408\u8BA1"},tree:{emptyText:"\u6682\u65E0\u6570\u636E"},transfer:{noMatch:"\u65E0\u5339\u914D\u6570\u636E",noData:"\u65E0\u6570\u636E",titles:["\u5217\u8868 1","\u5217\u8868 2"],filterPlaceholder:"\u8BF7\u8F93\u5165\u641C\u7D22\u5185\u5BB9",noCheckedFormat:"\u5171 {total} \u9879",hasCheckedFormat:"\u5DF2\u9009 {checked}/{total} \u9879"},image:{error:"\u52A0\u8F7D\u5931\u8D25"},pageHeader:{title:"\u8FD4\u56DE"},popconfirm:{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88"}}};t.default=e})(cX);(function(t){Object.defineProperty(t,"__esModule",{value:!0});var e=cX;t.default=e.default})(lX);var J$e=J6(lX);const e1e={name:"App",data(){return{locale:J$e}}};function t1e(t,e,n,i,r,s){const o=Pe("router-view"),a=FZ;return L(),be(a,{locale:r.locale},{default:Z(()=>[B(o)]),_:1},8,["locale"])}var n1e=fn(e1e,[["render",t1e]]);const Xs=_k(n1e);H$e(Xs);K$e(Xs);Xs.use(j6());Xs.use(dy);Xs.config.globalProperties.$api=R1;Xs.config.globalProperties.$tools=G$e;Xs.config.globalProperties.$store=aX();const uX=location.origin;Xs.config.globalProperties.$serviceURI=uX;console.warn("ISDEV: ",!1);console.warn("serviceURI: ",uX);Xs.mount("#app")});export default i1e(); +var dX=Object.defineProperty,pX=Object.defineProperties;var mX=Object.getOwnPropertyDescriptors;var aO=Object.getOwnPropertySymbols;var D1=Object.prototype.hasOwnProperty,L1=Object.prototype.propertyIsEnumerable;var U1=(t,e,n)=>e in t?dX(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,ze=(t,e)=>{for(var n in e||(e={}))D1.call(e,n)&&U1(t,n,e[n]);if(aO)for(var n of aO(e))L1.call(e,n)&&U1(t,n,e[n]);return t},Je=(t,e)=>pX(t,mX(e));var lO=(t,e)=>{var n={};for(var i in t)D1.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(t!=null&&aO)for(var i of aO(t))e.indexOf(i)<0&&L1.call(t,i)&&(n[i]=t[i]);return n};var gX=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var h1e=gX((Ei,Xi)=>{const vX=function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))i(r);new MutationObserver(r=>{for(const s of r)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&i(o)}).observe(document,{childList:!0,subtree:!0});function n(r){const s={};return r.integrity&&(s.integrity=r.integrity),r.referrerpolicy&&(s.referrerPolicy=r.referrerpolicy),r.crossorigin==="use-credentials"?s.credentials="include":r.crossorigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function i(r){if(r.ep)return;r.ep=!0;const s=n(r);fetch(r.href,s)}};vX();function my(t,e){const n=Object.create(null),i=t.split(",");for(let r=0;r!!n[r.toLowerCase()]:r=>!!n[r]}const yX="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",$X=my(yX);function uP(t){return!!t||t===""}function tt(t){if(Fe(t)){const e={};for(let n=0;n{if(n){const i=n.split(_X);i.length>1&&(e[i[0].trim()]=i[1].trim())}}),e}function te(t){let e="";if(ot(t))e=t;else if(Fe(t))for(let n=0;nAl(n,e))}const de=t=>ot(t)?t:t==null?"":Fe(t)||yt(t)&&(t.toString===hP||!st(t.toString))?JSON.stringify(t,OP,2):String(t),OP=(t,e)=>e&&e.__v_isRef?OP(t,e.value):wl(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((n,[i,r])=>(n[`${i} =>`]=r,n),{})}:Wd(e)?{[`Set(${e.size})`]:[...e.values()]}:yt(e)&&!Fe(e)&&!dP(e)?String(e):e,Zt={},Sl=[],bn=()=>{},wX=()=>!1,xX=/^on[^a-z]/,Xd=t=>xX.test(t),gy=t=>t.startsWith("onUpdate:"),kn=Object.assign,vy=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},PX=Object.prototype.hasOwnProperty,ct=(t,e)=>PX.call(t,e),Fe=Array.isArray,wl=t=>uc(t)==="[object Map]",Wd=t=>uc(t)==="[object Set]",B1=t=>uc(t)==="[object Date]",st=t=>typeof t=="function",ot=t=>typeof t=="string",Tu=t=>typeof t=="symbol",yt=t=>t!==null&&typeof t=="object",Wh=t=>yt(t)&&st(t.then)&&st(t.catch),hP=Object.prototype.toString,uc=t=>hP.call(t),nh=t=>uc(t).slice(8,-1),dP=t=>uc(t)==="[object Object]",yy=t=>ot(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,ih=my(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),zd=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},kX=/-(\w)/g,nr=zd(t=>t.replace(kX,(e,n)=>n?n.toUpperCase():"")),CX=/\B([A-Z])/g,Ao=zd(t=>t.replace(CX,"-$1").toLowerCase()),_r=zd(t=>t.charAt(0).toUpperCase()+t.slice(1)),h0=zd(t=>t?`on${_r(t)}`:""),Ru=(t,e)=>!Object.is(t,e),rh=(t,e)=>{for(let n=0;n{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:n})},Ih=t=>{const e=parseFloat(t);return isNaN(e)?t:e};let M1;const TX=()=>M1||(M1=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});let _i;class pP{constructor(e=!1){this.active=!0,this.effects=[],this.cleanups=[],!e&&_i&&(this.parent=_i,this.index=(_i.scopes||(_i.scopes=[])).push(this)-1)}run(e){if(this.active){const n=_i;try{return _i=this,e()}finally{_i=n}}}on(){_i=this}off(){_i=this.parent}stop(e){if(this.active){let n,i;for(n=0,i=this.effects.length;n{const e=new Set(t);return e.w=0,e.n=0,e},vP=t=>(t.w&bo)>0,yP=t=>(t.n&bo)>0,EX=({deps:t})=>{if(t.length)for(let e=0;e{const{deps:e}=t;if(e.length){let n=0;for(let i=0;i{(c==="length"||c>=i)&&a.push(l)});else switch(n!==void 0&&a.push(o.get(n)),e){case"add":Fe(t)?yy(n)&&a.push(o.get("length")):(a.push(o.get(ma)),wl(t)&&a.push(o.get(jm)));break;case"delete":Fe(t)||(a.push(o.get(ma)),wl(t)&&a.push(o.get(jm)));break;case"set":wl(t)&&a.push(o.get(ma));break}if(a.length===1)a[0]&&Nm(a[0]);else{const l=[];for(const c of a)c&&l.push(...c);Nm($y(l))}}function Nm(t,e){const n=Fe(t)?t:[...t];for(const i of n)i.computed&&Z1(i);for(const i of n)i.computed||Z1(i)}function Z1(t,e){(t!==Qr||t.allowRecurse)&&(t.scheduler?t.scheduler():t.run())}const WX=my("__proto__,__v_isRef,__isVue"),_P=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(Tu)),zX=_y(),IX=_y(!1,!0),qX=_y(!0),V1=UX();function UX(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...n){const i=mt(this);for(let s=0,o=this.length;s{t[e]=function(...n){Ea();const i=mt(this)[e].apply(this,n);return Xa(),i}}),t}function _y(t=!1,e=!1){return function(i,r,s){if(r==="__v_isReactive")return!t;if(r==="__v_isReadonly")return t;if(r==="__v_isShallow")return e;if(r==="__v_raw"&&s===(t?e?t8:PP:e?xP:wP).get(i))return i;const o=Fe(i);if(!t&&o&&ct(V1,r))return Reflect.get(V1,r,s);const a=Reflect.get(i,r,s);return(Tu(r)?_P.has(r):WX(r))||(t||Ii(i,"get",r),e)?a:It(a)?o&&yy(r)?a:a.value:yt(a)?t?Of(a):gn(a):a}}const DX=QP(),LX=QP(!0);function QP(t=!1){return function(n,i,r,s){let o=n[i];if(Au(o)&&It(o)&&!It(r))return!1;if(!t&&!Au(r)&&(Fm(r)||(r=mt(r),o=mt(o)),!Fe(n)&&It(o)&&!It(r)))return o.value=r,!0;const a=Fe(n)&&yy(i)?Number(i)t,Id=t=>Reflect.getPrototypeOf(t);function cO(t,e,n=!1,i=!1){t=t.__v_raw;const r=mt(t),s=mt(e);n||(e!==s&&Ii(r,"get",e),Ii(r,"get",s));const{has:o}=Id(r),a=i?Qy:n?xy:Eu;if(o.call(r,e))return a(t.get(e));if(o.call(r,s))return a(t.get(s));t!==r&&t.get(e)}function uO(t,e=!1){const n=this.__v_raw,i=mt(n),r=mt(t);return e||(t!==r&&Ii(i,"has",t),Ii(i,"has",r)),t===r?n.has(t):n.has(t)||n.has(r)}function fO(t,e=!1){return t=t.__v_raw,!e&&Ii(mt(t),"iterate",ma),Reflect.get(t,"size",t)}function j1(t){t=mt(t);const e=mt(this);return Id(e).has.call(e,t)||(e.add(t),vs(e,"add",t,t)),this}function N1(t,e){e=mt(e);const n=mt(this),{has:i,get:r}=Id(n);let s=i.call(n,t);s||(t=mt(t),s=i.call(n,t));const o=r.call(n,t);return n.set(t,e),s?Ru(e,o)&&vs(n,"set",t,e):vs(n,"add",t,e),this}function F1(t){const e=mt(this),{has:n,get:i}=Id(e);let r=n.call(e,t);r||(t=mt(t),r=n.call(e,t)),i&&i.call(e,t);const s=e.delete(t);return r&&vs(e,"delete",t,void 0),s}function G1(){const t=mt(this),e=t.size!==0,n=t.clear();return e&&vs(t,"clear",void 0,void 0),n}function OO(t,e){return function(i,r){const s=this,o=s.__v_raw,a=mt(o),l=e?Qy:t?xy:Eu;return!t&&Ii(a,"iterate",ma),o.forEach((c,u)=>i.call(r,l(c),l(u),s))}}function hO(t,e,n){return function(...i){const r=this.__v_raw,s=mt(r),o=wl(s),a=t==="entries"||t===Symbol.iterator&&o,l=t==="keys"&&o,c=r[t](...i),u=n?Qy:e?xy:Eu;return!e&&Ii(s,"iterate",l?jm:ma),{next(){const{value:O,done:f}=c.next();return f?{value:O,done:f}:{value:a?[u(O[0]),u(O[1])]:u(O),done:f}},[Symbol.iterator](){return this}}}}function Us(t){return function(...e){return t==="delete"?!1:this}}function jX(){const t={get(s){return cO(this,s)},get size(){return fO(this)},has:uO,add:j1,set:N1,delete:F1,clear:G1,forEach:OO(!1,!1)},e={get(s){return cO(this,s,!1,!0)},get size(){return fO(this)},has:uO,add:j1,set:N1,delete:F1,clear:G1,forEach:OO(!1,!0)},n={get(s){return cO(this,s,!0)},get size(){return fO(this,!0)},has(s){return uO.call(this,s,!0)},add:Us("add"),set:Us("set"),delete:Us("delete"),clear:Us("clear"),forEach:OO(!0,!1)},i={get(s){return cO(this,s,!0,!0)},get size(){return fO(this,!0)},has(s){return uO.call(this,s,!0)},add:Us("add"),set:Us("set"),delete:Us("delete"),clear:Us("clear"),forEach:OO(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{t[s]=hO(s,!1,!1),n[s]=hO(s,!0,!1),e[s]=hO(s,!1,!0),i[s]=hO(s,!0,!0)}),[t,n,e,i]}const[NX,FX,GX,HX]=jX();function Sy(t,e){const n=e?t?HX:GX:t?FX:NX;return(i,r,s)=>r==="__v_isReactive"?!t:r==="__v_isReadonly"?t:r==="__v_raw"?i:Reflect.get(ct(n,r)&&r in i?n:i,r,s)}const KX={get:Sy(!1,!1)},JX={get:Sy(!1,!0)},e8={get:Sy(!0,!1)},wP=new WeakMap,xP=new WeakMap,PP=new WeakMap,t8=new WeakMap;function n8(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function i8(t){return t.__v_skip||!Object.isExtensible(t)?0:n8(nh(t))}function gn(t){return Au(t)?t:wy(t,!1,SP,KX,wP)}function r8(t){return wy(t,!1,VX,JX,xP)}function Of(t){return wy(t,!0,ZX,e8,PP)}function wy(t,e,n,i,r){if(!yt(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const s=r.get(t);if(s)return s;const o=i8(t);if(o===0)return t;const a=new Proxy(t,o===2?i:n);return r.set(t,a),a}function ho(t){return Au(t)?ho(t.__v_raw):!!(t&&t.__v_isReactive)}function Au(t){return!!(t&&t.__v_isReadonly)}function Fm(t){return!!(t&&t.__v_isShallow)}function kP(t){return ho(t)||Au(t)}function mt(t){const e=t&&t.__v_raw;return e?mt(e):t}function El(t){return zh(t,"__v_skip",!0),t}const Eu=t=>yt(t)?gn(t):t,xy=t=>yt(t)?Of(t):t;function CP(t){Oo&&Qr&&(t=mt(t),bP(t.dep||(t.dep=$y())))}function Py(t,e){t=mt(t),t.dep&&Nm(t.dep)}function It(t){return!!(t&&t.__v_isRef===!0)}function J(t){return TP(t,!1)}function ga(t){return TP(t,!0)}function TP(t,e){return It(t)?t:new s8(t,e)}class s8{constructor(e,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?e:mt(e),this._value=n?e:Eu(e)}get value(){return CP(this),this._value}set value(e){e=this.__v_isShallow?e:mt(e),Ru(e,this._rawValue)&&(this._rawValue=e,this._value=this.__v_isShallow?e:Eu(e),Py(this))}}function Tc(t){Py(t)}function M(t){return It(t)?t.value:t}const o8={get:(t,e,n)=>M(Reflect.get(t,e,n)),set:(t,e,n,i)=>{const r=t[e];return It(r)&&!It(n)?(r.value=n,!0):Reflect.set(t,e,n,i)}};function RP(t){return ho(t)?t:new Proxy(t,o8)}function xr(t){const e=Fe(t)?new Array(t.length):{};for(const n in t)e[n]=Pn(t,n);return e}class a8{constructor(e,n,i){this._object=e,this._key=n,this._defaultValue=i,this.__v_isRef=!0}get value(){const e=this._object[this._key];return e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}}function Pn(t,e,n){const i=t[e];return It(i)?i:new a8(t,e,n)}class l8{constructor(e,n,i,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new by(e,()=>{this._dirty||(this._dirty=!0,Py(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=i}get value(){const e=mt(this);return CP(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}function c8(t,e,n=!1){let i,r;const s=st(t);return s?(i=t,r=bn):(i=t.get,r=t.set),new l8(i,r,s||!r,n)}const su=[];function u8(t,...e){Ea();const n=su.length?su[su.length-1].component:null,i=n&&n.appContext.config.warnHandler,r=f8();if(i)ds(i,n,11,[t+e.join(""),n&&n.proxy,r.map(({vnode:s})=>`at <${lk(n,s.type)}>`).join(` +`),r]);else{const s=[`[Vue warn]: ${t}`,...e];r.length&&s.push(` +`,...O8(r)),console.warn(...s)}Xa()}function f8(){let t=su[su.length-1];if(!t)return[];const e=[];for(;t;){const n=e[0];n&&n.vnode===t?n.recurseCount++:e.push({vnode:t,recurseCount:0});const i=t.component&&t.component.parent;t=i&&i.vnode}return e}function O8(t){const e=[];return t.forEach((n,i)=>{e.push(...i===0?[]:[` +`],...h8(n))}),e}function h8({vnode:t,recurseCount:e}){const n=e>0?`... (${e} recursive calls)`:"",i=t.component?t.component.parent==null:!1,r=` at <${lk(t.component,t.type,i)}`,s=">"+n;return t.props?[r,...d8(t.props),s]:[r+s]}function d8(t){const e=[],n=Object.keys(t);return n.slice(0,3).forEach(i=>{e.push(...AP(i,t[i]))}),n.length>3&&e.push(" ..."),e}function AP(t,e,n){return ot(e)?(e=JSON.stringify(e),n?e:[`${t}=${e}`]):typeof e=="number"||typeof e=="boolean"||e==null?n?e:[`${t}=${e}`]:It(e)?(e=AP(t,mt(e.value),!0),n?e:[`${t}=Ref<`,e,">"]):st(e)?[`${t}=fn${e.name?`<${e.name}>`:""}`]:(e=mt(e),n?e:[`${t}=`,e])}function ds(t,e,n,i){let r;try{r=i?t(...i):t()}catch(s){qd(s,e,n)}return r}function Ki(t,e,n,i){if(st(t)){const s=ds(t,e,n,i);return s&&Wh(s)&&s.catch(o=>{qd(o,e,n)}),s}const r=[];for(let s=0;s>>1;Xu(Pi[i])Os&&Pi.splice(e,1)}function zP(t,e,n,i){Fe(t)?n.push(...t):(!e||!e.includes(t,t.allowRecurse?i+1:i))&&n.push(t),WP()}function v8(t){zP(t,Nc,ou,dl)}function y8(t){zP(t,Zs,au,pl)}function Ud(t,e=null){if(ou.length){for(Hm=e,Nc=[...new Set(ou)],ou.length=0,dl=0;dlXu(n)-Xu(i)),pl=0;plt.id==null?1/0:t.id;function qP(t){Gm=!1,qh=!0,Ud(t),Pi.sort((n,i)=>Xu(n)-Xu(i));const e=bn;try{for(Os=0;Osh.trim())),O&&(r=n.map(Ih))}let a,l=i[a=h0(e)]||i[a=h0(nr(e))];!l&&s&&(l=i[a=h0(Ao(e))]),l&&Ki(l,t,6,r);const c=i[a+"Once"];if(c){if(!t.emitted)t.emitted={};else if(t.emitted[a])return;t.emitted[a]=!0,Ki(c,t,6,r)}}function UP(t,e,n=!1){const i=e.emitsCache,r=i.get(t);if(r!==void 0)return r;const s=t.emits;let o={},a=!1;if(!st(t)){const l=c=>{const u=UP(c,e,!0);u&&(a=!0,kn(o,u))};!n&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!s&&!a?(i.set(t,null),null):(Fe(s)?s.forEach(l=>o[l]=null):kn(o,s),i.set(t,o),o)}function Dd(t,e){return!t||!Xd(e)?!1:(e=e.slice(2).replace(/Once$/,""),ct(t,e[0].toLowerCase()+e.slice(1))||ct(t,Ao(e))||ct(t,e))}let jn=null,Ld=null;function Uh(t){const e=jn;return jn=t,Ld=t&&t.type.__scopeId||null,e}function fc(t){Ld=t}function Oc(){Ld=null}function Y(t,e=jn,n){if(!e||t._n)return t;const i=(...r)=>{i._d&&lb(-1);const s=Uh(e),o=t(...r);return Uh(s),i._d&&lb(1),o};return i._n=!0,i._c=!0,i._d=!0,i}function d0(t){const{type:e,vnode:n,proxy:i,withProxy:r,props:s,propsOptions:[o],slots:a,attrs:l,emit:c,render:u,renderCache:O,data:f,setupState:h,ctx:p,inheritAttrs:y}=t;let $,m;const d=Uh(t);try{if(n.shapeFlag&4){const v=r||i;$=Ur(u.call(v,v,O,s,h,f,p)),m=l}else{const v=e;$=Ur(v.length>1?v(s,{attrs:l,slots:a,emit:c}):v(s,null)),m=e.props?l:b8(l)}}catch(v){uu.length=0,qd(v,t,1),$=B(Oi)}let g=$;if(m&&y!==!1){const v=Object.keys(m),{shapeFlag:b}=g;v.length&&b&7&&(o&&v.some(gy)&&(m=_8(m,o)),g=ys(g,m))}return n.dirs&&(g=ys(g),g.dirs=g.dirs?g.dirs.concat(n.dirs):n.dirs),n.transition&&(g.transition=n.transition),$=g,Uh(d),$}const b8=t=>{let e;for(const n in t)(n==="class"||n==="style"||Xd(n))&&((e||(e={}))[n]=t[n]);return e},_8=(t,e)=>{const n={};for(const i in t)(!gy(i)||!(i.slice(9)in e))&&(n[i]=t[i]);return n};function Q8(t,e,n){const{props:i,children:r,component:s}=t,{props:o,children:a,patchFlag:l}=e,c=s.emitsOptions;if(e.dirs||e.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return i?H1(i,o,c):!!o;if(l&8){const u=e.dynamicProps;for(let O=0;Ot.__isSuspense;function x8(t,e){e&&e.pendingBranch?Fe(t)?e.effects.push(...t):e.effects.push(t):y8(t)}function kt(t,e){if(wn){let n=wn.provides;const i=wn.parent&&wn.parent.provides;i===n&&(n=wn.provides=Object.create(i)),n[t]=e}}function De(t,e,n=!1){const i=wn||jn;if(i){const r=i.parent==null?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides;if(r&&t in r)return r[t];if(arguments.length>1)return n&&st(e)?e.call(i.proxy):e}}function va(t,e){return Cy(t,null,e)}const K1={};function Xe(t,e,n){return Cy(t,e,n)}function Cy(t,e,{immediate:n,deep:i,flush:r,onTrack:s,onTrigger:o}=Zt){const a=wn;let l,c=!1,u=!1;if(It(t)?(l=()=>t.value,c=Fm(t)):ho(t)?(l=()=>t,i=!0):Fe(t)?(u=!0,c=t.some(m=>ho(m)||Fm(m)),l=()=>t.map(m=>{if(It(m))return m.value;if(ho(m))return ca(m);if(st(m))return ds(m,a,2)})):st(t)?e?l=()=>ds(t,a,2):l=()=>{if(!(a&&a.isUnmounted))return O&&O(),Ki(t,a,3,[f])}:l=bn,e&&i){const m=l;l=()=>ca(m())}let O,f=m=>{O=$.onStop=()=>{ds(m,a,4)}};if(qu)return f=bn,e?n&&Ki(e,a,3,[l(),u?[]:void 0,f]):l(),bn;let h=u?[]:K1;const p=()=>{if(!!$.active)if(e){const m=$.run();(i||c||(u?m.some((d,g)=>Ru(d,h[g])):Ru(m,h)))&&(O&&O(),Ki(e,a,3,[m,h===K1?void 0:h,f]),h=m)}else $.run()};p.allowRecurse=!!e;let y;r==="sync"?y=p:r==="post"?y=()=>ci(p,a&&a.suspense):y=()=>v8(p);const $=new by(l,y);return e?n?p():h=$.run():r==="post"?ci($.run.bind($),a&&a.suspense):$.run(),()=>{$.stop(),a&&a.scope&&vy(a.scope.effects,$)}}function P8(t,e,n){const i=this.proxy,r=ot(t)?t.includes(".")?DP(i,t):()=>i[t]:t.bind(i,i);let s;st(e)?s=e:(s=e.handler,n=e);const o=wn;Xl(this);const a=Cy(r,s.bind(i),n);return o?Xl(o):ya(),a}function DP(t,e){const n=e.split(".");return()=>{let i=t;for(let r=0;r{ca(n,e)});else if(dP(t))for(const n in t)ca(t[n],e);return t}function LP(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return xt(()=>{t.isMounted=!0}),Qn(()=>{t.isUnmounting=!0}),t}const Yi=[Function,Array],k8={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Yi,onEnter:Yi,onAfterEnter:Yi,onEnterCancelled:Yi,onBeforeLeave:Yi,onLeave:Yi,onAfterLeave:Yi,onLeaveCancelled:Yi,onBeforeAppear:Yi,onAppear:Yi,onAfterAppear:Yi,onAppearCancelled:Yi},setup(t,{slots:e}){const n=$t(),i=LP();let r;return()=>{const s=e.default&&Ty(e.default(),!0);if(!s||!s.length)return;let o=s[0];if(s.length>1){for(const y of s)if(y.type!==Oi){o=y;break}}const a=mt(t),{mode:l}=a;if(i.isLeaving)return p0(o);const c=J1(o);if(!c)return p0(o);const u=Wu(c,a,i,n);zu(c,u);const O=n.subTree,f=O&&J1(O);let h=!1;const{getTransitionKey:p}=c.type;if(p){const y=p();r===void 0?r=y:y!==r&&(r=y,h=!0)}if(f&&f.type!==Oi&&(!sa(c,f)||h)){const y=Wu(f,a,i,n);if(zu(f,y),l==="out-in")return i.isLeaving=!0,y.afterLeave=()=>{i.isLeaving=!1,n.update()},p0(o);l==="in-out"&&c.type!==Oi&&(y.delayLeave=($,m,d)=>{const g=MP(i,f);g[String(f.key)]=f,$._leaveCb=()=>{m(),$._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=d})}return o}}},BP=k8;function MP(t,e){const{leavingVNodes:n}=t;let i=n.get(e.type);return i||(i=Object.create(null),n.set(e.type,i)),i}function Wu(t,e,n,i){const{appear:r,mode:s,persisted:o=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:O,onLeave:f,onAfterLeave:h,onLeaveCancelled:p,onBeforeAppear:y,onAppear:$,onAfterAppear:m,onAppearCancelled:d}=e,g=String(t.key),v=MP(n,t),b=(S,P)=>{S&&Ki(S,i,9,P)},_=(S,P)=>{const w=P[1];b(S,P),Fe(S)?S.every(x=>x.length<=1)&&w():S.length<=1&&w()},Q={mode:s,persisted:o,beforeEnter(S){let P=a;if(!n.isMounted)if(r)P=y||a;else return;S._leaveCb&&S._leaveCb(!0);const w=v[g];w&&sa(t,w)&&w.el._leaveCb&&w.el._leaveCb(),b(P,[S])},enter(S){let P=l,w=c,x=u;if(!n.isMounted)if(r)P=$||l,w=m||c,x=d||u;else return;let k=!1;const C=S._enterCb=T=>{k||(k=!0,T?b(x,[S]):b(w,[S]),Q.delayedLeave&&Q.delayedLeave(),S._enterCb=void 0)};P?_(P,[S,C]):C()},leave(S,P){const w=String(t.key);if(S._enterCb&&S._enterCb(!0),n.isUnmounting)return P();b(O,[S]);let x=!1;const k=S._leaveCb=C=>{x||(x=!0,P(),C?b(p,[S]):b(h,[S]),S._leaveCb=void 0,v[w]===t&&delete v[w])};v[w]=t,f?_(f,[S,k]):k()},clone(S){return Wu(S,e,n,i)}};return Q}function p0(t){if(Bd(t))return t=ys(t),t.children=null,t}function J1(t){return Bd(t)?t.children?t.children[0]:void 0:t}function zu(t,e){t.shapeFlag&6&&t.component?zu(t.component.subTree,e):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function Ty(t,e=!1,n){let i=[],r=0;for(let s=0;s1)for(let s=0;s!!t.type.__asyncLoader,Bd=t=>t.type.__isKeepAlive;function C8(t,e){YP(t,"a",e)}function T8(t,e){YP(t,"da",e)}function YP(t,e,n=wn){const i=t.__wdc||(t.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return t()});if(Md(e,i,n),n){let r=n.parent;for(;r&&r.parent;)Bd(r.parent.vnode)&&R8(i,e,n,r),r=r.parent}}function R8(t,e,n,i){const r=Md(e,t,i,!0);Wa(()=>{vy(i[e],r)},n)}function Md(t,e,n=wn,i=!1){if(n){const r=n[t]||(n[t]=[]),s=e.__weh||(e.__weh=(...o)=>{if(n.isUnmounted)return;Ea(),Xl(n);const a=Ki(e,n,t,o);return ya(),Xa(),a});return i?r.unshift(s):r.push(s),s}}const xs=t=>(e,n=wn)=>(!qu||t==="sp")&&Md(t,e,n),Yd=xs("bm"),xt=xs("m"),A8=xs("bu"),Ps=xs("u"),Qn=xs("bum"),Wa=xs("um"),E8=xs("sp"),X8=xs("rtg"),W8=xs("rtc");function z8(t,e=wn){Md("ec",t,e)}function it(t,e){const n=jn;if(n===null)return t;const i=jd(n)||n.proxy,r=t.dirs||(t.dirs=[]);for(let s=0;se(o,a,void 0,s&&s[a]));else{const o=Object.keys(t);r=new Array(o.length);for(let a=0,l=o.length;axn(e)?!(e.type===Oi||e.type===Le&&!VP(e.children)):!0)?t:null}const Km=t=>t?rk(t)?jd(t)||t.proxy:Km(t.parent):null,Dh=kn(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>Km(t.parent),$root:t=>Km(t.root),$emit:t=>t.emit,$options:t=>NP(t),$forceUpdate:t=>t.f||(t.f=()=>XP(t.update)),$nextTick:t=>t.n||(t.n=et.bind(t.proxy)),$watch:t=>P8.bind(t)}),q8={get({_:t},e){const{ctx:n,setupState:i,data:r,props:s,accessCache:o,type:a,appContext:l}=t;let c;if(e[0]!=="$"){const h=o[e];if(h!==void 0)switch(h){case 1:return i[e];case 2:return r[e];case 4:return n[e];case 3:return s[e]}else{if(i!==Zt&&ct(i,e))return o[e]=1,i[e];if(r!==Zt&&ct(r,e))return o[e]=2,r[e];if((c=t.propsOptions[0])&&ct(c,e))return o[e]=3,s[e];if(n!==Zt&&ct(n,e))return o[e]=4,n[e];Jm&&(o[e]=0)}}const u=Dh[e];let O,f;if(u)return e==="$attrs"&&Ii(t,"get",e),u(t);if((O=a.__cssModules)&&(O=O[e]))return O;if(n!==Zt&&ct(n,e))return o[e]=4,n[e];if(f=l.config.globalProperties,ct(f,e))return f[e]},set({_:t},e,n){const{data:i,setupState:r,ctx:s}=t;return r!==Zt&&ct(r,e)?(r[e]=n,!0):i!==Zt&&ct(i,e)?(i[e]=n,!0):ct(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(s[e]=n,!0)},has({_:{data:t,setupState:e,accessCache:n,ctx:i,appContext:r,propsOptions:s}},o){let a;return!!n[o]||t!==Zt&&ct(t,o)||e!==Zt&&ct(e,o)||(a=s[0])&&ct(a,o)||ct(i,o)||ct(Dh,o)||ct(r.config.globalProperties,o)},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:ct(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};let Jm=!0;function U8(t){const e=NP(t),n=t.proxy,i=t.ctx;Jm=!1,e.beforeCreate&&tb(e.beforeCreate,t,"bc");const{data:r,computed:s,methods:o,watch:a,provide:l,inject:c,created:u,beforeMount:O,mounted:f,beforeUpdate:h,updated:p,activated:y,deactivated:$,beforeDestroy:m,beforeUnmount:d,destroyed:g,unmounted:v,render:b,renderTracked:_,renderTriggered:Q,errorCaptured:S,serverPrefetch:P,expose:w,inheritAttrs:x,components:k,directives:C,filters:T}=e;if(c&&D8(c,i,null,t.appContext.config.unwrapInjectedRef),o)for(const R in o){const X=o[R];st(X)&&(i[R]=X.bind(n))}if(r){const R=r.call(n,n);yt(R)&&(t.data=gn(R))}if(Jm=!0,s)for(const R in s){const X=s[R],D=st(X)?X.bind(n,n):st(X.get)?X.get.bind(n,n):bn,V=!st(X)&&st(X.set)?X.set.bind(n):bn,j=N({get:D,set:V});Object.defineProperty(i,R,{enumerable:!0,configurable:!0,get:()=>j.value,set:Z=>j.value=Z})}if(a)for(const R in a)jP(a[R],i,n,R);if(l){const R=st(l)?l.call(n):l;Reflect.ownKeys(R).forEach(X=>{kt(X,R[X])})}u&&tb(u,t,"c");function A(R,X){Fe(X)?X.forEach(D=>R(D.bind(n))):X&&R(X.bind(n))}if(A(Yd,O),A(xt,f),A(A8,h),A(Ps,p),A(C8,y),A(T8,$),A(z8,S),A(W8,_),A(X8,Q),A(Qn,d),A(Wa,v),A(E8,P),Fe(w))if(w.length){const R=t.exposed||(t.exposed={});w.forEach(X=>{Object.defineProperty(R,X,{get:()=>n[X],set:D=>n[X]=D})})}else t.exposed||(t.exposed={});b&&t.render===bn&&(t.render=b),x!=null&&(t.inheritAttrs=x),k&&(t.components=k),C&&(t.directives=C)}function D8(t,e,n=bn,i=!1){Fe(t)&&(t=eg(t));for(const r in t){const s=t[r];let o;yt(s)?"default"in s?o=De(s.from||r,s.default,!0):o=De(s.from||r):o=De(s),It(o)&&i?Object.defineProperty(e,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:a=>o.value=a}):e[r]=o}}function tb(t,e,n){Ki(Fe(t)?t.map(i=>i.bind(e.proxy)):t.bind(e.proxy),e,n)}function jP(t,e,n,i){const r=i.includes(".")?DP(n,i):()=>n[i];if(ot(t)){const s=e[t];st(s)&&Xe(r,s)}else if(st(t))Xe(r,t.bind(n));else if(yt(t))if(Fe(t))t.forEach(s=>jP(s,e,n,i));else{const s=st(t.handler)?t.handler.bind(n):e[t.handler];st(s)&&Xe(r,s,t)}}function NP(t){const e=t.type,{mixins:n,extends:i}=e,{mixins:r,optionsCache:s,config:{optionMergeStrategies:o}}=t.appContext,a=s.get(e);let l;return a?l=a:!r.length&&!n&&!i?l=e:(l={},r.length&&r.forEach(c=>Lh(l,c,o,!0)),Lh(l,e,o)),s.set(e,l),l}function Lh(t,e,n,i=!1){const{mixins:r,extends:s}=e;s&&Lh(t,s,n,!0),r&&r.forEach(o=>Lh(t,o,n,!0));for(const o in e)if(!(i&&o==="expose")){const a=L8[o]||n&&n[o];t[o]=a?a(t[o],e[o]):e[o]}return t}const L8={data:nb,props:na,emits:na,methods:na,computed:na,beforeCreate:Kn,created:Kn,beforeMount:Kn,mounted:Kn,beforeUpdate:Kn,updated:Kn,beforeDestroy:Kn,beforeUnmount:Kn,destroyed:Kn,unmounted:Kn,activated:Kn,deactivated:Kn,errorCaptured:Kn,serverPrefetch:Kn,components:na,directives:na,watch:M8,provide:nb,inject:B8};function nb(t,e){return e?t?function(){return kn(st(t)?t.call(this,this):t,st(e)?e.call(this,this):e)}:e:t}function B8(t,e){return na(eg(t),eg(e))}function eg(t){if(Fe(t)){const e={};for(let n=0;n0)&&!(o&16)){if(o&8){const u=t.vnode.dynamicProps;for(let O=0;O{l=!0;const[f,h]=GP(O,e,!0);kn(o,f),h&&a.push(...h)};!n&&e.mixins.length&&e.mixins.forEach(u),t.extends&&u(t.extends),t.mixins&&t.mixins.forEach(u)}if(!s&&!l)return i.set(t,Sl),Sl;if(Fe(s))for(let u=0;u-1,h[1]=y<0||p-1||ct(h,"default"))&&a.push(O)}}}const c=[o,a];return i.set(t,c),c}function ib(t){return t[0]!=="$"}function rb(t){const e=t&&t.toString().match(/^\s*function (\w+)/);return e?e[1]:t===null?"null":""}function sb(t,e){return rb(t)===rb(e)}function ob(t,e){return Fe(e)?e.findIndex(n=>sb(n,t)):st(e)&&sb(e,t)?0:-1}const HP=t=>t[0]==="_"||t==="$stable",Ey=t=>Fe(t)?t.map(Ur):[Ur(t)],V8=(t,e,n)=>{if(e._n)return e;const i=Y((...r)=>Ey(e(...r)),n);return i._c=!1,i},KP=(t,e,n)=>{const i=t._ctx;for(const r in t){if(HP(r))continue;const s=t[r];if(st(s))e[r]=V8(r,s,i);else if(s!=null){const o=Ey(s);e[r]=()=>o}}},JP=(t,e)=>{const n=Ey(e);t.slots.default=()=>n},j8=(t,e)=>{if(t.vnode.shapeFlag&32){const n=e._;n?(t.slots=mt(e),zh(e,"_",n)):KP(e,t.slots={})}else t.slots={},e&&JP(t,e);zh(t.slots,Vd,1)},N8=(t,e,n)=>{const{vnode:i,slots:r}=t;let s=!0,o=Zt;if(i.shapeFlag&32){const a=e._;a?n&&a===1?s=!1:(kn(r,e),!n&&a===1&&delete r._):(s=!e.$stable,KP(e,r)),o=e}else e&&(JP(t,e),o={default:1});if(s)for(const a in r)!HP(a)&&!(a in o)&&delete r[a]};function ek(){return{app:null,config:{isNativeTag:wX,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let F8=0;function G8(t,e){return function(i,r=null){st(i)||(i=Object.assign({},i)),r!=null&&!yt(r)&&(r=null);const s=ek(),o=new Set;let a=!1;const l=s.app={_uid:F8++,_component:i,_props:r,_container:null,_context:s,_instance:null,version:d6,get config(){return s.config},set config(c){},use(c,...u){return o.has(c)||(c&&st(c.install)?(o.add(c),c.install(l,...u)):st(c)&&(o.add(c),c(l,...u))),l},mixin(c){return s.mixins.includes(c)||s.mixins.push(c),l},component(c,u){return u?(s.components[c]=u,l):s.components[c]},directive(c,u){return u?(s.directives[c]=u,l):s.directives[c]},mount(c,u,O){if(!a){const f=B(i,r);return f.appContext=s,u&&e?e(f,c):t(f,c,O),a=!0,l._container=c,c.__vue_app__=l,jd(f.component)||f.component.proxy}},unmount(){a&&(t(null,l._container),delete l._container.__vue_app__)},provide(c,u){return s.provides[c]=u,l}};return l}}function ng(t,e,n,i,r=!1){if(Fe(t)){t.forEach((f,h)=>ng(f,e&&(Fe(e)?e[h]:e),n,i,r));return}if(lu(i)&&!r)return;const s=i.shapeFlag&4?jd(i.component)||i.component.proxy:i.el,o=r?null:s,{i:a,r:l}=t,c=e&&e.r,u=a.refs===Zt?a.refs={}:a.refs,O=a.setupState;if(c!=null&&c!==l&&(ot(c)?(u[c]=null,ct(O,c)&&(O[c]=null)):It(c)&&(c.value=null)),st(l))ds(l,a,12,[o,u]);else{const f=ot(l),h=It(l);if(f||h){const p=()=>{if(t.f){const y=f?u[l]:l.value;r?Fe(y)&&vy(y,s):Fe(y)?y.includes(s)||y.push(s):f?(u[l]=[s],ct(O,l)&&(O[l]=u[l])):(l.value=[s],t.k&&(u[t.k]=l.value))}else f?(u[l]=o,ct(O,l)&&(O[l]=o)):It(l)&&(l.value=o,t.k&&(u[t.k]=o))};o?(p.id=-1,ci(p,n)):p()}}}const ci=x8;function H8(t){return K8(t)}function K8(t,e){const n=TX();n.__VUE__=!0;const{insert:i,remove:r,patchProp:s,createElement:o,createText:a,createComment:l,setText:c,setElementText:u,parentNode:O,nextSibling:f,setScopeId:h=bn,cloneNode:p,insertStaticContent:y}=t,$=(W,q,F,fe=null,he=null,ve=null,xe=!1,me=null,le=!!q.dynamicChildren)=>{if(W===q)return;W&&!sa(W,q)&&(fe=re(W),ee(W,he,ve,!0),W=null),q.patchFlag===-2&&(le=!1,q.dynamicChildren=null);const{type:oe,ref:ce,shapeFlag:K}=q;switch(oe){case hf:m(W,q,F,fe);break;case Oi:d(W,q,F,fe);break;case m0:W==null&&g(q,F,fe,xe);break;case Le:C(W,q,F,fe,he,ve,xe,me,le);break;default:K&1?_(W,q,F,fe,he,ve,xe,me,le):K&6?T(W,q,F,fe,he,ve,xe,me,le):(K&64||K&128)&&oe.process(W,q,F,fe,he,ve,xe,me,le,Re)}ce!=null&&he&&ng(ce,W&&W.ref,ve,q||W,!q)},m=(W,q,F,fe)=>{if(W==null)i(q.el=a(q.children),F,fe);else{const he=q.el=W.el;q.children!==W.children&&c(he,q.children)}},d=(W,q,F,fe)=>{W==null?i(q.el=l(q.children||""),F,fe):q.el=W.el},g=(W,q,F,fe)=>{[W.el,W.anchor]=y(W.children,q,F,fe,W.el,W.anchor)},v=({el:W,anchor:q},F,fe)=>{let he;for(;W&&W!==q;)he=f(W),i(W,F,fe),W=he;i(q,F,fe)},b=({el:W,anchor:q})=>{let F;for(;W&&W!==q;)F=f(W),r(W),W=F;r(q)},_=(W,q,F,fe,he,ve,xe,me,le)=>{xe=xe||q.type==="svg",W==null?Q(q,F,fe,he,ve,xe,me,le):w(W,q,he,ve,xe,me,le)},Q=(W,q,F,fe,he,ve,xe,me)=>{let le,oe;const{type:ce,props:K,shapeFlag:ge,transition:Te,patchFlag:Ye,dirs:Ae}=W;if(W.el&&p!==void 0&&Ye===-1)le=W.el=p(W.el);else{if(le=W.el=o(W.type,ve,K&&K.is,K),ge&8?u(le,W.children):ge&16&&P(W.children,le,null,fe,he,ve&&ce!=="foreignObject",xe,me),Ae&&Fo(W,null,fe,"created"),K){for(const pe in K)pe!=="value"&&!ih(pe)&&s(le,pe,null,K[pe],ve,W.children,fe,he,H);"value"in K&&s(le,"value",null,K.value),(oe=K.onVnodeBeforeMount)&&Xr(oe,fe,W)}S(le,W,W.scopeId,xe,fe)}Ae&&Fo(W,null,fe,"beforeMount");const ae=(!he||he&&!he.pendingBranch)&&Te&&!Te.persisted;ae&&Te.beforeEnter(le),i(le,q,F),((oe=K&&K.onVnodeMounted)||ae||Ae)&&ci(()=>{oe&&Xr(oe,fe,W),ae&&Te.enter(le),Ae&&Fo(W,null,fe,"mounted")},he)},S=(W,q,F,fe,he)=>{if(F&&h(W,F),fe)for(let ve=0;ve{for(let oe=le;oe{const me=q.el=W.el;let{patchFlag:le,dynamicChildren:oe,dirs:ce}=q;le|=W.patchFlag&16;const K=W.props||Zt,ge=q.props||Zt;let Te;F&&Go(F,!1),(Te=ge.onVnodeBeforeUpdate)&&Xr(Te,F,q,W),ce&&Fo(q,W,F,"beforeUpdate"),F&&Go(F,!0);const Ye=he&&q.type!=="foreignObject";if(oe?x(W.dynamicChildren,oe,me,F,fe,Ye,ve):xe||D(W,q,me,null,F,fe,Ye,ve,!1),le>0){if(le&16)k(me,q,K,ge,F,fe,he);else if(le&2&&K.class!==ge.class&&s(me,"class",null,ge.class,he),le&4&&s(me,"style",K.style,ge.style,he),le&8){const Ae=q.dynamicProps;for(let ae=0;ae{Te&&Xr(Te,F,q,W),ce&&Fo(q,W,F,"updated")},fe)},x=(W,q,F,fe,he,ve,xe)=>{for(let me=0;me{if(F!==fe){for(const me in fe){if(ih(me))continue;const le=fe[me],oe=F[me];le!==oe&&me!=="value"&&s(W,me,oe,le,xe,q.children,he,ve,H)}if(F!==Zt)for(const me in F)!ih(me)&&!(me in fe)&&s(W,me,F[me],null,xe,q.children,he,ve,H);"value"in fe&&s(W,"value",F.value,fe.value)}},C=(W,q,F,fe,he,ve,xe,me,le)=>{const oe=q.el=W?W.el:a(""),ce=q.anchor=W?W.anchor:a("");let{patchFlag:K,dynamicChildren:ge,slotScopeIds:Te}=q;Te&&(me=me?me.concat(Te):Te),W==null?(i(oe,F,fe),i(ce,F,fe),P(q.children,F,ce,he,ve,xe,me,le)):K>0&&K&64&&ge&&W.dynamicChildren?(x(W.dynamicChildren,ge,F,he,ve,xe,me),(q.key!=null||he&&q===he.subTree)&&Xy(W,q,!0)):D(W,q,F,ce,he,ve,xe,me,le)},T=(W,q,F,fe,he,ve,xe,me,le)=>{q.slotScopeIds=me,W==null?q.shapeFlag&512?he.ctx.activate(q,F,fe,xe,le):E(q,F,fe,he,ve,xe,le):A(W,q,le)},E=(W,q,F,fe,he,ve,xe)=>{const me=W.component=a6(W,fe,he);if(Bd(W)&&(me.ctx.renderer=Re),l6(me),me.asyncDep){if(he&&he.registerDep(me,R),!W.el){const le=me.subTree=B(Oi);d(null,le,q,F)}return}R(me,W,q,F,he,ve,xe)},A=(W,q,F)=>{const fe=q.component=W.component;if(Q8(W,q,F))if(fe.asyncDep&&!fe.asyncResolved){X(fe,q,F);return}else fe.next=q,g8(fe.update),fe.update();else q.el=W.el,fe.vnode=q},R=(W,q,F,fe,he,ve,xe)=>{const me=()=>{if(W.isMounted){let{next:ce,bu:K,u:ge,parent:Te,vnode:Ye}=W,Ae=ce,ae;Go(W,!1),ce?(ce.el=Ye.el,X(W,ce,xe)):ce=Ye,K&&rh(K),(ae=ce.props&&ce.props.onVnodeBeforeUpdate)&&Xr(ae,Te,ce,Ye),Go(W,!0);const pe=d0(W),Oe=W.subTree;W.subTree=pe,$(Oe,pe,O(Oe.el),re(Oe),W,he,ve),ce.el=pe.el,Ae===null&&S8(W,pe.el),ge&&ci(ge,he),(ae=ce.props&&ce.props.onVnodeUpdated)&&ci(()=>Xr(ae,Te,ce,Ye),he)}else{let ce;const{el:K,props:ge}=q,{bm:Te,m:Ye,parent:Ae}=W,ae=lu(q);if(Go(W,!1),Te&&rh(Te),!ae&&(ce=ge&&ge.onVnodeBeforeMount)&&Xr(ce,Ae,q),Go(W,!0),K&&ue){const pe=()=>{W.subTree=d0(W),ue(K,W.subTree,W,he,null)};ae?q.type.__asyncLoader().then(()=>!W.isUnmounted&&pe()):pe()}else{const pe=W.subTree=d0(W);$(null,pe,F,fe,W,he,ve),q.el=pe.el}if(Ye&&ci(Ye,he),!ae&&(ce=ge&&ge.onVnodeMounted)){const pe=q;ci(()=>Xr(ce,Ae,pe),he)}(q.shapeFlag&256||Ae&&lu(Ae.vnode)&&Ae.vnode.shapeFlag&256)&&W.a&&ci(W.a,he),W.isMounted=!0,q=F=fe=null}},le=W.effect=new by(me,()=>XP(oe),W.scope),oe=W.update=()=>le.run();oe.id=W.uid,Go(W,!0),oe()},X=(W,q,F)=>{q.component=W;const fe=W.vnode.props;W.vnode=q,W.next=null,Z8(W,q.props,fe,F),N8(W,q.children,F),Ea(),Ud(void 0,W.update),Xa()},D=(W,q,F,fe,he,ve,xe,me,le=!1)=>{const oe=W&&W.children,ce=W?W.shapeFlag:0,K=q.children,{patchFlag:ge,shapeFlag:Te}=q;if(ge>0){if(ge&128){j(oe,K,F,fe,he,ve,xe,me,le);return}else if(ge&256){V(oe,K,F,fe,he,ve,xe,me,le);return}}Te&8?(ce&16&&H(oe,he,ve),K!==oe&&u(F,K)):ce&16?Te&16?j(oe,K,F,fe,he,ve,xe,me,le):H(oe,he,ve,!0):(ce&8&&u(F,""),Te&16&&P(K,F,fe,he,ve,xe,me,le))},V=(W,q,F,fe,he,ve,xe,me,le)=>{W=W||Sl,q=q||Sl;const oe=W.length,ce=q.length,K=Math.min(oe,ce);let ge;for(ge=0;gece?H(W,he,ve,!0,!1,K):P(q,F,fe,he,ve,xe,me,le,K)},j=(W,q,F,fe,he,ve,xe,me,le)=>{let oe=0;const ce=q.length;let K=W.length-1,ge=ce-1;for(;oe<=K&&oe<=ge;){const Te=W[oe],Ye=q[oe]=le?Gs(q[oe]):Ur(q[oe]);if(sa(Te,Ye))$(Te,Ye,F,null,he,ve,xe,me,le);else break;oe++}for(;oe<=K&&oe<=ge;){const Te=W[K],Ye=q[ge]=le?Gs(q[ge]):Ur(q[ge]);if(sa(Te,Ye))$(Te,Ye,F,null,he,ve,xe,me,le);else break;K--,ge--}if(oe>K){if(oe<=ge){const Te=ge+1,Ye=Tege)for(;oe<=K;)ee(W[oe],he,ve,!0),oe++;else{const Te=oe,Ye=oe,Ae=new Map;for(oe=Ye;oe<=ge;oe++){const Ot=q[oe]=le?Gs(q[oe]):Ur(q[oe]);Ot.key!=null&&Ae.set(Ot.key,oe)}let ae,pe=0;const Oe=ge-Ye+1;let Se=!1,qe=0;const ht=new Array(Oe);for(oe=0;oe=Oe){ee(Ot,he,ve,!0);continue}let Pt;if(Ot.key!=null)Pt=Ae.get(Ot.key);else for(ae=Ye;ae<=ge;ae++)if(ht[ae-Ye]===0&&sa(Ot,q[ae])){Pt=ae;break}Pt===void 0?ee(Ot,he,ve,!0):(ht[Pt-Ye]=oe+1,Pt>=qe?qe=Pt:Se=!0,$(Ot,q[Pt],F,null,he,ve,xe,me,le),pe++)}const Ct=Se?J8(ht):Sl;for(ae=Ct.length-1,oe=Oe-1;oe>=0;oe--){const Ot=Ye+oe,Pt=q[Ot],Ut=Ot+1{const{el:ve,type:xe,transition:me,children:le,shapeFlag:oe}=W;if(oe&6){Z(W.component.subTree,q,F,fe);return}if(oe&128){W.suspense.move(q,F,fe);return}if(oe&64){xe.move(W,q,F,Re);return}if(xe===Le){i(ve,q,F);for(let K=0;Kme.enter(ve),he);else{const{leave:K,delayLeave:ge,afterLeave:Te}=me,Ye=()=>i(ve,q,F),Ae=()=>{K(ve,()=>{Ye(),Te&&Te()})};ge?ge(ve,Ye,Ae):Ae()}else i(ve,q,F)},ee=(W,q,F,fe=!1,he=!1)=>{const{type:ve,props:xe,ref:me,children:le,dynamicChildren:oe,shapeFlag:ce,patchFlag:K,dirs:ge}=W;if(me!=null&&ng(me,null,F,W,!0),ce&256){q.ctx.deactivate(W);return}const Te=ce&1&&ge,Ye=!lu(W);let Ae;if(Ye&&(Ae=xe&&xe.onVnodeBeforeUnmount)&&Xr(Ae,q,W),ce&6)ne(W.component,F,fe);else{if(ce&128){W.suspense.unmount(F,fe);return}Te&&Fo(W,null,q,"beforeUnmount"),ce&64?W.type.remove(W,q,F,he,Re,fe):oe&&(ve!==Le||K>0&&K&64)?H(oe,q,F,!1,!0):(ve===Le&&K&384||!he&&ce&16)&&H(le,q,F),fe&&se(W)}(Ye&&(Ae=xe&&xe.onVnodeUnmounted)||Te)&&ci(()=>{Ae&&Xr(Ae,q,W),Te&&Fo(W,null,q,"unmounted")},F)},se=W=>{const{type:q,el:F,anchor:fe,transition:he}=W;if(q===Le){I(F,fe);return}if(q===m0){b(W);return}const ve=()=>{r(F),he&&!he.persisted&&he.afterLeave&&he.afterLeave()};if(W.shapeFlag&1&&he&&!he.persisted){const{leave:xe,delayLeave:me}=he,le=()=>xe(F,ve);me?me(W.el,ve,le):le()}else ve()},I=(W,q)=>{let F;for(;W!==q;)F=f(W),r(W),W=F;r(q)},ne=(W,q,F)=>{const{bum:fe,scope:he,update:ve,subTree:xe,um:me}=W;fe&&rh(fe),he.stop(),ve&&(ve.active=!1,ee(xe,W,q,F)),me&&ci(me,q),ci(()=>{W.isUnmounted=!0},q),q&&q.pendingBranch&&!q.isUnmounted&&W.asyncDep&&!W.asyncResolved&&W.suspenseId===q.pendingId&&(q.deps--,q.deps===0&&q.resolve())},H=(W,q,F,fe=!1,he=!1,ve=0)=>{for(let xe=ve;xeW.shapeFlag&6?re(W.component.subTree):W.shapeFlag&128?W.suspense.next():f(W.anchor||W.el),G=(W,q,F)=>{W==null?q._vnode&&ee(q._vnode,null,null,!0):$(q._vnode||null,W,q,null,null,null,F),IP(),q._vnode=W},Re={p:$,um:ee,m:Z,r:se,mt:E,mc:P,pc:D,pbc:x,n:re,o:t};let _e,ue;return e&&([_e,ue]=e(Re)),{render:G,hydrate:_e,createApp:G8(G,_e)}}function Go({effect:t,update:e},n){t.allowRecurse=e.allowRecurse=n}function Xy(t,e,n=!1){const i=t.children,r=e.children;if(Fe(i)&&Fe(r))for(let s=0;s>1,t[n[a]]0&&(e[i]=n[s-1]),n[s]=i)}}for(s=n.length,o=n[s-1];s-- >0;)n[s]=o,o=e[o];return n}const e6=t=>t.__isTeleport,cu=t=>t&&(t.disabled||t.disabled===""),ab=t=>typeof SVGElement!="undefined"&&t instanceof SVGElement,ig=(t,e)=>{const n=t&&t.to;return ot(n)?e?e(n):null:n},t6={__isTeleport:!0,process(t,e,n,i,r,s,o,a,l,c){const{mc:u,pc:O,pbc:f,o:{insert:h,querySelector:p,createText:y,createComment:$}}=c,m=cu(e.props);let{shapeFlag:d,children:g,dynamicChildren:v}=e;if(t==null){const b=e.el=y(""),_=e.anchor=y("");h(b,n,i),h(_,n,i);const Q=e.target=ig(e.props,p),S=e.targetAnchor=y("");Q&&(h(S,Q),o=o||ab(Q));const P=(w,x)=>{d&16&&u(g,w,x,r,s,o,a,l)};m?P(n,_):Q&&P(Q,S)}else{e.el=t.el;const b=e.anchor=t.anchor,_=e.target=t.target,Q=e.targetAnchor=t.targetAnchor,S=cu(t.props),P=S?n:_,w=S?b:Q;if(o=o||ab(_),v?(f(t.dynamicChildren,v,P,r,s,o,a),Xy(t,e,!0)):l||O(t,e,P,w,r,s,o,a,!1),m)S||dO(e,n,b,c,1);else if((e.props&&e.props.to)!==(t.props&&t.props.to)){const x=e.target=ig(e.props,p);x&&dO(e,x,null,c,0)}else S&&dO(e,_,Q,c,1)}},remove(t,e,n,i,{um:r,o:{remove:s}},o){const{shapeFlag:a,children:l,anchor:c,targetAnchor:u,target:O,props:f}=t;if(O&&s(u),(o||!cu(f))&&(s(c),a&16))for(let h=0;h0?Sr||Sl:null,i6(),Iu>0&&Sr&&Sr.push(t),t}function ie(t,e,n,i,r,s){return nk(U(t,e,n,i,r,s,!0))}function be(t,e,n,i,r){return nk(B(t,e,n,i,r,!0))}function xn(t){return t?t.__v_isVNode===!0:!1}function sa(t,e){return t.type===e.type&&t.key===e.key}const Vd="__vInternal",ik=({key:t})=>t!=null?t:null,sh=({ref:t,ref_key:e,ref_for:n})=>t!=null?ot(t)||It(t)||st(t)?{i:jn,r:t,k:e,f:!!n}:t:null;function U(t,e=null,n=null,i=0,r=null,s=t===Le?0:1,o=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&ik(e),ref:e&&sh(e),scopeId:Ld,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:i,dynamicProps:r,dynamicChildren:null,appContext:null};return a?(Wy(l,n),s&128&&t.normalize(l)):n&&(l.shapeFlag|=ot(n)?8:16),Iu>0&&!o&&Sr&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&Sr.push(l),l}const B=r6;function r6(t,e=null,n=null,i=0,r=null,s=!1){if((!t||t===ZP)&&(t=Oi),xn(t)){const a=ys(t,e,!0);return n&&Wy(a,n),Iu>0&&!s&&Sr&&(a.shapeFlag&6?Sr[Sr.indexOf(t)]=a:Sr.push(a)),a.patchFlag|=-2,a}if(h6(t)&&(t=t.__vccOpts),e){e=Bh(e);let{class:a,style:l}=e;a&&!ot(a)&&(e.class=te(a)),yt(l)&&(kP(l)&&!Fe(l)&&(l=kn({},l)),e.style=tt(l))}const o=ot(t)?1:w8(t)?128:e6(t)?64:yt(t)?4:st(t)?2:0;return U(t,e,n,i,r,o,s,!0)}function Bh(t){return t?kP(t)||Vd in t?kn({},t):t:null}function ys(t,e,n=!1){const{props:i,ref:r,patchFlag:s,children:o}=t,a=e?ii(i||{},e):i;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:a,key:a&&ik(a),ref:e&&e.ref?n&&r?Fe(r)?r.concat(sh(e)):[r,sh(e)]:sh(e):r,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:o,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==Le?s===-1?16:s|16:s,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&ys(t.ssContent),ssFallback:t.ssFallback&&ys(t.ssFallback),el:t.el,anchor:t.anchor}}function Ee(t=" ",e=0){return B(hf,null,t,e)}function Qe(t="",e=!1){return e?(L(),be(Oi,null,t)):B(Oi,null,t)}function Ur(t){return t==null||typeof t=="boolean"?B(Oi):Fe(t)?B(Le,null,t.slice()):typeof t=="object"?Gs(t):B(hf,null,String(t))}function Gs(t){return t.el===null||t.memo?t:ys(t)}function Wy(t,e){let n=0;const{shapeFlag:i}=t;if(e==null)e=null;else if(Fe(e))n=16;else if(typeof e=="object")if(i&65){const r=e.default;r&&(r._c&&(r._d=!1),Wy(t,r()),r._c&&(r._d=!0));return}else{n=32;const r=e._;!r&&!(Vd in e)?e._ctx=jn:r===3&&jn&&(jn.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else st(e)?(e={default:e,_ctx:jn},n=32):(e=String(e),i&64?(n=16,e=[Ee(e)]):n=8);t.children=e,t.shapeFlag|=n}function ii(...t){const e={};for(let n=0;nwn||jn,Xl=t=>{wn=t,t.scope.on()},ya=()=>{wn&&wn.scope.off(),wn=null};function rk(t){return t.vnode.shapeFlag&4}let qu=!1;function l6(t,e=!1){qu=e;const{props:n,children:i}=t.vnode,r=rk(t);Y8(t,n,r,e),j8(t,i);const s=r?c6(t,e):void 0;return qu=!1,s}function c6(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=El(new Proxy(t.ctx,q8));const{setup:i}=n;if(i){const r=t.setupContext=i.length>1?ok(t):null;Xl(t),Ea();const s=ds(i,t,0,[t.props,r]);if(Xa(),ya(),Wh(s)){if(s.then(ya,ya),e)return s.then(o=>{cb(t,o,e)}).catch(o=>{qd(o,t,0)});t.asyncDep=s}else cb(t,s,e)}else sk(t,e)}function cb(t,e,n){st(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:yt(e)&&(t.setupState=RP(e)),sk(t,n)}let ub;function sk(t,e,n){const i=t.type;if(!t.render){if(!e&&ub&&!i.render){const r=i.template;if(r){const{isCustomElement:s,compilerOptions:o}=t.appContext.config,{delimiters:a,compilerOptions:l}=i,c=kn(kn({isCustomElement:s,delimiters:a},o),l);i.render=ub(r,c)}}t.render=i.render||bn}Xl(t),Ea(),U8(t),Xa(),ya()}function u6(t){return new Proxy(t.attrs,{get(e,n){return Ii(t,"get","$attrs"),e[n]}})}function ok(t){const e=i=>{t.exposed=i||{}};let n;return{get attrs(){return n||(n=u6(t))},slots:t.slots,emit:t.emit,expose:e}}function jd(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(RP(El(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in Dh)return Dh[n](t)}}))}const f6=/(?:^|[-_])(\w)/g,O6=t=>t.replace(f6,e=>e.toUpperCase()).replace(/[-_]/g,"");function ak(t){return st(t)&&t.displayName||t.name}function lk(t,e,n=!1){let i=ak(e);if(!i&&e.__file){const r=e.__file.match(/([^/\\]+)\.\w+$/);r&&(i=r[1])}if(!i&&t&&t.parent){const r=s=>{for(const o in s)if(s[o]===e)return o};i=r(t.components||t.parent.type.components)||r(t.appContext.components)}return i?O6(i):n?"App":"Anonymous"}function h6(t){return st(t)&&"__vccOpts"in t}const N=(t,e)=>c8(t,e,qu);function df(){return uk().slots}function ck(){return uk().attrs}function uk(){const t=$t();return t.setupContext||(t.setupContext=ok(t))}function Ke(t,e,n){const i=arguments.length;return i===2?yt(e)&&!Fe(e)?xn(e)?B(t,null,[e]):B(t,e):B(t,null,e):(i>3?n=Array.prototype.slice.call(arguments,2):i===3&&xn(n)&&(n=[n]),B(t,e,n))}const d6="3.2.34",p6="http://www.w3.org/2000/svg",oa=typeof document!="undefined"?document:null,fb=oa&&oa.createElement("template"),m6={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,i)=>{const r=e?oa.createElementNS(p6,t):oa.createElement(t,n?{is:n}:void 0);return t==="select"&&i&&i.multiple!=null&&r.setAttribute("multiple",i.multiple),r},createText:t=>oa.createTextNode(t),createComment:t=>oa.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>oa.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},cloneNode(t){const e=t.cloneNode(!0);return"_value"in t&&(e._value=t._value),e},insertStaticContent(t,e,n,i,r,s){const o=n?n.previousSibling:e.lastChild;if(r&&(r===s||r.nextSibling))for(;e.insertBefore(r.cloneNode(!0),n),!(r===s||!(r=r.nextSibling)););else{fb.innerHTML=i?`${t}`:t;const a=fb.content;if(i){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}e.insertBefore(a,n)}return[o?o.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}};function g6(t,e,n){const i=t._vtc;i&&(e=(e?[e,...i]:[...i]).join(" ")),e==null?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}function v6(t,e,n){const i=t.style,r=ot(n);if(n&&!r){for(const s in n)rg(i,s,n[s]);if(e&&!ot(e))for(const s in e)n[s]==null&&rg(i,s,"")}else{const s=i.display;r?e!==n&&(i.cssText=n):e&&t.removeAttribute("style"),"_vod"in t&&(i.display=s)}}const Ob=/\s*!important$/;function rg(t,e,n){if(Fe(n))n.forEach(i=>rg(t,e,i));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const i=y6(t,e);Ob.test(n)?t.setProperty(Ao(i),n.replace(Ob,""),"important"):t[i]=n}}const hb=["Webkit","Moz","ms"],g0={};function y6(t,e){const n=g0[e];if(n)return n;let i=nr(e);if(i!=="filter"&&i in t)return g0[e]=i;i=_r(i);for(let r=0;r{let t=Date.now,e=!1;if(typeof window!="undefined"){Date.now()>document.createEvent("Event").timeStamp&&(t=()=>performance.now());const n=navigator.userAgent.match(/firefox\/(\d+)/i);e=!!(n&&Number(n[1])<=53)}return[t,e]})();let sg=0;const Q6=Promise.resolve(),S6=()=>{sg=0},w6=()=>sg||(Q6.then(S6),sg=fk());function no(t,e,n,i){t.addEventListener(e,n,i)}function x6(t,e,n,i){t.removeEventListener(e,n,i)}function P6(t,e,n,i,r=null){const s=t._vei||(t._vei={}),o=s[e];if(i&&o)o.value=i;else{const[a,l]=k6(e);if(i){const c=s[e]=C6(i,r);no(t,a,c,l)}else o&&(x6(t,a,o,l),s[e]=void 0)}}const pb=/(?:Once|Passive|Capture)$/;function k6(t){let e;if(pb.test(t)){e={};let n;for(;n=t.match(pb);)t=t.slice(0,t.length-n[0].length),e[n[0].toLowerCase()]=!0}return[Ao(t.slice(2)),e]}function C6(t,e){const n=i=>{const r=i.timeStamp||fk();(_6||r>=n.attached-1)&&Ki(T6(i,n.value),e,5,[i])};return n.value=t,n.attached=w6(),n}function T6(t,e){if(Fe(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map(i=>r=>!r._stopped&&i&&i(r))}else return e}const mb=/^on[a-z]/,R6=(t,e,n,i,r=!1,s,o,a,l)=>{e==="class"?g6(t,i,r):e==="style"?v6(t,n,i):Xd(e)?gy(e)||P6(t,e,n,i,o):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):A6(t,e,i,r))?b6(t,e,i,s,o,a,l):(e==="true-value"?t._trueValue=i:e==="false-value"&&(t._falseValue=i),$6(t,e,i,r))};function A6(t,e,n,i){return i?!!(e==="innerHTML"||e==="textContent"||e in t&&mb.test(e)&&st(n)):e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA"||mb.test(e)&&ot(n)?!1:e in t}const Ds="transition",Rc="animation",ri=(t,{slots:e})=>Ke(BP,hk(t),e);ri.displayName="Transition";const Ok={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},E6=ri.props=kn({},BP.props,Ok),Ho=(t,e=[])=>{Fe(t)?t.forEach(n=>n(...e)):t&&t(...e)},gb=t=>t?Fe(t)?t.some(e=>e.length>1):t.length>1:!1;function hk(t){const e={};for(const C in t)C in Ok||(e[C]=t[C]);if(t.css===!1)return e;const{name:n="v",type:i,duration:r,enterFromClass:s=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=s,appearActiveClass:c=o,appearToClass:u=a,leaveFromClass:O=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=t,p=X6(r),y=p&&p[0],$=p&&p[1],{onBeforeEnter:m,onEnter:d,onEnterCancelled:g,onLeave:v,onLeaveCancelled:b,onBeforeAppear:_=m,onAppear:Q=d,onAppearCancelled:S=g}=e,P=(C,T,E)=>{Vs(C,T?u:a),Vs(C,T?c:o),E&&E()};let w=!1;const x=(C,T)=>{w=!1,Vs(C,O),Vs(C,h),Vs(C,f),T&&T()},k=C=>(T,E)=>{const A=C?Q:d,R=()=>P(T,C,E);Ho(A,[T,R]),vb(()=>{Vs(T,C?l:s),as(T,C?u:a),gb(A)||yb(T,i,y,R)})};return kn(e,{onBeforeEnter(C){Ho(m,[C]),as(C,s),as(C,o)},onBeforeAppear(C){Ho(_,[C]),as(C,l),as(C,c)},onEnter:k(!1),onAppear:k(!0),onLeave(C,T){w=!0;const E=()=>x(C,T);as(C,O),pk(),as(C,f),vb(()=>{!w||(Vs(C,O),as(C,h),gb(v)||yb(C,i,$,E))}),Ho(v,[C,E])},onEnterCancelled(C){P(C,!1),Ho(g,[C])},onAppearCancelled(C){P(C,!0),Ho(S,[C])},onLeaveCancelled(C){x(C),Ho(b,[C])}})}function X6(t){if(t==null)return null;if(yt(t))return[v0(t.enter),v0(t.leave)];{const e=v0(t);return[e,e]}}function v0(t){return Ih(t)}function as(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.add(n)),(t._vtc||(t._vtc=new Set)).add(e)}function Vs(t,e){e.split(/\s+/).forEach(i=>i&&t.classList.remove(i));const{_vtc:n}=t;n&&(n.delete(e),n.size||(t._vtc=void 0))}function vb(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let W6=0;function yb(t,e,n,i){const r=t._endId=++W6,s=()=>{r===t._endId&&i()};if(n)return setTimeout(s,n);const{type:o,timeout:a,propCount:l}=dk(t,e);if(!o)return i();const c=o+"end";let u=0;const O=()=>{t.removeEventListener(c,f),s()},f=h=>{h.target===t&&++u>=l&&O()};setTimeout(()=>{u(n[p]||"").split(", "),r=i(Ds+"Delay"),s=i(Ds+"Duration"),o=$b(r,s),a=i(Rc+"Delay"),l=i(Rc+"Duration"),c=$b(a,l);let u=null,O=0,f=0;e===Ds?o>0&&(u=Ds,O=o,f=s.length):e===Rc?c>0&&(u=Rc,O=c,f=l.length):(O=Math.max(o,c),u=O>0?o>c?Ds:Rc:null,f=u?u===Ds?s.length:l.length:0);const h=u===Ds&&/\b(transform|all)(,|$)/.test(n[Ds+"Property"]);return{type:u,timeout:O,propCount:f,hasTransform:h}}function $b(t,e){for(;t.lengthbb(n)+bb(t[i])))}function bb(t){return Number(t.slice(0,-1).replace(",","."))*1e3}function pk(){return document.body.offsetHeight}const mk=new WeakMap,gk=new WeakMap,z6={name:"TransitionGroup",props:kn({},E6,{tag:String,moveClass:String}),setup(t,{slots:e}){const n=$t(),i=LP();let r,s;return Ps(()=>{if(!r.length)return;const o=t.moveClass||`${t.name||"v"}-move`;if(!D6(r[0].el,n.vnode.el,o))return;r.forEach(I6),r.forEach(q6);const a=r.filter(U6);pk(),a.forEach(l=>{const c=l.el,u=c.style;as(c,o),u.transform=u.webkitTransform=u.transitionDuration="";const O=c._moveCb=f=>{f&&f.target!==c||(!f||/transform$/.test(f.propertyName))&&(c.removeEventListener("transitionend",O),c._moveCb=null,Vs(c,o))};c.addEventListener("transitionend",O)})}),()=>{const o=mt(t),a=hk(o);let l=o.tag||Le;r=s,s=e.default?Ty(e.default()):[];for(let c=0;c{o.split(/\s+/).forEach(a=>a&&i.classList.remove(a))}),n.split(/\s+/).forEach(o=>o&&i.classList.add(o)),i.style.display="none";const r=e.nodeType===1?e:e.parentNode;r.appendChild(i);const{hasTransform:s}=dk(i);return r.removeChild(i),s}const Wl=t=>{const e=t.props["onUpdate:modelValue"]||!1;return Fe(e)?n=>rh(e,n):e};function L6(t){t.target.composing=!0}function _b(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const B6={created(t,{modifiers:{lazy:e,trim:n,number:i}},r){t._assign=Wl(r);const s=i||r.props&&r.props.type==="number";no(t,e?"change":"input",o=>{if(o.target.composing)return;let a=t.value;n&&(a=a.trim()),s&&(a=Ih(a)),t._assign(a)}),n&&no(t,"change",()=>{t.value=t.value.trim()}),e||(no(t,"compositionstart",L6),no(t,"compositionend",_b),no(t,"change",_b))},mounted(t,{value:e}){t.value=e==null?"":e},beforeUpdate(t,{value:e,modifiers:{lazy:n,trim:i,number:r}},s){if(t._assign=Wl(s),t.composing||document.activeElement===t&&t.type!=="range"&&(n||i&&t.value.trim()===e||(r||t.type==="number")&&Ih(t.value)===e))return;const o=e==null?"":e;t.value!==o&&(t.value=o)}},Mh={deep:!0,created(t,e,n){t._assign=Wl(n),no(t,"change",()=>{const i=t._modelValue,r=$k(t),s=t.checked,o=t._assign;if(Fe(i)){const a=fP(i,r),l=a!==-1;if(s&&!l)o(i.concat(r));else if(!s&&l){const c=[...i];c.splice(a,1),o(c)}}else if(Wd(i)){const a=new Set(i);s?a.add(r):a.delete(r),o(a)}else o(bk(t,s))})},mounted:Qb,beforeUpdate(t,e,n){t._assign=Wl(n),Qb(t,e,n)}};function Qb(t,{value:e,oldValue:n},i){t._modelValue=e,Fe(e)?t.checked=fP(e,i.props.value)>-1:Wd(e)?t.checked=e.has(i.props.value):e!==n&&(t.checked=Al(e,bk(t,!0)))}const yk={created(t,{value:e},n){t.checked=Al(e,n.props.value),t._assign=Wl(n),no(t,"change",()=>{t._assign($k(t))})},beforeUpdate(t,{value:e,oldValue:n},i){t._assign=Wl(i),e!==n&&(t.checked=Al(e,i.props.value))}};function $k(t){return"_value"in t?t._value:t.value}function bk(t,e){const n=e?"_trueValue":"_falseValue";return n in t?t[n]:e}const M6=["ctrl","shift","alt","meta"],Y6={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,e)=>M6.some(n=>t[`${n}Key`]&&!e.includes(n))},Et=(t,e)=>(n,...i)=>{for(let r=0;rn=>{if(!("key"in n))return;const i=Ao(n.key);if(e.some(r=>r===i||Z6[r]===i))return t(n)},Lt={beforeMount(t,{value:e},{transition:n}){t._vod=t.style.display==="none"?"":t.style.display,n&&e?n.beforeEnter(t):Ac(t,e)},mounted(t,{value:e},{transition:n}){n&&e&&n.enter(t)},updated(t,{value:e,oldValue:n},{transition:i}){!e!=!n&&(i?e?(i.beforeEnter(t),Ac(t,!0),i.enter(t)):i.leave(t,()=>{Ac(t,!1)}):Ac(t,e))},beforeUnmount(t,{value:e}){Ac(t,e)}};function Ac(t,e){t.style.display=e?t._vod:"none"}const V6=kn({patchProp:R6},m6);let Sb;function _k(){return Sb||(Sb=H8(V6))}const zl=(...t)=>{_k().render(...t)},Qk=(...t)=>{const e=_k().createApp(...t),{mount:n}=e;return e.mount=i=>{const r=j6(i);if(!r)return;const s=e._component;!st(s)&&!s.render&&!s.template&&(s.template=r.innerHTML),r.innerHTML="";const o=n(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},e};function j6(t){return ot(t)?document.querySelector(t):t}var N6=!1;/*! + * pinia v2.0.16 + * (c) 2022 Eduardo San Martin Morote + * @license MIT + */let Sk;const Nd=t=>Sk=t,wk=Symbol();function og(t){return t&&typeof t=="object"&&Object.prototype.toString.call(t)==="[object Object]"&&typeof t.toJSON!="function"}var fu;(function(t){t.direct="direct",t.patchObject="patch object",t.patchFunction="patch function"})(fu||(fu={}));function F6(){const t=mP(!0),e=t.run(()=>J({}));let n=[],i=[];const r=El({install(s){Nd(r),r._a=s,s.provide(wk,r),s.config.globalProperties.$pinia=r,i.forEach(o=>n.push(o)),i=[]},use(s){return!this._a&&!N6?i.push(s):n.push(s),this},_p:n,_a:null,_e:t,_s:new Map,state:e});return r}const xk=()=>{};function wb(t,e,n,i=xk){t.push(e);const r=()=>{const s=t.indexOf(e);s>-1&&(t.splice(s,1),i())};return!n&&$t()&&Wa(r),r}function il(t,...e){t.slice().forEach(n=>{n(...e)})}function ag(t,e){for(const n in e){if(!e.hasOwnProperty(n))continue;const i=e[n],r=t[n];og(r)&&og(i)&&t.hasOwnProperty(n)&&!It(i)&&!ho(i)?t[n]=ag(r,i):t[n]=i}return t}const G6=Symbol();function H6(t){return!og(t)||!t.hasOwnProperty(G6)}const{assign:ls}=Object;function K6(t){return!!(It(t)&&t.effect)}function J6(t,e,n,i){const{state:r,actions:s,getters:o}=e,a=n.state.value[t];let l;function c(){a||(n.state.value[t]=r?r():{});const u=xr(n.state.value[t]);return ls(u,s,Object.keys(o||{}).reduce((O,f)=>(O[f]=El(N(()=>{Nd(n);const h=n._s.get(t);return o[f].call(h,h)})),O),{}))}return l=Pk(t,c,e,n,i,!0),l.$reset=function(){const O=r?r():{};this.$patch(f=>{ls(f,O)})},l}function Pk(t,e,n={},i,r,s){let o;const a=ls({actions:{}},n),l={deep:!0};let c,u,O=El([]),f=El([]),h;const p=i.state.value[t];!s&&!p&&(i.state.value[t]={}),J({});let y;function $(Q){let S;c=u=!1,typeof Q=="function"?(Q(i.state.value[t]),S={type:fu.patchFunction,storeId:t,events:h}):(ag(i.state.value[t],Q),S={type:fu.patchObject,payload:Q,storeId:t,events:h});const P=y=Symbol();et().then(()=>{y===P&&(c=!0)}),u=!0,il(O,S,i.state.value[t])}const m=xk;function d(){o.stop(),O=[],f=[],i._s.delete(t)}function g(Q,S){return function(){Nd(i);const P=Array.from(arguments),w=[],x=[];function k(E){w.push(E)}function C(E){x.push(E)}il(f,{args:P,name:Q,store:b,after:k,onError:C});let T;try{T=S.apply(this&&this.$id===t?this:b,P)}catch(E){throw il(x,E),E}return T instanceof Promise?T.then(E=>(il(w,E),E)).catch(E=>(il(x,E),Promise.reject(E))):(il(w,T),T)}}const v={_p:i,$id:t,$onAction:wb.bind(null,f),$patch:$,$reset:m,$subscribe(Q,S={}){const P=wb(O,Q,S.detached,()=>w()),w=o.run(()=>Xe(()=>i.state.value[t],x=>{(S.flush==="sync"?u:c)&&Q({storeId:t,type:fu.direct,events:h},x)},ls({},l,S)));return P},$dispose:d},b=gn(ls({},v));i._s.set(t,b);const _=i._e.run(()=>(o=mP(),o.run(()=>e())));for(const Q in _){const S=_[Q];if(It(S)&&!K6(S)||ho(S))s||(p&&H6(S)&&(It(S)?S.value=p[Q]:ag(S,p[Q])),i.state.value[t][Q]=S);else if(typeof S=="function"){const P=g(Q,S);_[Q]=P,a.actions[Q]=S}}return ls(b,_),ls(mt(b),_),Object.defineProperty(b,"$state",{get:()=>i.state.value[t],set:Q=>{$(S=>{ls(S,Q)})}}),i._p.forEach(Q=>{ls(b,o.run(()=>Q({store:b,app:i._a,pinia:i,options:a})))}),p&&s&&n.hydrate&&n.hydrate(b.$state,p),c=!0,u=!0,b}function e3(t,e,n){let i,r;const s=typeof e=="function";typeof t=="string"?(i=t,r=s?n:e):(r=t,i=t.id);function o(a,l){const c=$t();return a=a||c&&De(wk),a&&Nd(a),a=Sk,a._s.has(i)||(s?Pk(i,e,r,a):J6(i,r,a)),a._s.get(i)}return o.$id=i,o}var at=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function t3(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function n3(t){throw new Error('Could not dynamically require "'+t+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var zy={exports:{}},kk=function(e,n){return function(){for(var r=new Array(arguments.length),s=0;s=0)return;i==="set-cookie"?n[i]=(n[i]?n[i]:[]).concat([r]):n[i]=n[i]?n[i]+", "+r:r}}),n},Pb=mi,E3=Pb.isStandardBrowserEnv()?function(){var e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a"),i;function r(s){var o=s;return e&&(n.setAttribute("href",o),o=n.href),n.setAttribute("href",o),{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 i=r(window.location.href),function(o){var a=Pb.isString(o)?r(o):o;return a.protocol===i.protocol&&a.host===i.host}}():function(){return function(){return!0}}();function Uy(t){this.message=t}Uy.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")};Uy.prototype.__CANCEL__=!0;var Gd=Uy,mO=mi,X3=S3,W3=w3,z3=Ak,I3=T3,q3=A3,U3=E3,$0=Wk,D3=Xk,L3=Gd,kb=function(e){return new Promise(function(i,r){var s=e.data,o=e.headers,a=e.responseType,l;function c(){e.cancelToken&&e.cancelToken.unsubscribe(l),e.signal&&e.signal.removeEventListener("abort",l)}mO.isFormData(s)&&delete o["Content-Type"];var u=new XMLHttpRequest;if(e.auth){var O=e.auth.username||"",f=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.Authorization="Basic "+btoa(O+":"+f)}var h=I3(e.baseURL,e.url);u.open(e.method.toUpperCase(),z3(h,e.params,e.paramsSerializer),!0),u.timeout=e.timeout;function p(){if(!!u){var $="getAllResponseHeaders"in u?q3(u.getAllResponseHeaders()):null,m=!a||a==="text"||a==="json"?u.responseText:u.response,d={data:m,status:u.status,statusText:u.statusText,headers:$,config:e,request:u};X3(function(v){i(v),c()},function(v){r(v),c()},d),u=null}}if("onloadend"in u?u.onloadend=p:u.onreadystatechange=function(){!u||u.readyState!==4||u.status===0&&!(u.responseURL&&u.responseURL.indexOf("file:")===0)||setTimeout(p)},u.onabort=function(){!u||(r($0("Request aborted",e,"ECONNABORTED",u)),u=null)},u.onerror=function(){r($0("Network Error",e,null,u)),u=null},u.ontimeout=function(){var m=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",d=e.transitional||D3;e.timeoutErrorMessage&&(m=e.timeoutErrorMessage),r($0(m,e,d.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",u)),u=null},mO.isStandardBrowserEnv()){var y=(e.withCredentials||U3(h))&&e.xsrfCookieName?W3.read(e.xsrfCookieName):void 0;y&&(o[e.xsrfHeaderName]=y)}"setRequestHeader"in u&&mO.forEach(o,function(m,d){typeof s=="undefined"&&d.toLowerCase()==="content-type"?delete o[d]:u.setRequestHeader(d,m)}),mO.isUndefined(e.withCredentials)||(u.withCredentials=!!e.withCredentials),a&&a!=="json"&&(u.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&u.addEventListener("progress",e.onDownloadProgress),typeof e.onUploadProgress=="function"&&u.upload&&u.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(l=function($){!u||(r(!$||$&&$.type?new L3("canceled"):$),u.abort(),u=null)},e.cancelToken&&e.cancelToken.subscribe(l),e.signal&&(e.signal.aborted?l():e.signal.addEventListener("abort",l))),s||(s=null),u.send(s)})},En=mi,Cb=b3,B3=Ek,M3=Xk,Y3={"Content-Type":"application/x-www-form-urlencoded"};function Tb(t,e){!En.isUndefined(t)&&En.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}function Z3(){var t;return(typeof XMLHttpRequest!="undefined"||typeof process!="undefined"&&Object.prototype.toString.call(process)==="[object process]")&&(t=kb),t}function V3(t,e,n){if(En.isString(t))try{return(e||JSON.parse)(t),En.trim(t)}catch(i){if(i.name!=="SyntaxError")throw i}return(n||JSON.stringify)(t)}var Hd={transitional:M3,adapter:Z3(),transformRequest:[function(e,n){return Cb(n,"Accept"),Cb(n,"Content-Type"),En.isFormData(e)||En.isArrayBuffer(e)||En.isBuffer(e)||En.isStream(e)||En.isFile(e)||En.isBlob(e)?e:En.isArrayBufferView(e)?e.buffer:En.isURLSearchParams(e)?(Tb(n,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):En.isObject(e)||n&&n["Content-Type"]==="application/json"?(Tb(n,"application/json"),V3(e)):e}],transformResponse:[function(e){var n=this.transitional||Hd.transitional,i=n&&n.silentJSONParsing,r=n&&n.forcedJSONParsing,s=!i&&this.responseType==="json";if(s||r&&En.isString(e)&&e.length)try{return JSON.parse(e)}catch(o){if(s)throw o.name==="SyntaxError"?B3(o,this,"E_JSON_PARSE"):o}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};En.forEach(["delete","get","head"],function(e){Hd.headers[e]={}});En.forEach(["post","put","patch"],function(e){Hd.headers[e]=En.merge(Y3)});var Dy=Hd,j3=mi,N3=Dy,F3=function(e,n,i){var r=this||N3;return j3.forEach(i,function(o){e=o.call(r,e,n)}),e},zk=function(e){return!!(e&&e.__CANCEL__)},Rb=mi,b0=F3,G3=zk,H3=Dy,K3=Gd;function _0(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new K3("canceled")}var J3=function(e){_0(e),e.headers=e.headers||{},e.data=b0.call(e,e.data,e.headers,e.transformRequest),e.headers=Rb.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),Rb.forEach(["delete","get","head","post","put","patch","common"],function(r){delete e.headers[r]});var n=e.adapter||H3.adapter;return n(e).then(function(r){return _0(e),r.data=b0.call(e,r.data,r.headers,e.transformResponse),r},function(r){return G3(r)||(_0(e),r&&r.response&&(r.response.data=b0.call(e,r.response.data,r.response.headers,e.transformResponse))),Promise.reject(r)})},yi=mi,Ik=function(e,n){n=n||{};var i={};function r(u,O){return yi.isPlainObject(u)&&yi.isPlainObject(O)?yi.merge(u,O):yi.isPlainObject(O)?yi.merge({},O):yi.isArray(O)?O.slice():O}function s(u){if(yi.isUndefined(n[u])){if(!yi.isUndefined(e[u]))return r(void 0,e[u])}else return r(e[u],n[u])}function o(u){if(!yi.isUndefined(n[u]))return r(void 0,n[u])}function a(u){if(yi.isUndefined(n[u])){if(!yi.isUndefined(e[u]))return r(void 0,e[u])}else return r(void 0,n[u])}function l(u){if(u in n)return r(e[u],n[u]);if(u in e)return r(void 0,e[u])}var c={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:l};return yi.forEach(Object.keys(e).concat(Object.keys(n)),function(O){var f=c[O]||s,h=f(O);yi.isUndefined(h)&&f!==l||(i[O]=h)}),i},qk={version:"0.26.1"},eW=qk.version,Ly={};["object","boolean","number","function","string","symbol"].forEach(function(t,e){Ly[t]=function(i){return typeof i===t||"a"+(e<1?"n ":" ")+t}});var Ab={};Ly.transitional=function(e,n,i){function r(s,o){return"[Axios v"+eW+"] Transitional option '"+s+"'"+o+(i?". "+i:"")}return function(s,o,a){if(e===!1)throw new Error(r(o," has been removed"+(n?" in "+n:"")));return n&&!Ab[o]&&(Ab[o]=!0,console.warn(r(o," has been deprecated since v"+n+" and will be removed in the near future"))),e?e(s,o,a):!0}};function tW(t,e,n){if(typeof t!="object")throw new TypeError("options must be an object");for(var i=Object.keys(t),r=i.length;r-- >0;){var s=i[r],o=e[s];if(o){var a=t[s],l=a===void 0||o(a,s,t);if(l!==!0)throw new TypeError("option "+s+" must be "+l);continue}if(n!==!0)throw Error("Unknown option "+s)}}var nW={assertOptions:tW,validators:Ly},Uk=mi,iW=Ak,Eb=y3,Xb=J3,Kd=Ik,Dk=nW,sl=Dk.validators;function pf(t){this.defaults=t,this.interceptors={request:new Eb,response:new Eb}}pf.prototype.request=function(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=Kd(this.defaults,n),n.method?n.method=n.method.toLowerCase():this.defaults.method?n.method=this.defaults.method.toLowerCase():n.method="get";var i=n.transitional;i!==void 0&&Dk.assertOptions(i,{silentJSONParsing:sl.transitional(sl.boolean),forcedJSONParsing:sl.transitional(sl.boolean),clarifyTimeoutError:sl.transitional(sl.boolean)},!1);var r=[],s=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(n)===!1||(s=s&&h.synchronous,r.unshift(h.fulfilled,h.rejected))});var o=[];this.interceptors.response.forEach(function(h){o.push(h.fulfilled,h.rejected)});var a;if(!s){var l=[Xb,void 0];for(Array.prototype.unshift.apply(l,r),l=l.concat(o),a=Promise.resolve(n);l.length;)a=a.then(l.shift(),l.shift());return a}for(var c=n;r.length;){var u=r.shift(),O=r.shift();try{c=u(c)}catch(f){O(f);break}}try{a=Xb(c)}catch(f){return Promise.reject(f)}for(;o.length;)a=a.then(o.shift(),o.shift());return a};pf.prototype.getUri=function(e){return e=Kd(this.defaults,e),iW(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")};Uk.forEach(["delete","get","head","options"],function(e){pf.prototype[e]=function(n,i){return this.request(Kd(i||{},{method:e,url:n,data:(i||{}).data}))}});Uk.forEach(["post","put","patch"],function(e){pf.prototype[e]=function(n,i,r){return this.request(Kd(r||{},{method:e,url:n,data:i}))}});var rW=pf,sW=Gd;function Il(t){if(typeof t!="function")throw new TypeError("executor must be a function.");var e;this.promise=new Promise(function(r){e=r});var n=this;this.promise.then(function(i){if(!!n._listeners){var r,s=n._listeners.length;for(r=0;r-1&&t%1==0&&t-1&&t%1==0&&t<=uz}function Fk(t){return t!=null&&Nk(t.length)&&!Zk(t)}var fz=Object.prototype;function Yy(t){var e=t&&t.constructor,n=typeof e=="function"&&e.prototype||fz;return t===n}function Oz(t,e){for(var n=-1,i=Array(t);++n-1}function kI(t,e){var n=this.__data__,i=np(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this}function ks(t){var e=-1,n=t==null?0:t.length;for(this.clear();++ea))return!1;var c=s.get(t),u=s.get(e);if(c&&u)return c==e&&u==t;var O=-1,f=!0,h=n&UU?new Vh:void 0;for(s.set(t,e),s.set(e,t);++O=e||Q<0||O&&S>=s}function m(){var _=x0();if($(_))return d(_);a=setTimeout(m,y(_))}function d(_){return a=void 0,f&&i?h(_):(i=r=void 0,o)}function g(){a!==void 0&&clearTimeout(a),c=0,i=l=r=a=void 0}function v(){return a===void 0?o:d(x0())}function b(){var _=x0(),Q=$(_);if(i=arguments,r=this,l=_,Q){if(a===void 0)return p(l);if(O)return clearTimeout(a),a=setTimeout(m,e),h(l)}return a===void 0&&(a=setTimeout(m,e)),o}return b.cancel=g,b.flush=v,b}function pC(t){for(var e=-1,n=t==null?0:t.length,i={};++egetComputedStyle(t).position==="fixed"?!1:t.offsetParent!==null,f_=t=>Array.from(t.querySelectorAll(mD)).filter(e=>vD(e)&&gD(e)),vD=t=>{if(t.tabIndex>0||t.tabIndex===0&&t.getAttribute("tabIndex")!==null)return!0;if(t.disabled)return!1;switch(t.nodeName){case"A":return!!t.href&&t.rel!=="ignore";case"INPUT":return!(t.type==="hidden"||t.type==="file");case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}},bs=(t,e,n,i=!1)=>{t&&e&&n&&(t==null||t.addEventListener(e,n,i))},So=(t,e,n,i=!1)=>{t&&e&&n&&(t==null||t.removeEventListener(e,n,i))},yD=(t,e,n)=>{const i=function(...r){n&&n.apply(this,r),So(t,e,i)};bs(t,e,i)},dn=(t,e,{checkForDefaultPrevented:n=!0}={})=>r=>{const s=t==null?void 0:t(r);if(n===!1||!s)return e==null?void 0:e(r)},O_=t=>e=>e.pointerType==="mouse"?t(e):void 0;var $D=Object.defineProperty,bD=Object.defineProperties,_D=Object.getOwnPropertyDescriptors,h_=Object.getOwnPropertySymbols,QD=Object.prototype.hasOwnProperty,SD=Object.prototype.propertyIsEnumerable,d_=(t,e,n)=>e in t?$D(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,wD=(t,e)=>{for(var n in e||(e={}))QD.call(e,n)&&d_(t,n,e[n]);if(h_)for(var n of h_(e))SD.call(e,n)&&d_(t,n,e[n]);return t},xD=(t,e)=>bD(t,_D(e));function p_(t,e){var n;const i=ga();return va(()=>{i.value=t()},xD(wD({},e),{flush:(n=e==null?void 0:e.flush)!=null?n:"sync"})),Of(i)}function rp(t){return AX()?(gP(t),!0):!1}var m_;const qt=typeof window!="undefined",Ji=t=>typeof t=="boolean",Bt=t=>typeof t=="number",PD=t=>typeof t=="string",P0=()=>{};qt&&((m_=window==null?void 0:window.navigator)==null?void 0:m_.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function kD(t,e){function n(...i){t(()=>e.apply(this,i),{fn:e,thisArg:this,args:i})}return n}function CD(t,e={}){let n,i;return s=>{const o=M(t),a=M(e.maxWait);if(n&&clearTimeout(n),o<=0||a!==void 0&&a<=0)return i&&(clearTimeout(i),i=null),s();a&&!i&&(i=setTimeout(()=>{n&&clearTimeout(n),i=null,s()},a)),n=setTimeout(()=>{i&&clearTimeout(i),i=null,s()},o)}}function TD(t,e=200,n={}){return kD(CD(e,n),t)}function RD(t,e=200,n={}){if(e<=0)return t;const i=J(t.value),r=TD(()=>{i.value=t.value},e,n);return Xe(t,()=>r()),i}function Nh(t,e,n={}){const{immediate:i=!0}=n,r=J(!1);let s=null;function o(){s&&(clearTimeout(s),s=null)}function a(){r.value=!1,o()}function l(...c){o(),r.value=!0,s=setTimeout(()=>{r.value=!1,s=null,t(...c)},M(e))}return i&&(r.value=!0,qt&&l()),rp(a),{isPending:r,start:l,stop:a}}function $a(t){var e;const n=M(t);return(e=n==null?void 0:n.$el)!=null?e:n}const sp=qt?window:void 0,AD=qt?window.document:void 0;function Wi(...t){let e,n,i,r;if(PD(t[0])?([n,i,r]=t,e=sp):[e,n,i,r]=t,!e)return P0;let s=P0;const o=Xe(()=>$a(e),l=>{s(),l&&(l.addEventListener(n,i,r),s=()=>{l.removeEventListener(n,i,r),s=P0})},{immediate:!0,flush:"post"}),a=()=>{o(),s()};return rp(a),a}function Fh(t,e,n={}){const{window:i=sp,ignore:r,capture:s=!0}=n;if(!i)return;const o=J(!0);let a;const l=O=>{i.clearTimeout(a);const f=$a(t),h=O.composedPath();!f||f===O.target||h.includes(f)||!o.value||r&&r.length>0&&r.some(p=>{const y=$a(p);return y&&(O.target===y||h.includes(y))})||e(O)},c=[Wi(i,"click",l,{passive:!0,capture:s}),Wi(i,"pointerdown",O=>{const f=$a(t);o.value=!!f&&!O.composedPath().includes(f)},{passive:!0}),Wi(i,"pointerup",O=>{a=i.setTimeout(()=>l(O),50)},{passive:!0})];return()=>c.forEach(O=>O())}const mg=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},gg="__vueuse_ssr_handlers__";mg[gg]=mg[gg]||{};mg[gg];function ED({document:t=AD}={}){if(!t)return J("visible");const e=J(t.visibilityState);return Wi(t,"visibilitychange",()=>{e.value=t.visibilityState}),e}var g_=Object.getOwnPropertySymbols,XD=Object.prototype.hasOwnProperty,WD=Object.prototype.propertyIsEnumerable,zD=(t,e)=>{var n={};for(var i in t)XD.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(t!=null&&g_)for(var i of g_(t))e.indexOf(i)<0&&WD.call(t,i)&&(n[i]=t[i]);return n};function mf(t,e,n={}){const i=n,{window:r=sp}=i,s=zD(i,["window"]);let o;const a=r&&"ResizeObserver"in r,l=()=>{o&&(o.disconnect(),o=void 0)},c=Xe(()=>$a(t),O=>{l(),a&&r&&O&&(o=new ResizeObserver(e),o.observe(O,s))},{immediate:!0,flush:"post"}),u=()=>{l(),c()};return rp(u),{isSupported:a,stop:u}}function ID({window:t=sp}={}){if(!t)return J(!1);const e=J(t.document.hasFocus());return Wi(t,"blur",()=>{e.value=!1}),Wi(t,"focus",()=>{e.value=!0}),e}const qD=function(t){for(const e of t){const n=e.target.__resizeListeners__||[];n.length&&n.forEach(i=>{i()})}},Hy=function(t,e){!qt||!t||(t.__resizeListeners__||(t.__resizeListeners__=[],t.__ro__=new ResizeObserver(qD),t.__ro__.observe(t)),t.__resizeListeners__.push(e))},Ky=function(t,e){var n;!t||!t.__resizeListeners__||(t.__resizeListeners__.splice(t.__resizeListeners__.indexOf(e),1),t.__resizeListeners__.length||(n=t.__ro__)==null||n.disconnect())},Dr=t=>t===void 0,mC=t=>!t&&t!==0||Fe(t)&&t.length===0||yt(t)&&!Object.keys(t).length,Ul=t=>typeof Element=="undefined"?!1:t instanceof Element,UD=(t="")=>t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d"),vg=t=>Object.keys(t),ch=(t,e,n)=>({get value(){return ei(t,e,n)},set value(i){pD(t,e,i)}});class DD extends Error{constructor(e){super(e),this.name="ElementPlusError"}}function Wo(t,e){throw new DD(`[${t}] ${e}`)}const gC=(t="")=>t.split(" ").filter(e=>!!e.trim()),po=(t,e)=>{if(!t||!e)return!1;if(e.includes(" "))throw new Error("className should not contain space.");return t.classList.contains(e)},Bu=(t,e)=>{!t||!e.trim()||t.classList.add(...gC(e))},wo=(t,e)=>{!t||!e.trim()||t.classList.remove(...gC(e))},hs=(t,e)=>{var n;if(!qt||!t||!e)return"";nr(e);try{const i=t.style[e];if(i)return i;const r=(n=document.defaultView)==null?void 0:n.getComputedStyle(t,"");return r?r[e]:""}catch{return t.style[e]}};function wr(t,e="px"){if(!t)return"";if(ot(t))return t;if(Bt(t))return`${t}${e}`}let vO;const LD=()=>{var t;if(!qt)return 0;if(vO!==void 0)return vO;const e=document.createElement("div");e.className="el-scrollbar__wrap",e.style.visibility="hidden",e.style.width="100px",e.style.position="absolute",e.style.top="-9999px",document.body.appendChild(e);const n=e.offsetWidth;e.style.overflow="scroll";const i=document.createElement("div");i.style.width="100%",e.appendChild(i);const r=i.offsetWidth;return(t=e.parentNode)==null||t.removeChild(e),vO=n-r,vO};function BD(t,e){if(!qt)return;if(!e){t.scrollTop=0;return}const n=[];let i=e.offsetParent;for(;i!==null&&t!==i&&t.contains(i);)n.push(i),i=i.offsetParent;const r=e.offsetTop+n.reduce((l,c)=>l+c.offsetTop,0),s=r+e.offsetHeight,o=t.scrollTop,a=o+t.clientHeight;ra&&(t.scrollTop=s-t.clientHeight)}var fn=(t,e)=>{const n=t.__vccOpts||t;for(const[i,r]of e)n[i]=r;return n};const MD=Ce({name:"ArrowDown"}),YD={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},ZD=U("path",{fill:"currentColor",d:"M831.872 340.864 512 652.672 192.128 340.864a30.592 30.592 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.592 30.592 0 0 0-42.752 0z"},null,-1),VD=[ZD];function jD(t,e,n,i,r,s){return L(),ie("svg",YD,VD)}var op=fn(MD,[["render",jD]]);const ND=Ce({name:"ArrowLeft"}),FD={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},GD=U("path",{fill:"currentColor",d:"M609.408 149.376 277.76 489.6a32 32 0 0 0 0 44.672l331.648 340.352a29.12 29.12 0 0 0 41.728 0 30.592 30.592 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.592 30.592 0 0 0 0-42.688 29.12 29.12 0 0 0-41.728 0z"},null,-1),HD=[GD];function KD(t,e,n,i,r,s){return L(),ie("svg",FD,HD)}var Jy=fn(ND,[["render",KD]]);const JD=Ce({name:"ArrowRight"}),eL={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},tL=U("path",{fill:"currentColor",d:"M340.864 149.312a30.592 30.592 0 0 0 0 42.752L652.736 512 340.864 831.872a30.592 30.592 0 0 0 0 42.752 29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z"},null,-1),nL=[tL];function iL(t,e,n,i,r,s){return L(),ie("svg",eL,nL)}var gf=fn(JD,[["render",iL]]);const rL=Ce({name:"ArrowUp"}),sL={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},oL=U("path",{fill:"currentColor",d:"m488.832 344.32-339.84 356.672a32 32 0 0 0 0 44.16l.384.384a29.44 29.44 0 0 0 42.688 0l320-335.872 319.872 335.872a29.44 29.44 0 0 0 42.688 0l.384-.384a32 32 0 0 0 0-44.16L535.168 344.32a32 32 0 0 0-46.336 0z"},null,-1),aL=[oL];function lL(t,e,n,i,r,s){return L(),ie("svg",sL,aL)}var ap=fn(rL,[["render",lL]]);const cL=Ce({name:"Calendar"}),uL={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},fL=U("path",{fill:"currentColor",d:"M128 384v512h768V192H768v32a32 32 0 1 1-64 0v-32H320v32a32 32 0 0 1-64 0v-32H128v128h768v64H128zm192-256h384V96a32 32 0 1 1 64 0v32h160a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h160V96a32 32 0 0 1 64 0v32zm-32 384h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64zm0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64zm192-192h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64zm0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64zm192-192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64zm0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64z"},null,-1),OL=[fL];function hL(t,e,n,i,r,s){return L(),ie("svg",uL,OL)}var dL=fn(cL,[["render",hL]]);const pL=Ce({name:"Check"}),mL={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},gL=U("path",{fill:"currentColor",d:"M406.656 706.944 195.84 496.256a32 32 0 1 0-45.248 45.248l256 256 512-512a32 32 0 0 0-45.248-45.248L406.592 706.944z"},null,-1),vL=[gL];function yL(t,e,n,i,r,s){return L(),ie("svg",mL,vL)}var v_=fn(pL,[["render",yL]]);const $L=Ce({name:"CircleCheck"}),bL={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},_L=U("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768zm0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896z"},null,-1),QL=U("path",{fill:"currentColor",d:"M745.344 361.344a32 32 0 0 1 45.312 45.312l-288 288a32 32 0 0 1-45.312 0l-160-160a32 32 0 1 1 45.312-45.312L480 626.752l265.344-265.408z"},null,-1),SL=[_L,QL];function wL(t,e,n,i,r,s){return L(),ie("svg",bL,SL)}var yg=fn($L,[["render",wL]]);const xL=Ce({name:"CircleCloseFilled"}),PL={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},kL=U("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm0 393.664L407.936 353.6a38.4 38.4 0 1 0-54.336 54.336L457.664 512 353.6 616.064a38.4 38.4 0 1 0 54.336 54.336L512 566.336 616.064 670.4a38.4 38.4 0 1 0 54.336-54.336L566.336 512 670.4 407.936a38.4 38.4 0 1 0-54.336-54.336L512 457.664z"},null,-1),CL=[kL];function TL(t,e,n,i,r,s){return L(),ie("svg",PL,CL)}var vC=fn(xL,[["render",TL]]);const RL=Ce({name:"CircleClose"}),AL={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},EL=U("path",{fill:"currentColor",d:"m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248L466.752 512z"},null,-1),XL=U("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768zm0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896z"},null,-1),WL=[EL,XL];function zL(t,e,n,i,r,s){return L(),ie("svg",AL,WL)}var Dl=fn(RL,[["render",zL]]);const IL=Ce({name:"Clock"}),qL={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},UL=U("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768zm0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896z"},null,-1),DL=U("path",{fill:"currentColor",d:"M480 256a32 32 0 0 1 32 32v256a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32z"},null,-1),LL=U("path",{fill:"currentColor",d:"M480 512h256q32 0 32 32t-32 32H480q-32 0-32-32t32-32z"},null,-1),BL=[UL,DL,LL];function ML(t,e,n,i,r,s){return L(),ie("svg",qL,BL)}var YL=fn(IL,[["render",ML]]);const ZL=Ce({name:"Close"}),VL={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},jL=U("path",{fill:"currentColor",d:"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"},null,-1),NL=[jL];function FL(t,e,n,i,r,s){return L(),ie("svg",VL,NL)}var xa=fn(ZL,[["render",FL]]);const GL=Ce({name:"DArrowLeft"}),HL={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},KL=U("path",{fill:"currentColor",d:"M529.408 149.376a29.12 29.12 0 0 1 41.728 0 30.592 30.592 0 0 1 0 42.688L259.264 511.936l311.872 319.936a30.592 30.592 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L197.76 534.272a32 32 0 0 1 0-44.672l331.648-340.224zm256 0a29.12 29.12 0 0 1 41.728 0 30.592 30.592 0 0 1 0 42.688L515.264 511.936l311.872 319.936a30.592 30.592 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L453.76 534.272a32 32 0 0 1 0-44.672l331.648-340.224z"},null,-1),JL=[KL];function eB(t,e,n,i,r,s){return L(),ie("svg",HL,JL)}var e$=fn(GL,[["render",eB]]);const tB=Ce({name:"DArrowRight"}),nB={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},iB=U("path",{fill:"currentColor",d:"M452.864 149.312a29.12 29.12 0 0 1 41.728.064L826.24 489.664a32 32 0 0 1 0 44.672L494.592 874.624a29.12 29.12 0 0 1-41.728 0 30.592 30.592 0 0 1 0-42.752L764.736 512 452.864 192a30.592 30.592 0 0 1 0-42.688zm-256 0a29.12 29.12 0 0 1 41.728.064L570.24 489.664a32 32 0 0 1 0 44.672L238.592 874.624a29.12 29.12 0 0 1-41.728 0 30.592 30.592 0 0 1 0-42.752L508.736 512 196.864 192a30.592 30.592 0 0 1 0-42.688z"},null,-1),rB=[iB];function sB(t,e,n,i,r,s){return L(),ie("svg",nB,rB)}var t$=fn(tB,[["render",sB]]);const oB=Ce({name:"Hide"}),aB={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},lB=U("path",{d:"M876.8 156.8c0-9.6-3.2-16-9.6-22.4-6.4-6.4-12.8-9.6-22.4-9.6-9.6 0-16 3.2-22.4 9.6L736 220.8c-64-32-137.6-51.2-224-60.8-160 16-288 73.6-377.6 176C44.8 438.4 0 496 0 512s48 73.6 134.4 176c22.4 25.6 44.8 48 73.6 67.2l-86.4 89.6c-6.4 6.4-9.6 12.8-9.6 22.4 0 9.6 3.2 16 9.6 22.4 6.4 6.4 12.8 9.6 22.4 9.6 9.6 0 16-3.2 22.4-9.6l704-710.4c3.2-6.4 6.4-12.8 6.4-22.4Zm-646.4 528c-76.8-70.4-128-128-153.6-172.8 28.8-48 80-105.6 153.6-172.8C304 272 400 230.4 512 224c64 3.2 124.8 19.2 176 44.8l-54.4 54.4C598.4 300.8 560 288 512 288c-64 0-115.2 22.4-160 64s-64 96-64 160c0 48 12.8 89.6 35.2 124.8L256 707.2c-9.6-6.4-19.2-16-25.6-22.4Zm140.8-96c-12.8-22.4-19.2-48-19.2-76.8 0-44.8 16-83.2 48-112 32-28.8 67.2-48 112-48 28.8 0 54.4 6.4 73.6 19.2L371.2 588.8ZM889.599 336c-12.8-16-28.8-28.8-41.6-41.6l-48 48c73.6 67.2 124.8 124.8 150.4 169.6-28.8 48-80 105.6-153.6 172.8-73.6 67.2-172.8 108.8-284.8 115.2-51.2-3.2-99.2-12.8-140.8-28.8l-48 48c57.6 22.4 118.4 38.4 188.8 44.8 160-16 288-73.6 377.6-176C979.199 585.6 1024 528 1024 512s-48.001-73.6-134.401-176Z",fill:"currentColor"},null,-1),cB=U("path",{d:"M511.998 672c-12.8 0-25.6-3.2-38.4-6.4l-51.2 51.2c28.8 12.8 57.6 19.2 89.6 19.2 64 0 115.2-22.4 160-64 41.6-41.6 64-96 64-160 0-32-6.4-64-19.2-89.6l-51.2 51.2c3.2 12.8 6.4 25.6 6.4 38.4 0 44.8-16 83.2-48 112-32 28.8-67.2 48-112 48Z",fill:"currentColor"},null,-1),uB=[lB,cB];function fB(t,e,n,i,r,s){return L(),ie("svg",aB,uB)}var OB=fn(oB,[["render",fB]]);const hB=Ce({name:"InfoFilled"}),dB={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},pB=U("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896.064A448 448 0 0 1 512 64zm67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344zM590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.992 12.992 0 0 1-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296-44.096 0-108.992 44.736-148.48 101.504 0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 0 1 7.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04 67.84 0 107.904-43.648 147.456-100.416z"},null,-1),mB=[pB];function gB(t,e,n,i,r,s){return L(),ie("svg",dB,mB)}var yC=fn(hB,[["render",gB]]);const vB=Ce({name:"Loading"}),yB={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},$B=U("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32zm0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32zm448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32zm-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32zM195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248zM828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0zm-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0z"},null,-1),bB=[$B];function _B(t,e,n,i,r,s){return L(),ie("svg",yB,bB)}var vf=fn(vB,[["render",_B]]);const QB=Ce({name:"Minus"}),SB={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},wB=U("path",{fill:"currentColor",d:"M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64z"},null,-1),xB=[wB];function PB(t,e,n,i,r,s){return L(),ie("svg",SB,xB)}var kB=fn(QB,[["render",PB]]);const CB=Ce({name:"Plus"}),TB={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},RB=U("path",{fill:"currentColor",d:"M480 480V128a32 32 0 0 1 64 0v352h352a32 32 0 1 1 0 64H544v352a32 32 0 1 1-64 0V544H128a32 32 0 0 1 0-64h352z"},null,-1),AB=[RB];function EB(t,e,n,i,r,s){return L(),ie("svg",TB,AB)}var $C=fn(CB,[["render",EB]]);const XB=Ce({name:"SuccessFilled"}),WB={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},zB=U("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.272 38.272 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336L456.192 600.384z"},null,-1),IB=[zB];function qB(t,e,n,i,r,s){return L(),ie("svg",WB,IB)}var bC=fn(XB,[["render",qB]]);const UB=Ce({name:"View"}),DB={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},LB=U("path",{fill:"currentColor",d:"M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352zm0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288zm0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448zm0 64a160.192 160.192 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160z"},null,-1),BB=[LB];function MB(t,e,n,i,r,s){return L(),ie("svg",DB,BB)}var YB=fn(UB,[["render",MB]]);const ZB=Ce({name:"WarningFilled"}),VB={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},jB=U("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm0 192a58.432 58.432 0 0 0-58.24 63.744l23.36 256.384a35.072 35.072 0 0 0 69.76 0l23.296-256.384A58.432 58.432 0 0 0 512 256zm0 512a51.2 51.2 0 1 0 0-102.4 51.2 51.2 0 0 0 0 102.4z"},null,-1),NB=[jB];function FB(t,e,n,i,r,s){return L(),ie("svg",VB,NB)}var Gh=fn(ZB,[["render",FB]]);const $g=Symbol(),y_="__elPropsReservedKey";function lp(t,e){if(!yt(t)||!!t[y_])return t;const{values:n,required:i,default:r,type:s,validator:o}=t,a=n||o?c=>{let u=!1,O=[];if(n&&(O=Array.from(n),ct(t,"default")&&O.push(r),u||(u=O.includes(c))),o&&(u||(u=o(c))),!u&&O.length>0){const f=[...new Set(O)].map(h=>JSON.stringify(h)).join(", ");u8(`Invalid prop: validation failed${e?` for prop "${e}"`:""}. Expected one of [${f}], got value ${JSON.stringify(c)}.`)}return u}:void 0,l={type:yt(s)&&Object.getOwnPropertySymbols(s).includes($g)?s[$g]:s,required:!!i,validator:a,[y_]:!0};return ct(t,"default")&&(l.default=r),l}const lt=t=>pC(Object.entries(t).map(([e,n])=>[e,lp(n,e)])),Ne=t=>({[$g]:t}),_s=Ne([String,Object,Function]),GB={Close:xa},cp={Close:xa,SuccessFilled:bC,InfoFilled:yC,WarningFilled:Gh,CircleCloseFilled:vC},Qs={success:bC,warning:Gh,error:vC,info:yC},HB={validating:vf,success:yg,error:Dl},Gt=(t,e)=>{if(t.install=n=>{for(const i of[t,...Object.values(e!=null?e:{})])n.component(i.name,i)},e)for(const[n,i]of Object.entries(e))t[n]=i;return t},_C=(t,e)=>(t.install=n=>{t._context=n._context,n.config.globalProperties[e]=t},t),Di=t=>(t.install=bn,t),QC=(...t)=>e=>{t.forEach(n=>{st(n)?n(e):n.value=e})},rt={tab:"Tab",enter:"Enter",space:"Space",left:"ArrowLeft",up:"ArrowUp",right:"ArrowRight",down:"ArrowDown",esc:"Escape",delete:"Delete",backspace:"Backspace",numpadEnter:"NumpadEnter",pageUp:"PageUp",pageDown:"PageDown",home:"Home",end:"End"},KB=["year","month","date","dates","week","datetime","datetimerange","daterange","monthrange"],Wt="update:modelValue",Mu="change",bg="input",qa=["","default","small","large"],JB={large:40,default:32,small:24},e9=t=>JB[t||"default"],Ua=t=>["",...qa].includes(t),SC=t=>[...KB].includes(t);var uh=(t=>(t[t.TEXT=1]="TEXT",t[t.CLASS=2]="CLASS",t[t.STYLE=4]="STYLE",t[t.PROPS=8]="PROPS",t[t.FULL_PROPS=16]="FULL_PROPS",t[t.HYDRATE_EVENTS=32]="HYDRATE_EVENTS",t[t.STABLE_FRAGMENT=64]="STABLE_FRAGMENT",t[t.KEYED_FRAGMENT=128]="KEYED_FRAGMENT",t[t.UNKEYED_FRAGMENT=256]="UNKEYED_FRAGMENT",t[t.NEED_PATCH=512]="NEED_PATCH",t[t.DYNAMIC_SLOTS=1024]="DYNAMIC_SLOTS",t[t.HOISTED=-1]="HOISTED",t[t.BAIL=-2]="BAIL",t))(uh||{});const t9=t=>{if(!xn(t))return{};const e=t.props||{},n=(xn(t.type)?t.type.props:void 0)||{},i={};return Object.keys(n).forEach(r=>{ct(n[r],"default")&&(i[r]=n[r].default)}),Object.keys(e).forEach(r=>{i[nr(r)]=e[r]}),i},hu=t=>!t&&t!==0?[]:Array.isArray(t)?t:[t],wC=t=>/([(\uAC00-\uD7AF)|(\u3130-\u318F)])+/gi.test(t),xC=()=>Math.floor(Math.random()*1e4),n$=t=>t,n9=["class","style"],i9=/^on[A-Z]/,PC=(t={})=>{const{excludeListeners:e=!1,excludeKeys:n=[]}=t,i=n.concat(n9),r=$t();return N(r?()=>{var s;return pC(Object.entries((s=r.proxy)==null?void 0:s.$attrs).filter(([o])=>!i.includes(o)&&!(e&&i9.test(o))))}:()=>({}))},kC=Symbol("buttonGroupContextKey"),CC=Symbol(),TC=Symbol("dialogInjectionKey"),Ts=Symbol("formContextKey"),Gr=Symbol("formItemContextKey"),RC=Symbol("radioGroupKey"),AC=Symbol("scrollbarContextKey"),up=Symbol("tabsRootContextKey"),i$=Symbol("popper"),EC=Symbol("popperContent"),XC=t=>{const e=$t();return N(()=>{var n,i;return(i=(n=e.proxy)==null?void 0:n.$props[t])!=null?i:void 0})},Hh=J();function Da(t,e=void 0){const n=$t()?De(CC,Hh):Hh;return t?N(()=>{var i,r;return(r=(i=n.value)==null?void 0:i[t])!=null?r:e}):n}const r9=(t,e,n=!1)=>{var i;const r=!!$t(),s=r?Da():void 0,o=(i=e==null?void 0:e.provide)!=null?i:r?kt:void 0;if(!o)return;const a=N(()=>{const l=M(t);return s!=null&&s.value?s9(s.value,l):l});return o(CC,a),(n||!Hh.value)&&(Hh.value=a.value),a},s9=(t,e)=>{var n;const i=[...new Set([...vg(t),...vg(e)])],r={};for(const s of i)r[s]=(n=e[s])!=null?n:t[s];return r},fp=lp({type:String,values:qa,required:!1}),Ln=(t,e={})=>{const n=J(void 0),i=e.prop?n:XC("size"),r=e.global?n:Da("size"),s=e.form?{size:void 0}:De(Ts,void 0),o=e.formItem?{size:void 0}:De(Gr,void 0);return N(()=>i.value||M(t)||(o==null?void 0:o.size)||(s==null?void 0:s.size)||r.value||"")},dc=t=>{const e=XC("disabled"),n=De(Ts,void 0);return N(()=>e.value||M(t)||(n==null?void 0:n.disabled)||!1)},WC=(t,e,n)=>{let i={offsetX:0,offsetY:0};const r=a=>{const l=a.clientX,c=a.clientY,{offsetX:u,offsetY:O}=i,f=t.value.getBoundingClientRect(),h=f.left,p=f.top,y=f.width,$=f.height,m=document.documentElement.clientWidth,d=document.documentElement.clientHeight,g=-h+u,v=-p+O,b=m-h-y+u,_=d-p-$+O,Q=P=>{const w=Math.min(Math.max(u+P.clientX-l,g),b),x=Math.min(Math.max(O+P.clientY-c,v),_);i={offsetX:w,offsetY:x},t.value.style.transform=`translate(${wr(w)}, ${wr(x)})`},S=()=>{document.removeEventListener("mousemove",Q),document.removeEventListener("mouseup",S)};document.addEventListener("mousemove",Q),document.addEventListener("mouseup",S)},s=()=>{e.value&&t.value&&e.value.addEventListener("mousedown",r)},o=()=>{e.value&&t.value&&e.value.removeEventListener("mousedown",r)};xt(()=>{va(()=>{n.value?s():o()})}),Qn(()=>{o()})},o9=t=>({focus:()=>{var e,n;(n=(e=t.value)==null?void 0:e.focus)==null||n.call(e)}}),a9={prefix:Math.floor(Math.random()*1e4),current:0},l9=Symbol("elIdInjection"),Op=t=>{const e=De(l9,a9);return N(()=>M(t)||`el-id-${e.prefix}-${e.current++}`)},yf=()=>{const t=De(Ts,void 0),e=De(Gr,void 0);return{form:t,formItem:e}},$f=(t,{formItemContext:e,disableIdGeneration:n,disableIdManagement:i})=>{n||(n=J(!1)),i||(i=J(!1));const r=J();let s;const o=N(()=>{var a;return!!(!t.label&&e&&e.inputIds&&((a=e.inputIds)==null?void 0:a.length)<=1)});return xt(()=>{s=Xe([Pn(t,"id"),n],([a,l])=>{const c=a!=null?a:l?void 0:Op().value;c!==r.value&&(e!=null&&e.removeInputId&&(r.value&&e.removeInputId(r.value),!(i!=null&&i.value)&&!l&&c&&e.addInputId(c)),r.value=c)},{immediate:!0})}),Wa(()=>{s&&s(),e!=null&&e.removeInputId&&r.value&&e.removeInputId(r.value)}),{isLabeledByFormItem:o,inputId:r}};var c9={name:"en",el:{colorpicker:{confirm:"OK",clear:"Clear",defaultLabel:"color picker",description:"current color is {color}. press enter to select a new color."},datepicker:{now:"Now",today:"Today",cancel:"Cancel",clear:"Clear",confirm:"OK",selectDate:"Select date",selectTime:"Select time",startDate:"Start Date",startTime:"Start Time",endDate:"End Date",endTime:"End Time",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",year:"",month1:"January",month2:"February",month3:"March",month4:"April",month5:"May",month6:"June",month7:"July",month8:"August",month9:"September",month10:"October",month11:"November",month12:"December",week:"week",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},months:{jan:"Jan",feb:"Feb",mar:"Mar",apr:"Apr",may:"May",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Oct",nov:"Nov",dec:"Dec"}},inputNumber:{decrease:"decrease number",increase:"increase number"},select:{loading:"Loading",noMatch:"No matching data",noData:"No data",placeholder:"Select"},cascader:{noMatch:"No matching data",loading:"Loading",placeholder:"Select",noData:"No data"},pagination:{goto:"Go to",pagesize:"/page",total:"Total {total}",pageClassifier:"",deprecationWarning:"Deprecated usages detected, please refer to the el-pagination documentation for more details"},messagebox:{title:"Message",confirm:"OK",cancel:"Cancel",error:"Illegal input"},upload:{deleteTip:"press delete to remove",delete:"Delete",preview:"Preview",continue:"Continue"},slider:{defaultLabel:"slider between {min} and {max}",defaultRangeStartLabel:"pick start value",defaultRangeEndLabel:"pick end value"},table:{emptyText:"No Data",confirmFilter:"Confirm",resetFilter:"Reset",clearFilter:"All",sumText:"Sum"},tree:{emptyText:"No Data"},transfer:{noMatch:"No matching data",noData:"No data",titles:["List 1","List 2"],filterPlaceholder:"Enter keyword",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} checked"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"}}};const u9=t=>(e,n)=>f9(e,n,M(t)),f9=(t,e,n)=>ei(n,t,t).replace(/\{(\w+)\}/g,(i,r)=>{var s;return`${(s=e==null?void 0:e[r])!=null?s:`{${r}}`}`}),O9=t=>{const e=N(()=>M(t).name),n=It(t)?t:J(t);return{lang:e,locale:n,t:u9(t)}},Fn=()=>{const t=Da("locale");return O9(N(()=>t.value||c9))},zC=t=>{if(It(t)||Wo("[useLockscreen]","You need to pass a ref param to this function"),!qt||po(document.body,"el-popup-parent--hidden"))return;let e=0,n=!1,i="0",r=0;const s=()=>{wo(document.body,"el-popup-parent--hidden"),n&&(document.body.style.paddingRight=i)};Xe(t,o=>{if(!o){s();return}n=!po(document.body,"el-popup-parent--hidden"),n&&(i=document.body.style.paddingRight,r=Number.parseInt(hs(document.body,"paddingRight"),10)),e=LD();const a=document.documentElement.clientHeight0&&(a||l==="scroll")&&n&&(document.body.style.paddingRight=`${r+e}px`),Bu(document.body,"el-popup-parent--hidden")}),gP(()=>s())},xl=[],h9=t=>{xl.length!==0&&t.code===rt.esc&&(t.stopPropagation(),xl[xl.length-1].handleClose())},IC=(t,e)=>{Xe(e,n=>{n?xl.push(t):xl.splice(xl.indexOf(t),1)})};qt&&Wi(document,"keydown",h9);const d9=lp({type:Ne(Boolean),default:null}),p9=lp({type:Ne(Function)}),m9=t=>{const e={[t]:d9,[`onUpdate:${t}`]:p9},n=[`update:${t}`];return{useModelToggle:({indicator:r,shouldHideWhenRouteChanges:s,shouldProceed:o,onShow:a,onHide:l})=>{const c=$t(),u=c.props,{emit:O}=c,f=`update:${t}`,h=N(()=>st(u[`onUpdate:${t}`])),p=N(()=>u[t]===null),y=()=>{r.value!==!0&&(r.value=!0,st(a)&&a())},$=()=>{r.value!==!1&&(r.value=!1,st(l)&&l())},m=()=>{if(u.disabled===!0||st(o)&&!o())return;const b=h.value&&qt;b&&O(f,!0),(p.value||!b)&&y()},d=()=>{if(u.disabled===!0||!qt)return;const b=h.value&&qt;b&&O(f,!1),(p.value||!b)&&$()},g=b=>{!Ji(b)||(u.disabled&&b?h.value&&O(f,!1):r.value!==b&&(b?y():$()))},v=()=>{r.value?d():m()};return Xe(()=>u[t],g),s&&c.appContext.config.globalProperties.$route!==void 0&&Xe(()=>ze({},c.proxy.$route),()=>{s.value&&r.value&&d()}),xt(()=>{g(u[t])}),{hide:d,show:m,toggle:v}},useModelToggleProps:e,useModelToggleEmits:n}},g9=(t,e,n)=>{const i=s=>{n(s)&&s.stopImmediatePropagation()};let r;Xe(()=>t.value,s=>{s?r=Wi(document,e,i,!0):r==null||r()},{immediate:!0})},qC=(t,e)=>{let n;Xe(()=>t.value,i=>{var r,s;i?(n=document.activeElement,It(e)&&((s=(r=e.value).focus)==null||s.call(r))):n.focus()})},r$=t=>{if(!t)return{onClick:bn,onMousedown:bn,onMouseup:bn};let e=!1,n=!1;return{onClick:o=>{e&&n&&t(o),e=n=!1},onMousedown:o=>{e=o.target===o.currentTarget},onMouseup:o=>{n=o.target===o.currentTarget}}};function v9(){let t;const e=(i,r)=>{n(),t=window.setTimeout(i,r)},n=()=>window.clearTimeout(t);return rp(()=>n()),{registerTimeout:e,cancelTimeout:n}}const y9=t=>{const e=n=>{const i=n;i.key===rt.esc&&(t==null||t(i))};xt(()=>{bs(document,"keydown",e)}),Qn(()=>{So(document,"keydown",e)})};let $_;const UC=`el-popper-container-${xC()}`,DC=`#${UC}`,$9=()=>{const t=document.createElement("div");return t.id=UC,document.body.appendChild(t),t},b9=()=>{Yd(()=>{!qt||(!$_||!document.body.querySelector(DC))&&($_=$9())})},_9=lt({showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200}}),Q9=({showAfter:t,hideAfter:e,open:n,close:i})=>{const{registerTimeout:r}=v9();return{onOpen:()=>{r(()=>{n()},M(t))},onClose:()=>{r(()=>{i()},M(e))}}},LC=Symbol("elForwardRef"),S9=t=>{kt(LC,{setForwardRef:n=>{t.value=n}})},w9=t=>({mounted(e){t(e)},updated(e){t(e)},unmounted(){t(null)}}),BC="el",x9="is-",Ko=(t,e,n,i,r)=>{let s=`${t}-${e}`;return n&&(s+=`-${n}`),i&&(s+=`__${i}`),r&&(s+=`--${r}`),s},Ze=t=>{const e=Da("namespace"),n=N(()=>e.value||BC);return{namespace:n,b:(y="")=>Ko(M(n),t,y,"",""),e:y=>y?Ko(M(n),t,"",y,""):"",m:y=>y?Ko(M(n),t,"","",y):"",be:(y,$)=>y&&$?Ko(M(n),t,y,$,""):"",em:(y,$)=>y&&$?Ko(M(n),t,"",y,$):"",bm:(y,$)=>y&&$?Ko(M(n),t,y,"",$):"",bem:(y,$,m)=>y&&$&&m?Ko(M(n),t,y,$,m):"",is:(y,...$)=>{const m=$.length>=1?$[0]:!0;return y&&m?`${x9}${y}`:""},cssVar:y=>{const $={};for(const m in y)$[`--${n.value}-${m}`]=y[m];return $},cssVarName:y=>`--${n.value}-${y}`,cssVarBlock:y=>{const $={};for(const m in y)$[`--${n.value}-${t}-${m}`]=y[m];return $},cssVarBlockName:y=>`--${n.value}-${t}-${y}`}},b_=J(0),La=()=>{const t=Da("zIndex",2e3),e=N(()=>t.value+b_.value);return{initialZIndex:t,currentZIndex:e,nextZIndex:()=>(b_.value++,e.value)}};function P9(t){const e=J();function n(){if(t.value==null)return;const{selectionStart:r,selectionEnd:s,value:o}=t.value;if(r==null||s==null)return;const a=o.slice(0,Math.max(0,r)),l=o.slice(Math.max(0,s));e.value={selectionStart:r,selectionEnd:s,value:o,beforeTxt:a,afterTxt:l}}function i(){if(t.value==null||e.value==null)return;const{value:r}=t.value,{beforeTxt:s,afterTxt:o,selectionStart:a}=e.value;if(s==null||o==null||a==null)return;let l=r.length;if(r.endsWith(o))l=r.length-o.length;else if(r.startsWith(s))l=s.length;else{const c=s[a-1],u=r.indexOf(c,a-1);u!==-1&&(l=u+1)}t.value.setSelectionRange(l,l)}return[n,i]}var Me=(t,e)=>{const n=t.__vccOpts||t;for(const[i,r]of e)n[i]=r;return n};const k9=lt({size:{type:Ne([Number,String])},color:{type:String}}),C9={name:"ElIcon",inheritAttrs:!1},T9=Ce(Je(ze({},C9),{props:k9,setup(t){const e=t,n=Ze("icon"),i=N(()=>!e.size&&!e.color?{}:{fontSize:Dr(e.size)?void 0:wr(e.size),"--color":e.color});return(r,s)=>(L(),ie("i",ii({class:M(n).b(),style:M(i)},r.$attrs),[We(r.$slots,"default")],16))}}));var R9=Me(T9,[["__file","/home/runner/work/element-plus/element-plus/packages/components/icon/src/icon.vue"]]);const wt=Gt(R9),A9=["light","dark"],E9=lt({title:{type:String,default:""},description:{type:String,default:""},type:{type:String,values:vg(Qs),default:"info"},closable:{type:Boolean,default:!0},closeText:{type:String,default:""},showIcon:Boolean,center:Boolean,effect:{type:String,values:A9,default:"light"}}),X9={close:t=>t instanceof MouseEvent},W9={name:"ElAlert"},z9=Ce(Je(ze({},W9),{props:E9,emits:X9,setup(t,{emit:e}){const n=t,{Close:i}=cp,r=df(),s=Ze("alert"),o=J(!0),a=N(()=>Qs[n.type]||Qs.info),l=N(()=>n.description||{[s.is("big")]:r.default}),c=N(()=>n.description||{[s.is("bold")]:r.default}),u=O=>{o.value=!1,e("close",O)};return(O,f)=>(L(),be(ri,{name:M(s).b("fade")},{default:Y(()=>[it(U("div",{class:te([M(s).b(),M(s).m(O.type),M(s).is("center",O.center),M(s).is(O.effect)]),role:"alert"},[O.showIcon&&M(a)?(L(),be(M(wt),{key:0,class:te([M(s).e("icon"),M(l)])},{default:Y(()=>[(L(),be(Vt(M(a))))]),_:1},8,["class"])):Qe("v-if",!0),U("div",{class:te(M(s).e("content"))},[O.title||O.$slots.title?(L(),ie("span",{key:0,class:te([M(s).e("title"),M(c)])},[We(O.$slots,"title",{},()=>[Ee(de(O.title),1)])],2)):Qe("v-if",!0),O.$slots.default||O.description?(L(),ie("p",{key:1,class:te(M(s).e("description"))},[We(O.$slots,"default",{},()=>[Ee(de(O.description),1)])],2)):Qe("v-if",!0),O.closable?(L(),ie(Le,{key:2},[O.closeText?(L(),ie("div",{key:0,class:te([M(s).e("close-btn"),M(s).is("customed")]),onClick:u},de(O.closeText),3)):(L(),be(M(wt),{key:1,class:te(M(s).e("close-btn")),onClick:u},{default:Y(()=>[B(M(i))]),_:1},8,["class"]))],2112)):Qe("v-if",!0)],2)],2),[[Lt,o.value]])]),_:3},8,["name"]))}}));var I9=Me(z9,[["__file","/home/runner/work/element-plus/element-plus/packages/components/alert/src/alert.vue"]]);const bf=Gt(I9);let Or;const q9=` + height:0 !important; + visibility:hidden !important; + overflow:hidden !important; + position:absolute !important; + z-index:-1000 !important; + top:0 !important; + right:0 !important; +`,U9=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function D9(t){const e=window.getComputedStyle(t),n=e.getPropertyValue("box-sizing"),i=Number.parseFloat(e.getPropertyValue("padding-bottom"))+Number.parseFloat(e.getPropertyValue("padding-top")),r=Number.parseFloat(e.getPropertyValue("border-bottom-width"))+Number.parseFloat(e.getPropertyValue("border-top-width"));return{contextStyle:U9.map(o=>`${o}:${e.getPropertyValue(o)}`).join(";"),paddingSize:i,borderSize:r,boxSizing:n}}function __(t,e=1,n){var i;Or||(Or=document.createElement("textarea"),document.body.appendChild(Or));const{paddingSize:r,borderSize:s,boxSizing:o,contextStyle:a}=D9(t);Or.setAttribute("style",`${a};${q9}`),Or.value=t.value||t.placeholder||"";let l=Or.scrollHeight;const c={};o==="border-box"?l=l+s:o==="content-box"&&(l=l-r),Or.value="";const u=Or.scrollHeight-r;if(Bt(e)){let O=u*e;o==="border-box"&&(O=O+r+s),l=Math.max(O,l),c.minHeight=`${O}px`}if(Bt(n)){let O=u*n;o==="border-box"&&(O=O+r+s),l=Math.min(O,l)}return c.height=`${l}px`,(i=Or.parentNode)==null||i.removeChild(Or),Or=void 0,c}const L9=lt({id:{type:String,default:void 0},size:fp,disabled:Boolean,modelValue:{type:Ne([String,Number,Object]),default:""},type:{type:String,default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:Ne([Boolean,Object]),default:!1},autocomplete:{type:String,default:"off"},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String,default:""},readonly:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},showPassword:{type:Boolean,default:!1},showWordLimit:{type:Boolean,default:!1},suffixIcon:{type:_s,default:""},prefixIcon:{type:_s,default:""},label:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:Ne([Object,Array,String]),default:()=>n$({})}}),B9={[Wt]:t=>ot(t),input:t=>ot(t),change:t=>ot(t),focus:t=>t instanceof FocusEvent,blur:t=>t instanceof FocusEvent,clear:()=>!0,mouseleave:t=>t instanceof MouseEvent,mouseenter:t=>t instanceof MouseEvent,keydown:t=>t instanceof Event,compositionstart:t=>t instanceof CompositionEvent,compositionupdate:t=>t instanceof CompositionEvent,compositionend:t=>t instanceof CompositionEvent},M9=["id","type","disabled","formatter","parser","readonly","autocomplete","tabindex","aria-label","placeholder"],Y9=["id","tabindex","disabled","readonly","autocomplete","aria-label","placeholder"],Z9={name:"ElInput",inheritAttrs:!1},V9=Ce(Je(ze({},Z9),{props:L9,emits:B9,setup(t,{expose:e,emit:n}){const i=t,r={suffix:"append",prefix:"prepend"},s=$t(),o=ck(),a=df(),l=PC(),{form:c,formItem:u}=yf(),{inputId:O}=$f(i,{formItemContext:u}),f=Ln(),h=dc(),p=Ze("input"),y=Ze("textarea"),$=ga(),m=ga(),d=J(!1),g=J(!1),v=J(!1),b=J(!1),_=J(),Q=ga(i.inputStyle),S=N(()=>$.value||m.value),P=N(()=>{var ce;return(ce=c==null?void 0:c.statusIcon)!=null?ce:!1}),w=N(()=>(u==null?void 0:u.validateState)||""),x=N(()=>HB[w.value]),k=N(()=>b.value?YB:OB),C=N(()=>[o.style,i.inputStyle]),T=N(()=>[i.inputStyle,Q.value,{resize:i.resize}]),E=N(()=>hD(i.modelValue)?"":String(i.modelValue)),A=N(()=>i.clearable&&!h.value&&!i.readonly&&!!E.value&&(d.value||g.value)),R=N(()=>i.showPassword&&!h.value&&!i.readonly&&(!!E.value||d.value)),X=N(()=>i.showWordLimit&&!!l.value.maxlength&&(i.type==="text"||i.type==="textarea")&&!h.value&&!i.readonly&&!i.showPassword),D=N(()=>Array.from(E.value).length),V=N(()=>!!X.value&&D.value>Number(l.value.maxlength)),j=N(()=>!!a.suffix||!!i.suffixIcon||A.value||i.showPassword||X.value||!!w.value&&P.value),[Z,ee]=P9($);mf(m,ce=>{if(!X.value||i.resize!=="both")return;const K=ce[0],{width:ge}=K.contentRect;_.value={right:`calc(100% - ${ge+15+6}px)`}});const se=()=>{const{type:ce,autosize:K}=i;if(!(!qt||ce!=="textarea"))if(K){const ge=yt(K)?K.minRows:void 0,Te=yt(K)?K.maxRows:void 0;Q.value=ze({},__(m.value,ge,Te))}else Q.value={minHeight:__(m.value).minHeight}},I=()=>{const ce=S.value;!ce||ce.value===E.value||(ce.value=E.value)},ne=ce=>{const{el:K}=s.vnode;if(!K)return;const Te=Array.from(K.querySelectorAll(`.${p.e(ce)}`)).find(Ae=>Ae.parentNode===K);if(!Te)return;const Ye=r[ce];a[Ye]?Te.style.transform=`translateX(${ce==="suffix"?"-":""}${K.querySelector(`.${p.be("group",Ye)}`).offsetWidth}px)`:Te.removeAttribute("style")},H=()=>{ne("prefix"),ne("suffix")},re=async ce=>{Z();let{value:K}=ce.target;i.formatter&&(K=i.parser?i.parser(K):K,K=i.formatter(K)),!v.value&&K!==E.value&&(n(Wt,K),n("input",K),await et(),I(),ee())},G=ce=>{n("change",ce.target.value)},Re=ce=>{n("compositionstart",ce),v.value=!0},_e=ce=>{var K;n("compositionupdate",ce);const ge=(K=ce.target)==null?void 0:K.value,Te=ge[ge.length-1]||"";v.value=!wC(Te)},ue=ce=>{n("compositionend",ce),v.value&&(v.value=!1,re(ce))},W=()=>{b.value=!b.value,q()},q=async()=>{var ce;await et(),(ce=S.value)==null||ce.focus()},F=()=>{var ce;return(ce=S.value)==null?void 0:ce.blur()},fe=ce=>{d.value=!0,n("focus",ce)},he=ce=>{var K;d.value=!1,n("blur",ce),i.validateEvent&&((K=u==null?void 0:u.validate)==null||K.call(u,"blur").catch(ge=>void 0))},ve=ce=>{g.value=!1,n("mouseleave",ce)},xe=ce=>{g.value=!0,n("mouseenter",ce)},me=ce=>{n("keydown",ce)},le=()=>{var ce;(ce=S.value)==null||ce.select()},oe=()=>{n(Wt,""),n("change",""),n("clear"),n("input","")};return Xe(()=>i.modelValue,()=>{var ce;et(()=>se()),i.validateEvent&&((ce=u==null?void 0:u.validate)==null||ce.call(u,"change").catch(K=>void 0))}),Xe(E,()=>I()),Xe(()=>i.type,async()=>{await et(),I(),se(),H()}),xt(async()=>{!i.formatter&&i.parser,I(),H(),await et(),se()}),Ps(async()=>{await et(),H()}),e({input:$,textarea:m,ref:S,textareaStyle:T,autosize:Pn(i,"autosize"),focus:q,blur:F,select:le,clear:oe,resizeTextarea:se}),(ce,K)=>it((L(),ie("div",{class:te([ce.type==="textarea"?M(y).b():M(p).b(),M(p).m(M(f)),M(p).is("disabled",M(h)),M(p).is("exceed",M(V)),{[M(p).b("group")]:ce.$slots.prepend||ce.$slots.append,[M(p).bm("group","append")]:ce.$slots.append,[M(p).bm("group","prepend")]:ce.$slots.prepend,[M(p).m("prefix")]:ce.$slots.prefix||ce.prefixIcon,[M(p).m("suffix")]:ce.$slots.suffix||ce.suffixIcon||ce.clearable||ce.showPassword,[M(p).bm("suffix","password-clear")]:M(A)&&M(R)},ce.$attrs.class]),style:tt(M(C)),onMouseenter:xe,onMouseleave:ve},[Qe(" input "),ce.type!=="textarea"?(L(),ie(Le,{key:0},[Qe(" prepend slot "),ce.$slots.prepend?(L(),ie("div",{key:0,class:te(M(p).be("group","prepend"))},[We(ce.$slots,"prepend")],2)):Qe("v-if",!0),U("div",{class:te([M(p).e("wrapper"),M(p).is("focus",d.value)])},[Qe(" prefix slot "),ce.$slots.prefix||ce.prefixIcon?(L(),ie("span",{key:0,class:te(M(p).e("prefix"))},[U("span",{class:te(M(p).e("prefix-inner"))},[We(ce.$slots,"prefix"),ce.prefixIcon?(L(),be(M(wt),{key:0,class:te(M(p).e("icon"))},{default:Y(()=>[(L(),be(Vt(ce.prefixIcon)))]),_:1},8,["class"])):Qe("v-if",!0)],2)],2)):Qe("v-if",!0),U("input",ii({id:M(O),ref_key:"input",ref:$,class:M(p).e("inner")},M(l),{type:ce.showPassword?b.value?"text":"password":ce.type,disabled:M(h),formatter:ce.formatter,parser:ce.parser,readonly:ce.readonly,autocomplete:ce.autocomplete,tabindex:ce.tabindex,"aria-label":ce.label,placeholder:ce.placeholder,style:ce.inputStyle,onCompositionstart:Re,onCompositionupdate:_e,onCompositionend:ue,onInput:re,onFocus:fe,onBlur:he,onChange:G,onKeydown:me}),null,16,M9),Qe(" suffix slot "),M(j)?(L(),ie("span",{key:1,class:te(M(p).e("suffix"))},[U("span",{class:te(M(p).e("suffix-inner"))},[!M(A)||!M(R)||!M(X)?(L(),ie(Le,{key:0},[We(ce.$slots,"suffix"),ce.suffixIcon?(L(),be(M(wt),{key:0,class:te(M(p).e("icon"))},{default:Y(()=>[(L(),be(Vt(ce.suffixIcon)))]),_:1},8,["class"])):Qe("v-if",!0)],64)):Qe("v-if",!0),M(A)?(L(),be(M(wt),{key:1,class:te([M(p).e("icon"),M(p).e("clear")]),onMousedown:K[0]||(K[0]=Et(()=>{},["prevent"])),onClick:oe},{default:Y(()=>[B(M(Dl))]),_:1},8,["class"])):Qe("v-if",!0),M(R)?(L(),be(M(wt),{key:2,class:te([M(p).e("icon"),M(p).e("password")]),onClick:W},{default:Y(()=>[(L(),be(Vt(M(k))))]),_:1},8,["class"])):Qe("v-if",!0),M(X)?(L(),ie("span",{key:3,class:te(M(p).e("count"))},[U("span",{class:te(M(p).e("count-inner"))},de(M(D))+" / "+de(M(l).maxlength),3)],2)):Qe("v-if",!0),M(w)&&M(x)&&M(P)?(L(),be(M(wt),{key:4,class:te([M(p).e("icon"),M(p).e("validateIcon"),M(p).is("loading",M(w)==="validating")])},{default:Y(()=>[(L(),be(Vt(M(x))))]),_:1},8,["class"])):Qe("v-if",!0)],2)],2)):Qe("v-if",!0)],2),Qe(" append slot "),ce.$slots.append?(L(),ie("div",{key:1,class:te(M(p).be("group","append"))},[We(ce.$slots,"append")],2)):Qe("v-if",!0)],64)):(L(),ie(Le,{key:1},[Qe(" textarea "),U("textarea",ii({id:M(O),ref_key:"textarea",ref:m,class:M(y).e("inner")},M(l),{tabindex:ce.tabindex,disabled:M(h),readonly:ce.readonly,autocomplete:ce.autocomplete,style:M(T),"aria-label":ce.label,placeholder:ce.placeholder,onCompositionstart:Re,onCompositionupdate:_e,onCompositionend:ue,onInput:re,onFocus:fe,onBlur:he,onChange:G,onKeydown:me}),null,16,Y9),M(X)?(L(),ie("span",{key:0,style:tt(_.value),class:te(M(p).e("count"))},de(M(D))+" / "+de(M(l).maxlength),7)):Qe("v-if",!0)],64))],38)),[[Lt,ce.type!=="hidden"]])}}));var j9=Me(V9,[["__file","/home/runner/work/element-plus/element-plus/packages/components/input/src/input.vue"]]);const si=Gt(j9),N9={vertical:{offset:"offsetHeight",scroll:"scrollTop",scrollSize:"scrollHeight",size:"height",key:"vertical",axis:"Y",client:"clientY",direction:"top"},horizontal:{offset:"offsetWidth",scroll:"scrollLeft",scrollSize:"scrollWidth",size:"width",key:"horizontal",axis:"X",client:"clientX",direction:"left"}},F9=({move:t,size:e,bar:n})=>({[n.size]:e,transform:`translate${n.axis}(${t}%)`}),G9=lt({vertical:Boolean,size:String,move:Number,ratio:{type:Number,required:!0},always:Boolean}),Q_="Thumb",H9=Ce({name:Q_,props:G9,setup(t){const e=De(AC),n=Ze("scrollbar");e||Wo(Q_,"can not inject scrollbar context");const i=J(),r=J(),s=J({}),o=J(!1);let a=!1,l=!1,c=qt?document.onselectstart:null;const u=N(()=>N9[t.vertical?"vertical":"horizontal"]),O=N(()=>F9({size:t.size,move:t.move,bar:u.value})),f=N(()=>i.value[u.value.offset]**2/e.wrapElement[u.value.scrollSize]/t.ratio/r.value[u.value.offset]),h=b=>{var _;if(b.stopPropagation(),b.ctrlKey||[1,2].includes(b.button))return;(_=window.getSelection())==null||_.removeAllRanges(),y(b);const Q=b.currentTarget;!Q||(s.value[u.value.axis]=Q[u.value.offset]-(b[u.value.client]-Q.getBoundingClientRect()[u.value.direction]))},p=b=>{if(!r.value||!i.value||!e.wrapElement)return;const _=Math.abs(b.target.getBoundingClientRect()[u.value.direction]-b[u.value.client]),Q=r.value[u.value.offset]/2,S=(_-Q)*100*f.value/i.value[u.value.offset];e.wrapElement[u.value.scroll]=S*e.wrapElement[u.value.scrollSize]/100},y=b=>{b.stopImmediatePropagation(),a=!0,document.addEventListener("mousemove",$),document.addEventListener("mouseup",m),c=document.onselectstart,document.onselectstart=()=>!1},$=b=>{if(!i.value||!r.value||a===!1)return;const _=s.value[u.value.axis];if(!_)return;const Q=(i.value.getBoundingClientRect()[u.value.direction]-b[u.value.client])*-1,S=r.value[u.value.offset]-_,P=(Q-S)*100*f.value/i.value[u.value.offset];e.wrapElement[u.value.scroll]=P*e.wrapElement[u.value.scrollSize]/100},m=()=>{a=!1,s.value[u.value.axis]=0,document.removeEventListener("mousemove",$),document.removeEventListener("mouseup",m),v(),l&&(o.value=!1)},d=()=>{l=!1,o.value=!!t.size},g=()=>{l=!0,o.value=a};Qn(()=>{v(),document.removeEventListener("mouseup",m)});const v=()=>{document.onselectstart!==c&&(document.onselectstart=c)};return Wi(Pn(e,"scrollbarElement"),"mousemove",d),Wi(Pn(e,"scrollbarElement"),"mouseleave",g),{ns:n,instance:i,thumb:r,bar:u,thumbStyle:O,visible:o,clickTrackHandler:p,clickThumbHandler:h}}});function K9(t,e,n,i,r,s){return L(),be(ri,{name:t.ns.b("fade")},{default:Y(()=>[it(U("div",{ref:"instance",class:te([t.ns.e("bar"),t.ns.is(t.bar.key)]),onMousedown:e[1]||(e[1]=(...o)=>t.clickTrackHandler&&t.clickTrackHandler(...o))},[U("div",{ref:"thumb",class:te(t.ns.e("thumb")),style:tt(t.thumbStyle),onMousedown:e[0]||(e[0]=(...o)=>t.clickThumbHandler&&t.clickThumbHandler(...o))},null,38)],34),[[Lt,t.always||t.visible]])]),_:1},8,["name"])}var J9=Me(H9,[["render",K9],["__file","/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/thumb.vue"]]);const eM=lt({always:{type:Boolean,default:!0},width:{type:String,default:""},height:{type:String,default:""},ratioX:{type:Number,default:1},ratioY:{type:Number,default:1}}),tM=Ce({components:{Thumb:J9},props:eM,setup(t){const e=J(0),n=J(0),i=4;return{handleScroll:s=>{if(s){const o=s.offsetHeight-i,a=s.offsetWidth-i;n.value=s.scrollTop*100/o*t.ratioY,e.value=s.scrollLeft*100/a*t.ratioX}},moveX:e,moveY:n}}});function nM(t,e,n,i,r,s){const o=Pe("thumb");return L(),ie(Le,null,[B(o,{move:t.moveX,ratio:t.ratioX,size:t.width,always:t.always},null,8,["move","ratio","size","always"]),B(o,{move:t.moveY,ratio:t.ratioY,size:t.height,vertical:"",always:t.always},null,8,["move","ratio","size","always"])],64)}var iM=Me(tM,[["render",nM],["__file","/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/bar.vue"]]);const rM=lt({height:{type:[String,Number],default:""},maxHeight:{type:[String,Number],default:""},native:{type:Boolean,default:!1},wrapStyle:{type:Ne([String,Object,Array]),default:""},wrapClass:{type:[String,Array],default:""},viewClass:{type:[String,Array],default:""},viewStyle:{type:[String,Array,Object],default:""},noresize:Boolean,tag:{type:String,default:"div"},always:{type:Boolean,default:!1},minSize:{type:Number,default:20}}),sM={scroll:({scrollTop:t,scrollLeft:e})=>Bt(t)&&Bt(e)},oM=Ce({name:"ElScrollbar",components:{Bar:iM},props:rM,emits:sM,setup(t,{emit:e}){const n=Ze("scrollbar");let i,r;const s=J(),o=J(),a=J(),l=J("0"),c=J("0"),u=J(),O=J(0),f=J(0),h=J(1),p=J(1),y=4,$=N(()=>{const _={};return t.height&&(_.height=wr(t.height)),t.maxHeight&&(_.maxHeight=wr(t.maxHeight)),[t.wrapStyle,_]}),m=()=>{var _;o.value&&((_=u.value)==null||_.handleScroll(o.value),e("scroll",{scrollTop:o.value.scrollTop,scrollLeft:o.value.scrollLeft}))};function d(_,Q){yt(_)?o.value.scrollTo(_):Bt(_)&&Bt(Q)&&o.value.scrollTo(_,Q)}const g=_=>{!Bt(_)||(o.value.scrollTop=_)},v=_=>{!Bt(_)||(o.value.scrollLeft=_)},b=()=>{if(!o.value)return;const _=o.value.offsetHeight-y,Q=o.value.offsetWidth-y,S=_**2/o.value.scrollHeight,P=Q**2/o.value.scrollWidth,w=Math.max(S,t.minSize),x=Math.max(P,t.minSize);h.value=S/(_-S)/(w/(_-w)),p.value=P/(Q-P)/(x/(Q-x)),c.value=w+y<_?`${w}px`:"",l.value=x+yt.noresize,_=>{_?(i==null||i(),r==null||r()):({stop:i}=mf(a,b),r=Wi("resize",b))},{immediate:!0}),Xe(()=>[t.maxHeight,t.height],()=>{t.native||et(()=>{var _;b(),o.value&&((_=u.value)==null||_.handleScroll(o.value))})}),kt(AC,gn({scrollbarElement:s,wrapElement:o})),xt(()=>{t.native||et(()=>b())}),Ps(()=>b()),{ns:n,scrollbar$:s,wrap$:o,resize$:a,barRef:u,moveX:O,moveY:f,ratioX:p,ratioY:h,sizeWidth:l,sizeHeight:c,style:$,update:b,handleScroll:m,scrollTo:d,setScrollTop:g,setScrollLeft:v}}});function aM(t,e,n,i,r,s){const o=Pe("bar");return L(),ie("div",{ref:"scrollbar$",class:te(t.ns.b())},[U("div",{ref:"wrap$",class:te([t.wrapClass,t.ns.e("wrap"),{[t.ns.em("wrap","hidden-default")]:!t.native}]),style:tt(t.style),onScroll:e[0]||(e[0]=(...a)=>t.handleScroll&&t.handleScroll(...a))},[(L(),be(Vt(t.tag),{ref:"resize$",class:te([t.ns.e("view"),t.viewClass]),style:tt(t.viewStyle)},{default:Y(()=>[We(t.$slots,"default")]),_:3},8,["class","style"]))],38),t.native?Qe("v-if",!0):(L(),be(o,{key:0,ref:"barRef",height:t.sizeHeight,width:t.sizeWidth,always:t.always,"ratio-x":t.ratioX,"ratio-y":t.ratioY},null,8,["height","width","always","ratio-x","ratio-y"]))],2)}var lM=Me(oM,[["render",aM],["__file","/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/scrollbar.vue"]]);const pc=Gt(lM),cM={name:"ElPopperRoot",inheritAttrs:!1},uM=Ce(Je(ze({},cM),{setup(t,{expose:e}){const n=J(),i=J(),r=J(),s=J(),o={triggerRef:n,popperInstanceRef:i,contentRef:r,referenceRef:s};return e(o),kt(i$,o),(a,l)=>We(a.$slots,"default")}}));var fM=Me(uM,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/popper.vue"]]);const MC=lt({arrowOffset:{type:Number,default:5}}),OM={name:"ElPopperArrow",inheritAttrs:!1},hM=Ce(Je(ze({},OM),{props:MC,setup(t,{expose:e}){const n=t,i=Ze("popper"),{arrowOffset:r,arrowRef:s}=De(EC,void 0);return Xe(()=>n.arrowOffset,o=>{r.value=o}),Qn(()=>{s.value=void 0}),e({arrowRef:s}),(o,a)=>(L(),ie("span",{ref_key:"arrowRef",ref:s,class:te(M(i).e("arrow")),"data-popper-arrow":""},null,2))}}));var dM=Me(hM,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/arrow.vue"]]);const pM="ElOnlyChild",mM=Ce({name:pM,setup(t,{slots:e,attrs:n}){var i;const r=De(LC),s=w9((i=r==null?void 0:r.setForwardRef)!=null?i:bn);return()=>{var o;const a=(o=e.default)==null?void 0:o.call(e,n);if(!a||a.length>1)return null;const l=YC(a);return l?it(ys(l,n),[[s]]):null}}});function YC(t){if(!t)return null;const e=t;for(const n of e){if(yt(n))switch(n.type){case Oi:continue;case hf:return k0(n);case"svg":return k0(n);case Le:return YC(n.children);default:return n}return k0(n)}return null}function k0(t){return B("span",{class:"el-only-child__content"},[t])}const ZC=lt({virtualRef:{type:Ne(Object)},virtualTriggering:Boolean,onMouseenter:Function,onMouseleave:Function,onClick:Function,onKeydown:Function,onFocus:Function,onBlur:Function,onContextmenu:Function,id:String,open:Boolean}),gM={name:"ElPopperTrigger",inheritAttrs:!1},vM=Ce(Je(ze({},gM),{props:ZC,setup(t,{expose:e}){const n=t,{triggerRef:i}=De(i$,void 0);return S9(i),xt(()=>{Xe(()=>n.virtualRef,r=>{r&&(i.value=$a(r))},{immediate:!0}),Xe(()=>i.value,(r,s)=>{Ul(r)&&["onMouseenter","onMouseleave","onClick","onKeydown","onFocus","onBlur","onContextmenu"].forEach(o=>{var a;const l=n[o];l&&(r.addEventListener(o.slice(2).toLowerCase(),l),(a=s==null?void 0:s.removeEventListener)==null||a.call(s,o.slice(2).toLowerCase(),l))})},{immediate:!0})}),e({triggerRef:i}),(r,s)=>r.virtualTriggering?Qe("v-if",!0):(L(),be(M(mM),ii({key:0},r.$attrs,{"aria-describedby":r.open?r.id:void 0}),{default:Y(()=>[We(r.$slots,"default")]),_:3},16,["aria-describedby"]))}}));var yM=Me(vM,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/trigger.vue"]]),hi="top",ir="bottom",rr="right",di="left",s$="auto",_f=[hi,ir,rr,di],Ll="start",Yu="end",$M="clippingParents",VC="viewport",Xc="popper",bM="reference",S_=_f.reduce(function(t,e){return t.concat([e+"-"+Ll,e+"-"+Yu])},[]),o$=[].concat(_f,[s$]).reduce(function(t,e){return t.concat([e,e+"-"+Ll,e+"-"+Yu])},[]),_M="beforeRead",QM="read",SM="afterRead",wM="beforeMain",xM="main",PM="afterMain",kM="beforeWrite",CM="write",TM="afterWrite",RM=[_M,QM,SM,wM,xM,PM,kM,CM,TM];function Hr(t){return t?(t.nodeName||"").toLowerCase():null}function kr(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function Bl(t){var e=kr(t).Element;return t instanceof e||t instanceof Element}function er(t){var e=kr(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function a$(t){if(typeof ShadowRoot=="undefined")return!1;var e=kr(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function AM(t){var e=t.state;Object.keys(e.elements).forEach(function(n){var i=e.styles[n]||{},r=e.attributes[n]||{},s=e.elements[n];!er(s)||!Hr(s)||(Object.assign(s.style,i),Object.keys(r).forEach(function(o){var a=r[o];a===!1?s.removeAttribute(o):s.setAttribute(o,a===!0?"":a)}))})}function EM(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach(function(i){var r=e.elements[i],s=e.attributes[i]||{},o=Object.keys(e.styles.hasOwnProperty(i)?e.styles[i]:n[i]),a=o.reduce(function(l,c){return l[c]="",l},{});!er(r)||!Hr(r)||(Object.assign(r.style,a),Object.keys(s).forEach(function(l){r.removeAttribute(l)}))})}}var jC={name:"applyStyles",enabled:!0,phase:"write",fn:AM,effect:EM,requires:["computeStyles"]};function Zr(t){return t.split("-")[0]}var ba=Math.max,Kh=Math.min,Ml=Math.round;function Yl(t,e){e===void 0&&(e=!1);var n=t.getBoundingClientRect(),i=1,r=1;if(er(t)&&e){var s=t.offsetHeight,o=t.offsetWidth;o>0&&(i=Ml(n.width)/o||1),s>0&&(r=Ml(n.height)/s||1)}return{width:n.width/i,height:n.height/r,top:n.top/r,right:n.right/i,bottom:n.bottom/r,left:n.left/i,x:n.left/i,y:n.top/r}}function l$(t){var e=Yl(t),n=t.offsetWidth,i=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-i)<=1&&(i=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:i}}function NC(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&a$(n)){var i=e;do{if(i&&t.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function Ss(t){return kr(t).getComputedStyle(t)}function XM(t){return["table","td","th"].indexOf(Hr(t))>=0}function zo(t){return((Bl(t)?t.ownerDocument:t.document)||window.document).documentElement}function hp(t){return Hr(t)==="html"?t:t.assignedSlot||t.parentNode||(a$(t)?t.host:null)||zo(t)}function w_(t){return!er(t)||Ss(t).position==="fixed"?null:t.offsetParent}function WM(t){var e=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,n=navigator.userAgent.indexOf("Trident")!==-1;if(n&&er(t)){var i=Ss(t);if(i.position==="fixed")return null}var r=hp(t);for(a$(r)&&(r=r.host);er(r)&&["html","body"].indexOf(Hr(r))<0;){var s=Ss(r);if(s.transform!=="none"||s.perspective!=="none"||s.contain==="paint"||["transform","perspective"].indexOf(s.willChange)!==-1||e&&s.willChange==="filter"||e&&s.filter&&s.filter!=="none")return r;r=r.parentNode}return null}function Qf(t){for(var e=kr(t),n=w_(t);n&&XM(n)&&Ss(n).position==="static";)n=w_(n);return n&&(Hr(n)==="html"||Hr(n)==="body"&&Ss(n).position==="static")?e:n||WM(t)||e}function c$(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function du(t,e,n){return ba(t,Kh(e,n))}function zM(t,e,n){var i=du(t,e,n);return i>n?n:i}function FC(){return{top:0,right:0,bottom:0,left:0}}function GC(t){return Object.assign({},FC(),t)}function HC(t,e){return e.reduce(function(n,i){return n[i]=t,n},{})}var IM=function(t,e){return t=typeof t=="function"?t(Object.assign({},e.rects,{placement:e.placement})):t,GC(typeof t!="number"?t:HC(t,_f))};function qM(t){var e,n=t.state,i=t.name,r=t.options,s=n.elements.arrow,o=n.modifiersData.popperOffsets,a=Zr(n.placement),l=c$(a),c=[di,rr].indexOf(a)>=0,u=c?"height":"width";if(!(!s||!o)){var O=IM(r.padding,n),f=l$(s),h=l==="y"?hi:di,p=l==="y"?ir:rr,y=n.rects.reference[u]+n.rects.reference[l]-o[l]-n.rects.popper[u],$=o[l]-n.rects.reference[l],m=Qf(s),d=m?l==="y"?m.clientHeight||0:m.clientWidth||0:0,g=y/2-$/2,v=O[h],b=d-f[u]-O[p],_=d/2-f[u]/2+g,Q=du(v,_,b),S=l;n.modifiersData[i]=(e={},e[S]=Q,e.centerOffset=Q-_,e)}}function UM(t){var e=t.state,n=t.options,i=n.element,r=i===void 0?"[data-popper-arrow]":i;r!=null&&(typeof r=="string"&&(r=e.elements.popper.querySelector(r),!r)||!NC(e.elements.popper,r)||(e.elements.arrow=r))}var DM={name:"arrow",enabled:!0,phase:"main",fn:qM,effect:UM,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Zl(t){return t.split("-")[1]}var LM={top:"auto",right:"auto",bottom:"auto",left:"auto"};function BM(t){var e=t.x,n=t.y,i=window,r=i.devicePixelRatio||1;return{x:Ml(e*r)/r||0,y:Ml(n*r)/r||0}}function x_(t){var e,n=t.popper,i=t.popperRect,r=t.placement,s=t.variation,o=t.offsets,a=t.position,l=t.gpuAcceleration,c=t.adaptive,u=t.roundOffsets,O=t.isFixed,f=o.x,h=f===void 0?0:f,p=o.y,y=p===void 0?0:p,$=typeof u=="function"?u({x:h,y}):{x:h,y};h=$.x,y=$.y;var m=o.hasOwnProperty("x"),d=o.hasOwnProperty("y"),g=di,v=hi,b=window;if(c){var _=Qf(n),Q="clientHeight",S="clientWidth";if(_===kr(n)&&(_=zo(n),Ss(_).position!=="static"&&a==="absolute"&&(Q="scrollHeight",S="scrollWidth")),_=_,r===hi||(r===di||r===rr)&&s===Yu){v=ir;var P=O&&_===b&&b.visualViewport?b.visualViewport.height:_[Q];y-=P-i.height,y*=l?1:-1}if(r===di||(r===hi||r===ir)&&s===Yu){g=rr;var w=O&&_===b&&b.visualViewport?b.visualViewport.width:_[S];h-=w-i.width,h*=l?1:-1}}var x=Object.assign({position:a},c&&LM),k=u===!0?BM({x:h,y}):{x:h,y};if(h=k.x,y=k.y,l){var C;return Object.assign({},x,(C={},C[v]=d?"0":"",C[g]=m?"0":"",C.transform=(b.devicePixelRatio||1)<=1?"translate("+h+"px, "+y+"px)":"translate3d("+h+"px, "+y+"px, 0)",C))}return Object.assign({},x,(e={},e[v]=d?y+"px":"",e[g]=m?h+"px":"",e.transform="",e))}function MM(t){var e=t.state,n=t.options,i=n.gpuAcceleration,r=i===void 0?!0:i,s=n.adaptive,o=s===void 0?!0:s,a=n.roundOffsets,l=a===void 0?!0:a,c={placement:Zr(e.placement),variation:Zl(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:r,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,x_(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:o,roundOffsets:l})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,x_(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}var KC={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:MM,data:{}},yO={passive:!0};function YM(t){var e=t.state,n=t.instance,i=t.options,r=i.scroll,s=r===void 0?!0:r,o=i.resize,a=o===void 0?!0:o,l=kr(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return s&&c.forEach(function(u){u.addEventListener("scroll",n.update,yO)}),a&&l.addEventListener("resize",n.update,yO),function(){s&&c.forEach(function(u){u.removeEventListener("scroll",n.update,yO)}),a&&l.removeEventListener("resize",n.update,yO)}}var JC={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:YM,data:{}},ZM={left:"right",right:"left",bottom:"top",top:"bottom"};function fh(t){return t.replace(/left|right|bottom|top/g,function(e){return ZM[e]})}var VM={start:"end",end:"start"};function P_(t){return t.replace(/start|end/g,function(e){return VM[e]})}function u$(t){var e=kr(t),n=e.pageXOffset,i=e.pageYOffset;return{scrollLeft:n,scrollTop:i}}function f$(t){return Yl(zo(t)).left+u$(t).scrollLeft}function jM(t){var e=kr(t),n=zo(t),i=e.visualViewport,r=n.clientWidth,s=n.clientHeight,o=0,a=0;return i&&(r=i.width,s=i.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(o=i.offsetLeft,a=i.offsetTop)),{width:r,height:s,x:o+f$(t),y:a}}function NM(t){var e,n=zo(t),i=u$(t),r=(e=t.ownerDocument)==null?void 0:e.body,s=ba(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),o=ba(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),a=-i.scrollLeft+f$(t),l=-i.scrollTop;return Ss(r||n).direction==="rtl"&&(a+=ba(n.clientWidth,r?r.clientWidth:0)-s),{width:s,height:o,x:a,y:l}}function O$(t){var e=Ss(t),n=e.overflow,i=e.overflowX,r=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+i)}function e2(t){return["html","body","#document"].indexOf(Hr(t))>=0?t.ownerDocument.body:er(t)&&O$(t)?t:e2(hp(t))}function pu(t,e){var n;e===void 0&&(e=[]);var i=e2(t),r=i===((n=t.ownerDocument)==null?void 0:n.body),s=kr(i),o=r?[s].concat(s.visualViewport||[],O$(i)?i:[]):i,a=e.concat(o);return r?a:a.concat(pu(hp(o)))}function _g(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function FM(t){var e=Yl(t);return e.top=e.top+t.clientTop,e.left=e.left+t.clientLeft,e.bottom=e.top+t.clientHeight,e.right=e.left+t.clientWidth,e.width=t.clientWidth,e.height=t.clientHeight,e.x=e.left,e.y=e.top,e}function k_(t,e){return e===VC?_g(jM(t)):Bl(e)?FM(e):_g(NM(zo(t)))}function GM(t){var e=pu(hp(t)),n=["absolute","fixed"].indexOf(Ss(t).position)>=0,i=n&&er(t)?Qf(t):t;return Bl(i)?e.filter(function(r){return Bl(r)&&NC(r,i)&&Hr(r)!=="body"}):[]}function HM(t,e,n){var i=e==="clippingParents"?GM(t):[].concat(e),r=[].concat(i,[n]),s=r[0],o=r.reduce(function(a,l){var c=k_(t,l);return a.top=ba(c.top,a.top),a.right=Kh(c.right,a.right),a.bottom=Kh(c.bottom,a.bottom),a.left=ba(c.left,a.left),a},k_(t,s));return o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}function t2(t){var e=t.reference,n=t.element,i=t.placement,r=i?Zr(i):null,s=i?Zl(i):null,o=e.x+e.width/2-n.width/2,a=e.y+e.height/2-n.height/2,l;switch(r){case hi:l={x:o,y:e.y-n.height};break;case ir:l={x:o,y:e.y+e.height};break;case rr:l={x:e.x+e.width,y:a};break;case di:l={x:e.x-n.width,y:a};break;default:l={x:e.x,y:e.y}}var c=r?c$(r):null;if(c!=null){var u=c==="y"?"height":"width";switch(s){case Ll:l[c]=l[c]-(e[u]/2-n[u]/2);break;case Yu:l[c]=l[c]+(e[u]/2-n[u]/2);break}}return l}function Zu(t,e){e===void 0&&(e={});var n=e,i=n.placement,r=i===void 0?t.placement:i,s=n.boundary,o=s===void 0?$M:s,a=n.rootBoundary,l=a===void 0?VC:a,c=n.elementContext,u=c===void 0?Xc:c,O=n.altBoundary,f=O===void 0?!1:O,h=n.padding,p=h===void 0?0:h,y=GC(typeof p!="number"?p:HC(p,_f)),$=u===Xc?bM:Xc,m=t.rects.popper,d=t.elements[f?$:u],g=HM(Bl(d)?d:d.contextElement||zo(t.elements.popper),o,l),v=Yl(t.elements.reference),b=t2({reference:v,element:m,strategy:"absolute",placement:r}),_=_g(Object.assign({},m,b)),Q=u===Xc?_:v,S={top:g.top-Q.top+y.top,bottom:Q.bottom-g.bottom+y.bottom,left:g.left-Q.left+y.left,right:Q.right-g.right+y.right},P=t.modifiersData.offset;if(u===Xc&&P){var w=P[r];Object.keys(S).forEach(function(x){var k=[rr,ir].indexOf(x)>=0?1:-1,C=[hi,ir].indexOf(x)>=0?"y":"x";S[x]+=w[C]*k})}return S}function KM(t,e){e===void 0&&(e={});var n=e,i=n.placement,r=n.boundary,s=n.rootBoundary,o=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,c=l===void 0?o$:l,u=Zl(i),O=u?a?S_:S_.filter(function(p){return Zl(p)===u}):_f,f=O.filter(function(p){return c.indexOf(p)>=0});f.length===0&&(f=O);var h=f.reduce(function(p,y){return p[y]=Zu(t,{placement:y,boundary:r,rootBoundary:s,padding:o})[Zr(y)],p},{});return Object.keys(h).sort(function(p,y){return h[p]-h[y]})}function JM(t){if(Zr(t)===s$)return[];var e=fh(t);return[P_(t),e,P_(e)]}function e7(t){var e=t.state,n=t.options,i=t.name;if(!e.modifiersData[i]._skip){for(var r=n.mainAxis,s=r===void 0?!0:r,o=n.altAxis,a=o===void 0?!0:o,l=n.fallbackPlacements,c=n.padding,u=n.boundary,O=n.rootBoundary,f=n.altBoundary,h=n.flipVariations,p=h===void 0?!0:h,y=n.allowedAutoPlacements,$=e.options.placement,m=Zr($),d=m===$,g=l||(d||!p?[fh($)]:JM($)),v=[$].concat(g).reduce(function(se,I){return se.concat(Zr(I)===s$?KM(e,{placement:I,boundary:u,rootBoundary:O,padding:c,flipVariations:p,allowedAutoPlacements:y}):I)},[]),b=e.rects.reference,_=e.rects.popper,Q=new Map,S=!0,P=v[0],w=0;w=0,E=T?"width":"height",A=Zu(e,{placement:x,boundary:u,rootBoundary:O,altBoundary:f,padding:c}),R=T?C?rr:di:C?ir:hi;b[E]>_[E]&&(R=fh(R));var X=fh(R),D=[];if(s&&D.push(A[k]<=0),a&&D.push(A[R]<=0,A[X]<=0),D.every(function(se){return se})){P=x,S=!1;break}Q.set(x,D)}if(S)for(var V=p?3:1,j=function(se){var I=v.find(function(ne){var H=Q.get(ne);if(H)return H.slice(0,se).every(function(re){return re})});if(I)return P=I,"break"},Z=V;Z>0;Z--){var ee=j(Z);if(ee==="break")break}e.placement!==P&&(e.modifiersData[i]._skip=!0,e.placement=P,e.reset=!0)}}var t7={name:"flip",enabled:!0,phase:"main",fn:e7,requiresIfExists:["offset"],data:{_skip:!1}};function C_(t,e,n){return n===void 0&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function T_(t){return[hi,rr,ir,di].some(function(e){return t[e]>=0})}function n7(t){var e=t.state,n=t.name,i=e.rects.reference,r=e.rects.popper,s=e.modifiersData.preventOverflow,o=Zu(e,{elementContext:"reference"}),a=Zu(e,{altBoundary:!0}),l=C_(o,i),c=C_(a,r,s),u=T_(l),O=T_(c);e.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:O},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":O})}var i7={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:n7};function r7(t,e,n){var i=Zr(t),r=[di,hi].indexOf(i)>=0?-1:1,s=typeof n=="function"?n(Object.assign({},e,{placement:t})):n,o=s[0],a=s[1];return o=o||0,a=(a||0)*r,[di,rr].indexOf(i)>=0?{x:a,y:o}:{x:o,y:a}}function s7(t){var e=t.state,n=t.options,i=t.name,r=n.offset,s=r===void 0?[0,0]:r,o=o$.reduce(function(u,O){return u[O]=r7(O,e.rects,s),u},{}),a=o[e.placement],l=a.x,c=a.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=c),e.modifiersData[i]=o}var o7={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:s7};function a7(t){var e=t.state,n=t.name;e.modifiersData[n]=t2({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}var n2={name:"popperOffsets",enabled:!0,phase:"read",fn:a7,data:{}};function l7(t){return t==="x"?"y":"x"}function c7(t){var e=t.state,n=t.options,i=t.name,r=n.mainAxis,s=r===void 0?!0:r,o=n.altAxis,a=o===void 0?!1:o,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,O=n.padding,f=n.tether,h=f===void 0?!0:f,p=n.tetherOffset,y=p===void 0?0:p,$=Zu(e,{boundary:l,rootBoundary:c,padding:O,altBoundary:u}),m=Zr(e.placement),d=Zl(e.placement),g=!d,v=c$(m),b=l7(v),_=e.modifiersData.popperOffsets,Q=e.rects.reference,S=e.rects.popper,P=typeof y=="function"?y(Object.assign({},e.rects,{placement:e.placement})):y,w=typeof P=="number"?{mainAxis:P,altAxis:P}:Object.assign({mainAxis:0,altAxis:0},P),x=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,k={x:0,y:0};if(_){if(s){var C,T=v==="y"?hi:di,E=v==="y"?ir:rr,A=v==="y"?"height":"width",R=_[v],X=R+$[T],D=R-$[E],V=h?-S[A]/2:0,j=d===Ll?Q[A]:S[A],Z=d===Ll?-S[A]:-Q[A],ee=e.elements.arrow,se=h&&ee?l$(ee):{width:0,height:0},I=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:FC(),ne=I[T],H=I[E],re=du(0,Q[A],se[A]),G=g?Q[A]/2-V-re-ne-w.mainAxis:j-re-ne-w.mainAxis,Re=g?-Q[A]/2+V+re+H+w.mainAxis:Z+re+H+w.mainAxis,_e=e.elements.arrow&&Qf(e.elements.arrow),ue=_e?v==="y"?_e.clientTop||0:_e.clientLeft||0:0,W=(C=x==null?void 0:x[v])!=null?C:0,q=R+G-W-ue,F=R+Re-W,fe=du(h?Kh(X,q):X,R,h?ba(D,F):D);_[v]=fe,k[v]=fe-R}if(a){var he,ve=v==="x"?hi:di,xe=v==="x"?ir:rr,me=_[b],le=b==="y"?"height":"width",oe=me+$[ve],ce=me-$[xe],K=[hi,di].indexOf(m)!==-1,ge=(he=x==null?void 0:x[b])!=null?he:0,Te=K?oe:me-Q[le]-S[le]-ge+w.altAxis,Ye=K?me+Q[le]+S[le]-ge-w.altAxis:ce,Ae=h&&K?zM(Te,me,Ye):du(h?Te:oe,me,h?Ye:ce);_[b]=Ae,k[b]=Ae-me}e.modifiersData[i]=k}}var u7={name:"preventOverflow",enabled:!0,phase:"main",fn:c7,requiresIfExists:["offset"]};function f7(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function O7(t){return t===kr(t)||!er(t)?u$(t):f7(t)}function h7(t){var e=t.getBoundingClientRect(),n=Ml(e.width)/t.offsetWidth||1,i=Ml(e.height)/t.offsetHeight||1;return n!==1||i!==1}function d7(t,e,n){n===void 0&&(n=!1);var i=er(e),r=er(e)&&h7(e),s=zo(e),o=Yl(t,r),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(i||!i&&!n)&&((Hr(e)!=="body"||O$(s))&&(a=O7(e)),er(e)?(l=Yl(e,!0),l.x+=e.clientLeft,l.y+=e.clientTop):s&&(l.x=f$(s))),{x:o.left+a.scrollLeft-l.x,y:o.top+a.scrollTop-l.y,width:o.width,height:o.height}}function p7(t){var e=new Map,n=new Set,i=[];t.forEach(function(s){e.set(s.name,s)});function r(s){n.add(s.name);var o=[].concat(s.requires||[],s.requiresIfExists||[]);o.forEach(function(a){if(!n.has(a)){var l=e.get(a);l&&r(l)}}),i.push(s)}return t.forEach(function(s){n.has(s.name)||r(s)}),i}function m7(t){var e=p7(t);return RM.reduce(function(n,i){return n.concat(e.filter(function(r){return r.phase===i}))},[])}function g7(t){var e;return function(){return e||(e=new Promise(function(n){Promise.resolve().then(function(){e=void 0,n(t())})})),e}}function v7(t){var e=t.reduce(function(n,i){var r=n[i.name];return n[i.name]=r?Object.assign({},r,i,{options:Object.assign({},r.options,i.options),data:Object.assign({},r.data,i.data)}):i,n},{});return Object.keys(e).map(function(n){return e[n]})}var R_={placement:"bottom",modifiers:[],strategy:"absolute"};function A_(){for(var t=arguments.length,e=new Array(t),n=0;n[]},gpuAcceleration:{type:Boolean,default:!0},offset:{type:Number,default:12},placement:{type:String,values:o$,default:"bottom"},popperOptions:{type:Ne(Object),default:()=>({})},strategy:{type:String,values:b7,default:"absolute"}}),r2=lt(Je(ze({},_7),{style:{type:Ne([String,Array,Object])},className:{type:Ne([String,Array,Object])},effect:{type:String,default:"dark"},visible:Boolean,enterable:{type:Boolean,default:!0},pure:Boolean,popperClass:{type:Ne([String,Array,Object])},popperStyle:{type:Ne([String,Array,Object])},referenceEl:{type:Ne(Object)},stopPopperMouseEvent:{type:Boolean,default:!0},zIndex:Number})),E_=(t,e)=>{const{placement:n,strategy:i,popperOptions:r}=t,s=Je(ze({placement:n,strategy:i},r),{modifiers:S7(t)});return w7(s,e),x7(s,r==null?void 0:r.modifiers),s},Q7=t=>{if(!!qt)return $a(t)};function S7(t){const{offset:e,gpuAcceleration:n,fallbackPlacements:i}=t;return[{name:"offset",options:{offset:[0,e!=null?e:12]}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5,fallbackPlacements:i!=null?i:[]}},{name:"computeStyles",options:{gpuAcceleration:n,adaptive:n}}]}function w7(t,{arrowEl:e,arrowOffset:n}){t.modifiers.push({name:"arrow",options:{element:e,padding:n!=null?n:5}})}function x7(t,e){e&&(t.modifiers=[...t.modifiers,...e!=null?e:[]])}const P7={name:"ElPopperContent"},k7=Ce(Je(ze({},P7),{props:r2,emits:["mouseenter","mouseleave"],setup(t,{expose:e}){const n=t,{popperInstanceRef:i,contentRef:r,triggerRef:s}=De(i$,void 0),o=De(Gr,void 0),{nextZIndex:a}=La(),l=Ze("popper"),c=J(),u=J(),O=J();kt(EC,{arrowRef:u,arrowOffset:O}),kt(Gr,Je(ze({},o),{addInputId:()=>{},removeInputId:()=>{}}));const f=J(n.zIndex||a()),h=N(()=>Q7(n.referenceEl)||M(s)),p=N(()=>[{zIndex:M(f)},n.popperStyle]),y=N(()=>[l.b(),l.is("pure",n.pure),l.is(n.effect),n.popperClass]),$=({referenceEl:g,popperContentEl:v,arrowEl:b})=>{const _=E_(n,{arrowEl:b,arrowOffset:M(O)});return i2(g,v,_)},m=(g=!0)=>{var v;(v=M(i))==null||v.update(),g&&(f.value=n.zIndex||a())},d=()=>{var g,v;const b={name:"eventListeners",enabled:n.visible};(v=(g=M(i))==null?void 0:g.setOptions)==null||v.call(g,_=>Je(ze({},_),{modifiers:[..._.modifiers||[],b]})),m(!1)};return xt(()=>{let g;Xe(h,v=>{var b;g==null||g();const _=M(i);if((b=_==null?void 0:_.destroy)==null||b.call(_),v){const Q=M(c);r.value=Q,i.value=$({referenceEl:v,popperContentEl:Q,arrowEl:M(u)}),g=Xe(()=>v.getBoundingClientRect(),()=>m(),{immediate:!0})}else i.value=void 0},{immediate:!0}),Xe(()=>n.visible,d,{immediate:!0}),Xe(()=>E_(n,{arrowEl:M(u),arrowOffset:M(O)}),v=>{var b;return(b=i.value)==null?void 0:b.setOptions(v)})}),e({popperContentRef:c,popperInstanceRef:i,updatePopper:m,contentStyle:p}),(g,v)=>(L(),ie("div",{ref_key:"popperContentRef",ref:c,style:tt(M(p)),class:te(M(y)),role:"tooltip",onMouseenter:v[0]||(v[0]=b=>g.$emit("mouseenter",b)),onMouseleave:v[1]||(v[1]=b=>g.$emit("mouseleave",b))},[We(g.$slots,"default")],38))}}));var C7=Me(k7,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/content.vue"]]);const T7=Gt(fM),R7=Ce({name:"ElVisuallyHidden",props:{style:{type:[String,Object,Array]}},setup(t){return{computedStyle:N(()=>[t.style,{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}])}}});function A7(t,e,n,i,r,s){return L(),ie("span",ii(t.$attrs,{style:t.computedStyle}),[We(t.$slots,"default")],16)}var E7=Me(R7,[["render",A7],["__file","/home/runner/work/element-plus/element-plus/packages/components/visual-hidden/src/visual-hidden.vue"]]);const Qi=lt(Je(ze(ze({},_9),r2),{appendTo:{type:Ne([String,Object]),default:DC},content:{type:String,default:""},rawContent:{type:Boolean,default:!1},persistent:Boolean,ariaLabel:String,visible:{type:Ne(Boolean),default:null},transition:{type:String,default:"el-fade-in-linear"},teleported:{type:Boolean,default:!0},disabled:{type:Boolean}})),Vu=lt(Je(ze({},ZC),{disabled:Boolean,trigger:{type:Ne([String,Array]),default:"hover"}})),X7=lt({openDelay:{type:Number},visibleArrow:{type:Boolean,default:void 0},hideAfter:{type:Number,default:200},showArrow:{type:Boolean,default:!0}}),dp=Symbol("elTooltip"),W7=Ce({name:"ElTooltipContent",components:{ElPopperContent:C7,ElVisuallyHidden:E7},inheritAttrs:!1,props:Qi,setup(t){const e=J(null),n=J(!1),i=J(!1),r=J(!1),s=J(!1),{controlled:o,id:a,open:l,trigger:c,onClose:u,onOpen:O,onShow:f,onHide:h,onBeforeShow:p,onBeforeHide:y}=De(dp,void 0),$=N(()=>t.persistent);Qn(()=>{s.value=!0});const m=N(()=>M($)?!0:M(l)),d=N(()=>t.disabled?!1:M(l)),g=N(()=>{var C;return(C=t.style)!=null?C:{}}),v=N(()=>!M(l));y9(u);const b=()=>{h()},_=()=>{if(M(o))return!0},Q=dn(_,()=>{t.enterable&&M(c)==="hover"&&O()}),S=dn(_,()=>{M(c)==="hover"&&u()}),P=()=>{var C,T;(T=(C=e.value)==null?void 0:C.updatePopper)==null||T.call(C),p==null||p()},w=()=>{y==null||y()},x=()=>{f()};let k;return Xe(()=>M(l),C=>{C?k=Fh(N(()=>{var T;return(T=e.value)==null?void 0:T.popperContentRef}),()=>{if(M(o))return;M(c)!=="hover"&&u()}):k==null||k()},{flush:"post"}),{ariaHidden:v,entering:i,leaving:r,id:a,intermediateOpen:n,contentStyle:g,contentRef:e,destroyed:s,shouldRender:m,shouldShow:d,open:l,onAfterShow:x,onBeforeEnter:P,onBeforeLeave:w,onContentEnter:Q,onContentLeave:S,onTransitionLeave:b}}});function z7(t,e,n,i,r,s){const o=Pe("el-visually-hidden"),a=Pe("el-popper-content");return L(),be(tk,{disabled:!t.teleported,to:t.appendTo},[B(ri,{name:t.transition,onAfterLeave:t.onTransitionLeave,onBeforeEnter:t.onBeforeEnter,onAfterEnter:t.onAfterShow,onBeforeLeave:t.onBeforeLeave},{default:Y(()=>[t.shouldRender?it((L(),be(a,ii({key:0,ref:"contentRef"},t.$attrs,{"aria-hidden":t.ariaHidden,"boundaries-padding":t.boundariesPadding,"fallback-placements":t.fallbackPlacements,"gpu-acceleration":t.gpuAcceleration,offset:t.offset,placement:t.placement,"popper-options":t.popperOptions,strategy:t.strategy,effect:t.effect,enterable:t.enterable,pure:t.pure,"popper-class":t.popperClass,"popper-style":[t.popperStyle,t.contentStyle],"reference-el":t.referenceEl,visible:t.shouldShow,"z-index":t.zIndex,onMouseenter:t.onContentEnter,onMouseleave:t.onContentLeave}),{default:Y(()=>[Qe(" Workaround bug #6378 "),t.destroyed?Qe("v-if",!0):(L(),ie(Le,{key:0},[We(t.$slots,"default"),B(o,{id:t.id,role:"tooltip"},{default:Y(()=>[Ee(de(t.ariaLabel),1)]),_:1},8,["id"])],64))]),_:3},16,["aria-hidden","boundaries-padding","fallback-placements","gpu-acceleration","offset","placement","popper-options","strategy","effect","enterable","pure","popper-class","popper-style","reference-el","visible","z-index","onMouseenter","onMouseleave"])),[[Lt,t.shouldShow]]):Qe("v-if",!0)]),_:3},8,["name","onAfterLeave","onBeforeEnter","onAfterEnter","onBeforeLeave"])],8,["disabled","to"])}var I7=Me(W7,[["render",z7],["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/content.vue"]]);const q7=(t,e)=>Fe(t)?t.includes(e):t===e,ol=(t,e,n)=>i=>{q7(M(t),e)&&n(i)},U7=Ce({name:"ElTooltipTrigger",components:{ElPopperTrigger:yM},props:Vu,setup(t){const e=Ze("tooltip"),{controlled:n,id:i,open:r,onOpen:s,onClose:o,onToggle:a}=De(dp,void 0),l=J(null),c=()=>{if(M(n)||t.disabled)return!0},u=Pn(t,"trigger"),O=dn(c,ol(u,"hover",s)),f=dn(c,ol(u,"hover",o)),h=dn(c,ol(u,"click",d=>{d.button===0&&a(d)})),p=dn(c,ol(u,"focus",s)),y=dn(c,ol(u,"focus",o)),$=dn(c,ol(u,"contextmenu",d=>{d.preventDefault(),a(d)})),m=dn(c,d=>{const{code:g}=d;(g===rt.enter||g===rt.space)&&a(d)});return{onBlur:y,onContextMenu:$,onFocus:p,onMouseenter:O,onMouseleave:f,onClick:h,onKeydown:m,open:r,id:i,triggerRef:l,ns:e}}});function D7(t,e,n,i,r,s){const o=Pe("el-popper-trigger");return L(),be(o,{id:t.id,"virtual-ref":t.virtualRef,open:t.open,"virtual-triggering":t.virtualTriggering,class:te(t.ns.e("trigger")),onBlur:t.onBlur,onClick:t.onClick,onContextmenu:t.onContextMenu,onFocus:t.onFocus,onMouseenter:t.onMouseenter,onMouseleave:t.onMouseleave,onKeydown:t.onKeydown},{default:Y(()=>[We(t.$slots,"default")]),_:3},8,["id","virtual-ref","open","virtual-triggering","class","onBlur","onClick","onContextmenu","onFocus","onMouseenter","onMouseleave","onKeydown"])}var L7=Me(U7,[["render",D7],["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/trigger.vue"]]);const{useModelToggleProps:B7,useModelToggle:M7,useModelToggleEmits:Y7}=m9("visible"),Z7=Ce({name:"ElTooltip",components:{ElPopper:T7,ElPopperArrow:dM,ElTooltipContent:I7,ElTooltipTrigger:L7},props:ze(ze(ze(ze(ze({},B7),Qi),Vu),MC),X7),emits:[...Y7,"before-show","before-hide","show","hide"],setup(t,{emit:e}){b9();const n=N(()=>(Dr(t.openDelay),t.openDelay||t.showAfter)),i=N(()=>(Dr(t.visibleArrow),Ji(t.visibleArrow)?t.visibleArrow:t.showArrow)),r=Op(),s=J(null),o=()=>{var h;const p=M(s);p&&((h=p.popperInstanceRef)==null||h.update())},a=J(!1),{show:l,hide:c}=M7({indicator:a}),{onOpen:u,onClose:O}=Q9({showAfter:n,hideAfter:Pn(t,"hideAfter"),open:l,close:c}),f=N(()=>Ji(t.visible));return kt(dp,{controlled:f,id:r,open:Of(a),trigger:Pn(t,"trigger"),onOpen:u,onClose:O,onToggle:()=>{M(a)?O():u()},onShow:()=>{e("show")},onHide:()=>{e("hide")},onBeforeShow:()=>{e("before-show")},onBeforeHide:()=>{e("before-hide")},updatePopper:o}),Xe(()=>t.disabled,h=>{h&&a.value&&(a.value=!1)}),{compatShowAfter:n,compatShowArrow:i,popperRef:s,open:a,hide:c,updatePopper:o,onOpen:u,onClose:O}}}),V7=["innerHTML"],j7={key:1};function N7(t,e,n,i,r,s){const o=Pe("el-tooltip-trigger"),a=Pe("el-popper-arrow"),l=Pe("el-tooltip-content"),c=Pe("el-popper");return L(),be(c,{ref:"popperRef"},{default:Y(()=>[B(o,{disabled:t.disabled,trigger:t.trigger,"virtual-ref":t.virtualRef,"virtual-triggering":t.virtualTriggering},{default:Y(()=>[t.$slots.default?We(t.$slots,"default",{key:0}):Qe("v-if",!0)]),_:3},8,["disabled","trigger","virtual-ref","virtual-triggering"]),B(l,{"aria-label":t.ariaLabel,"boundaries-padding":t.boundariesPadding,content:t.content,disabled:t.disabled,effect:t.effect,enterable:t.enterable,"fallback-placements":t.fallbackPlacements,"hide-after":t.hideAfter,"gpu-acceleration":t.gpuAcceleration,offset:t.offset,persistent:t.persistent,"popper-class":t.popperClass,"popper-style":t.popperStyle,placement:t.placement,"popper-options":t.popperOptions,pure:t.pure,"raw-content":t.rawContent,"reference-el":t.referenceEl,"show-after":t.compatShowAfter,strategy:t.strategy,teleported:t.teleported,transition:t.transition,"z-index":t.zIndex,"append-to":t.appendTo},{default:Y(()=>[We(t.$slots,"content",{},()=>[t.rawContent?(L(),ie("span",{key:0,innerHTML:t.content},null,8,V7)):(L(),ie("span",j7,de(t.content),1))]),t.compatShowArrow?(L(),be(a,{key:0,"arrow-offset":t.arrowOffset},null,8,["arrow-offset"])):Qe("v-if",!0)]),_:3},8,["aria-label","boundaries-padding","content","disabled","effect","enterable","fallback-placements","hide-after","gpu-acceleration","offset","persistent","popper-class","popper-style","placement","popper-options","pure","raw-content","reference-el","show-after","strategy","teleported","transition","z-index","append-to"])]),_:3},512)}var F7=Me(Z7,[["render",N7],["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/tooltip.vue"]]);const Rs=Gt(F7),G7=lt({valueKey:{type:String,default:"value"},modelValue:{type:[String,Number],default:""},debounce:{type:Number,default:300},placement:{type:Ne(String),values:["top","top-start","top-end","bottom","bottom-start","bottom-end"],default:"bottom-start"},fetchSuggestions:{type:Ne([Function,Array]),default:bn},popperClass:{type:String,default:""},triggerOnFocus:{type:Boolean,default:!0},selectWhenUnmatched:{type:Boolean,default:!1},hideLoading:{type:Boolean,default:!1},label:{type:String},teleported:Qi.teleported,highlightFirstItem:{type:Boolean,default:!1}}),H7={[Wt]:t=>ot(t),input:t=>ot(t),change:t=>ot(t),focus:t=>t instanceof FocusEvent,blur:t=>t instanceof FocusEvent,clear:()=>!0,select:t=>yt(t)},K7=["aria-expanded","aria-owns"],J7={key:0},eY=["id","aria-selected","onClick"],tY={name:"ElAutocomplete",inheritAttrs:!1},nY=Ce(Je(ze({},tY),{props:G7,emits:H7,setup(t,{expose:e,emit:n}){const i=t,r="ElAutocomplete",s=Ze("autocomplete");let o=!1;const a=PC(),l=ck(),c=J([]),u=J(-1),O=J(""),f=J(!1),h=J(!1),p=J(!1),y=J(),$=J(),m=J(),d=J(),g=N(()=>s.b(String(xC()))),v=N(()=>l.style),b=N(()=>(Fe(c.value)&&c.value.length>0||p.value)&&f.value),_=N(()=>!i.hideLoading&&p.value),Q=()=>{et(()=>{b.value&&(O.value=`${y.value.$el.offsetWidth}px`)})},P=Qo(async V=>{if(h.value)return;p.value=!0;const j=Z=>{p.value=!1,!h.value&&(Fe(Z)?(c.value=Z,u.value=i.highlightFirstItem?0:-1):Wo(r,"autocomplete suggestions must be an array"))};if(Fe(i.fetchSuggestions))j(i.fetchSuggestions);else{const Z=await i.fetchSuggestions(V,j);Fe(Z)&&j(Z)}},i.debounce),w=V=>{const j=Boolean(V);if(n("input",V),n(Wt,V),h.value=!1,f.value||(f.value=o&&j),!i.triggerOnFocus&&!V){h.value=!0,c.value=[];return}o&&j&&(o=!1),P(V)},x=V=>{n("change",V)},k=V=>{f.value=!0,n("focus",V),i.triggerOnFocus&&P(String(i.modelValue))},C=V=>{n("blur",V)},T=()=>{f.value=!1,o=!0,n(Wt,""),n("clear")},E=()=>{b.value&&u.value>=0&&u.value{c.value=[],u.value=-1}))},A=()=>{f.value=!1},R=()=>{var V;(V=y.value)==null||V.focus()},X=V=>{n("input",V[i.valueKey]),n(Wt,V[i.valueKey]),n("select",V),et(()=>{c.value=[],u.value=-1})},D=V=>{if(!b.value||p.value)return;if(V<0){u.value=-1;return}V>=c.value.length&&(V=c.value.length-1);const j=$.value.querySelector(`.${s.be("suggestion","wrap")}`),ee=j.querySelectorAll(`.${s.be("suggestion","list")} li`)[V],se=j.scrollTop,{offsetTop:I,scrollHeight:ne}=ee;I+ne>se+j.clientHeight&&(j.scrollTop+=ne),I{y.value.ref.setAttribute("role","textbox"),y.value.ref.setAttribute("aria-autocomplete","list"),y.value.ref.setAttribute("aria-controls","id"),y.value.ref.setAttribute("aria-activedescendant",`${g.value}-item-${u.value}`)}),e({highlightedIndex:u,activated:f,loading:p,inputRef:y,popperRef:m,suggestions:c,handleSelect:X,handleKeyEnter:E,focus:R,close:A,highlight:D}),(V,j)=>(L(),be(M(Rs),{ref_key:"popperRef",ref:m,visible:M(b),"onUpdate:visible":j[2]||(j[2]=Z=>It(b)?b.value=Z:null),placement:V.placement,"fallback-placements":["bottom-start","top-start"],"popper-class":[M(s).e("popper"),V.popperClass],teleported:V.teleported,"gpu-acceleration":!1,pure:"","manual-mode":"",effect:"light",trigger:"click",transition:`${M(s).namespace.value}-zoom-in-top`,persistent:"",onBeforeShow:Q},{content:Y(()=>[U("div",{ref_key:"regionRef",ref:$,class:te([M(s).b("suggestion"),M(s).is("loading",M(_))]),style:tt({minWidth:O.value,outline:"none"}),role:"region"},[B(M(pc),{id:M(g),tag:"ul","wrap-class":M(s).be("suggestion","wrap"),"view-class":M(s).be("suggestion","list"),role:"listbox"},{default:Y(()=>[M(_)?(L(),ie("li",J7,[B(M(wt),{class:te(M(s).is("loading"))},{default:Y(()=>[B(M(vf))]),_:1},8,["class"])])):(L(!0),ie(Le,{key:1},Rt(c.value,(Z,ee)=>(L(),ie("li",{id:`${M(g)}-item-${ee}`,key:ee,class:te({highlighted:u.value===ee}),role:"option","aria-selected":u.value===ee,onClick:se=>X(Z)},[We(V.$slots,"default",{item:Z},()=>[Ee(de(Z[V.valueKey]),1)])],10,eY))),128))]),_:3},8,["id","wrap-class","view-class"])],6)]),default:Y(()=>[U("div",{ref_key:"listboxRef",ref:d,class:te([M(s).b(),V.$attrs.class]),style:tt(M(v)),role:"combobox","aria-haspopup":"listbox","aria-expanded":M(b),"aria-owns":M(g)},[B(M(si),ii({ref_key:"inputRef",ref:y},M(a),{"model-value":V.modelValue,onInput:w,onChange:x,onFocus:k,onBlur:C,onClear:T,onKeydown:[j[0]||(j[0]=Qt(Et(Z=>D(u.value-1),["prevent"]),["up"])),j[1]||(j[1]=Qt(Et(Z=>D(u.value+1),["prevent"]),["down"])),Qt(E,["enter"]),Qt(A,["tab"])]}),Zd({_:2},[V.$slots.prepend?{name:"prepend",fn:Y(()=>[We(V.$slots,"prepend")])}:void 0,V.$slots.append?{name:"append",fn:Y(()=>[We(V.$slots,"append")])}:void 0,V.$slots.prefix?{name:"prefix",fn:Y(()=>[We(V.$slots,"prefix")])}:void 0,V.$slots.suffix?{name:"suffix",fn:Y(()=>[We(V.$slots,"suffix")])}:void 0]),1040,["model-value","onKeydown"])],14,K7)]),_:3},8,["visible","placement","popper-class","teleported","transition"]))}}));var iY=Me(nY,[["__file","/home/runner/work/element-plus/element-plus/packages/components/autocomplete/src/autocomplete.vue"]]);const rY=Gt(iY),sY=lt({value:{type:[String,Number],default:""},max:{type:Number,default:99},isDot:Boolean,hidden:Boolean,type:{type:String,values:["primary","success","warning","info","danger"],default:"danger"}}),oY=["textContent"],aY={name:"ElBadge"},lY=Ce(Je(ze({},aY),{props:sY,setup(t,{expose:e}){const n=t,i=Ze("badge"),r=N(()=>n.isDot?"":Bt(n.value)&&Bt(n.max)?n.max(L(),ie("div",{class:te(M(i).b())},[We(s.$slots,"default"),B(ri,{name:`${M(i).namespace.value}-zoom-in-center`},{default:Y(()=>[it(U("sup",{class:te([M(i).e("content"),M(i).em("content",s.type),M(i).is("fixed",!!s.$slots.default),M(i).is("dot",s.isDot)]),textContent:de(M(r))},null,10,oY),[[Lt,!s.hidden&&(M(r)||M(r)==="0"||s.isDot)]])]),_:1},8,["name"])],2))}}));var cY=Me(lY,[["__file","/home/runner/work/element-plus/element-plus/packages/components/badge/src/badge.vue"]]);const uY=Gt(cY),fY=["default","primary","success","warning","info","danger",""],OY=["button","submit","reset"],Qg=lt({size:fp,disabled:Boolean,type:{type:String,values:fY,default:""},icon:{type:_s,default:""},nativeType:{type:String,values:OY,default:"button"},loading:Boolean,loadingIcon:{type:_s,default:()=>vf},plain:Boolean,text:Boolean,bg:Boolean,autofocus:Boolean,round:Boolean,circle:Boolean,color:String,dark:Boolean,autoInsertSpace:{type:Boolean,default:void 0}}),hY={click:t=>t instanceof MouseEvent};function Dn(t,e){dY(t)&&(t="100%");var n=pY(t);return t=e===360?t:Math.min(e,Math.max(0,parseFloat(t))),n&&(t=parseInt(String(t*e),10)/100),Math.abs(t-e)<1e-6?1:(e===360?t=(t<0?t%e+e:t%e)/parseFloat(String(e)):t=t%e/parseFloat(String(e)),t)}function $O(t){return Math.min(1,Math.max(0,t))}function dY(t){return typeof t=="string"&&t.indexOf(".")!==-1&&parseFloat(t)===1}function pY(t){return typeof t=="string"&&t.indexOf("%")!==-1}function s2(t){return t=parseFloat(t),(isNaN(t)||t<0||t>1)&&(t=1),t}function bO(t){return t<=1?"".concat(Number(t)*100,"%"):t}function ua(t){return t.length===1?"0"+t:String(t)}function mY(t,e,n){return{r:Dn(t,255)*255,g:Dn(e,255)*255,b:Dn(n,255)*255}}function X_(t,e,n){t=Dn(t,255),e=Dn(e,255),n=Dn(n,255);var i=Math.max(t,e,n),r=Math.min(t,e,n),s=0,o=0,a=(i+r)/2;if(i===r)o=0,s=0;else{var l=i-r;switch(o=a>.5?l/(2-i-r):l/(i+r),i){case t:s=(e-n)/l+(e1&&(n-=1),n<1/6?t+(e-t)*(6*n):n<1/2?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function gY(t,e,n){var i,r,s;if(t=Dn(t,360),e=Dn(e,100),n=Dn(n,100),e===0)r=n,s=n,i=n;else{var o=n<.5?n*(1+e):n+e-n*e,a=2*n-o;i=C0(a,o,t+1/3),r=C0(a,o,t),s=C0(a,o,t-1/3)}return{r:i*255,g:r*255,b:s*255}}function W_(t,e,n){t=Dn(t,255),e=Dn(e,255),n=Dn(n,255);var i=Math.max(t,e,n),r=Math.min(t,e,n),s=0,o=i,a=i-r,l=i===0?0:a/i;if(i===r)s=0;else{switch(i){case t:s=(e-n)/a+(e>16,g:(t&65280)>>8,b:t&255}}var Sg={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function _Y(t){var e={r:0,g:0,b:0},n=1,i=null,r=null,s=null,o=!1,a=!1;return typeof t=="string"&&(t=wY(t)),typeof t=="object"&&(os(t.r)&&os(t.g)&&os(t.b)?(e=mY(t.r,t.g,t.b),o=!0,a=String(t.r).substr(-1)==="%"?"prgb":"rgb"):os(t.h)&&os(t.s)&&os(t.v)?(i=bO(t.s),r=bO(t.v),e=vY(t.h,i,r),o=!0,a="hsv"):os(t.h)&&os(t.s)&&os(t.l)&&(i=bO(t.s),s=bO(t.l),e=gY(t.h,i,s),o=!0,a="hsl"),Object.prototype.hasOwnProperty.call(t,"a")&&(n=t.a)),n=s2(n),{ok:o,format:t.format||a,r:Math.min(255,Math.max(e.r,0)),g:Math.min(255,Math.max(e.g,0)),b:Math.min(255,Math.max(e.b,0)),a:n}}var QY="[-\\+]?\\d+%?",SY="[-\\+]?\\d*\\.\\d+%?",so="(?:".concat(SY,")|(?:").concat(QY,")"),T0="[\\s|\\(]+(".concat(so,")[,|\\s]+(").concat(so,")[,|\\s]+(").concat(so,")\\s*\\)?"),R0="[\\s|\\(]+(".concat(so,")[,|\\s]+(").concat(so,")[,|\\s]+(").concat(so,")[,|\\s]+(").concat(so,")\\s*\\)?"),pr={CSS_UNIT:new RegExp(so),rgb:new RegExp("rgb"+T0),rgba:new RegExp("rgba"+R0),hsl:new RegExp("hsl"+T0),hsla:new RegExp("hsla"+R0),hsv:new RegExp("hsv"+T0),hsva:new RegExp("hsva"+R0),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function wY(t){if(t=t.trim().toLowerCase(),t.length===0)return!1;var e=!1;if(Sg[t])t=Sg[t],e=!0;else if(t==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=pr.rgb.exec(t);return n?{r:n[1],g:n[2],b:n[3]}:(n=pr.rgba.exec(t),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=pr.hsl.exec(t),n?{h:n[1],s:n[2],l:n[3]}:(n=pr.hsla.exec(t),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=pr.hsv.exec(t),n?{h:n[1],s:n[2],v:n[3]}:(n=pr.hsva.exec(t),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=pr.hex8.exec(t),n?{r:bi(n[1]),g:bi(n[2]),b:bi(n[3]),a:I_(n[4]),format:e?"name":"hex8"}:(n=pr.hex6.exec(t),n?{r:bi(n[1]),g:bi(n[2]),b:bi(n[3]),format:e?"name":"hex"}:(n=pr.hex4.exec(t),n?{r:bi(n[1]+n[1]),g:bi(n[2]+n[2]),b:bi(n[3]+n[3]),a:I_(n[4]+n[4]),format:e?"name":"hex8"}:(n=pr.hex3.exec(t),n?{r:bi(n[1]+n[1]),g:bi(n[2]+n[2]),b:bi(n[3]+n[3]),format:e?"name":"hex"}:!1)))))))))}function os(t){return Boolean(pr.CSS_UNIT.exec(String(t)))}var xY=function(){function t(e,n){e===void 0&&(e=""),n===void 0&&(n={});var i;if(e instanceof t)return e;typeof e=="number"&&(e=bY(e)),this.originalInput=e;var r=_Y(e);this.originalInput=e,this.r=r.r,this.g=r.g,this.b=r.b,this.a=r.a,this.roundA=Math.round(100*this.a)/100,this.format=(i=n.format)!==null&&i!==void 0?i:r.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=r.ok}return t.prototype.isDark=function(){return this.getBrightness()<128},t.prototype.isLight=function(){return!this.isDark()},t.prototype.getBrightness=function(){var e=this.toRgb();return(e.r*299+e.g*587+e.b*114)/1e3},t.prototype.getLuminance=function(){var e=this.toRgb(),n,i,r,s=e.r/255,o=e.g/255,a=e.b/255;return s<=.03928?n=s/12.92:n=Math.pow((s+.055)/1.055,2.4),o<=.03928?i=o/12.92:i=Math.pow((o+.055)/1.055,2.4),a<=.03928?r=a/12.92:r=Math.pow((a+.055)/1.055,2.4),.2126*n+.7152*i+.0722*r},t.prototype.getAlpha=function(){return this.a},t.prototype.setAlpha=function(e){return this.a=s2(e),this.roundA=Math.round(100*this.a)/100,this},t.prototype.toHsv=function(){var e=W_(this.r,this.g,this.b);return{h:e.h*360,s:e.s,v:e.v,a:this.a}},t.prototype.toHsvString=function(){var e=W_(this.r,this.g,this.b),n=Math.round(e.h*360),i=Math.round(e.s*100),r=Math.round(e.v*100);return this.a===1?"hsv(".concat(n,", ").concat(i,"%, ").concat(r,"%)"):"hsva(".concat(n,", ").concat(i,"%, ").concat(r,"%, ").concat(this.roundA,")")},t.prototype.toHsl=function(){var e=X_(this.r,this.g,this.b);return{h:e.h*360,s:e.s,l:e.l,a:this.a}},t.prototype.toHslString=function(){var e=X_(this.r,this.g,this.b),n=Math.round(e.h*360),i=Math.round(e.s*100),r=Math.round(e.l*100);return this.a===1?"hsl(".concat(n,", ").concat(i,"%, ").concat(r,"%)"):"hsla(".concat(n,", ").concat(i,"%, ").concat(r,"%, ").concat(this.roundA,")")},t.prototype.toHex=function(e){return e===void 0&&(e=!1),z_(this.r,this.g,this.b,e)},t.prototype.toHexString=function(e){return e===void 0&&(e=!1),"#"+this.toHex(e)},t.prototype.toHex8=function(e){return e===void 0&&(e=!1),yY(this.r,this.g,this.b,this.a,e)},t.prototype.toHex8String=function(e){return e===void 0&&(e=!1),"#"+this.toHex8(e)},t.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},t.prototype.toRgbString=function(){var e=Math.round(this.r),n=Math.round(this.g),i=Math.round(this.b);return this.a===1?"rgb(".concat(e,", ").concat(n,", ").concat(i,")"):"rgba(".concat(e,", ").concat(n,", ").concat(i,", ").concat(this.roundA,")")},t.prototype.toPercentageRgb=function(){var e=function(n){return"".concat(Math.round(Dn(n,255)*100),"%")};return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}},t.prototype.toPercentageRgbString=function(){var e=function(n){return Math.round(Dn(n,255)*100)};return this.a===1?"rgb(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%)"):"rgba(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%, ").concat(this.roundA,")")},t.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var e="#"+z_(this.r,this.g,this.b,!1),n=0,i=Object.entries(Sg);n=0,s=!n&&r&&(e.startsWith("hex")||e==="name");return s?e==="name"&&this.a===0?this.toName():this.toRgbString():(e==="rgb"&&(i=this.toRgbString()),e==="prgb"&&(i=this.toPercentageRgbString()),(e==="hex"||e==="hex6")&&(i=this.toHexString()),e==="hex3"&&(i=this.toHexString(!0)),e==="hex4"&&(i=this.toHex8String(!0)),e==="hex8"&&(i=this.toHex8String()),e==="name"&&(i=this.toName()),e==="hsl"&&(i=this.toHslString()),e==="hsv"&&(i=this.toHsvString()),i||this.toHexString())},t.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},t.prototype.clone=function(){return new t(this.toString())},t.prototype.lighten=function(e){e===void 0&&(e=10);var n=this.toHsl();return n.l+=e/100,n.l=$O(n.l),new t(n)},t.prototype.brighten=function(e){e===void 0&&(e=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(e/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(e/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(e/100)))),new t(n)},t.prototype.darken=function(e){e===void 0&&(e=10);var n=this.toHsl();return n.l-=e/100,n.l=$O(n.l),new t(n)},t.prototype.tint=function(e){return e===void 0&&(e=10),this.mix("white",e)},t.prototype.shade=function(e){return e===void 0&&(e=10),this.mix("black",e)},t.prototype.desaturate=function(e){e===void 0&&(e=10);var n=this.toHsl();return n.s-=e/100,n.s=$O(n.s),new t(n)},t.prototype.saturate=function(e){e===void 0&&(e=10);var n=this.toHsl();return n.s+=e/100,n.s=$O(n.s),new t(n)},t.prototype.greyscale=function(){return this.desaturate(100)},t.prototype.spin=function(e){var n=this.toHsl(),i=(n.h+e)%360;return n.h=i<0?360+i:i,new t(n)},t.prototype.mix=function(e,n){n===void 0&&(n=50);var i=this.toRgb(),r=new t(e).toRgb(),s=n/100,o={r:(r.r-i.r)*s+i.r,g:(r.g-i.g)*s+i.g,b:(r.b-i.b)*s+i.b,a:(r.a-i.a)*s+i.a};return new t(o)},t.prototype.analogous=function(e,n){e===void 0&&(e=6),n===void 0&&(n=30);var i=this.toHsl(),r=360/n,s=[this];for(i.h=(i.h-(r*e>>1)+720)%360;--e;)i.h=(i.h+r)%360,s.push(new t(i));return s},t.prototype.complement=function(){var e=this.toHsl();return e.h=(e.h+180)%360,new t(e)},t.prototype.monochromatic=function(e){e===void 0&&(e=6);for(var n=this.toHsv(),i=n.h,r=n.s,s=n.v,o=[],a=1/e;e--;)o.push(new t({h:i,s:r,v:s})),s=(s+a)%1;return o},t.prototype.splitcomplement=function(){var e=this.toHsl(),n=e.h;return[this,new t({h:(n+72)%360,s:e.s,l:e.l}),new t({h:(n+216)%360,s:e.s,l:e.l})]},t.prototype.onBackground=function(e){var n=this.toRgb(),i=new t(e).toRgb();return new t({r:i.r+(n.r-i.r)*n.a,g:i.g+(n.g-i.g)*n.a,b:i.b+(n.b-i.b)*n.a})},t.prototype.triad=function(){return this.polyad(3)},t.prototype.tetrad=function(){return this.polyad(4)},t.prototype.polyad=function(e){for(var n=this.toHsl(),i=n.h,r=[this],s=360/e,o=1;o{let i={};const r=t.color;if(r){const s=new xY(r),o=t.dark?s.tint(20).toString():Ls(s,20);if(t.plain)i=n.cssVarBlock({"bg-color":t.dark?Ls(s,90):s.tint(90).toString(),"text-color":r,"border-color":t.dark?Ls(s,50):s.tint(50).toString(),"hover-text-color":`var(${n.cssVarName("color-white")})`,"hover-bg-color":r,"hover-border-color":r,"active-bg-color":o,"active-text-color":`var(${n.cssVarName("color-white")})`,"active-border-color":o}),e.value&&(i[n.cssVarBlockName("disabled-bg-color")]=t.dark?Ls(s,90):s.tint(90).toString(),i[n.cssVarBlockName("disabled-text-color")]=t.dark?Ls(s,50):s.tint(50).toString(),i[n.cssVarBlockName("disabled-border-color")]=t.dark?Ls(s,80):s.tint(80).toString());else{const a=t.dark?Ls(s,30):s.tint(30).toString(),l=s.isDark()?`var(${n.cssVarName("color-white")})`:`var(${n.cssVarName("color-black")})`;if(i=n.cssVarBlock({"bg-color":r,"text-color":l,"border-color":r,"hover-bg-color":a,"hover-text-color":l,"hover-border-color":a,"active-bg-color":o,"active-border-color":o}),e.value){const c=t.dark?Ls(s,50):s.tint(50).toString();i[n.cssVarBlockName("disabled-bg-color")]=c,i[n.cssVarBlockName("disabled-text-color")]=t.dark?"rgba(255, 255, 255, 0.5)":`var(${n.cssVarName("color-white")})`,i[n.cssVarBlockName("disabled-border-color")]=c}}}return i})}const kY=["aria-disabled","disabled","autofocus","type"],CY={name:"ElButton"},TY=Ce(Je(ze({},CY),{props:Qg,emits:hY,setup(t,{expose:e,emit:n}){const i=t,r=df(),s=De(kC,void 0),o=Da("button"),a=Ze("button"),{form:l}=yf(),c=Ln(N(()=>s==null?void 0:s.size)),u=dc(),O=J(),f=N(()=>i.type||(s==null?void 0:s.type)||""),h=N(()=>{var m,d,g;return(g=(d=i.autoInsertSpace)!=null?d:(m=o.value)==null?void 0:m.autoInsertSpace)!=null?g:!1}),p=N(()=>{var m;const d=(m=r.default)==null?void 0:m.call(r);if(h.value&&(d==null?void 0:d.length)===1){const g=d[0];if((g==null?void 0:g.type)===hf){const v=g.children;return/^\p{Unified_Ideograph}{2}$/u.test(v.trim())}}return!1}),y=PY(i),$=m=>{i.nativeType==="reset"&&(l==null||l.resetFields()),n("click",m)};return e({ref:O,size:c,type:f,disabled:u,shouldAddSpace:p}),(m,d)=>(L(),ie("button",{ref_key:"_ref",ref:O,class:te([M(a).b(),M(a).m(M(f)),M(a).m(M(c)),M(a).is("disabled",M(u)),M(a).is("loading",m.loading),M(a).is("plain",m.plain),M(a).is("round",m.round),M(a).is("circle",m.circle),M(a).is("text",m.text),M(a).is("has-bg",m.bg)]),"aria-disabled":M(u)||m.loading,disabled:M(u)||m.loading,autofocus:m.autofocus,type:m.nativeType,style:tt(M(y)),onClick:$},[m.loading?(L(),ie(Le,{key:0},[m.$slots.loading?We(m.$slots,"loading",{key:0}):(L(),be(M(wt),{key:1,class:te(M(a).is("loading"))},{default:Y(()=>[(L(),be(Vt(m.loadingIcon)))]),_:1},8,["class"]))],2112)):m.icon||m.$slots.icon?(L(),be(M(wt),{key:1},{default:Y(()=>[m.icon?(L(),be(Vt(m.icon),{key:0})):We(m.$slots,"icon",{key:1})]),_:3})):Qe("v-if",!0),m.$slots.default?(L(),ie("span",{key:2,class:te({[M(a).em("text","expand")]:M(p)})},[We(m.$slots,"default")],2)):Qe("v-if",!0)],14,kY))}}));var RY=Me(TY,[["__file","/home/runner/work/element-plus/element-plus/packages/components/button/src/button.vue"]]);const AY={size:Qg.size,type:Qg.type},EY={name:"ElButtonGroup"},XY=Ce(Je(ze({},EY),{props:AY,setup(t){const e=t;kt(kC,gn({size:Pn(e,"size"),type:Pn(e,"type")}));const n=Ze("button");return(i,r)=>(L(),ie("div",{class:te(`${M(n).b("group")}`)},[We(i.$slots,"default")],2))}}));var o2=Me(XY,[["__file","/home/runner/work/element-plus/element-plus/packages/components/button/src/button-group.vue"]]);const Tn=Gt(RY,{ButtonGroup:o2});Di(o2);var a2={exports:{}};(function(t,e){(function(n,i){t.exports=i()})(at,function(){var n=1e3,i=6e4,r=36e5,s="millisecond",o="second",a="minute",l="hour",c="day",u="week",O="month",f="quarter",h="year",p="date",y="Invalid Date",$=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,d={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},g=function(C,T,E){var A=String(C);return!A||A.length>=T?C:""+Array(T+1-A.length).join(E)+C},v={s:g,z:function(C){var T=-C.utcOffset(),E=Math.abs(T),A=Math.floor(E/60),R=E%60;return(T<=0?"+":"-")+g(A,2,"0")+":"+g(R,2,"0")},m:function C(T,E){if(T.date()1)return C(D[0])}else{var V=T.name;_[V]=T,R=V}return!A&&R&&(b=R),R||!A&&b},P=function(C,T){if(Q(C))return C.clone();var E=typeof T=="object"?T:{};return E.date=C,E.args=arguments,new x(E)},w=v;w.l=S,w.i=Q,w.w=function(C,T){return P(C,{locale:T.$L,utc:T.$u,x:T.$x,$offset:T.$offset})};var x=function(){function C(E){this.$L=S(E.locale,null,!0),this.parse(E)}var T=C.prototype;return T.parse=function(E){this.$d=function(A){var R=A.date,X=A.utc;if(R===null)return new Date(NaN);if(w.u(R))return new Date;if(R instanceof Date)return new Date(R);if(typeof R=="string"&&!/Z$/i.test(R)){var D=R.match($);if(D){var V=D[2]-1||0,j=(D[7]||"0").substring(0,3);return X?new Date(Date.UTC(D[1],V,D[3]||1,D[4]||0,D[5]||0,D[6]||0,j)):new Date(D[1],V,D[3]||1,D[4]||0,D[5]||0,D[6]||0,j)}}return new Date(R)}(E),this.$x=E.x||{},this.init()},T.init=function(){var E=this.$d;this.$y=E.getFullYear(),this.$M=E.getMonth(),this.$D=E.getDate(),this.$W=E.getDay(),this.$H=E.getHours(),this.$m=E.getMinutes(),this.$s=E.getSeconds(),this.$ms=E.getMilliseconds()},T.$utils=function(){return w},T.isValid=function(){return this.$d.toString()!==y},T.isSame=function(E,A){var R=P(E);return this.startOf(A)<=R&&R<=this.endOf(A)},T.isAfter=function(E,A){return P(E)68?1900:2e3)},c=function(y){return function($){this[y]=+$}},u=[/[+-]\d\d:?(\d\d)?|Z/,function(y){(this.zone||(this.zone={})).offset=function($){if(!$||$==="Z")return 0;var m=$.match(/([+-]|\d\d)/g),d=60*m[1]+(+m[2]||0);return d===0?0:m[0]==="+"?-d:d}(y)}],O=function(y){var $=a[y];return $&&($.indexOf?$:$.s.concat($.f))},f=function(y,$){var m,d=a.meridiem;if(d){for(var g=1;g<=24;g+=1)if(y.indexOf(d(g,0,$))>-1){m=g>12;break}}else m=y===($?"pm":"PM");return m},h={A:[o,function(y){this.afternoon=f(y,!1)}],a:[o,function(y){this.afternoon=f(y,!0)}],S:[/\d/,function(y){this.milliseconds=100*+y}],SS:[r,function(y){this.milliseconds=10*+y}],SSS:[/\d{3}/,function(y){this.milliseconds=+y}],s:[s,c("seconds")],ss:[s,c("seconds")],m:[s,c("minutes")],mm:[s,c("minutes")],H:[s,c("hours")],h:[s,c("hours")],HH:[s,c("hours")],hh:[s,c("hours")],D:[s,c("day")],DD:[r,c("day")],Do:[o,function(y){var $=a.ordinal,m=y.match(/\d+/);if(this.day=m[0],$)for(var d=1;d<=31;d+=1)$(d).replace(/\[|\]/g,"")===y&&(this.day=d)}],M:[s,c("month")],MM:[r,c("month")],MMM:[o,function(y){var $=O("months"),m=(O("monthsShort")||$.map(function(d){return d.slice(0,3)})).indexOf(y)+1;if(m<1)throw new Error;this.month=m%12||m}],MMMM:[o,function(y){var $=O("months").indexOf(y)+1;if($<1)throw new Error;this.month=$%12||$}],Y:[/[+-]?\d+/,c("year")],YY:[r,function(y){this.year=l(y)}],YYYY:[/\d{4}/,c("year")],Z:u,ZZ:u};function p(y){var $,m;$=y,m=a&&a.formats;for(var d=(y=$.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(P,w,x){var k=x&&x.toUpperCase();return w||m[x]||n[x]||m[k].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(C,T,E){return T||E.slice(1)})})).match(i),g=d.length,v=0;v-1)return new Date((R==="X"?1e3:1)*A);var D=p(R)(A),V=D.year,j=D.month,Z=D.day,ee=D.hours,se=D.minutes,I=D.seconds,ne=D.milliseconds,H=D.zone,re=new Date,G=Z||(V||j?1:re.getDate()),Re=V||re.getFullYear(),_e=0;V&&!j||(_e=j>0?j-1:re.getMonth());var ue=ee||0,W=se||0,q=I||0,F=ne||0;return H?new Date(Date.UTC(Re,_e,G,ue,W,q,F+60*H.offset*1e3)):X?new Date(Date.UTC(Re,_e,G,ue,W,q,F)):new Date(Re,_e,G,ue,W,q,F)}catch{return new Date("")}}(b,S,_),this.init(),k&&k!==!0&&(this.$L=this.locale(k).$L),x&&b!=this.format(S)&&(this.$d=new Date("")),a={}}else if(S instanceof Array)for(var C=S.length,T=1;T<=C;T+=1){Q[1]=S[T-1];var E=m.apply(this,Q);if(E.isValid()){this.$d=E.$d,this.$L=E.$L,this.init();break}T===C&&(this.$d=new Date(""))}else g.call(this,v)}}})})(c2);var zY=c2.exports;const q_="HH:mm:ss",Fc="YYYY-MM-DD",IY={date:Fc,week:"gggg[w]ww",year:"YYYY",month:"YYYY-MM",datetime:`${Fc} ${q_}`,monthrange:"YYYY-MM",daterange:Fc,datetimerange:`${Fc} ${q_}`},u2={id:{type:[Array,String]},name:{type:[Array,String],default:""},popperClass:{type:String,default:""},format:{type:String},valueFormat:{type:String},type:{type:String,default:""},clearable:{type:Boolean,default:!0},clearIcon:{type:[String,Object],default:Dl},editable:{type:Boolean,default:!0},prefixIcon:{type:[String,Object],default:""},size:{type:String,validator:Ua},readonly:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},placeholder:{type:String,default:""},popperOptions:{type:Object,default:()=>({})},modelValue:{type:[Date,Array,String,Number],default:""},rangeSeparator:{type:String,default:"-"},startPlaceholder:String,endPlaceholder:String,defaultValue:{type:[Date,Array]},defaultTime:{type:[Date,Array]},isRange:{type:Boolean,default:!1},disabledHours:{type:Function},disabledMinutes:{type:Function},disabledSeconds:{type:Function},disabledDate:{type:Function},cellClassName:{type:Function},shortcuts:{type:Array,default:()=>[]},arrowControl:{type:Boolean,default:!1},label:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},unlinkPanels:Boolean},U_=function(t,e){const n=t instanceof Date,i=e instanceof Date;return n&&i?t.getTime()===e.getTime():!n&&!i?t===e:!1},D_=function(t,e){const n=Array.isArray(t),i=Array.isArray(e);return n&&i?t.length!==e.length?!1:t.every((r,s)=>U_(r,e[s])):!n&&!i?U_(t,e):!1},L_=function(t,e,n){const i=mC(e)||e==="x"?nt(t).locale(n):nt(t,e).locale(n);return i.isValid()?i:void 0},B_=function(t,e,n){return mC(e)?t:e==="x"?+t:nt(t).locale(n).format(e)},qY=Ce({name:"Picker",components:{ElInput:si,ElTooltip:Rs,ElIcon:wt},props:u2,emits:["update:modelValue","change","focus","blur","calendar-change","panel-change","visible-change"],setup(t,e){const{lang:n}=Fn(),i=Ze("date"),r=Ze("input"),s=Ze("range"),o=De(Ts,{}),a=De(Gr,{}),l=De("ElPopperOptions",{}),c=J(),u=J(),O=J(!1),f=J(!1),h=J(null);Xe(O,K=>{var ge;K?h.value=t.modelValue:(re.value=null,et(()=>{p(t.modelValue)}),e.emit("blur"),Re(),t.validateEvent&&((ge=a.validate)==null||ge.call(a,"blur").catch(Te=>void 0)))});const p=(K,ge)=>{var Te;(ge||!D_(K,h.value))&&(e.emit("change",K),t.validateEvent&&((Te=a.validate)==null||Te.call(a,"change").catch(Ye=>void 0)))},y=K=>{if(!D_(t.modelValue,K)){let ge;Array.isArray(K)?ge=K.map(Te=>B_(Te,t.valueFormat,n.value)):K&&(ge=B_(K,t.valueFormat,n.value)),e.emit("update:modelValue",K&&ge,n.value)}},$=N(()=>{if(u.value){const K=ee.value?u.value:u.value.$el;return Array.from(K.querySelectorAll("input"))}return[]}),m=N(()=>$==null?void 0:$.value[0]),d=N(()=>$==null?void 0:$.value[1]),g=(K,ge,Te)=>{const Ye=$.value;!Ye.length||(!Te||Te==="min"?(Ye[0].setSelectionRange(K,ge),Ye[0].focus()):Te==="max"&&(Ye[1].setSelectionRange(K,ge),Ye[1].focus()))},v=(K="",ge=!1)=>{O.value=ge;let Te;Array.isArray(K)?Te=K.map(Ye=>Ye.toDate()):Te=K&&K.toDate(),re.value=null,y(Te)},b=()=>{f.value=!0},_=()=>{e.emit("visible-change",!0)},Q=()=>{f.value=!1,e.emit("visible-change",!1)},S=(K=!0)=>{let ge=m.value;!K&&ee.value&&(ge=d.value),ge&&ge.focus()},P=K=>{t.readonly||x.value||O.value||(O.value=!0,e.emit("focus",K))},w=()=>{var K;(K=c.value)==null||K.onClose(),Re()},x=N(()=>t.disabled||o.disabled),k=N(()=>{let K;if(V.value?me.value.getDefaultValue&&(K=me.value.getDefaultValue()):Array.isArray(t.modelValue)?K=t.modelValue.map(ge=>L_(ge,t.valueFormat,n.value)):K=L_(t.modelValue,t.valueFormat,n.value),me.value.getRangeAvailableTime){const ge=me.value.getRangeAvailableTime(K);jh(ge,K)||(K=ge,y(Array.isArray(K)?K.map(Te=>Te.toDate()):K.toDate()))}return Array.isArray(K)&&K.some(ge=>!ge)&&(K=[]),K}),C=N(()=>{if(!me.value.panelReady)return;const K=ue(k.value);if(Array.isArray(re.value))return[re.value[0]||K&&K[0]||"",re.value[1]||K&&K[1]||""];if(re.value!==null)return re.value;if(!(!E.value&&V.value)&&!(!O.value&&V.value))return K?A.value?K.join(", "):K:""}),T=N(()=>t.type.includes("time")),E=N(()=>t.type.startsWith("time")),A=N(()=>t.type==="dates"),R=N(()=>t.prefixIcon||(T.value?YL:dL)),X=J(!1),D=K=>{t.readonly||x.value||X.value&&(K.stopPropagation(),y(null),p(null,!0),X.value=!1,O.value=!1,me.value.handleClear&&me.value.handleClear())},V=N(()=>!t.modelValue||Array.isArray(t.modelValue)&&!t.modelValue.length),j=()=>{t.readonly||x.value||!V.value&&t.clearable&&(X.value=!0)},Z=()=>{X.value=!1},ee=N(()=>t.type.includes("range")),se=Ln(),I=N(()=>{var K,ge;return(ge=(K=c.value)==null?void 0:K.popperRef)==null?void 0:ge.contentRef}),ne=N(()=>{var K,ge;return(ge=(K=M(c))==null?void 0:K.popperRef)==null?void 0:ge.contentRef}),H=N(()=>{var K;return M(ee)?M(u):(K=M(u))==null?void 0:K.$el});Fh(H,K=>{const ge=M(ne),Te=M(H);ge&&(K.target===ge||K.composedPath().includes(ge))||K.target===Te||K.composedPath().includes(Te)||(O.value=!1)});const re=J(null),G=()=>{if(re.value){const K=_e(C.value);K&&W(K)&&(y(Array.isArray(K)?K.map(ge=>ge.toDate()):K.toDate()),re.value=null)}re.value===""&&(y(null),p(null),re.value=null)},Re=()=>{$.value.forEach(K=>K.blur())},_e=K=>K?me.value.parseUserInput(K):null,ue=K=>K?me.value.formatToString(K):null,W=K=>me.value.isValidValue(K),q=K=>{const ge=K.code;if(ge===rt.esc){O.value=!1,K.stopPropagation();return}if(ge===rt.tab){ee.value?setTimeout(()=>{$.value.includes(document.activeElement)||(O.value=!1,Re())},0):(G(),O.value=!1,K.stopPropagation());return}if(ge===rt.enter||ge===rt.numpadEnter){(re.value===null||re.value===""||W(_e(C.value)))&&(G(),O.value=!1),K.stopPropagation();return}if(re.value){K.stopPropagation();return}me.value.handleKeydown&&me.value.handleKeydown(K)},F=K=>{re.value=K},fe=K=>{re.value?re.value=[K.target.value,re.value[1]]:re.value=[K.target.value,null]},he=K=>{re.value?re.value=[re.value[0],K.target.value]:re.value=[null,K.target.value]},ve=()=>{const K=_e(re.value&&re.value[0]);if(K&&K.isValid()){re.value=[ue(K),C.value[1]];const ge=[K,k.value&&k.value[1]];W(ge)&&(y(ge),re.value=null)}},xe=()=>{const K=_e(re.value&&re.value[1]);if(K&&K.isValid()){re.value=[C.value[0],ue(K)];const ge=[k.value&&k.value[0],K];W(ge)&&(y(ge),re.value=null)}},me=J({}),le=K=>{me.value[K[0]]=K[1],me.value.panelReady=!0},oe=K=>{e.emit("calendar-change",K)},ce=(K,ge,Te)=>{e.emit("panel-change",K,ge,Te)};return kt("EP_PICKER_BASE",{props:t}),{nsDate:i,nsInput:r,nsRange:s,elPopperOptions:l,isDatesPicker:A,handleEndChange:xe,handleStartChange:ve,handleStartInput:fe,handleEndInput:he,onUserInput:F,handleChange:G,handleKeydown:q,popperPaneRef:I,onClickOutside:Fh,pickerSize:se,isRangeInput:ee,onMouseLeave:Z,onMouseEnter:j,onClearIconClick:D,showClose:X,triggerIcon:R,onPick:v,handleFocus:P,handleBlur:w,pickerVisible:O,pickerActualVisible:f,displayValue:C,parsedValue:k,setSelectionRange:g,refPopper:c,inputRef:u,pickerDisabled:x,onSetPickerOption:le,onCalendarChange:oe,onPanelChange:ce,focus:S,onShow:_,onBeforeShow:b,onHide:Q}}}),UY=["id","name","placeholder","value","disabled","readonly"],DY=["id","name","placeholder","value","disabled","readonly"];function LY(t,e,n,i,r,s){const o=Pe("el-icon"),a=Pe("el-input"),l=Pe("el-tooltip");return L(),be(l,ii({ref:"refPopper",visible:t.pickerVisible,"onUpdate:visible":e[17]||(e[17]=c=>t.pickerVisible=c),effect:"light",pure:"",trigger:"click"},t.$attrs,{teleported:"",transition:`${t.nsDate.namespace.value}-zoom-in-top`,"popper-class":[`${t.nsDate.namespace.value}-picker__popper`,t.popperClass],"popper-options":t.elPopperOptions,"fallback-placements":["bottom","top","right","left"],"gpu-acceleration":!1,"stop-popper-mouse-event":!1,"hide-after":0,persistent:"",onBeforeShow:t.onBeforeShow,onShow:t.onShow,onHide:t.onHide}),{default:Y(()=>[t.isRangeInput?(L(),ie("div",{key:1,ref:"inputRef",class:te([t.nsDate.b("editor"),t.nsDate.bm("editor",t.type),t.nsInput.e("inner"),t.nsDate.is("disabled",t.pickerDisabled),t.nsDate.is("active",t.pickerVisible),t.nsRange.b("editor"),t.pickerSize?t.nsRange.bm("editor",t.pickerSize):"",t.$attrs.class]),style:tt(t.$attrs.style),onClick:e[7]||(e[7]=(...c)=>t.handleFocus&&t.handleFocus(...c)),onMouseenter:e[8]||(e[8]=(...c)=>t.onMouseEnter&&t.onMouseEnter(...c)),onMouseleave:e[9]||(e[9]=(...c)=>t.onMouseLeave&&t.onMouseLeave(...c)),onKeydown:e[10]||(e[10]=(...c)=>t.handleKeydown&&t.handleKeydown(...c))},[t.triggerIcon?(L(),be(o,{key:0,class:te([t.nsInput.e("icon"),t.nsRange.e("icon")]),onClick:t.handleFocus},{default:Y(()=>[(L(),be(Vt(t.triggerIcon)))]),_:1},8,["class","onClick"])):Qe("v-if",!0),U("input",{id:t.id&&t.id[0],autocomplete:"off",name:t.name&&t.name[0],placeholder:t.startPlaceholder,value:t.displayValue&&t.displayValue[0],disabled:t.pickerDisabled,readonly:!t.editable||t.readonly,class:te(t.nsRange.b("input")),onInput:e[1]||(e[1]=(...c)=>t.handleStartInput&&t.handleStartInput(...c)),onChange:e[2]||(e[2]=(...c)=>t.handleStartChange&&t.handleStartChange(...c)),onFocus:e[3]||(e[3]=(...c)=>t.handleFocus&&t.handleFocus(...c))},null,42,UY),We(t.$slots,"range-separator",{},()=>[U("span",{class:te(t.nsRange.b("separator"))},de(t.rangeSeparator),3)]),U("input",{id:t.id&&t.id[1],autocomplete:"off",name:t.name&&t.name[1],placeholder:t.endPlaceholder,value:t.displayValue&&t.displayValue[1],disabled:t.pickerDisabled,readonly:!t.editable||t.readonly,class:te(t.nsRange.b("input")),onFocus:e[4]||(e[4]=(...c)=>t.handleFocus&&t.handleFocus(...c)),onInput:e[5]||(e[5]=(...c)=>t.handleEndInput&&t.handleEndInput(...c)),onChange:e[6]||(e[6]=(...c)=>t.handleEndChange&&t.handleEndChange(...c))},null,42,DY),t.clearIcon?(L(),be(o,{key:1,class:te([t.nsInput.e("icon"),t.nsRange.e("close-icon"),{[t.nsRange.e("close-icon--hidden")]:!t.showClose}]),onClick:t.onClearIconClick},{default:Y(()=>[(L(),be(Vt(t.clearIcon)))]),_:1},8,["class","onClick"])):Qe("v-if",!0)],38)):(L(),be(a,{key:0,id:t.id,ref:"inputRef","model-value":t.displayValue,name:t.name,size:t.pickerSize,disabled:t.pickerDisabled,placeholder:t.placeholder,class:te([t.nsDate.b("editor"),t.nsDate.bm("editor",t.type),t.$attrs.class]),style:tt(t.$attrs.style),readonly:!t.editable||t.readonly||t.isDatesPicker||t.type==="week",label:t.label,tabindex:t.tabindex,onInput:t.onUserInput,onFocus:t.handleFocus,onKeydown:t.handleKeydown,onChange:t.handleChange,onMouseenter:t.onMouseEnter,onMouseleave:t.onMouseLeave,onClick:e[0]||(e[0]=Et(()=>{},["stop"]))},{prefix:Y(()=>[t.triggerIcon?(L(),be(o,{key:0,class:te(t.nsInput.e("icon")),onClick:t.handleFocus},{default:Y(()=>[(L(),be(Vt(t.triggerIcon)))]),_:1},8,["class","onClick"])):Qe("v-if",!0)]),suffix:Y(()=>[t.showClose&&t.clearIcon?(L(),be(o,{key:0,class:te(`${t.nsInput.e("icon")} clear-icon`),onClick:t.onClearIconClick},{default:Y(()=>[(L(),be(Vt(t.clearIcon)))]),_:1},8,["class","onClick"])):Qe("v-if",!0)]),_:1},8,["id","model-value","name","size","disabled","placeholder","class","style","readonly","label","tabindex","onInput","onFocus","onKeydown","onChange","onMouseenter","onMouseleave"]))]),content:Y(()=>[We(t.$slots,"default",{visible:t.pickerVisible,actualVisible:t.pickerActualVisible,parsedValue:t.parsedValue,format:t.format,unlinkPanels:t.unlinkPanels,type:t.type,defaultValue:t.defaultValue,onPick:e[11]||(e[11]=(...c)=>t.onPick&&t.onPick(...c)),onSelectRange:e[12]||(e[12]=(...c)=>t.setSelectionRange&&t.setSelectionRange(...c)),onSetPickerOption:e[13]||(e[13]=(...c)=>t.onSetPickerOption&&t.onSetPickerOption(...c)),onCalendarChange:e[14]||(e[14]=(...c)=>t.onCalendarChange&&t.onCalendarChange(...c)),onPanelChange:e[15]||(e[15]=(...c)=>t.onPanelChange&&t.onPanelChange(...c)),onMousedown:e[16]||(e[16]=Et(()=>{},["stop"]))})]),_:3},16,["visible","transition","popper-class","popper-options","onBeforeShow","onShow","onHide"])}var BY=Me(qY,[["render",LY],["__file","/home/runner/work/element-plus/element-plus/packages/components/time-picker/src/common/picker.vue"]]);const js=new Map;let M_;qt&&(document.addEventListener("mousedown",t=>M_=t),document.addEventListener("mouseup",t=>{for(const e of js.values())for(const{documentHandler:n}of e)n(t,M_)}));function Y_(t,e){let n=[];return Array.isArray(e.arg)?n=e.arg:Ul(e.arg)&&n.push(e.arg),function(i,r){const s=e.instance.popperRef,o=i.target,a=r==null?void 0:r.target,l=!e||!e.instance,c=!o||!a,u=t.contains(o)||t.contains(a),O=t===o,f=n.length&&n.some(p=>p==null?void 0:p.contains(o))||n.length&&n.includes(a),h=s&&(s.contains(o)||s.contains(a));l||c||u||O||f||h||e.value(i,r)}}const pp={beforeMount(t,e){js.has(t)||js.set(t,[]),js.get(t).push({documentHandler:Y_(t,e),bindingFn:e.value})},updated(t,e){js.has(t)||js.set(t,[]);const n=js.get(t),i=n.findIndex(s=>s.bindingFn===e.oldValue),r={documentHandler:Y_(t,e),bindingFn:e.value};i>=0?n.splice(i,1,r):n.push(r)},unmounted(t){js.delete(t)}};var f2={beforeMount(t,e){let n=null,i;const r=()=>e.value&&e.value(),s=()=>{Date.now()-i<100&&r(),clearInterval(n),n=null};bs(t,"mousedown",o=>{o.button===0&&(i=Date.now(),yD(document,"mouseup",s),clearInterval(n),n=setInterval(r,100))})}};const wg="_trap-focus-children",fa=[],Z_=t=>{if(fa.length===0)return;const e=fa[fa.length-1][wg];if(e.length>0&&t.code===rt.tab){if(e.length===1){t.preventDefault(),document.activeElement!==e[0]&&e[0].focus();return}const n=t.shiftKey,i=t.target===e[0],r=t.target===e[e.length-1];i&&n&&(t.preventDefault(),e[e.length-1].focus()),r&&!n&&(t.preventDefault(),e[0].focus())}},MY={beforeMount(t){t[wg]=f_(t),fa.push(t),fa.length<=1&&bs(document,"keydown",Z_)},updated(t){et(()=>{t[wg]=f_(t)})},unmounted(){fa.shift(),fa.length===0&&So(document,"keydown",Z_)}};var V_=!1,aa,xg,Pg,Oh,hh,O2,dh,kg,Cg,Tg,h2,Rg,Ag,d2,p2;function li(){if(!V_){V_=!0;var t=navigator.userAgent,e=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(t),n=/(Mac OS X)|(Windows)|(Linux)/.exec(t);if(Rg=/\b(iPhone|iP[ao]d)/.exec(t),Ag=/\b(iP[ao]d)/.exec(t),Tg=/Android/i.exec(t),d2=/FBAN\/\w+;/i.exec(t),p2=/Mobile/i.exec(t),h2=!!/Win64/.exec(t),e){aa=e[1]?parseFloat(e[1]):e[5]?parseFloat(e[5]):NaN,aa&&document&&document.documentMode&&(aa=document.documentMode);var i=/(?:Trident\/(\d+.\d+))/.exec(t);O2=i?parseFloat(i[1])+4:aa,xg=e[2]?parseFloat(e[2]):NaN,Pg=e[3]?parseFloat(e[3]):NaN,Oh=e[4]?parseFloat(e[4]):NaN,Oh?(e=/(?:Chrome\/(\d+\.\d+))/.exec(t),hh=e&&e[1]?parseFloat(e[1]):NaN):hh=NaN}else aa=xg=Pg=hh=Oh=NaN;if(n){if(n[1]){var r=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(t);dh=r?parseFloat(r[1].replace("_",".")):!0}else dh=!1;kg=!!n[2],Cg=!!n[3]}else dh=kg=Cg=!1}}var Eg={ie:function(){return li()||aa},ieCompatibilityMode:function(){return li()||O2>aa},ie64:function(){return Eg.ie()&&h2},firefox:function(){return li()||xg},opera:function(){return li()||Pg},webkit:function(){return li()||Oh},safari:function(){return Eg.webkit()},chrome:function(){return li()||hh},windows:function(){return li()||kg},osx:function(){return li()||dh},linux:function(){return li()||Cg},iphone:function(){return li()||Rg},mobile:function(){return li()||Rg||Ag||Tg||p2},nativeApp:function(){return li()||d2},android:function(){return li()||Tg},ipad:function(){return li()||Ag}},YY=Eg,_O=!!(typeof window<"u"&&window.document&&window.document.createElement),ZY={canUseDOM:_O,canUseWorkers:typeof Worker<"u",canUseEventListeners:_O&&!!(window.addEventListener||window.attachEvent),canUseViewport:_O&&!!window.screen,isInWorker:!_O},m2=ZY,g2;m2.canUseDOM&&(g2=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0);function VY(t,e){if(!m2.canUseDOM||e&&!("addEventListener"in document))return!1;var n="on"+t,i=n in document;if(!i){var r=document.createElement("div");r.setAttribute(n,"return;"),i=typeof r[n]=="function"}return!i&&g2&&t==="wheel"&&(i=document.implementation.hasFeature("Events.wheel","3.0")),i}var jY=VY,j_=10,N_=40,F_=800;function v2(t){var e=0,n=0,i=0,r=0;return"detail"in t&&(n=t.detail),"wheelDelta"in t&&(n=-t.wheelDelta/120),"wheelDeltaY"in t&&(n=-t.wheelDeltaY/120),"wheelDeltaX"in t&&(e=-t.wheelDeltaX/120),"axis"in t&&t.axis===t.HORIZONTAL_AXIS&&(e=n,n=0),i=e*j_,r=n*j_,"deltaY"in t&&(r=t.deltaY),"deltaX"in t&&(i=t.deltaX),(i||r)&&t.deltaMode&&(t.deltaMode==1?(i*=N_,r*=N_):(i*=F_,r*=F_)),i&&!e&&(e=i<1?-1:1),r&&!n&&(n=r<1?-1:1),{spinX:e,spinY:n,pixelX:i,pixelY:r}}v2.getEventType=function(){return YY.firefox()?"DOMMouseScroll":jY("wheel")?"wheel":"mousewheel"};var NY=v2;/** +* Checks if an event is supported in the current execution environment. +* +* NOTE: This will not work correctly for non-generic events such as `change`, +* `reset`, `load`, `error`, and `select`. +* +* Borrows from Modernizr. +* +* @param {string} eventNameSuffix Event name, e.g. "click". +* @param {?boolean} capture Check if the capture phase is supported. +* @return {boolean} True if the event is supported. +* @internal +* @license Modernizr 3.0.0pre (Custom Build) | MIT +*/const FY=function(t,e){if(t&&t.addEventListener){const n=function(i){const r=NY(i);e&&Reflect.apply(e,this,[i,r])};t.addEventListener("wheel",n,{passive:!0})}},GY={beforeMount(t,e){FY(t,e.value)}},A0=(t,e,n)=>{const i=[],r=e&&n();for(let s=0;st.map((e,n)=>e||n).filter(e=>e!==!0),y2=(t,e,n)=>({getHoursList:(o,a)=>A0(24,t,()=>t(o,a)),getMinutesList:(o,a,l)=>A0(60,e,()=>e(o,a,l)),getSecondsList:(o,a,l,c)=>A0(60,n,()=>n(o,a,l,c))}),HY=(t,e,n)=>{const{getHoursList:i,getMinutesList:r,getSecondsList:s}=y2(t,e,n);return{getAvailableHours:(c,u)=>E0(i(c,u)),getAvailableMinutes:(c,u,O)=>E0(r(c,u,O)),getAvailableSeconds:(c,u,O,f)=>E0(s(c,u,O,f))}},KY=t=>{const e=J(t.parsedValue);return Xe(()=>t.visible,n=>{n||(e.value=t.parsedValue)}),e},JY=Ce({directives:{repeatClick:f2},components:{ElScrollbar:pc,ElIcon:wt,ArrowUp:ap,ArrowDown:op},props:{role:{type:String,required:!0},spinnerDate:{type:Object,required:!0},showSeconds:{type:Boolean,default:!0},arrowControl:Boolean,amPmMode:{type:String,default:""},disabledHours:{type:Function},disabledMinutes:{type:Function},disabledSeconds:{type:Function}},emits:["change","select-range","set-option"],setup(t,e){const n=Ze("time");let i=!1;const r=Qo(ne=>{i=!1,P(ne)},200),s=J(null),o=J(null),a=J(null),l=J(null),c={hours:o,minutes:a,seconds:l},u=N(()=>{const ne=["hours","minutes","seconds"];return t.showSeconds?ne:ne.slice(0,2)}),O=N(()=>t.spinnerDate.hour()),f=N(()=>t.spinnerDate.minute()),h=N(()=>t.spinnerDate.second()),p=N(()=>({hours:O,minutes:f,seconds:h})),y=N(()=>ee(t.role)),$=N(()=>se(O.value,t.role)),m=N(()=>I(O.value,f.value,t.role)),d=N(()=>({hours:y,minutes:$,seconds:m})),g=N(()=>{const ne=O.value;return[ne>0?ne-1:void 0,ne,ne<23?ne+1:void 0]}),v=N(()=>{const ne=f.value;return[ne>0?ne-1:void 0,ne,ne<59?ne+1:void 0]}),b=N(()=>{const ne=h.value;return[ne>0?ne-1:void 0,ne,ne<59?ne+1:void 0]}),_=N(()=>({hours:g,minutes:v,seconds:b})),Q=ne=>{if(!!!t.amPmMode)return"";const re=t.amPmMode==="A";let G=ne<12?" am":" pm";return re&&(G=G.toUpperCase()),G},S=ne=>{ne==="hours"?e.emit("select-range",0,2):ne==="minutes"?e.emit("select-range",3,5):ne==="seconds"&&e.emit("select-range",6,8),s.value=ne},P=ne=>{k(ne,p.value[ne].value)},w=()=>{P("hours"),P("minutes"),P("seconds")},x=ne=>ne.querySelector(`.${n.namespace.value}-scrollbar__wrap`),k=(ne,H)=>{if(t.arrowControl)return;const re=c[ne];re&&re.$el&&(x(re.$el).scrollTop=Math.max(0,H*C(ne)))},C=ne=>c[ne].$el.querySelector("li").offsetHeight,T=()=>{A(1)},E=()=>{A(-1)},A=ne=>{s.value||S("hours");const H=s.value;let re=p.value[H].value;const G=s.value==="hours"?24:60;re=(re+ne+G)%G,R(H,re),k(H,re),et(()=>S(s.value))},R=(ne,H)=>{if(!d.value[ne].value[H])switch(ne){case"hours":e.emit("change",t.spinnerDate.hour(H).minute(f.value).second(h.value));break;case"minutes":e.emit("change",t.spinnerDate.hour(O.value).minute(H).second(h.value));break;case"seconds":e.emit("change",t.spinnerDate.hour(O.value).minute(f.value).second(H));break}},X=(ne,{value:H,disabled:re})=>{re||(R(ne,H),S(ne),k(ne,H))},D=ne=>{i=!0,r(ne);const H=Math.min(Math.round((x(c[ne].$el).scrollTop-(V(ne)*.5-10)/C(ne)+3)/C(ne)),ne==="hours"?23:59);R(ne,H)},V=ne=>c[ne].$el.offsetHeight,j=()=>{const ne=H=>{c[H]&&c[H].$el&&(x(c[H].$el).onscroll=()=>{D(H)})};ne("hours"),ne("minutes"),ne("seconds")};xt(()=>{et(()=>{!t.arrowControl&&j(),w(),t.role==="start"&&S("hours")})});const Z=(ne,H)=>{c[H]=ne};e.emit("set-option",[`${t.role}_scrollDown`,A]),e.emit("set-option",[`${t.role}_emitSelectRange`,S]);const{getHoursList:ee,getMinutesList:se,getSecondsList:I}=y2(t.disabledHours,t.disabledMinutes,t.disabledSeconds);return Xe(()=>t.spinnerDate,()=>{i||w()}),{ns:n,setRef:Z,spinnerItems:u,currentScrollbar:s,hours:O,minutes:f,seconds:h,hoursList:y,minutesList:$,arrowHourList:g,arrowMinuteList:v,arrowSecondList:b,getAmPmFlag:Q,emitSelectRange:S,adjustCurrentSpinner:P,typeItemHeight:C,listHoursRef:o,listMinutesRef:a,listSecondsRef:l,onIncreaseClick:T,onDecreaseClick:E,handleClick:X,secondsList:m,timePartsMap:p,arrowListMap:_,listMap:d}}}),eZ=["onClick"],tZ=["onMouseenter"];function nZ(t,e,n,i,r,s){const o=Pe("el-scrollbar"),a=Pe("arrow-up"),l=Pe("el-icon"),c=Pe("arrow-down"),u=Eo("repeat-click");return L(),ie("div",{class:te([t.ns.b("spinner"),{"has-seconds":t.showSeconds}])},[t.arrowControl?Qe("v-if",!0):(L(!0),ie(Le,{key:0},Rt(t.spinnerItems,O=>(L(),be(o,{key:O,ref_for:!0,ref:f=>t.setRef(f,O),class:te(t.ns.be("spinner","wrapper")),"wrap-style":"max-height: inherit;","view-class":t.ns.be("spinner","list"),noresize:"",tag:"ul",onMouseenter:f=>t.emitSelectRange(O),onMousemove:f=>t.adjustCurrentSpinner(O)},{default:Y(()=>[(L(!0),ie(Le,null,Rt(t.listMap[O].value,(f,h)=>(L(),ie("li",{key:h,class:te([t.ns.be("spinner","item"),t.ns.is("active",h===t.timePartsMap[O].value),t.ns.is("disabled",f)]),onClick:p=>t.handleClick(O,{value:h,disabled:f})},[O==="hours"?(L(),ie(Le,{key:0},[Ee(de(("0"+(t.amPmMode?h%12||12:h)).slice(-2))+de(t.getAmPmFlag(h)),1)],2112)):(L(),ie(Le,{key:1},[Ee(de(("0"+h).slice(-2)),1)],2112))],10,eZ))),128))]),_:2},1032,["class","view-class","onMouseenter","onMousemove"]))),128)),t.arrowControl?(L(!0),ie(Le,{key:1},Rt(t.spinnerItems,O=>(L(),ie("div",{key:O,class:te([t.ns.be("spinner","wrapper"),t.ns.is("arrow")]),onMouseenter:f=>t.emitSelectRange(O)},[it((L(),be(l,{class:te(["arrow-up",t.ns.be("spinner","arrow")])},{default:Y(()=>[B(a)]),_:1},8,["class"])),[[u,t.onDecreaseClick]]),it((L(),be(l,{class:te(["arrow-down",t.ns.be("spinner","arrow")])},{default:Y(()=>[B(c)]),_:1},8,["class"])),[[u,t.onIncreaseClick]]),U("ul",{class:te(t.ns.be("spinner","list"))},[(L(!0),ie(Le,null,Rt(t.arrowListMap[O].value,(f,h)=>(L(),ie("li",{key:h,class:te([t.ns.be("spinner","item"),t.ns.is("active",f===t.timePartsMap[O].value),t.ns.is("disabled",t.listMap[O].value[f])])},[typeof f=="number"?(L(),ie(Le,{key:0},[O==="hours"?(L(),ie(Le,{key:0},[Ee(de(("0"+(t.amPmMode?f%12||12:f)).slice(-2))+de(t.getAmPmFlag(f)),1)],2112)):(L(),ie(Le,{key:1},[Ee(de(("0"+f).slice(-2)),1)],2112))],2112)):Qe("v-if",!0)],2))),128))],2)],42,tZ))),128)):Qe("v-if",!0)],2)}var iZ=Me(JY,[["render",nZ],["__file","/home/runner/work/element-plus/element-plus/packages/components/time-picker/src/time-picker-com/basic-time-spinner.vue"]]);const rZ=Ce({components:{TimeSpinner:iZ},props:{visible:Boolean,actualVisible:{type:Boolean,default:void 0},datetimeRole:{type:String},parsedValue:{type:[Object,String]},format:{type:String,default:""}},emits:["pick","select-range","set-picker-option"],setup(t,e){const n=Ze("time"),{t:i,lang:r}=Fn(),s=J([0,2]),o=KY(t),a=N(()=>Dr(t.actualVisible)?`${n.namespace.value}-zoom-in-top`:""),l=N(()=>t.format.includes("ss")),c=N(()=>t.format.includes("A")?"A":t.format.includes("a")?"a":""),u=A=>{const R=nt(A).locale(r.value),X=m(R);return R.isSame(X)},O=()=>{e.emit("pick",o.value,!1)},f=(A=!1,R=!1)=>{R||e.emit("pick",t.parsedValue,A)},h=A=>{if(!t.visible)return;const R=m(A).millisecond(0);e.emit("pick",R,!0)},p=(A,R)=>{e.emit("select-range",A,R),s.value=[A,R]},y=A=>{const R=[0,3].concat(l.value?[6]:[]),X=["hours","minutes"].concat(l.value?["seconds"]:[]),V=(R.indexOf(s.value[0])+A+R.length)%R.length;b.start_emitSelectRange(X[V])},$=A=>{const R=A.code;if(R===rt.left||R===rt.right){const X=R===rt.left?-1:1;y(X),A.preventDefault();return}if(R===rt.up||R===rt.down){const X=R===rt.up?-1:1;b.start_scrollDown(X),A.preventDefault();return}},m=A=>{const R={hour:C,minute:T,second:E};let X=A;return["hour","minute","second"].forEach(D=>{if(R[D]){let V;const j=R[D];D==="minute"?V=j(X.hour(),t.datetimeRole):D==="second"?V=j(X.hour(),X.minute(),t.datetimeRole):V=j(t.datetimeRole),V&&V.length&&!V.includes(X[D]())&&(X=X[D](V[0]))}}),X},d=A=>A?nt(A,t.format).locale(r.value):null,g=A=>A?A.format(t.format):null,v=()=>nt(k).locale(r.value);e.emit("set-picker-option",["isValidValue",u]),e.emit("set-picker-option",["formatToString",g]),e.emit("set-picker-option",["parseUserInput",d]),e.emit("set-picker-option",["handleKeydown",$]),e.emit("set-picker-option",["getRangeAvailableTime",m]),e.emit("set-picker-option",["getDefaultValue",v]);const b={},_=A=>{b[A[0]]=A[1]},Q=De("EP_PICKER_BASE"),{arrowControl:S,disabledHours:P,disabledMinutes:w,disabledSeconds:x,defaultValue:k}=Q.props,{getAvailableHours:C,getAvailableMinutes:T,getAvailableSeconds:E}=HY(P,w,x);return{ns:n,transitionName:a,arrowControl:S,onSetOption:_,t:i,handleConfirm:f,handleChange:h,setSelectionRange:p,amPmMode:c,showSeconds:l,handleCancel:O,disabledHours:P,disabledMinutes:w,disabledSeconds:x}}});function sZ(t,e,n,i,r,s){const o=Pe("time-spinner");return L(),be(ri,{name:t.transitionName},{default:Y(()=>[t.actualVisible||t.visible?(L(),ie("div",{key:0,class:te(t.ns.b("panel"))},[U("div",{class:te([t.ns.be("panel","content"),{"has-seconds":t.showSeconds}])},[B(o,{ref:"spinner",role:t.datetimeRole||"start","arrow-control":t.arrowControl,"show-seconds":t.showSeconds,"am-pm-mode":t.amPmMode,"spinner-date":t.parsedValue,"disabled-hours":t.disabledHours,"disabled-minutes":t.disabledMinutes,"disabled-seconds":t.disabledSeconds,onChange:t.handleChange,onSetOption:t.onSetOption,onSelectRange:t.setSelectionRange},null,8,["role","arrow-control","show-seconds","am-pm-mode","spinner-date","disabled-hours","disabled-minutes","disabled-seconds","onChange","onSetOption","onSelectRange"])],2),U("div",{class:te(t.ns.be("panel","footer"))},[U("button",{type:"button",class:te([t.ns.be("panel","btn"),"cancel"]),onClick:e[0]||(e[0]=(...a)=>t.handleCancel&&t.handleCancel(...a))},de(t.t("el.datepicker.cancel")),3),U("button",{type:"button",class:te([t.ns.be("panel","btn"),"confirm"]),onClick:e[1]||(e[1]=a=>t.handleConfirm())},de(t.t("el.datepicker.confirm")),3)],2)],2)):Qe("v-if",!0)]),_:1},8,["name"])}var $2=Me(rZ,[["render",sZ],["__file","/home/runner/work/element-plus/element-plus/packages/components/time-picker/src/time-picker-com/panel-time-pick.vue"]]);const b2=t=>Array.from(Array.from({length:t}).keys()),_2=t=>t.replace(/\W?m{1,2}|\W?ZZ/g,"").replace(/\W?h{1,2}|\W?s{1,3}|\W?a/gi,"").trim(),Q2=t=>t.replace(/\W?D{1,2}|\W?Do|\W?d{1,4}|\W?M{1,4}|\W?Y{2,4}/g,"").trim(),oZ=lt({header:{type:String,default:""},bodyStyle:{type:Ne([String,Object,Array]),default:""},shadow:{type:String,default:"always"}}),aZ={name:"ElCard"},lZ=Ce(Je(ze({},aZ),{props:oZ,setup(t){const e=Ze("card");return(n,i)=>(L(),ie("div",{class:te([M(e).b(),M(e).is(`${n.shadow}-shadow`)])},[n.$slots.header||n.header?(L(),ie("div",{key:0,class:te(M(e).e("header"))},[We(n.$slots,"header",{},()=>[Ee(de(n.header),1)])],2)):Qe("v-if",!0),U("div",{class:te(M(e).e("body")),style:tt(n.bodyStyle)},[We(n.$slots,"default")],6)],2))}}));var cZ=Me(lZ,[["__file","/home/runner/work/element-plus/element-plus/packages/components/card/src/card.vue"]]);const uZ=Gt(cZ),fZ={modelValue:{type:Array,default:()=>[]},disabled:Boolean,min:{type:Number,default:void 0},max:{type:Number,default:void 0},size:{type:String,validator:Ua},id:{type:String,default:void 0},label:{type:String,default:void 0},fill:{type:String,default:void 0},textColor:{type:String,default:void 0},tag:{type:String,default:"div"}},S2={modelValue:{type:[Number,String,Boolean],default:()=>{}},label:{type:[String,Boolean,Number,Object]},indeterminate:Boolean,disabled:Boolean,checked:Boolean,name:{type:String,default:void 0},trueLabel:{type:[String,Number],default:void 0},falseLabel:{type:[String,Number],default:void 0},id:{type:String,default:void 0},controls:{type:String,default:void 0},border:Boolean,size:{type:String,validator:Ua},tabindex:[String,Number]},mc=()=>{const t=De(Ts,{}),e=De(Gr,{}),n=De("CheckboxGroup",{}),i=N(()=>n&&(n==null?void 0:n.name)==="ElCheckboxGroup"),r=N(()=>e.size);return{isGroup:i,checkboxGroup:n,elForm:t,elFormItemSize:r,elFormItem:e}},OZ=(t,{elFormItem:e})=>{const{inputId:n,isLabeledByFormItem:i}=$f(t,{formItemContext:e});return{isLabeledByFormItem:i,groupId:n}},hZ=t=>{const e=J(!1),{emit:n}=$t(),{isGroup:i,checkboxGroup:r,elFormItem:s}=mc(),o=J(!1);return{model:N({get(){var l,c;return i.value?(l=r.modelValue)==null?void 0:l.value:(c=t.modelValue)!=null?c:e.value},set(l){var c;i.value&&Array.isArray(l)?(o.value=r.max!==void 0&&l.length>r.max.value,o.value===!1&&((c=r==null?void 0:r.changeEvent)==null||c.call(r,l))):(n(Wt,l),e.value=l)}}),isGroup:i,isLimitExceeded:o,elFormItem:s}},dZ=(t,e,{model:n})=>{const{isGroup:i,checkboxGroup:r}=mc(),s=J(!1),o=Ln(r==null?void 0:r.checkboxGroupSize,{prop:!0}),a=N(()=>{const u=n.value;return uc(u)==="[object Boolean]"?u:Array.isArray(u)?u.includes(t.label):u!=null?u===t.trueLabel:!!u}),l=Ln(N(()=>{var u;return i.value?(u=r==null?void 0:r.checkboxGroupSize)==null?void 0:u.value:void 0})),c=N(()=>!!(e.default||t.label));return{isChecked:a,focus:s,size:o,checkboxSize:l,hasOwnLabel:c}},pZ=(t,{model:e,isChecked:n})=>{const{elForm:i,isGroup:r,checkboxGroup:s}=mc(),o=N(()=>{var l,c;const u=(l=s.max)==null?void 0:l.value,O=(c=s.min)==null?void 0:c.value;return!!(u||O)&&e.value.length>=u&&!n.value||e.value.length<=O&&n.value});return{isDisabled:N(()=>{var l,c;const u=t.disabled||(i==null?void 0:i.disabled);return(c=r.value?((l=s.disabled)==null?void 0:l.value)||u||o.value:u)!=null?c:!1}),isLimitDisabled:o}},mZ=(t,{model:e})=>{function n(){Array.isArray(e.value)&&!e.value.includes(t.label)?e.value.push(t.label):e.value=t.trueLabel||!0}t.checked&&n()},gZ=(t,{model:e,isLimitExceeded:n,hasOwnLabel:i,isDisabled:r,isLabeledByFormItem:s})=>{const{elFormItem:o}=mc(),{emit:a}=$t();function l(f){var h,p;return f===t.trueLabel||f===!0?(h=t.trueLabel)!=null?h:!0:(p=t.falseLabel)!=null?p:!1}function c(f,h){a("change",l(f),h)}function u(f){if(n.value)return;const h=f.target;a("change",l(h.checked),f)}async function O(f){n.value||!i.value&&!r.value&&s.value&&(e.value=l([!1,t.falseLabel].includes(e.value)),await et(),c(e.value,f))}return Xe(()=>t.modelValue,()=>{var f;(f=o==null?void 0:o.validate)==null||f.call(o,"change").catch(h=>void 0)}),{handleChange:u,onClickRoot:O}},w2=(t,e)=>{const{model:n,isGroup:i,isLimitExceeded:r,elFormItem:s}=hZ(t),{focus:o,size:a,isChecked:l,checkboxSize:c,hasOwnLabel:u}=dZ(t,e,{model:n}),{isDisabled:O}=pZ(t,{model:n,isChecked:l}),{inputId:f,isLabeledByFormItem:h}=$f(t,{formItemContext:s,disableIdGeneration:u,disableIdManagement:i}),{handleChange:p,onClickRoot:y}=gZ(t,{model:n,isLimitExceeded:r,hasOwnLabel:u,isDisabled:O,isLabeledByFormItem:h});return mZ(t,{model:n}),{elFormItem:s,inputId:f,isLabeledByFormItem:h,isChecked:l,isDisabled:O,isGroup:i,checkboxSize:c,hasOwnLabel:u,model:n,handleChange:p,onClickRoot:y,focus:o,size:a}},vZ=Ce({name:"ElCheckbox",props:S2,emits:[Wt,"change"],setup(t,{slots:e}){const n=Ze("checkbox");return ze({ns:n},w2(t,e))}}),yZ=["tabindex","role","aria-checked"],$Z=["id","aria-hidden","name","tabindex","disabled","true-value","false-value"],bZ=["id","aria-hidden","disabled","value","name","tabindex"];function _Z(t,e,n,i,r,s){return L(),be(Vt(!t.hasOwnLabel&&t.isLabeledByFormItem?"span":"label"),{class:te([t.ns.b(),t.ns.m(t.checkboxSize),t.ns.is("disabled",t.isDisabled),t.ns.is("bordered",t.border),t.ns.is("checked",t.isChecked)]),"aria-controls":t.indeterminate?t.controls:null,onClick:t.onClickRoot},{default:Y(()=>[U("span",{class:te([t.ns.e("input"),t.ns.is("disabled",t.isDisabled),t.ns.is("checked",t.isChecked),t.ns.is("indeterminate",t.indeterminate),t.ns.is("focus",t.focus)]),tabindex:t.indeterminate?0:void 0,role:t.indeterminate?"checkbox":void 0,"aria-checked":t.indeterminate?"mixed":void 0},[U("span",{class:te(t.ns.e("inner"))},null,2),t.trueLabel||t.falseLabel?it((L(),ie("input",{key:0,id:t.inputId,"onUpdate:modelValue":e[0]||(e[0]=o=>t.model=o),class:te(t.ns.e("original")),type:"checkbox","aria-hidden":t.indeterminate?"true":"false",name:t.name,tabindex:t.tabindex,disabled:t.isDisabled,"true-value":t.trueLabel,"false-value":t.falseLabel,onChange:e[1]||(e[1]=(...o)=>t.handleChange&&t.handleChange(...o)),onFocus:e[2]||(e[2]=o=>t.focus=!0),onBlur:e[3]||(e[3]=o=>t.focus=!1)},null,42,$Z)),[[Mh,t.model]]):it((L(),ie("input",{key:1,id:t.inputId,"onUpdate:modelValue":e[4]||(e[4]=o=>t.model=o),class:te(t.ns.e("original")),type:"checkbox","aria-hidden":t.indeterminate?"true":"false",disabled:t.isDisabled,value:t.label,name:t.name,tabindex:t.tabindex,onChange:e[5]||(e[5]=(...o)=>t.handleChange&&t.handleChange(...o)),onFocus:e[6]||(e[6]=o=>t.focus=!0),onBlur:e[7]||(e[7]=o=>t.focus=!1)},null,42,bZ)),[[Mh,t.model]])],10,yZ),t.hasOwnLabel?(L(),ie("span",{key:0,class:te(t.ns.e("label"))},[We(t.$slots,"default"),t.$slots.default?Qe("v-if",!0):(L(),ie(Le,{key:0},[Ee(de(t.label),1)],2112))],2)):Qe("v-if",!0)]),_:3},8,["class","aria-controls","onClick"])}var QZ=Me(vZ,[["render",_Z],["__file","/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox.vue"]]);const SZ=Ce({name:"ElCheckboxButton",props:S2,emits:[Wt,"change"],setup(t,{slots:e}){const{focus:n,isChecked:i,isDisabled:r,size:s,model:o,handleChange:a}=w2(t,e),{checkboxGroup:l}=mc(),c=Ze("checkbox"),u=N(()=>{var O,f,h,p;const y=(f=(O=l==null?void 0:l.fill)==null?void 0:O.value)!=null?f:"";return{backgroundColor:y,borderColor:y,color:(p=(h=l==null?void 0:l.textColor)==null?void 0:h.value)!=null?p:"",boxShadow:y?`-1px 0 0 0 ${y}`:null}});return{focus:n,isChecked:i,isDisabled:r,model:o,handleChange:a,activeStyle:u,size:s,ns:c}}}),wZ=["name","tabindex","disabled","true-value","false-value"],xZ=["name","tabindex","disabled","value"];function PZ(t,e,n,i,r,s){return L(),ie("label",{class:te([t.ns.b("button"),t.ns.bm("button",t.size),t.ns.is("disabled",t.isDisabled),t.ns.is("checked",t.isChecked),t.ns.is("focus",t.focus)])},[t.trueLabel||t.falseLabel?it((L(),ie("input",{key:0,"onUpdate:modelValue":e[0]||(e[0]=o=>t.model=o),class:te(t.ns.be("button","original")),type:"checkbox",name:t.name,tabindex:t.tabindex,disabled:t.isDisabled,"true-value":t.trueLabel,"false-value":t.falseLabel,onChange:e[1]||(e[1]=(...o)=>t.handleChange&&t.handleChange(...o)),onFocus:e[2]||(e[2]=o=>t.focus=!0),onBlur:e[3]||(e[3]=o=>t.focus=!1)},null,42,wZ)),[[Mh,t.model]]):it((L(),ie("input",{key:1,"onUpdate:modelValue":e[4]||(e[4]=o=>t.model=o),class:te(t.ns.be("button","original")),type:"checkbox",name:t.name,tabindex:t.tabindex,disabled:t.isDisabled,value:t.label,onChange:e[5]||(e[5]=(...o)=>t.handleChange&&t.handleChange(...o)),onFocus:e[6]||(e[6]=o=>t.focus=!0),onBlur:e[7]||(e[7]=o=>t.focus=!1)},null,42,xZ)),[[Mh,t.model]]),t.$slots.default||t.label?(L(),ie("span",{key:2,class:te(t.ns.be("button","inner")),style:tt(t.isChecked?t.activeStyle:null)},[We(t.$slots,"default",{},()=>[Ee(de(t.label),1)])],6)):Qe("v-if",!0)],2)}var x2=Me(SZ,[["render",PZ],["__file","/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox-button.vue"]]);const kZ=Ce({name:"ElCheckboxGroup",props:fZ,emits:[Wt,"change"],setup(t,{emit:e,slots:n}){const{elFormItem:i}=mc(),{groupId:r,isLabeledByFormItem:s}=OZ(t,{elFormItem:i}),o=Ln(),a=Ze("checkbox"),l=u=>{e(Wt,u),et(()=>{e("change",u)})},c=N({get(){return t.modelValue},set(u){l(u)}});return kt("CheckboxGroup",Je(ze({name:"ElCheckboxGroup",modelValue:c},xr(t)),{checkboxGroupSize:o,changeEvent:l})),Xe(()=>t.modelValue,()=>{var u;(u=i.validate)==null||u.call(i,"change").catch(O=>void 0)}),()=>Ke(t.tag,{id:r.value,class:a.b("group"),role:"group","aria-label":s.value?void 0:t.label||"checkbox-group","aria-labelledby":s.value?i.labelId:void 0},[We(n,"default")])}});var P2=Me(kZ,[["__file","/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox-group.vue"]]);const Vl=Gt(QZ,{CheckboxButton:x2,CheckboxGroup:P2});Di(x2);Di(P2);const k2=lt({size:fp,disabled:Boolean,label:{type:[String,Number,Boolean],default:""}}),CZ=lt(Je(ze({},k2),{modelValue:{type:[String,Number,Boolean],default:""},name:{type:String,default:""},border:Boolean})),C2={[Wt]:t=>ot(t)||Bt(t)||Ji(t),change:t=>ot(t)||Bt(t)||Ji(t)},T2=(t,e)=>{const n=J(),i=De(RC,void 0),r=N(()=>!!i),s=N({get(){return r.value?i.modelValue:t.modelValue},set(u){r.value?i.changeEvent(u):e(Wt,u),n.value.checked=t.modelValue===t.label}}),o=Ln(N(()=>i==null?void 0:i.size)),a=dc(N(()=>i==null?void 0:i.disabled)),l=J(!1),c=N(()=>a.value||r.value&&s.value!==t.label?-1:0);return{radioRef:n,isGroup:r,radioGroup:i,focus:l,size:o,disabled:a,tabIndex:c,modelValue:s}},TZ=Ce({name:"ElRadio",props:CZ,emits:C2,setup(t,{emit:e}){const n=Ze("radio"),{radioRef:i,isGroup:r,focus:s,size:o,disabled:a,tabIndex:l,modelValue:c}=T2(t,e);function u(){et(()=>e("change",c.value))}return{ns:n,focus:s,isGroup:r,modelValue:c,tabIndex:l,size:o,disabled:a,radioRef:i,handleChange:u}}}),RZ=["value","name","disabled"];function AZ(t,e,n,i,r,s){return L(),ie("label",{class:te([t.ns.b(),t.ns.is("disabled",t.disabled),t.ns.is("focus",t.focus),t.ns.is("bordered",t.border),t.ns.is("checked",t.modelValue===t.label),t.ns.m(t.size)]),onKeydown:e[5]||(e[5]=Qt(Et(o=>t.modelValue=t.disabled?t.modelValue:t.label,["stop","prevent"]),["space"]))},[U("span",{class:te([t.ns.e("input"),t.ns.is("disabled",t.disabled),t.ns.is("checked",t.modelValue===t.label)])},[U("span",{class:te(t.ns.e("inner"))},null,2),it(U("input",{ref:"radioRef","onUpdate:modelValue":e[0]||(e[0]=o=>t.modelValue=o),class:te(t.ns.e("original")),value:t.label,type:"radio",name:t.name,disabled:t.disabled,tabindex:"tabIndex",onFocus:e[1]||(e[1]=o=>t.focus=!0),onBlur:e[2]||(e[2]=o=>t.focus=!1),onChange:e[3]||(e[3]=(...o)=>t.handleChange&&t.handleChange(...o))},null,42,RZ),[[yk,t.modelValue]])],2),U("span",{class:te(t.ns.e("label")),onKeydown:e[4]||(e[4]=Et(()=>{},["stop"]))},[We(t.$slots,"default",{},()=>[Ee(de(t.label),1)])],34)],34)}var EZ=Me(TZ,[["render",AZ],["__file","/home/runner/work/element-plus/element-plus/packages/components/radio/src/radio.vue"]]);const XZ=lt(Je(ze({},k2),{name:{type:String,default:""}})),WZ=Ce({name:"ElRadioButton",props:XZ,setup(t,{emit:e}){const n=Ze("radio"),{radioRef:i,isGroup:r,focus:s,size:o,disabled:a,tabIndex:l,modelValue:c,radioGroup:u}=T2(t,e),O=N(()=>({backgroundColor:(u==null?void 0:u.fill)||"",borderColor:(u==null?void 0:u.fill)||"",boxShadow:u!=null&&u.fill?`-1px 0 0 0 ${u.fill}`:"",color:(u==null?void 0:u.textColor)||""}));return{ns:n,isGroup:r,size:o,disabled:a,tabIndex:l,modelValue:c,focus:s,activeStyle:O,radioRef:i}}}),zZ=["aria-checked","aria-disabled","tabindex"],IZ=["value","name","disabled"];function qZ(t,e,n,i,r,s){return L(),ie("label",{class:te([t.ns.b("button"),t.ns.is("active",t.modelValue===t.label),t.ns.is("disabled",t.disabled),t.ns.is("focus",t.focus),t.ns.bm("button",t.size)]),role:"radio","aria-checked":t.modelValue===t.label,"aria-disabled":t.disabled,tabindex:t.tabIndex,onKeydown:e[4]||(e[4]=Qt(Et(o=>t.modelValue=t.disabled?t.modelValue:t.label,["stop","prevent"]),["space"]))},[it(U("input",{ref:"radioRef","onUpdate:modelValue":e[0]||(e[0]=o=>t.modelValue=o),class:te(t.ns.be("button","original-radio")),value:t.label,type:"radio",name:t.name,disabled:t.disabled,tabindex:"-1",onFocus:e[1]||(e[1]=o=>t.focus=!0),onBlur:e[2]||(e[2]=o=>t.focus=!1)},null,42,IZ),[[yk,t.modelValue]]),U("span",{class:te(t.ns.be("button","inner")),style:tt(t.modelValue===t.label?t.activeStyle:{}),onKeydown:e[3]||(e[3]=Et(()=>{},["stop"]))},[We(t.$slots,"default",{},()=>[Ee(de(t.label),1)])],38)],42,zZ)}var R2=Me(WZ,[["render",qZ],["__file","/home/runner/work/element-plus/element-plus/packages/components/radio/src/radio-button.vue"]]);const UZ=lt({id:{type:String,default:void 0},size:fp,disabled:Boolean,modelValue:{type:[String,Number,Boolean],default:""},fill:{type:String,default:""},label:{type:String,default:void 0},textColor:{type:String,default:""}}),DZ=C2,LZ=Ce({name:"ElRadioGroup",props:UZ,emits:DZ,setup(t,e){const n=Ze("radio"),i=J(),{formItem:r}=yf(),{inputId:s,isLabeledByFormItem:o}=$f(t,{formItemContext:r}),a=c=>{e.emit(Wt,c),et(()=>e.emit("change",c))},l=c=>{if(!i.value)return;const u=c.target,O=u.nodeName==="INPUT"?"[type=radio]":"[role=radio]",f=i.value.querySelectorAll(O),h=f.length,p=Array.from(f).indexOf(u),y=i.value.querySelectorAll("[role=radio]");let $=null;switch(c.code){case rt.left:case rt.up:c.stopPropagation(),c.preventDefault(),$=p===0?h-1:p-1;break;case rt.right:case rt.down:c.stopPropagation(),c.preventDefault(),$=p===h-1?0:p+1;break}$!==null&&(y[$].click(),y[$].focus())};return xt(()=>{const c=i.value.querySelectorAll("[type=radio]"),u=c[0];!Array.from(c).some(O=>O.checked)&&u&&(u.tabIndex=0)}),kt(RC,gn(Je(ze({},xr(t)),{changeEvent:a}))),Xe(()=>t.modelValue,()=>r==null?void 0:r.validate("change").catch(c=>void 0)),{ns:n,radioGroupRef:i,formItem:r,groupId:s,isLabeledByFormItem:o,handleKeydown:l}}}),BZ=["id","aria-label","aria-labelledby"];function MZ(t,e,n,i,r,s){return L(),ie("div",{id:t.groupId,ref:"radioGroupRef",class:te(t.ns.b("group")),role:"radiogroup","aria-label":t.isLabeledByFormItem?void 0:t.label||"radio-group","aria-labelledby":t.isLabeledByFormItem?t.formItem.labelId:void 0,onKeydown:e[0]||(e[0]=(...o)=>t.handleKeydown&&t.handleKeydown(...o))},[We(t.$slots,"default")],42,BZ)}var A2=Me(LZ,[["render",MZ],["__file","/home/runner/work/element-plus/element-plus/packages/components/radio/src/radio-group.vue"]]);const E2=Gt(EZ,{RadioButton:R2,RadioGroup:A2}),YZ=Di(A2);Di(R2);const X2=lt({closable:Boolean,type:{type:String,values:["success","info","warning","danger",""],default:""},hit:Boolean,disableTransitions:Boolean,color:{type:String,default:""},size:{type:String,values:qa,default:""},effect:{type:String,values:["dark","light","plain"],default:"light"},round:Boolean}),ZZ={close:t=>t instanceof MouseEvent,click:t=>t instanceof MouseEvent},VZ={name:"ElTag"},jZ=Ce(Je(ze({},VZ),{props:X2,emits:ZZ,setup(t,{emit:e}){const n=t,i=Ln(),r=Ze("tag"),s=N(()=>{const{type:l,hit:c,effect:u,closable:O,round:f}=n;return[r.b(),r.is("closable",O),r.m(l),r.m(i.value),r.m(u),r.is("hit",c),r.is("round",f)]}),o=l=>{l.stopPropagation(),e("close",l)},a=l=>{e("click",l)};return(l,c)=>l.disableTransitions?(L(),be(ri,{key:1,name:`${M(r).namespace.value}-zoom-in-center`},{default:Y(()=>[U("span",{class:te(M(s)),style:tt({backgroundColor:l.color}),onClick:a},[U("span",{class:te(M(r).e("content"))},[We(l.$slots,"default")],2),l.closable?(L(),be(M(wt),{key:0,class:te(M(r).e("close")),onClick:o},{default:Y(()=>[B(M(xa))]),_:1},8,["class"])):Qe("v-if",!0)],6)]),_:3},8,["name"])):(L(),ie("span",{key:0,class:te(M(s)),style:tt({backgroundColor:l.color}),onClick:a},[U("span",{class:te(M(r).e("content"))},[We(l.$slots,"default")],2),l.closable?(L(),be(M(wt),{key:0,class:te(M(r).e("close")),onClick:o},{default:Y(()=>[B(M(xa))]),_:1},8,["class"])):Qe("v-if",!0)],6))}}));var NZ=Me(jZ,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tag/src/tag.vue"]]);const W2=Gt(NZ),Xg={},FZ=lt({a11y:{type:Boolean,default:!0},locale:{type:Ne(Object)},size:{type:String,values:qa,default:""},button:{type:Ne(Object)},experimentalFeatures:{type:Ne(Object)},keyboardNavigation:{type:Boolean,default:!0},message:{type:Ne(Object)},zIndex:{type:Number},namespace:{type:String,default:"el"}});var GZ=Ce({name:"ElConfigProvider",props:FZ,setup(t,{slots:e}){Xe(()=>t.message,i=>{Object.assign(Xg,i!=null?i:{})},{immediate:!0,deep:!0});const n=r9(t);return()=>We(e,"default",{config:n==null?void 0:n.value})}});const HZ=Gt(GZ);var z2={exports:{}};(function(t,e){(function(n,i){t.exports=i()})(at,function(){return function(n,i,r){var s=i.prototype,o=s.format;r.en.ordinal=function(a){var l=["th","st","nd","rd"],c=a%100;return"["+a+(l[(c-20)%10]||l[c]||l[0])+"]"},s.format=function(a){var l=this,c=this.$locale();if(!this.isValid())return o.bind(this)(a);var u=this.$utils(),O=(a||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(f){switch(f){case"Q":return Math.ceil((l.$M+1)/3);case"Do":return c.ordinal(l.$D);case"gggg":return l.weekYear();case"GGGG":return l.isoWeekYear();case"wo":return c.ordinal(l.week(),"W");case"w":case"ww":return u.s(l.week(),f==="w"?1:2,"0");case"W":case"WW":return u.s(l.isoWeek(),f==="W"?1:2,"0");case"k":case"kk":return u.s(String(l.$H===0?24:l.$H),f==="k"?1:2,"0");case"X":return Math.floor(l.$d.getTime()/1e3);case"x":return l.$d.getTime();case"z":return"["+l.offsetName()+"]";case"zzz":return"["+l.offsetName("long")+"]";default:return f}});return o.bind(this)(O)}}})})(z2);var KZ=z2.exports,I2={exports:{}};(function(t,e){(function(n,i){t.exports=i()})(at,function(){var n="week",i="year";return function(r,s,o){var a=s.prototype;a.week=function(l){if(l===void 0&&(l=null),l!==null)return this.add(7*(l-this.week()),"day");var c=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var u=o(this).startOf(i).add(1,i).date(c),O=o(this).endOf(n);if(u.isBefore(O))return 1}var f=o(this).startOf(i).date(c).startOf(n).subtract(1,"millisecond"),h=this.diff(f,n,!0);return h<0?o(this).startOf("week").week():Math.ceil(h)},a.weeks=function(l){return l===void 0&&(l=null),this.week(l)}}})})(I2);var JZ=I2.exports,q2={exports:{}};(function(t,e){(function(n,i){t.exports=i()})(at,function(){return function(n,i){i.prototype.weekYear=function(){var r=this.month(),s=this.week(),o=this.year();return s===1&&r===11?o+1:r===0&&s>=52?o-1:o}}})})(q2);var eV=q2.exports,U2={exports:{}};(function(t,e){(function(n,i){t.exports=i()})(at,function(){return function(n,i,r){i.prototype.dayOfYear=function(s){var o=Math.round((r(this).startOf("day")-r(this).startOf("year"))/864e5)+1;return s==null?o:this.add(s-o,"day")}}})})(U2);var tV=U2.exports,D2={exports:{}};(function(t,e){(function(n,i){t.exports=i()})(at,function(){return function(n,i){i.prototype.isSameOrAfter=function(r,s){return this.isSame(r,s)||this.isAfter(r,s)}}})})(D2);var nV=D2.exports,L2={exports:{}};(function(t,e){(function(n,i){t.exports=i()})(at,function(){return function(n,i){i.prototype.isSameOrBefore=function(r,s){return this.isSame(r,s)||this.isBefore(r,s)}}})})(L2);var iV=L2.exports;const B2=Symbol();var rV=Ce({name:"ElDatePickerCell",props:lt({cell:{type:Ne(Object)}}),setup(t){const e=De(B2);return()=>{const n=t.cell;if(e!=null&&e.ctx.slots.default){const i=e.ctx.slots.default(n).filter(r=>r.patchFlag!==-2&&r.type.toString()!=="Symbol(Comment)");if(i.length)return i}return Ke("div",{class:"el-date-table-cell"},[Ke("span",{class:"el-date-table-cell__text"},[n==null?void 0:n.text])])}}});const sV=Ce({components:{ElDatePickerCell:rV},props:{date:{type:Object},minDate:{type:Object},maxDate:{type:Object},parsedValue:{type:[Object,Array]},selectionMode:{type:String,default:"day"},showWeekNumber:{type:Boolean,default:!1},disabledDate:{type:Function},cellClassName:{type:Function},rangeState:{type:Object,default:()=>({endDate:null,selecting:!1})}},emits:["changerange","pick","select"],setup(t,e){const{t:n,lang:i}=Fn(),r=J(null),s=J(null),o=J([[],[],[],[],[],[]]),a=t.date.$locale().weekStart||7,l=t.date.locale("en").localeData().weekdaysShort().map(v=>v.toLowerCase()),c=N(()=>a>3?7-a:-a),u=N(()=>{const v=t.date.startOf("month");return v.subtract(v.day()||7,"day")}),O=N(()=>l.concat(l).slice(a,a+7)),f=N(()=>{var v;const b=t.date.startOf("month"),_=b.day()||7,Q=b.daysInMonth(),S=b.subtract(1,"month").daysInMonth(),P=c.value,w=o.value;let x=1;const k=t.selectionMode==="dates"?hu(t.parsedValue):[],C=nt().locale(i.value).startOf("day");for(let T=0;T<6;T++){const E=w[T];t.showWeekNumber&&(E[0]||(E[0]={type:"week",text:u.value.add(T*7+1,"day").week()}));for(let A=0;A<7;A++){let R=E[t.showWeekNumber?A+1:A];R||(R={row:T,column:A,type:"normal",inRange:!1,start:!1,end:!1});const X=T*7+A,D=u.value.add(X-P,"day");R.dayjs=D,R.date=D.toDate(),R.timestamp=D.valueOf(),R.type="normal";const V=t.rangeState.endDate||t.maxDate||t.rangeState.selecting&&t.minDate;if(R.inRange=t.minDate&&D.isSameOrAfter(t.minDate,"day")&&V&&D.isSameOrBefore(V,"day")||t.minDate&&D.isSameOrBefore(t.minDate,"day")&&V&&D.isSameOrAfter(V,"day"),(v=t.minDate)!=null&&v.isSameOrAfter(V)?(R.start=V&&D.isSame(V,"day"),R.end=t.minDate&&D.isSame(t.minDate,"day")):(R.start=t.minDate&&D.isSame(t.minDate,"day"),R.end=V&&D.isSame(V,"day")),D.isSame(C,"day")&&(R.type="today"),T>=0&&T<=1){const ee=_+P<0?7+_+P:_+P;A+T*7>=ee?R.text=x++:(R.text=S-(ee-A%7)+1+T*7,R.type="prev-month")}else x<=Q?R.text=x++:(R.text=x++-Q,R.type="next-month");const Z=D.toDate();R.selected=k.find(ee=>ee.valueOf()===D.valueOf()),R.isSelected=!!R.selected,R.isCurrent=h(R),R.disabled=t.disabledDate&&t.disabledDate(Z),R.customClass=t.cellClassName&&t.cellClassName(Z),E[t.showWeekNumber?A+1:A]=R}if(t.selectionMode==="week"){const A=t.showWeekNumber?1:0,R=t.showWeekNumber?7:6,X=g(E[A+1]);E[A].inRange=X,E[A].start=X,E[R].inRange=X,E[R].end=X}}return w}),h=v=>t.selectionMode==="day"&&(v.type==="normal"||v.type==="today")&&p(v,t.parsedValue),p=(v,b)=>b?nt(b).locale(i.value).isSame(t.date.date(Number(v.text)),"day"):!1,y=v=>{const b=[];return(v.type==="normal"||v.type==="today")&&!v.disabled?(b.push("available"),v.type==="today"&&b.push("today")):b.push(v.type),h(v)&&b.push("current"),v.inRange&&(v.type==="normal"||v.type==="today"||t.selectionMode==="week")&&(b.push("in-range"),v.start&&b.push("start-date"),v.end&&b.push("end-date")),v.disabled&&b.push("disabled"),v.selected&&b.push("selected"),v.customClass&&b.push(v.customClass),b.join(" ")},$=(v,b)=>{const _=v*7+(b-(t.showWeekNumber?1:0))-c.value;return u.value.add(_,"day")},m=v=>{if(!t.rangeState.selecting)return;let b=v.target;if(b.tagName==="SPAN"&&(b=b.parentNode.parentNode),b.tagName==="DIV"&&(b=b.parentNode),b.tagName!=="TD")return;const _=b.parentNode.rowIndex-1,Q=b.cellIndex;f.value[_][Q].disabled||(_!==r.value||Q!==s.value)&&(r.value=_,s.value=Q,e.emit("changerange",{selecting:!0,endDate:$(_,Q)}))},d=v=>{let b=v.target;for(;b&&b.tagName!=="TD";)b=b.parentNode;if(!b||b.tagName!=="TD")return;const _=b.parentNode.rowIndex-1,Q=b.cellIndex,S=f.value[_][Q];if(S.disabled||S.type==="week")return;const P=$(_,Q);if(t.selectionMode==="range")t.rangeState.selecting?(P>=t.minDate?e.emit("pick",{minDate:t.minDate,maxDate:P}):e.emit("pick",{minDate:P,maxDate:t.minDate}),e.emit("select",!1)):(e.emit("pick",{minDate:P,maxDate:null}),e.emit("select",!0));else if(t.selectionMode==="day")e.emit("pick",P);else if(t.selectionMode==="week"){const w=P.week(),x=`${P.year()}w${w}`;e.emit("pick",{year:P.year(),week:w,value:x,date:P.startOf("week")})}else if(t.selectionMode==="dates"){const w=S.selected?hu(t.parsedValue).filter(x=>x.valueOf()!==P.valueOf()):hu(t.parsedValue).concat([P]);e.emit("pick",w)}},g=v=>{if(t.selectionMode!=="week")return!1;let b=t.date.startOf("day");if(v.type==="prev-month"&&(b=b.subtract(1,"month")),v.type==="next-month"&&(b=b.add(1,"month")),b=b.date(Number.parseInt(v.text,10)),t.parsedValue&&!Array.isArray(t.parsedValue)){const _=(t.parsedValue.day()-a+7)%7-1;return t.parsedValue.subtract(_,"day").isSame(b,"day")}return!1};return{handleMouseMove:m,t:n,rows:f,isWeekActive:g,getCellClasses:y,WEEKS:O,handleClick:d}}}),oV={key:0};function aV(t,e,n,i,r,s){const o=Pe("el-date-picker-cell");return L(),ie("table",{cellspacing:"0",cellpadding:"0",class:te(["el-date-table",{"is-week-mode":t.selectionMode==="week"}]),onClick:e[0]||(e[0]=(...a)=>t.handleClick&&t.handleClick(...a)),onMousemove:e[1]||(e[1]=(...a)=>t.handleMouseMove&&t.handleMouseMove(...a))},[U("tbody",null,[U("tr",null,[t.showWeekNumber?(L(),ie("th",oV,de(t.t("el.datepicker.week")),1)):Qe("v-if",!0),(L(!0),ie(Le,null,Rt(t.WEEKS,(a,l)=>(L(),ie("th",{key:l},de(t.t("el.datepicker.weeks."+a)),1))),128))]),(L(!0),ie(Le,null,Rt(t.rows,(a,l)=>(L(),ie("tr",{key:l,class:te(["el-date-table__row",{current:t.isWeekActive(a[1])}])},[(L(!0),ie(Le,null,Rt(a,(c,u)=>(L(),ie("td",{key:u,class:te(t.getCellClasses(c))},[B(o,{cell:c},null,8,["cell"])],2))),128))],2))),128))])],34)}var M2=Me(sV,[["render",aV],["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/basic-date-table.vue"]]);const lV=(t,e,n)=>{const i=nt().locale(n).startOf("month").month(e).year(t),r=i.daysInMonth();return b2(r).map(s=>i.add(s,"day").toDate())},cV=Ce({props:{disabledDate:{type:Function},selectionMode:{type:String,default:"month"},minDate:{type:Object},maxDate:{type:Object},date:{type:Object},parsedValue:{type:Object},rangeState:{type:Object,default:()=>({endDate:null,selecting:!1})}},emits:["changerange","pick","select"],setup(t,e){const{t:n,lang:i}=Fn(),r=J(t.date.locale("en").localeData().monthsShort().map(f=>f.toLowerCase())),s=J([[],[],[]]),o=J(null),a=J(null),l=N(()=>{var f;const h=s.value,p=nt().locale(i.value).startOf("month");for(let y=0;y<3;y++){const $=h[y];for(let m=0;m<4;m++){let d=$[m];d||(d={row:y,column:m,type:"normal",inRange:!1,start:!1,end:!1}),d.type="normal";const g=y*4+m,v=t.date.startOf("year").month(g),b=t.rangeState.endDate||t.maxDate||t.rangeState.selecting&&t.minDate;d.inRange=t.minDate&&v.isSameOrAfter(t.minDate,"month")&&b&&v.isSameOrBefore(b,"month")||t.minDate&&v.isSameOrBefore(t.minDate,"month")&&b&&v.isSameOrAfter(b,"month"),(f=t.minDate)!=null&&f.isSameOrAfter(b)?(d.start=b&&v.isSame(b,"month"),d.end=t.minDate&&v.isSame(t.minDate,"month")):(d.start=t.minDate&&v.isSame(t.minDate,"month"),d.end=b&&v.isSame(b,"month")),p.isSame(v)&&(d.type="today"),d.text=g;const Q=v.toDate();d.disabled=t.disabledDate&&t.disabledDate(Q),$[m]=d}}return h});return{handleMouseMove:f=>{if(!t.rangeState.selecting)return;let h=f.target;if(h.tagName==="A"&&(h=h.parentNode.parentNode),h.tagName==="DIV"&&(h=h.parentNode),h.tagName!=="TD")return;const p=h.parentNode.rowIndex,y=h.cellIndex;l.value[p][y].disabled||(p!==o.value||y!==a.value)&&(o.value=p,a.value=y,e.emit("changerange",{selecting:!0,endDate:t.date.startOf("year").month(p*4+y)}))},handleMonthTableClick:f=>{let h=f.target;if(h.tagName==="A"&&(h=h.parentNode.parentNode),h.tagName==="DIV"&&(h=h.parentNode),h.tagName!=="TD"||po(h,"disabled"))return;const p=h.cellIndex,$=h.parentNode.rowIndex*4+p,m=t.date.startOf("year").month($);t.selectionMode==="range"?t.rangeState.selecting?(m>=t.minDate?e.emit("pick",{minDate:t.minDate,maxDate:m}):e.emit("pick",{minDate:m,maxDate:t.minDate}),e.emit("select",!1)):(e.emit("pick",{minDate:m,maxDate:null}),e.emit("select",!0)):e.emit("pick",$)},rows:l,getCellStyle:f=>{const h={},p=t.date.year(),y=new Date,$=f.text;return h.disabled=t.disabledDate?lV(p,$,i.value).every(t.disabledDate):!1,h.current=hu(t.parsedValue).findIndex(m=>m.year()===p&&m.month()===$)>=0,h.today=y.getFullYear()===p&&y.getMonth()===$,f.inRange&&(h["in-range"]=!0,f.start&&(h["start-date"]=!0),f.end&&(h["end-date"]=!0)),h},t:n,months:r}}}),uV={class:"cell"};function fV(t,e,n,i,r,s){return L(),ie("table",{class:"el-month-table",onClick:e[0]||(e[0]=(...o)=>t.handleMonthTableClick&&t.handleMonthTableClick(...o)),onMousemove:e[1]||(e[1]=(...o)=>t.handleMouseMove&&t.handleMouseMove(...o))},[U("tbody",null,[(L(!0),ie(Le,null,Rt(t.rows,(o,a)=>(L(),ie("tr",{key:a},[(L(!0),ie(Le,null,Rt(o,(l,c)=>(L(),ie("td",{key:c,class:te(t.getCellStyle(l))},[U("div",null,[U("a",uV,de(t.t("el.datepicker.months."+t.months[l.text])),1)])],2))),128))]))),128))])],32)}var Y2=Me(cV,[["render",fV],["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/basic-month-table.vue"]]);const OV=(t,e)=>{const n=nt(String(t)).locale(e).startOf("year"),r=n.endOf("year").dayOfYear();return b2(r).map(s=>n.add(s,"day").toDate())},hV=Ce({props:{disabledDate:{type:Function},parsedValue:{type:Object},date:{type:Object}},emits:["pick"],setup(t,e){const{lang:n}=Fn();return{startYear:N(()=>Math.floor(t.date.year()/10)*10),getCellStyle:o=>{const a={},l=nt().locale(n.value);return a.disabled=t.disabledDate?OV(o,n.value).every(t.disabledDate):!1,a.current=hu(t.parsedValue).findIndex(c=>c.year()===o)>=0,a.today=l.year()===o,a},handleYearTableClick:o=>{const a=o.target;if(a.tagName==="A"){if(po(a.parentNode,"disabled"))return;const l=a.textContent||a.innerText;e.emit("pick",Number(l))}}}}}),dV={class:"cell"},pV={class:"cell"},mV={class:"cell"},gV={class:"cell"},vV={class:"cell"},yV={class:"cell"},$V={class:"cell"},bV={class:"cell"},_V={class:"cell"},QV={class:"cell"},SV=U("td",null,null,-1),wV=U("td",null,null,-1);function xV(t,e,n,i,r,s){return L(),ie("table",{class:"el-year-table",onClick:e[0]||(e[0]=(...o)=>t.handleYearTableClick&&t.handleYearTableClick(...o))},[U("tbody",null,[U("tr",null,[U("td",{class:te(["available",t.getCellStyle(t.startYear+0)])},[U("a",dV,de(t.startYear),1)],2),U("td",{class:te(["available",t.getCellStyle(t.startYear+1)])},[U("a",pV,de(t.startYear+1),1)],2),U("td",{class:te(["available",t.getCellStyle(t.startYear+2)])},[U("a",mV,de(t.startYear+2),1)],2),U("td",{class:te(["available",t.getCellStyle(t.startYear+3)])},[U("a",gV,de(t.startYear+3),1)],2)]),U("tr",null,[U("td",{class:te(["available",t.getCellStyle(t.startYear+4)])},[U("a",vV,de(t.startYear+4),1)],2),U("td",{class:te(["available",t.getCellStyle(t.startYear+5)])},[U("a",yV,de(t.startYear+5),1)],2),U("td",{class:te(["available",t.getCellStyle(t.startYear+6)])},[U("a",$V,de(t.startYear+6),1)],2),U("td",{class:te(["available",t.getCellStyle(t.startYear+7)])},[U("a",bV,de(t.startYear+7),1)],2)]),U("tr",null,[U("td",{class:te(["available",t.getCellStyle(t.startYear+8)])},[U("a",_V,de(t.startYear+8),1)],2),U("td",{class:te(["available",t.getCellStyle(t.startYear+9)])},[U("a",QV,de(t.startYear+9),1)],2),SV,wV])])])}var PV=Me(hV,[["render",xV],["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/basic-year-table.vue"]]);const kV=(t,e,n)=>!0,CV=Ce({components:{DateTable:M2,ElInput:si,ElButton:Tn,ElIcon:wt,TimePickPanel:$2,MonthTable:Y2,YearTable:PV,DArrowLeft:e$,ArrowLeft:Jy,DArrowRight:t$,ArrowRight:gf},directives:{clickoutside:pp},props:{visible:{type:Boolean,default:!1},parsedValue:{type:[Object,Array]},format:{type:String,default:""},type:{type:String,required:!0,validator:SC}},emits:["pick","set-picker-option","panel-change"],setup(t,e){const{t:n,lang:i}=Fn(),r=De("EP_PICKER_BASE"),s=De(dp),{shortcuts:o,disabledDate:a,cellClassName:l,defaultTime:c,arrowControl:u}=r.props,O=Pn(r.props,"defaultValue"),f=J(nt().locale(i.value)),h=N(()=>nt(c).locale(i.value)),p=N(()=>f.value.month()),y=N(()=>f.value.year()),$=J([]),m=J(null),d=J(null),g=le=>$.value.length>0?kV(le,$.value,t.format||"HH:mm:ss"):!0,v=le=>c&&!ne.value?h.value.year(le.year()).month(le.month()).date(le.date()):V.value?le.millisecond(0):le.startOf("day"),b=(le,...oe)=>{if(!le)e.emit("pick",le,...oe);else if(Array.isArray(le)){const ce=le.map(v);e.emit("pick",ce,...oe)}else e.emit("pick",v(le),...oe);m.value=null,d.value=null},_=le=>{if(T.value==="day"){let oe=t.parsedValue?t.parsedValue.year(le.year()).month(le.month()).date(le.date()):le;g(oe)||(oe=$.value[0][0].year(le.year()).month(le.month()).date(le.date())),f.value=oe,b(oe,V.value)}else T.value==="week"?b(le.date):T.value==="dates"&&b(le,!0)},Q=()=>{f.value=f.value.subtract(1,"month"),me("month")},S=()=>{f.value=f.value.add(1,"month"),me("month")},P=()=>{x.value==="year"?f.value=f.value.subtract(10,"year"):f.value=f.value.subtract(1,"year"),me("year")},w=()=>{x.value==="year"?f.value=f.value.add(10,"year"):f.value=f.value.add(1,"year"),me("year")},x=J("date"),k=N(()=>{const le=n("el.datepicker.year");if(x.value==="year"){const oe=Math.floor(y.value/10)*10;return le?`${oe} ${le} - ${oe+9} ${le}`:`${oe} - ${oe+9}`}return`${y.value} ${le}`}),C=le=>{const oe=typeof le.value=="function"?le.value():le.value;if(oe){b(nt(oe).locale(i.value));return}le.onClick&&le.onClick(e)},T=N(()=>["week","month","year","dates"].includes(t.type)?t.type:"day");Xe(()=>T.value,le=>{if(["month","year"].includes(le)){x.value=le;return}x.value="date"},{immediate:!0}),Xe(()=>x.value,()=>{s==null||s.updatePopper()});const E=N(()=>!!o.length),A=le=>{f.value=f.value.startOf("month").month(le),T.value==="month"?b(f.value):x.value="date",me("month")},R=le=>{T.value==="year"?(f.value=f.value.startOf("year").year(le),b(f.value)):(f.value=f.value.year(le),x.value="month"),me("year")},X=()=>{x.value="month"},D=()=>{x.value="year"},V=N(()=>t.type==="datetime"||t.type==="datetimerange"),j=N(()=>V.value||T.value==="dates"),Z=()=>{if(T.value==="dates")b(t.parsedValue);else{let le=t.parsedValue;if(!le){const oe=nt(c).locale(i.value),ce=he();le=oe.year(ce.year()).month(ce.month()).date(ce.date())}f.value=le,b(le)}},ee=()=>{const oe=nt().locale(i.value).toDate();(!a||!a(oe))&&g(oe)&&(f.value=nt().locale(i.value),b(f.value))},se=N(()=>Q2(t.format)),I=N(()=>_2(t.format)),ne=N(()=>{if(d.value)return d.value;if(!(!t.parsedValue&&!O.value))return(t.parsedValue||f.value).format(se.value)}),H=N(()=>{if(m.value)return m.value;if(!(!t.parsedValue&&!O.value))return(t.parsedValue||f.value).format(I.value)}),re=J(!1),G=()=>{re.value=!0},Re=()=>{re.value=!1},_e=(le,oe,ce)=>{const K=t.parsedValue?t.parsedValue.hour(le.hour()).minute(le.minute()).second(le.second()):le;f.value=K,b(f.value,!0),ce||(re.value=oe)},ue=le=>{const oe=nt(le,se.value).locale(i.value);oe.isValid()&&g(oe)&&(f.value=oe.year(f.value.year()).month(f.value.month()).date(f.value.date()),d.value=null,re.value=!1,b(f.value,!0))},W=le=>{const oe=nt(le,I.value).locale(i.value);if(oe.isValid()){if(a&&a(oe.toDate()))return;f.value=oe.hour(f.value.hour()).minute(f.value.minute()).second(f.value.second()),m.value=null,b(f.value,!0)}},q=le=>nt.isDayjs(le)&&le.isValid()&&(a?!a(le.toDate()):!0),F=le=>T.value==="dates"?le.map(oe=>oe.format(t.format)):le.format(t.format),fe=le=>nt(le,t.format).locale(i.value),he=()=>{const le=nt(O.value).locale(i.value);if(!O.value){const oe=h.value;return nt().hour(oe.hour()).minute(oe.minute()).second(oe.second()).locale(i.value)}return le},ve=le=>{const{code:oe,keyCode:ce}=le,K=[rt.up,rt.down,rt.left,rt.right];t.visible&&!re.value&&(K.includes(oe)&&(xe(ce),le.stopPropagation(),le.preventDefault()),oe===rt.enter&&m.value===null&&d.value===null&&b(f,!1))},xe=le=>{const oe={year:{38:-4,40:4,37:-1,39:1,offset:(K,ge)=>K.setFullYear(K.getFullYear()+ge)},month:{38:-4,40:4,37:-1,39:1,offset:(K,ge)=>K.setMonth(K.getMonth()+ge)},week:{38:-1,40:1,37:-1,39:1,offset:(K,ge)=>K.setDate(K.getDate()+ge*7)},day:{38:-7,40:7,37:-1,39:1,offset:(K,ge)=>K.setDate(K.getDate()+ge)}},ce=f.value.toDate();for(;Math.abs(f.value.diff(ce,"year",!0))<1;){const K=oe[T.value];if(K.offset(ce,K[le]),a&&a(ce))continue;const ge=nt(ce).locale(i.value);f.value=ge,e.emit("pick",ge,!0);break}},me=le=>{e.emit("panel-change",f.value.toDate(),le,x.value)};return e.emit("set-picker-option",["isValidValue",q]),e.emit("set-picker-option",["formatToString",F]),e.emit("set-picker-option",["parseUserInput",fe]),e.emit("set-picker-option",["handleKeydown",ve]),Xe(()=>O.value,le=>{le&&(f.value=he())},{immediate:!0}),Xe(()=>t.parsedValue,le=>{if(le){if(T.value==="dates"||Array.isArray(le))return;f.value=le}else f.value=he()},{immediate:!0}),{handleTimePick:_e,handleTimePickClose:Re,onTimePickerInputFocus:G,timePickerVisible:re,visibleTime:ne,visibleDate:H,showTime:V,changeToNow:ee,onConfirm:Z,footerVisible:j,handleYearPick:R,showMonthPicker:X,showYearPicker:D,handleMonthPick:A,hasShortcuts:E,shortcuts:o,arrowControl:u,disabledDate:a,cellClassName:l,selectionMode:T,handleShortcutClick:C,prevYear_:P,nextYear_:w,prevMonth_:Q,nextMonth_:S,innerDate:f,t:n,yearLabel:k,currentView:x,month:p,handleDatePick:_,handleVisibleTimeChange:ue,handleVisibleDateChange:W,timeFormat:se,userInputTime:d,userInputDate:m}}}),TV={class:"el-picker-panel__body-wrapper"},RV={key:0,class:"el-picker-panel__sidebar"},AV=["onClick"],EV={class:"el-picker-panel__body"},XV={key:0,class:"el-date-picker__time-header"},WV={class:"el-date-picker__editor-wrap"},zV={class:"el-date-picker__editor-wrap"},IV=["aria-label"],qV=["aria-label"],UV=["aria-label"],DV=["aria-label"],LV={class:"el-picker-panel__content"},BV={class:"el-picker-panel__footer"};function MV(t,e,n,i,r,s){const o=Pe("el-input"),a=Pe("time-pick-panel"),l=Pe("d-arrow-left"),c=Pe("el-icon"),u=Pe("arrow-left"),O=Pe("d-arrow-right"),f=Pe("arrow-right"),h=Pe("date-table"),p=Pe("year-table"),y=Pe("month-table"),$=Pe("el-button"),m=Eo("clickoutside");return L(),ie("div",{class:te(["el-picker-panel el-date-picker",[{"has-sidebar":t.$slots.sidebar||t.hasShortcuts,"has-time":t.showTime}]])},[U("div",TV,[We(t.$slots,"sidebar",{class:"el-picker-panel__sidebar"}),t.hasShortcuts?(L(),ie("div",RV,[(L(!0),ie(Le,null,Rt(t.shortcuts,(d,g)=>(L(),ie("button",{key:g,type:"button",class:"el-picker-panel__shortcut",onClick:v=>t.handleShortcutClick(d)},de(d.text),9,AV))),128))])):Qe("v-if",!0),U("div",EV,[t.showTime?(L(),ie("div",XV,[U("span",WV,[B(o,{placeholder:t.t("el.datepicker.selectDate"),"model-value":t.visibleDate,size:"small",onInput:e[0]||(e[0]=d=>t.userInputDate=d),onChange:t.handleVisibleDateChange},null,8,["placeholder","model-value","onChange"])]),it((L(),ie("span",zV,[B(o,{placeholder:t.t("el.datepicker.selectTime"),"model-value":t.visibleTime,size:"small",onFocus:t.onTimePickerInputFocus,onInput:e[1]||(e[1]=d=>t.userInputTime=d),onChange:t.handleVisibleTimeChange},null,8,["placeholder","model-value","onFocus","onChange"]),B(a,{visible:t.timePickerVisible,format:t.timeFormat,"time-arrow-control":t.arrowControl,"parsed-value":t.innerDate,onPick:t.handleTimePick},null,8,["visible","format","time-arrow-control","parsed-value","onPick"])])),[[m,t.handleTimePickClose]])])):Qe("v-if",!0),it(U("div",{class:te(["el-date-picker__header",{"el-date-picker__header--bordered":t.currentView==="year"||t.currentView==="month"}])},[U("button",{type:"button","aria-label":t.t("el.datepicker.prevYear"),class:"el-picker-panel__icon-btn el-date-picker__prev-btn d-arrow-left",onClick:e[2]||(e[2]=(...d)=>t.prevYear_&&t.prevYear_(...d))},[B(c,null,{default:Y(()=>[B(l)]),_:1})],8,IV),it(U("button",{type:"button","aria-label":t.t("el.datepicker.prevMonth"),class:"el-picker-panel__icon-btn el-date-picker__prev-btn arrow-left",onClick:e[3]||(e[3]=(...d)=>t.prevMonth_&&t.prevMonth_(...d))},[B(c,null,{default:Y(()=>[B(u)]),_:1})],8,qV),[[Lt,t.currentView==="date"]]),U("span",{role:"button",class:"el-date-picker__header-label",onClick:e[4]||(e[4]=(...d)=>t.showYearPicker&&t.showYearPicker(...d))},de(t.yearLabel),1),it(U("span",{role:"button",class:te(["el-date-picker__header-label",{active:t.currentView==="month"}]),onClick:e[5]||(e[5]=(...d)=>t.showMonthPicker&&t.showMonthPicker(...d))},de(t.t(`el.datepicker.month${t.month+1}`)),3),[[Lt,t.currentView==="date"]]),U("button",{type:"button","aria-label":t.t("el.datepicker.nextYear"),class:"el-picker-panel__icon-btn el-date-picker__next-btn d-arrow-right",onClick:e[6]||(e[6]=(...d)=>t.nextYear_&&t.nextYear_(...d))},[B(c,null,{default:Y(()=>[B(O)]),_:1})],8,UV),it(U("button",{type:"button","aria-label":t.t("el.datepicker.nextMonth"),class:"el-picker-panel__icon-btn el-date-picker__next-btn arrow-right",onClick:e[7]||(e[7]=(...d)=>t.nextMonth_&&t.nextMonth_(...d))},[B(c,null,{default:Y(()=>[B(f)]),_:1})],8,DV),[[Lt,t.currentView==="date"]])],2),[[Lt,t.currentView!=="time"]]),U("div",LV,[t.currentView==="date"?(L(),be(h,{key:0,"selection-mode":t.selectionMode,date:t.innerDate,"parsed-value":t.parsedValue,"disabled-date":t.disabledDate,"cell-class-name":t.cellClassName,onPick:t.handleDatePick},null,8,["selection-mode","date","parsed-value","disabled-date","cell-class-name","onPick"])):Qe("v-if",!0),t.currentView==="year"?(L(),be(p,{key:1,date:t.innerDate,"disabled-date":t.disabledDate,"parsed-value":t.parsedValue,onPick:t.handleYearPick},null,8,["date","disabled-date","parsed-value","onPick"])):Qe("v-if",!0),t.currentView==="month"?(L(),be(y,{key:2,date:t.innerDate,"parsed-value":t.parsedValue,"disabled-date":t.disabledDate,onPick:t.handleMonthPick},null,8,["date","parsed-value","disabled-date","onPick"])):Qe("v-if",!0)])])]),it(U("div",BV,[it(B($,{text:"",size:"small",class:"el-picker-panel__link-btn",onClick:t.changeToNow},{default:Y(()=>[Ee(de(t.t("el.datepicker.now")),1)]),_:1},8,["onClick"]),[[Lt,t.selectionMode!=="dates"]]),B($,{plain:"",size:"small",class:"el-picker-panel__link-btn",onClick:t.onConfirm},{default:Y(()=>[Ee(de(t.t("el.datepicker.confirm")),1)]),_:1},8,["onClick"])],512),[[Lt,t.footerVisible&&t.currentView==="date"]])],2)}var YV=Me(CV,[["render",MV],["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/panel-date-pick.vue"]]);const ZV=Ce({directives:{clickoutside:pp},components:{TimePickPanel:$2,DateTable:M2,ElInput:si,ElButton:Tn,ElIcon:wt,DArrowLeft:e$,ArrowLeft:Jy,DArrowRight:t$,ArrowRight:gf},props:{unlinkPanels:Boolean,parsedValue:{type:Array},type:{type:String,required:!0,validator:SC}},emits:["pick","set-picker-option","calendar-change","panel-change"],setup(t,e){const{t:n,lang:i}=Fn(),r=J(nt().locale(i.value)),s=J(nt().locale(i.value).add(1,"month")),o=J(null),a=J(null),l=J({min:null,max:null}),c=J({min:null,max:null}),u=N(()=>`${r.value.year()} ${n("el.datepicker.year")} ${n(`el.datepicker.month${r.value.month()+1}`)}`),O=N(()=>`${s.value.year()} ${n("el.datepicker.year")} ${n(`el.datepicker.month${s.value.month()+1}`)}`),f=N(()=>r.value.year()),h=N(()=>r.value.month()),p=N(()=>s.value.year()),y=N(()=>s.value.month()),$=N(()=>!!ce.length),m=N(()=>l.value.min!==null?l.value.min:o.value?o.value.format(_.value):""),d=N(()=>l.value.max!==null?l.value.max:a.value||o.value?(a.value||o.value).format(_.value):""),g=N(()=>c.value.min!==null?c.value.min:o.value?o.value.format(b.value):""),v=N(()=>c.value.max!==null?c.value.max:a.value||o.value?(a.value||o.value).format(b.value):""),b=N(()=>Q2(Te)),_=N(()=>_2(Te)),Q=()=>{r.value=r.value.subtract(1,"year"),t.unlinkPanels||(s.value=r.value.add(1,"month")),E("year")},S=()=>{r.value=r.value.subtract(1,"month"),t.unlinkPanels||(s.value=r.value.add(1,"month")),E("month")},P=()=>{t.unlinkPanels?s.value=s.value.add(1,"year"):(r.value=r.value.add(1,"year"),s.value=r.value.add(1,"month")),E("year")},w=()=>{t.unlinkPanels?s.value=s.value.add(1,"month"):(r.value=r.value.add(1,"month"),s.value=r.value.add(1,"month")),E("month")},x=()=>{r.value=r.value.add(1,"year"),E("year")},k=()=>{r.value=r.value.add(1,"month"),E("month")},C=()=>{s.value=s.value.subtract(1,"year"),E("year")},T=()=>{s.value=s.value.subtract(1,"month"),E("month")},E=Oe=>{e.emit("panel-change",[r.value.toDate(),s.value.toDate()],Oe)},A=N(()=>{const Oe=(h.value+1)%12,Se=h.value+1>=12?1:0;return t.unlinkPanels&&new Date(f.value+Se,Oe)t.unlinkPanels&&p.value*12+y.value-(f.value*12+h.value+1)>=12),X=Oe=>Array.isArray(Oe)&&Oe[0]&&Oe[1]&&Oe[0].valueOf()<=Oe[1].valueOf(),D=J({endDate:null,selecting:!1}),V=N(()=>!(o.value&&a.value&&!D.value.selecting&&X([o.value,a.value]))),j=Oe=>{D.value=Oe},Z=Oe=>{D.value.selecting=Oe,Oe||(D.value.endDate=null)},ee=N(()=>t.type==="datetime"||t.type==="datetimerange"),se=(Oe=!1)=>{X([o.value,a.value])&&e.emit("pick",[o.value,a.value],Oe)},I=(Oe,Se)=>{if(!!Oe)return Ye?nt(Ye[Se]||Ye).locale(i.value).year(Oe.year()).month(Oe.month()).date(Oe.date()):Oe},ne=(Oe,Se=!0)=>{const qe=Oe.minDate,ht=Oe.maxDate,Ct=I(qe,0),Ot=I(ht,1);a.value===Ot&&o.value===Ct||(e.emit("calendar-change",[qe.toDate(),ht&&ht.toDate()]),a.value=Ot,o.value=Ct,!(!Se||ee.value)&&se())},H=Oe=>{const Se=typeof Oe.value=="function"?Oe.value():Oe.value;if(Se){e.emit("pick",[nt(Se[0]).locale(i.value),nt(Se[1]).locale(i.value)]);return}Oe.onClick&&Oe.onClick(e)},re=J(!1),G=J(!1),Re=()=>{re.value=!1},_e=()=>{G.value=!1},ue=(Oe,Se)=>{l.value[Se]=Oe;const qe=nt(Oe,_.value).locale(i.value);if(qe.isValid()){if(K&&K(qe.toDate()))return;Se==="min"?(r.value=qe,o.value=(o.value||r.value).year(qe.year()).month(qe.month()).date(qe.date()),t.unlinkPanels||(s.value=qe.add(1,"month"),a.value=o.value.add(1,"month"))):(s.value=qe,a.value=(a.value||s.value).year(qe.year()).month(qe.month()).date(qe.date()),t.unlinkPanels||(r.value=qe.subtract(1,"month"),o.value=a.value.subtract(1,"month")))}},W=(Oe,Se)=>{l.value[Se]=null},q=(Oe,Se)=>{c.value[Se]=Oe;const qe=nt(Oe,b.value).locale(i.value);qe.isValid()&&(Se==="min"?(re.value=!0,o.value=(o.value||r.value).hour(qe.hour()).minute(qe.minute()).second(qe.second()),(!a.value||a.value.isBefore(o.value))&&(a.value=o.value)):(G.value=!0,a.value=(a.value||s.value).hour(qe.hour()).minute(qe.minute()).second(qe.second()),s.value=a.value,a.value&&a.value.isBefore(o.value)&&(o.value=a.value)))},F=(Oe,Se)=>{c.value[Se]=null,Se==="min"?(r.value=o.value,re.value=!1):(s.value=a.value,G.value=!1)},fe=(Oe,Se,qe)=>{c.value.min||(Oe&&(r.value=Oe,o.value=(o.value||r.value).hour(Oe.hour()).minute(Oe.minute()).second(Oe.second())),qe||(re.value=Se),(!a.value||a.value.isBefore(o.value))&&(a.value=o.value,s.value=Oe))},he=(Oe,Se,qe)=>{c.value.max||(Oe&&(s.value=Oe,a.value=(a.value||s.value).hour(Oe.hour()).minute(Oe.minute()).second(Oe.second())),qe||(G.value=Se),a.value&&a.value.isBefore(o.value)&&(o.value=a.value))},ve=()=>{r.value=le()[0],s.value=r.value.add(1,"month"),e.emit("pick",null)},xe=Oe=>Array.isArray(Oe)?Oe.map(Se=>Se.format(Te)):Oe.format(Te),me=Oe=>Array.isArray(Oe)?Oe.map(Se=>nt(Se,Te).locale(i.value)):nt(Oe,Te).locale(i.value),le=()=>{let Oe;if(Array.isArray(pe.value)){const Se=nt(pe.value[0]);let qe=nt(pe.value[1]);return t.unlinkPanels||(qe=Se.add(1,"month")),[Se,qe]}else pe.value?Oe=nt(pe.value):Oe=nt();return Oe=Oe.locale(i.value),[Oe,Oe.add(1,"month")]};e.emit("set-picker-option",["isValidValue",X]),e.emit("set-picker-option",["parseUserInput",me]),e.emit("set-picker-option",["formatToString",xe]),e.emit("set-picker-option",["handleClear",ve]);const oe=De("EP_PICKER_BASE"),{shortcuts:ce,disabledDate:K,cellClassName:ge,format:Te,defaultTime:Ye,arrowControl:Ae,clearable:ae}=oe.props,pe=Pn(oe.props,"defaultValue");return Xe(()=>pe.value,Oe=>{if(Oe){const Se=le();o.value=null,a.value=null,r.value=Se[0],s.value=Se[1]}},{immediate:!0}),Xe(()=>t.parsedValue,Oe=>{if(Oe&&Oe.length===2)if(o.value=Oe[0],a.value=Oe[1],r.value=o.value,t.unlinkPanels&&a.value){const Se=o.value.year(),qe=o.value.month(),ht=a.value.year(),Ct=a.value.month();s.value=Se===ht&&qe===Ct?a.value.add(1,"month"):a.value}else s.value=r.value.add(1,"month"),a.value&&(s.value=s.value.hour(a.value.hour()).minute(a.value.minute()).second(a.value.second()));else{const Se=le();o.value=null,a.value=null,r.value=Se[0],s.value=Se[1]}},{immediate:!0}),{shortcuts:ce,disabledDate:K,cellClassName:ge,minTimePickerVisible:re,maxTimePickerVisible:G,handleMinTimeClose:Re,handleMaxTimeClose:_e,handleShortcutClick:H,rangeState:D,minDate:o,maxDate:a,handleRangePick:ne,onSelect:Z,handleChangeRange:j,btnDisabled:V,enableYearArrow:R,enableMonthArrow:A,rightPrevMonth:T,rightPrevYear:C,rightNextMonth:w,rightNextYear:P,leftPrevMonth:S,leftPrevYear:Q,leftNextMonth:k,leftNextYear:x,hasShortcuts:$,leftLabel:u,rightLabel:O,leftDate:r,rightDate:s,showTime:ee,t:n,minVisibleDate:m,maxVisibleDate:d,minVisibleTime:g,maxVisibleTime:v,arrowControl:Ae,handleDateInput:ue,handleDateChange:W,handleTimeInput:q,handleTimeChange:F,handleMinTimePick:fe,handleMaxTimePick:he,handleClear:ve,handleConfirm:se,timeFormat:b,clearable:ae}}}),VV={class:"el-picker-panel__body-wrapper"},jV={key:0,class:"el-picker-panel__sidebar"},NV=["onClick"],FV={class:"el-picker-panel__body"},GV={key:0,class:"el-date-range-picker__time-header"},HV={class:"el-date-range-picker__editors-wrap"},KV={class:"el-date-range-picker__time-picker-wrap"},JV={class:"el-date-range-picker__time-picker-wrap"},ej={class:"el-date-range-picker__editors-wrap is-right"},tj={class:"el-date-range-picker__time-picker-wrap"},nj={class:"el-date-range-picker__time-picker-wrap"},ij={class:"el-picker-panel__content el-date-range-picker__content is-left"},rj={class:"el-date-range-picker__header"},sj=["disabled"],oj=["disabled"],aj={class:"el-picker-panel__content el-date-range-picker__content is-right"},lj={class:"el-date-range-picker__header"},cj=["disabled"],uj=["disabled"],fj={key:0,class:"el-picker-panel__footer"};function Oj(t,e,n,i,r,s){const o=Pe("el-input"),a=Pe("time-pick-panel"),l=Pe("arrow-right"),c=Pe("el-icon"),u=Pe("d-arrow-left"),O=Pe("arrow-left"),f=Pe("d-arrow-right"),h=Pe("date-table"),p=Pe("el-button"),y=Eo("clickoutside");return L(),ie("div",{class:te(["el-picker-panel el-date-range-picker",[{"has-sidebar":t.$slots.sidebar||t.hasShortcuts,"has-time":t.showTime}]])},[U("div",VV,[We(t.$slots,"sidebar",{class:"el-picker-panel__sidebar"}),t.hasShortcuts?(L(),ie("div",jV,[(L(!0),ie(Le,null,Rt(t.shortcuts,($,m)=>(L(),ie("button",{key:m,type:"button",class:"el-picker-panel__shortcut",onClick:d=>t.handleShortcutClick($)},de($.text),9,NV))),128))])):Qe("v-if",!0),U("div",FV,[t.showTime?(L(),ie("div",GV,[U("span",HV,[U("span",KV,[B(o,{size:"small",disabled:t.rangeState.selecting,placeholder:t.t("el.datepicker.startDate"),class:"el-date-range-picker__editor","model-value":t.minVisibleDate,onInput:e[0]||(e[0]=$=>t.handleDateInput($,"min")),onChange:e[1]||(e[1]=$=>t.handleDateChange($,"min"))},null,8,["disabled","placeholder","model-value"])]),it((L(),ie("span",JV,[B(o,{size:"small",class:"el-date-range-picker__editor",disabled:t.rangeState.selecting,placeholder:t.t("el.datepicker.startTime"),"model-value":t.minVisibleTime,onFocus:e[2]||(e[2]=$=>t.minTimePickerVisible=!0),onInput:e[3]||(e[3]=$=>t.handleTimeInput($,"min")),onChange:e[4]||(e[4]=$=>t.handleTimeChange($,"min"))},null,8,["disabled","placeholder","model-value"]),B(a,{visible:t.minTimePickerVisible,format:t.timeFormat,"datetime-role":"start","time-arrow-control":t.arrowControl,"parsed-value":t.leftDate,onPick:t.handleMinTimePick},null,8,["visible","format","time-arrow-control","parsed-value","onPick"])])),[[y,t.handleMinTimeClose]])]),U("span",null,[B(c,null,{default:Y(()=>[B(l)]),_:1})]),U("span",ej,[U("span",tj,[B(o,{size:"small",class:"el-date-range-picker__editor",disabled:t.rangeState.selecting,placeholder:t.t("el.datepicker.endDate"),"model-value":t.maxVisibleDate,readonly:!t.minDate,onInput:e[5]||(e[5]=$=>t.handleDateInput($,"max")),onChange:e[6]||(e[6]=$=>t.handleDateChange($,"max"))},null,8,["disabled","placeholder","model-value","readonly"])]),it((L(),ie("span",nj,[B(o,{size:"small",class:"el-date-range-picker__editor",disabled:t.rangeState.selecting,placeholder:t.t("el.datepicker.endTime"),"model-value":t.maxVisibleTime,readonly:!t.minDate,onFocus:e[7]||(e[7]=$=>t.minDate&&(t.maxTimePickerVisible=!0)),onInput:e[8]||(e[8]=$=>t.handleTimeInput($,"max")),onChange:e[9]||(e[9]=$=>t.handleTimeChange($,"max"))},null,8,["disabled","placeholder","model-value","readonly"]),B(a,{"datetime-role":"end",visible:t.maxTimePickerVisible,format:t.timeFormat,"time-arrow-control":t.arrowControl,"parsed-value":t.rightDate,onPick:t.handleMaxTimePick},null,8,["visible","format","time-arrow-control","parsed-value","onPick"])])),[[y,t.handleMaxTimeClose]])])])):Qe("v-if",!0),U("div",ij,[U("div",rj,[U("button",{type:"button",class:"el-picker-panel__icon-btn d-arrow-left",onClick:e[10]||(e[10]=(...$)=>t.leftPrevYear&&t.leftPrevYear(...$))},[B(c,null,{default:Y(()=>[B(u)]),_:1})]),U("button",{type:"button",class:"el-picker-panel__icon-btn arrow-left",onClick:e[11]||(e[11]=(...$)=>t.leftPrevMonth&&t.leftPrevMonth(...$))},[B(c,null,{default:Y(()=>[B(O)]),_:1})]),t.unlinkPanels?(L(),ie("button",{key:0,type:"button",disabled:!t.enableYearArrow,class:te([{"is-disabled":!t.enableYearArrow},"el-picker-panel__icon-btn d-arrow-right"]),onClick:e[12]||(e[12]=(...$)=>t.leftNextYear&&t.leftNextYear(...$))},[B(c,null,{default:Y(()=>[B(f)]),_:1})],10,sj)):Qe("v-if",!0),t.unlinkPanels?(L(),ie("button",{key:1,type:"button",disabled:!t.enableMonthArrow,class:te([{"is-disabled":!t.enableMonthArrow},"el-picker-panel__icon-btn arrow-right"]),onClick:e[13]||(e[13]=(...$)=>t.leftNextMonth&&t.leftNextMonth(...$))},[B(c,null,{default:Y(()=>[B(l)]),_:1})],10,oj)):Qe("v-if",!0),U("div",null,de(t.leftLabel),1)]),B(h,{"selection-mode":"range",date:t.leftDate,"min-date":t.minDate,"max-date":t.maxDate,"range-state":t.rangeState,"disabled-date":t.disabledDate,"cell-class-name":t.cellClassName,onChangerange:t.handleChangeRange,onPick:t.handleRangePick,onSelect:t.onSelect},null,8,["date","min-date","max-date","range-state","disabled-date","cell-class-name","onChangerange","onPick","onSelect"])]),U("div",aj,[U("div",lj,[t.unlinkPanels?(L(),ie("button",{key:0,type:"button",disabled:!t.enableYearArrow,class:te([{"is-disabled":!t.enableYearArrow},"el-picker-panel__icon-btn d-arrow-left"]),onClick:e[14]||(e[14]=(...$)=>t.rightPrevYear&&t.rightPrevYear(...$))},[B(c,null,{default:Y(()=>[B(u)]),_:1})],10,cj)):Qe("v-if",!0),t.unlinkPanels?(L(),ie("button",{key:1,type:"button",disabled:!t.enableMonthArrow,class:te([{"is-disabled":!t.enableMonthArrow},"el-picker-panel__icon-btn arrow-left"]),onClick:e[15]||(e[15]=(...$)=>t.rightPrevMonth&&t.rightPrevMonth(...$))},[B(c,null,{default:Y(()=>[B(O)]),_:1})],10,uj)):Qe("v-if",!0),U("button",{type:"button",class:"el-picker-panel__icon-btn d-arrow-right",onClick:e[16]||(e[16]=(...$)=>t.rightNextYear&&t.rightNextYear(...$))},[B(c,null,{default:Y(()=>[B(f)]),_:1})]),U("button",{type:"button",class:"el-picker-panel__icon-btn arrow-right",onClick:e[17]||(e[17]=(...$)=>t.rightNextMonth&&t.rightNextMonth(...$))},[B(c,null,{default:Y(()=>[B(l)]),_:1})]),U("div",null,de(t.rightLabel),1)]),B(h,{"selection-mode":"range",date:t.rightDate,"min-date":t.minDate,"max-date":t.maxDate,"range-state":t.rangeState,"disabled-date":t.disabledDate,"cell-class-name":t.cellClassName,onChangerange:t.handleChangeRange,onPick:t.handleRangePick,onSelect:t.onSelect},null,8,["date","min-date","max-date","range-state","disabled-date","cell-class-name","onChangerange","onPick","onSelect"])])])]),t.showTime?(L(),ie("div",fj,[t.clearable?(L(),be(p,{key:0,text:"",size:"small",class:"el-picker-panel__link-btn",onClick:t.handleClear},{default:Y(()=>[Ee(de(t.t("el.datepicker.clear")),1)]),_:1},8,["onClick"])):Qe("v-if",!0),B(p,{plain:"",size:"small",class:"el-picker-panel__link-btn",disabled:t.btnDisabled,onClick:e[18]||(e[18]=$=>t.handleConfirm(!1))},{default:Y(()=>[Ee(de(t.t("el.datepicker.confirm")),1)]),_:1},8,["disabled"])])):Qe("v-if",!0)],2)}var hj=Me(ZV,[["render",Oj],["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/panel-date-range.vue"]]);const dj=Ce({components:{MonthTable:Y2,ElIcon:wt,DArrowLeft:e$,DArrowRight:t$},props:{unlinkPanels:Boolean,parsedValue:{type:Array}},emits:["pick","set-picker-option"],setup(t,e){const{t:n,lang:i}=Fn(),r=J(nt().locale(i.value)),s=J(nt().locale(i.value).add(1,"year")),o=N(()=>!!k.length),a=A=>{const R=typeof A.value=="function"?A.value():A.value;if(R){e.emit("pick",[nt(R[0]).locale(i.value),nt(R[1]).locale(i.value)]);return}A.onClick&&A.onClick(e)},l=()=>{r.value=r.value.subtract(1,"year"),t.unlinkPanels||(s.value=s.value.subtract(1,"year"))},c=()=>{t.unlinkPanels||(r.value=r.value.add(1,"year")),s.value=s.value.add(1,"year")},u=()=>{r.value=r.value.add(1,"year")},O=()=>{s.value=s.value.subtract(1,"year")},f=N(()=>`${r.value.year()} ${n("el.datepicker.year")}`),h=N(()=>`${s.value.year()} ${n("el.datepicker.year")}`),p=N(()=>r.value.year()),y=N(()=>s.value.year()===r.value.year()?r.value.year()+1:s.value.year()),$=N(()=>t.unlinkPanels&&y.value>p.value+1),m=J(null),d=J(null),g=J({endDate:null,selecting:!1}),v=A=>{g.value=A},b=(A,R=!0)=>{const X=A.minDate,D=A.maxDate;d.value===D&&m.value===X||(d.value=D,m.value=X,R&&Q())},_=A=>Array.isArray(A)&&A&&A[0]&&A[1]&&A[0].valueOf()<=A[1].valueOf(),Q=(A=!1)=>{_([m.value,d.value])&&e.emit("pick",[m.value,d.value],A)},S=A=>{g.value.selecting=A,A||(g.value.endDate=null)},P=A=>A.map(R=>R.format(T)),w=()=>{let A;if(Array.isArray(E.value)){const R=nt(E.value[0]);let X=nt(E.value[1]);return t.unlinkPanels||(X=R.add(1,"year")),[R,X]}else E.value?A=nt(E.value):A=nt();return A=A.locale(i.value),[A,A.add(1,"year")]};e.emit("set-picker-option",["formatToString",P]);const x=De("EP_PICKER_BASE"),{shortcuts:k,disabledDate:C,format:T}=x.props,E=Pn(x.props,"defaultValue");return Xe(()=>E.value,A=>{if(A){const R=w();r.value=R[0],s.value=R[1]}},{immediate:!0}),Xe(()=>t.parsedValue,A=>{if(A&&A.length===2)if(m.value=A[0],d.value=A[1],r.value=m.value,t.unlinkPanels&&d.value){const R=m.value.year(),X=d.value.year();s.value=R===X?d.value.add(1,"year"):d.value}else s.value=r.value.add(1,"year");else{const R=w();m.value=null,d.value=null,r.value=R[0],s.value=R[1]}},{immediate:!0}),{shortcuts:k,disabledDate:C,onSelect:S,handleRangePick:b,rangeState:g,handleChangeRange:v,minDate:m,maxDate:d,enableYearArrow:$,leftLabel:f,rightLabel:h,leftNextYear:u,leftPrevYear:l,rightNextYear:c,rightPrevYear:O,t:n,leftDate:r,rightDate:s,hasShortcuts:o,handleShortcutClick:a}}}),pj={class:"el-picker-panel__body-wrapper"},mj={key:0,class:"el-picker-panel__sidebar"},gj=["onClick"],vj={class:"el-picker-panel__body"},yj={class:"el-picker-panel__content el-date-range-picker__content is-left"},$j={class:"el-date-range-picker__header"},bj=["disabled"],_j={class:"el-picker-panel__content el-date-range-picker__content is-right"},Qj={class:"el-date-range-picker__header"},Sj=["disabled"];function wj(t,e,n,i,r,s){const o=Pe("d-arrow-left"),a=Pe("el-icon"),l=Pe("d-arrow-right"),c=Pe("month-table");return L(),ie("div",{class:te(["el-picker-panel el-date-range-picker",[{"has-sidebar":t.$slots.sidebar||t.hasShortcuts}]])},[U("div",pj,[We(t.$slots,"sidebar",{class:"el-picker-panel__sidebar"}),t.hasShortcuts?(L(),ie("div",mj,[(L(!0),ie(Le,null,Rt(t.shortcuts,(u,O)=>(L(),ie("button",{key:O,type:"button",class:"el-picker-panel__shortcut",onClick:f=>t.handleShortcutClick(u)},de(u.text),9,gj))),128))])):Qe("v-if",!0),U("div",vj,[U("div",yj,[U("div",$j,[U("button",{type:"button",class:"el-picker-panel__icon-btn d-arrow-left",onClick:e[0]||(e[0]=(...u)=>t.leftPrevYear&&t.leftPrevYear(...u))},[B(a,null,{default:Y(()=>[B(o)]),_:1})]),t.unlinkPanels?(L(),ie("button",{key:0,type:"button",disabled:!t.enableYearArrow,class:te([{"is-disabled":!t.enableYearArrow},"el-picker-panel__icon-btn d-arrow-right"]),onClick:e[1]||(e[1]=(...u)=>t.leftNextYear&&t.leftNextYear(...u))},[B(a,null,{default:Y(()=>[B(l)]),_:1})],10,bj)):Qe("v-if",!0),U("div",null,de(t.leftLabel),1)]),B(c,{"selection-mode":"range",date:t.leftDate,"min-date":t.minDate,"max-date":t.maxDate,"range-state":t.rangeState,"disabled-date":t.disabledDate,onChangerange:t.handleChangeRange,onPick:t.handleRangePick,onSelect:t.onSelect},null,8,["date","min-date","max-date","range-state","disabled-date","onChangerange","onPick","onSelect"])]),U("div",_j,[U("div",Qj,[t.unlinkPanels?(L(),ie("button",{key:0,type:"button",disabled:!t.enableYearArrow,class:te([{"is-disabled":!t.enableYearArrow},"el-picker-panel__icon-btn d-arrow-left"]),onClick:e[2]||(e[2]=(...u)=>t.rightPrevYear&&t.rightPrevYear(...u))},[B(a,null,{default:Y(()=>[B(o)]),_:1})],10,Sj)):Qe("v-if",!0),U("button",{type:"button",class:"el-picker-panel__icon-btn d-arrow-right",onClick:e[3]||(e[3]=(...u)=>t.rightNextYear&&t.rightNextYear(...u))},[B(a,null,{default:Y(()=>[B(l)]),_:1})]),U("div",null,de(t.rightLabel),1)]),B(c,{"selection-mode":"range",date:t.rightDate,"min-date":t.minDate,"max-date":t.maxDate,"range-state":t.rangeState,"disabled-date":t.disabledDate,onChangerange:t.handleChangeRange,onPick:t.handleRangePick,onSelect:t.onSelect},null,8,["date","min-date","max-date","range-state","disabled-date","onChangerange","onPick","onSelect"])])])])],2)}var xj=Me(dj,[["render",wj],["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/panel-month-range.vue"]]);nt.extend(WY);nt.extend(KZ);nt.extend(zY);nt.extend(JZ);nt.extend(eV);nt.extend(tV);nt.extend(nV);nt.extend(iV);const Pj=function(t){return t==="daterange"||t==="datetimerange"?hj:t==="monthrange"?xj:YV};var kj=Ce({name:"ElDatePicker",install:null,props:Je(ze({},u2),{type:{type:String,default:"date"}}),emits:["update:modelValue"],setup(t,e){kt("ElPopperOptions",t.popperOptions),kt(B2,{ctx:e});const n=J(null),i=Je(ze({},t),{focus:(r=!0)=>{var s;(s=n.value)==null||s.focus(r)}});return e.expose(i),()=>{var r;const s=(r=t.format)!=null?r:IY[t.type]||Fc;return Ke(BY,Je(ze({},t),{format:s,type:t.type,ref:n,"onUpdate:modelValue":o=>e.emit("update:modelValue",o)}),{default:o=>Ke(Pj(t.type),o),"range-separator":()=>We(e.slots,"range-separator")})}}});const ph=kj;ph.install=t=>{t.component(ph.name,ph)};const Cj=ph,d$="elDescriptions";var G_=Ce({name:"ElDescriptionsCell",props:{cell:{type:Object},tag:{type:String},type:{type:String}},setup(){return{descriptions:De(d$,{})}},render(){var t,e,n,i,r,s;const o=t9(this.cell),{border:a,direction:l}=this.descriptions,c=l==="vertical",u=((n=(e=(t=this.cell)==null?void 0:t.children)==null?void 0:e.label)==null?void 0:n.call(e))||o.label,O=(s=(r=(i=this.cell)==null?void 0:i.children)==null?void 0:r.default)==null?void 0:s.call(r),f=o.span,h=o.align?`is-${o.align}`:"",p=o.labelAlign?`is-${o.labelAlign}`:h,y=o.className,$=o.labelClassName,m={width:wr(o.width),minWidth:wr(o.minWidth)},d=Ze("descriptions");switch(this.type){case"label":return Ke(this.tag,{style:m,class:[d.e("cell"),d.e("label"),d.is("bordered-label",a),d.is("vertical-label",c),p,$],colSpan:c?f:1},u);case"content":return Ke(this.tag,{style:m,class:[d.e("cell"),d.e("content"),d.is("bordered-content",a),d.is("vertical-content",c),h,y],colSpan:c?f:f*2-1},O);default:return Ke("td",{style:m,class:[d.e("cell"),h],colSpan:f},[Ke("span",{class:[d.e("label"),$]},u),Ke("span",{class:[d.e("content"),y]},O)])}}});const Tj=Ce({name:"ElDescriptionsRow",components:{[G_.name]:G_},props:{row:{type:Array}},setup(){return{descriptions:De(d$,{})}}}),Rj={key:1};function Aj(t,e,n,i,r,s){const o=Pe("el-descriptions-cell");return t.descriptions.direction==="vertical"?(L(),ie(Le,{key:0},[U("tr",null,[(L(!0),ie(Le,null,Rt(t.row,(a,l)=>(L(),be(o,{key:`tr1-${l}`,cell:a,tag:"th",type:"label"},null,8,["cell"]))),128))]),U("tr",null,[(L(!0),ie(Le,null,Rt(t.row,(a,l)=>(L(),be(o,{key:`tr2-${l}`,cell:a,tag:"td",type:"content"},null,8,["cell"]))),128))])],64)):(L(),ie("tr",Rj,[(L(!0),ie(Le,null,Rt(t.row,(a,l)=>(L(),ie(Le,{key:`tr3-${l}`},[t.descriptions.border?(L(),ie(Le,{key:0},[B(o,{cell:a,tag:"td",type:"label"},null,8,["cell"]),B(o,{cell:a,tag:"td",type:"content"},null,8,["cell"])],64)):(L(),be(o,{key:1,cell:a,tag:"td",type:"both"},null,8,["cell"]))],64))),128))]))}var H_=Me(Tj,[["render",Aj],["__file","/home/runner/work/element-plus/element-plus/packages/components/descriptions/src/descriptions-row.vue"]]);const Ej=Ce({name:"ElDescriptions",components:{[H_.name]:H_},props:{border:{type:Boolean,default:!1},column:{type:Number,default:3},direction:{type:String,default:"horizontal"},size:{type:String,validator:Ua},title:{type:String,default:""},extra:{type:String,default:""}},setup(t,{slots:e}){kt(d$,t);const n=Ln(),i=Ze("descriptions"),r=N(()=>[i.b(),i.m(n.value)]),s=l=>{const c=Array.isArray(l)?l:[l],u=[];return c.forEach(O=>{Array.isArray(O.children)?u.push(...s(O.children)):u.push(O)}),u},o=(l,c,u,O=!1)=>(l.props||(l.props={}),c>u&&(l.props.span=u),O&&(l.props.span=c),l);return{descriptionKls:r,getRows:()=>{var l;const c=s((l=e.default)==null?void 0:l.call(e)).filter(p=>{var y;return((y=p==null?void 0:p.type)==null?void 0:y.name)==="ElDescriptionsItem"}),u=[];let O=[],f=t.column,h=0;return c.forEach((p,y)=>{var $;const m=(($=p.props)==null?void 0:$.span)||1;if(yf?f:m),y===c.length-1){const d=t.column-h%t.column;O.push(o(p,d,f,!0)),u.push(O);return}m[Ee(de(t.title),1)])],2),U("div",{class:te(t.ns.e("extra"))},[We(t.$slots,"extra",{},()=>[Ee(de(t.extra),1)])],2)],2)):Qe("v-if",!0),U("div",{class:te(t.ns.e("body"))},[U("table",{class:te([t.ns.e("table"),t.ns.is("bordered",t.border)])},[U("tbody",null,[(L(!0),ie(Le,null,Rt(t.getRows(),(a,l)=>(L(),be(o,{key:l,row:a},null,8,["row"]))),128))])],2)],2)],2)}var Wj=Me(Ej,[["render",Xj],["__file","/home/runner/work/element-plus/element-plus/packages/components/descriptions/src/index.vue"]]),Z2=Ce({name:"ElDescriptionsItem",props:{label:{type:String,default:""},span:{type:Number,default:1},width:{type:[String,Number],default:""},minWidth:{type:[String,Number],default:""},align:{type:String,default:"left"},labelAlign:{type:String,default:""},className:{type:String,default:""},labelClassName:{type:String,default:""}}});const zj=Gt(Wj,{DescriptionsItem:Z2}),Ij=Di(Z2),qj=lt({mask:{type:Boolean,default:!0},customMaskEvent:{type:Boolean,default:!1},overlayClass:{type:Ne([String,Array,Object])},zIndex:{type:Ne([String,Number])}}),Uj={click:t=>t instanceof MouseEvent};var Dj=Ce({name:"ElOverlay",props:qj,emits:Uj,setup(t,{slots:e,emit:n}){const i=Ze("overlay"),r=l=>{n("click",l)},{onClick:s,onMousedown:o,onMouseup:a}=r$(t.customMaskEvent?void 0:r);return()=>t.mask?B("div",{class:[i.b(),t.overlayClass],style:{zIndex:t.zIndex},onClick:s,onMousedown:o,onMouseup:a},[We(e,"default")],uh.STYLE|uh.CLASS|uh.PROPS,["onClick","onMouseup","onMousedown"]):Ke("div",{class:t.overlayClass,style:{zIndex:t.zIndex,position:"fixed",top:"0px",right:"0px",bottom:"0px",left:"0px"}},[We(e,"default")])}});const V2=Dj,j2=lt({center:{type:Boolean,default:!1},closeIcon:{type:_s,default:""},customClass:{type:String,default:""},draggable:{type:Boolean,default:!1},fullscreen:{type:Boolean,default:!1},showClose:{type:Boolean,default:!0},title:{type:String,default:""}}),Lj={close:()=>!0},Bj=["aria-label"],Mj={name:"ElDialogContent"},Yj=Ce(Je(ze({},Mj),{props:j2,emits:Lj,setup(t){const{Close:e}=GB,{dialogRef:n,headerRef:i,ns:r,style:s}=De(TC);return(o,a)=>(L(),ie("div",{ref_key:"dialogRef",ref:n,class:te([M(r).b(),M(r).is("fullscreen",o.fullscreen),M(r).is("draggable",o.draggable),{[M(r).m("center")]:o.center},o.customClass]),"aria-modal":"true",role:"dialog","aria-label":o.title||"dialog",style:tt(M(s)),onClick:a[1]||(a[1]=Et(()=>{},["stop"]))},[U("div",{ref_key:"headerRef",ref:i,class:te(M(r).e("header"))},[We(o.$slots,"title",{},()=>[U("span",{class:te(M(r).e("title"))},de(o.title),3)])],2),U("div",{class:te(M(r).e("body"))},[We(o.$slots,"default")],2),o.$slots.footer?(L(),ie("div",{key:0,class:te(M(r).e("footer"))},[We(o.$slots,"footer")],2)):Qe("v-if",!0),o.showClose?(L(),ie("button",{key:1,"aria-label":"close",class:te(M(r).e("headerbtn")),type:"button",onClick:a[0]||(a[0]=l=>o.$emit("close"))},[B(M(wt),{class:te(M(r).e("close"))},{default:Y(()=>[(L(),be(Vt(o.closeIcon||M(e))))]),_:1},8,["class"])],2)):Qe("v-if",!0)],14,Bj))}}));var Zj=Me(Yj,[["__file","/home/runner/work/element-plus/element-plus/packages/components/dialog/src/dialog-content.vue"]]);const Vj=lt(Je(ze({},j2),{appendToBody:{type:Boolean,default:!1},beforeClose:{type:Ne(Function)},destroyOnClose:{type:Boolean,default:!1},closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},modal:{type:Boolean,default:!0},openDelay:{type:Number,default:0},closeDelay:{type:Number,default:0},top:{type:String},modelValue:{type:Boolean,required:!0},modalClass:String,width:{type:[String,Number]},zIndex:{type:Number},trapFocus:{type:Boolean,default:!1}})),jj={open:()=>!0,opened:()=>!0,close:()=>!0,closed:()=>!0,[Wt]:t=>Ji(t),openAutoFocus:()=>!0,closeAutoFocus:()=>!0},Nj=(t,e)=>{const i=$t().emit,{nextZIndex:r}=La();let s="";const o=J(!1),a=J(!1),l=J(!1),c=J(t.zIndex||r());let u,O;const f=N(()=>Bt(t.width)?`${t.width}px`:t.width),h=Da("namespace",BC),p=N(()=>{const S={},P=`--${h.value}-dialog`;return t.fullscreen||(t.top&&(S[`${P}-margin-top`]=t.top),t.width&&(S[`${P}-width`]=f.value)),S});function y(){i("opened")}function $(){i("closed"),i(Wt,!1),t.destroyOnClose&&(l.value=!1)}function m(){i("close")}function d(){O==null||O(),u==null||u(),t.openDelay&&t.openDelay>0?{stop:u}=Nh(()=>_(),t.openDelay):_()}function g(){u==null||u(),O==null||O(),t.closeDelay&&t.closeDelay>0?{stop:O}=Nh(()=>Q(),t.closeDelay):Q()}function v(){function S(P){P||(a.value=!0,o.value=!1)}t.beforeClose?t.beforeClose(S):g()}function b(){t.closeOnClickModal&&v()}function _(){!qt||(o.value=!0)}function Q(){o.value=!1}return t.lockScroll&&zC(o),t.closeOnPressEscape&&IC({handleClose:v},o),qC(o),Xe(()=>t.modelValue,S=>{S?(a.value=!1,d(),l.value=!0,i("open"),c.value=t.zIndex?c.value++:r(),et(()=>{e.value&&(e.value.scrollTop=0)})):o.value&&g()}),Xe(()=>t.fullscreen,S=>{!e.value||(S?(s=e.value.style.transform,e.value.style.transform=""):e.value.style.transform=s)}),xt(()=>{t.modelValue&&(o.value=!0,l.value=!0,d())}),{afterEnter:y,afterLeave:$,beforeLeave:m,handleClose:v,onModalClick:b,close:g,doClose:Q,closed:a,style:p,rendered:l,visible:o,zIndex:c}},Fj={name:"ElDialog"},Gj=Ce(Je(ze({},Fj),{props:Vj,emits:jj,setup(t,{expose:e}){const n=t,i=Ze("dialog"),r=J(),s=J(),{visible:o,style:a,rendered:l,zIndex:c,afterEnter:u,afterLeave:O,beforeLeave:f,handleClose:h,onModalClick:p}=Nj(n,r);kt(TC,{dialogRef:r,headerRef:s,ns:i,rendered:l,style:a});const y=r$(p),$=N(()=>n.draggable&&!n.fullscreen);return WC(r,s,$),e({visible:o}),(m,d)=>(L(),be(tk,{to:"body",disabled:!m.appendToBody},[B(ri,{name:"dialog-fade",onAfterEnter:M(u),onAfterLeave:M(O),onBeforeLeave:M(f)},{default:Y(()=>[it(B(M(V2),{"custom-mask-event":"",mask:m.modal,"overlay-class":m.modalClass,"z-index":M(c)},{default:Y(()=>[U("div",{class:te(`${M(i).namespace.value}-overlay-dialog`),onClick:d[0]||(d[0]=(...g)=>M(y).onClick&&M(y).onClick(...g)),onMousedown:d[1]||(d[1]=(...g)=>M(y).onMousedown&&M(y).onMousedown(...g)),onMouseup:d[2]||(d[2]=(...g)=>M(y).onMouseup&&M(y).onMouseup(...g))},[M(l)?(L(),be(Zj,{key:0,"custom-class":m.customClass,center:m.center,"close-icon":m.closeIcon,draggable:M($),fullscreen:m.fullscreen,"show-close":m.showClose,style:tt(M(a)),title:m.title,onClose:M(h)},Zd({title:Y(()=>[We(m.$slots,"title")]),default:Y(()=>[We(m.$slots,"default")]),_:2},[m.$slots.footer?{name:"footer",fn:Y(()=>[We(m.$slots,"footer")])}:void 0]),1032,["custom-class","center","close-icon","draggable","fullscreen","show-close","style","title","onClose"])):Qe("v-if",!0)],34)]),_:3},8,["mask","overlay-class","z-index"]),[[Lt,M(o)]])]),_:3},8,["onAfterEnter","onAfterLeave","onBeforeLeave"])],8,["disabled"]))}}));var Hj=Me(Gj,[["__file","/home/runner/work/element-plus/element-plus/packages/components/dialog/src/dialog.vue"]]);const Ba=Gt(Hj),Kj=lt({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},contentPosition:{type:String,values:["left","center","right"],default:"center"},borderStyle:{type:Ne(String),default:"solid"}}),Jj={name:"ElDivider"},eN=Ce(Je(ze({},Jj),{props:Kj,setup(t){const e=t,n=Ze("divider"),i=N(()=>n.cssVar({"border-style":e.borderStyle}));return(r,s)=>(L(),ie("div",{class:te([M(n).b(),M(n).m(r.direction)]),style:tt(M(i))},[r.$slots.default&&r.direction!=="vertical"?(L(),ie("div",{key:0,class:te([M(n).e("text"),M(n).is(r.contentPosition)])},[We(r.$slots,"default")],2)):Qe("v-if",!0)],6))}}));var tN=Me(eN,[["__file","/home/runner/work/element-plus/element-plus/packages/components/divider/src/divider.vue"]]);const nN=Gt(tN),N2=t=>{const e=[],n=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:i=>{const r=i.tagName==="INPUT"&&i.type==="hidden";return i.disabled||i.hidden||r?NodeFilter.FILTER_SKIP:i.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)e.push(n.currentNode);return e},K_=(t,e)=>{for(const n of t)if(!iN(n,e))return n},iN=(t,e)=>{if(getComputedStyle(t).visibility==="hidden")return!0;for(;t;){if(e&&t===e)return!1;if(getComputedStyle(t).display==="none")return!0;t=t.parentElement}return!1},rN=t=>{const e=N2(t),n=K_(e,t),i=K_(e.reverse(),t);return[n,i]},sN=t=>t instanceof HTMLInputElement&&"select"in t,ra=(t,e)=>{if(t&&t.focus){const n=document.activeElement;t.focus({preventScroll:!0}),t!==n&&sN(t)&&e&&t.select()}};function J_(t,e){const n=[...t],i=t.indexOf(e);return i!==-1&&n.splice(i,1),n}const oN=()=>{let t=[];return{push:i=>{const r=t[0];r&&i!==r&&r.pause(),t=J_(t,i),t.unshift(i)},remove:i=>{var r,s;t=J_(t,i),(s=(r=t[0])==null?void 0:r.resume)==null||s.call(r)}}},aN=(t,e=!1)=>{const n=document.activeElement;for(const i of t)if(ra(i,e),document.activeElement!==n)return},eQ=oN(),X0="focus-trap.focus-on-mount",W0="focus-trap.focus-on-unmount",tQ={cancelable:!0,bubbles:!1},nQ="mountOnFocus",iQ="unmountOnFocus",F2=Symbol("elFocusTrap"),lN=Ce({name:"ElFocusTrap",inheritAttrs:!1,props:{loop:Boolean,trapped:Boolean},emits:[nQ,iQ],setup(t,{emit:e}){const n=J(),i=J(null);let r,s;const o={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},a=h=>{if(!t.loop&&!t.trapped||o.paused)return;const{key:p,altKey:y,ctrlKey:$,metaKey:m,currentTarget:d,shiftKey:g}=h,{loop:v}=t,b=p===rt.tab&&!y&&!$&&!m,_=document.activeElement;if(b&&_){const Q=d,[S,P]=rN(Q);S&&P?!g&&_===P?(h.preventDefault(),v&&ra(S,!0)):g&&_===S&&(h.preventDefault(),v&&ra(P,!0)):_===Q&&h.preventDefault()}};kt(F2,{focusTrapRef:i,onKeydown:a});const l=h=>{e(nQ,h)},c=h=>e(iQ,h),u=h=>{const p=M(i);if(o.paused||!p)return;const y=h.target;y&&p.contains(y)?s=y:ra(s,!0)},O=h=>{const p=M(i);o.paused||!p||p.contains(h.relatedTarget)||ra(s,!0)},f=()=>{document.removeEventListener("focusin",u),document.removeEventListener("focusout",O)};return xt(()=>{const h=M(i);if(h){eQ.push(o);const p=document.activeElement;if(r=p,!h.contains(p)){const $=new Event(X0,tQ);h.addEventListener(X0,l),h.dispatchEvent($),$.defaultPrevented||et(()=>{aN(N2(h),!0),document.activeElement===p&&ra(h)})}}Xe(()=>t.trapped,p=>{p?(document.addEventListener("focusin",u),document.addEventListener("focusout",O)):f()},{immediate:!0})}),Qn(()=>{f();const h=M(i);if(h){h.removeEventListener(X0,l);const p=new Event(W0,tQ);h.addEventListener(W0,c),h.dispatchEvent(p),p.defaultPrevented||ra(r!=null?r:document.body,!0),h.removeEventListener(W0,l),eQ.remove(o)}}),{focusTrapRef:n,forwardRef:i,onKeydown:a}}});function cN(t,e,n,i,r,s){return We(t.$slots,"default")}var uN=Me(lN,[["render",cN],["__file","/home/runner/work/element-plus/element-plus/packages/components/focus-trap/src/focus-trap.vue"]]);const fN=Ce({inheritAttrs:!1});function ON(t,e,n,i,r,s){return We(t.$slots,"default")}var hN=Me(fN,[["render",ON],["__file","/home/runner/work/element-plus/element-plus/packages/components/collection/src/collection.vue"]]);const dN=Ce({name:"ElCollectionItem",inheritAttrs:!1});function pN(t,e,n,i,r,s){return We(t.$slots,"default")}var mN=Me(dN,[["render",pN],["__file","/home/runner/work/element-plus/element-plus/packages/components/collection/src/collection-item.vue"]]);const G2="data-el-collection-item",H2=t=>{const e=`El${t}Collection`,n=`${e}Item`,i=Symbol(e),r=Symbol(n),s=Je(ze({},hN),{name:e,setup(){const a=J(null),l=new Map;kt(i,{itemMap:l,getItems:()=>{const u=M(a);if(!u)return[];const O=Array.from(u.querySelectorAll(`[${G2}]`));return[...l.values()].sort((p,y)=>O.indexOf(p.ref)-O.indexOf(y.ref))},collectionRef:a})}}),o=Je(ze({},mN),{name:n,setup(a,{attrs:l}){const c=J(null),u=De(i,void 0);kt(r,{collectionItemRef:c}),xt(()=>{const O=M(c);O&&u.itemMap.set(O,ze({ref:O},l))}),Qn(()=>{const O=M(c);u.itemMap.delete(O)})}});return{COLLECTION_INJECTION_KEY:i,COLLECTION_ITEM_INJECTION_KEY:r,ElCollection:s,ElCollectionItem:o}},gN=lt({style:{type:Ne([String,Array,Object])},currentTabId:{type:Ne(String)},defaultCurrentTabId:String,loop:Boolean,dir:{type:String,values:["ltr","rtl"],default:"ltr"},orientation:{type:Ne(String)},onBlur:Function,onFocus:Function,onMousedown:Function}),{ElCollection:vN,ElCollectionItem:yN,COLLECTION_INJECTION_KEY:p$,COLLECTION_ITEM_INJECTION_KEY:$N}=H2("RovingFocusGroup"),m$=Symbol("elRovingFocusGroup"),K2=Symbol("elRovingFocusGroupItem"),bN={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"},_N=(t,e)=>{if(e!=="rtl")return t;switch(t){case rt.right:return rt.left;case rt.left:return rt.right;default:return t}},QN=(t,e,n)=>{const i=_N(t.key,n);if(!(e==="vertical"&&[rt.left,rt.right].includes(i))&&!(e==="horizontal"&&[rt.up,rt.down].includes(i)))return bN[i]},SN=(t,e)=>t.map((n,i)=>t[(i+e)%t.length]),g$=t=>{const{activeElement:e}=document;for(const n of t)if(n===e||(n.focus(),e!==document.activeElement))return},rQ="currentTabIdChange",z0="rovingFocusGroup.entryFocus",wN={bubbles:!1,cancelable:!0},xN=Ce({name:"ElRovingFocusGroupImpl",inheritAttrs:!1,props:gN,emits:[rQ,"entryFocus"],setup(t,{emit:e}){var n;const i=J((n=t.currentTabId||t.defaultCurrentTabId)!=null?n:null),r=J(!1),s=J(!1),o=J(null),{getItems:a}=De(p$,void 0),l=N(()=>[{outline:"none"},t.style]),c=y=>{e(rQ,y)},u=()=>{r.value=!0},O=dn(y=>{var $;($=t.onMousedown)==null||$.call(t,y)},()=>{s.value=!0}),f=dn(y=>{var $;($=t.onFocus)==null||$.call(t,y)},y=>{const $=!M(s),{target:m,currentTarget:d}=y;if(m===d&&$&&!M(r)){const g=new Event(z0,wN);if(d==null||d.dispatchEvent(g),!g.defaultPrevented){const v=a().filter(P=>P.focusable),b=v.find(P=>P.active),_=v.find(P=>P.id===M(i)),S=[b,_,...v].filter(Boolean).map(P=>P.ref);g$(S)}}s.value=!1}),h=dn(y=>{var $;($=t.onBlur)==null||$.call(t,y)},()=>{r.value=!1}),p=(...y)=>{e("entryFocus",...y)};kt(m$,{currentTabbedId:Of(i),loop:Pn(t,"loop"),tabIndex:N(()=>M(r)?-1:0),rovingFocusGroupRef:o,rovingFocusGroupRootStyle:l,orientation:Pn(t,"orientation"),dir:Pn(t,"dir"),onItemFocus:c,onItemShiftTab:u,onBlur:h,onFocus:f,onMousedown:O}),Xe(()=>t.currentTabId,y=>{i.value=y!=null?y:null}),xt(()=>{const y=M(o);bs(y,z0,p)}),Qn(()=>{const y=M(o);So(y,z0,p)})}});function PN(t,e,n,i,r,s){return We(t.$slots,"default")}var kN=Me(xN,[["render",PN],["__file","/home/runner/work/element-plus/element-plus/packages/components/roving-focus-group/src/roving-focus-group-impl.vue"]]);const CN=Ce({name:"ElRovingFocusGroup",components:{ElFocusGroupCollection:vN,ElRovingFocusGroupImpl:kN}});function TN(t,e,n,i,r,s){const o=Pe("el-roving-focus-group-impl"),a=Pe("el-focus-group-collection");return L(),be(a,null,{default:Y(()=>[B(o,Ym(Bh(t.$attrs)),{default:Y(()=>[We(t.$slots,"default")]),_:3},16)]),_:3})}var RN=Me(CN,[["render",TN],["__file","/home/runner/work/element-plus/element-plus/packages/components/roving-focus-group/src/roving-focus-group.vue"]]);const AN=Ce({components:{ElRovingFocusCollectionItem:yN},props:{focusable:{type:Boolean,default:!0},active:{type:Boolean,default:!1}},emits:["mousedown","focus","keydown"],setup(t,{emit:e}){const{currentTabbedId:n,loop:i,onItemFocus:r,onItemShiftTab:s}=De(m$,void 0),{getItems:o}=De(p$,void 0),a=Op(),l=J(null),c=dn(h=>{e("mousedown",h)},h=>{t.focusable?r(M(a)):h.preventDefault()}),u=dn(h=>{e("focus",h)},()=>{r(M(a))}),O=dn(h=>{e("keydown",h)},h=>{const{key:p,shiftKey:y,target:$,currentTarget:m}=h;if(p===rt.tab&&y){s();return}if($!==m)return;const d=QN(h);if(d){h.preventDefault();let v=o().filter(b=>b.focusable).map(b=>b.ref);switch(d){case"last":{v.reverse();break}case"prev":case"next":{d==="prev"&&v.reverse();const b=v.indexOf(m);v=i.value?SN(v,b+1):v.slice(b+1);break}}et(()=>{g$(v)})}}),f=N(()=>n.value===M(a));return kt(K2,{rovingFocusGroupItemRef:l,tabIndex:N(()=>M(f)?0:-1),handleMousedown:c,handleFocus:u,handleKeydown:O}),{id:a,handleKeydown:O,handleFocus:u,handleMousedown:c}}});function EN(t,e,n,i,r,s){const o=Pe("el-roving-focus-collection-item");return L(),be(o,{id:t.id,focusable:t.focusable,active:t.active},{default:Y(()=>[We(t.$slots,"default")]),_:3},8,["id","focusable","active"])}var XN=Me(AN,[["render",EN],["__file","/home/runner/work/element-plus/element-plus/packages/components/roving-focus-group/src/roving-focus-item.vue"]]);const mh=lt({trigger:Vu.trigger,effect:Je(ze({},Qi.effect),{default:"light"}),type:{type:Ne(String)},placement:{type:Ne(String),default:"bottom"},popperOptions:{type:Ne(Object),default:()=>({})},size:{type:String,default:""},splitButton:Boolean,hideOnClick:{type:Boolean,default:!0},loop:{type:Boolean},showTimeout:{type:Number,default:150},hideTimeout:{type:Number,default:150},tabindex:{type:Ne([Number,String]),default:0},maxHeight:{type:Ne([Number,String]),default:""},popperClass:{type:String,default:""},disabled:{type:Boolean,default:!1},buttonProps:{type:Ne(Object)}}),J2=lt({command:{type:[Object,String,Number],default:()=>({})},disabled:Boolean,divided:Boolean,textValue:String,icon:{type:_s}}),WN=lt({onKeydown:{type:Ne(Function)}}),zN=[rt.down,rt.pageDown,rt.home],eT=[rt.up,rt.pageUp,rt.end],IN=[...zN,...eT],{ElCollection:qN,ElCollectionItem:UN,COLLECTION_INJECTION_KEY:DN,COLLECTION_ITEM_INJECTION_KEY:LN}=H2("Dropdown"),v$=Symbol("elDropdown"),{ButtonGroup:BN}=Tn,MN=Ce({name:"ElDropdown",components:{ElButton:Tn,ElFocusTrap:uN,ElButtonGroup:BN,ElScrollbar:pc,ElDropdownCollection:qN,ElTooltip:Rs,ElRovingFocusGroup:RN,ElIcon:wt,ArrowDown:op},props:mh,emits:["visible-change","click","command"],setup(t,{emit:e}){const n=$t(),i=Ze("dropdown"),r=J(),s=J(),o=J(null),a=J(null),l=J(null),c=J(null),u=J(!1),O=N(()=>({maxHeight:wr(t.maxHeight)})),f=N(()=>[i.m($.value)]);function h(){p()}function p(){var S;(S=o.value)==null||S.onClose()}function y(){var S;(S=o.value)==null||S.onOpen()}const $=Ln();function m(...S){e("command",...S)}function d(){}function g(){const S=M(a);S==null||S.focus(),c.value=null}function v(S){c.value=S}function b(S){u.value||(S.preventDefault(),S.stopImmediatePropagation())}return kt(v$,{contentRef:a,isUsingKeyboard:u,onItemEnter:d,onItemLeave:g}),kt("elDropdown",{instance:n,dropdownSize:$,handleClick:h,commandHandler:m,trigger:Pn(t,"trigger"),hideOnClick:Pn(t,"hideOnClick")}),{ns:i,scrollbar:l,wrapStyle:O,dropdownTriggerKls:f,dropdownSize:$,currentTabId:c,handleCurrentTabIdChange:v,handlerMainButtonClick:S=>{e("click",S)},handleEntryFocus:b,handleClose:p,handleOpen:y,onMountOnFocus:S=>{var P,w;S.preventDefault(),(w=(P=a.value)==null?void 0:P.focus)==null||w.call(P,{preventScroll:!0})},popperRef:o,triggeringElementRef:r,referenceElementRef:s}}});function YN(t,e,n,i,r,s){var o;const a=Pe("el-dropdown-collection"),l=Pe("el-roving-focus-group"),c=Pe("el-focus-trap"),u=Pe("el-scrollbar"),O=Pe("el-tooltip"),f=Pe("el-button"),h=Pe("arrow-down"),p=Pe("el-icon"),y=Pe("el-button-group");return L(),ie("div",{class:te([t.ns.b(),t.ns.is("disabled",t.disabled)])},[B(O,{ref:"popperRef",effect:t.effect,"fallback-placements":["bottom","top"],"popper-options":t.popperOptions,"gpu-acceleration":!1,"hide-after":t.trigger==="hover"?t.hideTimeout:0,"manual-mode":!0,placement:t.placement,"popper-class":[t.ns.e("popper"),t.popperClass],"reference-element":(o=t.referenceElementRef)==null?void 0:o.$el,trigger:t.trigger,"show-after":t.trigger==="hover"?t.showTimeout:0,"stop-popper-mouse-event":!1,"virtual-ref":t.triggeringElementRef,"virtual-triggering":t.splitButton,disabled:t.disabled,transition:`${t.ns.namespace.value}-zoom-in-top`,teleported:"",pure:"",persistent:"",onShow:e[0]||(e[0]=$=>t.$emit("visible-change",!0)),onHide:e[1]||(e[1]=$=>t.$emit("visible-change",!1))},Zd({content:Y(()=>[B(u,{ref:"scrollbar","wrap-style":t.wrapStyle,tag:"div","view-class":t.ns.e("list")},{default:Y(()=>[B(c,{trapped:"",onMountOnFocus:t.onMountOnFocus},{default:Y(()=>[B(l,{loop:t.loop,"current-tab-id":t.currentTabId,orientation:"horizontal",onCurrentTabIdChange:t.handleCurrentTabIdChange,onEntryFocus:t.handleEntryFocus},{default:Y(()=>[B(a,null,{default:Y(()=>[We(t.$slots,"dropdown")]),_:3})]),_:3},8,["loop","current-tab-id","onCurrentTabIdChange","onEntryFocus"])]),_:3},8,["onMountOnFocus"])]),_:3},8,["wrap-style","view-class"])]),_:2},[t.splitButton?void 0:{name:"default",fn:Y(()=>[U("div",{class:te(t.dropdownTriggerKls)},[We(t.$slots,"default")],2)])}]),1032,["effect","popper-options","hide-after","placement","popper-class","reference-element","trigger","show-after","virtual-ref","virtual-triggering","disabled","transition"]),t.splitButton?(L(),be(y,{key:0},{default:Y(()=>[B(f,ii({ref:"referenceElementRef"},t.buttonProps,{size:t.dropdownSize,type:t.type,disabled:t.disabled,onClick:t.handlerMainButtonClick}),{default:Y(()=>[We(t.$slots,"default")]),_:3},16,["size","type","disabled","onClick"]),B(f,ii({ref:"triggeringElementRef"},t.buttonProps,{size:t.dropdownSize,type:t.type,class:t.ns.e("caret-button"),disabled:t.disabled}),{default:Y(()=>[B(p,{class:te(t.ns.e("icon"))},{default:Y(()=>[B(h)]),_:1},8,["class"])]),_:1},16,["size","type","class","disabled"])]),_:3})):Qe("v-if",!0)],2)}var ZN=Me(MN,[["render",YN],["__file","/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown.vue"]]);const VN=Ce({name:"DropdownItemImpl",components:{ElIcon:wt},props:J2,emits:["pointermove","pointerleave","click","clickimpl"],setup(t,{emit:e}){const n=Ze("dropdown"),{collectionItemRef:i}=De(LN,void 0),{collectionItemRef:r}=De($N,void 0),{rovingFocusGroupItemRef:s,tabIndex:o,handleFocus:a,handleKeydown:l,handleMousedown:c}=De(K2,void 0),u=QC(i,r,s),O=dn(f=>{const{code:h}=f;if(h===rt.enter||h===rt.space)return f.preventDefault(),f.stopImmediatePropagation(),e("clickimpl",f),!0},l);return{ns:n,itemRef:u,dataset:{[G2]:""},tabIndex:o,handleFocus:a,handleKeydown:O,handleMousedown:c}}}),jN=["aria-disabled","tabindex"];function NN(t,e,n,i,r,s){const o=Pe("el-icon");return L(),ie(Le,null,[t.divided?(L(),ie("li",ii({key:0,class:t.ns.bem("menu","item","divided")},t.$attrs),null,16)):Qe("v-if",!0),U("li",ii({ref:t.itemRef},ze(ze({},t.dataset),t.$attrs),{"aria-disabled":t.disabled,class:[t.ns.be("menu","item"),t.ns.is("disabled",t.disabled)],tabindex:t.tabIndex,role:"menuitem",onClick:e[0]||(e[0]=a=>t.$emit("clickimpl",a)),onFocus:e[1]||(e[1]=(...a)=>t.handleFocus&&t.handleFocus(...a)),onKeydown:e[2]||(e[2]=(...a)=>t.handleKeydown&&t.handleKeydown(...a)),onMousedown:e[3]||(e[3]=(...a)=>t.handleMousedown&&t.handleMousedown(...a)),onPointermove:e[4]||(e[4]=a=>t.$emit("pointermove",a)),onPointerleave:e[5]||(e[5]=a=>t.$emit("pointerleave",a))}),[t.icon?(L(),be(o,{key:0},{default:Y(()=>[(L(),be(Vt(t.icon)))]),_:1})):Qe("v-if",!0),We(t.$slots,"default")],16,jN)],64)}var FN=Me(VN,[["render",NN],["__file","/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown-item-impl.vue"]]);const tT=()=>{const t=De("elDropdown",{}),e=N(()=>t==null?void 0:t.dropdownSize);return{elDropdown:t,_elDropdownSize:e}},GN=Ce({name:"ElDropdownItem",components:{ElDropdownCollectionItem:UN,ElRovingFocusItem:XN,ElDropdownItemImpl:FN},inheritAttrs:!1,props:J2,emits:["pointermove","pointerleave","click"],setup(t,{emit:e,attrs:n}){const{elDropdown:i}=tT(),r=$t(),s=J(null),o=N(()=>{var h,p;return(p=(h=M(s))==null?void 0:h.textContent)!=null?p:""}),{onItemEnter:a,onItemLeave:l}=De(v$,void 0),c=dn(h=>(e("pointermove",h),h.defaultPrevented),O_(h=>{var p;t.disabled?l(h):(a(h),h.defaultPrevented||(p=h.currentTarget)==null||p.focus())})),u=dn(h=>(e("pointerleave",h),h.defaultPrevented),O_(h=>{l(h)})),O=dn(h=>(e("click",h),h.defaultPrevented),h=>{var p,y,$;if(t.disabled){h.stopImmediatePropagation();return}(p=i==null?void 0:i.hideOnClick)!=null&&p.value&&((y=i.handleClick)==null||y.call(i)),($=i.commandHandler)==null||$.call(i,t.command,r,h)}),f=N(()=>ze(ze({},t),n));return{handleClick:O,handlePointerMove:c,handlePointerLeave:u,textContent:o,propsAndAttrs:f}}});function HN(t,e,n,i,r,s){var o;const a=Pe("el-dropdown-item-impl"),l=Pe("el-roving-focus-item"),c=Pe("el-dropdown-collection-item");return L(),be(c,{disabled:t.disabled,"text-value":(o=t.textValue)!=null?o:t.textContent},{default:Y(()=>[B(l,{focusable:!t.disabled},{default:Y(()=>[B(a,ii(t.propsAndAttrs,{onPointerleave:t.handlePointerLeave,onPointermove:t.handlePointerMove,onClickimpl:t.handleClick}),{default:Y(()=>[We(t.$slots,"default")]),_:3},16,["onPointerleave","onPointermove","onClickimpl"])]),_:3},8,["focusable"])]),_:3},8,["disabled","text-value"])}var nT=Me(GN,[["render",HN],["__file","/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown-item.vue"]]);const KN=Ce({name:"ElDropdownMenu",props:WN,setup(t){const e=Ze("dropdown"),{_elDropdownSize:n}=tT(),i=n.value,{focusTrapRef:r,onKeydown:s}=De(F2,void 0),{contentRef:o}=De(v$,void 0),{collectionRef:a,getItems:l}=De(DN,void 0),{rovingFocusGroupRef:c,rovingFocusGroupRootStyle:u,tabIndex:O,onBlur:f,onFocus:h,onMousedown:p}=De(m$,void 0),{collectionRef:y}=De(p$,void 0),$=N(()=>[e.b("menu"),e.bm("menu",i==null?void 0:i.value)]),m=QC(o,a,r,c,y),d=dn(v=>{var b;(b=t.onKeydown)==null||b.call(t,v)},v=>{const{currentTarget:b,code:_,target:Q}=v;if(b.contains(Q),rt.tab===_&&v.stopImmediatePropagation(),v.preventDefault(),Q!==M(o)||!IN.includes(_))return;const P=l().filter(w=>!w.disabled).map(w=>w.ref);eT.includes(_)&&P.reverse(),g$(P)});return{size:i,rovingFocusGroupRootStyle:u,tabIndex:O,dropdownKls:$,dropdownListWrapperRef:m,handleKeydown:v=>{d(v),s(v)},onBlur:f,onFocus:h,onMousedown:p}}});function JN(t,e,n,i,r,s){return L(),ie("ul",{ref:t.dropdownListWrapperRef,class:te(t.dropdownKls),style:tt(t.rovingFocusGroupRootStyle),tabindex:-1,role:"menu",onBlur:e[0]||(e[0]=(...o)=>t.onBlur&&t.onBlur(...o)),onFocus:e[1]||(e[1]=(...o)=>t.onFocus&&t.onFocus(...o)),onKeydown:e[2]||(e[2]=(...o)=>t.handleKeydown&&t.handleKeydown(...o)),onMousedown:e[3]||(e[3]=(...o)=>t.onMousedown&&t.onMousedown(...o))},[We(t.$slots,"default")],38)}var iT=Me(KN,[["render",JN],["__file","/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown-menu.vue"]]);const eF=Gt(ZN,{DropdownItem:nT,DropdownMenu:iT}),tF=Di(nT),nF=Di(iT);let iF=0;const rF=Ce({name:"ImgEmpty",setup(){return{ns:Ze("empty"),id:++iF}}}),sF={viewBox:"0 0 79 86",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},oF=["id"],aF=["stop-color"],lF=["stop-color"],cF=["id"],uF=["stop-color"],fF=["stop-color"],OF=["id"],hF={id:"Illustrations",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},dF={id:"B-type",transform:"translate(-1268.000000, -535.000000)"},pF={id:"Group-2",transform:"translate(1268.000000, 535.000000)"},mF=["fill"],gF=["fill"],vF={id:"Group-Copy",transform:"translate(34.500000, 31.500000) scale(-1, 1) rotate(-25.000000) translate(-34.500000, -31.500000) translate(7.000000, 10.000000)"},yF=["fill"],$F=["fill"],bF=["fill"],_F=["fill"],QF=["fill"],SF={id:"Rectangle-Copy-17",transform:"translate(53.000000, 45.000000)"},wF=["fill","xlink:href"],xF=["fill","mask"],PF=["fill"];function kF(t,e,n,i,r,s){return L(),ie("svg",sF,[U("defs",null,[U("linearGradient",{id:`linearGradient-1-${t.id}`,x1:"38.8503086%",y1:"0%",x2:"61.1496914%",y2:"100%"},[U("stop",{"stop-color":`var(${t.ns.cssVarBlockName("fill-color-1")})`,offset:"0%"},null,8,aF),U("stop",{"stop-color":`var(${t.ns.cssVarBlockName("fill-color-4")})`,offset:"100%"},null,8,lF)],8,oF),U("linearGradient",{id:`linearGradient-2-${t.id}`,x1:"0%",y1:"9.5%",x2:"100%",y2:"90.5%"},[U("stop",{"stop-color":`var(${t.ns.cssVarBlockName("fill-color-1")})`,offset:"0%"},null,8,uF),U("stop",{"stop-color":`var(${t.ns.cssVarBlockName("fill-color-6")})`,offset:"100%"},null,8,fF)],8,cF),U("rect",{id:`path-3-${t.id}`,x:"0",y:"0",width:"17",height:"36"},null,8,OF)]),U("g",hF,[U("g",dF,[U("g",pF,[U("path",{id:"Oval-Copy-2",d:"M39.5,86 C61.3152476,86 79,83.9106622 79,81.3333333 C79,78.7560045 57.3152476,78 35.5,78 C13.6847524,78 0,78.7560045 0,81.3333333 C0,83.9106622 17.6847524,86 39.5,86 Z",fill:`var(${t.ns.cssVarBlockName("fill-color-3")})`},null,8,mF),U("polygon",{id:"Rectangle-Copy-14",fill:`var(${t.ns.cssVarBlockName("fill-color-7")})`,transform:"translate(27.500000, 51.500000) scale(1, -1) translate(-27.500000, -51.500000) ",points:"13 58 53 58 42 45 2 45"},null,8,gF),U("g",vF,[U("polygon",{id:"Rectangle-Copy-10",fill:`var(${t.ns.cssVarBlockName("fill-color-7")})`,transform:"translate(11.500000, 5.000000) scale(1, -1) translate(-11.500000, -5.000000) ",points:"2.84078316e-14 3 18 3 23 7 5 7"},null,8,yF),U("polygon",{id:"Rectangle-Copy-11",fill:`var(${t.ns.cssVarBlockName("fill-color-5")})`,points:"-3.69149156e-15 7 38 7 38 43 -3.69149156e-15 43"},null,8,$F),U("rect",{id:"Rectangle-Copy-12",fill:`url(#linearGradient-1-${t.id})`,transform:"translate(46.500000, 25.000000) scale(-1, 1) translate(-46.500000, -25.000000) ",x:"38",y:"7",width:"17",height:"36"},null,8,bF),U("polygon",{id:"Rectangle-Copy-13",fill:`var(${t.ns.cssVarBlockName("fill-color-2")})`,transform:"translate(39.500000, 3.500000) scale(-1, 1) translate(-39.500000, -3.500000) ",points:"24 7 41 7 55 -3.63806207e-12 38 -3.63806207e-12"},null,8,_F)]),U("rect",{id:"Rectangle-Copy-15",fill:`url(#linearGradient-2-${t.id})`,x:"13",y:"45",width:"40",height:"36"},null,8,QF),U("g",SF,[U("use",{id:"Mask",fill:`var(${t.ns.cssVarBlockName("fill-color-8")})`,transform:"translate(8.500000, 18.000000) scale(-1, 1) translate(-8.500000, -18.000000) ","xlink:href":`#path-3-${t.id}`},null,8,wF),U("polygon",{id:"Rectangle-Copy",fill:`var(${t.ns.cssVarBlockName("fill-color-9")})`,mask:`url(#mask-4-${t.id})`,transform:"translate(12.000000, 9.000000) scale(-1, 1) translate(-12.000000, -9.000000) ",points:"7 0 24 0 20 18 7 16.5"},null,8,xF)]),U("polygon",{id:"Rectangle-Copy-18",fill:`var(${t.ns.cssVarBlockName("fill-color-2")})`,transform:"translate(66.000000, 51.500000) scale(-1, 1) translate(-66.000000, -51.500000) ",points:"62 45 79 45 70 58 53 58"},null,8,PF)])])])])}var CF=Me(rF,[["render",kF],["__file","/home/runner/work/element-plus/element-plus/packages/components/empty/src/img-empty.vue"]]);const TF={image:{type:String,default:""},imageSize:Number,description:{type:String,default:""}},RF=["src"],AF={key:1},EF={name:"ElEmpty"},XF=Ce(Je(ze({},EF),{props:TF,setup(t){const e=t,{t:n}=Fn(),i=Ze("empty"),r=N(()=>e.description||n("el.table.emptyText")),s=N(()=>({width:e.imageSize?`${e.imageSize}px`:""}));return(o,a)=>(L(),ie("div",{class:te(M(i).b())},[U("div",{class:te(M(i).e("image")),style:tt(M(s))},[o.image?(L(),ie("img",{key:0,src:o.image,ondragstart:"return false"},null,8,RF)):We(o.$slots,"image",{key:1},()=>[B(CF)])],6),U("div",{class:te(M(i).e("description"))},[o.$slots.description?We(o.$slots,"description",{key:0}):(L(),ie("p",AF,de(M(r)),1))],2),o.$slots.default?(L(),ie("div",{key:0,class:te(M(i).e("bottom"))},[We(o.$slots,"default")],2)):Qe("v-if",!0)],2))}}));var WF=Me(XF,[["__file","/home/runner/work/element-plus/element-plus/packages/components/empty/src/empty.vue"]]);const zF=Gt(WF),IF=lt({model:Object,rules:{type:Ne(Object)},labelPosition:String,labelWidth:{type:[String,Number],default:""},labelSuffix:{type:String,default:""},inline:Boolean,inlineMessage:Boolean,statusIcon:Boolean,showMessage:{type:Boolean,default:!0},size:{type:String,values:qa},disabled:Boolean,validateOnRuleChange:{type:Boolean,default:!0},hideRequiredAsterisk:{type:Boolean,default:!1},scrollToError:Boolean}),qF={validate:(t,e,n)=>(Fe(t)||ot(t))&&Ji(e)&&ot(n)};function UF(){const t=J([]),e=N(()=>{if(!t.value.length)return"0";const s=Math.max(...t.value);return s?`${s}px`:""});function n(s){return t.value.indexOf(s)}function i(s,o){if(s&&o){const a=n(o);t.value.splice(a,1,s)}else s&&t.value.push(s)}function r(s){const o=n(s);o>-1&&t.value.splice(o,1)}return{autoLabelWidth:e,registerLabelWidth:i,deregisterLabelWidth:r}}const QO=(t,e)=>{const n=fg(e);return n.length>0?t.filter(i=>i.prop&&n.includes(i.prop)):t},DF={name:"ElForm"},LF=Ce(Je(ze({},DF),{props:IF,emits:qF,setup(t,{expose:e,emit:n}){const i=t,r=[],s=Ln(),o=Ze("form"),a=N(()=>{const{labelPosition:d,inline:g}=i;return[o.b(),o.m(s.value||"default"),{[o.m(`label-${d}`)]:d,[o.m("inline")]:g}]}),l=d=>{r.push(d)},c=d=>{d.prop&&r.splice(r.indexOf(d),1)},u=(d=[])=>{!i.model||QO(r,d).forEach(g=>g.resetField())},O=(d=[])=>{QO(r,d).forEach(g=>g.clearValidate())},f=N(()=>!!i.model),h=d=>{if(r.length===0)return[];const g=QO(r,d);return g.length?g:[]},p=async d=>$(void 0,d),y=async(d=[])=>{if(!f.value)return!1;const g=h(d);if(g.length===0)return!0;let v={};for(const b of g)try{await b.validate("")}catch(_){v=ze(ze({},v),_)}return Object.keys(v).length===0?!0:Promise.reject(v)},$=async(d=[],g)=>{const v=!st(g);try{const b=await y(d);return b===!0&&(g==null||g(b)),b}catch(b){const _=b;return i.scrollToError&&m(Object.keys(_)[0]),g==null||g(!1,_),v&&Promise.reject(_)}},m=d=>{var g;const v=QO(r,d)[0];v&&((g=v.$el)==null||g.scrollIntoView())};return Xe(()=>i.rules,()=>{i.validateOnRuleChange&&p()},{deep:!0}),kt(Ts,gn(ze(Je(ze({},xr(i)),{emit:n,resetFields:u,clearValidate:O,validateField:$,addField:l,removeField:c}),UF()))),e({validate:p,validateField:$,resetFields:u,clearValidate:O,scrollToField:m}),(d,g)=>(L(),ie("form",{class:te(M(a))},[We(d.$slots,"default")],2))}}));var BF=Me(LF,[["__file","/home/runner/work/element-plus/element-plus/packages/components/form/src/form.vue"]]);function Oa(){return Oa=Object.assign||function(t){for(var e=1;e1?e-1:0),i=1;i=s)return a;switch(a){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch{return"[Circular]"}break;default:return a}});return o}return t}function NF(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function _n(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||NF(e)&&typeof t=="string"&&!t)}function FF(t,e,n){var i=[],r=0,s=t.length;function o(a){i.push.apply(i,a||[]),r++,r===s&&n(i)}t.forEach(function(a){e(a,o)})}function sQ(t,e,n){var i=0,r=t.length;function s(o){if(o&&o.length){n(o);return}var a=i;i=i+1,a()\[\]\\.,;:\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,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},Gc={integer:function(e){return Gc.number(e)&&parseInt(e,10)===e},float:function(e){return Gc.number(e)&&!Gc.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch{return!1}},date:function(e){return typeof e.getTime=="function"&&typeof e.getMonth=="function"&&typeof e.getYear=="function"&&!isNaN(e.getTime())},number:function(e){return isNaN(e)?!1:typeof e=="number"},object:function(e){return typeof e=="object"&&!Gc.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&e.length<=320&&!!e.match(I0.email)},url:function(e){return typeof e=="string"&&e.length<=2048&&!!e.match(I0.url)},hex:function(e){return typeof e=="string"&&!!e.match(I0.hex)}},tG=function(e,n,i,r,s){if(e.required&&n===void 0){rT(e,n,i,r,s);return}var o=["integer","float","array","regexp","object","method","email","number","date","url","hex"],a=e.type;o.indexOf(a)>-1?Gc[a](n)||r.push(Ci(s.messages.types[a],e.fullField,e.type)):a&&typeof n!==e.type&&r.push(Ci(s.messages.types[a],e.fullField,e.type))},nG=function(e,n,i,r,s){var o=typeof e.len=="number",a=typeof e.min=="number",l=typeof e.max=="number",c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,u=n,O=null,f=typeof n=="number",h=typeof n=="string",p=Array.isArray(n);if(f?O="number":h?O="string":p&&(O="array"),!O)return!1;p&&(u=n.length),h&&(u=n.replace(c,"_").length),o?u!==e.len&&r.push(Ci(s.messages[O].len,e.fullField,e.len)):a&&!l&&ue.max?r.push(Ci(s.messages[O].max,e.fullField,e.max)):a&&l&&(ue.max)&&r.push(Ci(s.messages[O].range,e.fullField,e.min,e.max))},al="enum",iG=function(e,n,i,r,s){e[al]=Array.isArray(e[al])?e[al]:[],e[al].indexOf(n)===-1&&r.push(Ci(s.messages[al],e.fullField,e[al].join(", ")))},rG=function(e,n,i,r,s){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(n)||r.push(Ci(s.messages.pattern.mismatch,e.fullField,n,e.pattern));else if(typeof e.pattern=="string"){var o=new RegExp(e.pattern);o.test(n)||r.push(Ci(s.messages.pattern.mismatch,e.fullField,n,e.pattern))}}},gt={required:rT,whitespace:eG,type:tG,range:nG,enum:iG,pattern:rG},sG=function(e,n,i,r,s){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(_n(n,"string")&&!e.required)return i();gt.required(e,n,r,o,s,"string"),_n(n,"string")||(gt.type(e,n,r,o,s),gt.range(e,n,r,o,s),gt.pattern(e,n,r,o,s),e.whitespace===!0&>.whitespace(e,n,r,o,s))}i(o)},oG=function(e,n,i,r,s){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(_n(n)&&!e.required)return i();gt.required(e,n,r,o,s),n!==void 0&>.type(e,n,r,o,s)}i(o)},aG=function(e,n,i,r,s){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(n===""&&(n=void 0),_n(n)&&!e.required)return i();gt.required(e,n,r,o,s),n!==void 0&&(gt.type(e,n,r,o,s),gt.range(e,n,r,o,s))}i(o)},lG=function(e,n,i,r,s){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(_n(n)&&!e.required)return i();gt.required(e,n,r,o,s),n!==void 0&>.type(e,n,r,o,s)}i(o)},cG=function(e,n,i,r,s){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(_n(n)&&!e.required)return i();gt.required(e,n,r,o,s),_n(n)||gt.type(e,n,r,o,s)}i(o)},uG=function(e,n,i,r,s){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(_n(n)&&!e.required)return i();gt.required(e,n,r,o,s),n!==void 0&&(gt.type(e,n,r,o,s),gt.range(e,n,r,o,s))}i(o)},fG=function(e,n,i,r,s){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(_n(n)&&!e.required)return i();gt.required(e,n,r,o,s),n!==void 0&&(gt.type(e,n,r,o,s),gt.range(e,n,r,o,s))}i(o)},OG=function(e,n,i,r,s){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(n==null&&!e.required)return i();gt.required(e,n,r,o,s,"array"),n!=null&&(gt.type(e,n,r,o,s),gt.range(e,n,r,o,s))}i(o)},hG=function(e,n,i,r,s){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(_n(n)&&!e.required)return i();gt.required(e,n,r,o,s),n!==void 0&>.type(e,n,r,o,s)}i(o)},dG="enum",pG=function(e,n,i,r,s){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(_n(n)&&!e.required)return i();gt.required(e,n,r,o,s),n!==void 0&>[dG](e,n,r,o,s)}i(o)},mG=function(e,n,i,r,s){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(_n(n,"string")&&!e.required)return i();gt.required(e,n,r,o,s),_n(n,"string")||gt.pattern(e,n,r,o,s)}i(o)},gG=function(e,n,i,r,s){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(_n(n,"date")&&!e.required)return i();if(gt.required(e,n,r,o,s),!_n(n,"date")){var l;n instanceof Date?l=n:l=new Date(n),gt.type(e,l,r,o,s),l&>.range(e,l.getTime(),r,o,s)}}i(o)},vG=function(e,n,i,r,s){var o=[],a=Array.isArray(n)?"array":typeof n;gt.required(e,n,r,o,s,a),i(o)},q0=function(e,n,i,r,s){var o=e.type,a=[],l=e.required||!e.required&&r.hasOwnProperty(e.field);if(l){if(_n(n,o)&&!e.required)return i();gt.required(e,n,r,a,s,o),_n(n,o)||gt.type(e,n,r,a,s)}i(a)},yG=function(e,n,i,r,s){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(_n(n)&&!e.required)return i();gt.required(e,n,r,o,s)}i(o)},mu={string:sG,method:oG,number:aG,boolean:lG,regexp:cG,integer:uG,float:fG,array:OG,object:hG,enum:pG,pattern:mG,date:gG,url:q0,hex:q0,email:q0,required:vG,any:yG};function qg(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var Ug=qg(),Sf=function(){function t(n){this.rules=null,this._messages=Ug,this.define(n)}var e=t.prototype;return e.define=function(i){var r=this;if(!i)throw new Error("Cannot configure a schema with no rules");if(typeof i!="object"||Array.isArray(i))throw new Error("Rules must be an object");this.rules={},Object.keys(i).forEach(function(s){var o=i[s];r.rules[s]=Array.isArray(o)?o:[o]})},e.messages=function(i){return i&&(this._messages=lQ(qg(),i)),this._messages},e.validate=function(i,r,s){var o=this;r===void 0&&(r={}),s===void 0&&(s=function(){});var a=i,l=r,c=s;if(typeof l=="function"&&(c=l,l={}),!this.rules||Object.keys(this.rules).length===0)return c&&c(null,a),Promise.resolve(a);function u(y){var $=[],m={};function d(v){if(Array.isArray(v)){var b;$=(b=$).concat.apply(b,v)}else $.push(v)}for(var g=0;g");const r=Ze("form"),s=J(),o=J(0),a=()=>{var u;if((u=s.value)!=null&&u.firstElementChild){const O=window.getComputedStyle(s.value.firstElementChild).width;return Math.ceil(Number.parseFloat(O))}else return 0},l=(u="update")=>{et(()=>{e.default&&t.isAutoWidth&&(u==="update"?o.value=a():u==="remove"&&(n==null||n.deregisterLabelWidth(o.value)))})},c=()=>l("update");return xt(()=>{c()}),Qn(()=>{l("remove")}),Ps(()=>c()),Xe(o,(u,O)=>{t.updateAll&&(n==null||n.registerLabelWidth(u,O))}),mf(N(()=>{var u,O;return(O=(u=s.value)==null?void 0:u.firstElementChild)!=null?O:null}),c),()=>{var u,O;if(!e)return null;const{isAutoWidth:f}=t;if(f){const h=n==null?void 0:n.autoLabelWidth,p={};if(h&&h!=="auto"){const y=Math.max(0,Number.parseInt(h,10)-o.value),$=n.labelPosition==="left"?"marginRight":"marginLeft";y&&(p[$]=`${y}px`)}return B("div",{ref:s,class:[r.be("item","label-wrap")],style:p},[(u=e.default)==null?void 0:u.call(e)])}else return B(Le,{ref:s},[(O=e.default)==null?void 0:O.call(e)])}}});const QG=["role","aria-labelledby"],SG={name:"ElFormItem"},wG=Ce(Je(ze({},SG),{props:bG,setup(t,{expose:e}){const n=t,i=df(),r=De(Ts,void 0),s=De(Gr,void 0),o=Ln(void 0,{formItem:!1}),a=Ze("form-item"),l=Op().value,c=J([]),u=J(""),O=RD(u,100),f=J(""),h=J();let p,y=!1;const $=N(()=>{if((r==null?void 0:r.labelPosition)==="top")return{};const H=wr(n.labelWidth||(r==null?void 0:r.labelWidth)||"");return H?{width:H}:{}}),m=N(()=>{if((r==null?void 0:r.labelPosition)==="top"||(r==null?void 0:r.inline))return{};if(!n.label&&!n.labelWidth&&P)return{};const H=wr(n.labelWidth||(r==null?void 0:r.labelWidth)||"");return!n.label&&!i.label?{marginLeft:H}:{}}),d=N(()=>[a.b(),a.m(o.value),a.is("error",u.value==="error"),a.is("validating",u.value==="validating"),a.is("success",u.value==="success"),a.is("required",T.value||n.required),a.is("no-asterisk",r==null?void 0:r.hideRequiredAsterisk),{[a.m("feedback")]:r==null?void 0:r.statusIcon}]),g=N(()=>Ji(n.inlineMessage)?n.inlineMessage:(r==null?void 0:r.inlineMessage)||!1),v=N(()=>[a.e("error"),{[a.em("error","inline")]:g.value}]),b=N(()=>n.prop?ot(n.prop)?n.prop:n.prop.join("."):""),_=N(()=>!!(n.label||i.label)),Q=N(()=>n.for||c.value.length===1?c.value[0]:void 0),S=N(()=>!Q.value&&_.value),P=!!s,w=N(()=>{const H=r==null?void 0:r.model;if(!(!H||!n.prop))return ch(H,n.prop).value}),x=N(()=>{const H=n.rules?fg(n.rules):[],re=r==null?void 0:r.rules;if(re&&n.prop){const G=ch(re,n.prop).value;G&&H.push(...fg(G))}return n.required!==void 0&&H.push({required:!!n.required}),H}),k=N(()=>x.value.length>0),C=H=>x.value.filter(G=>!G.trigger||!H?!0:Array.isArray(G.trigger)?G.trigger.includes(H):G.trigger===H).map(_e=>{var ue=_e,{trigger:G}=ue,Re=lO(ue,["trigger"]);return Re}),T=N(()=>x.value.some(H=>H.required===!0)),E=N(()=>{var H;return O.value==="error"&&n.showMessage&&((H=r==null?void 0:r.showMessage)!=null?H:!0)}),A=N(()=>`${n.label||""}${(r==null?void 0:r.labelSuffix)||""}`),R=H=>{u.value=H},X=H=>{var re,G;const{errors:Re,fields:_e}=H;(!Re||!_e)&&console.error(H),R("error"),f.value=Re?(G=(re=Re==null?void 0:Re[0])==null?void 0:re.message)!=null?G:`${n.prop} is required`:"",r==null||r.emit("validate",n.prop,!1,f.value)},D=()=>{R("success"),r==null||r.emit("validate",n.prop,!0,"")},V=async H=>{const re=b.value;return new Sf({[re]:H}).validate({[re]:w.value},{firstFields:!0}).then(()=>(D(),!0)).catch(Re=>(X(Re),Promise.reject(Re)))},j=async(H,re)=>{if(y)return y=!1,!1;const G=st(re);if(!k.value)return re==null||re(!1),!1;const Re=C(H);return Re.length===0?(re==null||re(!0),!0):(R("validating"),V(Re).then(()=>(re==null||re(!0),!0)).catch(_e=>{const{fields:ue}=_e;return re==null||re(!1,ue),G?!1:Promise.reject(ue)}))},Z=()=>{R(""),f.value=""},ee=async()=>{const H=r==null?void 0:r.model;if(!H||!n.prop)return;const re=ch(H,n.prop);jh(re.value,p)||(y=!0),re.value=p,await et(),Z()},se=H=>{c.value.includes(H)||c.value.push(H)},I=H=>{c.value=c.value.filter(re=>re!==H)};Xe(()=>n.error,H=>{f.value=H||"",R(H?"error":"")},{immediate:!0}),Xe(()=>n.validateStatus,H=>R(H||""));const ne=gn(Je(ze({},xr(n)),{$el:h,size:o,validateState:u,labelId:l,inputIds:c,isGroup:S,addInputId:se,removeInputId:I,resetField:ee,clearValidate:Z,validate:j}));return kt(Gr,ne),xt(()=>{n.prop&&(r==null||r.addField(ne),p=AU(w.value))}),Qn(()=>{r==null||r.removeField(ne)}),e({size:o,validateMessage:f,validateState:u,validate:j,clearValidate:Z,resetField:ee}),(H,re)=>{var G;return L(),ie("div",{ref_key:"formItemRef",ref:h,class:te(M(d)),role:M(S)?"group":void 0,"aria-labelledby":M(S)?M(l):void 0},[B(M(_G),{"is-auto-width":M($).width==="auto","update-all":((G=M(r))==null?void 0:G.labelWidth)==="auto"},{default:Y(()=>[M(_)?(L(),be(Vt(M(Q)?"label":"div"),{key:0,id:M(l),for:M(Q),class:te(M(a).e("label")),style:tt(M($))},{default:Y(()=>[We(H.$slots,"label",{label:M(A)},()=>[Ee(de(M(A)),1)])]),_:3},8,["id","for","class","style"])):Qe("v-if",!0)]),_:3},8,["is-auto-width","update-all"]),U("div",{class:te(M(a).e("content")),style:tt(M(m))},[We(H.$slots,"default"),B(ri,{name:`${M(a).namespace.value}-zoom-in-top`},{default:Y(()=>[M(E)?We(H.$slots,"error",{key:0,error:f.value},()=>[U("div",{class:te(M(v))},de(f.value),3)]):Qe("v-if",!0)]),_:3},8,["name"])],6)],10,QG)}}}));var sT=Me(wG,[["__file","/home/runner/work/element-plus/element-plus/packages/components/form/src/form-item.vue"]]);const gc=Gt(BF,{FormItem:sT}),vc=Di(sT),xG=lt({id:{type:String,default:void 0},step:{type:Number,default:1},stepStrictly:{type:Boolean,default:!1},max:{type:Number,default:Number.POSITIVE_INFINITY},min:{type:Number,default:Number.NEGATIVE_INFINITY},modelValue:{type:Number},disabled:{type:Boolean,default:!1},size:{type:String,values:qa},controls:{type:Boolean,default:!0},controlsPosition:{type:String,default:"",values:["","right"]},name:String,label:String,placeholder:String,precision:{type:Number,validator:t=>t>=0&&t===Number.parseInt(`${t}`,10)}}),PG={change:(t,e)=>t!==e,blur:t=>t instanceof FocusEvent,focus:t=>t instanceof FocusEvent,input:t=>Bt(t),"update:modelValue":t=>Bt(t)||t===void 0},kG=Ce({name:"ElInputNumber",components:{ElInput:si,ElIcon:wt,ArrowUp:ap,ArrowDown:op,Plus:$C,Minus:kB},directives:{RepeatClick:f2},props:xG,emits:PG,setup(t,{emit:e}){const n=J(),i=gn({currentValue:t.modelValue,userInput:null}),{t:r}=Fn(),{formItem:s}=yf(),o=Ze("input-number"),a=N(()=>$(t.modelValue,-1)$(t.modelValue)>t.max),c=N(()=>{const x=y(t.step);return Dr(t.precision)?Math.max(y(t.modelValue),x):(x>t.precision,t.precision)}),u=N(()=>t.controls&&t.controlsPosition==="right"),O=Ln(),f=dc(),h=N(()=>{if(i.userInput!==null)return i.userInput;let x=i.currentValue;if(Bt(x)){if(Number.isNaN(x))return"";Dr(t.precision)||(x=x.toFixed(t.precision))}return x}),p=(x,k)=>{Dr(k)&&(k=c.value);const C=x.toString().split(".");if(C.length>1){const T=C[0],E=Math.round(+C[1]/10**(C[1].length-k));return Number.parseFloat(`${T}.${E}`)}return Number.parseFloat(`${Math.round(x*10**k)/10**k}`)},y=x=>{if(Dr(x))return 0;const k=x.toString(),C=k.indexOf(".");let T=0;return C!==-1&&(T=k.length-C-1),T},$=(x,k=1)=>Bt(x)?(x=Bt(x)?x:Number.NaN,p(x+t.step*k)):i.currentValue,m=()=>{if(f.value||l.value)return;const x=t.modelValue||0,k=$(x);v(k)},d=()=>{if(f.value||a.value)return;const x=t.modelValue||0,k=$(x,-1);v(k)},g=(x,k)=>{const{max:C,min:T,step:E,precision:A,stepStrictly:R}=t;let X=Number(x);return x===null&&(X=Number.NaN),Number.isNaN(X)||(R&&(X=Math.round(X/E)*E),Dr(A)||(X=p(X,A)),(X>C||XC?C:T,k&&e("update:modelValue",X))),X},v=x=>{var k;const C=i.currentValue;let T=g(x);C!==T&&(Number.isNaN(T)&&(T=void 0),i.userInput=null,e("update:modelValue",T),e("input",T),e("change",T,C),(k=s==null?void 0:s.validate)==null||k.call(s,"change").catch(E=>void 0),i.currentValue=T)},b=x=>i.userInput=x,_=x=>{const k=x!==""?Number(x):"";(Bt(k)&&!Number.isNaN(k)||x==="")&&v(k),i.userInput=null},Q=()=>{var x,k;(k=(x=n.value)==null?void 0:x.focus)==null||k.call(x)},S=()=>{var x,k;(k=(x=n.value)==null?void 0:x.blur)==null||k.call(x)},P=x=>{e("focus",x)},w=x=>{var k;e("blur",x),(k=s==null?void 0:s.validate)==null||k.call(s,"blur").catch(C=>void 0)};return Xe(()=>t.modelValue,x=>{const k=g(x,!0);i.currentValue=k,i.userInput=null},{immediate:!0}),xt(()=>{var x;const k=(x=n.value)==null?void 0:x.input;if(k.setAttribute("role","spinbutton"),Number.isFinite(t.max)?k.setAttribute("aria-valuemax",String(t.max)):k.removeAttribute("aria-valuemax"),Number.isFinite(t.min)?k.setAttribute("aria-valuemin",String(t.min)):k.removeAttribute("aria-valuemin"),k.setAttribute("aria-valuenow",String(i.currentValue)),k.setAttribute("aria-disabled",String(f.value)),!Bt(t.modelValue)){let C=Number(t.modelValue);Number.isNaN(C)&&(C=void 0),e("update:modelValue",C)}}),Ps(()=>{var x;const k=(x=n.value)==null?void 0:x.input;k==null||k.setAttribute("aria-valuenow",i.currentValue)}),{t:r,input:n,displayValue:h,handleInput:b,handleInputChange:_,controlsAtRight:u,decrease:d,increase:m,inputNumberSize:O,inputNumberDisabled:f,maxDisabled:l,minDisabled:a,focus:Q,blur:S,handleFocus:P,handleBlur:w,ns:o}}}),CG=["aria-label"],TG=["aria-label"];function RG(t,e,n,i,r,s){const o=Pe("arrow-down"),a=Pe("minus"),l=Pe("el-icon"),c=Pe("arrow-up"),u=Pe("plus"),O=Pe("el-input"),f=Eo("repeat-click");return L(),ie("div",{class:te([t.ns.b(),t.ns.m(t.inputNumberSize),t.ns.is("disabled",t.inputNumberDisabled),t.ns.is("without-controls",!t.controls),t.ns.is("controls-right",t.controlsAtRight)]),onDragstart:e[2]||(e[2]=Et(()=>{},["prevent"]))},[t.controls?it((L(),ie("span",{key:0,role:"button","aria-label":t.t("el.inputNumber.decrease"),class:te([t.ns.e("decrease"),t.ns.is("disabled",t.minDisabled)]),onKeydown:e[0]||(e[0]=Qt((...h)=>t.decrease&&t.decrease(...h),["enter"]))},[B(l,null,{default:Y(()=>[t.controlsAtRight?(L(),be(o,{key:0})):(L(),be(a,{key:1}))]),_:1})],42,CG)),[[f,t.decrease]]):Qe("v-if",!0),t.controls?it((L(),ie("span",{key:1,role:"button","aria-label":t.t("el.inputNumber.increase"),class:te([t.ns.e("increase"),t.ns.is("disabled",t.maxDisabled)]),onKeydown:e[1]||(e[1]=Qt((...h)=>t.increase&&t.increase(...h),["enter"]))},[B(l,null,{default:Y(()=>[t.controlsAtRight?(L(),be(c,{key:0})):(L(),be(u,{key:1}))]),_:1})],42,TG)),[[f,t.increase]]):Qe("v-if",!0),B(O,{id:t.id,ref:"input",type:"number",step:t.step,"model-value":t.displayValue,placeholder:t.placeholder,disabled:t.inputNumberDisabled,size:t.inputNumberSize,max:t.max,min:t.min,name:t.name,label:t.label,"validate-event":!1,onKeydown:[Qt(Et(t.increase,["prevent"]),["up"]),Qt(Et(t.decrease,["prevent"]),["down"])],onBlur:t.handleBlur,onFocus:t.handleFocus,onInput:t.handleInput,onChange:t.handleInputChange},null,8,["id","step","model-value","placeholder","disabled","size","max","min","name","label","onKeydown","onBlur","onFocus","onInput","onChange"])],34)}var AG=Me(kG,[["render",RG],["__file","/home/runner/work/element-plus/element-plus/packages/components/input-number/src/input-number.vue"]]);const EG=Gt(AG),oT="ElSelectGroup",mp="ElSelect";function XG(t,e){const n=De(mp),i=De(oT,{disabled:!1}),r=N(()=>Object.prototype.toString.call(t.value).toLowerCase()==="[object object]"),s=N(()=>n.props.multiple?O(n.props.modelValue,t.value):f(t.value,n.props.modelValue)),o=N(()=>{if(n.props.multiple){const y=n.props.modelValue||[];return!s.value&&y.length>=n.props.multipleLimit&&n.props.multipleLimit>0}else return!1}),a=N(()=>t.label||(r.value?"":t.value)),l=N(()=>t.value||t.label||""),c=N(()=>t.disabled||e.groupDisabled||o.value),u=$t(),O=(y=[],$)=>{if(r.value){const m=n.props.valueKey;return y&&y.some(d=>ei(d,m)===ei($,m))}else return y&&y.includes($)},f=(y,$)=>{if(r.value){const{valueKey:m}=n.props;return ei(y,m)===ei($,m)}else return y===$},h=()=>{!t.disabled&&!i.disabled&&(n.hoverIndex=n.optionsArray.indexOf(u.proxy))};Xe(()=>a.value,()=>{!t.created&&!n.props.remote&&n.setSelected()}),Xe(()=>t.value,(y,$)=>{const{remote:m,valueKey:d}=n.props;if(!t.created&&!m){if(d&&typeof y=="object"&&typeof $=="object"&&y[d]===$[d])return;n.setSelected()}}),Xe(()=>i.disabled,()=>{e.groupDisabled=i.disabled},{immediate:!0});const{queryChange:p}=mt(n);return Xe(p,y=>{const{query:$}=M(y),m=new RegExp(UD($),"i");e.visible=m.test(a.value)||t.created,e.visible||n.filteredOptionsCount--}),{select:n,currentLabel:a,currentValue:l,itemSelected:s,isDisabled:c,hoverItem:h}}const WG=Ce({name:"ElOption",componentName:"ElOption",props:{value:{required:!0,type:[String,Number,Boolean,Object]},label:[String,Number],created:Boolean,disabled:{type:Boolean,default:!1}},setup(t){const e=Ze("select"),n=gn({index:-1,groupDisabled:!1,visible:!0,hitState:!1,hover:!1}),{currentLabel:i,itemSelected:r,isDisabled:s,select:o,hoverItem:a}=XG(t,n),{visible:l,hover:c}=xr(n),u=$t().proxy,O=u.value;o.onOptionCreate(u),Qn(()=>{const{selected:h}=o,y=(o.props.multiple?h:[h]).some($=>$.value===u.value);o.cachedOptions.get(O)===u&&!y&&et(()=>{o.cachedOptions.delete(O)}),o.onOptionDestroy(O,u)});function f(){t.disabled!==!0&&n.groupDisabled!==!0&&o.handleOptionSelect(u,!0)}return{ns:e,currentLabel:i,itemSelected:r,isDisabled:s,select:o,hoverItem:a,visible:l,hover:c,selectOptionClick:f,states:n}}});function zG(t,e,n,i,r,s){return it((L(),ie("li",{class:te([t.ns.be("dropdown","item"),t.ns.is("disabled",t.isDisabled),{selected:t.itemSelected,hover:t.hover}]),onMouseenter:e[0]||(e[0]=(...o)=>t.hoverItem&&t.hoverItem(...o)),onClick:e[1]||(e[1]=Et((...o)=>t.selectOptionClick&&t.selectOptionClick(...o),["stop"]))},[We(t.$slots,"default",{},()=>[U("span",null,de(t.currentLabel),1)])],34)),[[Lt,t.visible]])}var y$=Me(WG,[["render",zG],["__file","/home/runner/work/element-plus/element-plus/packages/components/select/src/option.vue"]]);const IG=Ce({name:"ElSelectDropdown",componentName:"ElSelectDropdown",setup(){const t=De(mp),e=Ze("select"),n=N(()=>t.props.popperClass),i=N(()=>t.props.multiple),r=N(()=>t.props.fitInputWidth),s=J("");function o(){var a;s.value=`${(a=t.selectWrapper)==null?void 0:a.getBoundingClientRect().width}px`}return xt(()=>{o(),Hy(t.selectWrapper,o)}),Qn(()=>{Ky(t.selectWrapper,o)}),{ns:e,minWidth:s,popperClass:n,isMultiple:i,isFitInputWidth:r}}});function qG(t,e,n,i,r,s){return L(),ie("div",{class:te([t.ns.b("dropdown"),t.ns.is("multiple",t.isMultiple),t.popperClass]),style:tt({[t.isFitInputWidth?"width":"minWidth"]:t.minWidth})},[We(t.$slots,"default")],6)}var UG=Me(IG,[["render",qG],["__file","/home/runner/work/element-plus/element-plus/packages/components/select/src/select-dropdown.vue"]]);function DG(t){const{t:e}=Fn();return gn({options:new Map,cachedOptions:new Map,createdLabel:null,createdSelected:!1,selected:t.multiple?[]:{},inputLength:20,inputWidth:0,initialInputHeight:0,optionsCount:0,filteredOptionsCount:0,visible:!1,softFocus:!1,selectedLabel:"",hoverIndex:-1,query:"",previousQuery:null,inputHovering:!1,cachedPlaceHolder:"",currentPlaceholder:e("el.select.placeholder"),menuVisibleOnFocus:!1,isOnComposition:!1,isSilentBlur:!1,prefixWidth:11,tagInMultiLine:!1})}const LG=(t,e,n)=>{const{t:i}=Fn(),r=Ze("select"),s=J(null),o=J(null),a=J(null),l=J(null),c=J(null),u=J(null),O=J(-1),f=ga({query:""}),h=ga(""),p=De(Ts,{}),y=De(Gr,{}),$=N(()=>!t.filterable||t.multiple||!e.visible),m=N(()=>t.disabled||p.disabled),d=N(()=>{const ae=t.multiple?Array.isArray(t.modelValue)&&t.modelValue.length>0:t.modelValue!==void 0&&t.modelValue!==null&&t.modelValue!=="";return t.clearable&&!m.value&&e.inputHovering&&ae}),g=N(()=>t.remote&&t.filterable?"":t.suffixIcon),v=N(()=>r.is("reverse",g.value&&e.visible)),b=N(()=>t.remote?300:0),_=N(()=>t.loading?t.loadingText||i("el.select.loading"):t.remote&&e.query===""&&e.options.size===0?!1:t.filterable&&e.query&&e.options.size>0&&e.filteredOptionsCount===0?t.noMatchText||i("el.select.noMatch"):e.options.size===0?t.noDataText||i("el.select.noData"):null),Q=N(()=>Array.from(e.options.values())),S=N(()=>Array.from(e.cachedOptions.values())),P=N(()=>{const ae=Q.value.filter(pe=>!pe.created).some(pe=>pe.currentLabel===e.query);return t.filterable&&t.allowCreate&&e.query!==""&&!ae}),w=Ln(),x=N(()=>["small"].includes(w.value)?"small":"default"),k=N({get(){return e.visible&&_.value!==!1},set(ae){e.visible=ae}});Xe([()=>m.value,()=>w.value,()=>p.size],()=>{et(()=>{C()})}),Xe(()=>t.placeholder,ae=>{e.cachedPlaceHolder=e.currentPlaceholder=ae}),Xe(()=>t.modelValue,(ae,pe)=>{var Oe;t.multiple&&(C(),ae&&ae.length>0||o.value&&e.query!==""?e.currentPlaceholder="":e.currentPlaceholder=e.cachedPlaceHolder,t.filterable&&!t.reserveKeyword&&(e.query="",T(e.query))),R(),t.filterable&&!t.multiple&&(e.inputLength=20),jh(ae,pe)||(Oe=y.validate)==null||Oe.call(y,"change").catch(Se=>void 0)},{flush:"post",deep:!0}),Xe(()=>e.visible,ae=>{var pe,Oe,Se;ae?((Oe=(pe=a.value)==null?void 0:pe.updatePopper)==null||Oe.call(pe),t.filterable&&(e.filteredOptionsCount=e.optionsCount,e.query=t.remote?"":e.selectedLabel,t.multiple?(Se=o.value)==null||Se.focus():e.selectedLabel&&(e.currentPlaceholder=`${e.selectedLabel}`,e.selectedLabel=""),T(e.query),!t.multiple&&!t.remote&&(f.value.query="",Tc(f),Tc(h)))):(o.value&&o.value.blur(),e.query="",e.previousQuery=null,e.selectedLabel="",e.inputLength=20,e.menuVisibleOnFocus=!1,D(),et(()=>{o.value&&o.value.value===""&&e.selected.length===0&&(e.currentPlaceholder=e.cachedPlaceHolder)}),t.multiple||(e.selected&&(t.filterable&&t.allowCreate&&e.createdSelected&&e.createdLabel?e.selectedLabel=e.createdLabel:e.selectedLabel=e.selected.currentLabel,t.filterable&&(e.query=e.selectedLabel)),t.filterable&&(e.currentPlaceholder=e.cachedPlaceHolder))),n.emit("visible-change",ae)}),Xe(()=>e.options.entries(),()=>{var ae,pe,Oe;if(!qt)return;(pe=(ae=a.value)==null?void 0:ae.updatePopper)==null||pe.call(ae),t.multiple&&C();const Se=((Oe=c.value)==null?void 0:Oe.querySelectorAll("input"))||[];Array.from(Se).includes(document.activeElement)||R(),t.defaultFirstOption&&(t.filterable||t.remote)&&e.filteredOptionsCount&&A()},{flush:"post"}),Xe(()=>e.hoverIndex,ae=>{typeof ae=="number"&&ae>-1&&(O.value=Q.value[ae]||{}),Q.value.forEach(pe=>{pe.hover=O.value===pe})});const C=()=>{t.collapseTags&&!t.filterable||et(()=>{var ae,pe;if(!s.value)return;const Oe=s.value.$el.querySelector("input"),Se=l.value,qe=e.initialInputHeight||e9(w.value||p.size);Oe.style.height=e.selected.length===0?`${qe}px`:`${Math.max(Se?Se.clientHeight+(Se.clientHeight>qe?6:0):0,qe)}px`,e.tagInMultiLine=Number.parseFloat(Oe.style.height)>=qe,e.visible&&_.value!==!1&&((pe=(ae=a.value)==null?void 0:ae.updatePopper)==null||pe.call(ae))})},T=ae=>{if(!(e.previousQuery===ae||e.isOnComposition)){if(e.previousQuery===null&&(typeof t.filterMethod=="function"||typeof t.remoteMethod=="function")){e.previousQuery=ae;return}e.previousQuery=ae,et(()=>{var pe,Oe;e.visible&&((Oe=(pe=a.value)==null?void 0:pe.updatePopper)==null||Oe.call(pe))}),e.hoverIndex=-1,t.multiple&&t.filterable&&et(()=>{const pe=o.value.value.length*15+20;e.inputLength=t.collapseTags?Math.min(50,pe):pe,E(),C()}),t.remote&&typeof t.remoteMethod=="function"?(e.hoverIndex=-1,t.remoteMethod(ae)):typeof t.filterMethod=="function"?(t.filterMethod(ae),Tc(h)):(e.filteredOptionsCount=e.optionsCount,f.value.query=ae,Tc(f),Tc(h)),t.defaultFirstOption&&(t.filterable||t.remote)&&e.filteredOptionsCount&&A()}},E=()=>{e.currentPlaceholder!==""&&(e.currentPlaceholder=o.value.value?"":e.cachedPlaceHolder)},A=()=>{const ae=Q.value.filter(Se=>Se.visible&&!Se.disabled&&!Se.states.groupDisabled),pe=ae.find(Se=>Se.created),Oe=ae[0];e.hoverIndex=Re(Q.value,pe||Oe)},R=()=>{var ae;if(t.multiple)e.selectedLabel="";else{const Oe=X(t.modelValue);(ae=Oe.props)!=null&&ae.created?(e.createdLabel=Oe.props.value,e.createdSelected=!0):e.createdSelected=!1,e.selectedLabel=Oe.currentLabel,e.selected=Oe,t.filterable&&(e.query=e.selectedLabel);return}const pe=[];Array.isArray(t.modelValue)&&t.modelValue.forEach(Oe=>{pe.push(X(Oe))}),e.selected=pe,et(()=>{C()})},X=ae=>{let pe;const Oe=nh(ae).toLowerCase()==="object",Se=nh(ae).toLowerCase()==="null",qe=nh(ae).toLowerCase()==="undefined";for(let Ot=e.cachedOptions.size-1;Ot>=0;Ot--){const Pt=S.value[Ot];if(Oe?ei(Pt.value,t.valueKey)===ei(ae,t.valueKey):Pt.value===ae){pe={value:ae,currentLabel:Pt.currentLabel,isDisabled:Pt.isDisabled};break}}if(pe)return pe;const ht=Oe?ae.label:!Se&&!qe?ae:"",Ct={value:ae,currentLabel:ht};return t.multiple&&(Ct.hitState=!1),Ct},D=()=>{setTimeout(()=>{const ae=t.valueKey;t.multiple?e.selected.length>0?e.hoverIndex=Math.min.apply(null,e.selected.map(pe=>Q.value.findIndex(Oe=>ei(Oe,ae)===ei(pe,ae)))):e.hoverIndex=-1:e.hoverIndex=Q.value.findIndex(pe=>Te(pe)===Te(e.selected))},300)},V=()=>{var ae,pe;j(),(pe=(ae=a.value)==null?void 0:ae.updatePopper)==null||pe.call(ae),t.multiple&&!t.filterable&&C()},j=()=>{var ae;e.inputWidth=(ae=s.value)==null?void 0:ae.$el.getBoundingClientRect().width},Z=()=>{t.filterable&&e.query!==e.selectedLabel&&(e.query=e.selectedLabel,T(e.query))},ee=Qo(()=>{Z()},b.value),se=Qo(ae=>{T(ae.target.value)},b.value),I=ae=>{jh(t.modelValue,ae)||n.emit(Mu,ae)},ne=ae=>{if(ae.target.value.length<=0&&!fe()){const pe=t.modelValue.slice();pe.pop(),n.emit(Wt,pe),I(pe)}ae.target.value.length===1&&t.modelValue.length===0&&(e.currentPlaceholder=e.cachedPlaceHolder)},H=(ae,pe)=>{const Oe=e.selected.indexOf(pe);if(Oe>-1&&!m.value){const Se=t.modelValue.slice();Se.splice(Oe,1),n.emit(Wt,Se),I(Se),n.emit("remove-tag",pe.value)}ae.stopPropagation()},re=ae=>{ae.stopPropagation();const pe=t.multiple?[]:"";if(typeof pe!="string")for(const Oe of e.selected)Oe.isDisabled&&pe.push(Oe.value);n.emit(Wt,pe),I(pe),e.visible=!1,n.emit("clear")},G=(ae,pe)=>{var Oe;if(t.multiple){const Se=(t.modelValue||[]).slice(),qe=Re(Se,ae.value);qe>-1?Se.splice(qe,1):(t.multipleLimit<=0||Se.length{ue(ae)})},Re=(ae=[],pe)=>{if(!yt(pe))return ae.indexOf(pe);const Oe=t.valueKey;let Se=-1;return ae.some((qe,ht)=>ei(qe,Oe)===ei(pe,Oe)?(Se=ht,!0):!1),Se},_e=()=>{e.softFocus=!0;const ae=o.value||s.value;ae&&(ae==null||ae.focus())},ue=ae=>{var pe,Oe,Se,qe,ht;const Ct=Array.isArray(ae)?ae[0]:ae;let Ot=null;if(Ct!=null&&Ct.value){const Pt=Q.value.filter(Ut=>Ut.value===Ct.value);Pt.length>0&&(Ot=Pt[0].$el)}if(a.value&&Ot){const Pt=(qe=(Se=(Oe=(pe=a.value)==null?void 0:pe.popperRef)==null?void 0:Oe.contentRef)==null?void 0:Se.querySelector)==null?void 0:qe.call(Se,`.${r.be("dropdown","wrap")}`);Pt&&BD(Pt,Ot)}(ht=u.value)==null||ht.handleScroll()},W=ae=>{e.optionsCount++,e.filteredOptionsCount++,e.options.set(ae.value,ae),e.cachedOptions.set(ae.value,ae)},q=(ae,pe)=>{e.options.get(ae)===pe&&(e.optionsCount--,e.filteredOptionsCount--,e.options.delete(ae))},F=ae=>{ae.code!==rt.backspace&&fe(!1),e.inputLength=o.value.value.length*15+20,C()},fe=ae=>{if(!Array.isArray(e.selected))return;const pe=e.selected[e.selected.length-1];if(!!pe)return ae===!0||ae===!1?(pe.hitState=ae,ae):(pe.hitState=!pe.hitState,pe.hitState)},he=ae=>{const pe=ae.target.value;if(ae.type==="compositionend")e.isOnComposition=!1,et(()=>T(pe));else{const Oe=pe[pe.length-1]||"";e.isOnComposition=!wC(Oe)}},ve=()=>{et(()=>ue(e.selected))},xe=ae=>{e.softFocus?e.softFocus=!1:((t.automaticDropdown||t.filterable)&&(t.filterable&&!e.visible&&(e.menuVisibleOnFocus=!0),e.visible=!0),n.emit("focus",ae))},me=()=>{var ae;e.visible=!1,(ae=s.value)==null||ae.blur()},le=ae=>{et(()=>{e.isSilentBlur?e.isSilentBlur=!1:n.emit("blur",ae)}),e.softFocus=!1},oe=ae=>{re(ae)},ce=()=>{e.visible=!1},K=()=>{var ae;t.automaticDropdown||m.value||(e.menuVisibleOnFocus?e.menuVisibleOnFocus=!1:e.visible=!e.visible,e.visible&&((ae=o.value||s.value)==null||ae.focus()))},ge=()=>{e.visible?Q.value[e.hoverIndex]&&G(Q.value[e.hoverIndex],void 0):K()},Te=ae=>yt(ae.value)?ei(ae.value,t.valueKey):ae.value,Ye=N(()=>Q.value.filter(ae=>ae.visible).every(ae=>ae.disabled)),Ae=ae=>{if(!e.visible){e.visible=!0;return}if(!(e.options.size===0||e.filteredOptionsCount===0)&&!e.isOnComposition&&!Ye.value){ae==="next"?(e.hoverIndex++,e.hoverIndex===e.options.size&&(e.hoverIndex=0)):ae==="prev"&&(e.hoverIndex--,e.hoverIndex<0&&(e.hoverIndex=e.options.size-1));const pe=Q.value[e.hoverIndex];(pe.disabled===!0||pe.states.groupDisabled===!0||!pe.visible)&&Ae(ae),et(()=>ue(O.value))}};return{optionsArray:Q,selectSize:w,handleResize:V,debouncedOnInputChange:ee,debouncedQueryChange:se,deletePrevTag:ne,deleteTag:H,deleteSelected:re,handleOptionSelect:G,scrollToOption:ue,readonly:$,resetInputHeight:C,showClose:d,iconComponent:g,iconReverse:v,showNewOption:P,collapseTagSize:x,setSelected:R,managePlaceholder:E,selectDisabled:m,emptyText:_,toggleLastOptionHitState:fe,resetInputState:F,handleComposition:he,onOptionCreate:W,onOptionDestroy:q,handleMenuEnter:ve,handleFocus:xe,blur:me,handleBlur:le,handleClearClick:oe,handleClose:ce,toggleMenu:K,selectOption:ge,getValueKey:Te,navigateOptions:Ae,dropMenuVisible:k,queryChange:f,groupQueryChange:h,reference:s,input:o,tooltipRef:a,tags:l,selectWrapper:c,scrollbar:u}},uQ="ElSelect",BG=Ce({name:uQ,componentName:uQ,components:{ElInput:si,ElSelectMenu:UG,ElOption:y$,ElTag:W2,ElScrollbar:pc,ElTooltip:Rs,ElIcon:wt},directives:{ClickOutside:pp},props:{name:String,id:String,modelValue:{type:[Array,String,Number,Boolean,Object],default:void 0},autocomplete:{type:String,default:"off"},automaticDropdown:Boolean,size:{type:String,validator:Ua},effect:{type:String,default:"light"},disabled:Boolean,clearable:Boolean,filterable:Boolean,allowCreate:Boolean,loading:Boolean,popperClass:{type:String,default:""},remote:Boolean,loadingText:String,noMatchText:String,noDataText:String,remoteMethod:Function,filterMethod:Function,multiple:Boolean,multipleLimit:{type:Number,default:0},placeholder:{type:String},defaultFirstOption:Boolean,reserveKeyword:{type:Boolean,default:!0},valueKey:{type:String,default:"value"},collapseTags:Boolean,collapseTagsTooltip:{type:Boolean,default:!1},teleported:Qi.teleported,persistent:{type:Boolean,default:!0},clearIcon:{type:[String,Object],default:Dl},fitInputWidth:{type:Boolean,default:!1},suffixIcon:{type:[String,Object],default:ap},tagType:Je(ze({},X2.type),{default:"info"})},emits:[Wt,Mu,"remove-tag","clear","visible-change","focus","blur"],setup(t,e){const n=Ze("select"),i=Ze("input"),{t:r}=Fn(),s=DG(t),{optionsArray:o,selectSize:a,readonly:l,handleResize:c,collapseTagSize:u,debouncedOnInputChange:O,debouncedQueryChange:f,deletePrevTag:h,deleteTag:p,deleteSelected:y,handleOptionSelect:$,scrollToOption:m,setSelected:d,resetInputHeight:g,managePlaceholder:v,showClose:b,selectDisabled:_,iconComponent:Q,iconReverse:S,showNewOption:P,emptyText:w,toggleLastOptionHitState:x,resetInputState:k,handleComposition:C,onOptionCreate:T,onOptionDestroy:E,handleMenuEnter:A,handleFocus:R,blur:X,handleBlur:D,handleClearClick:V,handleClose:j,toggleMenu:Z,selectOption:ee,getValueKey:se,navigateOptions:I,dropMenuVisible:ne,reference:H,input:re,tooltipRef:G,tags:Re,selectWrapper:_e,scrollbar:ue,queryChange:W,groupQueryChange:q}=LG(t,s,e),{focus:F}=o9(H),{inputWidth:fe,selected:he,inputLength:ve,filteredOptionsCount:xe,visible:me,softFocus:le,selectedLabel:oe,hoverIndex:ce,query:K,inputHovering:ge,currentPlaceholder:Te,menuVisibleOnFocus:Ye,isOnComposition:Ae,isSilentBlur:ae,options:pe,cachedOptions:Oe,optionsCount:Se,prefixWidth:qe,tagInMultiLine:ht}=xr(s),Ct=N(()=>{const Ut=[n.b()],Bn=M(a);return Bn&&Ut.push(n.m(Bn)),t.disabled&&Ut.push(n.m("disabled")),Ut}),Ot=N(()=>({maxWidth:`${M(fe)-32}px`,width:"100%"}));kt(mp,gn({props:t,options:pe,optionsArray:o,cachedOptions:Oe,optionsCount:Se,filteredOptionsCount:xe,hoverIndex:ce,handleOptionSelect:$,onOptionCreate:T,onOptionDestroy:E,selectWrapper:_e,selected:he,setSelected:d,queryChange:W,groupQueryChange:q})),xt(()=>{if(s.cachedPlaceHolder=Te.value=t.placeholder||r("el.select.placeholder"),t.multiple&&Array.isArray(t.modelValue)&&t.modelValue.length>0&&(Te.value=""),Hy(_e.value,c),H.value&&H.value.$el){const Ut=H.value.input;s.initialInputHeight=Ut.getBoundingClientRect().height}t.remote&&t.multiple&&g(),et(()=>{const Ut=H.value&&H.value.$el;if(!!Ut&&(fe.value=Ut.getBoundingClientRect().width,e.slots.prefix)){const Bn=Ut.querySelector(`.${i.e("prefix")}`);qe.value=Math.max(Bn.getBoundingClientRect().width+5,30)}}),d()}),Qn(()=>{Ky(_e.value,c)}),t.multiple&&!Array.isArray(t.modelValue)&&e.emit(Wt,[]),!t.multiple&&Array.isArray(t.modelValue)&&e.emit(Wt,"");const Pt=N(()=>{var Ut,Bn;return(Bn=(Ut=G.value)==null?void 0:Ut.popperRef)==null?void 0:Bn.contentRef});return{tagInMultiLine:ht,prefixWidth:qe,selectSize:a,readonly:l,handleResize:c,collapseTagSize:u,debouncedOnInputChange:O,debouncedQueryChange:f,deletePrevTag:h,deleteTag:p,deleteSelected:y,handleOptionSelect:$,scrollToOption:m,inputWidth:fe,selected:he,inputLength:ve,filteredOptionsCount:xe,visible:me,softFocus:le,selectedLabel:oe,hoverIndex:ce,query:K,inputHovering:ge,currentPlaceholder:Te,menuVisibleOnFocus:Ye,isOnComposition:Ae,isSilentBlur:ae,options:pe,resetInputHeight:g,managePlaceholder:v,showClose:b,selectDisabled:_,iconComponent:Q,iconReverse:S,showNewOption:P,emptyText:w,toggleLastOptionHitState:x,resetInputState:k,handleComposition:C,handleMenuEnter:A,handleFocus:R,blur:X,handleBlur:D,handleClearClick:V,handleClose:j,toggleMenu:Z,selectOption:ee,getValueKey:se,navigateOptions:I,dropMenuVisible:ne,focus:F,reference:H,input:re,tooltipRef:G,popperPaneRef:Pt,tags:Re,selectWrapper:_e,scrollbar:ue,wrapperKls:Ct,selectTagsStyle:Ot,nsSelect:n}}}),MG={class:"select-trigger"},YG=["disabled","autocomplete"],ZG={style:{height:"100%",display:"flex","justify-content":"center","align-items":"center"}};function VG(t,e,n,i,r,s){const o=Pe("el-tag"),a=Pe("el-tooltip"),l=Pe("el-icon"),c=Pe("el-input"),u=Pe("el-option"),O=Pe("el-scrollbar"),f=Pe("el-select-menu"),h=Eo("click-outside");return it((L(),ie("div",{ref:"selectWrapper",class:te(t.wrapperKls),onClick:e[24]||(e[24]=Et((...p)=>t.toggleMenu&&t.toggleMenu(...p),["stop"]))},[B(a,{ref:"tooltipRef",visible:t.dropMenuVisible,"onUpdate:visible":e[23]||(e[23]=p=>t.dropMenuVisible=p),placement:"bottom-start",teleported:t.teleported,"popper-class":[t.nsSelect.e("popper"),t.popperClass],"fallback-placements":["bottom-start","top-start","right","left"],effect:t.effect,pure:"",trigger:"click",transition:`${t.nsSelect.namespace.value}-zoom-in-top`,"stop-popper-mouse-event":!1,"gpu-acceleration":!1,persistent:t.persistent,onShow:t.handleMenuEnter},{default:Y(()=>[U("div",MG,[t.multiple?(L(),ie("div",{key:0,ref:"tags",class:te(t.nsSelect.e("tags")),style:tt(t.selectTagsStyle)},[t.collapseTags&&t.selected.length?(L(),ie("span",{key:0,class:te([t.nsSelect.b("tags-wrapper"),{"has-prefix":t.prefixWidth&&t.selected.length}])},[B(o,{closable:!t.selectDisabled&&!t.selected[0].isDisabled,size:t.collapseTagSize,hit:t.selected[0].hitState,type:t.tagType,"disable-transitions":"",onClose:e[0]||(e[0]=p=>t.deleteTag(p,t.selected[0]))},{default:Y(()=>[U("span",{class:te(t.nsSelect.e("tags-text")),style:tt({maxWidth:t.inputWidth-123+"px"})},de(t.selected[0].currentLabel),7)]),_:1},8,["closable","size","hit","type"]),t.selected.length>1?(L(),be(o,{key:0,closable:!1,size:t.collapseTagSize,type:t.tagType,"disable-transitions":""},{default:Y(()=>[t.collapseTagsTooltip?(L(),be(a,{key:0,disabled:t.dropMenuVisible,"fallback-placements":["bottom","top","right","left"],effect:t.effect,placement:"bottom",teleported:!1},{default:Y(()=>[U("span",{class:te(t.nsSelect.e("tags-text"))},"+ "+de(t.selected.length-1),3)]),content:Y(()=>[U("div",{class:te(t.nsSelect.e("collapse-tags"))},[(L(!0),ie(Le,null,Rt(t.selected,(p,y)=>(L(),ie("div",{key:y,class:te(t.nsSelect.e("collapse-tag"))},[(L(),be(o,{key:t.getValueKey(p),class:"in-tooltip",closable:!t.selectDisabled&&!p.isDisabled,size:t.collapseTagSize,hit:p.hitState,type:t.tagType,"disable-transitions":"",style:{margin:"2px"},onClose:$=>t.deleteTag($,p)},{default:Y(()=>[U("span",{class:te(t.nsSelect.e("tags-text")),style:tt({maxWidth:t.inputWidth-75+"px"})},de(p.currentLabel),7)]),_:2},1032,["closable","size","hit","type","onClose"]))],2))),128))],2)]),_:1},8,["disabled","effect"])):(L(),ie("span",{key:1,class:te(t.nsSelect.e("tags-text"))},"+ "+de(t.selected.length-1),3))]),_:1},8,["size","type"])):Qe("v-if",!0)],2)):Qe("v-if",!0),Qe("
"),t.collapseTags?Qe("v-if",!0):(L(),be(ri,{key:1,onAfterLeave:t.resetInputHeight},{default:Y(()=>[U("span",{class:te([t.nsSelect.b("tags-wrapper"),{"has-prefix":t.prefixWidth&&t.selected.length}])},[(L(!0),ie(Le,null,Rt(t.selected,p=>(L(),be(o,{key:t.getValueKey(p),closable:!t.selectDisabled&&!p.isDisabled,size:t.collapseTagSize,hit:p.hitState,type:t.tagType,"disable-transitions":"",onClose:y=>t.deleteTag(y,p)},{default:Y(()=>[U("span",{class:te(t.nsSelect.e("tags-text")),style:tt({maxWidth:t.inputWidth-75+"px"})},de(p.currentLabel),7)]),_:2},1032,["closable","size","hit","type","onClose"]))),128))],2)]),_:1},8,["onAfterLeave"])),Qe("
"),t.filterable?it((L(),ie("input",{key:2,ref:"input","onUpdate:modelValue":e[1]||(e[1]=p=>t.query=p),type:"text",class:te([t.nsSelect.e("input"),t.nsSelect.is(t.selectSize)]),disabled:t.selectDisabled,autocomplete:t.autocomplete,style:tt({marginLeft:t.prefixWidth&&!t.selected.length||t.tagInMultiLine?`${t.prefixWidth}px`:"",flexGrow:1,width:`${t.inputLength/(t.inputWidth-32)}%`,maxWidth:`${t.inputWidth-42}px`}),onFocus:e[2]||(e[2]=(...p)=>t.handleFocus&&t.handleFocus(...p)),onBlur:e[3]||(e[3]=(...p)=>t.handleBlur&&t.handleBlur(...p)),onKeyup:e[4]||(e[4]=(...p)=>t.managePlaceholder&&t.managePlaceholder(...p)),onKeydown:[e[5]||(e[5]=(...p)=>t.resetInputState&&t.resetInputState(...p)),e[6]||(e[6]=Qt(Et(p=>t.navigateOptions("next"),["prevent"]),["down"])),e[7]||(e[7]=Qt(Et(p=>t.navigateOptions("prev"),["prevent"]),["up"])),e[8]||(e[8]=Qt(Et(p=>t.visible=!1,["stop","prevent"]),["esc"])),e[9]||(e[9]=Qt(Et((...p)=>t.selectOption&&t.selectOption(...p),["stop","prevent"]),["enter"])),e[10]||(e[10]=Qt((...p)=>t.deletePrevTag&&t.deletePrevTag(...p),["delete"])),e[11]||(e[11]=Qt(p=>t.visible=!1,["tab"]))],onCompositionstart:e[12]||(e[12]=(...p)=>t.handleComposition&&t.handleComposition(...p)),onCompositionupdate:e[13]||(e[13]=(...p)=>t.handleComposition&&t.handleComposition(...p)),onCompositionend:e[14]||(e[14]=(...p)=>t.handleComposition&&t.handleComposition(...p)),onInput:e[15]||(e[15]=(...p)=>t.debouncedQueryChange&&t.debouncedQueryChange(...p))},null,46,YG)),[[B6,t.query]]):Qe("v-if",!0)],6)):Qe("v-if",!0),B(c,{id:t.id,ref:"reference",modelValue:t.selectedLabel,"onUpdate:modelValue":e[16]||(e[16]=p=>t.selectedLabel=p),type:"text",placeholder:t.currentPlaceholder,name:t.name,autocomplete:t.autocomplete,size:t.selectSize,disabled:t.selectDisabled,readonly:t.readonly,"validate-event":!1,class:te([t.nsSelect.is("focus",t.visible)]),tabindex:t.multiple&&t.filterable?-1:void 0,onFocus:t.handleFocus,onBlur:t.handleBlur,onInput:t.debouncedOnInputChange,onPaste:t.debouncedOnInputChange,onCompositionstart:t.handleComposition,onCompositionupdate:t.handleComposition,onCompositionend:t.handleComposition,onKeydown:[e[17]||(e[17]=Qt(Et(p=>t.navigateOptions("next"),["stop","prevent"]),["down"])),e[18]||(e[18]=Qt(Et(p=>t.navigateOptions("prev"),["stop","prevent"]),["up"])),Qt(Et(t.selectOption,["stop","prevent"]),["enter"]),e[19]||(e[19]=Qt(Et(p=>t.visible=!1,["stop","prevent"]),["esc"])),e[20]||(e[20]=Qt(p=>t.visible=!1,["tab"]))],onMouseenter:e[21]||(e[21]=p=>t.inputHovering=!0),onMouseleave:e[22]||(e[22]=p=>t.inputHovering=!1)},Zd({suffix:Y(()=>[t.iconComponent&&!t.showClose?(L(),be(l,{key:0,class:te([t.nsSelect.e("caret"),t.nsSelect.e("icon"),t.iconReverse])},{default:Y(()=>[(L(),be(Vt(t.iconComponent)))]),_:1},8,["class"])):Qe("v-if",!0),t.showClose&&t.clearIcon?(L(),be(l,{key:1,class:te([t.nsSelect.e("caret"),t.nsSelect.e("icon")]),onClick:t.handleClearClick},{default:Y(()=>[(L(),be(Vt(t.clearIcon)))]),_:1},8,["class","onClick"])):Qe("v-if",!0)]),_:2},[t.$slots.prefix?{name:"prefix",fn:Y(()=>[U("div",ZG,[We(t.$slots,"prefix")])])}:void 0]),1032,["id","modelValue","placeholder","name","autocomplete","size","disabled","readonly","class","tabindex","onFocus","onBlur","onInput","onPaste","onCompositionstart","onCompositionupdate","onCompositionend","onKeydown"])])]),content:Y(()=>[B(f,null,{default:Y(()=>[it(B(O,{ref:"scrollbar",tag:"ul","wrap-class":t.nsSelect.be("dropdown","wrap"),"view-class":t.nsSelect.be("dropdown","list"),class:te([t.nsSelect.is("empty",!t.allowCreate&&Boolean(t.query)&&t.filteredOptionsCount===0)])},{default:Y(()=>[t.showNewOption?(L(),be(u,{key:0,value:t.query,created:!0},null,8,["value"])):Qe("v-if",!0),We(t.$slots,"default")]),_:3},8,["wrap-class","view-class","class"]),[[Lt,t.options.size>0&&!t.loading]]),t.emptyText&&(!t.allowCreate||t.loading||t.allowCreate&&t.options.size===0)?(L(),ie(Le,{key:0},[t.$slots.empty?We(t.$slots,"empty",{key:0}):(L(),ie("p",{key:1,class:te(t.nsSelect.be("dropdown","empty"))},de(t.emptyText),3))],2112)):Qe("v-if",!0)]),_:3})]),_:3},8,["visible","teleported","popper-class","effect","transition","persistent","onShow"])],2)),[[h,t.handleClose,t.popperPaneRef]])}var jG=Me(BG,[["render",VG],["__file","/home/runner/work/element-plus/element-plus/packages/components/select/src/select.vue"]]);const NG=Ce({name:"ElOptionGroup",componentName:"ElOptionGroup",props:{label:String,disabled:{type:Boolean,default:!1}},setup(t){const e=Ze("select"),n=J(!0),i=$t(),r=J([]);kt(oT,gn(ze({},xr(t))));const s=De(mp);xt(()=>{r.value=o(i.subTree)});const o=l=>{const c=[];return Array.isArray(l.children)&&l.children.forEach(u=>{var O;u.type&&u.type.name==="ElOption"&&u.component&&u.component.proxy?c.push(u.component.proxy):(O=u.children)!=null&&O.length&&c.push(...o(u))}),c},{groupQueryChange:a}=mt(s);return Xe(a,()=>{n.value=r.value.some(l=>l.visible===!0)}),{visible:n,ns:e}}});function FG(t,e,n,i,r,s){return it((L(),ie("ul",{class:te(t.ns.be("group","wrap"))},[U("li",{class:te(t.ns.be("group","title"))},de(t.label),3),U("li",null,[U("ul",{class:te(t.ns.b("group"))},[We(t.$slots,"default")],2)])],2)),[[Lt,t.visible]])}var aT=Me(NG,[["render",FG],["__file","/home/runner/work/element-plus/element-plus/packages/components/select/src/option-group.vue"]]);const $$=Gt(jG,{Option:y$,OptionGroup:aT}),b$=Di(y$);Di(aT);const GG=lt({trigger:Vu.trigger,placement:mh.placement,disabled:Vu.disabled,visible:Qi.visible,transition:Qi.transition,popperOptions:mh.popperOptions,tabindex:mh.tabindex,content:Qi.content,popperStyle:Qi.popperStyle,popperClass:Qi.popperClass,enterable:Je(ze({},Qi.enterable),{default:!0}),effect:Je(ze({},Qi.effect),{default:"light"}),teleported:Qi.teleported,title:String,width:{type:[String,Number],default:150},offset:{type:Number,default:void 0},showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0},showArrow:{type:Boolean,default:!0},persistent:{type:Boolean,default:!0}}),HG=["update:visible","before-enter","before-leave","after-enter","after-leave"],KG="ElPopover",JG=Ce({name:KG,components:{ElTooltip:Rs},props:GG,emits:HG,setup(t,{emit:e}){const n=Ze("popover"),i=J(null),r=N(()=>{var p;return(p=M(i))==null?void 0:p.popperRef}),s=N(()=>ot(t.width)?t.width:`${t.width}px`),o=N(()=>[{width:s.value},t.popperStyle]),a=N(()=>[n.b(),t.popperClass,{[n.m("plain")]:!!t.content}]),l=N(()=>t.transition==="el-fade-in-linear");return{ns:n,kls:a,gpuAcceleration:l,style:o,tooltipRef:i,popperRef:r,hide:()=>{var p;(p=i.value)==null||p.hide()},beforeEnter:()=>{e("before-enter")},beforeLeave:()=>{e("before-leave")},afterEnter:()=>{e("after-enter")},afterLeave:()=>{e("update:visible",!1),e("after-leave")}}}});function eH(t,e,n,i,r,s){const o=Pe("el-tooltip");return L(),be(o,ii({ref:"tooltipRef"},t.$attrs,{trigger:t.trigger,placement:t.placement,disabled:t.disabled,visible:t.visible,transition:t.transition,"popper-options":t.popperOptions,tabindex:t.tabindex,content:t.content,offset:t.offset,"show-after":t.showAfter,"hide-after":t.hideAfter,"auto-close":t.autoClose,"show-arrow":t.showArrow,"aria-label":t.title,effect:t.effect,enterable:t.enterable,"popper-class":t.kls,"popper-style":t.style,teleported:t.teleported,persistent:t.persistent,"gpu-acceleration":t.gpuAcceleration,onBeforeShow:t.beforeEnter,onBeforeHide:t.beforeLeave,onShow:t.afterEnter,onHide:t.afterLeave}),{content:Y(()=>[t.title?(L(),ie("div",{key:0,class:te(t.ns.e("title")),role:"title"},de(t.title),3)):Qe("v-if",!0),We(t.$slots,"default",{},()=>[Ee(de(t.content),1)])]),default:Y(()=>[t.$slots.reference?We(t.$slots,"reference",{key:0}):Qe("v-if",!0)]),_:3},16,["trigger","placement","disabled","visible","transition","popper-options","tabindex","content","offset","show-after","hide-after","auto-close","show-arrow","aria-label","effect","enterable","popper-class","popper-style","teleported","persistent","gpu-acceleration","onBeforeShow","onBeforeHide","onShow","onHide"])}var gu=Me(JG,[["render",eH],["__file","/home/runner/work/element-plus/element-plus/packages/components/popover/src/index.vue"]]);const fQ=(t,e)=>{const n=e.arg||e.value,i=n==null?void 0:n.popperRef;i&&(i.triggerRef=t)};var Dg={mounted(t,e){fQ(t,e)},updated(t,e){fQ(t,e)}};const tH="popover";gu.install=t=>{t.component(gu.name,gu)};Dg.install=t=>{t.directive(tH,Dg)};const nH=Dg;gu.directive=nH;const iH=gu,lT=iH,rH=lt({type:{type:String,default:"line",values:["line","circle","dashboard"]},percentage:{type:Number,default:0,validator:t=>t>=0&&t<=100},status:{type:String,default:"",values:["","success","exception","warning"]},indeterminate:{type:Boolean,default:!1},duration:{type:Number,default:3},strokeWidth:{type:Number,default:6},strokeLinecap:{type:Ne(String),default:"round"},textInside:{type:Boolean,default:!1},width:{type:Number,default:126},showText:{type:Boolean,default:!0},color:{type:Ne([String,Array,Function]),default:""},format:{type:Ne(Function),default:t=>`${t}%`}}),sH=Ce({name:"ElProgress",components:{ElIcon:wt,CircleCheck:yg,CircleClose:Dl,Check:v_,Close:xa,WarningFilled:Gh},props:rH,setup(t){const e=Ze("progress"),n=N(()=>({width:`${t.percentage}%`,animationDuration:`${t.duration}s`,backgroundColor:y(t.percentage)})),i=N(()=>(t.strokeWidth/t.width*100).toFixed(1)),r=N(()=>t.type==="circle"||t.type==="dashboard"?Number.parseInt(`${50-Number.parseFloat(i.value)/2}`,10):0),s=N(()=>{const m=r.value,d=t.type==="dashboard";return` + M 50 50 + m 0 ${d?"":"-"}${m} + a ${m} ${m} 0 1 1 0 ${d?"-":""}${m*2} + a ${m} ${m} 0 1 1 0 ${d?"":"-"}${m*2} + `}),o=N(()=>2*Math.PI*r.value),a=N(()=>t.type==="dashboard"?.75:1),l=N(()=>`${-1*o.value*(1-a.value)/2}px`),c=N(()=>({strokeDasharray:`${o.value*a.value}px, ${o.value}px`,strokeDashoffset:l.value})),u=N(()=>({strokeDasharray:`${o.value*a.value*(t.percentage/100)}px, ${o.value}px`,strokeDashoffset:l.value,transition:"stroke-dasharray 0.6s ease 0s, stroke 0.6s ease"})),O=N(()=>{let m;if(t.color)m=y(t.percentage);else switch(t.status){case"success":m="#13ce66";break;case"exception":m="#ff4949";break;case"warning":m="#e6a23c";break;default:m="#20a0ff"}return m}),f=N(()=>t.status==="warning"?Gh:t.type==="line"?t.status==="success"?yg:Dl:t.status==="success"?v_:xa),h=N(()=>t.type==="line"?12+t.strokeWidth*.4:t.width*.111111+2),p=N(()=>t.format(t.percentage)),y=m=>{var d;const{color:g}=t;if(typeof g=="function")return g(m);if(typeof g=="string")return g;{const v=100/g.length,_=g.map((Q,S)=>typeof Q=="string"?{color:Q,percentage:(S+1)*v}:Q).sort((Q,S)=>Q.percentage-S.percentage);for(const Q of _)if(Q.percentage>m)return Q.color;return(d=_[_.length-1])==null?void 0:d.color}},$=N(()=>({percentage:t.percentage}));return{ns:e,barStyle:n,relativeStrokeWidth:i,radius:r,trackPath:s,perimeter:o,rate:a,strokeDashoffset:l,trailPathStyle:c,circlePathStyle:u,stroke:O,statusIcon:f,progressTextSize:h,content:p,slotData:$}}}),oH=["aria-valuenow"],aH={viewBox:"0 0 100 100"},lH=["d","stroke","stroke-width"],cH=["d","stroke","stroke-linecap","stroke-width"],uH={key:0};function fH(t,e,n,i,r,s){const o=Pe("el-icon");return L(),ie("div",{class:te([t.ns.b(),t.ns.m(t.type),t.ns.is(t.status),{[t.ns.m("without-text")]:!t.showText,[t.ns.m("text-inside")]:t.textInside}]),role:"progressbar","aria-valuenow":t.percentage,"aria-valuemin":"0","aria-valuemax":"100"},[t.type==="line"?(L(),ie("div",{key:0,class:te(t.ns.b("bar"))},[U("div",{class:te(t.ns.be("bar","outer")),style:tt({height:`${t.strokeWidth}px`})},[U("div",{class:te([t.ns.be("bar","inner"),{[t.ns.bem("bar","inner","indeterminate")]:t.indeterminate}]),style:tt(t.barStyle)},[(t.showText||t.$slots.default)&&t.textInside?(L(),ie("div",{key:0,class:te(t.ns.be("bar","innerText"))},[We(t.$slots,"default",Ym(Bh(t.slotData)),()=>[U("span",null,de(t.content),1)])],2)):Qe("v-if",!0)],6)],6)],2)):(L(),ie("div",{key:1,class:te(t.ns.b("circle")),style:tt({height:`${t.width}px`,width:`${t.width}px`})},[(L(),ie("svg",aH,[U("path",{class:te(t.ns.be("circle","track")),d:t.trackPath,stroke:`var(${t.ns.cssVarName("fill-color-light")}, #e5e9f2)`,"stroke-width":t.relativeStrokeWidth,fill:"none",style:tt(t.trailPathStyle)},null,14,lH),U("path",{class:te(t.ns.be("circle","path")),d:t.trackPath,stroke:t.stroke,fill:"none","stroke-linecap":t.strokeLinecap,"stroke-width":t.percentage?t.relativeStrokeWidth:0,style:tt(t.circlePathStyle)},null,14,cH)]))],6)),(t.showText||t.$slots.default)&&!t.textInside?(L(),ie("div",{key:2,class:te(t.ns.e("text")),style:tt({fontSize:`${t.progressTextSize}px`})},[We(t.$slots,"default",Ym(Bh(t.slotData)),()=>[t.status?(L(),be(o,{key:1},{default:Y(()=>[(L(),be(Vt(t.statusIcon)))]),_:1})):(L(),ie("span",uH,de(t.content),1))])],6)):Qe("v-if",!0)],10,oH)}var OH=Me(sH,[["render",fH],["__file","/home/runner/work/element-plus/element-plus/packages/components/progress/src/progress.vue"]]);const cT=Gt(OH),hH=lt({modelValue:{type:[Boolean,String,Number],default:!1},value:{type:[Boolean,String,Number],default:!1},disabled:{type:Boolean,default:!1},width:{type:[String,Number],default:""},inlinePrompt:{type:Boolean,default:!1},activeIcon:{type:_s,default:""},inactiveIcon:{type:_s,default:""},activeText:{type:String,default:""},inactiveText:{type:String,default:""},activeColor:{type:String,default:""},inactiveColor:{type:String,default:""},borderColor:{type:String,default:""},activeValue:{type:[Boolean,String,Number],default:!0},inactiveValue:{type:[Boolean,String,Number],default:!1},name:{type:String,default:""},validateEvent:{type:Boolean,default:!0},id:String,loading:{type:Boolean,default:!1},beforeChange:{type:Ne(Function)},size:{type:String,validator:Ua}}),dH={[Wt]:t=>Ji(t)||ot(t)||Bt(t),[Mu]:t=>Ji(t)||ot(t)||Bt(t),[bg]:t=>Ji(t)||ot(t)||Bt(t)},OQ="ElSwitch",pH=Ce({name:OQ,components:{ElIcon:wt,Loading:vf},props:hH,emits:dH,setup(t,{emit:e}){const{formItem:n}=yf(),i=dc(N(()=>t.loading)),r=Ze("switch"),{inputId:s}=$f(t,{formItemContext:n}),o=Ln(),a=J(t.modelValue!==!1),l=J(),c=J(),u=N(()=>[r.b(),r.m(o.value),r.is("disabled",i.value),r.is("checked",h.value)]),O=N(()=>({width:wr(t.width)}));Xe(()=>t.modelValue,()=>{a.value=!0}),Xe(()=>t.value,()=>{a.value=!1});const f=N(()=>a.value?t.modelValue:t.value),h=N(()=>f.value===t.activeValue);[t.activeValue,t.inactiveValue].includes(f.value)||(e(Wt,t.inactiveValue),e(Mu,t.inactiveValue),e(bg,t.inactiveValue)),Xe(h,()=>{var d;l.value.checked=h.value,(t.activeColor||t.inactiveColor)&&$(),t.validateEvent&&((d=n==null?void 0:n.validate)==null||d.call(n,"change").catch(g=>void 0))});const p=()=>{const d=h.value?t.inactiveValue:t.activeValue;e(Wt,d),e(Mu,d),e(bg,d),et(()=>{l.value.checked=h.value})},y=()=>{if(i.value)return;const{beforeChange:d}=t;if(!d){p();return}const g=d();[Wh(g),Ji(g)].some(b=>b)||Wo(OQ,"beforeChange must return type `Promise` or `boolean`"),Wh(g)?g.then(b=>{b&&p()}).catch(b=>{}):g&&p()},$=()=>{const d=h.value?t.activeColor:t.inactiveColor,g=c.value;t.borderColor?g.style.borderColor=t.borderColor:t.borderColor||(g.style.borderColor=d),g.style.backgroundColor=d,g.children[0].style.color=d},m=()=>{var d,g;(g=(d=l.value)==null?void 0:d.focus)==null||g.call(d)};return xt(()=>{(t.activeColor||t.inactiveColor||t.borderColor)&&$(),l.value.checked=h.value}),{ns:r,input:l,inputId:s,core:c,switchDisabled:i,checked:h,switchKls:u,coreStyle:O,handleChange:p,switchValue:y,focus:m}}}),mH=["id","aria-checked","aria-disabled","name","true-value","false-value","disabled"],gH=["aria-hidden"],vH=["aria-hidden"],yH=["aria-hidden"],$H=["aria-hidden"];function bH(t,e,n,i,r,s){const o=Pe("el-icon"),a=Pe("loading");return L(),ie("div",{class:te(t.switchKls),onClick:e[2]||(e[2]=Et((...l)=>t.switchValue&&t.switchValue(...l),["prevent"]))},[U("input",{id:t.inputId,ref:"input",class:te(t.ns.e("input")),type:"checkbox",role:"switch","aria-checked":t.checked,"aria-disabled":t.switchDisabled,name:t.name,"true-value":t.activeValue,"false-value":t.inactiveValue,disabled:t.switchDisabled,onChange:e[0]||(e[0]=(...l)=>t.handleChange&&t.handleChange(...l)),onKeydown:e[1]||(e[1]=Qt((...l)=>t.switchValue&&t.switchValue(...l),["enter"]))},null,42,mH),!t.inlinePrompt&&(t.inactiveIcon||t.inactiveText)?(L(),ie("span",{key:0,class:te([t.ns.e("label"),t.ns.em("label","left"),t.ns.is("active",!t.checked)])},[t.inactiveIcon?(L(),be(o,{key:0},{default:Y(()=>[(L(),be(Vt(t.inactiveIcon)))]),_:1})):Qe("v-if",!0),!t.inactiveIcon&&t.inactiveText?(L(),ie("span",{key:1,"aria-hidden":t.checked},de(t.inactiveText),9,gH)):Qe("v-if",!0)],2)):Qe("v-if",!0),U("span",{ref:"core",class:te(t.ns.e("core")),style:tt(t.coreStyle)},[t.inlinePrompt?(L(),ie("div",{key:0,class:te(t.ns.e("inner"))},[t.activeIcon||t.inactiveIcon?(L(),ie(Le,{key:0},[t.activeIcon?(L(),be(o,{key:0,class:te([t.ns.is("icon"),t.checked?t.ns.is("show"):t.ns.is("hide")])},{default:Y(()=>[(L(),be(Vt(t.activeIcon)))]),_:1},8,["class"])):Qe("v-if",!0),t.inactiveIcon?(L(),be(o,{key:1,class:te([t.ns.is("icon"),t.checked?t.ns.is("hide"):t.ns.is("show")])},{default:Y(()=>[(L(),be(Vt(t.inactiveIcon)))]),_:1},8,["class"])):Qe("v-if",!0)],64)):t.activeText||t.inactiveIcon?(L(),ie(Le,{key:1},[t.activeText?(L(),ie("span",{key:0,class:te([t.ns.is("text"),t.checked?t.ns.is("show"):t.ns.is("hide")]),"aria-hidden":!t.checked},de(t.activeText.substring(0,3)),11,vH)):Qe("v-if",!0),t.inactiveText?(L(),ie("span",{key:1,class:te([t.ns.is("text"),t.checked?t.ns.is("hide"):t.ns.is("show")]),"aria-hidden":t.checked},de(t.inactiveText.substring(0,3)),11,yH)):Qe("v-if",!0)],64)):Qe("v-if",!0)],2)):Qe("v-if",!0),U("div",{class:te(t.ns.e("action"))},[t.loading?(L(),be(o,{key:0,class:te(t.ns.is("loading"))},{default:Y(()=>[B(a)]),_:1},8,["class"])):Qe("v-if",!0)],2)],6),!t.inlinePrompt&&(t.activeIcon||t.activeText)?(L(),ie("span",{key:1,class:te([t.ns.e("label"),t.ns.em("label","right"),t.ns.is("active",t.checked)])},[t.activeIcon?(L(),be(o,{key:0},{default:Y(()=>[(L(),be(Vt(t.activeIcon)))]),_:1})):Qe("v-if",!0),!t.activeIcon&&t.activeText?(L(),ie("span",{key:1,"aria-hidden":!t.checked},de(t.activeText),9,$H)):Qe("v-if",!0)],2)):Qe("v-if",!0)],2)}var _H=Me(pH,[["render",bH],["__file","/home/runner/work/element-plus/element-plus/packages/components/switch/src/switch.vue"]]);const uT=Gt(_H);/*! + * escape-html + * Copyright(c) 2012-2013 TJ Holowaychuk + * Copyright(c) 2015 Andreas Lubbe + * Copyright(c) 2015 Tiancheng "Timothy" Gu + * MIT Licensed + */var QH=/["'&<>]/,SH=wH;function wH(t){var e=""+t,n=QH.exec(e);if(!n)return e;var i,r="",s=0,o=0;for(s=n.index;stypeof c=="string"?ei(a,c):c(a,l,t))):(e!=="$key"&&hQ(a)&&"$value"in a&&(a=a.$value),[hQ(a)?ei(a,e):a])},o=function(a,l){if(i)return i(a.value,l.value);for(let c=0,u=a.key.length;cl.key[c])return 1}return 0};return t.map((a,l)=>({value:a,index:l,key:s?s(a,l):null})).sort((a,l)=>{let c=o(a,l);return c||(c=a.index-l.index),c*+n}).map(a=>a.value)},fT=function(t,e){let n=null;return t.columns.forEach(i=>{i.id===e&&(n=i)}),n},PH=function(t,e){let n=null;for(let i=0;i{if(!t)throw new Error("Row is required when get row identity");if(typeof e=="string"){if(!e.includes("."))return`${t[e]}`;const n=e.split(".");let i=t;for(const r of n)i=i[r];return`${i}`}else if(typeof e=="function")return e.call(null,t)},ha=function(t,e){const n={};return(t||[]).forEach((i,r)=>{n[In(i,e)]={row:i,index:r}}),n};function kH(t,e){const n={};let i;for(i in t)n[i]=t[i];for(i in e)if(ct(e,i)){const r=e[i];typeof r!="undefined"&&(n[i]=r)}return n}function _$(t){return t===""||t!==void 0&&(t=Number.parseInt(t,10),Number.isNaN(t)&&(t="")),t}function OT(t){return t===""||t!==void 0&&(t=_$(t),Number.isNaN(t)&&(t=80)),t}function Lg(t){return typeof t=="number"?t:typeof t=="string"?/^\d+(?:px)?$/.test(t)?Number.parseInt(t,10):t:null}function CH(...t){return t.length===0?e=>e:t.length===1?t[0]:t.reduce((e,n)=>(...i)=>e(n(...i)))}function vh(t,e,n){let i=!1;const r=t.indexOf(e),s=r!==-1,o=()=>{t.push(e),i=!0},a=()=>{t.splice(r,1),i=!0};return typeof n=="boolean"?n&&!s?o():!n&&s&&a():s?a():o(),i}function TH(t,e,n="children",i="hasChildren"){const r=o=>!(Array.isArray(o)&&o.length);function s(o,a,l){e(o,a,l),a.forEach(c=>{if(c[i]){e(c,null,l+1);return}const u=c[n];r(u)||s(c,u,l+1)})}t.forEach(o=>{if(o[i]){e(o,null,0);return}const a=o[n];r(a)||s(o,a,0)})}let Jh;function RH(t,e,n,i){const{nextZIndex:r}=La();function s(){const O=i==="light",f=document.createElement("div");return f.className=`el-popper ${O?"is-light":"is-dark"}`,e=SH(e),f.innerHTML=e,f.style.zIndex=String(r()),document.body.appendChild(f),f}function o(){const O=document.createElement("div");return O.className="el-popper__arrow",O}function a(){l&&l.update()}Jh=function O(){try{l&&l.destroy(),c&&document.body.removeChild(c),So(t,"mouseenter",a),So(t,"mouseleave",O)}catch{}};let l=null;const c=s(),u=o();return c.appendChild(u),l=i2(t,c,ze({modifiers:[{name:"offset",options:{offset:[0,8]}},{name:"arrow",options:{element:u,padding:10}}]},n)),bs(t,"mouseenter",a),bs(t,"mouseleave",Jh),l}const hT=(t,e,n,i)=>{let r=0,s=t;if(i){if(i[t].colSpan>1)return{};for(let l=0;l=a.value.length-n.states.rightFixedLeafColumnsLength.value&&(o="right");break;default:s=a.value.length-n.states.rightFixedLeafColumnsLength.value&&(o="right")}return o?{direction:o,start:r,after:s}:{}},Q$=(t,e,n,i,r)=>{const s=[],{direction:o,start:a}=hT(e,n,i,r);if(o){const l=o==="left";s.push(`${t}-fixed-column--${o}`),l&&a===i.states.fixedLeafColumnsLength.value-1?s.push("is-last-column"):!l&&a===i.states.columns.value.length-i.states.rightFixedLeafColumnsLength.value&&s.push("is-first-column")}return s};function pQ(t,e){return t+(e.realWidth===null||Number.isNaN(e.realWidth)?Number(e.width):e.realWidth)}const S$=(t,e,n,i)=>{const{direction:r,start:s=0}=hT(t,e,n,i);if(!r)return;const o={},a=r==="left",l=n.states.columns.value;return a?o.left=l.slice(0,t).reduce(pQ,0):o.right=l.slice(s+1).reverse().reduce(pQ,0),o},jl=(t,e)=>{!t||Number.isNaN(t[e])||(t[e]=`${t[e]}px`)};function AH(t){const e=$t(),n=J(!1),i=J([]);return{updateExpandRows:()=>{const l=t.data.value||[],c=t.rowKey.value;if(n.value)i.value=l.slice();else if(c){const u=ha(i.value,c);i.value=l.reduce((O,f)=>{const h=In(f,c);return u[h]&&O.push(f),O},[])}else i.value=[]},toggleRowExpansion:(l,c)=>{vh(i.value,l,c)&&e.emit("expand-change",l,i.value.slice())},setExpandRowKeys:l=>{e.store.assertRowKey();const c=t.data.value||[],u=t.rowKey.value,O=ha(c,u);i.value=l.reduce((f,h)=>{const p=O[h];return p&&f.push(p.row),f},[])},isRowExpanded:l=>{const c=t.rowKey.value;return c?!!ha(i.value,c)[In(l,c)]:i.value.includes(l)},states:{expandRows:i,defaultExpandAll:n}}}function EH(t){const e=$t(),n=J(null),i=J(null),r=c=>{e.store.assertRowKey(),n.value=c,o(c)},s=()=>{n.value=null},o=c=>{const{data:u,rowKey:O}=t;let f=null;O.value&&(f=(M(u)||[]).find(h=>In(h,O.value)===c)),i.value=f,e.emit("current-change",i.value,null)};return{setCurrentRowKey:r,restoreCurrentRowKey:s,setCurrentRowByKey:o,updateCurrentRow:c=>{const u=i.value;if(c&&c!==u){i.value=c,e.emit("current-change",i.value,u);return}!c&&u&&(i.value=null,e.emit("current-change",null,u))},updateCurrentRowData:()=>{const c=t.rowKey.value,u=t.data.value||[],O=i.value;if(!u.includes(O)&&O){if(c){const f=In(O,c);o(f)}else i.value=null;i.value===null&&e.emit("current-change",null,O)}else n.value&&(o(n.value),s())},states:{_currentRowKey:n,currentRow:i}}}function XH(t){const e=J([]),n=J({}),i=J(16),r=J(!1),s=J({}),o=J("hasChildren"),a=J("children"),l=$t(),c=N(()=>{if(!t.rowKey.value)return{};const m=t.data.value||[];return O(m)}),u=N(()=>{const m=t.rowKey.value,d=Object.keys(s.value),g={};return d.length&&d.forEach(v=>{if(s.value[v].length){const b={children:[]};s.value[v].forEach(_=>{const Q=In(_,m);b.children.push(Q),_[o.value]&&!g[Q]&&(g[Q]={children:[]})}),g[v]=b}}),g}),O=m=>{const d=t.rowKey.value,g={};return TH(m,(v,b,_)=>{const Q=In(v,d);Array.isArray(b)?g[Q]={children:b.map(S=>In(S,d)),level:_}:r.value&&(g[Q]={children:[],lazy:!0,level:_})},a.value,o.value),g},f=(m=!1,d=(g=>(g=l.store)==null?void 0:g.states.defaultExpandAll.value)())=>{var g;const v=c.value,b=u.value,_=Object.keys(v),Q={};if(_.length){const S=M(n),P=[],w=(k,C)=>{if(m)return e.value?d||e.value.includes(C):!!(d||(k==null?void 0:k.expanded));{const T=d||e.value&&e.value.includes(C);return!!((k==null?void 0:k.expanded)||T)}};_.forEach(k=>{const C=S[k],T=ze({},v[k]);if(T.expanded=w(C,k),T.lazy){const{loaded:E=!1,loading:A=!1}=C||{};T.loaded=!!E,T.loading=!!A,P.push(k)}Q[k]=T});const x=Object.keys(b);r.value&&x.length&&P.length&&x.forEach(k=>{const C=S[k],T=b[k].children;if(P.includes(k)){if(Q[k].children.length!==0)throw new Error("[ElTable]children must be an empty array.");Q[k].children=T}else{const{loaded:E=!1,loading:A=!1}=C||{};Q[k]={lazy:!0,loaded:!!E,loading:!!A,expanded:w(C,k),children:T,level:""}}})}n.value=Q,(g=l.store)==null||g.updateTableScrollY()};Xe(()=>e.value,()=>{f(!0)}),Xe(()=>c.value,()=>{f()}),Xe(()=>u.value,()=>{f()});const h=m=>{e.value=m,f()},p=(m,d)=>{l.store.assertRowKey();const g=t.rowKey.value,v=In(m,g),b=v&&n.value[v];if(v&&b&&"expanded"in b){const _=b.expanded;d=typeof d=="undefined"?!b.expanded:d,n.value[v].expanded=d,_!==d&&l.emit("expand-change",m,d),l.store.updateTableScrollY()}},y=m=>{l.store.assertRowKey();const d=t.rowKey.value,g=In(m,d),v=n.value[g];r.value&&v&&"loaded"in v&&!v.loaded?$(m,g,v):p(m,void 0)},$=(m,d,g)=>{const{load:v}=l.props;v&&!n.value[d].loaded&&(n.value[d].loading=!0,v(m,g,b=>{if(!Array.isArray(b))throw new TypeError("[ElTable] data must be an array");n.value[d].loading=!1,n.value[d].loaded=!0,n.value[d].expanded=!0,b.length&&(s.value[d]=b),l.emit("expand-change",m,!0)}))};return{loadData:$,loadOrToggle:y,toggleTreeExpansion:p,updateTreeExpandKeys:h,updateTreeData:f,normalize:O,states:{expandRowKeys:e,treeData:n,indent:i,lazy:r,lazyTreeNodeMap:s,lazyColumnIdentifier:o,childrenColumnName:a}}}const WH=(t,e)=>{const n=e.sortingColumn;return!n||typeof n.sortable=="string"?t:xH(t,e.sortProp,e.sortOrder,n.sortMethod,n.sortBy)},yh=t=>{const e=[];return t.forEach(n=>{n.children?e.push.apply(e,yh(n.children)):e.push(n)}),e};function zH(){var t;const e=$t(),{size:n}=xr((t=e.proxy)==null?void 0:t.$props),i=J(null),r=J([]),s=J([]),o=J(!1),a=J([]),l=J([]),c=J([]),u=J([]),O=J([]),f=J([]),h=J([]),p=J([]),y=J(0),$=J(0),m=J(0),d=J(!1),g=J([]),v=J(!1),b=J(!1),_=J(null),Q=J({}),S=J(null),P=J(null),w=J(null),x=J(null),k=J(null);Xe(r,()=>e.state&&E(!1),{deep:!0});const C=()=>{if(!i.value)throw new Error("[ElTable] prop row-key is required")},T=()=>{u.value=a.value.filter(Se=>Se.fixed===!0||Se.fixed==="left"),O.value=a.value.filter(Se=>Se.fixed==="right"),u.value.length>0&&a.value[0]&&a.value[0].type==="selection"&&!a.value[0].fixed&&(a.value[0].fixed=!0,u.value.unshift(a.value[0]));const Ae=a.value.filter(Se=>!Se.fixed);l.value=[].concat(u.value).concat(Ae).concat(O.value);const ae=yh(Ae),pe=yh(u.value),Oe=yh(O.value);y.value=ae.length,$.value=pe.length,m.value=Oe.length,c.value=[].concat(pe).concat(ae).concat(Oe),o.value=u.value.length>0||O.value.length>0},E=(Ae,ae=!1)=>{Ae&&T(),ae?e.state.doLayout():e.state.debouncedUpdateLayout()},A=Ae=>g.value.includes(Ae),R=()=>{d.value=!1,g.value.length&&(g.value=[],e.emit("selection-change",[]))},X=()=>{let Ae;if(i.value){Ae=[];const ae=ha(g.value,i.value),pe=ha(r.value,i.value);for(const Oe in ae)ct(ae,Oe)&&!pe[Oe]&&Ae.push(ae[Oe].row)}else Ae=g.value.filter(ae=>!r.value.includes(ae));if(Ae.length){const ae=g.value.filter(pe=>!Ae.includes(pe));g.value=ae,e.emit("selection-change",ae.slice())}},D=()=>(g.value||[]).slice(),V=(Ae,ae=void 0,pe=!0)=>{if(vh(g.value,Ae,ae)){const Se=(g.value||[]).slice();pe&&e.emit("select",Se,Ae),e.emit("selection-change",Se)}},j=()=>{var Ae,ae;const pe=b.value?!d.value:!(d.value||g.value.length);d.value=pe;let Oe=!1,Se=0;const qe=(ae=(Ae=e==null?void 0:e.store)==null?void 0:Ae.states)==null?void 0:ae.rowKey.value;r.value.forEach((ht,Ct)=>{const Ot=Ct+Se;_.value?_.value.call(null,ht,Ot)&&vh(g.value,ht,pe)&&(Oe=!0):vh(g.value,ht,pe)&&(Oe=!0),Se+=se(In(ht,qe))}),Oe&&e.emit("selection-change",g.value?g.value.slice():[]),e.emit("select-all",g.value)},Z=()=>{const Ae=ha(g.value,i.value);r.value.forEach(ae=>{const pe=In(ae,i.value),Oe=Ae[pe];Oe&&(g.value[Oe.index]=ae)})},ee=()=>{var Ae,ae,pe;if(((Ae=r.value)==null?void 0:Ae.length)===0){d.value=!1;return}let Oe;i.value&&(Oe=ha(g.value,i.value));const Se=function(Ot){return Oe?!!Oe[In(Ot,i.value)]:g.value.includes(Ot)};let qe=!0,ht=0,Ct=0;for(let Ot=0,Pt=(r.value||[]).length;Ot{var ae;if(!e||!e.store)return 0;const{treeData:pe}=e.store.states;let Oe=0;const Se=(ae=pe.value[Ae])==null?void 0:ae.children;return Se&&(Oe+=Se.length,Se.forEach(qe=>{Oe+=se(qe)})),Oe},I=(Ae,ae)=>{Array.isArray(Ae)||(Ae=[Ae]);const pe={};return Ae.forEach(Oe=>{Q.value[Oe.id]=ae,pe[Oe.columnKey||Oe.id]=ae}),pe},ne=(Ae,ae,pe)=>{P.value&&P.value!==Ae&&(P.value.order=null),P.value=Ae,w.value=ae,x.value=pe},H=()=>{let Ae=M(s);Object.keys(Q.value).forEach(ae=>{const pe=Q.value[ae];if(!pe||pe.length===0)return;const Oe=fT({columns:c.value},ae);Oe&&Oe.filterMethod&&(Ae=Ae.filter(Se=>pe.some(qe=>Oe.filterMethod.call(null,qe,Se,Oe))))}),S.value=Ae},re=()=>{r.value=WH(S.value,{sortingColumn:P.value,sortProp:w.value,sortOrder:x.value})},G=(Ae=void 0)=>{Ae&&Ae.filter||H(),re()},Re=Ae=>{const{tableHeaderRef:ae}=e.refs;if(!ae)return;const pe=Object.assign({},ae.filterPanels),Oe=Object.keys(pe);if(!!Oe.length)if(typeof Ae=="string"&&(Ae=[Ae]),Array.isArray(Ae)){const Se=Ae.map(qe=>PH({columns:c.value},qe));Oe.forEach(qe=>{const ht=Se.find(Ct=>Ct.id===qe);ht&&(ht.filteredValue=[])}),e.store.commit("filterChange",{column:Se,values:[],silent:!0,multi:!0})}else Oe.forEach(Se=>{const qe=c.value.find(ht=>ht.id===Se);qe&&(qe.filteredValue=[])}),Q.value={},e.store.commit("filterChange",{column:{},values:[],silent:!0})},_e=()=>{!P.value||(ne(null,null,null),e.store.commit("changeSortCondition",{silent:!0}))},{setExpandRowKeys:ue,toggleRowExpansion:W,updateExpandRows:q,states:F,isRowExpanded:fe}=AH({data:r,rowKey:i}),{updateTreeExpandKeys:he,toggleTreeExpansion:ve,updateTreeData:xe,loadOrToggle:me,states:le}=XH({data:r,rowKey:i}),{updateCurrentRowData:oe,updateCurrentRow:ce,setCurrentRowKey:K,states:ge}=EH({data:r,rowKey:i});return{assertRowKey:C,updateColumns:T,scheduleLayout:E,isSelected:A,clearSelection:R,cleanSelection:X,getSelectionRows:D,toggleRowSelection:V,_toggleAllSelection:j,toggleAllSelection:null,updateSelectionByRowKey:Z,updateAllSelected:ee,updateFilters:I,updateCurrentRow:ce,updateSort:ne,execFilter:H,execSort:re,execQuery:G,clearFilter:Re,clearSort:_e,toggleRowExpansion:W,setExpandRowKeysAdapter:Ae=>{ue(Ae),he(Ae)},setCurrentRowKey:K,toggleRowExpansionAdapter:(Ae,ae)=>{c.value.some(({type:Oe})=>Oe==="expand")?W(Ae,ae):ve(Ae,ae)},isRowExpanded:fe,updateExpandRows:q,updateCurrentRowData:oe,loadOrToggle:me,updateTreeData:xe,states:ze(ze(ze({tableSize:n,rowKey:i,data:r,_data:s,isComplex:o,_columns:a,originColumns:l,columns:c,fixedColumns:u,rightFixedColumns:O,leafColumns:f,fixedLeafColumns:h,rightFixedLeafColumns:p,leafColumnsLength:y,fixedLeafColumnsLength:$,rightFixedLeafColumnsLength:m,isAllSelected:d,selection:g,reserveSelection:v,selectOnIndeterminate:b,selectable:_,filters:Q,filteredData:S,sortingColumn:P,sortProp:w,sortOrder:x,hoverRow:k},F),le),ge)}}function Bg(t,e){return t.map(n=>{var i;return n.id===e.id?e:((i=n.children)!=null&&i.length&&(n.children=Bg(n.children,e)),n)})}function dT(t){t.forEach(e=>{var n,i;e.no=(n=e.getColumnIndex)==null?void 0:n.call(e),(i=e.children)!=null&&i.length&&dT(e.children)}),t.sort((e,n)=>e.no-n.no)}function IH(){const t=$t(),e=zH(),n=Ze("table"),i={setData(o,a){const l=M(o._data)!==a;o.data.value=a,o._data.value=a,t.store.execQuery(),t.store.updateCurrentRowData(),t.store.updateExpandRows(),t.store.updateTreeData(t.store.states.defaultExpandAll.value),M(o.reserveSelection)?(t.store.assertRowKey(),t.store.updateSelectionByRowKey()):l?t.store.clearSelection():t.store.cleanSelection(),t.store.updateAllSelected(),t.$ready&&t.store.scheduleLayout()},insertColumn(o,a,l){const c=M(o._columns);let u=[];l?(l&&!l.children&&(l.children=[]),l.children.push(a),u=Bg(c,l)):(c.push(a),u=c),dT(u),o._columns.value=u,a.type==="selection"&&(o.selectable.value=a.selectable,o.reserveSelection.value=a.reserveSelection),t.$ready&&(t.store.updateColumns(),t.store.scheduleLayout())},removeColumn(o,a,l){const c=M(o._columns)||[];if(l)l.children.splice(l.children.findIndex(u=>u.id===a.id),1),l.children.length===0&&delete l.children,o._columns.value=Bg(c,l);else{const u=c.indexOf(a);u>-1&&(c.splice(u,1),o._columns.value=c)}t.$ready&&(t.store.updateColumns(),t.store.scheduleLayout())},sort(o,a){const{prop:l,order:c,init:u}=a;if(l){const O=M(o.columns).find(f=>f.property===l);O&&(O.order=c,t.store.updateSort(O,l,c),t.store.commit("changeSortCondition",{init:u}))}},changeSortCondition(o,a){const{sortingColumn:l,sortProp:c,sortOrder:u}=o;M(u)===null&&(o.sortingColumn.value=null,o.sortProp.value=null);const O={filter:!0};t.store.execQuery(O),(!a||!(a.silent||a.init))&&t.emit("sort-change",{column:M(l),prop:M(c),order:M(u)}),t.store.updateTableScrollY()},filterChange(o,a){const{column:l,values:c,silent:u}=a,O=t.store.updateFilters(l,c);t.store.execQuery(),u||t.emit("filter-change",O),t.store.updateTableScrollY()},toggleAllSelection(){t.store.toggleAllSelection()},rowSelectedChanged(o,a){t.store.toggleRowSelection(a),t.store.updateAllSelected()},setHoverRow(o,a){o.hoverRow.value=a},setCurrentRow(o,a){t.store.updateCurrentRow(a)}},r=function(o,...a){const l=t.store.mutations;if(l[o])l[o].apply(t,[t.store.states].concat(a));else throw new Error(`Action not found: ${o}`)},s=function(){et(()=>t.layout.updateScrollY.apply(t.layout))};return Je(ze({ns:n},e),{mutations:i,commit:r,updateTableScrollY:s})}const vu={rowKey:"rowKey",defaultExpandAll:"defaultExpandAll",selectOnIndeterminate:"selectOnIndeterminate",indent:"indent",lazy:"lazy",data:"data",["treeProps.hasChildren"]:{key:"lazyColumnIdentifier",default:"hasChildren"},["treeProps.children"]:{key:"childrenColumnName",default:"children"}};function qH(t,e){if(!t)throw new Error("Table is required.");const n=IH();return n.toggleAllSelection=Qo(n._toggleAllSelection,10),Object.keys(vu).forEach(i=>{pT(mT(e,i),i,n)}),UH(n,e),n}function UH(t,e){Object.keys(vu).forEach(n=>{Xe(()=>mT(e,n),i=>{pT(i,n,t)})})}function pT(t,e,n){let i=t,r=vu[e];typeof vu[e]=="object"&&(r=r.key,i=i||vu[e].default),n.states[r].value=i}function mT(t,e){if(e.includes(".")){const n=e.split(".");let i=t;return n.forEach(r=>{i=i[r]}),i}else return t[e]}class DH{constructor(e){this.observers=[],this.table=null,this.store=null,this.columns=[],this.fit=!0,this.showHeader=!0,this.height=J(null),this.scrollX=J(!1),this.scrollY=J(!1),this.bodyWidth=J(null),this.fixedWidth=J(null),this.rightFixedWidth=J(null),this.tableHeight=J(null),this.headerHeight=J(44),this.appendHeight=J(0),this.footerHeight=J(44),this.viewportHeight=J(null),this.bodyHeight=J(null),this.bodyScrollHeight=J(0),this.fixedBodyHeight=J(null),this.gutterWidth=0;for(const n in e)ct(e,n)&&(It(this[n])?this[n].value=e[n]:this[n]=e[n]);if(!this.table)throw new Error("Table is required for Table Layout");if(!this.store)throw new Error("Store is required for Table Layout")}updateScrollY(){if(this.height.value===null)return!1;const n=this.table.refs.bodyWrapper;if(this.table.vnode.el&&n){let i=!0;const r=this.scrollY.value;return this.bodyHeight.value===null?i=!1:i=n.scrollHeight>this.bodyHeight.value,this.scrollY.value=i,r!==i}return!1}setHeight(e,n="height"){if(!qt)return;const i=this.table.vnode.el;if(e=Lg(e),this.height.value=Number(e),!i&&(e||e===0))return et(()=>this.setHeight(e,n));typeof e=="number"?(i.style[n]=`${e}px`,this.updateElsHeight()):typeof e=="string"&&(i.style[n]=e,this.updateElsHeight())}setMaxHeight(e){this.setHeight(e,"max-height")}getFlattenColumns(){const e=[];return this.table.store.states.columns.value.forEach(i=>{i.isColumnGroup?e.push.apply(e,i.columns):e.push(i)}),e}updateElsHeight(){var e,n;if(!this.table.$ready)return et(()=>this.updateElsHeight());const{tableWrapper:i,headerWrapper:r,appendWrapper:s,footerWrapper:o,tableHeader:a,tableBody:l}=this.table.refs;if(i&&i.style.display==="none")return;const{tableLayout:c}=this.table.props;if(this.appendHeight.value=s?s.offsetHeight:0,this.showHeader&&!r&&c==="fixed")return;const u=a||null,O=this.headerDisplayNone(u),f=(r==null?void 0:r.offsetHeight)||0,h=this.headerHeight.value=this.showHeader?f:0;if(this.showHeader&&!O&&f>0&&(this.table.store.states.columns.value||[]).length>0&&h<2)return et(()=>this.updateElsHeight());const p=this.tableHeight.value=(n=(e=this.table)==null?void 0:e.vnode.el)==null?void 0:n.clientHeight,y=this.footerHeight.value=o?o.offsetHeight:0;this.height.value!==null&&(this.bodyHeight.value===null&&requestAnimationFrame(()=>this.updateElsHeight()),this.bodyHeight.value=p-h-y+(o?1:0),this.bodyScrollHeight.value=l==null?void 0:l.scrollHeight),this.fixedBodyHeight.value=this.scrollX.value?this.bodyHeight.value-this.gutterWidth:this.bodyHeight.value,this.viewportHeight.value=this.scrollX.value?p-this.gutterWidth:p,this.updateScrollY(),this.notifyObservers("scrollable")}headerDisplayNone(e){if(!e)return!0;let n=e;for(;n.tagName!=="DIV";){if(getComputedStyle(n).display==="none")return!0;n=n.parentElement}return!1}updateColumnsWidth(){if(!qt)return;const e=this.fit,n=this.table.vnode.el.clientWidth;let i=0;const r=this.getFlattenColumns(),s=r.filter(l=>typeof l.width!="number");if(r.forEach(l=>{typeof l.width=="number"&&l.realWidth&&(l.realWidth=null)}),s.length>0&&e){if(r.forEach(l=>{i+=Number(l.width||l.minWidth||80)}),i<=n){this.scrollX.value=!1;const l=n-i;if(s.length===1)s[0].realWidth=Number(s[0].minWidth||80)+l;else{const c=s.reduce((f,h)=>f+Number(h.minWidth||80),0),u=l/c;let O=0;s.forEach((f,h)=>{if(h===0)return;const p=Math.floor(Number(f.minWidth||80)*u);O+=p,f.realWidth=Number(f.minWidth||80)+p}),s[0].realWidth=Number(s[0].minWidth||80)+l-O}}else this.scrollX.value=!0,s.forEach(l=>{l.realWidth=Number(l.minWidth)});this.bodyWidth.value=Math.max(i,n),this.table.state.resizeState.value.width=this.bodyWidth.value}else r.forEach(l=>{!l.width&&!l.minWidth?l.realWidth=80:l.realWidth=Number(l.width||l.minWidth),i+=l.realWidth}),this.scrollX.value=i>n,this.bodyWidth.value=i;const o=this.store.states.fixedColumns.value;if(o.length>0){let l=0;o.forEach(c=>{l+=Number(c.realWidth||c.width)}),this.fixedWidth.value=l}const a=this.store.states.rightFixedColumns.value;if(a.length>0){let l=0;a.forEach(c=>{l+=Number(c.realWidth||c.width)}),this.rightFixedWidth.value=l}this.notifyObservers("columns")}addObserver(e){this.observers.push(e)}removeObserver(e){const n=this.observers.indexOf(e);n!==-1&&this.observers.splice(n,1)}notifyObservers(e){this.observers.forEach(i=>{var r,s;switch(e){case"columns":(r=i.state)==null||r.onColumnsChange(this);break;case"scrollable":(s=i.state)==null||s.onScrollableChange(this);break;default:throw new Error(`Table Layout don't have event ${e}.`)}})}}const{CheckboxGroup:LH}=Vl,BH=Ce({name:"ElTableFilterPanel",components:{ElCheckbox:Vl,ElCheckboxGroup:LH,ElScrollbar:pc,ElTooltip:Rs,ElIcon:wt,ArrowDown:op,ArrowUp:ap},directives:{ClickOutside:pp},props:{placement:{type:String,default:"bottom-start"},store:{type:Object},column:{type:Object},upDataColumn:{type:Function}},setup(t){const e=$t(),{t:n}=Fn(),i=Ze("table-filter"),r=e==null?void 0:e.parent;r.filterPanels.value[t.column.id]||(r.filterPanels.value[t.column.id]=e);const s=J(!1),o=J(null),a=N(()=>t.column&&t.column.filters),l=N({get:()=>{var v;return(((v=t.column)==null?void 0:v.filteredValue)||[])[0]},set:v=>{c.value&&(typeof v!="undefined"&&v!==null?c.value.splice(0,1,v):c.value.splice(0,1))}}),c=N({get(){return t.column?t.column.filteredValue||[]:[]},set(v){t.column&&t.upDataColumn("filteredValue",v)}}),u=N(()=>t.column?t.column.filterMultiple:!0),O=v=>v.value===l.value,f=()=>{s.value=!1},h=v=>{v.stopPropagation(),s.value=!s.value},p=()=>{s.value=!1},y=()=>{d(c.value),f()},$=()=>{c.value=[],d(c.value),f()},m=v=>{l.value=v,d(typeof v!="undefined"&&v!==null?c.value:[]),f()},d=v=>{t.store.commit("filterChange",{column:t.column,values:v}),t.store.updateAllSelected()};Xe(s,v=>{t.column&&t.upDataColumn("filterOpened",v)},{immediate:!0});const g=N(()=>{var v,b;return(b=(v=o.value)==null?void 0:v.popperRef)==null?void 0:b.contentRef});return{tooltipVisible:s,multiple:u,filteredValue:c,filterValue:l,filters:a,handleConfirm:y,handleReset:$,handleSelect:m,isActive:O,t:n,ns:i,showFilterPanel:h,hideFilterPanel:p,popperPaneRef:g,tooltip:o}}}),MH={key:0},YH=["disabled"],ZH=["label","onClick"];function VH(t,e,n,i,r,s){const o=Pe("el-checkbox"),a=Pe("el-checkbox-group"),l=Pe("el-scrollbar"),c=Pe("arrow-up"),u=Pe("arrow-down"),O=Pe("el-icon"),f=Pe("el-tooltip"),h=Eo("click-outside");return L(),be(f,{ref:"tooltip",visible:t.tooltipVisible,"onUpdate:visible":e[5]||(e[5]=p=>t.tooltipVisible=p),offset:0,placement:t.placement,"show-arrow":!1,"stop-popper-mouse-event":!1,teleported:"",effect:"light",pure:"","popper-class":t.ns.b(),persistent:""},{content:Y(()=>[t.multiple?(L(),ie("div",MH,[U("div",{class:te(t.ns.e("content"))},[B(l,{"wrap-class":t.ns.e("wrap")},{default:Y(()=>[B(a,{modelValue:t.filteredValue,"onUpdate:modelValue":e[0]||(e[0]=p=>t.filteredValue=p),class:te(t.ns.e("checkbox-group"))},{default:Y(()=>[(L(!0),ie(Le,null,Rt(t.filters,p=>(L(),be(o,{key:p.value,label:p.value},{default:Y(()=>[Ee(de(p.text),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue","class"])]),_:1},8,["wrap-class"])],2),U("div",{class:te(t.ns.e("bottom"))},[U("button",{class:te({[t.ns.is("disabled")]:t.filteredValue.length===0}),disabled:t.filteredValue.length===0,type:"button",onClick:e[1]||(e[1]=(...p)=>t.handleConfirm&&t.handleConfirm(...p))},de(t.t("el.table.confirmFilter")),11,YH),U("button",{type:"button",onClick:e[2]||(e[2]=(...p)=>t.handleReset&&t.handleReset(...p))},de(t.t("el.table.resetFilter")),1)],2)])):(L(),ie("ul",{key:1,class:te(t.ns.e("list"))},[U("li",{class:te([t.ns.e("list-item"),{[t.ns.is("active")]:t.filterValue===void 0||t.filterValue===null}]),onClick:e[3]||(e[3]=p=>t.handleSelect(null))},de(t.t("el.table.clearFilter")),3),(L(!0),ie(Le,null,Rt(t.filters,p=>(L(),ie("li",{key:p.value,class:te([t.ns.e("list-item"),t.ns.is("active",t.isActive(p))]),label:p.value,onClick:y=>t.handleSelect(p.value)},de(p.text),11,ZH))),128))],2))]),default:Y(()=>[it((L(),ie("span",{class:te([`${t.ns.namespace.value}-table__column-filter-trigger`,`${t.ns.namespace.value}-none-outline`]),onClick:e[4]||(e[4]=(...p)=>t.showFilterPanel&&t.showFilterPanel(...p))},[B(O,null,{default:Y(()=>[t.column.filterOpened?(L(),be(c,{key:0})):(L(),be(u,{key:1}))]),_:1})],2)),[[h,t.hideFilterPanel,t.popperPaneRef]])]),_:1},8,["visible","placement","popper-class"])}var jH=Me(BH,[["render",VH],["__file","/home/runner/work/element-plus/element-plus/packages/components/table/src/filter-panel.vue"]]);function gT(t){const e=$t();Yd(()=>{n.value.addObserver(e)}),xt(()=>{i(n.value),r(n.value)}),Ps(()=>{i(n.value),r(n.value)}),Wa(()=>{n.value.removeObserver(e)});const n=N(()=>{const s=t.layout;if(!s)throw new Error("Can not find table layout.");return s}),i=s=>{var o;const a=((o=t.vnode.el)==null?void 0:o.querySelectorAll("colgroup > col"))||[];if(!a.length)return;const l=s.getFlattenColumns(),c={};l.forEach(u=>{c[u.id]=u});for(let u=0,O=a.length;u{var o,a;const l=((o=t.vnode.el)==null?void 0:o.querySelectorAll("colgroup > col[name=gutter]"))||[];for(let u=0,O=l.length;u{y.stopPropagation()},s=(y,$)=>{!$.filters&&$.sortable?p(y,$,!1):$.filterable&&!$.sortable&&r(y),i==null||i.emit("header-click",$,y)},o=(y,$)=>{i==null||i.emit("header-contextmenu",$,y)},a=J(null),l=J(!1),c=J({}),u=(y,$)=>{if(!!qt&&!($.children&&$.children.length>0)&&a.value&&t.border){l.value=!0;const m=i;e("set-drag-visible",!0);const g=(m==null?void 0:m.vnode.el).getBoundingClientRect().left,v=n.vnode.el.querySelector(`th.${$.id}`),b=v.getBoundingClientRect(),_=b.left-g+30;Bu(v,"noclick"),c.value={startMouseLeft:y.clientX,startLeft:b.right-g,startColumnLeft:b.left-g,tableLeft:g};const Q=m==null?void 0:m.refs.resizeProxy;Q.style.left=`${c.value.startLeft}px`,document.onselectstart=function(){return!1},document.ondragstart=function(){return!1};const S=w=>{const x=w.clientX-c.value.startMouseLeft,k=c.value.startLeft+x;Q.style.left=`${Math.max(_,k)}px`},P=()=>{if(l.value){const{startColumnLeft:w,startLeft:x}=c.value,C=Number.parseInt(Q.style.left,10)-w;$.width=$.realWidth=C,m==null||m.emit("header-dragend",$.width,x-w,$,y),requestAnimationFrame(()=>{t.store.scheduleLayout(!1,!0)}),document.body.style.cursor="",l.value=!1,a.value=null,c.value={},e("set-drag-visible",!1)}document.removeEventListener("mousemove",S),document.removeEventListener("mouseup",P),document.onselectstart=null,document.ondragstart=null,setTimeout(()=>{wo(v,"noclick")},0)};document.addEventListener("mousemove",S),document.addEventListener("mouseup",P)}},O=(y,$)=>{if($.children&&$.children.length>0)return;let m=y.target;for(;m&&m.tagName!=="TH";)m=m.parentNode;if(!(!$||!$.resizable)&&!l.value&&t.border){const d=m.getBoundingClientRect(),g=document.body.style;d.width>12&&d.right-y.pageX<8?(g.cursor="col-resize",po(m,"is-sortable")&&(m.style.cursor="col-resize"),a.value=$):l.value||(g.cursor="",po(m,"is-sortable")&&(m.style.cursor="pointer"),a.value=null)}},f=()=>{!qt||(document.body.style.cursor="")},h=({order:y,sortOrders:$})=>{if(y==="")return $[0];const m=$.indexOf(y||null);return $[m>$.length-2?0:m+1]},p=(y,$,m)=>{y.stopPropagation();const d=$.order===m?null:m||h($);let g=y.target;for(;g&&g.tagName!=="TH";)g=g.parentNode;if(g&&g.tagName==="TH"&&po(g,"noclick")){wo(g,"noclick");return}if(!$.sortable)return;const v=t.store.states;let b=v.sortProp.value,_;const Q=v.sortingColumn.value;(Q!==$||Q===$&&Q.order===null)&&(Q&&(Q.order=null),v.sortingColumn.value=$,b=$.property),d?_=$.order=d:_=$.order=null,v.sortProp.value=b,v.sortOrder.value=_,i==null||i.store.commit("changeSortCondition")};return{handleHeaderClick:s,handleHeaderContextMenu:o,handleMouseDown:u,handleMouseMove:O,handleMouseOut:f,handleSortClick:p,handleFilterClick:r}}function FH(t){const e=De(ts),n=Ze("table");return{getHeaderRowStyle:a=>{const l=e==null?void 0:e.props.headerRowStyle;return typeof l=="function"?l.call(null,{rowIndex:a}):l},getHeaderRowClass:a=>{const l=[],c=e==null?void 0:e.props.headerRowClassName;return typeof c=="string"?l.push(c):typeof c=="function"&&l.push(c.call(null,{rowIndex:a})),l.join(" ")},getHeaderCellStyle:(a,l,c,u)=>{var O;let f=(O=e==null?void 0:e.props.headerCellStyle)!=null?O:{};typeof f=="function"&&(f=f.call(null,{rowIndex:a,columnIndex:l,row:c,column:u}));const h=u.isSubColumn?null:S$(l,u.fixed,t.store,c);return jl(h,"left"),jl(h,"right"),Object.assign({},f,h)},getHeaderCellClass:(a,l,c,u)=>{const O=u.isSubColumn?[]:Q$(n.b(),l,u.fixed,t.store,c),f=[u.id,u.order,u.headerAlign,u.className,u.labelClassName,...O];u.children||f.push("is-leaf"),u.sortable&&f.push("is-sortable");const h=e==null?void 0:e.props.headerCellClassName;return typeof h=="string"?f.push(h):typeof h=="function"&&f.push(h.call(null,{rowIndex:a,columnIndex:l,row:c,column:u})),f.push(n.e("cell")),f.filter(p=>Boolean(p)).join(" ")}}}const vT=t=>{const e=[];return t.forEach(n=>{n.children?(e.push(n),e.push.apply(e,vT(n.children))):e.push(n)}),e},GH=t=>{let e=1;const n=(s,o)=>{if(o&&(s.level=o.level+1,e{n(l,s),a+=l.colSpan}),s.colSpan=a}else s.colSpan=1};t.forEach(s=>{s.level=1,n(s,void 0)});const i=[];for(let s=0;s{s.children?(s.rowSpan=1,s.children.forEach(o=>o.isSubColumn=!0)):s.rowSpan=e-s.level+1,i[s.level-1].push(s)}),i};function HH(t){const e=De(ts),n=N(()=>GH(t.store.states.originColumns.value));return{isGroup:N(()=>{const s=n.value.length>1;return s&&e&&(e.state.isGroup.value=!0),s}),toggleAllSelection:s=>{s.stopPropagation(),e==null||e.store.commit("toggleAllSelection")},columnRows:n}}var KH=Ce({name:"ElTableHeader",components:{ElCheckbox:Vl},props:{fixed:{type:String,default:""},store:{required:!0,type:Object},border:Boolean,defaultSort:{type:Object,default:()=>({prop:"",order:""})}},setup(t,{emit:e}){const n=$t(),i=De(ts),r=Ze("table"),s=J({}),{onColumnsChange:o,onScrollableChange:a}=gT(i);xt(async()=>{await et(),await et();const{prop:_,order:Q}=t.defaultSort;i==null||i.store.commit("sort",{prop:_,order:Q,init:!0})});const{handleHeaderClick:l,handleHeaderContextMenu:c,handleMouseDown:u,handleMouseMove:O,handleMouseOut:f,handleSortClick:h,handleFilterClick:p}=NH(t,e),{getHeaderRowStyle:y,getHeaderRowClass:$,getHeaderCellStyle:m,getHeaderCellClass:d}=FH(t),{isGroup:g,toggleAllSelection:v,columnRows:b}=HH(t);return n.state={onColumnsChange:o,onScrollableChange:a},n.filterPanels=s,{ns:r,filterPanels:s,onColumnsChange:o,onScrollableChange:a,columnRows:b,getHeaderRowClass:$,getHeaderRowStyle:y,getHeaderCellClass:d,getHeaderCellStyle:m,handleHeaderClick:l,handleHeaderContextMenu:c,handleMouseDown:u,handleMouseMove:O,handleMouseOut:f,handleSortClick:h,handleFilterClick:p,isGroup:g,toggleAllSelection:v}},render(){const{ns:t,isGroup:e,columnRows:n,getHeaderCellStyle:i,getHeaderCellClass:r,getHeaderRowClass:s,getHeaderRowStyle:o,handleHeaderClick:a,handleHeaderContextMenu:l,handleMouseDown:c,handleMouseMove:u,handleSortClick:O,handleMouseOut:f,store:h,$parent:p}=this;let y=1;return Ke("thead",{class:{[t.is("group")]:e}},n.map(($,m)=>Ke("tr",{class:s(m),key:m,style:o(m)},$.map((d,g)=>(d.rowSpan>y&&(y=d.rowSpan),Ke("th",{class:r(m,g,$,d),colspan:d.colSpan,key:`${d.id}-thead`,rowspan:d.rowSpan,style:i(m,g,$,d),onClick:v=>a(v,d),onContextmenu:v=>l(v,d),onMousedown:v=>c(v,d),onMousemove:v=>u(v,d),onMouseout:f},[Ke("div",{class:["cell",d.filteredValue&&d.filteredValue.length>0?"highlight":"",d.labelClassName]},[d.renderHeader?d.renderHeader({column:d,$index:g,store:h,_self:p}):d.label,d.sortable&&Ke("span",{onClick:v=>O(v,d),class:"caret-wrapper"},[Ke("i",{onClick:v=>O(v,d,"ascending"),class:"sort-caret ascending"}),Ke("i",{onClick:v=>O(v,d,"descending"),class:"sort-caret descending"})]),d.filterable&&Ke(jH,{store:h,placement:d.filterPlacement||"bottom-start",column:d,upDataColumn:(v,b)=>{d[v]=b}})])]))))))}});function JH(t){const e=De(ts),n=J(""),i=J(Ke("div")),r=(f,h,p)=>{var y;const $=e,m=U0(f);let d;const g=(y=$==null?void 0:$.vnode.el)==null?void 0:y.dataset.prefix;m&&(d=dQ({columns:t.store.states.columns.value},m,g),d&&($==null||$.emit(`cell-${p}`,h,d,m,f))),$==null||$.emit(`row-${p}`,h,d,f)},s=(f,h)=>{r(f,h,"dblclick")},o=(f,h)=>{t.store.commit("setCurrentRow",h),r(f,h,"click")},a=(f,h)=>{r(f,h,"contextmenu")},l=Qo(f=>{t.store.commit("setHoverRow",f)},30),c=Qo(()=>{t.store.commit("setHoverRow",null)},30);return{handleDoubleClick:s,handleClick:o,handleContextMenu:a,handleMouseEnter:l,handleMouseLeave:c,handleCellMouseEnter:(f,h)=>{var p;const y=e,$=U0(f),m=(p=y==null?void 0:y.vnode.el)==null?void 0:p.dataset.prefix;if($){const _=dQ({columns:t.store.states.columns.value},$,m),Q=y.hoverState={cell:$,column:_,row:h};y==null||y.emit("cell-mouse-enter",Q.row,Q.column,Q.cell,f)}const d=f.target.querySelector(".cell");if(!(po(d,`${m}-tooltip`)&&d.childNodes.length))return;const g=document.createRange();g.setStart(d,0),g.setEnd(d,d.childNodes.length);const v=g.getBoundingClientRect().width,b=(Number.parseInt(hs(d,"paddingLeft"),10)||0)+(Number.parseInt(hs(d,"paddingRight"),10)||0);(v+b>d.offsetWidth||d.scrollWidth>d.offsetWidth)&&RH($,$.innerText||$.textContent,{placement:"top",strategy:"fixed"},h.tooltipEffect)},handleCellMouseLeave:f=>{if(!U0(f))return;const p=e==null?void 0:e.hoverState;e==null||e.emit("cell-mouse-leave",p==null?void 0:p.row,p==null?void 0:p.column,p==null?void 0:p.cell,f)},tooltipContent:n,tooltipTrigger:i}}function eK(t){const e=De(ts),n=Ze("table");return{getRowStyle:(c,u)=>{const O=e==null?void 0:e.props.rowStyle;return typeof O=="function"?O.call(null,{row:c,rowIndex:u}):O||null},getRowClass:(c,u)=>{const O=[n.e("row")];(e==null?void 0:e.props.highlightCurrentRow)&&c===t.store.states.currentRow.value&&O.push("current-row"),t.stripe&&u%2===1&&O.push(n.em("row","striped"));const f=e==null?void 0:e.props.rowClassName;return typeof f=="string"?O.push(f):typeof f=="function"&&O.push(f.call(null,{row:c,rowIndex:u})),O},getCellStyle:(c,u,O,f)=>{const h=e==null?void 0:e.props.cellStyle;let p=h!=null?h:{};typeof h=="function"&&(p=h.call(null,{rowIndex:c,columnIndex:u,row:O,column:f}));const y=f.isSubColumn?null:S$(u,t==null?void 0:t.fixed,t.store);return jl(y,"left"),jl(y,"right"),Object.assign({},p,y)},getCellClass:(c,u,O,f)=>{const h=f.isSubColumn?[]:Q$(n.b(),u,t==null?void 0:t.fixed,t.store),p=[f.id,f.align,f.className,...h],y=e==null?void 0:e.props.cellClassName;return typeof y=="string"?p.push(y):typeof y=="function"&&p.push(y.call(null,{rowIndex:c,columnIndex:u,row:O,column:f})),p.push(n.e("cell")),p.filter($=>Boolean($)).join(" ")},getSpan:(c,u,O,f)=>{let h=1,p=1;const y=e==null?void 0:e.props.spanMethod;if(typeof y=="function"){const $=y({row:c,column:u,rowIndex:O,columnIndex:f});Array.isArray($)?(h=$[0],p=$[1]):typeof $=="object"&&(h=$.rowspan,p=$.colspan)}return{rowspan:h,colspan:p}},getColspanRealWidth:(c,u,O)=>{if(u<1)return c[O].realWidth;const f=c.map(({realWidth:h,width:p})=>h||p).slice(O,O+u);return Number(f.reduce((h,p)=>Number(h)+Number(p),-1))}}}function tK(t){const e=De(ts),{handleDoubleClick:n,handleClick:i,handleContextMenu:r,handleMouseEnter:s,handleMouseLeave:o,handleCellMouseEnter:a,handleCellMouseLeave:l,tooltipContent:c,tooltipTrigger:u}=JH(t),{getRowStyle:O,getRowClass:f,getCellStyle:h,getCellClass:p,getSpan:y,getColspanRealWidth:$}=eK(t),m=N(()=>t.store.states.columns.value.findIndex(({type:_})=>_==="default")),d=(_,Q)=>{const S=e.props.rowKey;return S?In(_,S):Q},g=(_,Q,S,P=!1)=>{const{tooltipEffect:w,store:x}=t,{indent:k,columns:C}=x.states,T=f(_,Q);let E=!0;return S&&(T.push(`el-table__row--level-${S.level}`),E=S.display),Ke("tr",{style:[E?null:{display:"none"},O(_,Q)],class:T,key:d(_,Q),onDblclick:R=>n(R,_),onClick:R=>i(R,_),onContextmenu:R=>r(R,_),onMouseenter:()=>s(Q),onMouseleave:o},C.value.map((R,X)=>{const{rowspan:D,colspan:V}=y(_,R,Q,X);if(!D||!V)return null;const j=ze({},R);j.realWidth=$(C.value,V,X);const Z={store:t.store,_self:t.context||e,column:j,row:_,$index:Q,cellIndex:X,expanded:P};X===m.value&&S&&(Z.treeNode={indent:S.level*k.value,level:S.level},typeof S.expanded=="boolean"&&(Z.treeNode.expanded=S.expanded,"loading"in S&&(Z.treeNode.loading=S.loading),"noLazyChildren"in S&&(Z.treeNode.noLazyChildren=S.noLazyChildren)));const ee=`${Q},${X}`,se=j.columnKey||j.rawColumnKey||"",I=v(X,R,Z);return Ke("td",{style:h(Q,X,_,R),class:p(Q,X,_,R),key:`${se}${ee}`,rowspan:D,colspan:V,onMouseenter:ne=>a(ne,Je(ze({},_),{tooltipEffect:w})),onMouseleave:l},[I])}))},v=(_,Q,S)=>Q.renderCell(S);return{wrappedRowRender:(_,Q)=>{const S=t.store,{isRowExpanded:P,assertRowKey:w}=S,{treeData:x,lazyTreeNodeMap:k,childrenColumnName:C,rowKey:T}=S.states,E=S.states.columns.value;if(E.some(({type:R})=>R==="expand")){const R=P(_),X=g(_,Q,void 0,R),D=e.renderExpanded;return R?D?[[X,Ke("tr",{key:`expanded-row__${X.key}`},[Ke("td",{colspan:E.length,class:"el-table__cell el-table__expanded-cell"},[D({row:_,$index:Q,store:S,expanded:R})])])]]:(console.error("[Element Error]renderExpanded is required."),X):[[X]]}else if(Object.keys(x.value).length){w();const R=In(_,T.value);let X=x.value[R],D=null;X&&(D={expanded:X.expanded,level:X.level,display:!0},typeof X.lazy=="boolean"&&(typeof X.loaded=="boolean"&&X.loaded&&(D.noLazyChildren=!(X.children&&X.children.length)),D.loading=X.loading));const V=[g(_,Q,D)];if(X){let j=0;const Z=(se,I)=>{!(se&&se.length&&I)||se.forEach(ne=>{const H={display:I.display&&I.expanded,level:I.level+1,expanded:!1,noLazyChildren:!1,loading:!1},re=In(ne,T.value);if(re==null)throw new Error("For nested data item, row-key is required.");if(X=ze({},x.value[re]),X&&(H.expanded=X.expanded,X.level=X.level||H.level,X.display=!!(X.expanded&&H.display),typeof X.lazy=="boolean"&&(typeof X.loaded=="boolean"&&X.loaded&&(H.noLazyChildren=!(X.children&&X.children.length)),H.loading=X.loading)),j++,V.push(g(ne,Q+j,H)),X){const G=k.value[re]||ne[C.value];Z(G,X)}})};X.display=!0;const ee=k.value[R]||_[C.value];Z(ee,X)}return V}else return g(_,Q,void 0)},tooltipContent:c,tooltipTrigger:u}}const nK={store:{required:!0,type:Object},stripe:Boolean,tooltipEffect:String,context:{default:()=>({}),type:Object},rowClassName:[String,Function],rowStyle:[Object,Function],fixed:{type:String,default:""},highlight:Boolean};var iK=Ce({name:"ElTableBody",props:nK,setup(t){const e=$t(),n=De(ts),i=Ze("table"),{wrappedRowRender:r,tooltipContent:s,tooltipTrigger:o}=tK(t),{onColumnsChange:a,onScrollableChange:l}=gT(n);return Xe(t.store.states.hoverRow,(c,u)=>{if(!t.store.states.isComplex.value||!qt)return;let O=window.requestAnimationFrame;O||(O=f=>window.setTimeout(f,16)),O(()=>{var f;const h=(f=e==null?void 0:e.vnode.el)==null?void 0:f.querySelectorAll(`.${i.e("row")}`),p=h[u],y=h[c];p&&wo(p,"hover-row"),y&&Bu(y,"hover-row")})}),Wa(()=>{var c;(c=Jh)==null||c()}),Ps(()=>{var c;(c=Jh)==null||c()}),{ns:i,onColumnsChange:a,onScrollableChange:l,wrappedRowRender:r,tooltipContent:s,tooltipTrigger:o}},render(){const{wrappedRowRender:t,store:e}=this,n=e.states.data.value||[];return Ke("tbody",{},[n.reduce((i,r)=>i.concat(t(r,i.length)),[])])}});function w$(t){const e=t.tableLayout==="auto";let n=t.columns||[];e&&n.every(r=>r.width===void 0)&&(n=[]);const i=r=>{const s={key:`${t.tableLayout}_${r.id}`,style:{},name:void 0};return e?s.style={width:`${r.width}px`}:s.name=r.id,s};return Ke("colgroup",{},n.map(r=>Ke("col",i(r))))}w$.props=["columns","tableLayout"];function rK(){const t=De(ts),e=t==null?void 0:t.store,n=N(()=>e.states.fixedLeafColumnsLength.value),i=N(()=>e.states.rightFixedColumns.value.length),r=N(()=>e.states.columns.value.length),s=N(()=>e.states.fixedColumns.value.length),o=N(()=>e.states.rightFixedColumns.value.length);return{leftFixedLeafCount:n,rightFixedLeafCount:i,columnsCount:r,leftFixedCount:s,rightFixedCount:o,columns:e.states.columns}}function sK(t){const{columns:e}=rK(),n=Ze("table");return{getCellClasses:(s,o)=>{const a=s[o],l=[n.e("cell"),a.id,a.align,a.labelClassName,...Q$(n.b(),o,a.fixed,t.store)];return a.className&&l.push(a.className),a.children||l.push(n.is("leaf")),l},getCellStyles:(s,o)=>{const a=S$(o,s.fixed,t.store);return jl(a,"left"),jl(a,"right"),a},columns:e}}var oK=Ce({name:"ElTableFooter",props:{fixed:{type:String,default:""},store:{required:!0,type:Object},summaryMethod:Function,sumText:String,border:Boolean,defaultSort:{type:Object,default:()=>({prop:"",order:""})}},setup(t){const{getCellClasses:e,getCellStyles:n,columns:i}=sK(t);return{ns:Ze("table"),getCellClasses:e,getCellStyles:n,columns:i}},render(){const{columns:t,getCellStyles:e,getCellClasses:n,summaryMethod:i,sumText:r,ns:s}=this,o=this.store.states.data.value;let a=[];return i?a=i({columns:t,data:o}):t.forEach((l,c)=>{if(c===0){a[c]=r;return}const u=o.map(p=>Number(p[l.property])),O=[];let f=!0;u.forEach(p=>{if(!Number.isNaN(+p)){f=!1;const y=`${p}`.split(".")[1];O.push(y?y.length:0)}});const h=Math.max.apply(null,O);f?a[c]="":a[c]=u.reduce((p,y)=>{const $=Number(y);return Number.isNaN(+$)?p:Number.parseFloat((p+y).toFixed(Math.min(h,20)))},0)}),Ke("table",{class:s.e("footer"),cellspacing:"0",cellpadding:"0",border:"0"},[w$({columns:t}),Ke("tbody",[Ke("tr",{},[...t.map((l,c)=>Ke("td",{key:c,colspan:l.colSpan,rowspan:l.rowSpan,class:n(t,c),style:e(l,c)},[Ke("div",{class:["cell",l.labelClassName]},[a[c]])]))])])])}});function aK(t){return{setCurrentRow:u=>{t.commit("setCurrentRow",u)},getSelectionRows:()=>t.getSelectionRows(),toggleRowSelection:(u,O)=>{t.toggleRowSelection(u,O,!1),t.updateAllSelected()},clearSelection:()=>{t.clearSelection()},clearFilter:u=>{t.clearFilter(u)},toggleAllSelection:()=>{t.commit("toggleAllSelection")},toggleRowExpansion:(u,O)=>{t.toggleRowExpansionAdapter(u,O)},clearSort:()=>{t.clearSort()},sort:(u,O)=>{t.commit("sort",{prop:u,order:O})}}}function lK(t,e,n,i){const r=J(!1),s=J(null),o=J(!1),a=X=>{o.value=X},l=J({width:null,height:null}),c=J(!1),u={display:"inline-block",verticalAlign:"middle"},O=J();va(()=>{e.setHeight(t.height)}),va(()=>{e.setMaxHeight(t.maxHeight)}),Xe(()=>[t.currentRowKey,n.states.rowKey],([X,D])=>{!M(D)||n.setCurrentRowKey(`${X}`)},{immediate:!0}),Xe(()=>t.data,X=>{i.store.commit("setData",X)},{immediate:!0,deep:!0}),va(()=>{t.expandRowKeys&&n.setExpandRowKeysAdapter(t.expandRowKeys)});const f=()=>{i.store.commit("setHoverRow",null),i.hoverState&&(i.hoverState=null)},h=(X,D)=>{const{pixelX:V,pixelY:j}=D;Math.abs(V)>=Math.abs(j)&&(i.refs.bodyWrapper.scrollLeft+=D.pixelX/5)},p=N(()=>t.height||t.maxHeight||n.states.fixedColumns.value.length>0||n.states.rightFixedColumns.value.length>0),y=N(()=>({width:e.bodyWidth.value?`${e.bodyWidth.value}px`:""})),$=()=>{p.value&&e.updateElsHeight(),e.updateColumnsWidth(),requestAnimationFrame(v)};xt(async()=>{await et(),n.updateColumns(),b(),requestAnimationFrame($),l.value={width:O.value=i.vnode.el.offsetWidth,height:i.vnode.el.offsetHeight},n.states.columns.value.forEach(X=>{X.filteredValue&&X.filteredValue.length&&i.store.commit("filterChange",{column:X,values:X.filteredValue,silent:!0})}),i.$ready=!0});const m=(X,D)=>{if(!X)return;const V=Array.from(X.classList).filter(j=>!j.startsWith("is-scrolling-"));V.push(e.scrollX.value?D:"is-scrolling-none"),X.className=V.join(" ")},d=X=>{const{tableWrapper:D}=i.refs;m(D,X)},g=X=>{const{tableWrapper:D}=i.refs;return!!(D&&D.classList.contains(X))},v=function(){if(!i.refs.scrollBarRef)return;if(!e.scrollX.value){const I="is-scrolling-none";g(I)||d(I);return}const X=i.refs.scrollBarRef.wrap$;if(!X)return;const{scrollLeft:D,offsetWidth:V,scrollWidth:j}=X,{headerWrapper:Z,footerWrapper:ee}=i.refs;Z&&(Z.scrollLeft=D),ee&&(ee.scrollLeft=D);const se=j-V-1;D>=se?d("is-scrolling-right"):d(D===0?"is-scrolling-left":"is-scrolling-middle")},b=()=>{var X;!i.refs.scrollBarRef||((X=i.refs.scrollBarRef.wrap$)==null||X.addEventListener("scroll",v,{passive:!0}),t.fit?Hy(i.vnode.el,Q):bs(window,"resize",$))};Qn(()=>{_()});const _=()=>{var X;(X=i.refs.scrollBarRef.wrap$)==null||X.removeEventListener("scroll",v,!0),t.fit?Ky(i.vnode.el,Q):So(window,"resize",$)},Q=()=>{if(!i.$ready)return;let X=!1;const D=i.vnode.el,{width:V,height:j}=l.value,Z=O.value=D.offsetWidth;V!==Z&&(X=!0);const ee=D.offsetHeight;(t.height||p.value)&&j!==ee&&(X=!0),X&&(l.value={width:Z,height:ee},$())},S=Ln(),P=N(()=>{const{bodyWidth:X,scrollY:D,gutterWidth:V}=e;return X.value?`${X.value-(D.value?V:0)}px`:""}),w=N(()=>t.maxHeight?"fixed":t.tableLayout);function x(X,D,V){const j=Lg(X),Z=t.showHeader?V:0;if(j!==null)return ot(j)?`calc(${j} - ${D}px - ${Z}px)`:j-D-Z}const k=N(()=>{const X=e.headerHeight.value||0,D=e.bodyHeight.value,V=e.footerHeight.value||0;if(t.height)return D||void 0;if(t.maxHeight)return x(t.maxHeight,V,X)}),C=N(()=>{const X=e.headerHeight.value||0,D=e.bodyHeight.value,V=e.footerHeight.value||0;if(t.height)return{height:D?`${D}px`:""};if(t.maxHeight){const j=x(t.maxHeight,V,X);if(j!==null)return{"max-height":`${j}${Bt(j)?"px":""}`}}return{}}),T=N(()=>{if(t.data&&t.data.length)return null;let X="100%";return e.appendHeight.value&&(X=`calc(100% - ${e.appendHeight.value}px)`),{width:O.value?`${O.value}px`:"",height:X}}),E=(X,D)=>{const V=i.refs.bodyWrapper;if(Math.abs(D.spinY)>0){const j=V.scrollTop;D.pixelY<0&&j!==0&&X.preventDefault(),D.pixelY>0&&V.scrollHeight-V.clientHeight>j&&X.preventDefault(),V.scrollTop+=Math.ceil(D.pixelY/5)}else V.scrollLeft+=Math.ceil(D.pixelX/5)},A=N(()=>t.maxHeight?t.showSummary?{bottom:0}:{bottom:e.scrollX.value&&t.data.length?`${e.gutterWidth}px`:""}:t.showSummary?{height:e.tableHeight.value?`${e.tableHeight.value}px`:""}:{height:e.viewportHeight.value?`${e.viewportHeight.value}px`:""}),R=N(()=>{if(t.height)return{height:e.fixedBodyHeight.value?`${e.fixedBodyHeight.value}px`:""};if(t.maxHeight){let X=Lg(t.maxHeight);if(typeof X=="number")return X=e.scrollX.value?X-e.gutterWidth:X,t.showHeader&&(X-=e.headerHeight.value),X-=e.footerHeight.value,{"max-height":`${X}px`}}return{}});return{isHidden:r,renderExpanded:s,setDragVisible:a,isGroup:c,handleMouseLeave:f,handleHeaderFooterMousewheel:h,tableSize:S,bodyHeight:C,height:k,emptyBlockStyle:T,handleFixedMousewheel:E,fixedHeight:A,fixedBodyHeight:R,resizeProxyVisible:o,bodyWidth:P,resizeState:l,doLayout:$,tableBodyStyles:y,tableLayout:w,scrollbarViewStyle:u}}var cK={data:{type:Array,default:()=>[]},size:String,width:[String,Number],height:[String,Number],maxHeight:[String,Number],fit:{type:Boolean,default:!0},stripe:Boolean,border:Boolean,rowKey:[String,Function],showHeader:{type:Boolean,default:!0},showSummary:Boolean,sumText:String,summaryMethod:Function,rowClassName:[String,Function],rowStyle:[Object,Function],cellClassName:[String,Function],cellStyle:[Object,Function],headerRowClassName:[String,Function],headerRowStyle:[Object,Function],headerCellClassName:[String,Function],headerCellStyle:[Object,Function],highlightCurrentRow:Boolean,currentRowKey:[String,Number],emptyText:String,expandRowKeys:Array,defaultExpandAll:Boolean,defaultSort:Object,tooltipEffect:String,spanMethod:Function,selectOnIndeterminate:{type:Boolean,default:!0},indent:{type:Number,default:16},treeProps:{type:Object,default:()=>({hasChildren:"hasChildren",children:"children"})},lazy:Boolean,load:Function,style:{type:Object,default:()=>({})},className:{type:String,default:""},tableLayout:{type:String,default:"fixed"},scrollbarAlwaysOn:{type:Boolean,default:!1}};const uK=()=>{const t=J(),e=(s,o)=>{const a=t.value;a&&a.scrollTo(s,o)},n=(s,o)=>{const a=t.value;a&&Bt(o)&&["Top","Left"].includes(s)&&a[`setScroll${s}`](o)};return{scrollBarRef:t,scrollTo:e,setScrollTop:s=>n("Top",s),setScrollLeft:s=>n("Left",s)}};let fK=1;const OK=Ce({name:"ElTable",directives:{Mousewheel:GY},components:{TableHeader:KH,TableBody:iK,TableFooter:oK,ElScrollbar:pc,hColgroup:w$},props:cK,emits:["select","select-all","selection-change","cell-mouse-enter","cell-mouse-leave","cell-contextmenu","cell-click","cell-dblclick","row-click","row-contextmenu","row-dblclick","header-click","header-contextmenu","sort-change","filter-change","current-change","header-dragend","expand-change"],setup(t){const{t:e}=Fn(),n=Ze("table"),i=$t();kt(ts,i);const r=qH(i,t);i.store=r;const s=new DH({store:i.store,table:i,fit:t.fit,showHeader:t.showHeader});i.layout=s;const o=N(()=>(r.states.data.value||[]).length===0),{setCurrentRow:a,getSelectionRows:l,toggleRowSelection:c,clearSelection:u,clearFilter:O,toggleAllSelection:f,toggleRowExpansion:h,clearSort:p,sort:y}=aK(r),{isHidden:$,renderExpanded:m,setDragVisible:d,isGroup:g,handleMouseLeave:v,handleHeaderFooterMousewheel:b,tableSize:_,bodyHeight:Q,height:S,emptyBlockStyle:P,handleFixedMousewheel:w,fixedHeight:x,fixedBodyHeight:k,resizeProxyVisible:C,bodyWidth:T,resizeState:E,doLayout:A,tableBodyStyles:R,tableLayout:X,scrollbarViewStyle:D}=lK(t,s,r,i),{scrollBarRef:V,scrollTo:j,setScrollLeft:Z,setScrollTop:ee}=uK(),se=Qo(A,50),I=`el-table_${fK++}`;i.tableId=I,i.state={isGroup:g,resizeState:E,doLayout:A,debouncedUpdateLayout:se};const ne=N(()=>t.sumText||e("el.table.sumText")),H=N(()=>t.emptyText||e("el.table.emptyText"));return{ns:n,layout:s,store:r,handleHeaderFooterMousewheel:b,handleMouseLeave:v,tableId:I,tableSize:_,isHidden:$,isEmpty:o,renderExpanded:m,resizeProxyVisible:C,resizeState:E,isGroup:g,bodyWidth:T,bodyHeight:Q,height:S,tableBodyStyles:R,emptyBlockStyle:P,debouncedUpdateLayout:se,handleFixedMousewheel:w,fixedHeight:x,fixedBodyHeight:k,setCurrentRow:a,getSelectionRows:l,toggleRowSelection:c,clearSelection:u,clearFilter:O,toggleAllSelection:f,toggleRowExpansion:h,clearSort:p,doLayout:A,sort:y,t:e,setDragVisible:d,context:i,computedSumText:ne,computedEmptyText:H,tableLayout:X,scrollbarViewStyle:D,scrollBarRef:V,scrollTo:j,setScrollLeft:Z,setScrollTop:ee}}}),hK=["data-prefix"],dK={ref:"hiddenColumns",class:"hidden-columns"};function pK(t,e,n,i,r,s){const o=Pe("hColgroup"),a=Pe("table-header"),l=Pe("table-body"),c=Pe("el-scrollbar"),u=Pe("table-footer"),O=Eo("mousewheel");return L(),ie("div",{ref:"tableWrapper",class:te([{[t.ns.m("fit")]:t.fit,[t.ns.m("striped")]:t.stripe,[t.ns.m("border")]:t.border||t.isGroup,[t.ns.m("hidden")]:t.isHidden,[t.ns.m("group")]:t.isGroup,[t.ns.m("fluid-height")]:t.maxHeight,[t.ns.m("scrollable-x")]:t.layout.scrollX.value,[t.ns.m("scrollable-y")]:t.layout.scrollY.value,[t.ns.m("enable-row-hover")]:!t.store.states.isComplex.value,[t.ns.m("enable-row-transition")]:(t.store.states.data.value||[]).length!==0&&(t.store.states.data.value||[]).length<100,"has-footer":t.showSummary},t.ns.m(t.tableSize),t.className,t.ns.b(),t.ns.m(`layout-${t.tableLayout}`)]),style:tt(t.style),"data-prefix":t.ns.namespace.value,onMouseleave:e[0]||(e[0]=f=>t.handleMouseLeave())},[U("div",{class:te(t.ns.e("inner-wrapper"))},[U("div",dK,[We(t.$slots,"default")],512),t.showHeader&&t.tableLayout==="fixed"?it((L(),ie("div",{key:0,ref:"headerWrapper",class:te(t.ns.e("header-wrapper"))},[U("table",{ref:"tableHeader",class:te(t.ns.e("header")),style:tt(t.tableBodyStyles),border:"0",cellpadding:"0",cellspacing:"0"},[B(o,{columns:t.store.states.columns.value,"table-layout":t.tableLayout},null,8,["columns","table-layout"]),B(a,{ref:"tableHeaderRef",border:t.border,"default-sort":t.defaultSort,store:t.store,onSetDragVisible:t.setDragVisible},null,8,["border","default-sort","store","onSetDragVisible"])],6)],2)),[[O,t.handleHeaderFooterMousewheel]]):Qe("v-if",!0),U("div",{ref:"bodyWrapper",style:tt(t.bodyHeight),class:te(t.ns.e("body-wrapper"))},[B(c,{ref:"scrollBarRef",height:t.maxHeight?void 0:t.height,"max-height":t.maxHeight?t.height:void 0,"view-style":t.scrollbarViewStyle,always:t.scrollbarAlwaysOn},{default:Y(()=>[U("table",{ref:"tableBody",class:te(t.ns.e("body")),cellspacing:"0",cellpadding:"0",border:"0",style:tt({width:t.bodyWidth,tableLayout:t.tableLayout})},[B(o,{columns:t.store.states.columns.value,"table-layout":t.tableLayout},null,8,["columns","table-layout"]),t.showHeader&&t.tableLayout==="auto"?(L(),be(a,{key:0,border:t.border,"default-sort":t.defaultSort,store:t.store,onSetDragVisible:t.setDragVisible},null,8,["border","default-sort","store","onSetDragVisible"])):Qe("v-if",!0),B(l,{context:t.context,highlight:t.highlightCurrentRow,"row-class-name":t.rowClassName,"tooltip-effect":t.tooltipEffect,"row-style":t.rowStyle,store:t.store,stripe:t.stripe},null,8,["context","highlight","row-class-name","tooltip-effect","row-style","store","stripe"])],6),t.isEmpty?(L(),ie("div",{key:0,ref:"emptyBlock",style:tt(t.emptyBlockStyle),class:te(t.ns.e("empty-block"))},[U("span",{class:te(t.ns.e("empty-text"))},[We(t.$slots,"empty",{},()=>[Ee(de(t.computedEmptyText),1)])],2)],6)):Qe("v-if",!0),t.$slots.append?(L(),ie("div",{key:1,ref:"appendWrapper",class:te(t.ns.e("append-wrapper"))},[We(t.$slots,"append")],2)):Qe("v-if",!0)]),_:3},8,["height","max-height","view-style","always"])],6),t.border||t.isGroup?(L(),ie("div",{key:1,class:te(t.ns.e("border-left-patch"))},null,2)):Qe("v-if",!0)],2),t.showSummary?it((L(),ie("div",{key:0,ref:"footerWrapper",class:te(t.ns.e("footer-wrapper"))},[B(u,{border:t.border,"default-sort":t.defaultSort,store:t.store,style:tt(t.tableBodyStyles),"sum-text":t.computedSumText,"summary-method":t.summaryMethod},null,8,["border","default-sort","store","style","sum-text","summary-method"])],2)),[[Lt,!t.isEmpty],[O,t.handleHeaderFooterMousewheel]]):Qe("v-if",!0),it(U("div",{ref:"resizeProxy",class:te(t.ns.e("column-resize-proxy"))},null,2),[[Lt,t.resizeProxyVisible]])],46,hK)}var mK=Me(OK,[["render",pK],["__file","/home/runner/work/element-plus/element-plus/packages/components/table/src/table.vue"]]);const gK={selection:"table-column--selection",expand:"table__expand-column"},vK={default:{order:""},selection:{width:48,minWidth:48,realWidth:48,order:""},expand:{width:48,minWidth:48,realWidth:48,order:""},index:{width:48,minWidth:48,realWidth:48,order:""}},yK=t=>gK[t]||"",$K={selection:{renderHeader({store:t}){function e(){return t.states.data.value&&t.states.data.value.length===0}return Ke(Vl,{disabled:e(),size:t.states.tableSize.value,indeterminate:t.states.selection.value.length>0&&!t.states.isAllSelected.value,"onUpdate:modelValue":t.toggleAllSelection,modelValue:t.states.isAllSelected.value})},renderCell({row:t,column:e,store:n,$index:i}){return Ke(Vl,{disabled:e.selectable?!e.selectable.call(null,t,i):!1,size:n.states.tableSize.value,onChange:()=>{n.commit("rowSelectedChanged",t)},onClick:r=>r.stopPropagation(),modelValue:n.isSelected(t)})},sortable:!1,resizable:!1},index:{renderHeader({column:t}){return t.label||"#"},renderCell({column:t,$index:e}){let n=e+1;const i=t.index;return typeof i=="number"?n=e+i:typeof i=="function"&&(n=i(e)),Ke("div",{},[n])},sortable:!1},expand:{renderHeader({column:t}){return t.label||""},renderCell({row:t,store:e,expanded:n}){const{ns:i}=e,r=[i.e("expand-icon")];return n&&r.push(i.em("expand-icon","expanded")),Ke("div",{class:r,onClick:function(o){o.stopPropagation(),e.toggleRowExpansion(t)}},{default:()=>[Ke(wt,null,{default:()=>[Ke(gf)]})]})},sortable:!1,resizable:!1}};function bK({row:t,column:e,$index:n}){var i;const r=e.property,s=r&&ch(t,r).value;return e&&e.formatter?e.formatter(t,e,s,n):((i=s==null?void 0:s.toString)==null?void 0:i.call(s))||""}function _K({row:t,treeNode:e,store:n},i=!1){const{ns:r}=n;if(!e)return i?[Ke("span",{class:r.e("placeholder")})]:null;const s=[],o=function(a){a.stopPropagation(),n.loadOrToggle(t)};if(e.indent&&s.push(Ke("span",{class:r.e("indent"),style:{"padding-left":`${e.indent}px`}})),typeof e.expanded=="boolean"&&!e.noLazyChildren){const a=[r.e("expand-icon"),e.expanded?r.em("expand-icon","expanded"):""];let l=gf;e.loading&&(l=vf),s.push(Ke("div",{class:a,onClick:o},{default:()=>[Ke(wt,{class:{[r.is("loading")]:e.loading}},{default:()=>[Ke(l)]})]}))}else s.push(Ke("span",{class:r.e("placeholder")}));return s}function mQ(t,e){return t.reduce((n,i)=>(n[i]=i,n),e)}function QK(t,e){const n=$t();return{registerComplexWatchers:()=>{const s=["fixed"],o={realWidth:"width",realMinWidth:"minWidth"},a=mQ(s,o);Object.keys(a).forEach(l=>{const c=o[l];ct(e,c)&&Xe(()=>e[c],u=>{let O=u;c==="width"&&l==="realWidth"&&(O=_$(u)),c==="minWidth"&&l==="realMinWidth"&&(O=OT(u)),n.columnConfig.value[c]=O,n.columnConfig.value[l]=O;const f=c==="fixed";t.value.store.scheduleLayout(f)})})},registerNormalWatchers:()=>{const s=["label","filters","filterMultiple","sortable","index","formatter","className","labelClassName","showOverflowTooltip"],o={property:"prop",align:"realAlign",headerAlign:"realHeaderAlign"},a=mQ(s,o);Object.keys(a).forEach(l=>{const c=o[l];ct(e,c)&&Xe(()=>e[c],u=>{n.columnConfig.value[l]=u})})}}}function SK(t,e,n){const i=$t(),r=J(""),s=J(!1),o=J(),a=J(),l=Ze("table");va(()=>{o.value=t.align?`is-${t.align}`:null,o.value}),va(()=>{a.value=t.headerAlign?`is-${t.headerAlign}`:o.value,a.value});const c=N(()=>{let g=i.vnode.vParent||i.parent;for(;g&&!g.tableId&&!g.columnId;)g=g.vnode.vParent||g.parent;return g}),u=N(()=>{const{store:g}=i.parent;if(!g)return!1;const{treeData:v}=g.states,b=v.value;return b&&Object.keys(b).length>0}),O=J(_$(t.width)),f=J(OT(t.minWidth)),h=g=>(O.value&&(g.width=O.value),f.value&&(g.minWidth=f.value),g.minWidth||(g.minWidth=80),g.realWidth=Number(g.width===void 0?g.minWidth:g.width),g),p=g=>{const v=g.type,b=$K[v]||{};Object.keys(b).forEach(Q=>{const S=b[Q];Q!=="className"&&S!==void 0&&(g[Q]=S)});const _=yK(v);if(_){const Q=`${M(l.namespace)}-${_}`;g.className=g.className?`${g.className} ${Q}`:Q}return g},y=g=>{Array.isArray(g)?g.forEach(b=>v(b)):v(g);function v(b){var _;((_=b==null?void 0:b.type)==null?void 0:_.name)==="ElTableColumn"&&(b.vParent=i)}};return{columnId:r,realAlign:o,isSubColumn:s,realHeaderAlign:a,columnOrTableParent:c,setColumnWidth:h,setColumnForcedProps:p,setColumnRenders:g=>{t.renderHeader||g.type!=="selection"&&(g.renderHeader=_=>{i.columnConfig.value.label;const Q=e.header;return Q?Q(_):g.label});let v=g.renderCell;const b=u.value;return g.type==="expand"?(g.renderCell=_=>Ke("div",{class:"cell"},[v(_)]),n.value.renderExpanded=_=>e.default?e.default(_):e.default):(v=v||bK,g.renderCell=_=>{let Q=null;if(e.default){const x=e.default(_);Q=x.some(k=>k.type!==Oi)?x:v(_)}else Q=v(_);const S=b&&_.cellIndex===0,P=_K(_,S),w={class:"cell",style:{}};return g.showOverflowTooltip&&(w.class=`${w.class} ${M(l.namespace)}-tooltip`,w.style={width:`${(_.column.realWidth||Number(_.column.width))-1}px`}),y(Q),Ke("div",w,[P,Q])}),g},getPropsData:(...g)=>g.reduce((v,b)=>(Array.isArray(b)&&b.forEach(_=>{v[_]=t[_]}),v),{}),getColumnElIndex:(g,v)=>Array.prototype.indexOf.call(g,v)}}var wK={type:{type:String,default:"default"},label:String,className:String,labelClassName:String,property:String,prop:String,width:{type:[String,Number],default:""},minWidth:{type:[String,Number],default:""},renderHeader:Function,sortable:{type:[Boolean,String],default:!1},sortMethod:Function,sortBy:[String,Function,Array],resizable:{type:Boolean,default:!0},columnKey:String,align:String,headerAlign:String,showTooltipWhenOverflow:Boolean,showOverflowTooltip:Boolean,fixed:[Boolean,String],formatter:Function,selectable:Function,reserveSelection:Boolean,filterMethod:Function,filteredValue:Array,filters:Array,filterPlacement:String,filterMultiple:{type:Boolean,default:!0},index:[Number,Function],sortOrders:{type:Array,default:()=>["ascending","descending",null],validator:t=>t.every(e=>["ascending","descending",null].includes(e))}};let xK=1;var yT=Ce({name:"ElTableColumn",components:{ElCheckbox:Vl},props:wK,setup(t,{slots:e}){const n=$t(),i=J({}),r=N(()=>{let d=n.parent;for(;d&&!d.tableId;)d=d.parent;return d}),{registerNormalWatchers:s,registerComplexWatchers:o}=QK(r,t),{columnId:a,isSubColumn:l,realHeaderAlign:c,columnOrTableParent:u,setColumnWidth:O,setColumnForcedProps:f,setColumnRenders:h,getPropsData:p,getColumnElIndex:y,realAlign:$}=SK(t,e,r),m=u.value;a.value=`${m.tableId||m.columnId}_column_${xK++}`,Yd(()=>{l.value=r.value!==m;const d=t.type||"default",g=t.sortable===""?!0:t.sortable,v=Je(ze({},vK[d]),{id:a.value,type:d,property:t.prop||t.property,align:$,headerAlign:c,showOverflowTooltip:t.showOverflowTooltip||t.showTooltipWhenOverflow,filterable:t.filters||t.filterMethod,filteredValue:[],filterPlacement:"",isColumnGroup:!1,isSubColumn:!1,filterOpened:!1,sortable:g,index:t.index,rawColumnKey:n.vnode.key});let P=p(["columnKey","label","className","labelClassName","type","renderHeader","formatter","fixed","resizable"],["sortMethod","sortBy","sortOrders"],["selectable","reserveSelection"],["filterMethod","filters","filterMultiple","filterOpened","filteredValue","filterPlacement"]);P=kH(v,P),P=CH(h,O,f)(P),i.value=P,s(),o()}),xt(()=>{var d;const g=u.value,v=l.value?g.vnode.el.children:(d=g.refs.hiddenColumns)==null?void 0:d.children,b=()=>y(v||[],n.vnode.el);i.value.getColumnIndex=b,b()>-1&&r.value.store.commit("insertColumn",i.value,l.value?g.columnConfig.value:null)}),Qn(()=>{r.value.store.commit("removeColumn",i.value,l.value?m.columnConfig.value:null)}),n.columnId=a.value,n.columnConfig=i},render(){var t,e,n;try{const i=(e=(t=this.$slots).default)==null?void 0:e.call(t,{row:{},column:{},$index:-1}),r=[];if(Array.isArray(i))for(const o of i)((n=o.type)==null?void 0:n.name)==="ElTableColumn"||o.shapeFlag&2?r.push(o):o.type===Le&&Array.isArray(o.children)&&o.children.forEach(a=>{(a==null?void 0:a.patchFlag)!==1024&&!ot(a==null?void 0:a.children)&&r.push(a)});return Ke("div",r)}catch{return Ke("div",[])}}});const gp=Gt(mK,{TableColumn:yT}),vp=Di(yT),PK=lt({tabs:{type:Ne(Array),default:()=>n$([])}}),kK={name:"ElTabBar"},CK=Ce(Je(ze({},kK),{props:PK,setup(t,{expose:e}){const n=t,i="ElTabBar",r=$t(),s=De(up);s||Wo(i,"");const o=Ze("tabs"),a=J(),l=J(),c=()=>{let O=0,f=0;const h=["top","bottom"].includes(s.props.tabPosition)?"width":"height",p=h==="width"?"x":"y";return n.tabs.every(y=>{var $,m,d,g;const v=(m=($=r.parent)==null?void 0:$.refs)==null?void 0:m[`tab-${y.paneName}`];if(!v)return!1;if(!y.active)return!0;f=v[`client${_r(h)}`];const b=p==="x"?"left":"top";O=v.getBoundingClientRect()[b]-((g=(d=v.parentElement)==null?void 0:d.getBoundingClientRect()[b])!=null?g:0);const _=window.getComputedStyle(v);return h==="width"&&(n.tabs.length>1&&(f-=Number.parseFloat(_.paddingLeft)+Number.parseFloat(_.paddingRight)),O+=Number.parseFloat(_.paddingLeft)),!1}),{[h]:`${f}px`,transform:`translate${_r(p)}(${O}px)`}},u=()=>l.value=c();return Xe(()=>n.tabs,async()=>{await et(),u()},{immediate:!0}),mf(a,()=>u()),e({ref:a,update:u}),(O,f)=>(L(),ie("div",{ref_key:"barRef",ref:a,class:te([M(o).e("active-bar"),M(o).is(M(s).props.tabPosition)]),style:tt(l.value)},null,6))}}));var TK=Me(CK,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tabs/src/tab-bar.vue"]]);const RK=lt({panes:{type:Ne(Array),default:()=>n$([])},currentName:{type:[String,Number],default:""},editable:Boolean,onTabClick:{type:Ne(Function),default:bn},onTabRemove:{type:Ne(Function),default:bn},type:{type:String,values:["card","border-card",""],default:""},stretch:Boolean}),gQ="ElTabNav",AK=Ce({name:gQ,props:RK,setup(t,{expose:e}){const n=$t(),i=De(up);i||Wo(gQ,"");const r=Ze("tabs"),s=ED(),o=ID(),a=J(),l=J(),c=J(),u=J(!1),O=J(0),f=J(!1),h=J(!0),p=N(()=>["top","bottom"].includes(i.props.tabPosition)?"width":"height"),y=N(()=>({transform:`translate${p.value==="width"?"X":"Y"}(-${O.value}px)`})),$=()=>{if(!a.value)return;const Q=a.value[`offset${_r(p.value)}`],S=O.value;if(!S)return;const P=S>Q?S-Q:0;O.value=P},m=()=>{if(!a.value||!l.value)return;const Q=l.value[`offset${_r(p.value)}`],S=a.value[`offset${_r(p.value)}`],P=O.value;if(Q-P<=S)return;const w=Q-P>S*2?P+S:Q-S;O.value=w},d=()=>{const Q=l.value;if(!u.value||!c.value||!a.value||!Q)return;const S=c.value.querySelector(".is-active");if(!S)return;const P=a.value,w=["top","bottom"].includes(i.props.tabPosition),x=S.getBoundingClientRect(),k=P.getBoundingClientRect(),C=w?Q.offsetWidth-k.width:Q.offsetHeight-k.height,T=O.value;let E=T;w?(x.leftk.right&&(E=T+x.right-k.right)):(x.topk.bottom&&(E=T+(x.bottom-k.bottom))),E=Math.max(E,0),O.value=Math.min(E,C)},g=()=>{if(!l.value||!a.value)return;const Q=l.value[`offset${_r(p.value)}`],S=a.value[`offset${_r(p.value)}`],P=O.value;if(S0&&(O.value=0)},v=Q=>{const S=Q.code,{up:P,down:w,left:x,right:k}=rt;if(![P,w,x,k].includes(S))return;const C=Array.from(Q.currentTarget.querySelectorAll("[role=tab]")),T=C.indexOf(Q.target);let E;S===x||S===P?T===0?E=C.length-1:E=T-1:T{h.value&&(f.value=!0)},_=()=>f.value=!1;return Xe(s,Q=>{Q==="hidden"?h.value=!1:Q==="visible"&&setTimeout(()=>h.value=!0,50)}),Xe(o,Q=>{Q?setTimeout(()=>h.value=!0,50):h.value=!1}),mf(c,g),xt(()=>setTimeout(()=>d(),0)),Ps(()=>g()),e({scrollToActiveTab:d,removeFocus:_}),Xe(()=>t.panes,()=>n.update(),{flush:"post"}),()=>{const Q=u.value?[B("span",{class:[r.e("nav-prev"),r.is("disabled",!u.value.prev)],onClick:$},[B(wt,null,{default:()=>[B(Jy,null,null)]})]),B("span",{class:[r.e("nav-next"),r.is("disabled",!u.value.next)],onClick:m},[B(wt,null,{default:()=>[B(gf,null,null)]})])]:null,S=t.panes.map((P,w)=>{var x,k;const C=P.props.name||P.index||`${w}`,T=P.isClosable||t.editable;P.index=`${w}`;const E=T?B(wt,{class:"is-icon-close",onClick:X=>t.onTabRemove(P,X)},{default:()=>[B(xa,null,null)]}):null,A=((k=(x=P.slots).label)==null?void 0:k.call(x))||P.props.label,R=P.active?0:-1;return B("div",{ref:`tab-${C}`,class:[r.e("item"),r.is(i.props.tabPosition),r.is("active",P.active),r.is("disabled",P.props.disabled),r.is("closable",T),r.is("focus",f.value)],id:`tab-${C}`,key:`tab-${C}`,"aria-controls":`pane-${C}`,role:"tab","aria-selected":P.active,tabindex:R,onFocus:()=>b(),onBlur:()=>_(),onClick:X=>{_(),t.onTabClick(P,C,X)},onKeydown:X=>{T&&(X.code===rt.delete||X.code===rt.backspace)&&t.onTabRemove(P,X)}},[A,E])});return B("div",{ref:c,class:[r.e("nav-wrap"),r.is("scrollable",!!u.value),r.is(i.props.tabPosition)]},[Q,B("div",{class:r.e("nav-scroll"),ref:a},[B("div",{class:[r.e("nav"),r.is(i.props.tabPosition),r.is("stretch",t.stretch&&["top","bottom"].includes(i.props.tabPosition))],ref:l,style:y.value,role:"tablist",onKeydown:v},[t.type?null:B(TK,{tabs:[...t.panes]},null),S])])])}}}),EK=lt({type:{type:String,values:["card","border-card",""],default:""},activeName:{type:[String,Number],default:""},closable:Boolean,addable:Boolean,modelValue:{type:[String,Number],default:""},editable:Boolean,tabPosition:{type:String,values:["top","right","bottom","left"],default:"top"},beforeLeave:{type:Ne(Function),default:()=>!0},stretch:Boolean}),D0=t=>ot(t)||Bt(t),XK={[Wt]:t=>D0(t),"tab-click":(t,e)=>e instanceof Event,"tab-change":t=>D0(t),edit:(t,e)=>["remove","add"].includes(e),"tab-remove":t=>D0(t),"tab-add":()=>!0};var WK=Ce({name:"ElTabs",props:EK,emits:XK,setup(t,{emit:e,slots:n,expose:i}){const r=Ze("tabs"),s=J(),o=gn({}),a=J(t.modelValue||t.activeName||"0"),l=h=>{a.value=h,e(Wt,h),e("tab-change",h)},c=async h=>{var p,y,$;if(a.value!==h)try{await((p=t.beforeLeave)==null?void 0:p.call(t,h,a.value))!==!1&&(l(h),($=(y=s.value)==null?void 0:y.removeFocus)==null||$.call(y))}catch{}},u=(h,p,y)=>{h.props.disabled||(c(p),e("tab-click",h,y))},O=(h,p)=>{h.props.disabled||(p.stopPropagation(),e("edit",h.props.name,"remove"),e("tab-remove",h.props.name))},f=()=>{e("edit",void 0,"add"),e("tab-add")};return Xe(()=>t.activeName,h=>c(h)),Xe(()=>t.modelValue,h=>c(h)),Xe(a,async()=>{var h;(h=s.value)==null||h.scrollToActiveTab()}),kt(up,{props:t,currentName:a,registerPane:y=>o[y.uid]=y,unregisterPane:y=>delete o[y]}),i({currentName:a}),()=>{const h=t.editable||t.addable?B("span",{class:r.e("new-tab"),tabindex:"0",onClick:f,onKeydown:$=>{$.code===rt.enter&&f()}},[B(wt,{class:r.is("icon-plus")},{default:()=>[B($C,null,null)]})]):null,p=B("div",{class:[r.e("header"),r.is(t.tabPosition)]},[h,B(AK,{ref:s,currentName:a.value,editable:t.editable,type:t.type,panes:Object.values(o),stretch:t.stretch,onTabClick:u,onTabRemove:O},null)]),y=B("div",{class:r.e("content")},[We(n,"default")]);return B("div",{class:[r.b(),r.m(t.tabPosition),{[r.m("card")]:t.type==="card",[r.m("border-card")]:t.type==="border-card"}]},[...t.tabPosition!=="bottom"?[p,y]:[y,p]])}}});const zK=lt({label:{type:String,default:""},name:{type:[String,Number],default:""},closable:Boolean,disabled:Boolean,lazy:Boolean}),IK=["id","aria-hidden","aria-labelledby"],qK={name:"ElTabPane"},UK=Ce(Je(ze({},qK),{props:zK,setup(t){const e=t,n="ElTabPane",i=$t(),r=df(),s=De(up);s||Wo(n,"usage: ");const o=Ze("tab-pane"),a=J(),l=N(()=>e.closable||s.props.closable),c=p_(()=>s.currentName.value===(e.name||a.value)),u=J(c.value),O=N(()=>e.name||a.value),f=p_(()=>!e.lazy||u.value||c.value);Xe(c,p=>{p&&(u.value=!0)});const h=gn({uid:i.uid,slots:r,props:e,paneName:O,active:c,index:a,isClosable:l});return xt(()=>{s.registerPane(h)}),Wa(()=>{s.unregisterPane(h.uid)}),(p,y)=>M(f)?it((L(),ie("div",{key:0,id:`pane-${M(O)}`,class:te(M(o).b()),role:"tabpanel","aria-hidden":!M(c),"aria-labelledby":`tab-${M(O)}`},[We(p.$slots,"default")],10,IK)),[[Lt,M(c)]]):Qe("v-if",!0)}}));var $T=Me(UK,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tabs/src/tab-pane.vue"]]);const bT=Gt(WK,{TabPane:$T}),_T=Di($T);function DK(t){let e;const n=J(!1),i=gn(Je(ze({},t),{originalPosition:"",originalOverflow:"",visible:!1}));function r(f){i.text=f}function s(){const f=i.parent;if(!f.vLoadingAddClassList){let h=f.getAttribute("loading-number");h=Number.parseInt(h)-1,h?f.setAttribute("loading-number",h.toString()):(wo(f,"el-loading-parent--relative"),f.removeAttribute("loading-number")),wo(f,"el-loading-parent--hidden")}o(),u.unmount()}function o(){var f,h;(h=(f=O.$el)==null?void 0:f.parentNode)==null||h.removeChild(O.$el)}function a(){var f;if(t.beforeClose&&!t.beforeClose())return;const h=i.parent;h.vLoadingAddClassList=void 0,n.value=!0,clearTimeout(e),e=window.setTimeout(()=>{n.value&&(n.value=!1,s())},400),i.visible=!1,(f=t.closed)==null||f.call(t)}function l(){!n.value||(n.value=!1,s())}const u=Qk({name:"ElLoading",setup(){return()=>{const f=i.spinner||i.svg,h=Ke("svg",ze({class:"circular",viewBox:i.svgViewBox?i.svgViewBox:"25 25 50 50"},f?{innerHTML:f}:{}),[Ke("circle",{class:"path",cx:"50",cy:"50",r:"20",fill:"none"})]),p=i.text?Ke("p",{class:"el-loading-text"},[i.text]):void 0;return Ke(ri,{name:"el-loading-fade",onAfterLeave:l},{default:Y(()=>[it(B("div",{style:{backgroundColor:i.background||""},class:["el-loading-mask",i.customClass,i.fullscreen?"is-fullscreen":""]},[Ke("div",{class:"el-loading-spinner"},[h,p])]),[[Lt,i.visible]])])})}}}),O=u.mount(document.createElement("div"));return Je(ze({},xr(i)),{setText:r,remvoeElLoadingChild:o,close:a,handleAfterLeave:l,vm:O,get $el(){return O.$el}})}let SO;const LK=function(t={}){if(!qt)return;const e=BK(t);if(e.fullscreen&&SO)return SO;const n=DK(Je(ze({},e),{closed:()=>{var r;(r=e.closed)==null||r.call(e),e.fullscreen&&(SO=void 0)}}));MK(e,e.parent,n),vQ(e,e.parent,n),e.parent.vLoadingAddClassList=()=>vQ(e,e.parent,n);let i=e.parent.getAttribute("loading-number");return i?i=`${Number.parseInt(i)+1}`:i="1",e.parent.setAttribute("loading-number",i),e.parent.appendChild(n.$el),et(()=>n.visible.value=e.visible),e.fullscreen&&(SO=n),n},BK=t=>{var e,n,i,r;let s;return ot(t.target)?s=(e=document.querySelector(t.target))!=null?e:document.body:s=t.target||document.body,{parent:s===document.body||t.body?document.body:s,background:t.background||"",svg:t.svg||"",svgViewBox:t.svgViewBox||"",spinner:t.spinner||!1,text:t.text||"",fullscreen:s===document.body&&((n=t.fullscreen)!=null?n:!0),lock:(i=t.lock)!=null?i:!1,customClass:t.customClass||"",visible:(r=t.visible)!=null?r:!0,target:s}},MK=async(t,e,n)=>{const{nextZIndex:i}=La(),r={};if(t.fullscreen)n.originalPosition.value=hs(document.body,"position"),n.originalOverflow.value=hs(document.body,"overflow"),r.zIndex=i();else if(t.parent===document.body){n.originalPosition.value=hs(document.body,"position"),await et();for(const s of["top","left"]){const o=s==="top"?"scrollTop":"scrollLeft";r[s]=`${t.target.getBoundingClientRect()[s]+document.body[o]+document.documentElement[o]-Number.parseInt(hs(document.body,`margin-${s}`),10)}px`}for(const s of["height","width"])r[s]=`${t.target.getBoundingClientRect()[s]}px`}else n.originalPosition.value=hs(e,"position");for(const[s,o]of Object.entries(r))n.$el.style[s]=o},vQ=(t,e,n)=>{n.originalPosition.value!=="absolute"&&n.originalPosition.value!=="fixed"?Bu(e,"el-loading-parent--relative"):wo(e,"el-loading-parent--relative"),t.fullscreen&&t.lock?Bu(e,"el-loading-parent--hidden"):wo(e,"el-loading-parent--hidden")},Mg=Symbol("ElLoading"),yQ=(t,e)=>{var n,i,r,s;const o=e.instance,a=f=>yt(e.value)?e.value[f]:void 0,l=f=>{const h=ot(f)&&(o==null?void 0:o[f])||f;return h&&J(h)},c=f=>l(a(f)||t.getAttribute(`element-loading-${Ao(f)}`)),u=(n=a("fullscreen"))!=null?n:e.modifiers.fullscreen,O={text:c("text"),svg:c("svg"),svgViewBox:c("svgViewBox"),spinner:c("spinner"),background:c("background"),customClass:c("customClass"),fullscreen:u,target:(i=a("target"))!=null?i:u?void 0:t,body:(r=a("body"))!=null?r:e.modifiers.body,lock:(s=a("lock"))!=null?s:e.modifiers.lock};t[Mg]={options:O,instance:LK(O)}},YK=(t,e)=>{for(const n of Object.keys(e))It(e[n])&&(e[n].value=t[n])},yc={mounted(t,e){e.value&&yQ(t,e)},updated(t,e){const n=t[Mg];e.oldValue!==e.value&&(e.value&&!e.oldValue?yQ(t,e):e.value&&e.oldValue?yt(e.value)&&YK(e.value,n.options):n==null||n.instance.close())},unmounted(t){var e;(e=t[Mg])==null||e.instance.close()}},QT=["success","info","warning","error"],ZK=lt({customClass:{type:String,default:""},center:{type:Boolean,default:!1},dangerouslyUseHTMLString:{type:Boolean,default:!1},duration:{type:Number,default:3e3},icon:{type:_s,default:""},id:{type:String,default:""},message:{type:Ne([String,Object,Function]),default:""},onClose:{type:Ne(Function),required:!1},showClose:{type:Boolean,default:!1},type:{type:String,values:QT,default:"info"},offset:{type:Number,default:20},zIndex:{type:Number,default:0},grouping:{type:Boolean,default:!1},repeatNum:{type:Number,default:1}}),VK={destroy:()=>!0},jK=Ce({name:"ElMessage",components:ze({ElBadge:uY,ElIcon:wt},cp),props:ZK,emits:VK,setup(t){const e=Ze("message"),n=J(!1),i=J(t.type?t.type==="error"?"danger":t.type:"info");let r;const s=N(()=>{const f=t.type;return{[e.bm("icon",f)]:f&&Qs[f]}}),o=N(()=>t.icon||Qs[t.type]||""),a=N(()=>({top:`${t.offset}px`,zIndex:t.zIndex}));function l(){t.duration>0&&({stop:r}=Nh(()=>{n.value&&u()},t.duration))}function c(){r==null||r()}function u(){n.value=!1}function O({code:f}){f===rt.esc?n.value&&u():l()}return xt(()=>{l(),n.value=!0}),Xe(()=>t.repeatNum,()=>{c(),l()}),Wi(document,"keydown",O),{ns:e,typeClass:s,iconComponent:o,customStyle:a,visible:n,badgeType:i,close:u,clearTimer:c,startTimer:l}}}),NK=["id"],FK=["innerHTML"];function GK(t,e,n,i,r,s){const o=Pe("el-badge"),a=Pe("el-icon"),l=Pe("close");return L(),be(ri,{name:t.ns.b("fade"),onBeforeLeave:t.onClose,onAfterLeave:e[2]||(e[2]=c=>t.$emit("destroy"))},{default:Y(()=>[it(U("div",{id:t.id,class:te([t.ns.b(),{[t.ns.m(t.type)]:t.type&&!t.icon},t.ns.is("center",t.center),t.ns.is("closable",t.showClose),t.customClass]),style:tt(t.customStyle),role:"alert",onMouseenter:e[0]||(e[0]=(...c)=>t.clearTimer&&t.clearTimer(...c)),onMouseleave:e[1]||(e[1]=(...c)=>t.startTimer&&t.startTimer(...c))},[t.repeatNum>1?(L(),be(o,{key:0,value:t.repeatNum,type:t.badgeType,class:te(t.ns.e("badge"))},null,8,["value","type","class"])):Qe("v-if",!0),t.iconComponent?(L(),be(a,{key:1,class:te([t.ns.e("icon"),t.typeClass])},{default:Y(()=>[(L(),be(Vt(t.iconComponent)))]),_:1},8,["class"])):Qe("v-if",!0),We(t.$slots,"default",{},()=>[t.dangerouslyUseHTMLString?(L(),ie(Le,{key:1},[Qe(" Caution here, message could've been compromised, never use user's input as message "),U("p",{class:te(t.ns.e("content")),innerHTML:t.message},null,10,FK)],2112)):(L(),ie("p",{key:0,class:te(t.ns.e("content"))},de(t.message),3))]),t.showClose?(L(),be(a,{key:2,class:te(t.ns.e("closeBtn")),onClick:Et(t.close,["stop"])},{default:Y(()=>[B(l)]),_:1},8,["class","onClick"])):Qe("v-if",!0)],46,NK),[[Lt,t.visible]])]),_:3},8,["name","onBeforeLeave"])}var HK=Me(jK,[["render",GK],["__file","/home/runner/work/element-plus/element-plus/packages/components/message/src/message.vue"]]);const wi=[];let KK=1;const Nl=function(t={},e){if(!qt)return{close:()=>{}};if(Bt(Xg.max)&&wi.length>=Xg.max)return{close:()=>{}};if(!xn(t)&&yt(t)&&t.grouping&&!xn(t.message)&&wi.length){const O=wi.find(f=>{var h,p,y;return`${(p=(h=f.vm.props)==null?void 0:h.message)!=null?p:""}`==`${(y=t.message)!=null?y:""}`});if(O)return O.vm.component.props.repeatNum+=1,O.vm.component.props.type=(t==null?void 0:t.type)||"info",{close:()=>u.component.proxy.visible=!1}}(ot(t)||xn(t))&&(t={message:t});let n=t.offset||20;wi.forEach(({vm:O})=>{var f;n+=(((f=O.el)==null?void 0:f.offsetHeight)||0)+16}),n+=16;const{nextZIndex:i}=La(),r=`message_${KK++}`,s=t.onClose,o=Je(ze({zIndex:i()},t),{offset:n,id:r,onClose:()=>{JK(r,s)}});let a=document.body;Ul(t.appendTo)?a=t.appendTo:ot(t.appendTo)&&(a=document.querySelector(t.appendTo)),Ul(a)||(a=document.body);const l=document.createElement("div");l.className=`container_${r}`;const c=o.message,u=B(HK,o,st(c)?{default:c}:xn(c)?{default:()=>c}:null);return u.appContext=e||Nl._context,u.props.onDestroy=()=>{zl(null,l)},zl(u,l),wi.push({vm:u}),a.appendChild(l.firstElementChild),{close:()=>u.component.proxy.visible=!1}};QT.forEach(t=>{Nl[t]=(e={},n)=>((ot(e)||xn(e))&&(e={message:e}),Nl(Je(ze({},e),{type:t}),n))});function JK(t,e){const n=wi.findIndex(({vm:o})=>t===o.component.props.id);if(n===-1)return;const{vm:i}=wi[n];if(!i)return;e==null||e(i);const r=i.el.offsetHeight;wi.splice(n,1);const s=wi.length;if(!(s<1))for(let o=n;o=0;e--){const n=wi[e].vm.component;(t=n==null?void 0:n.proxy)==null||t.close()}}Nl.closeAll=eJ;Nl._context=null;const mo=_C(Nl,"$message"),tJ=Ce({name:"ElMessageBox",directives:{TrapFocus:MY},components:ze({ElButton:Tn,ElInput:si,ElOverlay:V2,ElIcon:wt},cp),inheritAttrs:!1,props:{buttonSize:{type:String,validator:Ua},modal:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},closeOnHashChange:{type:Boolean,default:!0},center:Boolean,draggable:Boolean,roundButton:{default:!1,type:Boolean},container:{type:String,default:"body"},boxType:{type:String,default:""}},emits:["vanish","action"],setup(t,{emit:e}){const{t:n}=Fn(),i=Ze("message-box"),r=J(!1),{nextZIndex:s}=La(),o=gn({beforeClose:null,callback:null,cancelButtonText:"",cancelButtonClass:"",confirmButtonText:"",confirmButtonClass:"",customClass:"",customStyle:{},dangerouslyUseHTMLString:!1,distinguishCancelAndClose:!1,icon:"",inputPattern:null,inputPlaceholder:"",inputType:"text",inputValue:null,inputValidator:null,inputErrorMessage:"",message:null,modalFade:!0,modalClass:"",showCancelButton:!1,showConfirmButton:!0,type:"",title:void 0,showInput:!1,action:"",confirmButtonLoading:!1,cancelButtonLoading:!1,confirmButtonDisabled:!1,editorErrorMessage:"",validateError:!1,zIndex:s()}),a=N(()=>{const P=o.type;return{[i.bm("icon",P)]:P&&Qs[P]}}),l=Ln(N(()=>t.buttonSize),{prop:!0,form:!0,formItem:!0}),c=N(()=>o.icon||Qs[o.type]||""),u=N(()=>!!o.message),O=J(),f=J(),h=J(),p=J(),y=N(()=>o.confirmButtonClass);Xe(()=>o.inputValue,async P=>{await et(),t.boxType==="prompt"&&P!==null&&_()},{immediate:!0}),Xe(()=>r.value,P=>{P&&((t.boxType==="alert"||t.boxType==="confirm")&&et().then(()=>{var w,x,k;(k=(x=(w=p.value)==null?void 0:w.$el)==null?void 0:x.focus)==null||k.call(x)}),o.zIndex=s()),t.boxType==="prompt"&&(P?et().then(()=>{h.value&&h.value.$el&&Q().focus()}):(o.editorErrorMessage="",o.validateError=!1))});const $=N(()=>t.draggable);WC(O,f,$),xt(async()=>{await et(),t.closeOnHashChange&&bs(window,"hashchange",m)}),Qn(()=>{t.closeOnHashChange&&So(window,"hashchange",m)});function m(){!r.value||(r.value=!1,et(()=>{o.action&&e("action",o.action)}))}const d=()=>{t.closeOnClickModal&&b(o.distinguishCancelAndClose?"close":"cancel")},g=r$(d),v=P=>{if(o.inputType!=="textarea")return P.preventDefault(),b("confirm")},b=P=>{var w;t.boxType==="prompt"&&P==="confirm"&&!_()||(o.action=P,o.beforeClose?(w=o.beforeClose)==null||w.call(o,P,o,m):m())},_=()=>{if(t.boxType==="prompt"){const P=o.inputPattern;if(P&&!P.test(o.inputValue||""))return o.editorErrorMessage=o.inputErrorMessage||n("el.messagebox.error"),o.validateError=!0,!1;const w=o.inputValidator;if(typeof w=="function"){const x=w(o.inputValue);if(x===!1)return o.editorErrorMessage=o.inputErrorMessage||n("el.messagebox.error"),o.validateError=!0,!1;if(typeof x=="string")return o.editorErrorMessage=x,o.validateError=!0,!1}}return o.editorErrorMessage="",o.validateError=!1,!0},Q=()=>{const P=h.value.$refs;return P.input||P.textarea},S=()=>{b("close")};return t.closeOnPressEscape?IC({handleClose:S},r):g9(r,"keydown",P=>P.code===rt.esc),t.lockScroll&&zC(r),qC(r),Je(ze({},xr(o)),{ns:i,overlayEvent:g,visible:r,hasMessage:u,typeClass:a,btnSize:l,iconComponent:c,confirmButtonClasses:y,rootRef:O,headerRef:f,inputRef:h,confirmRef:p,doClose:m,handleClose:S,handleWrapperClick:d,handleInputEnter:v,handleAction:b,t:n})}}),nJ=["aria-label"],iJ={key:0},rJ=["innerHTML"];function sJ(t,e,n,i,r,s){const o=Pe("el-icon"),a=Pe("close"),l=Pe("el-input"),c=Pe("el-button"),u=Pe("el-overlay"),O=Eo("trap-focus");return L(),be(ri,{name:"fade-in-linear",onAfterLeave:e[11]||(e[11]=f=>t.$emit("vanish"))},{default:Y(()=>[it(B(u,{"z-index":t.zIndex,"overlay-class":[t.ns.is("message-box"),t.modalClass],mask:t.modal},{default:Y(()=>[U("div",{class:te(`${t.ns.namespace.value}-overlay-message-box`),onClick:e[8]||(e[8]=(...f)=>t.overlayEvent.onClick&&t.overlayEvent.onClick(...f)),onMousedown:e[9]||(e[9]=(...f)=>t.overlayEvent.onMousedown&&t.overlayEvent.onMousedown(...f)),onMouseup:e[10]||(e[10]=(...f)=>t.overlayEvent.onMouseup&&t.overlayEvent.onMouseup(...f))},[it((L(),ie("div",{ref:"rootRef",role:"dialog","aria-label":t.title||"dialog","aria-modal":"true",class:te([t.ns.b(),t.customClass,t.ns.is("draggable",t.draggable),{[t.ns.m("center")]:t.center}]),style:tt(t.customStyle),onClick:e[7]||(e[7]=Et(()=>{},["stop"]))},[t.title!==null&&t.title!==void 0?(L(),ie("div",{key:0,ref:"headerRef",class:te(t.ns.e("header"))},[U("div",{class:te(t.ns.e("title"))},[t.iconComponent&&t.center?(L(),be(o,{key:0,class:te([t.ns.e("status"),t.typeClass])},{default:Y(()=>[(L(),be(Vt(t.iconComponent)))]),_:1},8,["class"])):Qe("v-if",!0),U("span",null,de(t.title),1)],2),t.showClose?(L(),ie("button",{key:0,type:"button",class:te(t.ns.e("headerbtn")),"aria-label":"Close",onClick:e[0]||(e[0]=f=>t.handleAction(t.distinguishCancelAndClose?"close":"cancel")),onKeydown:e[1]||(e[1]=Qt(Et(f=>t.handleAction(t.distinguishCancelAndClose?"close":"cancel"),["prevent"]),["enter"]))},[B(o,{class:te(t.ns.e("close"))},{default:Y(()=>[B(a)]),_:1},8,["class"])],34)):Qe("v-if",!0)],2)):Qe("v-if",!0),U("div",{class:te(t.ns.e("content"))},[U("div",{class:te(t.ns.e("container"))},[t.iconComponent&&!t.center&&t.hasMessage?(L(),be(o,{key:0,class:te([t.ns.e("status"),t.typeClass])},{default:Y(()=>[(L(),be(Vt(t.iconComponent)))]),_:1},8,["class"])):Qe("v-if",!0),t.hasMessage?(L(),ie("div",{key:1,class:te(t.ns.e("message"))},[We(t.$slots,"default",{},()=>[t.dangerouslyUseHTMLString?(L(),ie("p",{key:1,innerHTML:t.message},null,8,rJ)):(L(),ie("p",iJ,de(t.message),1))])],2)):Qe("v-if",!0)],2),it(U("div",{class:te(t.ns.e("input"))},[B(l,{ref:"inputRef",modelValue:t.inputValue,"onUpdate:modelValue":e[2]||(e[2]=f=>t.inputValue=f),type:t.inputType,placeholder:t.inputPlaceholder,class:te({invalid:t.validateError}),onKeydown:Qt(t.handleInputEnter,["enter"])},null,8,["modelValue","type","placeholder","class","onKeydown"]),U("div",{class:te(t.ns.e("errormsg")),style:tt({visibility:t.editorErrorMessage?"visible":"hidden"})},de(t.editorErrorMessage),7)],2),[[Lt,t.showInput]])],2),U("div",{class:te(t.ns.e("btns"))},[t.showCancelButton?(L(),be(c,{key:0,loading:t.cancelButtonLoading,class:te([t.cancelButtonClass]),round:t.roundButton,size:t.btnSize,onClick:e[3]||(e[3]=f=>t.handleAction("cancel")),onKeydown:e[4]||(e[4]=Qt(Et(f=>t.handleAction("cancel"),["prevent"]),["enter"]))},{default:Y(()=>[Ee(de(t.cancelButtonText||t.t("el.messagebox.cancel")),1)]),_:1},8,["loading","class","round","size"])):Qe("v-if",!0),it(B(c,{ref:"confirmRef",type:"primary",loading:t.confirmButtonLoading,class:te([t.confirmButtonClasses]),round:t.roundButton,disabled:t.confirmButtonDisabled,size:t.btnSize,onClick:e[5]||(e[5]=f=>t.handleAction("confirm")),onKeydown:e[6]||(e[6]=Qt(Et(f=>t.handleAction("confirm"),["prevent"]),["enter"]))},{default:Y(()=>[Ee(de(t.confirmButtonText||t.t("el.messagebox.confirm")),1)]),_:1},8,["loading","class","round","disabled","size"]),[[Lt,t.showConfirmButton]])],2)],14,nJ)),[[O]])],34)]),_:3},8,["z-index","overlay-class","mask"]),[[Lt,t.visible]])]),_:3})}var oJ=Me(tJ,[["render",sJ],["__file","/home/runner/work/element-plus/element-plus/packages/components/message-box/src/index.vue"]]);const Nu=new Map,aJ=(t,e,n=null)=>{const i=Ke(oJ,t);return i.appContext=n,zl(i,e),document.body.appendChild(e.firstElementChild),i.component},lJ=()=>document.createElement("div"),cJ=(t,e)=>{const n=lJ();t.onVanish=()=>{zl(null,n),Nu.delete(r)},t.onAction=s=>{const o=Nu.get(r);let a;t.showInput?a={value:r.inputValue,action:s}:a=s,t.callback?t.callback(a,i.proxy):s==="cancel"||s==="close"?t.distinguishCancelAndClose&&s!=="cancel"?o.reject("close"):o.reject("cancel"):o.resolve(a)};const i=aJ(t,n,e),r=i.proxy;for(const s in t)ct(t,s)&&!ct(r.$props,s)&&(r[s]=t[s]);return Xe(()=>r.message,(s,o)=>{xn(s)?i.slots.default=()=>[s]:xn(o)&&!xn(s)&&delete i.slots.default},{immediate:!0}),r.visible=!0,r};function $c(t,e=null){if(!qt)return Promise.reject();let n;return ot(t)||xn(t)?t={message:t}:n=t.callback,new Promise((i,r)=>{const s=cJ(t,e!=null?e:$c._context);Nu.set(s,{options:t,callback:n,resolve:i,reject:r})})}const uJ=["alert","confirm","prompt"],fJ={alert:{closeOnPressEscape:!1,closeOnClickModal:!1},confirm:{showCancelButton:!0},prompt:{showCancelButton:!0,showInput:!0}};uJ.forEach(t=>{$c[t]=OJ(t)});function OJ(t){return(e,n,i,r)=>{let s;return yt(n)?(i=n,s=""):Dr(n)?s="":s=n,$c(Object.assign(ze({title:s,message:e,type:""},fJ[t]),i,{boxType:t}),r)}}$c.close=()=>{Nu.forEach((t,e)=>{e.doClose()}),Nu.clear()};$c._context=null;const Ns=$c;Ns.install=t=>{Ns._context=t._context,t.config.globalProperties.$msgbox=Ns,t.config.globalProperties.$messageBox=Ns,t.config.globalProperties.$alert=Ns.alert,t.config.globalProperties.$confirm=Ns.confirm,t.config.globalProperties.$prompt=Ns.prompt};const Yg=Ns,ST=["success","info","warning","error"],hJ=lt({customClass:{type:String,default:""},dangerouslyUseHTMLString:{type:Boolean,default:!1},duration:{type:Number,default:4500},icon:{type:Ne([String,Object]),default:""},id:{type:String,default:""},message:{type:Ne([String,Object]),default:""},offset:{type:Number,default:0},onClick:{type:Ne(Function),default:()=>{}},onClose:{type:Ne(Function),required:!0},position:{type:String,values:["top-right","top-left","bottom-right","bottom-left"],default:"top-right"},showClose:{type:Boolean,default:!0},title:{type:String,default:""},type:{type:String,values:[...ST,""],default:""},zIndex:{type:Number,default:0}}),dJ={destroy:()=>!0},pJ=Ce({name:"ElNotification",components:ze({ElIcon:wt},cp),props:hJ,emits:dJ,setup(t){const e=Ze("notification"),n=J(!1);let i;const r=N(()=>{const h=t.type;return h&&Qs[t.type]?e.m(h):""}),s=N(()=>Qs[t.type]||t.icon||""),o=N(()=>t.position.endsWith("right")?"right":"left"),a=N(()=>t.position.startsWith("top")?"top":"bottom"),l=N(()=>({[a.value]:`${t.offset}px`,zIndex:t.zIndex}));function c(){t.duration>0&&({stop:i}=Nh(()=>{n.value&&O()},t.duration))}function u(){i==null||i()}function O(){n.value=!1}function f({code:h}){h===rt.delete||h===rt.backspace?u():h===rt.esc?n.value&&O():c()}return xt(()=>{c(),n.value=!0}),Wi(document,"keydown",f),{ns:e,horizontalClass:o,typeClass:r,iconComponent:s,positionStyle:l,visible:n,close:O,clearTimer:u,startTimer:c}}}),mJ=["id"],gJ=["textContent"],vJ={key:0},yJ=["innerHTML"];function $J(t,e,n,i,r,s){const o=Pe("el-icon"),a=Pe("close");return L(),be(ri,{name:t.ns.b("fade"),onBeforeLeave:t.onClose,onAfterLeave:e[3]||(e[3]=l=>t.$emit("destroy"))},{default:Y(()=>[it(U("div",{id:t.id,class:te([t.ns.b(),t.customClass,t.horizontalClass]),style:tt(t.positionStyle),role:"alert",onMouseenter:e[0]||(e[0]=(...l)=>t.clearTimer&&t.clearTimer(...l)),onMouseleave:e[1]||(e[1]=(...l)=>t.startTimer&&t.startTimer(...l)),onClick:e[2]||(e[2]=(...l)=>t.onClick&&t.onClick(...l))},[t.iconComponent?(L(),be(o,{key:0,class:te([t.ns.e("icon"),t.typeClass])},{default:Y(()=>[(L(),be(Vt(t.iconComponent)))]),_:1},8,["class"])):Qe("v-if",!0),U("div",{class:te(t.ns.e("group"))},[U("h2",{class:te(t.ns.e("title")),textContent:de(t.title)},null,10,gJ),it(U("div",{class:te(t.ns.e("content")),style:tt(t.title?void 0:{margin:0})},[We(t.$slots,"default",{},()=>[t.dangerouslyUseHTMLString?(L(),ie(Le,{key:1},[Qe(" Caution here, message could've been compromized, nerver use user's input as message "),Qe(" eslint-disable-next-line "),U("p",{innerHTML:t.message},null,8,yJ)],2112)):(L(),ie("p",vJ,de(t.message),1))])],6),[[Lt,t.message]]),t.showClose?(L(),be(o,{key:0,class:te(t.ns.e("closeBtn")),onClick:Et(t.close,["stop"])},{default:Y(()=>[B(a)]),_:1},8,["class","onClick"])):Qe("v-if",!0)],2)],46,mJ),[[Lt,t.visible]])]),_:3},8,["name","onBeforeLeave"])}var bJ=Me(pJ,[["render",$J],["__file","/home/runner/work/element-plus/element-plus/packages/components/notification/src/notification.vue"]]);const ed={"top-left":[],"top-right":[],"bottom-left":[],"bottom-right":[]},Zg=16;let _J=1;const Fl=function(t={},e=null){if(!qt)return{close:()=>{}};(typeof t=="string"||xn(t))&&(t={message:t});const n=t.position||"top-right";let i=t.offset||0;ed[n].forEach(({vm:O})=>{var f;i+=(((f=O.el)==null?void 0:f.offsetHeight)||0)+Zg}),i+=Zg;const{nextZIndex:r}=La(),s=`notification_${_J++}`,o=t.onClose,a=Je(ze({zIndex:r(),offset:i},t),{id:s,onClose:()=>{QJ(s,n,o)}});let l=document.body;Ul(t.appendTo)?l=t.appendTo:ot(t.appendTo)&&(l=document.querySelector(t.appendTo)),Ul(l)||(l=document.body);const c=document.createElement("div"),u=B(bJ,a,xn(a.message)?{default:()=>a.message}:null);return u.appContext=e!=null?e:Fl._context,u.props.onDestroy=()=>{zl(null,c)},zl(u,c),ed[n].push({vm:u}),l.appendChild(c.firstElementChild),{close:()=>{u.component.proxy.visible=!1}}};ST.forEach(t=>{Fl[t]=(e={})=>((typeof e=="string"||xn(e))&&(e={message:e}),Fl(Je(ze({},e),{type:t})))});function QJ(t,e,n){const i=ed[e],r=i.findIndex(({vm:c})=>{var u;return((u=c.component)==null?void 0:u.props.id)===t});if(r===-1)return;const{vm:s}=i[r];if(!s)return;n==null||n(s);const o=s.el.offsetHeight,a=e.split("-")[0];i.splice(r,1);const l=i.length;if(!(l<1))for(let c=r;c{e.component.proxy.visible=!1})}Fl.closeAll=SJ;Fl._context=null;const wJ=_C(Fl,"$notify");/*! + * vue-router v4.0.15 + * (c) 2022 Eduardo San Martin Morote + * @license MIT + */const wT=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",bc=t=>wT?Symbol(t):"_vr_"+t,xJ=bc("rvlm"),$Q=bc("rvd"),x$=bc("r"),xT=bc("rl"),Vg=bc("rvl"),ml=typeof window!="undefined";function PJ(t){return t.__esModule||wT&&t[Symbol.toStringTag]==="Module"}const Yt=Object.assign;function L0(t,e){const n={};for(const i in e){const r=e[i];n[i]=Array.isArray(r)?r.map(t):t(r)}return n}const yu=()=>{},kJ=/\/$/,CJ=t=>t.replace(kJ,"");function B0(t,e,n="/"){let i,r={},s="",o="";const a=e.indexOf("?"),l=e.indexOf("#",a>-1?a:0);return a>-1&&(i=e.slice(0,a),s=e.slice(a+1,l>-1?l:e.length),r=t(s)),l>-1&&(i=i||e.slice(0,l),o=e.slice(l,e.length)),i=EJ(i!=null?i:e,n),{fullPath:i+(s&&"?")+s+o,path:i,query:r,hash:o}}function TJ(t,e){const n=e.query?t(e.query):"";return e.path+(n&&"?")+n+(e.hash||"")}function bQ(t,e){return!e||!t.toLowerCase().startsWith(e.toLowerCase())?t:t.slice(e.length)||"/"}function RJ(t,e,n){const i=e.matched.length-1,r=n.matched.length-1;return i>-1&&i===r&&Gl(e.matched[i],n.matched[r])&&PT(e.params,n.params)&&t(e.query)===t(n.query)&&e.hash===n.hash}function Gl(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function PT(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(!AJ(t[n],e[n]))return!1;return!0}function AJ(t,e){return Array.isArray(t)?_Q(t,e):Array.isArray(e)?_Q(e,t):t===e}function _Q(t,e){return Array.isArray(e)?t.length===e.length&&t.every((n,i)=>n===e[i]):t.length===1&&t[0]===e}function EJ(t,e){if(t.startsWith("/"))return t;if(!t)return e;const n=e.split("/"),i=t.split("/");let r=n.length-1,s,o;for(s=0;s({left:window.pageXOffset,top:window.pageYOffset});function qJ(t){let e;if("el"in t){const n=t.el,i=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?i?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;e=IJ(r,t)}else e=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(e.left!=null?e.left:window.pageXOffset,e.top!=null?e.top:window.pageYOffset)}function QQ(t,e){return(history.state?history.state.position-e:-1)+t}const jg=new Map;function UJ(t,e){jg.set(t,e)}function DJ(t){const e=jg.get(t);return jg.delete(t),e}let LJ=()=>location.protocol+"//"+location.host;function kT(t,e){const{pathname:n,search:i,hash:r}=e,s=t.indexOf("#");if(s>-1){let a=r.includes(t.slice(s))?t.slice(s).length:1,l=r.slice(a);return l[0]!=="/"&&(l="/"+l),bQ(l,"")}return bQ(n,t)+i+r}function BJ(t,e,n,i){let r=[],s=[],o=null;const a=({state:f})=>{const h=kT(t,location),p=n.value,y=e.value;let $=0;if(f){if(n.value=h,e.value=f,o&&o===p){o=null;return}$=y?f.position-y.position:0}else i(h);r.forEach(m=>{m(n.value,p,{delta:$,type:Fu.pop,direction:$?$>0?$u.forward:$u.back:$u.unknown})})};function l(){o=n.value}function c(f){r.push(f);const h=()=>{const p=r.indexOf(f);p>-1&&r.splice(p,1)};return s.push(h),h}function u(){const{history:f}=window;!f.state||f.replaceState(Yt({},f.state,{scroll:yp()}),"")}function O(){for(const f of s)f();s=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u),{pauseListeners:l,listen:c,destroy:O}}function SQ(t,e,n,i=!1,r=!1){return{back:t,current:e,forward:n,replaced:i,position:window.history.length,scroll:r?yp():null}}function MJ(t){const{history:e,location:n}=window,i={value:kT(t,n)},r={value:e.state};r.value||s(i.value,{back:null,current:i.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0);function s(l,c,u){const O=t.indexOf("#"),f=O>-1?(n.host&&document.querySelector("base")?t:t.slice(O))+l:LJ()+t+l;try{e[u?"replaceState":"pushState"](c,"",f),r.value=c}catch(h){console.error(h),n[u?"replace":"assign"](f)}}function o(l,c){const u=Yt({},e.state,SQ(r.value.back,l,r.value.forward,!0),c,{position:r.value.position});s(l,u,!0),i.value=l}function a(l,c){const u=Yt({},r.value,e.state,{forward:l,scroll:yp()});s(u.current,u,!0);const O=Yt({},SQ(i.value,l,null),{position:u.position+1},c);s(l,O,!1),i.value=l}return{location:i,state:r,push:a,replace:o}}function YJ(t){t=XJ(t);const e=MJ(t),n=BJ(t,e.state,e.location,e.replace);function i(s,o=!0){o||n.pauseListeners(),history.go(s)}const r=Yt({location:"",base:t,go:i,createHref:zJ.bind(null,t)},e,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>e.state.value}),r}function ZJ(t){return typeof t=="string"||t&&typeof t=="object"}function CT(t){return typeof t=="string"||typeof t=="symbol"}const Bs={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},TT=bc("nf");var wQ;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(wQ||(wQ={}));function Hl(t,e){return Yt(new Error,{type:t,[TT]:!0},e)}function Ms(t,e){return t instanceof Error&&TT in t&&(e==null||!!(t.type&e))}const xQ="[^/]+?",VJ={sensitive:!1,strict:!1,start:!0,end:!0},jJ=/[.+*?^${}()[\]/\\]/g;function NJ(t,e){const n=Yt({},VJ,e),i=[];let r=n.start?"^":"";const s=[];for(const c of t){const u=c.length?[]:[90];n.strict&&!c.length&&(r+="/");for(let O=0;O1&&(u.endsWith("/")?u=u.slice(0,-1):O=!0);else throw new Error(`Missing required param "${p}"`);u+=d}}return u}return{re:o,score:i,keys:s,parse:a,stringify:l}}function FJ(t,e){let n=0;for(;ne.length?e.length===1&&e[0]===40+40?1:-1:0}function GJ(t,e){let n=0;const i=t.score,r=e.score;for(;n1&&(l==="*"||l==="+")&&e(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):e("Invalid state to consume buffer"),c="")}function f(){c+=l}for(;a{o(d)}:yu}function o(u){if(CT(u)){const O=i.get(u);O&&(i.delete(u),n.splice(n.indexOf(O),1),O.children.forEach(o),O.alias.forEach(o))}else{const O=n.indexOf(u);O>-1&&(n.splice(O,1),u.record.name&&i.delete(u.record.name),u.children.forEach(o),u.alias.forEach(o))}}function a(){return n}function l(u){let O=0;for(;O=0&&(u.record.path!==n[O].record.path||!RT(u,n[O]));)O++;n.splice(O,0,u),u.record.name&&!PQ(u)&&i.set(u.record.name,u)}function c(u,O){let f,h={},p,y;if("name"in u&&u.name){if(f=i.get(u.name),!f)throw Hl(1,{location:u});y=f.record.name,h=Yt(nee(O.params,f.keys.filter(d=>!d.optional).map(d=>d.name)),u.params),p=f.stringify(h)}else if("path"in u)p=u.path,f=n.find(d=>d.re.test(p)),f&&(h=f.parse(p),y=f.record.name);else{if(f=O.name?i.get(O.name):n.find(d=>d.re.test(O.path)),!f)throw Hl(1,{location:u,currentLocation:O});y=f.record.name,h=Yt({},O.params,u.params),p=f.stringify(h)}const $=[];let m=f;for(;m;)$.unshift(m.record),m=m.parent;return{name:y,path:p,params:h,matched:$,meta:see($)}}return t.forEach(u=>s(u)),{addRoute:s,resolve:c,removeRoute:o,getRoutes:a,getRecordMatcher:r}}function nee(t,e){const n={};for(const i of e)i in t&&(n[i]=t[i]);return n}function iee(t){return{path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:void 0,beforeEnter:t.beforeEnter,props:ree(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||{}:{default:t.component}}}function ree(t){const e={},n=t.props||!1;if("component"in t)e.default=n;else for(const i in t.components)e[i]=typeof n=="boolean"?n:n[i];return e}function PQ(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function see(t){return t.reduce((e,n)=>Yt(e,n.meta),{})}function kQ(t,e){const n={};for(const i in t)n[i]=i in e?e[i]:t[i];return n}function RT(t,e){return e.children.some(n=>n===t||RT(t,n))}const AT=/#/g,oee=/&/g,aee=/\//g,lee=/=/g,cee=/\?/g,ET=/\+/g,uee=/%5B/g,fee=/%5D/g,XT=/%5E/g,Oee=/%60/g,WT=/%7B/g,hee=/%7C/g,zT=/%7D/g,dee=/%20/g;function P$(t){return encodeURI(""+t).replace(hee,"|").replace(uee,"[").replace(fee,"]")}function pee(t){return P$(t).replace(WT,"{").replace(zT,"}").replace(XT,"^")}function Ng(t){return P$(t).replace(ET,"%2B").replace(dee,"+").replace(AT,"%23").replace(oee,"%26").replace(Oee,"`").replace(WT,"{").replace(zT,"}").replace(XT,"^")}function mee(t){return Ng(t).replace(lee,"%3D")}function gee(t){return P$(t).replace(AT,"%23").replace(cee,"%3F")}function vee(t){return t==null?"":gee(t).replace(aee,"%2F")}function td(t){try{return decodeURIComponent(""+t)}catch{}return""+t}function yee(t){const e={};if(t===""||t==="?")return e;const i=(t[0]==="?"?t.slice(1):t).split("&");for(let r=0;rs&&Ng(s)):[i&&Ng(i)]).forEach(s=>{s!==void 0&&(e+=(e.length?"&":"")+n,s!=null&&(e+="="+s))})}return e}function $ee(t){const e={};for(const n in t){const i=t[n];i!==void 0&&(e[n]=Array.isArray(i)?i.map(r=>r==null?null:""+r):i==null?i:""+i)}return e}function Wc(){let t=[];function e(i){return t.push(i),()=>{const r=t.indexOf(i);r>-1&&t.splice(r,1)}}function n(){t=[]}return{add:e,list:()=>t,reset:n}}function Hs(t,e,n,i,r){const s=i&&(i.enterCallbacks[r]=i.enterCallbacks[r]||[]);return()=>new Promise((o,a)=>{const l=O=>{O===!1?a(Hl(4,{from:n,to:e})):O instanceof Error?a(O):ZJ(O)?a(Hl(2,{from:e,to:O})):(s&&i.enterCallbacks[r]===s&&typeof O=="function"&&s.push(O),o())},c=t.call(i&&i.instances[r],e,n,l);let u=Promise.resolve(c);t.length<3&&(u=u.then(l)),u.catch(O=>a(O))})}function M0(t,e,n,i){const r=[];for(const s of t)for(const o in s.components){let a=s.components[o];if(!(e!=="beforeRouteEnter"&&!s.instances[o]))if(bee(a)){const c=(a.__vccOpts||a)[e];c&&r.push(Hs(c,n,i,s,o))}else{let l=a();r.push(()=>l.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${o}" at "${s.path}"`));const u=PJ(c)?c.default:c;s.components[o]=u;const f=(u.__vccOpts||u)[e];return f&&Hs(f,n,i,s,o)()}))}}return r}function bee(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function TQ(t){const e=De(x$),n=De(xT),i=N(()=>e.resolve(M(t.to))),r=N(()=>{const{matched:l}=i.value,{length:c}=l,u=l[c-1],O=n.matched;if(!u||!O.length)return-1;const f=O.findIndex(Gl.bind(null,u));if(f>-1)return f;const h=RQ(l[c-2]);return c>1&&RQ(u)===h&&O[O.length-1].path!==h?O.findIndex(Gl.bind(null,l[c-2])):f}),s=N(()=>r.value>-1&&wee(n.params,i.value.params)),o=N(()=>r.value>-1&&r.value===n.matched.length-1&&PT(n.params,i.value.params));function a(l={}){return See(l)?e[M(t.replace)?"replace":"push"](M(t.to)).catch(yu):Promise.resolve()}return{route:i,href:N(()=>i.value.href),isActive:s,isExactActive:o,navigate:a}}const _ee=Ce({name:"RouterLink",props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:TQ,setup(t,{slots:e}){const n=gn(TQ(t)),{options:i}=De(x$),r=N(()=>({[AQ(t.activeClass,i.linkActiveClass,"router-link-active")]:n.isActive,[AQ(t.exactActiveClass,i.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=e.default&&e.default(n);return t.custom?s:Ke("a",{"aria-current":n.isExactActive?t.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},s)}}}),Qee=_ee;function See(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){const e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function wee(t,e){for(const n in e){const i=e[n],r=t[n];if(typeof i=="string"){if(i!==r)return!1}else if(!Array.isArray(r)||r.length!==i.length||i.some((s,o)=>s!==r[o]))return!1}return!0}function RQ(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const AQ=(t,e,n)=>t!=null?t:e!=null?e:n,xee=Ce({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:n}){const i=De(Vg),r=N(()=>t.route||i.value),s=De($Q,0),o=N(()=>r.value.matched[s]);kt($Q,s+1),kt(xJ,o),kt(Vg,r);const a=J();return Xe(()=>[a.value,o.value,t.name],([l,c,u],[O,f,h])=>{c&&(c.instances[u]=l,f&&f!==c&&l&&l===O&&(c.leaveGuards.size||(c.leaveGuards=f.leaveGuards),c.updateGuards.size||(c.updateGuards=f.updateGuards))),l&&c&&(!f||!Gl(c,f)||!O)&&(c.enterCallbacks[u]||[]).forEach(p=>p(l))},{flush:"post"}),()=>{const l=r.value,c=o.value,u=c&&c.components[t.name],O=t.name;if(!u)return EQ(n.default,{Component:u,route:l});const f=c.props[t.name],h=f?f===!0?l.params:typeof f=="function"?f(l):f:null,y=Ke(u,Yt({},h,e,{onVnodeUnmounted:$=>{$.component.isUnmounted&&(c.instances[O]=null)},ref:a}));return EQ(n.default,{Component:y,route:l})||y}}});function EQ(t,e){if(!t)return null;const n=t(e);return n.length===1?n[0]:n}const Pee=xee;function kee(t){const e=tee(t.routes,t),n=t.parseQuery||yee,i=t.stringifyQuery||CQ,r=t.history,s=Wc(),o=Wc(),a=Wc(),l=ga(Bs);let c=Bs;ml&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=L0.bind(null,I=>""+I),O=L0.bind(null,vee),f=L0.bind(null,td);function h(I,ne){let H,re;return CT(I)?(H=e.getRecordMatcher(I),re=ne):re=I,e.addRoute(re,H)}function p(I){const ne=e.getRecordMatcher(I);ne&&e.removeRoute(ne)}function y(){return e.getRoutes().map(I=>I.record)}function $(I){return!!e.getRecordMatcher(I)}function m(I,ne){if(ne=Yt({},ne||l.value),typeof I=="string"){const ue=B0(n,I,ne.path),W=e.resolve({path:ue.path},ne),q=r.createHref(ue.fullPath);return Yt(ue,W,{params:f(W.params),hash:td(ue.hash),redirectedFrom:void 0,href:q})}let H;if("path"in I)H=Yt({},I,{path:B0(n,I.path,ne.path).path});else{const ue=Yt({},I.params);for(const W in ue)ue[W]==null&&delete ue[W];H=Yt({},I,{params:O(I.params)}),ne.params=O(ne.params)}const re=e.resolve(H,ne),G=I.hash||"";re.params=u(f(re.params));const Re=TJ(i,Yt({},I,{hash:pee(G),path:re.path})),_e=r.createHref(Re);return Yt({fullPath:Re,hash:G,query:i===CQ?$ee(I.query):I.query||{}},re,{redirectedFrom:void 0,href:_e})}function d(I){return typeof I=="string"?B0(n,I,l.value.path):Yt({},I)}function g(I,ne){if(c!==I)return Hl(8,{from:ne,to:I})}function v(I){return Q(I)}function b(I){return v(Yt(d(I),{replace:!0}))}function _(I){const ne=I.matched[I.matched.length-1];if(ne&&ne.redirect){const{redirect:H}=ne;let re=typeof H=="function"?H(I):H;return typeof re=="string"&&(re=re.includes("?")||re.includes("#")?re=d(re):{path:re},re.params={}),Yt({query:I.query,hash:I.hash,params:I.params},re)}}function Q(I,ne){const H=c=m(I),re=l.value,G=I.state,Re=I.force,_e=I.replace===!0,ue=_(H);if(ue)return Q(Yt(d(ue),{state:G,force:Re,replace:_e}),ne||H);const W=H;W.redirectedFrom=ne;let q;return!Re&&RJ(i,re,H)&&(q=Hl(16,{to:W,from:re}),V(re,re,!0,!1)),(q?Promise.resolve(q):P(W,re)).catch(F=>Ms(F)?Ms(F,2)?F:D(F):R(F,W,re)).then(F=>{if(F){if(Ms(F,2))return Q(Yt(d(F.to),{state:G,force:Re,replace:_e}),ne||W)}else F=x(W,re,!0,_e,G);return w(W,re,F),F})}function S(I,ne){const H=g(I,ne);return H?Promise.reject(H):Promise.resolve()}function P(I,ne){let H;const[re,G,Re]=Cee(I,ne);H=M0(re.reverse(),"beforeRouteLeave",I,ne);for(const ue of re)ue.leaveGuards.forEach(W=>{H.push(Hs(W,I,ne))});const _e=S.bind(null,I,ne);return H.push(_e),ll(H).then(()=>{H=[];for(const ue of s.list())H.push(Hs(ue,I,ne));return H.push(_e),ll(H)}).then(()=>{H=M0(G,"beforeRouteUpdate",I,ne);for(const ue of G)ue.updateGuards.forEach(W=>{H.push(Hs(W,I,ne))});return H.push(_e),ll(H)}).then(()=>{H=[];for(const ue of I.matched)if(ue.beforeEnter&&!ne.matched.includes(ue))if(Array.isArray(ue.beforeEnter))for(const W of ue.beforeEnter)H.push(Hs(W,I,ne));else H.push(Hs(ue.beforeEnter,I,ne));return H.push(_e),ll(H)}).then(()=>(I.matched.forEach(ue=>ue.enterCallbacks={}),H=M0(Re,"beforeRouteEnter",I,ne),H.push(_e),ll(H))).then(()=>{H=[];for(const ue of o.list())H.push(Hs(ue,I,ne));return H.push(_e),ll(H)}).catch(ue=>Ms(ue,8)?ue:Promise.reject(ue))}function w(I,ne,H){for(const re of a.list())re(I,ne,H)}function x(I,ne,H,re,G){const Re=g(I,ne);if(Re)return Re;const _e=ne===Bs,ue=ml?history.state:{};H&&(re||_e?r.replace(I.fullPath,Yt({scroll:_e&&ue&&ue.scroll},G)):r.push(I.fullPath,G)),l.value=I,V(I,ne,H,_e),D()}let k;function C(){k||(k=r.listen((I,ne,H)=>{const re=m(I),G=_(re);if(G){Q(Yt(G,{replace:!0}),re).catch(yu);return}c=re;const Re=l.value;ml&&UJ(QQ(Re.fullPath,H.delta),yp()),P(re,Re).catch(_e=>Ms(_e,12)?_e:Ms(_e,2)?(Q(_e.to,re).then(ue=>{Ms(ue,20)&&!H.delta&&H.type===Fu.pop&&r.go(-1,!1)}).catch(yu),Promise.reject()):(H.delta&&r.go(-H.delta,!1),R(_e,re,Re))).then(_e=>{_e=_e||x(re,Re,!1),_e&&(H.delta?r.go(-H.delta,!1):H.type===Fu.pop&&Ms(_e,20)&&r.go(-1,!1)),w(re,Re,_e)}).catch(yu)}))}let T=Wc(),E=Wc(),A;function R(I,ne,H){D(I);const re=E.list();return re.length?re.forEach(G=>G(I,ne,H)):console.error(I),Promise.reject(I)}function X(){return A&&l.value!==Bs?Promise.resolve():new Promise((I,ne)=>{T.add([I,ne])})}function D(I){return A||(A=!I,C(),T.list().forEach(([ne,H])=>I?H(I):ne()),T.reset()),I}function V(I,ne,H,re){const{scrollBehavior:G}=t;if(!ml||!G)return Promise.resolve();const Re=!H&&DJ(QQ(I.fullPath,0))||(re||!H)&&history.state&&history.state.scroll||null;return et().then(()=>G(I,ne,Re)).then(_e=>_e&&qJ(_e)).catch(_e=>R(_e,I,ne))}const j=I=>r.go(I);let Z;const ee=new Set;return{currentRoute:l,addRoute:h,removeRoute:p,hasRoute:$,getRoutes:y,resolve:m,options:t,push:v,replace:b,go:j,back:()=>j(-1),forward:()=>j(1),beforeEach:s.add,beforeResolve:o.add,afterEach:a.add,onError:E.add,isReady:X,install(I){const ne=this;I.component("RouterLink",Qee),I.component("RouterView",Pee),I.config.globalProperties.$router=ne,Object.defineProperty(I.config.globalProperties,"$route",{enumerable:!0,get:()=>M(l)}),ml&&!Z&&l.value===Bs&&(Z=!0,v(r.location).catch(G=>{}));const H={};for(const G in Bs)H[G]=N(()=>l.value[G]);I.provide(x$,ne),I.provide(xT,gn(H)),I.provide(Vg,l);const re=I.unmount;ee.add(I),I.unmount=function(){ee.delete(I),ee.size<1&&(c=Bs,k&&k(),k=null,l.value=Bs,Z=!1,A=!1),re()}}}}function ll(t){return t.reduce((e,n)=>e.then(()=>n()),Promise.resolve())}function Cee(t,e){const n=[],i=[],r=[],s=Math.max(e.matched.length,t.matched.length);for(let o=0;oGl(c,a))?i.push(a):n.push(a));const l=t.matched[o];l&&(e.matched.find(c=>Gl(c,l))||r.push(l))}return[n,i,r]}const Kr=Object.create(null);Kr.open="0";Kr.close="1";Kr.ping="2";Kr.pong="3";Kr.message="4";Kr.upgrade="5";Kr.noop="6";const $h=Object.create(null);Object.keys(Kr).forEach(t=>{$h[Kr[t]]=t});const Tee={type:"error",data:"parser error"},Ree=typeof Blob=="function"||typeof Blob!="undefined"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",Aee=typeof ArrayBuffer=="function",Eee=t=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(t):t&&t.buffer instanceof ArrayBuffer,IT=({type:t,data:e},n,i)=>Ree&&e instanceof Blob?n?i(e):XQ(e,i):Aee&&(e instanceof ArrayBuffer||Eee(e))?n?i(e):XQ(new Blob([e]),i):i(Kr[t]+(e||"")),XQ=(t,e)=>{const n=new FileReader;return n.onload=function(){const i=n.result.split(",")[1];e("b"+i)},n.readAsDataURL(t)},WQ="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Hc=typeof Uint8Array=="undefined"?[]:new Uint8Array(256);for(let t=0;t{let e=t.length*.75,n=t.length,i,r=0,s,o,a,l;t[t.length-1]==="="&&(e--,t[t.length-2]==="="&&e--);const c=new ArrayBuffer(e),u=new Uint8Array(c);for(i=0;i>4,u[r++]=(o&15)<<4|a>>2,u[r++]=(a&3)<<6|l&63;return c},Wee=typeof ArrayBuffer=="function",qT=(t,e)=>{if(typeof t!="string")return{type:"message",data:UT(t,e)};const n=t.charAt(0);return n==="b"?{type:"message",data:zee(t.substring(1),e)}:$h[n]?t.length>1?{type:$h[n],data:t.substring(1)}:{type:$h[n]}:Tee},zee=(t,e)=>{if(Wee){const n=Xee(t);return UT(n,e)}else return{base64:!0,data:t}},UT=(t,e)=>{switch(e){case"blob":return t instanceof ArrayBuffer?new Blob([t]):t;case"arraybuffer":default:return t}},DT=String.fromCharCode(30),Iee=(t,e)=>{const n=t.length,i=new Array(n);let r=0;t.forEach((s,o)=>{IT(s,!1,a=>{i[o]=a,++r===n&&e(i.join(DT))})})},qee=(t,e)=>{const n=t.split(DT),i=[];for(let r=0;rtypeof self!="undefined"?self:typeof window!="undefined"?window:Function("return this")())();function BT(t,...e){return e.reduce((n,i)=>(t.hasOwnProperty(i)&&(n[i]=t[i]),n),{})}const Dee=setTimeout,Lee=clearTimeout;function $p(t,e){e.useNativeTimers?(t.setTimeoutFn=Dee.bind(oo),t.clearTimeoutFn=Lee.bind(oo)):(t.setTimeoutFn=setTimeout.bind(oo),t.clearTimeoutFn=clearTimeout.bind(oo))}const Bee=1.33;function Mee(t){return typeof t=="string"?Yee(t):Math.ceil((t.byteLength||t.size)*Bee)}function Yee(t){let e=0,n=0;for(let i=0,r=t.length;i=57344?n+=3:(i++,n+=4);return n}class Zee extends Error{constructor(e,n,i){super(e),this.description=n,this.context=i,this.type="TransportError"}}class MT extends pn{constructor(e){super(),this.writable=!1,$p(this,e),this.opts=e,this.query=e.query,this.readyState="",this.socket=e.socket}onError(e,n,i){return super.emitReserved("error",new Zee(e,n,i)),this}open(){return(this.readyState==="closed"||this.readyState==="")&&(this.readyState="opening",this.doOpen()),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(e){this.readyState==="open"&&this.write(e)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(e){const n=qT(e,this.socket.binaryType);this.onPacket(n)}onPacket(e){super.emitReserved("packet",e)}onClose(e){this.readyState="closed",super.emitReserved("close",e)}}const YT="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),Fg=64,Vee={};let zQ=0,wO=0,IQ;function qQ(t){let e="";do e=YT[t%Fg]+e,t=Math.floor(t/Fg);while(t>0);return e}function ZT(){const t=qQ(+new Date);return t!==IQ?(zQ=0,IQ=t):t+"."+qQ(zQ++)}for(;wO{this.readyState="paused",e()};if(this.polling||!this.writable){let i=0;this.polling&&(i++,this.once("pollComplete",function(){--i||n()})),this.writable||(i++,this.once("drain",function(){--i||n()}))}else n()}poll(){this.polling=!0,this.doPoll(),this.emitReserved("poll")}onData(e){const n=i=>{if(this.readyState==="opening"&&i.type==="open"&&this.onOpen(),i.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(i)};qee(e,this.socket.binaryType).forEach(n),this.readyState!=="closed"&&(this.polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this.poll())}doClose(){const e=()=>{this.write([{type:"close"}])};this.readyState==="open"?e():this.once("open",e)}write(e){this.writable=!1,Iee(e,n=>{this.doWrite(n,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){let e=this.query||{};const n=this.opts.secure?"https":"http";let i="";this.opts.timestampRequests!==!1&&(e[this.opts.timestampParam]=ZT()),!this.supportsBinary&&!e.sid&&(e.b64=1),this.opts.port&&(n==="https"&&Number(this.opts.port)!==443||n==="http"&&Number(this.opts.port)!==80)&&(i=":"+this.opts.port);const r=VT(e),s=this.opts.hostname.indexOf(":")!==-1;return n+"://"+(s?"["+this.opts.hostname+"]":this.opts.hostname)+i+this.opts.path+(r.length?"?"+r:"")}request(e={}){return Object.assign(e,{xd:this.xd,xs:this.xs},this.opts),new Vr(this.uri(),e)}doWrite(e,n){const i=this.request({method:"POST",data:e});i.on("success",n),i.on("error",(r,s)=>{this.onError("xhr post error",r,s)})}doPoll(){const e=this.request();e.on("data",this.onData.bind(this)),e.on("error",(n,i)=>{this.onError("xhr poll error",n,i)}),this.pollXhr=e}}class Vr extends pn{constructor(e,n){super(),$p(this,n),this.opts=n,this.method=n.method||"GET",this.uri=e,this.async=n.async!==!1,this.data=n.data!==void 0?n.data:null,this.create()}create(){const e=BT(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");e.xdomain=!!this.opts.xd,e.xscheme=!!this.opts.xs;const n=this.xhr=new NT(e);try{n.open(this.method,this.uri,this.async);try{if(this.opts.extraHeaders){n.setDisableHeaderCheck&&n.setDisableHeaderCheck(!0);for(let i in this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(i)&&n.setRequestHeader(i,this.opts.extraHeaders[i])}}catch{}if(this.method==="POST")try{n.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{n.setRequestHeader("Accept","*/*")}catch{}"withCredentials"in n&&(n.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(n.timeout=this.opts.requestTimeout),n.onreadystatechange=()=>{n.readyState===4&&(n.status===200||n.status===1223?this.onLoad():this.setTimeoutFn(()=>{this.onError(typeof n.status=="number"?n.status:0)},0))},n.send(this.data)}catch(i){this.setTimeoutFn(()=>{this.onError(i)},0);return}typeof document!="undefined"&&(this.index=Vr.requestsCount++,Vr.requests[this.index]=this)}onError(e){this.emitReserved("error",e,this.xhr),this.cleanup(!0)}cleanup(e){if(!(typeof this.xhr=="undefined"||this.xhr===null)){if(this.xhr.onreadystatechange=Fee,e)try{this.xhr.abort()}catch{}typeof document!="undefined"&&delete Vr.requests[this.index],this.xhr=null}}onLoad(){const e=this.xhr.responseText;e!==null&&(this.emitReserved("data",e),this.emitReserved("success"),this.cleanup())}abort(){this.cleanup()}}Vr.requestsCount=0;Vr.requests={};if(typeof document!="undefined"){if(typeof attachEvent=="function")attachEvent("onunload",UQ);else if(typeof addEventListener=="function"){const t="onpagehide"in oo?"pagehide":"unload";addEventListener(t,UQ,!1)}}function UQ(){for(let t in Vr.requests)Vr.requests.hasOwnProperty(t)&&Vr.requests[t].abort()}const Kee=(()=>typeof Promise=="function"&&typeof Promise.resolve=="function"?e=>Promise.resolve().then(e):(e,n)=>n(e,0))(),xO=oo.WebSocket||oo.MozWebSocket,DQ=!0,Jee="arraybuffer",LQ=typeof navigator!="undefined"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class ete extends MT{constructor(e){super(e),this.supportsBinary=!e.forceBase64}get name(){return"websocket"}doOpen(){if(!this.check())return;const e=this.uri(),n=this.opts.protocols,i=LQ?{}:BT(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(i.headers=this.opts.extraHeaders);try{this.ws=DQ&&!LQ?n?new xO(e,n):new xO(e):new xO(e,n,i)}catch(r){return this.emitReserved("error",r)}this.ws.binaryType=this.socket.binaryType||Jee,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=e=>this.onClose({description:"websocket connection closed",context:e}),this.ws.onmessage=e=>this.onData(e.data),this.ws.onerror=e=>this.onError("websocket error",e)}write(e){this.writable=!1;for(let n=0;n{const o={};try{DQ&&this.ws.send(s)}catch{}r&&Kee(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws!="undefined"&&(this.ws.close(),this.ws=null)}uri(){let e=this.query||{};const n=this.opts.secure?"wss":"ws";let i="";this.opts.port&&(n==="wss"&&Number(this.opts.port)!==443||n==="ws"&&Number(this.opts.port)!==80)&&(i=":"+this.opts.port),this.opts.timestampRequests&&(e[this.opts.timestampParam]=ZT()),this.supportsBinary||(e.b64=1);const r=VT(e),s=this.opts.hostname.indexOf(":")!==-1;return n+"://"+(s?"["+this.opts.hostname+"]":this.opts.hostname)+i+this.opts.path+(r.length?"?"+r:"")}check(){return!!xO}}const tte={websocket:ete,polling:Hee},nte=/^(?:(?![^:@]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,ite=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function Gg(t){const e=t,n=t.indexOf("["),i=t.indexOf("]");n!=-1&&i!=-1&&(t=t.substring(0,n)+t.substring(n,i).replace(/:/g,";")+t.substring(i,t.length));let r=nte.exec(t||""),s={},o=14;for(;o--;)s[ite[o]]=r[o]||"";return n!=-1&&i!=-1&&(s.source=e,s.host=s.host.substring(1,s.host.length-1).replace(/;/g,":"),s.authority=s.authority.replace("[","").replace("]","").replace(/;/g,":"),s.ipv6uri=!0),s.pathNames=rte(s,s.path),s.queryKey=ste(s,s.query),s}function rte(t,e){const n=/\/{2,9}/g,i=e.replace(n,"/").split("/");return(e.substr(0,1)=="/"||e.length===0)&&i.splice(0,1),e.substr(e.length-1,1)=="/"&&i.splice(i.length-1,1),i}function ste(t,e){const n={};return e.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(i,r,s){r&&(n[r]=s)}),n}class io extends pn{constructor(e,n={}){super(),e&&typeof e=="object"&&(n=e,e=null),e?(e=Gg(e),n.hostname=e.host,n.secure=e.protocol==="https"||e.protocol==="wss",n.port=e.port,e.query&&(n.query=e.query)):n.host&&(n.hostname=Gg(n.host).host),$p(this,n),this.secure=n.secure!=null?n.secure:typeof location!="undefined"&&location.protocol==="https:",n.hostname&&!n.port&&(n.port=this.secure?"443":"80"),this.hostname=n.hostname||(typeof location!="undefined"?location.hostname:"localhost"),this.port=n.port||(typeof location!="undefined"&&location.port?location.port:this.secure?"443":"80"),this.transports=n.transports||["polling","websocket"],this.readyState="",this.writeBuffer=[],this.prevBufferLen=0,this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!0},n),this.opts.path=this.opts.path.replace(/\/$/,"")+"/",typeof this.opts.query=="string"&&(this.opts.query=jee(this.opts.query)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingTimeoutTimer=null,typeof addEventListener=="function"&&(this.opts.closeOnBeforeunload&&addEventListener("beforeunload",()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},!1),this.hostname!=="localhost"&&(this.offlineEventListener=()=>{this.onClose("transport close",{description:"network connection lost"})},addEventListener("offline",this.offlineEventListener,!1))),this.open()}createTransport(e){const n=Object.assign({},this.opts.query);n.EIO=LT,n.transport=e,this.id&&(n.sid=this.id);const i=Object.assign({},this.opts.transportOptions[e],this.opts,{query:n,socket:this,hostname:this.hostname,secure:this.secure,port:this.port});return new tte[e](i)}open(){let e;if(this.opts.rememberUpgrade&&io.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1)e="websocket";else if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}else e=this.transports[0];this.readyState="opening";try{e=this.createTransport(e)}catch{this.transports.shift(),this.open();return}e.open(),this.setTransport(e)}setTransport(e){this.transport&&this.transport.removeAllListeners(),this.transport=e,e.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",n=>this.onClose("transport close",n))}probe(e){let n=this.createTransport(e),i=!1;io.priorWebsocketSuccess=!1;const r=()=>{i||(n.send([{type:"ping",data:"probe"}]),n.once("packet",O=>{if(!i)if(O.type==="pong"&&O.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",n),!n)return;io.priorWebsocketSuccess=n.name==="websocket",this.transport.pause(()=>{i||this.readyState!=="closed"&&(u(),this.setTransport(n),n.send([{type:"upgrade"}]),this.emitReserved("upgrade",n),n=null,this.upgrading=!1,this.flush())})}else{const f=new Error("probe error");f.transport=n.name,this.emitReserved("upgradeError",f)}}))};function s(){i||(i=!0,u(),n.close(),n=null)}const o=O=>{const f=new Error("probe error: "+O);f.transport=n.name,s(),this.emitReserved("upgradeError",f)};function a(){o("transport closed")}function l(){o("socket closed")}function c(O){n&&O.name!==n.name&&s()}const u=()=>{n.removeListener("open",r),n.removeListener("error",o),n.removeListener("close",a),this.off("close",l),this.off("upgrading",c)};n.once("open",r),n.once("error",o),n.once("close",a),this.once("close",l),this.once("upgrading",c),n.open()}onOpen(){if(this.readyState="open",io.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush(),this.readyState==="open"&&this.opts.upgrade&&this.transport.pause){let e=0;const n=this.upgrades.length;for(;e{this.onClose("ping timeout")},this.pingInterval+this.pingTimeout),this.opts.autoUnref&&this.pingTimeoutTimer.unref()}onDrain(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const e=this.getWritablePackets();this.transport.send(e),this.prevBufferLen=e.length,this.emitReserved("flush")}}getWritablePackets(){if(!(this.maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let n=1;for(let i=0;i0&&n>this.maxPayload)return this.writeBuffer.slice(0,i);n+=2}return this.writeBuffer}write(e,n,i){return this.sendPacket("message",e,n,i),this}send(e,n,i){return this.sendPacket("message",e,n,i),this}sendPacket(e,n,i,r){if(typeof n=="function"&&(r=n,n=void 0),typeof i=="function"&&(r=i,i=null),this.readyState==="closing"||this.readyState==="closed")return;i=i||{},i.compress=i.compress!==!1;const s={type:e,data:n,options:i};this.emitReserved("packetCreate",s),this.writeBuffer.push(s),r&&this.once("flush",r),this.flush()}close(){const e=()=>{this.onClose("forced close"),this.transport.close()},n=()=>{this.off("upgrade",n),this.off("upgradeError",n),e()},i=()=>{this.once("upgrade",n),this.once("upgradeError",n)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?i():e()}):this.upgrading?i():e()),this}onError(e){io.priorWebsocketSuccess=!1,this.emitReserved("error",e),this.onClose("transport error",e)}onClose(e,n){(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")&&(this.clearTimeoutFn(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),typeof removeEventListener=="function"&&removeEventListener("offline",this.offlineEventListener,!1),this.readyState="closed",this.id=null,this.emitReserved("close",e,n),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(e){const n=[];let i=0;const r=e.length;for(;itypeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(t):t.buffer instanceof ArrayBuffer,FT=Object.prototype.toString,cte=typeof Blob=="function"||typeof Blob!="undefined"&&FT.call(Blob)==="[object BlobConstructor]",ute=typeof File=="function"||typeof File!="undefined"&&FT.call(File)==="[object FileConstructor]";function k$(t){return ate&&(t instanceof ArrayBuffer||lte(t))||cte&&t instanceof Blob||ute&&t instanceof File}function bh(t,e){if(!t||typeof t!="object")return!1;if(Array.isArray(t)){for(let n=0,i=t.length;n0;case _t.ACK:case _t.BINARY_ACK:return Array.isArray(n)}}destroy(){this.reconstructor&&this.reconstructor.finishedReconstruction()}}class pte{constructor(e){this.packet=e,this.buffers=[],this.reconPack=e}takeBinaryData(e){if(this.buffers.push(e),this.buffers.length===this.reconPack.attachments){const n=Ote(this.reconPack,this.buffers);return this.finishedReconstruction(),n}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}var mte=Object.freeze(Object.defineProperty({__proto__:null,protocol:hte,get PacketType(){return _t},Encoder:dte,Decoder:C$},Symbol.toStringTag,{value:"Module"}));function vr(t,e,n){return t.on(e,n),function(){t.off(e,n)}}const gte=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class GT extends pn{constructor(e,n,i){super(),this.connected=!1,this.receiveBuffer=[],this.sendBuffer=[],this.ids=0,this.acks={},this.flags={},this.io=e,this.nsp=n,i&&i.auth&&(this.auth=i.auth),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const e=this.io;this.subs=[vr(e,"open",this.onopen.bind(this)),vr(e,"packet",this.onpacket.bind(this)),vr(e,"error",this.onerror.bind(this)),vr(e,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(...e){return e.unshift("message"),this.emit.apply(this,e),this}emit(e,...n){if(gte.hasOwnProperty(e))throw new Error('"'+e+'" is a reserved event name');n.unshift(e);const i={type:_t.EVENT,data:n};if(i.options={},i.options.compress=this.flags.compress!==!1,typeof n[n.length-1]=="function"){const o=this.ids++,a=n.pop();this._registerAckCallback(o,a),i.id=o}const r=this.io.engine&&this.io.engine.transport&&this.io.engine.transport.writable;return this.flags.volatile&&(!r||!this.connected)||(this.connected?(this.notifyOutgoingListeners(i),this.packet(i)):this.sendBuffer.push(i)),this.flags={},this}_registerAckCallback(e,n){const i=this.flags.timeout;if(i===void 0){this.acks[e]=n;return}const r=this.io.setTimeoutFn(()=>{delete this.acks[e];for(let s=0;s{this.io.clearTimeoutFn(r),n.apply(this,[null,...s])}}packet(e){e.nsp=this.nsp,this.io._packet(e)}onopen(){typeof this.auth=="function"?this.auth(e=>{this.packet({type:_t.CONNECT,data:e})}):this.packet({type:_t.CONNECT,data:this.auth})}onerror(e){this.connected||this.emitReserved("connect_error",e)}onclose(e,n){this.connected=!1,delete this.id,this.emitReserved("disconnect",e,n)}onpacket(e){if(e.nsp===this.nsp)switch(e.type){case _t.CONNECT:if(e.data&&e.data.sid){const r=e.data.sid;this.onconnect(r)}else this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case _t.EVENT:case _t.BINARY_EVENT:this.onevent(e);break;case _t.ACK:case _t.BINARY_ACK:this.onack(e);break;case _t.DISCONNECT:this.ondisconnect();break;case _t.CONNECT_ERROR:this.destroy();const i=new Error(e.data.message);i.data=e.data.data,this.emitReserved("connect_error",i);break}}onevent(e){const n=e.data||[];e.id!=null&&n.push(this.ack(e.id)),this.connected?this.emitEvent(n):this.receiveBuffer.push(Object.freeze(n))}emitEvent(e){if(this._anyListeners&&this._anyListeners.length){const n=this._anyListeners.slice();for(const i of n)i.apply(this,e)}super.emit.apply(this,e)}ack(e){const n=this;let i=!1;return function(...r){i||(i=!0,n.packet({type:_t.ACK,id:e,data:r}))}}onack(e){const n=this.acks[e.id];typeof n=="function"&&(n.apply(this,e.data),delete this.acks[e.id])}onconnect(e){this.id=e,this.connected=!0,this.emitBuffered(),this.emitReserved("connect")}emitBuffered(){this.receiveBuffer.forEach(e=>this.emitEvent(e)),this.receiveBuffer=[],this.sendBuffer.forEach(e=>{this.notifyOutgoingListeners(e),this.packet(e)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(e=>e()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:_t.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(e){return this.flags.compress=e,this}get volatile(){return this.flags.volatile=!0,this}timeout(e){return this.flags.timeout=e,this}onAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(e),this}prependAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(e),this}offAny(e){if(!this._anyListeners)return this;if(e){const n=this._anyListeners;for(let i=0;i0&&t.jitter<=1?t.jitter:0,this.attempts=0}_c.prototype.duration=function(){var t=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var e=Math.random(),n=Math.floor(e*this.jitter*t);t=(Math.floor(e*10)&1)==0?t-n:t+n}return Math.min(t,this.max)|0};_c.prototype.reset=function(){this.attempts=0};_c.prototype.setMin=function(t){this.ms=t};_c.prototype.setMax=function(t){this.max=t};_c.prototype.setJitter=function(t){this.jitter=t};class Jg extends pn{constructor(e,n){var i;super(),this.nsps={},this.subs=[],e&&typeof e=="object"&&(n=e,e=void 0),n=n||{},n.path=n.path||"/socket.io",this.opts=n,$p(this,n),this.reconnection(n.reconnection!==!1),this.reconnectionAttempts(n.reconnectionAttempts||1/0),this.reconnectionDelay(n.reconnectionDelay||1e3),this.reconnectionDelayMax(n.reconnectionDelayMax||5e3),this.randomizationFactor((i=n.randomizationFactor)!==null&&i!==void 0?i:.5),this.backoff=new _c({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(n.timeout==null?2e4:n.timeout),this._readyState="closed",this.uri=e;const r=n.parser||mte;this.encoder=new r.Encoder,this.decoder=new r.Decoder,this._autoConnect=n.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(e){return arguments.length?(this._reconnection=!!e,this):this._reconnection}reconnectionAttempts(e){return e===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=e,this)}reconnectionDelay(e){var n;return e===void 0?this._reconnectionDelay:(this._reconnectionDelay=e,(n=this.backoff)===null||n===void 0||n.setMin(e),this)}randomizationFactor(e){var n;return e===void 0?this._randomizationFactor:(this._randomizationFactor=e,(n=this.backoff)===null||n===void 0||n.setJitter(e),this)}reconnectionDelayMax(e){var n;return e===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=e,(n=this.backoff)===null||n===void 0||n.setMax(e),this)}timeout(e){return arguments.length?(this._timeout=e,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(e){if(~this._readyState.indexOf("open"))return this;this.engine=new io(this.uri,this.opts);const n=this.engine,i=this;this._readyState="opening",this.skipReconnect=!1;const r=vr(n,"open",function(){i.onopen(),e&&e()}),s=vr(n,"error",o=>{i.cleanup(),i._readyState="closed",this.emitReserved("error",o),e?e(o):i.maybeReconnectOnOpen()});if(this._timeout!==!1){const o=this._timeout;o===0&&r();const a=this.setTimeoutFn(()=>{r(),n.close(),n.emit("error",new Error("timeout"))},o);this.opts.autoUnref&&a.unref(),this.subs.push(function(){clearTimeout(a)})}return this.subs.push(r),this.subs.push(s),this}connect(e){return this.open(e)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const e=this.engine;this.subs.push(vr(e,"ping",this.onping.bind(this)),vr(e,"data",this.ondata.bind(this)),vr(e,"error",this.onerror.bind(this)),vr(e,"close",this.onclose.bind(this)),vr(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(e){this.decoder.add(e)}ondecoded(e){this.emitReserved("packet",e)}onerror(e){this.emitReserved("error",e)}socket(e,n){let i=this.nsps[e];return i||(i=new GT(this,e,n),this.nsps[e]=i),i}_destroy(e){const n=Object.keys(this.nsps);for(const i of n)if(this.nsps[i].active)return;this._close()}_packet(e){const n=this.encoder.encode(e);for(let i=0;ie()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close"),this.engine&&this.engine.close()}disconnect(){return this._close()}onclose(e,n){this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",e,n),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const e=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const n=this.backoff.duration();this._reconnecting=!0;const i=this.setTimeoutFn(()=>{e.skipReconnect||(this.emitReserved("reconnect_attempt",e.backoff.attempts),!e.skipReconnect&&e.open(r=>{r?(e._reconnecting=!1,e.reconnect(),this.emitReserved("reconnect_error",r)):e.onreconnect()}))},n);this.opts.autoUnref&&i.unref(),this.subs.push(function(){clearTimeout(i)})}}onreconnect(){const e=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",e)}}const zc={};function _a(t,e){typeof t=="object"&&(e=t,t=void 0),e=e||{};const n=ote(t,e.path||"/socket.io"),i=n.source,r=n.id,s=n.path,o=zc[r]&&s in zc[r].nsps,a=e.forceNew||e["force new connection"]||e.multiplex===!1||o;let l;return a?l=new Jg(i,e):(zc[r]||(zc[r]=new Jg(i,e)),l=zc[r]),n.query&&!e.query&&(e.query=n.queryKey),l.socket(n.path,e)}Object.assign(_a,{Manager:Jg,Socket:GT,io:_a,connect:_a});var an=(t,e)=>{const n=t.__vccOpts||t;for(const[i,r]of e)n[i]=r;return n};const Y0=()=>({group:"default",name:"",host:"",expired:null,expiredNotify:!1,consoleUrl:"",remark:""}),vte={name:"HostForm",props:{show:{required:!0,type:Boolean},defaultData:{required:!1,type:Object,default:null}},emits:["update:show","update-list","closed"],data(){return{hostForm:Y0(),oldHost:"",groupList:[],rules:{group:{required:!0,message:"\u9009\u62E9\u4E00\u4E2A\u5206\u7EC4"},name:{required:!0,message:"\u8F93\u5165\u4E3B\u673A\u522B\u540D",trigger:"change"},host:{required:!0,message:"\u8F93\u5165IP/\u57DF\u540D",trigger:"change"},expired:{required:!1},expiredNotify:{required:!1},consoleUrl:{required:!1},remark:{required:!1}}}},computed:{visible:{get(){return this.show},set(t){this.$emit("update:show",t)}},title(){return this.defaultData?"\u4FEE\u6539\u670D\u52A1\u5668":"\u65B0\u589E\u670D\u52A1\u5668"},formRef(){return this.$refs.form}},watch:{show(t){!t||this.getGroupList()}},methods:{getGroupList(){this.$api.getGroupList().then(({data:t})=>{this.groupList=t})},handleClosed(){console.log("handleClosed"),this.hostForm=Y0(),this.$emit("closed"),this.$nextTick(()=>this.formRef.resetFields())},setDefaultData(){if(!this.defaultData)return;let{name:t,host:e,expired:n,expiredNotify:i,consoleUrl:r,group:s,remark:o}=this.defaultData;this.oldHost=e,this.hostForm={name:t,host:e,expired:n,expiredNotify:i,consoleUrl:r,group:s,remark:o}},handleSave(){this.formRef.validate().then(async()=>{if((!this.hostForm.expired||!this.hostForm.expiredNotify)&&(this.hostForm.expired=null,this.hostForm.expiredNotify=!1),this.defaultData){let{oldHost:t}=this,{msg:e}=await this.$api.updateHost(Object.assign({},this.hostForm,{oldHost:t}));this.$message({type:"success",center:!0,message:e})}else{let{msg:t}=await this.$api.saveHost(this.hostForm);this.$message({type:"success",center:!0,message:t})}this.visible=!1,this.$emit("update-list"),this.hostForm=Y0()})}}},yte={class:"dialog-footer"},$te=Ee("\u5173\u95ED"),bte=Ee("\u786E\u8BA4");function _te(t,e,n,i,r,s){const o=b$,a=$$,l=vc,c=si,u=Cj,O=uT,f=Rs,h=gc,p=Tn,y=Ba;return L(),be(y,{modelValue:s.visible,"onUpdate:modelValue":e[8]||(e[8]=$=>s.visible=$),width:"400px",title:s.title,"close-on-click-modal":!1,onOpen:s.setDefaultData,onClosed:s.handleClosed},{footer:Y(()=>[U("span",yte,[B(p,{onClick:e[7]||(e[7]=$=>s.visible=!1)},{default:Y(()=>[$te]),_:1}),B(p,{type:"primary",onClick:s.handleSave},{default:Y(()=>[bte]),_:1},8,["onClick"])])]),default:Y(()=>[B(h,{ref:"form",model:r.hostForm,rules:r.rules,"hide-required-asterisk":!0,"label-suffix":"\uFF1A","label-width":"100px"},{default:Y(()=>[B(vk,{name:"list",mode:"out-in",tag:"div"},{default:Y(()=>[B(l,{key:"group",label:"\u5206\u7EC4",prop:"group"},{default:Y(()=>[B(a,{modelValue:r.hostForm.group,"onUpdate:modelValue":e[0]||(e[0]=$=>r.hostForm.group=$),placeholder:"\u670D\u52A1\u5668\u5206\u7EC4",style:{width:"100%"}},{default:Y(()=>[(L(!0),ie(Le,null,Rt(r.groupList,$=>(L(),be(o,{key:$.id,label:$.name,value:$.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),B(l,{key:"name",label:"\u4E3B\u673A\u522B\u540D",prop:"name"},{default:Y(()=>[B(c,{modelValue:r.hostForm.name,"onUpdate:modelValue":e[1]||(e[1]=$=>r.hostForm.name=$),modelModifiers:{trim:!0},clearable:"",placeholder:"\u4E3B\u673A\u522B\u540D",autocomplete:"off"},null,8,["modelValue"])]),_:1}),B(l,{key:"host",label:"IP/\u57DF\u540D",prop:"host"},{default:Y(()=>[B(c,{modelValue:r.hostForm.host,"onUpdate:modelValue":e[2]||(e[2]=$=>r.hostForm.host=$),modelModifiers:{trim:!0},clearable:"",placeholder:"IP/\u57DF\u540D",autocomplete:"off",onKeyup:Qt(s.handleSave,["enter"])},null,8,["modelValue","onKeyup"])]),_:1}),B(l,{key:"expired",label:"\u5230\u671F\u65F6\u95F4",prop:"expired"},{default:Y(()=>[B(u,{modelValue:r.hostForm.expired,"onUpdate:modelValue":e[3]||(e[3]=$=>r.hostForm.expired=$),type:"date","value-format":"x",placeholder:"\u670D\u52A1\u5668\u5230\u671F\u65F6\u95F4"},null,8,["modelValue"])]),_:1}),r.hostForm.expired?(L(),be(l,{key:"expiredNotify",label:"\u5230\u671F\u63D0\u9192",prop:"expiredNotify"},{default:Y(()=>[B(f,{content:"\u5C06\u5728\u670D\u52A1\u5668\u5230\u671F\u524D7\u30013\u30011\u5929\u53D1\u9001\u63D0\u9192(\u9700\u5728\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u6709\u6548\u90AE\u7BB1)",placement:"right"},{default:Y(()=>[B(O,{modelValue:r.hostForm.expiredNotify,"onUpdate:modelValue":e[4]||(e[4]=$=>r.hostForm.expiredNotify=$),"active-value":!0,"inactive-value":!1},null,8,["modelValue"])]),_:1})]),_:1})):Qe("",!0),B(l,{key:"consoleUrl",label:"\u63A7\u5236\u53F0URL",prop:"consoleUrl"},{default:Y(()=>[B(c,{modelValue:r.hostForm.consoleUrl,"onUpdate:modelValue":e[5]||(e[5]=$=>r.hostForm.consoleUrl=$),modelModifiers:{trim:!0},clearable:"",placeholder:"\u7528\u4E8E\u76F4\u8FBE\u670D\u52A1\u5668\u63A7\u5236\u53F0",autocomplete:"off",onKeyup:Qt(s.handleSave,["enter"])},null,8,["modelValue","onKeyup"])]),_:1}),B(l,{key:"remark",label:"\u5907\u6CE8",prop:"remark"},{default:Y(()=>[B(c,{modelValue:r.hostForm.remark,"onUpdate:modelValue":e[6]||(e[6]=$=>r.hostForm.remark=$),modelModifiers:{trim:!0},type:"textarea",rows:3,clearable:"",autocomplete:"off",placeholder:"\u7528\u4E8E\u7B80\u5355\u8BB0\u5F55\u670D\u52A1\u5668\u7528\u9014"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["modelValue","title","onOpen","onClosed"])}var Qte=an(vte,[["render",_te],["__scopeId","data-v-3da38037"]]);const Ste={name:"NotifyList",data(){return{notifyListLoading:!1,notifyList:[]}},mounted(){this.getNotifyList()},methods:{getNotifyList(t=!0){t&&(this.notifyListLoading=!0),this.$api.getNotifyList().then(({data:e})=>{this.notifyList=e.map(n=>(n.loading=!1,n))}).finally(()=>this.notifyListLoading=!1)},async handleChangeSw(t){t.loading=!0;const{type:e,sw:n}=t;try{await this.$api.updateNotifyList({type:e,sw:n})}finally{t.loading=!0}this.getNotifyList(!1)}}},wte=U("span",{style:{"letter-spacing":"2px"}}," Tips: \u8BF7\u6DFB\u52A0\u90AE\u7BB1\u5E76\u786E\u4FDD\u6D4B\u8BD5\u90AE\u4EF6\u901A\u8FC7 ",-1);function xte(t,e,n,i,r,s){const o=bf,a=vp,l=uT,c=gp,u=yc;return L(),ie(Le,null,[B(o,{type:"success",closable:!1},{title:Y(()=>[wte]),_:1}),it((L(),be(c,{data:r.notifyList},{default:Y(()=>[B(a,{prop:"desc",label:"\u901A\u77E5\u7C7B\u578B"}),B(a,{prop:"sw",label:"\u5F00\u5173"},{default:Y(({row:O})=>[B(l,{modelValue:O.sw,"onUpdate:modelValue":f=>O.sw=f,"active-value":!0,"inactive-value":!1,loading:O.loading,onChange:f=>s.handleChangeSw(O,f)},null,8,["modelValue","onUpdate:modelValue","loading","onChange"])]),_:1})]),_:1},8,["data"])),[[u,r.notifyListLoading]])],64)}var Pte=an(Ste,[["render",xte]]);const kte={name:"UserEmailList",data(){return{loading:!1,userEmailList:[],supportEmailList:[],emailForm:{target:"qq",auth:{user:"",pass:""}},rules:{"auth.user":{required:!0,type:"email",message:"\u9700\u8F93\u5165\u90AE\u7BB1",trigger:"change"},"auth.pass":{required:!0,message:"\u9700\u8F93\u5165SMTP\u6388\u6743\u7801",trigger:"change"}}}},mounted(){this.getUserEmailList(),this.getSupportEmailList()},methods:{getUserEmailList(){this.loading=!0,this.$api.getUserEmailList().then(({data:t})=>{this.userEmailList=t.map(e=>(e.loading=!1,e))}).finally(()=>this.loading=!1)},getSupportEmailList(){this.$api.getSupportEmailList().then(({data:t})=>{this.supportEmailList=t})},addEmail(){let t=this.$refs["email-form"];t.validate().then(()=>{this.$api.updateUserEmailList(ze({},this.emailForm)).then(()=>{this.$message.success("\u6DFB\u52A0\u6210\u529F, \u70B9\u51FB[\u6D4B\u8BD5]\u6309\u94AE\u53D1\u9001\u6D4B\u8BD5\u90AE\u4EF6");let{target:e}=this.emailForm;this.emailForm={target:e,auth:{user:"",pass:""}},this.$nextTick(()=>t.resetFields()),this.getUserEmailList()})})},pushTestEmail(t){t.loading=!0;const{email:e}=t;this.$api.pushTestEmail({isTest:!0,toEmail:e}).then(()=>{this.$message.success(`\u53D1\u9001\u6210\u529F, \u8BF7\u68C0\u67E5\u90AE\u7BB1: ${e}`)}).catch(n=>{var i;this.$notification({title:"\u53D1\u9001\u6D4B\u8BD5\u90AE\u4EF6\u5931\u8D25, \u8BF7\u68C0\u67E5\u90AE\u7BB1SMTP\u914D\u7F6E",message:(i=n.response)==null?void 0:i.data.msg,type:"error"})}).finally(()=>{t.loading=!1})},deleteUserEmail({email:t}){this.$messageBox.confirm(`\u786E\u8BA4\u5220\u9664\u90AE\u7BB1\uFF1A${t}`,"Warning",{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",type:"warning"}).then(async()=>{await this.$api.deleteUserEmail(t),this.$message.success("success"),this.getUserEmailList()})}}},Cte=Ee(" \u6DFB\u52A0 "),Tte=U("span",{style:{"letter-spacing":"2px"}}," Tips: \u7CFB\u7EDF\u6240\u6709\u901A\u77E5\u90AE\u4EF6\u5C06\u4F1A\u4E0B\u53D1\u5230\u6240\u6709\u5DF2\u7ECF\u914D\u7F6E\u6210\u529F\u7684\u90AE\u7BB1\u4E2D ",-1),Rte=Ee(" \u6D4B\u8BD5 "),Ate=Ee(" \u5220\u9664 ");function Ete(t,e,n,i,r,s){const o=b$,a=$$,l=vc,c=si,u=Tn,O=Rs,f=gc,h=bf,p=vp,y=gp,$=yc;return it((L(),ie("div",null,[B(f,{ref:"email-form",model:r.emailForm,rules:r.rules,inline:!0,"hide-required-asterisk":!0,"label-suffix":"\uFF1A"},{default:Y(()=>[B(l,{label:"",prop:"target",style:{width:"200px"}},{default:Y(()=>[B(a,{modelValue:r.emailForm.target,"onUpdate:modelValue":e[0]||(e[0]=m=>r.emailForm.target=m),placeholder:"\u90AE\u4EF6\u670D\u52A1\u5546"},{default:Y(()=>[(L(!0),ie(Le,null,Rt(r.supportEmailList,m=>(L(),be(o,{key:m.target,label:m.name,value:m.target},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),B(l,{label:"",prop:"auth.user",style:{width:"200px"}},{default:Y(()=>[B(c,{modelValue:r.emailForm.auth.user,"onUpdate:modelValue":e[1]||(e[1]=m=>r.emailForm.auth.user=m),modelModifiers:{trim:!0},clearable:"",placeholder:"\u90AE\u7BB1",autocomplete:"off"},null,8,["modelValue"])]),_:1}),B(l,{label:"",prop:"auth.pass",style:{width:"200px"}},{default:Y(()=>[B(c,{modelValue:r.emailForm.auth.pass,"onUpdate:modelValue":e[2]||(e[2]=m=>r.emailForm.auth.pass=m),modelModifiers:{trim:!0},clearable:"",placeholder:"SMTP\u6388\u6743\u7801",autocomplete:"off",onKeyup:Qt(s.addEmail,["enter"])},null,8,["modelValue","onKeyup"])]),_:1}),B(l,{label:""},{default:Y(()=>[B(O,{effect:"dark",content:"\u91CD\u590D\u6DFB\u52A0\u7684\u90AE\u7BB1\u5C06\u4F1A\u88AB\u8986\u76D6",placement:"right"},{default:Y(()=>[B(u,{type:"primary",onClick:s.addEmail},{default:Y(()=>[Cte]),_:1},8,["onClick"])]),_:1})]),_:1})]),_:1},8,["model","rules"]),B(h,{type:"success",closable:!1},{title:Y(()=>[Tte]),_:1}),B(y,{data:r.userEmailList,class:"table"},{default:Y(()=>[B(p,{prop:"email",label:"Email"}),B(p,{prop:"name",label:"\u670D\u52A1\u5546"}),B(p,{label:"\u64CD\u4F5C"},{default:Y(({row:m})=>[B(u,{type:"primary",loading:m.loading,onClick:d=>s.pushTestEmail(m)},{default:Y(()=>[Rte]),_:2},1032,["loading","onClick"]),B(u,{type:"danger",onClick:d=>s.deleteUserEmail(m)},{default:Y(()=>[Ate]),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"])])),[[$,r.loading]])}var Xte=an(kte,[["render",Ete]]);const Wte={name:"HostSort",emits:["update-list"],data(){return{targetIndex:0,list:[]}},created(){this.list=this.$store.hostList.map(({name:t,host:e})=>({name:t,host:e}))},methods:{dragstart(t){this.targetIndex=t},dragenter(t,e){if(t.preventDefault(),this.targetIndex!==e){let n=this.list.splice(this.targetIndex,1)[0];this.list.splice(e,0,n),this.targetIndex=e}},dragover(t){t.preventDefault()},handleUpdateSort(){let{list:t}=this;this.$api.updateHostSort({list:t}).then(({msg:e})=>{this.$message({type:"success",center:!0,message:e}),this.$store.sortHostList(this.list)})}}},zte=["onDragenter","onDragstart"],Ite=Ee(" --- "),qte={style:{display:"flex","justify-content":"center","margin-top":"25px"}},Ute=Ee(" \u4FDD\u5B58 ");function Dte(t,e,n,i,r,s){const o=Tn;return L(),ie(Le,null,[B(vk,{name:"list",mode:"out-in",tag:"ul",class:"host-list"},{default:Y(()=>[(L(!0),ie(Le,null,Rt(r.list,(a,l)=>(L(),ie("li",{key:a.host,draggable:!0,class:"host-item",onDragenter:c=>s.dragenter(c,l),onDragover:e[0]||(e[0]=c=>s.dragover(c)),onDragstart:c=>s.dragstart(l)},[U("span",null,de(a.host),1),Ite,U("span",null,de(a.name),1)],40,zte))),128))]),_:1}),U("div",qte,[B(o,{type:"primary",onClick:s.handleUpdateSort},{default:Y(()=>[Ute]),_:1},8,["onClick"])])],64)}var Lte=an(Wte,[["render",Dte],["__scopeId","data-v-89667db6"]]);const Bte={name:"LoginRecord",data(){return{loginRecordList:[],loading:!1}},created(){this.handleLookupLoginRecord()},methods:{handleLookupLoginRecord(){this.loading=!0,this.$api.getLoginRecord().then(({data:t})=>{this.loginRecordList=t.map(e=>(e.date=this.$tools.formatTimestamp(e.date),e))}).finally(()=>{this.loading=!1})}}},Mte=U("span",{style:{"letter-spacing":"2px"}}," Tips: \u7CFB\u7EDF\u53EA\u4FDD\u5B58\u6700\u8FD110\u6761\u767B\u5F55\u8BB0\u5F55, \u68C0\u6D4B\u5230\u66F4\u6362IP\u540E\u9700\u91CD\u65B0\u767B\u5F55 ",-1),Yte={style:{"letter-spacing":"2px"}};function Zte(t,e,n,i,r,s){const o=bf,a=vp,l=gp,c=yc;return L(),ie(Le,null,[B(o,{type:"success",closable:!1},{title:Y(()=>[Mte]),_:1}),it((L(),be(l,{data:r.loginRecordList},{default:Y(()=>[B(a,{prop:"ip",label:"IP"}),B(a,{prop:"address",label:"\u5730\u70B9","show-overflow-tooltip":""},{default:Y(u=>[U("span",Yte,de(u.row.country)+" "+de(u.row.city),1)]),_:1}),B(a,{prop:"date",label:"\u65F6\u95F4"})]),_:1},8,["data"])),[[c,r.loading]])],64)}var Vte=an(Bte,[["render",Zte]]);const jte={name:"NotifyList",data(){return{loading:!1,visible:!1,groupList:[],groupForm:{name:"",index:""},updateForm:{name:"",index:""},rules:{name:{required:!0,message:"\u9700\u8F93\u5165\u5206\u7EC4\u540D\u79F0",trigger:"change"},index:{required:!0,type:"number",message:"\u9700\u8F93\u5165\u6570\u5B57",trigger:"change"}}}},computed:{hostGroupInfo(){let t=this.$store.hostList.length,e=this.$store.hostList.reduce((n,i)=>(i.group||n++,n),0);return{total:t,notGroupCount:e}},list(){return this.groupList.map(t=>{let e=this.$store.hostList.reduce((n,i)=>(i.group===t.id&&(n.count++,n.list.push(i)),n),{count:0,list:[]});return Je(ze({},t),{hosts:e})})}},mounted(){this.getGroupList()},methods:{getGroupList(){this.loading=!0,this.$api.getGroupList().then(({data:t})=>{this.groupList=t,this.groupForm.index=t.length}).finally(()=>this.loading=!1)},addGroup(){let t=this.$refs["group-form"];t.validate().then(()=>{const{name:e,index:n}=this.groupForm;this.$api.addGroup({name:e,index:n}).then(()=>{this.$message.success("success"),this.groupForm={name:"",index:""},this.$nextTick(()=>t.resetFields()),this.getGroupList()})})},handleChange({id:t,name:e,index:n}){this.updateForm={id:t,name:e,index:n},this.visible=!0},updateGroup(){this.$refs["update-form"].validate().then(()=>{const{id:e,name:n,index:i}=this.updateForm;this.$api.updateGroup(e,{name:n,index:i}).then(()=>{this.$message.success("success"),this.visible=!1,this.getGroupList()})})},deleteGroup({id:t,name:e}){this.$messageBox.confirm(`\u786E\u8BA4\u5220\u9664\u5206\u7EC4\uFF1A${e}`,"Warning",{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",type:"warning"}).then(async()=>{await this.$api.deleteGroup(t),await this.$store.getHostList(),this.$message.success("success"),this.getGroupList()})}}},HT=t=>(fc("data-v-914cda9c"),t=t(),Oc(),t),Nte=Ee(" \u6DFB\u52A0 "),Fte={style:{"letter-spacing":"2px"}},Gte=Ee(" Tips: \u5DF2\u6DFB\u52A0\u670D\u52A1\u5668\u6570\u91CF "),Hte=Ee(", \u6709 "),Kte=Ee(" \u53F0\u670D\u52A1\u5668\u5C1A\u672A\u5206\u7EC4"),Jte=HT(()=>U("br",null,null,-1)),ene=HT(()=>U("span",{style:{"letter-spacing":"2px"}}," Tips: \u5220\u9664\u5206\u7EC4\u4F1A\u5C06\u5206\u7EC4\u5185\u6240\u6709\u670D\u52A1\u5668\u79FB\u81F3\u9ED8\u8BA4\u5206\u7EC4 ",-1)),tne={class:"host-count"},nne=Ee(" - "),ine={key:1,class:"host-count"},rne=Ee("\u4FEE\u6539"),sne=Ee("\u5220\u9664"),one={class:"dialog-footer"},ane=Ee("\u5173\u95ED"),lne=Ee("\u4FEE\u6539");function cne(t,e,n,i,r,s){const o=si,a=vc,l=Tn,c=gc,u=bf,O=vp,f=lT,h=gp,p=Ba,y=yc;return L(),ie(Le,null,[B(c,{ref:"group-form",model:r.groupForm,rules:r.rules,inline:!0,"hide-required-asterisk":!0,"label-suffix":"\uFF1A"},{default:Y(()=>[B(a,{label:"",prop:"name",style:{width:"200px"}},{default:Y(()=>[B(o,{modelValue:r.groupForm.name,"onUpdate:modelValue":e[0]||(e[0]=$=>r.groupForm.name=$),modelModifiers:{trim:!0},clearable:"",placeholder:"\u5206\u7EC4\u540D\u79F0",autocomplete:"off",onKeyup:Qt(s.addGroup,["enter"])},null,8,["modelValue","onKeyup"])]),_:1}),B(a,{label:"",prop:"index",style:{width:"200px"}},{default:Y(()=>[B(o,{modelValue:r.groupForm.index,"onUpdate:modelValue":e[1]||(e[1]=$=>r.groupForm.index=$),modelModifiers:{number:!0},clearable:"",placeholder:"\u5E8F\u53F7(\u6570\u5B57, \u7528\u4E8E\u5206\u7EC4\u6392\u5E8F)",autocomplete:"off",onKeyup:Qt(s.addGroup,["enter"])},null,8,["modelValue","onKeyup"])]),_:1}),B(a,{label:""},{default:Y(()=>[B(l,{type:"primary",onClick:s.addGroup},{default:Y(()=>[Nte]),_:1},8,["onClick"])]),_:1})]),_:1},8,["model","rules"]),B(u,{type:"success",closable:!1},{title:Y(()=>[U("span",Fte,[Gte,U("u",null,de(s.hostGroupInfo.total),1),it(U("span",null,[Hte,U("u",null,de(s.hostGroupInfo.notGroupCount),1),Kte],512),[[Lt,s.hostGroupInfo.notGroupCount]])])]),_:1}),Jte,B(u,{type:"success",closable:!1},{title:Y(()=>[ene]),_:1}),it((L(),be(h,{data:s.list},{default:Y(()=>[B(O,{prop:"index",label:"\u5E8F\u53F7"}),B(O,{prop:"id",label:"ID"}),B(O,{prop:"name",label:"\u5206\u7EC4\u540D\u79F0"}),B(O,{label:"\u5173\u8054\u670D\u52A1\u5668\u6570\u91CF"},{default:Y(({row:$})=>[$.hosts.list.length!==0?(L(),be(f,{key:0,placement:"right",width:350,trigger:"hover"},{reference:Y(()=>[U("u",tne,de($.hosts.count),1)]),default:Y(()=>[U("ul",null,[(L(!0),ie(Le,null,Rt($.hosts.list,m=>(L(),ie("li",{key:m.host},[U("span",null,de(m.host),1),nne,U("span",null,de(m.name),1)]))),128))])]),_:2},1024)):(L(),ie("u",ine,"0"))]),_:1}),B(O,{label:"\u64CD\u4F5C"},{default:Y(({row:$})=>[B(l,{type:"primary",onClick:m=>s.handleChange($)},{default:Y(()=>[rne]),_:2},1032,["onClick"]),it(B(l,{type:"danger",onClick:m=>s.deleteGroup($)},{default:Y(()=>[sne]),_:2},1032,["onClick"]),[[Lt,$.id!=="default"]])]),_:1})]),_:1},8,["data"])),[[y,r.loading]]),B(p,{modelValue:r.visible,"onUpdate:modelValue":e[5]||(e[5]=$=>r.visible=$),width:"400px",title:"\u4FEE\u6539\u5206\u7EC4","close-on-click-modal":!1},{footer:Y(()=>[U("span",one,[B(l,{onClick:e[4]||(e[4]=$=>r.visible=!1)},{default:Y(()=>[ane]),_:1}),B(l,{type:"primary",onClick:s.updateGroup},{default:Y(()=>[lne]),_:1},8,["onClick"])])]),default:Y(()=>[B(c,{ref:"update-form",model:r.updateForm,rules:r.rules,"hide-required-asterisk":!0,"label-suffix":"\uFF1A","label-width":"100px"},{default:Y(()=>[B(a,{label:"\u5206\u7EC4\u540D\u79F0",prop:"name"},{default:Y(()=>[B(o,{modelValue:r.updateForm.name,"onUpdate:modelValue":e[2]||(e[2]=$=>r.updateForm.name=$),modelModifiers:{trim:!0},clearable:"",placeholder:"\u5206\u7EC4\u540D\u79F0",autocomplete:"off"},null,8,["modelValue"])]),_:1}),B(a,{label:"\u5206\u7EC4\u5E8F\u53F7",prop:"index"},{default:Y(()=>[B(o,{modelValue:r.updateForm.index,"onUpdate:modelValue":e[3]||(e[3]=$=>r.updateForm.index=$),modelModifiers:{number:!0},clearable:"",placeholder:"\u5206\u7EC4\u5E8F\u53F7",autocomplete:"off"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["modelValue"])],64)}var une=an(jte,[["render",cne],["__scopeId","data-v-914cda9c"]]),fne="0123456789abcdefghijklmnopqrstuvwxyz";function cs(t){return fne.charAt(t)}function One(t,e){return t&e}function PO(t,e){return t|e}function BQ(t,e){return t^e}function MQ(t,e){return t&~e}function hne(t){if(t==0)return-1;var e=0;return(t&65535)==0&&(t>>=16,e+=16),(t&255)==0&&(t>>=8,e+=8),(t&15)==0&&(t>>=4,e+=4),(t&3)==0&&(t>>=2,e+=2),(t&1)==0&&++e,e}function dne(t){for(var e=0;t!=0;)t&=t-1,++e;return e}var gl="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",KT="=";function nd(t){var e,n,i="";for(e=0;e+3<=t.length;e+=3)n=parseInt(t.substring(e,e+3),16),i+=gl.charAt(n>>6)+gl.charAt(n&63);for(e+1==t.length?(n=parseInt(t.substring(e,e+1),16),i+=gl.charAt(n<<2)):e+2==t.length&&(n=parseInt(t.substring(e,e+2),16),i+=gl.charAt(n>>2)+gl.charAt((n&3)<<4));(i.length&3)>0;)i+=KT;return i}function YQ(t){var e="",n,i=0,r=0;for(n=0;n>2),r=s&3,i=1):i==1?(e+=cs(r<<2|s>>4),r=s&15,i=2):i==2?(e+=cs(r),e+=cs(s>>2),r=s&3,i=3):(e+=cs(r<<2|s>>4),e+=cs(s&15),i=0))}return i==1&&(e+=cs(r<<2)),e}var cl,pne={decode:function(t){var e;if(cl===void 0){var n="0123456789ABCDEF",i=` \f +\r \xA0\u2028\u2029`;for(cl={},e=0;e<16;++e)cl[n.charAt(e)]=e;for(n=n.toLowerCase(),e=10;e<16;++e)cl[n.charAt(e)]=e;for(e=0;e=2?(r[r.length]=s,s=0,o=0):s<<=4}}if(o)throw new Error("Hex encoding incomplete: 4 bits missing");return r}},Jo,ev={decode:function(t){var e;if(Jo===void 0){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=`= \f +\r \xA0\u2028\u2029`;for(Jo=Object.create(null),e=0;e<64;++e)Jo[n.charAt(e)]=e;for(Jo["-"]=62,Jo._=63,e=0;e=4?(r[r.length]=s>>16,r[r.length]=s>>8&255,r[r.length]=s&255,s=0,o=0):s<<=6}}switch(o){case 1:throw new Error("Base64 encoding incomplete: at least 2 bits missing");case 2:r[r.length]=s>>10;break;case 3:r[r.length]=s>>16,r[r.length]=s>>8&255;break}return r},re:/-----BEGIN [^-]+-----([A-Za-z0-9+\/=\s]+)-----END [^-]+-----|begin-base64[^\n]+\n([A-Za-z0-9+\/=\s]+)====/,unarmor:function(t){var e=ev.re.exec(t);if(e)if(e[1])t=e[1];else if(e[2])t=e[2];else throw new Error("RegExp out of sync");return ev.decode(t)}},ul=1e13,Kc=function(){function t(e){this.buf=[+e||0]}return t.prototype.mulAdd=function(e,n){var i=this.buf,r=i.length,s,o;for(s=0;s0&&(i[s]=n)},t.prototype.sub=function(e){var n=this.buf,i=n.length,r,s;for(r=0;r=0;--r)i+=(ul+n[r]).toString().substring(1);return i},t.prototype.valueOf=function(){for(var e=this.buf,n=0,i=e.length-1;i>=0;--i)n=n*ul+e[i];return n},t.prototype.simplify=function(){var e=this.buf;return e.length==1?e[0]:this},t}(),JT="\u2026",mne=/^(\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/,gne=/^(\d\d\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/;function Pl(t,e){return t.length>e&&(t=t.substring(0,e)+JT),t}var Z0=function(){function t(e,n){this.hexDigits="0123456789ABCDEF",e instanceof t?(this.enc=e.enc,this.pos=e.pos):(this.enc=e,this.pos=n)}return t.prototype.get=function(e){if(e===void 0&&(e=this.pos++),e>=this.enc.length)throw new Error("Requesting byte offset "+e+" on a stream of length "+this.enc.length);return typeof this.enc=="string"?this.enc.charCodeAt(e):this.enc[e]},t.prototype.hexByte=function(e){return this.hexDigits.charAt(e>>4&15)+this.hexDigits.charAt(e&15)},t.prototype.hexDump=function(e,n,i){for(var r="",s=e;s176)return!1}return!0},t.prototype.parseStringISO=function(e,n){for(var i="",r=e;r191&&s<224?i+=String.fromCharCode((s&31)<<6|this.get(r++)&63):i+=String.fromCharCode((s&15)<<12|(this.get(r++)&63)<<6|this.get(r++)&63)}return i},t.prototype.parseStringBMP=function(e,n){for(var i="",r,s,o=e;o127,s=r?255:0,o,a="";i==s&&++e4){for(a=i,o<<=3;((+a^s)&128)==0;)a=+a<<1,--o;a="("+o+` bit) +`}r&&(i=i-256);for(var l=new Kc(i),c=e+1;c=u;--O)a+=c>>O&1?"1":"0";if(a.length>i)return o+Pl(a,i)}return o+a},t.prototype.parseOctetString=function(e,n,i){if(this.isASCII(e,n))return Pl(this.parseStringISO(e,n),i);var r=n-e,s="("+r+` byte) +`;i/=2,r>i&&(n=e+i);for(var o=e;oi&&(s+=JT),s},t.prototype.parseOID=function(e,n,i){for(var r="",s=new Kc,o=0,a=e;ai)return Pl(r,i);s=new Kc,o=0}}return o>0&&(r+=".incomplete"),r},t}(),vne=function(){function t(e,n,i,r,s){if(!(r instanceof ZQ))throw new Error("Invalid tag value.");this.stream=e,this.header=n,this.length=i,this.tag=r,this.sub=s}return t.prototype.typeName=function(){switch(this.tag.tagClass){case 0:switch(this.tag.tagNumber){case 0:return"EOC";case 1:return"BOOLEAN";case 2:return"INTEGER";case 3:return"BIT_STRING";case 4:return"OCTET_STRING";case 5:return"NULL";case 6:return"OBJECT_IDENTIFIER";case 7:return"ObjectDescriptor";case 8:return"EXTERNAL";case 9:return"REAL";case 10:return"ENUMERATED";case 11:return"EMBEDDED_PDV";case 12:return"UTF8String";case 16:return"SEQUENCE";case 17:return"SET";case 18:return"NumericString";case 19:return"PrintableString";case 20:return"TeletexString";case 21:return"VideotexString";case 22:return"IA5String";case 23:return"UTCTime";case 24:return"GeneralizedTime";case 25:return"GraphicString";case 26:return"VisibleString";case 27:return"GeneralString";case 28:return"UniversalString";case 30:return"BMPString"}return"Universal_"+this.tag.tagNumber.toString();case 1:return"Application_"+this.tag.tagNumber.toString();case 2:return"["+this.tag.tagNumber.toString()+"]";case 3:return"Private_"+this.tag.tagNumber.toString()}},t.prototype.content=function(e){if(this.tag===void 0)return null;e===void 0&&(e=1/0);var n=this.posContent(),i=Math.abs(this.length);if(!this.tag.isUniversal())return this.sub!==null?"("+this.sub.length+" elem)":this.stream.parseOctetString(n,n+i,e);switch(this.tag.tagNumber){case 1:return this.stream.get(n)===0?"false":"true";case 2:return this.stream.parseInteger(n,n+i);case 3:return this.sub?"("+this.sub.length+" elem)":this.stream.parseBitString(n,n+i,e);case 4:return this.sub?"("+this.sub.length+" elem)":this.stream.parseOctetString(n,n+i,e);case 6:return this.stream.parseOID(n,n+i,e);case 16:case 17:return this.sub!==null?"("+this.sub.length+" elem)":"(no elem)";case 12:return Pl(this.stream.parseStringUTF(n,n+i),e);case 18:case 19:case 20:case 21:case 22:case 26:return Pl(this.stream.parseStringISO(n,n+i),e);case 30:return Pl(this.stream.parseStringBMP(n,n+i),e);case 23:case 24:return this.stream.parseTime(n,n+i,this.tag.tagNumber==23)}return null},t.prototype.toString=function(){return this.typeName()+"@"+this.stream.pos+"[header:"+this.header+",length:"+this.length+",sub:"+(this.sub===null?"null":this.sub.length)+"]"},t.prototype.toPrettyString=function(e){e===void 0&&(e="");var n=e+this.typeName()+" @"+this.stream.pos;if(this.length>=0&&(n+="+"),n+=this.length,this.tag.tagConstructed?n+=" (constructed)":this.tag.isUniversal()&&(this.tag.tagNumber==3||this.tag.tagNumber==4)&&this.sub!==null&&(n+=" (encapsulates)"),n+=` +`,this.sub!==null){e+=" ";for(var i=0,r=this.sub.length;i6)throw new Error("Length over 48 bits not supported at position "+(e.pos-1));if(i===0)return null;n=0;for(var r=0;r>6,this.tagConstructed=(n&32)!==0,this.tagNumber=n&31,this.tagNumber==31){var i=new Kc;do n=e.get(),i.mulAdd(128,n&127);while(n&128);this.tagNumber=i.simplify()}}return t.prototype.isUniversal=function(){return this.tagClass===0},t.prototype.isEOC=function(){return this.tagClass===0&&this.tagNumber===0},t}(),go,yne=0xdeadbeefcafe,VQ=(yne&16777215)==15715070,Jn=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],$ne=(1<<26)/Jn[Jn.length-1],dt=function(){function t(e,n,i){e!=null&&(typeof e=="number"?this.fromNumber(e,n,i):n==null&&typeof e!="string"?this.fromString(e,256):this.fromString(e,n))}return t.prototype.toString=function(e){if(this.s<0)return"-"+this.negate().toString(e);var n;if(e==16)n=4;else if(e==8)n=3;else if(e==2)n=1;else if(e==32)n=5;else if(e==4)n=2;else return this.toRadix(e);var i=(1<0)for(l>l)>0&&(s=!0,o=cs(r));a>=0;)l>(l+=this.DB-n)):(r=this[a]>>(l-=n)&i,l<=0&&(l+=this.DB,--a)),r>0&&(s=!0),s&&(o+=cs(r));return s?o:"0"},t.prototype.negate=function(){var e=pt();return t.ZERO.subTo(this,e),e},t.prototype.abs=function(){return this.s<0?this.negate():this},t.prototype.compareTo=function(e){var n=this.s-e.s;if(n!=0)return n;var i=this.t;if(n=i-e.t,n!=0)return this.s<0?-n:n;for(;--i>=0;)if((n=this[i]-e[i])!=0)return n;return 0},t.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+kO(this[this.t-1]^this.s&this.DM)},t.prototype.mod=function(e){var n=pt();return this.abs().divRemTo(e,null,n),this.s<0&&n.compareTo(t.ZERO)>0&&e.subTo(n,n),n},t.prototype.modPowInt=function(e,n){var i;return e<256||n.isEven()?i=new jQ(n):i=new NQ(n),this.exp(e,i)},t.prototype.clone=function(){var e=pt();return this.copyTo(e),e},t.prototype.intValue=function(){if(this.s<0){if(this.t==1)return this[0]-this.DV;if(this.t==0)return-1}else{if(this.t==1)return this[0];if(this.t==0)return 0}return(this[1]&(1<<32-this.DB)-1)<>24},t.prototype.shortValue=function(){return this.t==0?this.s:this[0]<<16>>16},t.prototype.signum=function(){return this.s<0?-1:this.t<=0||this.t==1&&this[0]<=0?0:1},t.prototype.toByteArray=function(){var e=this.t,n=[];n[0]=this.s;var i=this.DB-e*this.DB%8,r,s=0;if(e-- >0)for(i>i)!=(this.s&this.DM)>>i&&(n[s++]=r|this.s<=0;)i<8?(r=(this[e]&(1<>(i+=this.DB-8)):(r=this[e]>>(i-=8)&255,i<=0&&(i+=this.DB,--e)),(r&128)!=0&&(r|=-256),s==0&&(this.s&128)!=(r&128)&&++s,(s>0||r!=this.s)&&(n[s++]=r);return n},t.prototype.equals=function(e){return this.compareTo(e)==0},t.prototype.min=function(e){return this.compareTo(e)<0?this:e},t.prototype.max=function(e){return this.compareTo(e)>0?this:e},t.prototype.and=function(e){var n=pt();return this.bitwiseTo(e,One,n),n},t.prototype.or=function(e){var n=pt();return this.bitwiseTo(e,PO,n),n},t.prototype.xor=function(e){var n=pt();return this.bitwiseTo(e,BQ,n),n},t.prototype.andNot=function(e){var n=pt();return this.bitwiseTo(e,MQ,n),n},t.prototype.not=function(){for(var e=pt(),n=0;n=this.t?this.s!=0:(this[n]&1<1){var O=pt();for(o.sqrTo(a[1],O);l<=u;)a[l]=pt(),o.mulTo(O,a[l-2],a[l]),l+=2}var f=e.t-1,h,p=!0,y=pt(),$;for(i=kO(e[f])-1;f>=0;){for(i>=c?h=e[f]>>i-c&u:(h=(e[f]&(1<0&&(h|=e[f-1]>>this.DB+i-c)),l=r;(h&1)==0;)h>>=1,--l;if((i-=l)<0&&(i+=this.DB,--f),p)a[h].copyTo(s),p=!1;else{for(;l>1;)o.sqrTo(s,y),o.sqrTo(y,s),l-=2;l>0?o.sqrTo(s,y):($=s,s=y,y=$),o.mulTo(y,a[h],s)}for(;f>=0&&(e[f]&1<=0?(i.subTo(r,i),n&&s.subTo(a,s),o.subTo(l,o)):(r.subTo(i,r),n&&a.subTo(s,a),l.subTo(o,l))}if(r.compareTo(t.ONE)!=0)return t.ZERO;if(l.compareTo(e)>=0)return l.subtract(e);if(l.signum()<0)l.addTo(e,l);else return l;return l.signum()<0?l.add(e):l},t.prototype.pow=function(e){return this.exp(e,new bne)},t.prototype.gcd=function(e){var n=this.s<0?this.negate():this.clone(),i=e.s<0?e.negate():e.clone();if(n.compareTo(i)<0){var r=n;n=i,i=r}var s=n.getLowestSetBit(),o=i.getLowestSetBit();if(o<0)return n;for(s0&&(n.rShiftTo(o,n),i.rShiftTo(o,i));n.signum()>0;)(s=n.getLowestSetBit())>0&&n.rShiftTo(s,n),(s=i.getLowestSetBit())>0&&i.rShiftTo(s,i),n.compareTo(i)>=0?(n.subTo(i,n),n.rShiftTo(1,n)):(i.subTo(n,i),i.rShiftTo(1,i));return o>0&&i.lShiftTo(o,i),i},t.prototype.isProbablePrime=function(e){var n,i=this.abs();if(i.t==1&&i[0]<=Jn[Jn.length-1]){for(n=0;n=0;--n)e[n]=this[n];e.t=this.t,e.s=this.s},t.prototype.fromInt=function(e){this.t=1,this.s=e<0?-1:0,e>0?this[0]=e:e<-1?this[0]=e+this.DV:this.t=0},t.prototype.fromString=function(e,n){var i;if(n==16)i=4;else if(n==8)i=3;else if(n==256)i=8;else if(n==2)i=1;else if(n==32)i=5;else if(n==4)i=2;else{this.fromRadix(e,n);return}this.t=0,this.s=0;for(var r=e.length,s=!1,o=0;--r>=0;){var a=i==8?+e[r]&255:GQ(e,r);if(a<0){e.charAt(r)=="-"&&(s=!0);continue}s=!1,o==0?this[this.t++]=a:o+i>this.DB?(this[this.t-1]|=(a&(1<>this.DB-o):this[this.t-1]|=a<=this.DB&&(o-=this.DB)}i==8&&(+e[0]&128)!=0&&(this.s=-1,o>0&&(this[this.t-1]|=(1<0&&this[this.t-1]==e;)--this.t},t.prototype.dlShiftTo=function(e,n){var i;for(i=this.t-1;i>=0;--i)n[i+e]=this[i];for(i=e-1;i>=0;--i)n[i]=0;n.t=this.t+e,n.s=this.s},t.prototype.drShiftTo=function(e,n){for(var i=e;i=0;--l)n[l+o+1]=this[l]>>r|a,a=(this[l]&s)<=0;--l)n[l]=0;n[o]=a,n.t=this.t+o+1,n.s=this.s,n.clamp()},t.prototype.rShiftTo=function(e,n){n.s=this.s;var i=Math.floor(e/this.DB);if(i>=this.t){n.t=0;return}var r=e%this.DB,s=this.DB-r,o=(1<>r;for(var a=i+1;a>r;r>0&&(n[this.t-i-1]|=(this.s&o)<>=this.DB;if(e.t>=this.DB;r+=this.s}else{for(r+=this.s;i>=this.DB;r-=e.s}n.s=r<0?-1:0,r<-1?n[i++]=this.DV+r:r>0&&(n[i++]=r),n.t=i,n.clamp()},t.prototype.multiplyTo=function(e,n){var i=this.abs(),r=e.abs(),s=i.t;for(n.t=s+r.t;--s>=0;)n[s]=0;for(s=0;s=0;)e[i]=0;for(i=0;i=n.DV&&(e[i+n.t]-=n.DV,e[i+n.t+1]=1)}e.t>0&&(e[e.t-1]+=n.am(i,n[i],e,2*i,0,1)),e.s=0,e.clamp()},t.prototype.divRemTo=function(e,n,i){var r=e.abs();if(!(r.t<=0)){var s=this.abs();if(s.t0?(r.lShiftTo(c,o),s.lShiftTo(c,i)):(r.copyTo(o),s.copyTo(i));var u=o.t,O=o[u-1];if(O!=0){var f=O*(1<1?o[u-2]>>this.F2:0),h=this.FV/f,p=(1<=0&&(i[i.t++]=1,i.subTo(d,i)),t.ONE.dlShiftTo(u,d),d.subTo(o,o);o.t=0;){var g=i[--$]==O?this.DM:Math.floor(i[$]*h+(i[$-1]+y)*p);if((i[$]+=o.am(0,g,i,m,0,u))0&&i.rShiftTo(c,i),a<0&&t.ZERO.subTo(i,i)}}},t.prototype.invDigit=function(){if(this.t<1)return 0;var e=this[0];if((e&1)==0)return 0;var n=e&3;return n=n*(2-(e&15)*n)&15,n=n*(2-(e&255)*n)&255,n=n*(2-((e&65535)*n&65535))&65535,n=n*(2-e*n%this.DV)%this.DV,n>0?this.DV-n:-n},t.prototype.isEven=function(){return(this.t>0?this[0]&1:this.s)==0},t.prototype.exp=function(e,n){if(e>4294967295||e<1)return t.ONE;var i=pt(),r=pt(),s=n.convert(this),o=kO(e)-1;for(s.copyTo(i);--o>=0;)if(n.sqrTo(i,r),(e&1<0)n.mulTo(r,s,i);else{var a=i;i=r,r=a}return n.revert(i)},t.prototype.chunkSize=function(e){return Math.floor(Math.LN2*this.DB/Math.log(e))},t.prototype.toRadix=function(e){if(e==null&&(e=10),this.signum()==0||e<2||e>36)return"0";var n=this.chunkSize(e),i=Math.pow(e,n),r=Ks(i),s=pt(),o=pt(),a="";for(this.divRemTo(r,s,o);s.signum()>0;)a=(i+o.intValue()).toString(e).substr(1)+a,s.divRemTo(r,s,o);return o.intValue().toString(e)+a},t.prototype.fromRadix=function(e,n){this.fromInt(0),n==null&&(n=10);for(var i=this.chunkSize(n),r=Math.pow(n,i),s=!1,o=0,a=0,l=0;l=i&&(this.dMultiply(r),this.dAddOffset(a,0),o=0,a=0)}o>0&&(this.dMultiply(Math.pow(n,o)),this.dAddOffset(a,0)),s&&t.ZERO.subTo(this,this)},t.prototype.fromNumber=function(e,n,i){if(typeof n=="number")if(e<2)this.fromInt(1);else for(this.fromNumber(e,i),this.testBit(e-1)||this.bitwiseTo(t.ONE.shiftLeft(e-1),PO,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(n);)this.dAddOffset(2,0),this.bitLength()>e&&this.subTo(t.ONE.shiftLeft(e-1),this);else{var r=[],s=e&7;r.length=(e>>3)+1,n.nextBytes(r),s>0?r[0]&=(1<>=this.DB;if(e.t>=this.DB;r+=this.s}else{for(r+=this.s;i>=this.DB;r+=e.s}n.s=r<0?-1:0,r>0?n[i++]=r:r<-1&&(n[i++]=this.DV+r),n.t=i,n.clamp()},t.prototype.dMultiply=function(e){this[this.t]=this.am(0,e-1,this,0,0,this.t),++this.t,this.clamp()},t.prototype.dAddOffset=function(e,n){if(e!=0){for(;this.t<=n;)this[this.t++]=0;for(this[n]+=e;this[n]>=this.DV;)this[n]-=this.DV,++n>=this.t&&(this[this.t++]=0),++this[n]}},t.prototype.multiplyLowerTo=function(e,n,i){var r=Math.min(this.t+e.t,n);for(i.s=0,i.t=r;r>0;)i[--r]=0;for(var s=i.t-this.t;r=0;)i[r]=0;for(r=Math.max(n-this.t,0);r0)if(n==0)i=this[0]%e;else for(var r=this.t-1;r>=0;--r)i=(n*i+this[r])%e;return i},t.prototype.millerRabin=function(e){var n=this.subtract(t.ONE),i=n.getLowestSetBit();if(i<=0)return!1;var r=n.shiftRight(i);e=e+1>>1,e>Jn.length&&(e=Jn.length);for(var s=pt(),o=0;o0&&(i.rShiftTo(a,i),r.rShiftTo(a,r));var l=function(){(o=i.getLowestSetBit())>0&&i.rShiftTo(o,i),(o=r.getLowestSetBit())>0&&r.rShiftTo(o,r),i.compareTo(r)>=0?(i.subTo(r,i),i.rShiftTo(1,i)):(r.subTo(i,r),r.rShiftTo(1,r)),i.signum()>0?setTimeout(l,0):(a>0&&r.lShiftTo(a,r),setTimeout(function(){n(r)},0))};setTimeout(l,10)},t.prototype.fromNumberAsync=function(e,n,i,r){if(typeof n=="number")if(e<2)this.fromInt(1);else{this.fromNumber(e,i),this.testBit(e-1)||this.bitwiseTo(t.ONE.shiftLeft(e-1),PO,this),this.isEven()&&this.dAddOffset(1,0);var s=this,o=function(){s.dAddOffset(2,0),s.bitLength()>e&&s.subTo(t.ONE.shiftLeft(e-1),s),s.isProbablePrime(n)?setTimeout(function(){r()},0):setTimeout(o,0)};setTimeout(o,0)}else{var a=[],l=e&7;a.length=(e>>3)+1,n.nextBytes(a),l>0?a[0]&=(1<=0?e.mod(this.m):e},t.prototype.revert=function(e){return e},t.prototype.reduce=function(e){e.divRemTo(this.m,null,e)},t.prototype.mulTo=function(e,n,i){e.multiplyTo(n,i),this.reduce(i)},t.prototype.sqrTo=function(e,n){e.squareTo(n),this.reduce(n)},t}(),NQ=function(){function t(e){this.m=e,this.mp=e.invDigit(),this.mpl=this.mp&32767,this.mph=this.mp>>15,this.um=(1<0&&this.m.subTo(n,n),n},t.prototype.revert=function(e){var n=pt();return e.copyTo(n),this.reduce(n),n},t.prototype.reduce=function(e){for(;e.t<=this.mt2;)e[e.t++]=0;for(var n=0;n>15)*this.mpl&this.um)<<15)&e.DM;for(i=n+this.m.t,e[i]+=this.m.am(0,r,e,n,0,this.m.t);e[i]>=e.DV;)e[i]-=e.DV,e[++i]++}e.clamp(),e.drShiftTo(this.m.t,e),e.compareTo(this.m)>=0&&e.subTo(this.m,e)},t.prototype.mulTo=function(e,n,i){e.multiplyTo(n,i),this.reduce(i)},t.prototype.sqrTo=function(e,n){e.squareTo(n),this.reduce(n)},t}(),_ne=function(){function t(e){this.m=e,this.r2=pt(),this.q3=pt(),dt.ONE.dlShiftTo(2*e.t,this.r2),this.mu=this.r2.divide(e)}return t.prototype.convert=function(e){if(e.s<0||e.t>2*this.m.t)return e.mod(this.m);if(e.compareTo(this.m)<0)return e;var n=pt();return e.copyTo(n),this.reduce(n),n},t.prototype.revert=function(e){return e},t.prototype.reduce=function(e){for(e.drShiftTo(this.m.t-1,this.r2),e.t>this.m.t+1&&(e.t=this.m.t+1,e.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);e.compareTo(this.r2)<0;)e.dAddOffset(1,this.m.t+1);for(e.subTo(this.r2,e);e.compareTo(this.m)>=0;)e.subTo(this.m,e)},t.prototype.mulTo=function(e,n,i){e.multiplyTo(n,i),this.reduce(i)},t.prototype.sqrTo=function(e,n){e.squareTo(n),this.reduce(n)},t}();function pt(){return new dt(null)}function ln(t,e){return new dt(t,e)}var FQ=typeof navigator!="undefined";FQ&&VQ&&navigator.appName=="Microsoft Internet Explorer"?(dt.prototype.am=function(e,n,i,r,s,o){for(var a=n&32767,l=n>>15;--o>=0;){var c=this[e]&32767,u=this[e++]>>15,O=l*c+u*a;c=a*c+((O&32767)<<15)+i[r]+(s&1073741823),s=(c>>>30)+(O>>>15)+l*u+(s>>>30),i[r++]=c&1073741823}return s},go=30):FQ&&VQ&&navigator.appName!="Netscape"?(dt.prototype.am=function(e,n,i,r,s,o){for(;--o>=0;){var a=n*this[e++]+i[r]+s;s=Math.floor(a/67108864),i[r++]=a&67108863}return s},go=26):(dt.prototype.am=function(e,n,i,r,s,o){for(var a=n&16383,l=n>>14;--o>=0;){var c=this[e]&16383,u=this[e++]>>14,O=l*c+u*a;c=a*c+((O&16383)<<14)+i[r]+s,s=(c>>28)+(O>>14)+l*u,i[r++]=c&268435455}return s},go=28);dt.prototype.DB=go;dt.prototype.DM=(1<>>16)!=0&&(t=n,e+=16),(n=t>>8)!=0&&(t=n,e+=8),(n=t>>4)!=0&&(t=n,e+=4),(n=t>>2)!=0&&(t=n,e+=2),(n=t>>1)!=0&&(t=n,e+=1),e}dt.ZERO=Ks(0);dt.ONE=Ks(1);var Qne=function(){function t(){this.i=0,this.j=0,this.S=[]}return t.prototype.init=function(e){var n,i,r;for(n=0;n<256;++n)this.S[n]=n;for(i=0,n=0;n<256;++n)i=i+this.S[n]+e[n%e.length]&255,r=this.S[n],this.S[n]=this.S[i],this.S[i]=r;this.i=0,this.j=0},t.prototype.next=function(){var e;return this.i=this.i+1&255,this.j=this.j+this.S[this.i]&255,e=this.S[this.i],this.S[this.i]=this.S[this.j],this.S[this.j]=e,this.S[e+this.S[this.i]&255]},t}();function Sne(){return new Qne}var eR=256,CO,ao=null,yr;if(ao==null){ao=[],yr=0;var TO=void 0;if(window.crypto&&window.crypto.getRandomValues){var V0=new Uint32Array(256);for(window.crypto.getRandomValues(V0),TO=0;TO=256||yr>=eR){window.removeEventListener?window.removeEventListener("mousemove",AO,!1):window.detachEvent&&window.detachEvent("onmousemove",AO);return}try{var e=t.x+t.y;ao[yr++]=e&255,RO+=1}catch{}};window.addEventListener?window.addEventListener("mousemove",AO,!1):window.attachEvent&&window.attachEvent("onmousemove",AO)}function wne(){if(CO==null){for(CO=Sne();yr=0&&e>0;){var r=t.charCodeAt(i--);r<128?n[--e]=r:r>127&&r<2048?(n[--e]=r&63|128,n[--e]=r>>6|192):(n[--e]=r&63|128,n[--e]=r>>6&63|128,n[--e]=r>>12|224)}n[--e]=0;for(var s=new tv,o=[];e>2;){for(o[0]=0;o[0]==0;)s.nextBytes(o);n[--e]=o[0]}return n[--e]=2,n[--e]=0,new dt(n)}var kne=function(){function t(){this.n=null,this.e=0,this.d=null,this.p=null,this.q=null,this.dmp1=null,this.dmq1=null,this.coeff=null}return t.prototype.doPublic=function(e){return e.modPowInt(this.e,this.n)},t.prototype.doPrivate=function(e){if(this.p==null||this.q==null)return e.modPow(this.d,this.n);for(var n=e.mod(this.p).modPow(this.dmp1,this.p),i=e.mod(this.q).modPow(this.dmq1,this.q);n.compareTo(i)<0;)n=n.add(this.p);return n.subtract(i).multiply(this.coeff).mod(this.p).multiply(this.q).add(i)},t.prototype.setPublic=function(e,n){e!=null&&n!=null&&e.length>0&&n.length>0?(this.n=ln(e,16),this.e=parseInt(n,16)):console.error("Invalid RSA public key")},t.prototype.encrypt=function(e){var n=this.n.bitLength()+7>>3,i=Pne(e,n);if(i==null)return null;var r=this.doPublic(i);if(r==null)return null;for(var s=r.toString(16),o=s.length,a=0;a0&&n.length>0?(this.n=ln(e,16),this.e=parseInt(n,16),this.d=ln(i,16)):console.error("Invalid RSA private key")},t.prototype.setPrivateEx=function(e,n,i,r,s,o,a,l){e!=null&&n!=null&&e.length>0&&n.length>0?(this.n=ln(e,16),this.e=parseInt(n,16),this.d=ln(i,16),this.p=ln(r,16),this.q=ln(s,16),this.dmp1=ln(o,16),this.dmq1=ln(a,16),this.coeff=ln(l,16)):console.error("Invalid RSA private key")},t.prototype.generate=function(e,n){var i=new tv,r=e>>1;this.e=parseInt(n,16);for(var s=new dt(n,16);;){for(;this.p=new dt(e-r,1,i),!(this.p.subtract(dt.ONE).gcd(s).compareTo(dt.ONE)==0&&this.p.isProbablePrime(10)););for(;this.q=new dt(r,1,i),!(this.q.subtract(dt.ONE).gcd(s).compareTo(dt.ONE)==0&&this.q.isProbablePrime(10)););if(this.p.compareTo(this.q)<=0){var o=this.p;this.p=this.q,this.q=o}var a=this.p.subtract(dt.ONE),l=this.q.subtract(dt.ONE),c=a.multiply(l);if(c.gcd(s).compareTo(dt.ONE)==0){this.n=this.p.multiply(this.q),this.d=s.modInverse(c),this.dmp1=this.d.mod(a),this.dmq1=this.d.mod(l),this.coeff=this.q.modInverse(this.p);break}}},t.prototype.decrypt=function(e){var n=ln(e,16),i=this.doPrivate(n);return i==null?null:Cne(i,this.n.bitLength()+7>>3)},t.prototype.generateAsync=function(e,n,i){var r=new tv,s=e>>1;this.e=parseInt(n,16);var o=new dt(n,16),a=this,l=function(){var c=function(){if(a.p.compareTo(a.q)<=0){var f=a.p;a.p=a.q,a.q=f}var h=a.p.subtract(dt.ONE),p=a.q.subtract(dt.ONE),y=h.multiply(p);y.gcd(o).compareTo(dt.ONE)==0?(a.n=a.p.multiply(a.q),a.d=o.modInverse(y),a.dmp1=a.d.mod(h),a.dmq1=a.d.mod(p),a.coeff=a.q.modInverse(a.p),setTimeout(function(){i()},0)):setTimeout(l,0)},u=function(){a.q=pt(),a.q.fromNumberAsync(s,1,r,function(){a.q.subtract(dt.ONE).gcda(o,function(f){f.compareTo(dt.ONE)==0&&a.q.isProbablePrime(10)?setTimeout(c,0):setTimeout(u,0)})})},O=function(){a.p=pt(),a.p.fromNumberAsync(e-s,1,r,function(){a.p.subtract(dt.ONE).gcda(o,function(f){f.compareTo(dt.ONE)==0&&a.p.isProbablePrime(10)?setTimeout(u,0):setTimeout(O,0)})})};setTimeout(O,0)};setTimeout(l,0)},t.prototype.sign=function(e,n,i){var r=Tne(i),s=r+n(e).toString(),o=xne(s,this.n.bitLength()/4);if(o==null)return null;var a=this.doPrivate(o);if(a==null)return null;var l=a.toString(16);return(l.length&1)==0?l:"0"+l},t.prototype.verify=function(e,n,i){var r=ln(n,16),s=this.doPublic(r);if(s==null)return null;var o=s.toString(16).replace(/^1f+00/,""),a=Rne(o);return a==i(e).toString()},t}();function Cne(t,e){for(var n=t.toByteArray(),i=0;i=n.length)return null;for(var r="";++i191&&s<224?(r+=String.fromCharCode((s&31)<<6|n[i+1]&63),++i):(r+=String.fromCharCode((s&15)<<12|(n[i+1]&63)<<6|n[i+2]&63),i+=2)}return r}var _h={md2:"3020300c06082a864886f70d020205000410",md5:"3020300c06082a864886f70d020505000410",sha1:"3021300906052b0e03021a05000414",sha224:"302d300d06096086480165030402040500041c",sha256:"3031300d060960864801650304020105000420",sha384:"3041300d060960864801650304020205000430",sha512:"3051300d060960864801650304020305000440",ripemd160:"3021300906052b2403020105000414"};function Tne(t){return _h[t]||""}function Rne(t){for(var e in _h)if(_h.hasOwnProperty(e)){var n=_h[e],i=n.length;if(t.substr(0,i)==n)return t.substr(i)}return t}/*! +Copyright (c) 2011, Yahoo! Inc. All rights reserved. +Code licensed under the BSD License: +http://developer.yahoo.com/yui/license.html +version: 2.9.0 +*/var On={};On.lang={extend:function(t,e,n){if(!e||!t)throw new Error("YAHOO.lang.extend failed, please check that all dependencies are included.");var i=function(){};if(i.prototype=e.prototype,t.prototype=new i,t.prototype.constructor=t,t.superclass=e.prototype,e.prototype.constructor==Object.prototype.constructor&&(e.prototype.constructor=e),n){var r;for(r in n)t.prototype[r]=n[r];var s=function(){},o=["toString","valueOf"];try{/MSIE/.test(navigator.userAgent)&&(s=function(a,l){for(r=0;rMIT License + */var ke={};(typeof ke.asn1=="undefined"||!ke.asn1)&&(ke.asn1={});ke.asn1.ASN1Util=new function(){this.integerToByteHex=function(t){var e=t.toString(16);return e.length%2==1&&(e="0"+e),e},this.bigIntToMinTwosComplementsHex=function(t){var e=t.toString(16);if(e.substr(0,1)!="-")e.length%2==1?e="0"+e:e.match(/^[0-7]/)||(e="00"+e);else{var n=e.substr(1),i=n.length;i%2==1?i+=1:e.match(/^[0-7]/)||(i+=2);for(var r="",s=0;s15)throw"ASN.1 length too long to represent by 8x: n = "+e.toString(16);var r=128+i;return r.toString(16)+n},this.getEncodedHex=function(){return(this.hTLV==null||this.isModified)&&(this.hV=this.getFreshValueHex(),this.hL=this.getLengthHexFromValue(),this.hTLV=this.hT+this.hL+this.hV,this.isModified=!1),this.hTLV},this.getValueHex=function(){return this.getEncodedHex(),this.hV},this.getFreshValueHex=function(){return""}};ke.asn1.DERAbstractString=function(t){ke.asn1.DERAbstractString.superclass.constructor.call(this),this.getString=function(){return this.s},this.setString=function(e){this.hTLV=null,this.isModified=!0,this.s=e,this.hV=stohex(this.s)},this.setStringHex=function(e){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=e},this.getFreshValueHex=function(){return this.hV},typeof t!="undefined"&&(typeof t=="string"?this.setString(t):typeof t.str!="undefined"?this.setString(t.str):typeof t.hex!="undefined"&&this.setStringHex(t.hex))};On.lang.extend(ke.asn1.DERAbstractString,ke.asn1.ASN1Object);ke.asn1.DERAbstractTime=function(t){ke.asn1.DERAbstractTime.superclass.constructor.call(this),this.localDateToUTC=function(e){utc=e.getTime()+e.getTimezoneOffset()*6e4;var n=new Date(utc);return n},this.formatDate=function(e,n,i){var r=this.zeroPadding,s=this.localDateToUTC(e),o=String(s.getFullYear());n=="utc"&&(o=o.substr(2,2));var a=r(String(s.getMonth()+1),2),l=r(String(s.getDate()),2),c=r(String(s.getHours()),2),u=r(String(s.getMinutes()),2),O=r(String(s.getSeconds()),2),f=o+a+l+c+u+O;if(i===!0){var h=s.getMilliseconds();if(h!=0){var p=r(String(h),3);p=p.replace(/[0]+$/,""),f=f+"."+p}}return f+"Z"},this.zeroPadding=function(e,n){return e.length>=n?e:new Array(n-e.length+1).join("0")+e},this.getString=function(){return this.s},this.setString=function(e){this.hTLV=null,this.isModified=!0,this.s=e,this.hV=stohex(e)},this.setByDateValue=function(e,n,i,r,s,o){var a=new Date(Date.UTC(e,n-1,i,r,s,o,0));this.setByDate(a)},this.getFreshValueHex=function(){return this.hV}};On.lang.extend(ke.asn1.DERAbstractTime,ke.asn1.ASN1Object);ke.asn1.DERAbstractStructured=function(t){ke.asn1.DERAbstractString.superclass.constructor.call(this),this.setByASN1ObjectArray=function(e){this.hTLV=null,this.isModified=!0,this.asn1Array=e},this.appendASN1Object=function(e){this.hTLV=null,this.isModified=!0,this.asn1Array.push(e)},this.asn1Array=new Array,typeof t!="undefined"&&typeof t.array!="undefined"&&(this.asn1Array=t.array)};On.lang.extend(ke.asn1.DERAbstractStructured,ke.asn1.ASN1Object);ke.asn1.DERBoolean=function(){ke.asn1.DERBoolean.superclass.constructor.call(this),this.hT="01",this.hTLV="0101ff"};On.lang.extend(ke.asn1.DERBoolean,ke.asn1.ASN1Object);ke.asn1.DERInteger=function(t){ke.asn1.DERInteger.superclass.constructor.call(this),this.hT="02",this.setByBigInteger=function(e){this.hTLV=null,this.isModified=!0,this.hV=ke.asn1.ASN1Util.bigIntToMinTwosComplementsHex(e)},this.setByInteger=function(e){var n=new dt(String(e),10);this.setByBigInteger(n)},this.setValueHex=function(e){this.hV=e},this.getFreshValueHex=function(){return this.hV},typeof t!="undefined"&&(typeof t.bigint!="undefined"?this.setByBigInteger(t.bigint):typeof t.int!="undefined"?this.setByInteger(t.int):typeof t=="number"?this.setByInteger(t):typeof t.hex!="undefined"&&this.setValueHex(t.hex))};On.lang.extend(ke.asn1.DERInteger,ke.asn1.ASN1Object);ke.asn1.DERBitString=function(t){if(t!==void 0&&typeof t.obj!="undefined"){var e=ke.asn1.ASN1Util.newObject(t.obj);t.hex="00"+e.getEncodedHex()}ke.asn1.DERBitString.superclass.constructor.call(this),this.hT="03",this.setHexValueIncludingUnusedBits=function(n){this.hTLV=null,this.isModified=!0,this.hV=n},this.setUnusedBitsAndHexValue=function(n,i){if(n<0||7>>2]>>>24-Q%4*8&255;g[b+Q>>>2]|=S<<24-(b+Q)%4*8}else for(var P=0;P<_;P+=4)g[b+P>>>2]=v[P>>>2];return this.sigBytes+=_,this},clamp:function(){var d=this.words,g=this.sigBytes;d[g>>>2]&=4294967295<<32-g%4*8,d.length=i.ceil(g/4)},clone:function(){var d=u.clone.call(this);return d.words=this.words.slice(0),d},random:function(d){for(var g=[],v=0;v>>2]>>>24-_%4*8&255;b.push((Q>>>4).toString(16)),b.push((Q&15).toString(16))}return b.join("")},parse:function(d){for(var g=d.length,v=[],b=0;b>>3]|=parseInt(d.substr(b,2),16)<<24-b%8*4;return new O.init(v,g/2)}},p=f.Latin1={stringify:function(d){for(var g=d.words,v=d.sigBytes,b=[],_=0;_>>2]>>>24-_%4*8&255;b.push(String.fromCharCode(Q))}return b.join("")},parse:function(d){for(var g=d.length,v=[],b=0;b>>2]|=(d.charCodeAt(b)&255)<<24-b%4*8;return new O.init(v,g)}},y=f.Utf8={stringify:function(d){try{return decodeURIComponent(escape(p.stringify(d)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(d){return p.parse(unescape(encodeURIComponent(d)))}},$=c.BufferedBlockAlgorithm=u.extend({reset:function(){this._data=new O.init,this._nDataBytes=0},_append:function(d){typeof d=="string"&&(d=y.parse(d)),this._data.concat(d),this._nDataBytes+=d.sigBytes},_process:function(d){var g,v=this._data,b=v.words,_=v.sigBytes,Q=this.blockSize,S=Q*4,P=_/S;d?P=i.ceil(P):P=i.max((P|0)-this._minBufferSize,0);var w=P*Q,x=i.min(w*4,_);if(w){for(var k=0;k>>2]|=l[O]<<24-O%4*8;o.call(this,u,c)}else o.apply(this,arguments)};a.prototype=s}}(),n.lib.WordArray})})(nR);var iR={exports:{}};(function(t,e){(function(n,i){t.exports=i(bt.exports)})(at,function(n){return function(){var i=n,r=i.lib,s=r.WordArray,o=i.enc;o.Utf16=o.Utf16BE={stringify:function(l){for(var c=l.words,u=l.sigBytes,O=[],f=0;f>>2]>>>16-f%4*8&65535;O.push(String.fromCharCode(h))}return O.join("")},parse:function(l){for(var c=l.length,u=[],O=0;O>>1]|=l.charCodeAt(O)<<16-O%2*16;return s.create(u,c*2)}},o.Utf16LE={stringify:function(l){for(var c=l.words,u=l.sigBytes,O=[],f=0;f>>2]>>>16-f%4*8&65535);O.push(String.fromCharCode(h))}return O.join("")},parse:function(l){for(var c=l.length,u=[],O=0;O>>1]|=a(l.charCodeAt(O)<<16-O%2*16);return s.create(u,c*2)}};function a(l){return l<<8&4278255360|l>>>8&16711935}}(),n.enc.Utf16})})(iR);var Ma={exports:{}};(function(t,e){(function(n,i){t.exports=i(bt.exports)})(at,function(n){return function(){var i=n,r=i.lib,s=r.WordArray,o=i.enc;o.Base64={stringify:function(l){var c=l.words,u=l.sigBytes,O=this._map;l.clamp();for(var f=[],h=0;h>>2]>>>24-h%4*8&255,y=c[h+1>>>2]>>>24-(h+1)%4*8&255,$=c[h+2>>>2]>>>24-(h+2)%4*8&255,m=p<<16|y<<8|$,d=0;d<4&&h+d*.75>>6*(3-d)&63));var g=O.charAt(64);if(g)for(;f.length%4;)f.push(g);return f.join("")},parse:function(l){var c=l.length,u=this._map,O=this._reverseMap;if(!O){O=this._reverseMap=[];for(var f=0;f>>6-h%4*2,$=p|y;O[f>>>2]|=$<<24-f%4*8,f++}return s.create(O,f)}}(),n.enc.Base64})})(Ma);var rR={exports:{}};(function(t,e){(function(n,i){t.exports=i(bt.exports)})(at,function(n){return function(){var i=n,r=i.lib,s=r.WordArray,o=i.enc;o.Base64url={stringify:function(l,c=!0){var u=l.words,O=l.sigBytes,f=c?this._safe_map:this._map;l.clamp();for(var h=[],p=0;p>>2]>>>24-p%4*8&255,$=u[p+1>>>2]>>>24-(p+1)%4*8&255,m=u[p+2>>>2]>>>24-(p+2)%4*8&255,d=y<<16|$<<8|m,g=0;g<4&&p+g*.75>>6*(3-g)&63));var v=f.charAt(64);if(v)for(;h.length%4;)h.push(v);return h.join("")},parse:function(l,c=!0){var u=l.length,O=c?this._safe_map:this._map,f=this._reverseMap;if(!f){f=this._reverseMap=[];for(var h=0;h>>6-h%4*2,$=p|y;O[f>>>2]|=$<<24-f%4*8,f++}return s.create(O,f)}}(),n.enc.Base64url})})(rR);var Ya={exports:{}};(function(t,e){(function(n,i){t.exports=i(bt.exports)})(at,function(n){return function(i){var r=n,s=r.lib,o=s.WordArray,a=s.Hasher,l=r.algo,c=[];(function(){for(var y=0;y<64;y++)c[y]=i.abs(i.sin(y+1))*4294967296|0})();var u=l.MD5=a.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(y,$){for(var m=0;m<16;m++){var d=$+m,g=y[d];y[d]=(g<<8|g>>>24)&16711935|(g<<24|g>>>8)&4278255360}var v=this._hash.words,b=y[$+0],_=y[$+1],Q=y[$+2],S=y[$+3],P=y[$+4],w=y[$+5],x=y[$+6],k=y[$+7],C=y[$+8],T=y[$+9],E=y[$+10],A=y[$+11],R=y[$+12],X=y[$+13],D=y[$+14],V=y[$+15],j=v[0],Z=v[1],ee=v[2],se=v[3];j=O(j,Z,ee,se,b,7,c[0]),se=O(se,j,Z,ee,_,12,c[1]),ee=O(ee,se,j,Z,Q,17,c[2]),Z=O(Z,ee,se,j,S,22,c[3]),j=O(j,Z,ee,se,P,7,c[4]),se=O(se,j,Z,ee,w,12,c[5]),ee=O(ee,se,j,Z,x,17,c[6]),Z=O(Z,ee,se,j,k,22,c[7]),j=O(j,Z,ee,se,C,7,c[8]),se=O(se,j,Z,ee,T,12,c[9]),ee=O(ee,se,j,Z,E,17,c[10]),Z=O(Z,ee,se,j,A,22,c[11]),j=O(j,Z,ee,se,R,7,c[12]),se=O(se,j,Z,ee,X,12,c[13]),ee=O(ee,se,j,Z,D,17,c[14]),Z=O(Z,ee,se,j,V,22,c[15]),j=f(j,Z,ee,se,_,5,c[16]),se=f(se,j,Z,ee,x,9,c[17]),ee=f(ee,se,j,Z,A,14,c[18]),Z=f(Z,ee,se,j,b,20,c[19]),j=f(j,Z,ee,se,w,5,c[20]),se=f(se,j,Z,ee,E,9,c[21]),ee=f(ee,se,j,Z,V,14,c[22]),Z=f(Z,ee,se,j,P,20,c[23]),j=f(j,Z,ee,se,T,5,c[24]),se=f(se,j,Z,ee,D,9,c[25]),ee=f(ee,se,j,Z,S,14,c[26]),Z=f(Z,ee,se,j,C,20,c[27]),j=f(j,Z,ee,se,X,5,c[28]),se=f(se,j,Z,ee,Q,9,c[29]),ee=f(ee,se,j,Z,k,14,c[30]),Z=f(Z,ee,se,j,R,20,c[31]),j=h(j,Z,ee,se,w,4,c[32]),se=h(se,j,Z,ee,C,11,c[33]),ee=h(ee,se,j,Z,A,16,c[34]),Z=h(Z,ee,se,j,D,23,c[35]),j=h(j,Z,ee,se,_,4,c[36]),se=h(se,j,Z,ee,P,11,c[37]),ee=h(ee,se,j,Z,k,16,c[38]),Z=h(Z,ee,se,j,E,23,c[39]),j=h(j,Z,ee,se,X,4,c[40]),se=h(se,j,Z,ee,b,11,c[41]),ee=h(ee,se,j,Z,S,16,c[42]),Z=h(Z,ee,se,j,x,23,c[43]),j=h(j,Z,ee,se,T,4,c[44]),se=h(se,j,Z,ee,R,11,c[45]),ee=h(ee,se,j,Z,V,16,c[46]),Z=h(Z,ee,se,j,Q,23,c[47]),j=p(j,Z,ee,se,b,6,c[48]),se=p(se,j,Z,ee,k,10,c[49]),ee=p(ee,se,j,Z,D,15,c[50]),Z=p(Z,ee,se,j,w,21,c[51]),j=p(j,Z,ee,se,R,6,c[52]),se=p(se,j,Z,ee,S,10,c[53]),ee=p(ee,se,j,Z,E,15,c[54]),Z=p(Z,ee,se,j,_,21,c[55]),j=p(j,Z,ee,se,C,6,c[56]),se=p(se,j,Z,ee,V,10,c[57]),ee=p(ee,se,j,Z,x,15,c[58]),Z=p(Z,ee,se,j,X,21,c[59]),j=p(j,Z,ee,se,P,6,c[60]),se=p(se,j,Z,ee,A,10,c[61]),ee=p(ee,se,j,Z,Q,15,c[62]),Z=p(Z,ee,se,j,T,21,c[63]),v[0]=v[0]+j|0,v[1]=v[1]+Z|0,v[2]=v[2]+ee|0,v[3]=v[3]+se|0},_doFinalize:function(){var y=this._data,$=y.words,m=this._nDataBytes*8,d=y.sigBytes*8;$[d>>>5]|=128<<24-d%32;var g=i.floor(m/4294967296),v=m;$[(d+64>>>9<<4)+15]=(g<<8|g>>>24)&16711935|(g<<24|g>>>8)&4278255360,$[(d+64>>>9<<4)+14]=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360,y.sigBytes=($.length+1)*4,this._process();for(var b=this._hash,_=b.words,Q=0;Q<4;Q++){var S=_[Q];_[Q]=(S<<8|S>>>24)&16711935|(S<<24|S>>>8)&4278255360}return b},clone:function(){var y=a.clone.call(this);return y._hash=this._hash.clone(),y}});function O(y,$,m,d,g,v,b){var _=y+($&m|~$&d)+g+b;return(_<>>32-v)+$}function f(y,$,m,d,g,v,b){var _=y+($&d|m&~d)+g+b;return(_<>>32-v)+$}function h(y,$,m,d,g,v,b){var _=y+($^m^d)+g+b;return(_<>>32-v)+$}function p(y,$,m,d,g,v,b){var _=y+(m^($|~d))+g+b;return(_<>>32-v)+$}r.MD5=a._createHelper(u),r.HmacMD5=a._createHmacHelper(u)}(Math),n.MD5})})(Ya);var _p={exports:{}};(function(t,e){(function(n,i){t.exports=i(bt.exports)})(at,function(n){return function(){var i=n,r=i.lib,s=r.WordArray,o=r.Hasher,a=i.algo,l=[],c=a.SHA1=o.extend({_doReset:function(){this._hash=new s.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(u,O){for(var f=this._hash.words,h=f[0],p=f[1],y=f[2],$=f[3],m=f[4],d=0;d<80;d++){if(d<16)l[d]=u[O+d]|0;else{var g=l[d-3]^l[d-8]^l[d-14]^l[d-16];l[d]=g<<1|g>>>31}var v=(h<<5|h>>>27)+m+l[d];d<20?v+=(p&y|~p&$)+1518500249:d<40?v+=(p^y^$)+1859775393:d<60?v+=(p&y|p&$|y&$)-1894007588:v+=(p^y^$)-899497514,m=$,$=y,y=p<<30|p>>>2,p=h,h=v}f[0]=f[0]+h|0,f[1]=f[1]+p|0,f[2]=f[2]+y|0,f[3]=f[3]+$|0,f[4]=f[4]+m|0},_doFinalize:function(){var u=this._data,O=u.words,f=this._nDataBytes*8,h=u.sigBytes*8;return O[h>>>5]|=128<<24-h%32,O[(h+64>>>9<<4)+14]=Math.floor(f/4294967296),O[(h+64>>>9<<4)+15]=f,u.sigBytes=O.length*4,this._process(),this._hash},clone:function(){var u=o.clone.call(this);return u._hash=this._hash.clone(),u}});i.SHA1=o._createHelper(c),i.HmacSHA1=o._createHmacHelper(c)}(),n.SHA1})})(_p);var R$={exports:{}};(function(t,e){(function(n,i){t.exports=i(bt.exports)})(at,function(n){return function(i){var r=n,s=r.lib,o=s.WordArray,a=s.Hasher,l=r.algo,c=[],u=[];(function(){function h(m){for(var d=i.sqrt(m),g=2;g<=d;g++)if(!(m%g))return!1;return!0}function p(m){return(m-(m|0))*4294967296|0}for(var y=2,$=0;$<64;)h(y)&&($<8&&(c[$]=p(i.pow(y,1/2))),u[$]=p(i.pow(y,1/3)),$++),y++})();var O=[],f=l.SHA256=a.extend({_doReset:function(){this._hash=new o.init(c.slice(0))},_doProcessBlock:function(h,p){for(var y=this._hash.words,$=y[0],m=y[1],d=y[2],g=y[3],v=y[4],b=y[5],_=y[6],Q=y[7],S=0;S<64;S++){if(S<16)O[S]=h[p+S]|0;else{var P=O[S-15],w=(P<<25|P>>>7)^(P<<14|P>>>18)^P>>>3,x=O[S-2],k=(x<<15|x>>>17)^(x<<13|x>>>19)^x>>>10;O[S]=w+O[S-7]+k+O[S-16]}var C=v&b^~v&_,T=$&m^$&d^m&d,E=($<<30|$>>>2)^($<<19|$>>>13)^($<<10|$>>>22),A=(v<<26|v>>>6)^(v<<21|v>>>11)^(v<<7|v>>>25),R=Q+A+C+u[S]+O[S],X=E+T;Q=_,_=b,b=v,v=g+R|0,g=d,d=m,m=$,$=R+X|0}y[0]=y[0]+$|0,y[1]=y[1]+m|0,y[2]=y[2]+d|0,y[3]=y[3]+g|0,y[4]=y[4]+v|0,y[5]=y[5]+b|0,y[6]=y[6]+_|0,y[7]=y[7]+Q|0},_doFinalize:function(){var h=this._data,p=h.words,y=this._nDataBytes*8,$=h.sigBytes*8;return p[$>>>5]|=128<<24-$%32,p[($+64>>>9<<4)+14]=i.floor(y/4294967296),p[($+64>>>9<<4)+15]=y,h.sigBytes=p.length*4,this._process(),this._hash},clone:function(){var h=a.clone.call(this);return h._hash=this._hash.clone(),h}});r.SHA256=a._createHelper(f),r.HmacSHA256=a._createHmacHelper(f)}(Math),n.SHA256})})(R$);var sR={exports:{}};(function(t,e){(function(n,i,r){t.exports=i(bt.exports,R$.exports)})(at,function(n){return function(){var i=n,r=i.lib,s=r.WordArray,o=i.algo,a=o.SHA256,l=o.SHA224=a.extend({_doReset:function(){this._hash=new s.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var c=a._doFinalize.call(this);return c.sigBytes-=4,c}});i.SHA224=a._createHelper(l),i.HmacSHA224=a._createHmacHelper(l)}(),n.SHA224})})(sR);var A$={exports:{}};(function(t,e){(function(n,i,r){t.exports=i(bt.exports,wf.exports)})(at,function(n){return function(){var i=n,r=i.lib,s=r.Hasher,o=i.x64,a=o.Word,l=o.WordArray,c=i.algo;function u(){return a.create.apply(a,arguments)}var O=[u(1116352408,3609767458),u(1899447441,602891725),u(3049323471,3964484399),u(3921009573,2173295548),u(961987163,4081628472),u(1508970993,3053834265),u(2453635748,2937671579),u(2870763221,3664609560),u(3624381080,2734883394),u(310598401,1164996542),u(607225278,1323610764),u(1426881987,3590304994),u(1925078388,4068182383),u(2162078206,991336113),u(2614888103,633803317),u(3248222580,3479774868),u(3835390401,2666613458),u(4022224774,944711139),u(264347078,2341262773),u(604807628,2007800933),u(770255983,1495990901),u(1249150122,1856431235),u(1555081692,3175218132),u(1996064986,2198950837),u(2554220882,3999719339),u(2821834349,766784016),u(2952996808,2566594879),u(3210313671,3203337956),u(3336571891,1034457026),u(3584528711,2466948901),u(113926993,3758326383),u(338241895,168717936),u(666307205,1188179964),u(773529912,1546045734),u(1294757372,1522805485),u(1396182291,2643833823),u(1695183700,2343527390),u(1986661051,1014477480),u(2177026350,1206759142),u(2456956037,344077627),u(2730485921,1290863460),u(2820302411,3158454273),u(3259730800,3505952657),u(3345764771,106217008),u(3516065817,3606008344),u(3600352804,1432725776),u(4094571909,1467031594),u(275423344,851169720),u(430227734,3100823752),u(506948616,1363258195),u(659060556,3750685593),u(883997877,3785050280),u(958139571,3318307427),u(1322822218,3812723403),u(1537002063,2003034995),u(1747873779,3602036899),u(1955562222,1575990012),u(2024104815,1125592928),u(2227730452,2716904306),u(2361852424,442776044),u(2428436474,593698344),u(2756734187,3733110249),u(3204031479,2999351573),u(3329325298,3815920427),u(3391569614,3928383900),u(3515267271,566280711),u(3940187606,3454069534),u(4118630271,4000239992),u(116418474,1914138554),u(174292421,2731055270),u(289380356,3203993006),u(460393269,320620315),u(685471733,587496836),u(852142971,1086792851),u(1017036298,365543100),u(1126000580,2618297676),u(1288033470,3409855158),u(1501505948,4234509866),u(1607167915,987167468),u(1816402316,1246189591)],f=[];(function(){for(var p=0;p<80;p++)f[p]=u()})();var h=c.SHA512=s.extend({_doReset:function(){this._hash=new l.init([new a.init(1779033703,4089235720),new a.init(3144134277,2227873595),new a.init(1013904242,4271175723),new a.init(2773480762,1595750129),new a.init(1359893119,2917565137),new a.init(2600822924,725511199),new a.init(528734635,4215389547),new a.init(1541459225,327033209)])},_doProcessBlock:function(p,y){for(var $=this._hash.words,m=$[0],d=$[1],g=$[2],v=$[3],b=$[4],_=$[5],Q=$[6],S=$[7],P=m.high,w=m.low,x=d.high,k=d.low,C=g.high,T=g.low,E=v.high,A=v.low,R=b.high,X=b.low,D=_.high,V=_.low,j=Q.high,Z=Q.low,ee=S.high,se=S.low,I=P,ne=w,H=x,re=k,G=C,Re=T,_e=E,ue=A,W=R,q=X,F=D,fe=V,he=j,ve=Z,xe=ee,me=se,le=0;le<80;le++){var oe,ce,K=f[le];if(le<16)ce=K.high=p[y+le*2]|0,oe=K.low=p[y+le*2+1]|0;else{var ge=f[le-15],Te=ge.high,Ye=ge.low,Ae=(Te>>>1|Ye<<31)^(Te>>>8|Ye<<24)^Te>>>7,ae=(Ye>>>1|Te<<31)^(Ye>>>8|Te<<24)^(Ye>>>7|Te<<25),pe=f[le-2],Oe=pe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:0),V=_.low=V+fe,_.high=D+F+(V>>>0>>0?1:0),Z=Q.low=Z+ve,Q.high=j+he+(Z>>>0>>0?1:0),se=S.low=se+me,S.high=ee+xe+(se>>>0>>0?1:0)},_doFinalize:function(){var p=this._data,y=p.words,$=this._nDataBytes*8,m=p.sigBytes*8;y[m>>>5]|=128<<24-m%32,y[(m+128>>>10<<5)+30]=Math.floor($/4294967296),y[(m+128>>>10<<5)+31]=$,p.sigBytes=y.length*4,this._process();var d=this._hash.toX32();return d},clone:function(){var p=s.clone.call(this);return p._hash=this._hash.clone(),p},blockSize:1024/32});i.SHA512=s._createHelper(h),i.HmacSHA512=s._createHmacHelper(h)}(),n.SHA512})})(A$);var oR={exports:{}};(function(t,e){(function(n,i,r){t.exports=i(bt.exports,wf.exports,A$.exports)})(at,function(n){return function(){var i=n,r=i.x64,s=r.Word,o=r.WordArray,a=i.algo,l=a.SHA512,c=a.SHA384=l.extend({_doReset:function(){this._hash=new o.init([new s.init(3418070365,3238371032),new s.init(1654270250,914150663),new s.init(2438529370,812702999),new s.init(355462360,4144912697),new s.init(1731405415,4290775857),new s.init(2394180231,1750603025),new s.init(3675008525,1694076839),new s.init(1203062813,3204075428)])},_doFinalize:function(){var u=l._doFinalize.call(this);return u.sigBytes-=16,u}});i.SHA384=l._createHelper(c),i.HmacSHA384=l._createHmacHelper(c)}(),n.SHA384})})(oR);var aR={exports:{}};(function(t,e){(function(n,i,r){t.exports=i(bt.exports,wf.exports)})(at,function(n){return function(i){var r=n,s=r.lib,o=s.WordArray,a=s.Hasher,l=r.x64,c=l.Word,u=r.algo,O=[],f=[],h=[];(function(){for(var $=1,m=0,d=0;d<24;d++){O[$+5*m]=(d+1)*(d+2)/2%64;var g=m%5,v=(2*$+3*m)%5;$=g,m=v}for(var $=0;$<5;$++)for(var m=0;m<5;m++)f[$+5*m]=m+(2*$+3*m)%5*5;for(var b=1,_=0;_<24;_++){for(var Q=0,S=0,P=0;P<7;P++){if(b&1){var w=(1<>>24)&16711935|(b<<24|b>>>8)&4278255360,_=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360;var Q=d[v];Q.high^=_,Q.low^=b}for(var S=0;S<24;S++){for(var P=0;P<5;P++){for(var w=0,x=0,k=0;k<5;k++){var Q=d[P+5*k];w^=Q.high,x^=Q.low}var C=p[P];C.high=w,C.low=x}for(var P=0;P<5;P++)for(var T=p[(P+4)%5],E=p[(P+1)%5],A=E.high,R=E.low,w=T.high^(A<<1|R>>>31),x=T.low^(R<<1|A>>>31),k=0;k<5;k++){var Q=d[P+5*k];Q.high^=w,Q.low^=x}for(var X=1;X<25;X++){var w,x,Q=d[X],D=Q.high,V=Q.low,j=O[X];j<32?(w=D<>>32-j,x=V<>>32-j):(w=V<>>64-j,x=D<>>64-j);var Z=p[f[X]];Z.high=w,Z.low=x}var ee=p[0],se=d[0];ee.high=se.high,ee.low=se.low;for(var P=0;P<5;P++)for(var k=0;k<5;k++){var X=P+5*k,Q=d[X],I=p[X],ne=p[(P+1)%5+5*k],H=p[(P+2)%5+5*k];Q.high=I.high^~ne.high&H.high,Q.low=I.low^~ne.low&H.low}var Q=d[0],re=h[S];Q.high^=re.high,Q.low^=re.low}},_doFinalize:function(){var $=this._data,m=$.words;this._nDataBytes*8;var d=$.sigBytes*8,g=this.blockSize*32;m[d>>>5]|=1<<24-d%32,m[(i.ceil((d+1)/g)*g>>>5)-1]|=128,$.sigBytes=m.length*4,this._process();for(var v=this._state,b=this.cfg.outputLength/8,_=b/8,Q=[],S=0;S<_;S++){var P=v[S],w=P.high,x=P.low;w=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360,x=(x<<8|x>>>24)&16711935|(x<<24|x>>>8)&4278255360,Q.push(x),Q.push(w)}return new o.init(Q,b)},clone:function(){for(var $=a.clone.call(this),m=$._state=this._state.slice(0),d=0;d<25;d++)m[d]=m[d].clone();return $}});r.SHA3=a._createHelper(y),r.HmacSHA3=a._createHmacHelper(y)}(Math),n.SHA3})})(aR);var lR={exports:{}};(function(t,e){(function(n,i){t.exports=i(bt.exports)})(at,function(n){/** @preserve + (c) 2012 by Cédric Mesnil. All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + + - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */return function(i){var r=n,s=r.lib,o=s.WordArray,a=s.Hasher,l=r.algo,c=o.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),u=o.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),O=o.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),f=o.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),h=o.create([0,1518500249,1859775393,2400959708,2840853838]),p=o.create([1352829926,1548603684,1836072691,2053994217,0]),y=l.RIPEMD160=a.extend({_doReset:function(){this._hash=o.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(_,Q){for(var S=0;S<16;S++){var P=Q+S,w=_[P];_[P]=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360}var x=this._hash.words,k=h.words,C=p.words,T=c.words,E=u.words,A=O.words,R=f.words,X,D,V,j,Z,ee,se,I,ne,H;ee=X=x[0],se=D=x[1],I=V=x[2],ne=j=x[3],H=Z=x[4];for(var re,S=0;S<80;S+=1)re=X+_[Q+T[S]]|0,S<16?re+=$(D,V,j)+k[0]:S<32?re+=m(D,V,j)+k[1]:S<48?re+=d(D,V,j)+k[2]:S<64?re+=g(D,V,j)+k[3]:re+=v(D,V,j)+k[4],re=re|0,re=b(re,A[S]),re=re+Z|0,X=Z,Z=j,j=b(V,10),V=D,D=re,re=ee+_[Q+E[S]]|0,S<16?re+=v(se,I,ne)+C[0]:S<32?re+=g(se,I,ne)+C[1]:S<48?re+=d(se,I,ne)+C[2]:S<64?re+=m(se,I,ne)+C[3]:re+=$(se,I,ne)+C[4],re=re|0,re=b(re,R[S]),re=re+H|0,ee=H,H=ne,ne=b(I,10),I=se,se=re;re=x[1]+V+ne|0,x[1]=x[2]+j+H|0,x[2]=x[3]+Z+ee|0,x[3]=x[4]+X+se|0,x[4]=x[0]+D+I|0,x[0]=re},_doFinalize:function(){var _=this._data,Q=_.words,S=this._nDataBytes*8,P=_.sigBytes*8;Q[P>>>5]|=128<<24-P%32,Q[(P+64>>>9<<4)+14]=(S<<8|S>>>24)&16711935|(S<<24|S>>>8)&4278255360,_.sigBytes=(Q.length+1)*4,this._process();for(var w=this._hash,x=w.words,k=0;k<5;k++){var C=x[k];x[k]=(C<<8|C>>>24)&16711935|(C<<24|C>>>8)&4278255360}return w},clone:function(){var _=a.clone.call(this);return _._hash=this._hash.clone(),_}});function $(_,Q,S){return _^Q^S}function m(_,Q,S){return _&Q|~_&S}function d(_,Q,S){return(_|~Q)^S}function g(_,Q,S){return _&S|Q&~S}function v(_,Q,S){return _^(Q|~S)}function b(_,Q){return _<>>32-Q}r.RIPEMD160=a._createHelper(y),r.HmacRIPEMD160=a._createHmacHelper(y)}(),n.RIPEMD160})})(lR);var Qp={exports:{}};(function(t,e){(function(n,i){t.exports=i(bt.exports)})(at,function(n){(function(){var i=n,r=i.lib,s=r.Base,o=i.enc,a=o.Utf8,l=i.algo;l.HMAC=s.extend({init:function(c,u){c=this._hasher=new c.init,typeof u=="string"&&(u=a.parse(u));var O=c.blockSize,f=O*4;u.sigBytes>f&&(u=c.finalize(u)),u.clamp();for(var h=this._oKey=u.clone(),p=this._iKey=u.clone(),y=h.words,$=p.words,m=0;m>>2]&255;w.sigBytes-=x}};s.BlockCipher=h.extend({cfg:h.cfg.extend({mode:$,padding:d}),reset:function(){var w;h.reset.call(this);var x=this.cfg,k=x.iv,C=x.mode;this._xformMode==this._ENC_XFORM_MODE?w=C.createEncryptor:(w=C.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==w?this._mode.init(this,k&&k.words):(this._mode=w.call(C,this,k&&k.words),this._mode.__creator=w)},_doProcessBlock:function(w,x){this._mode.processBlock(w,x)},_doFinalize:function(){var w,x=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(x.pad(this._data,this.blockSize),w=this._process(!0)):(w=this._process(!0),x.unpad(w)),w},blockSize:128/32});var g=s.CipherParams=o.extend({init:function(w){this.mixIn(w)},toString:function(w){return(w||this.formatter).stringify(this)}}),v=r.format={},b=v.OpenSSL={stringify:function(w){var x,k=w.ciphertext,C=w.salt;return C?x=a.create([1398893684,1701076831]).concat(C).concat(k):x=k,x.toString(u)},parse:function(w){var x,k=u.parse(w),C=k.words;return C[0]==1398893684&&C[1]==1701076831&&(x=a.create(C.slice(2,4)),C.splice(0,4),k.sigBytes-=16),g.create({ciphertext:k,salt:x})}},_=s.SerializableCipher=o.extend({cfg:o.extend({format:b}),encrypt:function(w,x,k,C){C=this.cfg.extend(C);var T=w.createEncryptor(k,C),E=T.finalize(x),A=T.cfg;return g.create({ciphertext:E,key:k,iv:A.iv,algorithm:w,mode:A.mode,padding:A.padding,blockSize:w.blockSize,formatter:C.format})},decrypt:function(w,x,k,C){C=this.cfg.extend(C),x=this._parse(x,C.format);var T=w.createDecryptor(k,C).finalize(x.ciphertext);return T},_parse:function(w,x){return typeof w=="string"?x.parse(w,this):w}}),Q=r.kdf={},S=Q.OpenSSL={execute:function(w,x,k,C){C||(C=a.random(64/8));var T=f.create({keySize:x+k}).compute(w,C),E=a.create(T.words.slice(x),k*4);return T.sigBytes=x*4,g.create({key:T,iv:E,salt:C})}},P=s.PasswordBasedCipher=_.extend({cfg:_.cfg.extend({kdf:S}),encrypt:function(w,x,k,C){C=this.cfg.extend(C);var T=C.kdf.execute(k,w.keySize,w.ivSize);C.iv=T.iv;var E=_.encrypt.call(this,w,x,T.key,C);return E.mixIn(T),E},decrypt:function(w,x,k,C){C=this.cfg.extend(C),x=this._parse(x,C.format);var T=C.kdf.execute(k,w.keySize,w.ivSize,x.salt);C.iv=T.iv;var E=_.decrypt.call(this,w,x,T.key,C);return E}})}()})})(Rn);var uR={exports:{}};(function(t,e){(function(n,i,r){t.exports=i(bt.exports,Rn.exports)})(at,function(n){return n.mode.CFB=function(){var i=n.lib.BlockCipherMode.extend();i.Encryptor=i.extend({processBlock:function(s,o){var a=this._cipher,l=a.blockSize;r.call(this,s,o,l,a),this._prevBlock=s.slice(o,o+l)}}),i.Decryptor=i.extend({processBlock:function(s,o){var a=this._cipher,l=a.blockSize,c=s.slice(o,o+l);r.call(this,s,o,l,a),this._prevBlock=c}});function r(s,o,a,l){var c,u=this._iv;u?(c=u.slice(0),this._iv=void 0):c=this._prevBlock,l.encryptBlock(c,0);for(var O=0;O>24&255)===255){var l=a>>16&255,c=a>>8&255,u=a&255;l===255?(l=0,c===255?(c=0,u===255?u=0:++u):++c):++l,a=0,a+=l<<16,a+=c<<8,a+=u}else a+=1<<24;return a}function s(a){return(a[0]=r(a[0]))===0&&(a[1]=r(a[1])),a}var o=i.Encryptor=i.extend({processBlock:function(a,l){var c=this._cipher,u=c.blockSize,O=this._iv,f=this._counter;O&&(f=this._counter=O.slice(0),this._iv=void 0),s(f);var h=f.slice(0);c.encryptBlock(h,0);for(var p=0;p>>2]|=a<<24-l%4*8,i.sigBytes+=a},unpad:function(i){var r=i.words[i.sigBytes-1>>>2]&255;i.sigBytes-=r}},n.pad.Ansix923})})(pR);var mR={exports:{}};(function(t,e){(function(n,i,r){t.exports=i(bt.exports,Rn.exports)})(at,function(n){return n.pad.Iso10126={pad:function(i,r){var s=r*4,o=s-i.sigBytes%s;i.concat(n.lib.WordArray.random(o-1)).concat(n.lib.WordArray.create([o<<24],1))},unpad:function(i){var r=i.words[i.sigBytes-1>>>2]&255;i.sigBytes-=r}},n.pad.Iso10126})})(mR);var gR={exports:{}};(function(t,e){(function(n,i,r){t.exports=i(bt.exports,Rn.exports)})(at,function(n){return n.pad.Iso97971={pad:function(i,r){i.concat(n.lib.WordArray.create([2147483648],1)),n.pad.ZeroPadding.pad(i,r)},unpad:function(i){n.pad.ZeroPadding.unpad(i),i.sigBytes--}},n.pad.Iso97971})})(gR);var vR={exports:{}};(function(t,e){(function(n,i,r){t.exports=i(bt.exports,Rn.exports)})(at,function(n){return n.pad.ZeroPadding={pad:function(i,r){var s=r*4;i.clamp(),i.sigBytes+=s-(i.sigBytes%s||s)},unpad:function(i){for(var r=i.words,s=i.sigBytes-1,s=i.sigBytes-1;s>=0;s--)if(r[s>>>2]>>>24-s%4*8&255){i.sigBytes=s+1;break}}},n.pad.ZeroPadding})})(vR);var yR={exports:{}};(function(t,e){(function(n,i,r){t.exports=i(bt.exports,Rn.exports)})(at,function(n){return n.pad.NoPadding={pad:function(){},unpad:function(){}},n.pad.NoPadding})})(yR);var $R={exports:{}};(function(t,e){(function(n,i,r){t.exports=i(bt.exports,Rn.exports)})(at,function(n){return function(i){var r=n,s=r.lib,o=s.CipherParams,a=r.enc,l=a.Hex,c=r.format;c.Hex={stringify:function(u){return u.ciphertext.toString(l)},parse:function(u){var O=l.parse(u);return o.create({ciphertext:O})}}}(),n.format.Hex})})($R);var bR={exports:{}};(function(t,e){(function(n,i,r){t.exports=i(bt.exports,Ma.exports,Ya.exports,Io.exports,Rn.exports)})(at,function(n){return function(){var i=n,r=i.lib,s=r.BlockCipher,o=i.algo,a=[],l=[],c=[],u=[],O=[],f=[],h=[],p=[],y=[],$=[];(function(){for(var g=[],v=0;v<256;v++)v<128?g[v]=v<<1:g[v]=v<<1^283;for(var b=0,_=0,v=0;v<256;v++){var Q=_^_<<1^_<<2^_<<3^_<<4;Q=Q>>>8^Q&255^99,a[b]=Q,l[Q]=b;var S=g[b],P=g[S],w=g[P],x=g[Q]*257^Q*16843008;c[b]=x<<24|x>>>8,u[b]=x<<16|x>>>16,O[b]=x<<8|x>>>24,f[b]=x;var x=w*16843009^P*65537^S*257^b*16843008;h[Q]=x<<24|x>>>8,p[Q]=x<<16|x>>>16,y[Q]=x<<8|x>>>24,$[Q]=x,b?(b=S^g[g[g[w^S]]],_^=g[g[_]]):b=_=1}})();var m=[0,1,2,4,8,16,32,64,128,27,54],d=o.AES=s.extend({_doReset:function(){var g;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var v=this._keyPriorReset=this._key,b=v.words,_=v.sigBytes/4,Q=this._nRounds=_+6,S=(Q+1)*4,P=this._keySchedule=[],w=0;w6&&w%_==4&&(g=a[g>>>24]<<24|a[g>>>16&255]<<16|a[g>>>8&255]<<8|a[g&255]):(g=g<<8|g>>>24,g=a[g>>>24]<<24|a[g>>>16&255]<<16|a[g>>>8&255]<<8|a[g&255],g^=m[w/_|0]<<24),P[w]=P[w-_]^g);for(var x=this._invKeySchedule=[],k=0;k>>24]]^p[a[g>>>16&255]]^y[a[g>>>8&255]]^$[a[g&255]]}}},encryptBlock:function(g,v){this._doCryptBlock(g,v,this._keySchedule,c,u,O,f,a)},decryptBlock:function(g,v){var b=g[v+1];g[v+1]=g[v+3],g[v+3]=b,this._doCryptBlock(g,v,this._invKeySchedule,h,p,y,$,l);var b=g[v+1];g[v+1]=g[v+3],g[v+3]=b},_doCryptBlock:function(g,v,b,_,Q,S,P,w){for(var x=this._nRounds,k=g[v]^b[0],C=g[v+1]^b[1],T=g[v+2]^b[2],E=g[v+3]^b[3],A=4,R=1;R>>24]^Q[C>>>16&255]^S[T>>>8&255]^P[E&255]^b[A++],D=_[C>>>24]^Q[T>>>16&255]^S[E>>>8&255]^P[k&255]^b[A++],V=_[T>>>24]^Q[E>>>16&255]^S[k>>>8&255]^P[C&255]^b[A++],j=_[E>>>24]^Q[k>>>16&255]^S[C>>>8&255]^P[T&255]^b[A++];k=X,C=D,T=V,E=j}var X=(w[k>>>24]<<24|w[C>>>16&255]<<16|w[T>>>8&255]<<8|w[E&255])^b[A++],D=(w[C>>>24]<<24|w[T>>>16&255]<<16|w[E>>>8&255]<<8|w[k&255])^b[A++],V=(w[T>>>24]<<24|w[E>>>16&255]<<16|w[k>>>8&255]<<8|w[C&255])^b[A++],j=(w[E>>>24]<<24|w[k>>>16&255]<<16|w[C>>>8&255]<<8|w[T&255])^b[A++];g[v]=X,g[v+1]=D,g[v+2]=V,g[v+3]=j},keySize:256/32});i.AES=s._createHelper(d)}(),n.AES})})(bR);var _R={exports:{}};(function(t,e){(function(n,i,r){t.exports=i(bt.exports,Ma.exports,Ya.exports,Io.exports,Rn.exports)})(at,function(n){return function(){var i=n,r=i.lib,s=r.WordArray,o=r.BlockCipher,a=i.algo,l=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],c=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],u=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],O=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],f=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],h=a.DES=o.extend({_doReset:function(){for(var m=this._key,d=m.words,g=[],v=0;v<56;v++){var b=l[v]-1;g[v]=d[b>>>5]>>>31-b%32&1}for(var _=this._subKeys=[],Q=0;Q<16;Q++){for(var S=_[Q]=[],P=u[Q],v=0;v<24;v++)S[v/6|0]|=g[(c[v]-1+P)%28]<<31-v%6,S[4+(v/6|0)]|=g[28+(c[v+24]-1+P)%28]<<31-v%6;S[0]=S[0]<<1|S[0]>>>31;for(var v=1;v<7;v++)S[v]=S[v]>>>(v-1)*4+3;S[7]=S[7]<<5|S[7]>>>27}for(var w=this._invSubKeys=[],v=0;v<16;v++)w[v]=_[15-v]},encryptBlock:function(m,d){this._doCryptBlock(m,d,this._subKeys)},decryptBlock:function(m,d){this._doCryptBlock(m,d,this._invSubKeys)},_doCryptBlock:function(m,d,g){this._lBlock=m[d],this._rBlock=m[d+1],p.call(this,4,252645135),p.call(this,16,65535),y.call(this,2,858993459),y.call(this,8,16711935),p.call(this,1,1431655765);for(var v=0;v<16;v++){for(var b=g[v],_=this._lBlock,Q=this._rBlock,S=0,P=0;P<8;P++)S|=O[P][((Q^b[P])&f[P])>>>0];this._lBlock=Q,this._rBlock=_^S}var w=this._lBlock;this._lBlock=this._rBlock,this._rBlock=w,p.call(this,1,1431655765),y.call(this,8,16711935),y.call(this,2,858993459),p.call(this,16,65535),p.call(this,4,252645135),m[d]=this._lBlock,m[d+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function p(m,d){var g=(this._lBlock>>>m^this._rBlock)&d;this._rBlock^=g,this._lBlock^=g<>>m^this._lBlock)&d;this._lBlock^=g,this._rBlock^=g<192.");var g=d.slice(0,2),v=d.length<4?d.slice(0,2):d.slice(2,4),b=d.length<6?d.slice(0,2):d.slice(4,6);this._des1=h.createEncryptor(s.create(g)),this._des2=h.createEncryptor(s.create(v)),this._des3=h.createEncryptor(s.create(b))},encryptBlock:function(m,d){this._des1.encryptBlock(m,d),this._des2.decryptBlock(m,d),this._des3.encryptBlock(m,d)},decryptBlock:function(m,d){this._des3.decryptBlock(m,d),this._des2.encryptBlock(m,d),this._des1.decryptBlock(m,d)},keySize:192/32,ivSize:64/32,blockSize:64/32});i.TripleDES=o._createHelper($)}(),n.TripleDES})})(_R);var QR={exports:{}};(function(t,e){(function(n,i,r){t.exports=i(bt.exports,Ma.exports,Ya.exports,Io.exports,Rn.exports)})(at,function(n){return function(){var i=n,r=i.lib,s=r.StreamCipher,o=i.algo,a=o.RC4=s.extend({_doReset:function(){for(var u=this._key,O=u.words,f=u.sigBytes,h=this._S=[],p=0;p<256;p++)h[p]=p;for(var p=0,y=0;p<256;p++){var $=p%f,m=O[$>>>2]>>>24-$%4*8&255;y=(y+h[p]+m)%256;var d=h[p];h[p]=h[y],h[y]=d}this._i=this._j=0},_doProcessBlock:function(u,O){u[O]^=l.call(this)},keySize:256/32,ivSize:0});function l(){for(var u=this._S,O=this._i,f=this._j,h=0,p=0;p<4;p++){O=(O+1)%256,f=(f+u[O])%256;var y=u[O];u[O]=u[f],u[f]=y,h|=u[(u[O]+u[f])%256]<<24-p*8}return this._i=O,this._j=f,h}i.RC4=s._createHelper(a);var c=o.RC4Drop=a.extend({cfg:a.cfg.extend({drop:192}),_doReset:function(){a._doReset.call(this);for(var u=this.cfg.drop;u>0;u--)l.call(this)}});i.RC4Drop=s._createHelper(c)}(),n.RC4})})(QR);var SR={exports:{}};(function(t,e){(function(n,i,r){t.exports=i(bt.exports,Ma.exports,Ya.exports,Io.exports,Rn.exports)})(at,function(n){return function(){var i=n,r=i.lib,s=r.StreamCipher,o=i.algo,a=[],l=[],c=[],u=o.Rabbit=s.extend({_doReset:function(){for(var f=this._key.words,h=this.cfg.iv,p=0;p<4;p++)f[p]=(f[p]<<8|f[p]>>>24)&16711935|(f[p]<<24|f[p]>>>8)&4278255360;var y=this._X=[f[0],f[3]<<16|f[2]>>>16,f[1],f[0]<<16|f[3]>>>16,f[2],f[1]<<16|f[0]>>>16,f[3],f[2]<<16|f[1]>>>16],$=this._C=[f[2]<<16|f[2]>>>16,f[0]&4294901760|f[1]&65535,f[3]<<16|f[3]>>>16,f[1]&4294901760|f[2]&65535,f[0]<<16|f[0]>>>16,f[2]&4294901760|f[3]&65535,f[1]<<16|f[1]>>>16,f[3]&4294901760|f[0]&65535];this._b=0;for(var p=0;p<4;p++)O.call(this);for(var p=0;p<8;p++)$[p]^=y[p+4&7];if(h){var m=h.words,d=m[0],g=m[1],v=(d<<8|d>>>24)&16711935|(d<<24|d>>>8)&4278255360,b=(g<<8|g>>>24)&16711935|(g<<24|g>>>8)&4278255360,_=v>>>16|b&4294901760,Q=b<<16|v&65535;$[0]^=v,$[1]^=_,$[2]^=b,$[3]^=Q,$[4]^=v,$[5]^=_,$[6]^=b,$[7]^=Q;for(var p=0;p<4;p++)O.call(this)}},_doProcessBlock:function(f,h){var p=this._X;O.call(this),a[0]=p[0]^p[5]>>>16^p[3]<<16,a[1]=p[2]^p[7]>>>16^p[5]<<16,a[2]=p[4]^p[1]>>>16^p[7]<<16,a[3]=p[6]^p[3]>>>16^p[1]<<16;for(var y=0;y<4;y++)a[y]=(a[y]<<8|a[y]>>>24)&16711935|(a[y]<<24|a[y]>>>8)&4278255360,f[h+y]^=a[y]},blockSize:128/32,ivSize:64/32});function O(){for(var f=this._X,h=this._C,p=0;p<8;p++)l[p]=h[p];h[0]=h[0]+1295307597+this._b|0,h[1]=h[1]+3545052371+(h[0]>>>0>>0?1:0)|0,h[2]=h[2]+886263092+(h[1]>>>0>>0?1:0)|0,h[3]=h[3]+1295307597+(h[2]>>>0>>0?1:0)|0,h[4]=h[4]+3545052371+(h[3]>>>0>>0?1:0)|0,h[5]=h[5]+886263092+(h[4]>>>0>>0?1:0)|0,h[6]=h[6]+1295307597+(h[5]>>>0>>0?1:0)|0,h[7]=h[7]+3545052371+(h[6]>>>0>>0?1:0)|0,this._b=h[7]>>>0>>0?1:0;for(var p=0;p<8;p++){var y=f[p]+h[p],$=y&65535,m=y>>>16,d=(($*$>>>17)+$*m>>>15)+m*m,g=((y&4294901760)*y|0)+((y&65535)*y|0);c[p]=d^g}f[0]=c[0]+(c[7]<<16|c[7]>>>16)+(c[6]<<16|c[6]>>>16)|0,f[1]=c[1]+(c[0]<<8|c[0]>>>24)+c[7]|0,f[2]=c[2]+(c[1]<<16|c[1]>>>16)+(c[0]<<16|c[0]>>>16)|0,f[3]=c[3]+(c[2]<<8|c[2]>>>24)+c[1]|0,f[4]=c[4]+(c[3]<<16|c[3]>>>16)+(c[2]<<16|c[2]>>>16)|0,f[5]=c[5]+(c[4]<<8|c[4]>>>24)+c[3]|0,f[6]=c[6]+(c[5]<<16|c[5]>>>16)+(c[4]<<16|c[4]>>>16)|0,f[7]=c[7]+(c[6]<<8|c[6]>>>24)+c[5]|0}i.Rabbit=s._createHelper(u)}(),n.Rabbit})})(SR);var wR={exports:{}};(function(t,e){(function(n,i,r){t.exports=i(bt.exports,Ma.exports,Ya.exports,Io.exports,Rn.exports)})(at,function(n){return function(){var i=n,r=i.lib,s=r.StreamCipher,o=i.algo,a=[],l=[],c=[],u=o.RabbitLegacy=s.extend({_doReset:function(){var f=this._key.words,h=this.cfg.iv,p=this._X=[f[0],f[3]<<16|f[2]>>>16,f[1],f[0]<<16|f[3]>>>16,f[2],f[1]<<16|f[0]>>>16,f[3],f[2]<<16|f[1]>>>16],y=this._C=[f[2]<<16|f[2]>>>16,f[0]&4294901760|f[1]&65535,f[3]<<16|f[3]>>>16,f[1]&4294901760|f[2]&65535,f[0]<<16|f[0]>>>16,f[2]&4294901760|f[3]&65535,f[1]<<16|f[1]>>>16,f[3]&4294901760|f[0]&65535];this._b=0;for(var $=0;$<4;$++)O.call(this);for(var $=0;$<8;$++)y[$]^=p[$+4&7];if(h){var m=h.words,d=m[0],g=m[1],v=(d<<8|d>>>24)&16711935|(d<<24|d>>>8)&4278255360,b=(g<<8|g>>>24)&16711935|(g<<24|g>>>8)&4278255360,_=v>>>16|b&4294901760,Q=b<<16|v&65535;y[0]^=v,y[1]^=_,y[2]^=b,y[3]^=Q,y[4]^=v,y[5]^=_,y[6]^=b,y[7]^=Q;for(var $=0;$<4;$++)O.call(this)}},_doProcessBlock:function(f,h){var p=this._X;O.call(this),a[0]=p[0]^p[5]>>>16^p[3]<<16,a[1]=p[2]^p[7]>>>16^p[5]<<16,a[2]=p[4]^p[1]>>>16^p[7]<<16,a[3]=p[6]^p[3]>>>16^p[1]<<16;for(var y=0;y<4;y++)a[y]=(a[y]<<8|a[y]>>>24)&16711935|(a[y]<<24|a[y]>>>8)&4278255360,f[h+y]^=a[y]},blockSize:128/32,ivSize:64/32});function O(){for(var f=this._X,h=this._C,p=0;p<8;p++)l[p]=h[p];h[0]=h[0]+1295307597+this._b|0,h[1]=h[1]+3545052371+(h[0]>>>0>>0?1:0)|0,h[2]=h[2]+886263092+(h[1]>>>0>>0?1:0)|0,h[3]=h[3]+1295307597+(h[2]>>>0>>0?1:0)|0,h[4]=h[4]+3545052371+(h[3]>>>0>>0?1:0)|0,h[5]=h[5]+886263092+(h[4]>>>0>>0?1:0)|0,h[6]=h[6]+1295307597+(h[5]>>>0>>0?1:0)|0,h[7]=h[7]+3545052371+(h[6]>>>0>>0?1:0)|0,this._b=h[7]>>>0>>0?1:0;for(var p=0;p<8;p++){var y=f[p]+h[p],$=y&65535,m=y>>>16,d=(($*$>>>17)+$*m>>>15)+m*m,g=((y&4294901760)*y|0)+((y&65535)*y|0);c[p]=d^g}f[0]=c[0]+(c[7]<<16|c[7]>>>16)+(c[6]<<16|c[6]>>>16)|0,f[1]=c[1]+(c[0]<<8|c[0]>>>24)+c[7]|0,f[2]=c[2]+(c[1]<<16|c[1]>>>16)+(c[0]<<16|c[0]>>>16)|0,f[3]=c[3]+(c[2]<<8|c[2]>>>24)+c[1]|0,f[4]=c[4]+(c[3]<<16|c[3]>>>16)+(c[2]<<16|c[2]>>>16)|0,f[5]=c[5]+(c[4]<<8|c[4]>>>24)+c[3]|0,f[6]=c[6]+(c[5]<<16|c[5]>>>16)+(c[4]<<16|c[4]>>>16)|0,f[7]=c[7]+(c[6]<<8|c[6]>>>24)+c[5]|0}i.RabbitLegacy=s._createHelper(u)}(),n.RabbitLegacy})})(wR);(function(t,e){(function(n,i,r){t.exports=i(bt.exports,wf.exports,nR.exports,iR.exports,Ma.exports,rR.exports,Ya.exports,_p.exports,R$.exports,sR.exports,A$.exports,oR.exports,aR.exports,lR.exports,Qp.exports,cR.exports,Io.exports,Rn.exports,uR.exports,fR.exports,OR.exports,hR.exports,dR.exports,pR.exports,mR.exports,gR.exports,vR.exports,yR.exports,$R.exports,bR.exports,_R.exports,QR.exports,SR.exports,wR.exports)})(at,function(n){return n})})(tR);var zne=tR.exports;const Ine=t=>{t=t||16;let e="ABCDEFGHJKMNPQRSTWXYZabcdefhijkmnprstwxyz2345678",n=e.length,i="";for(let r=0;r{const e=localStorage.getItem("publicKey");if(!e)return-1;const n=new Wne;return n.setPublicKey(e),n.encrypt(t)},KQ=(t,e)=>zne.AES.encrypt(t,e).toString(),qne=(t=[])=>t.sort((e,n)=>{let i="",r="",s=e.length>n.length?n:e;for(let o=0;oUne.includes(t),JQ=t=>Dne.includes(t),eS=(t=[])=>{const e=t.filter(r=>Js(r.type)),n=t.filter(r=>!Js(r.type)),i=(r=[])=>r.sort((s,o)=>{const{name:a}=s,{name:l}=o;let c="",u="",O=a.length>l.length?l:a;for(let f=0;f{let n=window.URL.createObjectURL(new Blob([t])),i=document.createElement("a");i.style.display="none",i.href=n,console.log(e),i.setAttribute("download",e),document.body.appendChild(i),i.click(),setTimeout(()=>{document.body.removeChild(i),window.URL.revokeObjectURL(n)})},Bne=(t="")=>String(t).split(/\./).pop(),Mne={name:"UpdatePassword",data(){return{loading:!1,formData:{oldPwd:"",newPwd:"",confirmPwd:""},rules:{oldPwd:{required:!0,message:"\u8F93\u5165\u65E7\u5BC6\u7801",trigger:"change"},newPwd:{required:!0,message:"\u8F93\u5165\u65B0\u5BC6\u7801",trigger:"change"},confirmPwd:{required:!0,message:"\u8F93\u5165\u786E\u8BA4\u5BC6\u7801",trigger:"change"}}}},computed:{formRef(){return this.$refs.form}},methods:{handleUpdate(){this.formRef.validate().then(async()=>{let{oldPwd:t,newPwd:e,confirmPwd:n}=this.formData;if(e!==n)return this.$message.error({center:!0,message:"\u4E24\u6B21\u5BC6\u7801\u8F93\u5165\u4E0D\u4E00\u81F4"});t=id(t),e=id(e);let{msg:i}=await this.$api.updatePwd({oldPwd:t,newPwd:e});this.$message({type:"success",center:!0,message:i}),this.formData={oldPwd:"",newPwd:"",confirmPwd:""},this.formRef.resetFields()})}}},Yne=Ee("\u786E\u8BA4");function Zne(t,e,n,i,r,s){const o=si,a=vc,l=Tn,c=gc;return L(),be(c,{ref:"form",class:"password-form",model:r.formData,rules:r.rules,"hide-required-asterisk":!0,"label-suffix":"\uFF1A","label-width":"90px"},{default:Y(()=>[B(a,{label:"\u65E7\u5BC6\u7801",prop:"oldPwd"},{default:Y(()=>[B(o,{modelValue:r.formData.oldPwd,"onUpdate:modelValue":e[0]||(e[0]=u=>r.formData.oldPwd=u),modelModifiers:{trim:!0},clearable:"",placeholder:"\u65E7\u5BC6\u7801",autocomplete:"off"},null,8,["modelValue"])]),_:1}),B(a,{label:"\u65B0\u5BC6\u7801",prop:"newPwd"},{default:Y(()=>[B(o,{modelValue:r.formData.newPwd,"onUpdate:modelValue":e[1]||(e[1]=u=>r.formData.newPwd=u),modelModifiers:{trim:!0},clearable:"",placeholder:"\u65B0\u5BC6\u7801",autocomplete:"off",onKeyup:Qt(s.handleUpdate,["enter"])},null,8,["modelValue","onKeyup"])]),_:1}),B(a,{label:"\u786E\u8BA4\u5BC6\u7801",prop:"confirmPwd"},{default:Y(()=>[B(o,{modelValue:r.formData.confirmPwd,"onUpdate:modelValue":e[2]||(e[2]=u=>r.formData.confirmPwd=u),modelModifiers:{trim:!0},clearable:"",placeholder:"\u786E\u8BA4\u5BC6\u7801",autocomplete:"off",onKeyup:Qt(s.handleUpdate,["enter"])},null,8,["modelValue","onKeyup"])]),_:1}),B(a,null,{default:Y(()=>[B(l,{type:"primary",loading:r.loading,onClick:s.handleUpdate},{default:Y(()=>[Yne]),_:1},8,["loading","onClick"])]),_:1})]),_:1},8,["model","rules"])}var Vne=an(Mne,[["render",Zne],["__scopeId","data-v-f24fbfc6"]]);const jne={name:"Setting",components:{NotifyList:Pte,EmailList:Xte,Sort:Lte,Record:Vte,Group:une,Password:Vne},props:{show:{required:!0,type:Boolean}},emits:["update:show","update-list"],data(){return{}},computed:{visible:{get(){return this.show},set(t){this.$emit("update:show",t)}}}};function Nne(t,e,n,i,r,s){const o=Pe("Group"),a=_T,l=Pe("Record"),c=Pe("Sort"),u=Pe("NotifyList"),O=Pe("EmailList"),f=Pe("Password"),h=bT,p=Ba;return L(),be(p,{modelValue:s.visible,"onUpdate:modelValue":e[1]||(e[1]=y=>s.visible=y),width:"1100px",title:"\u529F\u80FD\u8BBE\u7F6E","close-on-click-modal":!1,"close-on-press-escape":!1},{default:Y(()=>[B(h,{style:{height:"500px"},"tab-position":"left"},{default:Y(()=>[B(a,{label:"\u5206\u7EC4\u7BA1\u7406"},{default:Y(()=>[B(o)]),_:1}),B(a,{label:"\u767B\u5F55\u8BB0\u5F55"},{default:Y(()=>[B(l)]),_:1}),B(a,{label:"\u4E3B\u673A\u6392\u5E8F",lazy:""},{default:Y(()=>[B(c,{onUpdateList:e[0]||(e[0]=y=>t.$emit("update-list"))})]),_:1}),B(a,{label:"\u5168\u5C40\u901A\u77E5",lazy:""},{default:Y(()=>[B(u)]),_:1}),B(a,{label:"\u90AE\u7BB1\u914D\u7F6E",lazy:""},{default:Y(()=>[B(O)]),_:1}),B(a,{label:"\u4FEE\u6539\u5BC6\u7801",lazy:""},{default:Y(()=>[B(f)]),_:1})]),_:1})]),_:1},8,["modelValue"])}var Fne=an(jne,[["render",Nne],["__scopeId","data-v-437b239c"]]);const Gne={name:"IconSvg",props:{name:{type:String,default:""}},computed:{href(){return`#${this.name}`}}},Hne={class:"icon","aria-hidden":"true"},Kne=["xlink:href"];function Jne(t,e,n,i,r,s){return L(),ie("svg",Hne,[U("use",{"xlink:href":s.href},null,8,Kne)])}var E$=an(Gne,[["render",Jne],["__scopeId","data-v-71a59e2e"]]);const eie={name:"SSHForm",props:{show:{required:!0,type:Boolean},tempHost:{required:!0,type:String},name:{required:!0,type:String}},emits:["update:show"],data(){return{sshForm:{host:"",port:22,username:"",type:"privateKey",password:"",privateKey:"",command:""},defaultUsers:[{value:"root"},{value:"ubuntu"}],rules:{host:{required:!0,message:"\u9700\u8F93\u5165\u4E3B\u673A",trigger:"change"},port:{required:!0,message:"\u9700\u8F93\u5165\u7AEF\u53E3",trigger:"change"},username:{required:!0,message:"\u9700\u8F93\u5165\u7528\u6237\u540D",trigger:"change"},type:{required:!0},password:{required:!0,message:"\u9700\u8F93\u5165\u5BC6\u7801",trigger:"change"},privateKey:{required:!0,message:"\u9700\u8F93\u5165\u5BC6\u94A5",trigger:"change"},command:{required:!1}}}},computed:{visible:{get(){return this.show},set(t){this.$emit("update:show",t)}},formRef(){return this.$refs.form}},watch:{tempHost:{handler(t){this.sshForm.host=t}}},methods:{handleClickUploadBtn(){this.$refs.privateKey.click()},handleSelectPrivateKeyFile(t){let e=t.target.files[0],n=new FileReader;n.onload=i=>{this.sshForm.privateKey=i.target.result,this.$refs.privateKey.value=""},n.readAsText(e)},handleSaveSSH(){this.formRef.validate().then(async()=>{let t=Ine(16),e=JSON.parse(JSON.stringify(this.sshForm));e.password&&(e.password=KQ(e.password,t)),e.privateKey&&(e.privateKey=KQ(e.privateKey,t)),e.randomKey=id(t),await A1.updateSSH(e),this.$notification({title:"\u4FDD\u5B58\u6210\u529F",message:`\u4E0B\u6B21\u70B9\u51FB [Web SSH] \u53EF\u76F4\u63A5\u767B\u5F55\u7EC8\u7AEF +\u5982\u65E0\u6CD5\u767B\u5F55\u8BF7 [\u79FB\u9664\u51ED\u8BC1] \u540E\u91CD\u65B0\u6DFB\u52A0`,type:"success"}),this.visible=!1})},userSearch(t,e){let n=t?this.defaultUsers.filter(i=>i.value.includes(t)):this.defaultUsers;e(n)}}},tie={class:"value"},nie=Ee("\u5BC6\u94A5"),iie=Ee("\u5BC6\u7801"),rie=Ee(" \u9009\u62E9\u79C1\u94A5... "),sie={class:"dialog-footer"},oie=Ee("\u53D6\u6D88"),aie=Ee("\u4FDD\u5B58");function lie(t,e,n,i,r,s){const o=si,a=vc,l=rY,c=E2,u=Tn,O=gc,f=Ba;return L(),be(f,{modelValue:s.visible,"onUpdate:modelValue":e[10]||(e[10]=h=>s.visible=h),title:"SSH\u8FDE\u63A5","close-on-click-modal":!1,onClosed:e[11]||(e[11]=h=>t.$nextTick(()=>s.formRef.resetFields()))},{footer:Y(()=>[U("span",sie,[B(u,{onClick:e[9]||(e[9]=h=>s.visible=!1)},{default:Y(()=>[oie]),_:1}),B(u,{type:"primary",onClick:s.handleSaveSSH},{default:Y(()=>[aie]),_:1},8,["onClick"])])]),default:Y(()=>[B(O,{ref:"form",model:r.sshForm,rules:r.rules,"hide-required-asterisk":!0,"label-suffix":"\uFF1A","label-width":"90px"},{default:Y(()=>[B(a,{label:"\u4E3B\u673A",prop:"host"},{default:Y(()=>[B(o,{modelValue:r.sshForm.host,"onUpdate:modelValue":e[0]||(e[0]=h=>r.sshForm.host=h),modelModifiers:{trim:!0},disabled:"",clearable:"",autocomplete:"off"},null,8,["modelValue"])]),_:1}),B(a,{label:"\u7AEF\u53E3",prop:"port"},{default:Y(()=>[B(o,{modelValue:r.sshForm.port,"onUpdate:modelValue":e[1]||(e[1]=h=>r.sshForm.port=h),modelModifiers:{trim:!0},clearable:"",autocomplete:"off"},null,8,["modelValue"])]),_:1}),B(a,{label:"\u7528\u6237\u540D",prop:"username"},{default:Y(()=>[B(l,{modelValue:r.sshForm.username,"onUpdate:modelValue":e[2]||(e[2]=h=>r.sshForm.username=h),modelModifiers:{trim:!0},"fetch-suggestions":s.userSearch,style:{width:"100%"},clearable:""},{default:Y(({item:h})=>[U("div",tie,de(h.value),1)]),_:1},8,["modelValue","fetch-suggestions"])]),_:1}),B(a,{label:"\u8BA4\u8BC1\u65B9\u5F0F",prop:"type"},{default:Y(()=>[B(c,{modelValue:r.sshForm.type,"onUpdate:modelValue":e[3]||(e[3]=h=>r.sshForm.type=h),modelModifiers:{trim:!0},label:"privateKey"},{default:Y(()=>[nie]),_:1},8,["modelValue"]),B(c,{modelValue:r.sshForm.type,"onUpdate:modelValue":e[4]||(e[4]=h=>r.sshForm.type=h),modelModifiers:{trim:!0},label:"password"},{default:Y(()=>[iie]),_:1},8,["modelValue"])]),_:1}),r.sshForm.type==="password"?(L(),be(a,{key:0,prop:"password",label:"\u5BC6\u7801"},{default:Y(()=>[B(o,{modelValue:r.sshForm.password,"onUpdate:modelValue":e[5]||(e[5]=h=>r.sshForm.password=h),modelModifiers:{trim:!0},type:"password",placeholder:"Please input password",autocomplete:"off",clearable:"","show-password":""},null,8,["modelValue"])]),_:1})):Qe("",!0),r.sshForm.type==="privateKey"?(L(),be(a,{key:1,prop:"privateKey",label:"\u5BC6\u94A5"},{default:Y(()=>[B(u,{type:"primary",size:"small",onClick:s.handleClickUploadBtn},{default:Y(()=>[rie]),_:1},8,["onClick"]),U("input",{ref:"privateKey",type:"file",name:"privateKey",style:{display:"none"},onChange:e[6]||(e[6]=(...h)=>s.handleSelectPrivateKeyFile&&s.handleSelectPrivateKeyFile(...h))},null,544),B(o,{modelValue:r.sshForm.privateKey,"onUpdate:modelValue":e[7]||(e[7]=h=>r.sshForm.privateKey=h),modelModifiers:{trim:!0},type:"textarea",rows:5,clearable:"",autocomplete:"off",style:{"margin-top":"5px"},placeholder:"-----BEGIN RSA PRIVATE KEY-----"},null,8,["modelValue"])]),_:1})):Qe("",!0),B(a,{prop:"command",label:"\u6267\u884C\u6307\u4EE4"},{default:Y(()=>[B(o,{modelValue:r.sshForm.command,"onUpdate:modelValue":e[8]||(e[8]=h=>r.sshForm.command=h),type:"textarea",rows:5,clearable:"",autocomplete:"off",placeholder:"\u8FDE\u63A5\u670D\u52A1\u5668\u540E\u81EA\u52A8\u6267\u884C\u7684\u6307\u4EE4(\u4F8B\u5982: sudo -i)"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["modelValue"])}var cie=an(eie,[["render",lie]]);const uie={name:"HostCard",components:{SSHForm:cie},props:{hostInfo:{required:!0,type:Object},hiddenIp:{required:!0,type:[Number,Boolean]}},emits:["update-list","update-host"],data(){return{sshFormVisible:!1,tempHost:""}},computed:{hostIp(){var e;let t=((e=this.ipInfo)==null?void 0:e.query)||this.host||"--";try{let n=t.replace(/\d/g,"*").split(".").map(i=>i.padStart(3,"*")).join(".");return this.hiddenIp?n:t}catch{return t}},host(){var t;return(t=this.hostInfo)==null?void 0:t.host},name(){var t;return(t=this.hostInfo)==null?void 0:t.name},ping(){var t;return((t=this.hostInfo)==null?void 0:t.ping)||""},expiredTime(){var t;return this.$tools.formatTimestamp((t=this.hostInfo)==null?void 0:t.expired,"date")},consoleUrl(){var t;return(t=this.hostInfo)==null?void 0:t.consoleUrl},ipInfo(){var t;return((t=this.hostInfo)==null?void 0:t.ipInfo)||{}},isError(){var t;return!Boolean((t=this.hostInfo)==null?void 0:t.osInfo)},cpuInfo(){var t;return((t=this.hostInfo)==null?void 0:t.cpuInfo)||{}},memInfo(){var t;return((t=this.hostInfo)==null?void 0:t.memInfo)||{}},osInfo(){var t;return((t=this.hostInfo)==null?void 0:t.osInfo)||{}},driveInfo(){var t;return((t=this.hostInfo)==null?void 0:t.driveInfo)||{}},netstatInfo(){var n;let i=((n=this.hostInfo)==null?void 0:n.netstatInfo)||{},{total:t}=i,e=lO(i,["total"]);return{netTotal:t,netCards:e||{}}},openedCount(){var t;return((t=this.hostInfo)==null?void 0:t.openedCount)||0}},mounted(){},methods:{setColor(t){return t=Number(t),t?t<80?"#595959":t>=80&&t<90?"#FF6600":"#FF0000":"#595959"},handleUpdate(){let{name:t,host:e,hostInfo:{expired:n,expiredNotify:i,group:r,consoleUrl:s,remark:o}}=this;this.$emit("update-host",{name:t,host:e,expired:n,expiredNotify:i,group:r,consoleUrl:s,remark:o})},handleToConsole(){window.open(this.consoleUrl)},async handleSSH(){let{host:t,name:e}=this,{data:n}=await this.$api.existSSH(t);if(console.log("\u662F\u5426\u5B58\u5728\u51ED\u8BC1:",n),n)return window.open(`/terminal?host=${t}&name=${e}`);if(!t)return mo({message:"\u8BF7\u7B49\u5F85\u83B7\u53D6\u670D\u52A1\u5668ip\u6216\u5237\u65B0\u9875\u9762\u91CD\u8BD5",type:"warning",center:!0});this.tempHost=t,this.sshFormVisible=!0},async handleRemoveSSH(){Yg.confirm("\u786E\u8BA4\u5220\u9664SSH\u51ED\u8BC1","Warning",{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",type:"warning"}).then(async()=>{let{host:t}=this,{data:e}=await this.$api.removeSSH(t);mo({message:e,type:"success",center:!0})})},handleRemoveHost(){Yg.confirm("\u786E\u8BA4\u5220\u9664\u4E3B\u673A","Warning",{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",type:"warning"}).then(async()=>{let{host:t}=this,{data:e}=await this.$api.removeHost({host:t});mo({message:e,type:"success",center:!0}),this.$emit("update-list")})}}},At=t=>(fc("data-v-9b7058f0"),t=t(),Oc(),t),fie={class:"host-state"},Oie={key:0,class:"offline"},hie={key:1,class:"online"},die={class:"info"},pie={class:"weizhi field"},mie={class:"field-detail"},gie=At(()=>U("h2",null,"\u7CFB\u7EDF",-1)),vie=At(()=>U("span",null,"\u540D\u79F0:",-1)),yie=At(()=>U("span",null,"\u7C7B\u578B:",-1)),$ie=At(()=>U("span",null,"\u67B6\u6784:",-1)),bie=At(()=>U("span",null,"\u5E73\u53F0:",-1)),_ie=At(()=>U("span",null,"\u7248\u672C:",-1)),Qie=At(()=>U("span",null,"\u5F00\u673A\u65F6\u957F:",-1)),Sie=At(()=>U("span",null,"\u5230\u671F\u65F6\u95F4:",-1)),wie=At(()=>U("span",null,"\u672C\u5730IP:",-1)),xie=At(()=>U("span",null,"\u8FDE\u63A5\u6570:",-1)),Pie={class:"fields"},kie={class:"weizhi field"},Cie={class:"field-detail"},Tie=At(()=>U("h2",null,"\u4F4D\u7F6E\u4FE1\u606F",-1)),Rie=At(()=>U("span",null,"\u8BE6\u7EC6:",-1)),Aie=At(()=>U("span",null,"\u63D0\u4F9B\u5546:",-1)),Eie=At(()=>U("span",null,"\u7EBF\u8DEF:",-1)),Xie={class:"fields"},Wie={class:"cpu field"},zie={class:"field-detail"},Iie=At(()=>U("h2",null,"CPU",-1)),qie=At(()=>U("span",null,"\u5229\u7528\u7387:",-1)),Uie=At(()=>U("span",null,"\u7269\u7406\u6838\u5FC3:",-1)),Die=At(()=>U("span",null,"\u578B\u53F7:",-1)),Lie={class:"fields"},Bie={class:"ram field"},Mie={class:"field-detail"},Yie=At(()=>U("h2",null,"\u5185\u5B58",-1)),Zie=At(()=>U("span",null,"\u603B\u5927\u5C0F:",-1)),Vie=At(()=>U("span",null,"\u5DF2\u4F7F\u7528:",-1)),jie=At(()=>U("span",null,"\u5360\u6BD4:",-1)),Nie=At(()=>U("span",null,"\u7A7A\u95F2:",-1)),Fie={class:"fields"},Gie={class:"yingpan field"},Hie={class:"field-detail"},Kie=At(()=>U("h2",null,"\u5B58\u50A8",-1)),Jie=At(()=>U("span",null,"\u603B\u7A7A\u95F4:",-1)),ere=At(()=>U("span",null,"\u5DF2\u4F7F\u7528:",-1)),tre=At(()=>U("span",null,"\u5269\u4F59:",-1)),nre=At(()=>U("span",null,"\u5360\u6BD4:",-1)),ire={class:"fields"},rre={class:"wangluo field"},sre={class:"field-detail"},ore=At(()=>U("h2",null,"\u7F51\u5361",-1)),are={class:"fields"},lre={class:"fields terminal"},cre=Ee("\u529F\u80FD"),ure=Ee("\u8FDE\u63A5\u7EC8\u7AEF"),fre=Ee("\u63A7\u5236\u53F0"),Ore=Ee("\u4FEE\u6539\u670D\u52A1\u5668"),hre=At(()=>U("span",{style:{color:"#727272"}},"\u79FB\u9664\u4E3B\u673A",-1)),dre=At(()=>U("span",{style:{color:"#727272"}},"\u79FB\u9664\u51ED\u8BC1",-1));function pre(t,e,n,i,r,s){const o=E$,a=lT,l=Tn,c=tF,u=nF,O=eF,f=Pe("SSHForm"),h=uZ;return L(),be(h,{shadow:"always",class:"host-card"},{default:Y(()=>{var p,y,$,m,d;return[U("div",fie,[s.isError?(L(),ie("span",Oie,"\u672A\u8FDE\u63A5")):(L(),ie("span",hie,"\u5DF2\u8FDE\u63A5 "+de(s.ping),1))]),U("div",die,[U("div",pie,[B(a,{placement:"bottom-start",width:200,trigger:"hover"},{reference:Y(()=>[B(o,{name:"icon-fuwuqi",class:"svg-icon"})]),default:Y(()=>[U("div",mie,[gie,U("h3",null,[vie,Ee(" "+de(s.osInfo.hostname),1)]),U("h3",null,[yie,Ee(" "+de(s.osInfo.type),1)]),U("h3",null,[$ie,Ee(" "+de(s.osInfo.arch),1)]),U("h3",null,[bie,Ee(" "+de(s.osInfo.platform),1)]),U("h3",null,[_ie,Ee(" "+de(s.osInfo.release),1)]),U("h3",null,[Qie,Ee(" "+de(t.$tools.formatTime(s.osInfo.uptime)),1)]),U("h3",null,[Sie,Ee(" "+de(s.expiredTime),1)]),U("h3",null,[wie,Ee(" "+de(s.osInfo.ip),1)]),U("h3",null,[xie,Ee(" "+de(s.openedCount||0),1)])])]),_:1}),U("div",Pie,[U("span",{class:"name",onClick:e[0]||(e[0]=(...g)=>s.handleUpdate&&s.handleUpdate(...g))},[Ee(de(s.name||"--")+" ",1),B(o,{name:"icon-xiugai",class:"svg-icon"})]),U("span",null,de(((p=s.osInfo)==null?void 0:p.type)||"--"),1)])]),U("div",kie,[B(a,{placement:"bottom-start",width:200,trigger:"hover"},{reference:Y(()=>[B(o,{name:"icon-position",class:"svg-icon"})]),default:Y(()=>[U("div",Cie,[Tie,U("h3",null,[Rie,Ee(" "+de(s.ipInfo.country||"--")+" "+de(s.ipInfo.regionName),1)]),U("h3",null,[Aie,Ee(" "+de(s.ipInfo.isp||"--"),1)]),U("h3",null,[Eie,Ee(" "+de(s.ipInfo.as||"--"),1)])])]),_:1}),U("div",Xie,[U("span",null,de(`${((y=s.ipInfo)==null?void 0:y.country)||"--"} ${(($=s.ipInfo)==null?void 0:$.regionName)||"--"}`),1),U("span",null,de(s.hostIp),1)])]),U("div",Wie,[B(a,{placement:"bottom-start",width:200,trigger:"hover"},{reference:Y(()=>[B(o,{name:"icon-xingzhuang",class:"svg-icon"})]),default:Y(()=>[U("div",zie,[Iie,U("h3",null,[qie,Ee(" "+de(s.cpuInfo.cpuUsage)+"%",1)]),U("h3",null,[Uie,Ee(" "+de(s.cpuInfo.cpuCount),1)]),U("h3",null,[Die,Ee(" "+de(s.cpuInfo.cpuModel),1)])])]),_:1}),U("div",Lie,[U("span",{style:tt({color:s.setColor(s.cpuInfo.cpuUsage)})},de(s.cpuInfo.cpuUsage||"0")+"%",5),U("span",null,de(s.cpuInfo.cpuCount||"--")+" \u6838\u5FC3",1)])]),U("div",Bie,[B(a,{placement:"bottom-start",width:200,trigger:"hover"},{reference:Y(()=>[B(o,{name:"icon-neicun1",class:"svg-icon"})]),default:Y(()=>[U("div",Mie,[Yie,U("h3",null,[Zie,Ee(" "+de(t.$tools.toFixed(s.memInfo.totalMemMb/1024))+" GB",1)]),U("h3",null,[Vie,Ee(" "+de(t.$tools.toFixed(s.memInfo.usedMemMb/1024))+" GB",1)]),U("h3",null,[jie,Ee(" "+de(t.$tools.toFixed(s.memInfo.usedMemPercentage))+"%",1)]),U("h3",null,[Nie,Ee(" "+de(t.$tools.toFixed(s.memInfo.freeMemMb/1024))+" GB",1)])])]),_:1}),U("div",Fie,[U("span",{style:tt({color:s.setColor(s.memInfo.usedMemPercentage)})},de(t.$tools.toFixed(s.memInfo.usedMemPercentage))+"%",5),U("span",null,de(t.$tools.toFixed(s.memInfo.usedMemMb/1024))+" | "+de(t.$tools.toFixed(s.memInfo.totalMemMb/1024))+" GB",1)])]),U("div",Gie,[B(a,{placement:"bottom-start",width:200,trigger:"hover"},{reference:Y(()=>[B(o,{name:"icon-xingzhuang1",class:"svg-icon"})]),default:Y(()=>[U("div",Hie,[Kie,U("h3",null,[Jie,Ee(" "+de(s.driveInfo.totalGb||"--")+" GB",1)]),U("h3",null,[ere,Ee(" "+de(s.driveInfo.usedGb||"--")+" GB",1)]),U("h3",null,[tre,Ee(" "+de(s.driveInfo.freeGb||"--")+" GB",1)]),U("h3",null,[nre,Ee(" "+de(s.driveInfo.usedPercentage||"--")+"%",1)])])]),_:1}),U("div",ire,[U("span",{style:tt({color:s.setColor(s.driveInfo.usedPercentage)})},de(s.driveInfo.usedPercentage||"--")+"%",5),U("span",null,de(s.driveInfo.usedGb||"--")+" | "+de(s.driveInfo.totalGb||"--")+" GB",1)])]),U("div",rre,[B(a,{placement:"bottom-start",width:200,trigger:"hover"},{reference:Y(()=>[B(o,{name:"icon-wangluo1",class:"svg-icon"})]),default:Y(()=>[U("div",sre,[ore,(L(!0),ie(Le,null,Rt(s.netstatInfo.netCards,(g,v)=>(L(),ie("div",{key:v,style:{display:"flex","flex-direction":"column"}},[U("h3",null,[U("span",null,de(v),1),U("div",null,"\u2191 "+de(t.$tools.formatNetSpeed(g==null?void 0:g.outputMb)||0),1),U("div",null,"\u2193 "+de(t.$tools.formatNetSpeed(g==null?void 0:g.inputMb)||0),1)])]))),128))])]),_:1}),U("div",are,[U("span",null,"\u2191 "+de(t.$tools.formatNetSpeed((m=s.netstatInfo.netTotal)==null?void 0:m.outputMb)||0),1),U("span",null,"\u2193 "+de(t.$tools.formatNetSpeed((d=s.netstatInfo.netTotal)==null?void 0:d.inputMb)||0),1)])]),U("div",lre,[B(O,{class:"web-ssh",type:"primary",trigger:"click"},{dropdown:Y(()=>[B(u,null,{default:Y(()=>[B(c,{onClick:s.handleSSH},{default:Y(()=>[ure]),_:1},8,["onClick"]),s.consoleUrl?(L(),be(c,{key:0,onClick:s.handleToConsole},{default:Y(()=>[fre]),_:1},8,["onClick"])):Qe("",!0),B(c,{onClick:s.handleUpdate},{default:Y(()=>[Ore]),_:1},8,["onClick"]),B(c,{onClick:s.handleRemoveHost},{default:Y(()=>[hre]),_:1},8,["onClick"]),B(c,{onClick:s.handleRemoveSSH},{default:Y(()=>[dre]),_:1},8,["onClick"])]),_:1})]),default:Y(()=>[B(l,{type:"primary"},{default:Y(()=>[cre]),_:1})]),_:1})])]),B(f,{show:r.sshFormVisible,"onUpdate:show":e[1]||(e[1]=g=>r.sshFormVisible=g),"temp-host":r.tempHost,name:s.name},null,8,["show","temp-host","name"])]}),_:1})}var mre=an(uie,[["render",pre],["__scopeId","data-v-9b7058f0"]]),gre="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAAiHSURBVHja7J3bUxNXHMczrY8d3/t/2KmddnzraKfTBx2nozitGWVGBm2HeimtddDKoI2U4SYygaGIgMrdFmPkokAiIRchaUJuxNxIAEMMyCXZW5LTp0zDkt1Nwu6yCefhN+PsnhPW89n9/c757dnvTwQAEEHbPYODAAFAANAgAAgAGgSQuRHWmvaI7ACIyA4AwlrTDgHwNfCOlgZk7JuFxOAnDBn7ZoFwtDRAAFwN/PxAOTp52kQeeLKhk6dNxPxAOQTAkkUDihJU99ME08BvA6H7aSIaUJRAAFla7L2tANNfk9MNMuFokuL2hha6Npj+mjz23lYAAWRguPlOF+2gGssHyH0ww/VBuj64+U4XBMAYYJsbkdEjQUq3ojk/FVu3U97NsXV7Aaou0lH1R0aPBAlHcyMEsC3A9lcgygI75cC9/HopujT6c9pxY2n0Z+Tl10uUv6cssBPz/RV7HkB0WXUB1RRraP28q6M6a7Bv7tfTBmpNsSa6rLqw5wDE1+dOYDOlI/Q+u6qTtZgyyxBTZkpH4utzJ/YEAHz2jx6mwYitGsWsz6pWjWJ0+so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LlhFKc38El0dMXT0cDAT3X7C0y1BRw8HYR2xLFagtJX0Xn1njoVmKBXZY6GZQvTVd2ZYSW+ngZqhliSuLx3Z1kfPVJcM1pLMbCGXRjVV3FbfitvqW2E1Va7z8LCesBACNayoLZBADWvKC+SleE37/5sCanLypQ/c0wMBQADQdtH+GwDm0Y5PPMfRSgAAAABJRU5ErkJggg==";const vre={name:"App",components:{HostCard:mre,HostForm:Qte,Setting:Fne},data(){return{socket:null,loading:!0,hostListStatus:[],updateHostData:null,hostFormVisible:!1,settingVisible:!1,hiddenIp:Number(localStorage.getItem("hiddenIp")||0)}},mounted(){this.getHostList()},beforeUnmount(){var t;(t=this.socket)!=null&&t.close&&this.socket.close()},methods:{handleLogout(){this.$store.clearJwtToken(),this.$message({type:"success",message:"\u5DF2\u5B89\u5168\u9000\u51FA",center:!0}),this.$router.push("/login")},async getHostList(){try{this.loading=!0,await this.$store.getHostList(),this.connectIo()}catch{this.loading=!1}},connectIo(){let t=_a(this.$serviceURI,{path:"/clients",forceNew:!0,reconnectionDelay:5e3,reconnectionAttempts:2});this.socket=t,t.on("connect",()=>{let e=5;this.loading=!1,console.log("clients websocket \u5DF2\u8FDE\u63A5: ",t.id);let n=this.$store.token;t.emit("init_clients_data",{token:n}),t.on("clients_data",i=>{e++%5===0&&this.$store.getHostPing(),this.hostListStatus=this.$store.hostList.map(r=>{const{host:s}=r;return i[s]===null?ze({},r):Object.assign({},r,i[s])})}),t.on("token_verify_fail",i=>{this.$notification({title:"\u9274\u6743\u5931\u8D25",message:i,type:"error"}),this.$router.push("/login")})}),t.on("disconnect",()=>{console.error("clients websocket \u8FDE\u63A5\u65AD\u5F00")}),t.on("connect_error",e=>{this.loading=!1,console.error("clients websocket \u8FDE\u63A5\u51FA\u9519: ",e)})},handleUpdateList(){this.socket.close&&this.socket.close(),this.getHostList()},handleUpdateHost(t){this.hostFormVisible=!0,this.updateHostData=t},handleHiddenIP(){this.hiddenIp=this.hiddenIp?0:1,localStorage.setItem("hiddenIp",String(this.hiddenIp))}}},xR=t=>(fc("data-v-1a2f50bc"),t=t(),Oc(),t),yre=xR(()=>U("div",{class:"logo-wrap"},[U("img",{src:gre,alt:"logo"}),U("h1",null,"EasyNode")],-1)),$re=Ee(" \u65B0\u589E\u670D\u52A1\u5668 "),bre=Ee(" \u529F\u80FD\u8BBE\u7F6E "),_re=Ee("\u5B89\u5168\u9000\u51FA"),Qre={"element-loading-background":"rgba(122, 122, 122, 0.58)"},Sre=xR(()=>U("footer",null,[U("span",null,[Ee("Release v1.2.1, Powered by "),U("a",{href:"https://github.com/chaos-zhu/easynode",target:"_blank"},"EasyNode")])],-1));function wre(t,e,n,i,r,s){const o=Tn,a=Pe("HostCard"),l=Pe("HostForm"),c=Pe("Setting"),u=yc;return L(),ie(Le,null,[U("header",null,[yre,U("div",null,[B(o,{type:"primary",onClick:e[0]||(e[0]=O=>r.hostFormVisible=!0)},{default:Y(()=>[$re]),_:1}),B(o,{type:"primary",onClick:e[1]||(e[1]=O=>r.settingVisible=!0)},{default:Y(()=>[bre]),_:1}),B(o,{type:"primary",onClick:s.handleHiddenIP},{default:Y(()=>[Ee(de(r.hiddenIp?"\u663E\u793AIP":"\u9690\u85CFIP"),1)]),_:1},8,["onClick"]),B(o,{type:"success",plain:"",onClick:s.handleLogout},{default:Y(()=>[_re]),_:1},8,["onClick"])])]),it((L(),ie("section",Qre,[(L(!0),ie(Le,null,Rt(r.hostListStatus,(O,f)=>(L(),be(a,{key:f,"host-info":O,"hidden-ip":r.hiddenIp,onUpdateList:s.handleUpdateList,onUpdateHost:s.handleUpdateHost},null,8,["host-info","hidden-ip","onUpdateList","onUpdateHost"]))),128))])),[[u,r.loading]]),Sre,B(l,{show:r.hostFormVisible,"onUpdate:show":e[2]||(e[2]=O=>r.hostFormVisible=O),"default-data":r.updateHostData,onUpdateList:s.handleUpdateList,onClosed:e[3]||(e[3]=O=>r.updateHostData=null)},null,8,["show","default-data","onUpdateList"]),B(c,{show:r.settingVisible,"onUpdate:show":e[4]||(e[4]=O=>r.settingVisible=O),onUpdateList:s.handleUpdateList},null,8,["show","onUpdateList"])],64)}var xre=an(vre,[["render",wre],["__scopeId","data-v-1a2f50bc"]]);const Pre={name:"App",data(){return{isSession:!0,visible:!0,notKey:!1,loading:!1,loginForm:{pwd:"",jwtExpires:8},rules:{pwd:{required:!0,message:"\u9700\u8F93\u5165\u5BC6\u7801",trigger:"change"}}}},async created(){localStorage.getItem("jwtExpires")&&(this.loginForm.jwtExpires=Number(localStorage.getItem("jwtExpires")));let{data:t}=await this.$api.getPubPem();if(!t)return this.notKey=!0;localStorage.setItem("publicKey",t)},methods:{handleLogin(){this.$refs["login-form"].validate().then(()=>{let{isSession:t,loginForm:{pwd:e,jwtExpires:n}}=this;t?n="12h":(localStorage.setItem("jwtExpires",n),n=`${n}h`);const i=id(e);if(i===-1)return this.$message.error({message:"\u516C\u94A5\u52A0\u8F7D\u5931\u8D25",center:!0});this.loading=!0,this.$api.login({ciphertext:i,jwtExpires:n}).then(({data:r,msg:s})=>{let{token:o}=r;this.$store.setJwtToken(o,t),this.$message.success({message:s||"success",center:!0}),this.$router.push("/")}).finally(()=>{this.loading=!1})})}}},kre={key:0,style:{color:"#f56c6c"}},Cre={key:1,style:{color:"#409eff"}},Tre={key:0},Rre={key:1},Are=Ee("\u4E00\u6B21\u6027\u4F1A\u8BDD"),Ere=Ee("\u81EA\u5B9A\u4E49(\u5C0F\u65F6)"),Xre={class:"dialog-footer"},Wre=Ee("\u767B\u5F55");function zre(t,e,n,i,r,s){const o=bf,a=si,l=vc,c=E2,u=EG,O=YZ,f=gc,h=Tn,p=Ba;return L(),be(p,{modelValue:r.visible,"onUpdate:modelValue":e[4]||(e[4]=y=>r.visible=y),width:"500px",top:"30vh","destroy-on-close":"","close-on-click-modal":!1,"close-on-press-escape":!1,"show-close":!1,center:""},{title:Y(()=>[r.notKey?(L(),ie("h2",kre," Error ")):(L(),ie("h2",Cre," LOGIN "))]),footer:Y(()=>[U("span",Xre,[B(h,{type:"primary",loading:r.loading,onClick:s.handleLogin},{default:Y(()=>[Wre]),_:1},8,["loading","onClick"])])]),default:Y(()=>[r.notKey?(L(),ie("div",Tre,[B(o,{title:"Error: \u7528\u4E8E\u52A0\u5BC6\u7684\u516C\u94A5\u83B7\u53D6\u5931\u8D25\uFF0C\u8BF7\u5C1D\u8BD5\u91CD\u65B0\u542F\u52A8\u6216\u90E8\u7F72\u670D\u52A1",type:"error","show-icon":""})])):(L(),ie("div",Rre,[B(f,{ref:"login-form",model:r.loginForm,rules:r.rules,"hide-required-asterisk":!0,"label-suffix":"\uFF1A","label-width":"90px"},{default:Y(()=>[B(l,{prop:"pwd",label:"\u5BC6\u7801"},{default:Y(()=>[B(a,{modelValue:r.loginForm.pwd,"onUpdate:modelValue":e[0]||(e[0]=y=>r.loginForm.pwd=y),modelModifiers:{trim:!0},type:"password",placeholder:"Please input password",autocomplete:"off","trigger-on-focus":!1,clearable:"","show-password":"",onKeyup:Qt(s.handleLogin,["enter"])},null,8,["modelValue","onKeyup"])]),_:1}),it(B(l,{prop:"pwd",label:"\u5BC6\u7801"},{default:Y(()=>[B(a,{modelValue:r.loginForm.pwd,"onUpdate:modelValue":e[1]||(e[1]=y=>r.loginForm.pwd=y),modelModifiers:{trim:!0}},null,8,["modelValue"])]),_:1},512),[[Lt,!1]]),B(l,{prop:"jwtExpires",label:"\u6709\u6548\u671F"},{default:Y(()=>[B(O,{modelValue:r.isSession,"onUpdate:modelValue":e[3]||(e[3]=y=>r.isSession=y),class:"login-indate"},{default:Y(()=>[B(c,{label:!0},{default:Y(()=>[Are]),_:1}),B(c,{label:!1},{default:Y(()=>[Ere]),_:1}),B(u,{modelValue:r.loginForm.jwtExpires,"onUpdate:modelValue":e[2]||(e[2]=y=>r.loginForm.jwtExpires=y),disabled:r.isSession,placeholder:"\u5355\u4F4D\uFF1A\u5C0F\u65F6",class:"input",min:1,max:72,"value-on-clear":"min",size:"small","controls-position":"right"},null,8,["modelValue","disabled"])]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])]))]),_:1},8,["modelValue"])}var Ire=an(Pre,[["render",zre],["__scopeId","data-v-14526bc4"]]);const qre={name:"InputCommand",props:{show:{required:!0,type:Boolean}},emits:["update:show","closed","input-command"],data(){return{command:""}},computed:{visible:{get(){return this.show},set(t){this.$emit("update:show",t)}}},methods:{handleSave(){this.$emit("input-command",this.command)}}},Ure=U("div",{class:"title"}," \u8F93\u5165\u591A\u884C\u547D\u4EE4\u53D1\u9001\u5230\u7EC8\u7AEF\u6267\u884C ",-1),Dre={class:"btns"},Lre=Ee("\u6267\u884C"),Bre=Ee("\u5173\u95ED");function Mre(t,e,n,i,r,s){const o=si,a=Tn,l=Ba;return L(),be(l,{modelValue:s.visible,"onUpdate:modelValue":e[2]||(e[2]=c=>s.visible=c),width:"800px",top:"20vh","close-on-click-modal":!1,"close-on-press-escape":!1,"show-close":!1,center:"","custom-class":"container"},{title:Y(()=>[Ure]),footer:Y(()=>[U("footer",null,[U("div",Dre,[B(a,{type:"primary",onClick:s.handleSave},{default:Y(()=>[Lre]),_:1},8,["onClick"]),B(a,{type:"info",onClick:e[1]||(e[1]=c=>s.visible=!1)},{default:Y(()=>[Bre]),_:1})])])]),default:Y(()=>[B(o,{modelValue:r.command,"onUpdate:modelValue":e[0]||(e[0]=c=>r.command=c),autosize:{minRows:10,maxRows:20},type:"textarea",placeholder:"Please input command"},null,8,["modelValue"])]),_:1},8,["modelValue"])}var PR=an(qre,[["render",Mre]]),kR={exports:{}};(function(t,e){(function(n,i){t.exports=i()})(self,function(){return(()=>{var n={4567:function(r,s,o){var a,l=this&&this.__extends||(a=function(m,d){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,v){g.__proto__=v}||function(g,v){for(var b in v)Object.prototype.hasOwnProperty.call(v,b)&&(g[b]=v[b])},a(m,d)},function(m,d){if(typeof d!="function"&&d!==null)throw new TypeError("Class extends value "+String(d)+" is not a constructor or null");function g(){this.constructor=m}a(m,d),m.prototype=d===null?Object.create(d):(g.prototype=d.prototype,new g)});Object.defineProperty(s,"__esModule",{value:!0}),s.AccessibilityManager=void 0;var c=o(9042),u=o(6114),O=o(9924),f=o(3656),h=o(844),p=o(5596),y=o(9631),$=function(m){function d(g,v){var b=m.call(this)||this;b._terminal=g,b._renderService=v,b._liveRegionLineCount=0,b._charsToConsume=[],b._charsToAnnounce="",b._accessibilityTreeRoot=document.createElement("div"),b._accessibilityTreeRoot.classList.add("xterm-accessibility"),b._accessibilityTreeRoot.tabIndex=0,b._rowContainer=document.createElement("div"),b._rowContainer.setAttribute("role","list"),b._rowContainer.classList.add("xterm-accessibility-tree"),b._rowElements=[];for(var _=0;_g;)this._rowContainer.removeChild(this._rowElements.pop());this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._refreshRowsDimensions()},d.prototype._createAccessibilityTreeNode=function(){var g=document.createElement("div");return g.setAttribute("role","listitem"),g.tabIndex=-1,this._refreshRowDimensions(g),g},d.prototype._onTab=function(g){for(var v=0;v0?this._charsToConsume.shift()!==g&&(this._charsToAnnounce+=g):this._charsToAnnounce+=g,g===` +`&&(this._liveRegionLineCount++,this._liveRegionLineCount===21&&(this._liveRegion.textContent+=c.tooMuchOutput)),u.isMac&&this._liveRegion.textContent&&this._liveRegion.textContent.length>0&&!this._liveRegion.parentNode&&setTimeout(function(){v._accessibilityTreeRoot.appendChild(v._liveRegion)},0))},d.prototype._clearLiveRegion=function(){this._liveRegion.textContent="",this._liveRegionLineCount=0,u.isMac&&(0,y.removeElementFromParent)(this._liveRegion)},d.prototype._onKey=function(g){this._clearLiveRegion(),this._charsToConsume.push(g)},d.prototype._refreshRows=function(g,v){this._renderRowsDebouncer.refresh(g,v,this._terminal.rows)},d.prototype._renderRows=function(g,v){for(var b=this._terminal.buffer,_=b.lines.length.toString(),Q=g;Q<=v;Q++){var S=b.translateBufferLineToString(b.ydisp+Q,!0),P=(b.ydisp+Q+1).toString(),w=this._rowElements[Q];w&&(S.length===0?w.innerText="\xA0":w.textContent=S,w.setAttribute("aria-posinset",P),w.setAttribute("aria-setsize",_))}this._announceCharacters()},d.prototype._refreshRowsDimensions=function(){if(this._renderService.dimensions.actualCellHeight){this._rowElements.length!==this._terminal.rows&&this._onResize(this._terminal.rows);for(var g=0;g{function o(u){return u.replace(/\r?\n/g,"\r")}function a(u,O){return O?"\x1B[200~"+u+"\x1B[201~":u}function l(u,O,f){u=a(u=o(u),f.decPrivateModes.bracketedPasteMode),f.triggerDataEvent(u,!0),O.value=""}function c(u,O,f){var h=f.getBoundingClientRect(),p=u.clientX-h.left-10,y=u.clientY-h.top-10;O.style.width="20px",O.style.height="20px",O.style.left=p+"px",O.style.top=y+"px",O.style.zIndex="1000",O.focus()}Object.defineProperty(s,"__esModule",{value:!0}),s.rightClickHandler=s.moveTextAreaUnderMouseCursor=s.paste=s.handlePasteEvent=s.copyHandler=s.bracketTextForPaste=s.prepareTextForTerminal=void 0,s.prepareTextForTerminal=o,s.bracketTextForPaste=a,s.copyHandler=function(u,O){u.clipboardData&&u.clipboardData.setData("text/plain",O.selectionText),u.preventDefault()},s.handlePasteEvent=function(u,O,f){u.stopPropagation(),u.clipboardData&&l(u.clipboardData.getData("text/plain"),O,f)},s.paste=l,s.moveTextAreaUnderMouseCursor=c,s.rightClickHandler=function(u,O,f,h,p){c(u,O,f),p&&h.rightClickSelect(u),O.value=h.selectionText,O.select()}},7239:(r,s)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.ColorContrastCache=void 0;var o=function(){function a(){this._color={},this._rgba={}}return a.prototype.clear=function(){this._color={},this._rgba={}},a.prototype.setCss=function(l,c,u){this._rgba[l]||(this._rgba[l]={}),this._rgba[l][c]=u},a.prototype.getCss=function(l,c){return this._rgba[l]?this._rgba[l][c]:void 0},a.prototype.setColor=function(l,c,u){this._color[l]||(this._color[l]={}),this._color[l][c]=u},a.prototype.getColor=function(l,c){return this._color[l]?this._color[l][c]:void 0},a}();s.ColorContrastCache=o},5680:function(r,s,o){var a=this&&this.__read||function($,m){var d=typeof Symbol=="function"&&$[Symbol.iterator];if(!d)return $;var g,v,b=d.call($),_=[];try{for(;(m===void 0||m-- >0)&&!(g=b.next()).done;)_.push(g.value)}catch(Q){v={error:Q}}finally{try{g&&!g.done&&(d=b.return)&&d.call(b)}finally{if(v)throw v.error}}return _};Object.defineProperty(s,"__esModule",{value:!0}),s.ColorManager=s.DEFAULT_ANSI_COLORS=void 0;var l=o(8055),c=o(7239),u=l.css.toColor("#ffffff"),O=l.css.toColor("#000000"),f=l.css.toColor("#ffffff"),h=l.css.toColor("#000000"),p={css:"rgba(255, 255, 255, 0.3)",rgba:4294967117};s.DEFAULT_ANSI_COLORS=Object.freeze(function(){for(var $=[l.css.toColor("#2e3436"),l.css.toColor("#cc0000"),l.css.toColor("#4e9a06"),l.css.toColor("#c4a000"),l.css.toColor("#3465a4"),l.css.toColor("#75507b"),l.css.toColor("#06989a"),l.css.toColor("#d3d7cf"),l.css.toColor("#555753"),l.css.toColor("#ef2929"),l.css.toColor("#8ae234"),l.css.toColor("#fce94f"),l.css.toColor("#729fcf"),l.css.toColor("#ad7fa8"),l.css.toColor("#34e2e2"),l.css.toColor("#eeeeec")],m=[0,95,135,175,215,255],d=0;d<216;d++){var g=m[d/36%6|0],v=m[d/6%6|0],b=m[d%6];$.push({css:l.channels.toCss(g,v,b),rgba:l.channels.toRgba(g,v,b)})}for(d=0;d<24;d++){var _=8+10*d;$.push({css:l.channels.toCss(_,_,_),rgba:l.channels.toRgba(_,_,_)})}return $}());var y=function(){function $(m,d){this.allowTransparency=d;var g=m.createElement("canvas");g.width=1,g.height=1;var v=g.getContext("2d");if(!v)throw new Error("Could not get rendering context");this._ctx=v,this._ctx.globalCompositeOperation="copy",this._litmusColor=this._ctx.createLinearGradient(0,0,1,1),this._contrastCache=new c.ColorContrastCache,this.colors={foreground:u,background:O,cursor:f,cursorAccent:h,selectionTransparent:p,selectionOpaque:l.color.blend(O,p),selectionForeground:void 0,ansi:s.DEFAULT_ANSI_COLORS.slice(),contrastCache:this._contrastCache},this._updateRestoreColors()}return $.prototype.onOptionsChange=function(m){m==="minimumContrastRatio"&&this._contrastCache.clear()},$.prototype.setTheme=function(m){m===void 0&&(m={}),this.colors.foreground=this._parseColor(m.foreground,u),this.colors.background=this._parseColor(m.background,O),this.colors.cursor=this._parseColor(m.cursor,f,!0),this.colors.cursorAccent=this._parseColor(m.cursorAccent,h,!0),this.colors.selectionTransparent=this._parseColor(m.selection,p,!0),this.colors.selectionOpaque=l.color.blend(this.colors.background,this.colors.selectionTransparent);var d={css:"",rgba:0};this.colors.selectionForeground=m.selectionForeground?this._parseColor(m.selectionForeground,d):void 0,this.colors.selectionForeground===d&&(this.colors.selectionForeground=void 0),l.color.isOpaque(this.colors.selectionTransparent)&&(this.colors.selectionTransparent=l.color.opacity(this.colors.selectionTransparent,.3)),this.colors.ansi[0]=this._parseColor(m.black,s.DEFAULT_ANSI_COLORS[0]),this.colors.ansi[1]=this._parseColor(m.red,s.DEFAULT_ANSI_COLORS[1]),this.colors.ansi[2]=this._parseColor(m.green,s.DEFAULT_ANSI_COLORS[2]),this.colors.ansi[3]=this._parseColor(m.yellow,s.DEFAULT_ANSI_COLORS[3]),this.colors.ansi[4]=this._parseColor(m.blue,s.DEFAULT_ANSI_COLORS[4]),this.colors.ansi[5]=this._parseColor(m.magenta,s.DEFAULT_ANSI_COLORS[5]),this.colors.ansi[6]=this._parseColor(m.cyan,s.DEFAULT_ANSI_COLORS[6]),this.colors.ansi[7]=this._parseColor(m.white,s.DEFAULT_ANSI_COLORS[7]),this.colors.ansi[8]=this._parseColor(m.brightBlack,s.DEFAULT_ANSI_COLORS[8]),this.colors.ansi[9]=this._parseColor(m.brightRed,s.DEFAULT_ANSI_COLORS[9]),this.colors.ansi[10]=this._parseColor(m.brightGreen,s.DEFAULT_ANSI_COLORS[10]),this.colors.ansi[11]=this._parseColor(m.brightYellow,s.DEFAULT_ANSI_COLORS[11]),this.colors.ansi[12]=this._parseColor(m.brightBlue,s.DEFAULT_ANSI_COLORS[12]),this.colors.ansi[13]=this._parseColor(m.brightMagenta,s.DEFAULT_ANSI_COLORS[13]),this.colors.ansi[14]=this._parseColor(m.brightCyan,s.DEFAULT_ANSI_COLORS[14]),this.colors.ansi[15]=this._parseColor(m.brightWhite,s.DEFAULT_ANSI_COLORS[15]),this._contrastCache.clear(),this._updateRestoreColors()},$.prototype.restoreColor=function(m){if(m!==void 0)switch(m){case 256:this.colors.foreground=this._restoreColors.foreground;break;case 257:this.colors.background=this._restoreColors.background;break;case 258:this.colors.cursor=this._restoreColors.cursor;break;default:this.colors.ansi[m]=this._restoreColors.ansi[m]}else for(var d=0;d=a.length&&(a=void 0),{value:a&&a[u++],done:!a}}};throw new TypeError(l?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(s,"__esModule",{value:!0}),s.removeElementFromParent=void 0,s.removeElementFromParent=function(){for(var a,l,c,u=[],O=0;O{Object.defineProperty(s,"__esModule",{value:!0}),s.addDisposableDomListener=void 0,s.addDisposableDomListener=function(o,a,l,c){o.addEventListener(a,l,c);var u=!1;return{dispose:function(){u||(u=!0,o.removeEventListener(a,l,c))}}}},3551:function(r,s,o){var a=this&&this.__decorate||function(h,p,y,$){var m,d=arguments.length,g=d<3?p:$===null?$=Object.getOwnPropertyDescriptor(p,y):$;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")g=Reflect.decorate(h,p,y,$);else for(var v=h.length-1;v>=0;v--)(m=h[v])&&(g=(d<3?m(g):d>3?m(p,y,g):m(p,y))||g);return d>3&&g&&Object.defineProperty(p,y,g),g},l=this&&this.__param||function(h,p){return function(y,$){p(y,$,h)}};Object.defineProperty(s,"__esModule",{value:!0}),s.MouseZone=s.Linkifier=void 0;var c=o(8460),u=o(2585),O=function(){function h(p,y,$){this._bufferService=p,this._logService=y,this._unicodeService=$,this._linkMatchers=[],this._nextLinkMatcherId=0,this._onShowLinkUnderline=new c.EventEmitter,this._onHideLinkUnderline=new c.EventEmitter,this._onLinkTooltip=new c.EventEmitter,this._rowsToLinkify={start:void 0,end:void 0}}return Object.defineProperty(h.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"onLinkTooltip",{get:function(){return this._onLinkTooltip.event},enumerable:!1,configurable:!0}),h.prototype.attachToDom=function(p,y){this._element=p,this._mouseZoneManager=y},h.prototype.linkifyRows=function(p,y){var $=this;this._mouseZoneManager&&(this._rowsToLinkify.start===void 0||this._rowsToLinkify.end===void 0?(this._rowsToLinkify.start=p,this._rowsToLinkify.end=y):(this._rowsToLinkify.start=Math.min(this._rowsToLinkify.start,p),this._rowsToLinkify.end=Math.max(this._rowsToLinkify.end,y)),this._mouseZoneManager.clearAll(p,y),this._rowsTimeoutId&&clearTimeout(this._rowsTimeoutId),this._rowsTimeoutId=setTimeout(function(){return $._linkifyRows()},h._timeBeforeLatency))},h.prototype._linkifyRows=function(){this._rowsTimeoutId=void 0;var p=this._bufferService.buffer;if(this._rowsToLinkify.start!==void 0&&this._rowsToLinkify.end!==void 0){var y=p.ydisp+this._rowsToLinkify.start;if(!(y>=p.lines.length)){for(var $=p.ydisp+Math.min(this._rowsToLinkify.end,this._bufferService.rows)+1,m=Math.ceil(2e3/this._bufferService.cols),d=this._bufferService.buffer.iterator(!1,y,$,m,m);d.hasNext();)for(var g=d.next(),v=0;v=0;y--)if(p.priority<=this._linkMatchers[y].priority)return void this._linkMatchers.splice(y+1,0,p);this._linkMatchers.splice(0,0,p)}else this._linkMatchers.push(p)},h.prototype.deregisterLinkMatcher=function(p){for(var y=0;y>9&511:void 0;$.validationCallback?$.validationCallback(Q,function(k){d._rowsTimeoutId||k&&d._addLink(S[1],S[0]-d._bufferService.buffer.ydisp,Q,$,x)}):_._addLink(S[1],S[0]-_._bufferService.buffer.ydisp,Q,$,x)},_=this;(m=g.exec(y))!==null&&b()!=="break";);},h.prototype._addLink=function(p,y,$,m,d){var g=this;if(this._mouseZoneManager&&this._element){var v=this._unicodeService.getStringCellWidth($),b=p%this._bufferService.cols,_=y+Math.floor(p/this._bufferService.cols),Q=(b+v)%this._bufferService.cols,S=_+Math.floor((b+v)/this._bufferService.cols);Q===0&&(Q=this._bufferService.cols,S--),this._mouseZoneManager.add(new f(b+1,_+1,Q+1,S+1,function(P){if(m.handler)return m.handler(P,$);var w=window.open();w?(w.opener=null,w.location.href=$):console.warn("Opening link blocked as opener could not be cleared")},function(){g._onShowLinkUnderline.fire(g._createLinkHoverEvent(b,_,Q,S,d)),g._element.classList.add("xterm-cursor-pointer")},function(P){g._onLinkTooltip.fire(g._createLinkHoverEvent(b,_,Q,S,d)),m.hoverTooltipCallback&&m.hoverTooltipCallback(P,$,{start:{x:b,y:_},end:{x:Q,y:S}})},function(){g._onHideLinkUnderline.fire(g._createLinkHoverEvent(b,_,Q,S,d)),g._element.classList.remove("xterm-cursor-pointer"),m.hoverLeaveCallback&&m.hoverLeaveCallback()},function(P){return!m.willLinkActivate||m.willLinkActivate(P,$)}))}},h.prototype._createLinkHoverEvent=function(p,y,$,m,d){return{x1:p,y1:y,x2:$,y2:m,cols:this._bufferService.cols,fg:d}},h._timeBeforeLatency=200,h=a([l(0,u.IBufferService),l(1,u.ILogService),l(2,u.IUnicodeService)],h)}();s.Linkifier=O;var f=function(h,p,y,$,m,d,g,v,b){this.x1=h,this.y1=p,this.x2=y,this.y2=$,this.clickCallback=m,this.hoverCallback=d,this.tooltipCallback=g,this.leaveCallback=v,this.willLinkActivate=b};s.MouseZone=f},6465:function(r,s,o){var a,l=this&&this.__extends||(a=function(d,g){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(v,b){v.__proto__=b}||function(v,b){for(var _ in b)Object.prototype.hasOwnProperty.call(b,_)&&(v[_]=b[_])},a(d,g)},function(d,g){if(typeof g!="function"&&g!==null)throw new TypeError("Class extends value "+String(g)+" is not a constructor or null");function v(){this.constructor=d}a(d,g),d.prototype=g===null?Object.create(g):(v.prototype=g.prototype,new v)}),c=this&&this.__decorate||function(d,g,v,b){var _,Q=arguments.length,S=Q<3?g:b===null?b=Object.getOwnPropertyDescriptor(g,v):b;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")S=Reflect.decorate(d,g,v,b);else for(var P=d.length-1;P>=0;P--)(_=d[P])&&(S=(Q<3?_(S):Q>3?_(g,v,S):_(g,v))||S);return Q>3&&S&&Object.defineProperty(g,v,S),S},u=this&&this.__param||function(d,g){return function(v,b){g(v,b,d)}},O=this&&this.__values||function(d){var g=typeof Symbol=="function"&&Symbol.iterator,v=g&&d[g],b=0;if(v)return v.call(d);if(d&&typeof d.length=="number")return{next:function(){return d&&b>=d.length&&(d=void 0),{value:d&&d[b++],done:!d}}};throw new TypeError(g?"Object is not iterable.":"Symbol.iterator is not defined.")},f=this&&this.__read||function(d,g){var v=typeof Symbol=="function"&&d[Symbol.iterator];if(!v)return d;var b,_,Q=v.call(d),S=[];try{for(;(g===void 0||g-- >0)&&!(b=Q.next()).done;)S.push(b.value)}catch(P){_={error:P}}finally{try{b&&!b.done&&(v=Q.return)&&v.call(Q)}finally{if(_)throw _.error}}return S};Object.defineProperty(s,"__esModule",{value:!0}),s.Linkifier2=void 0;var h=o(2585),p=o(8460),y=o(844),$=o(3656),m=function(d){function g(v){var b=d.call(this)||this;return b._bufferService=v,b._linkProviders=[],b._linkCacheDisposables=[],b._isMouseOut=!0,b._activeLine=-1,b._onShowLinkUnderline=b.register(new p.EventEmitter),b._onHideLinkUnderline=b.register(new p.EventEmitter),b.register((0,y.getDisposeArrayDisposable)(b._linkCacheDisposables)),b}return l(g,d),Object.defineProperty(g.prototype,"currentLink",{get:function(){return this._currentLink},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),g.prototype.registerLinkProvider=function(v){var b=this;return this._linkProviders.push(v),{dispose:function(){var _=b._linkProviders.indexOf(v);_!==-1&&b._linkProviders.splice(_,1)}}},g.prototype.attachToDom=function(v,b,_){var Q=this;this._element=v,this._mouseService=b,this._renderService=_,this.register((0,$.addDisposableDomListener)(this._element,"mouseleave",function(){Q._isMouseOut=!0,Q._clearCurrentLink()})),this.register((0,$.addDisposableDomListener)(this._element,"mousemove",this._onMouseMove.bind(this))),this.register((0,$.addDisposableDomListener)(this._element,"mousedown",this._handleMouseDown.bind(this))),this.register((0,$.addDisposableDomListener)(this._element,"mouseup",this._handleMouseUp.bind(this)))},g.prototype._onMouseMove=function(v){if(this._lastMouseEvent=v,this._element&&this._mouseService){var b=this._positionFromMouseEvent(v,this._element,this._mouseService);if(b){this._isMouseOut=!1;for(var _=v.composedPath(),Q=0;Q<_.length;Q++){var S=_[Q];if(S.classList.contains("xterm"))break;if(S.classList.contains("xterm-hover"))return}this._lastBufferCell&&b.x===this._lastBufferCell.x&&b.y===this._lastBufferCell.y||(this._onHover(b),this._lastBufferCell=b)}}},g.prototype._onHover=function(v){if(this._activeLine!==v.y)return this._clearCurrentLink(),void this._askForLink(v,!1);this._currentLink&&this._linkAtPosition(this._currentLink.link,v)||(this._clearCurrentLink(),this._askForLink(v,!0))},g.prototype._askForLink=function(v,b){var _,Q,S,P,w=this;this._activeProviderReplies&&b||((S=this._activeProviderReplies)===null||S===void 0||S.forEach(function(R){R==null||R.forEach(function(X){X.link.dispose&&X.link.dispose()})}),this._activeProviderReplies=new Map,this._activeLine=v.y);var x=!1,k=function(R,X){b?!((P=C._activeProviderReplies)===null||P===void 0)&&P.get(R)&&(x=C._checkLinkProviderResult(R,v,x)):X.provideLinks(v.y,function(D){var V,j;if(!w._isMouseOut){var Z=D==null?void 0:D.map(function(ee){return{link:ee}});(V=w._activeProviderReplies)===null||V===void 0||V.set(R,Z),x=w._checkLinkProviderResult(R,v,x),((j=w._activeProviderReplies)===null||j===void 0?void 0:j.size)===w._linkProviders.length&&w._removeIntersectingLinks(v.y,w._activeProviderReplies)}})},C=this;try{for(var T=O(this._linkProviders.entries()),E=T.next();!E.done;E=T.next()){var A=f(E.value,2);k(A[0],A[1])}}catch(R){_={error:R}}finally{try{E&&!E.done&&(Q=T.return)&&Q.call(T)}finally{if(_)throw _.error}}},g.prototype._removeIntersectingLinks=function(v,b){for(var _=new Set,Q=0;Qv?this._bufferService.cols:w.link.range.end.x,C=x;C<=k;C++){if(_.has(C)){S.splice(P--,1);break}_.add(C)}}},g.prototype._checkLinkProviderResult=function(v,b,_){var Q,S=this;if(!this._activeProviderReplies)return _;for(var P=this._activeProviderReplies.get(v),w=!1,x=0;x=v&&this._currentLink.link.range.end.y<=b)&&(this._linkLeave(this._element,this._currentLink.link,this._lastMouseEvent),this._currentLink=void 0,(0,y.disposeArray)(this._linkCacheDisposables))},g.prototype._handleNewLink=function(v){var b=this;if(this._element&&this._lastMouseEvent&&this._mouseService){var _=this._positionFromMouseEvent(this._lastMouseEvent,this._element,this._mouseService);_&&this._linkAtPosition(v.link,_)&&(this._currentLink=v,this._currentLink.state={decorations:{underline:v.link.decorations===void 0||v.link.decorations.underline,pointerCursor:v.link.decorations===void 0||v.link.decorations.pointerCursor},isHovered:!0},this._linkHover(this._element,v.link,this._lastMouseEvent),v.link.decorations={},Object.defineProperties(v.link.decorations,{pointerCursor:{get:function(){var Q,S;return(S=(Q=b._currentLink)===null||Q===void 0?void 0:Q.state)===null||S===void 0?void 0:S.decorations.pointerCursor},set:function(Q){var S,P;((S=b._currentLink)===null||S===void 0?void 0:S.state)&&b._currentLink.state.decorations.pointerCursor!==Q&&(b._currentLink.state.decorations.pointerCursor=Q,b._currentLink.state.isHovered&&((P=b._element)===null||P===void 0||P.classList.toggle("xterm-cursor-pointer",Q)))}},underline:{get:function(){var Q,S;return(S=(Q=b._currentLink)===null||Q===void 0?void 0:Q.state)===null||S===void 0?void 0:S.decorations.underline},set:function(Q){var S,P,w;((S=b._currentLink)===null||S===void 0?void 0:S.state)&&((w=(P=b._currentLink)===null||P===void 0?void 0:P.state)===null||w===void 0?void 0:w.decorations.underline)!==Q&&(b._currentLink.state.decorations.underline=Q,b._currentLink.state.isHovered&&b._fireUnderlineEvent(v.link,Q))}}}),this._renderService&&this._linkCacheDisposables.push(this._renderService.onRenderedViewportChange(function(Q){var S=Q.start===0?0:Q.start+1+b._bufferService.buffer.ydisp;b._clearCurrentLink(S,Q.end+1+b._bufferService.buffer.ydisp)})))}},g.prototype._linkHover=function(v,b,_){var Q;!((Q=this._currentLink)===null||Q===void 0)&&Q.state&&(this._currentLink.state.isHovered=!0,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(b,!0),this._currentLink.state.decorations.pointerCursor&&v.classList.add("xterm-cursor-pointer")),b.hover&&b.hover(_,b.text)},g.prototype._fireUnderlineEvent=function(v,b){var _=v.range,Q=this._bufferService.buffer.ydisp,S=this._createLinkUnderlineEvent(_.start.x-1,_.start.y-Q-1,_.end.x,_.end.y-Q-1,void 0);(b?this._onShowLinkUnderline:this._onHideLinkUnderline).fire(S)},g.prototype._linkLeave=function(v,b,_){var Q;!((Q=this._currentLink)===null||Q===void 0)&&Q.state&&(this._currentLink.state.isHovered=!1,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(b,!1),this._currentLink.state.decorations.pointerCursor&&v.classList.remove("xterm-cursor-pointer")),b.leave&&b.leave(_,b.text)},g.prototype._linkAtPosition=function(v,b){var _=v.range.start.y===v.range.end.y,Q=v.range.start.yb.y;return(_&&v.range.start.x<=b.x&&v.range.end.x>=b.x||Q&&v.range.end.x>=b.x||S&&v.range.start.x<=b.x||Q&&S)&&v.range.start.y<=b.y&&v.range.end.y>=b.y},g.prototype._positionFromMouseEvent=function(v,b,_){var Q=_.getCoords(v,b,this._bufferService.cols,this._bufferService.rows);if(Q)return{x:Q[0],y:Q[1]+this._bufferService.buffer.ydisp}},g.prototype._createLinkUnderlineEvent=function(v,b,_,Q,S){return{x1:v,y1:b,x2:_,y2:Q,cols:this._bufferService.cols,fg:S}},c([u(0,h.IBufferService)],g)}(y.Disposable);s.Linkifier2=m},9042:(r,s)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.tooMuchOutput=s.promptLabel=void 0,s.promptLabel="Terminal input",s.tooMuchOutput="Too much output to announce, navigate to rows manually to read"},6954:function(r,s,o){var a,l=this&&this.__extends||(a=function($,m){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,g){d.__proto__=g}||function(d,g){for(var v in g)Object.prototype.hasOwnProperty.call(g,v)&&(d[v]=g[v])},a($,m)},function($,m){if(typeof m!="function"&&m!==null)throw new TypeError("Class extends value "+String(m)+" is not a constructor or null");function d(){this.constructor=$}a($,m),$.prototype=m===null?Object.create(m):(d.prototype=m.prototype,new d)}),c=this&&this.__decorate||function($,m,d,g){var v,b=arguments.length,_=b<3?m:g===null?g=Object.getOwnPropertyDescriptor(m,d):g;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")_=Reflect.decorate($,m,d,g);else for(var Q=$.length-1;Q>=0;Q--)(v=$[Q])&&(_=(b<3?v(_):b>3?v(m,d,_):v(m,d))||_);return b>3&&_&&Object.defineProperty(m,d,_),_},u=this&&this.__param||function($,m){return function(d,g){m(d,g,$)}};Object.defineProperty(s,"__esModule",{value:!0}),s.MouseZoneManager=void 0;var O=o(844),f=o(3656),h=o(4725),p=o(2585),y=function($){function m(d,g,v,b,_,Q){var S=$.call(this)||this;return S._element=d,S._screenElement=g,S._bufferService=v,S._mouseService=b,S._selectionService=_,S._optionsService=Q,S._zones=[],S._areZonesActive=!1,S._lastHoverCoords=[void 0,void 0],S._initialSelectionLength=0,S.register((0,f.addDisposableDomListener)(S._element,"mousedown",function(P){return S._onMouseDown(P)})),S._mouseMoveListener=function(P){return S._onMouseMove(P)},S._mouseLeaveListener=function(P){return S._onMouseLeave(P)},S._clickListener=function(P){return S._onClick(P)},S}return l(m,$),m.prototype.dispose=function(){$.prototype.dispose.call(this),this._deactivate()},m.prototype.add=function(d){this._zones.push(d),this._zones.length===1&&this._activate()},m.prototype.clearAll=function(d,g){if(this._zones.length!==0){d&&g||(d=0,g=this._bufferService.rows-1);for(var v=0;vd&&b.y1<=g+1||b.y2>d&&b.y2<=g+1||b.y1g+1)&&(this._currentZone&&this._currentZone===b&&(this._currentZone.leaveCallback(),this._currentZone=void 0),this._zones.splice(v--,1))}this._zones.length===0&&this._deactivate()}},m.prototype._activate=function(){this._areZonesActive||(this._areZonesActive=!0,this._element.addEventListener("mousemove",this._mouseMoveListener),this._element.addEventListener("mouseleave",this._mouseLeaveListener),this._element.addEventListener("click",this._clickListener))},m.prototype._deactivate=function(){this._areZonesActive&&(this._areZonesActive=!1,this._element.removeEventListener("mousemove",this._mouseMoveListener),this._element.removeEventListener("mouseleave",this._mouseLeaveListener),this._element.removeEventListener("click",this._clickListener))},m.prototype._onMouseMove=function(d){this._lastHoverCoords[0]===d.pageX&&this._lastHoverCoords[1]===d.pageY||(this._onHover(d),this._lastHoverCoords=[d.pageX,d.pageY])},m.prototype._onHover=function(d){var g=this,v=this._findZoneEventAt(d);v!==this._currentZone&&(this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout)),v&&(this._currentZone=v,v.hoverCallback&&v.hoverCallback(d),this._tooltipTimeout=window.setTimeout(function(){return g._onTooltip(d)},this._optionsService.rawOptions.linkTooltipHoverDuration)))},m.prototype._onTooltip=function(d){this._tooltipTimeout=void 0;var g=this._findZoneEventAt(d);g==null||g.tooltipCallback(d)},m.prototype._onMouseDown=function(d){if(this._initialSelectionLength=this._getSelectionLength(),this._areZonesActive){var g=this._findZoneEventAt(d);g!=null&&g.willLinkActivate(d)&&(d.preventDefault(),d.stopImmediatePropagation())}},m.prototype._onMouseLeave=function(d){this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout))},m.prototype._onClick=function(d){var g=this._findZoneEventAt(d),v=this._getSelectionLength();g&&v===this._initialSelectionLength&&(g.clickCallback(d),d.preventDefault(),d.stopImmediatePropagation())},m.prototype._getSelectionLength=function(){var d=this._selectionService.selectionText;return d?d.length:0},m.prototype._findZoneEventAt=function(d){var g=this._mouseService.getCoords(d,this._screenElement,this._bufferService.cols,this._bufferService.rows);if(g)for(var v=g[0],b=g[1],_=0;_=Q.x1&&v=Q.x1||b===Q.y2&&vQ.y1&&b=l.length&&(l=void 0),{value:l&&l[O++],done:!l}}};throw new TypeError(c?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(s,"__esModule",{value:!0}),s.RenderDebouncer=void 0;var a=function(){function l(c){this._renderCallback=c,this._refreshCallbacks=[]}return l.prototype.dispose=function(){this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},l.prototype.addRefreshCallback=function(c){var u=this;return this._refreshCallbacks.push(c),this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){return u._innerRefresh()})),this._animationFrame},l.prototype.refresh=function(c,u,O){var f=this;this._rowCount=O,c=c!==void 0?c:0,u=u!==void 0?u:this._rowCount-1,this._rowStart=this._rowStart!==void 0?Math.min(this._rowStart,c):c,this._rowEnd=this._rowEnd!==void 0?Math.max(this._rowEnd,u):u,this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){return f._innerRefresh()}))},l.prototype._innerRefresh=function(){if(this._animationFrame=void 0,this._rowStart!==void 0&&this._rowEnd!==void 0&&this._rowCount!==void 0){var c=Math.max(this._rowStart,0),u=Math.min(this._rowEnd,this._rowCount-1);this._rowStart=void 0,this._rowEnd=void 0,this._renderCallback(c,u),this._runRefreshCallbacks()}else this._runRefreshCallbacks()},l.prototype._runRefreshCallbacks=function(){var c,u;try{for(var O=o(this._refreshCallbacks),f=O.next();!f.done;f=O.next())(0,f.value)(0)}catch(h){c={error:h}}finally{try{f&&!f.done&&(u=O.return)&&u.call(O)}finally{if(c)throw c.error}}this._refreshCallbacks=[]},l}();s.RenderDebouncer=a},5596:function(r,s,o){var a,l=this&&this.__extends||(a=function(u,O){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,h){f.__proto__=h}||function(f,h){for(var p in h)Object.prototype.hasOwnProperty.call(h,p)&&(f[p]=h[p])},a(u,O)},function(u,O){if(typeof O!="function"&&O!==null)throw new TypeError("Class extends value "+String(O)+" is not a constructor or null");function f(){this.constructor=u}a(u,O),u.prototype=O===null?Object.create(O):(f.prototype=O.prototype,new f)});Object.defineProperty(s,"__esModule",{value:!0}),s.ScreenDprMonitor=void 0;var c=function(u){function O(){var f=u!==null&&u.apply(this,arguments)||this;return f._currentDevicePixelRatio=window.devicePixelRatio,f}return l(O,u),O.prototype.setListener=function(f){var h=this;this._listener&&this.clearListener(),this._listener=f,this._outerListener=function(){h._listener&&(h._listener(window.devicePixelRatio,h._currentDevicePixelRatio),h._updateDpr())},this._updateDpr()},O.prototype.dispose=function(){u.prototype.dispose.call(this),this.clearListener()},O.prototype._updateDpr=function(){var f;this._outerListener&&((f=this._resolutionMediaMatchList)===null||f===void 0||f.removeListener(this._outerListener),this._currentDevicePixelRatio=window.devicePixelRatio,this._resolutionMediaMatchList=window.matchMedia("screen and (resolution: "+window.devicePixelRatio+"dppx)"),this._resolutionMediaMatchList.addListener(this._outerListener))},O.prototype.clearListener=function(){this._resolutionMediaMatchList&&this._listener&&this._outerListener&&(this._resolutionMediaMatchList.removeListener(this._outerListener),this._resolutionMediaMatchList=void 0,this._listener=void 0,this._outerListener=void 0)},O}(o(844).Disposable);s.ScreenDprMonitor=c},3236:function(r,s,o){var a,l=this&&this.__extends||(a=function(_e,ue){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(W,q){W.__proto__=q}||function(W,q){for(var F in q)Object.prototype.hasOwnProperty.call(q,F)&&(W[F]=q[F])},a(_e,ue)},function(_e,ue){if(typeof ue!="function"&&ue!==null)throw new TypeError("Class extends value "+String(ue)+" is not a constructor or null");function W(){this.constructor=_e}a(_e,ue),_e.prototype=ue===null?Object.create(ue):(W.prototype=ue.prototype,new W)}),c=this&&this.__values||function(_e){var ue=typeof Symbol=="function"&&Symbol.iterator,W=ue&&_e[ue],q=0;if(W)return W.call(_e);if(_e&&typeof _e.length=="number")return{next:function(){return _e&&q>=_e.length&&(_e=void 0),{value:_e&&_e[q++],done:!_e}}};throw new TypeError(ue?"Object is not iterable.":"Symbol.iterator is not defined.")},u=this&&this.__read||function(_e,ue){var W=typeof Symbol=="function"&&_e[Symbol.iterator];if(!W)return _e;var q,F,fe=W.call(_e),he=[];try{for(;(ue===void 0||ue-- >0)&&!(q=fe.next()).done;)he.push(q.value)}catch(ve){F={error:ve}}finally{try{q&&!q.done&&(W=fe.return)&&W.call(fe)}finally{if(F)throw F.error}}return he},O=this&&this.__spreadArray||function(_e,ue,W){if(W||arguments.length===2)for(var q,F=0,fe=ue.length;F4)&&q.coreMouseService.triggerMouseEvent({col:ge.x-33,row:ge.y-33,button:ce,action:K,ctrl:oe.ctrlKey,alt:oe.altKey,shift:oe.shiftKey})}var he={mouseup:null,wheel:null,mousedrag:null,mousemove:null},ve=function(oe){return fe(oe),oe.buttons||(W._document.removeEventListener("mouseup",he.mouseup),he.mousedrag&&W._document.removeEventListener("mousemove",he.mousedrag)),W.cancel(oe)},xe=function(oe){return fe(oe),W.cancel(oe,!0)},me=function(oe){oe.buttons&&fe(oe)},le=function(oe){oe.buttons||fe(oe)};this.register(this.coreMouseService.onProtocolChange(function(oe){oe?(W.optionsService.rawOptions.logLevel==="debug"&&W._logService.debug("Binding to mouse events:",W.coreMouseService.explainEvents(oe)),W.element.classList.add("enable-mouse-events"),W._selectionService.disable()):(W._logService.debug("Unbinding from mouse events."),W.element.classList.remove("enable-mouse-events"),W._selectionService.enable()),8&oe?he.mousemove||(F.addEventListener("mousemove",le),he.mousemove=le):(F.removeEventListener("mousemove",he.mousemove),he.mousemove=null),16&oe?he.wheel||(F.addEventListener("wheel",xe,{passive:!1}),he.wheel=xe):(F.removeEventListener("wheel",he.wheel),he.wheel=null),2&oe?he.mouseup||(he.mouseup=ve):(W._document.removeEventListener("mouseup",he.mouseup),he.mouseup=null),4&oe?he.mousedrag||(he.mousedrag=me):(W._document.removeEventListener("mousemove",he.mousedrag),he.mousedrag=null)})),this.coreMouseService.activeProtocol=this.coreMouseService.activeProtocol,this.register((0,b.addDisposableDomListener)(F,"mousedown",function(oe){if(oe.preventDefault(),W.focus(),W.coreMouseService.areMouseEventsActive&&!W._selectionService.shouldForceSelection(oe))return fe(oe),he.mouseup&&W._document.addEventListener("mouseup",he.mouseup),he.mousedrag&&W._document.addEventListener("mousemove",he.mousedrag),W.cancel(oe)})),this.register((0,b.addDisposableDomListener)(F,"wheel",function(oe){if(!he.wheel){if(!W.buffer.hasScrollback){var ce=W.viewport.getLinesScrolled(oe);if(ce===0)return;for(var K=y.C0.ESC+(W.coreService.decPrivateModes.applicationCursorKeys?"O":"[")+(oe.deltaY<0?"A":"B"),ge="",Te=0;Te=65&&W.key.charCodeAt(0)<=90)||(this._unprocessedDeadKey?(this._unprocessedDeadKey=!1,!0):(F.key!==y.C0.ETX&&F.key!==y.C0.CR||(this.textarea.value=""),this._onKey.fire({key:F.key,domEvent:W}),this._showCursor(),this.coreService.triggerDataEvent(F.key,!0),this.optionsService.rawOptions.screenReaderMode?void(this._keyDownHandled=!0):this.cancel(W,!0))))},ue.prototype._isThirdLevelShift=function(W,q){var F=W.isMac&&!this.options.macOptionIsMeta&&q.altKey&&!q.ctrlKey&&!q.metaKey||W.isWindows&&q.altKey&&q.ctrlKey&&!q.metaKey||W.isWindows&&q.getModifierState("AltGraph");return q.type==="keypress"?F:F&&(!q.keyCode||q.keyCode>47)},ue.prototype._keyUp=function(W){this._keyDownSeen=!1,this._customKeyEventHandler&&this._customKeyEventHandler(W)===!1||(function(q){return q.keyCode===16||q.keyCode===17||q.keyCode===18}(W)||this.focus(),this.updateCursorStyle(W),this._keyPressHandled=!1)},ue.prototype._keyPress=function(W){var q;if(this._keyPressHandled=!1,this._keyDownHandled||this._customKeyEventHandler&&this._customKeyEventHandler(W)===!1)return!1;if(this.cancel(W),W.charCode)q=W.charCode;else if(W.which===null||W.which===void 0)q=W.keyCode;else{if(W.which===0||W.charCode===0)return!1;q=W.which}return!(!q||(W.altKey||W.ctrlKey||W.metaKey)&&!this._isThirdLevelShift(this.browser,W)||(q=String.fromCharCode(q),this._onKey.fire({key:q,domEvent:W}),this._showCursor(),this.coreService.triggerDataEvent(q,!0),this._keyPressHandled=!0,this._unprocessedDeadKey=!1,0))},ue.prototype._inputEvent=function(W){if(W.data&&W.inputType==="insertText"&&(!W.composed||!this._keyDownSeen)&&!this.optionsService.rawOptions.screenReaderMode){if(this._keyPressHandled)return!1;this._unprocessedDeadKey=!1;var q=W.data;return this.coreService.triggerDataEvent(q,!0),this.cancel(W),!0}return!1},ue.prototype.bell=function(){var W;this._soundBell()&&((W=this._soundService)===null||W===void 0||W.playBellSound()),this._onBell.fire()},ue.prototype.resize=function(W,q){W!==this.cols||q!==this.rows?_e.prototype.resize.call(this,W,q):this._charSizeService&&!this._charSizeService.hasValidSize&&this._charSizeService.measure()},ue.prototype._afterResize=function(W,q){var F,fe;(F=this._charSizeService)===null||F===void 0||F.measure(),(fe=this.viewport)===null||fe===void 0||fe.syncScrollArea(!0)},ue.prototype.clear=function(){if(this.buffer.ybase!==0||this.buffer.y!==0){this.buffer.clearAllMarkers(),this.buffer.lines.set(0,this.buffer.lines.get(this.buffer.ybase+this.buffer.y)),this.buffer.lines.length=1,this.buffer.ydisp=0,this.buffer.ybase=0,this.buffer.y=0;for(var W=1;W{Object.defineProperty(s,"__esModule",{value:!0}),s.TimeBasedDebouncer=void 0;var o=function(){function a(l,c){c===void 0&&(c=1e3),this._renderCallback=l,this._debounceThresholdMS=c,this._lastRefreshMs=0,this._additionalRefreshRequested=!1}return a.prototype.dispose=function(){this._refreshTimeoutID&&clearTimeout(this._refreshTimeoutID)},a.prototype.refresh=function(l,c,u){var O=this;this._rowCount=u,l=l!==void 0?l:0,c=c!==void 0?c:this._rowCount-1,this._rowStart=this._rowStart!==void 0?Math.min(this._rowStart,l):l,this._rowEnd=this._rowEnd!==void 0?Math.max(this._rowEnd,c):c;var f=Date.now();if(f-this._lastRefreshMs>=this._debounceThresholdMS)this._lastRefreshMs=f,this._innerRefresh();else if(!this._additionalRefreshRequested){var h=f-this._lastRefreshMs,p=this._debounceThresholdMS-h;this._additionalRefreshRequested=!0,this._refreshTimeoutID=window.setTimeout(function(){O._lastRefreshMs=Date.now(),O._innerRefresh(),O._additionalRefreshRequested=!1,O._refreshTimeoutID=void 0},p)}},a.prototype._innerRefresh=function(){if(this._rowStart!==void 0&&this._rowEnd!==void 0&&this._rowCount!==void 0){var l=Math.max(this._rowStart,0),c=Math.min(this._rowEnd,this._rowCount-1);this._rowStart=void 0,this._rowEnd=void 0,this._renderCallback(l,c)}},a}();s.TimeBasedDebouncer=o},1680:function(r,s,o){var a,l=this&&this.__extends||(a=function($,m){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,g){d.__proto__=g}||function(d,g){for(var v in g)Object.prototype.hasOwnProperty.call(g,v)&&(d[v]=g[v])},a($,m)},function($,m){if(typeof m!="function"&&m!==null)throw new TypeError("Class extends value "+String(m)+" is not a constructor or null");function d(){this.constructor=$}a($,m),$.prototype=m===null?Object.create(m):(d.prototype=m.prototype,new d)}),c=this&&this.__decorate||function($,m,d,g){var v,b=arguments.length,_=b<3?m:g===null?g=Object.getOwnPropertyDescriptor(m,d):g;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")_=Reflect.decorate($,m,d,g);else for(var Q=$.length-1;Q>=0;Q--)(v=$[Q])&&(_=(b<3?v(_):b>3?v(m,d,_):v(m,d))||_);return b>3&&_&&Object.defineProperty(m,d,_),_},u=this&&this.__param||function($,m){return function(d,g){m(d,g,$)}};Object.defineProperty(s,"__esModule",{value:!0}),s.Viewport=void 0;var O=o(844),f=o(3656),h=o(4725),p=o(2585),y=function($){function m(d,g,v,b,_,Q,S,P){var w=$.call(this)||this;return w._scrollLines=d,w._viewportElement=g,w._scrollArea=v,w._element=b,w._bufferService=_,w._optionsService=Q,w._charSizeService=S,w._renderService=P,w.scrollBarWidth=0,w._currentRowHeight=0,w._currentScaledCellHeight=0,w._lastRecordedBufferLength=0,w._lastRecordedViewportHeight=0,w._lastRecordedBufferHeight=0,w._lastTouchY=0,w._lastScrollTop=0,w._wheelPartialScroll=0,w._refreshAnimationFrame=null,w._ignoreNextScrollEvent=!1,w.scrollBarWidth=w._viewportElement.offsetWidth-w._scrollArea.offsetWidth||15,w.register((0,f.addDisposableDomListener)(w._viewportElement,"scroll",w._onScroll.bind(w))),w._activeBuffer=w._bufferService.buffer,w.register(w._bufferService.buffers.onBufferActivate(function(x){return w._activeBuffer=x.activeBuffer})),w._renderDimensions=w._renderService.dimensions,w.register(w._renderService.onDimensionsChange(function(x){return w._renderDimensions=x})),setTimeout(function(){return w.syncScrollArea()},0),w}return l(m,$),m.prototype.onThemeChange=function(d){this._viewportElement.style.backgroundColor=d.background.css},m.prototype._refresh=function(d){var g=this;if(d)return this._innerRefresh(),void(this._refreshAnimationFrame!==null&&cancelAnimationFrame(this._refreshAnimationFrame));this._refreshAnimationFrame===null&&(this._refreshAnimationFrame=requestAnimationFrame(function(){return g._innerRefresh()}))},m.prototype._innerRefresh=function(){if(this._charSizeService.height>0){this._currentRowHeight=this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio,this._currentScaledCellHeight=this._renderService.dimensions.scaledCellHeight,this._lastRecordedViewportHeight=this._viewportElement.offsetHeight;var d=Math.round(this._currentRowHeight*this._lastRecordedBufferLength)+(this._lastRecordedViewportHeight-this._renderService.dimensions.canvasHeight);this._lastRecordedBufferHeight!==d&&(this._lastRecordedBufferHeight=d,this._scrollArea.style.height=this._lastRecordedBufferHeight+"px")}var g=this._bufferService.buffer.ydisp*this._currentRowHeight;this._viewportElement.scrollTop!==g&&(this._ignoreNextScrollEvent=!0,this._viewportElement.scrollTop=g),this._refreshAnimationFrame=null},m.prototype.syncScrollArea=function(d){if(d===void 0&&(d=!1),this._lastRecordedBufferLength!==this._bufferService.buffer.lines.length)return this._lastRecordedBufferLength=this._bufferService.buffer.lines.length,void this._refresh(d);this._lastRecordedViewportHeight===this._renderService.dimensions.canvasHeight&&this._lastScrollTop===this._activeBuffer.ydisp*this._currentRowHeight&&this._renderDimensions.scaledCellHeight===this._currentScaledCellHeight||this._refresh(d)},m.prototype._onScroll=function(d){if(this._lastScrollTop=this._viewportElement.scrollTop,this._viewportElement.offsetParent){if(this._ignoreNextScrollEvent)return this._ignoreNextScrollEvent=!1,void this._scrollLines(0);var g=Math.round(this._lastScrollTop/this._currentRowHeight)-this._bufferService.buffer.ydisp;this._scrollLines(g)}},m.prototype._bubbleScroll=function(d,g){var v=this._viewportElement.scrollTop+this._lastRecordedViewportHeight;return!(g<0&&this._viewportElement.scrollTop!==0||g>0&&v0?1:-1),this._wheelPartialScroll%=1):d.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(g*=this._bufferService.rows),g},m.prototype._applyScrollModifier=function(d,g){var v=this._optionsService.rawOptions.fastScrollModifier;return v==="alt"&&g.altKey||v==="ctrl"&&g.ctrlKey||v==="shift"&&g.shiftKey?d*this._optionsService.rawOptions.fastScrollSensitivity*this._optionsService.rawOptions.scrollSensitivity:d*this._optionsService.rawOptions.scrollSensitivity},m.prototype.onTouchStart=function(d){this._lastTouchY=d.touches[0].pageY},m.prototype.onTouchMove=function(d){var g=this._lastTouchY-d.touches[0].pageY;return this._lastTouchY=d.touches[0].pageY,g!==0&&(this._viewportElement.scrollTop+=g,this._bubbleScroll(d,g))},c([u(4,p.IBufferService),u(5,p.IOptionsService),u(6,h.ICharSizeService),u(7,h.IRenderService)],m)}(O.Disposable);s.Viewport=y},3107:function(r,s,o){var a,l=this&&this.__extends||(a=function(m,d){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,v){g.__proto__=v}||function(g,v){for(var b in v)Object.prototype.hasOwnProperty.call(v,b)&&(g[b]=v[b])},a(m,d)},function(m,d){if(typeof d!="function"&&d!==null)throw new TypeError("Class extends value "+String(d)+" is not a constructor or null");function g(){this.constructor=m}a(m,d),m.prototype=d===null?Object.create(d):(g.prototype=d.prototype,new g)}),c=this&&this.__decorate||function(m,d,g,v){var b,_=arguments.length,Q=_<3?d:v===null?v=Object.getOwnPropertyDescriptor(d,g):v;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")Q=Reflect.decorate(m,d,g,v);else for(var S=m.length-1;S>=0;S--)(b=m[S])&&(Q=(_<3?b(Q):_>3?b(d,g,Q):b(d,g))||Q);return _>3&&Q&&Object.defineProperty(d,g,Q),Q},u=this&&this.__param||function(m,d){return function(g,v){d(g,v,m)}},O=this&&this.__values||function(m){var d=typeof Symbol=="function"&&Symbol.iterator,g=d&&m[d],v=0;if(g)return g.call(m);if(m&&typeof m.length=="number")return{next:function(){return m&&v>=m.length&&(m=void 0),{value:m&&m[v++],done:!m}}};throw new TypeError(d?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(s,"__esModule",{value:!0}),s.BufferDecorationRenderer=void 0;var f=o(3656),h=o(4725),p=o(844),y=o(2585),$=function(m){function d(g,v,b,_){var Q=m.call(this)||this;return Q._screenElement=g,Q._bufferService=v,Q._decorationService=b,Q._renderService=_,Q._decorationElements=new Map,Q._altBufferIsActive=!1,Q._dimensionsChanged=!1,Q._container=document.createElement("div"),Q._container.classList.add("xterm-decoration-container"),Q._screenElement.appendChild(Q._container),Q.register(Q._renderService.onRenderedViewportChange(function(){return Q._queueRefresh()})),Q.register(Q._renderService.onDimensionsChange(function(){Q._dimensionsChanged=!0,Q._queueRefresh()})),Q.register((0,f.addDisposableDomListener)(window,"resize",function(){return Q._queueRefresh()})),Q.register(Q._bufferService.buffers.onBufferActivate(function(){Q._altBufferIsActive=Q._bufferService.buffer===Q._bufferService.buffers.alt})),Q.register(Q._decorationService.onDecorationRegistered(function(){return Q._queueRefresh()})),Q.register(Q._decorationService.onDecorationRemoved(function(S){return Q._removeDecoration(S)})),Q}return l(d,m),d.prototype.dispose=function(){this._container.remove(),this._decorationElements.clear(),m.prototype.dispose.call(this)},d.prototype._queueRefresh=function(){var g=this;this._animationFrame===void 0&&(this._animationFrame=this._renderService.addRefreshCallback(function(){g.refreshDecorations(),g._animationFrame=void 0}))},d.prototype.refreshDecorations=function(){var g,v;try{for(var b=O(this._decorationService.decorations),_=b.next();!_.done;_=b.next()){var Q=_.value;this._renderDecoration(Q)}}catch(S){g={error:S}}finally{try{_&&!_.done&&(v=b.return)&&v.call(b)}finally{if(g)throw g.error}}this._dimensionsChanged=!1},d.prototype._renderDecoration=function(g){this._refreshStyle(g),this._dimensionsChanged&&this._refreshXPosition(g)},d.prototype._createElement=function(g){var v,b=document.createElement("div");b.classList.add("xterm-decoration"),b.style.width=Math.round((g.options.width||1)*this._renderService.dimensions.actualCellWidth)+"px",b.style.height=(g.options.height||1)*this._renderService.dimensions.actualCellHeight+"px",b.style.top=(g.marker.line-this._bufferService.buffers.active.ydisp)*this._renderService.dimensions.actualCellHeight+"px",b.style.lineHeight=this._renderService.dimensions.actualCellHeight+"px";var _=(v=g.options.x)!==null&&v!==void 0?v:0;return _&&_>this._bufferService.cols&&(b.style.display="none"),this._refreshXPosition(g,b),b},d.prototype._refreshStyle=function(g){var v=this,b=g.marker.line-this._bufferService.buffers.active.ydisp;if(b<0||b>=this._bufferService.rows)g.element&&(g.element.style.display="none",g.onRenderEmitter.fire(g.element));else{var _=this._decorationElements.get(g);_||(g.onDispose(function(){return v._removeDecoration(g)}),_=this._createElement(g),g.element=_,this._decorationElements.set(g,_),this._container.appendChild(_)),_.style.top=b*this._renderService.dimensions.actualCellHeight+"px",_.style.display=this._altBufferIsActive?"none":"block",g.onRenderEmitter.fire(_)}},d.prototype._refreshXPosition=function(g,v){var b;if(v===void 0&&(v=g.element),v){var _=(b=g.options.x)!==null&&b!==void 0?b:0;(g.options.anchor||"left")==="right"?v.style.right=_?_*this._renderService.dimensions.actualCellWidth+"px":"":v.style.left=_?_*this._renderService.dimensions.actualCellWidth+"px":""}},d.prototype._removeDecoration=function(g){var v;(v=this._decorationElements.get(g))===null||v===void 0||v.remove(),this._decorationElements.delete(g)},c([u(1,y.IBufferService),u(2,y.IDecorationService),u(3,h.IRenderService)],d)}(p.Disposable);s.BufferDecorationRenderer=$},5871:function(r,s){var o=this&&this.__values||function(l){var c=typeof Symbol=="function"&&Symbol.iterator,u=c&&l[c],O=0;if(u)return u.call(l);if(l&&typeof l.length=="number")return{next:function(){return l&&O>=l.length&&(l=void 0),{value:l&&l[O++],done:!l}}};throw new TypeError(c?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(s,"__esModule",{value:!0}),s.ColorZoneStore=void 0;var a=function(){function l(){this._zones=[],this._zonePool=[],this._zonePoolIndex=0,this._linePadding={full:0,left:0,center:0,right:0}}return Object.defineProperty(l.prototype,"zones",{get:function(){return this._zonePool.length=Math.min(this._zonePool.length,this._zones.length),this._zones},enumerable:!1,configurable:!0}),l.prototype.clear=function(){this._zones.length=0,this._zonePoolIndex=0},l.prototype.addDecoration=function(c){var u,O;if(c.options.overviewRulerOptions){try{for(var f=o(this._zones),h=f.next();!h.done;h=f.next()){var p=h.value;if(p.color===c.options.overviewRulerOptions.color&&p.position===c.options.overviewRulerOptions.position){if(this._lineIntersectsZone(p,c.marker.line))return;if(this._lineAdjacentToZone(p,c.marker.line,c.options.overviewRulerOptions.position))return void this._addLineToZone(p,c.marker.line)}}}catch(y){u={error:y}}finally{try{h&&!h.done&&(O=f.return)&&O.call(f)}finally{if(u)throw u.error}}if(this._zonePoolIndex=c.startBufferLine&&u<=c.endBufferLine},l.prototype._lineAdjacentToZone=function(c,u,O){return u>=c.startBufferLine-this._linePadding[O||"full"]&&u<=c.endBufferLine+this._linePadding[O||"full"]},l.prototype._addLineToZone=function(c,u){c.startBufferLine=Math.min(c.startBufferLine,u),c.endBufferLine=Math.max(c.endBufferLine,u)},l}();s.ColorZoneStore=a},5744:function(r,s,o){var a,l=this&&this.__extends||(a=function(b,_){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Q,S){Q.__proto__=S}||function(Q,S){for(var P in S)Object.prototype.hasOwnProperty.call(S,P)&&(Q[P]=S[P])},a(b,_)},function(b,_){if(typeof _!="function"&&_!==null)throw new TypeError("Class extends value "+String(_)+" is not a constructor or null");function Q(){this.constructor=b}a(b,_),b.prototype=_===null?Object.create(_):(Q.prototype=_.prototype,new Q)}),c=this&&this.__decorate||function(b,_,Q,S){var P,w=arguments.length,x=w<3?_:S===null?S=Object.getOwnPropertyDescriptor(_,Q):S;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(b,_,Q,S);else for(var k=b.length-1;k>=0;k--)(P=b[k])&&(x=(w<3?P(x):w>3?P(_,Q,x):P(_,Q))||x);return w>3&&x&&Object.defineProperty(_,Q,x),x},u=this&&this.__param||function(b,_){return function(Q,S){_(Q,S,b)}},O=this&&this.__values||function(b){var _=typeof Symbol=="function"&&Symbol.iterator,Q=_&&b[_],S=0;if(Q)return Q.call(b);if(b&&typeof b.length=="number")return{next:function(){return b&&S>=b.length&&(b=void 0),{value:b&&b[S++],done:!b}}};throw new TypeError(_?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(s,"__esModule",{value:!0}),s.OverviewRulerRenderer=void 0;var f=o(5871),h=o(3656),p=o(4725),y=o(844),$=o(2585),m={full:0,left:0,center:0,right:0},d={full:0,left:0,center:0,right:0},g={full:0,left:0,center:0,right:0},v=function(b){function _(Q,S,P,w,x,k){var C,T=b.call(this)||this;T._viewportElement=Q,T._screenElement=S,T._bufferService=P,T._decorationService=w,T._renderService=x,T._optionsService=k,T._colorZoneStore=new f.ColorZoneStore,T._shouldUpdateDimensions=!0,T._shouldUpdateAnchor=!0,T._lastKnownBufferLength=0,T._canvas=document.createElement("canvas"),T._canvas.classList.add("xterm-decoration-overview-ruler"),T._refreshCanvasDimensions(),(C=T._viewportElement.parentElement)===null||C===void 0||C.insertBefore(T._canvas,T._viewportElement);var E=T._canvas.getContext("2d");if(!E)throw new Error("Ctx cannot be null");return T._ctx=E,T._registerDecorationListeners(),T._registerBufferChangeListeners(),T._registerDimensionChangeListeners(),T}return l(_,b),Object.defineProperty(_.prototype,"_width",{get:function(){return this._optionsService.options.overviewRulerWidth||0},enumerable:!1,configurable:!0}),_.prototype._registerDecorationListeners=function(){var Q=this;this.register(this._decorationService.onDecorationRegistered(function(){return Q._queueRefresh(void 0,!0)})),this.register(this._decorationService.onDecorationRemoved(function(){return Q._queueRefresh(void 0,!0)}))},_.prototype._registerBufferChangeListeners=function(){var Q=this;this.register(this._renderService.onRenderedViewportChange(function(){return Q._queueRefresh()})),this.register(this._bufferService.buffers.onBufferActivate(function(){Q._canvas.style.display=Q._bufferService.buffer===Q._bufferService.buffers.alt?"none":"block"})),this.register(this._bufferService.onScroll(function(){Q._lastKnownBufferLength!==Q._bufferService.buffers.normal.lines.length&&(Q._refreshDrawHeightConstants(),Q._refreshColorZonePadding())}))},_.prototype._registerDimensionChangeListeners=function(){var Q=this;this.register(this._renderService.onRender(function(){Q._containerHeight&&Q._containerHeight===Q._screenElement.clientHeight||(Q._queueRefresh(!0),Q._containerHeight=Q._screenElement.clientHeight)})),this.register(this._optionsService.onOptionChange(function(S){S==="overviewRulerWidth"&&Q._queueRefresh(!0)})),this.register((0,h.addDisposableDomListener)(window,"resize",function(){Q._queueRefresh(!0)})),this._queueRefresh(!0)},_.prototype.dispose=function(){var Q;(Q=this._canvas)===null||Q===void 0||Q.remove(),b.prototype.dispose.call(this)},_.prototype._refreshDrawConstants=function(){var Q=Math.floor(this._canvas.width/3),S=Math.ceil(this._canvas.width/3);d.full=this._canvas.width,d.left=Q,d.center=S,d.right=Q,this._refreshDrawHeightConstants(),g.full=0,g.left=0,g.center=d.left,g.right=d.left+d.center},_.prototype._refreshDrawHeightConstants=function(){m.full=Math.round(2*window.devicePixelRatio);var Q=this._canvas.height/this._bufferService.buffer.lines.length,S=Math.round(Math.max(Math.min(Q,12),6)*window.devicePixelRatio);m.left=S,m.center=S,m.right=S},_.prototype._refreshColorZonePadding=function(){this._colorZoneStore.setPadding({full:Math.floor(this._bufferService.buffers.active.lines.length/(this._canvas.height-1)*m.full),left:Math.floor(this._bufferService.buffers.active.lines.length/(this._canvas.height-1)*m.left),center:Math.floor(this._bufferService.buffers.active.lines.length/(this._canvas.height-1)*m.center),right:Math.floor(this._bufferService.buffers.active.lines.length/(this._canvas.height-1)*m.right)}),this._lastKnownBufferLength=this._bufferService.buffers.normal.lines.length},_.prototype._refreshCanvasDimensions=function(){this._canvas.style.width=this._width+"px",this._canvas.width=Math.round(this._width*window.devicePixelRatio),this._canvas.style.height=this._screenElement.clientHeight+"px",this._canvas.height=Math.round(this._screenElement.clientHeight*window.devicePixelRatio),this._refreshDrawConstants(),this._refreshColorZonePadding()},_.prototype._refreshDecorations=function(){var Q,S,P,w,x,k;this._shouldUpdateDimensions&&this._refreshCanvasDimensions(),this._ctx.clearRect(0,0,this._canvas.width,this._canvas.height),this._colorZoneStore.clear();try{for(var C=O(this._decorationService.decorations),T=C.next();!T.done;T=C.next()){var E=T.value;this._colorZoneStore.addDecoration(E)}}catch(Z){Q={error:Z}}finally{try{T&&!T.done&&(S=C.return)&&S.call(C)}finally{if(Q)throw Q.error}}this._ctx.lineWidth=1;var A=this._colorZoneStore.zones;try{for(var R=O(A),X=R.next();!X.done;X=R.next())(j=X.value).position!=="full"&&this._renderColorZone(j)}catch(Z){P={error:Z}}finally{try{X&&!X.done&&(w=R.return)&&w.call(R)}finally{if(P)throw P.error}}try{for(var D=O(A),V=D.next();!V.done;V=D.next()){var j;(j=V.value).position==="full"&&this._renderColorZone(j)}}catch(Z){x={error:Z}}finally{try{V&&!V.done&&(k=D.return)&&k.call(D)}finally{if(x)throw x.error}}this._shouldUpdateDimensions=!1,this._shouldUpdateAnchor=!1},_.prototype._renderColorZone=function(Q){this._ctx.fillStyle=Q.color,this._ctx.fillRect(g[Q.position||"full"],Math.round((this._canvas.height-1)*(Q.startBufferLine/this._bufferService.buffers.active.lines.length)-m[Q.position||"full"]/2),d[Q.position||"full"],Math.round((this._canvas.height-1)*((Q.endBufferLine-Q.startBufferLine)/this._bufferService.buffers.active.lines.length)+m[Q.position||"full"]))},_.prototype._queueRefresh=function(Q,S){var P=this;this._shouldUpdateDimensions=Q||this._shouldUpdateDimensions,this._shouldUpdateAnchor=S||this._shouldUpdateAnchor,this._animationFrame===void 0&&(this._animationFrame=window.requestAnimationFrame(function(){P._refreshDecorations(),P._animationFrame=void 0}))},c([u(2,$.IBufferService),u(3,$.IDecorationService),u(4,p.IRenderService),u(5,$.IOptionsService)],_)}(y.Disposable);s.OverviewRulerRenderer=v},2950:function(r,s,o){var a=this&&this.__decorate||function(f,h,p,y){var $,m=arguments.length,d=m<3?h:y===null?y=Object.getOwnPropertyDescriptor(h,p):y;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")d=Reflect.decorate(f,h,p,y);else for(var g=f.length-1;g>=0;g--)($=f[g])&&(d=(m<3?$(d):m>3?$(h,p,d):$(h,p))||d);return m>3&&d&&Object.defineProperty(h,p,d),d},l=this&&this.__param||function(f,h){return function(p,y){h(p,y,f)}};Object.defineProperty(s,"__esModule",{value:!0}),s.CompositionHelper=void 0;var c=o(4725),u=o(2585),O=function(){function f(h,p,y,$,m,d){this._textarea=h,this._compositionView=p,this._bufferService=y,this._optionsService=$,this._coreService=m,this._renderService=d,this._isComposing=!1,this._isSendingComposition=!1,this._compositionPosition={start:0,end:0},this._dataAlreadySent=""}return Object.defineProperty(f.prototype,"isComposing",{get:function(){return this._isComposing},enumerable:!1,configurable:!0}),f.prototype.compositionstart=function(){this._isComposing=!0,this._compositionPosition.start=this._textarea.value.length,this._compositionView.textContent="",this._dataAlreadySent="",this._compositionView.classList.add("active")},f.prototype.compositionupdate=function(h){var p=this;this._compositionView.textContent=h.data,this.updateCompositionElements(),setTimeout(function(){p._compositionPosition.end=p._textarea.value.length},0)},f.prototype.compositionend=function(){this._finalizeComposition(!0)},f.prototype.keydown=function(h){if(this._isComposing||this._isSendingComposition){if(h.keyCode===229||h.keyCode===16||h.keyCode===17||h.keyCode===18)return!1;this._finalizeComposition(!1)}return h.keyCode!==229||(this._handleAnyTextareaChanges(),!1)},f.prototype._finalizeComposition=function(h){var p=this;if(this._compositionView.classList.remove("active"),this._isComposing=!1,h){var y={start:this._compositionPosition.start,end:this._compositionPosition.end};this._isSendingComposition=!0,setTimeout(function(){if(p._isSendingComposition){p._isSendingComposition=!1;var m;y.start+=p._dataAlreadySent.length,(m=p._isComposing?p._textarea.value.substring(y.start,y.end):p._textarea.value.substring(y.start)).length>0&&p._coreService.triggerDataEvent(m,!0)}},0)}else{this._isSendingComposition=!1;var $=this._textarea.value.substring(this._compositionPosition.start,this._compositionPosition.end);this._coreService.triggerDataEvent($,!0)}},f.prototype._handleAnyTextareaChanges=function(){var h=this,p=this._textarea.value;setTimeout(function(){if(!h._isComposing){var y=h._textarea.value.replace(p,"");y.length>0&&(h._dataAlreadySent=y,h._coreService.triggerDataEvent(y,!0))}},0)},f.prototype.updateCompositionElements=function(h){var p=this;if(this._isComposing){if(this._bufferService.buffer.isCursorInViewport){var y=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1),$=this._renderService.dimensions.actualCellHeight,m=this._bufferService.buffer.y*this._renderService.dimensions.actualCellHeight,d=y*this._renderService.dimensions.actualCellWidth;this._compositionView.style.left=d+"px",this._compositionView.style.top=m+"px",this._compositionView.style.height=$+"px",this._compositionView.style.lineHeight=$+"px",this._compositionView.style.fontFamily=this._optionsService.rawOptions.fontFamily,this._compositionView.style.fontSize=this._optionsService.rawOptions.fontSize+"px";var g=this._compositionView.getBoundingClientRect();this._textarea.style.left=d+"px",this._textarea.style.top=m+"px",this._textarea.style.width=Math.max(g.width,1)+"px",this._textarea.style.height=Math.max(g.height,1)+"px",this._textarea.style.lineHeight=g.height+"px"}h||setTimeout(function(){return p.updateCompositionElements(!0)},0)}},a([l(2,u.IBufferService),l(3,u.IOptionsService),l(4,u.ICoreService),l(5,c.IRenderService)],f)}();s.CompositionHelper=O},9806:(r,s)=>{function o(a,l,c){var u=c.getBoundingClientRect(),O=a.getComputedStyle(c),f=parseInt(O.getPropertyValue("padding-left")),h=parseInt(O.getPropertyValue("padding-top"));return[l.clientX-u.left-f,l.clientY-u.top-h]}Object.defineProperty(s,"__esModule",{value:!0}),s.getRawByteCoords=s.getCoords=s.getCoordsRelativeToElement=void 0,s.getCoordsRelativeToElement=o,s.getCoords=function(a,l,c,u,O,f,h,p,y){if(f){var $=o(a,l,c);if($)return $[0]=Math.ceil(($[0]+(y?h/2:0))/h),$[1]=Math.ceil($[1]/p),$[0]=Math.min(Math.max($[0],1),u+(y?1:0)),$[1]=Math.min(Math.max($[1],1),O),$}},s.getRawByteCoords=function(a){if(a)return{x:a[0]+32,y:a[1]+32}}},9504:(r,s,o)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.moveToCellSequence=void 0;var a=o(2584);function l(p,y,$,m){var d=p-c($,p),g=y-c($,y),v=Math.abs(d-g)-function(b,_,Q){for(var S=0,P=b-c(Q,b),w=_-c(Q,_),x=0;x=0&&yy?"A":"B"}function O(p,y,$,m,d,g){for(var v=p,b=y,_="";v!==$||b!==m;)v+=d?1:-1,d&&v>g.cols-1?(_+=g.buffer.translateBufferLineToString(b,!1,p,v),v=0,p=0,b++):!d&&v<0&&(_+=g.buffer.translateBufferLineToString(b,!1,0,p+1),p=v=g.cols-1,b--);return _+g.buffer.translateBufferLineToString(b,!1,p,v)}function f(p,y){var $=y?"O":"[";return a.C0.ESC+$+p}function h(p,y){p=Math.floor(p);for(var $="",m=0;m0?P-c(w,P):Q;var C=P,T=function(E,A,R,X,D,V){var j;return j=l(R,X,D,V).length>0?X-c(D,X):A,E=R&&jp?"D":"C",h(Math.abs(g-p),f(d,m));d=v>y?"D":"C";var b=Math.abs(v-y);return h(function(_,Q){return Q.cols-_}(v>y?p:g,$)+(b-1)*$.cols+1+((v>y?g:p)-1),f(d,m))}},4389:function(r,s,o){var a=this&&this.__assign||function(){return a=Object.assign||function(m){for(var d,g=1,v=arguments.length;g=m.length&&(m=void 0),{value:m&&m[v++],done:!m}}};throw new TypeError(d?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(s,"__esModule",{value:!0}),s.Terminal=void 0;var c=o(3236),u=o(9042),O=o(7975),f=o(7090),h=o(5741),p=o(8285),y=["cols","rows"],$=function(){function m(d){var g=this;this._core=new c.Terminal(d),this._addonManager=new h.AddonManager,this._publicOptions=a({},this._core.options);var v=function(S){return g._core.options[S]},b=function(S,P){g._checkReadonlyOptions(S),g._core.options[S]=P};for(var _ in this._core.options){var Q={get:v.bind(this,_),set:b.bind(this,_)};Object.defineProperty(this._publicOptions,_,Q)}}return m.prototype._checkReadonlyOptions=function(d){if(y.includes(d))throw new Error('Option "'+d+'" can only be set in the constructor')},m.prototype._checkProposedApi=function(){if(!this._core.optionsService.rawOptions.allowProposedApi)throw new Error("You must set the allowProposedApi option to true to use proposed API")},Object.defineProperty(m.prototype,"onBell",{get:function(){return this._core.onBell},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"onBinary",{get:function(){return this._core.onBinary},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"onCursorMove",{get:function(){return this._core.onCursorMove},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"onData",{get:function(){return this._core.onData},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"onKey",{get:function(){return this._core.onKey},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"onLineFeed",{get:function(){return this._core.onLineFeed},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"onRender",{get:function(){return this._core.onRender},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"onResize",{get:function(){return this._core.onResize},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"onScroll",{get:function(){return this._core.onScroll},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"onSelectionChange",{get:function(){return this._core.onSelectionChange},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"onTitleChange",{get:function(){return this._core.onTitleChange},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"onWriteParsed",{get:function(){return this._core.onWriteParsed},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"element",{get:function(){return this._core.element},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"parser",{get:function(){return this._checkProposedApi(),this._parser||(this._parser=new O.ParserApi(this._core)),this._parser},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"unicode",{get:function(){return this._checkProposedApi(),new f.UnicodeApi(this._core)},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"textarea",{get:function(){return this._core.textarea},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"rows",{get:function(){return this._core.rows},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"cols",{get:function(){return this._core.cols},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"buffer",{get:function(){return this._checkProposedApi(),this._buffer||(this._buffer=new p.BufferNamespaceApi(this._core)),this._buffer},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"markers",{get:function(){return this._checkProposedApi(),this._core.markers},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"modes",{get:function(){var d=this._core.coreService.decPrivateModes,g="none";switch(this._core.coreMouseService.activeProtocol){case"X10":g="x10";break;case"VT200":g="vt200";break;case"DRAG":g="drag";break;case"ANY":g="any"}return{applicationCursorKeysMode:d.applicationCursorKeys,applicationKeypadMode:d.applicationKeypad,bracketedPasteMode:d.bracketedPasteMode,insertMode:this._core.coreService.modes.insertMode,mouseTrackingMode:g,originMode:d.origin,reverseWraparoundMode:d.reverseWraparound,sendFocusMode:d.sendFocus,wraparoundMode:d.wraparound}},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"options",{get:function(){return this._publicOptions},set:function(d){for(var g in d)this._publicOptions[g]=d[g]},enumerable:!1,configurable:!0}),m.prototype.blur=function(){this._core.blur()},m.prototype.focus=function(){this._core.focus()},m.prototype.resize=function(d,g){this._verifyIntegers(d,g),this._core.resize(d,g)},m.prototype.open=function(d){this._core.open(d)},m.prototype.attachCustomKeyEventHandler=function(d){this._core.attachCustomKeyEventHandler(d)},m.prototype.registerLinkMatcher=function(d,g,v){return this._checkProposedApi(),this._core.registerLinkMatcher(d,g,v)},m.prototype.deregisterLinkMatcher=function(d){this._checkProposedApi(),this._core.deregisterLinkMatcher(d)},m.prototype.registerLinkProvider=function(d){return this._checkProposedApi(),this._core.registerLinkProvider(d)},m.prototype.registerCharacterJoiner=function(d){return this._checkProposedApi(),this._core.registerCharacterJoiner(d)},m.prototype.deregisterCharacterJoiner=function(d){this._checkProposedApi(),this._core.deregisterCharacterJoiner(d)},m.prototype.registerMarker=function(d){return d===void 0&&(d=0),this._checkProposedApi(),this._verifyIntegers(d),this._core.addMarker(d)},m.prototype.registerDecoration=function(d){var g,v,b;return this._checkProposedApi(),this._verifyPositiveIntegers((g=d.x)!==null&&g!==void 0?g:0,(v=d.width)!==null&&v!==void 0?v:0,(b=d.height)!==null&&b!==void 0?b:0),this._core.registerDecoration(d)},m.prototype.addMarker=function(d){return this.registerMarker(d)},m.prototype.hasSelection=function(){return this._core.hasSelection()},m.prototype.select=function(d,g,v){this._verifyIntegers(d,g,v),this._core.select(d,g,v)},m.prototype.getSelection=function(){return this._core.getSelection()},m.prototype.getSelectionPosition=function(){return this._core.getSelectionPosition()},m.prototype.clearSelection=function(){this._core.clearSelection()},m.prototype.selectAll=function(){this._core.selectAll()},m.prototype.selectLines=function(d,g){this._verifyIntegers(d,g),this._core.selectLines(d,g)},m.prototype.dispose=function(){this._addonManager.dispose(),this._core.dispose()},m.prototype.scrollLines=function(d){this._verifyIntegers(d),this._core.scrollLines(d)},m.prototype.scrollPages=function(d){this._verifyIntegers(d),this._core.scrollPages(d)},m.prototype.scrollToTop=function(){this._core.scrollToTop()},m.prototype.scrollToBottom=function(){this._core.scrollToBottom()},m.prototype.scrollToLine=function(d){this._verifyIntegers(d),this._core.scrollToLine(d)},m.prototype.clear=function(){this._core.clear()},m.prototype.write=function(d,g){this._core.write(d,g)},m.prototype.writeUtf8=function(d,g){this._core.write(d,g)},m.prototype.writeln=function(d,g){this._core.write(d),this._core.write(`\r +`,g)},m.prototype.paste=function(d){this._core.paste(d)},m.prototype.getOption=function(d){return this._core.optionsService.getOption(d)},m.prototype.setOption=function(d,g){this._checkReadonlyOptions(d),this._core.optionsService.setOption(d,g)},m.prototype.refresh=function(d,g){this._verifyIntegers(d,g),this._core.refresh(d,g)},m.prototype.reset=function(){this._core.reset()},m.prototype.clearTextureAtlas=function(){this._core.clearTextureAtlas()},m.prototype.loadAddon=function(d){return this._addonManager.loadAddon(this,d)},Object.defineProperty(m,"strings",{get:function(){return u},enumerable:!1,configurable:!0}),m.prototype._verifyIntegers=function(){for(var d,g,v=[],b=0;b=m.length&&(m=void 0),{value:m&&m[v++],done:!m}}};throw new TypeError(d?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(s,"__esModule",{value:!0}),s.BaseRenderLayer=void 0;var l=o(643),c=o(8803),u=o(1420),O=o(3734),f=o(1752),h=o(8055),p=o(9631),y=o(8978),$=function(){function m(d,g,v,b,_,Q,S,P,w){this._container=d,this._alpha=b,this._colors=_,this._rendererId=Q,this._bufferService=S,this._optionsService=P,this._decorationService=w,this._scaledCharWidth=0,this._scaledCharHeight=0,this._scaledCellWidth=0,this._scaledCellHeight=0,this._scaledCharLeft=0,this._scaledCharTop=0,this._columnSelectMode=!1,this._currentGlyphIdentifier={chars:"",code:0,bg:0,fg:0,bold:!1,dim:!1,italic:!1},this._canvas=document.createElement("canvas"),this._canvas.classList.add("xterm-"+g+"-layer"),this._canvas.style.zIndex=v.toString(),this._initCanvas(),this._container.appendChild(this._canvas)}return m.prototype.dispose=function(){var d;(0,p.removeElementFromParent)(this._canvas),(d=this._charAtlas)===null||d===void 0||d.dispose()},m.prototype._initCanvas=function(){this._ctx=(0,f.throwIfFalsy)(this._canvas.getContext("2d",{alpha:this._alpha})),this._alpha||this._clearAll()},m.prototype.onOptionsChanged=function(){},m.prototype.onBlur=function(){},m.prototype.onFocus=function(){},m.prototype.onCursorMove=function(){},m.prototype.onGridChanged=function(d,g){},m.prototype.onSelectionChanged=function(d,g,v){v===void 0&&(v=!1),this._selectionStart=d,this._selectionEnd=g,this._columnSelectMode=v},m.prototype.setColors=function(d){this._refreshCharAtlas(d)},m.prototype._setTransparency=function(d){if(d!==this._alpha){var g=this._canvas;this._alpha=d,this._canvas=this._canvas.cloneNode(),this._initCanvas(),this._container.replaceChild(this._canvas,g),this._refreshCharAtlas(this._colors),this.onGridChanged(0,this._bufferService.rows-1)}},m.prototype._refreshCharAtlas=function(d){this._scaledCharWidth<=0&&this._scaledCharHeight<=0||(this._charAtlas=(0,u.acquireCharAtlas)(this._optionsService.rawOptions,this._rendererId,d,this._scaledCharWidth,this._scaledCharHeight),this._charAtlas.warmUp())},m.prototype.resize=function(d){this._scaledCellWidth=d.scaledCellWidth,this._scaledCellHeight=d.scaledCellHeight,this._scaledCharWidth=d.scaledCharWidth,this._scaledCharHeight=d.scaledCharHeight,this._scaledCharLeft=d.scaledCharLeft,this._scaledCharTop=d.scaledCharTop,this._canvas.width=d.scaledCanvasWidth,this._canvas.height=d.scaledCanvasHeight,this._canvas.style.width=d.canvasWidth+"px",this._canvas.style.height=d.canvasHeight+"px",this._alpha||this._clearAll(),this._refreshCharAtlas(this._colors)},m.prototype.clearTextureAtlas=function(){var d;(d=this._charAtlas)===null||d===void 0||d.clear()},m.prototype._fillCells=function(d,g,v,b){this._ctx.fillRect(d*this._scaledCellWidth,g*this._scaledCellHeight,v*this._scaledCellWidth,b*this._scaledCellHeight)},m.prototype._fillMiddleLineAtCells=function(d,g,v){v===void 0&&(v=1);var b=Math.ceil(.5*this._scaledCellHeight);this._ctx.fillRect(d*this._scaledCellWidth,(g+1)*this._scaledCellHeight-b-window.devicePixelRatio,v*this._scaledCellWidth,window.devicePixelRatio)},m.prototype._fillBottomLineAtCells=function(d,g,v){v===void 0&&(v=1),this._ctx.fillRect(d*this._scaledCellWidth,(g+1)*this._scaledCellHeight-window.devicePixelRatio-1,v*this._scaledCellWidth,window.devicePixelRatio)},m.prototype._fillLeftLineAtCell=function(d,g,v){this._ctx.fillRect(d*this._scaledCellWidth,g*this._scaledCellHeight,window.devicePixelRatio*v,this._scaledCellHeight)},m.prototype._strokeRectAtCell=function(d,g,v,b){this._ctx.lineWidth=window.devicePixelRatio,this._ctx.strokeRect(d*this._scaledCellWidth+window.devicePixelRatio/2,g*this._scaledCellHeight+window.devicePixelRatio/2,v*this._scaledCellWidth-window.devicePixelRatio,b*this._scaledCellHeight-window.devicePixelRatio)},m.prototype._clearAll=function(){this._alpha?this._ctx.clearRect(0,0,this._canvas.width,this._canvas.height):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(0,0,this._canvas.width,this._canvas.height))},m.prototype._clearCells=function(d,g,v,b){this._alpha?this._ctx.clearRect(d*this._scaledCellWidth,g*this._scaledCellHeight,v*this._scaledCellWidth,b*this._scaledCellHeight):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(d*this._scaledCellWidth,g*this._scaledCellHeight,v*this._scaledCellWidth,b*this._scaledCellHeight))},m.prototype._fillCharTrueColor=function(d,g,v){this._ctx.font=this._getFont(!1,!1),this._ctx.textBaseline=c.TEXT_BASELINE,this._clipRow(v);var b=!1;this._optionsService.rawOptions.customGlyphs!==!1&&(b=(0,y.tryDrawCustomChar)(this._ctx,d.getChars(),g*this._scaledCellWidth,v*this._scaledCellHeight,this._scaledCellWidth,this._scaledCellHeight)),b||this._ctx.fillText(d.getChars(),g*this._scaledCellWidth+this._scaledCharLeft,v*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight)},m.prototype._drawChars=function(d,g,v){var b,_,Q,S=this._getContrastColor(d,g,v);if(S||d.isFgRGB()||d.isBgRGB())this._drawUncachedChars(d,g,v,S);else{var P,w;d.isInverse()?(P=d.isBgDefault()?c.INVERTED_DEFAULT_COLOR:d.getBgColor(),w=d.isFgDefault()?c.INVERTED_DEFAULT_COLOR:d.getFgColor()):(w=d.isBgDefault()?l.DEFAULT_COLOR:d.getBgColor(),P=d.isFgDefault()?l.DEFAULT_COLOR:d.getFgColor()),P+=this._optionsService.rawOptions.drawBoldTextInBrightColors&&d.isBold()&&P<8?8:0,this._currentGlyphIdentifier.chars=d.getChars()||l.WHITESPACE_CELL_CHAR,this._currentGlyphIdentifier.code=d.getCode()||l.WHITESPACE_CELL_CODE,this._currentGlyphIdentifier.bg=w,this._currentGlyphIdentifier.fg=P,this._currentGlyphIdentifier.bold=!!d.isBold(),this._currentGlyphIdentifier.dim=!!d.isDim(),this._currentGlyphIdentifier.italic=!!d.isItalic();var x=!1;try{for(var k=a(this._decorationService.getDecorationsAtCell(g,v)),C=k.next();!C.done;C=k.next()){var T=C.value;if(T.backgroundColorRGB||T.foregroundColorRGB){x=!0;break}}}catch(E){b={error:E}}finally{try{C&&!C.done&&(_=k.return)&&_.call(k)}finally{if(b)throw b.error}}!x&&((Q=this._charAtlas)===null||Q===void 0?void 0:Q.draw(this._ctx,this._currentGlyphIdentifier,g*this._scaledCellWidth+this._scaledCharLeft,v*this._scaledCellHeight+this._scaledCharTop))||this._drawUncachedChars(d,g,v)}},m.prototype._drawUncachedChars=function(d,g,v,b){if(this._ctx.save(),this._ctx.font=this._getFont(!!d.isBold(),!!d.isItalic()),this._ctx.textBaseline=c.TEXT_BASELINE,d.isInverse())if(b)this._ctx.fillStyle=b.css;else if(d.isBgDefault())this._ctx.fillStyle=h.color.opaque(this._colors.background).css;else if(d.isBgRGB())this._ctx.fillStyle="rgb("+O.AttributeData.toColorRGB(d.getBgColor()).join(",")+")";else{var _=d.getBgColor();this._optionsService.rawOptions.drawBoldTextInBrightColors&&d.isBold()&&_<8&&(_+=8),this._ctx.fillStyle=this._colors.ansi[_].css}else if(b)this._ctx.fillStyle=b.css;else if(d.isFgDefault())this._ctx.fillStyle=this._colors.foreground.css;else if(d.isFgRGB())this._ctx.fillStyle="rgb("+O.AttributeData.toColorRGB(d.getFgColor()).join(",")+")";else{var Q=d.getFgColor();this._optionsService.rawOptions.drawBoldTextInBrightColors&&d.isBold()&&Q<8&&(Q+=8),this._ctx.fillStyle=this._colors.ansi[Q].css}this._clipRow(v),d.isDim()&&(this._ctx.globalAlpha=c.DIM_OPACITY);var S=!1;this._optionsService.rawOptions.customGlyphs!==!1&&(S=(0,y.tryDrawCustomChar)(this._ctx,d.getChars(),g*this._scaledCellWidth,v*this._scaledCellHeight,this._scaledCellWidth,this._scaledCellHeight)),S||this._ctx.fillText(d.getChars(),g*this._scaledCellWidth+this._scaledCharLeft,v*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight),this._ctx.restore()},m.prototype._clipRow=function(d){this._ctx.beginPath(),this._ctx.rect(0,d*this._scaledCellHeight,this._bufferService.cols*this._scaledCellWidth,this._scaledCellHeight),this._ctx.clip()},m.prototype._getFont=function(d,g){return(g?"italic":"")+" "+(d?this._optionsService.rawOptions.fontWeightBold:this._optionsService.rawOptions.fontWeight)+" "+this._optionsService.rawOptions.fontSize*window.devicePixelRatio+"px "+this._optionsService.rawOptions.fontFamily},m.prototype._getContrastColor=function(d,g,v){var b,_,Q,S,P=!1;try{for(var w=a(this._decorationService.getDecorationsAtCell(g,v)),x=w.next();!x.done;x=w.next()){var k=x.value;k.options.layer!=="top"&&P||(k.backgroundColorRGB&&(Q=k.backgroundColorRGB.rgba),k.foregroundColorRGB&&(S=k.foregroundColorRGB.rgba),P=k.options.layer==="top")}}catch(ne){b={error:ne}}finally{try{x&&!x.done&&(_=w.return)&&_.call(w)}finally{if(b)throw b.error}}if(P||this._colors.selectionForeground&&this._isCellInSelection(g,v)&&(S=this._colors.selectionForeground.rgba),Q||S||this._optionsService.rawOptions.minimumContrastRatio!==1&&!(0,f.excludeFromContrastRatioDemands)(d.getCode())){if(!Q&&!S){var C=this._colors.contrastCache.getColor(d.bg,d.fg);if(C!==void 0)return C||void 0}var T=d.getFgColor(),E=d.getFgColorMode(),A=d.getBgColor(),R=d.getBgColorMode(),X=!!d.isInverse(),D=!!d.isInverse();if(X){var V=T;T=A,A=V;var j=E;E=R,R=j}var Z=this._resolveBackgroundRgba(Q!==void 0?50331648:R,Q!=null?Q:A,X),ee=this._resolveForegroundRgba(E,T,X,D),se=h.rgba.ensureContrastRatio(Q!=null?Q:Z,S!=null?S:ee,this._optionsService.rawOptions.minimumContrastRatio);if(!se){if(!S)return void this._colors.contrastCache.setColor(d.bg,d.fg,null);se=S}var I={css:h.channels.toCss(se>>24&255,se>>16&255,se>>8&255),rgba:se};return Q||S||this._colors.contrastCache.setColor(d.bg,d.fg,I),I}},m.prototype._resolveBackgroundRgba=function(d,g,v){switch(d){case 16777216:case 33554432:return this._colors.ansi[g].rgba;case 50331648:return g<<8;default:return v?this._colors.foreground.rgba:this._colors.background.rgba}},m.prototype._resolveForegroundRgba=function(d,g,v,b){switch(d){case 16777216:case 33554432:return this._optionsService.rawOptions.drawBoldTextInBrightColors&&b&&g<8&&(g+=8),this._colors.ansi[g].rgba;case 50331648:return g<<8;default:return v?this._colors.background.rgba:this._colors.foreground.rgba}},m.prototype._isCellInSelection=function(d,g){var v=this._selectionStart,b=this._selectionEnd;return!(!v||!b)&&(this._columnSelectMode?d>=v[0]&&g>=v[1]&&dv[1]&&g=v[0]&&d=v[0])},m}();s.BaseRenderLayer=$},2512:function(r,s,o){var a,l=this&&this.__extends||(a=function(d,g){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(v,b){v.__proto__=b}||function(v,b){for(var _ in b)Object.prototype.hasOwnProperty.call(b,_)&&(v[_]=b[_])},a(d,g)},function(d,g){if(typeof g!="function"&&g!==null)throw new TypeError("Class extends value "+String(g)+" is not a constructor or null");function v(){this.constructor=d}a(d,g),d.prototype=g===null?Object.create(g):(v.prototype=g.prototype,new v)}),c=this&&this.__decorate||function(d,g,v,b){var _,Q=arguments.length,S=Q<3?g:b===null?b=Object.getOwnPropertyDescriptor(g,v):b;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")S=Reflect.decorate(d,g,v,b);else for(var P=d.length-1;P>=0;P--)(_=d[P])&&(S=(Q<3?_(S):Q>3?_(g,v,S):_(g,v))||S);return Q>3&&S&&Object.defineProperty(g,v,S),S},u=this&&this.__param||function(d,g){return function(v,b){g(v,b,d)}};Object.defineProperty(s,"__esModule",{value:!0}),s.CursorRenderLayer=void 0;var O=o(1546),f=o(511),h=o(2585),p=o(4725),y=600,$=function(d){function g(v,b,_,Q,S,P,w,x,k,C){var T=d.call(this,v,"cursor",b,!0,_,Q,P,w,C)||this;return T._onRequestRedraw=S,T._coreService=x,T._coreBrowserService=k,T._cell=new f.CellData,T._state={x:0,y:0,isFocused:!1,style:"",width:0},T._cursorRenderers={bar:T._renderBarCursor.bind(T),block:T._renderBlockCursor.bind(T),underline:T._renderUnderlineCursor.bind(T)},T}return l(g,d),g.prototype.dispose=function(){this._cursorBlinkStateManager&&(this._cursorBlinkStateManager.dispose(),this._cursorBlinkStateManager=void 0),d.prototype.dispose.call(this)},g.prototype.resize=function(v){d.prototype.resize.call(this,v),this._state={x:0,y:0,isFocused:!1,style:"",width:0}},g.prototype.reset=function(){var v;this._clearCursor(),(v=this._cursorBlinkStateManager)===null||v===void 0||v.restartBlinkAnimation(),this.onOptionsChanged()},g.prototype.onBlur=function(){var v;(v=this._cursorBlinkStateManager)===null||v===void 0||v.pause(),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},g.prototype.onFocus=function(){var v;(v=this._cursorBlinkStateManager)===null||v===void 0||v.resume(),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},g.prototype.onOptionsChanged=function(){var v,b=this;this._optionsService.rawOptions.cursorBlink?this._cursorBlinkStateManager||(this._cursorBlinkStateManager=new m(this._coreBrowserService.isFocused,function(){b._render(!0)})):((v=this._cursorBlinkStateManager)===null||v===void 0||v.dispose(),this._cursorBlinkStateManager=void 0),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},g.prototype.onCursorMove=function(){var v;(v=this._cursorBlinkStateManager)===null||v===void 0||v.restartBlinkAnimation()},g.prototype.onGridChanged=function(v,b){!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isPaused?this._render(!1):this._cursorBlinkStateManager.restartBlinkAnimation()},g.prototype._render=function(v){if(this._coreService.isCursorInitialized&&!this._coreService.isCursorHidden){var b=this._bufferService.buffer.ybase+this._bufferService.buffer.y,_=b-this._bufferService.buffer.ydisp;if(_<0||_>=this._bufferService.rows)this._clearCursor();else{var Q=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1);if(this._bufferService.buffer.lines.get(b).loadCell(Q,this._cell),this._cell.content!==void 0){if(!this._coreBrowserService.isFocused){this._clearCursor(),this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css;var S=this._optionsService.rawOptions.cursorStyle;return S&&S!=="block"?this._cursorRenderers[S](Q,_,this._cell):this._renderBlurCursor(Q,_,this._cell),this._ctx.restore(),this._state.x=Q,this._state.y=_,this._state.isFocused=!1,this._state.style=S,void(this._state.width=this._cell.getWidth())}if(!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isCursorVisible){if(this._state){if(this._state.x===Q&&this._state.y===_&&this._state.isFocused===this._coreBrowserService.isFocused&&this._state.style===this._optionsService.rawOptions.cursorStyle&&this._state.width===this._cell.getWidth())return;this._clearCursor()}this._ctx.save(),this._cursorRenderers[this._optionsService.rawOptions.cursorStyle||"block"](Q,_,this._cell),this._ctx.restore(),this._state.x=Q,this._state.y=_,this._state.isFocused=!1,this._state.style=this._optionsService.rawOptions.cursorStyle,this._state.width=this._cell.getWidth()}else this._clearCursor()}}}else this._clearCursor()},g.prototype._clearCursor=function(){this._state&&(window.devicePixelRatio<1?this._clearAll():this._clearCells(this._state.x,this._state.y,this._state.width,1),this._state={x:0,y:0,isFocused:!1,style:"",width:0})},g.prototype._renderBarCursor=function(v,b,_){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillLeftLineAtCell(v,b,this._optionsService.rawOptions.cursorWidth),this._ctx.restore()},g.prototype._renderBlockCursor=function(v,b,_){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillCells(v,b,_.getWidth(),1),this._ctx.fillStyle=this._colors.cursorAccent.css,this._fillCharTrueColor(_,v,b),this._ctx.restore()},g.prototype._renderUnderlineCursor=function(v,b,_){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillBottomLineAtCells(v,b),this._ctx.restore()},g.prototype._renderBlurCursor=function(v,b,_){this._ctx.save(),this._ctx.strokeStyle=this._colors.cursor.css,this._strokeRectAtCell(v,b,_.getWidth(),1),this._ctx.restore()},c([u(5,h.IBufferService),u(6,h.IOptionsService),u(7,h.ICoreService),u(8,p.ICoreBrowserService),u(9,h.IDecorationService)],g)}(O.BaseRenderLayer);s.CursorRenderLayer=$;var m=function(){function d(g,v){this._renderCallback=v,this.isCursorVisible=!0,g&&this._restartInterval()}return Object.defineProperty(d.prototype,"isPaused",{get:function(){return!(this._blinkStartTimeout||this._blinkInterval)},enumerable:!1,configurable:!0}),d.prototype.dispose=function(){this._blinkInterval&&(window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},d.prototype.restartBlinkAnimation=function(){var g=this;this.isPaused||(this._animationTimeRestarted=Date.now(),this.isCursorVisible=!0,this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){g._renderCallback(),g._animationFrame=void 0})))},d.prototype._restartInterval=function(g){var v=this;g===void 0&&(g=y),this._blinkInterval&&(window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout=window.setTimeout(function(){if(v._animationTimeRestarted){var b=y-(Date.now()-v._animationTimeRestarted);if(v._animationTimeRestarted=void 0,b>0)return void v._restartInterval(b)}v.isCursorVisible=!1,v._animationFrame=window.requestAnimationFrame(function(){v._renderCallback(),v._animationFrame=void 0}),v._blinkInterval=window.setInterval(function(){if(v._animationTimeRestarted){var _=y-(Date.now()-v._animationTimeRestarted);return v._animationTimeRestarted=void 0,void v._restartInterval(_)}v.isCursorVisible=!v.isCursorVisible,v._animationFrame=window.requestAnimationFrame(function(){v._renderCallback(),v._animationFrame=void 0})},y)},g)},d.prototype.pause=function(){this.isCursorVisible=!0,this._blinkInterval&&(window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},d.prototype.resume=function(){this.pause(),this._animationTimeRestarted=void 0,this._restartInterval(),this.restartBlinkAnimation()},d}()},8978:function(r,s,o){var a,l,c,u,O,f,h,p,y,$,m,d,g,v,b,_,Q,S,P,w,x,k,C,T,E,A,R,X,D,V,j,Z,ee,se,I,ne,H,re,G,Re,_e,ue,W,q,F,fe,he,ve,xe,me,le,oe,ce,K,ge,Te,Ye,Ae,ae,pe,Oe,Se,qe,ht,Ct,Ot,Pt,Ut,Bn,ur,Ws,Lo,Na,Fa,Ga,Bo,Ha,Ka,Mo,Ja,Yo,Sn,gi,Zo,el,Xf,Wf,zf,If,qf,Uf,Df,Lf,Bf,Mf,Yf,Zf,Vf,jf,Nf,Ff,Gf,Hf,Kf,Jf,eO,tO,nO,iO,rO,sO,oO,Fp,Gp,Hp,Kp,Jp,e0,t0,n0,i0,r0,s0,o0,a0,l0,c0,u0,E1=this&&this.__read||function(ye,$e){var vn=typeof Symbol=="function"&&ye[Symbol.iterator];if(!vn)return ye;var oi,Cr,vi=vn.call(ye),hn=[];try{for(;($e===void 0||$e-- >0)&&!(oi=vi.next()).done;)hn.push(oi.value)}catch(Bi){Cr={error:Bi}}finally{try{oi&&!oi.done&&(vn=vi.return)&&vn.call(vi)}finally{if(Cr)throw Cr.error}}return hn},f0=this&&this.__values||function(ye){var $e=typeof Symbol=="function"&&Symbol.iterator,vn=$e&&ye[$e],oi=0;if(vn)return vn.call(ye);if(ye&&typeof ye.length=="number")return{next:function(){return ye&&oi>=ye.length&&(ye=void 0),{value:ye&&ye[oi++],done:!ye}}};throw new TypeError($e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(s,"__esModule",{value:!0}),s.tryDrawCustomChar=s.powerlineDefinitions=s.boxDrawingDefinitions=s.blockElementDefinitions=void 0;var X1=o(1752);s.blockElementDefinitions={"\u2580":[{x:0,y:0,w:8,h:4}],"\u2581":[{x:0,y:7,w:8,h:1}],"\u2582":[{x:0,y:6,w:8,h:2}],"\u2583":[{x:0,y:5,w:8,h:3}],"\u2584":[{x:0,y:4,w:8,h:4}],"\u2585":[{x:0,y:3,w:8,h:5}],"\u2586":[{x:0,y:2,w:8,h:6}],"\u2587":[{x:0,y:1,w:8,h:7}],"\u2588":[{x:0,y:0,w:8,h:8}],"\u2589":[{x:0,y:0,w:7,h:8}],"\u258A":[{x:0,y:0,w:6,h:8}],"\u258B":[{x:0,y:0,w:5,h:8}],"\u258C":[{x:0,y:0,w:4,h:8}],"\u258D":[{x:0,y:0,w:3,h:8}],"\u258E":[{x:0,y:0,w:2,h:8}],"\u258F":[{x:0,y:0,w:1,h:8}],"\u2590":[{x:4,y:0,w:4,h:8}],"\u2594":[{x:0,y:0,w:9,h:1}],"\u2595":[{x:7,y:0,w:1,h:8}],"\u2596":[{x:0,y:4,w:4,h:4}],"\u2597":[{x:4,y:4,w:4,h:4}],"\u2598":[{x:0,y:0,w:4,h:4}],"\u2599":[{x:0,y:0,w:4,h:8},{x:0,y:4,w:8,h:4}],"\u259A":[{x:0,y:0,w:4,h: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u{1FB87}":[{x:6,y:0,w:2,h:8}],"\u{1FB88}":[{x:5,y:0,w:3,h:8}],"\u{1FB89}":[{x:3,y:0,w:5,h:8}],"\u{1FB8A}":[{x:2,y:0,w:6,h:8}],"\u{1FB8B}":[{x:1,y:0,w:7,h:8}],"\u{1FB95}":[{x:0,y:0,w:2,h:2},{x:4,y:0,w:2,h:2},{x:2,y:2,w:2,h:2},{x:6,y:2,w:2,h:2},{x:0,y:4,w:2,h:2},{x:4,y:4,w:2,h:2},{x:2,y:6,w:2,h:2},{x:6,y:6,w:2,h:2}],"\u{1FB96}":[{x:2,y:0,w:2,h:2},{x:6,y:0,w:2,h:2},{x:0,y:2,w:2,h:2},{x:4,y:2,w:2,h:2},{x:2,y:4,w:2,h:2},{x:6,y:4,w:2,h:2},{x:0,y:6,w:2,h:2},{x:4,y:6,w:2,h:2}],"\u{1FB97}":[{x:0,y:2,w:8,h:2},{x:0,y:6,w:8,h:2}]};var hX={"\u2591":[[1,0,0,0],[0,0,0,0],[0,0,1,0],[0,0,0,0]],"\u2592":[[1,0],[0,0],[0,1],[0,0]],"\u2593":[[0,1],[1,1],[1,0],[1,1]]};s.boxDrawingDefinitions={"\u2500":(a={},a[1]="M0,.5 L1,.5",a),"\u2501":(l={},l[3]="M0,.5 L1,.5",l),"\u2502":(c={},c[1]="M.5,0 L.5,1",c),"\u2503":(u={},u[3]="M.5,0 L.5,1",u),"\u250C":(O={},O[1]="M0.5,1 L.5,.5 L1,.5",O),"\u250F":(f={},f[3]="M0.5,1 L.5,.5 L1,.5",f),"\u2510":(h={},h[1]="M0,.5 L.5,.5 L.5,1",h),"\u2513":(p={},p[3]="M0,.5 L.5,.5 L.5,1",p),"\u2514":(y={},y[1]="M.5,0 L.5,.5 L1,.5",y),"\u2517":($={},$[3]="M.5,0 L.5,.5 L1,.5",$),"\u2518":(m={},m[1]="M.5,0 L.5,.5 L0,.5",m),"\u251B":(d={},d[3]="M.5,0 L.5,.5 L0,.5",d),"\u251C":(g={},g[1]="M.5,0 L.5,1 M.5,.5 L1,.5",g),"\u2523":(v={},v[3]="M.5,0 L.5,1 M.5,.5 L1,.5",v),"\u2524":(b={},b[1]="M.5,0 L.5,1 M.5,.5 L0,.5",b),"\u252B":(_={},_[3]="M.5,0 L.5,1 M.5,.5 L0,.5",_),"\u252C":(Q={},Q[1]="M0,.5 L1,.5 M.5,.5 L.5,1",Q),"\u2533":(S={},S[3]="M0,.5 L1,.5 M.5,.5 L.5,1",S),"\u2534":(P={},P[1]="M0,.5 L1,.5 M.5,.5 L.5,0",P),"\u253B":(w={},w[3]="M0,.5 L1,.5 M.5,.5 L.5,0",w),"\u253C":(x={},x[1]="M0,.5 L1,.5 M.5,0 L.5,1",x),"\u254B":(k={},k[3]="M0,.5 L1,.5 M.5,0 L.5,1",k),"\u2574":(C={},C[1]="M.5,.5 L0,.5",C),"\u2578":(T={},T[3]="M.5,.5 L0,.5",T),"\u2575":(E={},E[1]="M.5,.5 L.5,0",E),"\u2579":(A={},A[3]="M.5,.5 L.5,0",A),"\u2576":(R={},R[1]="M.5,.5 L1,.5",R),"\u257A":(X={},X[3]="M.5,.5 L1,.5",X),"\u2577":(D={},D[1]="M.5,.5 L.5,1",D),"\u257B":(V={},V[3]="M.5,.5 L.5,1",V),"\u2550":(j={},j[1]=function(ye,$e){return"M0,"+(.5-$e)+" L1,"+(.5-$e)+" M0,"+(.5+$e)+" L1,"+(.5+$e)},j),"\u2551":(Z={},Z[1]=function(ye,$e){return"M"+(.5-ye)+",0 L"+(.5-ye)+",1 M"+(.5+ye)+",0 L"+(.5+ye)+",1"},Z),"\u2552":(ee={},ee[1]=function(ye,$e){return"M.5,1 L.5,"+(.5-$e)+" L1,"+(.5-$e)+" M.5,"+(.5+$e)+" L1,"+(.5+$e)},ee),"\u2553":(se={},se[1]=function(ye,$e){return"M"+(.5-ye)+",1 L"+(.5-ye)+",.5 L1,.5 M"+(.5+ye)+",.5 L"+(.5+ye)+",1"},se),"\u2554":(I={},I[1]=function(ye,$e){return"M1,"+(.5-$e)+" L"+(.5-ye)+","+(.5-$e)+" L"+(.5-ye)+",1 M1,"+(.5+$e)+" L"+(.5+ye)+","+(.5+$e)+" L"+(.5+ye)+",1"},I),"\u2555":(ne={},ne[1]=function(ye,$e){return"M0,"+(.5-$e)+" L.5,"+(.5-$e)+" L.5,1 M0,"+(.5+$e)+" L.5,"+(.5+$e)},ne),"\u2556":(H={},H[1]=function(ye,$e){return"M"+(.5+ye)+",1 L"+(.5+ye)+",.5 L0,.5 M"+(.5-ye)+",.5 L"+(.5-ye)+",1"},H),"\u2557":(re={},re[1]=function(ye,$e){return"M0,"+(.5+$e)+" L"+(.5-ye)+","+(.5+$e)+" L"+(.5-ye)+",1 M0,"+(.5-$e)+" L"+(.5+ye)+","+(.5-$e)+" L"+(.5+ye)+",1"},re),"\u2558":(G={},G[1]=function(ye,$e){return"M.5,0 L.5,"+(.5+$e)+" L1,"+(.5+$e)+" M.5,"+(.5-$e)+" L1,"+(.5-$e)},G),"\u2559":(Re={},Re[1]=function(ye,$e){return"M1,.5 L"+(.5-ye)+",.5 L"+(.5-ye)+",0 M"+(.5+ye)+",.5 L"+(.5+ye)+",0"},Re),"\u255A":(_e={},_e[1]=function(ye,$e){return"M1,"+(.5-$e)+" L"+(.5+ye)+","+(.5-$e)+" L"+(.5+ye)+",0 M1,"+(.5+$e)+" L"+(.5-ye)+","+(.5+$e)+" L"+(.5-ye)+",0"},_e),"\u255B":(ue={},ue[1]=function(ye,$e){return"M0,"+(.5+$e)+" L.5,"+(.5+$e)+" L.5,0 M0,"+(.5-$e)+" L.5,"+(.5-$e)},ue),"\u255C":(W={},W[1]=function(ye,$e){return"M0,.5 L"+(.5+ye)+",.5 L"+(.5+ye)+",0 M"+(.5-ye)+",.5 L"+(.5-ye)+",0"},W),"\u255D":(q={},q[1]=function(ye,$e){return"M0,"+(.5-$e)+" L"+(.5-ye)+","+(.5-$e)+" L"+(.5-ye)+",0 M0,"+(.5+$e)+" L"+(.5+ye)+","+(.5+$e)+" L"+(.5+ye)+",0"},q),"\u255E":(F={},F[1]=function(ye,$e){return"M.5,0 L.5,1 M.5,"+(.5-$e)+" L1,"+(.5-$e)+" M.5,"+(.5+$e)+" L1,"+(.5+$e)},F),"\u255F":(fe={},fe[1]=function(ye,$e){return"M"+(.5-ye)+",0 L"+(.5-ye)+",1 M"+(.5+ye)+",0 L"+(.5+ye)+",1 M"+(.5+ye)+",.5 L1,.5"},fe),"\u2560":(he={},he[1]=function(ye,$e){return"M"+(.5-ye)+",0 L"+(.5-ye)+",1 M1,"+(.5+$e)+" L"+(.5+ye)+","+(.5+$e)+" L"+(.5+ye)+",1 M1,"+(.5-$e)+" L"+(.5+ye)+","+(.5-$e)+" L"+(.5+ye)+",0"},he),"\u2561":(ve={},ve[1]=function(ye,$e){return"M.5,0 L.5,1 M0,"+(.5-$e)+" L.5,"+(.5-$e)+" M0,"+(.5+$e)+" L.5,"+(.5+$e)},ve),"\u2562":(xe={},xe[1]=function(ye,$e){return"M0,.5 L"+(.5-ye)+",.5 M"+(.5-ye)+",0 L"+(.5-ye)+",1 M"+(.5+ye)+",0 L"+(.5+ye)+",1"},xe),"\u2563":(me={},me[1]=function(ye,$e){return"M"+(.5+ye)+",0 L"+(.5+ye)+",1 M0,"+(.5+$e)+" L"+(.5-ye)+","+(.5+$e)+" L"+(.5-ye)+",1 M0,"+(.5-$e)+" L"+(.5-ye)+","+(.5-$e)+" L"+(.5-ye)+",0"},me),"\u2564":(le={},le[1]=function(ye,$e){return"M0,"+(.5-$e)+" L1,"+(.5-$e)+" M0,"+(.5+$e)+" L1,"+(.5+$e)+" M.5,"+(.5+$e)+" L.5,1"},le),"\u2565":(oe={},oe[1]=function(ye,$e){return"M0,.5 L1,.5 M"+(.5-ye)+",.5 L"+(.5-ye)+",1 M"+(.5+ye)+",.5 L"+(.5+ye)+",1"},oe),"\u2566":(ce={},ce[1]=function(ye,$e){return"M0,"+(.5-$e)+" L1,"+(.5-$e)+" M0,"+(.5+$e)+" L"+(.5-ye)+","+(.5+$e)+" L"+(.5-ye)+",1 M1,"+(.5+$e)+" L"+(.5+ye)+","+(.5+$e)+" L"+(.5+ye)+",1"},ce),"\u2567":(K={},K[1]=function(ye,$e){return"M.5,0 L.5,"+(.5-$e)+" M0,"+(.5-$e)+" L1,"+(.5-$e)+" M0,"+(.5+$e)+" L1,"+(.5+$e)},K),"\u2568":(ge={},ge[1]=function(ye,$e){return"M0,.5 L1,.5 M"+(.5-ye)+",.5 L"+(.5-ye)+",0 M"+(.5+ye)+",.5 L"+(.5+ye)+",0"},ge),"\u2569":(Te={},Te[1]=function(ye,$e){return"M0,"+(.5+$e)+" L1,"+(.5+$e)+" M0,"+(.5-$e)+" L"+(.5-ye)+","+(.5-$e)+" L"+(.5-ye)+",0 M1,"+(.5-$e)+" L"+(.5+ye)+","+(.5-$e)+" L"+(.5+ye)+",0"},Te),"\u256A":(Ye={},Ye[1]=function(ye,$e){return"M.5,0 L.5,1 M0,"+(.5-$e)+" L1,"+(.5-$e)+" M0,"+(.5+$e)+" L1,"+(.5+$e)},Ye),"\u256B":(Ae={},Ae[1]=function(ye,$e){return"M0,.5 L1,.5 M"+(.5-ye)+",0 L"+(.5-ye)+",1 M"+(.5+ye)+",0 L"+(.5+ye)+",1"},Ae),"\u256C":(ae={},ae[1]=function(ye,$e){return"M0,"+(.5+$e)+" L"+(.5-ye)+","+(.5+$e)+" L"+(.5-ye)+",1 M1,"+(.5+$e)+" L"+(.5+ye)+","+(.5+$e)+" L"+(.5+ye)+",1 M0,"+(.5-$e)+" L"+(.5-ye)+","+(.5-$e)+" L"+(.5-ye)+",0 M1,"+(.5-$e)+" L"+(.5+ye)+","+(.5-$e)+" L"+(.5+ye)+",0"},ae),"\u2571":(pe={},pe[1]="M1,0 L0,1",pe),"\u2572":(Oe={},Oe[1]="M0,0 L1,1",Oe),"\u2573":(Se={},Se[1]="M1,0 L0,1 M0,0 L1,1",Se),"\u257C":(qe={},qe[1]="M.5,.5 L0,.5",qe[3]="M.5,.5 L1,.5",qe),"\u257D":(ht={},ht[1]="M.5,.5 L.5,0",ht[3]="M.5,.5 L.5,1",ht),"\u257E":(Ct={},Ct[1]="M.5,.5 L1,.5",Ct[3]="M.5,.5 L0,.5",Ct),"\u257F":(Ot={},Ot[1]="M.5,.5 L.5,1",Ot[3]="M.5,.5 L.5,0",Ot),"\u250D":(Pt={},Pt[1]="M.5,.5 L.5,1",Pt[3]="M.5,.5 L1,.5",Pt),"\u250E":(Ut={},Ut[1]="M.5,.5 L1,.5",Ut[3]="M.5,.5 L.5,1",Ut),"\u2511":(Bn={},Bn[1]="M.5,.5 L.5,1",Bn[3]="M.5,.5 L0,.5",Bn),"\u2512":(ur={},ur[1]="M.5,.5 L0,.5",ur[3]="M.5,.5 L.5,1",ur),"\u2515":(Ws={},Ws[1]="M.5,.5 L.5,0",Ws[3]="M.5,.5 L1,.5",Ws),"\u2516":(Lo={},Lo[1]="M.5,.5 L1,.5",Lo[3]="M.5,.5 L.5,0",Lo),"\u2519":(Na={},Na[1]="M.5,.5 L.5,0",Na[3]="M.5,.5 L0,.5",Na),"\u251A":(Fa={},Fa[1]="M.5,.5 L0,.5",Fa[3]="M.5,.5 L.5,0",Fa),"\u251D":(Ga={},Ga[1]="M.5,0 L.5,1",Ga[3]="M.5,.5 L1,.5",Ga),"\u251E":(Bo={},Bo[1]="M0.5,1 L.5,.5 L1,.5",Bo[3]="M.5,.5 L.5,0",Bo),"\u251F":(Ha={},Ha[1]="M.5,0 L.5,.5 L1,.5",Ha[3]="M.5,.5 L.5,1",Ha),"\u2520":(Ka={},Ka[1]="M.5,.5 L1,.5",Ka[3]="M.5,0 L.5,1",Ka),"\u2521":(Mo={},Mo[1]="M.5,.5 L.5,1",Mo[3]="M.5,0 L.5,.5 L1,.5",Mo),"\u2522":(Ja={},Ja[1]="M.5,.5 L.5,0",Ja[3]="M0.5,1 L.5,.5 L1,.5",Ja),"\u2525":(Yo={},Yo[1]="M.5,0 L.5,1",Yo[3]="M.5,.5 L0,.5",Yo),"\u2526":(Sn={},Sn[1]="M0,.5 L.5,.5 L.5,1",Sn[3]="M.5,.5 L.5,0",Sn),"\u2527":(gi={},gi[1]="M.5,0 L.5,.5 L0,.5",gi[3]="M.5,.5 L.5,1",gi),"\u2528":(Zo={},Zo[1]="M.5,.5 L0,.5",Zo[3]="M.5,0 L.5,1",Zo),"\u2529":(el={},el[1]="M.5,.5 L.5,1",el[3]="M.5,0 L.5,.5 L0,.5",el),"\u252A":(Xf={},Xf[1]="M.5,.5 L.5,0",Xf[3]="M0,.5 L.5,.5 L.5,1",Xf),"\u252D":(Wf={},Wf[1]="M0.5,1 L.5,.5 L1,.5",Wf[3]="M.5,.5 L0,.5",Wf),"\u252E":(zf={},zf[1]="M0,.5 L.5,.5 L.5,1",zf[3]="M.5,.5 L1,.5",zf),"\u252F":(If={},If[1]="M.5,.5 L.5,1",If[3]="M0,.5 L1,.5",If),"\u2530":(qf={},qf[1]="M0,.5 L1,.5",qf[3]="M.5,.5 L.5,1",qf),"\u2531":(Uf={},Uf[1]="M.5,.5 L1,.5",Uf[3]="M0,.5 L.5,.5 L.5,1",Uf),"\u2532":(Df={},Df[1]="M.5,.5 L0,.5",Df[3]="M0.5,1 L.5,.5 L1,.5",Df),"\u2535":(Lf={},Lf[1]="M.5,0 L.5,.5 L1,.5",Lf[3]="M.5,.5 L0,.5",Lf),"\u2536":(Bf={},Bf[1]="M.5,0 L.5,.5 L0,.5",Bf[3]="M.5,.5 L1,.5",Bf),"\u2537":(Mf={},Mf[1]="M.5,.5 L.5,0",Mf[3]="M0,.5 L1,.5",Mf),"\u2538":(Yf={},Yf[1]="M0,.5 L1,.5",Yf[3]="M.5,.5 L.5,0",Yf),"\u2539":(Zf={},Zf[1]="M.5,.5 L1,.5",Zf[3]="M.5,0 L.5,.5 L0,.5",Zf),"\u253A":(Vf={},Vf[1]="M.5,.5 L0,.5",Vf[3]="M.5,0 L.5,.5 L1,.5",Vf),"\u253D":(jf={},jf[1]="M.5,0 L.5,1 M.5,.5 L1,.5",jf[3]="M.5,.5 L0,.5",jf),"\u253E":(Nf={},Nf[1]="M.5,0 L.5,1 M.5,.5 L0,.5",Nf[3]="M.5,.5 L1,.5",Nf),"\u253F":(Ff={},Ff[1]="M.5,0 L.5,1",Ff[3]="M0,.5 L1,.5",Ff),"\u2540":(Gf={},Gf[1]="M0,.5 L1,.5 M.5,.5 L.5,1",Gf[3]="M.5,.5 L.5,0",Gf),"\u2541":(Hf={},Hf[1]="M.5,.5 L.5,0 M0,.5 L1,.5",Hf[3]="M.5,.5 L.5,1",Hf),"\u2542":(Kf={},Kf[1]="M0,.5 L1,.5",Kf[3]="M.5,0 L.5,1",Kf),"\u2543":(Jf={},Jf[1]="M0.5,1 L.5,.5 L1,.5",Jf[3]="M.5,0 L.5,.5 L0,.5",Jf),"\u2544":(eO={},eO[1]="M0,.5 L.5,.5 L.5,1",eO[3]="M.5,0 L.5,.5 L1,.5",eO),"\u2545":(tO={},tO[1]="M.5,0 L.5,.5 L1,.5",tO[3]="M0,.5 L.5,.5 L.5,1",tO),"\u2546":(nO={},nO[1]="M.5,0 L.5,.5 L0,.5",nO[3]="M0.5,1 L.5,.5 L1,.5",nO),"\u2547":(iO={},iO[1]="M.5,.5 L.5,1",iO[3]="M.5,.5 L.5,0 M0,.5 L1,.5",iO),"\u2548":(rO={},rO[1]="M.5,.5 L.5,0",rO[3]="M0,.5 L1,.5 M.5,.5 L.5,1",rO),"\u2549":(sO={},sO[1]="M.5,.5 L1,.5",sO[3]="M.5,0 L.5,1 M.5,.5 L0,.5",sO),"\u254A":(oO={},oO[1]="M.5,.5 L0,.5",oO[3]="M.5,0 L.5,1 M.5,.5 L1,.5",oO),"\u254C":(Fp={},Fp[1]="M.1,.5 L.4,.5 M.6,.5 L.9,.5",Fp),"\u254D":(Gp={},Gp[3]="M.1,.5 L.4,.5 M.6,.5 L.9,.5",Gp),"\u2504":(Hp={},Hp[1]="M.0667,.5 L.2667,.5 M.4,.5 L.6,.5 M.7333,.5 L.9333,.5",Hp),"\u2505":(Kp={},Kp[3]="M.0667,.5 L.2667,.5 M.4,.5 L.6,.5 M.7333,.5 L.9333,.5",Kp),"\u2508":(Jp={},Jp[1]="M.05,.5 L.2,.5 M.3,.5 L.45,.5 M.55,.5 L.7,.5 M.8,.5 L.95,.5",Jp),"\u2509":(e0={},e0[3]="M.05,.5 L.2,.5 M.3,.5 L.45,.5 M.55,.5 L.7,.5 M.8,.5 L.95,.5",e0),"\u254E":(t0={},t0[1]="M.5,.1 L.5,.4 M.5,.6 L.5,.9",t0),"\u254F":(n0={},n0[3]="M.5,.1 L.5,.4 M.5,.6 L.5,.9",n0),"\u2506":(i0={},i0[1]="M.5,.0667 L.5,.2667 M.5,.4 L.5,.6 M.5,.7333 L.5,.9333",i0),"\u2507":(r0={},r0[3]="M.5,.0667 L.5,.2667 M.5,.4 L.5,.6 M.5,.7333 L.5,.9333",r0),"\u250A":(s0={},s0[1]="M.5,.05 L.5,.2 M.5,.3 L.5,.45 L.5,.55 M.5,.7 L.5,.95",s0),"\u250B":(o0={},o0[3]="M.5,.05 L.5,.2 M.5,.3 L.5,.45 L.5,.55 M.5,.7 L.5,.95",o0),"\u256D":(a0={},a0[1]="C.5,1,.5,.5,1,.5",a0),"\u256E":(l0={},l0[1]="C.5,1,.5,.5,0,.5",l0),"\u256F":(c0={},c0[1]="C.5,0,.5,.5,0,.5",c0),"\u2570":(u0={},u0[1]="C.5,0,.5,.5,1,.5",u0)},s.powerlineDefinitions={"\uE0B0":{d:"M0,0 L1,.5 L0,1",type:0},"\uE0B1":{d:"M0,0 L1,.5 L0,1",type:1,horizontalPadding:.5},"\uE0B2":{d:"M1,0 L0,.5 L1,1",type:0},"\uE0B3":{d:"M1,0 L0,.5 L1,1",type:1,horizontalPadding:.5}},s.tryDrawCustomChar=function(ye,$e,vn,oi,Cr,vi){var hn=s.blockElementDefinitions[$e];if(hn)return function(nn,ai,Vo,jo,zs,Is){for(var Mn=0;Mn7&&parseInt(Mt.slice(7,9),16)||1;else{if(!Mt.startsWith("rgba"))throw new Error('Unexpected fillStyle color format "'+Mt+'" when drawing pattern glyph');tl=(Mn=E1(Mt.substring(5,Mt.length-1).split(",").map(function(Cc){return parseFloat(Cc)}),4))[0],qs=Mn[1],ss=Mn[2],nl=Mn[3]}for(var Ar=0;Ar{Object.defineProperty(s,"__esModule",{value:!0}),s.GridCache=void 0;var o=function(){function a(){this.cache=[]}return a.prototype.resize=function(l,c){for(var u=0;u=0;Q--)(v=$[Q])&&(_=(b<3?v(_):b>3?v(m,d,_):v(m,d))||_);return b>3&&_&&Object.defineProperty(m,d,_),_},u=this&&this.__param||function($,m){return function(d,g){m(d,g,$)}};Object.defineProperty(s,"__esModule",{value:!0}),s.LinkRenderLayer=void 0;var O=o(1546),f=o(8803),h=o(2040),p=o(2585),y=function($){function m(d,g,v,b,_,Q,S,P,w){var x=$.call(this,d,"link",g,!0,v,b,S,P,w)||this;return _.onShowLinkUnderline(function(k){return x._onShowLinkUnderline(k)}),_.onHideLinkUnderline(function(k){return x._onHideLinkUnderline(k)}),Q.onShowLinkUnderline(function(k){return x._onShowLinkUnderline(k)}),Q.onHideLinkUnderline(function(k){return x._onHideLinkUnderline(k)}),x}return l(m,$),m.prototype.resize=function(d){$.prototype.resize.call(this,d),this._state=void 0},m.prototype.reset=function(){this._clearCurrentLink()},m.prototype._clearCurrentLink=function(){if(this._state){this._clearCells(this._state.x1,this._state.y1,this._state.cols-this._state.x1,1);var d=this._state.y2-this._state.y1-1;d>0&&this._clearCells(0,this._state.y1+1,this._state.cols,d),this._clearCells(0,this._state.y2,this._state.x2,1),this._state=void 0}},m.prototype._onShowLinkUnderline=function(d){if(d.fg===f.INVERTED_DEFAULT_COLOR?this._ctx.fillStyle=this._colors.background.css:d.fg&&(0,h.is256Color)(d.fg)?this._ctx.fillStyle=this._colors.ansi[d.fg].css:this._ctx.fillStyle=this._colors.foreground.css,d.y1===d.y2)this._fillBottomLineAtCells(d.x1,d.y1,d.x2-d.x1);else{this._fillBottomLineAtCells(d.x1,d.y1,d.cols-d.x1);for(var g=d.y1+1;g=0;T--)(x=Q[T])&&(C=(k<3?x(C):k>3?x(S,P,C):x(S,P))||C);return k>3&&C&&Object.defineProperty(S,P,C),C},u=this&&this.__param||function(Q,S){return function(P,w){S(P,w,Q)}},O=this&&this.__values||function(Q){var S=typeof Symbol=="function"&&Symbol.iterator,P=S&&Q[S],w=0;if(P)return P.call(Q);if(Q&&typeof Q.length=="number")return{next:function(){return Q&&w>=Q.length&&(Q=void 0),{value:Q&&Q[w++],done:!Q}}};throw new TypeError(S?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(s,"__esModule",{value:!0}),s.Renderer=void 0;var f=o(9596),h=o(4149),p=o(2512),y=o(5098),$=o(844),m=o(4725),d=o(2585),g=o(1420),v=o(8460),b=1,_=function(Q){function S(P,w,x,k,C,T,E,A){var R=Q.call(this)||this;R._colors=P,R._screenElement=w,R._bufferService=T,R._charSizeService=E,R._optionsService=A,R._id=b++,R._onRequestRedraw=new v.EventEmitter;var X=R._optionsService.rawOptions.allowTransparency;return R._renderLayers=[C.createInstance(f.TextRenderLayer,R._screenElement,0,R._colors,X,R._id),C.createInstance(h.SelectionRenderLayer,R._screenElement,1,R._colors,R._id),C.createInstance(y.LinkRenderLayer,R._screenElement,2,R._colors,R._id,x,k),C.createInstance(p.CursorRenderLayer,R._screenElement,3,R._colors,R._id,R._onRequestRedraw)],R.dimensions={scaledCharWidth:0,scaledCharHeight:0,scaledCellWidth:0,scaledCellHeight:0,scaledCharLeft:0,scaledCharTop:0,scaledCanvasWidth:0,scaledCanvasHeight:0,canvasWidth:0,canvasHeight:0,actualCellWidth:0,actualCellHeight:0},R._devicePixelRatio=window.devicePixelRatio,R._updateDimensions(),R.onOptionsChanged(),R}return l(S,Q),Object.defineProperty(S.prototype,"onRequestRedraw",{get:function(){return this._onRequestRedraw.event},enumerable:!1,configurable:!0}),S.prototype.dispose=function(){var P,w;try{for(var x=O(this._renderLayers),k=x.next();!k.done;k=x.next())k.value.dispose()}catch(C){P={error:C}}finally{try{k&&!k.done&&(w=x.return)&&w.call(x)}finally{if(P)throw P.error}}Q.prototype.dispose.call(this),(0,g.removeTerminalFromCache)(this._id)},S.prototype.onDevicePixelRatioChange=function(){this._devicePixelRatio!==window.devicePixelRatio&&(this._devicePixelRatio=window.devicePixelRatio,this.onResize(this._bufferService.cols,this._bufferService.rows))},S.prototype.setColors=function(P){var w,x;this._colors=P;try{for(var k=O(this._renderLayers),C=k.next();!C.done;C=k.next()){var T=C.value;T.setColors(this._colors),T.reset()}}catch(E){w={error:E}}finally{try{C&&!C.done&&(x=k.return)&&x.call(k)}finally{if(w)throw w.error}}},S.prototype.onResize=function(P,w){var x,k;this._updateDimensions();try{for(var C=O(this._renderLayers),T=C.next();!T.done;T=C.next())T.value.resize(this.dimensions)}catch(E){x={error:E}}finally{try{T&&!T.done&&(k=C.return)&&k.call(C)}finally{if(x)throw x.error}}this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},S.prototype.onCharSizeChanged=function(){this.onResize(this._bufferService.cols,this._bufferService.rows)},S.prototype.onBlur=function(){this._runOperation(function(P){return P.onBlur()})},S.prototype.onFocus=function(){this._runOperation(function(P){return P.onFocus()})},S.prototype.onSelectionChanged=function(P,w,x){x===void 0&&(x=!1),this._runOperation(function(k){return k.onSelectionChanged(P,w,x)}),this._colors.selectionForeground&&this._onRequestRedraw.fire({start:0,end:this._bufferService.rows-1})},S.prototype.onCursorMove=function(){this._runOperation(function(P){return P.onCursorMove()})},S.prototype.onOptionsChanged=function(){this._runOperation(function(P){return P.onOptionsChanged()})},S.prototype.clear=function(){this._runOperation(function(P){return P.reset()})},S.prototype._runOperation=function(P){var w,x;try{for(var k=O(this._renderLayers),C=k.next();!C.done;C=k.next())P(C.value)}catch(T){w={error:T}}finally{try{C&&!C.done&&(x=k.return)&&x.call(k)}finally{if(w)throw w.error}}},S.prototype.renderRows=function(P,w){var x,k;try{for(var C=O(this._renderLayers),T=C.next();!T.done;T=C.next())T.value.onGridChanged(P,w)}catch(E){x={error:E}}finally{try{T&&!T.done&&(k=C.return)&&k.call(C)}finally{if(x)throw x.error}}},S.prototype.clearTextureAtlas=function(){var P,w;try{for(var x=O(this._renderLayers),k=x.next();!k.done;k=x.next())k.value.clearTextureAtlas()}catch(C){P={error:C}}finally{try{k&&!k.done&&(w=x.return)&&w.call(x)}finally{if(P)throw P.error}}},S.prototype._updateDimensions=function(){this._charSizeService.hasValidSize&&(this.dimensions.scaledCharWidth=Math.floor(this._charSizeService.width*window.devicePixelRatio),this.dimensions.scaledCharHeight=Math.ceil(this._charSizeService.height*window.devicePixelRatio),this.dimensions.scaledCellHeight=Math.floor(this.dimensions.scaledCharHeight*this._optionsService.rawOptions.lineHeight),this.dimensions.scaledCharTop=this._optionsService.rawOptions.lineHeight===1?0:Math.round((this.dimensions.scaledCellHeight-this.dimensions.scaledCharHeight)/2),this.dimensions.scaledCellWidth=this.dimensions.scaledCharWidth+Math.round(this._optionsService.rawOptions.letterSpacing),this.dimensions.scaledCharLeft=Math.floor(this._optionsService.rawOptions.letterSpacing/2),this.dimensions.scaledCanvasHeight=this._bufferService.rows*this.dimensions.scaledCellHeight,this.dimensions.scaledCanvasWidth=this._bufferService.cols*this.dimensions.scaledCellWidth,this.dimensions.canvasHeight=Math.round(this.dimensions.scaledCanvasHeight/window.devicePixelRatio),this.dimensions.canvasWidth=Math.round(this.dimensions.scaledCanvasWidth/window.devicePixelRatio),this.dimensions.actualCellHeight=this.dimensions.canvasHeight/this._bufferService.rows,this.dimensions.actualCellWidth=this.dimensions.canvasWidth/this._bufferService.cols)},c([u(4,d.IInstantiationService),u(5,d.IBufferService),u(6,m.ICharSizeService),u(7,d.IOptionsService)],S)}($.Disposable);s.Renderer=_},1752:(r,s)=>{function o(a){return 57508<=a&&a<=57558}Object.defineProperty(s,"__esModule",{value:!0}),s.excludeFromContrastRatioDemands=s.isPowerlineGlyph=s.throwIfFalsy=void 0,s.throwIfFalsy=function(a){if(!a)throw new Error("value must not be falsy");return a},s.isPowerlineGlyph=o,s.excludeFromContrastRatioDemands=function(a){return o(a)||function(l){return 9472<=l&&l<=9631}(a)}},4149:function(r,s,o){var a,l=this&&this.__extends||(a=function(p,y){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function($,m){$.__proto__=m}||function($,m){for(var d in m)Object.prototype.hasOwnProperty.call(m,d)&&($[d]=m[d])},a(p,y)},function(p,y){if(typeof y!="function"&&y!==null)throw new TypeError("Class extends value "+String(y)+" is not a constructor or null");function $(){this.constructor=p}a(p,y),p.prototype=y===null?Object.create(y):($.prototype=y.prototype,new $)}),c=this&&this.__decorate||function(p,y,$,m){var d,g=arguments.length,v=g<3?y:m===null?m=Object.getOwnPropertyDescriptor(y,$):m;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")v=Reflect.decorate(p,y,$,m);else for(var b=p.length-1;b>=0;b--)(d=p[b])&&(v=(g<3?d(v):g>3?d(y,$,v):d(y,$))||v);return g>3&&v&&Object.defineProperty(y,$,v),v},u=this&&this.__param||function(p,y){return function($,m){y($,m,p)}};Object.defineProperty(s,"__esModule",{value:!0}),s.SelectionRenderLayer=void 0;var O=o(1546),f=o(2585),h=function(p){function y($,m,d,g,v,b,_){var Q=p.call(this,$,"selection",m,!0,d,g,v,b,_)||this;return Q._clearState(),Q}return l(y,p),y.prototype._clearState=function(){this._state={start:void 0,end:void 0,columnSelectMode:void 0,ydisp:void 0}},y.prototype.resize=function($){p.prototype.resize.call(this,$),this._clearState()},y.prototype.reset=function(){this._state.start&&this._state.end&&(this._clearState(),this._clearAll())},y.prototype.onSelectionChanged=function($,m,d){if(p.prototype.onSelectionChanged.call(this,$,m,d),this._didStateChange($,m,d,this._bufferService.buffer.ydisp))if(this._clearAll(),$&&m){var g=$[1]-this._bufferService.buffer.ydisp,v=m[1]-this._bufferService.buffer.ydisp,b=Math.max(g,0),_=Math.min(v,this._bufferService.rows-1);if(b>=this._bufferService.rows||_<0)this._state.ydisp=this._bufferService.buffer.ydisp;else{if(this._ctx.fillStyle=this._colors.selectionTransparent.css,d){var Q=$[0],S=m[0]-Q,P=_-b+1;this._fillCells(Q,b,S,P)}else{Q=g===b?$[0]:0;var w=b===v?m[0]:this._bufferService.cols;this._fillCells(Q,b,w-Q,1);var x=Math.max(_-b-1,0);if(this._fillCells(0,b+1,this._bufferService.cols,x),b!==_){var k=v===_?m[0]:this._bufferService.cols;this._fillCells(0,_,k,1)}}this._state.start=[$[0],$[1]],this._state.end=[m[0],m[1]],this._state.columnSelectMode=d,this._state.ydisp=this._bufferService.buffer.ydisp}}else this._clearState()},y.prototype._didStateChange=function($,m,d,g){return!this._areCoordinatesEqual($,this._state.start)||!this._areCoordinatesEqual(m,this._state.end)||d!==this._state.columnSelectMode||g!==this._state.ydisp},y.prototype._areCoordinatesEqual=function($,m){return!(!$||!m)&&$[0]===m[0]&&$[1]===m[1]},c([u(4,f.IBufferService),u(5,f.IOptionsService),u(6,f.IDecorationService)],y)}(O.BaseRenderLayer);s.SelectionRenderLayer=h},9596:function(r,s,o){var a,l=this&&this.__extends||(a=function(b,_){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Q,S){Q.__proto__=S}||function(Q,S){for(var P in S)Object.prototype.hasOwnProperty.call(S,P)&&(Q[P]=S[P])},a(b,_)},function(b,_){if(typeof _!="function"&&_!==null)throw new TypeError("Class extends value "+String(_)+" is not a constructor or null");function Q(){this.constructor=b}a(b,_),b.prototype=_===null?Object.create(_):(Q.prototype=_.prototype,new Q)}),c=this&&this.__decorate||function(b,_,Q,S){var P,w=arguments.length,x=w<3?_:S===null?S=Object.getOwnPropertyDescriptor(_,Q):S;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(b,_,Q,S);else for(var k=b.length-1;k>=0;k--)(P=b[k])&&(x=(w<3?P(x):w>3?P(_,Q,x):P(_,Q))||x);return w>3&&x&&Object.defineProperty(_,Q,x),x},u=this&&this.__param||function(b,_){return function(Q,S){_(Q,S,b)}},O=this&&this.__values||function(b){var _=typeof Symbol=="function"&&Symbol.iterator,Q=_&&b[_],S=0;if(Q)return Q.call(b);if(b&&typeof b.length=="number")return{next:function(){return b&&S>=b.length&&(b=void 0),{value:b&&b[S++],done:!b}}};throw new TypeError(_?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(s,"__esModule",{value:!0}),s.TextRenderLayer=void 0;var f=o(3700),h=o(1546),p=o(3734),y=o(643),$=o(511),m=o(2585),d=o(4725),g=o(4269),v=function(b){function _(Q,S,P,w,x,k,C,T,E){var A=b.call(this,Q,"text",S,w,P,x,k,C,E)||this;return A._characterJoinerService=T,A._characterWidth=0,A._characterFont="",A._characterOverlapCache={},A._workCell=new $.CellData,A._state=new f.GridCache,A}return l(_,b),_.prototype.resize=function(Q){b.prototype.resize.call(this,Q);var S=this._getFont(!1,!1);this._characterWidth===Q.scaledCharWidth&&this._characterFont===S||(this._characterWidth=Q.scaledCharWidth,this._characterFont=S,this._characterOverlapCache={}),this._state.clear(),this._state.resize(this._bufferService.cols,this._bufferService.rows)},_.prototype.reset=function(){this._state.clear(),this._clearAll()},_.prototype._forEachCell=function(Q,S,P){for(var w=Q;w<=S;w++)for(var x=w+this._bufferService.buffer.ydisp,k=this._bufferService.buffer.lines.get(x),C=this._characterJoinerService.getJoinedCharacters(x),T=0;T0&&T===C[0][0]){A=!0;var X=C.shift();E=new g.JoinedCellData(this._workCell,k.translateToString(!0,X[0],X[1]),X[1]-X[0]),R=X[1]-1}!A&&this._isOverlapping(E)&&Rthis._characterWidth;return this._ctx.restore(),this._characterOverlapCache[S]=P,P},c([u(5,m.IBufferService),u(6,m.IOptionsService),u(7,d.ICharacterJoinerService),u(8,m.IDecorationService)],_)}(h.BaseRenderLayer);s.TextRenderLayer=v},9616:(r,s)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.BaseCharAtlas=void 0;var o=function(){function a(){this._didWarmUp=!1}return a.prototype.dispose=function(){},a.prototype.warmUp=function(){this._didWarmUp||(this._doWarmUp(),this._didWarmUp=!0)},a.prototype._doWarmUp=function(){},a.prototype.clear=function(){},a.prototype.beginFrame=function(){},a}();s.BaseCharAtlas=o},1420:(r,s,o)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.removeTerminalFromCache=s.acquireCharAtlas=void 0;var a=o(2040),l=o(1906),c=[];s.acquireCharAtlas=function(u,O,f,h,p){for(var y=(0,a.generateConfig)(h,p,u,f),$=0;$=0){if((0,a.configEquals)(d.config,y))return d.atlas;d.ownedBy.length===1?(d.atlas.dispose(),c.splice($,1)):d.ownedBy.splice(m,1);break}}for($=0;${Object.defineProperty(s,"__esModule",{value:!0}),s.is256Color=s.configEquals=s.generateConfig=void 0;var a=o(643);s.generateConfig=function(l,c,u,O){var f={foreground:O.foreground,background:O.background,cursor:void 0,cursorAccent:void 0,selection:void 0,ansi:O.ansi.slice()};return{devicePixelRatio:window.devicePixelRatio,scaledCharWidth:l,scaledCharHeight:c,fontFamily:u.fontFamily,fontSize:u.fontSize,fontWeight:u.fontWeight,fontWeightBold:u.fontWeightBold,allowTransparency:u.allowTransparency,colors:f}},s.configEquals=function(l,c){for(var u=0;u{Object.defineProperty(s,"__esModule",{value:!0}),s.CHAR_ATLAS_CELL_SPACING=s.TEXT_BASELINE=s.DIM_OPACITY=s.INVERTED_DEFAULT_COLOR=void 0;var a=o(6114);s.INVERTED_DEFAULT_COLOR=257,s.DIM_OPACITY=.5,s.TEXT_BASELINE=a.isFirefox||a.isLegacyEdge?"bottom":"ideographic",s.CHAR_ATLAS_CELL_SPACING=1},1906:function(r,s,o){var a,l=this&&this.__extends||(a=function(Q,S){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(P,w){P.__proto__=w}||function(P,w){for(var x in w)Object.prototype.hasOwnProperty.call(w,x)&&(P[x]=w[x])},a(Q,S)},function(Q,S){if(typeof S!="function"&&S!==null)throw new TypeError("Class extends value "+String(S)+" is not a constructor or null");function P(){this.constructor=Q}a(Q,S),Q.prototype=S===null?Object.create(S):(P.prototype=S.prototype,new P)});Object.defineProperty(s,"__esModule",{value:!0}),s.NoneCharAtlas=s.DynamicCharAtlas=s.getGlyphCacheKey=void 0;var c=o(8803),u=o(9616),O=o(5680),f=o(7001),h=o(6114),p=o(1752),y=o(8055),$=1024,m=1024,d={css:"rgba(0, 0, 0, 0)",rgba:0};function g(Q){return Q.code<<21|Q.bg<<12|Q.fg<<3|(Q.bold?0:4)+(Q.dim?0:2)+(Q.italic?0:1)}s.getGlyphCacheKey=g;var v=function(Q){function S(P,w){var x=Q.call(this)||this;x._config=w,x._drawToCacheCount=0,x._glyphsWaitingOnBitmap=[],x._bitmapCommitTimeout=null,x._bitmap=null,x._cacheCanvas=P.createElement("canvas"),x._cacheCanvas.width=$,x._cacheCanvas.height=m,x._cacheCtx=(0,p.throwIfFalsy)(x._cacheCanvas.getContext("2d",{alpha:!0}));var k=P.createElement("canvas");k.width=x._config.scaledCharWidth,k.height=x._config.scaledCharHeight,x._tmpCtx=(0,p.throwIfFalsy)(k.getContext("2d",{alpha:x._config.allowTransparency})),x._width=Math.floor($/x._config.scaledCharWidth),x._height=Math.floor(m/x._config.scaledCharHeight);var C=x._width*x._height;return x._cacheMap=new f.LRUMap(C),x._cacheMap.prealloc(C),x}return l(S,Q),S.prototype.dispose=function(){this._bitmapCommitTimeout!==null&&(window.clearTimeout(this._bitmapCommitTimeout),this._bitmapCommitTimeout=null)},S.prototype.beginFrame=function(){this._drawToCacheCount=0},S.prototype.clear=function(){if(this._cacheMap.size>0){var P=this._width*this._height;this._cacheMap=new f.LRUMap(P),this._cacheMap.prealloc(P)}this._cacheCtx.clearRect(0,0,$,m),this._tmpCtx.clearRect(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight)},S.prototype.draw=function(P,w,x,k){if(w.code===32)return!0;if(!this._canCache(w))return!1;var C=g(w),T=this._cacheMap.get(C);if(T!=null)return this._drawFromCache(P,T,x,k),!0;if(this._drawToCacheCount<100){var E;E=this._cacheMap.size>>24,x=S.rgba>>>16&255,k=S.rgba>>>8&255,C=0;C{Object.defineProperty(s,"__esModule",{value:!0}),s.LRUMap=void 0;var o=function(){function a(l){this.capacity=l,this._map={},this._head=null,this._tail=null,this._nodePool=[],this.size=0}return a.prototype._unlinkNode=function(l){var c=l.prev,u=l.next;l===this._head&&(this._head=u),l===this._tail&&(this._tail=c),c!==null&&(c.next=u),u!==null&&(u.prev=c)},a.prototype._appendNode=function(l){var c=this._tail;c!==null&&(c.next=l),l.prev=c,l.next=null,this._tail=l,this._head===null&&(this._head=l)},a.prototype.prealloc=function(l){for(var c=this._nodePool,u=0;u=this.capacity)u=this._head,this._unlinkNode(u),delete this._map[u.key],u.key=l,u.value=c,this._map[l]=u;else{var O=this._nodePool;O.length>0?((u=O.pop()).key=l,u.value=c):u={prev:null,next:null,key:l,value:c},this._map[l]=u,this.size++}this._appendNode(u)},a}();s.LRUMap=o},1296:function(r,s,o){var a,l=this&&this.__extends||(a=function(w,x){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(k,C){k.__proto__=C}||function(k,C){for(var T in C)Object.prototype.hasOwnProperty.call(C,T)&&(k[T]=C[T])},a(w,x)},function(w,x){if(typeof x!="function"&&x!==null)throw new TypeError("Class extends value "+String(x)+" is not a constructor or null");function k(){this.constructor=w}a(w,x),w.prototype=x===null?Object.create(x):(k.prototype=x.prototype,new k)}),c=this&&this.__decorate||function(w,x,k,C){var T,E=arguments.length,A=E<3?x:C===null?C=Object.getOwnPropertyDescriptor(x,k):C;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")A=Reflect.decorate(w,x,k,C);else for(var R=w.length-1;R>=0;R--)(T=w[R])&&(A=(E<3?T(A):E>3?T(x,k,A):T(x,k))||A);return E>3&&A&&Object.defineProperty(x,k,A),A},u=this&&this.__param||function(w,x){return function(k,C){x(k,C,w)}},O=this&&this.__values||function(w){var x=typeof Symbol=="function"&&Symbol.iterator,k=x&&w[x],C=0;if(k)return k.call(w);if(w&&typeof w.length=="number")return{next:function(){return w&&C>=w.length&&(w=void 0),{value:w&&w[C++],done:!w}}};throw new TypeError(x?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(s,"__esModule",{value:!0}),s.DomRenderer=void 0;var f=o(3787),h=o(8803),p=o(844),y=o(4725),$=o(2585),m=o(8460),d=o(8055),g=o(9631),v="xterm-dom-renderer-owner-",b="xterm-fg-",_="xterm-bg-",Q="xterm-focus",S=1,P=function(w){function x(k,C,T,E,A,R,X,D,V,j){var Z=w.call(this)||this;return Z._colors=k,Z._element=C,Z._screenElement=T,Z._viewportElement=E,Z._linkifier=A,Z._linkifier2=R,Z._charSizeService=D,Z._optionsService=V,Z._bufferService=j,Z._terminalClass=S++,Z._rowElements=[],Z._rowContainer=document.createElement("div"),Z._rowContainer.classList.add("xterm-rows"),Z._rowContainer.style.lineHeight="normal",Z._rowContainer.setAttribute("aria-hidden","true"),Z._refreshRowElements(Z._bufferService.cols,Z._bufferService.rows),Z._selectionContainer=document.createElement("div"),Z._selectionContainer.classList.add("xterm-selection"),Z._selectionContainer.setAttribute("aria-hidden","true"),Z.dimensions={scaledCharWidth:0,scaledCharHeight:0,scaledCellWidth:0,scaledCellHeight:0,scaledCharLeft:0,scaledCharTop:0,scaledCanvasWidth:0,scaledCanvasHeight:0,canvasWidth:0,canvasHeight:0,actualCellWidth:0,actualCellHeight:0},Z._updateDimensions(),Z._injectCss(),Z._rowFactory=X.createInstance(f.DomRendererRowFactory,document,Z._colors),Z._element.classList.add(v+Z._terminalClass),Z._screenElement.appendChild(Z._rowContainer),Z._screenElement.appendChild(Z._selectionContainer),Z.register(Z._linkifier.onShowLinkUnderline(function(ee){return Z._onLinkHover(ee)})),Z.register(Z._linkifier.onHideLinkUnderline(function(ee){return Z._onLinkLeave(ee)})),Z.register(Z._linkifier2.onShowLinkUnderline(function(ee){return Z._onLinkHover(ee)})),Z.register(Z._linkifier2.onHideLinkUnderline(function(ee){return Z._onLinkLeave(ee)})),Z}return l(x,w),Object.defineProperty(x.prototype,"onRequestRedraw",{get:function(){return new m.EventEmitter().event},enumerable:!1,configurable:!0}),x.prototype.dispose=function(){this._element.classList.remove(v+this._terminalClass),(0,g.removeElementFromParent)(this._rowContainer,this._selectionContainer,this._themeStyleElement,this._dimensionsStyleElement),w.prototype.dispose.call(this)},x.prototype._updateDimensions=function(){var k,C;this.dimensions.scaledCharWidth=this._charSizeService.width*window.devicePixelRatio,this.dimensions.scaledCharHeight=Math.ceil(this._charSizeService.height*window.devicePixelRatio),this.dimensions.scaledCellWidth=this.dimensions.scaledCharWidth+Math.round(this._optionsService.rawOptions.letterSpacing),this.dimensions.scaledCellHeight=Math.floor(this.dimensions.scaledCharHeight*this._optionsService.rawOptions.lineHeight),this.dimensions.scaledCharLeft=0,this.dimensions.scaledCharTop=0,this.dimensions.scaledCanvasWidth=this.dimensions.scaledCellWidth*this._bufferService.cols,this.dimensions.scaledCanvasHeight=this.dimensions.scaledCellHeight*this._bufferService.rows,this.dimensions.canvasWidth=Math.round(this.dimensions.scaledCanvasWidth/window.devicePixelRatio),this.dimensions.canvasHeight=Math.round(this.dimensions.scaledCanvasHeight/window.devicePixelRatio),this.dimensions.actualCellWidth=this.dimensions.canvasWidth/this._bufferService.cols,this.dimensions.actualCellHeight=this.dimensions.canvasHeight/this._bufferService.rows;try{for(var T=O(this._rowElements),E=T.next();!E.done;E=T.next()){var A=E.value;A.style.width=this.dimensions.canvasWidth+"px",A.style.height=this.dimensions.actualCellHeight+"px",A.style.lineHeight=this.dimensions.actualCellHeight+"px",A.style.overflow="hidden"}}catch(X){k={error:X}}finally{try{E&&!E.done&&(C=T.return)&&C.call(T)}finally{if(k)throw k.error}}this._dimensionsStyleElement||(this._dimensionsStyleElement=document.createElement("style"),this._screenElement.appendChild(this._dimensionsStyleElement));var R=this._terminalSelector+" .xterm-rows span { display: inline-block; height: 100%; vertical-align: top; width: "+this.dimensions.actualCellWidth+"px}";this._dimensionsStyleElement.textContent=R,this._selectionContainer.style.height=this._viewportElement.style.height,this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},x.prototype.setColors=function(k){this._colors=k,this._injectCss()},x.prototype._injectCss=function(){var k=this;this._themeStyleElement||(this._themeStyleElement=document.createElement("style"),this._screenElement.appendChild(this._themeStyleElement));var C=this._terminalSelector+" .xterm-rows { color: "+this._colors.foreground.css+"; font-family: "+this._optionsService.rawOptions.fontFamily+"; font-size: "+this._optionsService.rawOptions.fontSize+"px;}";C+=this._terminalSelector+" span:not(."+f.BOLD_CLASS+") { font-weight: "+this._optionsService.rawOptions.fontWeight+";}"+this._terminalSelector+" span."+f.BOLD_CLASS+" { font-weight: "+this._optionsService.rawOptions.fontWeightBold+";}"+this._terminalSelector+" span."+f.ITALIC_CLASS+" { font-style: italic;}",C+="@keyframes blink_box_shadow_"+this._terminalClass+" { 50% { box-shadow: none; }}",C+="@keyframes blink_block_"+this._terminalClass+" { 0% { background-color: "+this._colors.cursor.css+"; color: "+this._colors.cursorAccent.css+"; } 50% { background-color: "+this._colors.cursorAccent.css+"; color: "+this._colors.cursor.css+"; }}",C+=this._terminalSelector+" .xterm-rows:not(.xterm-focus) ."+f.CURSOR_CLASS+"."+f.CURSOR_STYLE_BLOCK_CLASS+" { outline: 1px solid "+this._colors.cursor.css+"; outline-offset: -1px;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+f.CURSOR_CLASS+"."+f.CURSOR_BLINK_CLASS+":not(."+f.CURSOR_STYLE_BLOCK_CLASS+") { animation: blink_box_shadow_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+f.CURSOR_CLASS+"."+f.CURSOR_BLINK_CLASS+"."+f.CURSOR_STYLE_BLOCK_CLASS+" { animation: blink_block_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+f.CURSOR_CLASS+"."+f.CURSOR_STYLE_BLOCK_CLASS+" { background-color: "+this._colors.cursor.css+"; color: "+this._colors.cursorAccent.css+";}"+this._terminalSelector+" .xterm-rows ."+f.CURSOR_CLASS+"."+f.CURSOR_STYLE_BAR_CLASS+" { box-shadow: "+this._optionsService.rawOptions.cursorWidth+"px 0 0 "+this._colors.cursor.css+" inset;}"+this._terminalSelector+" .xterm-rows ."+f.CURSOR_CLASS+"."+f.CURSOR_STYLE_UNDERLINE_CLASS+" { box-shadow: 0 -1px 0 "+this._colors.cursor.css+" inset;}",C+=this._terminalSelector+" .xterm-selection { position: absolute; top: 0; left: 0; z-index: 1; pointer-events: none;}"+this._terminalSelector+" .xterm-selection div { position: absolute; background-color: "+this._colors.selectionOpaque.css+";}",this._colors.ansi.forEach(function(T,E){C+=k._terminalSelector+" ."+b+E+" { color: "+T.css+"; }"+k._terminalSelector+" ."+_+E+" { background-color: "+T.css+"; }"}),C+=this._terminalSelector+" ."+b+h.INVERTED_DEFAULT_COLOR+" { color: "+d.color.opaque(this._colors.background).css+"; }"+this._terminalSelector+" ."+_+h.INVERTED_DEFAULT_COLOR+" { background-color: "+this._colors.foreground.css+"; }",this._themeStyleElement.textContent=C},x.prototype.onDevicePixelRatioChange=function(){this._updateDimensions()},x.prototype._refreshRowElements=function(k,C){for(var T=this._rowElements.length;T<=C;T++){var E=document.createElement("div");this._rowContainer.appendChild(E),this._rowElements.push(E)}for(;this._rowElements.length>C;)this._rowContainer.removeChild(this._rowElements.pop())},x.prototype.onResize=function(k,C){this._refreshRowElements(k,C),this._updateDimensions()},x.prototype.onCharSizeChanged=function(){this._updateDimensions()},x.prototype.onBlur=function(){this._rowContainer.classList.remove(Q)},x.prototype.onFocus=function(){this._rowContainer.classList.add(Q)},x.prototype.onSelectionChanged=function(k,C,T){for(;this._selectionContainer.children.length;)this._selectionContainer.removeChild(this._selectionContainer.children[0]);if(this._rowFactory.onSelectionChanged(k,C,T),this.renderRows(0,this._bufferService.rows-1),k&&C){var E=k[1]-this._bufferService.buffer.ydisp,A=C[1]-this._bufferService.buffer.ydisp,R=Math.max(E,0),X=Math.min(A,this._bufferService.rows-1);if(!(R>=this._bufferService.rows||X<0)){var D=document.createDocumentFragment();if(T){var V=k[0]>C[0];D.appendChild(this._createSelectionElement(R,V?C[0]:k[0],V?k[0]:C[0],X-R+1))}else{var j=E===R?k[0]:0,Z=R===A?C[0]:this._bufferService.cols;D.appendChild(this._createSelectionElement(R,j,Z));var ee=X-R-1;if(D.appendChild(this._createSelectionElement(R+1,0,this._bufferService.cols,ee)),R!==X){var se=A===X?C[0]:this._bufferService.cols;D.appendChild(this._createSelectionElement(X,0,se))}}this._selectionContainer.appendChild(D)}}},x.prototype._createSelectionElement=function(k,C,T,E){E===void 0&&(E=1);var A=document.createElement("div");return A.style.height=E*this.dimensions.actualCellHeight+"px",A.style.top=k*this.dimensions.actualCellHeight+"px",A.style.left=C*this.dimensions.actualCellWidth+"px",A.style.width=this.dimensions.actualCellWidth*(T-C)+"px",A},x.prototype.onCursorMove=function(){},x.prototype.onOptionsChanged=function(){this._updateDimensions(),this._injectCss()},x.prototype.clear=function(){var k,C;try{for(var T=O(this._rowElements),E=T.next();!E.done;E=T.next())E.value.innerText=""}catch(A){k={error:A}}finally{try{E&&!E.done&&(C=T.return)&&C.call(T)}finally{if(k)throw k.error}}},x.prototype.renderRows=function(k,C){for(var T=this._bufferService.buffer.ybase+this._bufferService.buffer.y,E=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1),A=this._optionsService.rawOptions.cursorBlink,R=k;R<=C;R++){var X=this._rowElements[R];X.innerText="";var D=R+this._bufferService.buffer.ydisp,V=this._bufferService.buffer.lines.get(D),j=this._optionsService.rawOptions.cursorStyle;X.appendChild(this._rowFactory.createRow(V,D,D===T,j,E,A,this.dimensions.actualCellWidth,this._bufferService.cols))}},Object.defineProperty(x.prototype,"_terminalSelector",{get:function(){return"."+v+this._terminalClass},enumerable:!1,configurable:!0}),x.prototype._onLinkHover=function(k){this._setCellUnderline(k.x1,k.x2,k.y1,k.y2,k.cols,!0)},x.prototype._onLinkLeave=function(k){this._setCellUnderline(k.x1,k.x2,k.y1,k.y2,k.cols,!1)},x.prototype._setCellUnderline=function(k,C,T,E,A,R){for(;k!==C||T!==E;){var X=this._rowElements[T];if(!X)return;var D=X.children[k];D&&(D.style.textDecoration=R?"underline":"none"),++k>=A&&(k=0,T++)}},c([u(6,$.IInstantiationService),u(7,y.ICharSizeService),u(8,$.IOptionsService),u(9,$.IBufferService)],x)}(p.Disposable);s.DomRenderer=P},3787:function(r,s,o){var a=this&&this.__decorate||function(v,b,_,Q){var S,P=arguments.length,w=P<3?b:Q===null?Q=Object.getOwnPropertyDescriptor(b,_):Q;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")w=Reflect.decorate(v,b,_,Q);else for(var x=v.length-1;x>=0;x--)(S=v[x])&&(w=(P<3?S(w):P>3?S(b,_,w):S(b,_))||w);return P>3&&w&&Object.defineProperty(b,_,w),w},l=this&&this.__param||function(v,b){return function(_,Q){b(_,Q,v)}},c=this&&this.__values||function(v){var b=typeof Symbol=="function"&&Symbol.iterator,_=b&&v[b],Q=0;if(_)return _.call(v);if(v&&typeof v.length=="number")return{next:function(){return v&&Q>=v.length&&(v=void 0),{value:v&&v[Q++],done:!v}}};throw new TypeError(b?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(s,"__esModule",{value:!0}),s.DomRendererRowFactory=s.CURSOR_STYLE_UNDERLINE_CLASS=s.CURSOR_STYLE_BAR_CLASS=s.CURSOR_STYLE_BLOCK_CLASS=s.CURSOR_BLINK_CLASS=s.CURSOR_CLASS=s.STRIKETHROUGH_CLASS=s.UNDERLINE_CLASS=s.ITALIC_CLASS=s.DIM_CLASS=s.BOLD_CLASS=void 0;var u=o(8803),O=o(643),f=o(511),h=o(2585),p=o(8055),y=o(4725),$=o(4269),m=o(1752);s.BOLD_CLASS="xterm-bold",s.DIM_CLASS="xterm-dim",s.ITALIC_CLASS="xterm-italic",s.UNDERLINE_CLASS="xterm-underline",s.STRIKETHROUGH_CLASS="xterm-strikethrough",s.CURSOR_CLASS="xterm-cursor",s.CURSOR_BLINK_CLASS="xterm-cursor-blink",s.CURSOR_STYLE_BLOCK_CLASS="xterm-cursor-block",s.CURSOR_STYLE_BAR_CLASS="xterm-cursor-bar",s.CURSOR_STYLE_UNDERLINE_CLASS="xterm-cursor-underline";var d=function(){function v(b,_,Q,S,P,w){this._document=b,this._colors=_,this._characterJoinerService=Q,this._optionsService=S,this._coreService=P,this._decorationService=w,this._workCell=new f.CellData,this._columnSelectMode=!1}return v.prototype.setColors=function(b){this._colors=b},v.prototype.onSelectionChanged=function(b,_,Q){this._selectionStart=b,this._selectionEnd=_,this._columnSelectMode=Q},v.prototype.createRow=function(b,_,Q,S,P,w,x,k){for(var C,T,E=this._document.createDocumentFragment(),A=this._characterJoinerService.getJoinedCharacters(_),R=0,X=Math.min(b.length,k)-1;X>=0;X--)if(b.loadCell(X,this._workCell).getCode()!==O.NULL_CELL_CODE||Q&&X===P){R=X+1;break}for(X=0;X0&&X===A[0][0]){V=!0;var ee=A.shift();Z=new $.JoinedCellData(this._workCell,b.translateToString(!0,ee[0],ee[1]),ee[1]-ee[0]),j=ee[1]-1,D=Z.getWidth()}var se=this._document.createElement("span");if(D>1&&(se.style.width=x*D+"px"),V&&(se.style.display="inline",P>=X&&P<=j&&(P=X)),!this._coreService.isCursorHidden&&Q&&X===P)switch(se.classList.add(s.CURSOR_CLASS),w&&se.classList.add(s.CURSOR_BLINK_CLASS),S){case"bar":se.classList.add(s.CURSOR_STYLE_BAR_CLASS);break;case"underline":se.classList.add(s.CURSOR_STYLE_UNDERLINE_CLASS);break;default:se.classList.add(s.CURSOR_STYLE_BLOCK_CLASS)}Z.isBold()&&se.classList.add(s.BOLD_CLASS),Z.isItalic()&&se.classList.add(s.ITALIC_CLASS),Z.isDim()&&se.classList.add(s.DIM_CLASS),Z.isUnderline()&&se.classList.add(s.UNDERLINE_CLASS),Z.isInvisible()?se.textContent=O.WHITESPACE_CELL_CHAR:se.textContent=Z.getChars()||O.WHITESPACE_CELL_CHAR,Z.isStrikethrough()&&se.classList.add(s.STRIKETHROUGH_CLASS);var I=Z.getFgColor(),ne=Z.getFgColorMode(),H=Z.getBgColor(),re=Z.getBgColorMode(),G=!!Z.isInverse();if(G){var Re=I;I=H,H=Re;var _e=ne;ne=re,re=_e}var ue=void 0,W=void 0,q=!1;try{for(var F=(C=void 0,c(this._decorationService.getDecorationsAtCell(X,_))),fe=F.next();!fe.done;fe=F.next()){var he=fe.value;he.options.layer!=="top"&&q||(he.backgroundColorRGB&&(re=50331648,H=he.backgroundColorRGB.rgba>>8&16777215,ue=he.backgroundColorRGB),he.foregroundColorRGB&&(ne=50331648,I=he.foregroundColorRGB.rgba>>8&16777215,W=he.foregroundColorRGB),q=he.options.layer==="top")}}catch(le){C={error:le}}finally{try{fe&&!fe.done&&(T=F.return)&&T.call(F)}finally{if(C)throw C.error}}var ve=this._isCellInSelection(X,_);q||this._colors.selectionForeground&&ve&&(ne=50331648,I=this._colors.selectionForeground.rgba>>8&16777215,W=this._colors.selectionForeground),ve&&(ue=this._colors.selectionOpaque,q=!0),q&&se.classList.add("xterm-decoration-top");var xe=void 0;switch(re){case 16777216:case 33554432:xe=this._colors.ansi[H],se.classList.add("xterm-bg-"+H);break;case 50331648:xe=p.rgba.toColor(H>>16,H>>8&255,255&H),this._addStyle(se,"background-color:#"+g((H>>>0).toString(16),"0",6));break;default:G?(xe=this._colors.foreground,se.classList.add("xterm-bg-"+u.INVERTED_DEFAULT_COLOR)):xe=this._colors.background}switch(ne){case 16777216:case 33554432:Z.isBold()&&I<8&&this._optionsService.rawOptions.drawBoldTextInBrightColors&&(I+=8),this._applyMinimumContrast(se,xe,this._colors.ansi[I],Z,ue,void 0)||se.classList.add("xterm-fg-"+I);break;case 50331648:var me=p.rgba.toColor(I>>16&255,I>>8&255,255&I);this._applyMinimumContrast(se,xe,me,Z,ue,W)||this._addStyle(se,"color:#"+g(I.toString(16),"0",6));break;default:this._applyMinimumContrast(se,xe,this._colors.foreground,Z,ue,void 0)||G&&se.classList.add("xterm-fg-"+u.INVERTED_DEFAULT_COLOR)}E.appendChild(se),X=j}}return E},v.prototype._applyMinimumContrast=function(b,_,Q,S,P,w){if(this._optionsService.rawOptions.minimumContrastRatio===1||(0,m.excludeFromContrastRatioDemands)(S.getCode()))return!1;var x=void 0;return P||w||(x=this._colors.contrastCache.getColor(_.rgba,Q.rgba)),x===void 0&&(x=p.color.ensureContrastRatio(P||_,w||Q,this._optionsService.rawOptions.minimumContrastRatio),this._colors.contrastCache.setColor((P||_).rgba,(w||Q).rgba,x!=null?x:null)),!!x&&(this._addStyle(b,"color:"+x.css),!0)},v.prototype._addStyle=function(b,_){b.setAttribute("style",""+(b.getAttribute("style")||"")+_+";")},v.prototype._isCellInSelection=function(b,_){var Q=this._selectionStart,S=this._selectionEnd;return!(!Q||!S)&&(this._columnSelectMode?Q[0]<=S[0]?b>=Q[0]&&_>=Q[1]&&b=Q[1]&&b>=S[0]&&_<=S[1]:_>Q[1]&&_=Q[0]&&b=Q[0])},a([l(2,y.ICharacterJoinerService),l(3,h.IOptionsService),l(4,h.ICoreService),l(5,h.IDecorationService)],v)}();function g(v,b,_){for(;v.length<_;)v=b+v;return v}s.DomRendererRowFactory=d},456:(r,s)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.SelectionModel=void 0;var o=function(){function a(l){this._bufferService=l,this.isSelectAllActive=!1,this.selectionStartLength=0}return a.prototype.clearSelection=function(){this.selectionStart=void 0,this.selectionEnd=void 0,this.isSelectAllActive=!1,this.selectionStartLength=0},Object.defineProperty(a.prototype,"finalSelectionStart",{get:function(){return this.isSelectAllActive?[0,0]:this.selectionEnd&&this.selectionStart&&this.areSelectionValuesReversed()?this.selectionEnd:this.selectionStart},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"finalSelectionEnd",{get:function(){return this.isSelectAllActive?[this._bufferService.cols,this._bufferService.buffer.ybase+this._bufferService.rows-1]:this.selectionStart?!this.selectionEnd||this.areSelectionValuesReversed()?(l=this.selectionStart[0]+this.selectionStartLength)>this._bufferService.cols?l%this._bufferService.cols==0?[this._bufferService.cols,this.selectionStart[1]+Math.floor(l/this._bufferService.cols)-1]:[l%this._bufferService.cols,this.selectionStart[1]+Math.floor(l/this._bufferService.cols)]:[l,this.selectionStart[1]]:this.selectionStartLength&&this.selectionEnd[1]===this.selectionStart[1]?(l=this.selectionStart[0]+this.selectionStartLength)>this._bufferService.cols?[l%this._bufferService.cols,this.selectionStart[1]+Math.floor(l/this._bufferService.cols)]:[Math.max(l,this.selectionEnd[0]),this.selectionEnd[1]]:this.selectionEnd:void 0;var l},enumerable:!1,configurable:!0}),a.prototype.areSelectionValuesReversed=function(){var l=this.selectionStart,c=this.selectionEnd;return!(!l||!c)&&(l[1]>c[1]||l[1]===c[1]&&l[0]>c[0])},a.prototype.onTrim=function(l){return this.selectionStart&&(this.selectionStart[1]-=l),this.selectionEnd&&(this.selectionEnd[1]-=l),this.selectionEnd&&this.selectionEnd[1]<0?(this.clearSelection(),!0):(this.selectionStart&&this.selectionStart[1]<0&&(this.selectionStart[1]=0),!1)},a}();s.SelectionModel=o},428:function(r,s,o){var a=this&&this.__decorate||function(h,p,y,$){var m,d=arguments.length,g=d<3?p:$===null?$=Object.getOwnPropertyDescriptor(p,y):$;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")g=Reflect.decorate(h,p,y,$);else for(var v=h.length-1;v>=0;v--)(m=h[v])&&(g=(d<3?m(g):d>3?m(p,y,g):m(p,y))||g);return d>3&&g&&Object.defineProperty(p,y,g),g},l=this&&this.__param||function(h,p){return function(y,$){p(y,$,h)}};Object.defineProperty(s,"__esModule",{value:!0}),s.CharSizeService=void 0;var c=o(2585),u=o(8460),O=function(){function h(p,y,$){this._optionsService=$,this.width=0,this.height=0,this._onCharSizeChange=new u.EventEmitter,this._measureStrategy=new f(p,y,this._optionsService)}return Object.defineProperty(h.prototype,"hasValidSize",{get:function(){return this.width>0&&this.height>0},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"onCharSizeChange",{get:function(){return this._onCharSizeChange.event},enumerable:!1,configurable:!0}),h.prototype.measure=function(){var p=this._measureStrategy.measure();p.width===this.width&&p.height===this.height||(this.width=p.width,this.height=p.height,this._onCharSizeChange.fire())},a([l(2,c.IOptionsService)],h)}();s.CharSizeService=O;var f=function(){function h(p,y,$){this._document=p,this._parentElement=y,this._optionsService=$,this._result={width:0,height:0},this._measureElement=this._document.createElement("span"),this._measureElement.classList.add("xterm-char-measure-element"),this._measureElement.textContent="W",this._measureElement.setAttribute("aria-hidden","true"),this._parentElement.appendChild(this._measureElement)}return h.prototype.measure=function(){this._measureElement.style.fontFamily=this._optionsService.rawOptions.fontFamily,this._measureElement.style.fontSize=this._optionsService.rawOptions.fontSize+"px";var p=this._measureElement.getBoundingClientRect();return p.width!==0&&p.height!==0&&(this._result.width=p.width,this._result.height=Math.ceil(p.height)),this._result},h}()},4269:function(r,s,o){var a,l=this&&this.__extends||(a=function(m,d){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,v){g.__proto__=v}||function(g,v){for(var b in v)Object.prototype.hasOwnProperty.call(v,b)&&(g[b]=v[b])},a(m,d)},function(m,d){if(typeof d!="function"&&d!==null)throw new TypeError("Class extends value "+String(d)+" is not a constructor or null");function g(){this.constructor=m}a(m,d),m.prototype=d===null?Object.create(d):(g.prototype=d.prototype,new g)}),c=this&&this.__decorate||function(m,d,g,v){var b,_=arguments.length,Q=_<3?d:v===null?v=Object.getOwnPropertyDescriptor(d,g):v;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")Q=Reflect.decorate(m,d,g,v);else for(var S=m.length-1;S>=0;S--)(b=m[S])&&(Q=(_<3?b(Q):_>3?b(d,g,Q):b(d,g))||Q);return _>3&&Q&&Object.defineProperty(d,g,Q),Q},u=this&&this.__param||function(m,d){return function(g,v){d(g,v,m)}};Object.defineProperty(s,"__esModule",{value:!0}),s.CharacterJoinerService=s.JoinedCellData=void 0;var O=o(3734),f=o(643),h=o(511),p=o(2585),y=function(m){function d(g,v,b){var _=m.call(this)||this;return _.content=0,_.combinedData="",_.fg=g.fg,_.bg=g.bg,_.combinedData=v,_._width=b,_}return l(d,m),d.prototype.isCombined=function(){return 2097152},d.prototype.getWidth=function(){return this._width},d.prototype.getChars=function(){return this.combinedData},d.prototype.getCode=function(){return 2097151},d.prototype.setFromCharData=function(g){throw new Error("not implemented")},d.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},d}(O.AttributeData);s.JoinedCellData=y;var $=function(){function m(d){this._bufferService=d,this._characterJoiners=[],this._nextCharacterJoinerId=0,this._workCell=new h.CellData}return m.prototype.register=function(d){var g={id:this._nextCharacterJoinerId++,handler:d};return this._characterJoiners.push(g),g.id},m.prototype.deregister=function(d){for(var g=0;g1)for(var k=this._getJoinedRanges(b,S,Q,g,_),C=0;C1)for(k=this._getJoinedRanges(b,S,Q,g,_),C=0;C{Object.defineProperty(s,"__esModule",{value:!0}),s.CoreBrowserService=void 0;var o=function(){function a(l){this._textarea=l}return Object.defineProperty(a.prototype,"isFocused",{get:function(){return(this._textarea.getRootNode?this._textarea.getRootNode():document).activeElement===this._textarea&&document.hasFocus()},enumerable:!1,configurable:!0}),a}();s.CoreBrowserService=o},8934:function(r,s,o){var a=this&&this.__decorate||function(f,h,p,y){var $,m=arguments.length,d=m<3?h:y===null?y=Object.getOwnPropertyDescriptor(h,p):y;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")d=Reflect.decorate(f,h,p,y);else for(var g=f.length-1;g>=0;g--)($=f[g])&&(d=(m<3?$(d):m>3?$(h,p,d):$(h,p))||d);return m>3&&d&&Object.defineProperty(h,p,d),d},l=this&&this.__param||function(f,h){return function(p,y){h(p,y,f)}};Object.defineProperty(s,"__esModule",{value:!0}),s.MouseService=void 0;var c=o(4725),u=o(9806),O=function(){function f(h,p){this._renderService=h,this._charSizeService=p}return f.prototype.getCoords=function(h,p,y,$,m){return(0,u.getCoords)(window,h,p,y,$,this._charSizeService.hasValidSize,this._renderService.dimensions.actualCellWidth,this._renderService.dimensions.actualCellHeight,m)},f.prototype.getRawByteCoords=function(h,p,y,$){var m=this.getCoords(h,p,y,$);return(0,u.getRawByteCoords)(m)},a([l(0,c.IRenderService),l(1,c.ICharSizeService)],f)}();s.MouseService=O},3230:function(r,s,o){var a,l=this&&this.__extends||(a=function(g,v){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,_){b.__proto__=_}||function(b,_){for(var Q in _)Object.prototype.hasOwnProperty.call(_,Q)&&(b[Q]=_[Q])},a(g,v)},function(g,v){if(typeof v!="function"&&v!==null)throw new TypeError("Class extends value "+String(v)+" is not a constructor or null");function b(){this.constructor=g}a(g,v),g.prototype=v===null?Object.create(v):(b.prototype=v.prototype,new b)}),c=this&&this.__decorate||function(g,v,b,_){var Q,S=arguments.length,P=S<3?v:_===null?_=Object.getOwnPropertyDescriptor(v,b):_;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")P=Reflect.decorate(g,v,b,_);else for(var w=g.length-1;w>=0;w--)(Q=g[w])&&(P=(S<3?Q(P):S>3?Q(v,b,P):Q(v,b))||P);return S>3&&P&&Object.defineProperty(v,b,P),P},u=this&&this.__param||function(g,v){return function(b,_){v(b,_,g)}};Object.defineProperty(s,"__esModule",{value:!0}),s.RenderService=void 0;var O=o(6193),f=o(8460),h=o(844),p=o(5596),y=o(3656),$=o(2585),m=o(4725),d=function(g){function v(b,_,Q,S,P,w,x){var k=g.call(this)||this;if(k._renderer=b,k._rowCount=_,k._charSizeService=P,k._isPaused=!1,k._needsFullRefresh=!1,k._isNextRenderRedrawOnly=!0,k._needsSelectionRefresh=!1,k._canvasWidth=0,k._canvasHeight=0,k._selectionState={start:void 0,end:void 0,columnSelectMode:!1},k._onDimensionsChange=new f.EventEmitter,k._onRenderedViewportChange=new f.EventEmitter,k._onRender=new f.EventEmitter,k._onRefreshRequest=new f.EventEmitter,k.register({dispose:function(){return k._renderer.dispose()}}),k._renderDebouncer=new O.RenderDebouncer(function(T,E){return k._renderRows(T,E)}),k.register(k._renderDebouncer),k._screenDprMonitor=new p.ScreenDprMonitor,k._screenDprMonitor.setListener(function(){return k.onDevicePixelRatioChange()}),k.register(k._screenDprMonitor),k.register(x.onResize(function(){return k._fullRefresh()})),k.register(x.buffers.onBufferActivate(function(){var T;return(T=k._renderer)===null||T===void 0?void 0:T.clear()})),k.register(S.onOptionChange(function(){return k._handleOptionsChanged()})),k.register(k._charSizeService.onCharSizeChange(function(){return k.onCharSizeChanged()})),k.register(w.onDecorationRegistered(function(){return k._fullRefresh()})),k.register(w.onDecorationRemoved(function(){return k._fullRefresh()})),k._renderer.onRequestRedraw(function(T){return k.refreshRows(T.start,T.end,!0)}),k.register((0,y.addDisposableDomListener)(window,"resize",function(){return k.onDevicePixelRatioChange()})),"IntersectionObserver"in window){var C=new IntersectionObserver(function(T){return k._onIntersectionChange(T[T.length-1])},{threshold:0});C.observe(Q),k.register({dispose:function(){return C.disconnect()}})}return k}return l(v,g),Object.defineProperty(v.prototype,"onDimensionsChange",{get:function(){return this._onDimensionsChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"onRenderedViewportChange",{get:function(){return this._onRenderedViewportChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"onRender",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"onRefreshRequest",{get:function(){return this._onRefreshRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"dimensions",{get:function(){return this._renderer.dimensions},enumerable:!1,configurable:!0}),v.prototype._onIntersectionChange=function(b){this._isPaused=b.isIntersecting===void 0?b.intersectionRatio===0:!b.isIntersecting,this._isPaused||this._charSizeService.hasValidSize||this._charSizeService.measure(),!this._isPaused&&this._needsFullRefresh&&(this.refreshRows(0,this._rowCount-1),this._needsFullRefresh=!1)},v.prototype.refreshRows=function(b,_,Q){Q===void 0&&(Q=!1),this._isPaused?this._needsFullRefresh=!0:(Q||(this._isNextRenderRedrawOnly=!1),this._renderDebouncer.refresh(b,_,this._rowCount))},v.prototype._renderRows=function(b,_){this._renderer.renderRows(b,_),this._needsSelectionRefresh&&(this._renderer.onSelectionChanged(this._selectionState.start,this._selectionState.end,this._selectionState.columnSelectMode),this._needsSelectionRefresh=!1),this._isNextRenderRedrawOnly||this._onRenderedViewportChange.fire({start:b,end:_}),this._onRender.fire({start:b,end:_}),this._isNextRenderRedrawOnly=!0},v.prototype.resize=function(b,_){this._rowCount=_,this._fireOnCanvasResize()},v.prototype._handleOptionsChanged=function(){this._renderer.onOptionsChanged(),this.refreshRows(0,this._rowCount-1),this._fireOnCanvasResize()},v.prototype._fireOnCanvasResize=function(){this._renderer.dimensions.canvasWidth===this._canvasWidth&&this._renderer.dimensions.canvasHeight===this._canvasHeight||this._onDimensionsChange.fire(this._renderer.dimensions)},v.prototype.dispose=function(){g.prototype.dispose.call(this)},v.prototype.setRenderer=function(b){var _=this;this._renderer.dispose(),this._renderer=b,this._renderer.onRequestRedraw(function(Q){return _.refreshRows(Q.start,Q.end,!0)}),this._needsSelectionRefresh=!0,this._fullRefresh()},v.prototype.addRefreshCallback=function(b){return this._renderDebouncer.addRefreshCallback(b)},v.prototype._fullRefresh=function(){this._isPaused?this._needsFullRefresh=!0:this.refreshRows(0,this._rowCount-1)},v.prototype.clearTextureAtlas=function(){var b,_;(_=(b=this._renderer)===null||b===void 0?void 0:b.clearTextureAtlas)===null||_===void 0||_.call(b),this._fullRefresh()},v.prototype.setColors=function(b){this._renderer.setColors(b),this._fullRefresh()},v.prototype.onDevicePixelRatioChange=function(){this._charSizeService.measure(),this._renderer.onDevicePixelRatioChange(),this.refreshRows(0,this._rowCount-1)},v.prototype.onResize=function(b,_){this._renderer.onResize(b,_),this._fullRefresh()},v.prototype.onCharSizeChanged=function(){this._renderer.onCharSizeChanged()},v.prototype.onBlur=function(){this._renderer.onBlur()},v.prototype.onFocus=function(){this._renderer.onFocus()},v.prototype.onSelectionChanged=function(b,_,Q){this._selectionState.start=b,this._selectionState.end=_,this._selectionState.columnSelectMode=Q,this._renderer.onSelectionChanged(b,_,Q)},v.prototype.onCursorMove=function(){this._renderer.onCursorMove()},v.prototype.clear=function(){this._renderer.clear()},c([u(3,$.IOptionsService),u(4,m.ICharSizeService),u(5,$.IDecorationService),u(6,$.IBufferService)],v)}(h.Disposable);s.RenderService=d},9312:function(r,s,o){var a,l=this&&this.__extends||(a=function(S,P){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(w,x){w.__proto__=x}||function(w,x){for(var k in x)Object.prototype.hasOwnProperty.call(x,k)&&(w[k]=x[k])},a(S,P)},function(S,P){if(typeof P!="function"&&P!==null)throw new TypeError("Class extends value "+String(P)+" is not a constructor or null");function w(){this.constructor=S}a(S,P),S.prototype=P===null?Object.create(P):(w.prototype=P.prototype,new w)}),c=this&&this.__decorate||function(S,P,w,x){var k,C=arguments.length,T=C<3?P:x===null?x=Object.getOwnPropertyDescriptor(P,w):x;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")T=Reflect.decorate(S,P,w,x);else for(var E=S.length-1;E>=0;E--)(k=S[E])&&(T=(C<3?k(T):C>3?k(P,w,T):k(P,w))||T);return C>3&&T&&Object.defineProperty(P,w,T),T},u=this&&this.__param||function(S,P){return function(w,x){P(w,x,S)}};Object.defineProperty(s,"__esModule",{value:!0}),s.SelectionService=void 0;var O=o(6114),f=o(456),h=o(511),p=o(8460),y=o(4725),$=o(2585),m=o(9806),d=o(9504),g=o(844),v=o(4841),b=String.fromCharCode(160),_=new RegExp(b,"g"),Q=function(S){function P(w,x,k,C,T,E,A,R){var X=S.call(this)||this;return X._element=w,X._screenElement=x,X._linkifier=k,X._bufferService=C,X._coreService=T,X._mouseService=E,X._optionsService=A,X._renderService=R,X._dragScrollAmount=0,X._enabled=!0,X._workCell=new h.CellData,X._mouseDownTimeStamp=0,X._oldHasSelection=!1,X._oldSelectionStart=void 0,X._oldSelectionEnd=void 0,X._onLinuxMouseSelection=X.register(new p.EventEmitter),X._onRedrawRequest=X.register(new p.EventEmitter),X._onSelectionChange=X.register(new p.EventEmitter),X._onRequestScrollLines=X.register(new p.EventEmitter),X._mouseMoveListener=function(D){return X._onMouseMove(D)},X._mouseUpListener=function(D){return X._onMouseUp(D)},X._coreService.onUserInput(function(){X.hasSelection&&X.clearSelection()}),X._trimListener=X._bufferService.buffer.lines.onTrim(function(D){return X._onTrim(D)}),X.register(X._bufferService.buffers.onBufferActivate(function(D){return X._onBufferActivate(D)})),X.enable(),X._model=new f.SelectionModel(X._bufferService),X._activeSelectionMode=0,X}return l(P,S),Object.defineProperty(P.prototype,"onLinuxMouseSelection",{get:function(){return this._onLinuxMouseSelection.event},enumerable:!1,configurable:!0}),Object.defineProperty(P.prototype,"onRequestRedraw",{get:function(){return this._onRedrawRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(P.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(P.prototype,"onRequestScrollLines",{get:function(){return this._onRequestScrollLines.event},enumerable:!1,configurable:!0}),P.prototype.dispose=function(){this._removeMouseDownListeners()},P.prototype.reset=function(){this.clearSelection()},P.prototype.disable=function(){this.clearSelection(),this._enabled=!1},P.prototype.enable=function(){this._enabled=!0},Object.defineProperty(P.prototype,"selectionStart",{get:function(){return this._model.finalSelectionStart},enumerable:!1,configurable:!0}),Object.defineProperty(P.prototype,"selectionEnd",{get:function(){return this._model.finalSelectionEnd},enumerable:!1,configurable:!0}),Object.defineProperty(P.prototype,"hasSelection",{get:function(){var w=this._model.finalSelectionStart,x=this._model.finalSelectionEnd;return!(!w||!x||w[0]===x[0]&&w[1]===x[1])},enumerable:!1,configurable:!0}),Object.defineProperty(P.prototype,"selectionText",{get:function(){var w=this._model.finalSelectionStart,x=this._model.finalSelectionEnd;if(!w||!x)return"";var k=this._bufferService.buffer,C=[];if(this._activeSelectionMode===3){if(w[0]===x[0])return"";for(var T=w[0]x[1]&&w[1]=x[0]&&w[0]=x[0]},P.prototype._selectWordAtCursor=function(w,x){var k,C,T=(C=(k=this._linkifier.currentLink)===null||k===void 0?void 0:k.link)===null||C===void 0?void 0:C.range;if(T)return this._model.selectionStart=[T.start.x-1,T.start.y-1],this._model.selectionStartLength=(0,v.getRangeLength)(T,this._bufferService.cols),this._model.selectionEnd=void 0,!0;var E=this._getMouseBufferCoords(w);return!!E&&(this._selectWordAt(E,x),this._model.selectionEnd=void 0,!0)},P.prototype.selectAll=function(){this._model.isSelectAllActive=!0,this.refresh(),this._onSelectionChange.fire()},P.prototype.selectLines=function(w,x){this._model.clearSelection(),w=Math.max(w,0),x=Math.min(x,this._bufferService.buffer.lines.length-1),this._model.selectionStart=[0,w],this._model.selectionEnd=[this._bufferService.cols,x],this.refresh(),this._onSelectionChange.fire()},P.prototype._onTrim=function(w){this._model.onTrim(w)&&this.refresh()},P.prototype._getMouseBufferCoords=function(w){var x=this._mouseService.getCoords(w,this._screenElement,this._bufferService.cols,this._bufferService.rows,!0);if(x)return x[0]--,x[1]--,x[1]+=this._bufferService.buffer.ydisp,x},P.prototype._getMouseEventScrollAmount=function(w){var x=(0,m.getCoordsRelativeToElement)(window,w,this._screenElement)[1],k=this._renderService.dimensions.canvasHeight;return x>=0&&x<=k?0:(x>k&&(x-=k),x=Math.min(Math.max(x,-50),50),(x/=50)/Math.abs(x)+Math.round(14*x))},P.prototype.shouldForceSelection=function(w){return O.isMac?w.altKey&&this._optionsService.rawOptions.macOptionClickForcesSelection:w.shiftKey},P.prototype.onMouseDown=function(w){if(this._mouseDownTimeStamp=w.timeStamp,(w.button!==2||!this.hasSelection)&&w.button===0){if(!this._enabled){if(!this.shouldForceSelection(w))return;w.stopPropagation()}w.preventDefault(),this._dragScrollAmount=0,this._enabled&&w.shiftKey?this._onIncrementalClick(w):w.detail===1?this._onSingleClick(w):w.detail===2?this._onDoubleClick(w):w.detail===3&&this._onTripleClick(w),this._addMouseDownListeners(),this.refresh(!0)}},P.prototype._addMouseDownListeners=function(){var w=this;this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.addEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.addEventListener("mouseup",this._mouseUpListener)),this._dragScrollIntervalTimer=window.setInterval(function(){return w._dragScroll()},50)},P.prototype._removeMouseDownListeners=function(){this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.removeEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.removeEventListener("mouseup",this._mouseUpListener)),clearInterval(this._dragScrollIntervalTimer),this._dragScrollIntervalTimer=void 0},P.prototype._onIncrementalClick=function(w){this._model.selectionStart&&(this._model.selectionEnd=this._getMouseBufferCoords(w))},P.prototype._onSingleClick=function(w){if(this._model.selectionStartLength=0,this._model.isSelectAllActive=!1,this._activeSelectionMode=this.shouldColumnSelect(w)?3:0,this._model.selectionStart=this._getMouseBufferCoords(w),this._model.selectionStart){this._model.selectionEnd=void 0;var x=this._bufferService.buffer.lines.get(this._model.selectionStart[1]);x&&x.length!==this._model.selectionStart[0]&&x.hasWidth(this._model.selectionStart[0])===0&&this._model.selectionStart[0]++}},P.prototype._onDoubleClick=function(w){this._selectWordAtCursor(w,!0)&&(this._activeSelectionMode=1)},P.prototype._onTripleClick=function(w){var x=this._getMouseBufferCoords(w);x&&(this._activeSelectionMode=2,this._selectLineAt(x[1]))},P.prototype.shouldColumnSelect=function(w){return w.altKey&&!(O.isMac&&this._optionsService.rawOptions.macOptionClickForcesSelection)},P.prototype._onMouseMove=function(w){if(w.stopImmediatePropagation(),this._model.selectionStart){var x=this._model.selectionEnd?[this._model.selectionEnd[0],this._model.selectionEnd[1]]:null;if(this._model.selectionEnd=this._getMouseBufferCoords(w),this._model.selectionEnd){this._activeSelectionMode===2?this._model.selectionEnd[1]0?this._model.selectionEnd[0]=this._bufferService.cols:this._dragScrollAmount<0&&(this._model.selectionEnd[0]=0));var k=this._bufferService.buffer;if(this._model.selectionEnd[1]0?(this._activeSelectionMode!==3&&(this._model.selectionEnd[0]=this._bufferService.cols),this._model.selectionEnd[1]=Math.min(w.ydisp+this._bufferService.rows,w.lines.length-1)):(this._activeSelectionMode!==3&&(this._model.selectionEnd[0]=0),this._model.selectionEnd[1]=w.ydisp),this.refresh()}},P.prototype._onMouseUp=function(w){var x=w.timeStamp-this._mouseDownTimeStamp;if(this._removeMouseDownListeners(),this.selectionText.length<=1&&x<500&&w.altKey&&this._optionsService.getOption("altClickMovesCursor")){if(this._bufferService.buffer.ybase===this._bufferService.buffer.ydisp){var k=this._mouseService.getCoords(w,this._element,this._bufferService.cols,this._bufferService.rows,!1);if(k&&k[0]!==void 0&&k[1]!==void 0){var C=(0,d.moveToCellSequence)(k[0]-1,k[1]-1,this._bufferService,this._coreService.decPrivateModes.applicationCursorKeys);this._coreService.triggerDataEvent(C,!0)}}}else this._fireEventIfSelectionChanged()},P.prototype._fireEventIfSelectionChanged=function(){var w=this._model.finalSelectionStart,x=this._model.finalSelectionEnd,k=!(!w||!x||w[0]===x[0]&&w[1]===x[1]);k?w&&x&&(this._oldSelectionStart&&this._oldSelectionEnd&&w[0]===this._oldSelectionStart[0]&&w[1]===this._oldSelectionStart[1]&&x[0]===this._oldSelectionEnd[0]&&x[1]===this._oldSelectionEnd[1]||this._fireOnSelectionChange(w,x,k)):this._oldHasSelection&&this._fireOnSelectionChange(w,x,k)},P.prototype._fireOnSelectionChange=function(w,x,k){this._oldSelectionStart=w,this._oldSelectionEnd=x,this._oldHasSelection=k,this._onSelectionChange.fire()},P.prototype._onBufferActivate=function(w){var x=this;this.clearSelection(),this._trimListener.dispose(),this._trimListener=w.activeBuffer.lines.onTrim(function(k){return x._onTrim(k)})},P.prototype._convertViewportColToCharacterIndex=function(w,x){for(var k=x[0],C=0;x[0]>=C;C++){var T=w.loadCell(C,this._workCell).getChars().length;this._workCell.getWidth()===0?k--:T>1&&x[0]!==C&&(k+=T-1)}return k},P.prototype.setSelection=function(w,x,k){this._model.clearSelection(),this._removeMouseDownListeners(),this._model.selectionStart=[w,x],this._model.selectionStartLength=k,this.refresh(),this._fireEventIfSelectionChanged()},P.prototype.rightClickSelect=function(w){this._isClickInSelection(w)||(this._selectWordAtCursor(w,!1)&&this.refresh(!0),this._fireEventIfSelectionChanged())},P.prototype._getWordAt=function(w,x,k,C){if(k===void 0&&(k=!0),C===void 0&&(C=!0),!(w[0]>=this._bufferService.cols)){var T=this._bufferService.buffer,E=T.lines.get(w[1]);if(E){var A=T.translateBufferLineToString(w[1],!1),R=this._convertViewportColToCharacterIndex(E,w),X=R,D=w[0]-R,V=0,j=0,Z=0,ee=0;if(A.charAt(R)===" "){for(;R>0&&A.charAt(R-1)===" ";)R--;for(;X1&&(ee+=ne-1,X+=ne-1);se>0&&R>0&&!this._isCharWordSeparator(E.loadCell(se-1,this._workCell));){E.loadCell(se-1,this._workCell);var H=this._workCell.getChars().length;this._workCell.getWidth()===0?(V++,se--):H>1&&(Z+=H-1,R-=H-1),R--,se--}for(;I1&&(ee+=re-1,X+=re-1),X++,I++}}X++;var G=R+D-V+Z,Re=Math.min(this._bufferService.cols,X-R+V+j-Z-ee);if(x||A.slice(R,X).trim()!==""){if(k&&G===0&&E.getCodePoint(0)!==32){var _e=T.lines.get(w[1]-1);if(_e&&E.isWrapped&&_e.getCodePoint(this._bufferService.cols-1)!==32){var ue=this._getWordAt([this._bufferService.cols-1,w[1]-1],!1,!0,!1);if(ue){var W=this._bufferService.cols-ue.start;G-=W,Re+=W}}}if(C&&G+Re===this._bufferService.cols&&E.getCodePoint(this._bufferService.cols-1)!==32){var q=T.lines.get(w[1]+1);if((q==null?void 0:q.isWrapped)&&q.getCodePoint(0)!==32){var F=this._getWordAt([0,w[1]+1],!1,!1,!0);F&&(Re+=F.length)}}return{start:G,length:Re}}}}},P.prototype._selectWordAt=function(w,x){var k=this._getWordAt(w,x);if(k){for(;k.start<0;)k.start+=this._bufferService.cols,w[1]--;this._model.selectionStart=[k.start,w[1]],this._model.selectionStartLength=k.length}},P.prototype._selectToWordAt=function(w){var x=this._getWordAt(w,!0);if(x){for(var k=w[1];x.start<0;)x.start+=this._bufferService.cols,k--;if(!this._model.areSelectionValuesReversed())for(;x.start+x.length>this._bufferService.cols;)x.length-=this._bufferService.cols,k++;this._model.selectionEnd=[this._model.areSelectionValuesReversed()?x.start:x.start+x.length,k]}},P.prototype._isCharWordSeparator=function(w){return w.getWidth()!==0&&this._optionsService.rawOptions.wordSeparator.indexOf(w.getChars())>=0},P.prototype._selectLineAt=function(w){var x=this._bufferService.buffer.getWrappedRangeForLine(w),k={start:{x:0,y:x.first},end:{x:this._bufferService.cols-1,y:x.last}};this._model.selectionStart=[0,x.first],this._model.selectionEnd=void 0,this._model.selectionStartLength=(0,v.getRangeLength)(k,this._bufferService.cols)},c([u(3,$.IBufferService),u(4,$.ICoreService),u(5,y.IMouseService),u(6,$.IOptionsService),u(7,y.IRenderService)],P)}(g.Disposable);s.SelectionService=Q},4725:(r,s,o)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.ICharacterJoinerService=s.ISoundService=s.ISelectionService=s.IRenderService=s.IMouseService=s.ICoreBrowserService=s.ICharSizeService=void 0;var a=o(8343);s.ICharSizeService=(0,a.createDecorator)("CharSizeService"),s.ICoreBrowserService=(0,a.createDecorator)("CoreBrowserService"),s.IMouseService=(0,a.createDecorator)("MouseService"),s.IRenderService=(0,a.createDecorator)("RenderService"),s.ISelectionService=(0,a.createDecorator)("SelectionService"),s.ISoundService=(0,a.createDecorator)("SoundService"),s.ICharacterJoinerService=(0,a.createDecorator)("CharacterJoinerService")},357:function(r,s,o){var a=this&&this.__decorate||function(O,f,h,p){var y,$=arguments.length,m=$<3?f:p===null?p=Object.getOwnPropertyDescriptor(f,h):p;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")m=Reflect.decorate(O,f,h,p);else for(var d=O.length-1;d>=0;d--)(y=O[d])&&(m=($<3?y(m):$>3?y(f,h,m):y(f,h))||m);return $>3&&m&&Object.defineProperty(f,h,m),m},l=this&&this.__param||function(O,f){return function(h,p){f(h,p,O)}};Object.defineProperty(s,"__esModule",{value:!0}),s.SoundService=void 0;var c=o(2585),u=function(){function O(f){this._optionsService=f}return Object.defineProperty(O,"audioContext",{get:function(){if(!O._audioContext){var f=window.AudioContext||window.webkitAudioContext;if(!f)return console.warn("Web Audio API is not supported by this browser. Consider upgrading to the latest version"),null;O._audioContext=new f}return O._audioContext},enumerable:!1,configurable:!0}),O.prototype.playBellSound=function(){var f=O.audioContext;if(f){var h=f.createBufferSource();f.decodeAudioData(this._base64ToArrayBuffer(this._removeMimeType(this._optionsService.rawOptions.bellSound)),function(p){h.buffer=p,h.connect(f.destination),h.start(0)})}},O.prototype._base64ToArrayBuffer=function(f){for(var h=window.atob(f),p=h.length,y=new Uint8Array(p),$=0;${Object.defineProperty(s,"__esModule",{value:!0}),s.CircularList=void 0;var a=o(8460),l=function(){function c(u){this._maxLength=u,this.onDeleteEmitter=new a.EventEmitter,this.onInsertEmitter=new a.EventEmitter,this.onTrimEmitter=new a.EventEmitter,this._array=new Array(this._maxLength),this._startIndex=0,this._length=0}return Object.defineProperty(c.prototype,"onDelete",{get:function(){return this.onDeleteEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"onInsert",{get:function(){return this.onInsertEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"onTrim",{get:function(){return this.onTrimEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"maxLength",{get:function(){return this._maxLength},set:function(u){if(this._maxLength!==u){for(var O=new Array(u),f=0;fthis._length)for(var O=this._length;O=u;p--)this._array[this._getCyclicIndex(p+f.length)]=this._array[this._getCyclicIndex(p)];for(p=0;pthis._maxLength){var y=this._length+f.length-this._maxLength;this._startIndex+=y,this._length=this._maxLength,this.onTrimEmitter.fire(y)}else this._length+=f.length},c.prototype.trimStart=function(u){u>this._length&&(u=this._length),this._startIndex+=u,this._length-=u,this.onTrimEmitter.fire(u)},c.prototype.shiftElements=function(u,O,f){if(!(O<=0)){if(u<0||u>=this._length)throw new Error("start argument out of range");if(u+f<0)throw new Error("Cannot shift elements in list beyond index 0");if(f>0){for(var h=O-1;h>=0;h--)this.set(u+h+f,this.get(u+h));var p=u+O+f-this._length;if(p>0)for(this._length+=p;this._length>this._maxLength;)this._length--,this._startIndex++,this.onTrimEmitter.fire(1)}else for(h=0;h{Object.defineProperty(s,"__esModule",{value:!0}),s.clone=void 0,s.clone=function o(a,l){if(l===void 0&&(l=5),typeof a!="object")return a;var c=Array.isArray(a)?[]:{};for(var u in a)c[u]=l<=1?a[u]:a[u]&&o(a[u],l-1);return c}},8055:function(r,s){var o,a,l,c,u=this&&this.__read||function(h,p){var y=typeof Symbol=="function"&&h[Symbol.iterator];if(!y)return h;var $,m,d=y.call(h),g=[];try{for(;(p===void 0||p-- >0)&&!($=d.next()).done;)g.push($.value)}catch(v){m={error:v}}finally{try{$&&!$.done&&(y=d.return)&&y.call(d)}finally{if(m)throw m.error}}return g};function O(h){var p=h.toString(16);return p.length<2?"0"+p:p}function f(h,p){return h>>0}}(o=s.channels||(s.channels={})),(a=s.color||(s.color={})).blend=function(h,p){var y=(255&p.rgba)/255;if(y===1)return{css:p.css,rgba:p.rgba};var $=p.rgba>>24&255,m=p.rgba>>16&255,d=p.rgba>>8&255,g=h.rgba>>24&255,v=h.rgba>>16&255,b=h.rgba>>8&255,_=g+Math.round(($-g)*y),Q=v+Math.round((m-v)*y),S=b+Math.round((d-b)*y);return{css:o.toCss(_,Q,S),rgba:o.toRgba(_,Q,S)}},a.isOpaque=function(h){return(255&h.rgba)==255},a.ensureContrastRatio=function(h,p,y){var $=c.ensureContrastRatio(h.rgba,p.rgba,y);if($)return c.toColor($>>24&255,$>>16&255,$>>8&255)},a.opaque=function(h){var p=(255|h.rgba)>>>0,y=u(c.toChannels(p),3),$=y[0],m=y[1],d=y[2];return{css:o.toCss($,m,d),rgba:p}},a.opacity=function(h,p){var y=Math.round(255*p),$=u(c.toChannels(h.rgba),3),m=$[0],d=$[1],g=$[2];return{css:o.toCss(m,d,g,y),rgba:o.toRgba(m,d,g,y)}},a.toColorRGB=function(h){return[h.rgba>>24&255,h.rgba>>16&255,h.rgba>>8&255]},(s.css||(s.css={})).toColor=function(h){if(h.match(/#[0-9a-f]{3,8}/i))switch(h.length){case 4:var p=parseInt(h.slice(1,2).repeat(2),16),y=parseInt(h.slice(2,3).repeat(2),16),$=parseInt(h.slice(3,4).repeat(2),16);return c.toColor(p,y,$);case 5:p=parseInt(h.slice(1,2).repeat(2),16),y=parseInt(h.slice(2,3).repeat(2),16),$=parseInt(h.slice(3,4).repeat(2),16);var m=parseInt(h.slice(4,5).repeat(2),16);return c.toColor(p,y,$,m);case 7:return{css:h,rgba:(parseInt(h.slice(1),16)<<8|255)>>>0};case 9:return{css:h,rgba:parseInt(h.slice(1),16)>>>0}}var d=h.match(/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(,\s*(0|1|\d?\.(\d+))\s*)?\)/);if(d)return p=parseInt(d[1]),y=parseInt(d[2]),$=parseInt(d[3]),m=Math.round(255*(d[5]===void 0?1:parseFloat(d[5]))),c.toColor(p,y,$,m);throw new Error("css.toColor: Unsupported css format")},function(h){function p(y,$,m){var d=y/255,g=$/255,v=m/255;return .2126*(d<=.03928?d/12.92:Math.pow((d+.055)/1.055,2.4))+.7152*(g<=.03928?g/12.92:Math.pow((g+.055)/1.055,2.4))+.0722*(v<=.03928?v/12.92:Math.pow((v+.055)/1.055,2.4))}h.relativeLuminance=function(y){return p(y>>16&255,y>>8&255,255&y)},h.relativeLuminance2=p}(l=s.rgb||(s.rgb={})),function(h){function p($,m,d){for(var g=$>>24&255,v=$>>16&255,b=$>>8&255,_=m>>24&255,Q=m>>16&255,S=m>>8&255,P=f(l.relativeLuminance2(_,Q,S),l.relativeLuminance2(g,v,b));P0||Q>0||S>0);)_-=Math.max(0,Math.ceil(.1*_)),Q-=Math.max(0,Math.ceil(.1*Q)),S-=Math.max(0,Math.ceil(.1*S)),P=f(l.relativeLuminance2(_,Q,S),l.relativeLuminance2(g,v,b));return(_<<24|Q<<16|S<<8|255)>>>0}function y($,m,d){for(var g=$>>24&255,v=$>>16&255,b=$>>8&255,_=m>>24&255,Q=m>>16&255,S=m>>8&255,P=f(l.relativeLuminance2(_,Q,S),l.relativeLuminance2(g,v,b));P>>0}h.ensureContrastRatio=function($,m,d){var g=l.relativeLuminance($>>8),v=l.relativeLuminance(m>>8);if(f(g,v)>8));if(_f(g,l.relativeLuminance(Q>>8))?b:Q}return b}var S=y($,m,d),P=f(g,l.relativeLuminance(S>>8));return Pf(g,l.relativeLuminance(Q>>8))?S:Q):S}},h.reduceLuminance=p,h.increaseLuminance=y,h.toChannels=function($){return[$>>24&255,$>>16&255,$>>8&255,255&$]},h.toColor=function($,m,d,g){return{css:o.toCss($,m,d,g),rgba:o.toRgba($,m,d,g)}}}(c=s.rgba||(s.rgba={})),s.toPaddedHex=O,s.contrastRatio=f},8969:function(r,s,o){var a,l=this&&this.__extends||(a=function(x,k){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(C,T){C.__proto__=T}||function(C,T){for(var E in T)Object.prototype.hasOwnProperty.call(T,E)&&(C[E]=T[E])},a(x,k)},function(x,k){if(typeof k!="function"&&k!==null)throw new TypeError("Class extends value "+String(k)+" is not a constructor or null");function C(){this.constructor=x}a(x,k),x.prototype=k===null?Object.create(k):(C.prototype=k.prototype,new C)}),c=this&&this.__values||function(x){var k=typeof Symbol=="function"&&Symbol.iterator,C=k&&x[k],T=0;if(C)return C.call(x);if(x&&typeof x.length=="number")return{next:function(){return x&&T>=x.length&&(x=void 0),{value:x&&x[T++],done:!x}}};throw new TypeError(k?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(s,"__esModule",{value:!0}),s.CoreTerminal=void 0;var u=o(844),O=o(2585),f=o(4348),h=o(7866),p=o(744),y=o(7302),$=o(6975),m=o(8460),d=o(1753),g=o(3730),v=o(1480),b=o(7994),_=o(9282),Q=o(5435),S=o(5981),P=!1,w=function(x){function k(C){var T=x.call(this)||this;return T._onBinary=new m.EventEmitter,T._onData=new m.EventEmitter,T._onLineFeed=new m.EventEmitter,T._onResize=new m.EventEmitter,T._onScroll=new m.EventEmitter,T._onWriteParsed=new m.EventEmitter,T._instantiationService=new f.InstantiationService,T.optionsService=new y.OptionsService(C),T._instantiationService.setService(O.IOptionsService,T.optionsService),T._bufferService=T.register(T._instantiationService.createInstance(p.BufferService)),T._instantiationService.setService(O.IBufferService,T._bufferService),T._logService=T._instantiationService.createInstance(h.LogService),T._instantiationService.setService(O.ILogService,T._logService),T.coreService=T.register(T._instantiationService.createInstance($.CoreService,function(){return T.scrollToBottom()})),T._instantiationService.setService(O.ICoreService,T.coreService),T.coreMouseService=T._instantiationService.createInstance(d.CoreMouseService),T._instantiationService.setService(O.ICoreMouseService,T.coreMouseService),T._dirtyRowService=T._instantiationService.createInstance(g.DirtyRowService),T._instantiationService.setService(O.IDirtyRowService,T._dirtyRowService),T.unicodeService=T._instantiationService.createInstance(v.UnicodeService),T._instantiationService.setService(O.IUnicodeService,T.unicodeService),T._charsetService=T._instantiationService.createInstance(b.CharsetService),T._instantiationService.setService(O.ICharsetService,T._charsetService),T._inputHandler=new Q.InputHandler(T._bufferService,T._charsetService,T.coreService,T._dirtyRowService,T._logService,T.optionsService,T.coreMouseService,T.unicodeService),T.register((0,m.forwardEvent)(T._inputHandler.onLineFeed,T._onLineFeed)),T.register(T._inputHandler),T.register((0,m.forwardEvent)(T._bufferService.onResize,T._onResize)),T.register((0,m.forwardEvent)(T.coreService.onData,T._onData)),T.register((0,m.forwardEvent)(T.coreService.onBinary,T._onBinary)),T.register(T.optionsService.onOptionChange(function(E){return T._updateOptions(E)})),T.register(T._bufferService.onScroll(function(E){T._onScroll.fire({position:T._bufferService.buffer.ydisp,source:0}),T._dirtyRowService.markRangeDirty(T._bufferService.buffer.scrollTop,T._bufferService.buffer.scrollBottom)})),T.register(T._inputHandler.onScroll(function(E){T._onScroll.fire({position:T._bufferService.buffer.ydisp,source:0}),T._dirtyRowService.markRangeDirty(T._bufferService.buffer.scrollTop,T._bufferService.buffer.scrollBottom)})),T._writeBuffer=new S.WriteBuffer(function(E,A){return T._inputHandler.parse(E,A)}),T.register((0,m.forwardEvent)(T._writeBuffer.onWriteParsed,T._onWriteParsed)),T}return l(k,x),Object.defineProperty(k.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),Object.defineProperty(k.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(k.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(k.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(k.prototype,"onWriteParsed",{get:function(){return this._onWriteParsed.event},enumerable:!1,configurable:!0}),Object.defineProperty(k.prototype,"onScroll",{get:function(){var C=this;return this._onScrollApi||(this._onScrollApi=new m.EventEmitter,this.register(this._onScroll.event(function(T){var E;(E=C._onScrollApi)===null||E===void 0||E.fire(T.position)}))),this._onScrollApi.event},enumerable:!1,configurable:!0}),Object.defineProperty(k.prototype,"cols",{get:function(){return this._bufferService.cols},enumerable:!1,configurable:!0}),Object.defineProperty(k.prototype,"rows",{get:function(){return this._bufferService.rows},enumerable:!1,configurable:!0}),Object.defineProperty(k.prototype,"buffers",{get:function(){return this._bufferService.buffers},enumerable:!1,configurable:!0}),Object.defineProperty(k.prototype,"options",{get:function(){return this.optionsService.options},set:function(C){for(var T in C)this.optionsService.options[T]=C[T]},enumerable:!1,configurable:!0}),k.prototype.dispose=function(){var C;this._isDisposed||(x.prototype.dispose.call(this),(C=this._windowsMode)===null||C===void 0||C.dispose(),this._windowsMode=void 0)},k.prototype.write=function(C,T){this._writeBuffer.write(C,T)},k.prototype.writeSync=function(C,T){this._logService.logLevel<=O.LogLevelEnum.WARN&&!P&&(this._logService.warn("writeSync is unreliable and will be removed soon."),P=!0),this._writeBuffer.writeSync(C,T)},k.prototype.resize=function(C,T){isNaN(C)||isNaN(T)||(C=Math.max(C,p.MINIMUM_COLS),T=Math.max(T,p.MINIMUM_ROWS),this._bufferService.resize(C,T))},k.prototype.scroll=function(C,T){T===void 0&&(T=!1),this._bufferService.scroll(C,T)},k.prototype.scrollLines=function(C,T,E){this._bufferService.scrollLines(C,T,E)},k.prototype.scrollPages=function(C){this._bufferService.scrollPages(C)},k.prototype.scrollToTop=function(){this._bufferService.scrollToTop()},k.prototype.scrollToBottom=function(){this._bufferService.scrollToBottom()},k.prototype.scrollToLine=function(C){this._bufferService.scrollToLine(C)},k.prototype.registerEscHandler=function(C,T){return this._inputHandler.registerEscHandler(C,T)},k.prototype.registerDcsHandler=function(C,T){return this._inputHandler.registerDcsHandler(C,T)},k.prototype.registerCsiHandler=function(C,T){return this._inputHandler.registerCsiHandler(C,T)},k.prototype.registerOscHandler=function(C,T){return this._inputHandler.registerOscHandler(C,T)},k.prototype._setup=function(){this.optionsService.rawOptions.windowsMode&&this._enableWindowsMode()},k.prototype.reset=function(){this._inputHandler.reset(),this._bufferService.reset(),this._charsetService.reset(),this.coreService.reset(),this.coreMouseService.reset()},k.prototype._updateOptions=function(C){var T;switch(C){case"scrollback":this.buffers.resize(this.cols,this.rows);break;case"windowsMode":this.optionsService.rawOptions.windowsMode?this._enableWindowsMode():((T=this._windowsMode)===null||T===void 0||T.dispose(),this._windowsMode=void 0)}},k.prototype._enableWindowsMode=function(){var C=this;if(!this._windowsMode){var T=[];T.push(this.onLineFeed(_.updateWindowsModeWrappedState.bind(null,this._bufferService))),T.push(this.registerCsiHandler({final:"H"},function(){return(0,_.updateWindowsModeWrappedState)(C._bufferService),!1})),this._windowsMode={dispose:function(){var E,A;try{for(var R=c(T),X=R.next();!X.done;X=R.next())X.value.dispose()}catch(D){E={error:D}}finally{try{X&&!X.done&&(A=R.return)&&A.call(R)}finally{if(E)throw E.error}}}}}},k}(u.Disposable);s.CoreTerminal=w},8460:(r,s)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.forwardEvent=s.EventEmitter=void 0;var o=function(){function a(){this._listeners=[],this._disposed=!1}return Object.defineProperty(a.prototype,"event",{get:function(){var l=this;return this._event||(this._event=function(c){return l._listeners.push(c),{dispose:function(){if(!l._disposed){for(var u=0;u24)return E.setWinLines||!1;switch(T){case 1:return!!E.restoreWin;case 2:return!!E.minimizeWin;case 3:return!!E.setWinPosition;case 4:return!!E.setWinSizePixels;case 5:return!!E.raiseWin;case 6:return!!E.lowerWin;case 7:return!!E.refreshWin;case 8:return!!E.setWinSizeChars;case 9:return!!E.maximizeWin;case 10:return!!E.fullscreenWin;case 11:return!!E.getWinState;case 13:return!!E.getWinPosition;case 14:return!!E.getWinSizePixels;case 15:return!!E.getScreenSizePixels;case 16:return!!E.getCellSizePixels;case 18:return!!E.getWinSizeChars;case 19:return!!E.getScreenSizeChars;case 20:return!!E.getIconTitle;case 21:return!!E.getWinTitle;case 22:return!!E.pushTitle;case 23:return!!E.popTitle;case 24:return!!E.setWinLines}return!1}(function(T){T[T.GET_WIN_SIZE_PIXELS=0]="GET_WIN_SIZE_PIXELS",T[T.GET_CELL_SIZE_PIXELS=1]="GET_CELL_SIZE_PIXELS"})(c=s.WindowsOptionsReportType||(s.WindowsOptionsReportType={}));var k=function(){function T(E,A,R,X){this._bufferService=E,this._coreService=A,this._logService=R,this._optionsService=X,this._data=new Uint32Array(0)}return T.prototype.hook=function(E){this._data=new Uint32Array(0)},T.prototype.put=function(E,A,R){this._data=(0,p.concat)(this._data,E.subarray(A,R))},T.prototype.unhook=function(E){if(!E)return this._data=new Uint32Array(0),!0;var A=(0,y.utf32ToString)(this._data);switch(this._data=new Uint32Array(0),A){case'"q':this._coreService.triggerDataEvent(u.C0.ESC+'P1$r0"q'+u.C0.ESC+"\\");break;case'"p':this._coreService.triggerDataEvent(u.C0.ESC+'P1$r61;1"p'+u.C0.ESC+"\\");break;case"r":var R=this._bufferService.buffer.scrollTop+1+";"+(this._bufferService.buffer.scrollBottom+1)+"r";this._coreService.triggerDataEvent(u.C0.ESC+"P1$r"+R+u.C0.ESC+"\\");break;case"m":this._coreService.triggerDataEvent(u.C0.ESC+"P1$r0m"+u.C0.ESC+"\\");break;case" q":var X={block:2,underline:4,bar:6}[this._optionsService.rawOptions.cursorStyle];X-=this._optionsService.rawOptions.cursorBlink?1:0,this._coreService.triggerDataEvent(u.C0.ESC+"P1$r"+X+" q"+u.C0.ESC+"\\");break;default:this._logService.debug("Unknown DCS $q %s",A),this._coreService.triggerDataEvent(u.C0.ESC+"P0$r"+u.C0.ESC+"\\")}return!0},T}(),C=function(T){function E(A,R,X,D,V,j,Z,ee,se){se===void 0&&(se=new f.EscapeSequenceParser);var I=T.call(this)||this;I._bufferService=A,I._charsetService=R,I._coreService=X,I._dirtyRowService=D,I._logService=V,I._optionsService=j,I._coreMouseService=Z,I._unicodeService=ee,I._parser=se,I._parseBuffer=new Uint32Array(4096),I._stringDecoder=new y.StringToUtf32,I._utf8Decoder=new y.Utf8ToUtf32,I._workCell=new g.CellData,I._windowTitle="",I._iconName="",I._windowTitleStack=[],I._iconNameStack=[],I._curAttrData=$.DEFAULT_ATTR_DATA.clone(),I._eraseAttrDataInternal=$.DEFAULT_ATTR_DATA.clone(),I._onRequestBell=new m.EventEmitter,I._onRequestRefreshRows=new m.EventEmitter,I._onRequestReset=new m.EventEmitter,I._onRequestSendFocus=new m.EventEmitter,I._onRequestSyncScrollBar=new m.EventEmitter,I._onRequestWindowsOptionsReport=new m.EventEmitter,I._onA11yChar=new m.EventEmitter,I._onA11yTab=new m.EventEmitter,I._onCursorMove=new m.EventEmitter,I._onLineFeed=new m.EventEmitter,I._onScroll=new m.EventEmitter,I._onTitleChange=new m.EventEmitter,I._onColor=new m.EventEmitter,I._parseStack={paused:!1,cursorStartX:0,cursorStartY:0,decodedLength:0,position:0},I._specialColors=[256,257,258],I.register(I._parser),I._activeBuffer=I._bufferService.buffer,I.register(I._bufferService.buffers.onBufferActivate(function(G){return I._activeBuffer=G.activeBuffer})),I._parser.setCsiHandlerFallback(function(G,Re){I._logService.debug("Unknown CSI code: ",{identifier:I._parser.identToString(G),params:Re.toArray()})}),I._parser.setEscHandlerFallback(function(G){I._logService.debug("Unknown ESC code: ",{identifier:I._parser.identToString(G)})}),I._parser.setExecuteHandlerFallback(function(G){I._logService.debug("Unknown EXECUTE code: ",{code:G})}),I._parser.setOscHandlerFallback(function(G,Re,_e){I._logService.debug("Unknown OSC code: ",{identifier:G,action:Re,data:_e})}),I._parser.setDcsHandlerFallback(function(G,Re,_e){Re==="HOOK"&&(_e=_e.toArray()),I._logService.debug("Unknown DCS code: ",{identifier:I._parser.identToString(G),action:Re,payload:_e})}),I._parser.setPrintHandler(function(G,Re,_e){return I.print(G,Re,_e)}),I._parser.registerCsiHandler({final:"@"},function(G){return I.insertChars(G)}),I._parser.registerCsiHandler({intermediates:" ",final:"@"},function(G){return I.scrollLeft(G)}),I._parser.registerCsiHandler({final:"A"},function(G){return I.cursorUp(G)}),I._parser.registerCsiHandler({intermediates:" ",final:"A"},function(G){return I.scrollRight(G)}),I._parser.registerCsiHandler({final:"B"},function(G){return I.cursorDown(G)}),I._parser.registerCsiHandler({final:"C"},function(G){return I.cursorForward(G)}),I._parser.registerCsiHandler({final:"D"},function(G){return I.cursorBackward(G)}),I._parser.registerCsiHandler({final:"E"},function(G){return I.cursorNextLine(G)}),I._parser.registerCsiHandler({final:"F"},function(G){return I.cursorPrecedingLine(G)}),I._parser.registerCsiHandler({final:"G"},function(G){return I.cursorCharAbsolute(G)}),I._parser.registerCsiHandler({final:"H"},function(G){return I.cursorPosition(G)}),I._parser.registerCsiHandler({final:"I"},function(G){return I.cursorForwardTab(G)}),I._parser.registerCsiHandler({final:"J"},function(G){return I.eraseInDisplay(G)}),I._parser.registerCsiHandler({prefix:"?",final:"J"},function(G){return I.eraseInDisplay(G)}),I._parser.registerCsiHandler({final:"K"},function(G){return I.eraseInLine(G)}),I._parser.registerCsiHandler({prefix:"?",final:"K"},function(G){return I.eraseInLine(G)}),I._parser.registerCsiHandler({final:"L"},function(G){return I.insertLines(G)}),I._parser.registerCsiHandler({final:"M"},function(G){return I.deleteLines(G)}),I._parser.registerCsiHandler({final:"P"},function(G){return I.deleteChars(G)}),I._parser.registerCsiHandler({final:"S"},function(G){return I.scrollUp(G)}),I._parser.registerCsiHandler({final:"T"},function(G){return I.scrollDown(G)}),I._parser.registerCsiHandler({final:"X"},function(G){return I.eraseChars(G)}),I._parser.registerCsiHandler({final:"Z"},function(G){return I.cursorBackwardTab(G)}),I._parser.registerCsiHandler({final:"`"},function(G){return I.charPosAbsolute(G)}),I._parser.registerCsiHandler({final:"a"},function(G){return I.hPositionRelative(G)}),I._parser.registerCsiHandler({final:"b"},function(G){return I.repeatPrecedingCharacter(G)}),I._parser.registerCsiHandler({final:"c"},function(G){return I.sendDeviceAttributesPrimary(G)}),I._parser.registerCsiHandler({prefix:">",final:"c"},function(G){return I.sendDeviceAttributesSecondary(G)}),I._parser.registerCsiHandler({final:"d"},function(G){return I.linePosAbsolute(G)}),I._parser.registerCsiHandler({final:"e"},function(G){return I.vPositionRelative(G)}),I._parser.registerCsiHandler({final:"f"},function(G){return I.hVPosition(G)}),I._parser.registerCsiHandler({final:"g"},function(G){return I.tabClear(G)}),I._parser.registerCsiHandler({final:"h"},function(G){return I.setMode(G)}),I._parser.registerCsiHandler({prefix:"?",final:"h"},function(G){return I.setModePrivate(G)}),I._parser.registerCsiHandler({final:"l"},function(G){return I.resetMode(G)}),I._parser.registerCsiHandler({prefix:"?",final:"l"},function(G){return I.resetModePrivate(G)}),I._parser.registerCsiHandler({final:"m"},function(G){return I.charAttributes(G)}),I._parser.registerCsiHandler({final:"n"},function(G){return I.deviceStatus(G)}),I._parser.registerCsiHandler({prefix:"?",final:"n"},function(G){return I.deviceStatusPrivate(G)}),I._parser.registerCsiHandler({intermediates:"!",final:"p"},function(G){return I.softReset(G)}),I._parser.registerCsiHandler({intermediates:" ",final:"q"},function(G){return I.setCursorStyle(G)}),I._parser.registerCsiHandler({final:"r"},function(G){return I.setScrollRegion(G)}),I._parser.registerCsiHandler({final:"s"},function(G){return I.saveCursor(G)}),I._parser.registerCsiHandler({final:"t"},function(G){return I.windowOptions(G)}),I._parser.registerCsiHandler({final:"u"},function(G){return I.restoreCursor(G)}),I._parser.registerCsiHandler({intermediates:"'",final:"}"},function(G){return I.insertColumns(G)}),I._parser.registerCsiHandler({intermediates:"'",final:"~"},function(G){return I.deleteColumns(G)}),I._parser.setExecuteHandler(u.C0.BEL,function(){return I.bell()}),I._parser.setExecuteHandler(u.C0.LF,function(){return I.lineFeed()}),I._parser.setExecuteHandler(u.C0.VT,function(){return I.lineFeed()}),I._parser.setExecuteHandler(u.C0.FF,function(){return I.lineFeed()}),I._parser.setExecuteHandler(u.C0.CR,function(){return I.carriageReturn()}),I._parser.setExecuteHandler(u.C0.BS,function(){return I.backspace()}),I._parser.setExecuteHandler(u.C0.HT,function(){return I.tab()}),I._parser.setExecuteHandler(u.C0.SO,function(){return I.shiftOut()}),I._parser.setExecuteHandler(u.C0.SI,function(){return I.shiftIn()}),I._parser.setExecuteHandler(u.C1.IND,function(){return I.index()}),I._parser.setExecuteHandler(u.C1.NEL,function(){return I.nextLine()}),I._parser.setExecuteHandler(u.C1.HTS,function(){return I.tabSet()}),I._parser.registerOscHandler(0,new _.OscHandler(function(G){return I.setTitle(G),I.setIconName(G),!0})),I._parser.registerOscHandler(1,new _.OscHandler(function(G){return I.setIconName(G)})),I._parser.registerOscHandler(2,new _.OscHandler(function(G){return I.setTitle(G)})),I._parser.registerOscHandler(4,new _.OscHandler(function(G){return I.setOrReportIndexedColor(G)})),I._parser.registerOscHandler(10,new _.OscHandler(function(G){return I.setOrReportFgColor(G)})),I._parser.registerOscHandler(11,new _.OscHandler(function(G){return I.setOrReportBgColor(G)})),I._parser.registerOscHandler(12,new _.OscHandler(function(G){return I.setOrReportCursorColor(G)})),I._parser.registerOscHandler(104,new _.OscHandler(function(G){return I.restoreIndexedColor(G)})),I._parser.registerOscHandler(110,new _.OscHandler(function(G){return I.restoreFgColor(G)})),I._parser.registerOscHandler(111,new _.OscHandler(function(G){return I.restoreBgColor(G)})),I._parser.registerOscHandler(112,new _.OscHandler(function(G){return I.restoreCursorColor(G)})),I._parser.registerEscHandler({final:"7"},function(){return I.saveCursor()}),I._parser.registerEscHandler({final:"8"},function(){return I.restoreCursor()}),I._parser.registerEscHandler({final:"D"},function(){return I.index()}),I._parser.registerEscHandler({final:"E"},function(){return I.nextLine()}),I._parser.registerEscHandler({final:"H"},function(){return I.tabSet()}),I._parser.registerEscHandler({final:"M"},function(){return I.reverseIndex()}),I._parser.registerEscHandler({final:"="},function(){return I.keypadApplicationMode()}),I._parser.registerEscHandler({final:">"},function(){return I.keypadNumericMode()}),I._parser.registerEscHandler({final:"c"},function(){return I.fullReset()}),I._parser.registerEscHandler({final:"n"},function(){return I.setgLevel(2)}),I._parser.registerEscHandler({final:"o"},function(){return I.setgLevel(3)}),I._parser.registerEscHandler({final:"|"},function(){return I.setgLevel(3)}),I._parser.registerEscHandler({final:"}"},function(){return I.setgLevel(2)}),I._parser.registerEscHandler({final:"~"},function(){return I.setgLevel(1)}),I._parser.registerEscHandler({intermediates:"%",final:"@"},function(){return I.selectDefaultCharset()}),I._parser.registerEscHandler({intermediates:"%",final:"G"},function(){return I.selectDefaultCharset()});var ne=function(G){H._parser.registerEscHandler({intermediates:"(",final:G},function(){return I.selectCharset("("+G)}),H._parser.registerEscHandler({intermediates:")",final:G},function(){return I.selectCharset(")"+G)}),H._parser.registerEscHandler({intermediates:"*",final:G},function(){return I.selectCharset("*"+G)}),H._parser.registerEscHandler({intermediates:"+",final:G},function(){return I.selectCharset("+"+G)}),H._parser.registerEscHandler({intermediates:"-",final:G},function(){return I.selectCharset("-"+G)}),H._parser.registerEscHandler({intermediates:".",final:G},function(){return I.selectCharset("."+G)}),H._parser.registerEscHandler({intermediates:"/",final:G},function(){return I.selectCharset("/"+G)})},H=this;for(var re in O.CHARSETS)ne(re);return I._parser.registerEscHandler({intermediates:"#",final:"8"},function(){return I.screenAlignmentPattern()}),I._parser.setErrorHandler(function(G){return I._logService.error("Parsing error: ",G),G}),I._parser.registerDcsHandler({intermediates:"$",final:"q"},new k(I._bufferService,I._coreService,I._logService,I._optionsService)),I}return l(E,T),Object.defineProperty(E.prototype,"onRequestBell",{get:function(){return this._onRequestBell.event},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"onRequestRefreshRows",{get:function(){return this._onRequestRefreshRows.event},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"onRequestReset",{get:function(){return this._onRequestReset.event},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"onRequestSendFocus",{get:function(){return this._onRequestSendFocus.event},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"onRequestSyncScrollBar",{get:function(){return this._onRequestSyncScrollBar.event},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"onRequestWindowsOptionsReport",{get:function(){return this._onRequestWindowsOptionsReport.event},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"onA11yChar",{get:function(){return this._onA11yChar.event},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"onA11yTab",{get:function(){return this._onA11yTab.event},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"onColor",{get:function(){return this._onColor.event},enumerable:!1,configurable:!0}),E.prototype.dispose=function(){T.prototype.dispose.call(this)},E.prototype._preserveStack=function(A,R,X,D){this._parseStack.paused=!0,this._parseStack.cursorStartX=A,this._parseStack.cursorStartY=R,this._parseStack.decodedLength=X,this._parseStack.position=D},E.prototype._logSlowResolvingAsync=function(A){this._logService.logLevel<=b.LogLevelEnum.WARN&&Promise.race([A,new Promise(function(R,X){return setTimeout(function(){return X("#SLOW_TIMEOUT")},5e3)})]).catch(function(R){if(R!=="#SLOW_TIMEOUT")throw R;console.warn("async parser handler taking longer than 5000 ms")})},E.prototype.parse=function(A,R){var X,D=this._activeBuffer.x,V=this._activeBuffer.y,j=0,Z=this._parseStack.paused;if(Z){if(X=this._parser.parse(this._parseBuffer,this._parseStack.decodedLength,R))return this._logSlowResolvingAsync(X),X;D=this._parseStack.cursorStartX,V=this._parseStack.cursorStartY,this._parseStack.paused=!1,A.length>w&&(j=this._parseStack.position+w)}if(this._logService.logLevel<=b.LogLevelEnum.DEBUG&&this._logService.debug("parsing data"+(typeof A=="string"?' "'+A+'"':' "'+Array.prototype.map.call(A,function(ne){return String.fromCharCode(ne)}).join("")+'"'),typeof A=="string"?A.split("").map(function(ne){return ne.charCodeAt(0)}):A),this._parseBuffer.lengthw)for(var ee=j;ee0&&H.getWidth(this._activeBuffer.x-1)===2&&H.setCellFromCodePoint(this._activeBuffer.x-1,0,1,ne.fg,ne.bg,ne.extended);for(var re=R;re=ee){if(se){for(;this._activeBuffer.x=this._bufferService.rows&&(this._activeBuffer.y=this._bufferService.rows-1),this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y).isWrapped=!0),H=this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y)}else if(this._activeBuffer.x=ee-1,V===2)continue}if(I&&(H.insertCells(this._activeBuffer.x,V,this._activeBuffer.getNullCell(ne),ne),H.getWidth(ee-1)===2&&H.setCellFromCodePoint(ee-1,d.NULL_CELL_CODE,d.NULL_CELL_WIDTH,ne.fg,ne.bg,ne.extended)),H.setCellFromCodePoint(this._activeBuffer.x++,D,V,ne.fg,ne.bg,ne.extended),V>0)for(;--V;)H.setCellFromCodePoint(this._activeBuffer.x++,0,0,ne.fg,ne.bg,ne.extended)}else H.getWidth(this._activeBuffer.x-1)?H.addCodepointToCell(this._activeBuffer.x-1,D):H.addCodepointToCell(this._activeBuffer.x-2,D)}X-R>0&&(H.loadCell(this._activeBuffer.x-1,this._workCell),this._workCell.getWidth()===2||this._workCell.getCode()>65535?this._parser.precedingCodepoint=0:this._workCell.isCombined()?this._parser.precedingCodepoint=this._workCell.getChars().charCodeAt(0):this._parser.precedingCodepoint=this._workCell.content),this._activeBuffer.x0&&H.getWidth(this._activeBuffer.x)===0&&!H.hasContent(this._activeBuffer.x)&&H.setCellFromCodePoint(this._activeBuffer.x,0,1,ne.fg,ne.bg,ne.extended),this._dirtyRowService.markDirty(this._activeBuffer.y)},E.prototype.registerCsiHandler=function(A,R){var X=this;return A.final!=="t"||A.prefix||A.intermediates?this._parser.registerCsiHandler(A,R):this._parser.registerCsiHandler(A,function(D){return!x(D.params[0],X._optionsService.rawOptions.windowOptions)||R(D)})},E.prototype.registerDcsHandler=function(A,R){return this._parser.registerDcsHandler(A,new Q.DcsHandler(R))},E.prototype.registerEscHandler=function(A,R){return this._parser.registerEscHandler(A,R)},E.prototype.registerOscHandler=function(A,R){return this._parser.registerOscHandler(A,new _.OscHandler(R))},E.prototype.bell=function(){return this._onRequestBell.fire(),!0},E.prototype.lineFeed=function(){return this._dirtyRowService.markDirty(this._activeBuffer.y),this._optionsService.rawOptions.convertEol&&(this._activeBuffer.x=0),this._activeBuffer.y++,this._activeBuffer.y===this._activeBuffer.scrollBottom+1?(this._activeBuffer.y--,this._bufferService.scroll(this._eraseAttrData())):this._activeBuffer.y>=this._bufferService.rows&&(this._activeBuffer.y=this._bufferService.rows-1),this._activeBuffer.x>=this._bufferService.cols&&this._activeBuffer.x--,this._dirtyRowService.markDirty(this._activeBuffer.y),this._onLineFeed.fire(),!0},E.prototype.carriageReturn=function(){return this._activeBuffer.x=0,!0},E.prototype.backspace=function(){var A;if(!this._coreService.decPrivateModes.reverseWraparound)return this._restrictCursor(),this._activeBuffer.x>0&&this._activeBuffer.x--,!0;if(this._restrictCursor(this._bufferService.cols),this._activeBuffer.x>0)this._activeBuffer.x--;else if(this._activeBuffer.x===0&&this._activeBuffer.y>this._activeBuffer.scrollTop&&this._activeBuffer.y<=this._activeBuffer.scrollBottom&&((A=this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y))===null||A===void 0?void 0:A.isWrapped)){this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y).isWrapped=!1,this._activeBuffer.y--,this._activeBuffer.x=this._bufferService.cols-1;var R=this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y);R.hasWidth(this._activeBuffer.x)&&!R.hasContent(this._activeBuffer.x)&&this._activeBuffer.x--}return this._restrictCursor(),!0},E.prototype.tab=function(){if(this._activeBuffer.x>=this._bufferService.cols)return!0;var A=this._activeBuffer.x;return this._activeBuffer.x=this._activeBuffer.nextStop(),this._optionsService.rawOptions.screenReaderMode&&this._onA11yTab.fire(this._activeBuffer.x-A),!0},E.prototype.shiftOut=function(){return this._charsetService.setgLevel(1),!0},E.prototype.shiftIn=function(){return this._charsetService.setgLevel(0),!0},E.prototype._restrictCursor=function(A){A===void 0&&(A=this._bufferService.cols-1),this._activeBuffer.x=Math.min(A,Math.max(0,this._activeBuffer.x)),this._activeBuffer.y=this._coreService.decPrivateModes.origin?Math.min(this._activeBuffer.scrollBottom,Math.max(this._activeBuffer.scrollTop,this._activeBuffer.y)):Math.min(this._bufferService.rows-1,Math.max(0,this._activeBuffer.y)),this._dirtyRowService.markDirty(this._activeBuffer.y)},E.prototype._setCursor=function(A,R){this._dirtyRowService.markDirty(this._activeBuffer.y),this._coreService.decPrivateModes.origin?(this._activeBuffer.x=A,this._activeBuffer.y=this._activeBuffer.scrollTop+R):(this._activeBuffer.x=A,this._activeBuffer.y=R),this._restrictCursor(),this._dirtyRowService.markDirty(this._activeBuffer.y)},E.prototype._moveCursor=function(A,R){this._restrictCursor(),this._setCursor(this._activeBuffer.x+A,this._activeBuffer.y+R)},E.prototype.cursorUp=function(A){var R=this._activeBuffer.y-this._activeBuffer.scrollTop;return R>=0?this._moveCursor(0,-Math.min(R,A.params[0]||1)):this._moveCursor(0,-(A.params[0]||1)),!0},E.prototype.cursorDown=function(A){var R=this._activeBuffer.scrollBottom-this._activeBuffer.y;return R>=0?this._moveCursor(0,Math.min(R,A.params[0]||1)):this._moveCursor(0,A.params[0]||1),!0},E.prototype.cursorForward=function(A){return this._moveCursor(A.params[0]||1,0),!0},E.prototype.cursorBackward=function(A){return this._moveCursor(-(A.params[0]||1),0),!0},E.prototype.cursorNextLine=function(A){return this.cursorDown(A),this._activeBuffer.x=0,!0},E.prototype.cursorPrecedingLine=function(A){return this.cursorUp(A),this._activeBuffer.x=0,!0},E.prototype.cursorCharAbsolute=function(A){return this._setCursor((A.params[0]||1)-1,this._activeBuffer.y),!0},E.prototype.cursorPosition=function(A){return this._setCursor(A.length>=2?(A.params[1]||1)-1:0,(A.params[0]||1)-1),!0},E.prototype.charPosAbsolute=function(A){return this._setCursor((A.params[0]||1)-1,this._activeBuffer.y),!0},E.prototype.hPositionRelative=function(A){return this._moveCursor(A.params[0]||1,0),!0},E.prototype.linePosAbsolute=function(A){return this._setCursor(this._activeBuffer.x,(A.params[0]||1)-1),!0},E.prototype.vPositionRelative=function(A){return this._moveCursor(0,A.params[0]||1),!0},E.prototype.hVPosition=function(A){return this.cursorPosition(A),!0},E.prototype.tabClear=function(A){var R=A.params[0];return R===0?delete this._activeBuffer.tabs[this._activeBuffer.x]:R===3&&(this._activeBuffer.tabs={}),!0},E.prototype.cursorForwardTab=function(A){if(this._activeBuffer.x>=this._bufferService.cols)return!0;for(var R=A.params[0]||1;R--;)this._activeBuffer.x=this._activeBuffer.nextStop();return!0},E.prototype.cursorBackwardTab=function(A){if(this._activeBuffer.x>=this._bufferService.cols)return!0;for(var R=A.params[0]||1;R--;)this._activeBuffer.x=this._activeBuffer.prevStop();return!0},E.prototype._eraseInBufferLine=function(A,R,X,D){D===void 0&&(D=!1);var V=this._activeBuffer.lines.get(this._activeBuffer.ybase+A);V.replaceCells(R,X,this._activeBuffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),D&&(V.isWrapped=!1)},E.prototype._resetBufferLine=function(A){var R=this._activeBuffer.lines.get(this._activeBuffer.ybase+A);R.fill(this._activeBuffer.getNullCell(this._eraseAttrData())),this._bufferService.buffer.clearMarkers(this._activeBuffer.ybase+A),R.isWrapped=!1},E.prototype.eraseInDisplay=function(A){var R;switch(this._restrictCursor(this._bufferService.cols),A.params[0]){case 0:for(R=this._activeBuffer.y,this._dirtyRowService.markDirty(R),this._eraseInBufferLine(R++,this._activeBuffer.x,this._bufferService.cols,this._activeBuffer.x===0);R=this._bufferService.cols&&(this._activeBuffer.lines.get(R+1).isWrapped=!1);R--;)this._resetBufferLine(R);this._dirtyRowService.markDirty(0);break;case 2:for(R=this._bufferService.rows,this._dirtyRowService.markDirty(R-1);R--;)this._resetBufferLine(R);this._dirtyRowService.markDirty(0);break;case 3:var X=this._activeBuffer.lines.length-this._bufferService.rows;X>0&&(this._activeBuffer.lines.trimStart(X),this._activeBuffer.ybase=Math.max(this._activeBuffer.ybase-X,0),this._activeBuffer.ydisp=Math.max(this._activeBuffer.ydisp-X,0),this._onScroll.fire(0))}return!0},E.prototype.eraseInLine=function(A){switch(this._restrictCursor(this._bufferService.cols),A.params[0]){case 0:this._eraseInBufferLine(this._activeBuffer.y,this._activeBuffer.x,this._bufferService.cols,this._activeBuffer.x===0);break;case 1:this._eraseInBufferLine(this._activeBuffer.y,0,this._activeBuffer.x+1,!1);break;case 2:this._eraseInBufferLine(this._activeBuffer.y,0,this._bufferService.cols,!0)}return this._dirtyRowService.markDirty(this._activeBuffer.y),!0},E.prototype.insertLines=function(A){this._restrictCursor();var R=A.params[0]||1;if(this._activeBuffer.y>this._activeBuffer.scrollBottom||this._activeBuffer.ythis._activeBuffer.scrollBottom||this._activeBuffer.ythis._activeBuffer.scrollBottom||this._activeBuffer.ythis._activeBuffer.scrollBottom||this._activeBuffer.ythis._activeBuffer.scrollBottom||this._activeBuffer.ythis._activeBuffer.scrollBottom||this._activeBuffer.y0||(this._is("xterm")||this._is("rxvt-unicode")||this._is("screen")?this._coreService.triggerDataEvent(u.C0.ESC+"[?1;2c"):this._is("linux")&&this._coreService.triggerDataEvent(u.C0.ESC+"[?6c")),!0},E.prototype.sendDeviceAttributesSecondary=function(A){return A.params[0]>0||(this._is("xterm")?this._coreService.triggerDataEvent(u.C0.ESC+"[>0;276;0c"):this._is("rxvt-unicode")?this._coreService.triggerDataEvent(u.C0.ESC+"[>85;95;0c"):this._is("linux")?this._coreService.triggerDataEvent(A.params[0]+"c"):this._is("screen")&&this._coreService.triggerDataEvent(u.C0.ESC+"[>83;40003;0c")),!0},E.prototype._is=function(A){return(this._optionsService.rawOptions.termName+"").indexOf(A)===0},E.prototype.setMode=function(A){for(var R=0;R=2||D[1]===2&&j+V>=5)break;D[1]&&(V=1)}while(++j+R5)&&(A=1),R.extended.underlineStyle=A,R.fg|=268435456,A===0&&(R.fg&=-268435457),R.updateExtended()},E.prototype.charAttributes=function(A){if(A.length===1&&A.params[0]===0)return this._curAttrData.fg=$.DEFAULT_ATTR_DATA.fg,this._curAttrData.bg=$.DEFAULT_ATTR_DATA.bg,!0;for(var R,X=A.length,D=this._curAttrData,V=0;V=30&&R<=37?(D.fg&=-50331904,D.fg|=16777216|R-30):R>=40&&R<=47?(D.bg&=-50331904,D.bg|=16777216|R-40):R>=90&&R<=97?(D.fg&=-50331904,D.fg|=16777224|R-90):R>=100&&R<=107?(D.bg&=-50331904,D.bg|=16777224|R-100):R===0?(D.fg=$.DEFAULT_ATTR_DATA.fg,D.bg=$.DEFAULT_ATTR_DATA.bg):R===1?D.fg|=134217728:R===3?D.bg|=67108864:R===4?(D.fg|=268435456,this._processUnderline(A.hasSubParams(V)?A.getSubParams(V)[0]:1,D)):R===5?D.fg|=536870912:R===7?D.fg|=67108864:R===8?D.fg|=1073741824:R===9?D.fg|=2147483648:R===2?D.bg|=134217728:R===21?this._processUnderline(2,D):R===22?(D.fg&=-134217729,D.bg&=-134217729):R===23?D.bg&=-67108865:R===24?D.fg&=-268435457:R===25?D.fg&=-536870913:R===27?D.fg&=-67108865:R===28?D.fg&=-1073741825:R===29?D.fg&=2147483647:R===39?(D.fg&=-67108864,D.fg|=16777215&$.DEFAULT_ATTR_DATA.fg):R===49?(D.bg&=-67108864,D.bg|=16777215&$.DEFAULT_ATTR_DATA.bg):R===38||R===48||R===58?V+=this._extractColor(A,V,D):R===59?(D.extended=D.extended.clone(),D.extended.underlineColor=-1,D.updateExtended()):R===100?(D.fg&=-67108864,D.fg|=16777215&$.DEFAULT_ATTR_DATA.fg,D.bg&=-67108864,D.bg|=16777215&$.DEFAULT_ATTR_DATA.bg):this._logService.debug("Unknown SGR attribute: %d.",R);return!0},E.prototype.deviceStatus=function(A){switch(A.params[0]){case 5:this._coreService.triggerDataEvent(u.C0.ESC+"[0n");break;case 6:var R=this._activeBuffer.y+1,X=this._activeBuffer.x+1;this._coreService.triggerDataEvent(u.C0.ESC+"["+R+";"+X+"R")}return!0},E.prototype.deviceStatusPrivate=function(A){if(A.params[0]===6){var R=this._activeBuffer.y+1,X=this._activeBuffer.x+1;this._coreService.triggerDataEvent(u.C0.ESC+"[?"+R+";"+X+"R")}return!0},E.prototype.softReset=function(A){return this._coreService.isCursorHidden=!1,this._onRequestSyncScrollBar.fire(),this._activeBuffer.scrollTop=0,this._activeBuffer.scrollBottom=this._bufferService.rows-1,this._curAttrData=$.DEFAULT_ATTR_DATA.clone(),this._coreService.reset(),this._charsetService.reset(),this._activeBuffer.savedX=0,this._activeBuffer.savedY=this._activeBuffer.ybase,this._activeBuffer.savedCurAttrData.fg=this._curAttrData.fg,this._activeBuffer.savedCurAttrData.bg=this._curAttrData.bg,this._activeBuffer.savedCharset=this._charsetService.charset,this._coreService.decPrivateModes.origin=!1,!0},E.prototype.setCursorStyle=function(A){var R=A.params[0]||1;switch(R){case 1:case 2:this._optionsService.options.cursorStyle="block";break;case 3:case 4:this._optionsService.options.cursorStyle="underline";break;case 5:case 6:this._optionsService.options.cursorStyle="bar"}var X=R%2==1;return this._optionsService.options.cursorBlink=X,!0},E.prototype.setScrollRegion=function(A){var R,X=A.params[0]||1;return(A.length<2||(R=A.params[1])>this._bufferService.rows||R===0)&&(R=this._bufferService.rows),R>X&&(this._activeBuffer.scrollTop=X-1,this._activeBuffer.scrollBottom=R-1,this._setCursor(0,0)),!0},E.prototype.windowOptions=function(A){if(!x(A.params[0],this._optionsService.rawOptions.windowOptions))return!0;var R=A.length>1?A.params[1]:0;switch(A.params[0]){case 14:R!==2&&this._onRequestWindowsOptionsReport.fire(c.GET_WIN_SIZE_PIXELS);break;case 16:this._onRequestWindowsOptionsReport.fire(c.GET_CELL_SIZE_PIXELS);break;case 18:this._bufferService&&this._coreService.triggerDataEvent(u.C0.ESC+"[8;"+this._bufferService.rows+";"+this._bufferService.cols+"t");break;case 22:R!==0&&R!==2||(this._windowTitleStack.push(this._windowTitle),this._windowTitleStack.length>10&&this._windowTitleStack.shift()),R!==0&&R!==1||(this._iconNameStack.push(this._iconName),this._iconNameStack.length>10&&this._iconNameStack.shift());break;case 23:R!==0&&R!==2||this._windowTitleStack.length&&this.setTitle(this._windowTitleStack.pop()),R!==0&&R!==1||this._iconNameStack.length&&this.setIconName(this._iconNameStack.pop())}return!0},E.prototype.saveCursor=function(A){return this._activeBuffer.savedX=this._activeBuffer.x,this._activeBuffer.savedY=this._activeBuffer.ybase+this._activeBuffer.y,this._activeBuffer.savedCurAttrData.fg=this._curAttrData.fg,this._activeBuffer.savedCurAttrData.bg=this._curAttrData.bg,this._activeBuffer.savedCharset=this._charsetService.charset,!0},E.prototype.restoreCursor=function(A){return this._activeBuffer.x=this._activeBuffer.savedX||0,this._activeBuffer.y=Math.max(this._activeBuffer.savedY-this._activeBuffer.ybase,0),this._curAttrData.fg=this._activeBuffer.savedCurAttrData.fg,this._curAttrData.bg=this._activeBuffer.savedCurAttrData.bg,this._charsetService.charset=this._savedCharset,this._activeBuffer.savedCharset&&(this._charsetService.charset=this._activeBuffer.savedCharset),this._restrictCursor(),!0},E.prototype.setTitle=function(A){return this._windowTitle=A,this._onTitleChange.fire(A),!0},E.prototype.setIconName=function(A){return this._iconName=A,!0},E.prototype.setOrReportIndexedColor=function(A){for(var R=[],X=A.split(";");X.length>1;){var D=X.shift(),V=X.shift();if(/^\d+$/.exec(D)){var j=parseInt(D);if(0<=j&&j<256)if(V==="?")R.push({type:0,index:j});else{var Z=(0,S.parseColor)(V);Z&&R.push({type:1,index:j,color:Z})}}}return R.length&&this._onColor.fire(R),!0},E.prototype._setOrReportSpecialColor=function(A,R){for(var X=A.split(";"),D=0;D=this._specialColors.length);++D,++R)if(X[D]==="?")this._onColor.fire([{type:0,index:this._specialColors[R]}]);else{var V=(0,S.parseColor)(X[D]);V&&this._onColor.fire([{type:1,index:this._specialColors[R],color:V}])}return!0},E.prototype.setOrReportFgColor=function(A){return this._setOrReportSpecialColor(A,0)},E.prototype.setOrReportBgColor=function(A){return this._setOrReportSpecialColor(A,1)},E.prototype.setOrReportCursorColor=function(A){return this._setOrReportSpecialColor(A,2)},E.prototype.restoreIndexedColor=function(A){if(!A)return this._onColor.fire([{type:2}]),!0;for(var R=[],X=A.split(";"),D=0;D=this._bufferService.rows&&(this._activeBuffer.y=this._bufferService.rows-1),this._restrictCursor(),!0},E.prototype.tabSet=function(){return this._activeBuffer.tabs[this._activeBuffer.x]=!0,!0},E.prototype.reverseIndex=function(){if(this._restrictCursor(),this._activeBuffer.y===this._activeBuffer.scrollTop){var A=this._activeBuffer.scrollBottom-this._activeBuffer.scrollTop;this._activeBuffer.lines.shiftElements(this._activeBuffer.ybase+this._activeBuffer.y,A,1),this._activeBuffer.lines.set(this._activeBuffer.ybase+this._activeBuffer.y,this._activeBuffer.getBlankLine(this._eraseAttrData())),this._dirtyRowService.markRangeDirty(this._activeBuffer.scrollTop,this._activeBuffer.scrollBottom)}else this._activeBuffer.y--,this._restrictCursor();return!0},E.prototype.fullReset=function(){return this._parser.reset(),this._onRequestReset.fire(),!0},E.prototype.reset=function(){this._curAttrData=$.DEFAULT_ATTR_DATA.clone(),this._eraseAttrDataInternal=$.DEFAULT_ATTR_DATA.clone()},E.prototype._eraseAttrData=function(){return this._eraseAttrDataInternal.bg&=-67108864,this._eraseAttrDataInternal.bg|=67108863&this._curAttrData.bg,this._eraseAttrDataInternal},E.prototype.setgLevel=function(A){return this._charsetService.setgLevel(A),!0},E.prototype.screenAlignmentPattern=function(){var A=new g.CellData;A.content=1<<22|"E".charCodeAt(0),A.fg=this._curAttrData.fg,A.bg=this._curAttrData.bg,this._setCursor(0,0);for(var R=0;R=c.length&&(c=void 0),{value:c&&c[f++],done:!c}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(s,"__esModule",{value:!0}),s.getDisposeArrayDisposable=s.disposeArray=s.Disposable=void 0;var a=function(){function c(){this._disposables=[],this._isDisposed=!1}return c.prototype.dispose=function(){var u,O;this._isDisposed=!0;try{for(var f=o(this._disposables),h=f.next();!h.done;h=f.next())h.value.dispose()}catch(p){u={error:p}}finally{try{h&&!h.done&&(O=f.return)&&O.call(f)}finally{if(u)throw u.error}}this._disposables.length=0},c.prototype.register=function(u){return this._disposables.push(u),u},c.prototype.unregister=function(u){var O=this._disposables.indexOf(u);O!==-1&&this._disposables.splice(O,1)},c}();function l(c){var u,O;try{for(var f=o(c),h=f.next();!h.done;h=f.next())h.value.dispose()}catch(p){u={error:p}}finally{try{h&&!h.done&&(O=f.return)&&O.call(f)}finally{if(u)throw u.error}}c.length=0}s.Disposable=a,s.disposeArray=l,s.getDisposeArrayDisposable=function(c){return{dispose:function(){return l(c)}}}},6114:(r,s)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.isLinux=s.isWindows=s.isIphone=s.isIpad=s.isMac=s.isSafari=s.isLegacyEdge=s.isFirefox=void 0;var o=typeof navigator=="undefined",a=o?"node":navigator.userAgent,l=o?"node":navigator.platform;s.isFirefox=a.includes("Firefox"),s.isLegacyEdge=a.includes("Edge"),s.isSafari=/^((?!chrome|android).)*safari/i.test(a),s.isMac=["Macintosh","MacIntel","MacPPC","Mac68K"].includes(l),s.isIpad=l==="iPad",s.isIphone=l==="iPhone",s.isWindows=["Windows","Win16","Win32","WinCE"].includes(l),s.isLinux=l.indexOf("Linux")>=0},6106:function(r,s){var o=this&&this.__generator||function(l,c){var u,O,f,h,p={label:0,sent:function(){if(1&f[0])throw f[1];return f[1]},trys:[],ops:[]};return h={next:y(0),throw:y(1),return:y(2)},typeof Symbol=="function"&&(h[Symbol.iterator]=function(){return this}),h;function y($){return function(m){return function(d){if(u)throw new TypeError("Generator is already executing.");for(;p;)try{if(u=1,O&&(f=2&d[0]?O.return:d[0]?O.throw||((f=O.return)&&f.call(O),0):O.next)&&!(f=f.call(O,d[1])).done)return f;switch(O=0,f&&(d=[2&d[0],f.value]),d[0]){case 0:case 1:f=d;break;case 4:return p.label++,{value:d[1],done:!1};case 5:p.label++,O=d[1],d=[0];continue;case 7:d=p.ops.pop(),p.trys.pop();continue;default:if(!((f=(f=p.trys).length>0&&f[f.length-1])||d[0]!==6&&d[0]!==2)){p=0;continue}if(d[0]===3&&(!f||d[1]>f[0]&&d[1]=this._array.length)return[2];if(this._getKey(this._array[u])!==c)return[2];O.label=1;case 1:return[4,this._array[u]];case 2:O.sent(),O.label=3;case 3:if(++uc)return this._search(c,u,f-1);if(this._getKey(this._array[f])0&&this._getKey(this._array[f-1])===c;)f--;return f},l}();s.SortedList=a},8273:(r,s)=>{function o(a,l,c,u){if(c===void 0&&(c=0),u===void 0&&(u=a.length),c>=a.length)return a;c=(a.length+c)%a.length,u=u>=a.length?a.length:(a.length+u)%a.length;for(var O=c;O{Object.defineProperty(s,"__esModule",{value:!0}),s.updateWindowsModeWrappedState=void 0;var a=o(643);s.updateWindowsModeWrappedState=function(l){var c=l.buffer.lines.get(l.buffer.ybase+l.buffer.y-1),u=c==null?void 0:c.get(l.cols-1),O=l.buffer.lines.get(l.buffer.ybase+l.buffer.y);O&&u&&(O.isWrapped=u[a.CHAR_DATA_CODE_INDEX]!==a.NULL_CELL_CODE&&u[a.CHAR_DATA_CODE_INDEX]!==a.WHITESPACE_CELL_CODE)}},3734:(r,s)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.ExtendedAttrs=s.AttributeData=void 0;var o=function(){function l(){this.fg=0,this.bg=0,this.extended=new a}return l.toColorRGB=function(c){return[c>>>16&255,c>>>8&255,255&c]},l.fromColorRGB=function(c){return(255&c[0])<<16|(255&c[1])<<8|255&c[2]},l.prototype.clone=function(){var c=new l;return c.fg=this.fg,c.bg=this.bg,c.extended=this.extended.clone(),c},l.prototype.isInverse=function(){return 67108864&this.fg},l.prototype.isBold=function(){return 134217728&this.fg},l.prototype.isUnderline=function(){return 268435456&this.fg},l.prototype.isBlink=function(){return 536870912&this.fg},l.prototype.isInvisible=function(){return 1073741824&this.fg},l.prototype.isItalic=function(){return 67108864&this.bg},l.prototype.isDim=function(){return 134217728&this.bg},l.prototype.isStrikethrough=function(){return 2147483648&this.fg},l.prototype.getFgColorMode=function(){return 50331648&this.fg},l.prototype.getBgColorMode=function(){return 50331648&this.bg},l.prototype.isFgRGB=function(){return(50331648&this.fg)==50331648},l.prototype.isBgRGB=function(){return(50331648&this.bg)==50331648},l.prototype.isFgPalette=function(){return(50331648&this.fg)==16777216||(50331648&this.fg)==33554432},l.prototype.isBgPalette=function(){return(50331648&this.bg)==16777216||(50331648&this.bg)==33554432},l.prototype.isFgDefault=function(){return(50331648&this.fg)==0},l.prototype.isBgDefault=function(){return(50331648&this.bg)==0},l.prototype.isAttributeDefault=function(){return this.fg===0&&this.bg===0},l.prototype.getFgColor=function(){switch(50331648&this.fg){case 16777216:case 33554432:return 255&this.fg;case 50331648:return 16777215&this.fg;default:return-1}},l.prototype.getBgColor=function(){switch(50331648&this.bg){case 16777216:case 33554432:return 255&this.bg;case 50331648:return 16777215&this.bg;default:return-1}},l.prototype.hasExtendedAttrs=function(){return 268435456&this.bg},l.prototype.updateExtended=function(){this.extended.isEmpty()?this.bg&=-268435457:this.bg|=268435456},l.prototype.getUnderlineColor=function(){if(268435456&this.bg&&~this.extended.underlineColor)switch(50331648&this.extended.underlineColor){case 16777216:case 33554432:return 255&this.extended.underlineColor;case 50331648:return 16777215&this.extended.underlineColor;default:return this.getFgColor()}return this.getFgColor()},l.prototype.getUnderlineColorMode=function(){return 268435456&this.bg&&~this.extended.underlineColor?50331648&this.extended.underlineColor:this.getFgColorMode()},l.prototype.isUnderlineColorRGB=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==50331648:this.isFgRGB()},l.prototype.isUnderlineColorPalette=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==16777216||(50331648&this.extended.underlineColor)==33554432:this.isFgPalette()},l.prototype.isUnderlineColorDefault=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==0:this.isFgDefault()},l.prototype.getUnderlineStyle=function(){return 268435456&this.fg?268435456&this.bg?this.extended.underlineStyle:1:0},l}();s.AttributeData=o;var a=function(){function l(c,u){c===void 0&&(c=0),u===void 0&&(u=-1),this.underlineStyle=c,this.underlineColor=u}return l.prototype.clone=function(){return new l(this.underlineStyle,this.underlineColor)},l.prototype.isEmpty=function(){return this.underlineStyle===0},l}();s.ExtendedAttrs=a},9092:function(r,s,o){var a=this&&this.__read||function(g,v){var b=typeof Symbol=="function"&&g[Symbol.iterator];if(!b)return g;var _,Q,S=b.call(g),P=[];try{for(;(v===void 0||v-- >0)&&!(_=S.next()).done;)P.push(_.value)}catch(w){Q={error:w}}finally{try{_&&!_.done&&(b=S.return)&&b.call(S)}finally{if(Q)throw Q.error}}return P},l=this&&this.__spreadArray||function(g,v,b){if(b||arguments.length===2)for(var _,Q=0,S=v.length;Qthis._rows},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"isCursorInViewport",{get:function(){var v=this.ybase+this.y-this.ydisp;return v>=0&&vs.MAX_BUFFER_SIZE?s.MAX_BUFFER_SIZE:b},g.prototype.fillViewportRows=function(v){if(this.lines.length===0){v===void 0&&(v=u.DEFAULT_ATTR_DATA);for(var b=this._rows;b--;)this.lines.push(this.getBlankLine(v))}},g.prototype.clear=function(){this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.lines=new c.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()},g.prototype.resize=function(v,b){var _=this.getNullCell(u.DEFAULT_ATTR_DATA),Q=this._getCorrectBufferLength(b);if(Q>this.lines.maxLength&&(this.lines.maxLength=Q),this.lines.length>0){if(this._cols0&&this.lines.length<=this.ybase+this.y+P+1?(this.ybase--,P++,this.ydisp>0&&this.ydisp--):this.lines.push(new u.BufferLine(v,_)));else for(w=this._rows;w>b;w--)this.lines.length>b+this.ybase&&(this.lines.length>this.ybase+this.y+1?this.lines.pop():(this.ybase++,this.ydisp++));if(Q0&&(this.lines.trimStart(x),this.ybase=Math.max(this.ybase-x,0),this.ydisp=Math.max(this.ydisp-x,0),this.savedY=Math.max(this.savedY-x,0)),this.lines.maxLength=Q}this.x=Math.min(this.x,v-1),this.y=Math.min(this.y,b-1),P&&(this.y+=P),this.savedX=Math.min(this.savedX,v-1),this.scrollTop=0}if(this.scrollBottom=b-1,this._isReflowEnabled&&(this._reflow(v,b),this._cols>v))for(S=0;Sthis._cols?this._reflowLarger(v,b):this._reflowSmaller(v,b))},g.prototype._reflowLarger=function(v,b){var _=(0,h.reflowLargerGetLinesToRemove)(this.lines,this._cols,v,this.ybase+this.y,this.getNullCell(u.DEFAULT_ATTR_DATA));if(_.length>0){var Q=(0,h.reflowLargerCreateNewLayout)(this.lines,_);(0,h.reflowLargerApplyNewLayout)(this.lines,Q.layout),this._reflowLargerAdjustViewport(v,b,Q.countRemoved)}},g.prototype._reflowLargerAdjustViewport=function(v,b,_){for(var Q=this.getNullCell(u.DEFAULT_ATTR_DATA),S=_;S-- >0;)this.ybase===0?(this.y>0&&this.y--,this.lines.length=0;P--){var w=this.lines.get(P);if(!(!w||!w.isWrapped&&w.getTrimmedLength()<=v)){for(var x=[w];w.isWrapped&&P>0;)w=this.lines.get(--P),x.unshift(w);var k=this.ybase+this.y;if(!(k>=P&&k0&&(Q.push({start:P+x.length+S,newLines:R}),S+=R.length),x.push.apply(x,l([],a(R),!1));var V=E.length-1,j=E[V];j===0&&(j=E[--V]);for(var Z=x.length-A-1,ee=T;Z>=0;){var se=Math.min(ee,j);if(x[V]===void 0)break;if(x[V].copyCellsFrom(x[Z],ee-se,j-se,se,!0),(j-=se)==0&&(j=E[--V]),(ee-=se)==0){Z--;var I=Math.max(Z,0);ee=(0,h.getWrappedLineTrimmedLength)(x,I,this._cols)}}for(X=0;X0;)this.ybase===0?this.y0){var H=[],re=[];for(X=0;X=0;X--)if(ue&&ue.start>Re+W){for(var q=ue.newLines.length-1;q>=0;q--)this.lines.set(X--,ue.newLines[q]);X++,H.push({index:Re+1,amount:ue.newLines.length}),W+=ue.newLines.length,ue=Q[++_e]}else this.lines.set(X,re[Re--]);var F=0;for(X=H.length-1;X>=0;X--)H[X].index+=F,this.lines.onInsertEmitter.fire(H[X]),F+=H[X].amount;var fe=Math.max(0,G+S-this.lines.maxLength);fe>0&&this.lines.onTrimEmitter.fire(fe)}},g.prototype.stringIndexToBufferIndex=function(v,b,_){for(_===void 0&&(_=!1);b;){var Q=this.lines.get(v);if(!Q)return[-1,-1];for(var S=_?Q.getTrimmedLength():Q.length,P=0;P0&&this.lines.get(b).isWrapped;)b--;for(;_+10;);return v>=this._cols?this._cols-1:v<0?0:v},g.prototype.nextStop=function(v){for(v==null&&(v=this.x);!this.tabs[++v]&&v=this._cols?this._cols-1:v<0?0:v},g.prototype.clearMarkers=function(v){this._isClearing=!0;for(var b=0;b=Q.index&&(_.line+=Q.amount)})),_.register(this.lines.onDelete(function(Q){_.line>=Q.index&&_.lineQ.index&&(_.line-=Q.amount)})),_.register(_.onDispose(function(){return b._removeMarker(_)})),_},g.prototype._removeMarker=function(v){this._isClearing||this.markers.splice(this.markers.indexOf(v),1)},g.prototype.iterator=function(v,b,_,Q,S){return new d(this,v,b,_,Q,S)},g}();s.Buffer=m;var d=function(){function g(v,b,_,Q,S,P){_===void 0&&(_=0),Q===void 0&&(Q=v.lines.length),S===void 0&&(S=0),P===void 0&&(P=0),this._buffer=v,this._trimRight=b,this._startIndex=_,this._endIndex=Q,this._startOverscan=S,this._endOverscan=P,this._startIndex<0&&(this._startIndex=0),this._endIndex>this._buffer.lines.length&&(this._endIndex=this._buffer.lines.length),this._current=this._startIndex}return g.prototype.hasNext=function(){return this._currentthis._endIndex+this._endOverscan&&(v.last=this._endIndex+this._endOverscan),v.first=Math.max(v.first,0),v.last=Math.min(v.last,this._buffer.lines.length);for(var b="",_=v.first;_<=v.last;++_)b+=this._buffer.translateBufferLineToString(_,this._trimRight);return this._current=v.last+1,{range:v,content:b}},g}();s.BufferStringIterator=d},8437:(r,s,o)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.BufferLine=s.DEFAULT_ATTR_DATA=void 0;var a=o(482),l=o(643),c=o(511),u=o(3734);s.DEFAULT_ATTR_DATA=Object.freeze(new u.AttributeData);var O=function(){function f(h,p,y){y===void 0&&(y=!1),this.isWrapped=y,this._combined={},this._extendedAttrs={},this._data=new Uint32Array(3*h);for(var $=p||c.CellData.fromCharData([0,l.NULL_CELL_CHAR,l.NULL_CELL_WIDTH,l.NULL_CELL_CODE]),m=0;m>22,2097152&p?this._combined[h].charCodeAt(this._combined[h].length-1):y]},f.prototype.set=function(h,p){this._data[3*h+1]=p[l.CHAR_DATA_ATTR_INDEX],p[l.CHAR_DATA_CHAR_INDEX].length>1?(this._combined[h]=p[1],this._data[3*h+0]=2097152|h|p[l.CHAR_DATA_WIDTH_INDEX]<<22):this._data[3*h+0]=p[l.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|p[l.CHAR_DATA_WIDTH_INDEX]<<22},f.prototype.getWidth=function(h){return this._data[3*h+0]>>22},f.prototype.hasWidth=function(h){return 12582912&this._data[3*h+0]},f.prototype.getFg=function(h){return this._data[3*h+1]},f.prototype.getBg=function(h){return this._data[3*h+2]},f.prototype.hasContent=function(h){return 4194303&this._data[3*h+0]},f.prototype.getCodePoint=function(h){var p=this._data[3*h+0];return 2097152&p?this._combined[h].charCodeAt(this._combined[h].length-1):2097151&p},f.prototype.isCombined=function(h){return 2097152&this._data[3*h+0]},f.prototype.getString=function(h){var p=this._data[3*h+0];return 2097152&p?this._combined[h]:2097151&p?(0,a.stringFromCodePoint)(2097151&p):""},f.prototype.loadCell=function(h,p){var y=3*h;return p.content=this._data[y+0],p.fg=this._data[y+1],p.bg=this._data[y+2],2097152&p.content&&(p.combinedData=this._combined[h]),268435456&p.bg&&(p.extended=this._extendedAttrs[h]),p},f.prototype.setCell=function(h,p){2097152&p.content&&(this._combined[h]=p.combinedData),268435456&p.bg&&(this._extendedAttrs[h]=p.extended),this._data[3*h+0]=p.content,this._data[3*h+1]=p.fg,this._data[3*h+2]=p.bg},f.prototype.setCellFromCodePoint=function(h,p,y,$,m,d){268435456&m&&(this._extendedAttrs[h]=d),this._data[3*h+0]=p|y<<22,this._data[3*h+1]=$,this._data[3*h+2]=m},f.prototype.addCodepointToCell=function(h,p){var y=this._data[3*h+0];2097152&y?this._combined[h]+=(0,a.stringFromCodePoint)(p):(2097151&y?(this._combined[h]=(0,a.stringFromCodePoint)(2097151&y)+(0,a.stringFromCodePoint)(p),y&=-2097152,y|=2097152):y=p|1<<22,this._data[3*h+0]=y)},f.prototype.insertCells=function(h,p,y,$){if((h%=this.length)&&this.getWidth(h-1)===2&&this.setCellFromCodePoint(h-1,0,1,($==null?void 0:$.fg)||0,($==null?void 0:$.bg)||0,($==null?void 0:$.extended)||new u.ExtendedAttrs),p=0;--d)this.setCell(h+p+d,this.loadCell(h+d,m));for(d=0;dthis.length){var y=new Uint32Array(3*h);this.length&&(3*h=h&&delete this._combined[d]}}else this._data=new Uint32Array(0),this._combined={};this.length=h}},f.prototype.fill=function(h){this._combined={},this._extendedAttrs={};for(var p=0;p=0;--h)if(4194303&this._data[3*h+0])return h+(this._data[3*h+0]>>22);return 0},f.prototype.copyCellsFrom=function(h,p,y,$,m){var d=h._data;if(m)for(var g=$-1;g>=0;g--)for(var v=0;v<3;v++)this._data[3*(y+g)+v]=d[3*(p+g)+v];else for(g=0;g<$;g++)for(v=0;v<3;v++)this._data[3*(y+g)+v]=d[3*(p+g)+v];var b=Object.keys(h._combined);for(v=0;v=p&&(this._combined[_-p+y]=h._combined[_])}},f.prototype.translateToString=function(h,p,y){h===void 0&&(h=!1),p===void 0&&(p=0),y===void 0&&(y=this.length),h&&(y=Math.min(y,this.getTrimmedLength()));for(var $="";p>22||1}return $},f}();s.BufferLine=O},4841:(r,s)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.getRangeLength=void 0,s.getRangeLength=function(o,a){if(o.start.y>o.end.y)throw new Error("Buffer range end ("+o.end.x+", "+o.end.y+") cannot be before start ("+o.start.x+", "+o.start.y+")");return a*(o.end.y-o.start.y)+(o.end.x-o.start.x+1)}},4634:(r,s)=>{function o(a,l,c){if(l===a.length-1)return a[l].getTrimmedLength();var u=!a[l].hasContent(c-1)&&a[l].getWidth(c-1)===1,O=a[l+1].getWidth(0)===2;return u&&O?c-1:c}Object.defineProperty(s,"__esModule",{value:!0}),s.getWrappedLineTrimmedLength=s.reflowSmallerGetNewLineLengths=s.reflowLargerApplyNewLayout=s.reflowLargerCreateNewLayout=s.reflowLargerGetLinesToRemove=void 0,s.reflowLargerGetLinesToRemove=function(a,l,c,u,O){for(var f=[],h=0;h=h&&u0&&(w>m||$[w].getTrimmedLength()===0);w--)P++;P>0&&(f.push(h+$.length-P),f.push(P)),h+=$.length-1}}}return f},s.reflowLargerCreateNewLayout=function(a,l){for(var c=[],u=0,O=l[u],f=0,h=0;hy&&(f-=y,h++);var $=a[h].getWidth(f-1)===2;$&&f--;var m=$?c-1:c;u.push(m),p+=m}return u},s.getWrappedLineTrimmedLength=o},5295:function(r,s,o){var a,l=this&&this.__extends||(a=function(f,h){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,y){p.__proto__=y}||function(p,y){for(var $ in y)Object.prototype.hasOwnProperty.call(y,$)&&(p[$]=y[$])},a(f,h)},function(f,h){if(typeof h!="function"&&h!==null)throw new TypeError("Class extends value "+String(h)+" is not a constructor or null");function p(){this.constructor=f}a(f,h),f.prototype=h===null?Object.create(h):(p.prototype=h.prototype,new p)});Object.defineProperty(s,"__esModule",{value:!0}),s.BufferSet=void 0;var c=o(9092),u=o(8460),O=function(f){function h(p,y){var $=f.call(this)||this;return $._optionsService=p,$._bufferService=y,$._onBufferActivate=$.register(new u.EventEmitter),$.reset(),$}return l(h,f),Object.defineProperty(h.prototype,"onBufferActivate",{get:function(){return this._onBufferActivate.event},enumerable:!1,configurable:!0}),h.prototype.reset=function(){this._normal=new c.Buffer(!0,this._optionsService,this._bufferService),this._normal.fillViewportRows(),this._alt=new c.Buffer(!1,this._optionsService,this._bufferService),this._activeBuffer=this._normal,this._onBufferActivate.fire({activeBuffer:this._normal,inactiveBuffer:this._alt}),this.setupTabStops()},Object.defineProperty(h.prototype,"alt",{get:function(){return this._alt},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"active",{get:function(){return this._activeBuffer},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"normal",{get:function(){return this._normal},enumerable:!1,configurable:!0}),h.prototype.activateNormalBuffer=function(){this._activeBuffer!==this._normal&&(this._normal.x=this._alt.x,this._normal.y=this._alt.y,this._alt.clear(),this._activeBuffer=this._normal,this._onBufferActivate.fire({activeBuffer:this._normal,inactiveBuffer:this._alt}))},h.prototype.activateAltBuffer=function(p){this._activeBuffer!==this._alt&&(this._alt.fillViewportRows(p),this._alt.x=this._normal.x,this._alt.y=this._normal.y,this._activeBuffer=this._alt,this._onBufferActivate.fire({activeBuffer:this._alt,inactiveBuffer:this._normal}))},h.prototype.resize=function(p,y){this._normal.resize(p,y),this._alt.resize(p,y)},h.prototype.setupTabStops=function(p){this._normal.setupTabStops(p),this._alt.setupTabStops(p)},h}(o(844).Disposable);s.BufferSet=O},511:function(r,s,o){var a,l=this&&this.__extends||(a=function(h,p){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(y,$){y.__proto__=$}||function(y,$){for(var m in $)Object.prototype.hasOwnProperty.call($,m)&&(y[m]=$[m])},a(h,p)},function(h,p){if(typeof p!="function"&&p!==null)throw new TypeError("Class extends value "+String(p)+" is not a constructor or null");function y(){this.constructor=h}a(h,p),h.prototype=p===null?Object.create(p):(y.prototype=p.prototype,new y)});Object.defineProperty(s,"__esModule",{value:!0}),s.CellData=void 0;var c=o(482),u=o(643),O=o(3734),f=function(h){function p(){var y=h!==null&&h.apply(this,arguments)||this;return y.content=0,y.fg=0,y.bg=0,y.extended=new O.ExtendedAttrs,y.combinedData="",y}return l(p,h),p.fromCharData=function(y){var $=new p;return $.setFromCharData(y),$},p.prototype.isCombined=function(){return 2097152&this.content},p.prototype.getWidth=function(){return this.content>>22},p.prototype.getChars=function(){return 2097152&this.content?this.combinedData:2097151&this.content?(0,c.stringFromCodePoint)(2097151&this.content):""},p.prototype.getCode=function(){return this.isCombined()?this.combinedData.charCodeAt(this.combinedData.length-1):2097151&this.content},p.prototype.setFromCharData=function(y){this.fg=y[u.CHAR_DATA_ATTR_INDEX],this.bg=0;var $=!1;if(y[u.CHAR_DATA_CHAR_INDEX].length>2)$=!0;else if(y[u.CHAR_DATA_CHAR_INDEX].length===2){var m=y[u.CHAR_DATA_CHAR_INDEX].charCodeAt(0);if(55296<=m&&m<=56319){var d=y[u.CHAR_DATA_CHAR_INDEX].charCodeAt(1);56320<=d&&d<=57343?this.content=1024*(m-55296)+d-56320+65536|y[u.CHAR_DATA_WIDTH_INDEX]<<22:$=!0}else $=!0}else this.content=y[u.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|y[u.CHAR_DATA_WIDTH_INDEX]<<22;$&&(this.combinedData=y[u.CHAR_DATA_CHAR_INDEX],this.content=2097152|y[u.CHAR_DATA_WIDTH_INDEX]<<22)},p.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},p}(O.AttributeData);s.CellData=f},643:(r,s)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.WHITESPACE_CELL_CODE=s.WHITESPACE_CELL_WIDTH=s.WHITESPACE_CELL_CHAR=s.NULL_CELL_CODE=s.NULL_CELL_WIDTH=s.NULL_CELL_CHAR=s.CHAR_DATA_CODE_INDEX=s.CHAR_DATA_WIDTH_INDEX=s.CHAR_DATA_CHAR_INDEX=s.CHAR_DATA_ATTR_INDEX=s.DEFAULT_ATTR=s.DEFAULT_COLOR=void 0,s.DEFAULT_COLOR=256,s.DEFAULT_ATTR=256|s.DEFAULT_COLOR<<9,s.CHAR_DATA_ATTR_INDEX=0,s.CHAR_DATA_CHAR_INDEX=1,s.CHAR_DATA_WIDTH_INDEX=2,s.CHAR_DATA_CODE_INDEX=3,s.NULL_CELL_CHAR="",s.NULL_CELL_WIDTH=1,s.NULL_CELL_CODE=0,s.WHITESPACE_CELL_CHAR=" ",s.WHITESPACE_CELL_WIDTH=1,s.WHITESPACE_CELL_CODE=32},4863:function(r,s,o){var a,l=this&&this.__extends||(a=function(O,f){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,p){h.__proto__=p}||function(h,p){for(var y in p)Object.prototype.hasOwnProperty.call(p,y)&&(h[y]=p[y])},a(O,f)},function(O,f){if(typeof f!="function"&&f!==null)throw new TypeError("Class extends value "+String(f)+" is not a constructor or null");function h(){this.constructor=O}a(O,f),O.prototype=f===null?Object.create(f):(h.prototype=f.prototype,new h)});Object.defineProperty(s,"__esModule",{value:!0}),s.Marker=void 0;var c=o(8460),u=function(O){function f(h){var p=O.call(this)||this;return p.line=h,p._id=f._nextId++,p.isDisposed=!1,p._onDispose=new c.EventEmitter,p}return l(f,O),Object.defineProperty(f.prototype,"id",{get:function(){return this._id},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"onDispose",{get:function(){return this._onDispose.event},enumerable:!1,configurable:!0}),f.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this.line=-1,this._onDispose.fire(),O.prototype.dispose.call(this))},f._nextId=1,f}(o(844).Disposable);s.Marker=u},7116:(r,s)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.DEFAULT_CHARSET=s.CHARSETS=void 0,s.CHARSETS={},s.DEFAULT_CHARSET=s.CHARSETS.B,s.CHARSETS[0]={"`":"\u25C6",a:"\u2592",b:"\u2409",c:"\u240C",d:"\u240D",e:"\u240A",f:"\xB0",g:"\xB1",h:"\u2424",i:"\u240B",j:"\u2518",k:"\u2510",l:"\u250C",m:"\u2514",n:"\u253C",o:"\u23BA",p:"\u23BB",q:"\u2500",r:"\u23BC",s:"\u23BD",t:"\u251C",u:"\u2524",v:"\u2534",w:"\u252C",x:"\u2502",y:"\u2264",z:"\u2265","{":"\u03C0","|":"\u2260","}":"\xA3","~":"\xB7"},s.CHARSETS.A={"#":"\xA3"},s.CHARSETS.B=void 0,s.CHARSETS[4]={"#":"\xA3","@":"\xBE","[":"ij","\\":"\xBD","]":"|","{":"\xA8","|":"f","}":"\xBC","~":"\xB4"},s.CHARSETS.C=s.CHARSETS[5]={"[":"\xC4","\\":"\xD6","]":"\xC5","^":"\xDC","`":"\xE9","{":"\xE4","|":"\xF6","}":"\xE5","~":"\xFC"},s.CHARSETS.R={"#":"\xA3","@":"\xE0","[":"\xB0","\\":"\xE7","]":"\xA7","{":"\xE9","|":"\xF9","}":"\xE8","~":"\xA8"},s.CHARSETS.Q={"@":"\xE0","[":"\xE2","\\":"\xE7","]":"\xEA","^":"\xEE","`":"\xF4","{":"\xE9","|":"\xF9","}":"\xE8","~":"\xFB"},s.CHARSETS.K={"@":"\xA7","[":"\xC4","\\":"\xD6","]":"\xDC","{":"\xE4","|":"\xF6","}":"\xFC","~":"\xDF"},s.CHARSETS.Y={"#":"\xA3","@":"\xA7","[":"\xB0","\\":"\xE7","]":"\xE9","`":"\xF9","{":"\xE0","|":"\xF2","}":"\xE8","~":"\xEC"},s.CHARSETS.E=s.CHARSETS[6]={"@":"\xC4","[":"\xC6","\\":"\xD8","]":"\xC5","^":"\xDC","`":"\xE4","{":"\xE6","|":"\xF8","}":"\xE5","~":"\xFC"},s.CHARSETS.Z={"#":"\xA3","@":"\xA7","[":"\xA1","\\":"\xD1","]":"\xBF","{":"\xB0","|":"\xF1","}":"\xE7"},s.CHARSETS.H=s.CHARSETS[7]={"@":"\xC9","[":"\xC4","\\":"\xD6","]":"\xC5","^":"\xDC","`":"\xE9","{":"\xE4","|":"\xF6","}":"\xE5","~":"\xFC"},s.CHARSETS["="]={"#":"\xF9","@":"\xE0","[":"\xE9","\\":"\xE7","]":"\xEA","^":"\xEE",_:"\xE8","`":"\xF4","{":"\xE4","|":"\xF6","}":"\xFC","~":"\xFB"}},2584:(r,s)=>{var o,a;Object.defineProperty(s,"__esModule",{value:!0}),s.C1_ESCAPED=s.C1=s.C0=void 0,function(l){l.NUL="\0",l.SOH="",l.STX="",l.ETX="",l.EOT="",l.ENQ="",l.ACK="",l.BEL="\x07",l.BS="\b",l.HT=" ",l.LF=` +`,l.VT="\v",l.FF="\f",l.CR="\r",l.SO="",l.SI="",l.DLE="",l.DC1="",l.DC2="",l.DC3="",l.DC4="",l.NAK="",l.SYN="",l.ETB="",l.CAN="",l.EM="",l.SUB="",l.ESC="\x1B",l.FS="",l.GS="",l.RS="",l.US="",l.SP=" ",l.DEL="\x7F"}(o=s.C0||(s.C0={})),(a=s.C1||(s.C1={})).PAD="\x80",a.HOP="\x81",a.BPH="\x82",a.NBH="\x83",a.IND="\x84",a.NEL="\x85",a.SSA="\x86",a.ESA="\x87",a.HTS="\x88",a.HTJ="\x89",a.VTS="\x8A",a.PLD="\x8B",a.PLU="\x8C",a.RI="\x8D",a.SS2="\x8E",a.SS3="\x8F",a.DCS="\x90",a.PU1="\x91",a.PU2="\x92",a.STS="\x93",a.CCH="\x94",a.MW="\x95",a.SPA="\x96",a.EPA="\x97",a.SOS="\x98",a.SGCI="\x99",a.SCI="\x9A",a.CSI="\x9B",a.ST="\x9C",a.OSC="\x9D",a.PM="\x9E",a.APC="\x9F",(s.C1_ESCAPED||(s.C1_ESCAPED={})).ST=o.ESC+"\\"},7399:(r,s,o)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.evaluateKeyboardEvent=void 0;var a=o(2584),l={48:["0",")"],49:["1","!"],50:["2","@"],51:["3","#"],52:["4","$"],53:["5","%"],54:["6","^"],55:["7","&"],56:["8","*"],57:["9","("],186:[";",":"],187:["=","+"],188:[",","<"],189:["-","_"],190:[".",">"],191:["/","?"],192:["`","~"],219:["[","{"],220:["\\","|"],221:["]","}"],222:["'",'"']};s.evaluateKeyboardEvent=function(c,u,O,f){var h={type:0,cancel:!1,key:void 0},p=(c.shiftKey?1:0)|(c.altKey?2:0)|(c.ctrlKey?4:0)|(c.metaKey?8:0);switch(c.keyCode){case 0:c.key==="UIKeyInputUpArrow"?h.key=u?a.C0.ESC+"OA":a.C0.ESC+"[A":c.key==="UIKeyInputLeftArrow"?h.key=u?a.C0.ESC+"OD":a.C0.ESC+"[D":c.key==="UIKeyInputRightArrow"?h.key=u?a.C0.ESC+"OC":a.C0.ESC+"[C":c.key==="UIKeyInputDownArrow"&&(h.key=u?a.C0.ESC+"OB":a.C0.ESC+"[B");break;case 8:if(c.shiftKey){h.key=a.C0.BS;break}if(c.altKey){h.key=a.C0.ESC+a.C0.DEL;break}h.key=a.C0.DEL;break;case 9:if(c.shiftKey){h.key=a.C0.ESC+"[Z";break}h.key=a.C0.HT,h.cancel=!0;break;case 13:h.key=c.altKey?a.C0.ESC+a.C0.CR:a.C0.CR,h.cancel=!0;break;case 27:h.key=a.C0.ESC,c.altKey&&(h.key=a.C0.ESC+a.C0.ESC),h.cancel=!0;break;case 37:if(c.metaKey)break;p?(h.key=a.C0.ESC+"[1;"+(p+1)+"D",h.key===a.C0.ESC+"[1;3D"&&(h.key=a.C0.ESC+(O?"b":"[1;5D"))):h.key=u?a.C0.ESC+"OD":a.C0.ESC+"[D";break;case 39:if(c.metaKey)break;p?(h.key=a.C0.ESC+"[1;"+(p+1)+"C",h.key===a.C0.ESC+"[1;3C"&&(h.key=a.C0.ESC+(O?"f":"[1;5C"))):h.key=u?a.C0.ESC+"OC":a.C0.ESC+"[C";break;case 38:if(c.metaKey)break;p?(h.key=a.C0.ESC+"[1;"+(p+1)+"A",O||h.key!==a.C0.ESC+"[1;3A"||(h.key=a.C0.ESC+"[1;5A")):h.key=u?a.C0.ESC+"OA":a.C0.ESC+"[A";break;case 40:if(c.metaKey)break;p?(h.key=a.C0.ESC+"[1;"+(p+1)+"B",O||h.key!==a.C0.ESC+"[1;3B"||(h.key=a.C0.ESC+"[1;5B")):h.key=u?a.C0.ESC+"OB":a.C0.ESC+"[B";break;case 45:c.shiftKey||c.ctrlKey||(h.key=a.C0.ESC+"[2~");break;case 46:h.key=p?a.C0.ESC+"[3;"+(p+1)+"~":a.C0.ESC+"[3~";break;case 36:h.key=p?a.C0.ESC+"[1;"+(p+1)+"H":u?a.C0.ESC+"OH":a.C0.ESC+"[H";break;case 35:h.key=p?a.C0.ESC+"[1;"+(p+1)+"F":u?a.C0.ESC+"OF":a.C0.ESC+"[F";break;case 33:c.shiftKey?h.type=2:c.ctrlKey?h.key=a.C0.ESC+"[5;"+(p+1)+"~":h.key=a.C0.ESC+"[5~";break;case 34:c.shiftKey?h.type=3:c.ctrlKey?h.key=a.C0.ESC+"[6;"+(p+1)+"~":h.key=a.C0.ESC+"[6~";break;case 112:h.key=p?a.C0.ESC+"[1;"+(p+1)+"P":a.C0.ESC+"OP";break;case 113:h.key=p?a.C0.ESC+"[1;"+(p+1)+"Q":a.C0.ESC+"OQ";break;case 114:h.key=p?a.C0.ESC+"[1;"+(p+1)+"R":a.C0.ESC+"OR";break;case 115:h.key=p?a.C0.ESC+"[1;"+(p+1)+"S":a.C0.ESC+"OS";break;case 116:h.key=p?a.C0.ESC+"[15;"+(p+1)+"~":a.C0.ESC+"[15~";break;case 117:h.key=p?a.C0.ESC+"[17;"+(p+1)+"~":a.C0.ESC+"[17~";break;case 118:h.key=p?a.C0.ESC+"[18;"+(p+1)+"~":a.C0.ESC+"[18~";break;case 119:h.key=p?a.C0.ESC+"[19;"+(p+1)+"~":a.C0.ESC+"[19~";break;case 120:h.key=p?a.C0.ESC+"[20;"+(p+1)+"~":a.C0.ESC+"[20~";break;case 121:h.key=p?a.C0.ESC+"[21;"+(p+1)+"~":a.C0.ESC+"[21~";break;case 122:h.key=p?a.C0.ESC+"[23;"+(p+1)+"~":a.C0.ESC+"[23~";break;case 123:h.key=p?a.C0.ESC+"[24;"+(p+1)+"~":a.C0.ESC+"[24~";break;default:if(!c.ctrlKey||c.shiftKey||c.altKey||c.metaKey)if(O&&!f||!c.altKey||c.metaKey)!O||c.altKey||c.ctrlKey||c.shiftKey||!c.metaKey?c.key&&!c.ctrlKey&&!c.altKey&&!c.metaKey&&c.keyCode>=48&&c.key.length===1?h.key=c.key:c.key&&c.ctrlKey&&(c.key==="_"&&(h.key=a.C0.US),c.key==="@"&&(h.key=a.C0.NUL)):c.keyCode===65&&(h.type=1);else{var y=l[c.keyCode],$=y==null?void 0:y[c.shiftKey?1:0];if($)h.key=a.C0.ESC+$;else if(c.keyCode>=65&&c.keyCode<=90){var m=c.ctrlKey?c.keyCode-64:c.keyCode+32,d=String.fromCharCode(m);c.shiftKey&&(d=d.toUpperCase()),h.key=a.C0.ESC+d}else c.key==="Dead"&&c.code.startsWith("Key")&&(d=c.code.slice(3,4),c.shiftKey||(d=d.toLowerCase()),h.key=a.C0.ESC+d,h.cancel=!0)}else c.keyCode>=65&&c.keyCode<=90?h.key=String.fromCharCode(c.keyCode-64):c.keyCode===32?h.key=a.C0.NUL:c.keyCode>=51&&c.keyCode<=55?h.key=String.fromCharCode(c.keyCode-51+27):c.keyCode===56?h.key=a.C0.DEL:c.keyCode===219?h.key=a.C0.ESC:c.keyCode===220?h.key=a.C0.FS:c.keyCode===221&&(h.key=a.C0.GS)}return h}},482:(r,s)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.Utf8ToUtf32=s.StringToUtf32=s.utf32ToString=s.stringFromCodePoint=void 0,s.stringFromCodePoint=function(l){return l>65535?(l-=65536,String.fromCharCode(55296+(l>>10))+String.fromCharCode(l%1024+56320)):String.fromCharCode(l)},s.utf32ToString=function(l,c,u){c===void 0&&(c=0),u===void 0&&(u=l.length);for(var O="",f=c;f65535?(h-=65536,O+=String.fromCharCode(55296+(h>>10))+String.fromCharCode(h%1024+56320)):O+=String.fromCharCode(h)}return O};var o=function(){function l(){this._interim=0}return l.prototype.clear=function(){this._interim=0},l.prototype.decode=function(c,u){var O=c.length;if(!O)return 0;var f=0,h=0;this._interim&&(56320<=($=c.charCodeAt(h++))&&$<=57343?u[f++]=1024*(this._interim-55296)+$-56320+65536:(u[f++]=this._interim,u[f++]=$),this._interim=0);for(var p=h;p=O)return this._interim=y,f;var $;56320<=($=c.charCodeAt(p))&&$<=57343?u[f++]=1024*(y-55296)+$-56320+65536:(u[f++]=y,u[f++]=$)}else y!==65279&&(u[f++]=y)}return f},l}();s.StringToUtf32=o;var a=function(){function l(){this.interim=new Uint8Array(3)}return l.prototype.clear=function(){this.interim.fill(0)},l.prototype.decode=function(c,u){var O=c.length;if(!O)return 0;var f,h,p,y,$=0,m=0,d=0;if(this.interim[0]){var g=!1,v=this.interim[0];v&=(224&v)==192?31:(240&v)==224?15:7;for(var b=0,_=void 0;(_=63&this.interim[++b])&&b<4;)v<<=6,v|=_;for(var Q=(224&this.interim[0])==192?2:(240&this.interim[0])==224?3:4,S=Q-b;d=O)return 0;if((192&(_=c[d++]))!=128){d--,g=!0;break}this.interim[b++]=_,v<<=6,v|=63&_}g||(Q===2?v<128?d--:u[$++]=v:Q===3?v<2048||v>=55296&&v<=57343||v===65279||(u[$++]=v):v<65536||v>1114111||(u[$++]=v)),this.interim.fill(0)}for(var P=O-4,w=d;w=O)return this.interim[0]=f,$;if((192&(h=c[w++]))!=128){w--;continue}if((m=(31&f)<<6|63&h)<128){w--;continue}u[$++]=m}else if((240&f)==224){if(w>=O)return this.interim[0]=f,$;if((192&(h=c[w++]))!=128){w--;continue}if(w>=O)return this.interim[0]=f,this.interim[1]=h,$;if((192&(p=c[w++]))!=128){w--;continue}if((m=(15&f)<<12|(63&h)<<6|63&p)<2048||m>=55296&&m<=57343||m===65279)continue;u[$++]=m}else if((248&f)==240){if(w>=O)return this.interim[0]=f,$;if((192&(h=c[w++]))!=128){w--;continue}if(w>=O)return this.interim[0]=f,this.interim[1]=h,$;if((192&(p=c[w++]))!=128){w--;continue}if(w>=O)return this.interim[0]=f,this.interim[1]=h,this.interim[2]=p,$;if((192&(y=c[w++]))!=128){w--;continue}if((m=(7&f)<<18|(63&h)<<12|(63&p)<<6|63&y)<65536||m>1114111)continue;u[$++]=m}}return $},l}();s.Utf8ToUtf32=a},225:(r,s,o)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.UnicodeV6=void 0;var a,l=o(8273),c=[[768,879],[1155,1158],[1160,1161],[1425,1469],[1471,1471],[1473,1474],[1476,1477],[1479,1479],[1536,1539],[1552,1557],[1611,1630],[1648,1648],[1750,1764],[1767,1768],[1770,1773],[1807,1807],[1809,1809],[1840,1866],[1958,1968],[2027,2035],[2305,2306],[2364,2364],[2369,2376],[2381,2381],[2385,2388],[2402,2403],[2433,2433],[2492,2492],[2497,2500],[2509,2509],[2530,2531],[2561,2562],[2620,2620],[2625,2626],[2631,2632],[2635,2637],[2672,2673],[2689,2690],[2748,2748],[2753,2757],[2759,2760],[2765,2765],[2786,2787],[2817,2817],[2876,2876],[2879,2879],[2881,2883],[2893,2893],[2902,2902],[2946,2946],[3008,3008],[3021,3021],[3134,3136],[3142,3144],[3146,3149],[3157,3158],[3260,3260],[3263,3263],[3270,3270],[3276,3277],[3298,3299],[3393,3395],[3405,3405],[3530,3530],[3538,3540],[3542,3542],[3633,3633],[3636,3642],[3655,3662],[3761,3761],[3764,3769],[3771,3772],[3784,3789],[3864,3865],[3893,3893],[3895,3895],[3897,3897],[3953,3966],[3968,3972],[3974,3975],[3984,3991],[3993,4028],[4038,4038],[4141,4144],[4146,4146],[4150,4151],[4153,4153],[4184,4185],[4448,4607],[4959,4959],[5906,5908],[5938,5940],[5970,5971],[6002,6003],[6068,6069],[6071,6077],[6086,6086],[6089,6099],[6109,6109],[6155,6157],[6313,6313],[6432,6434],[6439,6440],[6450,6450],[6457,6459],[6679,6680],[6912,6915],[6964,6964],[6966,6970],[6972,6972],[6978,6978],[7019,7027],[7616,7626],[7678,7679],[8203,8207],[8234,8238],[8288,8291],[8298,8303],[8400,8431],[12330,12335],[12441,12442],[43014,43014],[43019,43019],[43045,43046],[64286,64286],[65024,65039],[65056,65059],[65279,65279],[65529,65531]],u=[[68097,68099],[68101,68102],[68108,68111],[68152,68154],[68159,68159],[119143,119145],[119155,119170],[119173,119179],[119210,119213],[119362,119364],[917505,917505],[917536,917631],[917760,917999]],O=function(){function f(){if(this.version="6",!a){a=new Uint8Array(65536),(0,l.fill)(a,1),a[0]=0,(0,l.fill)(a,0,1,32),(0,l.fill)(a,0,127,160),(0,l.fill)(a,2,4352,4448),a[9001]=2,a[9002]=2,(0,l.fill)(a,2,11904,42192),a[12351]=1,(0,l.fill)(a,2,44032,55204),(0,l.fill)(a,2,63744,64256),(0,l.fill)(a,2,65040,65050),(0,l.fill)(a,2,65072,65136),(0,l.fill)(a,2,65280,65377),(0,l.fill)(a,2,65504,65511);for(var h=0;hy[d][1])return!1;for(;d>=m;)if(p>y[$=m+d>>1][1])m=$+1;else{if(!(p=131072&&h<=196605||h>=196608&&h<=262141?2:1},f}();s.UnicodeV6=O},5981:(r,s,o)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.WriteBuffer=void 0;var a=o(8460),l=typeof queueMicrotask=="undefined"?function(u){Promise.resolve().then(u)}:queueMicrotask,c=function(){function u(O){this._action=O,this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0,this._isSyncWriting=!1,this._syncCalls=0,this._onWriteParsed=new a.EventEmitter}return Object.defineProperty(u.prototype,"onWriteParsed",{get:function(){return this._onWriteParsed.event},enumerable:!1,configurable:!0}),u.prototype.writeSync=function(O,f){if(f!==void 0&&this._syncCalls>f)this._syncCalls=0;else if(this._pendingData+=O.length,this._writeBuffer.push(O),this._callbacks.push(void 0),this._syncCalls++,!this._isSyncWriting){var h;for(this._isSyncWriting=!0;h=this._writeBuffer.shift();){this._action(h);var p=this._callbacks.shift();p&&p()}this._pendingData=0,this._bufferOffset=2147483647,this._isSyncWriting=!1,this._syncCalls=0}},u.prototype.write=function(O,f){var h=this;if(this._pendingData>5e7)throw new Error("write data discarded, use flow control to avoid losing data");this._writeBuffer.length||(this._bufferOffset=0,setTimeout(function(){return h._innerWrite()})),this._pendingData+=O.length,this._writeBuffer.push(O),this._callbacks.push(f)},u.prototype._innerWrite=function(O,f){var h=this;O===void 0&&(O=0),f===void 0&&(f=!0);for(var p=O||Date.now();this._writeBuffer.length>this._bufferOffset;){var y=this._writeBuffer[this._bufferOffset],$=this._action(y,f);if($)return void $.catch(function(d){return l(function(){throw d}),Promise.resolve(!1)}).then(function(d){return Date.now()-p>=12?setTimeout(function(){return h._innerWrite(0,d)}):h._innerWrite(p,d)});var m=this._callbacks[this._bufferOffset];if(m&&m(),this._bufferOffset++,this._pendingData-=y.length,Date.now()-p>=12)break}this._writeBuffer.length>this._bufferOffset?(this._bufferOffset>50&&(this._writeBuffer=this._writeBuffer.slice(this._bufferOffset),this._callbacks=this._callbacks.slice(this._bufferOffset),this._bufferOffset=0),setTimeout(function(){return h._innerWrite()})):(this._writeBuffer.length=0,this._callbacks.length=0,this._pendingData=0,this._bufferOffset=0),this._onWriteParsed.fire()},u}();s.WriteBuffer=c},5941:function(r,s){var o=this&&this.__read||function(u,O){var f=typeof Symbol=="function"&&u[Symbol.iterator];if(!f)return u;var h,p,y=f.call(u),$=[];try{for(;(O===void 0||O-- >0)&&!(h=y.next()).done;)$.push(h.value)}catch(m){p={error:m}}finally{try{h&&!h.done&&(f=y.return)&&f.call(y)}finally{if(p)throw p.error}}return $};Object.defineProperty(s,"__esModule",{value:!0}),s.toRgbString=s.parseColor=void 0;var a=/^([\da-f])\/([\da-f])\/([\da-f])$|^([\da-f]{2})\/([\da-f]{2})\/([\da-f]{2})$|^([\da-f]{3})\/([\da-f]{3})\/([\da-f]{3})$|^([\da-f]{4})\/([\da-f]{4})\/([\da-f]{4})$/,l=/^[\da-f]+$/;function c(u,O){var f=u.toString(16),h=f.length<2?"0"+f:f;switch(O){case 4:return f[0];case 8:return h;case 12:return(h+h).slice(0,3);default:return h+h}}s.parseColor=function(u){if(u){var O=u.toLowerCase();if(O.indexOf("rgb:")===0){O=O.slice(4);var f=a.exec(O);if(f){var h=f[1]?15:f[4]?255:f[7]?4095:65535;return[Math.round(parseInt(f[1]||f[4]||f[7]||f[10],16)/h*255),Math.round(parseInt(f[2]||f[5]||f[8]||f[11],16)/h*255),Math.round(parseInt(f[3]||f[6]||f[9]||f[12],16)/h*255)]}}else if(O.indexOf("#")===0&&(O=O.slice(1),l.exec(O)&&[3,6,9,12].includes(O.length))){for(var p=O.length/3,y=[0,0,0],$=0;$<3;++$){var m=parseInt(O.slice(p*$,p*$+p),16);y[$]=p===1?m<<4:p===2?m:p===3?m>>4:m>>8}return y}}},s.toRgbString=function(u,O){O===void 0&&(O=16);var f=o(u,3),h=f[0],p=f[1],y=f[2];return"rgb:"+c(h,O)+"/"+c(p,O)+"/"+c(y,O)}},5770:(r,s)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.PAYLOAD_LIMIT=void 0,s.PAYLOAD_LIMIT=1e7},6351:(r,s,o)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.DcsHandler=s.DcsParser=void 0;var a=o(482),l=o(8742),c=o(5770),u=[],O=function(){function p(){this._handlers=Object.create(null),this._active=u,this._ident=0,this._handlerFb=function(){},this._stack={paused:!1,loopPosition:0,fallThrough:!1}}return p.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){},this._active=u},p.prototype.registerHandler=function(y,$){this._handlers[y]===void 0&&(this._handlers[y]=[]);var m=this._handlers[y];return m.push($),{dispose:function(){var d=m.indexOf($);d!==-1&&m.splice(d,1)}}},p.prototype.clearHandler=function(y){this._handlers[y]&&delete this._handlers[y]},p.prototype.setHandlerFallback=function(y){this._handlerFb=y},p.prototype.reset=function(){if(this._active.length)for(var y=this._stack.paused?this._stack.loopPosition-1:this._active.length-1;y>=0;--y)this._active[y].unhook(!1);this._stack.paused=!1,this._active=u,this._ident=0},p.prototype.hook=function(y,$){if(this.reset(),this._ident=y,this._active=this._handlers[y]||u,this._active.length)for(var m=this._active.length-1;m>=0;m--)this._active[m].hook($);else this._handlerFb(this._ident,"HOOK",$)},p.prototype.put=function(y,$,m){if(this._active.length)for(var d=this._active.length-1;d>=0;d--)this._active[d].put(y,$,m);else this._handlerFb(this._ident,"PUT",(0,a.utf32ToString)(y,$,m))},p.prototype.unhook=function(y,$){if($===void 0&&($=!0),this._active.length){var m=!1,d=this._active.length-1,g=!1;if(this._stack.paused&&(d=this._stack.loopPosition-1,m=$,g=this._stack.fallThrough,this._stack.paused=!1),!g&&m===!1){for(;d>=0&&(m=this._active[d].unhook(y))!==!0;d--)if(m instanceof Promise)return this._stack.paused=!0,this._stack.loopPosition=d,this._stack.fallThrough=!1,m;d--}for(;d>=0;d--)if((m=this._active[d].unhook(!1))instanceof Promise)return this._stack.paused=!0,this._stack.loopPosition=d,this._stack.fallThrough=!0,m}else this._handlerFb(this._ident,"UNHOOK",y);this._active=u,this._ident=0},p}();s.DcsParser=O;var f=new l.Params;f.addParam(0);var h=function(){function p(y){this._handler=y,this._data="",this._params=f,this._hitLimit=!1}return p.prototype.hook=function(y){this._params=y.length>1||y.params[0]?y.clone():f,this._data="",this._hitLimit=!1},p.prototype.put=function(y,$,m){this._hitLimit||(this._data+=(0,a.utf32ToString)(y,$,m),this._data.length>c.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},p.prototype.unhook=function(y){var $=this,m=!1;if(this._hitLimit)m=!1;else if(y&&(m=this._handler(this._data,this._params))instanceof Promise)return m.then(function(d){return $._params=f,$._data="",$._hitLimit=!1,d});return this._params=f,this._data="",this._hitLimit=!1,m},p}();s.DcsHandler=h},2015:function(r,s,o){var a,l=this&&this.__extends||(a=function(m,d){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,v){g.__proto__=v}||function(g,v){for(var b in v)Object.prototype.hasOwnProperty.call(v,b)&&(g[b]=v[b])},a(m,d)},function(m,d){if(typeof d!="function"&&d!==null)throw new TypeError("Class extends value "+String(d)+" is not a constructor or null");function g(){this.constructor=m}a(m,d),m.prototype=d===null?Object.create(d):(g.prototype=d.prototype,new g)});Object.defineProperty(s,"__esModule",{value:!0}),s.EscapeSequenceParser=s.VT500_TRANSITION_TABLE=s.TransitionTable=void 0;var c=o(844),u=o(8273),O=o(8742),f=o(6242),h=o(6351),p=function(){function m(d){this.table=new Uint8Array(d)}return m.prototype.setDefault=function(d,g){(0,u.fill)(this.table,d<<4|g)},m.prototype.add=function(d,g,v,b){this.table[g<<8|d]=v<<4|b},m.prototype.addMany=function(d,g,v,b){for(var _=0;_1)throw new Error("only one byte as prefix supported");if((b=g.prefix.charCodeAt(0))&&60>b||b>63)throw new Error("prefix must be in range 0x3c .. 0x3f")}if(g.intermediates){if(g.intermediates.length>2)throw new Error("only two bytes as intermediates are supported");for(var _=0;_Q||Q>47)throw new Error("intermediate must be in range 0x20 .. 0x2f");b<<=8,b|=Q}}if(g.final.length!==1)throw new Error("final must be a single byte");var S=g.final.charCodeAt(0);if(v[0]>S||S>v[1])throw new Error("final must be in range "+v[0]+" .. "+v[1]);return(b<<=8)|S},d.prototype.identToString=function(g){for(var v=[];g;)v.push(String.fromCharCode(255&g)),g>>=8;return v.reverse().join("")},d.prototype.dispose=function(){this._csiHandlers=Object.create(null),this._executeHandlers=Object.create(null),this._escHandlers=Object.create(null),this._oscParser.dispose(),this._dcsParser.dispose()},d.prototype.setPrintHandler=function(g){this._printHandler=g},d.prototype.clearPrintHandler=function(){this._printHandler=this._printHandlerFb},d.prototype.registerEscHandler=function(g,v){var b=this._identifier(g,[48,126]);this._escHandlers[b]===void 0&&(this._escHandlers[b]=[]);var _=this._escHandlers[b];return _.push(v),{dispose:function(){var Q=_.indexOf(v);Q!==-1&&_.splice(Q,1)}}},d.prototype.clearEscHandler=function(g){this._escHandlers[this._identifier(g,[48,126])]&&delete this._escHandlers[this._identifier(g,[48,126])]},d.prototype.setEscHandlerFallback=function(g){this._escHandlerFb=g},d.prototype.setExecuteHandler=function(g,v){this._executeHandlers[g.charCodeAt(0)]=v},d.prototype.clearExecuteHandler=function(g){this._executeHandlers[g.charCodeAt(0)]&&delete this._executeHandlers[g.charCodeAt(0)]},d.prototype.setExecuteHandlerFallback=function(g){this._executeHandlerFb=g},d.prototype.registerCsiHandler=function(g,v){var b=this._identifier(g);this._csiHandlers[b]===void 0&&(this._csiHandlers[b]=[]);var _=this._csiHandlers[b];return _.push(v),{dispose:function(){var Q=_.indexOf(v);Q!==-1&&_.splice(Q,1)}}},d.prototype.clearCsiHandler=function(g){this._csiHandlers[this._identifier(g)]&&delete this._csiHandlers[this._identifier(g)]},d.prototype.setCsiHandlerFallback=function(g){this._csiHandlerFb=g},d.prototype.registerDcsHandler=function(g,v){return this._dcsParser.registerHandler(this._identifier(g),v)},d.prototype.clearDcsHandler=function(g){this._dcsParser.clearHandler(this._identifier(g))},d.prototype.setDcsHandlerFallback=function(g){this._dcsParser.setHandlerFallback(g)},d.prototype.registerOscHandler=function(g,v){return this._oscParser.registerHandler(g,v)},d.prototype.clearOscHandler=function(g){this._oscParser.clearHandler(g)},d.prototype.setOscHandlerFallback=function(g){this._oscParser.setHandlerFallback(g)},d.prototype.setErrorHandler=function(g){this._errorHandler=g},d.prototype.clearErrorHandler=function(){this._errorHandler=this._errorHandlerFb},d.prototype.reset=function(){this.currentState=this.initialState,this._oscParser.reset(),this._dcsParser.reset(),this._params.reset(),this._params.addParam(0),this._collect=0,this.precedingCodepoint=0,this._parseStack.state!==0&&(this._parseStack.state=2,this._parseStack.handlers=[])},d.prototype._preserveStack=function(g,v,b,_,Q){this._parseStack.state=g,this._parseStack.handlers=v,this._parseStack.handlerPos=b,this._parseStack.transition=_,this._parseStack.chunkPos=Q},d.prototype.parse=function(g,v,b){var _,Q=0,S=0,P=0;if(this._parseStack.state)if(this._parseStack.state===2)this._parseStack.state=0,P=this._parseStack.chunkPos+1;else{if(b===void 0||this._parseStack.state===1)throw this._parseStack.state=1,new Error("improper continuation due to previous async handler, giving up parsing");var w=this._parseStack.handlers,x=this._parseStack.handlerPos-1;switch(this._parseStack.state){case 3:if(b===!1&&x>-1){for(;x>=0&&(_=w[x](this._params))!==!0;x--)if(_ instanceof Promise)return this._parseStack.handlerPos=x,_}this._parseStack.handlers=[];break;case 4:if(b===!1&&x>-1){for(;x>=0&&(_=w[x]())!==!0;x--)if(_ instanceof Promise)return this._parseStack.handlerPos=x,_}this._parseStack.handlers=[];break;case 6:if(Q=g[this._parseStack.chunkPos],_=this._dcsParser.unhook(Q!==24&&Q!==26,b))return _;Q===27&&(this._parseStack.transition|=1),this._params.reset(),this._params.addParam(0),this._collect=0;break;case 5:if(Q=g[this._parseStack.chunkPos],_=this._oscParser.end(Q!==24&&Q!==26,b))return _;Q===27&&(this._parseStack.transition|=1),this._params.reset(),this._params.addParam(0),this._collect=0}this._parseStack.state=0,P=this._parseStack.chunkPos+1,this.precedingCodepoint=0,this.currentState=15&this._parseStack.transition}for(var k=P;k>4){case 2:for(var C=k+1;;++C){if(C>=v||(Q=g[C])<32||Q>126&&Q=v||(Q=g[C])<32||Q>126&&Q=v||(Q=g[C])<32||Q>126&&Q=v||(Q=g[C])<32||Q>126&&Q=0&&(_=w[T](this._params))!==!0;T--)if(_ instanceof Promise)return this._preserveStack(3,w,T,S,k),_;T<0&&this._csiHandlerFb(this._collect<<8|Q,this._params),this.precedingCodepoint=0;break;case 8:do switch(Q){case 59:this._params.addParam(0);break;case 58:this._params.addSubParam(-1);break;default:this._params.addDigit(Q-48)}while(++k47&&Q<60);k--;break;case 9:this._collect<<=8,this._collect|=Q;break;case 10:for(var E=this._escHandlers[this._collect<<8|Q],A=E?E.length-1:-1;A>=0&&(_=E[A]())!==!0;A--)if(_ instanceof Promise)return this._preserveStack(4,E,A,S,k),_;A<0&&this._escHandlerFb(this._collect<<8|Q),this.precedingCodepoint=0;break;case 11:this._params.reset(),this._params.addParam(0),this._collect=0;break;case 12:this._dcsParser.hook(this._collect<<8|Q,this._params);break;case 13:for(var R=k+1;;++R)if(R>=v||(Q=g[R])===24||Q===26||Q===27||Q>127&&Q=v||(Q=g[X])<32||Q>127&&Q{Object.defineProperty(s,"__esModule",{value:!0}),s.OscHandler=s.OscParser=void 0;var a=o(5770),l=o(482),c=[],u=function(){function f(){this._state=0,this._active=c,this._id=-1,this._handlers=Object.create(null),this._handlerFb=function(){},this._stack={paused:!1,loopPosition:0,fallThrough:!1}}return f.prototype.registerHandler=function(h,p){this._handlers[h]===void 0&&(this._handlers[h]=[]);var y=this._handlers[h];return y.push(p),{dispose:function(){var $=y.indexOf(p);$!==-1&&y.splice($,1)}}},f.prototype.clearHandler=function(h){this._handlers[h]&&delete this._handlers[h]},f.prototype.setHandlerFallback=function(h){this._handlerFb=h},f.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){},this._active=c},f.prototype.reset=function(){if(this._state===2)for(var h=this._stack.paused?this._stack.loopPosition-1:this._active.length-1;h>=0;--h)this._active[h].end(!1);this._stack.paused=!1,this._active=c,this._id=-1,this._state=0},f.prototype._start=function(){if(this._active=this._handlers[this._id]||c,this._active.length)for(var h=this._active.length-1;h>=0;h--)this._active[h].start();else this._handlerFb(this._id,"START")},f.prototype._put=function(h,p,y){if(this._active.length)for(var $=this._active.length-1;$>=0;$--)this._active[$].put(h,p,y);else this._handlerFb(this._id,"PUT",(0,l.utf32ToString)(h,p,y))},f.prototype.start=function(){this.reset(),this._state=1},f.prototype.put=function(h,p,y){if(this._state!==3){if(this._state===1)for(;p0&&this._put(h,p,y)}},f.prototype.end=function(h,p){if(p===void 0&&(p=!0),this._state!==0){if(this._state!==3)if(this._state===1&&this._start(),this._active.length){var y=!1,$=this._active.length-1,m=!1;if(this._stack.paused&&($=this._stack.loopPosition-1,y=p,m=this._stack.fallThrough,this._stack.paused=!1),!m&&y===!1){for(;$>=0&&(y=this._active[$].end(h))!==!0;$--)if(y instanceof Promise)return this._stack.paused=!0,this._stack.loopPosition=$,this._stack.fallThrough=!1,y;$--}for(;$>=0;$--)if((y=this._active[$].end(!1))instanceof Promise)return this._stack.paused=!0,this._stack.loopPosition=$,this._stack.fallThrough=!0,y}else this._handlerFb(this._id,"END",h);this._active=c,this._id=-1,this._state=0}},f}();s.OscParser=u;var O=function(){function f(h){this._handler=h,this._data="",this._hitLimit=!1}return f.prototype.start=function(){this._data="",this._hitLimit=!1},f.prototype.put=function(h,p,y){this._hitLimit||(this._data+=(0,l.utf32ToString)(h,p,y),this._data.length>a.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},f.prototype.end=function(h){var p=this,y=!1;if(this._hitLimit)y=!1;else if(h&&(y=this._handler(this._data))instanceof Promise)return y.then(function($){return p._data="",p._hitLimit=!1,$});return this._data="",this._hitLimit=!1,y},f}();s.OscHandler=O},8742:(r,s)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.Params=void 0;var o=2147483647,a=function(){function l(c,u){if(c===void 0&&(c=32),u===void 0&&(u=32),this.maxLength=c,this.maxSubParamsLength=u,u>256)throw new Error("maxSubParamsLength must not be greater than 256");this.params=new Int32Array(c),this.length=0,this._subParams=new Int32Array(u),this._subParamsLength=0,this._subParamsIdx=new Uint16Array(c),this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1}return l.fromArray=function(c){var u=new l;if(!c.length)return u;for(var O=Array.isArray(c[0])?1:0;O>8,f=255&this._subParamsIdx[u];f-O>0&&c.push(Array.prototype.slice.call(this._subParams,O,f))}return c},l.prototype.reset=function(){this.length=0,this._subParamsLength=0,this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1},l.prototype.addParam=function(c){if(this._digitIsSub=!1,this.length>=this.maxLength)this._rejectDigits=!0;else{if(c<-1)throw new Error("values lesser than -1 are not allowed");this._subParamsIdx[this.length]=this._subParamsLength<<8|this._subParamsLength,this.params[this.length++]=c>o?o:c}},l.prototype.addSubParam=function(c){if(this._digitIsSub=!0,this.length)if(this._rejectDigits||this._subParamsLength>=this.maxSubParamsLength)this._rejectSubDigits=!0;else{if(c<-1)throw new Error("values lesser than -1 are not allowed");this._subParams[this._subParamsLength++]=c>o?o:c,this._subParamsIdx[this.length-1]++}},l.prototype.hasSubParams=function(c){return(255&this._subParamsIdx[c])-(this._subParamsIdx[c]>>8)>0},l.prototype.getSubParams=function(c){var u=this._subParamsIdx[c]>>8,O=255&this._subParamsIdx[c];return O-u>0?this._subParams.subarray(u,O):null},l.prototype.getSubParamsAll=function(){for(var c={},u=0;u>8,f=255&this._subParamsIdx[u];f-O>0&&(c[u]=this._subParams.slice(O,f))}return c},l.prototype.addDigit=function(c){var u;if(!(this._rejectDigits||!(u=this._digitIsSub?this._subParamsLength:this.length)||this._digitIsSub&&this._rejectSubDigits)){var O=this._digitIsSub?this._subParams:this.params,f=O[u-1];O[u-1]=~f?Math.min(10*f+c,o):c}},l}();s.Params=a},5741:(r,s)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.AddonManager=void 0;var o=function(){function a(){this._addons=[]}return a.prototype.dispose=function(){for(var l=this._addons.length-1;l>=0;l--)this._addons[l].instance.dispose()},a.prototype.loadAddon=function(l,c){var u=this,O={instance:c,dispose:c.dispose,isDisposed:!1};this._addons.push(O),c.dispose=function(){return u._wrappedAddonDispose(O)},c.activate(l)},a.prototype._wrappedAddonDispose=function(l){if(!l.isDisposed){for(var c=-1,u=0;u{Object.defineProperty(s,"__esModule",{value:!0}),s.BufferApiView=void 0;var a=o(3785),l=o(511),c=function(){function u(O,f){this._buffer=O,this.type=f}return u.prototype.init=function(O){return this._buffer=O,this},Object.defineProperty(u.prototype,"cursorY",{get:function(){return this._buffer.y},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"cursorX",{get:function(){return this._buffer.x},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"viewportY",{get:function(){return this._buffer.ydisp},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"baseY",{get:function(){return this._buffer.ybase},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"length",{get:function(){return this._buffer.lines.length},enumerable:!1,configurable:!0}),u.prototype.getLine=function(O){var f=this._buffer.lines.get(O);if(f)return new a.BufferLineApiView(f)},u.prototype.getNullCell=function(){return new l.CellData},u}();s.BufferApiView=c},3785:(r,s,o)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.BufferLineApiView=void 0;var a=o(511),l=function(){function c(u){this._line=u}return Object.defineProperty(c.prototype,"isWrapped",{get:function(){return this._line.isWrapped},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"length",{get:function(){return this._line.length},enumerable:!1,configurable:!0}),c.prototype.getCell=function(u,O){if(!(u<0||u>=this._line.length))return O?(this._line.loadCell(u,O),O):this._line.loadCell(u,new a.CellData)},c.prototype.translateToString=function(u,O,f){return this._line.translateToString(u,O,f)},c}();s.BufferLineApiView=l},8285:(r,s,o)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.BufferNamespaceApi=void 0;var a=o(8771),l=o(8460),c=function(){function u(O){var f=this;this._core=O,this._onBufferChange=new l.EventEmitter,this._normal=new a.BufferApiView(this._core.buffers.normal,"normal"),this._alternate=new a.BufferApiView(this._core.buffers.alt,"alternate"),this._core.buffers.onBufferActivate(function(){return f._onBufferChange.fire(f.active)})}return Object.defineProperty(u.prototype,"onBufferChange",{get:function(){return this._onBufferChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"active",{get:function(){if(this._core.buffers.active===this._core.buffers.normal)return this.normal;if(this._core.buffers.active===this._core.buffers.alt)return this.alternate;throw new Error("Active buffer is neither normal nor alternate")},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"normal",{get:function(){return this._normal.init(this._core.buffers.normal)},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"alternate",{get:function(){return this._alternate.init(this._core.buffers.alt)},enumerable:!1,configurable:!0}),u}();s.BufferNamespaceApi=c},7975:(r,s)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.ParserApi=void 0;var o=function(){function a(l){this._core=l}return a.prototype.registerCsiHandler=function(l,c){return this._core.registerCsiHandler(l,function(u){return c(u.toArray())})},a.prototype.addCsiHandler=function(l,c){return this.registerCsiHandler(l,c)},a.prototype.registerDcsHandler=function(l,c){return this._core.registerDcsHandler(l,function(u,O){return c(u,O.toArray())})},a.prototype.addDcsHandler=function(l,c){return this.registerDcsHandler(l,c)},a.prototype.registerEscHandler=function(l,c){return this._core.registerEscHandler(l,c)},a.prototype.addEscHandler=function(l,c){return this.registerEscHandler(l,c)},a.prototype.registerOscHandler=function(l,c){return this._core.registerOscHandler(l,c)},a.prototype.addOscHandler=function(l,c){return this.registerOscHandler(l,c)},a}();s.ParserApi=o},7090:(r,s)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.UnicodeApi=void 0;var o=function(){function a(l){this._core=l}return a.prototype.register=function(l){this._core.unicodeService.register(l)},Object.defineProperty(a.prototype,"versions",{get:function(){return this._core.unicodeService.versions},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"activeVersion",{get:function(){return this._core.unicodeService.activeVersion},set:function(l){this._core.unicodeService.activeVersion=l},enumerable:!1,configurable:!0}),a}();s.UnicodeApi=o},744:function(r,s,o){var a,l=this&&this.__extends||(a=function($,m){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,g){d.__proto__=g}||function(d,g){for(var v in g)Object.prototype.hasOwnProperty.call(g,v)&&(d[v]=g[v])},a($,m)},function($,m){if(typeof m!="function"&&m!==null)throw new TypeError("Class extends value "+String(m)+" is not a constructor or null");function d(){this.constructor=$}a($,m),$.prototype=m===null?Object.create(m):(d.prototype=m.prototype,new d)}),c=this&&this.__decorate||function($,m,d,g){var v,b=arguments.length,_=b<3?m:g===null?g=Object.getOwnPropertyDescriptor(m,d):g;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")_=Reflect.decorate($,m,d,g);else for(var Q=$.length-1;Q>=0;Q--)(v=$[Q])&&(_=(b<3?v(_):b>3?v(m,d,_):v(m,d))||_);return b>3&&_&&Object.defineProperty(m,d,_),_},u=this&&this.__param||function($,m){return function(d,g){m(d,g,$)}};Object.defineProperty(s,"__esModule",{value:!0}),s.BufferService=s.MINIMUM_ROWS=s.MINIMUM_COLS=void 0;var O=o(2585),f=o(5295),h=o(8460),p=o(844);s.MINIMUM_COLS=2,s.MINIMUM_ROWS=1;var y=function($){function m(d){var g=$.call(this)||this;return g._optionsService=d,g.isUserScrolling=!1,g._onResize=new h.EventEmitter,g._onScroll=new h.EventEmitter,g.cols=Math.max(d.rawOptions.cols||0,s.MINIMUM_COLS),g.rows=Math.max(d.rawOptions.rows||0,s.MINIMUM_ROWS),g.buffers=new f.BufferSet(d,g),g}return l(m,$),Object.defineProperty(m.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),m.prototype.dispose=function(){$.prototype.dispose.call(this),this.buffers.dispose()},m.prototype.resize=function(d,g){this.cols=d,this.rows=g,this.buffers.resize(d,g),this.buffers.setupTabStops(this.cols),this._onResize.fire({cols:d,rows:g})},m.prototype.reset=function(){this.buffers.reset(),this.isUserScrolling=!1},m.prototype.scroll=function(d,g){g===void 0&&(g=!1);var v,b=this.buffer;(v=this._cachedBlankLine)&&v.length===this.cols&&v.getFg(0)===d.fg&&v.getBg(0)===d.bg||(v=b.getBlankLine(d,g),this._cachedBlankLine=v),v.isWrapped=g;var _=b.ybase+b.scrollTop,Q=b.ybase+b.scrollBottom;if(b.scrollTop===0){var S=b.lines.isFull;Q===b.lines.length-1?S?b.lines.recycle().copyFrom(v):b.lines.push(v.clone()):b.lines.splice(Q+1,0,v.clone()),S?this.isUserScrolling&&(b.ydisp=Math.max(b.ydisp-1,0)):(b.ybase++,this.isUserScrolling||b.ydisp++)}else{var P=Q-_+1;b.lines.shiftElements(_+1,P-1,-1),b.lines.set(Q,v.clone())}this.isUserScrolling||(b.ydisp=b.ybase),this._onScroll.fire(b.ydisp)},m.prototype.scrollLines=function(d,g,v){var b=this.buffer;if(d<0){if(b.ydisp===0)return;this.isUserScrolling=!0}else d+b.ydisp>=b.ybase&&(this.isUserScrolling=!1);var _=b.ydisp;b.ydisp=Math.max(Math.min(b.ydisp+d,b.ybase),0),_!==b.ydisp&&(g||this._onScroll.fire(b.ydisp))},m.prototype.scrollPages=function(d){this.scrollLines(d*(this.rows-1))},m.prototype.scrollToTop=function(){this.scrollLines(-this.buffer.ydisp)},m.prototype.scrollToBottom=function(){this.scrollLines(this.buffer.ybase-this.buffer.ydisp)},m.prototype.scrollToLine=function(d){var g=d-this.buffer.ydisp;g!==0&&this.scrollLines(g)},c([u(0,O.IOptionsService)],m)}(p.Disposable);s.BufferService=y},7994:(r,s)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.CharsetService=void 0;var o=function(){function a(){this.glevel=0,this._charsets=[]}return a.prototype.reset=function(){this.charset=void 0,this._charsets=[],this.glevel=0},a.prototype.setgLevel=function(l){this.glevel=l,this.charset=this._charsets[l]},a.prototype.setgCharset=function(l,c){this._charsets[l]=c,this.glevel===l&&(this.charset=c)},a}();s.CharsetService=o},1753:function(r,s,o){var a=this&&this.__decorate||function(m,d,g,v){var b,_=arguments.length,Q=_<3?d:v===null?v=Object.getOwnPropertyDescriptor(d,g):v;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")Q=Reflect.decorate(m,d,g,v);else for(var S=m.length-1;S>=0;S--)(b=m[S])&&(Q=(_<3?b(Q):_>3?b(d,g,Q):b(d,g))||Q);return _>3&&Q&&Object.defineProperty(d,g,Q),Q},l=this&&this.__param||function(m,d){return function(g,v){d(g,v,m)}},c=this&&this.__values||function(m){var d=typeof Symbol=="function"&&Symbol.iterator,g=d&&m[d],v=0;if(g)return g.call(m);if(m&&typeof m.length=="number")return{next:function(){return m&&v>=m.length&&(m=void 0),{value:m&&m[v++],done:!m}}};throw new TypeError(d?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(s,"__esModule",{value:!0}),s.CoreMouseService=void 0;var u=o(2585),O=o(8460),f={NONE:{events:0,restrict:function(){return!1}},X10:{events:1,restrict:function(m){return m.button!==4&&m.action===1&&(m.ctrl=!1,m.alt=!1,m.shift=!1,!0)}},VT200:{events:19,restrict:function(m){return m.action!==32}},DRAG:{events:23,restrict:function(m){return m.action!==32||m.button!==3}},ANY:{events:31,restrict:function(m){return!0}}};function h(m,d){var g=(m.ctrl?16:0)|(m.shift?4:0)|(m.alt?8:0);return m.button===4?(g|=64,g|=m.action):(g|=3&m.button,4&m.button&&(g|=64),8&m.button&&(g|=128),m.action===32?g|=32:m.action!==0||d||(g|=3)),g}var p=String.fromCharCode,y={DEFAULT:function(m){var d=[h(m,!1)+32,m.col+32,m.row+32];return d[0]>255||d[1]>255||d[2]>255?"":"\x1B[M"+p(d[0])+p(d[1])+p(d[2])},SGR:function(m){var d=m.action===0&&m.button!==4?"m":"M";return"\x1B[<"+h(m,!0)+";"+m.col+";"+m.row+d}},$=function(){function m(d,g){var v,b,_,Q;this._bufferService=d,this._coreService=g,this._protocols={},this._encodings={},this._activeProtocol="",this._activeEncoding="",this._onProtocolChange=new O.EventEmitter,this._lastEvent=null;try{for(var S=c(Object.keys(f)),P=S.next();!P.done;P=S.next()){var w=P.value;this.addProtocol(w,f[w])}}catch(T){v={error:T}}finally{try{P&&!P.done&&(b=S.return)&&b.call(S)}finally{if(v)throw v.error}}try{for(var x=c(Object.keys(y)),k=x.next();!k.done;k=x.next()){var C=k.value;this.addEncoding(C,y[C])}}catch(T){_={error:T}}finally{try{k&&!k.done&&(Q=x.return)&&Q.call(x)}finally{if(_)throw _.error}}this.reset()}return m.prototype.addProtocol=function(d,g){this._protocols[d]=g},m.prototype.addEncoding=function(d,g){this._encodings[d]=g},Object.defineProperty(m.prototype,"activeProtocol",{get:function(){return this._activeProtocol},set:function(d){if(!this._protocols[d])throw new Error('unknown protocol "'+d+'"');this._activeProtocol=d,this._onProtocolChange.fire(this._protocols[d].events)},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"areMouseEventsActive",{get:function(){return this._protocols[this._activeProtocol].events!==0},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"activeEncoding",{get:function(){return this._activeEncoding},set:function(d){if(!this._encodings[d])throw new Error('unknown encoding "'+d+'"');this._activeEncoding=d},enumerable:!1,configurable:!0}),m.prototype.reset=function(){this.activeProtocol="NONE",this.activeEncoding="DEFAULT",this._lastEvent=null},Object.defineProperty(m.prototype,"onProtocolChange",{get:function(){return this._onProtocolChange.event},enumerable:!1,configurable:!0}),m.prototype.triggerMouseEvent=function(d){if(d.col<0||d.col>=this._bufferService.cols||d.row<0||d.row>=this._bufferService.rows||d.button===4&&d.action===32||d.button===3&&d.action!==32||d.button!==4&&(d.action===2||d.action===3)||(d.col++,d.row++,d.action===32&&this._lastEvent&&this._compareEvents(this._lastEvent,d))||!this._protocols[this._activeProtocol].restrict(d))return!1;var g=this._encodings[this._activeEncoding](d);return g&&(this._activeEncoding==="DEFAULT"?this._coreService.triggerBinaryEvent(g):this._coreService.triggerDataEvent(g,!0)),this._lastEvent=d,!0},m.prototype.explainEvents=function(d){return{down:!!(1&d),up:!!(2&d),drag:!!(4&d),move:!!(8&d),wheel:!!(16&d)}},m.prototype._compareEvents=function(d,g){return d.col===g.col&&d.row===g.row&&d.button===g.button&&d.action===g.action&&d.ctrl===g.ctrl&&d.alt===g.alt&&d.shift===g.shift},a([l(0,u.IBufferService),l(1,u.ICoreService)],m)}();s.CoreMouseService=$},6975:function(r,s,o){var a,l=this&&this.__extends||(a=function(d,g){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(v,b){v.__proto__=b}||function(v,b){for(var _ in b)Object.prototype.hasOwnProperty.call(b,_)&&(v[_]=b[_])},a(d,g)},function(d,g){if(typeof g!="function"&&g!==null)throw new TypeError("Class extends value "+String(g)+" is not a constructor or null");function v(){this.constructor=d}a(d,g),d.prototype=g===null?Object.create(g):(v.prototype=g.prototype,new v)}),c=this&&this.__decorate||function(d,g,v,b){var _,Q=arguments.length,S=Q<3?g:b===null?b=Object.getOwnPropertyDescriptor(g,v):b;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")S=Reflect.decorate(d,g,v,b);else for(var P=d.length-1;P>=0;P--)(_=d[P])&&(S=(Q<3?_(S):Q>3?_(g,v,S):_(g,v))||S);return Q>3&&S&&Object.defineProperty(g,v,S),S},u=this&&this.__param||function(d,g){return function(v,b){g(v,b,d)}};Object.defineProperty(s,"__esModule",{value:!0}),s.CoreService=void 0;var O=o(2585),f=o(8460),h=o(1439),p=o(844),y=Object.freeze({insertMode:!1}),$=Object.freeze({applicationCursorKeys:!1,applicationKeypad:!1,bracketedPasteMode:!1,origin:!1,reverseWraparound:!1,sendFocus:!1,wraparound:!0}),m=function(d){function g(v,b,_,Q){var S=d.call(this)||this;return S._bufferService=b,S._logService=_,S._optionsService=Q,S.isCursorInitialized=!1,S.isCursorHidden=!1,S._onData=S.register(new f.EventEmitter),S._onUserInput=S.register(new f.EventEmitter),S._onBinary=S.register(new f.EventEmitter),S._scrollToBottom=v,S.register({dispose:function(){return S._scrollToBottom=void 0}}),S.modes=(0,h.clone)(y),S.decPrivateModes=(0,h.clone)($),S}return l(g,d),Object.defineProperty(g.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"onUserInput",{get:function(){return this._onUserInput.event},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),g.prototype.reset=function(){this.modes=(0,h.clone)(y),this.decPrivateModes=(0,h.clone)($)},g.prototype.triggerDataEvent=function(v,b){if(b===void 0&&(b=!1),!this._optionsService.rawOptions.disableStdin){var _=this._bufferService.buffer;_.ybase!==_.ydisp&&this._scrollToBottom(),b&&this._onUserInput.fire(),this._logService.debug('sending data "'+v+'"',function(){return v.split("").map(function(Q){return Q.charCodeAt(0)})}),this._onData.fire(v)}},g.prototype.triggerBinaryEvent=function(v){this._optionsService.rawOptions.disableStdin||(this._logService.debug('sending binary "'+v+'"',function(){return v.split("").map(function(b){return b.charCodeAt(0)})}),this._onBinary.fire(v))},c([u(1,O.IBufferService),u(2,O.ILogService),u(3,O.IOptionsService)],g)}(p.Disposable);s.CoreService=m},9074:function(r,s,o){var a,l=this&&this.__extends||(a=function(m,d){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,v){g.__proto__=v}||function(g,v){for(var b in v)Object.prototype.hasOwnProperty.call(v,b)&&(g[b]=v[b])},a(m,d)},function(m,d){if(typeof d!="function"&&d!==null)throw new TypeError("Class extends value "+String(d)+" is not a constructor or null");function g(){this.constructor=m}a(m,d),m.prototype=d===null?Object.create(d):(g.prototype=d.prototype,new g)}),c=this&&this.__generator||function(m,d){var g,v,b,_,Q={label:0,sent:function(){if(1&b[0])throw b[1];return b[1]},trys:[],ops:[]};return _={next:S(0),throw:S(1),return:S(2)},typeof Symbol=="function"&&(_[Symbol.iterator]=function(){return this}),_;function S(P){return function(w){return function(x){if(g)throw new TypeError("Generator is already executing.");for(;Q;)try{if(g=1,v&&(b=2&x[0]?v.return:x[0]?v.throw||((b=v.return)&&b.call(v),0):v.next)&&!(b=b.call(v,x[1])).done)return b;switch(v=0,b&&(x=[2&x[0],b.value]),x[0]){case 0:case 1:b=x;break;case 4:return Q.label++,{value:x[1],done:!1};case 5:Q.label++,v=x[1],x=[0];continue;case 7:x=Q.ops.pop(),Q.trys.pop();continue;default:if(!((b=(b=Q.trys).length>0&&b[b.length-1])||x[0]!==6&&x[0]!==2)){Q=0;continue}if(x[0]===3&&(!b||x[1]>b[0]&&x[1]=m.length&&(m=void 0),{value:m&&m[v++],done:!m}}};throw new TypeError(d?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(s,"__esModule",{value:!0}),s.DecorationService=void 0;var O=o(8055),f=o(8460),h=o(844),p=o(6106),y=function(m){function d(){var g=m.call(this)||this;return g._decorations=new p.SortedList(function(v){return v.marker.line}),g._onDecorationRegistered=g.register(new f.EventEmitter),g._onDecorationRemoved=g.register(new f.EventEmitter),g}return l(d,m),Object.defineProperty(d.prototype,"onDecorationRegistered",{get:function(){return this._onDecorationRegistered.event},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"onDecorationRemoved",{get:function(){return this._onDecorationRemoved.event},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"decorations",{get:function(){return this._decorations.values()},enumerable:!1,configurable:!0}),d.prototype.registerDecoration=function(g){var v=this;if(!g.marker.isDisposed){var b=new $(g);if(b){var _=b.marker.onDispose(function(){return b.dispose()});b.onDispose(function(){b&&(v._decorations.delete(b)&&v._onDecorationRemoved.fire(b),_.dispose())}),this._decorations.insert(b),this._onDecorationRegistered.fire(b)}return b}},d.prototype.reset=function(){var g,v;try{for(var b=u(this._decorations.values()),_=b.next();!_.done;_=b.next())_.value.dispose()}catch(Q){g={error:Q}}finally{try{_&&!_.done&&(v=b.return)&&v.call(b)}finally{if(g)throw g.error}}this._decorations.clear()},d.prototype.getDecorationsAtLine=function(g){return c(this,function(v){return[2,this._decorations.getKeyIterator(g)]})},d.prototype.getDecorationsAtCell=function(g,v,b){var _,Q,S,P,w,x,k,C,T,E,A;return c(this,function(R){switch(R.label){case 0:_=0,Q=0,R.label=1;case 1:R.trys.push([1,6,7,8]),S=u(this._decorations.getKeyIterator(v)),P=S.next(),R.label=2;case 2:return P.done?[3,5]:(w=P.value,_=(T=w.options.x)!==null&&T!==void 0?T:0,Q=_+((E=w.options.width)!==null&&E!==void 0?E:1),!(g>=_&&g=0;d--)(y=O[d])&&(m=($<3?y(m):$>3?y(f,h,m):y(f,h))||m);return $>3&&m&&Object.defineProperty(f,h,m),m},l=this&&this.__param||function(O,f){return function(h,p){f(h,p,O)}};Object.defineProperty(s,"__esModule",{value:!0}),s.DirtyRowService=void 0;var c=o(2585),u=function(){function O(f){this._bufferService=f,this.clearRange()}return Object.defineProperty(O.prototype,"start",{get:function(){return this._start},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"end",{get:function(){return this._end},enumerable:!1,configurable:!0}),O.prototype.clearRange=function(){this._start=this._bufferService.buffer.y,this._end=this._bufferService.buffer.y},O.prototype.markDirty=function(f){fthis._end&&(this._end=f)},O.prototype.markRangeDirty=function(f,h){if(f>h){var p=f;f=h,h=p}fthis._end&&(this._end=h)},O.prototype.markAllDirty=function(){this.markRangeDirty(0,this._bufferService.rows-1)},a([l(0,c.IBufferService)],O)}();s.DirtyRowService=u},4348:function(r,s,o){var a=this&&this.__values||function(p){var y=typeof Symbol=="function"&&Symbol.iterator,$=y&&p[y],m=0;if($)return $.call(p);if(p&&typeof p.length=="number")return{next:function(){return p&&m>=p.length&&(p=void 0),{value:p&&p[m++],done:!p}}};throw new TypeError(y?"Object is not iterable.":"Symbol.iterator is not defined.")},l=this&&this.__read||function(p,y){var $=typeof Symbol=="function"&&p[Symbol.iterator];if(!$)return p;var m,d,g=$.call(p),v=[];try{for(;(y===void 0||y-- >0)&&!(m=g.next()).done;)v.push(m.value)}catch(b){d={error:b}}finally{try{m&&!m.done&&($=g.return)&&$.call(g)}finally{if(d)throw d.error}}return v},c=this&&this.__spreadArray||function(p,y,$){if($||arguments.length===2)for(var m,d=0,g=y.length;d0?v[0].index:d.length;if(d.length!==w)throw new Error("[createInstance] First service dependency of "+y.name+" at position "+(w+1)+" conflicts with "+d.length+" static arguments");return new(y.bind.apply(y,c([void 0],l(c(c([],l(d),!1),l(b),!1)),!1)))},p}();s.InstantiationService=h},7866:function(r,s,o){var a=this&&this.__decorate||function(p,y,$,m){var d,g=arguments.length,v=g<3?y:m===null?m=Object.getOwnPropertyDescriptor(y,$):m;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")v=Reflect.decorate(p,y,$,m);else for(var b=p.length-1;b>=0;b--)(d=p[b])&&(v=(g<3?d(v):g>3?d(y,$,v):d(y,$))||v);return g>3&&v&&Object.defineProperty(y,$,v),v},l=this&&this.__param||function(p,y){return function($,m){y($,m,p)}},c=this&&this.__read||function(p,y){var $=typeof Symbol=="function"&&p[Symbol.iterator];if(!$)return p;var m,d,g=$.call(p),v=[];try{for(;(y===void 0||y-- >0)&&!(m=g.next()).done;)v.push(m.value)}catch(b){d={error:b}}finally{try{m&&!m.done&&($=g.return)&&$.call(g)}finally{if(d)throw d.error}}return v},u=this&&this.__spreadArray||function(p,y,$){if($||arguments.length===2)for(var m,d=0,g=y.length;d{function o(a,l,c){l.di$target===l?l.di$dependencies.push({id:a,index:c}):(l.di$dependencies=[{id:a,index:c}],l.di$target=l)}Object.defineProperty(s,"__esModule",{value:!0}),s.createDecorator=s.getServiceDependencies=s.serviceRegistry=void 0,s.serviceRegistry=new Map,s.getServiceDependencies=function(a){return a.di$dependencies||[]},s.createDecorator=function(a){if(s.serviceRegistry.has(a))return s.serviceRegistry.get(a);var l=function(c,u,O){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");o(l,c,O)};return l.toString=function(){return a},s.serviceRegistry.set(a,l),l}},2585:(r,s,o)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.IDecorationService=s.IUnicodeService=s.IOptionsService=s.ILogService=s.LogLevelEnum=s.IInstantiationService=s.IDirtyRowService=s.ICharsetService=s.ICoreService=s.ICoreMouseService=s.IBufferService=void 0;var a,l=o(8343);s.IBufferService=(0,l.createDecorator)("BufferService"),s.ICoreMouseService=(0,l.createDecorator)("CoreMouseService"),s.ICoreService=(0,l.createDecorator)("CoreService"),s.ICharsetService=(0,l.createDecorator)("CharsetService"),s.IDirtyRowService=(0,l.createDecorator)("DirtyRowService"),s.IInstantiationService=(0,l.createDecorator)("InstantiationService"),(a=s.LogLevelEnum||(s.LogLevelEnum={}))[a.DEBUG=0]="DEBUG",a[a.INFO=1]="INFO",a[a.WARN=2]="WARN",a[a.ERROR=3]="ERROR",a[a.OFF=4]="OFF",s.ILogService=(0,l.createDecorator)("LogService"),s.IOptionsService=(0,l.createDecorator)("OptionsService"),s.IUnicodeService=(0,l.createDecorator)("UnicodeService"),s.IDecorationService=(0,l.createDecorator)("DecorationService")},1480:(r,s,o)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.UnicodeService=void 0;var a=o(8460),l=o(225),c=function(){function u(){this._providers=Object.create(null),this._active="",this._onChange=new a.EventEmitter;var O=new l.UnicodeV6;this.register(O),this._active=O.version,this._activeProvider=O}return Object.defineProperty(u.prototype,"onChange",{get:function(){return this._onChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"versions",{get:function(){return Object.keys(this._providers)},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"activeVersion",{get:function(){return this._active},set:function(O){if(!this._providers[O])throw new Error('unknown Unicode version "'+O+'"');this._active=O,this._activeProvider=this._providers[O],this._onChange.fire(O)},enumerable:!1,configurable:!0}),u.prototype.register=function(O){this._providers[O.version]=O},u.prototype.wcwidth=function(O){return this._activeProvider.wcwidth(O)},u.prototype.getStringCellWidth=function(O){for(var f=0,h=O.length,p=0;p=h)return f+this.wcwidth(y);var $=O.charCodeAt(p);56320<=$&&$<=57343?y=1024*(y-55296)+$-56320+65536:f+=this.wcwidth($)}f+=this.wcwidth(y)}return f},u}();s.UnicodeService=c}},i={};return function r(s){var o=i[s];if(o!==void 0)return o.exports;var a=i[s]={exports:{}};return n[s].call(a.exports,a,a.exports,r),a.exports}(4389)})()})})(kR);var CR={exports:{}};(function(t,e){(function(n,i){t.exports=i()})(self,function(){return(()=>{var n={775:(r,s)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.FitAddon=void 0;var o=function(){function a(){}return a.prototype.activate=function(l){this._terminal=l},a.prototype.dispose=function(){},a.prototype.fit=function(){var l=this.proposeDimensions();if(l&&this._terminal){var c=this._terminal._core;this._terminal.rows===l.rows&&this._terminal.cols===l.cols||(c._renderService.clear(),this._terminal.resize(l.cols,l.rows))}},a.prototype.proposeDimensions=function(){if(this._terminal&&this._terminal.element&&this._terminal.element.parentElement){var l=this._terminal._core;if(l._renderService.dimensions.actualCellWidth!==0&&l._renderService.dimensions.actualCellHeight!==0){var c=window.getComputedStyle(this._terminal.element.parentElement),u=parseInt(c.getPropertyValue("height")),O=Math.max(0,parseInt(c.getPropertyValue("width"))),f=window.getComputedStyle(this._terminal.element),h=u-(parseInt(f.getPropertyValue("padding-top"))+parseInt(f.getPropertyValue("padding-bottom"))),p=O-(parseInt(f.getPropertyValue("padding-right"))+parseInt(f.getPropertyValue("padding-left")))-l.viewport.scrollBarWidth;return{cols:Math.max(2,Math.floor(p/l._renderService.dimensions.actualCellWidth)),rows:Math.max(1,Math.floor(h/l._renderService.dimensions.actualCellHeight))}}}},a}();s.FitAddon=o}},i={};return function r(s){if(i[s])return i[s].exports;var o=i[s]={exports:{}};return n[s](o,o.exports,r),o.exports}(775)})()})})(CR);var TR={exports:{}};(function(t,e){(function(n,i){t.exports=i()})(self,function(){return(()=>{var n={258:function(r,s,o){var a=this&&this.__assign||function(){return a=Object.assign||function(O){for(var f,h=1,p=arguments.length;h?",u=function(){function O(){this._linesCacheTimeoutId=0,this._onDidChangeResults=new l.EventEmitter,this.onDidChangeResults=this._onDidChangeResults.event}return O.prototype.activate=function(f){var h=this;this._terminal=f,this._onDataDisposable=this._terminal.onWriteParsed(function(){return h._updateMatches()}),this._onResizeDisposable=this._terminal.onResize(function(){return h._updateMatches()})},O.prototype._updateMatches=function(){var f,h=this;this._highlightTimeout&&window.clearTimeout(this._highlightTimeout),this._cachedSearchTerm&&((f=this._lastSearchOptions)===null||f===void 0?void 0:f.decorations)&&(this._highlightTimeout=setTimeout(function(){var p,y;h.findPrevious(h._cachedSearchTerm,a(a({},h._lastSearchOptions),{incremental:!0,noScroll:!0})),h._resultIndex=h._searchResults?h._searchResults.size-1:-1,h._onDidChangeResults.fire({resultIndex:h._resultIndex,resultCount:(y=(p=h._searchResults)===null||p===void 0?void 0:p.size)!==null&&y!==void 0?y:-1})},200))},O.prototype.dispose=function(){var f,h;this.clearDecorations(),(f=this._onDataDisposable)===null||f===void 0||f.dispose(),(h=this._onResizeDisposable)===null||h===void 0||h.dispose()},O.prototype.clearDecorations=function(f){var h,p,y,$;(h=this._selectedDecoration)===null||h===void 0||h.dispose(),(p=this._searchResults)===null||p===void 0||p.clear(),(y=this._resultDecorations)===null||y===void 0||y.forEach(function(m){for(var d=0,g=m;d=this._terminal.cols?$.row+1:$.row,$.col+$.term.length>=this._terminal.cols?0:$.col+1,h),this._searchResults.size>1e3)return this.clearDecorations(),void(this._resultIndex=void 0);this._searchResults.forEach(function(m){var d=p._createResultDecoration(m,h.decorations);if(d){var g=y.get(d.marker.line)||[];g.push(d),y.set(d.marker.line,g)}})}else this.clearDecorations()},O.prototype._find=function(f,h,p,y){var $;if(!this._terminal||!f||f.length===0)return($=this._terminal)===null||$===void 0||$.clearSelection(),void this.clearDecorations();if(p>this._terminal.cols)throw new Error("Invalid col: "+p+" to search in terminal of "+this._terminal.cols+" cols");var m=void 0;this._initLinesCache();var d={startRow:h,startCol:p};if(!(m=this._findInLine(f,d,y)))for(var g=h+1;g=this._searchResults.size&&(this._resultIndex=0))),this._selectResult(v,h==null?void 0:h.decorations,h==null?void 0:h.noScroll)},O.prototype.findPrevious=function(f,h){if(!this._terminal)throw new Error("Cannot use addon until it has been loaded");return this._lastSearchOptions=h,h!=null&&h.decorations&&(this._resultIndex===void 0&&this._cachedSearchTerm!==void 0&&f===this._cachedSearchTerm||this._highlightAllMatches(f,h)),this._fireResults(f,this._findPreviousAndSelect(f,h),h)},O.prototype._fireResults=function(f,h,p){var y;return p!=null&&p.decorations&&(this._resultIndex!==void 0&&((y=this._searchResults)===null||y===void 0?void 0:y.size)!==void 0?this._onDidChangeResults.fire({resultIndex:this._resultIndex,resultCount:this._searchResults.size}):this._onDidChangeResults.fire(void 0)),this._cachedSearchTerm=f,h},O.prototype._findPreviousAndSelect=function(f,h){var p,y;if(!this._terminal)throw new Error("Cannot use addon until it has been loaded");if(!this._terminal||!f||f.length===0)return y=void 0,(p=this._terminal)===null||p===void 0||p.clearSelection(),this.clearDecorations(),this._resultIndex=-1,!1;this._cachedSearchTerm!==f&&(this._resultIndex=void 0,this._terminal.clearSelection());var $,m=this._terminal.buffer.active.baseY+this._terminal.rows,d=this._terminal.cols,g=!0,v=!!h&&h.incremental;this._terminal.hasSelection()&&(m=($=this._terminal.getSelectionPosition()).startRow,d=$.startColumn),this._initLinesCache();var b={startRow:m,startCol:d};if(v?(y=this._findInLine(f,b,h,!1))&&y.row===m&&y.col===d||($&&(b.startRow=$.endRow,b.startCol=$.endColumn),y=this._findInLine(f,b,h,!0)):y=this._findInLine(f,b,h,g),!y){b.startCol=Math.max(b.startCol,this._terminal.cols);for(var _=m-1;_>=0&&(b.startRow=_,!(y=this._findInLine(f,b,h,g)));_--);}if(!y&&m!==this._terminal.buffer.active.baseY+this._terminal.rows)for(_=this._terminal.buffer.active.baseY+this._terminal.rows;_>=m&&(b.startRow=_,!(y=this._findInLine(f,b,h,g)));_--);return this._searchResults&&(this._searchResults.size===0?this._resultIndex=-1:this._resultIndex===void 0||this._resultIndex<0?this._resultIndex=this._searchResults.size-1:(this._resultIndex--,this._resultIndex===-1&&(this._resultIndex=this._searchResults.size-1))),!(y||!$)||this._selectResult(y,h==null?void 0:h.decorations,h==null?void 0:h.noScroll)},O.prototype._initLinesCache=function(){var f=this,h=this._terminal;this._linesCache||(this._linesCache=new Array(h.buffer.active.length),this._cursorMoveListener=h.onCursorMove(function(){return f._destroyLinesCache()}),this._resizeListener=h.onResize(function(){return f._destroyLinesCache()})),window.clearTimeout(this._linesCacheTimeoutId),this._linesCacheTimeoutId=window.setTimeout(function(){return f._destroyLinesCache()},15e3)},O.prototype._destroyLinesCache=function(){this._linesCache=void 0,this._cursorMoveListener&&(this._cursorMoveListener.dispose(),this._cursorMoveListener=void 0),this._resizeListener&&(this._resizeListener.dispose(),this._resizeListener=void 0),this._linesCacheTimeoutId&&(window.clearTimeout(this._linesCacheTimeoutId),this._linesCacheTimeoutId=0)},O.prototype._isWholeWord=function(f,h,p){return(f===0||c.includes(h[f-1]))&&(f+p.length===h.length||c.includes(h[f+p.length]))},O.prototype._findInLine=function(f,h,p,y){var $;p===void 0&&(p={}),y===void 0&&(y=!1);var m=this._terminal,d=h.startRow,g=h.startCol,v=m.buffer.active.getLine(d);if(v!=null&&v.isWrapped)return y?void(h.startCol+=m.cols):(h.startRow--,h.startCol+=m.cols,this._findInLine(f,h,p));var b=($=this._linesCache)===null||$===void 0?void 0:$[d];b||(b=this._translateBufferLineToStringWithWrap(d,!0),this._linesCache&&(this._linesCache[d]=b));var _=b[0],Q=b[1],S=this._bufferColsToStringOffset(d,g),P=p.caseSensitive?f:f.toLowerCase(),w=p.caseSensitive?_:_.toLowerCase(),x=-1;if(p.regex){var k=RegExp(P,"g"),C=void 0;if(y)for(;C=k.exec(w.slice(0,S));)x=k.lastIndex-C[0].length,f=C[0],k.lastIndex-=f.length-1;else(C=k.exec(w.slice(S)))&&C[0].length>0&&(x=S+(k.lastIndex-C[0].length),f=C[0])}else y?S-P.length>=0&&(x=w.lastIndexOf(P,S-P.length)):x=w.indexOf(P,S);if(x>=0){if(p.wholeWord&&!this._isWholeWord(x,w,f))return;for(var T=0;T=Q[T+1];)T++;for(var E=T;E=Q[E+1];)E++;var A=x-Q[T],R=x+f.length-Q[E],X=this._stringLengthToBufferSize(d+T,A);return{term:f,col:X,row:d+T,size:this._stringLengthToBufferSize(d+E,R)-X+m.cols*(E-T)}}},O.prototype._stringLengthToBufferSize=function(f,h){var p=this._terminal.buffer.active.getLine(f);if(!p)return 0;for(var y=0;y1&&(h-=m.length-1);var d=p.getCell(y+1);d&&d.getWidth()===0&&h++}return h},O.prototype._bufferColsToStringOffset=function(f,h){for(var p=this._terminal,y=f,$=0,m=p.buffer.active.getLine(y);h>0&&m;){for(var d=0;d=d.buffer.active.viewportY+d.rows||f.row{Object.defineProperty(s,"__esModule",{value:!0}),s.forwardEvent=s.EventEmitter=void 0;var o=function(){function a(){this._listeners=[],this._disposed=!1}return Object.defineProperty(a.prototype,"event",{get:function(){var l=this;return this._event||(this._event=function(c){return l._listeners.push(c),{dispose:function(){if(!l._disposed){for(var u=0;u + + + + `,e.className=j0;const n=this.terminal.element.parentElement;this.searchBarElement=e,["relative","absoulte","fixed"].includes(n.style.position)||(n.style.position="relative"),n.appendChild(this.searchBarElement),this.on(".search-bar__btn.close","click",()=>{this.hidden()}),this.on(".search-bar__btn.next","click",()=>{this.searchAddon.findNext(this.searchKey,{incremental:!1})}),this.on(".search-bar__btn.prev","click",()=>{this.searchAddon.findPrevious(this.searchKey,{incremental:!1})}),this.on(".search-bar__input","keyup",i=>{this.searchKey=i.target.value,this.searchAddon.findNext(this.searchKey,{incremental:i.key!=="Enter"})}),this.searchBarElement.querySelector("input").select()}hidden(){this.searchBarElement&&this.terminal.element.parentElement&&(this.searchBarElement.style.visibility="hidden")}on(e,n,i){const r=this.terminal.element.parentElement;r.addEventListener(n,s=>{let o=s.target;for(;o!==document.querySelector(e);){if(o===r){o=null;break}o=o.parentElement}o===document.querySelector(e)&&(i.call(this,s),s.stopPropagation())})}addNewStyle(e){let n=document.getElementById(j0);n||(n=document.createElement("style"),n.type="text/css",n.id=j0,document.getElementsByTagName("head")[0].appendChild(n)),n.appendChild(document.createTextNode(e))}}var RR={exports:{}};(function(t,e){(function(n,i){t.exports=i()})(self,function(){return(()=>{var n={6:(o,a)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.LinkComputer=a.WebLinkProvider=void 0;var l=function(){function u(O,f,h,p){p===void 0&&(p={}),this._terminal=O,this._regex=f,this._handler=h,this._options=p}return u.prototype.provideLinks=function(O,f){var h=c.computeLink(O,this._regex,this._terminal,this._handler);f(this._addCallbacks(h))},u.prototype._addCallbacks=function(O){var f=this;return O.map(function(h){return h.leave=f._options.leave,h.hover=function(p,y){if(f._options.hover){var $=h.range;f._options.hover(p,y,$)}},h})},u}();a.WebLinkProvider=l;var c=function(){function u(){}return u.computeLink=function(O,f,h,p){for(var y,$=new RegExp(f.source,(f.flags||"")+"g"),m=u._translateBufferLineToStringWithWrap(O-1,!1,h),d=m[0],g=m[1],v=-1,b=[];(y=$.exec(d))!==null;){var _=y[1];if(!_){console.log("match found without corresponding matchIndex");break}if(v=d.indexOf(_,v+1),$.lastIndex=v+_.length,v<0)break;for(var Q=v+_.length,S=g+1;Q>h.cols;)Q-=h.cols,S++;for(var P=v+1,w=g+1;P>h.cols;)P-=h.cols,w++;var x={start:{x:P,y:w},end:{x:Q,y:S}};b.push({range:x,text:_,activate:p})}return b},u._translateBufferLineToStringWithWrap=function(O,f,h){var p,y,$="";do{if(!(d=h.buffer.active.getLine(O)))break;d.isWrapped&&O--,y=d.isWrapped}while(y);var m=O;do{var d,g=h.buffer.active.getLine(O+1);if(p=!!g&&g.isWrapped,!(d=h.buffer.active.getLine(O)))break;$+=d.translateToString(!p&&f).substring(0,h.cols),O++}while(p);return[$,m]},u}();a.LinkComputer=c}},i={};function r(o){var a=i[o];if(a!==void 0)return a.exports;var l=i[o]={exports:{}};return n[o](l,l.exports,r),l.exports}var s={};return(()=>{var o=s;Object.defineProperty(o,"__esModule",{value:!0}),o.WebLinksAddon=void 0;var a=r(6),l=new RegExp(`(?:^|[^\\da-z\\.-]+)((https?:\\/\\/)((([\\da-z\\.-]+)\\.([a-z\\.]{2,18}))|((\\d{1,3}\\.){3}\\d{1,3})|(localhost))(:\\d{1,5})?((\\/[\\/\\w\\.\\-%~:+@]*)*([^:"'\\s]))?(\\?[0-9\\w\\[\\]\\(\\)\\/\\?\\!#@$%&'*+,:;~\\=\\.\\-]*)?(#[0-9\\w\\[\\]\\(\\)\\/\\?\\!#@$%&'*+,:;~\\=\\.\\-]*)?)($|[^\\/\\w\\.\\-%]+)`);function c(O,f){var h=window.open();if(h){try{h.opener=null}catch{}h.location.href=f}else console.warn("Opening link blocked as opener could not be cleared")}var u=function(){function O(f,h,p){f===void 0&&(f=c),h===void 0&&(h={}),p===void 0&&(p=!1),this._handler=f,this._options=h,this._useLinkProvider=p}return O.prototype.activate=function(f){if(this._terminal=f,this._useLinkProvider&&"registerLinkProvider"in this._terminal){var h=(p=this._options).urlRegex||l;this._linkProvider=this._terminal.registerLinkProvider(new a.WebLinkProvider(this._terminal,h,this._handler,p))}else{var p;(p=this._options).matchIndex=1,this._linkMatcherId=this._terminal.registerLinkMatcher(l,this._handler,p)}},O.prototype.dispose=function(){var f;this._linkMatcherId!==void 0&&this._terminal!==void 0&&this._terminal.deregisterLinkMatcher(this._linkMatcherId),(f=this._linkProvider)===null||f===void 0||f.dispose()},O}();o.WebLinksAddon=u})(),s})()})})(RR);const{io:jre}=_a,Nre={name:"Terminal",props:{token:{required:!0,type:String},host:{required:!0,type:String}},data(){return{socket:null,term:null,command:"",timer:null,fitAddon:null,searchBar:null,isManual:!1}},async mounted(){this.createLocalTerminal(),await this.getCommand(),this.connectIO()},beforeUnmount(){var t;this.isManual=!0,(t=this.socket)==null||t.close(),window.removeEventListener("resize",this.handleResize)},methods:{async getCommand(){let{data:t}=await this.$api.getCommand(this.host);t&&(this.command=t)},connectIO(){let{host:t,token:e}=this;this.socket=jre(this.$serviceURI,{path:"/terminal",forceNew:!1,reconnectionAttempts:1}),this.socket.on("connect",()=>{console.log("/terminal socket\u5DF2\u8FDE\u63A5\uFF1A",this.socket.id),this.socket.emit("create",{host:t,token:e}),this.socket.on("connect_success",()=>{this.onData(),this.socket.on("connect_terminal",()=>{this.onResize(),this.onFindText(),this.onWebLinks(),this.command&&this.socket.emit("input",this.command+` +`)})}),this.socket.on("create_fail",n=>{console.error(n),this.$notification({title:"\u521B\u5EFA\u5931\u8D25",message:n,type:"error"})}),this.socket.on("token_verify_fail",()=>{this.$notification({title:"Error",message:"token\u6821\u9A8C\u5931\u8D25\uFF0C\u8BF7\u91CD\u65B0\u767B\u5F55",type:"error"}),this.$router.push("/login")}),this.socket.on("connect_fail",n=>{console.error(n),this.$notification({title:"\u8FDE\u63A5\u5931\u8D25",message:n,type:"error"})})}),this.socket.on("disconnect",()=>{console.warn("terminal websocket \u8FDE\u63A5\u65AD\u5F00"),this.isManual||this.reConnect()}),this.socket.on("connect_error",n=>{console.error("terminal websocket \u8FDE\u63A5\u9519\u8BEF\uFF1A",n),this.$notification({title:"\u7EC8\u7AEF\u8FDE\u63A5\u5931\u8D25",message:"\u8BF7\u68C0\u67E5socket\u670D\u52A1\u662F\u5426\u6B63\u5E38",type:"error"})})},reConnect(){this.socket.close&&this.socket.close(),this.$messageBox.alert("\u7EC8\u7AEF\u8FDE\u63A5\u65AD\u5F00","Error",{dangerouslyUseHTMLString:!0,confirmButtonText:"\u5237\u65B0\u9875\u9762"}).then(()=>{location.reload()})},createLocalTerminal(){let t=new kR.exports.Terminal({rendererType:"dom",bellStyle:"sound",convertEol:!0,cursorBlink:!0,disableStdin:!1,fontSize:18,minimumContrastRatio:7,theme:{foreground:"#ECECEC",background:"#000000",cursor:"help",selection:"#ff9900",lineHeight:20}});this.term=t,t.open(this.$refs.terminal),t.writeln("\x1B[1;32mWelcome to EasyNode terminal\x1B[0m."),t.writeln("\x1B[1;32mAn experimental Web-SSH Terminal\x1B[0m."),t.focus(),this.onSelectionChange()},onResize(){this.fitAddon=new CR.exports.FitAddon,this.term.loadAddon(this.fitAddon),this.fitAddon.fit();let{rows:t,cols:e}=this.term;this.socket.emit("resize",{rows:t,cols:e}),window.addEventListener("resize",this.handleResize)},handleResize(){this.timer&&clearTimeout(this.timer),this.timer=setTimeout(()=>{var r,s;let t=[],e=Array.from(document.getElementsByClassName("el-tab-pane"));e.forEach((o,a)=>{t[a]=o.style.display,o.style.display="block"}),(r=this.fitAddon)==null||r.fit(),e.forEach((o,a)=>{o.style.display=t[a]});let{rows:n,cols:i}=this.term;(s=this.socket)==null||s.emit("resize",{rows:n,cols:i})},200)},onWebLinks(){this.term.loadAddon(new RR.exports.WebLinksAddon)},onFindText(){const t=new TR.exports.SearchAddon;this.searchBar=new Vre({searchAddon:t}),this.term.loadAddon(t),this.term.loadAddon(this.searchBar)},onSelectionChange(){this.term.onSelectionChange(()=>{let t=this.term.getSelection();if(!t)return;const e=new Blob([t],{type:"text/plain"}),n=new ClipboardItem({"text/plain":e});navigator.clipboard.write([n])})},onData(){this.socket.on("output",t=>{this.term.write(t)}),this.term.onData(t=>{let e=t.codePointAt();if(e===22)return this.handlePaste();if(e===6)return this.searchBar.show();this.socket.emit("input",t)})},handleClear(){this.term.clear()},async handlePaste(){let t=await navigator.clipboard.readText();this.socket.emit("input",t),this.term.focus()},focusTab(){this.term.blur(),setTimeout(()=>{this.term.focus()},200)},handleInputCommand(t){this.socket.emit("input",t)}}},Fre=t=>(fc("data-v-0c13eb03"),t=t(),Oc(),t),Gre=Fre(()=>U("header",null,null,-1)),Hre={ref:"terminal",class:"terminal-container"};function Kre(t,e,n,i,r,s){return L(),ie(Le,null,[Gre,U("div",Hre,null,512)],64)}var Jre=an(Nre,[["render",Kre],["__scopeId","data-v-0c13eb03"]]),ese="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAK8AAAA3CAYAAAB6pxpbAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAA7kSURBVHja7J15fBN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q4eB4ESiMIvzCVx+MS3hml+YWp8Kpj4rIQyOUXpsoCiznCI4Ag4XXOxAkIIEgCWCwNjwCChNc5EycggCAJYLE0PAIIEl7nTJyAAIIkgMXS8AggSHidM3ECAgiSABZLwyOAIOF1zsQJCCBIAlgsDY8AgoTXORMnIIAgCWCxNDwCCBJe50ycgACCJIDF0vAI/BdYl2P2p3F5PwAAAABJRU5ErkJggg==";const ise={name:"InfoSide",props:{token:{required:!0,type:String},host:{required:!0,type:String},visible:{required:!0,type:Boolean}},emits:["connect-sftp","click-input-command"],data(){return{socket:null,name:"",clientPort:22022,hostData:null,ping:0,pingTimer:null,sftpStatus:!1,inputCommandStatus:!1}},computed:{ipInfo(){var t;return((t=this.hostData)==null?void 0:t.ipInfo)||{}},isError(){var t;return!Boolean((t=this.hostData)==null?void 0:t.osInfo)},cpuInfo(){var t;return((t=this.hostData)==null?void 0:t.cpuInfo)||{}},memInfo(){var t;return((t=this.hostData)==null?void 0:t.memInfo)||{}},osInfo(){var t;return((t=this.hostData)==null?void 0:t.osInfo)||{}},driveInfo(){var t;return((t=this.hostData)==null?void 0:t.driveInfo)||{}},netstatInfo(){var n;let i=((n=this.hostData)==null?void 0:n.netstatInfo)||{},{total:t}=i,e=lO(i,["total"]);return{netTotal:t,netCards:e||{}}},openedCount(){var t;return((t=this.hostData)==null?void 0:t.openedCount)||0},cpuUsage(){var t;return Number((t=this.cpuInfo)==null?void 0:t.cpuUsage)||0},usedMemPercentage(){var t;return Number((t=this.memInfo)==null?void 0:t.usedMemPercentage)||0},usedPercentage(){var t;return Number((t=this.driveInfo)==null?void 0:t.usedPercentage)||0},output(){var e;let t=Number((e=this.netstatInfo.netTotal)==null?void 0:e.outputMb)||0;return t>=1?`${t.toFixed(2)} MB/s`:`${(t*1024).toFixed(1)} KB/s`},input(){var e;let t=Number((e=this.netstatInfo.netTotal)==null?void 0:e.inputMb)||0;return t>=1?`${t.toFixed(2)} MB/s`:`${(t*1024).toFixed(1)} KB/s`}},created(){if(this.name=this.$route.query.name||"",!this.host||!this.name)return this.$message.error("\u53C2\u6570\u9519\u8BEF");this.connectIO()},beforeUnmount(){this.socket&&this.socket.close(),this.pingTimer&&clearInterval(this.pingTimer)},methods:{handleSftp(){this.sftpStatus=!this.sftpStatus,this.$emit("connect-sftp",this.sftpStatus)},clickInputCommand(){this.inputCommandStatus=!0,this.$emit("click-input-command")},connectIO(){let{host:t,token:e}=this;this.socket=_a(this.$serviceURI,{path:"/host-status",forceNew:!0,timeout:5e3,reconnectionDelay:3e3,reconnectionAttempts:100}),this.socket.on("connect",()=>{console.log("/host-status socket\u5DF2\u8FDE\u63A5\uFF1A",this.socket.id),this.socket.emit("init_host_data",{token:e,host:t}),this.getHostPing(),this.socket.on("host_data",n=>{if(!n)return this.hostData=null;this.hostData=n})}),this.socket.on("connect_error",n=>{console.error("host status websocket \u8FDE\u63A5\u9519\u8BEF\uFF1A",n),this.$notification({title:"\u8FDE\u63A5\u5BA2\u6237\u7AEF\u5931\u8D25(\u91CD\u8FDE\u4E2D...)",message:"\u8BF7\u68C0\u67E5\u5BA2\u6237\u7AEF\u670D\u52A1\u662F\u5426\u6B63\u5E38",type:"error"})}),this.socket.on("disconnect",()=>{this.hostData=null,this.$notification({title:"\u5BA2\u6237\u7AEF\u8FDE\u63A5\u4E3B\u52A8\u65AD\u5F00(\u91CD\u8FDE\u4E2D...)",message:"\u8BF7\u68C0\u67E5\u5BA2\u6237\u7AEF\u670D\u52A1\u662F\u5426\u6B63\u5E38",type:"error"})})},async handleCopy(){await navigator.clipboard.writeText(this.host),this.$message.success({message:"success",center:!0})},handleColor(t){if(t<65)return"#8AE234";if(t<85)return"#FFD700";if(t<90)return"#FFFF33";if(t<=100)return"#FF3333"},getHostPing(){this.pingTimer=setInterval(()=>{this.$tools.ping(`http://${this.host}:22022`).then(t=>{this.ping=t,console.clear(),console.warn("Please tick 'Preserve Log'")})},3e3)}}},Gn=t=>(fc("data-v-5c933804"),t=t(),Oc(),t),rse=Gn(()=>U("header",null,[U("a",{href:"/"},[U("img",{src:ese,alt:"logo"})])],-1)),sse=Ee("POSITION"),ose=Gn(()=>U("div",{class:"item-title"}," IP ",-1)),ase={style:{"margin-right":"10px"}},lse=Ee("\u590D\u5236"),cse=Gn(()=>U("div",{class:"item-title"}," \u4F4D\u7F6E ",-1)),use={size:"small"},fse=Gn(()=>U("div",{class:"item-title"}," \u5EF6\u8FDF ",-1)),Ose={style:{"margin-right":"10px"},class:"host-ping"},hse=Ee("INDICATOR"),dse=Gn(()=>U("div",{class:"item-title"}," CPU ",-1)),pse=Gn(()=>U("div",{class:"item-title"}," \u5185\u5B58 ",-1)),mse={class:"position-right"},gse=Gn(()=>U("div",{class:"item-title"}," \u786C\u76D8 ",-1)),vse={class:"position-right"},yse=Gn(()=>U("div",{class:"item-title"}," \u7F51\u7EDC ",-1)),$se={class:"netstat-info"},bse={class:"wrap"},_se=Gn(()=>U("img",{src:tse,alt:""},null,-1)),Qse={class:"upload"},Sse={class:"wrap"},wse=Gn(()=>U("img",{src:nse,alt:""},null,-1)),xse={class:"download"},Pse=Ee("INFORMATION"),kse=Gn(()=>U("div",{class:"item-title"}," \u540D\u79F0 ",-1)),Cse={size:"small"},Tse=Gn(()=>U("div",{class:"item-title"}," \u6838\u5FC3 ",-1)),Rse={size:"small"},Ase=Gn(()=>U("div",{class:"item-title"}," \u578B\u53F7 ",-1)),Ese={size:"small"},Xse=Gn(()=>U("div",{class:"item-title"}," \u7C7B\u578B ",-1)),Wse={size:"small"},zse=Gn(()=>U("div",{class:"item-title"}," \u5728\u7EBF ",-1)),Ise={size:"small"},qse=Gn(()=>U("div",{class:"item-title"}," \u672C\u5730 ",-1)),Use={size:"small"},Dse=Ee("FEATURE"),Lse=Ee(" \u547D\u4EE4\u8F93\u5165\u6846 ");function Bse(t,e,n,i,r,s){const o=nN,a=W2,l=Ij,c=zj,u=cT,O=Tn;return L(),ie("div",{class:"info-container",style:tt({width:n.visible?"250px":0})},[rse,B(o,{class:"first-divider","content-position":"center"},{default:Y(()=>[sse]),_:1}),B(c,{class:"margin-top",column:1,size:"small",border:""},{default:Y(()=>[B(l,null,{label:Y(()=>[ose]),default:Y(()=>[U("span",ase,de(n.host),1),B(a,{size:"small",style:{cursor:"pointer"},onClick:s.handleCopy},{default:Y(()=>[lse]),_:1},8,["onClick"])]),_:1}),B(l,null,{label:Y(()=>[cse]),default:Y(()=>[U("div",use,de(s.ipInfo.country||"--")+" "+de(s.ipInfo.regionName),1)]),_:1}),B(l,null,{label:Y(()=>[fse]),default:Y(()=>[U("span",Ose,de(r.ping),1)]),_:1})]),_:1}),B(o,{"content-position":"center"},{default:Y(()=>[hse]),_:1}),B(c,{class:"margin-top",column:1,size:"small",border:""},{default:Y(()=>[B(l,null,{label:Y(()=>[dse]),default:Y(()=>[B(u,{"text-inside":!0,"stroke-width":18,percentage:s.cpuUsage,color:s.handleColor(s.cpuUsage)},null,8,["percentage","color"])]),_:1}),B(l,null,{label:Y(()=>[pse]),default:Y(()=>[B(u,{"text-inside":!0,"stroke-width":18,percentage:s.usedMemPercentage,color:s.handleColor(s.usedMemPercentage)},null,8,["percentage","color"]),U("div",mse,de(t.$tools.toFixed(s.memInfo.usedMemMb/1024))+"/"+de(t.$tools.toFixed(s.memInfo.totalMemMb/1024))+"G ",1)]),_:1}),B(l,null,{label:Y(()=>[gse]),default:Y(()=>[B(u,{"text-inside":!0,"stroke-width":18,percentage:s.usedPercentage,color:s.handleColor(s.usedPercentage)},null,8,["percentage","color"]),U("div",vse,de(s.driveInfo.usedGb||"--")+"/"+de(s.driveInfo.totalGb||"--")+"G ",1)]),_:1}),B(l,null,{label:Y(()=>[yse]),default:Y(()=>[U("div",$se,[U("div",bse,[_se,U("span",Qse,de(s.output||0),1)]),U("div",Sse,[wse,U("span",xse,de(s.input||0),1)])])]),_:1})]),_:1}),B(o,{"content-position":"center"},{default:Y(()=>[Pse]),_:1}),B(c,{class:"margin-top",column:1,size:"small",border:""},{default:Y(()=>[B(l,null,{label:Y(()=>[kse]),default:Y(()=>[U("div",Cse,de(s.osInfo.hostname),1)]),_:1}),B(l,null,{label:Y(()=>[Tse]),default:Y(()=>[U("div",Rse,de(s.cpuInfo.cpuCount),1)]),_:1}),B(l,null,{label:Y(()=>[Ase]),default:Y(()=>[U("div",Ese,de(s.cpuInfo.cpuModel),1)]),_:1}),B(l,null,{label:Y(()=>[Xse]),default:Y(()=>[U("div",Wse,de(s.osInfo.type)+" "+de(s.osInfo.release)+" "+de(s.osInfo.arch),1)]),_:1}),B(l,null,{label:Y(()=>[zse]),default:Y(()=>[U("div",Ise,de(t.$tools.formatTime(s.osInfo.uptime)),1)]),_:1}),B(l,null,{label:Y(()=>[qse]),default:Y(()=>[U("div",Use,de(s.osInfo.ip),1)]),_:1})]),_:1}),B(o,{"content-position":"center"},{default:Y(()=>[Dse]),_:1}),B(O,{type:r.sftpStatus?"primary":"success",style:{display:"block",width:"80%",margin:"30px auto"},onClick:s.handleSftp},{default:Y(()=>[Ee(de(r.sftpStatus?"\u5173\u95EDSFTP":"\u8FDE\u63A5SFTP"),1)]),_:1},8,["type","onClick"]),B(O,{type:r.inputCommandStatus?"primary":"success",style:{display:"block",width:"80%",margin:"30px auto"},onClick:s.clickInputCommand},{default:Y(()=>[Lse]),_:1},8,["type","onClick"])],4)}var Mse=an(ise,[["render",Bse],["__scopeId","data-v-5c933804"]]);class Xt{constructor(){}lineAt(e){if(e<0||e>this.length)throw new RangeError(`Invalid position ${e} in document of length ${this.length}`);return this.lineInner(e,!1,1,0)}line(e){if(e<1||e>this.lines)throw new RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,n,i){let r=[];return this.decompose(0,e,r,2),i.length&&i.decompose(0,i.length,r,3),this.decompose(n,this.length,r,1),Lr.from(r,this.length-(n-e)+i.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,n=this.length){let i=[];return this.decompose(e,n,i,0),Lr.from(i,n-e)}eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;let n=this.scanIdentical(e,1),i=this.length-this.scanIdentical(e,-1),r=new bu(this),s=new bu(e);for(let o=n,a=n;;){if(r.next(o),s.next(o),o=0,r.lineBreak!=s.lineBreak||r.done!=s.done||r.value!=s.value)return!1;if(a+=r.value.length,r.done||a>=i)return!0}}iter(e=1){return new bu(this,e)}iterRange(e,n=this.length){return new AR(this,e,n)}iterLines(e,n){let i;if(e==null)i=this.iter();else{n==null&&(n=this.lines+1);let r=this.line(e).from;i=this.iterRange(r,Math.max(r,n==this.lines+1?this.length:n<=1?0:this.line(n-1).to))}return new ER(i)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}static of(e){if(e.length==0)throw new RangeError("A document must have at least one line");return e.length==1&&!e[0]?Xt.empty:e.length<=32?new cn(e):Lr.from(cn.split(e,[]))}}class cn extends Xt{constructor(e,n=Yse(e)){super(),this.text=e,this.length=n}get lines(){return this.text.length}get children(){return null}lineInner(e,n,i,r){for(let s=0;;s++){let o=this.text[s],a=r+o.length;if((n?i:a)>=e)return new Zse(r,a,i,o);r=a+1,i++}}decompose(e,n,i,r){let s=e<=0&&n>=this.length?this:new cn(tS(this.text,e,n),Math.min(n,this.length)-Math.max(0,e));if(r&1){let o=i.pop(),a=Qh(s.text,o.text.slice(),0,s.length);if(a.length<=32)i.push(new cn(a,o.length+s.length));else{let l=a.length>>1;i.push(new cn(a.slice(0,l)),new cn(a.slice(l)))}}else i.push(s)}replace(e,n,i){if(!(i instanceof cn))return super.replace(e,n,i);let r=Qh(this.text,Qh(i.text,tS(this.text,0,e)),n),s=this.length+i.length-(n-e);return r.length<=32?new cn(r,s):Lr.from(cn.split(r,[]),s)}sliceString(e,n=this.length,i=` +`){let r="";for(let s=0,o=0;s<=n&&oe&&o&&(r+=i),es&&(r+=a.slice(Math.max(0,e-s),n-s)),s=l+1}return r}flatten(e){for(let n of this.text)e.push(n)}scanIdentical(){return 0}static split(e,n){let i=[],r=-1;for(let s of e)i.push(s),r+=s.length+1,i.length==32&&(n.push(new cn(i,r)),i=[],r=-1);return r>-1&&n.push(new cn(i,r)),n}}class Lr extends Xt{constructor(e,n){super(),this.children=e,this.length=n,this.lines=0;for(let i of e)this.lines+=i.lines}lineInner(e,n,i,r){for(let s=0;;s++){let o=this.children[s],a=r+o.length,l=i+o.lines-1;if((n?l:a)>=e)return o.lineInner(e,n,i,r);r=a+1,i=l+1}}decompose(e,n,i,r){for(let s=0,o=0;o<=n&&s=o){let c=r&((o<=e?1:0)|(l>=n?2:0));o>=e&&l<=n&&!c?i.push(a):a.decompose(e-o,n-o,i,c)}o=l+1}}replace(e,n,i){if(i.lines=s&&n<=a){let l=o.replace(e-s,n-s,i),c=this.lines-o.lines+l.lines;if(l.lines>5-1&&l.lines>c>>5+1){let u=this.children.slice();return u[r]=l,new Lr(u,this.length-(n-e)+i.length)}return super.replace(s,a,l)}s=a+1}return super.replace(e,n,i)}sliceString(e,n=this.length,i=` +`){let r="";for(let s=0,o=0;se&&s&&(r+=i),eo&&(r+=a.sliceString(e-o,n-o,i)),o=l+1}return r}flatten(e){for(let n of this.children)n.flatten(e)}scanIdentical(e,n){if(!(e instanceof Lr))return 0;let i=0,[r,s,o,a]=n>0?[0,0,this.children.length,e.children.length]:[this.children.length-1,e.children.length-1,-1,-1];for(;;r+=n,s+=n){if(r==o||s==a)return i;let l=this.children[r],c=e.children[s];if(l!=c)return i+l.scanIdentical(c,n);i+=l.length+1}}static from(e,n=e.reduce((i,r)=>i+r.length+1,-1)){let i=0;for(let h of e)i+=h.lines;if(i<32){let h=[];for(let p of e)p.flatten(h);return new cn(h,n)}let r=Math.max(32,i>>5),s=r<<1,o=r>>1,a=[],l=0,c=-1,u=[];function O(h){let p;if(h.lines>s&&h instanceof Lr)for(let y of h.children)O(y);else h.lines>o&&(l>o||!l)?(f(),a.push(h)):h instanceof cn&&l&&(p=u[u.length-1])instanceof cn&&h.lines+p.lines<=32?(l+=h.lines,c+=h.length+1,u[u.length-1]=new cn(p.text.concat(h.text),p.length+1+h.length)):(l+h.lines>r&&f(),l+=h.lines,c+=h.length+1,u.push(h))}function f(){l!=0&&(a.push(u.length==1?u[0]:Lr.from(u,c)),c=-1,l=u.length=0)}for(let h of e)O(h);return f(),a.length==1?a[0]:new Lr(a,n)}}Xt.empty=new cn([""],0);function Yse(t){let e=-1;for(let n of t)e+=n.length+1;return e}function Qh(t,e,n=0,i=1e9){for(let r=0,s=0,o=!0;s=n&&(l>i&&(a=a.slice(0,i-r)),r0?1:(e instanceof cn?e.text.length:e.children.length)<<1]}nextInner(e,n){for(this.done=this.lineBreak=!1;;){let i=this.nodes.length-1,r=this.nodes[i],s=this.offsets[i],o=s>>1,a=r instanceof cn?r.text.length:r.children.length;if(o==(n>0?a:0)){if(i==0)return this.done=!0,this.value="",this;n>0&&this.offsets[i-1]++,this.nodes.pop(),this.offsets.pop()}else if((s&1)==(n>0?0:1)){if(this.offsets[i]+=n,e==0)return this.lineBreak=!0,this.value=` +`,this;e--}else if(r instanceof cn){let l=r.text[o+(n<0?-1:0)];if(this.offsets[i]+=n,l.length>Math.max(0,e))return this.value=e==0?l:n>0?l.slice(e):l.slice(0,l.length-e),this;e-=l.length}else{let l=r.children[o+(n<0?-1:0)];e>l.length?(e-=l.length,this.offsets[i]+=n):(n<0&&this.offsets[i]--,this.nodes.push(l),this.offsets.push(n>0?1:(l instanceof cn?l.text.length:l.children.length)<<1))}}}next(e=0){return e<0&&(this.nextInner(-e,-this.dir),e=this.value.length),this.nextInner(e,this.dir)}}class AR{constructor(e,n,i){this.value="",this.done=!1,this.cursor=new bu(e,n>i?-1:1),this.pos=n>i?e.length:0,this.from=Math.min(n,i),this.to=Math.max(n,i)}nextInner(e,n){if(n<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;e+=Math.max(0,n<0?this.pos-this.to:this.from-this.pos);let i=n<0?this.pos-this.from:this.to-this.pos;e>i&&(e=i),i-=e;let{value:r}=this.cursor.next(e);return this.pos+=(r.length+e)*n,this.value=r.length<=i?r:n<0?r.slice(r.length-i):r.slice(0,i),this.done=!this.value,this}next(e=0){return e<0?e=Math.max(e,this.from-this.pos):e>0&&(e=Math.min(e,this.to-this.pos)),this.nextInner(e,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&this.value!=""}}class ER{constructor(e){this.inner=e,this.afterBreak=!0,this.value="",this.done=!1}next(e=0){let{done:n,lineBreak:i,value:r}=this.inner.next(e);return n?(this.done=!0,this.value=""):i?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=r,this.afterBreak=!1),this}get lineBreak(){return!1}}typeof Symbol!="undefined"&&(Xt.prototype[Symbol.iterator]=function(){return this.iter()},bu.prototype[Symbol.iterator]=AR.prototype[Symbol.iterator]=ER.prototype[Symbol.iterator]=function(){return this});class Zse{constructor(e,n,i,r){this.from=e,this.to=n,this.number=i,this.text=r}get length(){return this.to-this.from}}let kl="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map(t=>t?parseInt(t,36):1);for(let t=1;tt)return kl[e-1]<=t;return!1}function nS(t){return t>=127462&&t<=127487}const iS=8205;function Ti(t,e,n=!0,i=!0){return(n?XR:jse)(t,e,i)}function XR(t,e,n){if(e==t.length)return e;e&&WR(t.charCodeAt(e))&&zR(t.charCodeAt(e-1))&&e--;let i=Wn(t,e);for(e+=xi(i);e=0&&nS(Wn(t,o));)s++,o-=2;if(s%2==0)break;e+=2}else break}return e}function jse(t,e,n){for(;e>0;){let i=XR(t,e-2,n);if(i=56320&&t<57344}function zR(t){return t>=55296&&t<56320}function Wn(t,e){let n=t.charCodeAt(e);if(!zR(n)||e+1==t.length)return n;let i=t.charCodeAt(e+1);return WR(i)?(n-55296<<10)+(i-56320)+65536:n}function X$(t){return t<=65535?String.fromCharCode(t):(t-=65536,String.fromCharCode((t>>10)+55296,(t&1023)+56320))}function xi(t){return t<65536?1:2}const nv=/\r\n?|\n/;var qn=function(t){return t[t.Simple=0]="Simple",t[t.TrackDel=1]="TrackDel",t[t.TrackBefore=2]="TrackBefore",t[t.TrackAfter=3]="TrackAfter",t}(qn||(qn={}));class jr{constructor(e){this.sections=e}get length(){let e=0;for(let n=0;ne)return s+(e-r);s+=a}else{if(i!=qn.Simple&&c>=e&&(i==qn.TrackDel&&re||i==qn.TrackBefore&&re))return null;if(c>e||c==e&&n<0&&!a)return e==r||n<0?s:s+l;s+=l}r=c}if(e>r)throw new RangeError(`Position ${e} is out of range for changeset of length ${r}`);return s}touchesRange(e,n=e){for(let i=0,r=0;i=0&&r<=n&&a>=e)return rn?"cover":!0;r=a}return!1}toString(){let e="";for(let n=0;n=0?":"+r:"")}return e}toJSON(){return this.sections}static fromJSON(e){if(!Array.isArray(e)||e.length%2||e.some(n=>typeof n!="number"))throw new RangeError("Invalid JSON representation of ChangeDesc");return new jr(e)}static create(e){return new jr(e)}}class yn extends jr{constructor(e,n){super(e),this.inserted=n}apply(e){if(this.length!=e.length)throw new RangeError("Applying change set to a document with the wrong length");return iv(this,(n,i,r,s,o)=>e=e.replace(r,r+(i-n),o),!1),e}mapDesc(e,n=!1){return rv(this,e,n,!0)}invert(e){let n=this.sections.slice(),i=[];for(let r=0,s=0;r=0){n[r]=a,n[r+1]=o;let l=r>>1;for(;i.length0&&lo(i,n,s.text),s.forward(u),a+=u}let c=e[o++];for(;a>1].toJSON()))}return e}static of(e,n,i){let r=[],s=[],o=0,a=null;function l(u=!1){if(!u&&!r.length)return;of||O<0||f>n)throw new RangeError(`Invalid change range ${O} to ${f} (in doc of length ${n})`);let p=h?typeof h=="string"?Xt.of(h.split(i||nv)):h:Xt.empty,y=p.length;if(O==f&&y==0)return;Oo&&Vn(r,O-o,-1),Vn(r,f-O,y),lo(s,r,p),o=f}}return c(e),l(!a),a}static empty(e){return new yn(e?[e,-1]:[],[])}static fromJSON(e){if(!Array.isArray(e))throw new RangeError("Invalid JSON representation of ChangeSet");let n=[],i=[];for(let r=0;ra&&typeof o!="string"))throw new RangeError("Invalid JSON representation of ChangeSet");if(s.length==1)n.push(s[0],0);else{for(;i.length=0&&n<=0&&n==t[r+1]?t[r]+=e:e==0&&t[r]==0?t[r+1]+=n:i?(t[r]+=e,t[r+1]+=n):t.push(e,n)}function lo(t,e,n){if(n.length==0)return;let i=e.length-2>>1;if(i>1])),!(n||o==t.sections.length||t.sections[o+1]<0);)a=t.sections[o++],l=t.sections[o++];e(r,c,s,u,O),r=c,s=u}}}function rv(t,e,n,i=!1){let r=[],s=i?[]:null,o=new Gu(t),a=new Gu(e);for(let l=-1;;)if(o.ins==-1&&a.ins==-1){let c=Math.min(o.len,a.len);Vn(r,c,-1),o.forward(c),a.forward(c)}else if(a.ins>=0&&(o.ins<0||l==o.i||o.off==0&&(a.len=0&&l=0){let c=0,u=o.len;for(;u;)if(a.ins==-1){let O=Math.min(u,a.len);c+=O,u-=O,a.forward(O)}else if(a.ins==0&&a.lenl||o.ins>=0&&o.len>l)&&(a||i.length>c),s.forward2(l),o.forward(l)}}}}class Gu{constructor(e){this.set=e,this.i=0,this.next()}next(){let{sections:e}=this.set;this.i>1;return n>=e.length?Xt.empty:e[n]}textBit(e){let{inserted:n}=this.set,i=this.i-2>>1;return i>=n.length&&!e?Xt.empty:n[i].slice(this.off,e==null?void 0:this.off+e)}forward(e){e==this.len?this.next():(this.len-=e,this.off+=e)}forward2(e){this.ins==-1?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}}class da{constructor(e,n,i){this.from=e,this.to=n,this.flags=i}get anchor(){return this.flags&16?this.to:this.from}get head(){return this.flags&16?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return this.flags&4?-1:this.flags&8?1:0}get bidiLevel(){let e=this.flags&3;return e==3?null:e}get goalColumn(){let e=this.flags>>5;return e==33554431?void 0:e}map(e,n=-1){let i,r;return this.empty?i=r=e.mapPos(this.from,n):(i=e.mapPos(this.from,1),r=e.mapPos(this.to,-1)),i==this.from&&r==this.to?this:new da(i,r,this.flags)}extend(e,n=e){if(e<=this.anchor&&n>=this.anchor)return we.range(e,n);let i=Math.abs(e-this.anchor)>Math.abs(n-this.anchor)?e:n;return we.range(this.anchor,i)}eq(e){return this.anchor==e.anchor&&this.head==e.head}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(e){if(!e||typeof e.anchor!="number"||typeof e.head!="number")throw new RangeError("Invalid JSON representation for SelectionRange");return we.range(e.anchor,e.head)}static create(e,n,i){return new da(e,n,i)}}class we{constructor(e,n){this.ranges=e,this.mainIndex=n}map(e,n=-1){return e.empty?this:we.create(this.ranges.map(i=>i.map(e,n)),this.mainIndex)}eq(e){if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1;for(let n=0;ne.toJSON()),main:this.mainIndex}}static fromJSON(e){if(!e||!Array.isArray(e.ranges)||typeof e.main!="number"||e.main>=e.ranges.length)throw new RangeError("Invalid JSON representation for EditorSelection");return new we(e.ranges.map(n=>da.fromJSON(n)),e.main)}static single(e,n=e){return new we([we.range(e,n)],0)}static create(e,n=0){if(e.length==0)throw new RangeError("A selection needs at least one range");for(let i=0,r=0;re?4:0))}static normalized(e,n=0){let i=e[n];e.sort((r,s)=>r.from-s.from),n=e.indexOf(i);for(let r=1;rs.head?we.range(l,a):we.range(a,l))}}return new we(e,n)}}function qR(t,e){for(let n of t.ranges)if(n.to>e)throw new RangeError("Selection points outside of document")}let W$=0;class Ge{constructor(e,n,i,r,s){this.combine=e,this.compareInput=n,this.compare=i,this.isStatic=r,this.id=W$++,this.default=e([]),this.extensions=typeof s=="function"?s(this):s}static define(e={}){return new Ge(e.combine||(n=>n),e.compareInput||((n,i)=>n===i),e.compare||(e.combine?(n,i)=>n===i:z$),!!e.static,e.enables)}of(e){return new Sh([],this,0,e)}compute(e,n){if(this.isStatic)throw new Error("Can't compute a static facet");return new Sh(e,this,1,n)}computeN(e,n){if(this.isStatic)throw new Error("Can't compute a static facet");return new Sh(e,this,2,n)}from(e,n){return n||(n=i=>i),this.compute([e],i=>n(i.field(e)))}}function z$(t,e){return t==e||t.length==e.length&&t.every((n,i)=>n===e[i])}class Sh{constructor(e,n,i,r){this.dependencies=e,this.facet=n,this.type=i,this.value=r,this.id=W$++}dynamicSlot(e){var n;let i=this.value,r=this.facet.compareInput,s=this.id,o=e[s]>>1,a=this.type==2,l=!1,c=!1,u=[];for(let O of this.dependencies)O=="doc"?l=!0:O=="selection"?c=!0:(((n=e[O.id])!==null&&n!==void 0?n:1)&1)==0&&u.push(e[O.id]);return{create(O){return O.values[o]=i(O),1},update(O,f){if(l&&f.docChanged||c&&(f.docChanged||f.selection)||sv(O,u)){let h=i(O);if(a?!rS(h,O.values[o],r):!r(h,O.values[o]))return O.values[o]=h,1}return 0},reconfigure:(O,f)=>{let h=i(O),p=f.config.address[s];if(p!=null){let y=sd(f,p);if(this.dependencies.every($=>$ instanceof Ge?f.facet($)===O.facet($):$ instanceof An?f.field($,!1)==O.field($,!1):!0)||(a?rS(h,y,r):r(h,y)))return O.values[o]=y,0}return O.values[o]=h,1}}}}function rS(t,e,n){if(t.length!=e.length)return!1;for(let i=0;it[l.id]),r=n.map(l=>l.type),s=i.filter(l=>!(l&1)),o=t[e.id]>>1;function a(l){let c=[];for(let u=0;ui===r),e);return e.provide&&(n.provides=e.provide(n)),n}create(e){let n=e.facet(sS).find(i=>i.field==this);return((n==null?void 0:n.create)||this.createF)(e)}slot(e){let n=e[this.id]>>1;return{create:i=>(i.values[n]=this.create(i),1),update:(i,r)=>{let s=i.values[n],o=this.updateF(s,r);return this.compareF(s,o)?0:(i.values[n]=o,1)},reconfigure:(i,r)=>r.config.address[this.id]!=null?(i.values[n]=r.field(this),0):(i.values[n]=this.create(i),1)}}init(e){return[this,sS.of({field:this,create:e})]}get extension(){return this}}const vl={lowest:4,low:3,default:2,high:1,highest:0};function Ic(t){return e=>new UR(e,t)}const qo={highest:Ic(vl.highest),high:Ic(vl.high),default:Ic(vl.default),low:Ic(vl.low),lowest:Ic(vl.lowest)};class UR{constructor(e,n){this.inner=e,this.prec=n}}class xf{of(e){return new ov(this,e)}reconfigure(e){return xf.reconfigure.of({compartment:this,extension:e})}get(e){return e.config.compartments.get(this)}}class ov{constructor(e,n){this.compartment=e,this.inner=n}}class rd{constructor(e,n,i,r,s,o){for(this.base=e,this.compartments=n,this.dynamicSlots=i,this.address=r,this.staticValues=s,this.facets=o,this.statusTemplate=[];this.statusTemplate.length>1]}static resolve(e,n,i){let r=[],s=Object.create(null),o=new Map;for(let f of Fse(e,n,o))f instanceof An?r.push(f):(s[f.facet.id]||(s[f.facet.id]=[])).push(f);let a=Object.create(null),l=[],c=[];for(let f of r)a[f.id]=c.length<<1,c.push(h=>f.slot(h));let u=i==null?void 0:i.config.facets;for(let f in s){let h=s[f],p=h[0].facet,y=u&&u[f]||[];if(h.every($=>$.type==0))if(a[p.id]=l.length<<1|1,z$(y,h))l.push(i.facet(p));else{let $=p.combine(h.map(m=>m.value));l.push(i&&p.compare($,i.facet(p))?i.facet(p):$)}else{for(let $ of h)$.type==0?(a[$.id]=l.length<<1|1,l.push($.value)):(a[$.id]=c.length<<1,c.push(m=>$.dynamicSlot(m)));a[p.id]=c.length<<1,c.push($=>Nse($,p,h))}}let O=c.map(f=>f(a));return new rd(e,o,O,a,l,s)}}function Fse(t,e,n){let i=[[],[],[],[],[]],r=new Map;function s(o,a){let l=r.get(o);if(l!=null){if(l<=a)return;let c=i[l].indexOf(o);c>-1&&i[l].splice(c,1),o instanceof ov&&n.delete(o.compartment)}if(r.set(o,a),Array.isArray(o))for(let c of o)s(c,a);else if(o instanceof ov){if(n.has(o.compartment))throw new RangeError("Duplicate use of compartment in extensions");let c=e.get(o.compartment)||o.inner;n.set(o.compartment,c),s(c,a)}else if(o instanceof UR)s(o.inner,o.prec);else if(o instanceof An)i[a].push(o),o.provides&&s(o.provides,a);else if(o instanceof Sh)i[a].push(o),o.facet.extensions&&s(o.facet.extensions,a);else{let c=o.extension;if(!c)throw new Error(`Unrecognized extension value in extension set (${o}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);s(c,a)}}return s(t,vl.default),i.reduce((o,a)=>o.concat(a))}function _u(t,e){if(e&1)return 2;let n=e>>1,i=t.status[n];if(i==4)throw new Error("Cyclic dependency between fields and/or facets");if(i&2)return i;t.status[n]=4;let r=t.computeSlot(t,t.config.dynamicSlots[n]);return t.status[n]=2|r}function sd(t,e){return e&1?t.config.staticValues[e>>1]:t.values[e>>1]}const DR=Ge.define(),LR=Ge.define({combine:t=>t.some(e=>e),static:!0}),BR=Ge.define({combine:t=>t.length?t[0]:void 0,static:!0}),MR=Ge.define(),YR=Ge.define(),ZR=Ge.define(),VR=Ge.define({combine:t=>t.length?t[0]:!1});class Za{constructor(e,n){this.type=e,this.value=n}static define(){return new Gse}}class Gse{of(e){return new Za(this,e)}}class Hse{constructor(e){this.map=e}of(e){return new ut(this,e)}}class ut{constructor(e,n){this.type=e,this.value=n}map(e){let n=this.type.map(this.value,e);return n===void 0?void 0:n==this.value?this:new ut(this.type,n)}is(e){return this.type==e}static define(e={}){return new Hse(e.map||(n=>n))}static mapEffects(e,n){if(!e.length)return e;let i=[];for(let r of e){let s=r.map(n);s&&i.push(s)}return i}}ut.reconfigure=ut.define();ut.appendConfig=ut.define();class $n{constructor(e,n,i,r,s,o){this.startState=e,this.changes=n,this.selection=i,this.effects=r,this.annotations=s,this.scrollIntoView=o,this._doc=null,this._state=null,i&&qR(i,n.newLength),s.some(a=>a.type==$n.time)||(this.annotations=s.concat($n.time.of(Date.now())))}static create(e,n,i,r,s,o){return new $n(e,n,i,r,s,o)}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(e){for(let n of this.annotations)if(n.type==e)return n.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(e){let n=this.annotation($n.userEvent);return!!(n&&(n==e||n.length>e.length&&n.slice(0,e.length)==e&&n[e.length]=="."))}}$n.time=Za.define();$n.userEvent=Za.define();$n.addToHistory=Za.define();$n.remote=Za.define();function Kse(t,e){let n=[];for(let i=0,r=0;;){let s,o;if(i=t[i]))s=t[i++],o=t[i++];else if(r=0;r--){let s=i[r](t);s instanceof $n?t=s:Array.isArray(s)&&s.length==1&&s[0]instanceof $n?t=s[0]:t=NR(e,Cl(s),!1)}return t}function eoe(t){let e=t.startState,n=e.facet(ZR),i=t;for(let r=n.length-1;r>=0;r--){let s=n[r](t);s&&Object.keys(s).length&&(i=jR(t,av(e,s,t.changes.newLength),!0))}return i==t?t:$n.create(e,t.changes,t.selection,i.effects,i.annotations,i.scrollIntoView)}const toe=[];function Cl(t){return t==null?toe:Array.isArray(t)?t:[t]}var ti=function(t){return t[t.Word=0]="Word",t[t.Space=1]="Space",t[t.Other=2]="Other",t}(ti||(ti={}));const noe=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let lv;try{lv=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch{}function ioe(t){if(lv)return lv.test(t);for(let e=0;e"\x80"&&(n.toUpperCase()!=n.toLowerCase()||noe.test(n)))return!0}return!1}function roe(t){return e=>{if(!/\S/.test(e))return ti.Space;if(ioe(e))return ti.Word;for(let n=0;n-1)return ti.Word;return ti.Other}}class St{constructor(e,n,i,r,s,o){this.config=e,this.doc=n,this.selection=i,this.values=r,this.status=e.statusTemplate.slice(),this.computeSlot=s,o&&(o._state=this);for(let a=0;ar.set(l,a)),n=null),r.set(o.value.compartment,o.value.extension)):o.is(ut.reconfigure)?(n=null,i=o.value):o.is(ut.appendConfig)&&(n=null,i=Cl(i).concat(o.value));let s;n?s=e.startState.values.slice():(n=rd.resolve(i,r,this),s=new St(n,this.doc,this.selection,n.dynamicSlots.map(()=>null),(a,l)=>l.reconfigure(a,this),null).values),new St(n,e.newDoc,e.newSelection,s,(o,a)=>a.update(o,e),e)}replaceSelection(e){return typeof e=="string"&&(e=this.toText(e)),this.changeByRange(n=>({changes:{from:n.from,to:n.to,insert:e},range:we.cursor(n.from+e.length)}))}changeByRange(e){let n=this.selection,i=e(n.ranges[0]),r=this.changes(i.changes),s=[i.range],o=Cl(i.effects);for(let a=1;ao.spec.fromJSON(a,l)))}}return St.create({doc:e.doc,selection:we.fromJSON(e.selection),extensions:n.extensions?r.concat([n.extensions]):r})}static create(e={}){let n=rd.resolve(e.extensions||[],new Map),i=e.doc instanceof Xt?e.doc:Xt.of((e.doc||"").split(n.staticFacet(St.lineSeparator)||nv)),r=e.selection?e.selection instanceof we?e.selection:we.single(e.selection.anchor,e.selection.head):we.single(0);return qR(r,i.length),n.staticFacet(LR)||(r=r.asSingle()),new St(n,i,r,n.dynamicSlots.map(()=>null),(s,o)=>o.create(s),null)}get tabSize(){return this.facet(St.tabSize)}get lineBreak(){return this.facet(St.lineSeparator)||` +`}get readOnly(){return this.facet(VR)}phrase(e,...n){for(let i of this.facet(St.phrases))if(Object.prototype.hasOwnProperty.call(i,e)){e=i[e];break}return n.length&&(e=e.replace(/\$(\$|\d*)/g,(i,r)=>{if(r=="$")return"$";let s=+(r||1);return!s||s>n.length?i:n[s-1]})),e}languageDataAt(e,n,i=-1){let r=[];for(let s of this.facet(DR))for(let o of s(this,n,i))Object.prototype.hasOwnProperty.call(o,e)&&r.push(o[e]);return r}charCategorizer(e){return roe(this.languageDataAt("wordChars",e).join(""))}wordAt(e){let{text:n,from:i,length:r}=this.doc.lineAt(e),s=this.charCategorizer(e),o=e-i,a=e-i;for(;o>0;){let l=Ti(n,o,!1);if(s(n.slice(l,o))!=ti.Word)break;o=l}for(;at.length?t[0]:4});St.lineSeparator=BR;St.readOnly=VR;St.phrases=Ge.define({compare(t,e){let n=Object.keys(t),i=Object.keys(e);return n.length==i.length&&n.every(r=>t[r]==e[r])}});St.languageData=DR;St.changeFilter=MR;St.transactionFilter=YR;St.transactionExtender=ZR;xf.reconfigure=ut.define();function As(t,e,n={}){let i={};for(let r of t)for(let s of Object.keys(r)){let o=r[s],a=i[s];if(a===void 0)i[s]=o;else if(!(a===o||o===void 0))if(Object.hasOwnProperty.call(n,s))i[s]=n[s](a,o);else throw new Error("Config merge conflict for field "+s)}for(let r in e)i[r]===void 0&&(i[r]=e[r]);return i}class Pa{eq(e){return this==e}range(e,n=e){return Hu.create(e,n,this)}}Pa.prototype.startSide=Pa.prototype.endSide=0;Pa.prototype.point=!1;Pa.prototype.mapMode=qn.TrackDel;class Hu{constructor(e,n,i){this.from=e,this.to=n,this.value=i}static create(e,n,i){return new Hu(e,n,i)}}function cv(t,e){return t.from-e.from||t.value.startSide-e.value.startSide}class I${constructor(e,n,i,r){this.from=e,this.to=n,this.value=i,this.maxPoint=r}get length(){return this.to[this.to.length-1]}findIndex(e,n,i,r=0){let s=i?this.to:this.from;for(let o=r,a=s.length;;){if(o==a)return o;let l=o+a>>1,c=s[l]-e||(i?this.value[l].endSide:this.value[l].startSide)-n;if(l==o)return c>=0?o:a;c>=0?a=l:o=l+1}}between(e,n,i,r){for(let s=this.findIndex(n,-1e9,!0),o=this.findIndex(i,1e9,!1,s);sh||f==h&&c.startSide>0&&c.endSide<=0)continue;(h-f||c.endSide-c.startSide)<0||(o<0&&(o=f),c.point&&(a=Math.max(a,h-f)),i.push(c),r.push(f-o),s.push(h-o))}return{mapped:i.length?new I$(r,s,i,a):null,pos:o}}}class zt{constructor(e,n,i,r){this.chunkPos=e,this.chunk=n,this.nextLayer=i,this.maxPoint=r}static create(e,n,i,r){return new zt(e,n,i,r)}get length(){let e=this.chunk.length-1;return e<0?0:Math.max(this.chunkEnd(e),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let e=this.nextLayer.size;for(let n of this.chunk)e+=n.value.length;return e}chunkEnd(e){return this.chunkPos[e]+this.chunk[e].length}update(e){let{add:n=[],sort:i=!1,filterFrom:r=0,filterTo:s=this.length}=e,o=e.filter;if(n.length==0&&!o)return this;if(i&&(n=n.slice().sort(cv)),this.isEmpty)return n.length?zt.of(n):this;let a=new FR(this,null,-1).goto(0),l=0,c=[],u=new xo;for(;a.value||l=0){let O=n[l++];u.addInner(O.from,O.to,O.value)||c.push(O)}else a.rangeIndex==1&&a.chunkIndexthis.chunkEnd(a.chunkIndex)||sa.to||s=s&&e<=s+o.length&&o.between(s,e-s,n-s,i)===!1)return}this.nextLayer.between(e,n,i)}}iter(e=0){return Ku.from([this]).goto(e)}get isEmpty(){return this.nextLayer==this}static iter(e,n=0){return Ku.from(e).goto(n)}static compare(e,n,i,r,s=-1){let o=e.filter(O=>O.maxPoint>0||!O.isEmpty&&O.maxPoint>=s),a=n.filter(O=>O.maxPoint>0||!O.isEmpty&&O.maxPoint>=s),l=oS(o,a,i),c=new qc(o,l,s),u=new qc(a,l,s);i.iterGaps((O,f,h)=>aS(c,O,u,f,h,r)),i.empty&&i.length==0&&aS(c,0,u,0,0,r)}static eq(e,n,i=0,r){r==null&&(r=1e9);let s=e.filter(u=>!u.isEmpty&&n.indexOf(u)<0),o=n.filter(u=>!u.isEmpty&&e.indexOf(u)<0);if(s.length!=o.length)return!1;if(!s.length)return!0;let a=oS(s,o),l=new qc(s,a,0).goto(i),c=new qc(o,a,0).goto(i);for(;;){if(l.to!=c.to||!uv(l.active,c.active)||l.point&&(!c.point||!l.point.eq(c.point)))return!1;if(l.to>r)return!0;l.next(),c.next()}}static spans(e,n,i,r,s=-1){let o=new qc(e,null,s).goto(n),a=n,l=o.openStart;for(;;){let c=Math.min(o.to,i);if(o.point?(r.point(a,c,o.point,o.activeForPoint(o.to),l,o.pointRank),l=o.openEnd(c)+(o.to>c?1:0)):c>a&&(r.span(a,c,o.active,l),l=o.openEnd(c)),o.to>i)break;a=o.to,o.next()}return l}static of(e,n=!1){let i=new xo;for(let r of e instanceof Hu?[e]:n?soe(e):e)i.add(r.from,r.to,r.value);return i.finish()}}zt.empty=new zt([],[],null,-1);function soe(t){if(t.length>1)for(let e=t[0],n=1;n0)return t.slice().sort(cv);e=i}return t}zt.empty.nextLayer=zt.empty;class xo{constructor(){this.chunks=[],this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,this.lastTo=-1e9,this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,this.nextLayer=null}finishChunk(e){this.chunks.push(new I$(this.from,this.to,this.value,this.maxPoint)),this.chunkPos.push(this.chunkStart),this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),this.maxPoint=-1,e&&(this.from=[],this.to=[],this.value=[])}add(e,n,i){this.addInner(e,n,i)||(this.nextLayer||(this.nextLayer=new xo)).add(e,n,i)}addInner(e,n,i){let r=e-this.lastTo||i.startSide-this.last.endSide;if(r<=0&&(e-this.lastFrom||i.startSide-this.last.startSide)<0)throw new Error("Ranges must be added sorted by `from` position and `startSide`");return r<0?!1:(this.from.length==250&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=e),this.from.push(e-this.chunkStart),this.to.push(n-this.chunkStart),this.last=i,this.lastFrom=e,this.lastTo=n,this.value.push(i),i.point&&(this.maxPoint=Math.max(this.maxPoint,n-e)),!0)}addChunk(e,n){if((e-this.lastTo||n.value[0].startSide-this.last.endSide)<0)return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,n.maxPoint),this.chunks.push(n),this.chunkPos.push(e);let i=n.value.length-1;return this.last=n.value[i],this.lastFrom=n.from[i]+e,this.lastTo=n.to[i]+e,!0}finish(){return this.finishInner(zt.empty)}finishInner(e){if(this.from.length&&this.finishChunk(!1),this.chunks.length==0)return e;let n=zt.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,n}}function oS(t,e,n){let i=new Map;for(let s of t)for(let o=0;o=this.minPoint)break}}setRangeIndex(e){if(e==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex=i&&r.push(new FR(o,n,i,s));return r.length==1?r[0]:new Ku(r)}get startSide(){return this.value?this.value.startSide:0}goto(e,n=-1e9){for(let i of this.heap)i.goto(e,n);for(let i=this.heap.length>>1;i>=0;i--)N0(this.heap,i);return this.next(),this}forward(e,n){for(let i of this.heap)i.forward(e,n);for(let i=this.heap.length>>1;i>=0;i--)N0(this.heap,i);(this.to-e||this.value.endSide-n)<0&&this.next()}next(){if(this.heap.length==0)this.from=this.to=1e9,this.value=null,this.rank=-1;else{let e=this.heap[0];this.from=e.from,this.to=e.to,this.value=e.value,this.rank=e.rank,e.value&&e.next(),N0(this.heap,0)}}}function N0(t,e){for(let n=t[e];;){let i=(e<<1)+1;if(i>=t.length)break;let r=t[i];if(i+1=0&&(r=t[i+1],i++),n.compare(r)<0)break;t[i]=n,t[e]=r,e=i}}class qc{constructor(e,n,i){this.minPoint=i,this.active=[],this.activeTo=[],this.activeRank=[],this.minActive=-1,this.point=null,this.pointFrom=0,this.pointRank=0,this.to=-1e9,this.endSide=0,this.openStart=-1,this.cursor=Ku.from(e,n,i)}goto(e,n=-1e9){return this.cursor.goto(e,n),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=e,this.endSide=n,this.openStart=-1,this.next(),this}forward(e,n){for(;this.minActive>-1&&(this.activeTo[this.minActive]-e||this.active[this.minActive].endSide-n)<0;)this.removeActive(this.minActive);this.cursor.forward(e,n)}removeActive(e){EO(this.active,e),EO(this.activeTo,e),EO(this.activeRank,e),this.minActive=lS(this.active,this.activeTo)}addActive(e){let n=0,{value:i,to:r,rank:s}=this.cursor;for(;n-1&&(this.activeTo[s]-this.cursor.from||this.active[s].endSide-this.cursor.startSide)<0){if(this.activeTo[s]>e){this.to=this.activeTo[s],this.endSide=this.active[s].endSide;break}this.removeActive(s),i&&EO(i,s)}else if(this.cursor.value)if(this.cursor.from>e){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}else{let o=this.cursor.value;if(!o.point)this.addActive(i),this.cursor.next();else if(n&&this.cursor.to==this.to&&this.cursor.from=0&&!(this.activeRank[i]e||this.activeTo[i]==e&&this.active[i].endSide>=this.point.endSide)&&n.push(this.active[i]);return n.reverse()}openEnd(e){let n=0;for(let i=this.activeTo.length-1;i>=0&&this.activeTo[i]>e;i--)n++;return n}}function aS(t,e,n,i,r,s){t.goto(e),n.goto(i);let o=i+r,a=i,l=i-e;for(;;){let c=t.to+l-n.to||t.endSide-n.endSide,u=c<0?t.to+l:n.to,O=Math.min(u,o);if(t.point||n.point?t.point&&n.point&&(t.point==n.point||t.point.eq(n.point))&&uv(t.activeForPoint(t.to+l),n.activeForPoint(n.to))||s.comparePoint(a,O,t.point,n.point):O>a&&!uv(t.active,n.active)&&s.compareRange(a,O,t.active,n.active),u>o)break;a=u,c<=0&&t.next(),c>=0&&n.next()}}function uv(t,e){if(t.length!=e.length)return!1;for(let n=0;n=e;i--)t[i+1]=t[i];t[e]=n}function lS(t,e){let n=-1,i=1e9;for(let r=0;r=e)return r;if(r==t.length)break;s+=t.charCodeAt(r)==9?n-s%n:1,r=Ti(t,r)}return i===!0?-1:t.length}const Ov="\u037C",cS=typeof Symbol=="undefined"?"__"+Ov:Symbol.for(Ov),hv=typeof Symbol=="undefined"?"__styleSet"+Math.floor(Math.random()*1e8):Symbol("styleSet"),uS=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:{};class Po{constructor(e,n){this.rules=[];let{finish:i}=n||{};function r(o){return/^@/.test(o)?[o]:o.split(/,\s*/)}function s(o,a,l,c){let u=[],O=/^@(\w+)\b/.exec(o[0]),f=O&&O[1]=="keyframes";if(O&&a==null)return l.push(o[0]+";");for(let h in a){let p=a[h];if(/&/.test(h))s(h.split(/,\s*/).map(y=>o.map($=>y.replace(/&/,$))).reduce((y,$)=>y.concat($)),p,l);else if(p&&typeof p=="object"){if(!O)throw new RangeError("The value of a property ("+h+") should be a primitive value.");s(r(h),p,u,f)}else p!=null&&u.push(h.replace(/_.*/,"").replace(/[A-Z]/g,y=>"-"+y.toLowerCase())+": "+p+";")}(u.length||f)&&l.push((i&&!O&&!c?o.map(i):o).join(", ")+" {"+u.join(" ")+"}")}for(let o in e)s(r(o),e[o],this.rules)}getRules(){return this.rules.join(` +`)}static newName(){let e=uS[cS]||1;return uS[cS]=e+1,Ov+e.toString(36)}static mount(e,n){(e[hv]||new ooe(e)).mount(Array.isArray(n)?n:[n])}}let WO=null;class ooe{constructor(e){if(!e.head&&e.adoptedStyleSheets&&typeof CSSStyleSheet!="undefined"){if(WO)return e.adoptedStyleSheets=[WO.sheet].concat(e.adoptedStyleSheets),e[hv]=WO;this.sheet=new CSSStyleSheet,e.adoptedStyleSheets=[this.sheet].concat(e.adoptedStyleSheets),WO=this}else{this.styleTag=(e.ownerDocument||e).createElement("style");let n=e.head||e;n.insertBefore(this.styleTag,n.firstChild)}this.modules=[],e[hv]=this}mount(e){let n=this.sheet,i=0,r=0;for(let s=0;s-1&&(this.modules.splice(a,1),r--,a=-1),a==-1){if(this.modules.splice(r++,0,o),n)for(let l=0;l",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"',229:"Q"},fS=typeof navigator!="undefined"&&/Chrome\/(\d+)/.exec(navigator.userAgent),aoe=typeof navigator!="undefined"&&/Apple Computer/.test(navigator.vendor),loe=typeof navigator!="undefined"&&/Gecko\/\d+/.test(navigator.userAgent),OS=typeof navigator!="undefined"&&/Mac/.test(navigator.platform),coe=typeof navigator!="undefined"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),uoe=fS&&(OS||+fS[1]<57)||loe&&OS;for(var zn=0;zn<10;zn++)ko[48+zn]=ko[96+zn]=String(zn);for(var zn=1;zn<=24;zn++)ko[zn+111]="F"+zn;for(var zn=65;zn<=90;zn++)ko[zn]=String.fromCharCode(zn+32),Kl[zn]=String.fromCharCode(zn);for(var F0 in ko)Kl.hasOwnProperty(F0)||(Kl[F0]=ko[F0]);function foe(t){var e=uoe&&(t.ctrlKey||t.altKey||t.metaKey)||(aoe||coe)&&t.shiftKey&&t.key&&t.key.length==1,n=!e&&t.key||(t.shiftKey?Kl:ko)[t.keyCode]||t.key||"Unidentified";return n=="Esc"&&(n="Escape"),n=="Del"&&(n="Delete"),n=="Left"&&(n="ArrowLeft"),n=="Up"&&(n="ArrowUp"),n=="Right"&&(n="ArrowRight"),n=="Down"&&(n="ArrowDown"),n}function od(t){let e;return t.nodeType==11?e=t.getSelection?t:t.ownerDocument:e=t,e.getSelection()}function Jl(t,e){return e?t==e||t.contains(e.nodeType!=1?e.parentNode:e):!1}function Ooe(){let t=document.activeElement;for(;t&&t.shadowRoot;)t=t.shadowRoot.activeElement;return t}function dv(t,e){if(!e.anchorNode)return!1;try{return Jl(t,e.anchorNode)}catch{return!1}}function Ju(t){return t.nodeType==3?ec(t,0,t.nodeValue.length).getClientRects():t.nodeType==1?t.getClientRects():[]}function ad(t,e,n,i){return n?hS(t,e,n,i,-1)||hS(t,e,n,i,1):!1}function pv(t){for(var e=0;;e++)if(t=t.previousSibling,!t)return e}function hS(t,e,n,i,r){for(;;){if(t==n&&e==i)return!0;if(e==(r<0?0:ld(t))){if(t.nodeName=="DIV")return!1;let s=t.parentNode;if(!s||s.nodeType!=1)return!1;e=pv(t)+(r<0?0:1),t=s}else if(t.nodeType==1){if(t=t.childNodes[e+(r<0?-1:0)],t.nodeType==1&&t.contentEditable=="false")return!1;e=r<0?ld(t):0}else return!1}}function ld(t){return t.nodeType==3?t.nodeValue.length:t.childNodes.length}const GR={left:0,right:0,top:0,bottom:0};function Sp(t,e){let n=e?t.left:t.right;return{left:n,right:n,top:t.top,bottom:t.bottom}}function hoe(t){return{left:0,right:t.innerWidth,top:0,bottom:t.innerHeight}}function doe(t,e,n,i,r,s,o,a){let l=t.ownerDocument,c=l.defaultView;for(let u=t;u;)if(u.nodeType==1){let O,f=u==l.body;if(f)O=hoe(c);else{if(u.scrollHeight<=u.clientHeight&&u.scrollWidth<=u.clientWidth){u=u.parentNode;continue}let y=u.getBoundingClientRect();O={left:y.left,right:y.left+u.clientWidth,top:y.top,bottom:y.top+u.clientHeight}}let h=0,p=0;if(r=="nearest")e.top0&&e.bottom>O.bottom+p&&(p=e.bottom-O.bottom+p+o)):e.bottom>O.bottom&&(p=e.bottom-O.bottom+o,n<0&&e.top-p0&&e.right>O.right+h&&(h=e.right-O.right+h+s)):e.right>O.right&&(h=e.right-O.right+s,n<0&&e.leftn)return O.domBoundsAround(e,n,c);if(f>=e&&r==-1&&(r=l,s=c),c>n&&O.dom.parentNode==this.dom){o=l,a=u;break}u=f,c=f+O.breakAfter}return{from:s,to:a<0?i+this.length:a,startDOM:(r?this.children[r-1].dom.nextSibling:null)||this.dom.firstChild,endDOM:o=0?this.children[o].dom:null}}markDirty(e=!1){this.dirty|=2,this.markParentsDirty(e)}markParentsDirty(e){for(let n=this.parent;n;n=n.parent){if(e&&(n.dirty|=2),n.dirty&1)return;n.dirty|=1,e=!1}}setParent(e){this.parent!=e&&(this.parent=e,this.dirty&&this.markParentsDirty(!0))}setDOM(e){this.dom&&(this.dom.cmView=null),this.dom=e,e.cmView=this}get rootView(){for(let e=this;;){let n=e.parent;if(!n)return e;e=n}}replaceChildren(e,n,i=q$){this.markDirty();for(let r=e;rthis.pos||e==this.pos&&(n>0||this.i==0||this.children[this.i-1].breakAfter))return this.off=e-this.pos,this;let i=this.children[--this.i];this.pos-=i.length+i.breakAfter}}}function e5(t,e,n,i,r,s,o,a,l){let{children:c}=t,u=c.length?c[e]:null,O=s.length?s[s.length-1]:null,f=O?O.breakAfter:o;if(!(e==i&&u&&!o&&!f&&s.length<2&&u.merge(n,r,s.length?O:null,n==0,a,l))){if(i0&&(!o&&s.length&&u.merge(n,u.length,s[0],!1,a,0)?u.breakAfter=s.shift().breakAfter:(n2);var He={mac:vS||/Mac/.test(ki.platform),windows:/Win/.test(ki.platform),linux:/Linux|X11/.test(ki.platform),ie:wp,ie_version:n5?mv.documentMode||6:vv?+vv[1]:gv?+gv[1]:0,gecko:mS,gecko_version:mS?+(/Firefox\/(\d+)/.exec(ki.userAgent)||[0,0])[1]:0,chrome:!!G0,chrome_version:G0?+G0[1]:0,ios:vS,android:/Android\b/.test(ki.userAgent),webkit:gS,safari:i5,webkit_version:gS?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0,tabSize:mv.documentElement.style.tabSize!=null?"tab-size":"-moz-tab-size"};const goe=256;class Co extends tn{constructor(e){super(),this.text=e}get length(){return this.text.length}createDOM(e){this.setDOM(e||document.createTextNode(this.text))}sync(e){this.dom||this.createDOM(),this.dom.nodeValue!=this.text&&(e&&e.node==this.dom&&(e.written=!0),this.dom.nodeValue=this.text)}reuseDOM(e){e.nodeType==3&&this.createDOM(e)}merge(e,n,i){return i&&(!(i instanceof Co)||this.length-(n-e)+i.length>goe)?!1:(this.text=this.text.slice(0,e)+(i?i.text:"")+this.text.slice(n),this.markDirty(),!0)}split(e){let n=new Co(this.text.slice(e));return this.text=this.text.slice(0,e),this.markDirty(),n}localPosFromDOM(e,n){return e==this.dom?n:n?this.text.length:0}domAtPos(e){return new Un(this.dom,e)}domBoundsAround(e,n,i){return{from:i,to:i+this.length,startDOM:this.dom,endDOM:this.dom.nextSibling}}coordsAt(e,n){return yv(this.dom,e,n)}}class Jr extends tn{constructor(e,n=[],i=0){super(),this.mark=e,this.children=n,this.length=i;for(let r of n)r.setParent(this)}setAttrs(e){if(KR(e),this.mark.class&&(e.className=this.mark.class),this.mark.attrs)for(let n in this.mark.attrs)e.setAttribute(n,this.mark.attrs[n]);return e}reuseDOM(e){e.nodeName==this.mark.tagName.toUpperCase()&&(this.setDOM(e),this.dirty|=6)}sync(e){this.dom?this.dirty&4&&this.setAttrs(this.dom):this.setDOM(this.setAttrs(document.createElement(this.mark.tagName))),super.sync(e)}merge(e,n,i,r,s,o){return i&&(!(i instanceof Jr&&i.mark.eq(this.mark))||e&&s<=0||ne&&n.push(i=e&&(r=s),i=l,s++}let o=this.length-e;return this.length=e,r>-1&&(this.children.length=r,this.markDirty()),new Jr(this.mark,n,o)}domAtPos(e){return o5(this.dom,this.children,e)}coordsAt(e,n){return l5(this,e,n)}}function yv(t,e,n){let i=t.nodeValue.length;e>i&&(e=i);let r=e,s=e,o=0;e==0&&n<0||e==i&&n>=0?He.chrome||He.gecko||(e?(r--,o=1):s=0)?0:a.length-1];return He.safari&&!o&&l.width==0&&(l=Array.prototype.find.call(a,c=>c.width)||l),o?Sp(l,o<0):l||null}class co extends tn{constructor(e,n,i){super(),this.widget=e,this.length=n,this.side=i,this.prevWidget=null}static create(e,n,i){return new(e.customView||co)(e,n,i)}split(e){let n=co.create(this.widget,this.length-e,this.side);return this.length-=e,n}sync(){(!this.dom||!this.widget.updateDOM(this.dom))&&(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),this.prevWidget=null,this.setDOM(this.widget.toDOM(this.editorView)),this.dom.contentEditable="false")}getSide(){return this.side}merge(e,n,i,r,s,o){return i&&(!(i instanceof co)||!this.widget.compare(i.widget)||e>0&&s<=0||n0?i.length-1:0;r=i[s],!(e>0?s==0:s==i.length-1||r.top0?-1:1);return e==0&&n>0||e==this.length&&n<=0?r:Sp(r,e==0)}get isEditable(){return!1}destroy(){super.destroy(),this.dom&&this.widget.destroy(this.dom)}}class r5 extends co{domAtPos(e){let{topView:n,text:i}=this.widget;return n?$v(e,0,n,i,(r,s)=>r.domAtPos(s),r=>new Un(i,Math.min(r,i.nodeValue.length))):new Un(i,Math.min(e,i.nodeValue.length))}sync(){this.setDOM(this.widget.toDOM())}localPosFromDOM(e,n){let{topView:i,text:r}=this.widget;return i?s5(e,n,i,r):Math.min(n,this.length)}ignoreMutation(){return!1}get overrideDOMText(){return null}coordsAt(e,n){let{topView:i,text:r}=this.widget;return i?$v(e,n,i,r,(s,o,a)=>s.coordsAt(o,a),(s,o)=>yv(r,s,o)):yv(r,e,n)}destroy(){var e;super.destroy(),(e=this.widget.topView)===null||e===void 0||e.destroy()}get isEditable(){return!0}}function $v(t,e,n,i,r,s){if(n instanceof Jr){for(let o of n.children){let a=Jl(o.dom,i),l=a?i.nodeValue.length:o.length;if(t0?-1:1);return i&&i.topn.top?{left:n.left,right:n.right,top:i.top,bottom:i.bottom}:n}get overrideDOMText(){return Xt.empty}}Co.prototype.children=co.prototype.children=tc.prototype.children=q$;function voe(t,e){let n=t.parent,i=n?n.children.indexOf(t):-1;for(;n&&i>=0;)if(e<0?i>0:ir&&n0;i--){let r=e[i-1].dom;if(r.parentNode==t)return Un.after(r)}return new Un(t,0)}function a5(t,e,n){let i,{children:r}=t;n>0&&e instanceof Jr&&r.length&&(i=r[r.length-1])instanceof Jr&&i.mark.eq(e.mark)?a5(i,e.children[0],n-1):(r.push(e),e.setParent(t)),t.length+=e.length}function l5(t,e,n){for(let s=0,o=0;o0?l>=e:l>e)&&(e0)){let u=0;if(l==s){if(a.getSide()<=0)continue;u=n=-a.getSide()}let O=a.coordsAt(Math.max(0,e-s),n);return u&&O?Sp(O,n<0):O}s=l}let i=t.dom.lastChild;if(!i)return t.dom.getBoundingClientRect();let r=Ju(i);return r[r.length-1]||null}function bv(t,e){for(let n in t)n=="class"&&e.class?e.class+=" "+t.class:n=="style"&&e.style?e.style+=";"+t.style:e[n]=t[n];return e}function U$(t,e){if(t==e)return!0;if(!t||!e)return!1;let n=Object.keys(t),i=Object.keys(e);if(n.length!=i.length)return!1;for(let r of n)if(i.indexOf(r)==-1||t[r]!==e[r])return!1;return!0}function _v(t,e,n){let i=null;if(e)for(let r in e)n&&r in n||t.removeAttribute(i=r);if(n)for(let r in n)e&&e[r]==n[r]||t.setAttribute(i=r,n[r]);return!!i}class ns{eq(e){return!1}updateDOM(e){return!1}compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}get estimatedHeight(){return-1}ignoreEvent(e){return!0}get customView(){return null}destroy(e){}}var Ft=function(t){return t[t.Text=0]="Text",t[t.WidgetBefore=1]="WidgetBefore",t[t.WidgetAfter=2]="WidgetAfter",t[t.WidgetRange=3]="WidgetRange",t}(Ft||(Ft={}));class je extends Pa{constructor(e,n,i,r){super(),this.startSide=e,this.endSide=n,this.widget=i,this.spec=r}get heightRelevant(){return!1}static mark(e){return new xp(e)}static widget(e){let n=e.side||0,i=!!e.block;return n+=i?n>0?3e8:-4e8:n>0?1e8:-1e8,new ka(e,n,n,i,e.widget||null,!1)}static replace(e){let n=!!e.block,i,r;if(e.isBlockGap)i=-5e8,r=4e8;else{let{start:s,end:o}=c5(e,n);i=(s?n?-3e8:-1:5e8)-1,r=(o?n?2e8:1:-6e8)+1}return new ka(e,i,r,n,e.widget||null,!0)}static line(e){return new kf(e)}static set(e,n=!1){return zt.of(e,n)}hasHeight(){return this.widget?this.widget.estimatedHeight>-1:!1}}je.none=zt.empty;class xp extends je{constructor(e){let{start:n,end:i}=c5(e);super(n?-1:5e8,i?1:-6e8,null,e),this.tagName=e.tagName||"span",this.class=e.class||"",this.attrs=e.attributes||null}eq(e){return this==e||e instanceof xp&&this.tagName==e.tagName&&this.class==e.class&&U$(this.attrs,e.attrs)}range(e,n=e){if(e>=n)throw new RangeError("Mark decorations may not be empty");return super.range(e,n)}}xp.prototype.point=!1;class kf extends je{constructor(e){super(-2e8,-2e8,null,e)}eq(e){return e instanceof kf&&U$(this.spec.attributes,e.spec.attributes)}range(e,n=e){if(n!=e)throw new RangeError("Line decoration ranges must be zero-length");return super.range(e,n)}}kf.prototype.mapMode=qn.TrackBefore;kf.prototype.point=!0;class ka extends je{constructor(e,n,i,r,s,o){super(n,i,s,e),this.block=r,this.isReplace=o,this.mapMode=r?n<=0?qn.TrackBefore:qn.TrackAfter:qn.TrackDel}get type(){return this.startSide=5}eq(e){return e instanceof ka&&yoe(this.widget,e.widget)&&this.block==e.block&&this.startSide==e.startSide&&this.endSide==e.endSide}range(e,n=e){if(this.isReplace&&(e>n||e==n&&this.startSide>0&&this.endSide<=0))throw new RangeError("Invalid range for replacement decoration");if(!this.isReplace&&n!=e)throw new RangeError("Widget decorations can only have zero-length ranges");return super.range(e,n)}}ka.prototype.point=!0;function c5(t,e=!1){let{inclusiveStart:n,inclusiveEnd:i}=t;return n==null&&(n=t.inclusive),i==null&&(i=t.inclusive),{start:n!=null?n:e,end:i!=null?i:e}}function yoe(t,e){return t==e||!!(t&&e&&t.compare(e))}function Qv(t,e,n,i=0){let r=n.length-1;r>=0&&n[r]+i>=t?n[r]=Math.max(n[r],e):n.push(t,e)}class ni extends tn{constructor(){super(...arguments),this.children=[],this.length=0,this.prevAttrs=void 0,this.attrs=null,this.breakAfter=0}merge(e,n,i,r,s,o){if(i){if(!(i instanceof ni))return!1;this.dom||i.transferDOM(this)}return r&&this.setDeco(i?i.attrs:null),t5(this,e,n,i?i.children:[],s,o),!0}split(e){let n=new ni;if(n.breakAfter=this.breakAfter,this.length==0)return n;let{i,off:r}=this.childPos(e);r&&(n.append(this.children[i].split(r),0),this.children[i].merge(r,this.children[i].length,null,!1,0,0),i++);for(let s=i;s0&&this.children[i-1].length==0;)this.children[--i].destroy();return this.children.length=i,this.markDirty(),this.length=e,n}transferDOM(e){!this.dom||(this.markDirty(),e.setDOM(this.dom),e.prevAttrs=this.prevAttrs===void 0?this.attrs:this.prevAttrs,this.prevAttrs=void 0,this.dom=null)}setDeco(e){U$(this.attrs,e)||(this.dom&&(this.prevAttrs=this.attrs,this.markDirty()),this.attrs=e)}append(e,n){a5(this,e,n)}addLineDeco(e){let n=e.spec.attributes,i=e.spec.class;n&&(this.attrs=bv(n,this.attrs||{})),i&&(this.attrs=bv({class:i},this.attrs||{}))}domAtPos(e){return o5(this.dom,this.children,e)}reuseDOM(e){e.nodeName=="DIV"&&(this.setDOM(e),this.dirty|=6)}sync(e){var n;this.dom?this.dirty&4&&(KR(this.dom),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0):(this.setDOM(document.createElement("div")),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0),this.prevAttrs!==void 0&&(_v(this.dom,this.prevAttrs,this.attrs),this.dom.classList.add("cm-line"),this.prevAttrs=void 0),super.sync(e);let i=this.dom.lastChild;for(;i&&tn.get(i)instanceof Jr;)i=i.lastChild;if(!i||!this.length||i.nodeName!="BR"&&((n=tn.get(i))===null||n===void 0?void 0:n.isEditable)==!1&&(!He.ios||!this.children.some(r=>r instanceof Co))){let r=document.createElement("BR");r.cmIgnore=!0,this.dom.appendChild(r)}}measureTextSize(){if(this.children.length==0||this.length>20)return null;let e=0;for(let n of this.children){if(!(n instanceof Co))return null;let i=Ju(n.dom);if(i.length!=1)return null;e+=i[0].width}return{lineHeight:this.dom.getBoundingClientRect().height,charWidth:e/this.length}}coordsAt(e,n){return l5(this,e,n)}become(e){return!1}get type(){return Ft.Text}static find(e,n){for(let i=0,r=0;i=n){if(s instanceof ni)return s;if(o>n)break}r=o+s.breakAfter}return null}}class Qa extends tn{constructor(e,n,i){super(),this.widget=e,this.length=n,this.type=i,this.breakAfter=0,this.prevWidget=null}merge(e,n,i,r,s,o){return i&&(!(i instanceof Qa)||!this.widget.compare(i.widget)||e>0&&s<=0||n0;){if(this.textOff==this.text.length){let{value:s,lineBreak:o,done:a}=this.cursor.next(this.skip);if(this.skip=0,a)throw new Error("Ran out of text content when drawing inline views");if(o){this.posCovered()||this.getLine(),this.content.length?this.content[this.content.length-1].breakAfter=1:this.breakAtStart=1,this.flushBuffer([]),this.curLine=null,e--;continue}else this.text=s,this.textOff=0}let r=Math.min(this.text.length-this.textOff,e,512);this.flushBuffer(n.slice(0,i)),this.getLine().append(zO(new Co(this.text.slice(this.textOff,this.textOff+r)),n),i),this.atCursorPos=!0,this.textOff+=r,e-=r,i=0}}span(e,n,i,r){this.buildText(n-e,i,r),this.pos=n,this.openStart<0&&(this.openStart=r)}point(e,n,i,r,s,o){if(this.disallowBlockEffectsFor[o]&&i instanceof ka){if(i.block)throw new RangeError("Block decorations may not be specified via plugins");if(n>this.doc.lineAt(this.pos).to)throw new RangeError("Decorations that replace line breaks may not be specified via plugins")}let a=n-e;if(i instanceof ka)if(i.block){let{type:l}=i;l==Ft.WidgetAfter&&!this.posCovered()&&this.getLine(),this.addBlockWidget(new Qa(i.widget||new yS("div"),a,l))}else{let l=co.create(i.widget||new yS("span"),a,i.startSide),c=this.atCursorPos&&!l.isEditable&&s<=r.length&&(e0),u=!l.isEditable&&(et.some(e=>e)});class cd{constructor(e,n="nearest",i="nearest",r=5,s=5){this.range=e,this.y=n,this.x=i,this.yMargin=r,this.xMargin=s}map(e){return e.empty?this:new cd(this.range.map(e),this.y,this.x,this.yMargin,this.xMargin)}}const $S=ut.define({map:(t,e)=>t.map(e)});function zi(t,e,n){let i=t.facet(h5);i.length?i[0](e):window.onerror?window.onerror(String(e),n,void 0,void 0,e):n?console.error(n+":",e):console.error(e)}const Pp=Ge.define({combine:t=>t.length?t[0]:!0});let $oe=0;const Jc=Ge.define();class un{constructor(e,n,i,r){this.id=e,this.create=n,this.domEventHandlers=i,this.extension=r(this)}static define(e,n){const{eventHandlers:i,provide:r,decorations:s}=n||{};return new un($oe++,e,i,o=>{let a=[Jc.of(o)];return s&&a.push(ef.of(l=>{let c=l.plugin(o);return c?s(c):je.none})),r&&a.push(r(o)),a})}static fromClass(e,n){return un.define(i=>new e(i),n)}}class H0{constructor(e){this.spec=e,this.mustUpdate=null,this.value=null}update(e){if(this.value){if(this.mustUpdate){let n=this.mustUpdate;if(this.mustUpdate=null,this.value.update)try{this.value.update(n)}catch(i){if(zi(n.state,i,"CodeMirror plugin crashed"),this.value.destroy)try{this.value.destroy()}catch{}this.deactivate()}}}else if(this.spec)try{this.value=this.spec.create(e)}catch(n){zi(e.state,n,"CodeMirror plugin crashed"),this.deactivate()}return this}destroy(e){var n;if(!((n=this.value)===null||n===void 0)&&n.destroy)try{this.value.destroy()}catch(i){zi(e.state,i,"CodeMirror plugin crashed")}}deactivate(){this.spec=this.value=null}}const m5=Ge.define(),g5=Ge.define(),ef=Ge.define(),v5=Ge.define(),y5=Ge.define(),eu=Ge.define();class ms{constructor(e,n,i,r){this.fromA=e,this.toA=n,this.fromB=i,this.toB=r}join(e){return new ms(Math.min(this.fromA,e.fromA),Math.max(this.toA,e.toA),Math.min(this.fromB,e.fromB),Math.max(this.toB,e.toB))}addToSet(e){let n=e.length,i=this;for(;n>0;n--){let r=e[n-1];if(!(r.fromA>i.toA)){if(r.toAu)break;s+=2}if(!l)return i;new ms(l.fromA,l.toA,l.fromB,l.toB).addToSet(i),o=l.toA,a=l.toB}}}class ud{constructor(e,n,i){this.view=e,this.state=n,this.transactions=i,this.flags=0,this.startState=e.state,this.changes=yn.empty(this.startState.doc.length);for(let o of i)this.changes=this.changes.compose(o.changes);let r=[];this.changes.iterChangedRanges((o,a,l,c)=>r.push(new ms(o,a,l,c))),this.changedRanges=r;let s=e.hasFocus;s!=e.inputState.notifiedFocused&&(e.inputState.notifiedFocused=s,this.flags|=1)}static create(e,n,i){return new ud(e,n,i)}get viewportChanged(){return(this.flags&4)>0}get heightChanged(){return(this.flags&2)>0}get geometryChanged(){return this.docChanged||(this.flags&10)>0}get focusChanged(){return(this.flags&1)>0}get docChanged(){return!this.changes.empty}get selectionSet(){return this.transactions.some(e=>e.selection)}get empty(){return this.flags==0&&this.transactions.length==0}}var sn=function(t){return t[t.LTR=0]="LTR",t[t.RTL=1]="RTL",t}(sn||(sn={}));const wv=sn.LTR,boe=sn.RTL;function $5(t){let e=[];for(let n=0;n=n){if(a.level==i)return o;(s<0||(r!=0?r<0?a.fromn:e[s].level>a.level))&&(s=o)}}if(s<0)throw new RangeError("Index out of range");return s}}const rn=[];function xoe(t,e){let n=t.length,i=e==wv?1:2,r=e==wv?2:1;if(!t||i==1&&!woe.test(t))return b5(n);for(let o=0,a=i,l=i;o=0;f-=3)if(Wr[f+1]==-u){let h=Wr[f+2],p=h&2?i:h&4?h&1?r:i:0;p&&(rn[o]=rn[Wr[f]]=p),a=f;break}}else{if(Wr.length==189)break;Wr[a++]=o,Wr[a++]=c,Wr[a++]=l}else if((O=rn[o])==2||O==1){let f=O==i;l=f?0:1;for(let h=a-3;h>=0;h-=3){let p=Wr[h+2];if(p&2)break;if(f)Wr[h+2]|=2;else{if(p&4)break;Wr[h+2]|=4}}}for(let o=0;oa;){let u=c,O=rn[--c]!=2;for(;c>a&&O==(rn[c-1]!=2);)c--;s.push(new Tl(c,u,O?2:1))}else s.push(new Tl(a,o,0))}else for(let o=0;o1)for(let l of this.points)l.node==e&&l.pos>this.text.length&&(l.pos-=o-1);i=s+o}}readNode(e){if(e.cmIgnore)return;let n=tn.get(e),i=n&&n.overrideDOMText;if(i!=null){this.findPointInside(e,i.length);for(let r=i.iter();!r.next().done;)r.lineBreak?this.lineBreak():this.append(r.value)}else e.nodeType==3?this.readTextNode(e):e.nodeName=="BR"?e.nextSibling&&this.lineBreak():e.nodeType==1&&this.readRange(e.firstChild,null)}findPointBefore(e,n){for(let i of this.points)i.node==e&&e.childNodes[i.offset]==n&&(i.pos=this.text.length)}findPointInside(e,n){for(let i of this.points)(e.nodeType==3?i.node==e:e.contains(i.node))&&(i.pos=this.text.length+Math.min(n,i.offset))}}function bS(t){return t.nodeType==1&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/.test(t.nodeName)}class _S{constructor(e,n){this.node=e,this.offset=n,this.pos=-1}}class QS extends tn{constructor(e){super(),this.view=e,this.compositionDeco=je.none,this.decorations=[],this.dynamicDecorationMap=[],this.minWidth=0,this.minWidthFrom=0,this.minWidthTo=0,this.impreciseAnchor=null,this.impreciseHead=null,this.forceSelection=!1,this.lastUpdate=Date.now(),this.setDOM(e.contentDOM),this.children=[new ni],this.children[0].setParent(this),this.updateDeco(),this.updateInner([new ms(0,0,0,e.state.doc.length)],0)}get root(){return this.view.root}get editorView(){return this.view}get length(){return this.view.state.doc.length}update(e){let n=e.changedRanges;this.minWidth>0&&n.length&&(n.every(({fromA:o,toA:a})=>athis.minWidthTo)?(this.minWidthFrom=e.changes.mapPos(this.minWidthFrom,1),this.minWidthTo=e.changes.mapPos(this.minWidthTo,1)):this.minWidth=this.minWidthFrom=this.minWidthTo=0),this.view.inputState.composing<0?this.compositionDeco=je.none:(e.transactions.length||this.dirty)&&(this.compositionDeco=Coe(this.view,e.changes)),(He.ie||He.chrome)&&!this.compositionDeco.size&&e&&e.state.doc.lines!=e.startState.doc.lines&&(this.forceSelection=!0);let i=this.decorations,r=this.updateDeco(),s=Eoe(i,r,e.changes);return n=ms.extendWithRanges(n,s),this.dirty==0&&n.length==0?!1:(this.updateInner(n,e.startState.doc.length),e.transactions.length&&(this.lastUpdate=Date.now()),!0)}updateInner(e,n){this.view.viewState.mustMeasureContent=!0,this.updateChildren(e,n);let{observer:i}=this.view;i.ignore(()=>{this.dom.style.height=this.view.viewState.contentHeight+"px",this.dom.style.flexBasis=this.minWidth?this.minWidth+"px":"";let s=He.chrome||He.ios?{node:i.selectionRange.focusNode,written:!1}:void 0;this.sync(s),this.dirty=0,s&&(s.written||i.selectionRange.focusNode!=s.node)&&(this.forceSelection=!0),this.dom.style.height=""});let r=[];if(this.view.viewport.from||this.view.viewport.to=0?e[r]:null;if(!s)break;let{fromA:o,toA:a,fromB:l,toB:c}=s,{content:u,breakAtStart:O,openStart:f,openEnd:h}=D$.build(this.view.state.doc,l,c,this.decorations,this.dynamicDecorationMap),{i:p,off:y}=i.findPos(a,1),{i:$,off:m}=i.findPos(o,-1);e5(this,$,m,p,y,u,O,f,h)}}updateSelection(e=!1,n=!1){if((e||!this.view.observer.selectionRange.focusNode)&&this.view.observer.readSelectionRange(),!(n||this.mayControlSelection())||He.ios&&this.view.inputState.rapidCompositionStart)return;let i=this.forceSelection;this.forceSelection=!1;let r=this.view.state.selection.main,s=this.domAtPos(r.anchor),o=r.empty?s:this.domAtPos(r.head);if(He.gecko&&r.empty&&koe(s)){let l=document.createTextNode("");this.view.observer.ignore(()=>s.node.insertBefore(l,s.node.childNodes[s.offset]||null)),s=o=new Un(l,0),i=!0}let a=this.view.observer.selectionRange;(i||!a.focusNode||!ad(s.node,s.offset,a.anchorNode,a.anchorOffset)||!ad(o.node,o.offset,a.focusNode,a.focusOffset))&&(this.view.observer.ignore(()=>{He.android&&He.chrome&&this.dom.contains(a.focusNode)&&Xoe(a.focusNode,this.dom)&&(this.dom.blur(),this.dom.focus({preventScroll:!0}));let l=od(this.root);if(l)if(r.empty){if(He.gecko){let c=Roe(s.node,s.offset);if(c&&c!=3){let u=w5(s.node,s.offset,c==1?1:-1);u&&(s=new Un(u,c==1?0:u.nodeValue.length))}}l.collapse(s.node,s.offset),r.bidiLevel!=null&&a.cursorBidiLevel!=null&&(a.cursorBidiLevel=r.bidiLevel)}else if(l.extend)l.collapse(s.node,s.offset),l.extend(o.node,o.offset);else{let c=document.createRange();r.anchor>r.head&&([s,o]=[o,s]),c.setEnd(o.node,o.offset),c.setStart(s.node,s.offset),l.removeAllRanges(),l.addRange(c)}}),this.view.observer.setSelectionRange(s,o)),this.impreciseAnchor=s.precise?null:new Un(a.anchorNode,a.anchorOffset),this.impreciseHead=o.precise?null:new Un(a.focusNode,a.focusOffset)}enforceCursorAssoc(){if(this.compositionDeco.size)return;let e=this.view.state.selection.main,n=od(this.root);if(!n||!e.empty||!e.assoc||!n.modify)return;let i=ni.find(this,e.head);if(!i)return;let r=i.posAtStart;if(e.head==r||e.head==r+i.length)return;let s=this.coordsAt(e.head,-1),o=this.coordsAt(e.head,1);if(!s||!o||s.bottom>o.top)return;let a=this.domAtPos(e.head+e.assoc);n.collapse(a.node,a.offset),n.modify("move",e.assoc<0?"forward":"backward","lineboundary")}mayControlSelection(){let e=this.root.activeElement;return e==this.dom||dv(this.dom,this.view.observer.selectionRange)&&!(e&&this.dom.contains(e))}nearest(e){for(let n=e;n;){let i=tn.get(n);if(i&&i.rootView==this)return i;n=n.parentNode}return null}posFromDOM(e,n){let i=this.nearest(e);if(!i)throw new RangeError("Trying to find position for a DOM position outside of the document");return i.localPosFromDOM(e,n)+i.posAtStart}domAtPos(e){let{i:n,off:i}=this.childCursor().findPos(e,-1);for(;no||e==o&&s.type!=Ft.WidgetBefore&&s.type!=Ft.WidgetAfter&&(!r||n==2||this.children[r-1].breakAfter||this.children[r-1].type==Ft.WidgetBefore&&n>-2))return s.coordsAt(e-o,n);i=o}}measureVisibleLineHeights(e){let n=[],{from:i,to:r}=e,s=this.view.contentDOM.clientWidth,o=s>Math.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,a=-1,l=this.view.textDirection==sn.LTR;for(let c=0,u=0;ur)break;if(c>=i){let h=O.dom.getBoundingClientRect();if(n.push(h.height),o){let p=O.dom.lastChild,y=p?Ju(p):[];if(y.length){let $=y[y.length-1],m=l?$.right-h.left:h.right-$.left;m>a&&(a=m,this.minWidth=s,this.minWidthFrom=c,this.minWidthTo=f)}}}c=f+O.breakAfter}return n}textDirectionAt(e){let{i:n}=this.childPos(e,1);return getComputedStyle(this.children[n].dom).direction=="rtl"?sn.RTL:sn.LTR}measureTextSize(){for(let r of this.children)if(r instanceof ni){let s=r.measureTextSize();if(s)return s}let e=document.createElement("div"),n,i;return e.className="cm-line",e.style.width="99999px",e.textContent="abc def ghi jkl mno pqr stu",this.view.observer.ignore(()=>{this.dom.appendChild(e);let r=Ju(e.firstChild)[0];n=e.getBoundingClientRect().height,i=r?r.width/27:7,e.remove()}),{lineHeight:n,charWidth:i}}childCursor(e=this.length){let n=this.children.length;return n&&(e-=this.children[--n].length),new JR(this.children,e,n)}computeBlockGapDeco(){let e=[],n=this.view.viewState;for(let i=0,r=0;;r++){let s=r==n.viewports.length?null:n.viewports[r],o=s?s.from-1:this.length;if(o>i){let a=n.lineBlockAt(o).bottom-n.lineBlockAt(i).top;e.push(je.replace({widget:new SS(a),block:!0,inclusive:!0,isBlockGap:!0}).range(i,o))}if(!s)break;i=s.to+1}return je.set(e)}updateDeco(){let e=this.view.state.facet(ef).map((n,i)=>(this.dynamicDecorationMap[i]=typeof n=="function")?n(this.view):n);for(let n=e.length;nn.anchor?-1:1),r;if(!i)return;!n.empty&&(r=this.coordsAt(n.anchor,n.anchor>n.head?-1:1))&&(i={left:Math.min(i.left,r.left),top:Math.min(i.top,r.top),right:Math.max(i.right,r.right),bottom:Math.max(i.bottom,r.bottom)});let s=0,o=0,a=0,l=0;for(let u of this.view.state.facet(y5).map(O=>O(this.view)))if(u){let{left:O,right:f,top:h,bottom:p}=u;O!=null&&(s=Math.max(s,O)),f!=null&&(o=Math.max(o,f)),h!=null&&(a=Math.max(a,h)),p!=null&&(l=Math.max(l,p))}let c={left:i.left-s,top:i.top-a,right:i.right+o,bottom:i.bottom+l};doe(this.view.scrollDOM,c,n.head0&&n<=0)t=t.childNodes[e-1],e=ld(t);else if(t.nodeType==1&&e=0)t=t.childNodes[e],e=0;else return null}}function Roe(t,e){return t.nodeType!=1?0:(e&&t.childNodes[e-1].contentEditable=="false"?1:0)|(e0;){let c=Ti(r.text,o,!1);if(i(r.text.slice(c,o))!=l)break;o=c}for(;at?e.left-t:Math.max(0,t-e.right)}function Ioe(t,e){return e.top>t?e.top-t:Math.max(0,t-e.bottom)}function K0(t,e){return t.tope.top+1}function wS(t,e){return et.bottom?{top:t.top,left:t.left,right:t.right,bottom:e}:t}function Pv(t,e,n){let i,r,s,o,a,l,c,u;for(let h=t.firstChild;h;h=h.nextSibling){let p=Ju(h);for(let y=0;yd||o==d&&s>m)&&(i=h,r=$,s=m,o=d),m==0?n>$.bottom&&(!c||c.bottom<$.bottom)?(a=h,c=$):n<$.top&&(!u||u.top>$.top)&&(l=h,u=$):c&&K0(c,$)?c=xS(c,$.bottom):u&&K0(u,$)&&(u=wS(u,$.top))}}if(c&&c.bottom>=n?(i=a,r=c):u&&u.top<=n&&(i=l,r=u),!i)return{node:t,offset:0};let O=Math.max(r.left,Math.min(r.right,e));if(i.nodeType==3)return PS(i,O,n);if(!s&&i.contentEditable=="true")return Pv(i,O,n);let f=Array.prototype.indexOf.call(t.childNodes,i)+(e>=(r.left+r.right)/2?1:0);return{node:t,offset:f}}function PS(t,e,n){let i=t.nodeValue.length,r=-1,s=1e9,o=0;for(let a=0;an?u.top-n:n-u.bottom)-1;if(u.left-1<=e&&u.right+1>=e&&O=(u.left+u.right)/2,h=f;if((He.chrome||He.gecko)&&ec(t,a).getBoundingClientRect().left==u.right&&(h=!f),O<=0)return{node:t,offset:a+(h?1:0)};r=a+(h?1:0),s=O}}}return{node:t,offset:r>-1?r:o>0?t.nodeValue.length:0}}function x5(t,{x:e,y:n},i,r=-1){var s;let o=t.contentDOM.getBoundingClientRect(),a=o.top+t.viewState.paddingTop,l,{docHeight:c}=t.viewState,u=n-a;if(u<0)return 0;if(u>c)return t.state.doc.length;for(let m=t.defaultLineHeight/2,d=!1;l=t.elementAtHeight(u),l.type!=Ft.Text;)for(;u=r>0?l.bottom+m:l.top-m,!(u>=0&&u<=c);){if(d)return i?null:0;d=!0,r=-r}n=a+u;let O=l.from;if(Ot.viewport.to)return t.viewport.to==t.state.doc.length?t.state.doc.length:i?null:kS(t,o,l,e,n);let f=t.dom.ownerDocument,h=t.root.elementFromPoint?t.root:f,p=h.elementFromPoint(e,n);p&&!t.contentDOM.contains(p)&&(p=null),p||(e=Math.max(o.left+1,Math.min(o.right-1,e)),p=h.elementFromPoint(e,n),p&&!t.contentDOM.contains(p)&&(p=null));let y,$=-1;if(p&&((s=t.docView.nearest(p))===null||s===void 0?void 0:s.isEditable)!=!1){if(f.caretPositionFromPoint){let m=f.caretPositionFromPoint(e,n);m&&({offsetNode:y,offset:$}=m)}else if(f.caretRangeFromPoint){let m=f.caretRangeFromPoint(e,n);m&&({startContainer:y,startOffset:$}=m,(He.safari&&qoe(y,$,e)||He.chrome&&Uoe(y,$,e))&&(y=void 0))}}if(!y||!t.docView.dom.contains(y)){let m=ni.find(t.docView,O);if(!m)return u>l.top+l.height/2?l.to:l.from;({node:y,offset:$}=Pv(m.dom,e,n))}return t.docView.posFromDOM(y,$)}function kS(t,e,n,i,r){let s=Math.round((i-e.left)*t.defaultCharacterWidth);t.lineWrapping&&n.height>t.defaultLineHeight*1.5&&(s+=Math.floor((r-n.top)/t.defaultLineHeight)*t.viewState.heightOracle.lineLength);let o=t.state.sliceDoc(n.from,n.to);return n.from+fv(o,s,t.state.tabSize)}function qoe(t,e,n){let i;if(t.nodeType!=3||e!=(i=t.nodeValue.length))return!1;for(let r=t.nextSibling;r;r=r.nextSibling)if(r.nodeType!=1||r.nodeName!="BR")return!1;return ec(t,i-1,i).getBoundingClientRect().left>n}function Uoe(t,e,n){if(e!=0)return!1;for(let r=t;;){let s=r.parentNode;if(!s||s.nodeType!=1||s.firstChild!=r)return!1;if(s.classList.contains("cm-line"))break;r=s}let i=t.nodeType==1?t.getBoundingClientRect():ec(t,0,Math.max(t.nodeValue.length,1)).getBoundingClientRect();return n-i.left>5}function Doe(t,e,n,i){let r=t.state.doc.lineAt(e.head),s=!i||!t.lineWrapping?null:t.coordsAtPos(e.assoc<0&&e.head>r.from?e.head-1:e.head);if(s){let l=t.dom.getBoundingClientRect(),c=t.textDirectionAt(r.from),u=t.posAtCoords({x:n==(c==sn.LTR)?l.right-1:l.left+1,y:(s.top+s.bottom)/2});if(u!=null)return we.cursor(u,n?-1:1)}let o=ni.find(t.docView,e.head),a=o?n?o.posAtEnd:o.posAtStart:n?r.to:r.from;return we.cursor(a,n?-1:1)}function CS(t,e,n,i){let r=t.state.doc.lineAt(e.head),s=t.bidiSpans(r),o=t.textDirectionAt(r.from);for(let a=e,l=null;;){let c=Poe(r,s,o,a,n),u=_5;if(!c){if(r.number==(n?t.state.doc.lines:1))return a;u=` +`,r=t.state.doc.line(r.number+(n?1:-1)),s=t.bidiSpans(r),c=we.cursor(n?r.from:r.to)}if(l){if(!l(u))return a}else{if(!i)return c;l=i(u)}a=c}}function Loe(t,e,n){let i=t.state.charCategorizer(e),r=i(n);return s=>{let o=i(s);return r==ti.Space&&(r=o),r==o}}function Boe(t,e,n,i){let r=e.head,s=n?1:-1;if(r==(n?t.state.doc.length:0))return we.cursor(r,e.assoc);let o=e.goalColumn,a,l=t.contentDOM.getBoundingClientRect(),c=t.coordsAtPos(r),u=t.documentTop;if(c)o==null&&(o=c.left-l.left),a=s<0?c.top:c.bottom;else{let h=t.viewState.lineBlockAt(r);o==null&&(o=Math.min(l.right-l.left,t.defaultCharacterWidth*(r-h.from))),a=(s<0?h.top:h.bottom)+u}let O=l.left+o,f=i!=null?i:t.defaultLineHeight>>1;for(let h=0;;h+=10){let p=a+(f+h)*s,y=x5(t,{x:O,y:p},!1,s);if(pl.bottom||(s<0?yr))return we.cursor(y,e.assoc,void 0,o)}}function J0(t,e,n){let i=t.state.facet(v5).map(r=>r(t));for(;;){let r=!1;for(let s of i)s.between(n.from-1,n.from+1,(o,a,l)=>{n.from>o&&n.fromn.from?we.cursor(o,1):we.cursor(a,-1),r=!0)});if(!r)return n}}class Moe{constructor(e){this.lastKeyCode=0,this.lastKeyTime=0,this.chromeScrollHack=-1,this.pendingIOSKey=void 0,this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastEscPress=0,this.lastContextMenu=0,this.scrollHandlers=[],this.registeredEvents=[],this.customHandlers=[],this.composing=-1,this.compositionFirstChange=null,this.compositionEndedAt=0,this.rapidCompositionStart=!1,this.mouseSelection=null;for(let n in Cn){let i=Cn[n];e.contentDOM.addEventListener(n,r=>{!TS(e,r)||this.ignoreDuringComposition(r)||n=="keydown"&&this.keydown(e,r)||(this.mustFlushObserver(r)&&e.observer.forceFlush(),this.runCustomHandlers(n,e,r)?r.preventDefault():i(e,r))}),this.registeredEvents.push(n)}He.chrome&&He.chrome_version>=102&&e.scrollDOM.addEventListener("wheel",()=>{this.chromeScrollHack<0?e.contentDOM.style.pointerEvents="none":window.clearTimeout(this.chromeScrollHack),this.chromeScrollHack=setTimeout(()=>{this.chromeScrollHack=-1,e.contentDOM.style.pointerEvents=""},100)},{passive:!0}),this.notifiedFocused=e.hasFocus,He.safari&&e.contentDOM.addEventListener("input",()=>null)}setSelectionOrigin(e){this.lastSelectionOrigin=e,this.lastSelectionTime=Date.now()}ensureHandlers(e,n){var i;let r;this.customHandlers=[];for(let s of n)if(r=(i=s.update(e).spec)===null||i===void 0?void 0:i.domEventHandlers){this.customHandlers.push({plugin:s.value,handlers:r});for(let o in r)this.registeredEvents.indexOf(o)<0&&o!="scroll"&&(this.registeredEvents.push(o),e.contentDOM.addEventListener(o,a=>{!TS(e,a)||this.runCustomHandlers(o,e,a)&&a.preventDefault()}))}}runCustomHandlers(e,n,i){for(let r of this.customHandlers){let s=r.handlers[e];if(s)try{if(s.call(r.plugin,i,n)||i.defaultPrevented)return!0}catch(o){zi(n.state,o)}}return!1}runScrollHandlers(e,n){for(let i of this.customHandlers){let r=i.handlers.scroll;if(r)try{r.call(i.plugin,n,e)}catch(s){zi(e.state,s)}}}keydown(e,n){if(this.lastKeyCode=n.keyCode,this.lastKeyTime=Date.now(),n.keyCode==9&&Date.now()r.keyCode==n.keyCode))&&!(n.ctrlKey||n.altKey||n.metaKey)&&!n.synthetic?(this.pendingIOSKey=i,setTimeout(()=>this.flushIOSKey(e),250),!0):!1}flushIOSKey(e){let n=this.pendingIOSKey;return n?(this.pendingIOSKey=void 0,Qu(e.contentDOM,n.key,n.keyCode)):!1}ignoreDuringComposition(e){return/^key/.test(e.type)?this.composing>0?!0:He.safari&&Date.now()-this.compositionEndedAt<100?(this.compositionEndedAt=0,!0):!1:!1}mustFlushObserver(e){return e.type=="keydown"&&e.keyCode!=229||e.type=="compositionend"&&!He.ios}startMouseSelection(e){this.mouseSelection&&this.mouseSelection.destroy(),this.mouseSelection=e}update(e){this.mouseSelection&&this.mouseSelection.update(e),e.transactions.length&&(this.lastKeyCode=this.lastSelectionTime=0)}destroy(){this.mouseSelection&&this.mouseSelection.destroy()}}const P5=[{key:"Backspace",keyCode:8,inputType:"deleteContentBackward"},{key:"Enter",keyCode:13,inputType:"insertParagraph"},{key:"Delete",keyCode:46,inputType:"deleteContentForward"}],k5=[16,17,18,20,91,92,224,225];class Yoe{constructor(e,n,i,r){this.view=e,this.style=i,this.mustSelect=r,this.lastEvent=n;let s=e.contentDOM.ownerDocument;s.addEventListener("mousemove",this.move=this.move.bind(this)),s.addEventListener("mouseup",this.up=this.up.bind(this)),this.extend=n.shiftKey,this.multiple=e.state.facet(St.allowMultipleSelections)&&Zoe(e,n),this.dragMove=Voe(e,n),this.dragging=joe(e,n)&&L$(n)==1?null:!1,this.dragging===!1&&(n.preventDefault(),this.select(n))}move(e){if(e.buttons==0)return this.destroy();this.dragging===!1&&this.select(this.lastEvent=e)}up(e){this.dragging==null&&this.select(this.lastEvent),this.dragging||e.preventDefault(),this.destroy()}destroy(){let e=this.view.contentDOM.ownerDocument;e.removeEventListener("mousemove",this.move),e.removeEventListener("mouseup",this.up),this.view.inputState.mouseSelection=null}select(e){let n=this.style.get(e,this.extend,this.multiple);(this.mustSelect||!n.eq(this.view.state.selection)||n.main.assoc!=this.view.state.selection.main.assoc)&&this.view.dispatch({selection:n,userEvent:"select.pointer",scrollIntoView:!0}),this.mustSelect=!1}update(e){e.docChanged&&this.dragging&&(this.dragging=this.dragging.map(e.changes)),this.style.update(e)&&setTimeout(()=>this.select(this.lastEvent),20)}}function Zoe(t,e){let n=t.state.facet(u5);return n.length?n[0](e):He.mac?e.metaKey:e.ctrlKey}function Voe(t,e){let n=t.state.facet(f5);return n.length?n[0](e):He.mac?!e.altKey:!e.ctrlKey}function joe(t,e){let{main:n}=t.state.selection;if(n.empty)return!1;let i=od(t.root);if(!i||i.rangeCount==0)return!0;let r=i.getRangeAt(0).getClientRects();for(let s=0;s=e.clientX&&o.top<=e.clientY&&o.bottom>=e.clientY)return!0}return!1}function TS(t,e){if(!e.bubbles)return!0;if(e.defaultPrevented)return!1;for(let n=e.target,i;n!=t.contentDOM;n=n.parentNode)if(!n||n.nodeType==11||(i=tn.get(n))&&i.ignoreEvent(e))return!1;return!0}const Cn=Object.create(null),C5=He.ie&&He.ie_version<15||He.ios&&He.webkit_version<604;function Noe(t){let e=t.dom.parentNode;if(!e)return;let n=e.appendChild(document.createElement("textarea"));n.style.cssText="position: fixed; left: -10000px; top: 10px",n.focus(),setTimeout(()=>{t.focus(),n.remove(),T5(t,n.value)},50)}function T5(t,e){let{state:n}=t,i,r=1,s=n.toText(e),o=s.lines==n.selection.ranges.length;if(kv!=null&&n.selection.ranges.every(l=>l.empty)&&kv==s.toString()){let l=-1;i=n.changeByRange(c=>{let u=n.doc.lineAt(c.from);if(u.from==l)return{range:c};l=u.from;let O=n.toText((o?s.line(r++).text:e)+n.lineBreak);return{changes:{from:u.from,insert:O},range:we.cursor(c.from+O.length)}})}else o?i=n.changeByRange(l=>{let c=s.line(r++);return{changes:{from:l.from,to:l.to,insert:c.text},range:we.cursor(l.from+c.length)}}):i=n.replaceSelection(s);t.dispatch(i,{userEvent:"input.paste",scrollIntoView:!0})}Cn.keydown=(t,e)=>{t.inputState.setSelectionOrigin("select"),e.keyCode==27?t.inputState.lastEscPress=Date.now():k5.indexOf(e.keyCode)<0&&(t.inputState.lastEscPress=0)};let R5=0;Cn.touchstart=(t,e)=>{R5=Date.now(),t.inputState.setSelectionOrigin("select.pointer")};Cn.touchmove=t=>{t.inputState.setSelectionOrigin("select.pointer")};Cn.mousedown=(t,e)=>{if(t.observer.flush(),R5>Date.now()-2e3&&L$(e)==1)return;let n=null;for(let i of t.state.facet(O5))if(n=i(t,e),n)break;if(!n&&e.button==0&&(n=Hoe(t,e)),n){let i=t.root.activeElement!=t.contentDOM;i&&t.observer.ignore(()=>HR(t.contentDOM)),t.inputState.startMouseSelection(new Yoe(t,e,n,i))}};function RS(t,e,n,i){if(i==1)return we.cursor(e,n);if(i==2)return Woe(t.state,e,n);{let r=ni.find(t.docView,e),s=t.state.doc.lineAt(r?r.posAtEnd:e),o=r?r.posAtStart:s.from,a=r?r.posAtEnd:s.to;return at>=e.top&&t<=e.bottom,AS=(t,e,n)=>A5(e,n)&&t>=n.left&&t<=n.right;function Foe(t,e,n,i){let r=ni.find(t.docView,e);if(!r)return 1;let s=e-r.posAtStart;if(s==0)return 1;if(s==r.length)return-1;let o=r.coordsAt(s,-1);if(o&&AS(n,i,o))return-1;let a=r.coordsAt(s,1);return a&&AS(n,i,a)?1:o&&A5(i,o)?-1:1}function ES(t,e){let n=t.posAtCoords({x:e.clientX,y:e.clientY},!1);return{pos:n,bias:Foe(t,n,e.clientX,e.clientY)}}const Goe=He.ie&&He.ie_version<=11;let XS=null,WS=0,zS=0;function L$(t){if(!Goe)return t.detail;let e=XS,n=zS;return XS=t,zS=Date.now(),WS=!e||n>Date.now()-400&&Math.abs(e.clientX-t.clientX)<2&&Math.abs(e.clientY-t.clientY)<2?(WS+1)%3:1}function Hoe(t,e){let n=ES(t,e),i=L$(e),r=t.state.selection,s=n,o=e;return{update(a){a.docChanged&&(n&&(n.pos=a.changes.mapPos(n.pos)),r=r.map(a.changes),o=null)},get(a,l,c){let u;if(o&&a.clientX==o.clientX&&a.clientY==o.clientY?u=s:(u=s=ES(t,a),o=a),!u||!n)return r;let O=RS(t,u.pos,u.bias,i);if(n.pos!=u.pos&&!l){let f=RS(t,n.pos,n.bias,i),h=Math.min(f.from,O.from),p=Math.max(f.to,O.to);O=h1&&r.ranges.some(f=>f.eq(O))?Koe(r,O):c?r.addRange(O):we.create([O])}}}function Koe(t,e){for(let n=0;;n++)if(t.ranges[n].eq(e))return we.create(t.ranges.slice(0,n).concat(t.ranges.slice(n+1)),t.mainIndex==n?0:t.mainIndex-(t.mainIndex>n?1:0))}Cn.dragstart=(t,e)=>{let{selection:{main:n}}=t.state,{mouseSelection:i}=t.inputState;i&&(i.dragging=n),e.dataTransfer&&(e.dataTransfer.setData("Text",t.state.sliceDoc(n.from,n.to)),e.dataTransfer.effectAllowed="copyMove")};function IS(t,e,n,i){if(!n)return;let r=t.posAtCoords({x:e.clientX,y:e.clientY},!1);e.preventDefault();let{mouseSelection:s}=t.inputState,o=i&&s&&s.dragging&&s.dragMove?{from:s.dragging.from,to:s.dragging.to}:null,a={from:r,insert:n},l=t.state.changes(o?[o,a]:a);t.focus(),t.dispatch({changes:l,selection:{anchor:l.mapPos(r,-1),head:l.mapPos(r,1)},userEvent:o?"move.drop":"input.drop"})}Cn.drop=(t,e)=>{if(!e.dataTransfer)return;if(t.state.readOnly)return e.preventDefault();let n=e.dataTransfer.files;if(n&&n.length){e.preventDefault();let i=Array(n.length),r=0,s=()=>{++r==n.length&&IS(t,e,i.filter(o=>o!=null).join(t.state.lineBreak),!1)};for(let o=0;o{/[\x00-\x08\x0e-\x1f]{2}/.test(a.result)||(i[o]=a.result),s()},a.readAsText(n[o])}}else IS(t,e,e.dataTransfer.getData("Text"),!0)};Cn.paste=(t,e)=>{if(t.state.readOnly)return e.preventDefault();t.observer.flush();let n=C5?null:e.clipboardData;n?(T5(t,n.getData("text/plain")),e.preventDefault()):Noe(t)};function Joe(t,e){let n=t.dom.parentNode;if(!n)return;let i=n.appendChild(document.createElement("textarea"));i.style.cssText="position: fixed; left: -10000px; top: 10px",i.value=e,i.focus(),i.selectionEnd=e.length,i.selectionStart=0,setTimeout(()=>{i.remove(),t.focus()},50)}function eae(t){let e=[],n=[],i=!1;for(let r of t.selection.ranges)r.empty||(e.push(t.sliceDoc(r.from,r.to)),n.push(r));if(!e.length){let r=-1;for(let{from:s}of t.selection.ranges){let o=t.doc.lineAt(s);o.number>r&&(e.push(o.text),n.push({from:o.from,to:Math.min(t.doc.length,o.to+1)})),r=o.number}i=!0}return{text:e.join(t.lineBreak),ranges:n,linewise:i}}let kv=null;Cn.copy=Cn.cut=(t,e)=>{let{text:n,ranges:i,linewise:r}=eae(t.state);if(!n&&!r)return;kv=r?n:null;let s=C5?null:e.clipboardData;s?(e.preventDefault(),s.clearData(),s.setData("text/plain",n)):Joe(t,n),e.type=="cut"&&!t.state.readOnly&&t.dispatch({changes:i,scrollIntoView:!0,userEvent:"delete.cut"})};function E5(t){setTimeout(()=>{t.hasFocus!=t.inputState.notifiedFocused&&t.update([])},10)}Cn.focus=E5;Cn.blur=t=>{t.observer.clearSelectionRange(),E5(t)};function X5(t,e){if(t.docView.compositionDeco.size){t.inputState.rapidCompositionStart=e;try{t.update([])}finally{t.inputState.rapidCompositionStart=!1}}}Cn.compositionstart=Cn.compositionupdate=t=>{t.inputState.compositionFirstChange==null&&(t.inputState.compositionFirstChange=!0),t.inputState.composing<0&&(t.inputState.composing=0,t.docView.compositionDeco.size&&(t.observer.flush(),X5(t,!0)))};Cn.compositionend=t=>{t.inputState.composing=-1,t.inputState.compositionEndedAt=Date.now(),t.inputState.compositionFirstChange=null,setTimeout(()=>{t.inputState.composing<0&&X5(t,!1)},50)};Cn.contextmenu=t=>{t.inputState.lastContextMenu=Date.now()};Cn.beforeinput=(t,e)=>{var n;let i;if(He.chrome&&He.android&&(i=P5.find(r=>r.inputType==e.inputType))&&(t.observer.delayAndroidKey(i.key,i.keyCode),i.key=="Backspace"||i.key=="Delete")){let r=((n=window.visualViewport)===null||n===void 0?void 0:n.height)||0;setTimeout(()=>{var s;(((s=window.visualViewport)===null||s===void 0?void 0:s.height)||0)>r+10&&t.hasFocus&&(t.contentDOM.blur(),t.focus())},100)}};const qS=["pre-wrap","normal","pre-line","break-spaces"];class tae{constructor(){this.doc=Xt.empty,this.lineWrapping=!1,this.heightSamples={},this.lineHeight=14,this.charWidth=7,this.lineLength=30,this.heightChanged=!1}heightForGap(e,n){let i=this.doc.lineAt(n).number-this.doc.lineAt(e).number+1;return this.lineWrapping&&(i+=Math.ceil((n-e-i*this.lineLength*.5)/this.lineLength)),this.lineHeight*i}heightForLine(e){return this.lineWrapping?(1+Math.max(0,Math.ceil((e-this.lineLength)/(this.lineLength-5))))*this.lineHeight:this.lineHeight}setDoc(e){return this.doc=e,this}mustRefreshForWrapping(e){return qS.indexOf(e)>-1!=this.lineWrapping}mustRefreshForHeights(e){let n=!1;for(let i=0;i-1,a=Math.round(n)!=Math.round(this.lineHeight)||this.lineWrapping!=o;if(this.lineWrapping=o,this.lineHeight=n,this.charWidth=i,this.lineLength=r,a){this.heightSamples={};for(let l=0;l0}set outdated(e){this.flags=(e?2:0)|this.flags&-3}setHeight(e,n){this.height!=n&&(Math.abs(this.height-n)>wh&&(e.heightChanged=!0),this.height=n)}replace(e,n,i){return pi.of(i)}decomposeLeft(e,n){n.push(this)}decomposeRight(e,n){n.push(this)}applyChanges(e,n,i,r){let s=this;for(let o=r.length-1;o>=0;o--){let{fromA:a,toA:l,fromB:c,toB:u}=r[o],O=s.lineAt(a,Kt.ByPosNoHeight,n,0,0),f=O.to>=l?O:s.lineAt(l,Kt.ByPosNoHeight,n,0,0);for(u+=f.to-l,l=f.to;o>0&&O.from<=r[o-1].toA;)a=r[o-1].fromA,c=r[o-1].fromB,o--,as*2){let a=e[n-1];a.break?e.splice(--n,1,a.left,null,a.right):e.splice(--n,1,a.left,a.right),i+=1+a.break,r-=a.size}else if(s>r*2){let a=e[i];a.break?e.splice(i,1,a.left,null,a.right):e.splice(i,1,a.left,a.right),i+=2+a.break,s-=a.size}else break;else if(r=s&&o(this.blockAt(0,i,r,s))}updateHeight(e,n=0,i=!1,r){return r&&r.from<=n&&r.more&&this.setHeight(e,r.heights[r.index++]),this.outdated=!1,this}toString(){return`block(${this.length})`}}class Si extends W5{constructor(e,n){super(e,n,Ft.Text),this.collapsed=0,this.widgetHeight=0}replace(e,n,i){let r=i[0];return i.length==1&&(r instanceof Si||r instanceof Xn&&r.flags&4)&&Math.abs(this.length-r.length)<10?(r instanceof Xn?r=new Si(r.length,this.height):r.height=this.height,this.outdated||(r.outdated=!1),r):pi.of(i)}updateHeight(e,n=0,i=!1,r){return r&&r.from<=n&&r.more?this.setHeight(e,r.heights[r.index++]):(i||this.outdated)&&this.setHeight(e,Math.max(this.widgetHeight,e.heightForLine(this.length-this.collapsed))),this.outdated=!1,this}toString(){return`line(${this.length}${this.collapsed?-this.collapsed:""}${this.widgetHeight?":"+this.widgetHeight:""})`}}class Xn extends pi{constructor(e){super(e,0)}lines(e,n){let i=e.lineAt(n).number,r=e.lineAt(n+this.length).number;return{firstLine:i,lastLine:r,lineHeight:this.height/(r-i+1)}}blockAt(e,n,i,r){let{firstLine:s,lastLine:o,lineHeight:a}=this.lines(n,r),l=Math.max(0,Math.min(o-s,Math.floor((e-i)/a))),{from:c,length:u}=n.line(s+l);return new fo(c,u,i+a*l,a,Ft.Text)}lineAt(e,n,i,r,s){if(n==Kt.ByHeight)return this.blockAt(e,i,r,s);if(n==Kt.ByPosNoHeight){let{from:O,to:f}=i.lineAt(e);return new fo(O,f-O,0,0,Ft.Text)}let{firstLine:o,lineHeight:a}=this.lines(i,s),{from:l,length:c,number:u}=i.lineAt(e);return new fo(l,c,r+a*(u-o),a,Ft.Text)}forEachLine(e,n,i,r,s,o){let{firstLine:a,lineHeight:l}=this.lines(i,s);for(let c=Math.max(e,s),u=Math.min(s+this.length,n);c<=u;){let O=i.lineAt(c);c==e&&(r+=l*(O.number-a)),o(new fo(O.from,O.length,r,l,Ft.Text)),r+=l,c=O.to+1}}replace(e,n,i){let r=this.length-n;if(r>0){let s=i[i.length-1];s instanceof Xn?i[i.length-1]=new Xn(s.length+r):i.push(null,new Xn(r-1))}if(e>0){let s=i[0];s instanceof Xn?i[0]=new Xn(e+s.length):i.unshift(new Xn(e-1),null)}return pi.of(i)}decomposeLeft(e,n){n.push(new Xn(e-1),null)}decomposeRight(e,n){n.push(null,new Xn(this.length-e-1))}updateHeight(e,n=0,i=!1,r){let s=n+this.length;if(r&&r.from<=n+this.length&&r.more){let o=[],a=Math.max(n,r.from),l=-1,c=e.heightChanged;for(r.from>n&&o.push(new Xn(r.from-n-1).updateHeight(e,n));a<=s&&r.more;){let O=e.doc.lineAt(a).length;o.length&&o.push(null);let f=r.heights[r.index++];l==-1?l=f:Math.abs(f-l)>=wh&&(l=-2);let h=new Si(O,f);h.outdated=!1,o.push(h),a+=O+1}a<=s&&o.push(null,new Xn(s-a).updateHeight(e,a));let u=pi.of(o);return e.heightChanged=c||l<0||Math.abs(u.height-this.height)>=wh||Math.abs(l-this.lines(e.doc,n).lineHeight)>=wh,u}else(i||this.outdated)&&(this.setHeight(e,e.heightForGap(n,n+this.length)),this.outdated=!1);return this}toString(){return`gap(${this.length})`}}class iae extends pi{constructor(e,n,i){super(e.length+n+i.length,e.height+i.height,n|(e.outdated||i.outdated?2:0)),this.left=e,this.right=i,this.size=e.size+i.size}get break(){return this.flags&1}blockAt(e,n,i,r){let s=i+this.left.height;return ea))return c;let u=n==Kt.ByPosNoHeight?Kt.ByPosNoHeight:Kt.ByPos;return l?c.join(this.right.lineAt(a,u,i,o,a)):this.left.lineAt(a,u,i,r,s).join(c)}forEachLine(e,n,i,r,s,o){let a=r+this.left.height,l=s+this.left.length+this.break;if(this.break)e=l&&this.right.forEachLine(e,n,i,a,l,o);else{let c=this.lineAt(l,Kt.ByPos,i,r,s);e=e&&c.from<=n&&o(c),n>c.to&&this.right.forEachLine(c.to+1,n,i,a,l,o)}}replace(e,n,i){let r=this.left.length+this.break;if(nthis.left.length)return this.balanced(this.left,this.right.replace(e-r,n-r,i));let s=[];e>0&&this.decomposeLeft(e,s);let o=s.length;for(let a of i)s.push(a);if(e>0&&US(s,o-1),n=i&&n.push(null)),e>i&&this.right.decomposeLeft(e-i,n)}decomposeRight(e,n){let i=this.left.length,r=i+this.break;if(e>=r)return this.right.decomposeRight(e-r,n);e2*n.size||n.size>2*e.size?pi.of(this.break?[e,null,n]:[e,n]):(this.left=e,this.right=n,this.height=e.height+n.height,this.outdated=e.outdated||n.outdated,this.size=e.size+n.size,this.length=e.length+this.break+n.length,this)}updateHeight(e,n=0,i=!1,r){let{left:s,right:o}=this,a=n+s.length+this.break,l=null;return r&&r.from<=n+s.length&&r.more?l=s=s.updateHeight(e,n,i,r):s.updateHeight(e,n,i),r&&r.from<=a+o.length&&r.more?l=o=o.updateHeight(e,a,i,r):o.updateHeight(e,a,i),l?this.balanced(s,o):(this.height=this.left.height+this.right.height,this.outdated=!1,this)}toString(){return this.left+(this.break?" ":"-")+this.right}}function US(t,e){let n,i;t[e]==null&&(n=t[e-1])instanceof Xn&&(i=t[e+1])instanceof Xn&&t.splice(e-1,3,new Xn(n.length+1+i.length))}const rae=5;class B${constructor(e,n){this.pos=e,this.oracle=n,this.nodes=[],this.lineStart=-1,this.lineEnd=-1,this.covering=null,this.writtenTo=e}get isCovered(){return this.covering&&this.nodes[this.nodes.length-1]==this.covering}span(e,n){if(this.lineStart>-1){let i=Math.min(n,this.lineEnd),r=this.nodes[this.nodes.length-1];r instanceof Si?r.length+=i-this.pos:(i>this.pos||!this.isCovered)&&this.nodes.push(new Si(i-this.pos,-1)),this.writtenTo=i,n>i&&(this.nodes.push(null),this.writtenTo++,this.lineStart=-1)}this.pos=n}point(e,n,i){if(e=rae)&&this.addLineDeco(r,s)}else n>e&&this.span(e,n);this.lineEnd>-1&&this.lineEnd-1)return;let{from:e,to:n}=this.oracle.doc.lineAt(this.pos);this.lineStart=e,this.lineEnd=n,this.writtenToe&&this.nodes.push(new Si(this.pos-e,-1)),this.writtenTo=this.pos}blankContent(e,n){let i=new Xn(n-e);return this.oracle.doc.lineAt(e).to==n&&(i.flags|=4),i}ensureLine(){this.enterLine();let e=this.nodes.length?this.nodes[this.nodes.length-1]:null;if(e instanceof Si)return e;let n=new Si(0,-1);return this.nodes.push(n),n}addBlock(e){this.enterLine(),e.type==Ft.WidgetAfter&&!this.isCovered&&this.ensureLine(),this.nodes.push(e),this.writtenTo=this.pos=this.pos+e.length,e.type!=Ft.WidgetBefore&&(this.covering=e)}addLineDeco(e,n){let i=this.ensureLine();i.length+=n,i.collapsed+=n,i.widgetHeight=Math.max(i.widgetHeight,e),this.writtenTo=this.pos=this.pos+n}finish(e){let n=this.nodes.length==0?null:this.nodes[this.nodes.length-1];this.lineStart>-1&&!(n instanceof Si)&&!this.isCovered?this.nodes.push(new Si(0,-1)):(this.writtenToc.clientHeight||c.scrollWidth>c.clientWidth)&&u.overflow!="visible"){let O=c.getBoundingClientRect();i=Math.max(i,O.left),r=Math.min(r,O.right),s=Math.max(s,O.top),o=Math.min(o,O.bottom)}l=u.position=="absolute"||u.position=="fixed"?c.offsetParent:c.parentNode}else if(l.nodeType==11)l=l.host;else break;return{left:i-n.left,right:Math.max(i,r)-n.left,top:s-(n.top+e),bottom:Math.max(s,o)-(n.top+e)}}function lae(t,e){let n=t.getBoundingClientRect();return{left:0,right:n.right-n.left,top:e,bottom:n.bottom-(n.top+e)}}class em{constructor(e,n,i){this.from=e,this.to=n,this.size=i}static same(e,n){if(e.length!=n.length)return!1;for(let i=0;itypeof n!="function"),this.heightMap=pi.empty().applyChanges(this.stateDeco,Xt.empty,this.heightOracle.setDoc(e.doc),[new ms(0,0,0,e.doc.length)]),this.viewport=this.getViewport(0,null),this.updateViewportLines(),this.updateForViewport(),this.lineGaps=this.ensureLineGaps([]),this.lineGapDeco=je.set(this.lineGaps.map(n=>n.draw(!1))),this.computeVisibleRanges()}updateForViewport(){let e=[this.viewport],{main:n}=this.state.selection;for(let i=0;i<=1;i++){let r=i?n.head:n.anchor;if(!e.some(({from:s,to:o})=>r>=s&&r<=o)){let{from:s,to:o}=this.lineBlockAt(r);e.push(new IO(s,o))}}this.viewports=e.sort((i,r)=>i.from-r.from),this.scaler=this.heightMap.height<=7e6?MS:new Oae(this.heightOracle.doc,this.heightMap,this.viewports)}updateViewportLines(){this.viewportLines=[],this.heightMap.forEachLine(this.viewport.from,this.viewport.to,this.state.doc,0,0,e=>{this.viewportLines.push(this.scaler.scale==1?e:tu(e,this.scaler))})}update(e,n=null){this.state=e.state;let i=this.stateDeco;this.stateDeco=this.state.facet(ef).filter(c=>typeof c!="function");let r=e.changedRanges,s=ms.extendWithRanges(r,sae(i,this.stateDeco,e?e.changes:yn.empty(this.state.doc.length))),o=this.heightMap.height;this.heightMap=this.heightMap.applyChanges(this.stateDeco,e.startState.doc,this.heightOracle.setDoc(this.state.doc),s),this.heightMap.height!=o&&(e.flags|=2);let a=s.length?this.mapViewport(this.viewport,e.changes):this.viewport;(n&&(n.range.heada.to)||!this.viewportIsAppropriate(a))&&(a=this.getViewport(0,n));let l=!e.changes.empty||e.flags&2||a.from!=this.viewport.from||a.to!=this.viewport.to;this.viewport=a,this.updateForViewport(),l&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(this.mapLineGaps(this.lineGaps,e.changes))),e.flags|=this.computeVisibleRanges(),n&&(this.scrollTarget=n),!this.mustEnforceCursorAssoc&&e.selectionSet&&e.view.lineWrapping&&e.state.selection.main.empty&&e.state.selection.main.assoc&&(this.mustEnforceCursorAssoc=!0)}measure(e){let n=e.contentDOM,i=window.getComputedStyle(n),r=this.heightOracle,s=i.whiteSpace;this.defaultTextDirection=i.direction=="rtl"?sn.RTL:sn.LTR;let o=this.heightOracle.mustRefreshForWrapping(s),a=o||this.mustMeasureContent||this.contentDOMHeight!=n.clientHeight;this.contentDOMHeight=n.clientHeight,this.mustMeasureContent=!1;let l=0,c=0,u=parseInt(i.paddingTop)||0,O=parseInt(i.paddingBottom)||0;(this.paddingTop!=u||this.paddingBottom!=O)&&(this.paddingTop=u,this.paddingBottom=O,l|=10),this.editorWidth!=e.scrollDOM.clientWidth&&(r.lineWrapping&&(a=!0),this.editorWidth=e.scrollDOM.clientWidth,l|=8);let f=(this.printing?lae:aae)(n,this.paddingTop),h=f.top-this.pixelViewport.top,p=f.bottom-this.pixelViewport.bottom;this.pixelViewport=f;let y=this.pixelViewport.bottom>this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left;if(y!=this.inView&&(this.inView=y,y&&(a=!0)),!this.inView)return 0;let $=n.clientWidth;if((this.contentDOMWidth!=$||this.editorHeight!=e.scrollDOM.clientHeight)&&(this.contentDOMWidth=$,this.editorHeight=e.scrollDOM.clientHeight,l|=8),a){let d=e.docView.measureVisibleLineHeights(this.viewport);if(r.mustRefreshForHeights(d)&&(o=!0),o||r.lineWrapping&&Math.abs($-this.contentDOMWidth)>r.charWidth){let{lineHeight:g,charWidth:v}=e.docView.measureTextSize();o=r.refresh(s,g,v,$/v,d),o&&(e.docView.minWidth=0,l|=8)}h>0&&p>0?c=Math.max(h,p):h<0&&p<0&&(c=Math.min(h,p)),r.heightChanged=!1;for(let g of this.viewports){let v=g.from==this.viewport.from?d:e.docView.measureVisibleLineHeights(g);this.heightMap=this.heightMap.updateHeight(r,0,o,new nae(g.from,v))}r.heightChanged&&(l|=2)}let m=!this.viewportIsAppropriate(this.viewport,c)||this.scrollTarget&&(this.scrollTarget.range.headthis.viewport.to);return m&&(this.viewport=this.getViewport(c,this.scrollTarget)),this.updateForViewport(),(l&2||m)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(o?[]:this.lineGaps)),l|=this.computeVisibleRanges(),this.mustEnforceCursorAssoc&&(this.mustEnforceCursorAssoc=!1,e.docView.enforceCursorAssoc()),l}get visibleTop(){return this.scaler.fromDOM(this.pixelViewport.top)}get visibleBottom(){return this.scaler.fromDOM(this.pixelViewport.bottom)}getViewport(e,n){let i=.5-Math.max(-.5,Math.min(.5,e/1e3/2)),r=this.heightMap,s=this.state.doc,{visibleTop:o,visibleBottom:a}=this,l=new IO(r.lineAt(o-i*1e3,Kt.ByHeight,s,0,0).from,r.lineAt(a+(1-i)*1e3,Kt.ByHeight,s,0,0).to);if(n){let{head:c}=n.range;if(cl.to){let u=Math.min(this.editorHeight,this.pixelViewport.bottom-this.pixelViewport.top),O=r.lineAt(c,Kt.ByPos,s,0,0),f;n.y=="center"?f=(O.top+O.bottom)/2-u/2:n.y=="start"||n.y=="nearest"&&c=a+Math.max(10,Math.min(i,250)))&&r>o-2*1e3&&si.from&&a.push({from:i.from,to:s}),o=i.from&&l.from<=i.to&&BS(a,l.from-10,l.from+10),!l.empty&&l.to>=i.from&&l.to<=i.to&&BS(a,l.to-10,l.to+10);for(let{from:c,to:u}of a)u-c>1e3&&n.push(fae(e,O=>O.from>=i.from&&O.to<=i.to&&Math.abs(O.from-c)<1e3&&Math.abs(O.to-u)<1e3)||new em(c,u,this.gapSize(i,c,u,r)))}return n}gapSize(e,n,i,r){let s=LS(r,i)-LS(r,n);return this.heightOracle.lineWrapping?e.height*s:r.total*this.heightOracle.charWidth*s}updateLineGaps(e){em.same(e,this.lineGaps)||(this.lineGaps=e,this.lineGapDeco=je.set(e.map(n=>n.draw(this.heightOracle.lineWrapping))))}computeVisibleRanges(){let e=this.stateDeco;this.lineGaps.length&&(e=e.concat(this.lineGapDeco));let n=[];zt.spans(e,this.viewport.from,this.viewport.to,{span(r,s){n.push({from:r,to:s})},point(){}},20);let i=n.length!=this.visibleRanges.length||this.visibleRanges.some((r,s)=>r.from!=n[s].from||r.to!=n[s].to);return this.visibleRanges=n,i?4:0}lineBlockAt(e){return e>=this.viewport.from&&e<=this.viewport.to&&this.viewportLines.find(n=>n.from<=e&&n.to>=e)||tu(this.heightMap.lineAt(e,Kt.ByPos,this.state.doc,0,0),this.scaler)}lineBlockAtHeight(e){return tu(this.heightMap.lineAt(this.scaler.fromDOM(e),Kt.ByHeight,this.state.doc,0,0),this.scaler)}elementAtHeight(e){return tu(this.heightMap.blockAt(this.scaler.fromDOM(e),this.state.doc,0,0),this.scaler)}get docHeight(){return this.scaler.toDOM(this.heightMap.height)}get contentHeight(){return this.docHeight+this.paddingTop+this.paddingBottom}}class IO{constructor(e,n){this.from=e,this.to=n}}function uae(t,e,n){let i=[],r=t,s=0;return zt.spans(n,t,e,{span(){},point(o,a){o>r&&(i.push({from:r,to:o}),s+=o-r),r=a}},20),r=1)return e[e.length-1].to;let i=Math.floor(t*n);for(let r=0;;r++){let{from:s,to:o}=e[r],a=o-s;if(i<=a)return s+i;i-=a}}function LS(t,e){let n=0;for(let{from:i,to:r}of t.ranges){if(e<=r){n+=e-i;break}n+=r-i}return n/t.total}function BS(t,e,n){for(let i=0;ie){let s=[];r.fromn&&s.push({from:n,to:r.to}),t.splice(i,1,...s),i+=s.length-1}}}function fae(t,e){for(let n of t)if(e(n))return n}const MS={toDOM(t){return t},fromDOM(t){return t},scale:1};class Oae{constructor(e,n,i){let r=0,s=0,o=0;this.viewports=i.map(({from:a,to:l})=>{let c=n.lineAt(a,Kt.ByPos,e,0,0).top,u=n.lineAt(l,Kt.ByPos,e,0,0).bottom;return r+=u-c,{from:a,to:l,top:c,bottom:u,domTop:0,domBottom:0}}),this.scale=(7e6-r)/(n.height-r);for(let a of this.viewports)a.domTop=o+(a.top-s)*this.scale,o=a.domBottom=a.domTop+(a.bottom-a.top),s=a.bottom}toDOM(e){for(let n=0,i=0,r=0;;n++){let s=ntu(r,e)):t.type)}const UO=Ge.define({combine:t=>t.join(" ")}),Cv=Ge.define({combine:t=>t.indexOf(!0)>-1}),Tv=Po.newName(),z5=Po.newName(),I5=Po.newName(),q5={"&light":"."+z5,"&dark":"."+I5};function Rv(t,e,n){return new Po(e,{finish(i){return/&/.test(i)?i.replace(/&\w*/,r=>{if(r=="&")return t;if(!n||!n[r])throw new RangeError(`Unsupported selector: ${r}`);return n[r]}):t+" "+i}})}const hae=Rv("."+Tv,{"&.cm-editor":{position:"relative !important",boxSizing:"border-box","&.cm-focused":{outline:"1px dotted #212121"},display:"flex !important",flexDirection:"column"},".cm-scroller":{display:"flex !important",alignItems:"flex-start !important",fontFamily:"monospace",lineHeight:1.4,height:"100%",overflowX:"auto",position:"relative",zIndex:0},".cm-content":{margin:0,flexGrow:2,flexShrink:0,minHeight:"100%",display:"block",whiteSpace:"pre",wordWrap:"normal",boxSizing:"border-box",padding:"4px 0",outline:"none","&[contenteditable=true]":{WebkitUserModify:"read-write-plaintext-only"}},".cm-lineWrapping":{whiteSpace_fallback:"pre-wrap",whiteSpace:"break-spaces",wordBreak:"break-word",overflowWrap:"anywhere",flexShrink:1},"&light .cm-content":{caretColor:"black"},"&dark .cm-content":{caretColor:"white"},".cm-line":{display:"block",padding:"0 2px 0 4px"},".cm-selectionLayer":{zIndex:-1,contain:"size style"},".cm-selectionBackground":{position:"absolute"},"&light .cm-selectionBackground":{background:"#d9d9d9"},"&dark .cm-selectionBackground":{background:"#222"},"&light.cm-focused .cm-selectionBackground":{background:"#d7d4f0"},"&dark.cm-focused .cm-selectionBackground":{background:"#233"},".cm-cursorLayer":{zIndex:100,contain:"size style",pointerEvents:"none"},"&.cm-focused .cm-cursorLayer":{animation:"steps(1) cm-blink 1.2s infinite"},"@keyframes cm-blink":{"0%":{},"50%":{opacity:0},"100%":{}},"@keyframes cm-blink2":{"0%":{},"50%":{opacity:0},"100%":{}},".cm-cursor, .cm-dropCursor":{position:"absolute",borderLeft:"1.2px solid black",marginLeft:"-0.6px",pointerEvents:"none"},".cm-cursor":{display:"none"},"&dark .cm-cursor":{borderLeftColor:"#444"},"&.cm-focused .cm-cursor":{display:"block"},"&light .cm-activeLine":{backgroundColor:"#f3f9ff"},"&dark .cm-activeLine":{backgroundColor:"#223039"},"&light .cm-specialChar":{color:"red"},"&dark .cm-specialChar":{color:"#f78"},".cm-gutters":{display:"flex",height:"100%",boxSizing:"border-box",left:0,zIndex:200},"&light .cm-gutters":{backgroundColor:"#f5f5f5",color:"#6c6c6c",borderRight:"1px solid #ddd"},"&dark .cm-gutters":{backgroundColor:"#333338",color:"#ccc"},".cm-gutter":{display:"flex !important",flexDirection:"column",flexShrink:0,boxSizing:"border-box",minHeight:"100%",overflow:"hidden"},".cm-gutterElement":{boxSizing:"border-box"},".cm-lineNumbers .cm-gutterElement":{padding:"0 3px 0 5px",minWidth:"20px",textAlign:"right",whiteSpace:"nowrap"},"&light .cm-activeLineGutter":{backgroundColor:"#e2f2ff"},"&dark .cm-activeLineGutter":{backgroundColor:"#222227"},".cm-panels":{boxSizing:"border-box",position:"sticky",left:0,right:0},"&light .cm-panels":{backgroundColor:"#f5f5f5",color:"black"},"&light .cm-panels-top":{borderBottom:"1px solid #ddd"},"&light .cm-panels-bottom":{borderTop:"1px solid #ddd"},"&dark .cm-panels":{backgroundColor:"#333338",color:"white"},".cm-tab":{display:"inline-block",overflow:"hidden",verticalAlign:"bottom"},".cm-widgetBuffer":{verticalAlign:"text-top",height:"1em",display:"inline"},".cm-placeholder":{color:"#888",display:"inline-block",verticalAlign:"top"},".cm-button":{verticalAlign:"middle",color:"inherit",fontSize:"70%",padding:".2em 1em",borderRadius:"1px"},"&light .cm-button":{backgroundImage:"linear-gradient(#eff1f5, #d9d9df)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#b4b4b4, #d0d3d6)"}},"&dark .cm-button":{backgroundImage:"linear-gradient(#393939, #111)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#111, #333)"}},".cm-textfield":{verticalAlign:"middle",color:"inherit",fontSize:"70%",border:"1px solid silver",padding:".2em .5em"},"&light .cm-textfield":{backgroundColor:"white"},"&dark .cm-textfield":{border:"1px solid #555",backgroundColor:"inherit"}},q5),dae={childList:!0,characterData:!0,subtree:!0,attributes:!0,characterDataOldValue:!0},tm=He.ie&&He.ie_version<=11;class pae{constructor(e,n,i){this.view=e,this.onChange=n,this.onScrollChanged=i,this.active=!1,this.selectionRange=new poe,this.selectionChanged=!1,this.delayedFlush=-1,this.resizeTimeout=-1,this.queue=[],this.delayedAndroidKey=null,this.scrollTargets=[],this.intersection=null,this.resize=null,this.intersecting=!1,this.gapIntersection=null,this.gaps=[],this.parentCheck=-1,this.dom=e.contentDOM,this.observer=new MutationObserver(r=>{for(let s of r)this.queue.push(s);(He.ie&&He.ie_version<=11||He.ios&&e.composing)&&r.some(s=>s.type=="childList"&&s.removedNodes.length||s.type=="characterData"&&s.oldValue.length>s.target.nodeValue.length)?this.flushSoon():this.flush()}),tm&&(this.onCharData=r=>{this.queue.push({target:r.target,type:"characterData",oldValue:r.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this),window.addEventListener("resize",this.onResize=this.onResize.bind(this)),typeof ResizeObserver=="function"&&(this.resize=new ResizeObserver(()=>{this.view.docView.lastUpdate{this.parentCheck<0&&(this.parentCheck=setTimeout(this.listenForScroll.bind(this),1e3)),r.length>0&&r[r.length-1].intersectionRatio>0!=this.intersecting&&(this.intersecting=!this.intersecting,this.intersecting!=this.view.inView&&this.onScrollChanged(document.createEvent("Event")))},{}),this.intersection.observe(this.dom),this.gapIntersection=new IntersectionObserver(r=>{r.length>0&&r[r.length-1].intersectionRatio>0&&this.onScrollChanged(document.createEvent("Event"))},{})),this.listenForScroll(),this.readSelectionRange(),this.dom.ownerDocument.addEventListener("selectionchange",this.onSelectionChange)}onScroll(e){this.intersecting&&this.flush(!1),this.onScrollChanged(e)}onResize(){this.resizeTimeout<0&&(this.resizeTimeout=setTimeout(()=>{this.resizeTimeout=-1,this.view.requestMeasure()},50))}onPrint(){this.view.viewState.printing=!0,this.view.measure(),setTimeout(()=>{this.view.viewState.printing=!1,this.view.requestMeasure()},500)}updateGaps(e){if(this.gapIntersection&&(e.length!=this.gaps.length||this.gaps.some((n,i)=>n!=e[i]))){this.gapIntersection.disconnect();for(let n of e)this.gapIntersection.observe(n);this.gaps=e}}onSelectionChange(e){if(!this.readSelectionRange()||this.delayedAndroidKey)return;let{view:n}=this,i=this.selectionRange;if(n.state.facet(Pp)?n.root.activeElement!=this.dom:!dv(n.dom,i))return;let r=i.anchorNode&&n.docView.nearest(i.anchorNode);r&&r.ignoreEvent(e)||((He.ie&&He.ie_version<=11||He.android&&He.chrome)&&!n.state.selection.main.empty&&i.focusNode&&ad(i.focusNode,i.focusOffset,i.anchorNode,i.anchorOffset)?this.flushSoon():this.flush(!1))}readSelectionRange(){let{root:e}=this.view,n=He.safari&&e.nodeType==11&&Ooe()==this.view.contentDOM&&mae(this.view)||od(e);return!n||this.selectionRange.eq(n)?!1:(this.selectionRange.setRange(n),this.selectionChanged=!0)}setSelectionRange(e,n){this.selectionRange.set(e.node,e.offset,n.node,n.offset),this.selectionChanged=!1}clearSelectionRange(){this.selectionRange.set(null,0,null,0)}listenForScroll(){this.parentCheck=-1;let e=0,n=null;for(let i=this.dom;i;)if(i.nodeType==1)!n&&e{let i=this.delayedAndroidKey;this.delayedAndroidKey=null,this.delayedFlush=-1,this.flush()||Qu(this.view.contentDOM,i.key,i.keyCode)}),(!this.delayedAndroidKey||e=="Enter")&&(this.delayedAndroidKey={key:e,keyCode:n})}flushSoon(){this.delayedFlush<0&&(this.delayedFlush=window.setTimeout(()=>{this.delayedFlush=-1,this.flush()},20))}forceFlush(){this.delayedFlush>=0&&(window.clearTimeout(this.delayedFlush),this.delayedFlush=-1,this.flush())}processRecords(){let e=this.queue;for(let s of this.observer.takeRecords())e.push(s);e.length&&(this.queue=[]);let n=-1,i=-1,r=!1;for(let s of e){let o=this.readMutation(s);!o||(o.typeOver&&(r=!0),n==-1?{from:n,to:i}=o:(n=Math.min(o.from,n),i=Math.max(o.to,i)))}return{from:n,to:i,typeOver:r}}flush(e=!0){if(this.delayedFlush>=0||this.delayedAndroidKey)return;e&&this.readSelectionRange();let{from:n,to:i,typeOver:r}=this.processRecords(),s=this.selectionChanged&&dv(this.dom,this.selectionRange);if(n<0&&!s)return;this.selectionChanged=!1;let o=this.view.state,a=this.onChange(n,i,r);return this.view.state==o&&this.view.update([]),a}readMutation(e){let n=this.view.docView.nearest(e.target);if(!n||n.ignoreMutation(e))return null;if(n.markDirty(e.type=="attributes"),e.type=="attributes"&&(n.dirty|=4),e.type=="childList"){let i=YS(n,e.previousSibling||e.target.previousSibling,-1),r=YS(n,e.nextSibling||e.target.nextSibling,1);return{from:i?n.posAfter(i):n.posAtStart,to:r?n.posBefore(r):n.posAtEnd,typeOver:!1}}else return e.type=="characterData"?{from:n.posAtStart,to:n.posAtEnd,typeOver:e.target.nodeValue==e.oldValue}:null}destroy(){var e,n,i;this.stop(),(e=this.intersection)===null||e===void 0||e.disconnect(),(n=this.gapIntersection)===null||n===void 0||n.disconnect(),(i=this.resize)===null||i===void 0||i.disconnect();for(let r of this.scrollTargets)r.removeEventListener("scroll",this.onScroll);window.removeEventListener("scroll",this.onScroll),window.removeEventListener("resize",this.onResize),window.removeEventListener("beforeprint",this.onPrint),this.dom.ownerDocument.removeEventListener("selectionchange",this.onSelectionChange),clearTimeout(this.parentCheck),clearTimeout(this.resizeTimeout)}}function YS(t,e,n){for(;e;){let i=tn.get(e);if(i&&i.parent==t)return i;let r=e.parentNode;e=r!=t.dom?r:n>0?e.nextSibling:e.previousSibling}return null}function mae(t){let e=null;function n(l){l.preventDefault(),l.stopImmediatePropagation(),e=l.getTargetRanges()[0]}if(t.contentDOM.addEventListener("beforeinput",n,!0),document.execCommand("indent"),t.contentDOM.removeEventListener("beforeinput",n,!0),!e)return null;let i=e.startContainer,r=e.startOffset,s=e.endContainer,o=e.endOffset,a=t.docView.domAtPos(t.state.selection.main.anchor);return ad(a.node,a.offset,s,o)&&([i,r,s,o]=[s,o,i,r]),{anchorNode:i,anchorOffset:r,focusNode:s,focusOffset:o}}function gae(t,e,n,i){let r,s,o=t.state.selection.main;if(e>-1){let a=t.docView.domBoundsAround(e,n,0);if(!a||t.state.readOnly)return!1;let{from:l,to:c}=a,u=t.docView.impreciseHead||t.docView.impreciseAnchor?[]:yae(t),O=new Q5(u,t.state);O.readRange(a.startDOM,a.endDOM);let f=o.from,h=null;(t.inputState.lastKeyCode===8&&t.inputState.lastKeyTime>Date.now()-100||He.android&&O.text.length=o.from&&r.to<=o.to&&(r.from!=o.from||r.to!=o.to)&&o.to-o.from-(r.to-r.from)<=4?r={from:o.from,to:o.to,insert:t.state.doc.slice(o.from,r.from).append(r.insert).append(t.state.doc.slice(r.to,o.to))}:(He.mac||He.android)&&r&&r.from==r.to&&r.from==o.head-1&&r.insert.toString()=="."&&(r={from:o.from,to:o.to,insert:Xt.of([" "])}),r){let a=t.state;if(He.ios&&t.inputState.flushIOSKey(t)||He.android&&(r.from==o.from&&r.to==o.to&&r.insert.length==1&&r.insert.lines==2&&Qu(t.contentDOM,"Enter",13)||r.from==o.from-1&&r.to==o.to&&r.insert.length==0&&Qu(t.contentDOM,"Backspace",8)||r.from==o.from&&r.to==o.to+1&&r.insert.length==0&&Qu(t.contentDOM,"Delete",46)))return!0;let l=r.insert.toString();if(t.state.facet(d5).some(O=>O(t,r.from,r.to,l)))return!0;t.inputState.composing>=0&&t.inputState.composing++;let c;if(r.from>=o.from&&r.to<=o.to&&r.to-r.from>=(o.to-o.from)/3&&(!s||s.main.empty&&s.main.from==r.from+r.insert.length)&&t.inputState.composing<0){let O=o.fromr.to?a.sliceDoc(r.to,o.to):"";c=a.replaceSelection(t.state.toText(O+r.insert.sliceString(0,void 0,t.state.lineBreak)+f))}else{let O=a.changes(r),f=s&&!a.selection.main.eq(s.main)&&s.main.to<=O.newLength?s.main:void 0;if(a.selection.ranges.length>1&&t.inputState.composing>=0&&r.to<=o.to&&r.to>=o.to-10){let h=t.state.sliceDoc(r.from,r.to),p=S5(t)||t.state.doc.lineAt(o.head),y=o.to-r.to,$=o.to-o.from;c=a.changeByRange(m=>{if(m.from==o.from&&m.to==o.to)return{changes:O,range:f||m.map(O)};let d=m.to-y,g=d-h.length;if(m.to-m.from!=$||t.state.sliceDoc(g,d)!=h||p&&m.to>=p.from&&m.from<=p.to)return{range:m};let v=a.changes({from:g,to:d,insert:r.insert}),b=m.to-o.to;return{changes:v,range:f?we.range(Math.max(0,f.anchor+b),Math.max(0,f.head+b)):m.map(v)}})}else c={changes:O,selection:f&&a.selection.replaceRange(f)}}let u="input.type";return t.composing&&(u+=".compose",t.inputState.compositionFirstChange&&(u+=".start",t.inputState.compositionFirstChange=!1)),t.dispatch(c,{scrollIntoView:!0,userEvent:u}),!0}else if(s&&!s.main.eq(o)){let a=!1,l="select";return t.inputState.lastSelectionTime>Date.now()-50&&(t.inputState.lastSelectionOrigin=="select"&&(a=!0),l=t.inputState.lastSelectionOrigin),t.dispatch({selection:s,scrollIntoView:a,userEvent:l}),!0}else return!1}function vae(t,e,n,i){let r=Math.min(t.length,e.length),s=0;for(;s0&&a>0&&t.charCodeAt(o-1)==e.charCodeAt(a-1);)o--,a--;if(i=="end"){let l=Math.max(0,s-Math.min(o,a));n-=o+l-s}return o=o?s-n:0,a=s+(a-o),o=s):a=a?s-n:0,o=s+(o-a),a=s),{from:s,toA:o,toB:a}}function yae(t){let e=[];if(t.root.activeElement!=t.contentDOM)return e;let{anchorNode:n,anchorOffset:i,focusNode:r,focusOffset:s}=t.observer.selectionRange;return n&&(e.push(new _S(n,i)),(r!=n||s!=i)&&e.push(new _S(r,s))),e}function $ae(t,e){if(t.length==0)return null;let n=t[0].pos,i=t.length==2?t[1].pos:n;return n>-1&&i>-1?we.single(n+e,i+e):null}class Ve{constructor(e={}){this.plugins=[],this.pluginMap=new Map,this.editorAttrs={},this.contentAttrs={},this.bidiCache=[],this.destroyed=!1,this.updateState=2,this.measureScheduled=-1,this.measureRequests=[],this.contentDOM=document.createElement("div"),this.scrollDOM=document.createElement("div"),this.scrollDOM.tabIndex=-1,this.scrollDOM.className="cm-scroller",this.scrollDOM.appendChild(this.contentDOM),this.announceDOM=document.createElement("div"),this.announceDOM.style.cssText="position: absolute; top: -10000px",this.announceDOM.setAttribute("aria-live","polite"),this.dom=document.createElement("div"),this.dom.appendChild(this.announceDOM),this.dom.appendChild(this.scrollDOM),this._dispatch=e.dispatch||(n=>this.update([n])),this.dispatch=this.dispatch.bind(this),this.root=e.root||moe(e.parent)||document,this.viewState=new DS(e.state||St.create(e)),this.plugins=this.state.facet(Jc).map(n=>new H0(n));for(let n of this.plugins)n.update(this);this.observer=new pae(this,(n,i,r)=>gae(this,n,i,r),n=>{this.inputState.runScrollHandlers(this,n),this.observer.intersecting&&this.measure()}),this.inputState=new Moe(this),this.inputState.ensureHandlers(this,this.plugins),this.docView=new QS(this),this.mountStyles(),this.updateAttrs(),this.updateState=0,this.requestMeasure(),e.parent&&e.parent.appendChild(this.dom)}get state(){return this.viewState.state}get viewport(){return this.viewState.viewport}get visibleRanges(){return this.viewState.visibleRanges}get inView(){return this.viewState.inView}get composing(){return this.inputState.composing>0}get compositionStarted(){return this.inputState.composing>=0}dispatch(...e){this._dispatch(e.length==1&&e[0]instanceof $n?e[0]:this.state.update(...e))}update(e){if(this.updateState!=0)throw new Error("Calls to EditorView.update are not allowed while an update is in progress");let n=!1,i=!1,r,s=this.state;for(let a of e){if(a.startState!=s)throw new RangeError("Trying to update state with a transaction that doesn't start from the previous state.");s=a.state}if(this.destroyed){this.viewState.state=s;return}if(this.observer.clear(),s.facet(St.phrases)!=this.state.facet(St.phrases))return this.setState(s);r=ud.create(this,s,e);let o=this.viewState.scrollTarget;try{this.updateState=2;for(let a of e){if(o&&(o=o.map(a.changes)),a.scrollIntoView){let{main:l}=a.state.selection;o=new cd(l.empty?l:we.cursor(l.head,l.head>l.anchor?-1:1))}for(let l of a.effects)l.is($S)&&(o=l.value)}this.viewState.update(r,o),this.bidiCache=fd.update(this.bidiCache,r.changes),r.empty||(this.updatePlugins(r),this.inputState.update(r)),n=this.docView.update(r),this.state.facet(eu)!=this.styleModules&&this.mountStyles(),i=this.updateAttrs(),this.showAnnouncements(e),this.docView.updateSelection(n,e.some(a=>a.isUserEvent("select.pointer")))}finally{this.updateState=0}if(r.startState.facet(UO)!=r.state.facet(UO)&&(this.viewState.mustMeasureContent=!0),(n||i||o||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),!r.empty)for(let a of this.state.facet(Sv))a(r)}setState(e){if(this.updateState!=0)throw new Error("Calls to EditorView.setState are not allowed while an update is in progress");if(this.destroyed){this.viewState.state=e;return}this.updateState=2;let n=this.hasFocus;try{for(let i of this.plugins)i.destroy(this);this.viewState=new DS(e),this.plugins=e.facet(Jc).map(i=>new H0(i)),this.pluginMap.clear();for(let i of this.plugins)i.update(this);this.docView=new QS(this),this.inputState.ensureHandlers(this,this.plugins),this.mountStyles(),this.updateAttrs(),this.bidiCache=[]}finally{this.updateState=0}n&&this.focus(),this.requestMeasure()}updatePlugins(e){let n=e.startState.facet(Jc),i=e.state.facet(Jc);if(n!=i){let r=[];for(let s of i){let o=n.indexOf(s);if(o<0)r.push(new H0(s));else{let a=this.plugins[o];a.mustUpdate=e,r.push(a)}}for(let s of this.plugins)s.mustUpdate!=e&&s.destroy(this);this.plugins=r,this.pluginMap.clear(),this.inputState.ensureHandlers(this,this.plugins)}else for(let r of this.plugins)r.mustUpdate=e;for(let r=0;r-1&&cancelAnimationFrame(this.measureScheduled),this.measureScheduled=0,e&&this.observer.flush();let n=null;try{for(let i=0;;i++){this.updateState=1;let r=this.viewport,s=this.viewState.measure(this);if(!s&&!this.measureRequests.length&&this.viewState.scrollTarget==null)break;if(i>5){console.warn(this.measureRequests.length?"Measure loop restarted more than 5 times":"Viewport failed to stabilize");break}let o=[];s&4||([this.measureRequests,o]=[o,this.measureRequests]);let a=o.map(O=>{try{return O.read(this)}catch(f){return zi(this.state,f),ZS}}),l=ud.create(this,this.state,[]),c=!1,u=!1;l.flags|=s,n?n.flags|=s:n=l,this.updateState=2,l.empty||(this.updatePlugins(l),this.inputState.update(l),this.updateAttrs(),c=this.docView.update(l));for(let O=0;O{let r=_v(this.contentDOM,this.contentAttrs,n),s=_v(this.dom,this.editorAttrs,e);return r||s});return this.editorAttrs=e,this.contentAttrs=n,i}showAnnouncements(e){let n=!0;for(let i of e)for(let r of i.effects)if(r.is(Ve.announce)){n&&(this.announceDOM.textContent=""),n=!1;let s=this.announceDOM.appendChild(document.createElement("div"));s.textContent=r.value}}mountStyles(){this.styleModules=this.state.facet(eu),Po.mount(this.root,this.styleModules.concat(hae).reverse())}readMeasured(){if(this.updateState==2)throw new Error("Reading the editor layout isn't allowed during an update");this.updateState==0&&this.measureScheduled>-1&&this.measure(!1)}requestMeasure(e){if(this.measureScheduled<0&&(this.measureScheduled=requestAnimationFrame(()=>this.measure())),e){if(e.key!=null){for(let n=0;ni.spec==e)||null),n&&n.update(this).value}get documentTop(){return this.contentDOM.getBoundingClientRect().top+this.viewState.paddingTop}get documentPadding(){return{top:this.viewState.paddingTop,bottom:this.viewState.paddingBottom}}elementAtHeight(e){return this.readMeasured(),this.viewState.elementAtHeight(e)}lineBlockAtHeight(e){return this.readMeasured(),this.viewState.lineBlockAtHeight(e)}get viewportLineBlocks(){return this.viewState.viewportLines}lineBlockAt(e){return this.viewState.lineBlockAt(e)}get contentHeight(){return this.viewState.contentHeight}moveByChar(e,n,i){return J0(this,e,CS(this,e,n,i))}moveByGroup(e,n){return J0(this,e,CS(this,e,n,i=>Loe(this,e.head,i)))}moveToLineBoundary(e,n,i=!0){return Doe(this,e,n,i)}moveVertically(e,n,i){return J0(this,e,Boe(this,e,n,i))}domAtPos(e){return this.docView.domAtPos(e)}posAtDOM(e,n=0){return this.docView.posFromDOM(e,n)}posAtCoords(e,n=!0){return this.readMeasured(),x5(this,e,n)}coordsAtPos(e,n=1){this.readMeasured();let i=this.docView.coordsAt(e,n);if(!i||i.left==i.right)return i;let r=this.state.doc.lineAt(e),s=this.bidiSpans(r),o=s[Tl.find(s,e-r.from,-1,n)];return Sp(i,o.dir==sn.LTR==n>0)}get defaultCharacterWidth(){return this.viewState.heightOracle.charWidth}get defaultLineHeight(){return this.viewState.heightOracle.lineHeight}get textDirection(){return this.viewState.defaultTextDirection}textDirectionAt(e){return!this.state.facet(p5)||ethis.viewport.to?this.textDirection:(this.readMeasured(),this.docView.textDirectionAt(e))}get lineWrapping(){return this.viewState.heightOracle.lineWrapping}bidiSpans(e){if(e.length>bae)return b5(e.length);let n=this.textDirectionAt(e.from);for(let r of this.bidiCache)if(r.from==e.from&&r.dir==n)return r.order;let i=xoe(e.text,n);return this.bidiCache.push(new fd(e.from,e.to,n,i)),i}get hasFocus(){var e;return(document.hasFocus()||He.safari&&((e=this.inputState)===null||e===void 0?void 0:e.lastContextMenu)>Date.now()-3e4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore(()=>{HR(this.contentDOM),this.docView.updateSelection()})}destroy(){for(let e of this.plugins)e.destroy(this);this.plugins=[],this.inputState.destroy(),this.dom.remove(),this.observer.destroy(),this.measureScheduled>-1&&cancelAnimationFrame(this.measureScheduled),this.destroyed=!0}static scrollIntoView(e,n={}){return $S.of(new cd(typeof e=="number"?we.cursor(e):e,n.y,n.x,n.yMargin,n.xMargin))}static domEventHandlers(e){return un.define(()=>({}),{eventHandlers:e})}static theme(e,n){let i=Po.newName(),r=[UO.of(i),eu.of(Rv(`.${i}`,e))];return n&&n.dark&&r.push(Cv.of(!0)),r}static baseTheme(e){return qo.lowest(eu.of(Rv("."+Tv,e,q5)))}static findFromDOM(e){var n;let i=e.querySelector(".cm-content"),r=i&&tn.get(i)||tn.get(e);return((n=r==null?void 0:r.rootView)===null||n===void 0?void 0:n.view)||null}}Ve.styleModule=eu;Ve.inputHandler=d5;Ve.perLineTextDirection=p5;Ve.exceptionSink=h5;Ve.updateListener=Sv;Ve.editable=Pp;Ve.mouseSelectionStyle=O5;Ve.dragMovesSelection=f5;Ve.clickAddsSelectionRange=u5;Ve.decorations=ef;Ve.atomicRanges=v5;Ve.scrollMargins=y5;Ve.darkTheme=Cv;Ve.contentAttributes=g5;Ve.editorAttributes=m5;Ve.lineWrapping=Ve.contentAttributes.of({class:"cm-lineWrapping"});Ve.announce=ut.define();const bae=4096,ZS={};class fd{constructor(e,n,i,r){this.from=e,this.to=n,this.dir=i,this.order=r}static update(e,n){if(n.empty)return e;let i=[],r=e.length?e[e.length-1].dir:sn.LTR;for(let s=Math.max(0,e.length-10);s=0;r--){let s=i[r],o=typeof s=="function"?s(t):s;o&&bv(o,n)}return n}const _ae=He.mac?"mac":He.windows?"win":He.linux?"linux":"key";function Qae(t,e){const n=t.split(/-(?!$)/);let i=n[n.length-1];i=="Space"&&(i=" ");let r,s,o,a;for(let l=0;li.concat(r),[]))),n}function wae(t,e,n){return D5(U5(t.state),e,t,n)}let ro=null;const xae=4e3;function Pae(t,e=_ae){let n=Object.create(null),i=Object.create(null),r=(o,a)=>{let l=i[o];if(l==null)i[o]=a;else if(l!=a)throw new Error("Key binding "+o+" is used both as a regular binding and as a multi-stroke prefix")},s=(o,a,l,c)=>{let u=n[o]||(n[o]=Object.create(null)),O=a.split(/ (?!$)/).map(p=>Qae(p,e));for(let p=1;p{let m=ro={view:$,prefix:y,scope:o};return setTimeout(()=>{ro==m&&(ro=null)},xae),!0}]})}let f=O.join(" ");r(f,!1);let h=u[f]||(u[f]={preventDefault:!1,commands:[]});h.commands.push(l),c&&(h.preventDefault=!0)};for(let o of t){let a=o[e]||o.key;if(!!a)for(let l of o.scope?o.scope.split(" "):["editor"])s(l,a,o.run,o.preventDefault),o.shift&&s(l,"Shift-"+a,o.shift,o.preventDefault)}return n}function D5(t,e,n,i){let r=foe(e),s=Wn(r,0),o=xi(s)==r.length&&r!=" ",a="",l=!1;ro&&ro.view==n&&ro.scope==i&&(a=ro.prefix+" ",(l=k5.indexOf(e.keyCode)<0)&&(ro=null));let c=f=>{if(f){for(let h of f.commands)if(h(n))return!0;f.preventDefault&&(l=!0)}return!1},u=t[i],O;if(u){if(c(u[a+DO(r,e,!o)]))return!0;if(o&&(e.shiftKey||e.altKey||e.metaKey||s>127)&&(O=ko[e.keyCode])&&O!=r){if(c(u[a+DO(O,e,!0)]))return!0;if(e.shiftKey&&Kl[e.keyCode]!=O&&c(u[a+DO(Kl[e.keyCode],e,!1)]))return!0}else if(o&&e.shiftKey&&c(u[a+DO(r,e,!0)]))return!0}return l}const L5=!He.ios,nu=Ge.define({combine(t){return As(t,{cursorBlinkRate:1200,drawRangeCursor:!0},{cursorBlinkRate:(e,n)=>Math.min(e,n),drawRangeCursor:(e,n)=>e||n})}});function kae(t={}){return[nu.of(t),Cae,Tae]}class B5{constructor(e,n,i,r,s){this.left=e,this.top=n,this.width=i,this.height=r,this.className=s}draw(){let e=document.createElement("div");return e.className=this.className,this.adjust(e),e}adjust(e){e.style.left=this.left+"px",e.style.top=this.top+"px",this.width>=0&&(e.style.width=this.width+"px"),e.style.height=this.height+"px"}eq(e){return this.left==e.left&&this.top==e.top&&this.width==e.width&&this.height==e.height&&this.className==e.className}}const Cae=un.fromClass(class{constructor(t){this.view=t,this.rangePieces=[],this.cursors=[],this.measureReq={read:this.readPos.bind(this),write:this.drawSel.bind(this)},this.selectionLayer=t.scrollDOM.appendChild(document.createElement("div")),this.selectionLayer.className="cm-selectionLayer",this.selectionLayer.setAttribute("aria-hidden","true"),this.cursorLayer=t.scrollDOM.appendChild(document.createElement("div")),this.cursorLayer.className="cm-cursorLayer",this.cursorLayer.setAttribute("aria-hidden","true"),t.requestMeasure(this.measureReq),this.setBlinkRate()}setBlinkRate(){this.cursorLayer.style.animationDuration=this.view.state.facet(nu).cursorBlinkRate+"ms"}update(t){let e=t.startState.facet(nu)!=t.state.facet(nu);(e||t.selectionSet||t.geometryChanged||t.viewportChanged)&&this.view.requestMeasure(this.measureReq),t.transactions.some(n=>n.scrollIntoView)&&(this.cursorLayer.style.animationName=this.cursorLayer.style.animationName=="cm-blink"?"cm-blink2":"cm-blink"),e&&this.setBlinkRate()}readPos(){let{state:t}=this.view,e=t.facet(nu),n=t.selection.ranges.map(r=>r.empty?[]:Rae(this.view,r)).reduce((r,s)=>r.concat(s)),i=[];for(let r of t.selection.ranges){let s=r==t.selection.main;if(r.empty?!s||L5:e.drawRangeCursor){let o=Aae(this.view,r,s);o&&i.push(o)}}return{rangePieces:n,cursors:i}}drawSel({rangePieces:t,cursors:e}){if(t.length!=this.rangePieces.length||t.some((n,i)=>!n.eq(this.rangePieces[i]))){this.selectionLayer.textContent="";for(let n of t)this.selectionLayer.appendChild(n.draw());this.rangePieces=t}if(e.length!=this.cursors.length||e.some((n,i)=>!n.eq(this.cursors[i]))){let n=this.cursorLayer.children;if(n.length!==e.length){this.cursorLayer.textContent="";for(const i of e)this.cursorLayer.appendChild(i.draw())}else e.forEach((i,r)=>i.adjust(n[r]));this.cursors=e}}destroy(){this.selectionLayer.remove(),this.cursorLayer.remove()}}),M5={".cm-line":{"& ::selection":{backgroundColor:"transparent !important"},"&::selection":{backgroundColor:"transparent !important"}}};L5&&(M5[".cm-line"].caretColor="transparent !important");const Tae=qo.highest(Ve.theme(M5));function Y5(t){let e=t.scrollDOM.getBoundingClientRect();return{left:(t.textDirection==sn.LTR?e.left:e.right-t.scrollDOM.clientWidth)-t.scrollDOM.scrollLeft,top:e.top-t.scrollDOM.scrollTop}}function NS(t,e,n){let i=we.cursor(e);return{from:Math.max(n.from,t.moveToLineBoundary(i,!1,!0).from),to:Math.min(n.to,t.moveToLineBoundary(i,!0,!0).from),type:Ft.Text}}function FS(t,e){let n=t.lineBlockAt(e);if(Array.isArray(n.type)){for(let i of n.type)if(i.to>e||i.to==e&&(i.to==n.to||i.type==Ft.Text))return i}return n}function Rae(t,e){if(e.to<=t.viewport.from||e.from>=t.viewport.to)return[];let n=Math.max(e.from,t.viewport.from),i=Math.min(e.to,t.viewport.to),r=t.textDirection==sn.LTR,s=t.contentDOM,o=s.getBoundingClientRect(),a=Y5(t),l=window.getComputedStyle(s.firstChild),c=o.left+parseInt(l.paddingLeft)+Math.min(0,parseInt(l.textIndent)),u=o.right-parseInt(l.paddingRight),O=FS(t,n),f=FS(t,i),h=O.type==Ft.Text?O:null,p=f.type==Ft.Text?f:null;if(t.lineWrapping&&(h&&(h=NS(t,n,h)),p&&(p=NS(t,i,p))),h&&p&&h.from==p.from)return $(m(e.from,e.to,h));{let g=h?m(e.from,null,h):d(O,!1),v=p?m(null,e.to,p):d(f,!0),b=[];return(h||O).to<(p||f).from-1?b.push(y(c,g.bottom,u,v.top)):g.bottomw&&k.from=T)break;X>C&&P(Math.max(R,C),g==null&&R<=w,Math.min(X,T),v==null&&X>=x,A.dir)}if(C=E.to+1,C>=T)break}return S.length==0&&P(w,g==null,x,v==null,t.textDirection),{top:_,bottom:Q,horizontal:S}}function d(g,v){let b=o.top+(v?g.top:g.bottom);return{top:b,bottom:b,horizontal:[]}}}function Aae(t,e,n){let i=t.coordsAtPos(e.head,e.assoc||1);if(!i)return null;let r=Y5(t);return new B5(i.left-r.left,i.top-r.top,-1,i.bottom-i.top,n?"cm-cursor cm-cursor-primary":"cm-cursor cm-cursor-secondary")}const Z5=ut.define({map(t,e){return t==null?null:e.mapPos(t)}}),iu=An.define({create(){return null},update(t,e){return t!=null&&(t=e.changes.mapPos(t)),e.effects.reduce((n,i)=>i.is(Z5)?i.value:n,t)}}),Eae=un.fromClass(class{constructor(t){this.view=t,this.cursor=null,this.measureReq={read:this.readPos.bind(this),write:this.drawCursor.bind(this)}}update(t){var e;let n=t.state.field(iu);n==null?this.cursor!=null&&((e=this.cursor)===null||e===void 0||e.remove(),this.cursor=null):(this.cursor||(this.cursor=this.view.scrollDOM.appendChild(document.createElement("div")),this.cursor.className="cm-dropCursor"),(t.startState.field(iu)!=n||t.docChanged||t.geometryChanged)&&this.view.requestMeasure(this.measureReq))}readPos(){let t=this.view.state.field(iu),e=t!=null&&this.view.coordsAtPos(t);if(!e)return null;let n=this.view.scrollDOM.getBoundingClientRect();return{left:e.left-n.left+this.view.scrollDOM.scrollLeft,top:e.top-n.top+this.view.scrollDOM.scrollTop,height:e.bottom-e.top}}drawCursor(t){this.cursor&&(t?(this.cursor.style.left=t.left+"px",this.cursor.style.top=t.top+"px",this.cursor.style.height=t.height+"px"):this.cursor.style.left="-100000px")}destroy(){this.cursor&&this.cursor.remove()}setDropPos(t){this.view.state.field(iu)!=t&&this.view.dispatch({effects:Z5.of(t)})}},{eventHandlers:{dragover(t){this.setDropPos(this.view.posAtCoords({x:t.clientX,y:t.clientY}))},dragleave(t){(t.target==this.view.contentDOM||!this.view.contentDOM.contains(t.relatedTarget))&&this.setDropPos(null)},dragend(){this.setDropPos(null)},drop(){this.setDropPos(null)}}});function Xae(){return[iu,Eae]}function GS(t,e,n,i,r){e.lastIndex=0;for(let s=t.iterRange(n,i),o=n,a;!s.next().done;o+=s.value.length)if(!s.lineBreak)for(;a=e.exec(s.value);)r(o+a.index,o+a.index+a[0].length,a)}function Wae(t,e){let n=t.visibleRanges;if(n.length==1&&n[0].from==t.viewport.from&&n[0].to==t.viewport.to)return n;let i=[];for(let{from:r,to:s}of n)r=Math.max(t.state.doc.lineAt(r).from,r-e),s=Math.min(t.state.doc.lineAt(s).to,s+e),i.length&&i[i.length-1].to>=r?i[i.length-1].to=s:i.push({from:r,to:s});return i}class zae{constructor(e){let{regexp:n,decoration:i,boundary:r,maxLength:s=1e3}=e;if(!n.global)throw new RangeError("The regular expression given to MatchDecorator should have its 'g' flag set");this.regexp=n,this.getDeco=typeof i=="function"?i:()=>i,this.boundary=r,this.maxLength=s}createDeco(e){let n=new xo;for(let{from:i,to:r}of Wae(e,this.maxLength))GS(e.state.doc,this.regexp,i,r,(s,o,a)=>n.add(s,o,this.getDeco(a,e,s)));return n.finish()}updateDeco(e,n){let i=1e9,r=-1;return e.docChanged&&e.changes.iterChanges((s,o,a,l)=>{l>e.view.viewport.from&&a1e3?this.createDeco(e.view):r>-1?this.updateRange(e.view,n.map(e.changes),i,r):n}updateRange(e,n,i,r){for(let s of e.visibleRanges){let o=Math.max(s.from,i),a=Math.min(s.to,r);if(a>o){let l=e.state.doc.lineAt(o),c=l.tol.from;o--)if(this.boundary.test(l.text[o-1-l.from])){u=o;break}for(;af.push(this.getDeco($,e,p).range(p,y)));n=n.update({filterFrom:u,filterTo:O,filter:(p,y)=>pO,add:f})}}return n}}const Av=/x/.unicode!=null?"gu":"g",Iae=new RegExp(`[\0-\b +-\x7F-\x9F\xAD\u061C\u200B\u200E\u200F\u2028\u2029\u202D\u202E\uFEFF\uFFF9-\uFFFC]`,Av),qae={0:"null",7:"bell",8:"backspace",10:"newline",11:"vertical tab",13:"carriage return",27:"escape",8203:"zero width space",8204:"zero width non-joiner",8205:"zero width joiner",8206:"left-to-right mark",8207:"right-to-left mark",8232:"line separator",8237:"left-to-right override",8238:"right-to-left override",8233:"paragraph separator",65279:"zero width no-break space",65532:"object replacement"};let nm=null;function Uae(){var t;if(nm==null&&typeof document!="undefined"&&document.body){let e=document.body.style;nm=((t=e.tabSize)!==null&&t!==void 0?t:e.MozTabSize)!=null}return nm||!1}const xh=Ge.define({combine(t){let e=As(t,{render:null,specialChars:Iae,addSpecialChars:null});return(e.replaceTabs=!Uae())&&(e.specialChars=new RegExp(" |"+e.specialChars.source,Av)),e.addSpecialChars&&(e.specialChars=new RegExp(e.specialChars.source+"|"+e.addSpecialChars.source,Av)),e}});function Dae(t={}){return[xh.of(t),Lae()]}let HS=null;function Lae(){return HS||(HS=un.fromClass(class{constructor(t){this.view=t,this.decorations=je.none,this.decorationCache=Object.create(null),this.decorator=this.makeDecorator(t.state.facet(xh)),this.decorations=this.decorator.createDeco(t)}makeDecorator(t){return new zae({regexp:t.specialChars,decoration:(e,n,i)=>{let{doc:r}=n.state,s=Wn(e[0],0);if(s==9){let o=r.lineAt(i),a=n.state.tabSize,l=Pf(o.text,a,i-o.from);return je.replace({widget:new Zae((a-l%a)*this.view.defaultCharacterWidth)})}return this.decorationCache[s]||(this.decorationCache[s]=je.replace({widget:new Yae(t,s)}))},boundary:t.replaceTabs?void 0:/[^]/})}update(t){let e=t.state.facet(xh);t.startState.facet(xh)!=e?(this.decorator=this.makeDecorator(e),this.decorations=this.decorator.createDeco(t.view)):this.decorations=this.decorator.updateDeco(t,this.decorations)}},{decorations:t=>t.decorations}))}const Bae="\u2022";function Mae(t){return t>=32?Bae:t==10?"\u2424":String.fromCharCode(9216+t)}class Yae extends ns{constructor(e,n){super(),this.options=e,this.code=n}eq(e){return e.code==this.code}toDOM(e){let n=Mae(this.code),i=e.state.phrase("Control character")+" "+(qae[this.code]||"0x"+this.code.toString(16)),r=this.options.render&&this.options.render(this.code,i,n);if(r)return r;let s=document.createElement("span");return s.textContent=n,s.title=i,s.setAttribute("aria-label",i),s.className="cm-specialChar",s}ignoreEvent(){return!1}}class Zae extends ns{constructor(e){super(),this.width=e}eq(e){return e.width==this.width}toDOM(){let e=document.createElement("span");return e.textContent=" ",e.className="cm-tab",e.style.width=this.width+"px",e}ignoreEvent(){return!1}}function Vae(){return Nae}const jae=je.line({class:"cm-activeLine"}),Nae=un.fromClass(class{constructor(t){this.decorations=this.getDeco(t)}update(t){(t.docChanged||t.selectionSet)&&(this.decorations=this.getDeco(t.view))}getDeco(t){let e=-1,n=[];for(let i of t.state.selection.ranges){if(!i.empty)return je.none;let r=t.lineBlockAt(i.head);r.from>e&&(n.push(jae.range(r.from)),e=r.from)}return je.set(n)}},{decorations:t=>t.decorations});class Fae extends ns{constructor(e){super(),this.content=e}toDOM(){let e=document.createElement("span");return e.className="cm-placeholder",e.style.pointerEvents="none",e.appendChild(typeof this.content=="string"?document.createTextNode(this.content):this.content),typeof this.content=="string"?e.setAttribute("aria-label","placeholder "+this.content):e.setAttribute("aria-hidden","true"),e}ignoreEvent(){return!1}}function Gae(t){return un.fromClass(class{constructor(e){this.view=e,this.placeholder=je.set([je.widget({widget:new Fae(t),side:1}).range(0)])}get decorations(){return this.view.state.doc.length?je.none:this.placeholder}},{decorations:e=>e.decorations})}const Ev=2e3;function Hae(t,e,n){let i=Math.min(e.line,n.line),r=Math.max(e.line,n.line),s=[];if(e.off>Ev||n.off>Ev||e.col<0||n.col<0){let o=Math.min(e.off,n.off),a=Math.max(e.off,n.off);for(let l=i;l<=r;l++){let c=t.doc.line(l);c.length<=a&&s.push(we.range(c.from+o,c.to+a))}}else{let o=Math.min(e.col,n.col),a=Math.max(e.col,n.col);for(let l=i;l<=r;l++){let c=t.doc.line(l),u=fv(c.text,o,t.tabSize,!0);if(u>-1){let O=fv(c.text,a,t.tabSize);s.push(we.range(c.from+u,c.from+O))}}}return s}function Kae(t,e){let n=t.coordsAtPos(t.viewport.from);return n?Math.round(Math.abs((n.left-e)/t.defaultCharacterWidth)):-1}function KS(t,e){let n=t.posAtCoords({x:e.clientX,y:e.clientY},!1),i=t.state.doc.lineAt(n),r=n-i.from,s=r>Ev?-1:r==i.length?Kae(t,e.clientX):Pf(i.text,t.state.tabSize,n-i.from);return{line:i.number,col:s,off:r}}function Jae(t,e){let n=KS(t,e),i=t.state.selection;return n?{update(r){if(r.docChanged){let s=r.changes.mapPos(r.startState.doc.line(n.line).from),o=r.state.doc.lineAt(s);n={line:o.number,col:n.col,off:Math.min(n.off,o.length)},i=i.map(r.changes)}},get(r,s,o){let a=KS(t,r);if(!a)return i;let l=Hae(t.state,n,a);return l.length?o?we.create(l.concat(i.ranges)):we.create(l):i}}:null}function ele(t){let e=(t==null?void 0:t.eventFilter)||(n=>n.altKey&&n.button==0);return Ve.mouseSelectionStyle.of((n,i)=>e(i)?Jae(n,i):null)}const tle={Alt:[18,t=>t.altKey],Control:[17,t=>t.ctrlKey],Shift:[16,t=>t.shiftKey],Meta:[91,t=>t.metaKey]},nle={style:"cursor: crosshair"};function ile(t={}){let[e,n]=tle[t.key||"Alt"],i=un.fromClass(class{constructor(r){this.view=r,this.isDown=!1}set(r){this.isDown!=r&&(this.isDown=r,this.view.update([]))}},{eventHandlers:{keydown(r){this.set(r.keyCode==e||n(r))},keyup(r){(r.keyCode==e||!n(r))&&this.set(!1)}}});return[i,Ve.contentAttributes.of(r=>{var s;return!((s=r.plugin(i))===null||s===void 0)&&s.isDown?nle:null})]}const im="-10000px";class V5{constructor(e,n,i){this.facet=n,this.createTooltipView=i,this.input=e.state.facet(n),this.tooltips=this.input.filter(r=>r),this.tooltipViews=this.tooltips.map(i)}update(e){let n=e.state.facet(this.facet),i=n.filter(s=>s);if(n===this.input){for(let s of this.tooltipViews)s.update&&s.update(e);return!1}let r=[];for(let s=0;s{var e,n,i;return{position:He.ios?"absolute":((e=t.find(r=>r.position))===null||e===void 0?void 0:e.position)||"fixed",parent:((n=t.find(r=>r.parent))===null||n===void 0?void 0:n.parent)||null,tooltipSpace:((i=t.find(r=>r.tooltipSpace))===null||i===void 0?void 0:i.tooltipSpace)||rle}}}),j5=un.fromClass(class{constructor(t){var e;this.view=t,this.inView=!0,this.lastTransaction=0,this.measureTimeout=-1;let n=t.state.facet(rm);this.position=n.position,this.parent=n.parent,this.classes=t.themeClasses,this.createContainer(),this.measureReq={read:this.readMeasure.bind(this),write:this.writeMeasure.bind(this),key:this},this.manager=new V5(t,M$,i=>this.createTooltip(i)),this.intersectionObserver=typeof IntersectionObserver=="function"?new IntersectionObserver(i=>{Date.now()>this.lastTransaction-50&&i.length>0&&i[i.length-1].intersectionRatio<1&&this.measureSoon()},{threshold:[1]}):null,this.observeIntersection(),(e=t.dom.ownerDocument.defaultView)===null||e===void 0||e.addEventListener("resize",this.measureSoon=this.measureSoon.bind(this)),this.maybeMeasure()}createContainer(){this.parent?(this.container=document.createElement("div"),this.container.style.position="relative",this.container.className=this.view.themeClasses,this.parent.appendChild(this.container)):this.container=this.view.dom}observeIntersection(){if(this.intersectionObserver){this.intersectionObserver.disconnect();for(let t of this.manager.tooltipViews)this.intersectionObserver.observe(t.dom)}}measureSoon(){this.measureTimeout<0&&(this.measureTimeout=setTimeout(()=>{this.measureTimeout=-1,this.maybeMeasure()},50))}update(t){t.transactions.length&&(this.lastTransaction=Date.now());let e=this.manager.update(t);e&&this.observeIntersection();let n=e||t.geometryChanged,i=t.state.facet(rm);if(i.position!=this.position){this.position=i.position;for(let r of this.manager.tooltipViews)r.dom.style.position=this.position;n=!0}if(i.parent!=this.parent){this.parent&&this.container.remove(),this.parent=i.parent,this.createContainer();for(let r of this.manager.tooltipViews)this.container.appendChild(r.dom);n=!0}else this.parent&&this.view.themeClasses!=this.classes&&(this.classes=this.container.className=this.view.themeClasses);n&&this.maybeMeasure()}createTooltip(t){let e=t.create(this.view);if(e.dom.classList.add("cm-tooltip"),t.arrow&&!e.dom.querySelector(".cm-tooltip > .cm-tooltip-arrow")){let n=document.createElement("div");n.className="cm-tooltip-arrow",e.dom.appendChild(n)}return e.dom.style.position=this.position,e.dom.style.top=im,this.container.appendChild(e.dom),e.mount&&e.mount(this.view),e}destroy(){var t,e;(t=this.view.dom.ownerDocument.defaultView)===null||t===void 0||t.removeEventListener("resize",this.measureSoon);for(let{dom:n}of this.manager.tooltipViews)n.remove();(e=this.intersectionObserver)===null||e===void 0||e.disconnect(),clearTimeout(this.measureTimeout)}readMeasure(){let t=this.view.dom.getBoundingClientRect();return{editor:t,parent:this.parent?this.container.getBoundingClientRect():t,pos:this.manager.tooltips.map((e,n)=>{let i=this.manager.tooltipViews[n];return i.getCoords?i.getCoords(e.pos):this.view.coordsAtPos(e.pos)}),size:this.manager.tooltipViews.map(({dom:e})=>e.getBoundingClientRect()),space:this.view.state.facet(rm).tooltipSpace(this.view)}}writeMeasure(t){let{editor:e,space:n}=t,i=[];for(let r=0;r=Math.min(e.bottom,n.bottom)||l.rightMath.min(e.right,n.right)+.1){a.style.top=im;continue}let u=s.arrow?o.dom.querySelector(".cm-tooltip-arrow"):null,O=u?7:0,f=c.right-c.left,h=c.bottom-c.top,p=o.offset||ole,y=this.view.textDirection==sn.LTR,$=c.width>n.right-n.left?y?n.left:n.right-c.width:y?Math.min(l.left-(u?14:0)+p.x,n.right-f):Math.max(n.left,l.left-f+(u?14:0)-p.x),m=!!s.above;!s.strictSide&&(m?l.top-(c.bottom-c.top)-p.yn.bottom)&&m==n.bottom-l.bottom>l.top-n.top&&(m=!m);let d=m?l.top-h-O-p.y:l.bottom+O+p.y,g=$+f;if(o.overlap!==!0)for(let v of i)v.left$&&v.topd&&(d=m?v.top-h-2-O:v.bottom+O+2);this.position=="absolute"?(a.style.top=d-t.parent.top+"px",a.style.left=$-t.parent.left+"px"):(a.style.top=d+"px",a.style.left=$+"px"),u&&(u.style.left=`${l.left+(y?p.x:-p.x)-($+14-7)}px`),o.overlap!==!0&&i.push({left:$,top:d,right:g,bottom:d+h}),a.classList.toggle("cm-tooltip-above",m),a.classList.toggle("cm-tooltip-below",!m),o.positioned&&o.positioned()}}maybeMeasure(){if(this.manager.tooltips.length&&(this.view.inView&&this.view.requestMeasure(this.measureReq),this.inView!=this.view.inView&&(this.inView=this.view.inView,!this.inView)))for(let t of this.manager.tooltipViews)t.dom.style.top=im}},{eventHandlers:{scroll(){this.maybeMeasure()}}}),sle=Ve.baseTheme({".cm-tooltip":{zIndex:100},"&light .cm-tooltip":{border:"1px solid #bbb",backgroundColor:"#f5f5f5"},"&light .cm-tooltip-section:not(:first-child)":{borderTop:"1px solid #bbb"},"&dark .cm-tooltip":{backgroundColor:"#333338",color:"white"},".cm-tooltip-arrow":{height:`${7}px`,width:`${7*2}px`,position:"absolute",zIndex:-1,overflow:"hidden","&:before, &:after":{content:"''",position:"absolute",width:0,height:0,borderLeft:`${7}px solid transparent`,borderRight:`${7}px solid transparent`},".cm-tooltip-above &":{bottom:`-${7}px`,"&:before":{borderTop:`${7}px solid #bbb`},"&:after":{borderTop:`${7}px solid #f5f5f5`,bottom:"1px"}},".cm-tooltip-below &":{top:`-${7}px`,"&:before":{borderBottom:`${7}px solid #bbb`},"&:after":{borderBottom:`${7}px solid #f5f5f5`,top:"1px"}}},"&dark .cm-tooltip .cm-tooltip-arrow":{"&:before":{borderTopColor:"#333338",borderBottomColor:"#333338"},"&:after":{borderTopColor:"transparent",borderBottomColor:"transparent"}}}),ole={x:0,y:0},M$=Ge.define({enables:[j5,sle]}),Od=Ge.define();class Y${constructor(e){this.view=e,this.mounted=!1,this.dom=document.createElement("div"),this.dom.classList.add("cm-tooltip-hover"),this.manager=new V5(e,Od,n=>this.createHostedView(n))}static create(e){return new Y$(e)}createHostedView(e){let n=e.create(this.view);return n.dom.classList.add("cm-tooltip-section"),this.dom.appendChild(n.dom),this.mounted&&n.mount&&n.mount(this.view),n}mount(e){for(let n of this.manager.tooltipViews)n.mount&&n.mount(e);this.mounted=!0}positioned(){for(let e of this.manager.tooltipViews)e.positioned&&e.positioned()}update(e){this.manager.update(e)}}const ale=M$.compute([Od],t=>{let e=t.facet(Od).filter(n=>n);return e.length===0?null:{pos:Math.min(...e.map(n=>n.pos)),end:Math.max(...e.filter(n=>n.end!=null).map(n=>n.end)),create:Y$.create,above:e[0].above,arrow:e.some(n=>n.arrow)}});class lle{constructor(e,n,i,r,s){this.view=e,this.source=n,this.field=i,this.setHover=r,this.hoverTime=s,this.hoverTimeout=-1,this.restartTimeout=-1,this.pending=null,this.lastMove={x:0,y:0,target:e.dom,time:0},this.checkHover=this.checkHover.bind(this),e.dom.addEventListener("mouseleave",this.mouseleave=this.mouseleave.bind(this)),e.dom.addEventListener("mousemove",this.mousemove=this.mousemove.bind(this))}update(){this.pending&&(this.pending=null,clearTimeout(this.restartTimeout),this.restartTimeout=setTimeout(()=>this.startHover(),20))}get active(){return this.view.state.field(this.field)}checkHover(){if(this.hoverTimeout=-1,this.active)return;let e=Date.now()-this.lastMove.time;ei.bottom||e.xi.right+this.view.defaultCharacterWidth)return;let r=this.view.bidiSpans(this.view.state.doc.lineAt(n)).find(a=>a.from<=n&&a.to>=n),s=r&&r.dir==sn.RTL?-1:1,o=this.source(this.view,n,e.x{this.pending==a&&(this.pending=null,l&&this.view.dispatch({effects:this.setHover.of(l)}))},l=>zi(this.view.state,l,"hover tooltip"))}else o&&this.view.dispatch({effects:this.setHover.of(o)})}mousemove(e){var n;this.lastMove={x:e.clientX,y:e.clientY,target:e.target,time:Date.now()},this.hoverTimeout<0&&(this.hoverTimeout=setTimeout(this.checkHover,this.hoverTime));let i=this.active;if(i&&!cle(this.lastMove.target)||this.pending){let{pos:r}=i||this.pending,s=(n=i==null?void 0:i.end)!==null&&n!==void 0?n:r;(r==s?this.view.posAtCoords(this.lastMove)!=r:!ule(this.view,r,s,e.clientX,e.clientY,6))&&(this.view.dispatch({effects:this.setHover.of(null)}),this.pending=null)}}mouseleave(){clearTimeout(this.hoverTimeout),this.hoverTimeout=-1,this.active&&this.view.dispatch({effects:this.setHover.of(null)})}destroy(){clearTimeout(this.hoverTimeout),this.view.dom.removeEventListener("mouseleave",this.mouseleave),this.view.dom.removeEventListener("mousemove",this.mousemove)}}function cle(t){for(let e=t;e;e=e.parentNode)if(e.nodeType==1&&e.classList.contains("cm-tooltip"))return!0;return!1}function ule(t,e,n,i,r,s){let o=document.createRange(),a=t.domAtPos(e),l=t.domAtPos(n);o.setEnd(l.node,l.offset),o.setStart(a.node,a.offset);let c=o.getClientRects();o.detach();for(let u=0;uOd.from(r)});return[i,un.define(r=>new lle(r,t,i,n,e.hoverTime||300)),ale]}function Ole(t,e){let n=t.plugin(j5);if(!n)return null;let i=n.manager.tooltips.indexOf(e);return i<0?null:n.manager.tooltipViews[i]}const hle=ut.define(),JS=Ge.define({combine(t){let e,n;for(let i of t)e=e||i.topContainer,n=n||i.bottomContainer;return{topContainer:e,bottomContainer:n}}});function tf(t,e){let n=t.plugin(N5),i=n?n.specs.indexOf(e):-1;return i>-1?n.panels[i]:null}const N5=un.fromClass(class{constructor(t){this.input=t.state.facet(nf),this.specs=this.input.filter(n=>n),this.panels=this.specs.map(n=>n(t));let e=t.state.facet(JS);this.top=new LO(t,!0,e.topContainer),this.bottom=new LO(t,!1,e.bottomContainer),this.top.sync(this.panels.filter(n=>n.top)),this.bottom.sync(this.panels.filter(n=>!n.top));for(let n of this.panels)n.dom.classList.add("cm-panel"),n.mount&&n.mount()}update(t){let e=t.state.facet(JS);this.top.container!=e.topContainer&&(this.top.sync([]),this.top=new LO(t.view,!0,e.topContainer)),this.bottom.container!=e.bottomContainer&&(this.bottom.sync([]),this.bottom=new LO(t.view,!1,e.bottomContainer)),this.top.syncClasses(),this.bottom.syncClasses();let n=t.state.facet(nf);if(n!=this.input){let i=n.filter(l=>l),r=[],s=[],o=[],a=[];for(let l of i){let c=this.specs.indexOf(l),u;c<0?(u=l(t.view),a.push(u)):(u=this.panels[c],u.update&&u.update(t)),r.push(u),(u.top?s:o).push(u)}this.specs=i,this.panels=r,this.top.sync(s),this.bottom.sync(o);for(let l of a)l.dom.classList.add("cm-panel"),l.mount&&l.mount()}else for(let i of this.panels)i.update&&i.update(t)}destroy(){this.top.sync([]),this.bottom.sync([])}},{provide:t=>Ve.scrollMargins.of(e=>{let n=e.plugin(t);return n&&{top:n.top.scrollMargin(),bottom:n.bottom.scrollMargin()}})});class LO{constructor(e,n,i){this.view=e,this.top=n,this.container=i,this.dom=void 0,this.classes="",this.panels=[],this.syncClasses()}sync(e){for(let n of this.panels)n.destroy&&e.indexOf(n)<0&&n.destroy();this.panels=e,this.syncDOM()}syncDOM(){if(this.panels.length==0){this.dom&&(this.dom.remove(),this.dom=void 0);return}if(!this.dom){this.dom=document.createElement("div"),this.dom.className=this.top?"cm-panels cm-panels-top":"cm-panels cm-panels-bottom",this.dom.style[this.top?"top":"bottom"]="0";let n=this.container||this.view.dom;n.insertBefore(this.dom,this.top?n.firstChild:null)}let e=this.dom.firstChild;for(let n of this.panels)if(n.dom.parentNode==this.dom){for(;e!=n.dom;)e=ew(e);e=e.nextSibling}else this.dom.insertBefore(n.dom,e);for(;e;)e=ew(e)}scrollMargin(){return!this.dom||this.container?0:Math.max(0,this.top?this.dom.getBoundingClientRect().bottom-Math.max(0,this.view.scrollDOM.getBoundingClientRect().top):Math.min(innerHeight,this.view.scrollDOM.getBoundingClientRect().bottom)-this.dom.getBoundingClientRect().top)}syncClasses(){if(!(!this.container||this.classes==this.view.themeClasses)){for(let e of this.classes.split(" "))e&&this.container.classList.remove(e);for(let e of(this.classes=this.view.themeClasses).split(" "))e&&this.container.classList.add(e)}}}function ew(t){let e=t.nextSibling;return t.remove(),e}const nf=Ge.define({enables:N5});class ws extends Pa{compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}eq(e){return!1}destroy(e){}}ws.prototype.elementClass="";ws.prototype.toDOM=void 0;ws.prototype.mapMode=qn.TrackBefore;ws.prototype.startSide=ws.prototype.endSide=-1;ws.prototype.point=!0;const Ph=Ge.define(),dle={class:"",renderEmptyElements:!1,elementStyle:"",markers:()=>zt.empty,lineMarker:()=>null,lineMarkerChange:null,initialSpacer:null,updateSpacer:null,domEventHandlers:{}},Su=Ge.define();function ple(t){return[F5(),Su.of(Object.assign(Object.assign({},dle),t))]}const Xv=Ge.define({combine:t=>t.some(e=>e)});function F5(t){let e=[mle];return t&&t.fixed===!1&&e.push(Xv.of(!0)),e}const mle=un.fromClass(class{constructor(t){this.view=t,this.prevViewport=t.viewport,this.dom=document.createElement("div"),this.dom.className="cm-gutters",this.dom.setAttribute("aria-hidden","true"),this.dom.style.minHeight=this.view.contentHeight+"px",this.gutters=t.state.facet(Su).map(e=>new nw(t,e));for(let e of this.gutters)this.dom.appendChild(e.dom);this.fixed=!t.state.facet(Xv),this.fixed&&(this.dom.style.position="sticky"),this.syncGutters(!1),t.scrollDOM.insertBefore(this.dom,t.contentDOM)}update(t){if(this.updateGutters(t)){let e=this.prevViewport,n=t.view.viewport,i=Math.min(e.to,n.to)-Math.max(e.from,n.from);this.syncGutters(i<(n.to-n.from)*.8)}t.geometryChanged&&(this.dom.style.minHeight=this.view.contentHeight+"px"),this.view.state.facet(Xv)!=!this.fixed&&(this.fixed=!this.fixed,this.dom.style.position=this.fixed?"sticky":""),this.prevViewport=t.view.viewport}syncGutters(t){let e=this.dom.nextSibling;t&&this.dom.remove();let n=zt.iter(this.view.state.facet(Ph),this.view.viewport.from),i=[],r=this.gutters.map(s=>new gle(s,this.view.viewport,-this.view.documentPadding.top));for(let s of this.view.viewportLineBlocks){let o;if(Array.isArray(s.type)){for(let a of s.type)if(a.type==Ft.Text){o=a;break}}else o=s.type==Ft.Text?s:void 0;if(!!o){i.length&&(i=[]),G5(n,i,s.from);for(let a of r)a.line(this.view,o,i)}}for(let s of r)s.finish();t&&this.view.scrollDOM.insertBefore(this.dom,e)}updateGutters(t){let e=t.startState.facet(Su),n=t.state.facet(Su),i=t.docChanged||t.heightChanged||t.viewportChanged||!zt.eq(t.startState.facet(Ph),t.state.facet(Ph),t.view.viewport.from,t.view.viewport.to);if(e==n)for(let r of this.gutters)r.update(t)&&(i=!0);else{i=!0;let r=[];for(let s of n){let o=e.indexOf(s);o<0?r.push(new nw(this.view,s)):(this.gutters[o].update(t),r.push(this.gutters[o]))}for(let s of this.gutters)s.dom.remove(),r.indexOf(s)<0&&s.destroy();for(let s of r)this.dom.appendChild(s.dom);this.gutters=r}return i}destroy(){for(let t of this.gutters)t.destroy();this.dom.remove()}},{provide:t=>Ve.scrollMargins.of(e=>{let n=e.plugin(t);return!n||n.gutters.length==0||!n.fixed?null:e.textDirection==sn.LTR?{left:n.dom.offsetWidth}:{right:n.dom.offsetWidth}})});function tw(t){return Array.isArray(t)?t:[t]}function G5(t,e,n){for(;t.value&&t.from<=n;)t.from==n&&e.push(t.value),t.next()}class gle{constructor(e,n,i){this.gutter=e,this.height=i,this.localMarkers=[],this.i=0,this.cursor=zt.iter(e.markers,n.from)}line(e,n,i){this.localMarkers.length&&(this.localMarkers=[]),G5(this.cursor,this.localMarkers,n.from);let r=i.length?this.localMarkers.concat(i):this.localMarkers,s=this.gutter.config.lineMarker(e,n,r);s&&r.unshift(s);let o=this.gutter;if(r.length==0&&!o.config.renderEmptyElements)return;let a=n.top-this.height;if(this.i==o.elements.length){let l=new H5(e,n.height,a,r);o.elements.push(l),o.dom.appendChild(l.dom)}else o.elements[this.i].update(e,n.height,a,r);this.height=n.bottom,this.i++}finish(){let e=this.gutter;for(;e.elements.length>this.i;){let n=e.elements.pop();e.dom.removeChild(n.dom),n.destroy()}}}class nw{constructor(e,n){this.view=e,this.config=n,this.elements=[],this.spacer=null,this.dom=document.createElement("div"),this.dom.className="cm-gutter"+(this.config.class?" "+this.config.class:"");for(let i in n.domEventHandlers)this.dom.addEventListener(i,r=>{let s=e.lineBlockAtHeight(r.clientY-e.documentTop);n.domEventHandlers[i](e,s,r)&&r.preventDefault()});this.markers=tw(n.markers(e)),n.initialSpacer&&(this.spacer=new H5(e,0,0,[n.initialSpacer(e)]),this.dom.appendChild(this.spacer.dom),this.spacer.dom.style.cssText+="visibility: hidden; pointer-events: none")}update(e){let n=this.markers;if(this.markers=tw(this.config.markers(e.view)),this.spacer&&this.config.updateSpacer){let r=this.config.updateSpacer(this.spacer.markers[0],e);r!=this.spacer.markers[0]&&this.spacer.update(e.view,0,0,[r])}let i=e.view.viewport;return!zt.eq(this.markers,n,i.from,i.to)||(this.config.lineMarkerChange?this.config.lineMarkerChange(e):!1)}destroy(){for(let e of this.elements)e.destroy()}}class H5{constructor(e,n,i,r){this.height=-1,this.above=0,this.markers=[],this.dom=document.createElement("div"),this.dom.className="cm-gutterElement",this.update(e,n,i,r)}update(e,n,i,r){this.height!=n&&(this.dom.style.height=(this.height=n)+"px"),this.above!=i&&(this.dom.style.marginTop=(this.above=i)?i+"px":""),vle(this.markers,r)||this.setMarkers(e,r)}setMarkers(e,n){let i="cm-gutterElement",r=this.dom.firstChild;for(let s=0,o=0;;){let a=o,l=ss(a,l,c)||o(a,l,c):o}return i}})}});class sm extends ws{constructor(e){super(),this.number=e}eq(e){return this.number==e.number}toDOM(){return document.createTextNode(this.number)}}function om(t,e){return t.state.facet(_l).formatNumber(e,t.state)}const $le=Su.compute([_l],t=>({class:"cm-lineNumbers",renderEmptyElements:!1,markers(e){return e.state.facet(yle)},lineMarker(e,n,i){return i.some(r=>r.toDOM)?null:new sm(om(e,e.state.doc.lineAt(n.from).number))},lineMarkerChange:e=>e.startState.facet(_l)!=e.state.facet(_l),initialSpacer(e){return new sm(om(e,iw(e.state.doc.lines)))},updateSpacer(e,n){let i=om(n.view,iw(n.view.state.doc.lines));return i==e.number?e:new sm(i)},domEventHandlers:t.facet(_l).domEventHandlers}));function ble(t={}){return[_l.of(t),F5(),$le]}function iw(t){let e=9;for(;e{let e=[],n=-1;for(let i of t.selection.ranges)if(i.empty){let r=t.doc.lineAt(i.head).from;r>n&&(n=r,e.push(_le.range(r)))}return zt.of(e)});function Sle(){return Qle}const K5=1024;let wle=0;class Gi{constructor(e,n){this.from=e,this.to=n}}class ft{constructor(e={}){this.id=wle++,this.perNode=!!e.perNode,this.deserialize=e.deserialize||(()=>{throw new Error("This node type doesn't define a deserialize function")})}add(e){if(this.perNode)throw new RangeError("Can't add per-node props to node types");return typeof e!="function"&&(e=mn.match(e)),n=>{let i=e(n);return i===void 0?null:[this,i]}}}ft.closedBy=new ft({deserialize:t=>t.split(" ")});ft.openedBy=new ft({deserialize:t=>t.split(" ")});ft.group=new ft({deserialize:t=>t.split(" ")});ft.contextHash=new ft({perNode:!0});ft.lookAhead=new ft({perNode:!0});ft.mounted=new ft({perNode:!0});class xle{constructor(e,n,i){this.tree=e,this.overlay=n,this.parser=i}}const Ple=Object.create(null);class mn{constructor(e,n,i,r=0){this.name=e,this.props=n,this.id=i,this.flags=r}static define(e){let n=e.props&&e.props.length?Object.create(null):Ple,i=(e.top?1:0)|(e.skipped?2:0)|(e.error?4:0)|(e.name==null?8:0),r=new mn(e.name||"",n,e.id,i);if(e.props){for(let s of e.props)if(Array.isArray(s)||(s=s(r)),s){if(s[0].perNode)throw new RangeError("Can't store a per-node prop on a node type");n[s[0].id]=s[1]}}return r}prop(e){return this.props[e.id]}get isTop(){return(this.flags&1)>0}get isSkipped(){return(this.flags&2)>0}get isError(){return(this.flags&4)>0}get isAnonymous(){return(this.flags&8)>0}is(e){if(typeof e=="string"){if(this.name==e)return!0;let n=this.prop(ft.group);return n?n.indexOf(e)>-1:!1}return this.id==e}static match(e){let n=Object.create(null);for(let i in e)for(let r of i.split(" "))n[r]=e[i];return i=>{for(let r=i.prop(ft.group),s=-1;s<(r?r.length:0);s++){let o=n[s<0?i.name:r[s]];if(o)return o}}}}mn.none=new mn("",Object.create(null),0,8);class wc{constructor(e){this.types=e;for(let n=0;n=r&&(o.type.isAnonymous||n(o)!==!1)){if(o.firstChild())continue;a=!0}for(;a&&i&&!o.type.isAnonymous&&i(o),!o.nextSibling();){if(!o.parent())return;a=!0}}}prop(e){return e.perNode?this.props?this.props[e.id]:void 0:this.type.prop(e)}get propValues(){let e=[];if(this.props)for(let n in this.props)e.push([+n,this.props[n]]);return e}balance(e={}){return this.children.length<=8?this:j$(mn.none,this.children,this.positions,0,this.children.length,0,this.length,(n,i,r)=>new vt(this.type,n,i,r,this.propValues),e.makeTree||((n,i,r)=>new vt(mn.none,n,i,r)))}static build(e){return Cle(e)}}vt.empty=new vt(mn.none,[],[],0);class Z${constructor(e,n){this.buffer=e,this.index=n}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new Z$(this.buffer,this.index)}}class Va{constructor(e,n,i){this.buffer=e,this.length=n,this.set=i}get type(){return mn.none}toString(){let e=[];for(let n=0;n0));l=o[l+3]);return a}slice(e,n,i,r){let s=this.buffer,o=new Uint16Array(n-e);for(let a=e,l=0;a=e&&ne;case 1:return n<=e&&i>e;case 2:return i>e;case 4:return!0}}function eA(t,e){let n=t.childBefore(e);for(;n;){let i=n.lastChild;if(!i||i.to!=n.to)break;i.type.isError&&i.from==i.to?(t=n,n=i.prevSibling):n=i}return t}function nc(t,e,n,i){for(var r;t.from==t.to||(n<1?t.from>=e:t.from>e)||(n>-1?t.to<=e:t.to0?a.length:-1;e!=c;e+=n){let u=a[e],O=l[e]+o.from;if(!!J5(r,i,O,O+u.length)){if(u instanceof Va){if(s&en.ExcludeBuffers)continue;let f=u.findChild(0,u.buffer.length,n,i-O,r);if(f>-1)return new Br(new kle(o,u,e,O),null,f)}else if(s&en.IncludeAnonymous||!u.type.isAnonymous||V$(u)){let f;if(!(s&en.IgnoreMounts)&&u.props&&(f=u.prop(ft.mounted))&&!f.overlay)return new tr(f.tree,O,e,o);let h=new tr(u,O,e,o);return s&en.IncludeAnonymous||!h.type.isAnonymous?h:h.nextChild(n<0?u.children.length-1:0,n,i,r)}}}if(s&en.IncludeAnonymous||!o.type.isAnonymous||(o.index>=0?e=o.index+n:e=n<0?-1:o._parent._tree.children.length,o=o._parent,!o))return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(e){return this.nextChild(0,1,e,2)}childBefore(e){return this.nextChild(this._tree.children.length-1,-1,e,-2)}enter(e,n,i=0){let r;if(!(i&en.IgnoreOverlays)&&(r=this._tree.prop(ft.mounted))&&r.overlay){let s=e-this.from;for(let{from:o,to:a}of r.overlay)if((n>0?o<=s:o=s:a>s))return new tr(r.tree,r.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,e,n,i)}nextSignificantParent(){let e=this;for(;e.type.isAnonymous&&e._parent;)e=e._parent;return e}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}cursor(e=0){return new rf(this,e)}get tree(){return this._tree}toTree(){return this._tree}resolve(e,n=0){return nc(this,e,n,!1)}resolveInner(e,n=0){return nc(this,e,n,!0)}enterUnfinishedNodesBefore(e){return eA(this,e)}getChild(e,n=null,i=null){let r=hd(this,e,n,i);return r.length?r[0]:null}getChildren(e,n=null,i=null){return hd(this,e,n,i)}toString(){return this._tree.toString()}get node(){return this}matchContext(e){return dd(this,e)}}function hd(t,e,n,i){let r=t.cursor(),s=[];if(!r.firstChild())return s;if(n!=null){for(;!r.type.is(n);)if(!r.nextSibling())return s}for(;;){if(i!=null&&r.type.is(i))return s;if(r.type.is(e)&&s.push(r.node),!r.nextSibling())return i==null?s:[]}}function dd(t,e,n=e.length-1){for(let i=t.parent;n>=0;i=i.parent){if(!i)return!1;if(!i.type.isAnonymous){if(e[n]&&e[n]!=i.name)return!1;n--}}return!0}class kle{constructor(e,n,i,r){this.parent=e,this.buffer=n,this.index=i,this.start=r}}class Br{constructor(e,n,i){this.context=e,this._parent=n,this.index=i,this.type=e.buffer.set.types[e.buffer.buffer[i]]}get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}child(e,n,i){let{buffer:r}=this.context,s=r.findChild(this.index+4,r.buffer[this.index+3],e,n-this.context.start,i);return s<0?null:new Br(this.context,this,s)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(e){return this.child(1,e,2)}childBefore(e){return this.child(-1,e,-2)}enter(e,n,i=0){if(i&en.ExcludeBuffers)return null;let{buffer:r}=this.context,s=r.findChild(this.index+4,r.buffer[this.index+3],n>0?1:-1,e-this.context.start,n);return s<0?null:new Br(this.context,this,s)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(e){return this._parent?null:this.context.parent.nextChild(this.context.index+e,e,0,4)}get nextSibling(){let{buffer:e}=this.context,n=e.buffer[this.index+3];return n<(this._parent?e.buffer[this._parent.index+3]:e.buffer.length)?new Br(this.context,this._parent,n):this.externalSibling(1)}get prevSibling(){let{buffer:e}=this.context,n=this._parent?this._parent.index+4:0;return this.index==n?this.externalSibling(-1):new Br(this.context,this._parent,e.findChild(n,this.index,-1,0,4))}cursor(e=0){return new rf(this,e)}get tree(){return null}toTree(){let e=[],n=[],{buffer:i}=this.context,r=this.index+4,s=i.buffer[this.index+3];if(s>r){let o=i.buffer[this.index+1],a=i.buffer[this.index+2];e.push(i.slice(r,s,o,a)),n.push(0)}return new vt(this.type,e,n,this.to-this.from)}resolve(e,n=0){return nc(this,e,n,!1)}resolveInner(e,n=0){return nc(this,e,n,!0)}enterUnfinishedNodesBefore(e){return eA(this,e)}toString(){return this.context.buffer.childString(this.index)}getChild(e,n=null,i=null){let r=hd(this,e,n,i);return r.length?r[0]:null}getChildren(e,n=null,i=null){return hd(this,e,n,i)}get node(){return this}matchContext(e){return dd(this,e)}}class rf{constructor(e,n=0){if(this.mode=n,this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,e instanceof tr)this.yieldNode(e);else{this._tree=e.context.parent,this.buffer=e.context;for(let i=e._parent;i;i=i._parent)this.stack.unshift(i.index);this.bufferNode=e,this.yieldBuf(e.index)}}get name(){return this.type.name}yieldNode(e){return e?(this._tree=e,this.type=e.type,this.from=e.from,this.to=e.to,!0):!1}yieldBuf(e,n){this.index=e;let{start:i,buffer:r}=this.buffer;return this.type=n||r.set.types[r.buffer[e]],this.from=i+r.buffer[e+1],this.to=i+r.buffer[e+2],!0}yield(e){return e?e instanceof tr?(this.buffer=null,this.yieldNode(e)):(this.buffer=e.context,this.yieldBuf(e.index,e.type)):!1}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(e,n,i){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,n,i,this.mode));let{buffer:r}=this.buffer,s=r.findChild(this.index+4,r.buffer[this.index+3],e,n-this.buffer.start,i);return s<0?!1:(this.stack.push(this.index),this.yieldBuf(s))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(e){return this.enterChild(1,e,2)}childBefore(e){return this.enterChild(-1,e,-2)}enter(e,n,i=this.mode){return this.buffer?i&en.ExcludeBuffers?!1:this.enterChild(1,e,n):this.yield(this._tree.enter(e,n,i))}parent(){if(!this.buffer)return this.yieldNode(this.mode&en.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&en.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(e)}sibling(e){if(!this.buffer)return this._tree._parent?this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+e,e,0,4,this.mode)):!1;let{buffer:n}=this.buffer,i=this.stack.length-1;if(e<0){let r=i<0?0:this.stack[i]+4;if(this.index!=r)return this.yieldBuf(n.findChild(r,this.index,-1,0,4))}else{let r=n.buffer[this.index+3];if(r<(i<0?n.buffer.length:n.buffer[this.stack[i]+3]))return this.yieldBuf(r)}return i<0?this.yield(this.buffer.parent.nextChild(this.buffer.index+e,e,0,4,this.mode)):!1}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(e){let n,i,{buffer:r}=this;if(r){if(e>0){if(this.index-1)for(let s=n+e,o=e<0?-1:i._tree.children.length;s!=o;s+=e){let a=i._tree.children[s];if(this.mode&en.IncludeAnonymous||a instanceof Va||!a.type.isAnonymous||V$(a))return!1}return!0}move(e,n){if(n&&this.enterChild(e,0,4))return!0;for(;;){if(this.sibling(e))return!0;if(this.atLastNode(e)||!this.parent())return!1}}next(e=!0){return this.move(1,e)}prev(e=!0){return this.move(-1,e)}moveTo(e,n=0){for(;(this.from==this.to||(n<1?this.from>=e:this.from>e)||(n>-1?this.to<=e:this.to=0;){for(let o=e;o;o=o._parent)if(o.index==r){if(r==this.index)return o;n=o,i=s+1;break e}r=this.stack[--s]}}for(let r=i;r=0;s--){if(s<0)return dd(this.node,e,r);let o=i[n.buffer[this.stack[s]]];if(!o.isAnonymous){if(e[r]&&e[r]!=o.name)return!1;r--}}return!0}}function V$(t){return t.children.some(e=>e instanceof Va||!e.type.isAnonymous||V$(e))}function Cle(t){var e;let{buffer:n,nodeSet:i,maxBufferLength:r=K5,reused:s=[],minRepeatType:o=i.types.length}=t,a=Array.isArray(n)?new Z$(n,n.length):n,l=i.types,c=0,u=0;function O(v,b,_,Q,S){let{id:P,start:w,end:x,size:k}=a,C=u;for(;k<0;)if(a.next(),k==-1){let X=s[P];_.push(X),Q.push(w-v);return}else if(k==-3){c=P;return}else if(k==-4){u=P;return}else throw new RangeError(`Unrecognized record size: ${k}`);let T=l[P],E,A,R=w-v;if(x-w<=r&&(A=y(a.pos-b,S))){let X=new Uint16Array(A.size-A.skip),D=a.pos-A.size,V=X.length;for(;a.pos>D;)V=$(A.start,X,V);E=new Va(X,x-A.start,i),R=A.start-v}else{let X=a.pos-k;a.next();let D=[],V=[],j=P>=o?P:-1,Z=0,ee=x;for(;a.pos>X;)j>=0&&a.id==j&&a.size>=0?(a.end<=ee-r&&(h(D,V,w,Z,a.end,ee,j,C),Z=D.length,ee=a.end),a.next()):O(w,X,D,V,j);if(j>=0&&Z>0&&Z-1&&Z>0){let se=f(T);E=j$(T,D,V,0,D.length,0,x-w,se,se)}else E=p(T,D,V,x-w,C-x)}_.push(E),Q.push(R)}function f(v){return(b,_,Q)=>{let S=0,P=b.length-1,w,x;if(P>=0&&(w=b[P])instanceof vt){if(!P&&w.type==v&&w.length==Q)return w;(x=w.prop(ft.lookAhead))&&(S=_[P]+w.length+x)}return p(v,b,_,Q,S)}}function h(v,b,_,Q,S,P,w,x){let k=[],C=[];for(;v.length>Q;)k.push(v.pop()),C.push(b.pop()+_-S);v.push(p(i.types[w],k,C,P-S,x-P)),b.push(S-_)}function p(v,b,_,Q,S=0,P){if(c){let w=[ft.contextHash,c];P=P?[w].concat(P):[w]}if(S>25){let w=[ft.lookAhead,S];P=P?[w].concat(P):[w]}return new vt(v,b,_,Q,P)}function y(v,b){let _=a.fork(),Q=0,S=0,P=0,w=_.end-r,x={size:0,start:0,skip:0};e:for(let k=_.pos-v;_.pos>k;){let C=_.size;if(_.id==b&&C>=0){x.size=Q,x.start=S,x.skip=P,P+=4,Q+=4,_.next();continue}let T=_.pos-C;if(C<0||T=o?4:0,A=_.start;for(_.next();_.pos>T;){if(_.size<0)if(_.size==-3)E+=4;else break e;else _.id>=o&&(E+=4);_.next()}S=A,Q+=C,P+=E}return(b<0||Q==v)&&(x.size=Q,x.start=S,x.skip=P),x.size>4?x:void 0}function $(v,b,_){let{id:Q,start:S,end:P,size:w}=a;if(a.next(),w>=0&&Q4){let k=a.pos-(w-4);for(;a.pos>k;)_=$(v,b,_)}b[--_]=x,b[--_]=P-v,b[--_]=S-v,b[--_]=Q}else w==-3?c=Q:w==-4&&(u=Q);return _}let m=[],d=[];for(;a.pos>0;)O(t.start||0,t.bufferStart||0,m,d,-1);let g=(e=t.length)!==null&&e!==void 0?e:m.length?d[0]+m[0].length:0;return new vt(l[t.topID],m.reverse(),d.reverse(),g)}const sw=new WeakMap;function kh(t,e){if(!t.isAnonymous||e instanceof Va||e.type!=t)return 1;let n=sw.get(e);if(n==null){n=1;for(let i of e.children){if(i.type!=t||!(i instanceof vt)){n=1;break}n+=kh(t,i)}sw.set(e,n)}return n}function j$(t,e,n,i,r,s,o,a,l){let c=0;for(let p=i;p=u)break;_+=Q}if(g==v+1){if(_>u){let Q=p[v];h(Q.children,Q.positions,0,Q.children.length,y[v]+d);continue}O.push(p[v])}else{let Q=y[g-1]+p[g-1].length-b;O.push(j$(t,p,y,v,g,b,Q,null,l))}f.push(b+d-s)}}return h(e,n,i,r,0),(a||l)(O,f,o)}class Tle{constructor(){this.map=new WeakMap}setBuffer(e,n,i){let r=this.map.get(e);r||this.map.set(e,r=new Map),r.set(n,i)}getBuffer(e,n){let i=this.map.get(e);return i&&i.get(n)}set(e,n){e instanceof Br?this.setBuffer(e.context.buffer,e.index,n):e instanceof tr&&this.map.set(e.tree,n)}get(e){return e instanceof Br?this.getBuffer(e.context.buffer,e.index):e instanceof tr?this.map.get(e.tree):void 0}cursorSet(e,n){e.buffer?this.setBuffer(e.buffer.buffer,e.index,n):this.map.set(e.tree,n)}cursorGet(e){return e.buffer?this.getBuffer(e.buffer.buffer,e.index):this.map.get(e.tree)}}class gs{constructor(e,n,i,r,s=!1,o=!1){this.from=e,this.to=n,this.tree=i,this.offset=r,this.open=(s?1:0)|(o?2:0)}get openStart(){return(this.open&1)>0}get openEnd(){return(this.open&2)>0}static addTree(e,n=[],i=!1){let r=[new gs(0,e.length,e,0,!1,i)];for(let s of n)s.to>e.length&&r.push(s);return r}static applyChanges(e,n,i=128){if(!n.length)return e;let r=[],s=1,o=e.length?e[0]:null;for(let a=0,l=0,c=0;;a++){let u=a=i)for(;o&&o.from=f.from||O<=f.to||c){let h=Math.max(f.from,l)-c,p=Math.min(f.to,O)-c;f=h>=p?null:new gs(h,p,f.tree,f.offset+c,a>0,!!u)}if(f&&r.push(f),o.to>O)break;o=snew Gi(r.from,r.to)):[new Gi(0,0)]:[new Gi(0,e.length)],this.createParse(e,n||[],i)}parse(e,n,i){let r=this.startParse(e,n,i);for(;;){let s=r.advance();if(s)return s}}}class Rle{constructor(e){this.string=e}get length(){return this.string.length}chunk(e){return this.string.slice(e)}get lineChunks(){return!1}read(e,n){return this.string.slice(e,n)}}function N$(t){return(e,n,i,r)=>new Ele(e,t,n,i,r)}class ow{constructor(e,n,i,r,s){this.parser=e,this.parse=n,this.overlay=i,this.target=r,this.ranges=s}}class Ale{constructor(e,n,i,r,s,o,a){this.parser=e,this.predicate=n,this.mounts=i,this.index=r,this.start=s,this.target=o,this.prev=a,this.depth=0,this.ranges=[]}}const Wv=new ft({perNode:!0});class Ele{constructor(e,n,i,r,s){this.nest=n,this.input=i,this.fragments=r,this.ranges=s,this.inner=[],this.innerDone=0,this.baseTree=null,this.stoppedAt=null,this.baseParse=e}advance(){if(this.baseParse){let i=this.baseParse.advance();if(!i)return null;if(this.baseParse=null,this.baseTree=i,this.startInner(),this.stoppedAt!=null)for(let r of this.inner)r.parse.stopAt(this.stoppedAt)}if(this.innerDone==this.inner.length){let i=this.baseTree;return this.stoppedAt!=null&&(i=new vt(i.type,i.children,i.positions,i.length,i.propValues.concat([[Wv,this.stoppedAt]]))),i}let e=this.inner[this.innerDone],n=e.parse.advance();if(n){this.innerDone++;let i=Object.assign(Object.create(null),e.target.props);i[ft.mounted.id]=new xle(n,e.overlay,e.parser),e.target.props=i}return null}get parsedPos(){if(this.baseParse)return 0;let e=this.input.length;for(let n=this.innerDone;nu.frag.from<=r.from&&u.frag.to>=r.to&&u.mount.overlay);if(c)for(let u of c.mount.overlay){let O=u.from+c.pos,f=u.to+c.pos;O>=r.from&&f<=r.to&&!n.ranges.some(h=>h.fromO)&&n.ranges.push({from:O,to:f})}}a=!1}else if(i&&(o=Xle(i.ranges,r.from,r.to)))a=o!=2;else if(!r.type.isAnonymous&&r.fromnew Gi(O.from-r.from,O.to-r.from)):null,r.tree,u)),s.overlay?u.length&&(i={ranges:u,depth:0,prev:i}):a=!1}}else n&&(l=n.predicate(r))&&(l===!0&&(l=new Gi(r.from,r.to)),l.fromnew Gi(u.from-n.start,u.to-n.start)),n.target,c)),n=n.prev}i&&!--i.depth&&(i=i.prev)}}}}function Xle(t,e,n){for(let i of t){if(i.from>=n)break;if(i.to>e)return i.from<=e&&i.to>=n?2:1}return 0}function aw(t,e,n,i,r,s){if(e=e.to);i++);let o=r.children[i],a=o.buffer;function l(c,u,O,f,h){let p=c;for(;a[p+2]+s<=e.from;)p=a[p+3];let y=[],$=[];aw(o,c,p,y,$,f);let m=a[p+1],d=a[p+2],g=m+s==e.from&&d+s==e.to&&a[p]==e.type.id;return y.push(g?e.toTree():l(p+4,a[p+3],o.set.types[a[p]],m,d-m)),$.push(m-f),aw(o,a[p+3],u,y,$,f),new vt(O,y,$,h)}r.children[i]=l(0,a.length,mn.none,0,o.length);for(let c=0;c<=n;c++)t.childAfter(e.from)}class lw{constructor(e,n){this.offset=n,this.done=!1,this.cursor=e.cursor(en.IncludeAnonymous|en.IgnoreMounts)}moveTo(e){let{cursor:n}=this,i=e-this.offset;for(;!this.done&&n.from=e&&n.enter(i,1,en.IgnoreOverlays|en.ExcludeBuffers)||n.next(!1)||(this.done=!0)}hasNode(e){if(this.moveTo(e.from),!this.done&&this.cursor.from+this.offset==e.from&&this.cursor.tree)for(let n=this.cursor.tree;;){if(n==e.tree)return!0;if(n.children.length&&n.positions[0]==0&&n.children[0]instanceof vt)n=n.children[0];else break}return!1}}class zle{constructor(e){var n;if(this.fragments=e,this.curTo=0,this.fragI=0,e.length){let i=this.curFrag=e[0];this.curTo=(n=i.tree.prop(Wv))!==null&&n!==void 0?n:i.to,this.inner=new lw(i.tree,-i.offset)}else this.curFrag=this.inner=null}hasNode(e){for(;this.curFrag&&e.from>=this.curTo;)this.nextFrag();return this.curFrag&&this.curFrag.from<=e.from&&this.curTo>=e.to&&this.inner.hasNode(e)}nextFrag(){var e;if(this.fragI++,this.fragI==this.fragments.length)this.curFrag=this.inner=null;else{let n=this.curFrag=this.fragments[this.fragI];this.curTo=(e=n.tree.prop(Wv))!==null&&e!==void 0?e:n.to,this.inner=new lw(n.tree,-n.offset)}}findMounts(e,n){var i;let r=[];if(this.inner){this.inner.cursor.moveTo(e,1);for(let s=this.inner.cursor.node;s;s=s.parent){let o=(i=s.tree)===null||i===void 0?void 0:i.prop(ft.mounted);if(o&&o.parser==n)for(let a=this.fragI;a=s.to)break;l.tree==this.curFrag.tree&&r.push({frag:l,pos:s.from-l.offset,mount:o})}}}return r}}function cw(t,e){let n=null,i=e;for(let r=1,s=0;r=a)break;l.to<=o||(n||(i=n=e.slice()),l.froma&&n.splice(s+1,0,new Gi(a,l.to))):l.to>a?n[s--]=new Gi(a,l.to):n.splice(s--,1))}}return i}function Ile(t,e,n,i){let r=0,s=0,o=!1,a=!1,l=-1e9,c=[];for(;;){let u=r==t.length?1e9:o?t[r].to:t[r].from,O=s==e.length?1e9:a?e[s].to:e[s].from;if(o!=a){let f=Math.max(l,n),h=Math.min(u,O,i);fnew Gi(f.from+i,f.to+i)),O=Ile(e,u,l,c);for(let f=0,h=l;;f++){let p=f==O.length,y=p?c:O[f].from;if(y>h&&n.push(new gs(h,y,r.tree,-o,s.from>=h,s.to<=y)),p)break;h=O[f].to}}else n.push(new gs(l,c,r.tree,-o,s.from>=o,s.to<=a))}return n}let qle=0;class $r{constructor(e,n,i){this.set=e,this.base=n,this.modified=i,this.id=qle++}static define(e){if(e!=null&&e.base)throw new Error("Can not derive from a modified tag");let n=new $r([],null,[]);if(n.set.push(n),e)for(let i of e.set)n.set.push(i);return n}static defineModifier(){let e=new pd;return n=>n.modified.indexOf(e)>-1?n:pd.get(n.base||n,n.modified.concat(e).sort((i,r)=>i.id-r.id))}}let Ule=0;class pd{constructor(){this.instances=[],this.id=Ule++}static get(e,n){if(!n.length)return e;let i=n[0].instances.find(a=>a.base==e&&Dle(n,a.modified));if(i)return i;let r=[],s=new $r(r,e,n);for(let a of n)a.instances.push(s);let o=tA(n);for(let a of e.set)for(let l of o)r.push(pd.get(a,l));return s}}function Dle(t,e){return t.length==e.length&&t.every((n,i)=>n==e[i])}function tA(t){let e=[t];for(let n=0;n0&&O+3==r.length){o=1;break}let f=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(a);if(!f)throw new RangeError("Invalid path: "+r);if(s.push(f[0]=="*"?"":f[0][0]=='"'?JSON.parse(f[0]):f[0]),O+=f[0].length,O==r.length)break;let h=r[O++];if(O==r.length&&h=="!"){o=0;break}if(h!="/")throw new RangeError("Invalid path: "+r);a=r.slice(O)}let l=s.length-1,c=s[l];if(!c)throw new RangeError("Invalid path: "+r);let u=new Lle(i,o,l>0?s.slice(0,l):null);e[c]=u.sort(e[c])}}return nA.add(e)}const nA=new ft;class Lle{constructor(e,n,i,r){this.tags=e,this.mode=n,this.context=i,this.next=r}sort(e){return!e||e.depth{let o=r;for(let a of s)for(let l of a.set){let c=n[l.id];if(c){o=o?o+" "+c:c;break}}return o},scope:i}}function Ble(t,e){let n=null;for(let i of t){let r=i.style(e);r&&(n=n?n+" "+r:r)}return n}function Mle(t,e,n,i=0,r=t.length){let s=new Yle(i,Array.isArray(e)?e:[e],n);s.highlightRange(t.cursor(),i,r,"",s.highlighters),s.flush(r)}class Yle{constructor(e,n,i){this.at=e,this.highlighters=n,this.span=i,this.class=""}startSpan(e,n){n!=this.class&&(this.flush(e),e>this.at&&(this.at=e),this.class=n)}flush(e){e>this.at&&this.class&&this.span(this.at,e,this.class)}highlightRange(e,n,i,r,s){let{type:o,from:a,to:l}=e;if(a>=i||l<=n)return;o.isTop&&(s=this.highlighters.filter(h=>!h.scope||h.scope(o)));let c=r,u=o.prop(nA),O=!1;for(;u;){if(!u.context||e.matchContext(u.context)){let h=Ble(s,u.tags);h&&(c&&(c+=" "),c+=h,u.mode==1?r+=(r?" ":"")+h:u.mode==0&&(O=!0));break}u=u.next}if(this.startSpan(e.from,c),O)return;let f=e.tree&&e.tree.prop(ft.mounted);if(f&&f.overlay){let h=e.node.enter(f.overlay[0].from+a,1),p=this.highlighters.filter($=>!$.scope||$.scope(f.tree.type)),y=e.firstChild();for(let $=0,m=a;;$++){let d=$=g||!e.nextSibling())););if(!d||g>i)break;m=d.to+a,m>n&&(this.highlightRange(h.cursor(),Math.max(n,d.from+a),Math.min(i,m),r,p),this.startSpan(m,c))}y&&e.parent()}else if(e.firstChild()){do if(!(e.to<=n)){if(e.from>=i)break;this.highlightRange(e,n,i,r,s),this.startSpan(Math.min(i,e.to),c)}while(e.nextSibling());e.parent()}}}const Ue=$r.define,MO=Ue(),eo=Ue(),fw=Ue(eo),Ow=Ue(eo),to=Ue(),YO=Ue(to),am=Ue(to),qr=Ue(),ea=Ue(qr),zr=Ue(),Ir=Ue(),zv=Ue(),Uc=Ue(zv),ZO=Ue(),z={comment:MO,lineComment:Ue(MO),blockComment:Ue(MO),docComment:Ue(MO),name:eo,variableName:Ue(eo),typeName:fw,tagName:Ue(fw),propertyName:Ow,attributeName:Ue(Ow),className:Ue(eo),labelName:Ue(eo),namespace:Ue(eo),macroName:Ue(eo),literal:to,string:YO,docString:Ue(YO),character:Ue(YO),attributeValue:Ue(YO),number:am,integer:Ue(am),float:Ue(am),bool:Ue(to),regexp:Ue(to),escape:Ue(to),color:Ue(to),url:Ue(to),keyword:zr,self:Ue(zr),null:Ue(zr),atom:Ue(zr),unit:Ue(zr),modifier:Ue(zr),operatorKeyword:Ue(zr),controlKeyword:Ue(zr),definitionKeyword:Ue(zr),moduleKeyword:Ue(zr),operator:Ir,derefOperator:Ue(Ir),arithmeticOperator:Ue(Ir),logicOperator:Ue(Ir),bitwiseOperator:Ue(Ir),compareOperator:Ue(Ir),updateOperator:Ue(Ir),definitionOperator:Ue(Ir),typeOperator:Ue(Ir),controlOperator:Ue(Ir),punctuation:zv,separator:Ue(zv),bracket:Uc,angleBracket:Ue(Uc),squareBracket:Ue(Uc),paren:Ue(Uc),brace:Ue(Uc),content:qr,heading:ea,heading1:Ue(ea),heading2:Ue(ea),heading3:Ue(ea),heading4:Ue(ea),heading5:Ue(ea),heading6:Ue(ea),contentSeparator:Ue(qr),list:Ue(qr),quote:Ue(qr),emphasis:Ue(qr),strong:Ue(qr),link:Ue(qr),monospace:Ue(qr),strikethrough:Ue(qr),inserted:Ue(),deleted:Ue(),changed:Ue(),invalid:Ue(),meta:ZO,documentMeta:Ue(ZO),annotation:Ue(ZO),processingInstruction:Ue(ZO),definition:$r.defineModifier(),constant:$r.defineModifier(),function:$r.defineModifier(),standard:$r.defineModifier(),local:$r.defineModifier(),special:$r.defineModifier()};iA([{tag:z.link,class:"tok-link"},{tag:z.heading,class:"tok-heading"},{tag:z.emphasis,class:"tok-emphasis"},{tag:z.strong,class:"tok-strong"},{tag:z.keyword,class:"tok-keyword"},{tag:z.atom,class:"tok-atom"},{tag:z.bool,class:"tok-bool"},{tag:z.url,class:"tok-url"},{tag:z.labelName,class:"tok-labelName"},{tag:z.inserted,class:"tok-inserted"},{tag:z.deleted,class:"tok-deleted"},{tag:z.literal,class:"tok-literal"},{tag:z.string,class:"tok-string"},{tag:z.number,class:"tok-number"},{tag:[z.regexp,z.escape,z.special(z.string)],class:"tok-string2"},{tag:z.variableName,class:"tok-variableName"},{tag:z.local(z.variableName),class:"tok-variableName tok-local"},{tag:z.definition(z.variableName),class:"tok-variableName tok-definition"},{tag:z.special(z.variableName),class:"tok-variableName2"},{tag:z.definition(z.propertyName),class:"tok-propertyName tok-definition"},{tag:z.typeName,class:"tok-typeName"},{tag:z.namespace,class:"tok-namespace"},{tag:z.className,class:"tok-className"},{tag:z.macroName,class:"tok-macroName"},{tag:z.propertyName,class:"tok-propertyName"},{tag:z.operator,class:"tok-operator"},{tag:z.comment,class:"tok-comment"},{tag:z.meta,class:"tok-meta"},{tag:z.invalid,class:"tok-invalid"},{tag:z.punctuation,class:"tok-punctuation"}]);var lm;const Ca=new ft;function F$(t){return Ge.define({combine:t?e=>e.concat(t):void 0})}class Ri{constructor(e,n,i=[]){this.data=e,St.prototype.hasOwnProperty("tree")||Object.defineProperty(St.prototype,"tree",{get(){return jt(this)}}),this.parser=n,this.extension=[To.of(this),St.languageData.of((r,s,o)=>r.facet(hw(r,s,o)))].concat(i)}isActiveAt(e,n,i=-1){return hw(e,n,i)==this.data}findRegions(e){let n=e.facet(To);if((n==null?void 0:n.data)==this.data)return[{from:0,to:e.doc.length}];if(!n||!n.allowsNesting)return[];let i=[],r=(s,o)=>{if(s.prop(Ca)==this.data){i.push({from:o,to:o+s.length});return}let a=s.prop(ft.mounted);if(a){if(a.tree.prop(Ca)==this.data){if(a.overlay)for(let l of a.overlay)i.push({from:l.from+o,to:l.to+o});else i.push({from:o,to:o+s.length});return}else if(a.overlay){let l=i.length;if(r(a.tree,a.overlay[0].from+o),i.length>l)return}}for(let l=0;li.isTop?n:void 0)]}))}configure(e){return new qi(this.data,this.parser.configure(e))}get allowsNesting(){return this.parser.hasWrappers()}}function jt(t){let e=t.field(Ri.state,!1);return e?e.tree:vt.empty}class Zle{constructor(e,n=e.length){this.doc=e,this.length=n,this.cursorPos=0,this.string="",this.cursor=e.iter()}syncTo(e){return this.string=this.cursor.next(e-this.cursorPos).value,this.cursorPos=e+this.string.length,this.cursorPos-this.string.length}chunk(e){return this.syncTo(e),this.string}get lineChunks(){return!0}read(e,n){let i=this.cursorPos-this.string.length;return e=this.cursorPos?this.doc.sliceString(e,n):this.string.slice(e-i,n-i)}}let Dc=null;class Ta{constructor(e,n,i=[],r,s,o,a,l){this.parser=e,this.state=n,this.fragments=i,this.tree=r,this.treeLen=s,this.viewport=o,this.skipped=a,this.scheduleOn=l,this.parse=null,this.tempSkipped=[]}static create(e,n,i){return new Ta(e,n,[],vt.empty,0,i,[],null)}startParse(){return this.parser.startParse(new Zle(this.state.doc),this.fragments)}work(e,n){return n!=null&&n>=this.state.doc.length&&(n=void 0),this.tree!=vt.empty&&this.isDone(n!=null?n:this.state.doc.length)?(this.takeTree(),!0):this.withContext(()=>{var i;if(typeof e=="number"){let r=Date.now()+e;e=()=>Date.now()>r}for(this.parse||(this.parse=this.startParse()),n!=null&&(this.parse.stoppedAt==null||this.parse.stoppedAt>n)&&n=this.treeLen&&((this.parse.stoppedAt==null||this.parse.stoppedAt>e)&&this.parse.stopAt(e),this.withContext(()=>{for(;!(n=this.parse.advance()););}),this.treeLen=e,this.tree=n,this.fragments=this.withoutTempSkipped(gs.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(e){let n=Dc;Dc=this;try{return e()}finally{Dc=n}}withoutTempSkipped(e){for(let n;n=this.tempSkipped.pop();)e=dw(e,n.from,n.to);return e}changes(e,n){let{fragments:i,tree:r,treeLen:s,viewport:o,skipped:a}=this;if(this.takeTree(),!e.empty){let l=[];if(e.iterChangedRanges((c,u,O,f)=>l.push({fromA:c,toA:u,fromB:O,toB:f})),i=gs.applyChanges(i,l),r=vt.empty,s=0,o={from:e.mapPos(o.from,-1),to:e.mapPos(o.to,1)},this.skipped.length){a=[];for(let c of this.skipped){let u=e.mapPos(c.from,1),O=e.mapPos(c.to,-1);ue.from&&(this.fragments=dw(this.fragments,r,s),this.skipped.splice(i--,1))}return this.skipped.length>=n?!1:(this.reset(),!0)}reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(e,n){this.skipped.push({from:e,to:n})}static getSkippingParser(e){return new class extends kp{createParse(n,i,r){let s=r[0].from,o=r[r.length-1].to;return{parsedPos:s,advance(){let l=Dc;if(l){for(let c of r)l.tempSkipped.push(c);e&&(l.scheduleOn=l.scheduleOn?Promise.all([l.scheduleOn,e]):e)}return this.parsedPos=o,new vt(mn.none,[],[],o-s)},stoppedAt:null,stopAt(){}}}}}isDone(e){e=Math.min(e,this.state.doc.length);let n=this.fragments;return this.treeLen>=e&&n.length&&n[0].from==0&&n[0].to>=e}static get(){return Dc}}function dw(t,e,n){return gs.applyChanges(t,[{fromA:e,toA:n,fromB:e,toB:n}])}class ic{constructor(e){this.context=e,this.tree=e.tree}apply(e){if(!e.docChanged&&this.tree==this.context.tree)return this;let n=this.context.changes(e.changes,e.state),i=this.context.treeLen==e.startState.doc.length?void 0:Math.max(e.changes.mapPos(this.context.treeLen),n.viewport.to);return n.work(20,i)||n.takeTree(),new ic(n)}static init(e){let n=Math.min(3e3,e.doc.length),i=Ta.create(e.facet(To).parser,e,{from:0,to:n});return i.work(20,n)||i.takeTree(),new ic(i)}}Ri.state=An.define({create:ic.init,update(t,e){for(let n of e.effects)if(n.is(Ri.setState))return n.value;return e.startState.facet(To)!=e.state.facet(To)?ic.init(e.state):t.apply(e)}});let rA=t=>{let e=setTimeout(()=>t(),500);return()=>clearTimeout(e)};typeof requestIdleCallback!="undefined"&&(rA=t=>{let e=-1,n=setTimeout(()=>{e=requestIdleCallback(t,{timeout:500-100})},100);return()=>e<0?clearTimeout(n):cancelIdleCallback(e)});const cm=typeof navigator!="undefined"&&((lm=navigator.scheduling)===null||lm===void 0?void 0:lm.isInputPending)?()=>navigator.scheduling.isInputPending():null,Vle=un.fromClass(class{constructor(e){this.view=e,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(e){let n=this.view.state.field(Ri.state).context;(n.updateViewport(e.view.viewport)||this.view.viewport.to>n.treeLen)&&this.scheduleWork(),e.docChanged&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(n)}scheduleWork(){if(this.working)return;let{state:e}=this.view,n=e.field(Ri.state);(n.tree!=n.context.tree||!n.context.isDone(e.doc.length))&&(this.working=rA(this.work))}work(e){this.working=null;let n=Date.now();if(this.chunkEndr+1e3,l=s.context.work(()=>cm&&cm()||Date.now()>o,r+(a?0:1e5));this.chunkBudget-=Date.now()-n,(l||this.chunkBudget<=0)&&(s.context.takeTree(),this.view.dispatch({effects:Ri.setState.of(new ic(s.context))})),this.chunkBudget>0&&!(l&&!a)&&this.scheduleWork(),this.checkAsyncSchedule(s.context)}checkAsyncSchedule(e){e.scheduleOn&&(this.workScheduled++,e.scheduleOn.then(()=>this.scheduleWork()).catch(n=>zi(this.view.state,n)).then(()=>this.workScheduled--),e.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),To=Ge.define({combine(t){return t.length?t[0]:null},enables:[Ri.state,Vle]});class sr{constructor(e,n=[]){this.language=e,this.support=n,this.extension=[e,n]}}class md{constructor(e,n,i,r,s,o=void 0){this.name=e,this.alias=n,this.extensions=i,this.filename=r,this.loadFunc=s,this.support=o,this.loading=null}load(){return this.loading||(this.loading=this.loadFunc().then(e=>this.support=e,e=>{throw this.loading=null,e}))}static of(e){let{load:n,support:i}=e;if(!n){if(!i)throw new RangeError("Must pass either 'load' or 'support' to LanguageDescription.of");n=()=>Promise.resolve(i)}return new md(e.name,(e.alias||[]).concat(e.name).map(r=>r.toLowerCase()),e.extensions||[],e.filename,n,i)}static matchFilename(e,n){for(let r of e)if(r.filename&&r.filename.test(n))return r;let i=/\.([^.]+)$/.exec(n);if(i){for(let r of e)if(r.extensions.indexOf(i[1])>-1)return r}return null}static matchLanguageName(e,n,i=!0){n=n.toLowerCase();for(let r of e)if(r.alias.some(s=>s==n))return r;if(i)for(let r of e)for(let s of r.alias){let o=n.indexOf(s);if(o>-1&&(s.length>2||!/\w/.test(n[o-1])&&!/\w/.test(n[o+s.length])))return r}return null}}const sA=Ge.define(),Cf=Ge.define({combine:t=>{if(!t.length)return" ";if(!/^(?: +|\t+)$/.test(t[0]))throw new Error("Invalid indent unit: "+JSON.stringify(t[0]));return t[0]}});function Ra(t){let e=t.facet(Cf);return e.charCodeAt(0)==9?t.tabSize*e.length:e.length}function sf(t,e){let n="",i=t.tabSize;if(t.facet(Cf).charCodeAt(0)==9)for(;e>=i;)n+=" ",e-=i;for(let r=0;r=i.from&&r<=i.to?s&&r==e?{text:"",from:e}:(n<0?r-1&&(s+=o-this.countColumn(i,i.search(/\S|$/))),s}countColumn(e,n=e.length){return Pf(e,this.state.tabSize,n)}lineIndent(e,n=1){let{text:i,from:r}=this.lineAt(e,n),s=this.options.overrideIndentation;if(s){let o=s(r);if(o>-1)return o}return this.countColumn(i,i.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}}const or=new ft;function jle(t,e,n){return oA(e.resolveInner(n).enterUnfinishedNodesBefore(n),n,t)}function Nle(t){return t.pos==t.options.simulateBreak&&t.options.simulateDoubleBreak}function Fle(t){let e=t.type.prop(or);if(e)return e;let n=t.firstChild,i;if(n&&(i=n.type.prop(ft.closedBy))){let r=t.lastChild,s=r&&i.indexOf(r.name)>-1;return o=>aA(o,!0,1,void 0,s&&!Nle(o)?r.from:void 0)}return t.parent==null?Gle:null}function oA(t,e,n){for(;t;t=t.parent){let i=Fle(t);if(i)return i(H$.create(n,e,t))}return null}function Gle(){return 0}class H$ extends Cp{constructor(e,n,i){super(e.state,e.options),this.base=e,this.pos=n,this.node=i}static create(e,n,i){return new H$(e,n,i)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){let e=this.state.doc.lineAt(this.node.from);for(;;){let n=this.node.resolve(e.from);for(;n.parent&&n.parent.from==n.from;)n=n.parent;if(Hle(n,this.node))break;e=this.state.doc.lineAt(n.from)}return this.lineIndent(e.from)}continue(){let e=this.node.parent;return e?oA(e,this.pos,this.base):0}}function Hle(t,e){for(let n=e;n;n=n.parent)if(t==n)return!0;return!1}function Kle(t){let e=t.node,n=e.childAfter(e.from),i=e.lastChild;if(!n)return null;let r=t.options.simulateBreak,s=t.state.doc.lineAt(n.from),o=r==null||r<=s.from?s.to:Math.min(s.to,r);for(let a=n.to;;){let l=e.childAfter(a);if(!l||l==i)return null;if(!l.type.isSkipped)return l.fromaA(i,e,n,t)}function aA(t,e,n,i,r){let s=t.textAfter,o=s.match(/^\s*/)[0].length,a=i&&s.slice(o,o+i.length)==i||r==t.pos+o,l=e?Kle(t):null;return l?a?t.column(l.from):t.column(l.to):t.baseIndent+(a?0:t.unit*n)}const K$=t=>t.baseIndent;function Nn({except:t,units:e=1}={}){return n=>{let i=t&&t.test(n.textAfter);return n.baseIndent+(i?0:e*n.unit)}}const Jle=200;function ece(){return St.transactionFilter.of(t=>{if(!t.docChanged||!t.isUserEvent("input.type")&&!t.isUserEvent("input.complete"))return t;let e=t.startState.languageDataAt("indentOnInput",t.startState.selection.main.head);if(!e.length)return t;let n=t.newDoc,{head:i}=t.newSelection.main,r=n.lineAt(i);if(i>r.from+Jle)return t;let s=n.sliceString(r.from,i);if(!e.some(c=>c.test(s)))return t;let{state:o}=t,a=-1,l=[];for(let{head:c}of o.selection.ranges){let u=o.doc.lineAt(c);if(u.from==a)continue;a=u.from;let O=G$(o,u.from);if(O==null)continue;let f=/^\s*/.exec(u.text)[0],h=sf(o,O);f!=h&&l.push({from:u.from,to:u.from+f.length,insert:h})}return l.length?[t,{changes:l,sequential:!0}]:t})}const tce=Ge.define(),ar=new ft;function ja(t){let e=t.firstChild,n=t.lastChild;return e&&e.ton)continue;if(s&&o.from=e&&l.to>n&&(s=l)}}return s}function ice(t){let e=t.lastChild;return e&&e.to==t.to&&e.type.isError}function gd(t,e,n){for(let i of t.facet(tce)){let r=i(t,e,n);if(r)return r}return nce(t,e,n)}function lA(t,e){let n=e.mapPos(t.from,1),i=e.mapPos(t.to,-1);return n>=i?void 0:{from:n,to:i}}const Tp=ut.define({map:lA}),Tf=ut.define({map:lA});function cA(t){let e=[];for(let{head:n}of t.state.selection.ranges)e.some(i=>i.from<=n&&i.to>=n)||e.push(t.lineBlockAt(n));return e}const Aa=An.define({create(){return je.none},update(t,e){t=t.map(e.changes);for(let n of e.effects)n.is(Tp)&&!rce(t,n.value.from,n.value.to)?t=t.update({add:[pw.range(n.value.from,n.value.to)]}):n.is(Tf)&&(t=t.update({filter:(i,r)=>n.value.from!=i||n.value.to!=r,filterFrom:n.value.from,filterTo:n.value.to}));if(e.selection){let n=!1,{head:i}=e.selection.main;t.between(i,i,(r,s)=>{ri&&(n=!0)}),n&&(t=t.update({filterFrom:i,filterTo:i,filter:(r,s)=>s<=i||r>=i}))}return t},provide:t=>Ve.decorations.from(t),toJSON(t,e){let n=[];return t.between(0,e.doc.length,(i,r)=>{n.push(i,r)}),n},fromJSON(t){if(!Array.isArray(t)||t.length%2)throw new RangeError("Invalid JSON for fold state");let e=[];for(let n=0;n{(!r||r.from>s)&&(r={from:s,to:o})}),r}function rce(t,e,n){let i=!1;return t.between(e,e,(r,s)=>{r==e&&s==n&&(i=!0)}),i}function uA(t,e){return t.field(Aa,!1)?e:e.concat(ut.appendConfig.of(hA()))}const sce=t=>{for(let e of cA(t)){let n=gd(t.state,e.from,e.to);if(n)return t.dispatch({effects:uA(t.state,[Tp.of(n),fA(t,n)])}),!0}return!1},oce=t=>{if(!t.state.field(Aa,!1))return!1;let e=[];for(let n of cA(t)){let i=vd(t.state,n.from,n.to);i&&e.push(Tf.of(i),fA(t,i,!1))}return e.length&&t.dispatch({effects:e}),e.length>0};function fA(t,e,n=!0){let i=t.state.doc.lineAt(e.from).number,r=t.state.doc.lineAt(e.to).number;return Ve.announce.of(`${t.state.phrase(n?"Folded lines":"Unfolded lines")} ${i} ${t.state.phrase("to")} ${r}.`)}const ace=t=>{let{state:e}=t,n=[];for(let i=0;i{let e=t.state.field(Aa,!1);if(!e||!e.size)return!1;let n=[];return e.between(0,t.state.doc.length,(i,r)=>{n.push(Tf.of({from:i,to:r}))}),t.dispatch({effects:n}),!0},cce=[{key:"Ctrl-Shift-[",mac:"Cmd-Alt-[",run:sce},{key:"Ctrl-Shift-]",mac:"Cmd-Alt-]",run:oce},{key:"Ctrl-Alt-[",run:ace},{key:"Ctrl-Alt-]",run:lce}],uce={placeholderDOM:null,placeholderText:"\u2026"},OA=Ge.define({combine(t){return As(t,uce)}});function hA(t){let e=[Aa,hce];return t&&e.push(OA.of(t)),e}const pw=je.replace({widget:new class extends ns{toDOM(t){let{state:e}=t,n=e.facet(OA),i=s=>{let o=t.lineBlockAt(t.posAtDOM(s.target)),a=vd(t.state,o.from,o.to);a&&t.dispatch({effects:Tf.of(a)}),s.preventDefault()};if(n.placeholderDOM)return n.placeholderDOM(t,i);let r=document.createElement("span");return r.textContent=n.placeholderText,r.setAttribute("aria-label",e.phrase("folded code")),r.title=e.phrase("unfold"),r.className="cm-foldPlaceholder",r.onclick=i,r}}}),fce={openText:"\u2304",closedText:"\u203A",markerDOM:null,domEventHandlers:{},foldingChanged:()=>!1};class um extends ws{constructor(e,n){super(),this.config=e,this.open=n}eq(e){return this.config==e.config&&this.open==e.open}toDOM(e){if(this.config.markerDOM)return this.config.markerDOM(this.open);let n=document.createElement("span");return n.textContent=this.open?this.config.openText:this.config.closedText,n.title=e.state.phrase(this.open?"Fold line":"Unfold line"),n}}function Oce(t={}){let e=Object.assign(Object.assign({},fce),t),n=new um(e,!0),i=new um(e,!1),r=un.fromClass(class{constructor(o){this.from=o.viewport.from,this.markers=this.buildMarkers(o)}update(o){(o.docChanged||o.viewportChanged||o.startState.facet(To)!=o.state.facet(To)||o.startState.field(Aa,!1)!=o.state.field(Aa,!1)||jt(o.startState)!=jt(o.state)||e.foldingChanged(o))&&(this.markers=this.buildMarkers(o.view))}buildMarkers(o){let a=new xo;for(let l of o.viewportLineBlocks){let c=vd(o.state,l.from,l.to)?i:gd(o.state,l.from,l.to)?n:null;c&&a.add(l.from,l.from,c)}return a.finish()}}),{domEventHandlers:s}=e;return[r,ple({class:"cm-foldGutter",markers(o){var a;return((a=o.plugin(r))===null||a===void 0?void 0:a.markers)||zt.empty},initialSpacer(){return new um(e,!1)},domEventHandlers:Object.assign(Object.assign({},s),{click:(o,a,l)=>{if(s.click&&s.click(o,a,l))return!0;let c=vd(o.state,a.from,a.to);if(c)return o.dispatch({effects:Tf.of(c)}),!0;let u=gd(o.state,a.from,a.to);return u?(o.dispatch({effects:Tp.of(u)}),!0):!1}})}),hA()]}const hce=Ve.baseTheme({".cm-foldPlaceholder":{backgroundColor:"#eee",border:"1px solid #ddd",color:"#888",borderRadius:".2em",margin:"0 1px",padding:"0 1px",cursor:"pointer"},".cm-foldGutter span":{padding:"0 1px",cursor:"pointer"}});class Rf{constructor(e,n){let i;function r(a){let l=Po.newName();return(i||(i=Object.create(null)))["."+l]=a,l}const s=typeof n.all=="string"?n.all:n.all?r(n.all):void 0,o=n.scope;this.scope=o instanceof Ri?a=>a.prop(Ca)==o.data:o?a=>a==o:void 0,this.style=iA(e.map(a=>({tag:a.tag,class:a.class||r(Object.assign({},a,{tag:null}))})),{all:s}).style,this.module=i?new Po(i):null,this.themeType=n.themeType}static define(e,n){return new Rf(e,n||{})}}const Iv=Ge.define(),dA=Ge.define({combine(t){return t.length?[t[0]]:null}});function fm(t){let e=t.facet(Iv);return e.length?e:t.facet(dA)}function pA(t,e){let n=[pce],i;return t instanceof Rf&&(t.module&&n.push(Ve.styleModule.of(t.module)),i=t.themeType),e!=null&&e.fallback?n.push(dA.of(t)):i?n.push(Iv.computeN([Ve.darkTheme],r=>r.facet(Ve.darkTheme)==(i=="dark")?[t]:[])):n.push(Iv.of(t)),n}class dce{constructor(e){this.markCache=Object.create(null),this.tree=jt(e.state),this.decorations=this.buildDeco(e,fm(e.state))}update(e){let n=jt(e.state),i=fm(e.state),r=i!=fm(e.startState);n.length{i.add(o,a,this.markCache[l]||(this.markCache[l]=je.mark({class:l})))},r,s);return i.finish()}}const pce=qo.high(un.fromClass(dce,{decorations:t=>t.decorations})),mce=Rf.define([{tag:z.meta,color:"#7a757a"},{tag:z.link,textDecoration:"underline"},{tag:z.heading,textDecoration:"underline",fontWeight:"bold"},{tag:z.emphasis,fontStyle:"italic"},{tag:z.strong,fontWeight:"bold"},{tag:z.strikethrough,textDecoration:"line-through"},{tag:z.keyword,color:"#708"},{tag:[z.atom,z.bool,z.url,z.contentSeparator,z.labelName],color:"#219"},{tag:[z.literal,z.inserted],color:"#164"},{tag:[z.string,z.deleted],color:"#a11"},{tag:[z.regexp,z.escape,z.special(z.string)],color:"#e40"},{tag:z.definition(z.variableName),color:"#00f"},{tag:z.local(z.variableName),color:"#30a"},{tag:[z.typeName,z.namespace],color:"#085"},{tag:z.className,color:"#167"},{tag:[z.special(z.variableName),z.macroName],color:"#256"},{tag:z.definition(z.propertyName),color:"#00c"},{tag:z.comment,color:"#940"},{tag:z.invalid,color:"#f00"}]),gce=Ve.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),mA=1e4,gA="()[]{}",vA=Ge.define({combine(t){return As(t,{afterCursor:!0,brackets:gA,maxScanDistance:mA,renderMatch:$ce})}}),vce=je.mark({class:"cm-matchingBracket"}),yce=je.mark({class:"cm-nonmatchingBracket"});function $ce(t){let e=[],n=t.matched?vce:yce;return e.push(n.range(t.start.from,t.start.to)),t.end&&e.push(n.range(t.end.from,t.end.to)),e}const bce=An.define({create(){return je.none},update(t,e){if(!e.docChanged&&!e.selection)return t;let n=[],i=e.state.facet(vA);for(let r of e.state.selection.ranges){if(!r.empty)continue;let s=Mr(e.state,r.head,-1,i)||r.head>0&&Mr(e.state,r.head-1,1,i)||i.afterCursor&&(Mr(e.state,r.head,1,i)||r.headVe.decorations.from(t)}),_ce=[bce,gce];function Qce(t={}){return[vA.of(t),_ce]}function qv(t,e,n){let i=t.prop(e<0?ft.openedBy:ft.closedBy);if(i)return i;if(t.name.length==1){let r=n.indexOf(t.name);if(r>-1&&r%2==(e<0?1:0))return[n[r+e]]}return null}function Mr(t,e,n,i={}){let r=i.maxScanDistance||mA,s=i.brackets||gA,o=jt(t),a=o.resolveInner(e,n);for(let l=a;l;l=l.parent){let c=qv(l.type,n,s);if(c&&l.from=i.to){if(l==0&&r.indexOf(c.type.name)>-1&&c.from0)return null;let c={from:n<0?e-1:e,to:n>0?e+1:e},u=t.doc.iterRange(e,n>0?t.doc.length:0),O=0;for(let f=0;!u.next().done&&f<=s;){let h=u.value;n<0&&(f+=h.length);let p=e+f*n;for(let y=n>0?0:h.length-1,$=n>0?h.length:-1;y!=$;y+=n){let m=o.indexOf(h[y]);if(!(m<0||i.resolveInner(p+y,1).type!=r))if(m%2==0==n>0)O++;else{if(O==1)return{start:c,end:{from:p+y,to:p+y+1},matched:m>>1==l>>1};O--}}n>0&&(f+=h.length)}return u.done?{start:c,matched:!1}:null}function mw(t,e,n,i=0,r=0){e==null&&(e=t.search(/[^\s\u00a0]/),e==-1&&(e=t.length));let s=r;for(let o=i;o=this.string.length}sol(){return this.pos==0}peek(){return this.string.charAt(this.pos)||void 0}next(){if(this.posn}eatSpace(){let e=this.pos;for(;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e}skipToEnd(){this.pos=this.string.length}skipTo(e){let n=this.string.indexOf(e,this.pos);if(n>-1)return this.pos=n,!0}backUp(e){this.pos-=e}column(){return this.lastColumnPosi?o.toLowerCase():o,s=this.string.substr(this.pos,e.length);return r(s)==r(e)?(n!==!1&&(this.pos+=e.length),!0):null}else{let r=this.string.slice(this.pos).match(e);return r&&r.index>0?null:(r&&n!==!1&&(this.pos+=r[0].length),r)}}current(){return this.string.slice(this.start,this.pos)}}function xce(t){return{token:t.token,blankLine:t.blankLine||(()=>{}),startState:t.startState||(()=>!0),copyState:t.copyState||Pce,indent:t.indent||(()=>null),languageData:t.languageData||{},tokenTable:t.tokenTable||e1}}function Pce(t){if(typeof t!="object")return t;let e={};for(let n in t){let i=t[n];e[n]=i instanceof Array?i.slice():i}return e}class Vi extends Ri{constructor(e){let n=F$(e.languageData),i=xce(e),r,s=new class extends kp{createParse(o,a,l){return new Cce(r,o,a,l)}};super(n,s,[sA.of((o,a)=>this.getIndent(o,a))]),this.topNode=Ace(n),r=this,this.streamParser=i,this.stateAfter=new ft({perNode:!0}),this.tokenTable=e.tokenTable?new QA(i.tokenTable):Rce}static define(e){return new Vi(e)}getIndent(e,n){let i=jt(e.state),r=i.resolve(n);for(;r&&r.type!=this.topNode;)r=r.parent;if(!r)return null;let s=J$(this,i,0,r.from,n),o,a;if(s?(a=s.state,o=s.pos+1):(a=this.streamParser.startState(e.unit),o=0),n-o>1e4)return null;for(;o=i&&n+e.length<=r&&e.prop(t.stateAfter);if(s)return{state:t.streamParser.copyState(s),pos:n+e.length};for(let o=e.children.length-1;o>=0;o--){let a=e.children[o],l=n+e.positions[o],c=a instanceof vt&&l=e.length)return e;!r&&e.type==t.topNode&&(r=!0);for(let s=e.children.length-1;s>=0;s--){let o=e.positions[s],a=e.children[s],l;if(on&&J$(t,r.tree,0-r.offset,n,o),l;if(a&&(l=$A(t,r.tree,n+r.offset,a.pos+r.offset,!1)))return{state:a.state,tree:l}}return{state:t.streamParser.startState(i?Ra(i):4),tree:vt.empty}}class Cce{constructor(e,n,i,r){this.lang=e,this.input=n,this.fragments=i,this.ranges=r,this.stoppedAt=null,this.chunks=[],this.chunkPos=[],this.chunk=[],this.chunkReused=void 0,this.rangeIndex=0,this.to=r[r.length-1].to;let s=Ta.get(),o=r[0].from,{state:a,tree:l}=kce(e,i,o,s==null?void 0:s.state);this.state=a,this.parsedPos=this.chunkStart=o+l.length;for(let c=0;c=n?this.finish():e&&this.parsedPos>=e.viewport.to?(e.skipUntilInView(this.parsedPos,n),this.finish()):null}stopAt(e){this.stoppedAt=e}lineAfter(e){let n=this.input.chunk(e);if(this.input.lineChunks)n==` +`&&(n="");else{let i=n.indexOf(` +`);i>-1&&(n=n.slice(0,i))}return e+n.length<=this.to?n:n.slice(0,this.to-e)}nextLine(){let e=this.parsedPos,n=this.lineAfter(e),i=e+n.length;for(let r=this.rangeIndex;;){let s=this.ranges[r].to;if(s>=i||(n=n.slice(0,s-(i-n.length)),r++,r==this.ranges.length))break;let o=this.ranges[r].from,a=this.lineAfter(o);n+=a,i=o+a.length}return{line:n,end:i}}skipGapsTo(e,n,i){for(;;){let r=this.ranges[this.rangeIndex].to,s=e+n;if(i>0?r>s:r>=s)break;n+=this.ranges[++this.rangeIndex].from-r}return n}moveRangeIndex(){for(;this.ranges[this.rangeIndex].to1){s=this.skipGapsTo(n,s,1),n+=s;let o=this.chunk.length;s=this.skipGapsTo(i,s,-1),i+=s,r+=this.chunk.length-o}return this.chunk.push(e,n,i,r),s}parseLine(e){let{line:n,end:i}=this.nextLine(),r=0,{streamParser:s}=this.lang,o=new yA(n,e?e.state.tabSize:4,e?Ra(e.state):2);if(o.eol())s.blankLine(this.state,o.indentUnit);else for(;!o.eol();){let a=bA(s.token,o,this.state);if(a&&(r=this.emitToken(this.lang.tokenTable.resolve(a),this.parsedPos+o.start,this.parsedPos+o.pos,4,r)),o.start>1e4)break}this.parsedPos=i,this.moveRangeIndex(),this.parsedPose.start)return r}throw new Error("Stream parser failed to advance stream.")}const e1=Object.create(null),of=[mn.none],Tce=new wc(of),gw=[],_A=Object.create(null);for(let[t,e]of[["variable","variableName"],["variable-2","variableName.special"],["string-2","string.special"],["def","variableName.definition"],["tag","tagName"],["attribute","attributeName"],["type","typeName"],["builtin","variableName.standard"],["qualifier","modifier"],["error","invalid"],["header","heading"],["property","propertyName"]])_A[t]=SA(e1,e);class QA{constructor(e){this.extra=e,this.table=Object.assign(Object.create(null),_A)}resolve(e){return e?this.table[e]||(this.table[e]=SA(this.extra,e)):0}}const Rce=new QA(e1);function Om(t,e){gw.indexOf(t)>-1||(gw.push(t),console.warn(e))}function SA(t,e){let n=null;for(let s of e.split(".")){let o=t[s]||z[s];o?typeof o=="function"?n?n=o(n):Om(s,`Modifier ${s} used at start of tag`):n?Om(s,`Tag ${s} used as modifier`):n=o:Om(s,`Unknown highlighting tag ${s}`)}if(!n)return 0;let i=e.replace(/ /g,"_"),r=mn.define({id:of.length,name:i,props:[Li({[i]:n})]});return of.push(r),r.id}function Ace(t){let e=mn.define({id:of.length,name:"Document",props:[Ca.add(()=>t)]});return of.push(e),e}const Ece=t=>{let e=n1(t.state);return e.line?Xce(t):e.block?zce(t):!1};function t1(t,e){return({state:n,dispatch:i})=>{if(n.readOnly)return!1;let r=t(e,n);return r?(i(n.update(r)),!0):!1}}const Xce=t1(Uce,0),Wce=t1(wA,0),zce=t1((t,e)=>wA(t,e,qce(e)),0);function n1(t,e=t.selection.main.head){let n=t.languageDataAt("commentTokens",e);return n.length?n[0]:{}}const Lc=50;function Ice(t,{open:e,close:n},i,r){let s=t.sliceDoc(i-Lc,i),o=t.sliceDoc(r,r+Lc),a=/\s*$/.exec(s)[0].length,l=/^\s*/.exec(o)[0].length,c=s.length-a;if(s.slice(c-e.length,c)==e&&o.slice(l,l+n.length)==n)return{open:{pos:i-a,margin:a&&1},close:{pos:r+l,margin:l&&1}};let u,O;r-i<=2*Lc?u=O=t.sliceDoc(i,r):(u=t.sliceDoc(i,i+Lc),O=t.sliceDoc(r-Lc,r));let f=/^\s*/.exec(u)[0].length,h=/\s*$/.exec(O)[0].length,p=O.length-h-n.length;return u.slice(f,f+e.length)==e&&O.slice(p,p+n.length)==n?{open:{pos:i+f+e.length,margin:/\s/.test(u.charAt(f+e.length))?1:0},close:{pos:r-h-n.length,margin:/\s/.test(O.charAt(p-1))?1:0}}:null}function qce(t){let e=[];for(let n of t.selection.ranges){let i=t.doc.lineAt(n.from),r=n.to<=i.to?i:t.doc.lineAt(n.to),s=e.length-1;s>=0&&e[s].to>i.from?e[s].to=r.to:e.push({from:i.from,to:r.to})}return e}function wA(t,e,n=e.selection.ranges){let i=n.map(s=>n1(e,s.from).block);if(!i.every(s=>s))return null;let r=n.map((s,o)=>Ice(e,i[o],s.from,s.to));if(t!=2&&!r.every(s=>s))return{changes:e.changes(n.map((s,o)=>r[o]?[]:[{from:s.from,insert:i[o].open+" "},{from:s.to,insert:" "+i[o].close}]))};if(t!=1&&r.some(s=>s)){let s=[];for(let o=0,a;or&&(s==o||o>u.from)){r=u.from;let O=n1(e,c).line;if(!O)continue;let f=/^\s*/.exec(u.text)[0].length,h=f==u.length,p=u.text.slice(f,f+O.length)==O?f:-1;fs.comment<0&&(!s.empty||s.single))){let s=[];for(let{line:a,token:l,indent:c,empty:u,single:O}of i)(O||!u)&&s.push({from:a.from+c,insert:l+" "});let o=e.changes(s);return{changes:o,selection:e.selection.map(o,1)}}else if(t!=1&&i.some(s=>s.comment>=0)){let s=[];for(let{line:o,comment:a,token:l}of i)if(a>=0){let c=o.from+a,u=c+l.length;o.text[u-o.from]==" "&&u++,s.push({from:c,to:u})}return{changes:s}}return null}const Uv=Za.define(),Dce=Za.define(),Lce=Ge.define(),xA=Ge.define({combine(t){return As(t,{minDepth:100,newGroupDelay:500},{minDepth:Math.max,newGroupDelay:Math.min})}});function Bce(t){let e=0;return t.iterChangedRanges((n,i)=>e=i),e}const PA=An.define({create(){return Yr.empty},update(t,e){let n=e.state.facet(xA),i=e.annotation(Uv);if(i){let l=e.docChanged?we.single(Bce(e.changes)):void 0,c=fi.fromTransaction(e,l),u=i.side,O=u==0?t.undone:t.done;return c?O=yd(O,O.length,n.minDepth,c):O=TA(O,e.startState.selection),new Yr(u==0?i.rest:O,u==0?O:i.rest)}let r=e.annotation(Dce);if((r=="full"||r=="before")&&(t=t.isolate()),e.annotation($n.addToHistory)===!1)return e.changes.empty?t:t.addMapping(e.changes.desc);let s=fi.fromTransaction(e),o=e.annotation($n.time),a=e.annotation($n.userEvent);return s?t=t.addChanges(s,o,a,n.newGroupDelay,n.minDepth):e.selection&&(t=t.addSelection(e.startState.selection,o,a,n.newGroupDelay)),(r=="full"||r=="after")&&(t=t.isolate()),t},toJSON(t){return{done:t.done.map(e=>e.toJSON()),undone:t.undone.map(e=>e.toJSON())}},fromJSON(t){return new Yr(t.done.map(fi.fromJSON),t.undone.map(fi.fromJSON))}});function Mce(t={}){return[PA,xA.of(t),Ve.domEventHandlers({beforeinput(e,n){let i=e.inputType=="historyUndo"?kA:e.inputType=="historyRedo"?Dv:null;return i?(e.preventDefault(),i(n)):!1}})]}function Rp(t,e){return function({state:n,dispatch:i}){if(!e&&n.readOnly)return!1;let r=n.field(PA,!1);if(!r)return!1;let s=r.pop(t,n,e);return s?(i(s),!0):!1}}const kA=Rp(0,!1),Dv=Rp(1,!1),Yce=Rp(0,!0),Zce=Rp(1,!0);class fi{constructor(e,n,i,r,s){this.changes=e,this.effects=n,this.mapped=i,this.startSelection=r,this.selectionsAfter=s}setSelAfter(e){return new fi(this.changes,this.effects,this.mapped,this.startSelection,e)}toJSON(){var e,n,i;return{changes:(e=this.changes)===null||e===void 0?void 0:e.toJSON(),mapped:(n=this.mapped)===null||n===void 0?void 0:n.toJSON(),startSelection:(i=this.startSelection)===null||i===void 0?void 0:i.toJSON(),selectionsAfter:this.selectionsAfter.map(r=>r.toJSON())}}static fromJSON(e){return new fi(e.changes&&yn.fromJSON(e.changes),[],e.mapped&&jr.fromJSON(e.mapped),e.startSelection&&we.fromJSON(e.startSelection),e.selectionsAfter.map(we.fromJSON))}static fromTransaction(e,n){let i=Hi;for(let r of e.startState.facet(Lce)){let s=r(e);s.length&&(i=i.concat(s))}return!i.length&&e.changes.empty?null:new fi(e.changes.invert(e.startState.doc),i,void 0,n||e.startState.selection,Hi)}static selection(e){return new fi(void 0,Hi,void 0,void 0,e)}}function yd(t,e,n,i){let r=e+1>n+20?e-n-1:0,s=t.slice(r,e);return s.push(i),s}function Vce(t,e){let n=[],i=!1;return t.iterChangedRanges((r,s)=>n.push(r,s)),e.iterChangedRanges((r,s,o,a)=>{for(let l=0;l=c&&o<=u&&(i=!0)}}),i}function jce(t,e){return t.ranges.length==e.ranges.length&&t.ranges.filter((n,i)=>n.empty!=e.ranges[i].empty).length===0}function CA(t,e){return t.length?e.length?t.concat(e):t:e}const Hi=[],Nce=200;function TA(t,e){if(t.length){let n=t[t.length-1],i=n.selectionsAfter.slice(Math.max(0,n.selectionsAfter.length-Nce));return i.length&&i[i.length-1].eq(e)?t:(i.push(e),yd(t,t.length-1,1e9,n.setSelAfter(i)))}else return[fi.selection([e])]}function Fce(t){let e=t[t.length-1],n=t.slice();return n[t.length-1]=e.setSelAfter(e.selectionsAfter.slice(0,e.selectionsAfter.length-1)),n}function hm(t,e){if(!t.length)return t;let n=t.length,i=Hi;for(;n;){let r=Gce(t[n-1],e,i);if(r.changes&&!r.changes.empty||r.effects.length){let s=t.slice(0,n);return s[n-1]=r,s}else e=r.mapped,n--,i=r.selectionsAfter}return i.length?[fi.selection(i)]:Hi}function Gce(t,e,n){let i=CA(t.selectionsAfter.length?t.selectionsAfter.map(a=>a.map(e)):Hi,n);if(!t.changes)return fi.selection(i);let r=t.changes.map(e),s=e.mapDesc(t.changes,!0),o=t.mapped?t.mapped.composeDesc(s):s;return new fi(r,ut.mapEffects(t.effects,e),o,t.startSelection.map(s),i)}const Hce=/^(input\.type|delete)($|\.)/;class Yr{constructor(e,n,i=0,r=void 0){this.done=e,this.undone=n,this.prevTime=i,this.prevUserEvent=r}isolate(){return this.prevTime?new Yr(this.done,this.undone):this}addChanges(e,n,i,r,s){let o=this.done,a=o[o.length-1];return a&&a.changes&&!a.changes.empty&&e.changes&&(!i||Hce.test(i))&&(!a.selectionsAfter.length&&n-this.prevTime0&&n-this.prevTimen.empty?t.moveByChar(n,e):Ap(n,e))}function lr(t){return t.textDirectionAt(t.state.selection.main.head)==sn.LTR}const AA=t=>RA(t,!lr(t)),EA=t=>RA(t,lr(t));function XA(t,e){return Es(t,n=>n.empty?t.moveByGroup(n,e):Ap(n,e))}const Jce=t=>XA(t,!lr(t)),eue=t=>XA(t,lr(t));function tue(t,e,n){if(e.type.prop(n))return!0;let i=e.to-e.from;return i&&(i>2||/[^\s,.;:]/.test(t.sliceDoc(e.from,e.to)))||e.firstChild}function Ep(t,e,n){let i=jt(t).resolveInner(e.head),r=n?ft.closedBy:ft.openedBy;for(let l=e.head;;){let c=n?i.childAfter(l):i.childBefore(l);if(!c)break;tue(t,c,r)?i=c:l=n?c.to:c.from}let s=i.type.prop(r),o,a;return s&&(o=n?Mr(t,i.from,1):Mr(t,i.to,-1))&&o.matched?a=n?o.end.to:o.end.from:a=n?i.to:i.from,we.cursor(a,n?-1:1)}const nue=t=>Es(t,e=>Ep(t.state,e,!lr(t))),iue=t=>Es(t,e=>Ep(t.state,e,lr(t)));function WA(t,e){return Es(t,n=>{if(!n.empty)return Ap(n,e);let i=t.moveVertically(n,e);return i.head!=n.head?i:t.moveToLineBoundary(n,e)})}const zA=t=>WA(t,!1),IA=t=>WA(t,!0);function qA(t){return Math.max(t.defaultLineHeight,Math.min(t.dom.clientHeight,innerHeight)-5)}function UA(t,e){let{state:n}=t,i=xc(n.selection,a=>a.empty?t.moveVertically(a,e,qA(t)):Ap(a,e));if(i.eq(n.selection))return!1;let r=t.coordsAtPos(n.selection.main.head),s=t.scrollDOM.getBoundingClientRect(),o;return r&&r.top>s.top&&r.bottomUA(t,!1),Lv=t=>UA(t,!0);function Xp(t,e,n){let i=t.lineBlockAt(e.head),r=t.moveToLineBoundary(e,n);if(r.head==e.head&&r.head!=(n?i.to:i.from)&&(r=t.moveToLineBoundary(e,n,!1)),!n&&r.head==i.from&&i.length){let s=/^\s*/.exec(t.state.sliceDoc(i.from,Math.min(i.from+100,i.to)))[0].length;s&&e.head!=i.from+s&&(r=we.cursor(i.from+s))}return r}const yw=t=>Es(t,e=>Xp(t,e,!0)),$w=t=>Es(t,e=>Xp(t,e,!1)),rue=t=>Es(t,e=>we.cursor(t.lineBlockAt(e.head).from,1)),sue=t=>Es(t,e=>we.cursor(t.lineBlockAt(e.head).to,-1));function oue(t,e,n){let i=!1,r=xc(t.selection,s=>{let o=Mr(t,s.head,-1)||Mr(t,s.head,1)||s.head>0&&Mr(t,s.head-1,1)||s.headoue(t,e,!1);function rs(t,e){let n=xc(t.state.selection,i=>{let r=e(i);return we.range(i.anchor,r.head,r.goalColumn)});return n.eq(t.state.selection)?!1:(t.dispatch(is(t.state,n)),!0)}function DA(t,e){return rs(t,n=>t.moveByChar(n,e))}const LA=t=>DA(t,!lr(t)),BA=t=>DA(t,lr(t));function MA(t,e){return rs(t,n=>t.moveByGroup(n,e))}const lue=t=>MA(t,!lr(t)),cue=t=>MA(t,lr(t)),uue=t=>rs(t,e=>Ep(t.state,e,!lr(t))),fue=t=>rs(t,e=>Ep(t.state,e,lr(t)));function YA(t,e){return rs(t,n=>t.moveVertically(n,e))}const ZA=t=>YA(t,!1),VA=t=>YA(t,!0);function jA(t,e){return rs(t,n=>t.moveVertically(n,e,qA(t)))}const bw=t=>jA(t,!1),_w=t=>jA(t,!0),Qw=t=>rs(t,e=>Xp(t,e,!0)),Sw=t=>rs(t,e=>Xp(t,e,!1)),Oue=t=>rs(t,e=>we.cursor(t.lineBlockAt(e.head).from)),hue=t=>rs(t,e=>we.cursor(t.lineBlockAt(e.head).to)),ww=({state:t,dispatch:e})=>(e(is(t,{anchor:0})),!0),xw=({state:t,dispatch:e})=>(e(is(t,{anchor:t.doc.length})),!0),Pw=({state:t,dispatch:e})=>(e(is(t,{anchor:t.selection.main.anchor,head:0})),!0),kw=({state:t,dispatch:e})=>(e(is(t,{anchor:t.selection.main.anchor,head:t.doc.length})),!0),due=({state:t,dispatch:e})=>(e(t.update({selection:{anchor:0,head:t.doc.length},userEvent:"select"})),!0),pue=({state:t,dispatch:e})=>{let n=Ip(t).map(({from:i,to:r})=>we.range(i,Math.min(r+1,t.doc.length)));return e(t.update({selection:we.create(n),userEvent:"select"})),!0},mue=({state:t,dispatch:e})=>{let n=xc(t.selection,i=>{var r;let s=jt(t).resolveInner(i.head,1);for(;!(s.from=i.to||s.to>i.to&&s.from<=i.from||!(!((r=s.parent)===null||r===void 0)&&r.parent));)s=s.parent;return we.range(s.to,s.from)});return e(is(t,n)),!0},gue=({state:t,dispatch:e})=>{let n=t.selection,i=null;return n.ranges.length>1?i=we.create([n.main]):n.main.empty||(i=we.create([we.cursor(n.main.head)])),i?(e(is(t,i)),!0):!1};function Wp({state:t,dispatch:e},n){if(t.readOnly)return!1;let i="delete.selection",r=t.changeByRange(s=>{let{from:o,to:a}=s;if(o==a){let l=n(o);lo&&(i="delete.forward"),o=Math.min(o,l),a=Math.max(a,l)}return o==a?{range:s}:{changes:{from:o,to:a},range:we.cursor(o)}});return r.changes.empty?!1:(e(t.update(r,{scrollIntoView:!0,userEvent:i,effects:i=="delete.selection"?Ve.announce.of(t.phrase("Selection deleted")):void 0})),!0)}function zp(t,e,n){if(t instanceof Ve)for(let i of t.state.facet(Ve.atomicRanges).map(r=>r(t)))i.between(e,e,(r,s)=>{re&&(e=n?s:r)});return e}const NA=(t,e)=>Wp(t,n=>{let{state:i}=t,r=i.doc.lineAt(n),s,o;if(!e&&n>r.from&&nNA(t,!1),FA=t=>NA(t,!0),GA=(t,e)=>Wp(t,n=>{let i=n,{state:r}=t,s=r.doc.lineAt(i),o=r.charCategorizer(i);for(let a=null;;){if(i==(e?s.to:s.from)){i==n&&s.number!=(e?r.doc.lines:1)&&(i+=e?1:-1);break}let l=Ti(s.text,i-s.from,e)+s.from,c=s.text.slice(Math.min(i,l)-s.from,Math.max(i,l)-s.from),u=o(c);if(a!=null&&u!=a)break;(c!=" "||i!=n)&&(a=u),i=l}return zp(t,i,e)}),HA=t=>GA(t,!1),vue=t=>GA(t,!0),KA=t=>Wp(t,e=>{let n=t.lineBlockAt(e).to;return zp(t,eWp(t,e=>{let n=t.lineBlockAt(e).from;return zp(t,e>n?n:Math.max(0,e-1),!1)}),$ue=({state:t,dispatch:e})=>{if(t.readOnly)return!1;let n=t.changeByRange(i=>({changes:{from:i.from,to:i.to,insert:Xt.of(["",""])},range:we.cursor(i.from)}));return e(t.update(n,{scrollIntoView:!0,userEvent:"input"})),!0},bue=({state:t,dispatch:e})=>{if(t.readOnly)return!1;let n=t.changeByRange(i=>{if(!i.empty||i.from==0||i.from==t.doc.length)return{range:i};let r=i.from,s=t.doc.lineAt(r),o=r==s.from?r-1:Ti(s.text,r-s.from,!1)+s.from,a=r==s.to?r+1:Ti(s.text,r-s.from,!0)+s.from;return{changes:{from:o,to:a,insert:t.doc.slice(r,a).append(t.doc.slice(o,r))},range:we.cursor(a)}});return n.changes.empty?!1:(e(t.update(n,{scrollIntoView:!0,userEvent:"move.character"})),!0)};function Ip(t){let e=[],n=-1;for(let i of t.selection.ranges){let r=t.doc.lineAt(i.from),s=t.doc.lineAt(i.to);if(!i.empty&&i.to==s.from&&(s=t.doc.lineAt(i.to-1)),n>=r.number){let o=e[e.length-1];o.to=s.to,o.ranges.push(i)}else e.push({from:r.from,to:s.to,ranges:[i]});n=s.number+1}return e}function JA(t,e,n){if(t.readOnly)return!1;let i=[],r=[];for(let s of Ip(t)){if(n?s.to==t.doc.length:s.from==0)continue;let o=t.doc.lineAt(n?s.to+1:s.from-1),a=o.length+1;if(n){i.push({from:s.to,to:o.to},{from:s.from,insert:o.text+t.lineBreak});for(let l of s.ranges)r.push(we.range(Math.min(t.doc.length,l.anchor+a),Math.min(t.doc.length,l.head+a)))}else{i.push({from:o.from,to:s.from},{from:s.to,insert:t.lineBreak+o.text});for(let l of s.ranges)r.push(we.range(l.anchor-a,l.head-a))}}return i.length?(e(t.update({changes:i,scrollIntoView:!0,selection:we.create(r,t.selection.mainIndex),userEvent:"move.line"})),!0):!1}const _ue=({state:t,dispatch:e})=>JA(t,e,!1),Que=({state:t,dispatch:e})=>JA(t,e,!0);function e4(t,e,n){if(t.readOnly)return!1;let i=[];for(let r of Ip(t))n?i.push({from:r.from,insert:t.doc.slice(r.from,r.to)+t.lineBreak}):i.push({from:r.to,insert:t.lineBreak+t.doc.slice(r.from,r.to)});return e(t.update({changes:i,scrollIntoView:!0,userEvent:"input.copyline"})),!0}const Sue=({state:t,dispatch:e})=>e4(t,e,!1),wue=({state:t,dispatch:e})=>e4(t,e,!0),xue=t=>{if(t.state.readOnly)return!1;let{state:e}=t,n=e.changes(Ip(e).map(({from:r,to:s})=>(r>0?r--:st.moveVertically(r,!0)).map(n);return t.dispatch({changes:n,selection:i,scrollIntoView:!0,userEvent:"delete.line"}),!0};function Pue(t,e){if(/\(\)|\[\]|\{\}/.test(t.sliceDoc(e-1,e+1)))return{from:e,to:e};let n=jt(t).resolveInner(e),i=n.childBefore(e),r=n.childAfter(e),s;return i&&r&&i.to<=e&&r.from>=e&&(s=i.type.prop(ft.closedBy))&&s.indexOf(r.name)>-1&&t.doc.lineAt(i.to).from==t.doc.lineAt(r.from).from?{from:i.to,to:r.from}:null}const kue=t4(!1),Cue=t4(!0);function t4(t){return({state:e,dispatch:n})=>{if(e.readOnly)return!1;let i=e.changeByRange(r=>{let{from:s,to:o}=r,a=e.doc.lineAt(s),l=!t&&s==o&&Pue(e,s);t&&(s=o=(o<=a.to?a:e.doc.lineAt(o)).to);let c=new Cp(e,{simulateBreak:s,simulateDoubleBreak:!!l}),u=G$(c,s);for(u==null&&(u=/^\s*/.exec(e.doc.lineAt(s).text)[0].length);oa.from&&s{let r=[];for(let o=i.from;o<=i.to;){let a=t.doc.lineAt(o);a.number>n&&(i.empty||i.to>a.from)&&(e(a,r,i),n=a.number),o=a.to+1}let s=t.changes(r);return{changes:r,range:we.range(s.mapPos(i.anchor,1),s.mapPos(i.head,1))}})}const Tue=({state:t,dispatch:e})=>{if(t.readOnly)return!1;let n=Object.create(null),i=new Cp(t,{overrideIndentation:s=>{let o=n[s];return o==null?-1:o}}),r=i1(t,(s,o,a)=>{let l=G$(i,s.from);if(l==null)return;/\S/.test(s.text)||(l=0);let c=/^\s*/.exec(s.text)[0],u=sf(t,l);(c!=u||a.fromt.readOnly?!1:(e(t.update(i1(t,(n,i)=>{i.push({from:n.from,insert:t.facet(Cf)})}),{userEvent:"input.indent"})),!0),i4=({state:t,dispatch:e})=>t.readOnly?!1:(e(t.update(i1(t,(n,i)=>{let r=/^\s*/.exec(n.text)[0];if(!r)return;let s=Pf(r,t.tabSize),o=0,a=sf(t,Math.max(0,s-Ra(t)));for(;o({mac:t.key,run:t.run,shift:t.shift}))),Eue=[{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:nue,shift:uue},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:iue,shift:fue},{key:"Alt-ArrowUp",run:_ue},{key:"Shift-Alt-ArrowUp",run:Sue},{key:"Alt-ArrowDown",run:Que},{key:"Shift-Alt-ArrowDown",run:wue},{key:"Escape",run:gue},{key:"Mod-Enter",run:Cue},{key:"Alt-l",mac:"Ctrl-l",run:pue},{key:"Mod-i",run:mue,preventDefault:!0},{key:"Mod-[",run:i4},{key:"Mod-]",run:n4},{key:"Mod-Alt-\\",run:Tue},{key:"Shift-Mod-k",run:xue},{key:"Shift-Mod-\\",run:aue},{key:"Mod-/",run:Ece},{key:"Alt-A",run:Wce}].concat(Aue),Xue={key:"Tab",run:n4,shift:i4};function Jt(){var t=arguments[0];typeof t=="string"&&(t=document.createElement(t));var e=1,n=arguments[1];if(n&&typeof n=="object"&&n.nodeType==null&&!Array.isArray(n)){for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)){var r=n[i];typeof r=="string"?t.setAttribute(i,r):r!=null&&(t[i]=r)}e++}for(;et.normalize("NFKD"):t=>t;class rc{constructor(e,n,i=0,r=e.length,s){this.value={from:0,to:0},this.done=!1,this.matches=[],this.buffer="",this.bufferPos=0,this.iter=e.iterRange(i,r),this.bufferStart=i,this.normalize=s?o=>s(Cw(o)):Cw,this.query=this.normalize(n)}peek(){if(this.bufferPos==this.buffer.length){if(this.bufferStart+=this.buffer.length,this.iter.next(),this.iter.done)return-1;this.bufferPos=0,this.buffer=this.iter.value}return Wn(this.buffer,this.bufferPos)}next(){for(;this.matches.length;)this.matches.pop();return this.nextOverlapping()}nextOverlapping(){for(;;){let e=this.peek();if(e<0)return this.done=!0,this;let n=X$(e),i=this.bufferStart+this.bufferPos;this.bufferPos+=xi(e);let r=this.normalize(n);for(let s=0,o=i;;s++){let a=r.charCodeAt(s),l=this.match(a,o);if(l)return this.value=l,this;if(s==r.length-1)break;o==i&&sthis.to&&(this.curLine=this.curLine.slice(0,this.to-this.curLineStart)),this.iter.next())}nextLine(){this.curLineStart=this.curLineStart+this.curLine.length+1,this.curLineStart>this.to?this.curLine="":this.getLine(0)}next(){for(let e=this.matchPos-this.curLineStart;;){this.re.lastIndex=e;let n=this.matchPos<=this.to&&this.re.exec(this.curLine);if(n){let i=this.curLineStart+n.index,r=i+n[0].length;if(this.matchPos=r+(i==r?1:0),i==this.curLine.length&&this.nextLine(),ithis.value.to)return this.value={from:i,to:r,match:n},this;e=this.matchPos-this.curLineStart}else if(this.curLineStart+this.curLine.length=i||r.to<=n){let a=new Rl(n,e.sliceString(n,i));return dm.set(e,a),a}if(r.from==n&&r.to==i)return r;let{text:s,from:o}=r;return o>n&&(s=e.sliceString(n,o)+s,o=n),r.to=this.to?this.to:this.text.lineAt(e).to}next(){for(;;){let e=this.re.lastIndex=this.matchPos-this.flat.from,n=this.re.exec(this.flat.text);if(n&&!n[0]&&n.index==e&&(this.re.lastIndex=e+1,n=this.re.exec(this.flat.text)),n&&this.flat.tothis.flat.text.length-10&&(n=null),n){let i=this.flat.from+n.index,r=i+n[0].length;return this.value={from:i,to:r,match:n},this.matchPos=r+(i==r?1:0),this}else{if(this.flat.to==this.to)return this.done=!0,this;this.flat=Rl.get(this.text,this.flat.from,this.chunkEnd(this.flat.from+this.flat.text.length*2))}}}}typeof Symbol!="undefined"&&(o4.prototype[Symbol.iterator]=a4.prototype[Symbol.iterator]=function(){return this});function Wue(t){try{return new RegExp(t,r1),!0}catch{return!1}}function Mv(t){let e=Jt("input",{class:"cm-textfield",name:"line"}),n=Jt("form",{class:"cm-gotoLine",onkeydown:r=>{r.keyCode==27?(r.preventDefault(),t.dispatch({effects:$d.of(!1)}),t.focus()):r.keyCode==13&&(r.preventDefault(),i())},onsubmit:r=>{r.preventDefault(),i()}},Jt("label",t.state.phrase("Go to line"),": ",e)," ",Jt("button",{class:"cm-button",type:"submit"},t.state.phrase("go")));function i(){let r=/^([+-])?(\d+)?(:\d+)?(%)?$/.exec(e.value);if(!r)return;let{state:s}=t,o=s.doc.lineAt(s.selection.main.head),[,a,l,c,u]=r,O=c?+c.slice(1):0,f=l?+l:o.number;if(l&&u){let p=f/100;a&&(p=p*(a=="-"?-1:1)+o.number/s.doc.lines),f=Math.round(s.doc.lines*p)}else l&&a&&(f=f*(a=="-"?-1:1)+o.number);let h=s.doc.line(Math.max(1,Math.min(s.doc.lines,f)));t.dispatch({effects:$d.of(!1),selection:we.cursor(h.from+Math.max(0,Math.min(O,h.length))),scrollIntoView:!0}),t.focus()}return{dom:n}}const $d=ut.define(),Tw=An.define({create(){return!0},update(t,e){for(let n of e.effects)n.is($d)&&(t=n.value);return t},provide:t=>nf.from(t,e=>e?Mv:null)}),zue=t=>{let e=tf(t,Mv);if(!e){let n=[$d.of(!0)];t.state.field(Tw,!1)==null&&n.push(ut.appendConfig.of([Tw,Iue])),t.dispatch({effects:n}),e=tf(t,Mv)}return e&&e.dom.querySelector("input").focus(),!0},Iue=Ve.baseTheme({".cm-panel.cm-gotoLine":{padding:"2px 6px 4px","& label":{fontSize:"80%"}}}),que={highlightWordAroundCursor:!1,minSelectionLength:1,maxMatches:100,wholeWords:!1},l4=Ge.define({combine(t){return As(t,que,{highlightWordAroundCursor:(e,n)=>e||n,minSelectionLength:Math.min,maxMatches:Math.min})}});function Uue(t){let e=[Yue,Mue];return t&&e.push(l4.of(t)),e}const Due=je.mark({class:"cm-selectionMatch"}),Lue=je.mark({class:"cm-selectionMatch cm-selectionMatch-main"});function Rw(t,e,n,i){return(n==0||t(e.sliceDoc(n-1,n))!=ti.Word)&&(i==e.doc.length||t(e.sliceDoc(i,i+1))!=ti.Word)}function Bue(t,e,n,i){return t(e.sliceDoc(n,n+1))==ti.Word&&t(e.sliceDoc(i-1,i))==ti.Word}const Mue=un.fromClass(class{constructor(t){this.decorations=this.getDeco(t)}update(t){(t.selectionSet||t.docChanged||t.viewportChanged)&&(this.decorations=this.getDeco(t.view))}getDeco(t){let e=t.state.facet(l4),{state:n}=t,i=n.selection;if(i.ranges.length>1)return je.none;let r=i.main,s,o=null;if(r.empty){if(!e.highlightWordAroundCursor)return je.none;let l=n.wordAt(r.head);if(!l)return je.none;o=n.charCategorizer(r.head),s=n.sliceDoc(l.from,l.to)}else{let l=r.to-r.from;if(l200)return je.none;if(e.wholeWords){if(s=n.sliceDoc(r.from,r.to),o=n.charCategorizer(r.head),!(Rw(o,n,r.from,r.to)&&Bue(o,n,r.from,r.to)))return je.none}else if(s=n.sliceDoc(r.from,r.to).trim(),!s)return je.none}let a=[];for(let l of t.visibleRanges){let c=new rc(n.doc,s,l.from,l.to);for(;!c.next().done;){let{from:u,to:O}=c.value;if((!o||Rw(o,n,u,O))&&(r.empty&&u<=r.from&&O>=r.to?a.push(Lue.range(u,O)):(u>=r.to||O<=r.from)&&a.push(Due.range(u,O)),a.length>e.maxMatches))return je.none}}return je.set(a)}},{decorations:t=>t.decorations}),Yue=Ve.baseTheme({".cm-selectionMatch":{backgroundColor:"#99ff7780"},".cm-searchMatch .cm-selectionMatch":{backgroundColor:"transparent"}}),Zue=({state:t,dispatch:e})=>{let{selection:n}=t,i=we.create(n.ranges.map(r=>t.wordAt(r.head)||we.cursor(r.head)),n.mainIndex);return i.eq(n)?!1:(e(t.update({selection:i})),!0)};function Vue(t,e){let{main:n,ranges:i}=t.selection,r=t.wordAt(n.head),s=r&&r.from==n.from&&r.to==n.to;for(let o=!1,a=new rc(t.doc,e,i[i.length-1].to);;)if(a.next(),a.done){if(o)return null;a=new rc(t.doc,e,0,Math.max(0,i[i.length-1].from-1)),o=!0}else{if(o&&i.some(l=>l.from==a.value.from))continue;if(s){let l=t.wordAt(a.value.from);if(!l||l.from!=a.value.from||l.to!=a.value.to)continue}return a.value}}const jue=({state:t,dispatch:e})=>{let{ranges:n}=t.selection;if(n.some(s=>s.from===s.to))return Zue({state:t,dispatch:e});let i=t.sliceDoc(n[0].from,n[0].to);if(t.selection.ranges.some(s=>t.sliceDoc(s.from,s.to)!=i))return!1;let r=Vue(t,i);return r?(e(t.update({selection:t.selection.addRange(we.range(r.from,r.to),!1),effects:Ve.scrollIntoView(r.to)})),!0):!1},s1=Ge.define({combine(t){var e;return{top:t.reduce((n,i)=>n!=null?n:i.top,void 0)||!1,caseSensitive:t.reduce((n,i)=>n!=null?n:i.caseSensitive,void 0)||!1,createPanel:((e=t.find(n=>n.createPanel))===null||e===void 0?void 0:e.createPanel)||(n=>new ife(n))}}});class c4{constructor(e){this.search=e.search,this.caseSensitive=!!e.caseSensitive,this.regexp=!!e.regexp,this.replace=e.replace||"",this.valid=!!this.search&&(!this.regexp||Wue(this.search)),this.unquoted=e.literal?this.search:this.search.replace(/\\([nrt\\])/g,(n,i)=>i=="n"?` +`:i=="r"?"\r":i=="t"?" ":"\\")}eq(e){return this.search==e.search&&this.replace==e.replace&&this.caseSensitive==e.caseSensitive&&this.regexp==e.regexp}create(){return this.regexp?new Fue(this):new Nue(this)}getCursor(e,n=0,i=e.length){return this.regexp?$l(this,e,n,i):yl(this,e,n,i)}}class u4{constructor(e){this.spec=e}}function yl(t,e,n,i){return new rc(e,t.unquoted,n,i,t.caseSensitive?void 0:r=>r.toLowerCase())}class Nue extends u4{constructor(e){super(e)}nextMatch(e,n,i){let r=yl(this.spec,e,i,e.length).nextOverlapping();return r.done&&(r=yl(this.spec,e,0,n).nextOverlapping()),r.done?null:r.value}prevMatchInRange(e,n,i){for(let r=i;;){let s=Math.max(n,r-1e4-this.spec.unquoted.length),o=yl(this.spec,e,s,r),a=null;for(;!o.nextOverlapping().done;)a=o.value;if(a)return a;if(s==n)return null;r-=1e4}}prevMatch(e,n,i){return this.prevMatchInRange(e,0,n)||this.prevMatchInRange(e,i,e.length)}getReplacement(e){return this.spec.replace}matchAll(e,n){let i=yl(this.spec,e,0,e.length),r=[];for(;!i.next().done;){if(r.length>=n)return null;r.push(i.value)}return r}highlight(e,n,i,r){let s=yl(this.spec,e,Math.max(0,n-this.spec.unquoted.length),Math.min(i+this.spec.unquoted.length,e.length));for(;!s.next().done;)r(s.value.from,s.value.to)}}function $l(t,e,n,i){return new o4(e,t.search,t.caseSensitive?void 0:{ignoreCase:!0},n,i)}class Fue extends u4{nextMatch(e,n,i){let r=$l(this.spec,e,i,e.length).next();return r.done&&(r=$l(this.spec,e,0,n).next()),r.done?null:r.value}prevMatchInRange(e,n,i){for(let r=1;;r++){let s=Math.max(n,i-r*1e4),o=$l(this.spec,e,s,i),a=null;for(;!o.next().done;)a=o.value;if(a&&(s==n||a.from>s+10))return a;if(s==n)return null}}prevMatch(e,n,i){return this.prevMatchInRange(e,0,n)||this.prevMatchInRange(e,i,e.length)}getReplacement(e){return this.spec.replace.replace(/\$([$&\d+])/g,(n,i)=>i=="$"?"$":i=="&"?e.match[0]:i!="0"&&+i=n)return null;r.push(i.value)}return r}highlight(e,n,i,r){let s=$l(this.spec,e,Math.max(0,n-250),Math.min(i+250,e.length));for(;!s.next().done;)r(s.value.from,s.value.to)}}const af=ut.define(),o1=ut.define(),vo=An.define({create(t){return new pm(Yv(t).create(),null)},update(t,e){for(let n of e.effects)n.is(af)?t=new pm(n.value.create(),t.panel):n.is(o1)&&(t=new pm(t.query,n.value?a1:null));return t},provide:t=>nf.from(t,e=>e.panel)});class pm{constructor(e,n){this.query=e,this.panel=n}}const Gue=je.mark({class:"cm-searchMatch"}),Hue=je.mark({class:"cm-searchMatch cm-searchMatch-selected"}),Kue=un.fromClass(class{constructor(t){this.view=t,this.decorations=this.highlight(t.state.field(vo))}update(t){let e=t.state.field(vo);(e!=t.startState.field(vo)||t.docChanged||t.selectionSet||t.viewportChanged)&&(this.decorations=this.highlight(e))}highlight({query:t,panel:e}){if(!e||!t.spec.valid)return je.none;let{view:n}=this,i=new xo;for(let r=0,s=n.visibleRanges,o=s.length;rs[r+1].from-2*250;)l=s[++r].to;t.highlight(n.state.doc,a,l,(c,u)=>{let O=n.state.selection.ranges.some(f=>f.from==c&&f.to==u);i.add(c,u,O?Hue:Gue)})}return i.finish()}},{decorations:t=>t.decorations});function Af(t){return e=>{let n=e.state.field(vo,!1);return n&&n.query.spec.valid?t(e,n):f4(e)}}const bd=Af((t,{query:e})=>{let{from:n,to:i}=t.state.selection.main,r=e.nextMatch(t.state.doc,n,i);return!r||r.from==n&&r.to==i?!1:(t.dispatch({selection:{anchor:r.from,head:r.to},scrollIntoView:!0,effects:l1(t,r),userEvent:"select.search"}),!0)}),_d=Af((t,{query:e})=>{let{state:n}=t,{from:i,to:r}=n.selection.main,s=e.prevMatch(n.doc,i,r);return s?(t.dispatch({selection:{anchor:s.from,head:s.to},scrollIntoView:!0,effects:l1(t,s),userEvent:"select.search"}),!0):!1}),Jue=Af((t,{query:e})=>{let n=e.matchAll(t.state.doc,1e3);return!n||!n.length?!1:(t.dispatch({selection:we.create(n.map(i=>we.range(i.from,i.to))),userEvent:"select.search.matches"}),!0)}),efe=({state:t,dispatch:e})=>{let n=t.selection;if(n.ranges.length>1||n.main.empty)return!1;let{from:i,to:r}=n.main,s=[],o=0;for(let a=new rc(t.doc,t.sliceDoc(i,r));!a.next().done;){if(s.length>1e3)return!1;a.value.from==i&&(o=s.length),s.push(we.range(a.value.from,a.value.to))}return e(t.update({selection:we.create(s,o),userEvent:"select.search.matches"})),!0},Aw=Af((t,{query:e})=>{let{state:n}=t,{from:i,to:r}=n.selection.main;if(n.readOnly)return!1;let s=e.nextMatch(n.doc,i,i);if(!s)return!1;let o=[],a,l,c=[];if(s.from==i&&s.to==r&&(l=n.toText(e.getReplacement(s)),o.push({from:s.from,to:s.to,insert:l}),s=e.nextMatch(n.doc,s.from,s.to),c.push(Ve.announce.of(n.phrase("replaced match on line $",n.doc.lineAt(i).number)+"."))),s){let u=o.length==0||o[0].from>=s.to?0:s.to-s.from-l.length;a={anchor:s.from-u,head:s.to-u},c.push(l1(t,s))}return t.dispatch({changes:o,selection:a,scrollIntoView:!!a,effects:c,userEvent:"input.replace"}),!0}),tfe=Af((t,{query:e})=>{if(t.state.readOnly)return!1;let n=e.matchAll(t.state.doc,1e9).map(r=>{let{from:s,to:o}=r;return{from:s,to:o,insert:e.getReplacement(r)}});if(!n.length)return!1;let i=t.state.phrase("replaced $ matches",n.length)+".";return t.dispatch({changes:n,effects:Ve.announce.of(i),userEvent:"input.replace.all"}),!0});function a1(t){return t.state.facet(s1).createPanel(t)}function Yv(t,e){var n;let i=t.selection.main,r=i.empty||i.to>i.from+100?"":t.sliceDoc(i.from,i.to),s=(n=e==null?void 0:e.caseSensitive)!==null&&n!==void 0?n:t.facet(s1).caseSensitive;return e&&!r?e:new c4({search:r.replace(/\n/g,"\\n"),caseSensitive:s})}const f4=t=>{let e=t.state.field(vo,!1);if(e&&e.panel){let n=tf(t,a1);if(!n)return!1;let i=n.dom.querySelector("[main-field]");if(i&&i!=t.root.activeElement){let r=Yv(t.state,e.query.spec);r.valid&&t.dispatch({effects:af.of(r)}),i.focus(),i.select()}}else t.dispatch({effects:[o1.of(!0),e?af.of(Yv(t.state,e.query.spec)):ut.appendConfig.of(sfe)]});return!0},O4=t=>{let e=t.state.field(vo,!1);if(!e||!e.panel)return!1;let n=tf(t,a1);return n&&n.dom.contains(t.root.activeElement)&&t.focus(),t.dispatch({effects:o1.of(!1)}),!0},nfe=[{key:"Mod-f",run:f4,scope:"editor search-panel"},{key:"F3",run:bd,shift:_d,scope:"editor search-panel",preventDefault:!0},{key:"Mod-g",run:bd,shift:_d,scope:"editor search-panel",preventDefault:!0},{key:"Escape",run:O4,scope:"editor search-panel"},{key:"Mod-Shift-l",run:efe},{key:"Alt-g",run:zue},{key:"Mod-d",run:jue,preventDefault:!0}];class ife{constructor(e){this.view=e;let n=this.query=e.state.field(vo).query.spec;this.commit=this.commit.bind(this),this.searchField=Jt("input",{value:n.search,placeholder:Zi(e,"Find"),"aria-label":Zi(e,"Find"),class:"cm-textfield",name:"search","main-field":"true",onchange:this.commit,onkeyup:this.commit}),this.replaceField=Jt("input",{value:n.replace,placeholder:Zi(e,"Replace"),"aria-label":Zi(e,"Replace"),class:"cm-textfield",name:"replace",onchange:this.commit,onkeyup:this.commit}),this.caseField=Jt("input",{type:"checkbox",name:"case",checked:n.caseSensitive,onchange:this.commit}),this.reField=Jt("input",{type:"checkbox",name:"re",checked:n.regexp,onchange:this.commit});function i(r,s,o){return Jt("button",{class:"cm-button",name:r,onclick:s,type:"button"},o)}this.dom=Jt("div",{onkeydown:r=>this.keydown(r),class:"cm-search"},[this.searchField,i("next",()=>bd(e),[Zi(e,"next")]),i("prev",()=>_d(e),[Zi(e,"previous")]),i("select",()=>Jue(e),[Zi(e,"all")]),Jt("label",null,[this.caseField,Zi(e,"match case")]),Jt("label",null,[this.reField,Zi(e,"regexp")]),...e.state.readOnly?[]:[Jt("br"),this.replaceField,i("replace",()=>Aw(e),[Zi(e,"replace")]),i("replaceAll",()=>tfe(e),[Zi(e,"replace all")]),Jt("button",{name:"close",onclick:()=>O4(e),"aria-label":Zi(e,"close"),type:"button"},["\xD7"])]])}commit(){let e=new c4({search:this.searchField.value,caseSensitive:this.caseField.checked,regexp:this.reField.checked,replace:this.replaceField.value});e.eq(this.query)||(this.query=e,this.view.dispatch({effects:af.of(e)}))}keydown(e){wae(this.view,e,"search-panel")?e.preventDefault():e.keyCode==13&&e.target==this.searchField?(e.preventDefault(),(e.shiftKey?_d:bd)(this.view)):e.keyCode==13&&e.target==this.replaceField&&(e.preventDefault(),Aw(this.view))}update(e){for(let n of e.transactions)for(let i of n.effects)i.is(af)&&!i.value.eq(this.query)&&this.setQuery(i.value)}setQuery(e){this.query=e,this.searchField.value=e.search,this.replaceField.value=e.replace,this.caseField.checked=e.caseSensitive,this.reField.checked=e.regexp}mount(){this.searchField.select()}get pos(){return 80}get top(){return this.view.state.facet(s1).top}}function Zi(t,e){return t.state.phrase(e)}const VO=30,jO=/[\s\.,:;?!]/;function l1(t,{from:e,to:n}){let i=t.state.doc.lineAt(e),r=t.state.doc.lineAt(n).to,s=Math.max(i.from,e-VO),o=Math.min(r,n+VO),a=t.state.sliceDoc(s,o);if(s!=i.from){for(let l=0;la.length-VO;l--)if(!jO.test(a[l-1])&&jO.test(a[l])){a=a.slice(0,l);break}}return Ve.announce.of(`${t.state.phrase("current match")}. ${a} ${t.state.phrase("on line")} ${i.number}.`)}const rfe=Ve.baseTheme({".cm-panel.cm-search":{padding:"2px 6px 4px",position:"relative","& [name=close]":{position:"absolute",top:"0",right:"4px",backgroundColor:"inherit",border:"none",font:"inherit",padding:0,margin:0},"& input, & button, & label":{margin:".2em .6em .2em 0"},"& input[type=checkbox]":{marginRight:".2em"},"& label":{fontSize:"80%",whiteSpace:"pre"}},"&light .cm-searchMatch":{backgroundColor:"#ffff0054"},"&dark .cm-searchMatch":{backgroundColor:"#00ffff8a"},"&light .cm-searchMatch-selected":{backgroundColor:"#ff6a0054"},"&dark .cm-searchMatch-selected":{backgroundColor:"#ff00ff8a"}}),sfe=[vo,qo.lowest(Kue),rfe];class h4{constructor(e,n,i){this.state=e,this.pos=n,this.explicit=i,this.abortListeners=[]}tokenBefore(e){let n=jt(this.state).resolveInner(this.pos,-1);for(;n&&e.indexOf(n.name)<0;)n=n.parent;return n?{from:n.from,to:this.pos,text:this.state.sliceDoc(n.from,this.pos),type:n.type}:null}matchBefore(e){let n=this.state.doc.lineAt(this.pos),i=Math.max(n.from,this.pos-250),r=n.text.slice(i-n.from,this.pos-n.from),s=r.search(p4(e,!1));return s<0?null:{from:i+s,to:this.pos,text:r.slice(s)}}get aborted(){return this.abortListeners==null}addEventListener(e,n){e=="abort"&&this.abortListeners&&this.abortListeners.push(n)}}function Ew(t){let e=Object.keys(t).join(""),n=/\w/.test(e);return n&&(e=e.replace(/\w/g,"")),`[${n?"\\w":""}${e.replace(/[^\w\s]/g,"\\$&")}]`}function ofe(t){let e=Object.create(null),n=Object.create(null);for(let{label:r}of t){e[r[0]]=!0;for(let s=1;stypeof r=="string"?{label:r}:r),[n,i]=e.every(r=>/^\w+$/.test(r.label))?[/\w*$/,/\w+$/]:ofe(e);return r=>{let s=r.matchBefore(i);return s||r.explicit?{from:s?s.from:r.pos,options:e,validFor:n}:null}}function d4(t,e){return n=>{for(let i=jt(n.state).resolveInner(n.pos,-1);i;i=i.parent)if(t.indexOf(i.name)>-1)return null;return e(n)}}class Xw{constructor(e,n,i){this.completion=e,this.source=n,this.match=i}}function yo(t){return t.selection.main.head}function p4(t,e){var n;let{source:i}=t,r=e&&i[0]!="^",s=i[i.length-1]!="$";return!r&&!s?t:new RegExp(`${r?"^":""}(?:${i})${s?"$":""}`,(n=t.flags)!==null&&n!==void 0?n:t.ignoreCase?"i":"")}function afe(t,e,n,i){return Object.assign(Object.assign({},t.changeByRange(r=>{if(r==t.selection.main)return{changes:{from:n,to:i,insert:e},range:we.cursor(n+e.length)};let s=i-n;return!r.empty||s&&t.sliceDoc(r.from-s,r.from)!=t.sliceDoc(n,i)?{range:r}:{changes:{from:r.from-s,to:r.from,insert:e},range:we.cursor(r.from-s+e.length)}})),{userEvent:"input.complete"})}function m4(t,e){const n=e.completion.apply||e.completion.label;let i=e.source;typeof n=="string"?t.dispatch(afe(t.state,n,i.from,i.to)):n(t,e.completion,i.from,i.to)}const Ww=new WeakMap;function lfe(t){if(!Array.isArray(t))return t;let e=Ww.get(t);return e||Ww.set(t,e=c1(t)),e}class cfe{constructor(e){this.pattern=e,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[];for(let n=0;n=48&&b<=57||b>=97&&b<=122?2:b>=65&&b<=90?1:0:(_=X$(b))!=_.toLowerCase()?1:_!=_.toUpperCase()?2:0;(!d||Q==1&&$||v==0&&Q!=0)&&(n[O]==b||i[O]==b&&(f=!0)?o[O++]=d:o.length&&(m=!1)),v=Q,d+=xi(b)}return O==l&&o[0]==0&&m?this.result(-100+(f?-200:0),o,e):h==l&&p==0?[-200-e.length,0,y]:a>-1?[-700-e.length,a,a+this.pattern.length]:h==l?[-200+-700-e.length,p,y]:O==l?this.result(-100+(f?-200:0)+-700+(m?0:-1100),o,e):n.length==2?null:this.result((r[0]?-700:0)+-200+-1100,r,e)}result(e,n,i){let r=[e-i.length],s=1;for(let o of n){let a=o+(this.astral?xi(Wn(i,o)):1);s>1&&r[s-1]==o?r[s-1]=a:(r[s++]=o,r[s++]=a)}return r}}const Ro=Ge.define({combine(t){return As(t,{activateOnTyping:!0,override:null,closeOnBlur:!0,maxRenderedOptions:100,defaultKeymap:!0,optionClass:()=>"",aboveCursor:!1,icons:!0,addToOptions:[]},{defaultKeymap:(e,n)=>e&&n,closeOnBlur:(e,n)=>e&&n,icons:(e,n)=>e&&n,optionClass:(e,n)=>i=>ufe(e(i),n(i)),addToOptions:(e,n)=>e.concat(n)})}});function ufe(t,e){return t?e?t+" "+e:t:e}function ffe(t){let e=t.addToOptions.slice();return t.icons&&e.push({render(n){let i=document.createElement("div");return i.classList.add("cm-completionIcon"),n.type&&i.classList.add(...n.type.split(/\s+/g).map(r=>"cm-completionIcon-"+r)),i.setAttribute("aria-hidden","true"),i},position:20}),e.push({render(n,i,r){let s=document.createElement("span");s.className="cm-completionLabel";let{label:o}=n,a=0;for(let l=1;la&&s.appendChild(document.createTextNode(o.slice(a,c)));let O=s.appendChild(document.createElement("span"));O.appendChild(document.createTextNode(o.slice(c,u))),O.className="cm-completionMatchedText",a=u}return an.position-i.position).map(n=>n.render)}function zw(t,e,n){if(t<=n)return{from:0,to:t};if(e<=t>>1){let r=Math.floor(e/n);return{from:r*n,to:(r+1)*n}}let i=Math.floor((t-e)/n);return{from:t-(i+1)*n,to:t-i*n}}class Ofe{constructor(e,n){this.view=e,this.stateField=n,this.info=null,this.placeInfo={read:()=>this.measureInfo(),write:a=>this.positionInfo(a),key:this};let i=e.state.field(n),{options:r,selected:s}=i.open,o=e.state.facet(Ro);this.optionContent=ffe(o),this.optionClass=o.optionClass,this.range=zw(r.length,s,o.maxRenderedOptions),this.dom=document.createElement("div"),this.dom.className="cm-tooltip-autocomplete",this.dom.addEventListener("mousedown",a=>{for(let l=a.target,c;l&&l!=this.dom;l=l.parentNode)if(l.nodeName=="LI"&&(c=/-(\d+)$/.exec(l.id))&&+c[1]{this.info&&this.view.requestMeasure(this.placeInfo)})}mount(){this.updateSel()}update(e){e.state.field(this.stateField)!=e.startState.field(this.stateField)&&this.updateSel()}positioned(){this.info&&this.view.requestMeasure(this.placeInfo)}updateSel(){let e=this.view.state.field(this.stateField),n=e.open;if((n.selected=this.range.to)&&(this.range=zw(n.options.length,n.selected,this.view.state.facet(Ro).maxRenderedOptions),this.list.remove(),this.list=this.dom.appendChild(this.createListBox(n.options,e.id,this.range)),this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfo)})),this.updateSelectedOption(n.selected)){this.info&&(this.info.remove(),this.info=null);let{completion:i}=n.options[n.selected],{info:r}=i;if(!r)return;let s=typeof r=="string"?document.createTextNode(r):r(i);if(!s)return;"then"in s?s.then(o=>{o&&this.view.state.field(this.stateField,!1)==e&&this.addInfoPane(o)}).catch(o=>zi(this.view.state,o,"completion info")):this.addInfoPane(s)}}addInfoPane(e){let n=this.info=document.createElement("div");n.className="cm-tooltip cm-completionInfo",n.appendChild(e),this.dom.appendChild(n),this.view.requestMeasure(this.placeInfo)}updateSelectedOption(e){let n=null;for(let i=this.list.firstChild,r=this.range.from;i;i=i.nextSibling,r++)r==e?i.hasAttribute("aria-selected")||(i.setAttribute("aria-selected","true"),n=i):i.hasAttribute("aria-selected")&&i.removeAttribute("aria-selected");return n&&dfe(this.list,n),n}measureInfo(){let e=this.dom.querySelector("[aria-selected]");if(!e||!this.info)return null;let n=this.dom.getBoundingClientRect(),i=this.info.getBoundingClientRect(),r=e.getBoundingClientRect();if(r.top>Math.min(innerHeight,n.bottom)-10||r.bottomnew Ofe(e,t)}function dfe(t,e){let n=t.getBoundingClientRect(),i=e.getBoundingClientRect();i.topn.bottom&&(t.scrollTop+=i.bottom-n.bottom)}function Iw(t){return(t.boost||0)*100+(t.apply?10:0)+(t.info?5:0)+(t.type?1:0)}function pfe(t,e){let n=[],i=0;for(let o of t)if(o.hasResult())if(o.result.filter===!1){let a=o.result.getMatch;for(let l of o.result.options){let c=[1e9-i++];if(a)for(let u of a(l))c.push(u);n.push(new Xw(l,o,c))}}else{let a=new cfe(e.sliceDoc(o.from,o.to)),l;for(let c of o.result.options)(l=a.match(c.label))&&(c.boost!=null&&(l[0]+=c.boost),n.push(new Xw(c,o,l)))}let r=[],s=null;for(let o of n.sort(yfe))!s||s.label!=o.completion.label||s.detail!=o.completion.detail||s.type!=null&&o.completion.type!=null&&s.type!=o.completion.type||s.apply!=o.completion.apply?r.push(o):Iw(o.completion)>Iw(s)&&(r[r.length-1]=o),s=o.completion;return r}class wu{constructor(e,n,i,r,s){this.options=e,this.attrs=n,this.tooltip=i,this.timestamp=r,this.selected=s}setSelected(e,n){return e==this.selected||e>=this.options.length?this:new wu(this.options,qw(n,e),this.tooltip,this.timestamp,e)}static build(e,n,i,r,s){let o=pfe(e,n);if(!o.length)return null;let a=0;if(r&&r.selected){let l=r.options[r.selected].completion;for(let c=0;cc.hasResult()?Math.min(l,c.from):l,1e8),create:hfe(Ni),above:s.aboveCursor},r?r.timestamp:Date.now(),a)}map(e){return new wu(this.options,this.attrs,Object.assign(Object.assign({},this.tooltip),{pos:e.mapPos(this.tooltip.pos)}),this.timestamp,this.selected)}}class Qd{constructor(e,n,i){this.active=e,this.id=n,this.open=i}static start(){return new Qd(vfe,"cm-ac-"+Math.floor(Math.random()*2e6).toString(36),null)}update(e){let{state:n}=e,i=n.facet(Ro),s=(i.override||n.languageDataAt("autocomplete",yo(n)).map(lfe)).map(a=>(this.active.find(c=>c.source==a)||new ui(a,this.active.some(c=>c.state!=0)?1:0)).update(e,i));s.length==this.active.length&&s.every((a,l)=>a==this.active[l])&&(s=this.active);let o=e.selection||s.some(a=>a.hasResult()&&e.changes.touchesRange(a.from,a.to))||!mfe(s,this.active)?wu.build(s,n,this.id,this.open,i):this.open&&e.docChanged?this.open.map(e.changes):this.open;!o&&s.every(a=>a.state!=1)&&s.some(a=>a.hasResult())&&(s=s.map(a=>a.hasResult()?new ui(a.source,0):a));for(let a of e.effects)a.is(v4)&&(o=o&&o.setSelected(a.value,this.id));return s==this.active&&o==this.open?this:new Qd(s,this.id,o)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:gfe}}function mfe(t,e){if(t==e)return!0;for(let n=0,i=0;;){for(;no||n=="delete"&&yo(e.startState)==this.from)return new ui(this.source,n=="input"&&i.activateOnTyping?1:0);let l=this.explicitPos<0?-1:e.changes.mapPos(this.explicitPos),c;return $fe(this.result.validFor,e.state,s,o)?new xu(this.source,l,this.result,s,o):this.result.update&&(c=this.result.update(this.result,s,o,new h4(e.state,a,l>=0)))?new xu(this.source,l,c,c.from,(r=c.to)!==null&&r!==void 0?r:yo(e.state)):new ui(this.source,1,l)}handleChange(e){return e.changes.touchesRange(this.from,this.to)?new ui(this.source,0):this.map(e.changes)}map(e){return e.empty?this:new xu(this.source,this.explicitPos<0?-1:e.mapPos(this.explicitPos),this.result,e.mapPos(this.from),e.mapPos(this.to,1))}}function $fe(t,e,n,i){if(!t)return!1;let r=e.sliceDoc(n,i);return typeof t=="function"?t(r,n,i,e):p4(t,!0).test(r)}const u1=ut.define(),Sd=ut.define(),g4=ut.define({map(t,e){return t.map(n=>n.map(e))}}),v4=ut.define(),Ni=An.define({create(){return Qd.start()},update(t,e){return t.update(e)},provide:t=>[M$.from(t,e=>e.tooltip),Ve.contentAttributes.from(t,e=>e.attrs)]}),y4=75;function NO(t,e="option"){return n=>{let i=n.state.field(Ni,!1);if(!i||!i.open||Date.now()-i.open.timestamp=a&&(o=e=="page"?a-1:0),n.dispatch({effects:v4.of(o)}),!0}}const bfe=t=>{let e=t.state.field(Ni,!1);return t.state.readOnly||!e||!e.open||Date.now()-e.open.timestampt.state.field(Ni,!1)?(t.dispatch({effects:u1.of(!0)}),!0):!1,Qfe=t=>{let e=t.state.field(Ni,!1);return!e||!e.active.some(n=>n.state!=0)?!1:(t.dispatch({effects:Sd.of(null)}),!0)};class Sfe{constructor(e,n){this.active=e,this.context=n,this.time=Date.now(),this.updates=[],this.done=void 0}}const Uw=50,wfe=50,xfe=1e3,Pfe=un.fromClass(class{constructor(t){this.view=t,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.composing=0;for(let e of t.state.field(Ni).active)e.state==1&&this.startQuery(e)}update(t){let e=t.state.field(Ni);if(!t.selectionSet&&!t.docChanged&&t.startState.field(Ni)==e)return;let n=t.transactions.some(i=>(i.selection||i.docChanged)&&!Zv(i));for(let i=0;iwfe&&Date.now()-r.time>xfe){for(let s of r.context.abortListeners)try{s()}catch(o){zi(this.view.state,o)}r.context.abortListeners=null,this.running.splice(i--,1)}else r.updates.push(...t.transactions)}if(this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),this.debounceUpdate=e.active.some(i=>i.state==1&&!this.running.some(r=>r.active.source==i.source))?setTimeout(()=>this.startUpdate(),Uw):-1,this.composing!=0)for(let i of t.transactions)Zv(i)=="input"?this.composing=2:this.composing==2&&i.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1;let{state:t}=this.view,e=t.field(Ni);for(let n of e.active)n.state==1&&!this.running.some(i=>i.active.source==n.source)&&this.startQuery(n)}startQuery(t){let{state:e}=this.view,n=yo(e),i=new h4(e,n,t.explicitPos==n),r=new Sfe(t,i);this.running.push(r),Promise.resolve(t.source(i)).then(s=>{r.context.aborted||(r.done=s||null,this.scheduleAccept())},s=>{this.view.dispatch({effects:Sd.of(null)}),zi(this.view.state,s)})}scheduleAccept(){this.running.every(t=>t.done!==void 0)?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout(()=>this.accept(),Uw))}accept(){var t;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let e=[],n=this.view.state.facet(Ro);for(let i=0;io.source==r.active.source);if(s&&s.state==1)if(r.done==null){let o=new ui(r.active.source,0);for(let a of r.updates)o=o.update(a,n);o.state!=1&&e.push(o)}else this.startQuery(s)}e.length&&this.view.dispatch({effects:g4.of(e)})}},{eventHandlers:{blur(){let t=this.view.state.field(Ni,!1);t&&t.tooltip&&this.view.state.facet(Ro).closeOnBlur&&this.view.dispatch({effects:Sd.of(null)})},compositionstart(){this.composing=1},compositionend(){this.composing==3&&setTimeout(()=>this.view.dispatch({effects:u1.of(!1)}),20),this.composing=0}}}),$4=Ve.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:"monospace",whiteSpace:"nowrap",overflow:"hidden auto",maxWidth_fallback:"700px",maxWidth:"min(700px, 95vw)",minWidth:"250px",maxHeight:"10em",listStyle:"none",margin:0,padding:0,"& > li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer",padding:"1px 3px",lineHeight:1.2}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c",color:"white"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"\xB7\xB7\xB7"',opacity:.5,display:"block",textAlign:"center"},".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",width:"max-content",maxWidth:"300px"},".cm-completionInfo.cm-completionInfo-left":{right:"100%"},".cm-completionInfo.cm-completionInfo-right":{left:"100%"},"&light .cm-snippetField":{backgroundColor:"#00000022"},"&dark .cm-snippetField":{backgroundColor:"#ffffff22"},".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},".cm-completionMatchedText":{textDecoration:"underline"},".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",textAlign:"center",paddingRight:".6em",opacity:"0.6"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'\u0192'"}},".cm-completionIcon-class":{"&:after":{content:"'\u25CB'"}},".cm-completionIcon-interface":{"&:after":{content:"'\u25CC'"}},".cm-completionIcon-variable":{"&:after":{content:"'\u{1D465}'"}},".cm-completionIcon-constant":{"&:after":{content:"'\u{1D436}'"}},".cm-completionIcon-type":{"&:after":{content:"'\u{1D461}'"}},".cm-completionIcon-enum":{"&:after":{content:"'\u222A'"}},".cm-completionIcon-property":{"&:after":{content:"'\u25A1'"}},".cm-completionIcon-keyword":{"&:after":{content:"'\u{1F511}\uFE0E'"}},".cm-completionIcon-namespace":{"&:after":{content:"'\u25A2'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}});class kfe{constructor(e,n,i,r){this.field=e,this.line=n,this.from=i,this.to=r}}class f1{constructor(e,n,i){this.field=e,this.from=n,this.to=i}map(e){let n=e.mapPos(this.from,-1,qn.TrackDel),i=e.mapPos(this.to,1,qn.TrackDel);return n==null||i==null?null:new f1(this.field,n,i)}}class O1{constructor(e,n){this.lines=e,this.fieldPositions=n}instantiate(e,n){let i=[],r=[n],s=e.doc.lineAt(n),o=/^\s*/.exec(s.text)[0];for(let l of this.lines){if(i.length){let c=o,u=/^\t*/.exec(l)[0].length;for(let O=0;Onew f1(l.field,r[l.line]+l.from,r[l.line]+l.to));return{text:i,ranges:a}}static parse(e){let n=[],i=[],r=[],s;for(let o of e.split(/\r\n?|\n/)){for(;s=/[#$]\{(?:(\d+)(?::([^}]*))?|([^}]*))\}/.exec(o);){let a=s[1]?+s[1]:null,l=s[2]||s[3]||"",c=-1;for(let u=0;u=c&&O.field++}r.push(new kfe(c,i.length,s.index,s.index+l.length)),o=o.slice(0,s.index)+l+o.slice(s.index+s[0].length)}for(let a;a=/([$#])\\{/.exec(o);){o=o.slice(0,a.index)+a[1]+"{"+o.slice(a.index+a[0].length);for(let l of r)l.line==i.length&&l.from>a.index&&(l.from--,l.to--)}i.push(o)}return new O1(i,r)}}let Cfe=je.widget({widget:new class extends ns{toDOM(){let t=document.createElement("span");return t.className="cm-snippetFieldPosition",t}ignoreEvent(){return!1}}}),Tfe=je.mark({class:"cm-snippetField"});class Pc{constructor(e,n){this.ranges=e,this.active=n,this.deco=je.set(e.map(i=>(i.from==i.to?Cfe:Tfe).range(i.from,i.to)))}map(e){let n=[];for(let i of this.ranges){let r=i.map(e);if(!r)return null;n.push(r)}return new Pc(n,this.active)}selectionInsideField(e){return e.ranges.every(n=>this.ranges.some(i=>i.field==this.active&&i.from<=n.from&&i.to>=n.to))}}const Ef=ut.define({map(t,e){return t&&t.map(e)}}),Rfe=ut.define(),lf=An.define({create(){return null},update(t,e){for(let n of e.effects){if(n.is(Ef))return n.value;if(n.is(Rfe)&&t)return new Pc(t.ranges,n.value)}return t&&e.docChanged&&(t=t.map(e.changes)),t&&e.selection&&!t.selectionInsideField(e.selection)&&(t=null),t},provide:t=>Ve.decorations.from(t,e=>e?e.deco:je.none)});function h1(t,e){return we.create(t.filter(n=>n.field==e).map(n=>we.range(n.from,n.to)))}function Afe(t){let e=O1.parse(t);return(n,i,r,s)=>{let{text:o,ranges:a}=e.instantiate(n.state,r),l={changes:{from:r,to:s,insert:Xt.of(o)},scrollIntoView:!0};if(a.length&&(l.selection=h1(a,0)),a.length>1){let c=new Pc(a,0),u=l.effects=[Ef.of(c)];n.state.field(lf,!1)===void 0&&u.push(ut.appendConfig.of([lf,Ife,qfe,$4]))}n.dispatch(n.state.update(l))}}function b4(t){return({state:e,dispatch:n})=>{let i=e.field(lf,!1);if(!i||t<0&&i.active==0)return!1;let r=i.active+t,s=t>0&&!i.ranges.some(o=>o.field==r+t);return n(e.update({selection:h1(i.ranges,r),effects:Ef.of(s?null:new Pc(i.ranges,r))})),!0}}const Efe=({state:t,dispatch:e})=>t.field(lf,!1)?(e(t.update({effects:Ef.of(null)})),!0):!1,Xfe=b4(1),Wfe=b4(-1),zfe=[{key:"Tab",run:Xfe,shift:Wfe},{key:"Escape",run:Efe}],Dw=Ge.define({combine(t){return t.length?t[0]:zfe}}),Ife=qo.highest(Sc.compute([Dw],t=>t.facet(Dw)));function hr(t,e){return Object.assign(Object.assign({},e),{apply:Afe(t)})}const qfe=Ve.domEventHandlers({mousedown(t,e){let n=e.state.field(lf,!1),i;if(!n||(i=e.posAtCoords({x:t.clientX,y:t.clientY}))==null)return!1;let r=n.ranges.find(s=>s.from<=i&&s.to>=i);return!r||r.field==n.active?!1:(e.dispatch({selection:h1(n.ranges,r.field),effects:Ef.of(n.ranges.some(s=>s.field>r.field)?new Pc(n.ranges,r.field):null)}),!0)}}),wd={brackets:["(","[","{","'",'"'],before:")]}:;>"},pa=ut.define({map(t,e){let n=e.mapPos(t,-1,qn.TrackAfter);return n==null?void 0:n}}),d1=ut.define({map(t,e){return e.mapPos(t)}}),p1=new class extends Pa{};p1.startSide=1;p1.endSide=-1;const _4=An.define({create(){return zt.empty},update(t,e){if(e.selection){let n=e.state.doc.lineAt(e.selection.main.head).from,i=e.startState.doc.lineAt(e.startState.selection.main.head).from;n!=e.changes.mapPos(i,-1)&&(t=zt.empty)}t=t.map(e.changes);for(let n of e.effects)n.is(pa)?t=t.update({add:[p1.range(n.value,n.value+1)]}):n.is(d1)&&(t=t.update({filter:i=>i!=n.value}));return t}});function Ufe(){return[Lfe,_4]}const mm="()[]{}<>";function Q4(t){for(let e=0;e{if((Dfe?t.composing:t.compositionStarted)||t.state.readOnly)return!1;let r=t.state.selection.main;if(i.length>2||i.length==2&&xi(Wn(i,0))==1||e!=r.from||n!=r.to)return!1;let s=Yfe(t.state,i);return s?(t.dispatch(s),!0):!1}),Bfe=({state:t,dispatch:e})=>{if(t.readOnly)return!1;let i=S4(t,t.selection.main.head).brackets||wd.brackets,r=null,s=t.changeByRange(o=>{if(o.empty){let a=Zfe(t.doc,o.head);for(let l of i)if(l==a&&qp(t.doc,o.head)==Q4(Wn(l,0)))return{changes:{from:o.head-l.length,to:o.head+l.length},range:we.cursor(o.head-l.length),userEvent:"delete.backward"}}return{range:r=o}});return r||e(t.update(s,{scrollIntoView:!0})),!r},Mfe=[{key:"Backspace",run:Bfe}];function Yfe(t,e){let n=S4(t,t.selection.main.head),i=n.brackets||wd.brackets;for(let r of i){let s=Q4(Wn(r,0));if(e==r)return s==r?Nfe(t,r,i.indexOf(r+r+r)>-1):Vfe(t,r,s,n.before||wd.before);if(e==s&&w4(t,t.selection.main.from))return jfe(t,r,s)}return null}function w4(t,e){let n=!1;return t.field(_4).between(0,t.doc.length,i=>{i==e&&(n=!0)}),n}function qp(t,e){let n=t.sliceString(e,e+2);return n.slice(0,xi(Wn(n,0)))}function Zfe(t,e){let n=t.sliceString(e-2,e);return xi(Wn(n,0))==n.length?n:n.slice(1)}function Vfe(t,e,n,i){let r=null,s=t.changeByRange(o=>{if(!o.empty)return{changes:[{insert:e,from:o.from},{insert:n,from:o.to}],effects:pa.of(o.to+e.length),range:we.range(o.anchor+e.length,o.head+e.length)};let a=qp(t.doc,o.head);return!a||/\s/.test(a)||i.indexOf(a)>-1?{changes:{insert:e+n,from:o.head},effects:pa.of(o.head+e.length),range:we.cursor(o.head+e.length)}:{range:r=o}});return r?null:t.update(s,{scrollIntoView:!0,userEvent:"input.type"})}function jfe(t,e,n){let i=null,r=t.selection.ranges.map(s=>s.empty&&qp(t.doc,s.head)==n?we.cursor(s.head+n.length):i=s);return i?null:t.update({selection:we.create(r,t.selection.mainIndex),scrollIntoView:!0,effects:t.selection.ranges.map(({from:s})=>d1.of(s))})}function Nfe(t,e,n){let i=null,r=t.changeByRange(s=>{if(!s.empty)return{changes:[{insert:e,from:s.from},{insert:e,from:s.to}],effects:pa.of(s.to+e.length),range:we.range(s.anchor+e.length,s.head+e.length)};let o=s.head,a=qp(t.doc,o);if(a==e){if(Lw(t,o))return{changes:{insert:e+e,from:o},effects:pa.of(o+e.length),range:we.cursor(o+e.length)};if(w4(t,o)){let l=n&&t.sliceDoc(o,o+e.length*3)==e+e+e;return{range:we.cursor(o+e.length*(l?3:1)),effects:d1.of(o)}}}else{if(n&&t.sliceDoc(o-2*e.length,o)==e+e&&Lw(t,o-2*e.length))return{changes:{insert:e+e+e+e,from:o},effects:pa.of(o+e.length),range:we.cursor(o+e.length)};if(t.charCategorizer(o)(a)!=ti.Word){let l=t.sliceDoc(o-1,o);if(l!=e&&t.charCategorizer(o)(l)!=ti.Word&&!Ffe(t,o,e))return{changes:{insert:e+e,from:o},effects:pa.of(o+e.length),range:we.cursor(o+e.length)}}}return{range:i=s}});return i?null:t.update(r,{scrollIntoView:!0,userEvent:"input.type"})}function Lw(t,e){let n=jt(t).resolveInner(e+1);return n.parent&&n.from==e}function Ffe(t,e,n){let i=jt(t).resolveInner(e,-1);for(let r=0;r<5;r++){if(t.sliceDoc(i.from,i.from+n.length)==n){let o=i.firstChild;for(;o&&o.from==i.from&&o.to-o.from>n.length;){if(t.sliceDoc(o.to-n.length,o.to)==n)return!1;o=o.firstChild}return!0}let s=i.to==e&&i.parent;if(!s)break;i=s}return!1}function Gfe(t={}){return[Ni,Ro.of(t),Pfe,Hfe,$4]}const x4=[{key:"Ctrl-Space",run:_fe},{key:"Escape",run:Qfe},{key:"ArrowDown",run:NO(!0)},{key:"ArrowUp",run:NO(!1)},{key:"PageDown",run:NO(!0,"page")},{key:"PageUp",run:NO(!1,"page")},{key:"Enter",run:bfe}],Hfe=qo.highest(Sc.computeN([Ro],t=>t.facet(Ro).defaultKeymap?[x4]:[]));class Kfe{constructor(e,n,i){this.from=e,this.to=n,this.diagnostic=i}}class la{constructor(e,n,i){this.diagnostics=e,this.panel=n,this.selected=i}static init(e,n,i){let r=e,s=i.facet(Ql).markerFilter;s&&(r=s(r));let o=je.set(r.map(a=>a.from==a.to||a.from==a.to-1&&i.doc.lineAt(a.from).to==a.from?je.widget({widget:new lOe(a),diagnostic:a}).range(a.from):je.mark({attributes:{class:"cm-lintRange cm-lintRange-"+a.severity},diagnostic:a}).range(a.from,a.to)),!0);return new la(o,n,sc(o))}}function sc(t,e=null,n=0){let i=null;return t.between(n,1e9,(r,s,{spec:o})=>{if(!(e&&o.diagnostic!=e))return i=new Kfe(r,s,o.diagnostic),!1}),i}function Jfe(t,e){return!!(t.effects.some(n=>n.is(m1))||t.changes.touchesRange(e.pos))}function P4(t,e){return t.field(Ai,!1)?e:e.concat(ut.appendConfig.of([Ai,Ve.decorations.compute([Ai],n=>{let{selected:i,panel:r}=n.field(Ai);return!i||!r||i.from==i.to?je.none:je.set([tOe.range(i.from,i.to)])}),fle(nOe,{hideOn:Jfe}),uOe]))}function eOe(t,e){return{effects:P4(t,[m1.of(e)])}}const m1=ut.define(),g1=ut.define(),k4=ut.define(),Ai=An.define({create(){return new la(je.none,null,null)},update(t,e){if(e.docChanged){let n=t.diagnostics.map(e.changes),i=null;if(t.selected){let r=e.changes.mapPos(t.selected.from,1);i=sc(n,t.selected.diagnostic,r)||sc(n,null,r)}t=new la(n,t.panel,i)}for(let n of e.effects)n.is(m1)?t=la.init(n.value,t.panel,e.state):n.is(g1)?t=new la(t.diagnostics,n.value?Up.open:null,t.selected):n.is(k4)&&(t=new la(t.diagnostics,t.panel,n.value));return t},provide:t=>[nf.from(t,e=>e.panel),Ve.decorations.from(t,e=>e.diagnostics)]}),tOe=je.mark({class:"cm-lintRange cm-lintRange-active"});function nOe(t,e,n){let{diagnostics:i}=t.state.field(Ai),r=[],s=2e8,o=0;i.between(e-(n<0?1:0),e+(n>0?1:0),(l,c,{spec:u})=>{e>=l&&e<=c&&(l==c||(e>l||n>0)&&(eT4(t,n,!1)))}const rOe=t=>{let e=t.state.field(Ai,!1);(!e||!e.panel)&&t.dispatch({effects:P4(t.state,[g1.of(!0)])});let n=tf(t,Up.open);return n&&n.dom.querySelector(".cm-panel-lint ul").focus(),!0},Bw=t=>{let e=t.state.field(Ai,!1);return!e||!e.panel?!1:(t.dispatch({effects:g1.of(!1)}),!0)},sOe=t=>{let e=t.state.field(Ai,!1);if(!e)return!1;let n=t.state.selection.main,i=e.diagnostics.iter(n.to+1);return!i.value&&(i=e.diagnostics.iter(0),!i.value||i.from==n.from&&i.to==n.to)?!1:(t.dispatch({selection:{anchor:i.from,head:i.to},scrollIntoView:!0}),!0)},oOe=[{key:"Mod-Shift-m",run:rOe},{key:"F8",run:sOe}],aOe=un.fromClass(class{constructor(t){this.view=t,this.timeout=-1,this.set=!0;let{delay:e}=t.state.facet(Ql);this.lintTime=Date.now()+e,this.run=this.run.bind(this),this.timeout=setTimeout(this.run,e)}run(){let t=Date.now();if(tPromise.resolve(i(this.view)))).then(i=>{let r=i.reduce((s,o)=>s.concat(o));this.view.state.doc==e.doc&&this.view.dispatch(eOe(this.view.state,r))},i=>{zi(this.view.state,i)})}}update(t){let e=t.state.facet(Ql);(t.docChanged||e!=t.startState.facet(Ql))&&(this.lintTime=Date.now()+e.delay,this.set||(this.set=!0,this.timeout=setTimeout(this.run,e.delay)))}force(){this.set&&(this.lintTime=Date.now(),this.run())}destroy(){clearTimeout(this.timeout)}}),Ql=Ge.define({combine(t){return Object.assign({sources:t.map(e=>e.source)},As(t.map(e=>e.config),{delay:750,markerFilter:null,tooltipFilter:null}))},enables:aOe});function C4(t){let e=[];if(t)e:for(let{name:n}of t){for(let i=0;is.toLowerCase()==r.toLowerCase())){e.push(r);continue e}}e.push("")}return e}function T4(t,e,n){var i;let r=n?C4(e.actions):[];return Jt("li",{class:"cm-diagnostic cm-diagnostic-"+e.severity},Jt("span",{class:"cm-diagnosticText"},e.renderMessage?e.renderMessage():e.message),(i=e.actions)===null||i===void 0?void 0:i.map((s,o)=>{let a=O=>{O.preventDefault();let f=sc(t.state.field(Ai).diagnostics,e);f&&s.apply(t,f.from,f.to)},{name:l}=s,c=r[o]?l.indexOf(r[o]):-1,u=c<0?l:[l.slice(0,c),Jt("u",l.slice(c,c+1)),l.slice(c+1)];return Jt("button",{type:"button",class:"cm-diagnosticAction",onclick:a,onmousedown:a,"aria-label":` Action: ${l}${c<0?"":` (access key "${r[o]})"`}.`},u)}),e.source&&Jt("div",{class:"cm-diagnosticSource"},e.source))}class lOe extends ns{constructor(e){super(),this.diagnostic=e}eq(e){return e.diagnostic==this.diagnostic}toDOM(){return Jt("span",{class:"cm-lintPoint cm-lintPoint-"+this.diagnostic.severity})}}class Mw{constructor(e,n){this.diagnostic=n,this.id="item_"+Math.floor(Math.random()*4294967295).toString(16),this.dom=T4(e,n,!0),this.dom.id=this.id,this.dom.setAttribute("role","option")}}class Up{constructor(e){this.view=e,this.items=[];let n=r=>{if(r.keyCode==27)Bw(this.view),this.view.focus();else if(r.keyCode==38||r.keyCode==33)this.moveSelection((this.selectedIndex-1+this.items.length)%this.items.length);else if(r.keyCode==40||r.keyCode==34)this.moveSelection((this.selectedIndex+1)%this.items.length);else if(r.keyCode==36)this.moveSelection(0);else if(r.keyCode==35)this.moveSelection(this.items.length-1);else if(r.keyCode==13)this.view.focus();else if(r.keyCode>=65&&r.keyCode<=90&&this.selectedIndex>=0){let{diagnostic:s}=this.items[this.selectedIndex],o=C4(s.actions);for(let a=0;a{for(let s=0;sBw(this.view)},"\xD7")),this.update()}get selectedIndex(){let e=this.view.state.field(Ai).selected;if(!e)return-1;for(let n=0;n{let c=-1,u;for(let O=i;Oi&&(this.items.splice(i,c-i),r=!0)),n&&u.diagnostic==n.diagnostic?u.dom.hasAttribute("aria-selected")||(u.dom.setAttribute("aria-selected","true"),s=u):u.dom.hasAttribute("aria-selected")&&u.dom.removeAttribute("aria-selected"),i++});i({sel:s.dom.getBoundingClientRect(),panel:this.list.getBoundingClientRect()}),write:({sel:o,panel:a})=>{o.topa.bottom&&(this.list.scrollTop+=o.bottom-a.bottom)}})):this.selectedIndex<0&&this.list.removeAttribute("aria-activedescendant"),r&&this.sync()}sync(){let e=this.list.firstChild;function n(){let i=e;e=i.nextSibling,i.remove()}for(let i of this.items)if(i.dom.parentNode==this.list){for(;e!=i.dom;)n();e=i.dom.nextSibling}else this.list.insertBefore(i.dom,e);for(;e;)n()}moveSelection(e){if(this.selectedIndex<0)return;let n=this.view.state.field(Ai),i=sc(n.diagnostics,this.items[e].diagnostic);!i||this.view.dispatch({selection:{anchor:i.from,head:i.to},scrollIntoView:!0,effects:k4.of(i)})}static open(e){return new Up(e)}}function cOe(t,e='viewBox="0 0 40 40"'){return`url('data:image/svg+xml,${encodeURIComponent(t)}')`}function gm(t){return cOe(``,'width="6" height="3"')}const uOe=Ve.baseTheme({".cm-diagnostic":{padding:"3px 6px 3px 8px",marginLeft:"-1px",display:"block",whiteSpace:"pre-wrap"},".cm-diagnostic-error":{borderLeft:"5px solid #d11"},".cm-diagnostic-warning":{borderLeft:"5px solid orange"},".cm-diagnostic-info":{borderLeft:"5px solid #999"},".cm-diagnosticAction":{font:"inherit",border:"none",padding:"2px 4px",backgroundColor:"#444",color:"white",borderRadius:"3px",marginLeft:"8px"},".cm-diagnosticSource":{fontSize:"70%",opacity:.7},".cm-lintRange":{backgroundPosition:"left bottom",backgroundRepeat:"repeat-x",paddingBottom:"0.7px"},".cm-lintRange-error":{backgroundImage:gm("#d11")},".cm-lintRange-warning":{backgroundImage:gm("orange")},".cm-lintRange-info":{backgroundImage:gm("#999")},".cm-lintRange-active":{backgroundColor:"#ffdd9980"},".cm-tooltip-lint":{padding:0,margin:0},".cm-lintPoint":{position:"relative","&:after":{content:'""',position:"absolute",bottom:0,left:"-2px",borderLeft:"3px solid transparent",borderRight:"3px solid transparent",borderBottom:"4px solid #d11"}},".cm-lintPoint-warning":{"&:after":{borderBottomColor:"orange"}},".cm-lintPoint-info":{"&:after":{borderBottomColor:"#999"}},".cm-panel.cm-panel-lint":{position:"relative","& ul":{maxHeight:"100px",overflowY:"auto","& [aria-selected]":{backgroundColor:"#ddd","& u":{textDecoration:"underline"}},"&:focus [aria-selected]":{background_fallback:"#bdf",backgroundColor:"Highlight",color_fallback:"white",color:"HighlightText"},"& u":{textDecoration:"none"},padding:0,margin:0},"& [name=close]":{position:"absolute",top:"0",right:"2px",background:"inherit",border:"none",font:"inherit",padding:0,margin:0}}}),fOe=(()=>[ble(),Sle(),Dae(),Mce(),Oce(),kae(),Xae(),St.allowMultipleSelections.of(!0),ece(),pA(mce,{fallback:!0}),Qce(),Ufe(),Gfe(),ele(),ile(),Vae(),Uue(),Sc.of([...Mfe,...Eue,...nfe,...Kce,...cce,...x4,...oOe])])();/*! +* VueCodemirror v6.0.0 +* Copyright (c) Surmon. All rights reserved. +* Released under the MIT License. +* Surmon +*/var OOe=Symbol("vue-codemirror-global-config"),hOe=function(t){var e=t.config,n=function(r,s){var o={};for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&s.indexOf(a)<0&&(o[a]=r[a]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function"){var l=0;for(a=Object.getOwnPropertySymbols(r);l ul > li[aria-selected]":{backgroundColor:vm,color:Ch}}},{dark:!0}),AOe=Rf.define([{tag:z.keyword,color:kOe},{tag:[z.name,z.deleted,z.character,z.propertyName,z.macroName],color:Zw},{tag:[z.function(z.variableName),z.labelName],color:xOe},{tag:[z.color,z.constant(z.name),z.standard(z.name)],color:Vw},{tag:[z.definition(z.name),z.separator],color:Ch},{tag:[z.typeName,z.className,z.number,z.changed,z.annotation,z.modifier,z.self,z.namespace],color:QOe},{tag:[z.operator,z.operatorKeyword,z.url,z.escape,z.regexp,z.link,z.special(z.string)],color:SOe},{tag:[z.meta,z.comment],color:Vv},{tag:z.strong,fontWeight:"bold"},{tag:z.emphasis,fontStyle:"italic"},{tag:z.strikethrough,textDecoration:"line-through"},{tag:z.link,color:Vv,textDecoration:"underline"},{tag:z.heading,fontWeight:"bold",color:Zw},{tag:[z.atom,z.bool,z.special(z.variableName)],color:Vw},{tag:[z.processingInstruction,z.string,z.inserted],color:POe},{tag:z.invalid,color:wOe}]),EOe=[ROe,pA(AOe)];class xd{constructor(e,n,i,r,s,o,a,l,c,u=0,O){this.p=e,this.stack=n,this.state=i,this.reducePos=r,this.pos=s,this.score=o,this.buffer=a,this.bufferBase=l,this.curContext=c,this.lookAhead=u,this.parent=O}toString(){return`[${this.stack.filter((e,n)=>n%3==0).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(e,n,i=0){let r=e.parser.context;return new xd(e,[],n,i,i,0,[],0,r?new Fw(r,r.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(e,n){this.stack.push(this.state,n,this.bufferBase+this.buffer.length),this.state=e}reduce(e){let n=e>>19,i=e&65535,{parser:r}=this.p,s=r.dynamicPrecedence(i);if(s&&(this.score+=s),n==0){this.pushState(r.getGoto(this.state,i,!0),this.reducePos),io;)this.stack.pop();this.reduceContext(i,a)}storeNode(e,n,i,r=4,s=!1){if(e==0&&(!this.stack.length||this.stack[this.stack.length-1]0&&o.buffer[a-4]==0&&o.buffer[a-1]>-1){if(n==i)return;if(o.buffer[a-2]>=n){o.buffer[a-2]=i;return}}}if(!s||this.pos==i)this.buffer.push(e,n,i,r);else{let o=this.buffer.length;if(o>0&&this.buffer[o-4]!=0)for(;o>0&&this.buffer[o-2]>i;)this.buffer[o]=this.buffer[o-4],this.buffer[o+1]=this.buffer[o-3],this.buffer[o+2]=this.buffer[o-2],this.buffer[o+3]=this.buffer[o-1],o-=4,r>4&&(r-=4);this.buffer[o]=e,this.buffer[o+1]=n,this.buffer[o+2]=i,this.buffer[o+3]=r}}shift(e,n,i){let r=this.pos;if(e&131072)this.pushState(e&65535,this.pos);else if((e&262144)==0){let s=e,{parser:o}=this.p;(i>this.pos||n<=o.maxNode)&&(this.pos=i,o.stateFlag(s,1)||(this.reducePos=i)),this.pushState(s,r),this.shiftContext(n,r),n<=o.maxNode&&this.buffer.push(n,r,i,4)}else this.pos=i,this.shiftContext(n,r),n<=this.p.parser.maxNode&&this.buffer.push(n,r,i,4)}apply(e,n,i){e&65536?this.reduce(e):this.shift(e,n,i)}useNode(e,n){let i=this.p.reused.length-1;(i<0||this.p.reused[i]!=e)&&(this.p.reused.push(e),i++);let r=this.pos;this.reducePos=this.pos=r+e.length,this.pushState(n,r),this.buffer.push(i,r,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,e,this,this.p.stream.reset(this.pos-e.length)))}split(){let e=this,n=e.buffer.length;for(;n>0&&e.buffer[n-2]>e.reducePos;)n-=4;let i=e.buffer.slice(n),r=e.bufferBase+n;for(;e&&r==e.bufferBase;)e=e.parent;return new xd(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,i,r,this.curContext,this.lookAhead,e)}recoverByDelete(e,n){let i=e<=this.p.parser.maxNode;i&&this.storeNode(e,this.pos,n,4),this.storeNode(0,this.pos,n,i?8:4),this.pos=this.reducePos=n,this.score-=190}canShift(e){for(let n=new XOe(this);;){let i=this.p.parser.stateSlot(n.state,4)||this.p.parser.hasAction(n.state,e);if((i&65536)==0)return!0;if(i==0)return!1;n.reduce(i)}}recoverByInsert(e){if(this.stack.length>=300)return[];let n=this.p.parser.nextStates(this.state);if(n.length>4<<1||this.stack.length>=120){let r=[];for(let s=0,o;sl&1&&a==o)||r.push(n[s],o)}n=r}let i=[];for(let r=0;r>19,r=e&65535,s=this.stack.length-i*3;if(s<0||n.getGoto(this.stack[s],r,!1)<0)return!1;this.storeNode(0,this.reducePos,this.reducePos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(e),!0}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(this.stack.length!=3)return!1;let{parser:e}=this.p;return e.data[e.stateSlot(this.state,1)]==65535&&!e.stateSlot(this.state,4)}restart(){this.state=this.stack[0],this.stack.length=0}sameState(e){if(this.state!=e.state||this.stack.length!=e.stack.length)return!1;for(let n=0;nthis.lookAhead&&(this.emitLookAhead(),this.lookAhead=e)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}}class Fw{constructor(e,n){this.tracker=e,this.context=n,this.hash=e.strict?e.hash(n):0}}var Gw;(function(t){t[t.Insert=200]="Insert",t[t.Delete=190]="Delete",t[t.Reduce=100]="Reduce",t[t.MaxNext=4]="MaxNext",t[t.MaxInsertStackDepth=300]="MaxInsertStackDepth",t[t.DampenInsertStackDepth=120]="DampenInsertStackDepth"})(Gw||(Gw={}));class XOe{constructor(e){this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}reduce(e){let n=e&65535,i=e>>19;i==0?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=(i-1)*3;let r=this.start.p.parser.getGoto(this.stack[this.base-3],n,!0);this.state=r}}class Pd{constructor(e,n,i){this.stack=e,this.pos=n,this.index=i,this.buffer=e.buffer,this.index==0&&this.maybeNext()}static create(e,n=e.bufferBase+e.buffer.length){return new Pd(e,n,n-e.bufferBase)}maybeNext(){let e=this.stack.parent;e!=null&&(this.index=this.stack.bufferBase-e.bufferBase,this.stack=e,this.buffer=e.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,this.index==0&&this.maybeNext()}fork(){return new Pd(this.stack,this.pos,this.index)}}class Th{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}const Hw=new Th;class WOe{constructor(e,n){this.input=e,this.ranges=n,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=Hw,this.rangeIndex=0,this.pos=this.chunkPos=n[0].from,this.range=n[0],this.end=n[n.length-1].to,this.readNext()}resolveOffset(e,n){let i=this.range,r=this.rangeIndex,s=this.pos+e;for(;si.to:s>=i.to;){if(r==this.ranges.length-1)return null;let o=this.ranges[++r];s+=o.from-i.to,i=o}return s}peek(e){let n=this.chunkOff+e,i,r;if(n>=0&&n=this.chunk2Pos&&ia.to&&(this.chunk2=this.chunk2.slice(0,a.to-i)),r=this.chunk2.charCodeAt(0)}}return i>=this.token.lookAhead&&(this.token.lookAhead=i+1),r}acceptToken(e,n=0){let i=n?this.resolveOffset(n,-1):this.pos;if(i==null||i=this.chunk2Pos&&this.posthis.range.to?e.slice(0,this.range.to-this.pos):e,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(e=1){for(this.chunkOff+=e;this.pos+e>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();e-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=e,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}reset(e,n){if(n?(this.token=n,n.start=e,n.lookAhead=e+1,n.value=n.extended=-1):this.token=Hw,this.pos!=e){if(this.pos=e,e==this.end)return this.setDone(),this;for(;e=this.range.to;)this.range=this.ranges[++this.rangeIndex];e>=this.chunkPos&&e=this.chunkPos&&n<=this.chunkPos+this.chunk.length)return this.chunk.slice(e-this.chunkPos,n-this.chunkPos);if(e>=this.chunk2Pos&&n<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(e-this.chunk2Pos,n-this.chunk2Pos);if(e>=this.range.from&&n<=this.range.to)return this.input.read(e,n);let i="";for(let r of this.ranges){if(r.from>=n)break;r.to>e&&(i+=this.input.read(Math.max(r.from,e),Math.min(r.to,n)))}return i}}class Rh{constructor(e,n){this.data=e,this.id=n}token(e,n){zOe(this.data,e,n,this.id)}}Rh.prototype.contextual=Rh.prototype.fallback=Rh.prototype.extend=!1;class on{constructor(e,n={}){this.token=e,this.contextual=!!n.contextual,this.fallback=!!n.fallback,this.extend=!!n.extend}}function zOe(t,e,n,i){let r=0,s=1<0){let h=t[f];if(a.allows(h)&&(e.token.value==-1||e.token.value==h||o.overrides(h,e.token.value))){e.acceptToken(h);break}}let c=e.next,u=0,O=t[r+2];if(e.next<0&&O>u&&t[l+O*3-3]==65535){r=t[l+O*3-1];continue e}for(;u>1,h=l+f+(f<<1),p=t[h],y=t[h+1];if(c=y)u=f+1;else{r=t[h+2],e.advance();continue e}}break}}function GO(t,e=Uint16Array){if(typeof t!="string")return t;let n=null;for(let i=0,r=0;i=92&&o--,o>=34&&o--;let l=o-32;if(l>=46&&(l-=46,a=!0),s+=l,a)break;s*=46}n?n[r++]=s:n=new e(s)}return n}const dr=typeof process!="undefined"&&{serviceURI:"http://209.97.148.151:8082/"}&&/\bparse\b/.test({serviceURI:"http://209.97.148.151:8082/"}.LOG);let $m=null;var Kw;(function(t){t[t.Margin=25]="Margin"})(Kw||(Kw={}));function Jw(t,e,n){let i=t.cursor(en.IncludeAnonymous);for(i.moveTo(e);;)if(!(n<0?i.childBefore(e):i.childAfter(e)))for(;;){if((n<0?i.toe)&&!i.type.isError)return n<0?Math.max(0,Math.min(i.to-1,e-25)):Math.min(t.length,Math.max(i.from+1,e+25));if(n<0?i.prevSibling():i.nextSibling())break;if(!i.parent())return n<0?0:t.length}}class IOe{constructor(e,n){this.fragments=e,this.nodeSet=n,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let e=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(e){for(this.safeFrom=e.openStart?Jw(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?Jw(e.tree,e.to+e.offset,-1)-e.offset:e.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(e.tree),this.start.push(-e.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(e){if(ee)return this.nextStart=o,null;if(s instanceof vt){if(o==e){if(o=Math.max(this.safeFrom,e)&&(this.trees.push(s),this.start.push(o),this.index.push(0))}else this.index[n]++,this.nextStart=o+s.length}}}class qOe{constructor(e,n){this.stream=n,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map(i=>new Th)}getActions(e){let n=0,i=null,{parser:r}=e.p,{tokenizers:s}=r,o=r.stateSlot(e.state,3),a=e.curContext?e.curContext.hash:0,l=0;for(let c=0;cO.end+25&&(l=Math.max(O.lookAhead,l)),O.value!=0)){let f=n;if(O.extended>-1&&(n=this.addActions(e,O.extended,O.end,n)),n=this.addActions(e,O.value,O.end,n),!u.extend&&(i=O,n>f))break}}for(;this.actions.length>n;)this.actions.pop();return l&&e.setLookAhead(l),!i&&e.pos==this.stream.end&&(i=new Th,i.value=e.p.parser.eofTerm,i.start=i.end=e.pos,n=this.addActions(e,i.value,i.end,n)),this.mainToken=i,this.actions}getMainToken(e){if(this.mainToken)return this.mainToken;let n=new Th,{pos:i,p:r}=e;return n.start=i,n.end=Math.min(i+1,r.stream.end),n.value=i==r.stream.end?r.parser.eofTerm:0,n}updateCachedToken(e,n,i){if(n.token(this.stream.reset(i.pos,e),i),e.value>-1){let{parser:r}=i.p;for(let s=0;s=0&&i.p.parser.dialect.allows(o>>1)){(o&1)==0?e.value=o>>1:e.extended=o>>1;break}}}else e.value=0,e.end=Math.min(i.p.stream.end,i.pos+1)}putAction(e,n,i,r){for(let s=0;se.bufferLength*4?new IOe(i,e.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let e=this.stacks,n=this.minStackPos,i=this.stacks=[],r,s;for(let o=0;on)i.push(a);else{if(this.advanceStack(a,i,e))continue;{r||(r=[],s=[]),r.push(a);let l=this.tokens.getMainToken(a);s.push(l.value,l.end)}}break}}if(!i.length){let o=r&&LOe(r);if(o)return this.stackToTree(o);if(this.parser.strict)throw dr&&r&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),new SyntaxError("No parse at "+n);this.recovering||(this.recovering=5)}if(this.recovering&&r){let o=this.stoppedAt!=null&&r[0].pos>this.stoppedAt?r[0]:this.runRecovery(r,s,i);if(o)return this.stackToTree(o.forceAll())}if(this.recovering){let o=this.recovering==1?1:this.recovering*3;if(i.length>o)for(i.sort((a,l)=>l.score-a.score);i.length>o;)i.pop();i.some(a=>a.reducePos>n)&&this.recovering--}else if(i.length>1){e:for(let o=0;o500&&c.buffer.length>500)if((a.score-c.score||a.buffer.length-c.buffer.length)>0)i.splice(l--,1);else{i.splice(o--,1);continue e}}}}this.minStackPos=i[0].pos;for(let o=1;o ":"";if(this.stoppedAt!=null&&r>this.stoppedAt)return e.forceReduce()?e:null;if(this.fragments){let c=e.curContext&&e.curContext.tracker.strict,u=c?e.curContext.hash:0;for(let O=this.fragments.nodeAt(r);O;){let f=this.parser.nodeSet.types[O.type.id]==O.type?s.getGoto(e.state,O.type.id):-1;if(f>-1&&O.length&&(!c||(O.prop(ft.contextHash)||0)==u))return e.useNode(O,f),dr&&console.log(o+this.stackID(e)+` (via reuse of ${s.getName(O.type.id)})`),!0;if(!(O instanceof vt)||O.children.length==0||O.positions[0]>0)break;let h=O.children[0];if(h instanceof vt&&O.positions[0]==0)O=h;else break}}let a=s.stateSlot(e.state,4);if(a>0)return e.reduce(a),dr&&console.log(o+this.stackID(e)+` (via always-reduce ${s.getName(a&65535)})`),!0;if(e.stack.length>=15e3)for(;e.stack.length>9e3&&e.forceReduce(););let l=this.tokens.getActions(e);for(let c=0;cr?n.push(p):i.push(p)}return!1}advanceFully(e,n){let i=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>i)return tx(e,n),!0}}runRecovery(e,n,i){let r=null,s=!1;for(let o=0;o ":"";if(a.deadEnd&&(s||(s=!0,a.restart(),dr&&console.log(u+this.stackID(a)+" (restarted)"),this.advanceFully(a,i))))continue;let O=a.split(),f=u;for(let h=0;O.forceReduce()&&h<10&&(dr&&console.log(f+this.stackID(O)+" (via force-reduce)"),!this.advanceFully(O,i));h++)dr&&(f=this.stackID(O)+" -> ");for(let h of a.recoverByInsert(l))dr&&console.log(u+this.stackID(h)+" (via recover-insert)"),this.advanceFully(h,i);this.stream.end>a.pos?(c==a.pos&&(c++,l=0),a.recoverByDelete(l,c),dr&&console.log(u+this.stackID(a)+` (via recover-delete ${this.parser.getName(l)})`),tx(a,i)):(!r||r.scoret;class Dp{constructor(e){this.start=e.start,this.shift=e.shift||bm,this.reduce=e.reduce||bm,this.reuse=e.reuse||bm,this.hash=e.hash||(()=>0),this.strict=e.strict!==!1}}class Ui extends kp{constructor(e){if(super(),this.wrappers=[],e.version!=14)throw new RangeError(`Parser version (${e.version}) doesn't match runtime version (${14})`);let n=e.nodeNames.split(" ");this.minRepeatTerm=n.length;for(let a=0;ae.topRules[a][1]),r=[];for(let a=0;a=0)s(u,l,a[c++]);else{let O=a[c+-u];for(let f=-u;f>0;f--)s(a[c++],l,O);c++}}}this.nodeSet=new wc(n.map((a,l)=>mn.define({name:l>=this.minRepeatTerm?void 0:a,id:l,props:r[l],top:i.indexOf(l)>-1,error:l==0,skipped:e.skippedNodes&&e.skippedNodes.indexOf(l)>-1}))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),this.strict=!1,this.bufferLength=K5;let o=GO(e.tokenData);if(this.context=e.context,this.specialized=new Uint16Array(e.specialized?e.specialized.length:0),this.specializers=[],e.specialized)for(let a=0;atypeof a=="number"?new Rh(o,a):a),this.topRules=e.topRules,this.dialects=e.dialects||{},this.dynamicPrecedences=e.dynamicPrecedences||null,this.tokenPrecTable=e.tokenPrec,this.termNames=e.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(e,n,i){let r=new UOe(this,e,n,i);for(let s of this.wrappers)r=s(r,e,n,i);return r}getGoto(e,n,i=!1){let r=this.goto;if(n>=r[0])return-1;for(let s=r[n+1];;){let o=r[s++],a=o&1,l=r[s++];if(a&&i)return l;for(let c=s+(o>>1);s0}validAction(e,n){if(n==this.stateSlot(e,4))return!0;for(let i=this.stateSlot(e,1);;i+=3){if(this.data[i]==65535)if(this.data[i+1]==1)i=fs(this.data,i+2);else return!1;if(n==fs(this.data,i+1))return!0}}nextStates(e){let n=[];for(let i=this.stateSlot(e,1);;i+=3){if(this.data[i]==65535)if(this.data[i+1]==1)i=fs(this.data,i+2);else break;if((this.data[i+2]&1)==0){let r=this.data[i+1];n.some((s,o)=>o&1&&s==r)||n.push(this.data[i],r)}}return n}overrides(e,n){let i=nx(this.data,this.tokenPrecTable,n);return i<0||nx(this.data,this.tokenPrecTable,e){let r=e.tokenizers.find(s=>s.from==i);return r?r.to:i})),e.specializers&&(n.specializers=this.specializers.map(i=>{let r=e.specializers.find(s=>s.from==i);return r?r.to:i})),e.contextTracker&&(n.context=e.contextTracker),e.dialect&&(n.dialect=this.parseDialect(e.dialect)),e.strict!=null&&(n.strict=e.strict),e.wrap&&(n.wrappers=n.wrappers.concat(e.wrap)),e.bufferLength!=null&&(n.bufferLength=e.bufferLength),n}hasWrappers(){return this.wrappers.length>0}getName(e){return this.termNames?this.termNames[e]:String(e<=this.maxNode&&this.nodeSet.types[e].name||e)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(e){let n=this.dynamicPrecedences;return n==null?0:n[e]||0}parseDialect(e){let n=Object.keys(this.dialects),i=n.map(()=>!1);if(e)for(let s of e.split(" ")){let o=n.indexOf(s);o>=0&&(i[o]=!0)}let r=null;for(let s=0;si)&&n.p.parser.stateFlag(n.state,2)&&(!e||e.score{let{next:n}=t;(n==A4||n==-1||e.context)&&e.canShift(sx)&&t.acceptToken(sx)},{contextual:!0,fallback:!0}),lhe=new on((t,e)=>{let{next:n}=t,i;HOe.indexOf(n)>-1||n==ox&&((i=t.peek(1))==ox||i==ehe)||n!=A4&&n!=JOe&&n!=-1&&!e.context&&e.canShift(ix)&&t.acceptToken(ix)},{contextual:!0}),che=new on((t,e)=>{let{next:n}=t;if((n==the||n==nhe)&&(t.advance(),n==t.next)){t.advance();let i=!e.context&&e.canShift(rx);t.acceptToken(i?rx:MOe)}},{contextual:!0}),uhe=new on(t=>{for(let e=!1,n=0;;n++){let{next:i}=t;if(i<0){n&&t.acceptToken(HO);break}else if(i==rhe){n?t.acceptToken(HO):t.acceptToken(ZOe,1);break}else if(i==KOe&&e){n==1?t.acceptToken(YOe,1):t.acceptToken(HO,-1);break}else if(i==10&&n){t.advance(),t.acceptToken(HO);break}else i==she&&t.advance();e=i==ihe,t.advance()}}),fhe=new on((t,e)=>{if(!(t.next!=101||!e.dialectEnabled(GOe))){t.advance();for(let n=0;n<6;n++){if(t.next!="xtends".charCodeAt(n))return;t.advance()}t.next>=57&&t.next<=65||t.next>=48&&t.next<=90||t.next==95||t.next>=97&&t.next<=122||t.next>160||t.acceptToken(BOe)}}),Ohe=Li({"get set async static":z.modifier,"for while do if else switch try catch finally return throw break continue default case":z.controlKeyword,"in of await yield void typeof delete instanceof":z.operatorKeyword,"let var const function class extends":z.definitionKeyword,"import export from":z.moduleKeyword,"with debugger as new":z.keyword,TemplateString:z.special(z.string),Super:z.atom,BooleanLiteral:z.bool,this:z.self,null:z.null,Star:z.modifier,VariableName:z.variableName,"CallExpression/VariableName TaggedTemplateExpression/VariableName":z.function(z.variableName),VariableDefinition:z.definition(z.variableName),Label:z.labelName,PropertyName:z.propertyName,PrivatePropertyName:z.special(z.propertyName),"CallExpression/MemberExpression/PropertyName":z.function(z.propertyName),"FunctionDeclaration/VariableDefinition":z.function(z.definition(z.variableName)),"ClassDeclaration/VariableDefinition":z.definition(z.className),PropertyDefinition:z.definition(z.propertyName),PrivatePropertyDefinition:z.definition(z.special(z.propertyName)),UpdateOp:z.updateOperator,LineComment:z.lineComment,BlockComment:z.blockComment,Number:z.number,String:z.string,ArithOp:z.arithmeticOperator,LogicOp:z.logicOperator,BitOp:z.bitwiseOperator,CompareOp:z.compareOperator,RegExp:z.regexp,Equals:z.definitionOperator,"Arrow : Spread":z.punctuation,"( )":z.paren,"[ ]":z.squareBracket,"{ }":z.brace,"InterpolationStart InterpolationEnd":z.special(z.brace),".":z.derefOperator,", ;":z.separator,TypeName:z.typeName,TypeDefinition:z.definition(z.typeName),"type enum interface implements namespace module declare":z.definitionKeyword,"abstract global Privacy readonly override":z.modifier,"is keyof unique infer":z.operatorKeyword,JSXAttributeValue:z.attributeValue,JSXText:z.content,"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":z.angleBracket,"JSXIdentifier JSXNameSpacedName":z.tagName,"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":z.attributeName}),hhe={__proto__:null,export:18,as:23,from:29,default:32,async:37,function:38,this:48,true:56,false:56,void:66,typeof:70,null:86,super:88,new:122,await:139,yield:141,delete:142,class:152,extends:154,public:197,private:197,protected:197,readonly:199,instanceof:220,in:222,const:224,import:256,keyof:307,unique:311,infer:317,is:351,abstract:371,implements:373,type:375,let:378,var:380,interface:387,enum:391,namespace:397,module:399,declare:403,global:407,for:428,of:437,while:440,with:444,do:448,if:452,else:454,switch:458,case:464,try:470,catch:474,finally:478,return:482,throw:486,break:490,continue:494,debugger:498},dhe={__proto__:null,async:109,get:111,set:113,public:161,private:161,protected:161,static:163,abstract:165,override:167,readonly:173,new:355},phe={__proto__:null,"<":129},mhe=Ui.deserialize({version:14,states:"$8SO`QdOOO'QQ(C|O'#ChO'XOWO'#DVO)dQdO'#D]O)tQdO'#DhO){QdO'#DrO-xQdO'#DxOOQO'#E]'#E]O.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g9^Q,i9`Q,w(RQ-x)VQ/v+XQ/y+[Q0i,PQ0s,bQ0w9cQ0x9eQ0y9fQ0z9gQ0{9hQ0|9iQ0}9jQ1O9kQ1P9lQ1Q9mQ1R9nQ1S9oQ1T,hQ1W9sQ1]9pQ2O-zQ2[.]Q3s:QQ3v0TQ4W0jQ4[0tQ4]:RQ4b:TQ4c:_Q5`2qQ6S3qQ6V3xQ6b:`Q6f:gQ6g:hQ7g6WQ7z6{Q8Z7jQ8m8]Q8y8oQ9_!WR:|;aR!aRR&Y!bS&U!b+`S+]&V&^R0Q+fR'P!yR'S!zT!tU$ZS!sU$ZU$xrs*mS&s!r!uQ,T&tQ,W&wQ.l)zS0k,S,UR4X0l`!dR!]!`$u%x&`)x+hh!qUrs!r!u$Z&t&w)z,S,U0lQ/d*mQ/w+YQ3p/oT:s&W)yT!gR$uS!fR$uS%y!]&`S&O!`)xS+S%x+hT+_&W)yT&]!b$vQ#i^R'{#nT'q#i'rR1Z,lT(a#v(cR(i#yQ-})]Q2U.RQ2|.{Q4{2TQ5l3QQ6t4}Q7U5kQ7y6zQ8S7WR8i8TlhOSj}!n$]%c%f%g%i*o*t/g/jQ%]yR*d%YV$yrs*mR.u*TR*c%WQ$qpR)u$rR)k$lT%az%dT%bz%dT/i*t/j",nodeNames:"\u26A0 extends ArithOp ArithOp InterpolationStart LineComment BlockComment Script ExportDeclaration export Star as VariableName String from ; default FunctionDeclaration async function VariableDefinition TypeParamList TypeDefinition ThisType this LiteralType ArithOp Number BooleanLiteral TemplateType InterpolationEnd Interpolation VoidType void TypeofType typeof MemberExpression . ?. PropertyName [ TemplateString Interpolation null super RegExp ] ArrayExpression Spread , } { ObjectExpression Property async get set PropertyDefinition Block : NewExpression new TypeArgList CompareOp < ) ( ArgList UnaryExpression await yield delete LogicOp BitOp ParenthesizedExpression ClassExpression class extends ClassBody MethodDeclaration Privacy static abstract override PrivatePropertyDefinition PropertyDeclaration readonly Optional TypeAnnotation Equals StaticBlock FunctionExpression ArrowFunction ParamList ParamList ArrayPattern ObjectPattern PatternProperty Privacy readonly Arrow MemberExpression PrivatePropertyName BinaryExpression ArithOp ArithOp ArithOp ArithOp BitOp CompareOp instanceof in const CompareOp BitOp BitOp BitOp LogicOp LogicOp ConditionalExpression LogicOp LogicOp AssignmentExpression UpdateOp PostfixExpression CallExpression TaggedTemplateExpression DynamicImport import ImportMeta JSXElement JSXSelfCloseEndTag JSXStartTag JSXSelfClosingTag JSXIdentifier JSXNamespacedName JSXMemberExpression JSXSpreadAttribute JSXAttribute JSXAttributeValue JSXEscape JSXEndTag JSXOpenTag JSXFragmentTag JSXText JSXEscape JSXStartCloseTag JSXCloseTag PrefixCast ArrowFunction TypeParamList SequenceExpression KeyofType keyof UniqueType unique ImportType InferredType infer TypeName ParenthesizedType FunctionSignature ParamList NewSignature IndexedType TupleType Label ArrayType ReadonlyType ObjectType MethodType PropertyType IndexSignature CallSignature TypePredicate is NewSignature new UnionType LogicOp IntersectionType LogicOp ConditionalType ParameterizedType ClassDeclaration abstract implements type VariableDeclaration let var TypeAliasDeclaration InterfaceDeclaration interface EnumDeclaration enum EnumBody NamespaceDeclaration namespace module AmbientDeclaration declare GlobalDeclaration global ClassDeclaration ClassBody MethodDeclaration AmbientFunctionDeclaration ExportGroup VariableName VariableName ImportDeclaration ImportGroup ForStatement for ForSpec ForInSpec ForOfSpec of WhileStatement while WithStatement with DoStatement do IfStatement if else SwitchStatement switch SwitchBody CaseLabel case DefaultLabel TryStatement try CatchClause catch FinallyClause finally ReturnStatement return ThrowStatement throw BreakStatement break ContinueStatement continue DebuggerStatement debugger LabeledStatement ExpressionStatement",maxTerm:332,context:ohe,nodeProps:[["closedBy",4,"InterpolationEnd",40,"]",51,"}",66,")",132,"JSXSelfCloseEndTag JSXEndTag",146,"JSXEndTag"],["group",-26,8,15,17,58,184,188,191,192,194,197,200,211,213,219,221,223,225,228,234,240,242,244,246,248,250,251,"Statement",-30,12,13,24,27,28,41,43,44,45,47,52,60,68,74,75,91,92,101,103,119,122,124,125,126,127,129,130,148,149,151,"Expression",-22,23,25,29,32,34,152,154,156,157,159,160,161,163,164,165,167,168,169,178,180,182,183,"Type",-3,79,85,90,"ClassItem"],["openedBy",30,"InterpolationStart",46,"[",50,"{",65,"(",131,"JSXStartTag",141,"JSXStartTag JSXStartCloseTag"]],propSources:[Ohe],skippedNodes:[0,5,6],repeatNodeCount:28,tokenData:"!C}~R!`OX%TXY%cYZ'RZ[%c[]%T]^'R^p%Tpq%cqr'crs(kst0htu2`uv4pvw5ewx6cxyk|}?O}!O>k!O!P?`!P!QCl!Q!R!0[!R![!1q![!]!7s!]!^!8V!^!_!8g!_!`!9d!`!a!:[!a!b!U#R#S2`#S#T!>i#T#o2`#o#p!>y#p#q!?O#q#r!?f#r#s!?x#s$f%T$f$g%c$g#BY2`#BY#BZ!@Y#BZ$IS2`$IS$I_!@Y$I_$I|2`$I|$I}!Bq$I}$JO!Bq$JO$JT2`$JT$JU!@Y$JU$KV2`$KV$KW!@Y$KW&FU2`&FU&FV!@Y&FV?HT2`?HT?HU!@Y?HU~2`W%YR$UWO!^%T!_#o%T#p~%T7Z%jg$UW'Y7ROX%TXY%cYZ%TZ[%c[p%Tpq%cq!^%T!_#o%T#p$f%T$f$g%c$g#BY%T#BY#BZ%c#BZ$IS%T$IS$I_%c$I_$JT%T$JT$JU%c$JU$KV%T$KV$KW%c$KW&FU%T&FU&FV%c&FV?HT%T?HT?HU%c?HU~%T7Z'YR$UW'Z7RO!^%T!_#o%T#p~%T$T'jS$UW!j#{O!^%T!_!`'v!`#o%T#p~%T$O'}S#e#v$UWO!^%T!_!`(Z!`#o%T#p~%T$O(bR#e#v$UWO!^%T!_#o%T#p~%T)X(rZ$UW]#eOY(kYZ)eZr(krs*rs!^(k!^!_+U!_#O(k#O#P-b#P#o(k#o#p+U#p~(k&r)jV$UWOr)ers*Ps!^)e!^!_*a!_#o)e#o#p*a#p~)e&r*WR$P&j$UWO!^%T!_#o%T#p~%T&j*dROr*ars*ms~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:}R#a#v$UWO!^%T!_#o%T#p~%T$O!;_T#`#v$UWO!^%T!_!`5T!`!a!;n!a#o%T#p~%T$O!;uS#`#v$UWO!^%T!_!`5T!`#o%T#p~%T*a!]S#g#v$UWO!^%T!_!`5T!`#o%T#p~%T$a!>pR$UW'f$XO!^%T!_#o%T#p~%T~!?OO!T~5b!?VT'w5Y$UWO!^%T!_!`5T!`#o%T#p#q!=P#q~%T6X!?oR!S5}nQ$UWO!^%T!_#o%T#p~%TX!@PR!kP$UWO!^%T!_#o%T#p~%T7Z!@gr$UW'Y7R#zS']$y'g3SOX%TXY%cYZ%TZ[%c[p%Tpq%cqt%Ttu2`u}%T}!O3j!O!Q%T!Q![2`![!^%T!_!c%T!c!}2`!}#R%T#R#S2`#S#T%T#T#o2`#p$f%T$f$g%c$g#BY2`#BY#BZ!@Y#BZ$IS2`$IS$I_!@Y$I_$JT2`$JT$JU!@Y$JU$KV2`$KV$KW!@Y$KW&FU2`&FU&FV!@Y&FV?HT2`?HT?HU!@Y?HU~2`7Z!CO_$UW'Z7R#zS']$y'g3SOt%Ttu2`u}%T}!O3j!O!Q%T!Q![2`![!^%T!_!c%T!c!}2`!}#R%T#R#S2`#S#T%T#T#o2`#p$g%T$g~2`",tokenizers:[fhe,lhe,che,uhe,0,1,2,3,4,5,6,7,8,9,ahe],topRules:{Script:[0,7]},dialects:{jsx:12107,ts:12109},dynamicPrecedences:{"149":1,"176":1},specialized:[{term:289,get:t=>hhe[t]||-1},{term:299,get:t=>dhe[t]||-1},{term:63,get:t=>phe[t]||-1}],tokenPrec:12130}),ghe=[hr("function ${name}(${params}) {\n ${}\n}",{label:"function",detail:"definition",type:"keyword"}),hr("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n ${}\n}",{label:"for",detail:"loop",type:"keyword"}),hr("for (let ${name} of ${collection}) {\n ${}\n}",{label:"for",detail:"of loop",type:"keyword"}),hr("do {\n ${}\n} while (${})",{label:"do",detail:"loop",type:"keyword"}),hr("while (${}) {\n ${}\n}",{label:"while",detail:"loop",type:"keyword"}),hr(`try { + \${} +} catch (\${error}) { + \${} +}`,{label:"try",detail:"/ catch block",type:"keyword"}),hr("if (${}) {\n ${}\n}",{label:"if",detail:"block",type:"keyword"}),hr(`if (\${}) { + \${} +} else { + \${} +}`,{label:"if",detail:"/ else block",type:"keyword"}),hr(`class \${name} { + constructor(\${params}) { + \${} + } +}`,{label:"class",detail:"definition",type:"keyword"}),hr('import {${names}} from "${module}"\n${}',{label:"import",detail:"named",type:"keyword"}),hr('import ${name} from "${module}"\n${}',{label:"import",detail:"default",type:"keyword"})],ax=new Tle,E4=new Set(["Script","Block","FunctionExpression","FunctionDeclaration","ArrowFunction","MethodDeclaration","ForStatement"]);function Bc(t){return(e,n)=>{let i=e.node.getChild("VariableDefinition");return i&&n(i,t),!0}}const vhe=["FunctionDeclaration"],yhe={FunctionDeclaration:Bc("function"),ClassDeclaration:Bc("class"),ClassExpression:()=>!0,EnumDeclaration:Bc("constant"),TypeAliasDeclaration:Bc("type"),NamespaceDeclaration:Bc("namespace"),VariableDefinition(t,e){t.matchContext(vhe)||e(t,"variable")},TypeDefinition(t,e){e(t,"type")},__proto__:null};function X4(t,e){let n=ax.get(e);if(n)return n;let i=[],r=!0;function s(o,a){let l=t.sliceString(o.from,o.to);i.push({label:l,type:a})}return e.cursor(en.IncludeAnonymous).iterate(o=>{if(r)r=!1;else if(o.name){let a=yhe[o.name];if(a&&a(o,s)||E4.has(o.name))return!1}else if(o.to-o.from>8192){for(let a of X4(t,o.node))i.push(a);return!1}}),ax.set(e,i),i}const lx=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,W4=["TemplateString","String","RegExp","LineComment","BlockComment","VariableDefinition","TypeDefinition","Label","PropertyDefinition","PropertyName","PrivatePropertyDefinition","PrivatePropertyName"];function $he(t){let e=jt(t.state).resolveInner(t.pos,-1);if(W4.indexOf(e.name)>-1)return null;let n=e.to-e.from<20&&lx.test(t.state.sliceDoc(e.from,e.to));if(!n&&!t.explicit)return null;let i=[];for(let r=e;r;r=r.parent)E4.has(r.name)&&(i=i.concat(X4(t.state.doc,r)));return{options:i,from:n?e.from:t.pos,validFor:lx}}const $o=qi.define({parser:mhe.configure({props:[or.add({IfStatement:Nn({except:/^\s*({|else\b)/}),TryStatement:Nn({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:K$,SwitchBody:t=>{let e=t.textAfter,n=/^\s*\}/.test(e),i=/^\s*(case|default)\b/.test(e);return t.baseIndent+(n?0:i?1:2)*t.unit},Block:Sa({closing:"}"}),ArrowFunction:t=>t.baseIndent+t.unit,"TemplateString BlockComment":()=>-1,"Statement Property":Nn({except:/^{/}),JSXElement(t){let e=/^\s*<\//.test(t.textAfter);return t.lineIndent(t.node.from)+(e?0:t.unit)},JSXEscape(t){let e=/\s*\}/.test(t.textAfter);return t.lineIndent(t.node.from)+(e?0:t.unit)},"JSXOpenTag JSXSelfClosingTag"(t){return t.column(t.node.from)+t.unit}}),ar.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression":ja,BlockComment(t){return{from:t.from+2,to:t.to-2}}})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}}),bhe=$o.configure({dialect:"ts"}),_he=$o.configure({dialect:"jsx"}),Qhe=$o.configure({dialect:"jsx ts"}),She="break case const continue default delete export extends false finally in instanceof let new return static super switch this throw true typeof var yield".split(" ").map(t=>({label:t,type:"keyword"}));function ru(t={}){let e=t.jsx?t.typescript?Qhe:_he:t.typescript?bhe:$o;return new sr(e,[$o.data.of({autocomplete:d4(W4,c1(ghe.concat(She)))}),$o.data.of({autocomplete:$he}),t.jsx?xhe:[]])}function cx(t,e,n=t.length){if(!e)return"";let i=e.getChild("JSXIdentifier");return i?t.sliceString(i.from,Math.min(i.to,n)):""}const whe=typeof navigator=="object"&&/Android\b/.test(navigator.userAgent),xhe=Ve.inputHandler.of((t,e,n,i)=>{if((whe?t.composing:t.compositionStarted)||t.state.readOnly||e!=n||i!=">"&&i!="/"||!$o.isActiveAt(t.state,e,-1))return!1;let{state:r}=t,s=r.changeByRange(o=>{var a,l,c;let{head:u}=o,O=jt(r).resolveInner(u,-1),f;if(O.name=="JSXStartTag"&&(O=O.parent),i==">"&&O.name=="JSXFragmentTag")return{range:we.cursor(u+1),changes:{from:u,insert:"><>"}};if(i==">"&&O.name=="JSXIdentifier"){if(((l=(a=O.parent)===null||a===void 0?void 0:a.lastChild)===null||l===void 0?void 0:l.name)!="JSXEndTag"&&(f=cx(r.doc,O.parent,u)))return{range:we.cursor(u+1),changes:{from:u,insert:`>`}}}else if(i=="/"&&O.name=="JSXFragmentTag"){let h=O.parent,p=h==null?void 0:h.parent;if(h.from==u-1&&((c=p.lastChild)===null||c===void 0?void 0:c.name)!="JSXEndTag"&&(f=cx(r.doc,p==null?void 0:p.firstChild,u))){let y=`/${f}>`;return{range:we.cursor(u+y.length),changes:{from:u,insert:y}}}}return{range:o}});return s.changes.empty?!1:(t.dispatch(s,{userEvent:"input.type",scrollIntoView:!0}),!0)}),Phe=53,khe=1,Che=54,The=2,Rhe=55,Ahe=3,kd=4,z4=5,I4=6,q4=7,U4=8,Ehe=9,Xhe=10,Whe=11,_m=56,zhe=12,ux=57,Ihe=18,qhe=27,Uhe=30,Dhe=33,Lhe=35,Bhe=0,Mhe={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},Yhe={dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},fx={dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}};function Zhe(t){return t==45||t==46||t==58||t>=65&&t<=90||t==95||t>=97&&t<=122||t>=161}function D4(t){return t==9||t==10||t==13||t==32}let Ox=null,hx=null,dx=0;function jv(t,e){let n=t.pos+e;if(dx==n&&hx==t)return Ox;let i=t.peek(e);for(;D4(i);)i=t.peek(++e);let r="";for(;Zhe(i);)r+=String.fromCharCode(i),i=t.peek(++e);return hx=t,dx=n,Ox=r?r.toLowerCase():i==Vhe||i==jhe?void 0:null}const L4=60,B4=62,M4=47,Vhe=63,jhe=33,Nhe=45;function px(t,e){this.name=t,this.parent=e,this.hash=e?e.hash:0;for(let n=0;n-1?new px(jv(i,1)||"",t):t},reduce(t,e){return e==Ihe&&t?t.parent:t},reuse(t,e,n,i){let r=e.type.id;return r==kd||r==Lhe?new px(jv(i,1)||"",t):t},hash(t){return t?t.hash:0},strict:!1}),Hhe=new on((t,e)=>{if(t.next!=L4){t.next<0&&e.context&&t.acceptToken(_m);return}t.advance();let n=t.next==M4;n&&t.advance();let i=jv(t,0);if(i===void 0)return;if(!i)return t.acceptToken(n?zhe:kd);let r=e.context?e.context.name:null;if(n){if(i==r)return t.acceptToken(Ehe);if(r&&Yhe[r])return t.acceptToken(_m,-2);if(e.dialectEnabled(Bhe))return t.acceptToken(Xhe);for(let s=e.context;s;s=s.parent)if(s.name==i)return;t.acceptToken(Whe)}else{if(i=="script")return t.acceptToken(z4);if(i=="style")return t.acceptToken(I4);if(i=="textarea")return t.acceptToken(q4);if(Mhe.hasOwnProperty(i))return t.acceptToken(U4);r&&fx[r]&&fx[r][i]?t.acceptToken(_m,-1):t.acceptToken(kd)}},{contextual:!0}),Khe=new on(t=>{for(let e=0,n=0;;n++){if(t.next<0){n&&t.acceptToken(ux);break}if(t.next==Nhe)e++;else if(t.next==B4&&e>=2){n>3&&t.acceptToken(ux,-2);break}else e=0;t.advance()}});function v1(t,e,n){let i=2+t.length;return new on(r=>{for(let s=0,o=0,a=0;;a++){if(r.next<0){a&&r.acceptToken(e);break}if(s==0&&r.next==L4||s==1&&r.next==M4||s>=2&&so?r.acceptToken(e,-o):r.acceptToken(n,-(o-2));break}else if((r.next==10||r.next==13)&&a){r.acceptToken(e,1);break}else s=o=0;r.advance()}})}const Jhe=v1("script",Phe,khe),ede=v1("style",Che,The),tde=v1("textarea",Rhe,Ahe),nde=Li({"Text RawText":z.content,"StartTag StartCloseTag SelfCloserEndTag EndTag SelfCloseEndTag":z.angleBracket,TagName:z.tagName,"MismatchedCloseTag/TagName":[z.tagName,z.invalid],AttributeName:z.attributeName,"AttributeValue UnquotedAttributeValue":z.attributeValue,Is:z.definitionOperator,"EntityReference CharacterReference":z.character,Comment:z.blockComment,ProcessingInst:z.processingInstruction,DoctypeDecl:z.documentMeta}),ide=Ui.deserialize({version:14,states:",xOVOxOOO!WQ!bO'#CoO!]Q!bO'#CyO!bQ!bO'#C|O!gQ!bO'#DPO!lQ!bO'#DRO!qOXO'#CnO!|OYO'#CnO#XO[O'#CnO$eOxO'#CnOOOW'#Cn'#CnO$lO!rO'#DSO$tQ!bO'#DUO$yQ!bO'#DVOOOW'#Dj'#DjOOOW'#DX'#DXQVOxOOO%OQ#tO,59ZO%WQ#tO,59eO%`Q#tO,59hO%hQ#tO,59kO%pQ#tO,59mOOOX'#D]'#D]O%xOXO'#CwO&TOXO,59YOOOY'#D^'#D^O&]OYO'#CzO&hOYO,59YOOO['#D_'#D_O&pO[O'#C}O&{O[O,59YOOOW'#D`'#D`O'TOxO,59YO'[Q!bO'#DQOOOW,59Y,59Y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cO~Og!dOfeXjeX~OfyOj!fO~OfyOj!gO~OfyOj!hO~OfyOj!iO~OfyOj!jO~Od!kO~Od!lO~Od!mO~Oj!nO~Oi!qO!_!oO!a!pO~Oj!rO~Oj!sO~Oj!tO~O_!uO`!uO!_!wO!`!uO~O_!xO`!xO!a!wO!b!xO~O_!uO`!uO!_!{O!`!uO~O_!xO`!xO!a!{O!b!xO~O`_a!cwz!c~",goto:"%o!_PPPPPPPPPPPPPPPPPP!`!fP!lPP!xPP!{#O#R#X#[#_#e#h#k#q#w!`P!`!`P#}$T$k$q$w$}%T%Z%aPPPPPPPP%gX^OX`pXUOX`pezabcde{}!P!R!TR!q!dRhUR!XhXVOX`pRkVR!XkXWOX`pRnWR!XnXXOX`pQrXR!XpXYOX`pQ`ORx`Q{aQ}bQ!PcQ!RdQ!TeZ!e{}!P!R!TQ!v!oR!z!vQ!y!pR!|!yQgUR!VgQjVR!YjQmWR![mQpXR!^pQtZR!`tS_O`ToXp",nodeNames:"\u26A0 StartCloseTag StartCloseTag StartCloseTag StartTag StartTag StartTag StartTag StartTag StartCloseTag StartCloseTag StartCloseTag IncompleteCloseTag Document Text EntityReference CharacterReference InvalidEntity Element OpenTag TagName Attribute AttributeName Is AttributeValue UnquotedAttributeValue EndTag ScriptText CloseTag OpenTag StyleText CloseTag OpenTag TextareaText CloseTag OpenTag CloseTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag CloseTag DoctypeDecl",maxTerm:66,context:Ghe,nodeProps:[["closedBy",-11,1,2,3,4,5,6,7,8,9,10,11,"EndTag",-4,19,29,32,35,"CloseTag"],["group",-9,12,15,16,17,18,38,39,40,41,"Entity",14,"Entity TextContent",-3,27,30,33,"TextContent Entity"],["openedBy",26,"StartTag StartCloseTag",-4,28,31,34,36,"OpenTag"]],propSources:[nde],skippedNodes:[0],repeatNodeCount:9,tokenData:"!#b!aR!WOX$kXY)sYZ)sZ]$k]^)s^p$kpq)sqr$krs*zsv$kvw+dwx2yx}$k}!O3f!O!P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#nJ`#n~(k!RJgV!``!bpOr(krs'gsv(kwx(]x#d(k#d#eJ|#e~(k!RKTV!``!bpOr(krs'gsv(kwx(]x#X(k#X#YDq#Y~(k!RKqW!``!bpOrKjrsLZsvKjvwLowxNPx!aKj!a!b! g!b~KjqL`T!bpOvLZvxLox!aLZ!a!bM^!b~LZPLrRO!aLo!a!bL{!b~LoPMORO!`Lo!`!aMX!a~LoPM^OwPqMcT!bpOvLZvxLox!`LZ!`!aMr!a~LZqMyQ!bpwPOv'gx~'gaNUV!``OrNPrsLosvNPvwLow!aNP!a!bNk!b~NPaNpV!``OrNPrsLosvNPvwLow!`NP!`!a! V!a~NPa! ^R!``wPOr(]sv(]w~(]!R! nW!``!bpOrKjrsLZsvKjvwLowxNPx!`Kj!`!a!!W!a~Kj!R!!aT!``!bpwPOr(krs'gsv(kwx(]x~(k!V!!{VgS^P!``!bpOr&Rrs&qsv&Rwx'rx!^&R!^!_(k!_~&R",tokenizers:[Jhe,ede,tde,Hhe,Khe,0,1,2,3,4,5],topRules:{Document:[0,13]},dialects:{noMatch:0},tokenPrec:464});function rde(t,e){let n=Object.create(null);for(let i of t.firstChild.getChildren("Attribute")){let r=i.getChild("AttributeName"),s=i.getChild("AttributeValue")||i.getChild("UnquotedAttributeValue");r&&(n[e.read(r.from,r.to)]=s?s.name=="AttributeValue"?e.read(s.from+1,s.to-1):e.read(s.from,s.to):"")}return n}function Qm(t,e,n){let i;for(let r of n)if(!r.attrs||r.attrs(i||(i=rde(t.node.parent,e))))return{parser:r.parser};return null}function sde(t){let e=[],n=[],i=[];for(let r of t){let s=r.tag=="script"?e:r.tag=="style"?n:r.tag=="textarea"?i:null;if(!s)throw new RangeError("Only script, style, and textarea tags can host nested parsers");s.push(r)}return N$((r,s)=>{let o=r.type.id;return o==qhe?Qm(r,s,e):o==Uhe?Qm(r,s,n):o==Dhe?Qm(r,s,i):null})}const ode=93,mx=1,ade=94,lde=95,gx=2,Y4=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],cde=58,ude=40,Z4=95,fde=91,Ah=45,Ode=46,hde=35,dde=37;function Cd(t){return t>=65&&t<=90||t>=97&&t<=122||t>=161}function pde(t){return t>=48&&t<=57}const mde=new on((t,e)=>{for(let n=!1,i=0,r=0;;r++){let{next:s}=t;if(Cd(s)||s==Ah||s==Z4||n&&pde(s))!n&&(s!=Ah||r>0)&&(n=!0),i===r&&s==Ah&&i++,t.advance();else{n&&t.acceptToken(s==ude?ade:i==2&&e.canShift(gx)?gx:lde);break}}}),gde=new on(t=>{if(Y4.includes(t.peek(-1))){let{next:e}=t;(Cd(e)||e==Z4||e==hde||e==Ode||e==fde||e==cde||e==Ah)&&t.acceptToken(ode)}}),vde=new on(t=>{if(!Y4.includes(t.peek(-1))){let{next:e}=t;if(e==dde&&(t.advance(),t.acceptToken(mx)),Cd(e)){do t.advance();while(Cd(t.next));t.acceptToken(mx)}}}),yde=Li({"import charset namespace keyframes":z.definitionKeyword,"media supports":z.controlKeyword,"from to selector":z.keyword,NamespaceName:z.namespace,KeyframeName:z.labelName,TagName:z.tagName,ClassName:z.className,PseudoClassName:z.constant(z.className),IdName:z.labelName,"FeatureName PropertyName":z.propertyName,AttributeName:z.attributeName,NumberLiteral:z.number,KeywordQuery:z.keyword,UnaryQueryOp:z.operatorKeyword,"CallTag ValueName":z.atom,VariableName:z.variableName,Callee:z.operatorKeyword,Unit:z.unit,"UniversalSelector NestingSelector":z.definitionOperator,AtKeyword:z.keyword,MatchOp:z.compareOperator,"ChildOp SiblingOp, LogicOp":z.logicOperator,BinOp:z.arithmeticOperator,Important:z.modifier,Comment:z.blockComment,ParenthesizedContent:z.special(z.name),ColorLiteral:z.color,StringLiteral:z.string,":":z.punctuation,"PseudoOp #":z.derefOperator,"; ,":z.separator,"( )":z.paren,"[ ]":z.squareBracket,"{ }":z.brace}),$de={__proto__:null,lang:32,"nth-child":32,"nth-last-child":32,"nth-of-type":32,dir:32,url:60,"url-prefix":60,domain:60,regexp:60,selector:134},bde={__proto__:null,"@import":114,"@media":138,"@charset":142,"@namespace":146,"@keyframes":152,"@supports":164},_de={__proto__:null,not:128,only:128,from:158,to:160},Qde=Ui.deserialize({version:14,states:"7WOYQ[OOOOQP'#Cd'#CdOOQP'#Cc'#CcO!ZQ[O'#CfO!}QXO'#CaO#UQ[O'#ChO#aQ[O'#DPO#fQ[O'#DTOOQP'#Ec'#EcO#kQdO'#DeO$VQ[O'#DrO#kQdO'#DtO$hQ[O'#DvO$sQ[O'#DyO$xQ[O'#EPO%WQ[O'#EROOQS'#Eb'#EbOOQS'#ES'#ESQYQ[OOOOQP'#Cg'#CgOOQP,59Q,59QO!ZQ[O,59QO%_Q[O'#EVO%yQWO,58{O&RQ[O,59SO#aQ[O,59kO#fQ[O,59oO%_Q[O,59sO%_Q[O,59uO%_Q[O,59vO'bQ[O'#D`OOQS,58{,58{OOQP'#Ck'#CkOOQO'#C}'#C}OOQP,59S,59SO'iQWO,59SO'nQWO,59SOOQP'#DR'#DROOQP,59k,59kOOQO'#DV'#DVO'sQ`O,59oOOQS'#Cp'#CpO#kQdO'#CqO'{QvO'#CsO)VQtO,5:POOQO'#Cx'#CxO'iQWO'#CwO)kQWO'#CyOOQS'#Ef'#EfOOQO'#Dh'#DhO)pQ[O'#DoO*OQWO'#EiO$xQ[O'#DmO*^QWO'#DpOOQO'#Ej'#EjO%|QWO,5:^O*cQpO,5:`OOQS'#Dx'#DxO*kQWO,5:bO*pQ[O,5:bOOQO'#D{'#D{O*xQWO,5:eO*}QWO,5:kO+VQWO,5:mOOQS-E8Q-E8QOOQP1G.l1G.lO+yQXO,5:qOOQO-E8T-E8TOOQS1G.g1G.gOOQP1G.n1G.nO'iQWO1G.nO'nQWO1G.nOOQP1G/V1G/VO,WQ`O1G/ZO,qQXO1G/_O-XQXO1G/aO-oQXO1G/bO.VQXO'#CdO.zQWO'#DaOOQS,59z,59zO/PQWO,59zO/XQ[O,59zO/`QdO'#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!_!`2e!`~%Q",tokenizers:[gde,vde,mde,0,1,2,3],topRules:{StyleSheet:[0,4]},specialized:[{term:94,get:t=>$de[t]||-1},{term:56,get:t=>bde[t]||-1},{term:95,get:t=>_de[t]||-1}],tokenPrec:1078});let Sm=null;function wm(){if(!Sm&&typeof document=="object"&&document.body){let t=[];for(let e in document.body.style)/[A-Z]|^-|^(item|length)$/.test(e)||t.push(e);Sm=t.sort().map(e=>({type:"property",label:e}))}return Sm||[]}const vx=["active","after","before","checked","default","disabled","empty","enabled","first-child","first-letter","first-line","first-of-type","focus","hover","in-range","indeterminate","invalid","lang","last-child","last-of-type","link","not","nth-child","nth-last-child","nth-last-of-type","nth-of-type","only-of-type","only-child","optional","out-of-range","placeholder","read-only","read-write","required","root","selection","target","valid","visited"].map(t=>({type:"class",label:t})),yx=["above","absolute","activeborder","additive","activecaption","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","antialiased","appworkspace","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","axis-pan","background","backwards","baseline","below","bidi-override","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic-abegede-gez","ethiopic-halehame-aa-er","ethiopic-halehame-gez","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fill-box","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","graytext","grid","groove","hand","hard-light","help","hidden","hide","higher","highlight","highlighttext","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","justify","keep-all","landscape","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-hexadecimal","lower-latin","lower-norwegian","lowercase","ltr","luminosity","manipulation","match","matrix","matrix3d","medium","menu","menutext","message-box","middle","min-intrinsic","mix","monospace","move","multiple","multiple_mask_images","multiply","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","opacity","open-quote","optimizeLegibility","optimizeSpeed","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","perspective","pinch-zoom","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","start","static","status-bar","stretch","stroke","stroke-box","sub","subpixel-antialiased","svg_masks","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","text","text-bottom","text-top","textarea","textfield","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","to","top","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unidirectional-pan","unset","up","upper-latin","uppercase","url","var","vertical","vertical-text","view-box","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"].map(t=>({type:"keyword",label:t})).concat(["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"].map(t=>({type:"constant",label:t}))),Sde=["a","abbr","address","article","aside","b","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","dd","del","details","dfn","dialog","div","dl","dt","em","figcaption","figure","footer","form","header","hgroup","h1","h2","h3","h4","h5","h6","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","meter","nav","ol","output","p","pre","ruby","section","select","small","source","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","tr","u","ul"].map(t=>({type:"type",label:t})),Ys=/^[\w-]*/,wde=t=>{let{state:e,pos:n}=t,i=jt(e).resolveInner(n,-1);if(i.name=="PropertyName")return{from:i.from,options:wm(),validFor:Ys};if(i.name=="ValueName")return{from:i.from,options:yx,validFor:Ys};if(i.name=="PseudoClassName")return{from:i.from,options:vx,validFor:Ys};if(i.name=="TagName"){for(let{parent:o}=i;o;o=o.parent)if(o.name=="Block")return{from:i.from,options:wm(),validFor:Ys};return{from:i.from,options:Sde,validFor:Ys}}if(!t.explicit)return null;let r=i.resolve(n),s=r.childBefore(n);return s&&s.name==":"&&r.name=="PseudoClassSelector"?{from:n,options:vx,validFor:Ys}:s&&s.name==":"&&r.name=="Declaration"||r.name=="ArgList"?{from:n,options:yx,validFor:Ys}:r.name=="Block"?{from:n,options:wm(),validFor:Ys}:null},Nv=qi.define({parser:Qde.configure({props:[or.add({Declaration:Nn()}),ar.add({Block:ja})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}});function V4(){return new sr(Nv,Nv.data.of({autocomplete:wde}))}const Mc=["_blank","_self","_top","_parent"],xm=["ascii","utf-8","utf-16","latin1","latin1"],Pm=["get","post","put","delete"],km=["application/x-www-form-urlencoded","multipart/form-data","text/plain"],$i=["true","false"],Be={},xde={a:{attrs:{href:null,ping:null,type:null,media:null,target:Mc,hreflang:null}},abbr:Be,acronym:Be,address:Be,applet:Be,area:{attrs:{alt:null,coords:null,href:null,target:null,ping:null,media:null,hreflang:null,type:null,shape:["default","rect","circle","poly"]}},article:Be,aside:Be,audio:{attrs:{src:null,mediagroup:null,crossorigin:["anonymous","use-credentials"],preload:["none","metadata","auto"],autoplay:["autoplay"],loop:["loop"],controls:["controls"]}},b:Be,base:{attrs:{href:null,target:Mc}},basefont:Be,bdi:Be,bdo:Be,big:Be,blockquote:{attrs:{cite:null}},body:Be,br:Be,button:{attrs:{form:null,formaction:null,name:null,value:null,autofocus:["autofocus"],disabled:["autofocus"],formenctype:km,formmethod:Pm,formnovalidate:["novalidate"],formtarget:Mc,type:["submit","reset","button"]}},canvas:{attrs:{width:null,height:null}},caption:Be,center:Be,cite:Be,code:Be,col:{attrs:{span:null}},colgroup:{attrs:{span:null}},command:{attrs:{type:["command","checkbox","radio"],label:null,icon:null,radiogroup:null,command:null,title:null,disabled:["disabled"],checked:["checked"]}},data:{attrs:{value:null}},datagrid:{attrs:{disabled:["disabled"],multiple:["multiple"]}},datalist:{attrs:{data:null}},dd:Be,del:{attrs:{cite:null,datetime:null}},details:{attrs:{open:["open"]}},dfn:Be,dir:Be,div:Be,dl:Be,dt:Be,em:Be,embed:{attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}},fieldset:{attrs:{disabled:["disabled"],form:null,name:null}},figcaption:Be,figure:Be,font:Be,footer:Be,form:{attrs:{action:null,name:null,"accept-charset":xm,autocomplete:["on","off"],enctype:km,method:Pm,novalidate:["novalidate"],target:Mc}},frame:Be,frameset:Be,h1:Be,h2:Be,h3:Be,h4:Be,h5:Be,h6:Be,head:{children:["title","base","link","style","meta","script","noscript","command"]},header:Be,hgroup:Be,hr:Be,html:{attrs:{manifest:null}},i:Be,iframe:{attrs:{src:null,srcdoc:null,name:null,width:null,height:null,sandbox:["allow-top-navigation","allow-same-origin","allow-forms","allow-scripts"],seamless:["seamless"]}},img:{attrs:{alt:null,src:null,ismap:null,usemap:null,width:null,height:null,crossorigin:["anonymous","use-credentials"]}},input:{attrs:{alt:null,dirname:null,form:null,formaction:null,height:null,list:null,max:null,maxlength:null,min:null,name:null,pattern:null,placeholder:null,size:null,src:null,step:null,value:null,width:null,accept:["audio/*","video/*","image/*"],autocomplete:["on","off"],autofocus:["autofocus"],checked:["checked"],disabled:["disabled"],formenctype:km,formmethod:Pm,formnovalidate:["novalidate"],formtarget:Mc,multiple:["multiple"],readonly:["readonly"],required:["required"],type:["hidden","text","search","tel","url","email","password","datetime","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]}},ins:{attrs:{cite:null,datetime:null}},kbd:Be,keygen:{attrs:{challenge:null,form:null,name:null,autofocus:["autofocus"],disabled:["disabled"],keytype:["RSA"]}},label:{attrs:{for:null,form:null}},legend:Be,li:{attrs:{value:null}},link:{attrs:{href:null,type:null,hreflang:null,media:null,sizes:["all","16x16","16x16 32x32","16x16 32x32 64x64"]}},map:{attrs:{name:null}},mark:Be,menu:{attrs:{label:null,type:["list","context","toolbar"]}},meta:{attrs:{content:null,charset:xm,name:["viewport","application-name","author","description","generator","keywords"],"http-equiv":["content-language","content-type","default-style","refresh"]}},meter:{attrs:{value:null,min:null,low:null,high:null,max:null,optimum:null}},nav:Be,noframes:Be,noscript:Be,object:{attrs:{data:null,type:null,name:null,usemap:null,form:null,width:null,height:null,typemustmatch:["typemustmatch"]}},ol:{attrs:{reversed:["reversed"],start:null,type:["1","a","A","i","I"]},children:["li","script","template","ul","ol"]},optgroup:{attrs:{disabled:["disabled"],label:null}},option:{attrs:{disabled:["disabled"],label:null,selected:["selected"],value:null}},output:{attrs:{for:null,form:null,name:null}},p:Be,param:{attrs:{name:null,value:null}},pre:Be,progress:{attrs:{value:null,max:null}},q:{attrs:{cite:null}},rp:Be,rt:Be,ruby:Be,s:Be,samp:Be,script:{attrs:{type:["text/javascript"],src:null,async:["async"],defer:["defer"],charset:xm}},section:Be,select:{attrs:{form:null,name:null,size:null,autofocus:["autofocus"],disabled:["disabled"],multiple:["multiple"]}},slot:{attrs:{name:null}},small:Be,source:{attrs:{src:null,type:null,media:null}},span:Be,strike:Be,strong:Be,style:{attrs:{type:["text/css"],media:null,scoped:null}},sub:Be,summary:Be,sup:Be,table:Be,tbody:Be,td:{attrs:{colspan:null,rowspan:null,headers:null}},template:Be,textarea:{attrs:{dirname:null,form:null,maxlength:null,name:null,placeholder:null,rows:null,cols:null,autofocus:["autofocus"],disabled:["disabled"],readonly:["readonly"],required:["required"],wrap:["soft","hard"]}},tfoot:Be,th:{attrs:{colspan:null,rowspan:null,headers:null,scope:["row","col","rowgroup","colgroup"]}},thead:Be,time:{attrs:{datetime:null}},title:Be,tr:Be,track:{attrs:{src:null,label:null,default:null,kind:["subtitles","captions","descriptions","chapters","metadata"],srclang:null}},tt:Be,u:Be,ul:{children:["li","script","template","ul","ol"]},var:Be,video:{attrs:{src:null,poster:null,width:null,height:null,crossorigin:["anonymous","use-credentials"],preload:["auto","metadata","none"],autoplay:["autoplay"],mediagroup:["movie"],muted:["muted"],controls:["controls"]}},wbr:Be},Pde={accesskey:null,class:null,contenteditable:$i,contextmenu:null,dir:["ltr","rtl","auto"],draggable:["true","false","auto"],dropzone:["copy","move","link","string:","file:"],hidden:["hidden"],id:null,inert:["inert"],itemid:null,itemprop:null,itemref:null,itemscope:["itemscope"],itemtype:null,lang:["ar","bn","de","en-GB","en-US","es","fr","hi","id","ja","pa","pt","ru","tr","zh"],spellcheck:$i,autocorrect:$i,autocapitalize:$i,style:null,tabindex:null,title:null,translate:["yes","no"],onclick:null,rel:["stylesheet","alternate","author","bookmark","help","license","next","nofollow","noreferrer","prefetch","prev","search","tag"],role:"alert application article banner button cell checkbox complementary contentinfo dialog document feed figure form grid gridcell heading img list listbox listitem main navigation region row rowgroup search switch tab table tabpanel textbox timer".split(" "),"aria-activedescendant":null,"aria-atomic":$i,"aria-autocomplete":["inline","list","both","none"],"aria-busy":$i,"aria-checked":["true","false","mixed","undefined"],"aria-controls":null,"aria-describedby":null,"aria-disabled":$i,"aria-dropeffect":null,"aria-expanded":["true","false","undefined"],"aria-flowto":null,"aria-grabbed":["true","false","undefined"],"aria-haspopup":$i,"aria-hidden":$i,"aria-invalid":["true","false","grammar","spelling"],"aria-label":null,"aria-labelledby":null,"aria-level":null,"aria-live":["off","polite","assertive"],"aria-multiline":$i,"aria-multiselectable":$i,"aria-owns":null,"aria-posinset":null,"aria-pressed":["true","false","mixed","undefined"],"aria-readonly":$i,"aria-relevant":null,"aria-required":$i,"aria-selected":["true","false","undefined"],"aria-setsize":null,"aria-sort":["ascending","descending","none","other"],"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null};class Td{constructor(e,n){this.tags=Object.assign(Object.assign({},xde),e),this.globalAttrs=Object.assign(Object.assign({},Pde),n),this.allTags=Object.keys(this.tags),this.globalAttrNames=Object.keys(this.globalAttrs)}}Td.default=new Td;function oc(t,e,n=t.length){if(!e)return"";let i=e.firstChild,r=i&&i.getChild("TagName");return r?t.sliceString(r.from,Math.min(r.to,n)):""}function Lp(t,e=!1){for(let n=t.parent;n;n=n.parent)if(n.name=="Element")if(e)e=!1;else return n;return null}function j4(t,e,n){let i=n.tags[oc(t,Lp(e,!0))];return(i==null?void 0:i.children)||n.allTags}function y1(t,e){let n=[];for(let i=e;i=Lp(i);){let r=oc(t,i);if(r&&i.lastChild.name=="CloseTag")break;r&&n.indexOf(r)<0&&(e.name=="EndTag"||e.from>=i.firstChild.to)&&n.push(r)}return n}const N4=/^[:\-\.\w\u00b7-\uffff]*$/;function $x(t,e,n,i,r){let s=/\s*>/.test(t.sliceDoc(r,r+5))?"":">";return{from:i,to:r,options:j4(t.doc,n,e).map(o=>({label:o,type:"type"})).concat(y1(t.doc,n).map((o,a)=>({label:"/"+o,apply:"/"+o+s,type:"type",boost:99-a}))),validFor:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}function bx(t,e,n,i){let r=/\s*>/.test(t.sliceDoc(i,i+5))?"":">";return{from:n,to:i,options:y1(t.doc,e).map((s,o)=>({label:s,apply:s+r,type:"type",boost:99-o})),validFor:N4}}function kde(t,e,n,i){let r=[],s=0;for(let o of j4(t.doc,n,e))r.push({label:"<"+o,type:"type"});for(let o of y1(t.doc,n))r.push({label:"",type:"type",boost:99-s++});return{from:i,to:i,options:r,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}function Cde(t,e,n,i,r){let s=Lp(n),o=s?e.tags[oc(t.doc,s)]:null,a=o&&o.attrs?Object.keys(o.attrs).concat(e.globalAttrNames):e.globalAttrNames;return{from:i,to:r,options:a.map(l=>({label:l,type:"property"})),validFor:N4}}function Tde(t,e,n,i,r){var s;let o=(s=n.parent)===null||s===void 0?void 0:s.getChild("AttributeName"),a=[],l;if(o){let c=t.sliceDoc(o.from,o.to),u=e.globalAttrs[c];if(!u){let O=Lp(n),f=O?e.tags[oc(t.doc,O)]:null;u=(f==null?void 0:f.attrs)&&f.attrs[c]}if(u){let O=t.sliceDoc(i,r).toLowerCase(),f='"',h='"';/^['"]/.test(O)?(l=O[0]=='"'?/^[^"]*$/:/^[^']*$/,f="",h=t.sliceDoc(r,r+1)==O[0]?"":O[0],O=O.slice(1),i++):l=/^[^\s<>='"]*$/;for(let p of u)a.push({label:p,apply:f+p+h,type:"constant"})}}return{from:i,to:r,options:a,validFor:l}}function Rde(t,e){let{state:n,pos:i}=e,r=jt(n).resolveInner(i),s=r.resolve(i,-1);for(let o=i,a;r==s&&(a=s.childBefore(o));){let l=a.lastChild;if(!l||!l.type.isError||l.fromRde(i,r)}const Fv=qi.define({parser:ide.configure({props:[or.add({Element(t){let e=/^(\s*)(<\/)?/.exec(t.textAfter);return t.node.to<=t.pos+e[0].length?t.continue():t.lineIndent(t.node.from)+(e[2]?0:t.unit)},"OpenTag CloseTag SelfClosingTag"(t){return t.column(t.node.from)+t.unit},Document(t){if(t.pos+/\s*/.exec(t.textAfter)[0].length"}},indentOnInput:/^\s*<\/\w+\W$/,wordChars:"-._"}});function $1(t={}){let e=Fv;return t.matchClosingTags===!1&&(e=e.configure({dialect:"noMatch"})),new sr(e,[Fv.data.of({autocomplete:Ade(t)}),t.autoCloseTags!==!1?Ede:[],ru().support,V4().support])}const Ede=Ve.inputHandler.of((t,e,n,i)=>{if(t.composing||t.state.readOnly||e!=n||i!=">"&&i!="/"||!Fv.isActiveAt(t.state,e,-1))return!1;let{state:r}=t,s=r.changeByRange(o=>{var a,l,c;let{head:u}=o,O=jt(r).resolveInner(u,-1),f;if((O.name=="TagName"||O.name=="StartTag")&&(O=O.parent),i==">"&&O.name=="OpenTag"){if(((l=(a=O.parent)===null||a===void 0?void 0:a.lastChild)===null||l===void 0?void 0:l.name)!="CloseTag"&&(f=oc(r.doc,O.parent,u)))return{range:we.cursor(u+1),changes:{from:u,insert:`>`}}}else if(i=="/"&&O.name=="OpenTag"){let h=O.parent,p=h==null?void 0:h.parent;if(h.from==u-1&&((c=p.lastChild)===null||c===void 0?void 0:c.name)!="CloseTag"&&(f=oc(r.doc,p,u))){let y=`/${f}>`;return{range:we.cursor(u+y.length),changes:{from:u,insert:y}}}}return{range:o}});return s.changes.empty?!1:(t.dispatch(s,{userEvent:"input.type",scrollIntoView:!0}),!0)}),_x=1,Xde=2,Wde=3,zde=82,Ide=76,qde=117,Ude=85,Dde=97,Lde=122,Bde=65,Mde=90,Yde=95,Gv=48,Qx=34,Zde=40,Sx=41,Vde=32,wx=62,jde=new on(t=>{if(t.next==Ide||t.next==Ude?t.advance():t.next==qde&&(t.advance(),t.next==Gv+8&&t.advance()),t.next!=zde||(t.advance(),t.next!=Qx))return;t.advance();let e="";for(;t.next!=Zde;){if(t.next==Vde||t.next<=13||t.next==Sx)return;e+=String.fromCharCode(t.next),t.advance()}for(t.advance();;){if(t.next<0)return t.acceptToken(_x);if(t.next==Sx){let n=!0;for(let i=0;n&&i{if(t.next==wx)t.peek(1)==wx&&t.acceptToken(Xde,1);else{let e=!1,n=0;for(;;n++){if(t.next>=Bde&&t.next<=Mde)e=!0;else{if(t.next>=Dde&&t.next<=Lde)return;if(t.next!=Yde&&!(t.next>=Gv&&t.next<=Gv+9))break}t.advance()}e&&n>1&&t.acceptToken(Wde)}},{extend:!0}),Fde=Li({"typedef struct union enum class typename decltype auto template operator friend noexcept namespace using __attribute__ __declspec __based":z.definitionKeyword,"extern MsCallModifier MsPointerModifier extern static register inline const volatile restrict _Atomic mutable constexpr virtual explicit VirtualSpecifier Access":z.modifier,"if else switch for while do case default return break continue goto throw try catch":z.controlKeyword,"new sizeof delete static_assert":z.operatorKeyword,"NULL nullptr":z.null,this:z.self,"True False":z.bool,"TypeSize PrimitiveType":z.standard(z.typeName),TypeIdentifier:z.typeName,FieldIdentifier:z.propertyName,"CallExpression/FieldExpression/FieldIdentifier":z.function(z.propertyName),StatementIdentifier:z.labelName,"Identifier DestructorName":z.variableName,"CallExpression/Identifier":z.function(z.variableName),"CallExpression/ScopedIdentifier/Identifier":z.function(z.variableName),"FunctionDeclarator/Identifier FunctionDeclarator/DestructorName":z.function(z.definition(z.variableName)),NamespaceIdentifier:z.namespace,OperatorName:z.operator,ArithOp:z.arithmeticOperator,LogicOp:z.logicOperator,BitOp:z.bitwiseOperator,CompareOp:z.compareOperator,AssignOp:z.definitionOperator,UpdateOp:z.updateOperator,LineComment:z.lineComment,BlockComment:z.blockComment,Number:z.number,String:z.string,"RawString SystemLibString":z.special(z.string),CharLiteral:z.character,EscapeSequence:z.escape,PreProcArg:z.meta,"PreprocDirectiveName #include #ifdef #ifndef #if #define #else #endif #elif":z.processingInstruction,MacroName:z.special(z.name),"( )":z.paren,"[ ]":z.squareBracket,"{ }":z.brace,"< >":z.angleBracket,". ->":z.derefOperator,", ;":z.separator}),Gde={__proto__:null,bool:34,char:34,int:34,float:34,double:34,void:34,size_t:34,ssize_t:34,intptr_t:34,uintptr_t:34,charptr_t:34,int8_t:34,int16_t:34,int32_t:34,int64_t:34,uint8_t:34,uint16_t:34,uint32_t:34,uint64_t:34,char8_t:34,char16_t:34,char32_t:34,char64_t:34,const:68,volatile:70,restrict:72,_Atomic:74,mutable:76,constexpr:78,struct:82,__declspec:86,final:90,override:90,public:94,private:94,protected:94,virtual:154,extern:156,static:158,register:160,inline:162,__attribute__:166,__based:172,__restrict:174,__uptr:174,__sptr:174,_unaligned:174,__unaligned:174,noexcept:188,throw:192,new:228,delete:230,operator:236,template:266,typename:272,class:274,using:284,friend:292,__cdecl:296,__clrcall:296,__stdcall:296,__fastcall:296,__thiscall:296,__vectorcall:296,case:306,default:308,if:320,else:326,switch:330,do:334,while:336,for:344,return:348,break:352,continue:356,goto:360,typedef:364,try:378,catch:382,namespace:388,static_assert:394,explicit:404,union:420,enum:442,signed:446,unsigned:446,long:446,short:446,decltype:458,auto:460,sizeof:492,TRUE:746,true:746,FALSE:748,false:748,NULL:500,nullptr:518,this:520},Hde={__proto__:null,"<":139},Kde={__proto__:null,">":143},Jde={__proto__:null,operator:218,new:504,delete:510},epe=Ui.deserialize({version:14,states:"$+^Q!QQVOOP&qOUOOO'cOWO'#CdO*|QUO'#CgO+WQUO'#FoO,nQbO'#CwO-PQUO'#CwO.oQUO'#JaO.vQUO'#CvO/ROpO'#DyO/ZQ!dO'#DbOOQQ'#I['#I[O/fQUO'#KOO1VQUO'#I`OOQQ'#I`'#I`O4XQUO'#JrO7YQUO'#JrO9aQVO'#EZO9qQUO'#EZO9vQUOOO:OQVO'#EhO<`QVO'#EiOTOOQQ,5>d,5>dO!:pQVO'#ChO!>YQUO'#CyOOQQ,59c,59cOOQQ,59b,59bOOQQ,5;U,5;UO!>gQ#vO,5=`O!4bQUO,5>]O!@zQVO,5>`O!ARQbO,59cO!A^QVO'#FQOOQQ,5>X,5>XO!AnQVO,59VO!AuO`O,5:eO!AzQbO'#DcO!B]QbO'#JgO!BkQbO,59|O!DmQUO'#CsO!F]QbO'#CwO!FbQUO'#CvO!IuQUO'#JaOOQQ-EUO#-{QUO,5;TO#.mQbO'#CwO#$XQUO'#EZOcO?pQVO'#HwO#8vQUO,5>cO#8yQUO,5>cOOQQ,5>c,5>cO#9O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u26A0 RawString > MacroName LineComment BlockComment PreprocDirective #include String EscapeSequence SystemLibString Identifier ArgumentList ( ConditionalExpression AssignmentExpression CallExpression PrimitiveType FieldExpression FieldIdentifier DestructorName TemplateMethod ScopedFieldIdentifier NamespaceIdentifier TemplateType TypeIdentifier ScopedTypeIdentifier ScopedNamespaceIdentifier :: NamespaceIdentifier TypeIdentifier TemplateArgumentList < TypeDescriptor const volatile restrict _Atomic mutable constexpr StructSpecifier struct MsDeclspecModifier __declspec ) VirtualSpecifier BaseClassClause Access , FieldDeclarationList { FieldDeclaration Attribute AttributeName Identifier AttributeArgs } [ ] UpdateOp ArithOp ArithOp ArithOp LogicOp BitOp BitOp BitOp CompareOp CompareOp CompareOp > CompareOp BitOp UpdateOp Number CharLiteral AttributeArgs virtual extern static register inline AttributeSpecifier __attribute__ PointerDeclarator MsBasedModifier __based MsPointerModifier FunctionDeclarator ParameterList ParameterDeclaration PointerDeclarator FunctionDeclarator Noexcept noexcept ThrowSpecifier throw TrailingReturnType AbstractPointerDeclarator AbstractFunctionDeclarator AbstractArrayDeclarator AbstractParenthesizedDeclarator AbstractReferenceDeclarator ArrayDeclarator ParenthesizedDeclarator ReferenceDeclarator ScopedIdentifier Identifier OperatorName operator ArithOp BitOp CompareOp LogicOp new delete TemplateFunction OperatorName operator StructuredBindingDeclarator OptionalParameterDeclaration VariadicParameterDeclaration VariadicDeclarator ReferenceDeclarator ArrayDeclarator ParenthesizedDeclarator ReferenceDeclarator BitfieldClause InitializerList InitializerPair SubscriptDesignator FieldDesignator TemplateDeclaration template TemplateParameterList TypeParameterDeclaration typename class OptionalTypeParameterDeclaration VariadicTypeParameterDeclaration TemplateTemplateParameterDeclaration AliasDeclaration using Declaration InitDeclarator FriendDeclaration friend FunctionDefinition MsCallModifier CompoundStatement LinkageSpecification DeclarationList CaseStatement case default LabeledStatement StatementIdentifier ExpressionStatement CommaExpression IfStatement if ConditionClause Declaration else SwitchStatement switch DoStatement do while ParenthesizedExpression WhileStatement ForStatement for ReturnStatement return BreakStatement break ContinueStatement continue GotoStatement goto TypeDefinition typedef PointerDeclarator FunctionDeclarator ArrayDeclarator ParenthesizedDeclarator ForRangeLoop TryStatement try CatchClause catch ThrowStatement NamespaceDefinition namespace UsingDeclaration StaticAssertDeclaration static_assert ConcatenatedString TemplateInstantiation FunctionDefinition ExplicitFunctionSpecifier explicit FieldInitializerList FieldInitializer DefaultMethodClause DeleteMethodClause FunctionDefinition OperatorCast Declaration union FunctionDefinition FunctionDefinition FunctionDefinition FunctionDefinition Declaration FunctionDefinition Declaration AccessSpecifier UnionSpecifier EnumSpecifier enum SizedTypeSpecifier TypeSize EnumeratorList Enumerator ClassSpecifier DependentType Decltype decltype auto ParameterPackExpansion ParameterPackExpansion FieldIdentifier PointerExpression SubscriptExpression BinaryExpression ArithOp LogicOp BitOp UnaryExpression LogicOp BitOp UpdateExpression CastExpression SizeofExpression sizeof CompoundLiteralExpression True False NULL NewExpression new NewDeclarator DeleteExpression delete LambdaExpression LambdaCaptureSpecifier ParameterPackExpansion nullptr this #define PreprocArg #if #ifdef #ifndef #else #endif #elif PreprocDirectiveName Macro Program",maxTerm:380,nodeProps:[["group",-31,1,8,11,14,15,16,18,74,75,106,116,117,169,198,234,235,236,240,243,244,245,247,248,249,250,251,254,256,258,259,260,"Expression",-12,17,24,25,26,40,219,220,222,226,227,228,230,"Type",-16,149,152,155,157,159,164,166,170,171,173,175,177,179,187,188,192,"Statement"]],propSources:[Fde],skippedNodes:[0,3,4,5,6,7,10,261,262,263,264,265,266,267,268,269,270,307,308],repeatNodeCount:37,tokenData:"%0W,TR!SOX$_XY'gYZ,cZ]$_]^)e^p$_pq'gqr,yrs.mst/[tu$_uv!/uvw!1gwx!3^xy!3{yz!4pz{!5e{|!6b|}!8Y}!O!8}!O!P!:x!P!Q!Nr!Q!R#2X!R![#Ew![!]$.t!]!^$0d!^!_$1X!_!`$;|!`!a${#Z#o0s#o~$_*q?Y`(cW'vQ&p#t&v'q&w'qOY$_Zr$_r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kZp$_pq%-kqr$_rs%Qsw$_wx&|x!c$_!c!}%.y!}#O$_#O#P%|#P#R$_#R#S%.y#S#T$_#T#o%.y#o~$_$T%/U`(cW'vQdT&p#tOY$_Zr$_rs%Qsw$_wx&|x!Q$_!Q![%.y![!c$_!c!}%.y!}#O$_#O#P%|#P#R$_#R#S%.y#S#T$_#T#o%.y#o~$_",tokenizers:[jde,Nde,0,1,2,3,4,5,6,7,8],topRules:{Program:[0,271]},dynamicPrecedences:{"84":1,"91":1,"98":1,"104":-10,"105":1,"119":-1,"125":-10,"126":1,"183":1,"186":-10,"227":-1,"231":2,"232":2,"270":-10,"325":3,"369":1,"370":3,"371":1,"372":1},specialized:[{term:316,get:t=>Gde[t]||-1},{term:32,get:t=>Hde[t]||-1},{term:70,get:t=>Kde[t]||-1},{term:323,get:t=>Jde[t]||-1}],tokenPrec:21623}),tpe=qi.define({parser:epe.configure({props:[or.add({IfStatement:Nn({except:/^\s*({|else\b)/}),TryStatement:Nn({except:/^\s*({|catch)\b/}),LabeledStatement:K$,CaseStatement:t=>t.baseIndent+t.unit,BlockComment:()=>-1,CompoundStatement:Sa({closing:"}"}),Statement:Nn({except:/^{/})}),ar.add({"DeclarationList CompoundStatement EnumeratorList FieldDeclarationList InitializerList":ja,BlockComment(t){return{from:t.from+2,to:t.to-2}}})]}),languageData:{commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\})$/}});function npe(){return new sr(tpe)}function ipe(t){F4(t,"start");var e={},n=t.languageData||{},i=!1;for(var r in t)if(r!=n&&t.hasOwnProperty(r))for(var s=e[r]=[],o=t[r],a=0;a2&&o.token&&typeof o.token!="string"){n.pending=[];for(var c=2;c-1)return null;var r=n.indent.length-1,s=t[n.state];e:for(;;){for(var o=0;o]:","[<>=]=","<<=?",">>>?=?","=>","--?>","<--[->]?","\\/\\/","\\.{2,3}","[\\.\\\\%*+\\-<>!\\/^|&]=?","\\?","\\$","~",":"],bpe=Uo(["[<>]:","[<>=]=","[!=]==","<<=?",">>>?=?","=>?","--?>","<--[->]?","\\/\\/","[\\\\%*+\\-<>!\\/^|&\\u00F7\\u22BB]=?","\\?","\\$","~",":","\\u00D7","\\u2208","\\u2209","\\u220B","\\u220C","\\u2218","\\u221A","\\u221B","\\u2229","\\u222A","\\u2260","\\u2264","\\u2265","\\u2286","\\u2288","\\u228A","\\u22C5","\\b(in|isa)\\b(?!.?\\()"],""),_pe=/^[;,()[\]{}]/,Qpe=/^[_A-Za-z\u00A1-\u2217\u2219-\uFFFF][\w\u00A1-\u2217\u2219-\uFFFF]*!*/,Spe=Uo([gpe,vpe,ype,$pe],"'"),wpe=["begin","function","type","struct","immutable","let","macro","for","while","quote","if","else","elseif","try","finally","catch","do"],xpe=["end","else","elseif","catch","finally"],tE=["if","else","elseif","while","for","begin","let","end","do","try","catch","finally","return","break","continue","global","local","const","export","import","importall","using","function","where","macro","module","baremodule","struct","type","mutable","immutable","quote","typealias","abstract","primitive","bitstype"],nE=["true","false","nothing","NaN","Inf"],Ppe=Uo(wpe),kpe=Uo(xpe),Cpe=Uo(tE),Tpe=Uo(nE),Rpe=/^@[_A-Za-z\u00A1-\uFFFF][\w\u00A1-\uFFFF]*!*/,Ape=/^:[_A-Za-z\u00A1-\uFFFF][\w\u00A1-\uFFFF]*!*/,Epe=/^(`|([_A-Za-z\u00A1-\uFFFF]*"("")?))/,Xpe=Uo(eE,"","@"),Wpe=Uo(eE,"",":");function xx(t){return t.nestedArrays>0}function zpe(t){return t.nestedGenerators>0}function Px(t,e){return typeof e=="undefined"&&(e=0),t.scopes.length<=e?null:t.scopes[t.scopes.length-(e+1)]}function ac(t,e){if(t.match("#=",!1))return e.tokenize=qpe,e.tokenize(t,e);var n=e.leavingExpr;if(t.sol()&&(n=!1),e.leavingExpr=!1,n&&t.match(/^'+/))return"operator";if(t.match(/\.{4,}/))return"error";if(t.match(/\.{1,3}/))return"operator";if(t.eatSpace())return null;var i=t.peek();if(i==="#")return t.skipToEnd(),"comment";if(i==="["&&(e.scopes.push("["),e.nestedArrays++),i==="("&&(e.scopes.push("("),e.nestedGenerators++),xx(e)&&i==="]"){for(;e.scopes.length&&Px(e)!=="[";)e.scopes.pop();e.scopes.pop(),e.nestedArrays--,e.leavingExpr=!0}if(zpe(e)&&i===")"){for(;e.scopes.length&&Px(e)!=="(";)e.scopes.pop();e.scopes.pop(),e.nestedGenerators--,e.leavingExpr=!0}if(xx(e)){if(e.lastToken=="end"&&t.match(":"))return"operator";if(t.match("end"))return"number"}var r;if((r=t.match(Ppe,!1))&&e.scopes.push(r[0]),t.match(kpe,!1)&&e.scopes.pop(),t.match(/^::(?![:\$])/))return e.tokenize=Ipe,e.tokenize(t,e);if(!n&&(t.match(Ape)||t.match(Wpe)))return"builtin";if(t.match(bpe))return"operator";if(t.match(/^\.?\d/,!1)){var s=RegExp(/^im\b/),o=!1;if(t.match(/^0x\.[0-9a-f_]+p[\+\-]?[_\d]+/i)&&(o=!0),t.match(/^0x[0-9a-f_]+/i)&&(o=!0),t.match(/^0b[01_]+/i)&&(o=!0),t.match(/^0o[0-7_]+/i)&&(o=!0),t.match(/^(?:(?:\d[_\d]*)?\.(?!\.)(?:\d[_\d]*)?|\d[_\d]*\.(?!\.)(?:\d[_\d]*))?([Eef][\+\-]?[_\d]+)?/i)&&(o=!0),t.match(/^\d[_\d]*(e[\+\-]?\d+)?/i)&&(o=!0),o)return t.match(s),e.leavingExpr=!0,"number"}if(t.match("'"))return e.tokenize=Upe,e.tokenize(t,e);if(t.match(Epe))return e.tokenize=Dpe(t.current()),e.tokenize(t,e);if(t.match(Rpe)||t.match(Xpe))return"meta";if(t.match(_pe))return null;if(t.match(Cpe))return"keyword";if(t.match(Tpe))return"builtin";var a=e.isDefinition||e.lastToken=="function"||e.lastToken=="macro"||e.lastToken=="type"||e.lastToken=="struct"||e.lastToken=="immutable";return t.match(Qpe)?a?t.peek()==="."?(e.isDefinition=!0,"variable"):(e.isDefinition=!1,"def"):(e.leavingExpr=!0,"variable"):(t.next(),"error")}function Ipe(t,e){return t.match(/.*?(?=[,;{}()=\s]|$)/),t.match("{")?e.nestedParameters++:t.match("}")&&e.nestedParameters>0&&e.nestedParameters--,e.nestedParameters>0?t.match(/.*?(?={|})/)||t.next():e.nestedParameters==0&&(e.tokenize=ac),"builtin"}function qpe(t,e){return t.match("#=")&&e.nestedComments++,t.match(/.*?(?=(#=|=#))/)||t.skipToEnd(),t.match("=#")&&(e.nestedComments--,e.nestedComments==0&&(e.tokenize=ac)),"comment"}function Upe(t,e){var n=!1,i;if(t.match(Spe))n=!0;else if(i=t.match(/\\u([a-f0-9]{1,4})(?=')/i)){var r=parseInt(i[1],16);(r<=55295||r>=57344)&&(n=!0,t.next())}else if(i=t.match(/\\U([A-Fa-f0-9]{5,8})(?=')/)){var r=parseInt(i[1],16);r<=1114111&&(n=!0,t.next())}return n?(e.leavingExpr=!0,e.tokenize=ac,"string"):(t.match(/^[^']+(?=')/)||t.skipToEnd(),t.match("'")&&(e.tokenize=ac),"error")}function Dpe(t){t.substr(-3)==='"""'?t='"""':t.substr(-1)==='"'&&(t='"');function e(n,i){if(n.eat("\\"))n.next();else{if(n.match(t))return i.tokenize=ac,i.leavingExpr=!0,"string";n.eat(/[`"]/)}return n.eatWhile(/[^\\`"]/),"string"}return e}const Lpe={startState:function(){return{tokenize:ac,scopes:[],lastToken:null,leavingExpr:!1,isDefinition:!1,nestedArrays:0,nestedComments:0,nestedGenerators:0,nestedParameters:0,firstParenPos:-1}},token:function(t,e){var n=e.tokenize(t,e),i=t.current();return i&&n&&(e.lastToken=i),n},indent:function(t,e,n){var i=0;return(e==="]"||e===")"||/^end\b/.test(e)||/^else/.test(e)||/^catch\b/.test(e)||/^elseif\b/.test(e)||/^finally/.test(e))&&(i=-1),(t.scopes.length+i)*n.unit},languageData:{indentOnInput:/^\s*(end|else|catch|finally)\b$/,commentTokens:{line:"#",block:{open:"#=",close:"=#"}},closeBrackets:{brackets:["(","[","{",'"']},autocomplete:tE.concat(nE)}};function b1(t){for(var e={},n=t.split(" "),i=0;i*\/]/.test(i)?ji(null,"select-op"):/[;{}:\[\]]/.test(i)?ji(null,i):(t.eatWhile(/[\w\\\-]/),ji("variable","variable"))}function kx(t,e){for(var n=!1,i;(i=t.next())!=null;){if(n&&i=="/"){e.tokenize=Bp;break}n=i=="*"}return ji("comment","comment")}function Cx(t,e){for(var n=0,i;(i=t.next())!=null;){if(n>=2&&i==">"){e.tokenize=Bp;break}n=i=="-"?n+1:0}return ji("comment","comment")}function Zpe(t){return function(e,n){for(var i=!1,r;(r=e.next())!=null&&!(r==t&&!i);)i=!i&&r=="\\";return i||(n.tokenize=Bp),ji("string","string")}}const Vpe={startState:function(){return{tokenize:Bp,baseIndent:0,stack:[]}},token:function(t,e){if(t.eatSpace())return null;Fs=null;var n=e.tokenize(t,e),i=e.stack[e.stack.length-1];return Fs=="hash"&&i=="rule"?n="atom":n=="variable"&&(i=="rule"?n="number":(!i||i=="@media{")&&(n="tag")),i=="rule"&&/^[\{\};]$/.test(Fs)&&e.stack.pop(),Fs=="{"?i=="@media"?e.stack[e.stack.length-1]="@media{":e.stack.push("{"):Fs=="}"?e.stack.pop():Fs=="@media"?e.stack.push("@media"):i=="{"&&Fs!="comment"&&e.stack.push("rule"),n},indent:function(t,e,n){var i=t.stack.length;return/^\}/.test(e)&&(i-=t.stack[t.stack.length-1]=="rule"?2:1),t.baseIndent+i*n.unit},languageData:{indentOnInput:/^\s*\}$/}};function Mp(t){for(var e={},n=0;n=!&|~$:]/,mr;function Hv(t,e){mr=null;var n=t.next();if(n=="#")return t.skipToEnd(),"comment";if(n=="0"&&t.eat("x"))return t.eatWhile(/[\da-f]/i),"number";if(n=="."&&t.eat(/\d/))return t.match(/\d*(?:e[+\-]?\d+)?/),"number";if(/\d/.test(n))return t.match(/\d*(?:\.\d+)?(?:e[+\-]\d+)?L?/),"number";if(n=="'"||n=='"')return e.tokenize=Kpe(n),"string";if(n=="`")return t.match(/[^`]+`/),"string.special";if(n=="."&&t.match(/.(?:[.]|\d+)/))return"keyword";if(/[a-zA-Z\.]/.test(n)){t.eatWhile(/[\w\.]/);var i=t.current();return Npe.propertyIsEnumerable(i)?"atom":Gpe.propertyIsEnumerable(i)?(Hpe.propertyIsEnumerable(i)&&!t.match(/\s*if(\s+|$)/,!1)&&(mr="block"),"keyword"):Fpe.propertyIsEnumerable(i)?"builtin":"variable"}else return n=="%"?(t.skipTo("%")&&t.next(),"variableName.special"):n=="<"&&t.eat("-")||n=="<"&&t.match("<-")||n=="-"&&t.match(/>>?/)||n=="="&&e.ctx.argList?"operator":Tx.test(n)?(n=="$"||t.eatWhile(Tx),"operator"):/[\(\){}\[\];]/.test(n)?(mr=n,n==";"?"punctuation":null):null}function Kpe(t){return function(e,n){if(e.eat("\\")){var i=e.next();return i=="x"?e.match(/^[a-f0-9]{2}/i):(i=="u"||i=="U")&&e.eat("{")&&e.skipTo("}")?e.next():i=="u"?e.match(/^[a-f0-9]{4}/i):i=="U"?e.match(/^[a-f0-9]{8}/i):/[0-7]/.test(i)&&e.match(/^[0-7]{1,2}/),"string.special"}else{for(var r;(r=e.next())!=null;){if(r==t){n.tokenize=Hv;break}if(r=="\\"){e.backUp(1);break}}return"string"}}}var Rx=1,Cm=2,Tm=4;function KO(t,e,n){t.ctx={type:e,indent:t.indent,flags:0,column:n.column(),prev:t.ctx}}function Ax(t,e){var n=t.ctx;t.ctx={type:n.type,indent:n.indent,flags:n.flags|e,column:n.column,prev:n.prev}}function Rm(t){t.indent=t.ctx.indent,t.ctx=t.ctx.prev}const Jpe={startState:function(t){return{tokenize:Hv,ctx:{type:"top",indent:-t,flags:Cm},indent:0,afterIdent:!1}},token:function(t,e){if(t.sol()&&((e.ctx.flags&3)==0&&(e.ctx.flags|=Cm),e.ctx.flags&Tm&&Rm(e),e.indent=t.indentation()),t.eatSpace())return null;var n=e.tokenize(t,e);return n!="comment"&&(e.ctx.flags&Cm)==0&&Ax(e,Rx),(mr==";"||mr=="{"||mr=="}")&&e.ctx.type=="block"&&Rm(e),mr=="{"?KO(e,"}",t):mr=="("?(KO(e,")",t),e.afterIdent&&(e.ctx.argList=!0)):mr=="["?KO(e,"]",t):mr=="block"?KO(e,"block",t):mr==e.ctx.type?Rm(e):e.ctx.type=="block"&&n!="comment"&&Ax(e,Tm),e.afterIdent=n=="variable"||n=="keyword",n},indent:function(t,e,n){if(t.tokenize!=Hv)return 0;var i=e&&e.charAt(0),r=t.ctx,s=i==r.type;return r.flags&Tm&&(r=r.prev),r.type=="block"?r.indent+(i=="{"?0:n.unit):r.flags&Rx?r.column+(s?0:1):r.indent+(s?0:n.unit)},languageData:{wordChars:".",commentTokens:{line:"#"},autocomplete:iE.concat(rE,sE)}};function _1(t){for(var e={},n=0,i=t.length;n]/)?(t.eat(/[\<\>]/),"atom"):t.eat(/[\+\-\*\/\&\|\:\!]/)?"atom":t.eat(/[a-zA-Z$@_\xa1-\uffff]/)?(t.eatWhile(/[\w$\xa1-\uffff]/),t.eat(/[\?\!\=]/),"atom"):"operator";if(n=="@"&&t.match(/^@?[a-zA-Z_\xa1-\uffff]/))return t.eat("@"),t.eatWhile(/[\w\xa1-\uffff]/),"propertyName";if(n=="$")return t.eat(/[a-zA-Z_]/)?t.eatWhile(/[\w]/):t.eat(/\d/)?t.eat(/\d/):t.next(),"variableName.special";if(/[a-zA-Z_\xa1-\uffff]/.test(n))return t.eatWhile(/[\w\xa1-\uffff]/),t.eat(/[\?\!]/),t.eat(":")?"atom":"variable";if(n=="|"&&(e.varList||e.lastTok=="{"||e.lastTok=="do"))return gr="|",null;if(/[\(\)\[\]{}\\;]/.test(n))return gr=n,null;if(n=="-"&&t.eat(">"))return"operator";if(/[=+\-\/*:\.^%<>~|]/.test(n)){var a=t.eatWhile(/[=+\-\/*:\.^%<>~|]/);return n=="."&&!a&&(gr="."),"operator"}else return null}}}function r0e(t){for(var e=t.pos,n=0,i,r=!1,s=!1;(i=t.next())!=null;)if(s)s=!1;else{if("[{(".indexOf(i)>-1)n++;else if("]})".indexOf(i)>-1){if(n--,n<0)break}else if(i=="/"&&n==0){r=!0;break}s=i=="\\"}return t.backUp(t.pos-e),r}function Kv(t){return t||(t=1),function(e,n){if(e.peek()=="}"){if(t==1)return n.tokenize.pop(),n.tokenize[n.tokenize.length-1](e,n);n.tokenize[n.tokenize.length-1]=Kv(t-1)}else e.peek()=="{"&&(n.tokenize[n.tokenize.length-1]=Kv(t+1));return Rd(e,n)}}function s0e(){var t=!1;return function(e,n){return t?(n.tokenize.pop(),n.tokenize[n.tokenize.length-1](e,n)):(t=!0,Rd(e,n))}}function Yc(t,e,n,i){return function(r,s){var o=!1,a;for(s.context.type==="read-quoted-paused"&&(s.context=s.context.prev,r.eat("}"));(a=r.next())!=null;){if(a==t&&(i||!o)){s.tokenize.pop();break}if(n&&a=="#"&&!o){if(r.eat("{")){t=="}"&&(s.context={prev:s.context,type:"read-quoted-paused"}),s.tokenize.push(Kv());break}else if(/[@\$]/.test(r.peek())){s.tokenize.push(s0e());break}}o=!o&&a=="\\"}return e}}function o0e(t,e){return function(n,i){return e&&n.eatSpace(),n.match(t)?i.tokenize.pop():n.skipToEnd(),"string"}}function a0e(t,e){return t.sol()&&t.match("=end")&&t.eol()&&e.tokenize.pop(),t.skipToEnd(),"comment"}const l0e={startState:function(t){return{tokenize:[Rd],indented:0,context:{type:"top",indented:-t},continuedLine:!1,lastTok:null,varList:!1}},token:function(t,e){gr=null,t.sol()&&(e.indented=t.indentation());var n=e.tokenize[e.tokenize.length-1](t,e),i,r=gr;if(n=="variable"){var s=t.current();n=e.lastTok=="."?"property":e0e.propertyIsEnumerable(t.current())?"keyword":/^[A-Z]/.test(s)?"tag":e.lastTok=="def"||e.lastTok=="class"||e.varList?"def":"variable",n=="keyword"&&(r=s,t0e.propertyIsEnumerable(s)?i="indent":n0e.propertyIsEnumerable(s)?i="dedent":((s=="if"||s=="unless")&&t.column()==t.indentation()||s=="do"&&e.context.indented1&&t.eat("$");var n=t.next();return/['"({]/.test(n)?(e.tokens[0]=Yp(n,n=="("?"quote":n=="{"?"def":"string"),lc(t,e)):(/\d/.test(n)||t.eatWhile(/\w/),e.tokens.shift(),"def")};function f0e(t){return function(e,n){return e.sol()&&e.string==t&&n.tokens.shift(),e.skipToEnd(),"string.special"}}function lc(t,e){return(e.tokens[0]||c0e)(t,e)}const O0e={startState:function(){return{tokens:[]}},token:function(t,e){return lc(t,e)},languageData:{autocomplete:aE.concat(lE,cE),closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"#"}}};function Zp(t){for(var e={},n=0;n~^?!",v0e=":;,.(){}[]",y0e=/^\-?0b[01][01_]*/,$0e=/^\-?0o[0-7][0-7_]*/,b0e=/^\-?0x[\dA-Fa-f][\dA-Fa-f_]*(?:(?:\.[\dA-Fa-f][\dA-Fa-f_]*)?[Pp]\-?\d[\d_]*)?/,_0e=/^\-?\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee]\-?\d[\d_]*)?/,Q0e=/^\$\d+|(`?)[_A-Za-z][_A-Za-z$0-9]*\1/,S0e=/^\.(?:\$\d+|(`?)[_A-Za-z][_A-Za-z$0-9]*\1)/,w0e=/^\#[A-Za-z]+/,x0e=/^@(?:\$\d+|(`?)[_A-Za-z][_A-Za-z$0-9]*\1)/;function fE(t,e,n){if(t.sol()&&(e.indented=t.indentation()),t.eatSpace())return null;var i=t.peek();if(i=="/"){if(t.match("//"))return t.skipToEnd(),"comment";if(t.match("/*"))return e.tokenize.push(ey),ey(t,e)}if(t.match(w0e))return"builtin";if(t.match(x0e))return"attribute";if(t.match(y0e)||t.match($0e)||t.match(b0e)||t.match(_0e))return"number";if(t.match(S0e))return"property";if(g0e.indexOf(i)>-1)return t.next(),"operator";if(v0e.indexOf(i)>-1)return t.next(),t.match(".."),"punctuation";var r;if(r=t.match(/("""|"|')/)){var s=k0e.bind(null,r[0]);return e.tokenize.push(s),s(t,e)}if(t.match(Q0e)){var o=t.current();return m0e.hasOwnProperty(o)?"type":p0e.hasOwnProperty(o)?"atom":h0e.hasOwnProperty(o)?(d0e.hasOwnProperty(o)&&(e.prev="define"),"keyword"):n=="define"?"def":"variable"}return t.next(),null}function P0e(){var t=0;return function(e,n,i){var r=fE(e,n,i);if(r=="punctuation"){if(e.current()=="(")++t;else if(e.current()==")"){if(t==0)return e.backUp(1),n.tokenize.pop(),n.tokenize[n.tokenize.length-1](e,n);--t}}return r}}function k0e(t,e,n){for(var i=t.length==1,r,s=!1;r=e.peek();)if(s){if(e.next(),r=="(")return n.tokenize.push(P0e()),"string";s=!1}else{if(e.match(t))return n.tokenize.pop(),"string";e.next(),s=r=="\\"}return i&&n.tokenize.pop(),"string"}function ey(t,e){for(var n;t.match(/^[^/*]+/,!0),n=t.next(),!!n;)n==="/"&&t.eat("*")?e.tokenize.push(ey):n==="*"&&t.eat("/")&&e.tokenize.pop();return"comment"}function C0e(t,e,n){this.prev=t,this.align=e,this.indented=n}function T0e(t,e){var n=e.match(/^\s*($|\/[\/\*]|[)}\]])/,!1)?null:e.column()+1;t.context=new C0e(t.context,n,t.indented)}function R0e(t){t.context&&(t.indented=t.context.indented,t.context=t.context.prev)}const A0e={startState:function(){return{prev:null,context:null,indented:0,tokenize:[]}},token:function(t,e){var n=e.prev;e.prev=null;var i=e.tokenize[e.tokenize.length-1]||fE,r=i(t,e,n);if(!r||r=="comment"?e.prev=n:e.prev||(e.prev=r),r=="punctuation"){var s=/[\(\[\{]|([\]\)\}])/.exec(t.current());s&&(s[1]?R0e:T0e)(e,t)}return r},indent:function(t,e,n){var i=t.context;if(!i)return 0;var r=/^[\]\}\)]/.test(e);return i.align!=null?i.align-(r?1:0):i.indented+(r?0:n.unit)},languageData:{indentOnInput:/^\s*[\)\}\]]$/,commentTokens:{line:"//",block:{open:"/*",close:"*/"}},closeBrackets:{brackets:["(","[","{","'",'"',"`"]}}};var ty="error";function Do(t){return new RegExp("^(("+t.join(")|(")+"))\\b","i")}var E0e=new RegExp("^[\\+\\-\\*/%&\\\\|\\^~<>!]"),X0e=new RegExp("^[\\(\\)\\[\\]\\{\\}@,:`=;\\.]"),W0e=new RegExp("^((==)|(<>)|(<=)|(>=)|(<>)|(<<)|(>>)|(//)|(\\*\\*))"),z0e=new RegExp("^((\\+=)|(\\-=)|(\\*=)|(%=)|(/=)|(&=)|(\\|=)|(\\^=))"),I0e=new RegExp("^((//=)|(>>=)|(<<=)|(\\*\\*=))"),q0e=new RegExp("^[_A-Za-z][_A-Za-z0-9]*"),OE=["class","module","sub","enum","select","while","if","function","get","set","property","try","structure","synclock","using","with"],hE=["else","elseif","case","catch","finally"],dE=["next","loop"],pE=["and","andalso","or","orelse","xor","in","not","is","isnot","like"],U0e=Do(pE),mE=["#const","#else","#elseif","#end","#if","#region","addhandler","addressof","alias","as","byref","byval","cbool","cbyte","cchar","cdate","cdbl","cdec","cint","clng","cobj","compare","const","continue","csbyte","cshort","csng","cstr","cuint","culng","cushort","declare","default","delegate","dim","directcast","each","erase","error","event","exit","explicit","false","for","friend","gettype","goto","handles","implements","imports","infer","inherits","interface","isfalse","istrue","lib","me","mod","mustinherit","mustoverride","my","mybase","myclass","namespace","narrowing","new","nothing","notinheritable","notoverridable","of","off","on","operator","option","optional","out","overloads","overridable","overrides","paramarray","partial","private","protected","public","raiseevent","readonly","redim","removehandler","resume","return","shadows","shared","static","step","stop","strict","then","throw","to","true","trycast","typeof","until","until","when","widening","withevents","writeonly"],gE=["object","boolean","char","string","byte","sbyte","short","ushort","int16","uint16","integer","uinteger","int32","uint32","long","ulong","int64","uint64","decimal","single","double","float","date","datetime","intptr","uintptr"],D0e=Do(mE),L0e=Do(gE),B0e='"',M0e=Do(OE),vE=Do(hE),yE=Do(dE),$E=Do(["end"]),Y0e=Do(["do"]);function ny(t,e){e.currentIndent++}function Eh(t,e){e.currentIndent--}function iy(t,e){if(t.eatSpace())return null;var n=t.peek();if(n==="'")return t.skipToEnd(),"comment";if(t.match(/^((&H)|(&O))?[0-9\.a-f]/i,!1)){var i=!1;if((t.match(/^\d*\.\d+F?/i)||t.match(/^\d+\.\d*F?/)||t.match(/^\.\d+F?/))&&(i=!0),i)return t.eat(/J/i),"number";var r=!1;if(t.match(/^&H[0-9a-f]+/i)||t.match(/^&O[0-7]+/i)?r=!0:t.match(/^[1-9]\d*F?/)?(t.eat(/J/i),r=!0):t.match(/^0(?![\dx])/i)&&(r=!0),r)return t.eat(/L/i),"number"}return t.match(B0e)?(e.tokenize=Z0e(t.current()),e.tokenize(t,e)):t.match(I0e)||t.match(z0e)?null:t.match(W0e)||t.match(E0e)||t.match(U0e)?"operator":t.match(X0e)?null:t.match(Y0e)?(ny(t,e),e.doInCurrentLine=!0,"keyword"):t.match(M0e)?(e.doInCurrentLine?e.doInCurrentLine=!1:ny(t,e),"keyword"):t.match(vE)?"keyword":t.match($E)?(Eh(t,e),Eh(t,e),"keyword"):t.match(yE)?(Eh(t,e),"keyword"):t.match(L0e)||t.match(D0e)?"keyword":t.match(q0e)?"variable":(t.next(),ty)}function Z0e(t){var e=t.length==1,n="string";return function(i,r){for(;!i.eol();){if(i.eatWhile(/[^'"]/),i.match(t))return r.tokenize=iy,n;i.eat(/['"]/)}return e&&(r.tokenize=iy),n}}function V0e(t,e){var n=e.tokenize(t,e),i=t.current();if(i===".")return n=e.tokenize(t,e),n==="variable"?"variable":ty;var r="[({".indexOf(i);return r!==-1&&ny(t,e),r="])}".indexOf(i),r!==-1&&Eh(t,e)?ty:n}const j0e={startState:function(){return{tokenize:iy,lastToken:null,currentIndent:0,nextLineIndent:0,doInCurrentLine:!1}},token:function(t,e){t.sol()&&(e.currentIndent+=e.nextLineIndent,e.nextLineIndent=0,e.doInCurrentLine=0);var n=V0e(t,e);return e.lastToken={style:n,content:t.current()},n},indent:function(t,e,n){var i=e.replace(/^\s+|\s+$/g,"");return i.match(yE)||i.match($E)||i.match(vE)?n.unit*(t.currentIndent-1):t.currentIndent<0?0:t.currentIndent*n.unit},languageData:{closeBrackets:{brackets:["(","[","{",'"']},commentTokens:{line:"'"},autocomplete:OE.concat(hE).concat(dE).concat(pE).concat(mE).concat(gE)}};var N0e=["true","false","on","off","yes","no"],F0e=new RegExp("\\b(("+N0e.join(")|(")+"))$","i");const G0e={token:function(t,e){var n=t.peek(),i=e.escaped;if(e.escaped=!1,n=="#"&&(t.pos==0||/\s/.test(t.string.charAt(t.pos-1))))return t.skipToEnd(),"comment";if(t.match(/^('([^']|\\.)*'?|"([^"]|\\.)*"?)/))return"string";if(e.literal&&t.indentation()>e.keyCol)return t.skipToEnd(),"string";if(e.literal&&(e.literal=!1),t.sol()){if(e.keyCol=0,e.pair=!1,e.pairStart=!1,t.match("---")||t.match("..."))return"def";if(t.match(/^\s*-\s+/))return"meta"}if(t.match(/^(\{|\}|\[|\])/))return n=="{"?e.inlinePairs++:n=="}"?e.inlinePairs--:n=="["?e.inlineList++:e.inlineList--,"meta";if(e.inlineList>0&&!i&&n==",")return t.next(),"meta";if(e.inlinePairs>0&&!i&&n==",")return e.keyCol=0,e.pair=!1,e.pairStart=!1,t.next(),"meta";if(e.pairStart){if(t.match(/^\s*(\||\>)\s*/))return e.literal=!0,"meta";if(t.match(/^\s*(\&|\*)[a-z0-9\._-]+\b/i))return"variable";if(e.inlinePairs==0&&t.match(/^\s*-?[0-9\.\,]+\s?$/)||e.inlinePairs>0&&t.match(/^\s*-?[0-9\.\,]+\s?(?=(,|}))/))return"number";if(t.match(F0e))return"keyword"}return!e.pair&&t.match(/^\s*(?:[,\[\]{}&*!|>'"%@`][^\s'":]|[^,\[\]{}#&*!|>'"%@`])[^#]*?(?=\s*:($|\s))/)?(e.pair=!0,e.keyCol=t.indentation(),"atom"):e.pair&&t.match(/^:\s*/)?(e.pairStart=!0,"meta"):(e.pairStart=!1,e.escaped=n=="\\",t.next(),null)},startState:function(){return{pair:!1,pairStart:!1,keyCol:0,inlinePairs:0,inlineList:0,literal:!1,escaped:!1}},languageData:{commentTokens:{line:"#"}}};var H0e={break:!0,case:!0,chan:!0,const:!0,continue:!0,default:!0,defer:!0,else:!0,fallthrough:!0,for:!0,func:!0,go:!0,goto:!0,if:!0,import:!0,interface:!0,map:!0,package:!0,range:!0,return:!0,select:!0,struct:!0,switch:!0,type:!0,var:!0,bool:!0,byte:!0,complex64:!0,complex128:!0,float32:!0,float64:!0,int8:!0,int16:!0,int32:!0,int64:!0,string:!0,uint8:!0,uint16:!0,uint32:!0,uint64:!0,int:!0,uint:!0,uintptr:!0,error:!0,rune:!0},K0e={true:!0,false:!0,iota:!0,nil:!0,append:!0,cap:!0,close:!0,complex:!0,copy:!0,delete:!0,imag:!0,len:!0,make:!0,new:!0,panic:!0,print:!0,println:!0,real:!0,recover:!0},Xx=/[+\-*&^%:=<>!|\/]/,us;function Ad(t,e){var n=t.next();if(n=='"'||n=="'"||n=="`")return e.tokenize=J0e(n),e.tokenize(t,e);if(/[\d\.]/.test(n))return n=="."?t.match(/^[0-9]+([eE][\-+]?[0-9]+)?/):n=="0"?t.match(/^[xX][0-9a-fA-F]+/)||t.match(/^0[0-7]+/):t.match(/^[0-9]*\.?[0-9]*([eE][\-+]?[0-9]+)?/),"number";if(/[\[\]{}\(\),;\:\.]/.test(n))return us=n,null;if(n=="/"){if(t.eat("*"))return e.tokenize=Wx,Wx(t,e);if(t.eat("/"))return t.skipToEnd(),"comment"}if(Xx.test(n))return t.eatWhile(Xx),"operator";t.eatWhile(/[\w\$_\xa1-\uffff]/);var i=t.current();return H0e.propertyIsEnumerable(i)?((i=="case"||i=="default")&&(us="case"),"keyword"):K0e.propertyIsEnumerable(i)?"atom":"variable"}function J0e(t){return function(e,n){for(var i=!1,r,s=!1;(r=e.next())!=null;){if(r==t&&!i){s=!0;break}i=!i&&t!="`"&&r=="\\"}return(s||!(i||t=="`"))&&(n.tokenize=Ad),"string"}}function Wx(t,e){for(var n=!1,i;i=t.next();){if(i=="/"&&n){e.tokenize=Ad;break}n=i=="*"}return"comment"}function bE(t,e,n,i,r){this.indented=t,this.column=e,this.type=n,this.align=i,this.prev=r}function Am(t,e,n){return t.context=new bE(t.indented,e,n,null,t.context)}function zx(t){if(!!t.context.prev){var e=t.context.type;return(e==")"||e=="]"||e=="}")&&(t.indented=t.context.indented),t.context=t.context.prev}}const eme={startState:function(t){return{tokenize:null,context:new bE(-t,0,"top",!1),indented:0,startOfLine:!0}},token:function(t,e){var n=e.context;if(t.sol()&&(n.align==null&&(n.align=!1),e.indented=t.indentation(),e.startOfLine=!0,n.type=="case"&&(n.type="}")),t.eatSpace())return null;us=null;var i=(e.tokenize||Ad)(t,e);return i=="comment"||(n.align==null&&(n.align=!0),us=="{"?Am(e,t.column(),"}"):us=="["?Am(e,t.column(),"]"):us=="("?Am(e,t.column(),")"):us=="case"?n.type="case":(us=="}"&&n.type=="}"||us==n.type)&&zx(e),e.startOfLine=!1),i},indent:function(t,e,n){if(t.tokenize!=Ad&&t.tokenize!=null)return null;var i=t.context,r=e&&e.charAt(0);if(i.type=="case"&&/^(?:case|default)\b/.test(e))return t.context.type="}",i.indented;var s=r==i.type;return i.align?i.column+(s?0:1):i.indented+(s?0:n.unit)},languageData:{indentOnInput:/^\s([{}]|case |default\s*:)$/,commentTokens:{line:"//",block:{open:"/*",close:"*/"}}}},tme=Li({null:z.null,instanceof:z.operatorKeyword,this:z.self,"new super assert open to with void":z.keyword,"class interface extends implements enum":z.definitionKeyword,"module package import":z.moduleKeyword,"switch while for if else case default do break continue return try catch finally throw":z.controlKeyword,["requires exports opens uses provides public private protected static transitive abstract final strictfp synchronized native transient volatile throws"]:z.modifier,IntegerLiteral:z.integer,FloatLiteral:z.float,"StringLiteral TextBlock":z.string,CharacterLiteral:z.character,LineComment:z.lineComment,BlockComment:z.blockComment,BooleanLiteral:z.bool,PrimitiveType:z.standard(z.typeName),TypeName:z.typeName,Identifier:z.variableName,"MethodName/Identifier":z.function(z.variableName),Definition:z.definition(z.variableName),ArithOp:z.arithmeticOperator,LogicOp:z.logicOperator,BitOp:z.bitwiseOperator,CompareOp:z.compareOperator,AssignOp:z.definitionOperator,UpdateOp:z.updateOperator,Asterisk:z.punctuation,Label:z.labelName,"( )":z.paren,"[ ]":z.squareBracket,"{ }":z.brace,".":z.derefOperator,", ;":z.separator}),nme={__proto__:null,true:34,false:34,null:42,void:46,byte:48,short:48,int:48,long:48,char:48,float:48,double:48,boolean:48,extends:62,super:64,class:76,this:78,new:84,public:100,protected:102,private:104,abstract:106,static:108,final:110,strictfp:112,default:114,synchronized:116,native:118,transient:120,volatile:122,throws:150,implements:160,interface:166,enum:176,instanceof:236,open:265,module:267,requires:272,transitive:274,exports:276,to:278,opens:280,uses:282,provides:284,with:286,package:290,import:294,if:306,else:308,while:312,for:316,var:323,assert:330,switch:334,case:340,do:344,break:348,continue:352,return:356,throw:362,try:366,catch:370,finally:378},ime=Ui.deserialize({version:14,states:"#!hQ]QPOOO&tQQO'#H[O(xQQO'#CbOOQO'#Cb'#CbO)PQPO'#CaO)XOSO'#CpOOQO'#Ha'#HaOOQO'#Cu'#CuO*tQPO'#D_O+_QQO'#HkOOQO'#Hk'#HkO-sQQO'#HfO-zQQO'#HfOOQO'#Hf'#HfOOQO'#He'#HeO0OQPO'#DUO0]QPO'#GlO3TQPO'#D_O3[QPO'#DzO)PQPO'#E[O3}QPO'#E[OOQO'#DV'#DVO5]QQO'#H_O7dQQO'#EeO7kQPO'#EdO7pQPO'#EfOOQO'#H`'#H`O5sQQO'#H`O8sQQO'#FgO8zQPO'#EwO9PQPO'#E|O9PQPO'#FOOOQO'#H_'#H_OOQO'#HW'#HWOOQO'#Gf'#GfOOQO'#HV'#HVO:aQPO'#FhOOQO'#HU'#HUOOQO'#Ge'#GeQ]QPOOOOQO'#Hq'#HqO:fQPO'#HqO:kQPO'#D{O:kQPO'#EVO:kQPO'#EQO:sQPO'#HnO;UQQO'#EfO)PQPO'#C`O;^QPO'#C`O)PQPO'#FbO;cQPO'#FdO;nQPO'#FjO;nQPO'#FmO:kQPO'#FrO;sQPO'#FoO9PQPO'#FvO;nQPO'#FxO]QPO'#F}O;xQPO'#GPOyOSO,59[OOQO,59[,59[OOQO'#Hg'#HgO?jQP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%`Zr$zrs%es#X$z#X#Y!8O#Y~$zV!8TV&WSOY$zYZ%`Zr$zrs%es#f$z#f#g!8j#g~$zV!8oV&WSOY$zYZ%`Zr$zrs%es#Y$z#Y#Z!9U#Z~$zV!9ZV&WSOY$zYZ%`Zr$zrs%es#T$z#T#U!9p#U~$zV!9uV&WSOY$zYZ%`Zr$zrs%es#V$z#V#W!:[#W~$zV!:aV&WSOY$zYZ%`Zr$zrs%es#X$z#X#Y!:v#Y~$zV!:}T&rR&WSOY$zYZ%`Zr$zrs%es~$z_!;e_&PZ&WSOY$zYZ%`Zr$zrs%est$ztu!;^u!Q$z!Q![!;^![!c$z!c!}!;^!}#R$z#R#S!;^#S#T$z#T#o!;^#o~$z_!VT}R&WSOY$zYZ%`Zr$zrs%es~$z_!>oX&|X#cQ&WSOY$zYZ%`Zr$zrs%es!_$z!_!`2{!`#p$z#p#q!?[#q~$zU!?cT#dQ&WSOY$zYZ%`Zr$zrs%es~$zV!?yT|R&WSOY$zYZ%`Zr$zrs%es~$zT!@aT#tP&WSOY$zYZ%`Zr$zrs%es~$z",tokenizers:[0,1,2,3],topRules:{Program:[0,3]},dynamicPrecedences:{"27":1,"230":-1,"241":-1},specialized:[{term:229,get:t=>nme[t]||-1}],tokenPrec:7067}),rme=qi.define({parser:ime.configure({props:[or.add({IfStatement:Nn({except:/^\s*({|else\b)/}),TryStatement:Nn({except:/^\s*({|catch|finally)\b/}),LabeledStatement:K$,SwitchBlock:t=>{let e=t.textAfter,n=/^\s*\}/.test(e),i=/^\s*(case|default)\b/.test(e);return t.baseIndent+(n?0:i?1:2)*t.unit},Block:Sa({closing:"}"}),BlockComment:()=>-1,Statement:Nn({except:/^{/})}),ar.add({["Block SwitchBlock ClassBody ElementValueArrayInitializer ModuleBody EnumBody ConstructorBody InterfaceBody ArrayInitializer"]:ja,BlockComment(t){return{from:t.from+2,to:t.to-2}}})]}),languageData:{commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\})$/}});function sme(){return new sr(rme)}const ome=Li({String:z.string,Number:z.number,"True False":z.bool,PropertyName:z.propertyName,Null:z.null,",":z.separator,"[ ]":z.squareBracket,"{ }":z.brace}),ame=Ui.deserialize({version:14,states:"$bOVQPOOOOQO'#Cb'#CbOnQPO'#CeOvQPO'#CjOOQO'#Cp'#CpQOQPOOOOQO'#Cg'#CgO}QPO'#CfO!SQPO'#CrOOQO,59P,59PO![QPO,59PO!aQPO'#CuOOQO,59U,59UO!iQPO,59UOVQPO,59QOqQPO'#CkO!nQPO,59^OOQO1G.k1G.kOVQPO'#ClO!vQPO,59aOOQO1G.p1G.pOOQO1G.l1G.lOOQO,59V,59VOOQO-E6i-E6iOOQO,59W,59WOOQO-E6j-E6j",stateData:"#O~OcOS~OQSORSOSSOTSOWQO]ROePO~OVXOeUO~O[[O~PVOg^O~Oh_OVfX~OVaO~OhbO[iX~O[dO~Oh_OVfa~OhbO[ia~O",goto:"!kjPPPPPPkPPkqwPPk{!RPPP!XP!ePP!hXSOR^bQWQRf_TVQ_Q`WRg`QcZRicQTOQZRQe^RhbRYQR]R",nodeNames:"\u26A0 JsonText True False Null Number String } { Object Property PropertyName ] [ Array",maxTerm:25,nodeProps:[["openedBy",7,"{",12,"["],["closedBy",8,"}",13,"]"]],propSources:[ome],skippedNodes:[0],repeatNodeCount:2,tokenData:"(p~RaXY!WYZ!W]^!Wpq!Wrs!]|}$i}!O$n!Q!R$w!R![&V![!]&h!}#O&m#P#Q&r#Y#Z&w#b#c'f#h#i'}#o#p(f#q#r(k~!]Oc~~!`Upq!]qr!]rs!rs#O!]#O#P!w#P~!]~!wOe~~!zXrs!]!P!Q!]#O#P!]#U#V!]#Y#Z!]#b#c!]#f#g!]#h#i!]#i#j#g~#jR!Q![#s!c!i#s#T#Z#s~#vR!Q![$P!c!i$P#T#Z$P~$SR!Q![$]!c!i$]#T#Z$]~$`R!Q![!]!c!i!]#T#Z!]~$nOh~~$qQ!Q!R$w!R![&V~$|RT~!O!P%V!g!h%k#X#Y%k~%YP!Q![%]~%bRT~!Q![%]!g!h%k#X#Y%k~%nR{|%w}!O%w!Q![%}~%zP!Q![%}~&SPT~!Q![%}~&[ST~!O!P%V!Q![&V!g!h%k#X#Y%k~&mOg~~&rO]~~&wO[~~&zP#T#U&}~'QP#`#a'T~'WP#g#h'Z~'^P#X#Y'a~'fOR~~'iP#i#j'l~'oP#`#a'r~'uP#`#a'x~'}OS~~(QP#f#g(T~(WP#i#j(Z~(^P#X#Y(a~(fOQ~~(kOW~~(pOV~",tokenizers:[0],topRules:{JsonText:[0,1]},tokenPrec:0}),lme=qi.define({parser:ame.configure({props:[or.add({Object:Nn({except:/^\s*\}/}),Array:Nn({except:/^\s*\]/})}),ar.add({"Object Array":ja})]}),languageData:{closeBrackets:{brackets:["[","{",'"']},indentOnInput:/^\s*[\}\]]$/}});function cme(){return new sr(lme)}class Ed{constructor(e,n,i,r,s,o,a){this.type=e,this.value=n,this.from=i,this.hash=r,this.end=s,this.children=o,this.positions=a,this.hashProp=[[ft.contextHash,r]]}static create(e,n,i,r,s){let o=r+(r<<8)+e+(n<<4)|0;return new Ed(e,n,i,o,s,[],[])}addChild(e,n){e.prop(ft.contextHash)!=this.hash&&(e=new vt(e.type,e.children,e.positions,e.length,this.hashProp)),this.children.push(e),this.positions.push(n)}toTree(e,n=this.end){let i=this.children.length-1;return i>=0&&(n=Math.max(n,this.positions[i]+this.children[i].length+this.from)),new vt(e.types[this.type],this.children,this.positions,n-this.from).balance({makeTree:(s,o,a)=>new vt(mn.none,s,o,a,this.hashProp)})}}var Ie;(function(t){t[t.Document=1]="Document",t[t.CodeBlock=2]="CodeBlock",t[t.FencedCode=3]="FencedCode",t[t.Blockquote=4]="Blockquote",t[t.HorizontalRule=5]="HorizontalRule",t[t.BulletList=6]="BulletList",t[t.OrderedList=7]="OrderedList",t[t.ListItem=8]="ListItem",t[t.ATXHeading1=9]="ATXHeading1",t[t.ATXHeading2=10]="ATXHeading2",t[t.ATXHeading3=11]="ATXHeading3",t[t.ATXHeading4=12]="ATXHeading4",t[t.ATXHeading5=13]="ATXHeading5",t[t.ATXHeading6=14]="ATXHeading6",t[t.SetextHeading1=15]="SetextHeading1",t[t.SetextHeading2=16]="SetextHeading2",t[t.HTMLBlock=17]="HTMLBlock",t[t.LinkReference=18]="LinkReference",t[t.Paragraph=19]="Paragraph",t[t.CommentBlock=20]="CommentBlock",t[t.ProcessingInstructionBlock=21]="ProcessingInstructionBlock",t[t.Escape=22]="Escape",t[t.Entity=23]="Entity",t[t.HardBreak=24]="HardBreak",t[t.Emphasis=25]="Emphasis",t[t.StrongEmphasis=26]="StrongEmphasis",t[t.Link=27]="Link",t[t.Image=28]="Image",t[t.InlineCode=29]="InlineCode",t[t.HTMLTag=30]="HTMLTag",t[t.Comment=31]="Comment",t[t.ProcessingInstruction=32]="ProcessingInstruction",t[t.URL=33]="URL",t[t.HeaderMark=34]="HeaderMark",t[t.QuoteMark=35]="QuoteMark",t[t.ListMark=36]="ListMark",t[t.LinkMark=37]="LinkMark",t[t.EmphasisMark=38]="EmphasisMark",t[t.CodeMark=39]="CodeMark",t[t.CodeText=40]="CodeText",t[t.CodeInfo=41]="CodeInfo",t[t.LinkTitle=42]="LinkTitle",t[t.LinkLabel=43]="LinkLabel"})(Ie||(Ie={}));class ume{constructor(e,n){this.start=e,this.content=n,this.marks=[],this.parsers=[]}}class fme{constructor(){this.text="",this.baseIndent=0,this.basePos=0,this.depth=0,this.markers=[],this.pos=0,this.indent=0,this.next=-1}forward(){this.basePos>this.pos&&this.forwardInner()}forwardInner(){let e=this.skipSpace(this.basePos);this.indent=this.countIndent(e,this.pos,this.indent),this.pos=e,this.next=e==this.text.length?-1:this.text.charCodeAt(e)}skipSpace(e){return Pu(this.text,e)}reset(e){for(this.text=e,this.baseIndent=this.basePos=this.pos=this.indent=0,this.forwardInner(),this.depth=1;this.markers.length;)this.markers.pop()}moveBase(e){this.basePos=e,this.baseIndent=this.countIndent(e,this.pos,this.indent)}moveBaseColumn(e){this.baseIndent=e,this.basePos=this.findColumn(e)}addMarker(e){this.markers.push(e)}countIndent(e,n=0,i=0){for(let r=n;r=e.stack[n.depth+1].value+n.baseIndent)return!0;if(n.indent>=n.baseIndent+4)return!1;let i=(t.type==Ie.OrderedList?x1:w1)(n,e,!1);return i>0&&(t.type!=Ie.BulletList||S1(n,e,!1)<0)&&n.text.charCodeAt(n.pos+i-1)==t.value}const _E={[Ie.Blockquote](t,e,n){return n.next!=62?!1:(n.markers.push(Tt(Ie.QuoteMark,e.lineStart+n.pos,e.lineStart+n.pos+1)),n.moveBase(n.pos+(cr(n.text.charCodeAt(n.pos+1))?2:1)),t.end=e.lineStart+n.text.length,!0)},[Ie.ListItem](t,e,n){return n.indent-1?!1:(n.moveBaseColumn(n.baseIndent+t.value),!0)},[Ie.OrderedList]:Ix,[Ie.BulletList]:Ix,[Ie.Document](){return!0}};function cr(t){return t==32||t==9||t==10||t==13}function Pu(t,e=0){for(;en&&cr(t.charCodeAt(e-1));)e--;return e}function QE(t){if(t.next!=96&&t.next!=126)return-1;let e=t.pos+1;for(;e-1&&t.depth==e.stack.length||i<3?-1:1}function wE(t,e){for(let n=t.stack.length-1;n>=0;n--)if(t.stack[n].type==e)return!0;return!1}function w1(t,e,n){return(t.next==45||t.next==43||t.next==42)&&(t.pos==t.text.length-1||cr(t.text.charCodeAt(t.pos+1)))&&(!n||wE(e,Ie.BulletList)||t.skipSpace(t.pos+2)=48&&r<=57;){i++;if(i==t.text.length)return-1;r=t.text.charCodeAt(i)}return i==t.pos||i>t.pos+9||r!=46&&r!=41||it.pos+1||t.next!=49)?-1:i+1-t.pos}function xE(t){if(t.next!=35)return-1;let e=t.pos+1;for(;e6?-1:n}function PE(t){if(t.next!=45&&t.next!=61||t.indent>=t.baseIndent+4)return-1;let e=t.pos+1;for(;e/,CE=/\?>/,sy=[[/^<(?:script|pre|style)(?:\s|>|$)/i,/<\/(?:script|pre|style)>/i],[/^\s*/i.exec(i);if(s)return t.append(Tt(Ie.Comment,n,n+1+s[0].length));let o=/^\?[^]*?\?>/.exec(i);if(o)return t.append(Tt(Ie.ProcessingInstruction,n,n+1+o[0].length));let a=/^(?:![A-Z][^]*?>|!\[CDATA\[[^]*?\]\]>|\/\s*[a-zA-Z][\w-]*\s*>|\s*[a-zA-Z][\w-]*(\s+[a-zA-Z:_][\w-.:]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*(\/\s*)?>)/.exec(i);return a?t.append(Tt(Ie.HTMLTag,n,n+1+a[0].length)):-1},Emphasis(t,e,n){if(e!=95&&e!=42)return-1;let i=n+1;for(;t.char(i)==e;)i++;let r=t.slice(n-1,n),s=t.slice(i,i+1),o=ay.test(r),a=ay.test(s),l=/\s|^$/.test(r),c=/\s|^$/.test(s),u=!c&&(!a||l||o),O=!l&&(!o||c||a),f=u&&(e==42||!O||o),h=O&&(e==42||!u||a);return t.append(new br(e==95?WE:zE,n,i,(f?1:0)|(h?2:0)))},HardBreak(t,e,n){if(e==92&&t.char(n+1)==10)return t.append(Tt(Ie.HardBreak,n,n+2));if(e==32){let i=n+1;for(;t.char(i)==32;)i++;if(t.char(i)==10&&i>=n+2)return t.append(Tt(Ie.HardBreak,n,i+1))}return-1},Link(t,e,n){return e==91?t.append(new br(Vc,n,n+1,1)):-1},Image(t,e,n){return e==33&&t.char(n+1)==91?t.append(new br(Dx,n,n+2,1)):-1},LinkEnd(t,e,n){if(e!=93)return-1;for(let i=t.parts.length-1;i>=0;i--){let r=t.parts[i];if(r instanceof br&&(r.type==Vc||r.type==Dx)){if(!r.side||t.skipSpace(r.to)==n&&!/[(\[]/.test(t.slice(n+1,n+2)))return t.parts[i]=null,-1;let s=t.takeContent(i),o=t.parts[i]=vme(t,s,r.type==Vc?Ie.Link:Ie.Image,r.from,n+1);if(r.type==Vc)for(let a=0;ae?Tt(Ie.URL,e+n,s+n):s==t.length?null:!1}}function qE(t,e,n){let i=t.charCodeAt(e);if(i!=39&&i!=34&&i!=40)return!1;let r=i==40?41:i;for(let s=e+1,o=!1;s=this.end?-1:this.text.charCodeAt(e-this.offset)}get end(){return this.offset+this.text.length}slice(e,n){return this.text.slice(e-this.offset,n-this.offset)}append(e){return this.parts.push(e),e.to}addDelimiter(e,n,i,r,s){return this.append(new br(e,n,i,(r?1:0)|(s?2:0)))}addElement(e){return this.append(e)}resolveMarkers(e){for(let i=e;i=e;l--){let y=this.parts[l];if(!(!(y instanceof br&&y.side&1&&y.type==r.type)||s&&(r.side&1||y.side&2)&&(y.to-y.from+o)%3==0&&((y.to-y.from)%3||o%3))){a=y;break}}if(!a)continue;let c=r.type.resolve,u=[],O=a.from,f=r.to;if(s){let y=Math.min(2,a.to-a.from,o);O=a.to-y,f=r.from+y,c=y==1?"Emphasis":"StrongEmphasis"}a.type.mark&&u.push(this.elt(a.type.mark,O,a.to));for(let y=l+1;y=0;n--){let i=this.parts[n];if(i instanceof br&&i.type==e)return n}return null}takeContent(e){let n=this.resolveMarkers(e);return this.parts.length=e,n}skipSpace(e){return Pu(this.text,e-this.offset)+this.offset}elt(e,n,i,r){return typeof e=="string"?Tt(this.parser.getNodeType(e),n,i,r):new XE(e,n)}}function ly(t,e){if(!e.length)return t;if(!t.length)return e;let n=t.slice(),i=0;for(let r of e){for(;i(e?e-1:0))return!1;if(this.fragmentEnd<0){let s=this.fragment.to;for(;s>0&&this.input.read(s-1,s)!=` +`;)s--;this.fragmentEnd=s?s-1:0}let i=this.cursor;i||(i=this.cursor=this.fragment.tree.cursor(),i.firstChild());let r=e+this.fragment.offset;for(;i.to<=r;)if(!i.parent())return!1;for(;;){if(i.from>=r)return this.fragment.from<=n;if(!i.childAfter(r))return!1}}matches(e){let n=this.cursor.tree;return n&&n.prop(ft.contextHash)==e}takeNodes(e){let n=this.cursor,i=this.fragment.offset,r=this.fragmentEnd-(this.fragment.openEnd?1:0),s=e.absoluteLineStart,o=s,a=e.block.children.length,l=o,c=a;for(;;){if(n.to-i>r){if(n.type.isAnonymous&&n.firstChild())continue;break}if(e.dontInject.add(n.tree),e.addNode(n.tree,n.from-i),n.type.is("Block")&&($me.indexOf(n.type.id)<0?(o=n.to-i,a=e.block.children.length):(o=l,a=c,l=n.to-i,c=e.block.children.length)),!n.nextSibling())break}for(;e.block.children.length>a;)e.block.children.pop(),e.block.positions.pop();return o-s}}const _me=Li({"Blockquote/...":z.quote,HorizontalRule:z.contentSeparator,"ATXHeading1/... SetextHeading1/...":z.heading1,"ATXHeading2/... SetextHeading2/...":z.heading2,"ATXHeading3/...":z.heading3,"ATXHeading4/...":z.heading4,"ATXHeading5/...":z.heading5,"ATXHeading6/...":z.heading6,"Comment CommentBlock":z.comment,Escape:z.escape,Entity:z.character,"Emphasis/...":z.emphasis,"StrongEmphasis/...":z.strong,"Link/... Image/...":z.link,"OrderedList/... BulletList/...":z.list,"BlockQuote/...":z.quote,"InlineCode CodeText":z.monospace,URL:z.url,"HeaderMark HardBreak QuoteMark ListMark LinkMark EmphasisMark CodeMark":z.processingInstruction,"CodeInfo LinkLabel":z.labelName,LinkTitle:z.string,Paragraph:z.content}),Qme=new Vp(new wc(AE).extend(_me),Object.keys(JO).map(t=>JO[t]),Object.keys(JO).map(t=>dme[t]),Object.keys(JO),pme,_E,Object.keys(Xm).map(t=>Xm[t]),Object.keys(Xm),[]);function Sme(t,e,n){let i=[];for(let r=t.firstChild,s=e;;r=r.nextSibling){let o=r?r.from:n;if(o>s&&i.push({from:s,to:o}),!r)break;s=r.to}return i}function wme(t){let{codeParser:e,htmlParser:n}=t;return{wrap:N$((r,s)=>{let o=r.type.id;if(e&&(o==Ie.CodeBlock||o==Ie.FencedCode)){let a="";if(o==Ie.FencedCode){let c=r.node.getChild(Ie.CodeInfo);c&&(a=s.read(c.from,c.to))}let l=e(a);if(l)return{parser:l,overlay:c=>c.type.id==Ie.CodeText}}else if(n&&(o==Ie.HTMLBlock||o==Ie.HTMLTag))return{parser:n,overlay:Sme(r.node,r.from,r.to)};return null})}}const xme={resolve:"Strikethrough",mark:"StrikethroughMark"},Pme={defineNodes:[{name:"Strikethrough",style:{"Strikethrough/...":z.strikethrough}},{name:"StrikethroughMark",style:z.processingInstruction}],parseInline:[{name:"Strikethrough",parse(t,e,n){return e!=126||t.char(n+1)!=126?-1:t.addDelimiter(xme,n,n+2,!0,!0)},after:"Emphasis"}]};function ku(t,e,n=0,i,r=0){let s=0,o=!0,a=-1,l=-1,c=!1,u=()=>{i.push(t.elt("TableCell",r+a,r+l,t.parser.parseInline(e.slice(a,l),r+a)))};for(let O=n;O-1)&&s++,o=!1,i&&(a>-1&&u(),i.push(t.elt("TableDelimiter",O+r,O+r+1))),a=l=-1):(c||f!=32&&f!=9)&&(a<0&&(a=O),l=O+1),c=!c&&f==92}return a>-1&&(s++,i&&u()),s}function Bx(t,e){for(let n=e;nr instanceof Mx)||!Bx(e.text,e.basePos))return!1;let i=t.scanLine(t.absoluteLineEnd+1).text;return DE.test(i)&&ku(t,e.text,e.basePos)==ku(t,i,e.basePos)},before:"SetextHeading"}]};class Cme{nextLine(){return!1}finish(e,n){return e.addLeafElement(n,e.elt("Task",n.start,n.start+n.content.length,[e.elt("TaskMarker",n.start,n.start+3),...e.parser.parseInline(n.content.slice(3),n.start+3)])),!0}}const Tme={defineNodes:[{name:"Task",block:!0,style:z.list},{name:"TaskMarker",style:z.atom}],parseBlock:[{name:"TaskList",leaf(t,e){return/^\[[ xX]\]/.test(e.content)&&t.parentType().name=="ListItem"?new Cme:null},after:"SetextHeading"}]},Rme=[kme,Tme,Pme];function LE(t,e,n){return(i,r,s)=>{if(r!=t||i.char(s+1)==t)return-1;let o=[i.elt(n,s,s+1)];for(let a=s+1;a"}}),ME=Qme.configure({props:[ar.add(t=>{if(!(!t.is("Block")||t.is("Document")))return(e,n)=>({from:n.doc.lineAt(e.from).to,to:e.to})}),or.add({Document:()=>null}),Ca.add({Document:BE})]});function P1(t){return new Ri(BE,t)}const Wme=P1(ME),zme=ME.configure([Rme,Eme,Ame,Xme]),YE=P1(zme);function Ime(t,e){return n=>{if(n&&t){let i=null;if(typeof t=="function"?i=t(n):i=md.matchLanguageName(t,n,!0),i instanceof md)return i.support?i.support.language.parser:Ta.getSkippingParser(i.load());if(i)return i.parser}return e?e.parser:null}}function Yx(t,e){return e.sliceString(t.from,t.from+50)}class Wm{constructor(e,n,i,r,s,o,a){this.node=e,this.from=n,this.to=i,this.spaceBefore=r,this.spaceAfter=s,this.type=o,this.item=a}blank(e=!0){let n=this.spaceBefore;if(this.node.name=="Blockquote")n+=">";else for(let i=this.to-this.from-n.length-this.spaceAfter.length;i>0;i--)n+=" ";return n+(e?this.spaceAfter:"")}marker(e,n){let i=this.node.name=="OrderedList"?String(+VE(this.item,e)[2]+n):"";return this.spaceBefore+i+this.type+this.spaceAfter}}function ZE(t,e,n){let i=[];for(let o=t;o&&o.name!="Document";o=o.parent)(o.name=="ListItem"||o.name=="Blockquote")&&i.push(o);let r=[],s=0;for(let o=i.length-1;o>=0;o--){let a=i[o],l,c=s;if(a.name=="Blockquote"&&(l=/^[ \t]*>( ?)/.exec(e.slice(s))))s+=l[0].length,r.push(new Wm(a,c,s,"",l[1],">",null));else if(a.name=="ListItem"&&a.parent.name=="OrderedList"&&(l=/^([ \t]*)\d+([.)])([ \t]*)/.exec(Yx(a,n)))){let u=l[3],O=l[0].length;u.length>=4&&(u=u.slice(0,u.length-4),O-=4),s+=O,r.push(new Wm(a.parent,c,s,l[1],u,l[2],a))}else if(a.name=="ListItem"&&a.parent.name=="BulletList"&&(l=/^([ \t]*)([-+*])([ \t]{1,4}\[[ xX]\])?([ \t]+)/.exec(Yx(a,n)))){let u=l[4],O=l[0].length;u.length>4&&(u=u.slice(0,u.length-4),O-=4);let f=l[2];l[3]&&(f+=l[3].replace(/[xX]/," ")),s+=O,r.push(new Wm(a.parent,c,s,l[1],u,f,a))}}return r}function VE(t,e){return/^(\s*)(\d+)(?=[.)])/.exec(e.sliceString(t.from,t.from+10))}function zm(t,e,n,i=0){for(let r=-1,s=t;;){if(s.name=="ListItem"){let a=VE(s,e),l=+a[2];if(r>=0){if(l!=r+1)return;n.push({from:s.from+a[1].length,to:s.from+a[0].length,insert:String(r+2+i)})}r=l}let o=s.nextSibling;if(!o)break;s=o}}const qme=({state:t,dispatch:e})=>{let n=jt(t),{doc:i}=t,r=null,s=t.changeByRange(o=>{if(!o.empty||!YE.isActiveAt(t,o.from))return r={range:o};let a=o.from,l=i.lineAt(a),c=ZE(n.resolveInner(a,-1),l.text,i);for(;c.length&&c[c.length-1].from>a-l.from;)c.pop();if(!c.length)return r={range:o};let u=c[c.length-1];if(u.to-u.spaceAfter.length>a-l.from)return r={range:o};let O=a>=u.to-u.spaceAfter.length&&!/\S/.test(l.text.slice(u.to));if(u.item&&O)if(u.node.firstChild.to>=a||l.from>0&&!/[^\s>]/.test(i.lineAt(l.from-1).text)){let $=c.length>1?c[c.length-2]:null,m,d="";$&&$.item?(m=l.from+$.from,d=$.marker(i,1)):m=l.from+($?$.to:0);let g=[{from:m,to:a,insert:d}];return u.node.name=="OrderedList"&&zm(u.item,i,g,-2),$&&$.node.name=="OrderedList"&&zm($.item,i,g),{range:we.cursor(m+d.length),changes:g}}else{let $="";for(let m=0,d=c.length-2;m<=d;m++)$+=c[m].blank(m\s*$/.exec($.text);if(m&&m.index==u.from){let d=t.changes([{from:$.from+m.index,to:$.to},{from:l.from+u.from,to:l.to}]);return{range:o.map(d),changes:d}}}let f=[];u.node.name=="OrderedList"&&zm(u.item,i,f);let h=t.lineBreak,p=u.item&&u.item.from]*/.exec(l.text)[0].length>=u.to)for(let $=0,m=c.length-1;$<=m;$++)h+=$==m&&!p?c[$].marker(i,1):c[$].blank();let y=a;for(;y>l.from&&/\s/.test(l.text.charAt(y-l.from-1));)y--;return f.push({from:y,to:a,insert:h}),{range:we.cursor(y+h.length),changes:f}});return r?!1:(e(t.update(s,{scrollIntoView:!0,userEvent:"input"})),!0)};function Zx(t){return t.name=="QuoteMark"||t.name=="ListMark"}function Ume(t,e){let n=t.resolveInner(e,-1),i=e;Zx(n)&&(i=n.from,n=n.parent);for(let r;r=n.childBefore(i);)if(Zx(r))i=r.from;else if(r.name=="OrderedList"||r.name=="BulletList")n=r.lastChild,i=n.to;else break;return n}const Dme=({state:t,dispatch:e})=>{let n=jt(t),i=null,r=t.changeByRange(s=>{let o=s.from,{doc:a}=t;if(s.empty&&YE.isActiveAt(t,s.from)){let l=a.lineAt(o),c=ZE(Ume(n,o),l.text,a);if(c.length){let u=c[c.length-1],O=u.to-u.spaceAfter.length+(u.spaceAfter?1:0);if(o-l.from>O&&!/\S/.test(l.text.slice(O,o-l.from)))return{range:we.cursor(l.from+O),changes:{from:l.from+O,to:o}};if(o-l.from==O){let f=l.from+u.from;if(u.item&&u.node.from=65&&t<=90||t>=97&&t<=122||t>=48&&t<=57}function age(t){return t>=48&&t<=57||t>=97&&t<=102||t>=65&&t<=70}function bl(t,e,n){for(let i=!1;;){if(t.next<0)return;if(t.next==e&&!i){t.advance();return}i=n&&!i&&t.next==92,t.advance()}}function FE(t,e){for(;!(t.next!=95&&!cy(t.next));)e!=null&&(e+=String.fromCharCode(t.next)),t.advance();return e}function lge(t){if(t.next==39||t.next==34||t.next==96){let e=t.next;t.advance(),bl(t,e,!1)}else FE(t)}function Nx(t,e){for(;;){if(t.next==46){if(e)break;e=!0}else if(t.next<48||t.next>57)break;t.advance()}if(t.next==69||t.next==101)for(t.advance(),(t.next==43||t.next==45)&&t.advance();t.next>=48&&t.next<=57;)t.advance()}function Fx(t){for(;!(t.next<0||t.next==10);)t.advance()}function hl(t,e){for(let n=0;n!=&|~^/",specialVar:"?",identifierQuotes:'"',words:GE(KE,HE)};function cge(t,e,n,i){let r={};for(let s in uy)r[s]=(t.hasOwnProperty(s)?t:uy)[s];return e&&(r.words=GE(e,n||"",i)),r}function JE(t){return new on(e=>{var n;let{next:i}=e;if(e.advance(),hl(i,Gx)){for(;hl(e.next,Gx);)e.advance();e.acceptToken(Mme)}else if(i==39||i==34&&t.doubleQuotedStrings)bl(e,i,t.backslashEscapes),e.acceptToken(Im);else if(i==35&&t.hashComments||i==47&&e.next==47&&t.slashComments)Fx(e),e.acceptToken(jx);else if(i==45&&e.next==45&&(!t.spaceAfterDashes||e.peek(2)==32))Fx(e),e.acceptToken(jx);else if(i==47&&e.next==42){e.advance();for(let r=-1,s=1;!(e.next<0);)if(e.advance(),r==42&&e.next==47){if(s--,!s){e.advance();break}r=-1}else r==47&&e.next==42?(s++,r=-1):r=e.next;e.acceptToken(Yme)}else if((i==101||i==69)&&e.next==39)e.advance(),bl(e,39,!0);else if((i==110||i==78)&&e.next==39&&t.charSetCasts)e.advance(),bl(e,39,t.backslashEscapes),e.acceptToken(Im);else if(i==95&&t.charSetCasts)for(let r=0;;r++){if(e.next==39&&r>1){e.advance(),bl(e,39,t.backslashEscapes),e.acceptToken(Im);break}if(!cy(e.next))break;e.advance()}else if(i==40)e.acceptToken(jme);else if(i==41)e.acceptToken(Nme);else if(i==123)e.acceptToken(Fme);else if(i==125)e.acceptToken(Gme);else if(i==91)e.acceptToken(Hme);else if(i==93)e.acceptToken(Kme);else if(i==59)e.acceptToken(Jme);else if(i==48&&(e.next==98||e.next==66)||(i==98||i==66)&&e.next==39){let r=e.next==39;for(e.advance();e.next==48||e.next==49;)e.advance();r&&e.next==39&&e.advance(),e.acceptToken(th)}else if(i==48&&(e.next==120||e.next==88)||(i==120||i==88)&&e.next==39){let r=e.next==39;for(e.advance();age(e.next);)e.advance();r&&e.next==39&&e.advance(),e.acceptToken(th)}else if(i==46&&e.next>=48&&e.next<=57)Nx(e,!0),e.acceptToken(th);else if(i==46)e.acceptToken(ege);else if(i>=48&&i<=57)Nx(e,!1),e.acceptToken(th);else if(hl(i,t.operatorChars)){for(;hl(e.next,t.operatorChars);)e.advance();e.acceptToken(tge)}else if(hl(i,t.specialVar))e.next==i&&e.advance(),lge(e),e.acceptToken(ige);else if(hl(i,t.identifierQuotes))bl(e,i,!1),e.acceptToken(sge);else if(i==58||i==44)e.acceptToken(nge);else if(cy(i)){let r=FE(e,String.fromCharCode(i));e.acceptToken((n=t.words[r.toLowerCase()])!==null&&n!==void 0?n:rge)}})}const eX=JE(uy),uge=Ui.deserialize({version:14,states:"%dQ]QQOOO#kQRO'#DQO#rQQO'#CuO%RQQO'#CvO%YQQO'#CwO%aQQO'#CxOOQQ'#DQ'#DQOOQQ'#C{'#C{O&lQRO'#CyOOQQ'#Ct'#CtOOQQ'#Cz'#CzQ]QQOOQOQQOOO&vQQO,59aO'RQQO,59aO'WQQO'#DQOOQQ,59b,59bO'eQQO,59bOOQQ,59c,59cO'lQQO,59cOOQQ,59d,59dO'sQQO,59dOOQQ-E6y-E6yOOQQ,59`,59`OOQQ-E6x-E6xOOQQ'#C|'#C|OOQQ1G.{1G.{O&vQQO1G.{OOQQ1G.|1G.|OOQQ1G.}1G.}OOQQ1G/O1G/OP'zQQO'#C{POQQ-E6z-E6zOOQQ7+$g7+$g",stateData:"(R~OrOSPOSQOS~ORUOSUOTUOUUOVROXSOZTO]XO^QO_UO`UOaPObPOcPOdUOeUOfUO~O^]ORtXStXTtXUtXVtXXtXZtX]tX_tX`tXatXbtXctXdtXetXftX~OqtX~P!dOa^Ob^Oc^O~ORUOSUOTUOUUOVROXSOZTO^QO_UO`UOa_Ob_Oc_OdUOeUOfUO~OW`O~P#}OYbO~P#}O[dO~P#}ORUOSUOTUOUUOVROXSOZTO^QO_UO`UOaPObPOcPOdUOeUOfUO~O]gOqmX~P%hOaiObiOciO~O^kO~OWtXYtX[tX~P!dOWlO~P#}OYmO~P#}O[nO~P#}O]gO~P#}O",goto:"#YuPPPPPPPPPPPPPPPPPPPPPPPPvzzzz!W![!b!vPPP!|TYOZeUORSTWZaceoT[OZQZORhZSWOZQaRQcSQeTZfWaceoQj]RqkeVORSTWZaceo",nodeNames:"\u26A0 LineComment BlockComment String Number Bool Null ( ) [ ] { } ; . Operator Punctuation SpecialVar Identifier QuotedIdentifier Keyword Type Builtin Script Statement CompositeIdentifier Parens Braces Brackets Statement",maxTerm:36,skippedNodes:[0,1,2],repeatNodeCount:3,tokenData:"RORO",tokenizers:[0,eX],topRules:{Script:[0,23]},tokenPrec:0});function fy(t){let e=t.cursor().moveTo(t.from,-1);for(;/Comment/.test(e.name);)e.moveTo(e.from,-1);return e.node}function fge(t){let e=/^[`'"](.*)[`'"]$/.exec(t);return e?e[1]:t}function Oge(t,e){return e.name=="Identifier"||e.name=="QuotedIdentifier"||e.name=="Keyword"&&/^public$/i.test(t.sliceDoc(e.from,e.to))}function Hx(t,e){for(let n=[];;){if(!e||e.name!=".")return n;let i=fy(e);if(!i||!Oge(t,i))return n;n.unshift(fge(t.sliceDoc(i.from,i.to))),e=fy(i)}}function hge(t,e){let n=jt(t).resolveInner(e,-1);return n.name=="Identifier"||n.name=="QuotedIdentifier"?{from:n.from,quoted:n.name=="QuotedIdentifier"?t.sliceDoc(n.from,n.from+1):null,parents:Hx(t,fy(n))}:n.name=="."?{from:e,quoted:null,parents:Hx(t,n)}:{from:e,quoted:null,parents:[],empty:!0}}function dge(t,e){return t?e.map(n=>Object.assign(Object.assign({},n),{label:t+n.label+t,apply:void 0})):e}const pge=/^\w*$/,mge=/^[`'"]?\w*[`'"]?$/;class k1{constructor(){this.list=[],this.children=void 0}child(e){let n=this.children||(this.children=Object.create(null));return n[e]||(n[e]=new k1)}childCompletions(e){return this.children?Object.keys(this.children).filter(n=>n).map(n=>({label:n,type:e})):[]}}function gge(t,e,n,i){let r=new k1,s=r.child(i||"");for(let o in t){let a=o.indexOf("."),c=(a>-1?r.child(o.slice(0,a)):s).child(a>-1?o.slice(a+1):o);c.list=t[o].map(u=>typeof u=="string"?{label:u,type:"property"}:u)}s.list=(e||s.childCompletions("type")).concat(n?s.child(n).list:[]);for(let o in r.children){let a=r.child(o);a.list.length||(a.list=a.childCompletions("type"))}return r.list=s.list.concat(r.childCompletions("type")),o=>{let{parents:a,from:l,quoted:c,empty:u}=hge(o.state,o.pos);if(u&&!o.explicit)return null;let O=r;for(let h of a){for(;!O.children||!O.children[h];)if(O==r)O=s;else if(O==s&&n)O=O.child(n);else return null;O=O.child(h)}let f=c&&o.state.sliceDoc(o.pos,o.pos+1)==c;return{from:l,to:f?o.pos+1:void 0,options:dge(c,O.list),validFor:c?mge:pge}}}function vge(t,e){let n=Object.keys(t).map(i=>({label:e?i.toUpperCase():i,type:t[i]==NE?"type":t[i]==jE?"keyword":"variable",boost:-1}));return d4(["QuotedIdentifier","SpecialVar","String","LineComment","BlockComment","."],c1(n))}let yge=uge.configure({props:[or.add({Statement:Nn()}),ar.add({Statement(t){return{from:t.firstChild.to,to:t.to}},BlockComment(t){return{from:t.from+2,to:t.to-2}}}),Li({Keyword:z.keyword,Type:z.typeName,Builtin:z.standard(z.name),Bool:z.bool,Null:z.null,Number:z.number,String:z.string,Identifier:z.name,QuotedIdentifier:z.special(z.string),SpecialVar:z.special(z.name),LineComment:z.lineComment,BlockComment:z.blockComment,Operator:z.operator,"Semi Punctuation":z.punctuation,"( )":z.paren,"{ }":z.brace,"[ ]":z.squareBracket})]});class jp{constructor(e,n){this.dialect=e,this.language=n}get extension(){return this.language.extension}static define(e){let n=cge(e,e.keywords,e.types,e.builtin),i=qi.define({parser:yge.configure({tokenizers:[{from:eX,to:JE(n)}]}),languageData:{commentTokens:{line:"--",block:{open:"/*",close:"*/"}},closeBrackets:{brackets:["(","[","{","'",'"',"`"]}}});return new jp(n,i)}}function $ge(t,e=!1){return vge(t.dialect.words,e)}function bge(t,e=!1){return t.language.data.of({autocomplete:$ge(t,e)})}function _ge(t){return t.schema?gge(t.schema,t.tables,t.defaultTable,t.defaultSchema):()=>null}function Qge(t){return t.schema?(t.dialect||tX).language.data.of({autocomplete:_ge(t)}):[]}function Sge(t={}){let e=t.dialect||tX;return new sr(e.language,[Qge(t),bge(e,!!t.upperCaseKeywords)])}const tX=jp.define({}),wge="accessible algorithm analyze asensitive authors auto_increment autocommit avg avg_row_length binlog btree cache catalog_name chain change changed checkpoint checksum class_origin client_statistics coalesce code collations columns comment committed completion concurrent consistent contains contributors convert database databases day_hour day_microsecond day_minute day_second delay_key_write delayed delimiter des_key_file dev_pop dev_samp deviance directory disable discard distinctrow div dual dumpfile enable enclosed ends engine engines enum errors escaped even event events every explain extended fast field fields flush force found_rows fulltext grants handler hash high_priority hosts hour_microsecond hour_minute hour_second ignore ignore_server_ids import index index_statistics infile innodb insensitive insert_method install invoker iterate keys kill linear lines list load lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modify mutex mysql_errno no_write_to_binlog offline offset one online optimize optionally outfile pack_keys parser partition partitions password phase plugin plugins prev processlist profile profiles purge query quick range read_write rebuild recover regexp relaylog remove rename reorganize repair repeatable replace require resume rlike row_format rtree schedule schema_name schemas second_microsecond security sensitive separator serializable server share show slave slow snapshot soname spatial sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result ssl starting starts std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace terminated triggers truncate uncommitted uninstall unlock upgrade use use_frm user_resources user_statistics utc_date utc_time utc_timestamp variables views warnings xa xor year_month zerofill",xge=HE+"bool blob long longblob longtext medium mediumblob mediumint mediumtext tinyblob tinyint tinytext text bigint int1 int2 int3 int4 int8 float4 float8 varbinary varcharacter precision datetime unsigned signed",Pge="charset clear edit ego help nopager notee nowarning pager print prompt quit rehash source status system tee",kge=jp.define({operatorChars:"*+-%<>!=&|^",charSetCasts:!0,doubleQuotedStrings:!0,hashComments:!0,spaceAfterDashes:!0,specialVar:"@?",identifierQuotes:"`",keywords:KE+"group_concat "+wge,types:xge,builtin:Pge}),Cge=1,Tge=2,Rge=263,Age=3,Ege=264,Kx=265,Xge=266,Wge=4,zge=5,Ige=6,qge=7,Jx=8,Uge=9,Dge=10,Lge=11,Bge=12,Mge=13,Yge=14,Zge=15,Vge=16,jge=17,Nge=18,Fge=19,Gge=20,Hge=21,Kge=22,Jge=23,eve=24,tve=25,nve=26,ive=27,rve=28,sve=29,ove=30,ave=31,lve=32,cve=33,uve=34,fve=35,Ove=36,hve=37,dve=38,pve=39,mve=40,gve=41,vve=42,yve=43,$ve=44,bve=45,_ve=46,Qve=47,Sve=48,wve=49,xve=50,Pve=51,kve=52,Cve=53,Tve=54,Rve=55,Ave=56,Eve=57,Xve=58,Wve=59,zve=60,Ive=61,qm=62,qve=63,Uve=64,Dve=65,Lve={abstract:Wge,and:zge,array:Ige,as:qge,true:Jx,false:Jx,break:Uge,case:Dge,catch:Lge,clone:Bge,const:Mge,continue:Yge,declare:Vge,default:Zge,do:jge,echo:Nge,else:Fge,elseif:Gge,enddeclare:Hge,endfor:Kge,endforeach:Jge,endif:eve,endswitch:tve,endwhile:nve,enum:ive,extends:rve,final:sve,finally:ove,fn:ave,for:lve,foreach:cve,from:uve,function:fve,global:Ove,goto:hve,if:dve,implements:pve,include:mve,include_once:gve,instanceof:vve,insteadof:yve,interface:$ve,list:bve,match:_ve,namespace:Qve,new:Sve,null:wve,or:xve,print:Pve,require:kve,require_once:Cve,return:Tve,switch:Rve,throw:Ave,trait:Eve,try:Xve,unset:Wve,use:zve,var:Ive,public:qm,private:qm,protected:qm,while:qve,xor:Uve,yield:Dve,__proto__:null};function Bve(t){let e=Lve[t.toLowerCase()];return e==null?-1:e}function eP(t){return t==9||t==10||t==13||t==32}function nX(t){return t>=97&&t<=122||t>=65&&t<=90}function Cu(t){return t==95||t>=128||nX(t)}function Um(t){return t>=48&&t<=55||t>=97&&t<=102||t>=65&&t<=70}const Mve={int:!0,integer:!0,bool:!0,boolean:!0,float:!0,double:!0,real:!0,string:!0,array:!0,object:!0,unset:!0,__proto__:null},Yve=new on(t=>{if(t.next==40){t.advance();let e=0;for(;eP(t.peek(e));)e++;let n="",i;for(;nX(i=t.peek(e));)n+=String.fromCharCode(i),e++;for(;eP(t.peek(e));)e++;t.peek(e)==41&&Mve[n.toLowerCase()]&&t.acceptToken(Cge)}else if(t.next==60&&t.peek(1)==60&&t.peek(2)==60){for(let i=0;i<3;i++)t.advance();for(;t.next==32||t.next==9;)t.advance();let e=t.next==39;if(e&&t.advance(),!Cu(t.next))return;let n=String.fromCharCode(t.next);for(;t.advance(),!(!Cu(t.next)&&!(t.next>=48&&t.next<=55));)n+=String.fromCharCode(t.next);if(e){if(t.next!=39)return;t.advance()}if(t.next!=10&&t.next!=13)return;for(;;){let i=t.next==10||t.next==13;if(t.advance(),t.next<0)return;if(i){for(;t.next==32||t.next==9;)t.advance();let r=!0;for(let s=0;s{t.next<0&&t.acceptToken(Xge)}),Vve=new on((t,e)=>{t.next==63&&e.canShift(Kx)&&t.peek(1)==62&&t.acceptToken(Kx)});function jve(t){let e=t.peek(1);if(e==110||e==114||e==116||e==118||e==101||e==102||e==92||e==36||e==34||e==123)return 2;if(e>=48&&e<=55){let n=2,i;for(;n<5&&(i=t.peek(n))>=48&&i<=55;)n++;return n}if(e==120&&Um(t.peek(2)))return Um(t.peek(3))?4:3;if(e==117&&t.peek(2)==123)for(let n=3;;n++){let i=t.peek(n);if(i==125)return n==2?0:n+1;if(!Um(i))break}return 0}const Nve=new on((t,e)=>{let n=!1;for(;!(t.next==34||t.next<0||t.next==36&&(Cu(t.peek(1))||t.peek(1)==123)||t.next==123&&t.peek(1)==36);n=!0){if(t.next==92){let i=jve(t);if(i){if(n)break;return t.acceptToken(Age,i)}}else if(!n&&(t.next==91||t.next==45&&t.peek(1)==62&&Cu(t.peek(2))||t.next==63&&t.peek(1)==45&&t.peek(2)==62&&Cu(t.peek(3)))&&e.canShift(Ege))break;t.advance()}n&&t.acceptToken(Rge)}),Fve=Li({"Visibility abstract final static":z.modifier,"for foreach while do if else elseif switch try catch finally return throw break continue default case":z.controlKeyword,"endif endfor endforeach endswitch endwhile declare enddeclare goto match":z.controlKeyword,"and or xor yield unset clone instanceof insteadof":z.operatorKeyword,"function fn class trait implements extends const enum global interface use var":z.definitionKeyword,"include include_once require require_once namespace":z.moduleKeyword,"new from echo print array list as":z.keyword,null:z.null,Boolean:z.bool,VariableName:z.variableName,"NamespaceName/...":z.namespace,"NamedType/...":z.typeName,Name:z.name,"CallExpression/Name":z.function(z.variableName),"LabelStatement/Name":z.labelName,"MemberExpression/Name":z.propertyName,"MemberExpression/VariableName":z.special(z.propertyName),"ScopedExpression/ClassMemberName/Name":z.propertyName,"ScopedExpression/ClassMemberName/VariableName":z.special(z.propertyName),"CallExpression/MemberExpression/Name":z.function(z.propertyName),"CallExpression/ScopedExpression/ClassMemberName/Name":z.function(z.propertyName),"MethodDeclaration/Name":z.function(z.definition(z.variableName)),"FunctionDefinition/Name":z.function(z.definition(z.variableName)),"ClassDeclaration/Name":z.definition(z.className),UpdateOp:z.updateOperator,ArithOp:z.arithmeticOperator,LogicOp:z.logicOperator,BitOp:z.bitwiseOperator,CompareOp:z.compareOperator,ControlOp:z.controlOperator,AssignOp:z.definitionOperator,"$ ConcatOp":z.operator,LineComment:z.lineComment,BlockComment:z.blockComment,Integer:z.integer,Float:z.float,String:z.string,ShellExpression:z.special(z.string),"=> ->":z.punctuation,"( )":z.paren,"#[ [ ]":z.squareBracket,"${ { }":z.brace,"-> ?->":z.derefOperator,", ; :: : \\":z.separator,"PhpOpen PhpClose":z.processingInstruction}),Gve={__proto__:null,static:311,STATIC:311,class:333,CLASS:333},Hve=Ui.deserialize({version:14,states:"$GSQ`OWOOQhQaOOP%oO`OOOOO#t'#H_'#H_O%tO#|O'#DtOOO#u'#Dw'#DwQ&SOWO'#DwO&XO$VOOOOQ#u'#Dx'#DxO&lQaO'#D|O(mQdO'#E}O(tQdO'#EQO*kQaO'#EWO,zQ`O'#ETO-PQ`O'#E^O/nQaO'#E^O/uQ`O'#EfO/zQ`O'#EoO*kQaO'#EoO0VQ`O'#HhO0[Q`O'#E{O0[Q`O'#E{OOQS'#Ic'#IcO0aQ`O'#EvOOQS'#IZ'#IZO2oQdO'#IWO6tQeO'#FUO*kQaO'#FeO*kQaO'#FfO*kQaO'#FgO*kQaO'#FhO*kQaO'#FhO*kQaO'#FkOOQO'#Id'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k2l2m2n2o2p2s2t2u2v2w3P3d3g3h3k3o3p3s3z3|4O4Q4S4U5v5w!x;b3u3v3x3y3{3}4P4R4T4V4Z4a4b4c4d4e4f4g4h4i4j4k4l4m4n4o4p4q4r4s4t4u4v4w4x5Q5e5h5i5l5p5q5t$O=z_j!]!g#k#n#o#s#t%R%T&p&s&t&w'O'z(l({)P)i*P*U,V,X-R6^6_6`6a6b6c6d6e6f6g6h6i6j6k6l6m6n6o6p6q6r6s6t6u6v6z6{6|7X7l7o7r7w7|8T8U8X8Z8[8f8g8h8i#|>]!y!z!}%c&W)t)v*T*o,T-d-k.t/c/i/m0d0v4W6T7i7s7u7z8j8k8l8m8n8o8p8q8r8s8t8u8v8w8x8y8z8{8|8}9O9P9Q9R9S9T9Z9[9]9h9y9}:O:R:Y:Z:_:a:b;c;d=Z=m=n!v>^+z-Q9V9X:d:e:f:g:h:j:k:m:o:p:r:t:v:x:z:|;O;Q;S;U;W;Y;[;^;`;e;g;i;t_0V1]9W:i:l:n:q:s:u:w:y:{:};P;R;T;V;X;Z;];_;a;f;h;u AssignmentExpression ArrayExpression ValueList & VariadicUnpacking ... Pair [ ] ListExpression ValueList Pair Pair SubscriptExpression MemberExpression -> ?-> VariableName DynamicVariable $ ${ CallExpression ArgList NamedArgument SpreadArgument CastExpression UnionType LogicOp OptionalType NamedType QualifiedName \\ NamespaceName ScopedExpression :: ClassMemberName AssignOp UpdateExpression UpdateOp YieldExpression BinaryExpression LogicOp LogicOp LogicOp BitOp BitOp BitOp CompareOp CompareOp BitOp ArithOp ConcatOp ArithOp ArithOp IncludeExpression RequireExpression CloneExpression UnaryExpression ControlOp LogicOp PrintIntrinsic FunctionExpression static ParamList Parameter #[ Attributes Attribute VariadicParameter PropertyParameter UseList ArrowFunction NewExpression class BaseClause ClassInterfaceClause DeclarationList ConstDeclaration VariableDeclarator PropertyDeclaration VariableDeclarator MethodDeclaration UseDeclaration UseList UseInsteadOfClause UseAsClause UpdateExpression ArithOp ShellExpression ThrowExpression Integer Float String MemberExpression SubscriptExpression UnaryExpression ArithOp Interpolation String IfStatement ColonBlock SwitchStatement Block CaseStatement DefaultStatement ColonBlock WhileStatement EmptyStatement DoStatement ForStatement ForSpec SequenceExpression ForeachStatement ForSpec Pair GotoStatement ContinueStatement BreakStatement ReturnStatement TryStatement CatchDeclarator DeclareStatement EchoStatement UnsetStatement ConstDeclaration FunctionDefinition ClassDeclaration InterfaceDeclaration TraitDeclaration EnumDeclaration EnumBody EnumCase NamespaceDefinition NamespaceUseDeclaration UseGroup UseClause UseClause GlobalDeclaration FunctionStaticDeclaration Program",maxTerm:304,nodeProps:[["group",-36,2,8,49,81,83,85,88,93,94,102,106,107,110,111,114,118,123,126,130,132,133,147,148,149,150,153,154,164,165,179,181,182,183,184,185,191,"Expression",-28,74,78,80,82,192,194,199,201,202,205,208,209,210,211,212,214,215,216,217,218,219,220,221,222,225,226,230,231,"Statement",-3,119,121,122,"Type"],["openedBy",69,"phpOpen",76,"{",86,"(",101,"#["],["closedBy",71,"phpClose",77,"}",87,")",158,"]"]],propSources:[Fve],skippedNodes:[0],repeatNodeCount:29,tokenData:"!5h_R!ZOX$tXY%nYZ&}Z]$t]^%n^p$tpq%nqr(]rs)wst*atu/nuv2_vw3`wx4gxy8Oyz8fz{8|{|:W|};_}!O;u!O!P=R!P!QBl!Q!RFr!R![Hn![!]Nz!]!^!!O!^!_!!f!_!`!%R!`!a!&V!a!b!'Z!b!c!*T!c!d!*k!d!e!+q!e!}!*k!}#O!-k#O#P!.R#P#Q!.i#Q#R!/P#R#S!*k#S#T!/j#T#U!*k#U#V!+q#V#o!*k#o#p!2y#p#q!3a#q#r!4j#r#s!5Q#s$f$t$f$g%n$g&j!*k&j$I_$t$I_$I`%n$I`$KW$t$KW$KX%n$KX?HT$t?HT?HU%n?HU~$tP$yT&wPOY$tYZ%YZ!^$t!^!_%_!_~$tP%_O&wPP%bSOY$tYZ%YZ!a$t!b~$tV%ub&wP&vUOX$tXY%nYZ&}Z]$t]^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k![!^$t!^!_%_!_!c$t!c!}!*k!}#R$t#R#S!*k#S#T$t#T#o!*k#o$g$t$g&j!*k&j~$tR!-[T&wP'gQOY$tYZ%YZ!^$t!^!_%_!_~$tV!-rT#WU&wPOY$tYZ%YZ!^$t!^!_%_!_~$tV!.YT#pU&wPOY$tYZ%YZ!^$t!^!_%_!_~$tR!.pT#XQ&wPOY$tYZ%YZ!^$t!^!_%_!_~$tR!/WU$OQ&wPOY$tYZ%YZ!^$t!^!_%_!_!`2x!`~$tR!/oX&wPOY!/jYZ!0[Z!^!/j!^!_!1_!_#O!/j#O#P!1}#P#S!/j#S#T!2c#T~!/jR!0aT&wPO#O!0p#O#P!1S#P#S!0p#S#T!1Y#T~!0pQ!0sTO#O!0p#O#P!1S#P#S!0p#S#T!1Y#T~!0pQ!1VPO~!0pQ!1_O${QR!1bXOY!/jYZ!0[Z!a!/j!a!b!0p!b#O!/j#O#P!1}#P#S!/j#S#T!2c#T~!/jR!2ST&wPOY!/jYZ!0[Z!^!/j!^!_!1_!_~!/jR!2jT${Q&wPOY$tYZ%YZ!^$t!^!_%_!_~$tV!3QT!oU&wPOY$tYZ%YZ!^$t!^!_%_!_~$tV!3jW#}Q#lS&wPOY$tYZ%YZ!^$t!^!_%_!_!`2x!`#p$t#p#q!4S#q~$tR!4ZT#{Q&wPOY$tYZ%YZ!^$t!^!_%_!_~$tR!4qT!nQ&wPOY$tYZ%YZ!^$t!^!_%_!_~$tR!5XT$^Q&wPOY$tYZ%YZ!^$t!^!_%_!_~$t",tokenizers:[Yve,Nve,Vve,0,1,2,3,Zve],topRules:{Template:[0,72],Program:[1,232]},dynamicPrecedences:{"284":1},specialized:[{term:81,get:(t,e)=>Bve(t)<<1},{term:81,get:t=>Gve[t]||-1}],tokenPrec:29354}),Kve=qi.define({parser:Hve.configure({props:[or.add({IfStatement:Nn({except:/^\s*({|else\b|elseif\b|endif\b)/}),TryStatement:Nn({except:/^\s*({|catch\b|finally\b)/}),SwitchBody:t=>{let e=t.textAfter,n=/^\s*\}/.test(e),i=/^\s*(case|default)\b/.test(e);return t.baseIndent+(n?0:i?1:2)*t.unit},ColonBlock:t=>t.baseIndent+t.unit,"Block EnumBody DeclarationList":Sa({closing:"}"}),ArrowFunction:t=>t.baseIndent+t.unit,"String BlockComment":()=>-1,Statement:Nn({except:/^({|end(for|foreach|switch|while)\b)/})}),ar.add({"Block EnumBody DeclarationList SwitchBody ArrayExpression ValueList":ja,ColonBlock(t){return{from:t.from+1,to:t.to}},BlockComment(t){return{from:t.from+2,to:t.to-2}}})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"},line:"//"},indentOnInput:/^\s*(?:case |default:|end(?:if|for(?:each)?|switch|while)|else(?:if)?|\{|\})$/,wordChars:"$"}});function Jve(t={}){let e=[],n;if(t.baseLanguage!==null)if(t.baseLanguage)n=t.baseLanguage;else{let i=$1({matchClosingTags:!1});e.push(i.support),n=i.language}return new sr(Kve.configure({wrap:n&&N$(i=>i.type.isTop?{parser:n.parser,overlay:r=>r.name=="Text"}:null),top:t.plain?"Program":"Template"}),e)}const eye=1,iX=162,rX=163,tye=164,nye=165,iye=166,rye=167,sye=22,oye=23,aye=47,lye=48,cye=53,uye=54,fye=55,Oye=57,hye=58,dye=59,pye=60,mye=61,gye=63,vye=203,yye=71,$ye=228,bye=121,uf=10,ff=13,C1=32,Np=9,T1=35,_ye=40,Qye=46,Sye=[oye,aye,lye,$ye,gye,bye,uye,fye,vye,pye,mye,hye,dye,yye],wye=new on((t,e)=>{if(t.next<0)t.acceptToken(rye);else if(!(t.next!=uf&&t.next!=ff))if(e.context.depth<0)t.acceptToken(nye,1);else{t.advance();let n=0;for(;t.next==C1||t.next==Np;)t.advance(),n++;let i=t.next==uf||t.next==ff||t.next==T1;t.acceptToken(i?iye:tye,-n)}},{contextual:!0,fallback:!0}),xye=new on((t,e)=>{let n=e.context.depth;if(n<0)return;let i=t.peek(-1);if((i==uf||i==ff)&&e.context.depth>=0){let r=0,s=0;for(;;){if(t.next==C1)r++;else if(t.next==Np)r+=8-r%8;else break;t.advance(),s++}r!=n&&t.next!=uf&&t.next!=ff&&t.next!=T1&&(r-1?t.parent:t},shift(t,e,n,i){return e==iX?new Oy(t,kye(i.read(i.pos,n.pos))):e==rX?t.parent:e==sye||e==cye||e==Oye?new Oy(t,-1):t},hash(t){return t.hash}}),Tye=new on(t=>{for(let e=0;e<5;e++){if(t.next!="print".charCodeAt(e))return;t.advance()}if(!/\w/.test(String.fromCharCode(t.next)))for(let e=0;;e++){let n=t.peek(e);if(!(n==C1||n==Np)){n!=_ye&&n!=Qye&&n!=uf&&n!=ff&&n!=T1&&t.acceptToken(eye);return}}}),Rye=Li({'async "*" "**" FormatConversion FormatSpec':z.modifier,"for while if elif else try except finally return raise break continue with pass assert await yield":z.controlKeyword,"in not and or is del":z.operatorKeyword,"from def class global nonlocal lambda":z.definitionKeyword,import:z.moduleKeyword,"with as print":z.keyword,Boolean:z.bool,None:z.null,VariableName:z.variableName,"CallExpression/VariableName":z.function(z.variableName),"FunctionDefinition/VariableName":z.function(z.definition(z.variableName)),"ClassDefinition/VariableName":z.definition(z.className),PropertyName:z.propertyName,"CallExpression/MemberExpression/PropertyName":z.function(z.propertyName),Comment:z.lineComment,Number:z.number,String:z.string,FormatString:z.special(z.string),UpdateOp:z.updateOperator,ArithOp:z.arithmeticOperator,BitOp:z.bitwiseOperator,CompareOp:z.compareOperator,AssignOp:z.definitionOperator,Ellipsis:z.punctuation,At:z.meta,"( )":z.paren,"[ ]":z.squareBracket,"{ }":z.brace,".":z.derefOperator,", ;":z.separator}),Aye={__proto__:null,await:40,or:50,and:52,in:56,not:58,is:60,if:66,else:68,lambda:72,yield:90,from:92,async:98,for:100,None:152,True:154,False:154,del:168,pass:172,break:176,continue:180,return:184,raise:192,import:196,as:198,global:202,nonlocal:204,assert:208,elif:218,while:222,try:228,except:230,finally:232,with:236,def:240,class:250},Eye=Ui.deserialize({version:14,states:"!?pO`Q$IXOOO%cQ$I[O'#GaOOQ$IS'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g#o&+n#o#p!%i#p#q$}#q#r!$g#r$g$}$g~&+nGZ&9gZ%q7[%hS%n`%w!b%s,XOr'Prs&:Ysw'Pwx(Rx#O'P#O#PAe#P#o'P#o#pEu#p#q'P#q#rAy#r~'PGZ&:eZ%q7[%hS%n`%w!bOr'Prs&;Wsw'Pwx(Rx#O'P#O#PAe#P#o'P#o#pEu#p#q'P#q#rAy#r~'PD]&;eX%q7[%hS%x,X%n`%w!bOwGgwx,kx#OGg#O#PH_#P#oGg#o#pET#p#qGg#q#rD_#r~GgGk&<_Z%q7[%kW%tp%y#t%m,XOrIqrs)}swIqwx&=Qx#OIq#O#PJs#P#oIq#o#p! T#p#qIq#q#rKX#r~IqGk&=]Z%q7[%kW%tp%y#tOrIqrs)}swIqwx&>Ox#OIq#O#PJs#P#oIq#o#p! T#p#qIq#q#rKX#r~IqFT&>]X%q7[%kW%v,X%tp%y#tOr!!urs?ms#O!!u#O#P!#m#P#o!!u#o#pNc#p#q!!u#q#rMm#r~!!uMg&?_c%q7[%hS%kW%e&j%n`%tp%w!b%y#t%Q,XOr$}rs&9Ysw$}wx&x!i!t&+n!t!u&5j!u!}&+n!}#O$}#O#P!$R#P#R$}#R#S&+n#S#T$}#T#U&+n#U#V&5j#V#Y&+n#Y#Z&>x#Z#o&+n#o#p!%i#p#q$}#q#r!$g#r$g$}$g~&+nG{&CXZ!V,X%q7[%hS%kW%n`%tp%w!b%y#tOr$}rs&Rsw$}wxHsx#O$}#O#P!$R#P#o$}#o#p!%i#p#q$}#q#r!$g#r~$}Aye[t]||-1}],tokenPrec:6584});function tP(t,e){let n=t.lineIndent(e.from),i=t.lineAt(t.pos,-1),r=i.from+i.text.length;return!/\S/.test(i.text)&&t.node.ton?null:n+t.unit}const Xye=qi.define({parser:Eye.configure({props:[or.add({Body:t=>{var e;return(e=tP(t,t.node))!==null&&e!==void 0?e:t.continue()},IfStatement:t=>/^\s*(else:|elif )/.test(t.textAfter)?t.baseIndent:t.continue(),TryStatement:t=>/^\s*(except |finally:)/.test(t.textAfter)?t.baseIndent:t.continue(),"TupleExpression ComprehensionExpression ParamList ArgList ParenthesizedExpression":Sa({closing:")"}),"DictionaryExpression DictionaryComprehensionExpression SetExpression SetComprehensionExpression":Sa({closing:"}"}),"ArrayExpression ArrayComprehensionExpression":Sa({closing:"]"}),Script:t=>{if(t.pos+/\s*/.exec(t.textAfter)[0].length>=t.node.to){let e=null;for(let n=t.node,i=n.to;n=n.lastChild,!(!n||n.to!=i);)n.type.name=="Body"&&(e=n);if(e){let n=tP(t,e);if(n!=null)return n}}return t.continue()}}),ar.add({"ArrayExpression DictionaryExpression SetExpression TupleExpression":ja,Body:(t,e)=>({from:t.from+1,to:t.to-(t.to==e.doc.length?0:1)})})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"'''",'"""']},commentTokens:{line:"#"},indentOnInput:/^\s*([\}\]\)]|else:|elif |except |finally:)$/}});function Wye(){return new sr(Xye)}const hy=1,zye=2,Iye=3,qye=4,Uye=5,Dye=35,Lye=36,Bye=37,Mye=11,Yye=13;function Zye(t){return t==45||t==46||t==58||t>=65&&t<=90||t==95||t>=97&&t<=122||t>=161}function Vye(t){return t==9||t==10||t==13||t==32}let nP=null,iP=null,rP=0;function dy(t,e){let n=t.pos+e;if(iP==t&&rP==n)return nP;for(;Vye(t.peek(e));)e++;let i="";for(;;){let r=t.peek(e);if(!Zye(r))break;i+=String.fromCharCode(r),e++}return iP=t,rP=n,nP=i||null}function sP(t,e){this.name=t,this.parent=e,this.hash=e?e.hash:0;for(let n=0;n{if(t.next==60){if(t.advance(),t.next==47){t.advance();let n=dy(t,0);if(!n)return t.acceptToken(Uye);if(e.context&&n==e.context.name)return t.acceptToken(zye);for(let i=e.context;i;i=i.parent)if(i.name==n)return t.acceptToken(Iye,-2);t.acceptToken(qye)}else if(t.next!=33&&t.next!=63)return t.acceptToken(hy)}},{contextual:!0});function R1(t,e){return new on(n=>{for(let i=0,r=0;;r++){if(n.next<0){r&&n.acceptToken(t);break}if(n.next==e.charCodeAt(i)){if(i++,i==e.length){r>e.length&&n.acceptToken(t,1-e.length);break}}else i=n.next==e.charCodeAt(0)?1:0;n.advance()}})}const Fye=R1(Dye,"-->"),Gye=R1(Lye,"?>"),Hye=R1(Bye,"]]>"),Kye=Li({Text:z.content,"StartTag StartCloseTag EndTag SelfCloseEndTag":z.angleBracket,TagName:z.tagName,"MismatchedCloseTag/Tagname":[z.tagName,z.invalid],AttributeName:z.attributeName,AttributeValue:z.attributeValue,Is:z.definitionOperator,"EntityReference CharacterReference":z.character,Comment:z.blockComment,ProcessingInst:z.processingInstruction,DoctypeDecl:z.documentMeta,Cdata:z.special(z.string)}),Jye=Ui.deserialize({version:14,states:",SOQOaOOOrOxO'#CfOzOpO'#CiO!tOaO'#CgOOOP'#Cg'#CgO!{OrO'#CrO#TOtO'#CsO#]OpO'#CtOOOP'#DS'#DSOOOP'#Cv'#CvQQOaOOOOOW'#Cw'#CwO#eOxO,59QOOOP,59Q,59QOOOO'#Cx'#CxO#mOpO,59TO#uO!bO,59TOOOP'#C{'#C{O$TOaO,59RO$[OpO'#CoOOOP,59R,59ROOOQ'#C|'#C|O$dOrO,59^OOOP,59^,59^OOOS'#C}'#C}O$lOtO,59_OOOP,59_,59_O$tOpO,59`O$|OpO,59`OOOP-E6t-E6tOOOW-E6u-E6uOOOP1G.l1G.lOOOO-E6v-E6vO%UO!bO1G.oO%UO!bO1G.oO%dOpO'#CkO%lO!bO'#CyO%zO!bO1G.oOOOP1G.o1G.oOOOP1G.w1G.wOOOP-E6y-E6yOOOP1G.m1G.mO&VOpO,59ZO&_OpO,59ZOOOQ-E6z-E6zOOOP1G.x1G.xOOOS-E6{-E6{OOOP1G.y1G.yO&gOpO1G.zO&gOpO1G.zOOOP1G.z1G.zO&oO!bO7+$ZO&}O!bO7+$ZOOOP7+$Z7+$ZOOOP7+$c7+$cO'YOpO,59VO'bOpO,59VO'jO!bO,59eOOOO-E6w-E6wO'xOpO1G.uO'xOpO1G.uOOOP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kU!OQVP{WOr$krs%Usv$kw!^$k!^!_%d!_~$kZ@UWVP{WOr$krs%Usv$kw!^$k!^!_%d!_#P$k#P#Q@n#Q~$kZ@uWVP{WOr$krs%Usv$kw!^$k!^!_%d!_!`$k!`!aA_!a~$kZAhUwQVP{WOr$krs%Usv$kw!^$k!^!_%d!_~$k",tokenizers:[Nye,Fye,Gye,Hye,0,1,2,3],topRules:{Document:[0,6]},tokenPrec:0});function Xh(t,e){let n=e&&e.getChild("TagName");return n?t.sliceString(n.from,n.to):""}function Dm(t,e){let n=e&&e.firstChild;return!n||n.name!="OpenTag"?"":Xh(t,n)}function e$e(t,e,n){let i=e&&e.getChildren("Attribute").find(s=>s.from<=n&&s.to>=n),r=i&&i.getChild("AttributeName");return r?t.sliceString(r.from,r.to):""}function Lm(t){for(let e=t&&t.parent;e;e=e.parent)if(e.name=="Element")return e;return null}function t$e(t,e){var n;let i=jt(t).resolveInner(e,-1),r=null;for(let s=i;!r&&s.parent;s=s.parent)(s.name=="OpenTag"||s.name=="CloseTag"||s.name=="SelfClosingTag"||s.name=="MismatchedCloseTag")&&(r=s);if(r&&(r.to>e||r.lastChild.type.isError)){let s=r.parent;if(i.name=="TagName")return r.name=="CloseTag"||r.name=="MismatchedCloseTag"?{type:"closeTag",from:i.from,context:s}:{type:"openTag",from:i.from,context:Lm(s)};if(i.name=="AttributeName")return{type:"attrName",from:i.from,context:r};if(i.name=="AttributeValue")return{type:"attrValue",from:i.from,context:r};let o=i==r||i.name=="Attribute"?i.childBefore(e):i;return(o==null?void 0:o.name)=="StartTag"?{type:"openTag",from:e,context:Lm(s)}:(o==null?void 0:o.name)=="StartCloseTag"&&o.to<=e?{type:"closeTag",from:e,context:s}:(o==null?void 0:o.name)=="Is"?{type:"attrValue",from:e,context:r}:o?{type:"attrName",from:e,context:r}:null}else if(i.name=="StartCloseTag")return{type:"closeTag",from:e,context:i.parent};for(;i.parent&&i.to==e&&!(!((n=i.lastChild)===null||n===void 0)&&n.type.isError);)i=i.parent;return i.name=="Element"||i.name=="Text"||i.name=="Document"?{type:"tag",from:e,context:i.name=="Element"?i:Lm(i)}:null}class n$e{constructor(e,n,i){this.attrs=n,this.attrValues=i,this.children=[],this.name=e.name,this.completion=Object.assign(Object.assign({type:"type"},e.completion||{}),{label:this.name}),this.openCompletion=Object.assign(Object.assign({},this.completion),{label:"<"+this.name}),this.closeCompletion=Object.assign(Object.assign({},this.completion),{label:"",boost:2}),this.closeNameCompletion=Object.assign(Object.assign({},this.completion),{label:this.name+">"}),this.text=e.textContent?e.textContent.map(r=>({label:r,type:"text"})):[]}}const Bm=/^[:\-\.\w\u00b7-\uffff]*$/;function oP(t){return Object.assign(Object.assign({type:"property"},t.completion||{}),{label:t.name})}function aP(t){return typeof t=="string"?{label:`"${t}"`,type:"constant"}:/^"/.test(t.label)?t:Object.assign(Object.assign({},t),{label:`"${t.label}"`})}function i$e(t,e){let n=[],i=[],r=Object.create(null);for(let l of e){let c=oP(l);n.push(c),l.global&&i.push(c),l.values&&(r[l.name]=l.values.map(aP))}let s=[],o=[],a=Object.create(null);for(let l of t){let c=i,u=r;l.attributes&&(c=c.concat(l.attributes.map(f=>typeof f=="string"?n.find(h=>h.label==f)||{label:f,type:"property"}:(f.values&&(u==r&&(u=Object.create(u)),u[f.name]=f.values.map(aP)),oP(f)))));let O=new n$e(l,c,u);a[O.name]=O,s.push(O),l.top&&o.push(O)}o.length||(o=s);for(let l=0;l{var c;let{doc:u}=l.state,O=t$e(l.state,l.pos);if(!O||O.type=="tag"&&!l.explicit)return null;let{type:f,from:h,context:p}=O;if(f=="openTag"){let y=o,$=Dm(u,p);if($){let m=a[$];y=(m==null?void 0:m.children)||s}return{from:h,options:y.map(m=>m.completion),validFor:Bm}}else if(f=="closeTag"){let y=Dm(u,p);return y?{from:h,to:l.pos+(u.sliceString(l.pos,l.pos+1)==">"?1:0),options:[((c=a[y])===null||c===void 0?void 0:c.closeNameCompletion)||{label:y+">",type:"type"}],validFor:Bm}:null}else if(f=="attrName"){let y=a[Xh(u,p)];return{from:h,options:(y==null?void 0:y.attrs)||i,validFor:Bm}}else if(f=="attrValue"){let y=e$e(u,p,h);if(!y)return null;let $=a[Xh(u,p)],m=(($==null?void 0:$.attrValues)||r)[y];return!m||!m.length?null:{from:h,to:l.pos+(u.sliceString(l.pos,l.pos+1)=='"'?1:0),options:m,validFor:/^"[^"]*"?$/}}else if(f=="tag"){let y=Dm(u,p),$=a[y],m=[],d=p&&p.lastChild;y&&(!d||d.name!="CloseTag"||Xh(u,d)!=y)&&m.push($?$.closeCompletion:{label:"",type:"type",boost:2});let g=m.concat((($==null?void 0:$.children)||(p?s:o)).map(v=>v.openCompletion));if(p&&($==null?void 0:$.text.length)){let v=p.firstChild;v.to>l.pos-20&&!/\S/.test(l.state.sliceDoc(v.to,l.pos))&&(g=g.concat($.text))}return{from:h,options:g,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}else return null}}const lP=qi.define({parser:Jye.configure({props:[or.add({Element(t){let e=/^\s*<\//.test(t.textAfter);return t.lineIndent(t.node.from)+(e?0:t.unit)},"OpenTag CloseTag SelfClosingTag"(t){return t.column(t.node.from)+t.unit}}),ar.add({Element(t){let e=t.firstChild,n=t.lastChild;return!e||e.name!="OpenTag"?null:{from:e.to,to:n.name=="CloseTag"?n.from:t.to}}})]}),languageData:{commentTokens:{block:{open:""}},indentOnInput:/^\s*<\/$/}});function r$e(t={}){return new sr(lP,lP.data.of({autocomplete:i$e(t.elements||[],t.attributes||[])}))}var sX={javascript:ru,typescript:()=>ru({typescript:!0}),jsx:()=>ru({jsx:!0}),tsx:()=>ru({typescript:!0,jsx:!0}),html:$1,css:V4,json:cme,swift:()=>Vi.define(A0e),yaml:()=>Vi.define(G0e),vb:()=>Vi.define(j0e),dockerFile:()=>Vi.define(mpe),shell:()=>Vi.define(O0e),r:()=>Vi.define(Jpe),ruby:()=>Vi.define(l0e),go:()=>Vi.define(eme),julia:()=>Vi.define(Lpe),nginx:()=>Vi.define(Vpe),cpp:npe,java:sme,xml:r$e,php:Jve,sql:()=>Sge({dialect:kge}),markdown:Bme,python:Wye};const s$e=qne(Object.keys(sX)),o$e={name:"CodeEdit",components:{Codemirror:_Oe},props:{show:{required:!0,type:Boolean},originalCode:{required:!0,type:String},filename:{required:!0,type:String}},emits:["update:show","save","closed"],data(){return{languageKey:s$e,curLang:null,status:"\u51C6\u5907\u4E2D",loading:!1,isTips:!1,code:"hello world"}},computed:{extensions(){let t=[];return this.curLang&&t.push(sX[this.curLang]()),t.push(EOe),t},visible:{get(){return this.show},set(t){this.$emit("update:show",t)}}},watch:{originalCode(t){this.code=t},filename(t){try{let e=String(t).toLowerCase();switch(Bne(e)){case"js":return this.curLang="javascript";case"ts":return this.curLang="typescript";case"jsx":return this.curLang="jsx";case"tsx":return this.curLang="tsx";case"html":return this.curLang="html";case"css":return this.curLang="css";case"json":return this.curLang="json";case"swift":return this.curLang="swift";case"yaml":return this.curLang="yaml";case"yml":return this.curLang="yaml";case"vb":return this.curLang="vb";case"dockerfile":return this.curLang="dockerFile";case"sh":return this.curLang="shell";case"r":return this.curLang="r";case"ruby":return this.curLang="ruby";case"go":return this.curLang="go";case"julia":return this.curLang="julia";case"conf":return this.curLang="shell";case"cpp":return this.curLang="cpp";case"java":return this.curLang="java";case"xml":return this.curLang="xml";case"php":return this.curLang="php";case"sql":return this.curLang="sql";case"md":return this.curLang="markdown";case"py":return this.curLang="python";default:return console.log("\u4E0D\u652F\u6301\u7684\u6587\u4EF6\u7C7B\u578B: ",t),console.log("\u9ED8\u8BA4: ","shell"),this.curLang="shell"}}catch(e){console.log("\u672A\u77E5\u6587\u4EF6\u7C7B\u578B",t,e)}}},created(){},methods:{handleSave(){this.isTips?this.$messageBox.confirm("\u6587\u4EF6\u5DF2\u53D8\u66F4, \u786E\u8BA4\u4FDD\u5B58?","Warning",{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",type:"warning"}).then(async()=>{this.visible=!1,this.$emit("save",this.code)}):this.visible=!1},handleClosed(){this.isTips=!1,this.$emit("closed")},handleClose(){this.isTips?this.$messageBox.confirm("\u6587\u4EF6\u5DF2\u53D8\u66F4, \u786E\u8BA4\u4E22\u5F03?","Warning",{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",type:"warning"}).then(async()=>{this.visible=!1}):this.visible=!1},handleChange(){this.isTips=!0}}},a$e={class:"title"},l$e=Ee(" FileName - "),c$e=Ee("\u4FDD\u5B58"),u$e=Ee("\u5173\u95ED");function f$e(t,e,n,i,r,s){const o=Pe("codemirror"),a=b$,l=$$,c=Tn,u=Ba;return L(),be(u,{modelValue:s.visible,"onUpdate:modelValue":e[5]||(e[5]=O=>s.visible=O),width:"80%",top:"20px","close-on-click-modal":!1,"close-on-press-escape":!1,"show-close":!1,center:"","custom-class":"container",onClosed:s.handleClosed},{title:Y(()=>[U("div",a$e,[l$e,U("span",null,de(r.status),1)])]),footer:Y(()=>[U("footer",null,[U("div",null,[B(l,{modelValue:r.curLang,"onUpdate:modelValue":e[4]||(e[4]=O=>r.curLang=O),placeholder:"Select language",size:"small"},{default:Y(()=>[(L(!0),ie(Le,null,Rt(r.languageKey,O=>(L(),be(a,{key:O,label:O,value:O},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),U("div",null,[B(c,{type:"primary",loading:r.loading,onClick:s.handleSave},{default:Y(()=>[c$e]),_:1},8,["loading","onClick"]),B(c,{type:"info",onClick:s.handleClose},{default:Y(()=>[u$e]),_:1},8,["onClick"])])])]),default:Y(()=>[B(o,{modelValue:r.code,"onUpdate:modelValue":e[0]||(e[0]=O=>r.code=O),placeholder:"Code goes here...",style:{height:"79vh",minHeight:"500px"},autofocus:!0,"indent-with-tab":!0,"tab-size":4,extensions:s.extensions,onReady:e[1]||(e[1]=O=>r.status="\u51C6\u5907\u4E2D"),onChange:s.handleChange,onFocus:e[2]||(e[2]=O=>r.status="\u7F16\u8F91\u4E2D"),onBlur:e[3]||(e[3]=O=>r.status="\u672A\u805A\u7126")},null,8,["modelValue","extensions","onChange"])]),_:1},8,["modelValue","onClosed"])}var oX=an(o$e,[["render",f$e]]);const O$e={name:"Tooltip",props:{showAfter:{required:!1,type:Number,default:1e3},content:{required:!0,type:String}},data(){return{}}};function h$e(t,e,n,i,r,s){const o=Rs;return L(),be(o,{effect:"dark","show-after":n.showAfter,"hide-after":0,content:n.content,placement:"bottom"},{default:Y(()=>[We(t.$slots,"default")]),_:3},8,["show-after","content"])}var aX=an(O$e,[["render",h$e]]),cP="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAMAAABrrFhUAAAAYFBMVEUAAAAAAAAAAAD5y30AAAD/2YT+3Yr734n+4Y3+4Yj73H//6qX003Dy0G352Hb623r31nP83n3934D/6J//5pnwzWr/5JTuy2f/45D+4YP/4oz+4Yf/7rfqx2PsyGX/662bMjhOAAAAC3RSTlMAAwsQFCZAd57Q8k2470UAAAh1SURBVHja7d0JYqowEAZgbX21VfYEULRy/1s+3FmyTICGyTI3mK8zPwTRrla+fPny5cuXL1++fPny5cuXL1+iInn5rLxTYbuCMGhX8q6oXXGr0ndljzre6/Suqtp9fy4LUO8DtoAQ4EUQtQViiQALoKp+lhWo6zqeANARiHkC3RHoAVTbhSegrosJAAlvBfgCfYDdwgCNwCMIwADcFOABpMIRWBrgShAMhkAMEABiELIESAD2rSAoYQCB0ghkwhFAANAKgpI1AgwAtkC3/3gwAcwRWBqgqG8C+6bpXhK0CQQACQBAlINLA2Tn+wzUQT4oAQBAALIEaACuBKngWgAEiHgpKBgBBABF/Q4C7sVwRA4y7ocZI4AA4DEE1yAQ3A3wr4WRskB7BPAADIMgFArMNAKIABqCczYGIFEAGIwAKoBGgI4B4AjwAY5YARqBfTgCgC1gIkAjUCcaAI5oAa4EJxAAbwci0wHeQRAKBZJgCsARMcB1DUIWAFAAch3EDdAInJPxAjCAI2aA/f58DwIFAQkAdwSQAjyDQCYwAeCIG4AVBIFIQAbAGwG0ANcgiAbPhlwCeARBbwFCl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H/AwprgtY6JAtgT+ApgD3B2mUvtghgTeArgDXBg68AtgStrZAugC3Bg8vl0CqAJYG/AJYEM38B7Aje+QtgR+AzgBWBzwBWBF4D2BB4DWBD4LQKttaV+9kHKOsPC3B4/P8CrP+wAFnwAF+YAyTcAdzOBYR1Vzk+sfcVIHgPznBvs5DvxM/M20D4AI7PiLytwvAXQ8fnhN4WQfh9qNWDh5S5B/fMLRB+H5pJ5m1g7f4ShZcWCL4KnT83pCrnT06pZmAneReB+6fnfu4Fgvfg2P0NCqJdqOLtwe7rZIFbYIp4j8gPQOAe7AKEbYEE9TadF4CwLaB6ozJjBihTXoCwu4ACIOgiVAEEXYQKgKAzkGDf7PYBEHINqABkzgwQcgaUAMeUGeCJGWDoX1pRA4RsQSVAyBZUAhwjADPAR26ANAJEgAgQASJABIgAESACRIB/HuCFGwC4AYAbALgBgBsAuAGAGwC4AYAboBVgHxygFWATHAC4AYAbALgBgBsAuAGAGwC4AYAb4BLgGw/AW4CvTADADQDcAMANANwAwA0A3ADADQDcAMANANwAEBjgTvHN7SEBFF+cHBZA8c3JYQEUBIEBugSBAboEoQE6BJvgf8B1SxAeoEUQHuCWgAPghoAD4JqAB+CKgAfgQsAF8EbABXAm4AP4TcAH8ErACfCLgBPgRMAL0BDwAjQEzACxYsWKFSsWWf0EuLjGMQSi73MAAAAASUVORK5CYII=",g$e="/assets/refresh.edd046ad.png",v$e="/assets/delete.41fc4989.png",y$e="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAMAAABrrFhUAAAAwFBMVEUAAAAAAAAAAAD/z4AAAAD/2Yb/3Yv/4Y3+4Y4TYqX/4o783oj/6qY3meg4mujz0m/vzGn11HL103Dy0G3413X42Hbwzmv31XM9nOjxz2w1mej/6aL/553/5Zb623r/45D73X3/5JP94IEyl+j/5ptCnuj/5pj/6KA7m+hAnej+4YT+4Yjuymf52Xj/4YztyWX73n/qx2T933/52Xn/7rj/66v/7LAiaqcwcKb/7bQdaagVZqoxkN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hqAKgwA62cBqMIAuH4SgCoMAOznAFC+f7wBQPsdAGD7+QHA/fQA6P5EgO2VEgC8f3P/a/beA6x1APD9aQDbi5UKgEJ/CsBWuH+1tVwMwOGVq7Vs/2ptuRiA4Y1VXosBWOW4AlAACkABKAAFoAAUgALwaQEitiorK5u3/7/ixEmMxy8HAAAAAElFTkSuQmCC";const{io:b$e}=_a,_$e={name:"Sftp",components:{CodeEdit:oX},props:{token:{required:!0,type:String},host:{required:!0,type:String}},emits:["resize"],data(){return{visible:!1,originalCode:"",filename:"",filterKey:"",socket:null,icons:{"-":p$e,l:d$e,d:cP,c:cP,p:Mm,s:Mm,b:Mm},paths:["/"],rootLs:[],childDir:[],childDirLoading:!1,curTarget:null,showFileProgress:!1,upFileProgress:0,curUploadFileName:""}},computed:{curPath(){return this.paths.join("/").replace(/\/{2,}/g,"/")},fileList(){return this.childDir.filter(({name:t})=>t.includes(this.filterKey))}},mounted(){this.connectSftp(),this.adjustHeight()},beforeUnmount(){this.socket&&this.socket.close()},methods:{connectSftp(){let{host:t,token:e}=this;this.socket=b$e(this.$serviceURI,{path:"/sftp",forceNew:!1,reconnectionAttempts:1}),this.socket.on("connect",()=>{console.log("/sftp socket\u5DF2\u8FDE\u63A5\uFF1A",this.socket.id),this.listenSftp(),this.socket.emit("create",{host:t,token:e}),this.socket.on("root_ls",n=>{let i=eS(n).filter(r=>Js(r.type));i.unshift({name:"/",type:"d"}),this.rootLs=i}),this.socket.on("create_fail",n=>{this.$notification({title:"Sftp\u8FDE\u63A5\u5931\u8D25",message:n,type:"error"})}),this.socket.on("token_verify_fail",()=>{this.$notification({title:"Error",message:"token\u6821\u9A8C\u5931\u8D25\uFF0C\u9700\u91CD\u65B0\u767B\u5F55",type:"error"})})}),this.socket.on("disconnect",()=>{console.warn("sftp websocket \u8FDE\u63A5\u65AD\u5F00"),this.showFileProgress&&(this.$notification({title:"\u4E0A\u4F20\u5931\u8D25",message:"\u8BF7\u68C0\u67E5socket\u670D\u52A1\u662F\u5426\u6B63\u5E38",type:"error"}),this.handleRefresh(),this.resetFileStatusFlag())}),this.socket.on("connect_error",n=>{console.error("sftp websocket \u8FDE\u63A5\u9519\u8BEF\uFF1A",n),this.$notification({title:"sftp\u8FDE\u63A5\u5931\u8D25",message:"\u8BF7\u68C0\u67E5socket\u670D\u52A1\u662F\u5426\u6B63\u5E38",type:"error"})})},listenSftp(){this.socket.on("dir_ls",t=>{this.childDir=eS(t),this.childDirLoading=!1}),this.socket.on("not_exists_dir",t=>{this.$message.error(t),this.childDirLoading=!1}),this.socket.on("rm_success",t=>{this.$message.success(t),this.childDirLoading=!1,this.handleRefresh()}),this.socket.on("down_file_success",t=>{const{buffer:e,name:n}=t;Lne({buffer:e,name:n}),this.$message.success("success"),this.resetFileStatusFlag()}),this.socket.on("preview_file_success",t=>{const{buffer:e,name:n}=t;console.log("preview_file: ",n,e),this.originalCode=new TextDecoder().decode(e),this.filename=n,this.visible=!0}),this.socket.on("sftp_error",t=>{console.log("\u64CD\u4F5C\u5931\u8D25:",t),this.$message.error(t),this.resetFileStatusFlag()}),this.socket.on("up_file_progress",t=>{let e=Math.ceil(50+t/2);this.upFileProgress=e>100?100:e}),this.socket.on("down_file_progress",t=>{this.upFileProgress=t})},openRootChild(t){var i;const{name:e,type:n}=t;Js(n)?(this.childDirLoading=!0,this.paths.length=2,this.paths[1]=e,(i=this.$refs["child-dir"])==null||i.scrollTo(0,0),this.openDir(),this.filterKey=""):(console.log("\u6682\u4E0D\u652F\u6301\u6253\u5F00\u6587\u4EF6",e,n),this.$message.warning(`\u6682\u4E0D\u652F\u6301\u6253\u5F00\u6587\u4EF6${e} ${n}`))},openTarget(t){var r;console.log(t);const{name:e,type:n,size:i}=t;if(Js(n))this.paths.push(e),(r=this.$refs["child-dir"])==null||r.scrollTo(0,0),this.openDir();else if(JQ(n)){if(i/1024/1024>1)return this.$message.warning("\u6682\u4E0D\u652F\u6301\u6253\u5F001M\u53CA\u4EE5\u4E0A\u6587\u4EF6, \u8BF7\u4E0B\u8F7D\u672C\u5730\u67E5\u770B");const s=this.getPath(e);this.socket.emit("down_file",{path:s,name:e,size:i,target:"preview"})}else this.$message.warning(`\u6682\u4E0D\u652F\u6301\u6253\u5F00\u6587\u4EF6${e} ${n}`)},handleSaveCode(t){let e=new TextEncoder("utf-8").encode(t),n=this.filename;const i=this.getPath(n),r=this.curPath;this.socket.emit("up_file",{targetPath:r,fullPath:i,name:n,file:e})},handleClosedCode(){this.filename="",this.originalCode=""},selectFile(t){this.curTarget=t},handleReturn(){this.paths.length!==1&&(this.paths.pop(),this.openDir())},handleRefresh(){this.openDir()},handleDownload(){if(this.curTarget===null)return this.$message.warning("\u5148\u9009\u62E9\u4E00\u4E2A\u6587\u4EF6");const{name:t,size:e,type:n}=this.curTarget;if(Js(n))return this.$message.error("\u6682\u4E0D\u652F\u6301\u4E0B\u8F7D\u6587\u4EF6\u5939");this.$messageBox.confirm(`\u786E\u8BA4\u4E0B\u8F7D\uFF1A${t}`,"Warning",{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",type:"warning"}).then(()=>{this.childDirLoading=!0;const i=this.getPath(t);Js(n)||(JQ(n)?(this.showFileProgress=!0,this.socket.emit("down_file",{path:i,name:t,size:e,target:"down"})):this.$message.error("\u4E0D\u652F\u6301\u4E0B\u8F7D\u7684\u6587\u4EF6\u7C7B\u578B"))})},handleDelete(){if(this.curTarget===null)return this.$message.warning("\u5148\u9009\u62E9\u4E00\u4E2A\u6587\u4EF6(\u5939)");const{name:t,type:e}=this.curTarget;this.$messageBox.confirm(`\u786E\u8BA4\u5220\u9664\uFF1A${t}`,"Warning",{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",type:"warning"}).then(()=>{this.childDirLoading=!0;const n=this.getPath(t);Js(e)?this.socket.emit("rm_dir",n):this.socket.emit("rm_file",n)})},async handleUpload(t){if(this.showFileProgress)return this.$message.warning("\u9700\u7B49\u5F85\u5F53\u524D\u4EFB\u52A1\u5B8C\u6210");let{files:e}=t.target;for(let n of e){console.log(n);try{await this.uploadFile(n)}catch(i){this.$message.error(i)}}this.$refs.upload_file.value=""},uploadFile(t){return new Promise((e,n)=>{if(!t)return n("file is not defined");t.size/1024/1024>1e3&&this.$message.warn("\u7528\u7F51\u9875\u4F20\u8FD9\u4E48\u5927\u6587\u4EF6\u4F60\u662F\u8BA4\u771F\u7684\u5417?");let i=new FileReader;i.onload=async r=>{const{name:s}=t,o=this.getPath(s),a=this.curPath;this.curUploadFileName=s,this.socket.emit("create_cache_dir",{targetPath:a,name:s}),this.socket.once("create_cache_success",async()=>{let l=0,c=0,u=1024*512,O=t.size,f=0,h=!1;try{console.log("=========\u5F00\u59CB\u4E0A\u4F20\u5206\u7247========="),this.upFileProgress=0,this.showFileProgress=!0,this.childDirLoading=!0;let p=Math.ceil(O/u);for(;c{h||(console.log("=========\u670D\u52A1\u7AEF\u4E0A\u4F20\u81F3\u5BA2\u6237\u7AEF\u4E0A\u4F20\u5B8C\u6210\u2714========="),this.handleRefresh(),this.resetFileStatusFlag(),h=!0,e())}),this.socket.once("up_file_fail",y=>{h||(console.log("=========\u670D\u52A1\u7AEF\u4E0A\u4F20\u81F3\u5BA2\u6237\u7AEF\u4E0A\u4F20\u5931\u8D25\u274C========="),this.$message.error(y),this.handleRefresh(),this.resetFileStatusFlag(),h=!0,n())})}catch(p){n(p);let y=`\u4E0A\u4F20\u5931\u8D25, ${p}`;console.error(y),this.$message.error(y),this.handleRefresh(),this.resetFileStatusFlag()}})},i.readAsArrayBuffer(t)})},resetFileStatusFlag(){this.upFileProgress=0,this.curUploadFileName="",this.showFileProgress=!1,this.childDirLoading=!1},uploadSliceFile(t){return new Promise((e,n)=>{this.socket.emit("up_file_slice",t),this.socket.once("up_file_slice_success",()=>{e()}),this.socket.once("up_file_slice_fail",()=>{n("\u5206\u7247\u6587\u4EF6\u4E0A\u4F20\u5931\u8D25")}),this.socket.once("not_exists_dir",i=>{n(i)})})},openDir(){this.childDirLoading=!0,this.curTarget=null,this.socket.emit("open_dir",this.curPath)},getPath(t=""){return this.curPath.length===1?`/${t}`:`${this.curPath}/${t}`},adjustHeight(){let t=!1,e=null;this.$nextTick(()=>{let n=localStorage.getItem("sftpHeight");n?document.querySelector(".sftp-container").style.height=n:document.querySelector(".sftp-container").style.height="33vh",this.$refs.adjust.addEventListener("mousedown",()=>{t=!0}),document.addEventListener("mousemove",i=>{!t||(e&&clearTimeout(e),e=setTimeout(()=>{n=`calc(100vh - ${i.pageY}px)`,document.querySelector(".sftp-container").style.height=n,this.$emit("resize")}))}),document.addEventListener("mouseup",i=>{!t||(t=!1,n=`calc(100vh - ${i.pageY}px)`,localStorage.setItem("sftpHeight",n))})})}}},Q$e=t=>(fc("data-v-cfc1f20e"),t=t(),Oc(),t),S$e={class:"sftp-container"},w$e={ref:"adjust",class:"adjust"},x$e={class:"left box"},P$e=Q$e(()=>U("div",{class:"header"},[U("div",{class:"operation"},[Ee(" \u6839\u76EE\u5F55 "),U("span",{style:{"font-size":"12px",color:"gray",transform:"scale(0.8)","margin-left":"-10px"}}," (\u5355\u51FB\u9009\u62E9, \u53CC\u51FB\u6253\u5F00) ")])],-1)),k$e={class:"dir-list"},C$e=["onClick"],T$e=["src","alt"],R$e={class:"right box"},A$e={class:"header"},E$e={class:"operation"},X$e={class:"img"},W$e={class:"img"},z$e={class:"img"},I$e={class:"img"},q$e={class:"img"},U$e={class:"filter-input"},D$e={class:"path"},L$e={key:0},B$e={key:0,ref:"child-dir","element-loading-text":"\u52A0\u8F7D\u4E2D...",class:"dir-list"},M$e=["onClick","onDblclick"],Y$e=["src","alt"],Z$e={key:1};function V$e(t,e,n,i,r,s){const o=aX,a=si,l=cT,c=zF,u=oX,O=yc;return L(),ie("div",S$e,[U("div",w$e,null,512),U("section",null,[U("div",x$e,[P$e,U("ul",k$e,[(L(!0),ie(Le,null,Rt(r.rootLs,f=>(L(),ie("li",{key:f.name,onClick:h=>s.openRootChild(f)},[U("img",{src:r.icons[f.type],alt:f.type},null,8,T$e),U("span",null,de(f.name),1)],8,C$e))),128))])]),U("div",R$e,[U("div",A$e,[U("div",E$e,[B(o,{content:"\u4E0A\u7EA7\u76EE\u5F55"},{default:Y(()=>[U("div",X$e,[U("img",{src:m$e,alt:"",onClick:e[0]||(e[0]=(...f)=>s.handleReturn&&s.handleReturn(...f))})])]),_:1}),B(o,{content:"\u5237\u65B0"},{default:Y(()=>[U("div",W$e,[U("img",{src:g$e,style:{width:"15px",height:"15px","margin-top":"2px","margin-left":"2px"},onClick:e[1]||(e[1]=(...f)=>s.handleRefresh&&s.handleRefresh(...f))})])]),_:1}),B(o,{content:"\u5220\u9664"},{default:Y(()=>[U("div",z$e,[U("img",{src:v$e,style:{height:"20px",width:"20px"},onClick:e[2]||(e[2]=(...f)=>s.handleDelete&&s.handleDelete(...f))})])]),_:1}),B(o,{content:"\u4E0B\u8F7D\u9009\u62E9\u6587\u4EF6"},{default:Y(()=>[U("div",I$e,[U("img",{src:y$e,style:{height:"22px",width:"22px","margin-left":"-3px"},onClick:e[3]||(e[3]=(...f)=>s.handleDownload&&s.handleDownload(...f))})])]),_:1}),B(o,{content:"\u4E0A\u4F20\u5230\u5F53\u524D\u76EE\u5F55"},{default:Y(()=>[U("div",q$e,[U("img",{src:$$e,style:{width:"19px",height:"19px"},onClick:e[4]||(e[4]=f=>t.$refs.upload_file.click())}),U("input",{ref:"upload_file",type:"file",style:{display:"none"},multiple:"",onChange:e[5]||(e[5]=(...f)=>s.handleUpload&&s.handleUpload(...f))},null,544)])]),_:1})]),U("div",U$e,[B(a,{modelValue:r.filterKey,"onUpdate:modelValue":e[6]||(e[6]=f=>r.filterKey=f),size:"small",placeholder:"Filter Files",clearable:""},null,8,["modelValue"])]),U("span",D$e,de(s.curPath),1),r.showFileProgress?(L(),ie("div",L$e,[U("span",null,de(r.curUploadFileName),1),B(l,{class:"up-file-progress-wrap",percentage:r.upFileProgress},null,8,["percentage"])])):Qe("",!0)]),s.fileList.length!==0?it((L(),ie("ul",B$e,[(L(!0),ie(Le,null,Rt(s.fileList,f=>(L(),ie("li",{key:f.name,class:te(r.curTarget===f?"active":""),onClick:h=>s.selectFile(f),onDblclick:h=>s.openTarget(f)},[U("img",{src:r.icons[f.type],alt:f.type},null,8,Y$e),U("span",null,de(f.name),1)],42,M$e))),128))])),[[O,r.childDirLoading]]):(L(),ie("div",Z$e,[B(c,{"image-size":100,description:"\u7A7A\u7A7A\u5982\u4E5F~"})]))])]),B(u,{show:r.visible,"onUpdate:show":e[7]||(e[7]=f=>r.visible=f),"original-code":r.originalCode,filename:r.filename,onSave:s.handleSaveCode,onClosed:s.handleClosedCode},null,8,["show","original-code","filename","onSave","onClosed"])])}var j$e=an(_$e,[["render",V$e],["__scopeId","data-v-cfc1f20e"]]);const N$e={name:"Terminals",components:{TerminalTab:Jre,InfoSide:Mse,SftpFooter:j$e,InputCommand:PR},data(){return{name:"",host:"",token:this.$store.token,activeTab:"",terminalTabs:[],isFullScreen:!1,timer:null,showSftp:!1,showInputCommand:!1,visible:!0}},computed:{closable(){return this.terminalTabs.length>1}},watch:{showInputCommand(t){t||(this.$refs["info-side"].inputCommandStatus=!1)}},created(){if(!this.token)return this.$router.push("login");let{host:t,name:e}=this.$route.query;this.name=e,this.host=t,document.title=`${document.title}-${e}`;let n=Date.now().toString();this.terminalTabs.push({title:e,key:n}),this.activeTab=n,this.registryDbClick()},methods:{connectSftp(t){this.showSftp=t,this.resizeTerminal()},clickInputComand(){this.showInputCommand=!0},tabAdd(){this.timer&&clearTimeout(this.timer),this.timer=setTimeout(()=>{let{name:t}=this,e=t,n=Date.now().toString();this.terminalTabs.push({title:e,key:n}),this.activeTab=n,this.registryDbClick()},200)},removeTab(t){let e=this.terminalTabs.findIndex(({key:n})=>t===n);this.terminalTabs.splice(e,1),t===this.activeTab&&(this.activeTab=this.terminalTabs[0].key)},tabChange(t){this.$refs[t][0].focusTab()},handleFullScreen(){this.isFullScreen?document.exitFullscreen():document.getElementsByClassName("terminals")[0].requestFullscreen(),this.isFullScreen=!this.isFullScreen},registryDbClick(){this.$nextTick(()=>{Array.from(document.getElementsByClassName("el-tabs__item")).forEach(e=>{e.removeEventListener("dblclick",this.handleDblclick),e.addEventListener("dblclick",this.handleDblclick)})})},handleDblclick(t){if(this.terminalTabs.length>1){let e=t.target.id.substring(4);this.removeTab(e)}},handleVisibleSidebar(){this.visible=!this.visible,this.resizeTerminal()},resizeTerminal(){let t=this.$refs;for(let e in t){const{handleResize:n}=this.$refs[e][0]||{};n&&n()}},handleInputCommand(t){this.$refs[this.activeTab][0].handleInputCommand(`${t} +`),this.showInputCommand=!1}}},F$e={class:"container"},G$e={class:"terminals"},H$e={key:0,class:"sftp"};function K$e(t,e,n,i,r,s){const o=Pe("InfoSide"),a=Tn,l=E$,c=Pe("TerminalTab"),u=_T,O=bT,f=Pe("SftpFooter"),h=PR;return L(),ie("div",F$e,[B(o,{ref:"info-side",token:r.token,host:r.host,visible:r.visible,onConnectSftp:s.connectSftp,onClickInputCommand:s.clickInputComand},null,8,["token","host","visible","onConnectSftp","onClickInputCommand"]),U("section",null,[U("div",G$e,[B(a,{class:"full-screen-button",type:"success",onClick:s.handleFullScreen},{default:Y(()=>[Ee(de(r.isFullScreen?"\u9000\u51FA\u5168\u5C4F":"\u5168\u5C4F"),1)]),_:1},8,["onClick"]),U("div",{class:"visible",onClick:e[0]||(e[0]=(...p)=>s.handleVisibleSidebar&&s.handleVisibleSidebar(...p))},[B(l,{name:"icon-jiantou_zuoyouqiehuan",class:"svg-icon"})]),B(O,{modelValue:r.activeTab,"onUpdate:modelValue":e[1]||(e[1]=p=>r.activeTab=p),type:"border-card",addable:"","tab-position":"top",onTabRemove:s.removeTab,onTabChange:s.tabChange,onTabAdd:s.tabAdd},{default:Y(()=>[(L(!0),ie(Le,null,Rt(r.terminalTabs,p=>(L(),be(u,{key:p.key,label:p.title,name:p.key,closable:s.closable},{default:Y(()=>[B(c,{ref_for:!0,ref:p.key,token:r.token,host:r.host},null,8,["token","host"])]),_:2},1032,["label","name","closable"]))),128))]),_:1},8,["modelValue","onTabRemove","onTabChange","onTabAdd"])]),r.showSftp?(L(),ie("div",H$e,[B(f,{token:r.token,host:r.host,onResize:s.resizeTerminal},null,8,["token","host","onResize"])])):Qe("",!0)]),B(h,{show:r.showInputCommand,"onUpdate:show":e[2]||(e[2]=p=>r.showInputCommand=p),onInputCommand:s.handleInputCommand},null,8,["show","onInputCommand"])])}var J$e=an(N$e,[["render",K$e],["__scopeId","data-v-21820ee2"]]);const e1e={name:"Test",data(){return{}}};function t1e(t,e,n,i,r,s){return L(),ie("div")}var n1e=an(e1e,[["render",t1e]]);const i1e=[{path:"/",component:xre},{path:"/login",component:Ire},{path:"/terminal",component:J$e},{path:"/test",component:n1e}];var py=kee({history:YJ(),routes:i1e});Jd.defaults.timeout=10*1e3;Jd.defaults.withCredentials=!0;Jd.defaults.baseURL="/api/v1";const Dt=Jd.create();Dt.interceptors.request.use(t=>(t.headers.token=cX().token,t),t=>(mo.error({message:"\u8BF7\u6C42\u8D85\u65F6\uFF01"}),Promise.reject(t)));Dt.interceptors.response.use(t=>{if(t.status===200)return t.data},t=>{var n;let{response:e}=t;if((n=t==null?void 0:t.message)!=null&&n.includes("timeout"))return mo({message:"\u8BF7\u6C42\u8D85\u65F6",type:"error",center:!0}),Promise.reject(t);switch(e==null?void 0:e.data.status){case 401:return py.push("login"),Promise.reject(t);case 403:return py.push("login"),Promise.reject(t)}switch(e==null?void 0:e.status){case 404:return mo({message:"404 Not Found",type:"error",center:!0}),Promise.reject(t)}return mo({message:(e==null?void 0:e.data.msg)||(t==null?void 0:t.message)||"\u7F51\u7EDC\u9519\u8BEF",type:"error",center:!0}),Promise.reject(t)});var A1={getOsInfo(t={}){return Dt({url:"/monitor",method:"get",params:t})},getIpInfo(t={}){return Dt({url:"/ip-info",method:"get",params:t})},updateSSH(t){return Dt({url:"/update-ssh",method:"post",data:t})},removeSSH(t){return Dt({url:"/remove-ssh",method:"post",data:{host:t}})},existSSH(t){return Dt({url:"/exist-ssh",method:"post",data:{host:t}})},getCommand(t){return Dt({url:"/command",method:"get",params:{host:t}})},getHostList(){return Dt({url:"/host-list",method:"get"})},saveHost(t){return Dt({url:"/host-save",method:"post",data:t})},updateHost(t){return Dt({url:"/host-save",method:"put",data:t})},removeHost(t){return Dt({url:"/host-remove",method:"post",data:t})},getPubPem(){return Dt({url:"/get-pub-pem",method:"get"})},login(t){return Dt({url:"/login",method:"post",data:t})},getLoginRecord(){return Dt({url:"/get-login-record",method:"get"})},updatePwd(t){return Dt({url:"/pwd",method:"put",data:t})},updateHostSort(t){return Dt({url:"/host-sort",method:"put",data:t})},getUserEmailList(){return Dt({url:"/user-email",method:"get"})},getSupportEmailList(){return Dt({url:"/support-email",method:"get"})},updateUserEmailList(t){return Dt({url:"/user-email",method:"post",data:t})},deleteUserEmail(t){return Dt({url:`/user-email/${t}`,method:"delete"})},pushTestEmail(t){return Dt({url:"/push-email",method:"post",data:t})},getNotifyList(){return Dt({url:"/notify",method:"get"})},updateNotifyList(t){return Dt({url:"/notify",method:"put",data:t})},getGroupList(){return Dt({url:"/group",method:"get"})},addGroup(t){return Dt({url:"/group",method:"post",data:t})},updateGroup(t,e){return Dt({url:`/group/${t}`,method:"put",data:e})},deleteGroup(t){return Dt({url:`/group/${t}`,method:"delete"})}};function r1e(t){return new Promise((e,n)=>{let i=new Image;i.onload=()=>e(),i.onerror=()=>n(),i.src=t+"?random-no-cache="+Math.floor((1+Math.random())*65536).toString(16)})}function lX(t,e=5e3){return new Promise((n,i)=>{let r=Date.now(),s=()=>{let o=Date.now()-r+"ms";n(o)};r1e(t).then(s).catch(s),setTimeout(()=>{n("timeout")},e)})}const s1e=e3({id:"global",state:()=>({hostList:[],token:sessionStorage.getItem("token")||localStorage.getItem("token")||null}),actions:{async setJwtToken(t,e=!0){e?sessionStorage.setItem("token",t):localStorage.setItem("token",t),this.$patch({token:t})},async clearJwtToken(){localStorage.clear("token"),sessionStorage.clear("token"),this.$patch({token:null})},async getHostList(){const{data:t}=await A1.getHostList();this.$patch({hostList:t})},getHostPing(){setTimeout(()=>{this.hostList.forEach(t=>{const{host:e}=t;lX(`http://${e}:22022`).then(n=>{t.ping=n})}),console.clear()},1500)},async sortHostList(t){let e=t.map(({host:n})=>this.hostList.find(i=>i.host===n));this.$patch({hostList:e})}}});var cX=s1e,o1e={toFixed(t,e=1){return t=Number(t),isNaN(t)?"--":t.toFixed(e)},formatTime(t=0){let e=Math.floor(t/60/60/24),n=Math.floor(t/60/60%24),i=Math.floor(t/60%60);return`${e}\u5929${n}\u65F6${i}\u5206`},formatNetSpeed(t){return t=Number(t)||0,t>=1?`${t.toFixed(2)} MB/s`:`${(t*1024).toFixed(1)} KB/s`},formatTimestamp:(t,e="time")=>{if(typeof t!="number")return"--";let n=new Date(t),i=u=>String(u).padStart(2,"0"),r=n.getFullYear(),s=i(n.getMonth()+1),o=i(n.getDate()),a=i(n.getHours()),l=i(n.getMinutes()),c=i(n.getSeconds());switch(e){case"date":return`${r}-${s}-${o}`;case"time":return`${r}-${s}-${o} ${a}:${l}:${c}`;default:return`${r}-${s}-${o} ${a}:${l}:${c}`}},ping:lX},a1e=t=>{t.config.globalProperties.$ELEMENT={size:"default"},t.config.globalProperties.$message=mo,t.config.globalProperties.$messageBox=Yg,t.config.globalProperties.$notification=wJ},l1e=t=>{t.component("SvgIcon",E$),t.component("Tooltip",aX)},uX={},fX={};(function(t){Object.defineProperty(t,"__esModule",{value:!0});var e={name:"zh-cn",el:{colorpicker:{confirm:"\u786E\u5B9A",clear:"\u6E05\u7A7A"},datepicker:{now:"\u6B64\u523B",today:"\u4ECA\u5929",cancel:"\u53D6\u6D88",clear:"\u6E05\u7A7A",confirm:"\u786E\u5B9A",selectDate:"\u9009\u62E9\u65E5\u671F",selectTime:"\u9009\u62E9\u65F6\u95F4",startDate:"\u5F00\u59CB\u65E5\u671F",startTime:"\u5F00\u59CB\u65F6\u95F4",endDate:"\u7ED3\u675F\u65E5\u671F",endTime:"\u7ED3\u675F\u65F6\u95F4",prevYear:"\u524D\u4E00\u5E74",nextYear:"\u540E\u4E00\u5E74",prevMonth:"\u4E0A\u4E2A\u6708",nextMonth:"\u4E0B\u4E2A\u6708",year:"\u5E74",month1:"1 \u6708",month2:"2 \u6708",month3:"3 \u6708",month4:"4 \u6708",month5:"5 \u6708",month6:"6 \u6708",month7:"7 \u6708",month8:"8 \u6708",month9:"9 \u6708",month10:"10 \u6708",month11:"11 \u6708",month12:"12 \u6708",weeks:{sun:"\u65E5",mon:"\u4E00",tue:"\u4E8C",wed:"\u4E09",thu:"\u56DB",fri:"\u4E94",sat:"\u516D"},months:{jan:"\u4E00\u6708",feb:"\u4E8C\u6708",mar:"\u4E09\u6708",apr:"\u56DB\u6708",may:"\u4E94\u6708",jun:"\u516D\u6708",jul:"\u4E03\u6708",aug:"\u516B\u6708",sep:"\u4E5D\u6708",oct:"\u5341\u6708",nov:"\u5341\u4E00\u6708",dec:"\u5341\u4E8C\u6708"}},select:{loading:"\u52A0\u8F7D\u4E2D",noMatch:"\u65E0\u5339\u914D\u6570\u636E",noData:"\u65E0\u6570\u636E",placeholder:"\u8BF7\u9009\u62E9"},cascader:{noMatch:"\u65E0\u5339\u914D\u6570\u636E",loading:"\u52A0\u8F7D\u4E2D",placeholder:"\u8BF7\u9009\u62E9",noData:"\u6682\u65E0\u6570\u636E"},pagination:{goto:"\u524D\u5F80",pagesize:"\u6761/\u9875",total:"\u5171 {total} \u6761",pageClassifier:"\u9875",deprecationWarning:"\u4F60\u4F7F\u7528\u4E86\u4E00\u4E9B\u5DF2\u88AB\u5E9F\u5F03\u7684\u7528\u6CD5\uFF0C\u8BF7\u53C2\u8003 el-pagination \u7684\u5B98\u65B9\u6587\u6863"},messagebox:{title:"\u63D0\u793A",confirm:"\u786E\u5B9A",cancel:"\u53D6\u6D88",error:"\u8F93\u5165\u7684\u6570\u636E\u4E0D\u5408\u6CD5!"},upload:{deleteTip:"\u6309 delete \u952E\u53EF\u5220\u9664",delete:"\u5220\u9664",preview:"\u67E5\u770B\u56FE\u7247",continue:"\u7EE7\u7EED\u4E0A\u4F20"},table:{emptyText:"\u6682\u65E0\u6570\u636E",confirmFilter:"\u7B5B\u9009",resetFilter:"\u91CD\u7F6E",clearFilter:"\u5168\u90E8",sumText:"\u5408\u8BA1"},tree:{emptyText:"\u6682\u65E0\u6570\u636E"},transfer:{noMatch:"\u65E0\u5339\u914D\u6570\u636E",noData:"\u65E0\u6570\u636E",titles:["\u5217\u8868 1","\u5217\u8868 2"],filterPlaceholder:"\u8BF7\u8F93\u5165\u641C\u7D22\u5185\u5BB9",noCheckedFormat:"\u5171 {total} \u9879",hasCheckedFormat:"\u5DF2\u9009 {checked}/{total} \u9879"},image:{error:"\u52A0\u8F7D\u5931\u8D25"},pageHeader:{title:"\u8FD4\u56DE"},popconfirm:{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88"}}};t.default=e})(fX);(function(t){Object.defineProperty(t,"__esModule",{value:!0});var e=fX;t.default=e.default})(uX);var c1e=t3(uX);const u1e={name:"App",data(){return{locale:c1e}}};function f1e(t,e,n,i,r,s){const o=Pe("router-view"),a=HZ;return L(),be(a,{locale:r.locale},{default:Y(()=>[B(o)]),_:1},8,["locale"])}var O1e=an(u1e,[["render",f1e]]);const Xs=Qk(O1e);a1e(Xs);l1e(Xs);Xs.use(F6());Xs.use(py);Xs.config.globalProperties.$api=A1;Xs.config.globalProperties.$tools=o1e;Xs.config.globalProperties.$store=cX();const OX=location.origin;Xs.config.globalProperties.$serviceURI=OX;console.warn("ISDEV: ",!1);console.warn("serviceURI: ",OX);Xs.mount("#app")});export default h1e(); diff --git a/server/app/static/assets/index.5de3ed69.js.gz b/server/app/static/assets/index.5de3ed69.js.gz new file mode 100644 index 0000000..37fe3ed Binary files /dev/null and b/server/app/static/assets/index.5de3ed69.js.gz differ diff --git a/server/app/static/assets/index.a9194a35.css.gz b/server/app/static/assets/index.a9194a35.css.gz deleted file mode 100644 index 5588912..0000000 Binary files a/server/app/static/assets/index.a9194a35.css.gz and /dev/null differ diff --git a/server/app/static/assets/index.a9194a35.css b/server/app/static/assets/index.cf7d36d4.css similarity index 92% rename from server/app/static/assets/index.a9194a35.css rename to server/app/static/assets/index.cf7d36d4.css index 5baae6a..43d1f95 100644 --- a/server/app/static/assets/index.a9194a35.css +++ b/server/app/static/assets/index.cf7d36d4.css @@ -1,32 +1,32 @@ -@charset "UTF-8";.el-message{--el-message-min-width: 380px;--el-message-bg-color: var(--el-color-info-light-9);--el-message-border-color: var(--el-border-color-lighter);--el-message-padding: 15px 15px 15px 20px;--el-message-close-size: 16px;--el-message-close-icon-color: var(--el-text-color-placeholder);--el-message-close-hover-color: var(--el-text-color-secondary)}.el-message{min-width:var(--el-message-min-width);box-sizing:border-box;border-radius:var(--el-border-radius-base);border-width:var(--el-border-width-base);border-style:var(--el-border-style-base);border-color:var(--el-message-border-color);position:fixed;left:50%;top:20px;transform:translate(-50%);transition:opacity .3s,transform .4s,top .4s;background-color:var(--el-message-bg-color);transition:opacity var(--el-transition-duration),transform .4s,top .4s;padding:var(--el-message-padding);display:flex;align-items:center}.el-message.is-center{justify-content:center}.el-message.is-closable .el-message__content{padding-right:16px}.el-message p{margin:0}.el-message--success{--el-message-bg-color: var(--el-color-success-light-9);--el-message-border-color: var(--el-color-success-light-8);--el-message-text-color: var(--el-color-success)}.el-message--success .el-message__content,.el-message .el-message-icon--success{color:var(--el-message-text-color)}.el-message--info{--el-message-bg-color: var(--el-color-info-light-9);--el-message-border-color: var(--el-color-info-light-8);--el-message-text-color: var(--el-color-info)}.el-message--info .el-message__content,.el-message .el-message-icon--info{color:var(--el-message-text-color)}.el-message--warning{--el-message-bg-color: var(--el-color-warning-light-9);--el-message-border-color: var(--el-color-warning-light-8);--el-message-text-color: var(--el-color-warning)}.el-message--warning .el-message__content,.el-message .el-message-icon--warning{color:var(--el-message-text-color)}.el-message--error{--el-message-bg-color: var(--el-color-error-light-9);--el-message-border-color: var(--el-color-error-light-8);--el-message-text-color: var(--el-color-error)}.el-message--error .el-message__content,.el-message .el-message-icon--error{color:var(--el-message-text-color)}.el-message__icon{margin-right:10px}.el-message .el-message__badge{position:absolute;top:-8px;right:-8px}.el-message__content{padding:0;font-size:14px;line-height:1}.el-message__content:focus{outline-width:0}.el-message .el-message__closeBtn{position:absolute;top:50%;right:15px;transform:translateY(-50%);cursor:pointer;color:var(--el-message-close-icon-color);font-size:var(--el-message-close-size)}.el-message .el-message__closeBtn:focus{outline-width:0}.el-message .el-message__closeBtn:hover{color:var(--el-message-close-hover-color)}.el-message-fade-enter-from,.el-message-fade-leave-to{opacity:0;transform:translate(-50%,-100%)}:root{--el-color-white:#ffffff;--el-color-black:#000000;--el-color-primary-rgb:64,158,255;--el-color-success-rgb:103,194,58;--el-color-warning-rgb:230,162,60;--el-color-danger-rgb:245,108,108;--el-color-error-rgb:245,108,108;--el-color-info-rgb:144,147,153;--el-font-size-extra-large:20px;--el-font-size-large:18px;--el-font-size-medium:16px;--el-font-size-base:14px;--el-font-size-small:13px;--el-font-size-extra-small:12px;--el-font-family:"Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","\5fae\8f6f\96c5\9ed1",Arial,sans-serif;--el-font-weight-primary:500;--el-font-line-height-primary:24px;--el-index-normal:1;--el-index-top:1000;--el-index-popper:2000;--el-border-radius-base:4px;--el-border-radius-small:2px;--el-border-radius-round:20px;--el-border-radius-circle:100%;--el-transition-duration:.3s;--el-transition-duration-fast:.2s;--el-transition-function-ease-in-out-bezier:cubic-bezier(.645, .045, .355, 1);--el-transition-function-fast-bezier:cubic-bezier(.23, 1, .32, 1);--el-transition-all:all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);--el-transition-fade:opacity var(--el-transition-duration) var(--el-transition-function-fast-bezier);--el-transition-md-fade:transform var(--el-transition-duration) var(--el-transition-function-fast-bezier),opacity var(--el-transition-duration) var(--el-transition-function-fast-bezier);--el-transition-fade-linear:opacity var(--el-transition-duration-fast) linear;--el-transition-border:border-color var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-transition-box-shadow:box-shadow var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-transition-color:color var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-component-size-large:40px;--el-component-size:32px;--el-component-size-small:24px}:root{color-scheme:light;--el-color-white:#ffffff;--el-color-black:#000000;--el-color-primary:#409eff;--el-color-primary-light-3:#79bbff;--el-color-primary-light-5:#a0cfff;--el-color-primary-light-7:#c6e2ff;--el-color-primary-light-8:#d9ecff;--el-color-primary-light-9:#ecf5ff;--el-color-primary-dark-2:#337ecc;--el-color-success:#67c23a;--el-color-success-light-3:#95d475;--el-color-success-light-5:#b3e19d;--el-color-success-light-7:#d1edc4;--el-color-success-light-8:#e1f3d8;--el-color-success-light-9:#f0f9eb;--el-color-success-dark-2:#529b2e;--el-color-warning:#e6a23c;--el-color-warning-light-3:#eebe77;--el-color-warning-light-5:#f3d19e;--el-color-warning-light-7:#f8e3c5;--el-color-warning-light-8:#faecd8;--el-color-warning-light-9:#fdf6ec;--el-color-warning-dark-2:#b88230;--el-color-danger:#f56c6c;--el-color-danger-light-3:#f89898;--el-color-danger-light-5:#fab6b6;--el-color-danger-light-7:#fcd3d3;--el-color-danger-light-8:#fde2e2;--el-color-danger-light-9:#fef0f0;--el-color-danger-dark-2:#c45656;--el-color-error:#f56c6c;--el-color-error-light-3:#f89898;--el-color-error-light-5:#fab6b6;--el-color-error-light-7:#fcd3d3;--el-color-error-light-8:#fde2e2;--el-color-error-light-9:#fef0f0;--el-color-error-dark-2:#c45656;--el-color-info:#909399;--el-color-info-light-3:#b1b3b8;--el-color-info-light-5:#c8c9cc;--el-color-info-light-7:#dedfe0;--el-color-info-light-8:#e9e9eb;--el-color-info-light-9:#f4f4f5;--el-color-info-dark-2:#73767a;--el-bg-color:#ffffff;--el-bg-color-page:#f2f3f5;--el-bg-color-overlay:#ffffff;--el-text-color-primary:#303133;--el-text-color-regular:#606266;--el-text-color-secondary:#909399;--el-text-color-placeholder:#a8abb2;--el-text-color-disabled:#c0c4cc;--el-border-color:#dcdfe6;--el-border-color-light:#e4e7ed;--el-border-color-lighter:#ebeef5;--el-border-color-extra-light:#f2f6fc;--el-border-color-dark:#d4d7de;--el-border-color-darker:#cdd0d6;--el-fill-color:#f0f2f5;--el-fill-color-light:#f5f7fa;--el-fill-color-lighter:#fafafa;--el-fill-color-extra-light:#fafcff;--el-fill-color-dark:#ebedf0;--el-fill-color-darker:#e6e8eb;--el-fill-color-blank:#ffffff;--el-box-shadow:0px 12px 32px 4px rgba(0, 0, 0, .04),0px 8px 20px rgba(0, 0, 0, .08);--el-box-shadow-light:0px 0px 12px rgba(0, 0, 0, .12);--el-box-shadow-lighter:0px 0px 6px rgba(0, 0, 0, .12);--el-box-shadow-dark:0px 16px 48px 16px rgba(0, 0, 0, .08),0px 12px 32px rgba(0, 0, 0, .12),0px 8px 16px -8px rgba(0, 0, 0, .16);--el-disabled-bg-color:var(--el-fill-color-light);--el-disabled-text-color:var(--el-text-color-placeholder);--el-disabled-border-color:var(--el-border-color-light);--el-overlay-color:rgba(0, 0, 0, .8);--el-overlay-color-light:rgba(0, 0, 0, .7);--el-overlay-color-lighter:rgba(0, 0, 0, .5);--el-mask-color:rgba(255, 255, 255, .9);--el-mask-color-extra-light:rgba(255, 255, 255, .3);--el-border-width:1px;--el-border-style:solid;--el-border-color-hover:var(--el-text-color-disabled);--el-border:var(--el-border-width) var(--el-border-style) var(--el-border-color);--el-svg-monochrome-grey:var(--el-border-color)}.fade-in-linear-enter-active,.fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.fade-in-linear-enter-from,.fade-in-linear-leave-to{opacity:0}.el-fade-in-linear-enter-active,.el-fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.el-fade-in-linear-enter-from,.el-fade-in-linear-leave-to{opacity:0}.el-fade-in-enter-active,.el-fade-in-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-fade-in-enter-from,.el-fade-in-leave-active{opacity:0}.el-zoom-in-center-enter-active,.el-zoom-in-center-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-zoom-in-center-enter-from,.el-zoom-in-center-leave-active{opacity:0;transform:scaleX(0)}.el-zoom-in-top-enter-active,.el-zoom-in-top-leave-active{opacity:1;transform:scaleY(1);transition:var(--el-transition-md-fade);transform-origin:center top}.el-zoom-in-top-enter-active[data-popper-placement^=top],.el-zoom-in-top-leave-active[data-popper-placement^=top]{transform-origin:center bottom}.el-zoom-in-top-enter-from,.el-zoom-in-top-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-bottom-enter-active,.el-zoom-in-bottom-leave-active{opacity:1;transform:scaleY(1);transition:var(--el-transition-md-fade);transform-origin:center bottom}.el-zoom-in-bottom-enter-from,.el-zoom-in-bottom-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-left-enter-active,.el-zoom-in-left-leave-active{opacity:1;transform:scale(1);transition:var(--el-transition-md-fade);transform-origin:top left}.el-zoom-in-left-enter-from,.el-zoom-in-left-leave-active{opacity:0;transform:scale(.45)}.collapse-transition{transition:var(--el-transition-duration) height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.el-collapse-transition-enter-active,.el-collapse-transition-leave-active{transition:var(--el-transition-duration) max-height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.horizontal-collapse-transition{transition:var(--el-transition-duration) width ease-in-out,var(--el-transition-duration) padding-left ease-in-out,var(--el-transition-duration) padding-right ease-in-out}.el-list-enter-active,.el-list-leave-active{transition:all 1s}.el-list-enter-from,.el-list-leave-to{opacity:0;transform:translateY(-30px)}.el-list-leave-active{position:absolute!important}.el-opacity-transition{transition:opacity var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-icon-loading{animation:rotating 2s linear infinite}.el-icon--right{margin-left:5px}.el-icon--left{margin-right:5px}@keyframes rotating{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.el-icon{--color:inherit;height:1em;width:1em;line-height:1em;display:inline-flex;justify-content:center;align-items:center;position:relative;fill:currentColor;color:var(--color);font-size:inherit}.el-icon.is-loading{animation:rotating 2s linear infinite}.el-icon svg{height:1em;width:1em}:root{--el-loading-spinner-size:42px;--el-loading-fullscreen-spinner-size:50px}.el-loading-parent--relative{position:relative!important}.el-loading-parent--hidden{overflow:hidden!important}.el-loading-mask{position:absolute;z-index:2000;background-color:var(--el-mask-color);margin:0;top:0;right:0;bottom:0;left:0;transition:opacity var(--el-transition-duration)}.el-loading-mask.is-fullscreen{position:fixed}.el-loading-mask.is-fullscreen .el-loading-spinner{margin-top:calc((0px - var(--el-loading-fullscreen-spinner-size))/ 2)}.el-loading-mask.is-fullscreen .el-loading-spinner .circular{height:var(--el-loading-fullscreen-spinner-size);width:var(--el-loading-fullscreen-spinner-size)}.el-loading-spinner{top:50%;margin-top:calc((0px - var(--el-loading-spinner-size))/ 2);width:100%;text-align:center;position:absolute}.el-loading-spinner .el-loading-text{color:var(--el-color-primary);margin:3px 0;font-size:14px}.el-loading-spinner .circular{display:inline;height:var(--el-loading-spinner-size);width:var(--el-loading-spinner-size);animation:loading-rotate 2s linear infinite}.el-loading-spinner .path{animation:loading-dash 1.5s ease-in-out infinite;stroke-dasharray:90,150;stroke-dashoffset:0;stroke-width:2;stroke:var(--el-color-primary);stroke-linecap:round}.el-loading-spinner i{color:var(--el-color-primary)}.el-loading-fade-enter-from,.el-loading-fade-leave-to{opacity:0}@keyframes loading-rotate{to{transform:rotate(360deg)}}@keyframes loading-dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-40px}to{stroke-dasharray:90,150;stroke-dashoffset:-120px}}.el-button{--el-button-font-weight:var(--el-font-weight-primary);--el-button-border-color:var(--el-border-color);--el-button-bg-color:var(--el-fill-color-blank);--el-button-text-color:var(--el-text-color-regular);--el-button-disabled-text-color:var(--el-disabled-text-color);--el-button-disabled-bg-color:var(--el-fill-color-blank);--el-button-disabled-border-color:var(--el-border-color-light);--el-button-divide-border-color:rgba(255, 255, 255, .5);--el-button-hover-text-color:var(--el-color-primary);--el-button-hover-bg-color:var(--el-color-primary-light-9);--el-button-hover-border-color:var(--el-color-primary-light-7);--el-button-active-text-color:var(--el-button-hover-text-color);--el-button-active-border-color:var(--el-color-primary);--el-button-active-bg-color:var(--el-button-hover-bg-color)}.el-button{display:inline-flex;justify-content:center;align-items:center;line-height:1;height:32px;white-space:nowrap;cursor:pointer;color:var(--el-button-text-color);text-align:center;box-sizing:border-box;outline:0;transition:.1s;font-weight:var(--el-button-font-weight);-webkit-user-select:none;user-select:none;vertical-align:middle;-webkit-appearance:none;padding:8px 15px;font-size:var(--el-font-size-base);border-radius:var(--el-border-radius-base)}.el-button:not(.is-text){background-color:var(--el-button-bg-color);border:var(--el-border);border-color:var(--el-button-border-color)}.el-button:not(.is-text):focus,.el-button:not(.is-text):hover{color:var(--el-button-hover-text-color);border-color:var(--el-button-hover-border-color);background-color:var(--el-button-hover-bg-color);outline:0}.el-button:not(.is-text):active{color:var(--el-button-active-text-color);border-color:var(--el-button-active-border-color);background-color:var(--el-button-active-bg-color);outline:0}.el-button>span{display:inline-flex;align-items:center}.el-button+.el-button{margin-left:12px}.el-button.is-round{padding:8px 15px}.el-button::-moz-focus-inner{border:0}.el-button [class*=el-icon]+span{margin-left:6px}.el-button [class*=el-icon] svg{vertical-align:bottom}.el-button.is-plain{--el-button-hover-text-color:var(--el-color-primary);--el-button-hover-bg-color:var(--el-fill-color-blank);--el-button-hover-border-color:var(--el-color-primary)}.el-button.is-active{color:var(--el-button-active-text-color);border-color:var(--el-button-active-border-color);background-color:var(--el-button-active-bg-color);outline:0}.el-button.is-disabled,.el-button.is-disabled:focus,.el-button.is-disabled:hover{color:var(--el-button-disabled-text-color);cursor:not-allowed;background-image:none;background-color:var(--el-button-disabled-bg-color);border-color:var(--el-button-disabled-border-color)}.el-button.is-loading{position:relative;pointer-events:none}.el-button.is-loading:before{z-index:1;pointer-events:none;content:"";position:absolute;left:-1px;top:-1px;right:-1px;bottom:-1px;border-radius:inherit;background-color:var(--el-mask-color-extra-light)}.el-button.is-round{border-radius:var(--el-border-radius-round)}.el-button.is-circle{border-radius:50%;padding:8px}.el-button.is-text{color:var(--el-button-text-color);border:0 solid transparent;background-color:transparent}.el-button.is-text.is-disabled{color:var(--el-button-disabled-text-color);background-color:transparent!important}.el-button.is-text:not(.is-disabled):focus,.el-button.is-text:not(.is-disabled):hover{background-color:var(--el-fill-color-light)}.el-button.is-text:not(.is-disabled):active{background-color:var(--el-fill-color)}.el-button.is-text:not(.is-disabled).is-has-bg{background-color:var(--el-fill-color-light)}.el-button.is-text:not(.is-disabled).is-has-bg:hover{background-color:var(--el-fill-color)}.el-button.is-text:not(.is-disabled).is-has-bg:active{background-color:var(--el-fill-color-dark)}.el-button__text--expand{letter-spacing:.3em;margin-right:-.3em}.el-button--primary{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-primary);--el-button-border-color:var(--el-color-primary);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-primary-light-3);--el-button-hover-border-color:var(--el-color-primary-light-3);--el-button-active-bg-color:var(--el-color-primary-dark-2);--el-button-active-border-color:var(--el-color-primary-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-primary-light-5);--el-button-disabled-border-color:var(--el-color-primary-light-5)}.el-button--primary.is-plain,.el-button--primary.is-text{--el-button-text-color:var(--el-color-primary);--el-button-bg-color:var(--el-color-primary-light-9);--el-button-border-color:var(--el-color-primary-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-primary);--el-button-hover-border-color:var(--el-color-primary);--el-button-active-text-color:var(--el-color-white)}.el-button--primary.is-plain.is-disabled,.el-button--primary.is-plain.is-disabled:active,.el-button--primary.is-plain.is-disabled:focus,.el-button--primary.is-plain.is-disabled:hover,.el-button--primary.is-text.is-disabled,.el-button--primary.is-text.is-disabled:active,.el-button--primary.is-text.is-disabled:focus,.el-button--primary.is-text.is-disabled:hover{color:var(--el-color-primary-light-5);background-color:var(--el-color-primary-light-9);border-color:var(--el-color-primary-light-8)}.el-button--success{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-success);--el-button-border-color:var(--el-color-success);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-success-light-3);--el-button-hover-border-color:var(--el-color-success-light-3);--el-button-active-bg-color:var(--el-color-success-dark-2);--el-button-active-border-color:var(--el-color-success-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-success-light-5);--el-button-disabled-border-color:var(--el-color-success-light-5)}.el-button--success.is-plain,.el-button--success.is-text{--el-button-text-color:var(--el-color-success);--el-button-bg-color:var(--el-color-success-light-9);--el-button-border-color:var(--el-color-success-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-success);--el-button-hover-border-color:var(--el-color-success);--el-button-active-text-color:var(--el-color-white)}.el-button--success.is-plain.is-disabled,.el-button--success.is-plain.is-disabled:active,.el-button--success.is-plain.is-disabled:focus,.el-button--success.is-plain.is-disabled:hover,.el-button--success.is-text.is-disabled,.el-button--success.is-text.is-disabled:active,.el-button--success.is-text.is-disabled:focus,.el-button--success.is-text.is-disabled:hover{color:var(--el-color-success-light-5);background-color:var(--el-color-success-light-9);border-color:var(--el-color-success-light-8)}.el-button--warning{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-warning);--el-button-border-color:var(--el-color-warning);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-warning-light-3);--el-button-hover-border-color:var(--el-color-warning-light-3);--el-button-active-bg-color:var(--el-color-warning-dark-2);--el-button-active-border-color:var(--el-color-warning-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-warning-light-5);--el-button-disabled-border-color:var(--el-color-warning-light-5)}.el-button--warning.is-plain,.el-button--warning.is-text{--el-button-text-color:var(--el-color-warning);--el-button-bg-color:var(--el-color-warning-light-9);--el-button-border-color:var(--el-color-warning-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-warning);--el-button-hover-border-color:var(--el-color-warning);--el-button-active-text-color:var(--el-color-white)}.el-button--warning.is-plain.is-disabled,.el-button--warning.is-plain.is-disabled:active,.el-button--warning.is-plain.is-disabled:focus,.el-button--warning.is-plain.is-disabled:hover,.el-button--warning.is-text.is-disabled,.el-button--warning.is-text.is-disabled:active,.el-button--warning.is-text.is-disabled:focus,.el-button--warning.is-text.is-disabled:hover{color:var(--el-color-warning-light-5);background-color:var(--el-color-warning-light-9);border-color:var(--el-color-warning-light-8)}.el-button--danger{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-danger);--el-button-border-color:var(--el-color-danger);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-danger-light-3);--el-button-hover-border-color:var(--el-color-danger-light-3);--el-button-active-bg-color:var(--el-color-danger-dark-2);--el-button-active-border-color:var(--el-color-danger-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-danger-light-5);--el-button-disabled-border-color:var(--el-color-danger-light-5)}.el-button--danger.is-plain,.el-button--danger.is-text{--el-button-text-color:var(--el-color-danger);--el-button-bg-color:var(--el-color-danger-light-9);--el-button-border-color:var(--el-color-danger-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-danger);--el-button-hover-border-color:var(--el-color-danger);--el-button-active-text-color:var(--el-color-white)}.el-button--danger.is-plain.is-disabled,.el-button--danger.is-plain.is-disabled:active,.el-button--danger.is-plain.is-disabled:focus,.el-button--danger.is-plain.is-disabled:hover,.el-button--danger.is-text.is-disabled,.el-button--danger.is-text.is-disabled:active,.el-button--danger.is-text.is-disabled:focus,.el-button--danger.is-text.is-disabled:hover{color:var(--el-color-danger-light-5);background-color:var(--el-color-danger-light-9);border-color:var(--el-color-danger-light-8)}.el-button--info{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-info);--el-button-border-color:var(--el-color-info);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-info-light-3);--el-button-hover-border-color:var(--el-color-info-light-3);--el-button-active-bg-color:var(--el-color-info-dark-2);--el-button-active-border-color:var(--el-color-info-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-info-light-5);--el-button-disabled-border-color:var(--el-color-info-light-5)}.el-button--info.is-plain,.el-button--info.is-text{--el-button-text-color:var(--el-color-info);--el-button-bg-color:var(--el-color-info-light-9);--el-button-border-color:var(--el-color-info-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-info);--el-button-hover-border-color:var(--el-color-info);--el-button-active-text-color:var(--el-color-white)}.el-button--info.is-plain.is-disabled,.el-button--info.is-plain.is-disabled:active,.el-button--info.is-plain.is-disabled:focus,.el-button--info.is-plain.is-disabled:hover,.el-button--info.is-text.is-disabled,.el-button--info.is-text.is-disabled:active,.el-button--info.is-text.is-disabled:focus,.el-button--info.is-text.is-disabled:hover{color:var(--el-color-info-light-5);background-color:var(--el-color-info-light-9);border-color:var(--el-color-info-light-8)}.el-button--large{--el-button-size:40px;height:var(--el-button-size);padding:12px 19px;font-size:var(--el-font-size-base);border-radius:var(--el-border-radius-base)}.el-button--large [class*=el-icon]+span{margin-left:8px}.el-button--large.is-round{padding:12px 19px}.el-button--large.is-circle{width:var(--el-button-size);padding:12px}.el-button--small{--el-button-size:24px;height:var(--el-button-size);padding:5px 11px;font-size:12px;border-radius:calc(var(--el-border-radius-base) - 1px)}.el-button--small [class*=el-icon]+span{margin-left:4px}.el-button--small.is-round{padding:5px 11px}.el-button--small.is-circle{width:var(--el-button-size);padding:5px}:root{--el-popup-modal-bg-color:var(--el-color-black);--el-popup-modal-opacity:.5}.v-modal-enter{animation:v-modal-in var(--el-transition-duration-fast) ease}.v-modal-leave{animation:v-modal-out var(--el-transition-duration-fast) ease forwards}@keyframes v-modal-in{0%{opacity:0}}@keyframes v-modal-out{to{opacity:0}}.v-modal{position:fixed;left:0;top:0;width:100%;height:100%;opacity:var(--el-popup-modal-opacity);background:var(--el-popup-modal-bg-color)}.el-popup-parent--hidden{overflow:hidden}.el-dialog{--el-dialog-width:50%;--el-dialog-margin-top:15vh;--el-dialog-bg-color:var(--el-bg-color);--el-dialog-box-shadow:var(--el-box-shadow);--el-dialog-title-font-size:var(--el-font-size-large);--el-dialog-content-font-size:14px;--el-dialog-font-line-height:var(--el-font-line-height-primary);--el-dialog-padding-primary:20px;--el-dialog-border-radius:var(--el-border-radius-small);position:relative;margin:var(--el-dialog-margin-top,15vh) auto 50px;background:var(--el-dialog-bg-color);border-radius:var(--el-dialog-border-radius);box-shadow:var(--el-dialog-box-shadow);box-sizing:border-box;width:var(--el-dialog-width,50%)}.el-dialog.is-fullscreen{--el-dialog-width:100%;--el-dialog-margin-top:0;margin-bottom:0;height:100%;overflow:auto}.el-dialog__wrapper{position:fixed;top:0;right:0;bottom:0;left:0;overflow:auto;margin:0}.el-dialog.is-draggable .el-dialog__header{cursor:move;-webkit-user-select:none;user-select:none}.el-dialog__header{padding:var(--el-dialog-padding-primary);padding-bottom:10px;margin-right:16px;word-break:break-all}.el-dialog__headerbtn{position:absolute;top:6px;right:0;padding:0;width:54px;height:54px;background:0 0;border:none;outline:0;cursor:pointer;font-size:var(--el-message-close-size,16px)}.el-dialog__headerbtn .el-dialog__close{color:var(--el-color-info);font-size:inherit}.el-dialog__headerbtn:focus .el-dialog__close,.el-dialog__headerbtn:hover .el-dialog__close{color:var(--el-color-primary)}.el-dialog__title{line-height:var(--el-dialog-font-line-height);font-size:var(--el-dialog-title-font-size);color:var(--el-text-color-primary)}.el-dialog__body{padding:calc(var(--el-dialog-padding-primary) + 10px) var(--el-dialog-padding-primary);color:var(--el-text-color-regular);font-size:var(--el-dialog-content-font-size);word-break:break-all}.el-dialog__footer{padding:var(--el-dialog-padding-primary);padding-top:10px;text-align:right;box-sizing:border-box}.el-dialog--center{text-align:center}.el-dialog--center .el-dialog__body{text-align:initial;padding:25px calc(var(--el-dialog-padding-primary) + 5px) 30px}.el-dialog--center .el-dialog__footer{text-align:inherit}.el-overlay-dialog{position:fixed;top:0;right:0;bottom:0;left:0;overflow:auto}.dialog-fade-enter-active{animation:modal-fade-in var(--el-transition-duration)}.dialog-fade-enter-active .el-overlay-dialog{animation:dialog-fade-in var(--el-transition-duration)}.dialog-fade-leave-active{animation:modal-fade-out var(--el-transition-duration)}.dialog-fade-leave-active .el-overlay-dialog{animation:dialog-fade-out var(--el-transition-duration)}@keyframes dialog-fade-in{0%{transform:translate3d(0,-20px,0);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes dialog-fade-out{0%{transform:translateZ(0);opacity:1}to{transform:translate3d(0,-20px,0);opacity:0}}@keyframes modal-fade-in{0%{opacity:0}to{opacity:1}}@keyframes modal-fade-out{0%{opacity:1}to{opacity:0}}.el-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:2000;height:100%;background-color:var(--el-overlay-color-lighter);overflow:auto}.el-overlay .el-overlay-root{height:0}.el-form{--el-form-label-font-size:var(--el-font-size-base)}.el-form--label-left .el-form-item__label{text-align:left}.el-form--label-top .el-form-item{display:block}.el-form--label-top .el-form-item .el-form-item__label{display:block;text-align:left;margin-bottom:8px;line-height:22px}.el-form--inline .el-form-item{display:inline-flex;vertical-align:middle;margin-right:32px}.el-form--inline.el-form--label-top{display:flex;flex-wrap:wrap}.el-form--inline.el-form--label-top .el-form-item{display:block}.el-form--large.el-form--label-top .el-form-item .el-form-item__label{margin-bottom:12px;line-height:22px}.el-form--default.el-form--label-top .el-form-item .el-form-item__label{margin-bottom:8px;line-height:22px}.el-form--small.el-form--label-top .el-form-item .el-form-item__label{margin-bottom:4px;line-height:20px}.el-form-item{display:flex;--font-size:14px;margin-bottom:18px}.el-form-item .el-form-item{margin-bottom:0}.el-form-item .el-input__validateIcon{display:none}.el-form-item--large{--font-size:14px;--el-form-label-font-size:var(--font-size);margin-bottom:22px}.el-form-item--large .el-form-item__label,.el-form-item--large .el-form-item__content{line-height:40px}.el-form-item--large .el-form-item__error{padding-top:4px}.el-form-item--default{--font-size:14px;--el-form-label-font-size:var(--font-size);margin-bottom:18px}.el-form-item--default .el-form-item__label,.el-form-item--default .el-form-item__content{line-height:32px}.el-form-item--default .el-form-item__error{padding-top:2px}.el-form-item--small{--font-size:12px;--el-form-label-font-size:var(--font-size);margin-bottom:18px}.el-form-item--small .el-form-item__label,.el-form-item--small .el-form-item__content{line-height:24px}.el-form-item--small .el-form-item__error{padding-top:2px}.el-form-item__label-wrap{display:flex}.el-form-item__label-wrap .el-form-item__label{display:inline-block}.el-form-item__label{flex:0 0 auto;text-align:right;font-size:var(--el-form-label-font-size);color:var(--el-text-color-regular);line-height:32px;padding:0 12px 0 0;box-sizing:border-box}.el-form-item__content{display:flex;flex-wrap:wrap;align-items:center;flex:1;line-height:32px;position:relative;font-size:var(--font-size);min-width:0}.el-form-item__content .el-input-group{vertical-align:top}.el-form-item__error{color:var(--el-color-danger);font-size:12px;line-height:1;padding-top:2px;position:absolute;top:100%;left:0}.el-form-item__error--inline{position:relative;top:auto;left:auto;display:inline-block;margin-left:10px}.el-form-item.is-required:not(.is-no-asterisk)>.el-form-item__label-wrap>.el-form-item__label:before,.el-form-item.is-required:not(.is-no-asterisk)>.el-form-item__label:before{content:"*";color:var(--el-color-danger);margin-right:4px}.el-form-item.is-error .el-select-v2__wrapper,.el-form-item.is-error .el-select-v2__wrapper:focus,.el-form-item.is-error .el-textarea__inner,.el-form-item.is-error .el-textarea__inner:focus{box-shadow:0 0 0 1px var(--el-color-danger) inset}.el-form-item.is-error .el-input__wrapper{box-shadow:0 0 0 1px var(--el-color-danger) inset}.el-form-item.is-error .el-input-group__append .el-input__wrapper,.el-form-item.is-error .el-input-group__prepend .el-input__wrapper{box-shadow:0 0 0 1px transparent inset}.el-form-item.is-error .el-input__validateIcon{color:var(--el-color-danger)}.el-form-item--feedback .el-input__validateIcon{display:inline-flex}.el-popper{--el-popper-border-radius:var(--el-popover-border-radius, 4px)}.el-popper{position:absolute;border-radius:var(--el-popper-border-radius);padding:5px 11px;z-index:2000;font-size:12px;line-height:20px;min-width:10px;word-wrap:break-word;visibility:visible}.el-popper.is-dark{color:var(--el-bg-color);background:var(--el-text-color-primary);border:1px solid var(--el-text-color-primary)}.el-popper.is-dark .el-popper__arrow:before{border:1px solid var(--el-text-color-primary);background:var(--el-text-color-primary);right:0}.el-popper.is-light{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color-light)}.el-popper.is-light .el-popper__arrow:before{border:1px solid var(--el-border-color-light);background:var(--el-bg-color-overlay);right:0}.el-popper.is-pure{padding:0}.el-popper__arrow{position:absolute;width:10px;height:10px;z-index:-1}.el-popper__arrow:before{position:absolute;width:10px;height:10px;z-index:-1;content:" ";transform:rotate(45deg);background:var(--el-text-color-primary);box-sizing:border-box}.el-popper[data-popper-placement^=top]>.el-popper__arrow{bottom:-5px}.el-popper[data-popper-placement^=top]>.el-popper__arrow:before{border-bottom-right-radius:2px}.el-popper[data-popper-placement^=bottom]>.el-popper__arrow{top:-5px}.el-popper[data-popper-placement^=bottom]>.el-popper__arrow:before{border-top-left-radius:2px}.el-popper[data-popper-placement^=left]>.el-popper__arrow{right:-5px}.el-popper[data-popper-placement^=left]>.el-popper__arrow:before{border-top-right-radius:2px}.el-popper[data-popper-placement^=right]>.el-popper__arrow{left:-5px}.el-popper[data-popper-placement^=right]>.el-popper__arrow:before{border-bottom-left-radius:2px}.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-top-color:transparent!important;border-left-color:transparent!important}.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent!important;border-right-color:transparent!important}.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-left-color:transparent!important;border-bottom-color:transparent!important}.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent!important;border-top-color:transparent!important}.el-switch{--el-switch-on-color:var(--el-color-primary);--el-switch-off-color:var(--el-border-color)}.el-switch{display:inline-flex;align-items:center;position:relative;font-size:14px;line-height:20px;height:32px;vertical-align:middle}.el-switch.is-disabled .el-switch__core,.el-switch.is-disabled .el-switch__label{cursor:not-allowed}.el-switch__label{transition:var(--el-transition-duration-fast);height:20px;display:inline-block;font-size:14px;font-weight:500;cursor:pointer;vertical-align:middle;color:var(--el-text-color-primary)}.el-switch__label.is-active{color:var(--el-color-primary)}.el-switch__label--left{margin-right:10px}.el-switch__label--right{margin-left:10px}.el-switch__label *{line-height:1;font-size:14px;display:inline-block}.el-switch__label .el-icon{height:inherit}.el-switch__label .el-icon svg{vertical-align:middle}.el-switch__input{position:absolute;width:0;height:0;opacity:0;margin:0}.el-switch__core{margin:0;display:inline-block;position:relative;width:40px;height:20px;border:1px solid var(--el-switch-off-color);outline:0;border-radius:10px;box-sizing:border-box;background:var(--el-switch-off-color);cursor:pointer;transition:border-color var(--el-transition-duration),background-color var(--el-transition-duration);vertical-align:middle}.el-switch__core .el-switch__inner{position:absolute;top:1px;left:1px;transition:all var(--el-transition-duration);width:16px;height:16px;display:flex;justify-content:center;align-items:center;left:50%;white-space:nowrap}.el-switch__core .el-switch__inner .is-icon,.el-switch__core .el-switch__inner .is-text{color:var(--el-color-white);transition:opacity var(--el-transition-duration);position:absolute;-webkit-user-select:none;user-select:none}.el-switch__core .el-switch__action{position:absolute;top:1px;left:1px;border-radius:var(--el-border-radius-circle);transition:all var(--el-transition-duration);width:16px;height:16px;background-color:var(--el-color-white);display:flex;justify-content:center;align-items:center;color:var(--el-switch-off-color)}.el-switch__core .el-switch__action .is-icon,.el-switch__core .el-switch__action .is-text{transition:opacity var(--el-transition-duration);position:absolute;-webkit-user-select:none;user-select:none}.el-switch__core .is-text{font-size:12px}.el-switch__core .is-show{opacity:1}.el-switch__core .is-hide{opacity:0}.el-switch.is-checked .el-switch__core{border-color:var(--el-switch-on-color);background-color:var(--el-switch-on-color)}.el-switch.is-checked .el-switch__core .el-switch__action{left:100%;margin-left:-17px;color:var(--el-switch-on-color)}.el-switch.is-checked .el-switch__core .el-switch__inner{left:50%;white-space:nowrap;margin-left:-17px}.el-switch.is-disabled{opacity:.6}.el-switch--wide .el-switch__label.el-switch__label--left span{left:10px}.el-switch--wide .el-switch__label.el-switch__label--right span{right:10px}.el-switch .label-fade-enter-from,.el-switch .label-fade-leave-active{opacity:0}.el-switch--large{font-size:14px;line-height:24px;height:40px}.el-switch--large .el-switch__label{height:24px;font-size:14px}.el-switch--large .el-switch__label *{font-size:14px}.el-switch--large .el-switch__core{width:50px;height:24px;border-radius:12px}.el-switch--large .el-switch__core .el-switch__inner,.el-switch--large .el-switch__core .el-switch__action{width:20px;height:20px}.el-switch--large.is-checked .el-switch__core .el-switch__action,.el-switch--large.is-checked .el-switch__core .el-switch__inner{margin-left:-21px}.el-switch--small{font-size:12px;line-height:16px;height:24px}.el-switch--small .el-switch__label{height:16px;font-size:12px}.el-switch--small .el-switch__label *{font-size:12px}.el-switch--small .el-switch__core{width:30px;height:16px;border-radius:8px}.el-switch--small .el-switch__core .el-switch__inner,.el-switch--small .el-switch__core .el-switch__action{width:12px;height:12px}.el-switch--small.is-checked .el-switch__core .el-switch__action,.el-switch--small.is-checked .el-switch__core .el-switch__inner{margin-left:-13px}.el-date-table{font-size:12px;-webkit-user-select:none;user-select:none}.el-date-table.is-week-mode .el-date-table__row:hover .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-date-table.is-week-mode .el-date-table__row:hover td.available:hover{color:var(--el-datepicker-text-color)}.el-date-table.is-week-mode .el-date-table__row:hover td:first-child .el-date-table-cell{margin-left:5px;border-top-left-radius:15px;border-bottom-left-radius:15px}.el-date-table.is-week-mode .el-date-table__row:hover td:last-child .el-date-table-cell{margin-right:5px;border-top-right-radius:15px;border-bottom-right-radius:15px}.el-date-table.is-week-mode .el-date-table__row.current .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-date-table td{width:32px;height:30px;padding:4px 0;box-sizing:border-box;text-align:center;cursor:pointer;position:relative}.el-date-table td .el-date-table-cell{height:30px;padding:3px 0;box-sizing:border-box}.el-date-table td .el-date-table-cell .el-date-table-cell__text{width:24px;height:24px;display:block;margin:0 auto;line-height:24px;position:absolute;left:50%;transform:translate(-50%);border-radius:50%}.el-date-table td.next-month,.el-date-table td.prev-month{color:var(--el-datepicker-off-text-color)}.el-date-table td.today{position:relative}.el-date-table td.today .el-date-table-cell__text{color:var(--el-color-primary);font-weight:700}.el-date-table td.today.end-date .el-date-table-cell__text,.el-date-table td.today.start-date .el-date-table-cell__text{color:#fff}.el-date-table td.available:hover{color:var(--el-datepicker-hover-text-color)}.el-date-table td.in-range .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-date-table td.in-range .el-date-table-cell:hover{background-color:var(--el-datepicker-inrange-hover-bg-color)}.el-date-table td.current:not(.disabled) .el-date-table-cell__text{color:#fff;background-color:var(--el-datepicker-active-color)}.el-date-table td.end-date .el-date-table-cell,.el-date-table td.start-date .el-date-table-cell{color:#fff}.el-date-table td.end-date .el-date-table-cell__text,.el-date-table td.start-date .el-date-table-cell__text{background-color:var(--el-datepicker-active-color)}.el-date-table td.start-date .el-date-table-cell{margin-left:5px;border-top-left-radius:15px;border-bottom-left-radius:15px}.el-date-table td.end-date .el-date-table-cell{margin-right:5px;border-top-right-radius:15px;border-bottom-right-radius:15px}.el-date-table td.disabled .el-date-table-cell{background-color:var(--el-fill-color-light);opacity:1;cursor:not-allowed;color:var(--el-text-color-placeholder)}.el-date-table td.selected .el-date-table-cell{margin-left:5px;margin-right:5px;background-color:var(--el-datepicker-inrange-bg-color);border-radius:15px}.el-date-table td.selected .el-date-table-cell:hover{background-color:var(--el-datepicker-inrange-hover-bg-color)}.el-date-table td.selected .el-date-table-cell__text{background-color:var(--el-datepicker-active-color);color:#fff;border-radius:15px}.el-date-table td.week{font-size:80%;color:var(--el-datepicker-header-text-color)}.el-date-table th{padding:5px;color:var(--el-datepicker-header-text-color);font-weight:400;border-bottom:solid 1px var(--el-border-color-lighter)}.el-month-table{font-size:12px;margin:-1px;border-collapse:collapse}.el-month-table td{text-align:center;padding:8px 0;cursor:pointer}.el-month-table td div{height:48px;padding:6px 0;box-sizing:border-box}.el-month-table td.today .cell{color:var(--el-color-primary);font-weight:700}.el-month-table td.today.end-date .cell,.el-month-table td.today.start-date .cell{color:#fff}.el-month-table td.disabled .cell{background-color:var(--el-fill-color-light);cursor:not-allowed;color:var(--el-text-color-placeholder)}.el-month-table td.disabled .cell:hover{color:var(--el-text-color-placeholder)}.el-month-table td .cell{width:60px;height:36px;display:block;line-height:36px;color:var(--el-datepicker-text-color);margin:0 auto;border-radius:18px}.el-month-table td .cell:hover{color:var(--el-datepicker-hover-text-color)}.el-month-table td.in-range div{background-color:var(--el-datepicker-inrange-bg-color)}.el-month-table td.in-range div:hover{background-color:var(--el-datepicker-inrange-hover-bg-color)}.el-month-table td.end-date div,.el-month-table td.start-date div{color:#fff}.el-month-table td.end-date .cell,.el-month-table td.start-date .cell{color:#fff;background-color:var(--el-datepicker-active-color)}.el-month-table td.start-date div{border-top-left-radius:24px;border-bottom-left-radius:24px}.el-month-table td.end-date div{border-top-right-radius:24px;border-bottom-right-radius:24px}.el-month-table td.current:not(.disabled) .cell{color:var(--el-datepicker-active-color)}.el-year-table{font-size:12px;margin:-1px;border-collapse:collapse}.el-year-table .el-icon{color:var(--el-datepicker-icon-color)}.el-year-table td{text-align:center;padding:20px 3px;cursor:pointer}.el-year-table td.today .cell{color:var(--el-color-primary);font-weight:700}.el-year-table td.disabled .cell{background-color:var(--el-fill-color-light);cursor:not-allowed;color:var(--el-text-color-placeholder)}.el-year-table td.disabled .cell:hover{color:var(--el-text-color-placeholder)}.el-year-table td .cell{width:48px;height:32px;display:block;line-height:32px;color:var(--el-datepicker-text-color);margin:0 auto}.el-year-table td .cell:hover{color:var(--el-datepicker-hover-text-color)}.el-year-table td.current:not(.disabled) .cell{color:var(--el-datepicker-active-color)}.el-time-spinner.has-seconds .el-time-spinner__wrapper{width:33.3%}.el-time-spinner__wrapper{max-height:192px;overflow:auto;display:inline-block;width:50%;vertical-align:top;position:relative}.el-time-spinner__wrapper.el-scrollbar__wrap:not(.el-scrollbar__wrap--hidden-default){padding-bottom:15px}.el-time-spinner__wrapper.is-arrow{box-sizing:border-box;text-align:center;overflow:hidden}.el-time-spinner__wrapper.is-arrow .el-time-spinner__list{transform:translateY(-32px)}.el-time-spinner__wrapper.is-arrow .el-time-spinner__item:hover:not(.is-disabled):not(.is-active){background:var(--el-fill-color-light);cursor:default}.el-time-spinner__arrow{font-size:12px;color:var(--el-text-color-secondary);position:absolute;left:0;width:100%;z-index:var(--el-index-normal);text-align:center;height:30px;line-height:30px;cursor:pointer}.el-time-spinner__arrow:hover{color:var(--el-color-primary)}.el-time-spinner__arrow.arrow-up{top:10px}.el-time-spinner__arrow.arrow-down{bottom:10px}.el-time-spinner__input.el-input{width:70%}.el-time-spinner__input.el-input .el-input__inner{padding:0;text-align:center}.el-time-spinner__list{padding:0;margin:0;list-style:none;text-align:center}.el-time-spinner__list:after,.el-time-spinner__list:before{content:"";display:block;width:100%;height:80px}.el-time-spinner__item{height:32px;line-height:32px;font-size:12px;color:var(--el-text-color-regular)}.el-time-spinner__item:hover:not(.is-disabled):not(.is-active){background:var(--el-fill-color-light);cursor:pointer}.el-time-spinner__item.is-active:not(.is-disabled){color:var(--el-text-color-primary);font-weight:700}.el-time-spinner__item.is-disabled{color:var(--el-text-color-placeholder);cursor:not-allowed}.fade-in-linear-enter-active,.fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.fade-in-linear-enter-from,.fade-in-linear-leave-to{opacity:0}.el-fade-in-linear-enter-active,.el-fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.el-fade-in-linear-enter-from,.el-fade-in-linear-leave-to{opacity:0}.el-fade-in-enter-active,.el-fade-in-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-fade-in-enter-from,.el-fade-in-leave-active{opacity:0}.el-zoom-in-center-enter-active,.el-zoom-in-center-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-zoom-in-center-enter-from,.el-zoom-in-center-leave-active{opacity:0;transform:scaleX(0)}.el-zoom-in-top-enter-active,.el-zoom-in-top-leave-active{opacity:1;transform:scaleY(1);transition:var(--el-transition-md-fade);transform-origin:center top}.el-zoom-in-top-enter-active[data-popper-placement^=top],.el-zoom-in-top-leave-active[data-popper-placement^=top]{transform-origin:center bottom}.el-zoom-in-top-enter-from,.el-zoom-in-top-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-bottom-enter-active,.el-zoom-in-bottom-leave-active{opacity:1;transform:scaleY(1);transition:var(--el-transition-md-fade);transform-origin:center bottom}.el-zoom-in-bottom-enter-from,.el-zoom-in-bottom-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-left-enter-active,.el-zoom-in-left-leave-active{opacity:1;transform:scale(1);transition:var(--el-transition-md-fade);transform-origin:top left}.el-zoom-in-left-enter-from,.el-zoom-in-left-leave-active{opacity:0;transform:scale(.45)}.collapse-transition{transition:var(--el-transition-duration) height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.el-collapse-transition-enter-active,.el-collapse-transition-leave-active{transition:var(--el-transition-duration) max-height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.horizontal-collapse-transition{transition:var(--el-transition-duration) width ease-in-out,var(--el-transition-duration) padding-left ease-in-out,var(--el-transition-duration) padding-right ease-in-out}.el-list-enter-active,.el-list-leave-active{transition:all 1s}.el-list-enter-from,.el-list-leave-to{opacity:0;transform:translateY(-30px)}.el-list-leave-active{position:absolute!important}.el-opacity-transition{transition:opacity var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-picker__popper{--el-datepicker-border-color:var(--el-disabled-border-color)}.el-picker__popper.el-popper[role=tooltip]{background:var(--el-bg-color-overlay);border:1px solid var(--el-datepicker-border-color);box-shadow:var(--el-box-shadow-light)}.el-picker__popper.el-popper[role=tooltip] .el-popper__arrow:before{border:1px solid var(--el-datepicker-border-color)}.el-picker__popper.el-popper[role=tooltip][data-popper-placement^=top] .el-popper__arrow:before{border-top-color:transparent;border-left-color:transparent}.el-picker__popper.el-popper[role=tooltip][data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-picker__popper.el-popper[role=tooltip][data-popper-placement^=left] .el-popper__arrow:before{border-left-color:transparent;border-bottom-color:transparent}.el-picker__popper.el-popper[role=tooltip][data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-date-editor{--el-date-editor-width:220px;--el-date-editor-monthrange-width:300px;--el-date-editor-daterange-width:350px;--el-date-editor-datetimerange-width:400px;--el-input-text-color:var(--el-text-color-regular);--el-input-border:var(--el-border);--el-input-hover-border:var(--el-border-color-hover);--el-input-focus-border:var(--el-color-primary);--el-input-transparent-border:0 0 0 1px transparent inset;--el-input-border-color:var(--el-border-color);--el-input-border-radius:var(--el-border-radius-base);--el-input-bg-color:var(--el-fill-color-blank);--el-input-icon-color:var(--el-text-color-placeholder);--el-input-placeholder-color:var(--el-text-color-placeholder);--el-input-hover-border-color:var(--el-border-color-hover);--el-input-clear-hover-color:var(--el-text-color-secondary);--el-input-focus-border-color:var(--el-color-primary);position:relative;display:inline-block;text-align:left}.el-date-editor.el-input__inner{border-radius:var(--el-input-border-radius,var(--el-border-radius-base));box-shadow:0 0 0 1px var(--el-input-border-color,var(--el-border-color)) inset}.el-date-editor.el-input__inner:hover{box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset}.el-date-editor.el-input,.el-date-editor.el-input__inner{width:var(--el-date-editor-width)}.el-date-editor--monthrange.el-input,.el-date-editor--monthrange.el-input__inner{width:var(--el-date-editor-monthrange-width)}.el-date-editor--daterange.el-input,.el-date-editor--daterange.el-input__inner,.el-date-editor--timerange.el-input,.el-date-editor--timerange.el-input__inner{width:var(--el-date-editor-daterange-width)}.el-date-editor--datetimerange.el-input,.el-date-editor--datetimerange.el-input__inner{width:var(--el-date-editor-datetimerange-width)}.el-date-editor--dates .el-input__inner{text-overflow:ellipsis;white-space:nowrap}.el-date-editor .close-icon,.el-date-editor .clear-icon{cursor:pointer}.el-date-editor .clear-icon:hover{color:var(--el-text-color-secondary)}.el-date-editor .el-range__icon{height:inherit;font-size:14px;color:var(--el-text-color-placeholder);float:left}.el-date-editor .el-range__icon svg{vertical-align:middle}.el-date-editor .el-range-input{-webkit-appearance:none;appearance:none;border:none;outline:0;display:inline-block;height:100%;margin:0;padding:0;width:39%;text-align:center;font-size:var(--el-font-size-base);color:var(--el-text-color-regular);background-color:transparent}.el-date-editor .el-range-input::placeholder{color:var(--el-text-color-placeholder)}.el-date-editor .el-range-separator{flex:1;display:inline-flex;justify-content:center;align-items:center;height:100%;padding:0 5px;margin:0;font-size:14px;word-break:keep-all;color:var(--el-text-color-primary)}.el-date-editor .el-range__close-icon{font-size:14px;color:var(--el-text-color-placeholder);height:inherit;width:unset;cursor:pointer}.el-date-editor .el-range__close-icon:hover{color:var(--el-text-color-secondary)}.el-date-editor .el-range__close-icon svg{vertical-align:middle}.el-date-editor .el-range__close-icon--hidden{opacity:0;visibility:hidden}.el-range-editor.el-input__inner{display:inline-flex;align-items:center;padding:3px 10px}.el-range-editor .el-range-input{line-height:1}.el-range-editor.is-active,.el-range-editor.is-active:hover{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-range-editor--large{line-height:40px}.el-range-editor--large.el-input__inner{height:40px}.el-range-editor--large .el-range-separator{line-height:40px;font-size:14px}.el-range-editor--large .el-range-input{font-size:14px}.el-range-editor--small{line-height:24px}.el-range-editor--small.el-input__inner{height:24px}.el-range-editor--small .el-range-separator{line-height:24px;font-size:12px}.el-range-editor--small .el-range-input{font-size:12px}.el-range-editor.is-disabled{background-color:var(--el-disabled-bg-color);border-color:var(--el-disabled-border-color);color:var(--el-disabled-text-color);cursor:not-allowed}.el-range-editor.is-disabled:focus,.el-range-editor.is-disabled:hover{border-color:var(--el-disabled-border-color)}.el-range-editor.is-disabled input{background-color:var(--el-disabled-bg-color);color:var(--el-disabled-text-color);cursor:not-allowed}.el-range-editor.is-disabled input::placeholder{color:var(--el-text-color-placeholder)}.el-range-editor.is-disabled .el-range-separator{color:var(--el-disabled-text-color)}.el-picker-panel{color:var(--el-text-color-regular);background:var(--el-bg-color-overlay);border-radius:var(--el-border-radius-base);line-height:30px}.el-picker-panel .el-time-panel{margin:5px 0;border:solid 1px var(--el-datepicker-border-color);background-color:var(--el-bg-color-overlay);box-shadow:var(--el-box-shadow-light)}.el-picker-panel__body-wrapper:after,.el-picker-panel__body:after{content:"";display:table;clear:both}.el-picker-panel__content{position:relative;margin:15px}.el-picker-panel__footer{border-top:1px solid var(--el-datepicker-inner-border-color);padding:4px 12px;text-align:right;background-color:var(--el-bg-color-overlay);position:relative;font-size:0}.el-picker-panel__shortcut{display:block;width:100%;border:0;background-color:transparent;line-height:28px;font-size:14px;color:var(--el-datepicker-text-color);padding-left:12px;text-align:left;outline:0;cursor:pointer}.el-picker-panel__shortcut:hover{color:var(--el-datepicker-hover-text-color)}.el-picker-panel__shortcut.active{background-color:#e6f1fe;color:var(--el-datepicker-active-color)}.el-picker-panel__btn{border:1px solid var(--el-fill-color-darker);color:var(--el-text-color-primary);line-height:24px;border-radius:2px;padding:0 20px;cursor:pointer;background-color:transparent;outline:0;font-size:12px}.el-picker-panel__btn[disabled]{color:var(--el-text-color-disabled);cursor:not-allowed}.el-picker-panel__icon-btn{font-size:12px;color:var(--el-datepicker-icon-color);border:0;background:0 0;cursor:pointer;outline:0;margin-top:8px}.el-picker-panel__icon-btn:hover{color:var(--el-datepicker-hover-text-color)}.el-picker-panel__icon-btn.is-disabled{color:var(--el-text-color-disabled)}.el-picker-panel__icon-btn.is-disabled:hover{cursor:not-allowed}.el-picker-panel__icon-btn .el-icon{cursor:pointer;font-size:inherit}.el-picker-panel__link-btn{vertical-align:middle}.el-picker-panel [slot=sidebar],.el-picker-panel__sidebar{position:absolute;top:0;bottom:0;width:110px;border-right:1px solid var(--el-datepicker-inner-border-color);box-sizing:border-box;padding-top:6px;background-color:var(--el-bg-color-overlay);overflow:auto}.el-picker-panel [slot=sidebar]+.el-picker-panel__body,.el-picker-panel__sidebar+.el-picker-panel__body{margin-left:110px}.el-date-picker{--el-datepicker-text-color:var(--el-text-color-regular);--el-datepicker-off-text-color:var(--el-text-color-placeholder);--el-datepicker-header-text-color:var(--el-text-color-regular);--el-datepicker-icon-color:var(--el-text-color-primary);--el-datepicker-border-color:var(--el-disabled-border-color);--el-datepicker-inner-border-color:var(--el-border-color-light);--el-datepicker-inrange-bg-color:var(--el-border-color-extra-light);--el-datepicker-inrange-hover-bg-color:var(--el-border-color-extra-light);--el-datepicker-active-color:var(--el-color-primary);--el-datepicker-hover-text-color:var(--el-color-primary)}.el-date-picker{width:322px}.el-date-picker.has-sidebar.has-time{width:434px}.el-date-picker.has-sidebar{width:438px}.el-date-picker.has-time .el-picker-panel__body-wrapper{position:relative}.el-date-picker .el-picker-panel__content{width:292px}.el-date-picker table{table-layout:fixed;width:100%}.el-date-picker__editor-wrap{position:relative;display:table-cell;padding:0 5px}.el-date-picker__time-header{position:relative;border-bottom:1px solid var(--el-datepicker-inner-border-color);font-size:12px;padding:8px 5px 5px;display:table;width:100%;box-sizing:border-box}.el-date-picker__header{margin:12px;text-align:center}.el-date-picker__header--bordered{margin-bottom:0;padding-bottom:12px;border-bottom:solid 1px var(--el-border-color-lighter)}.el-date-picker__header--bordered+.el-picker-panel__content{margin-top:0}.el-date-picker__header-label{font-size:16px;font-weight:500;padding:0 5px;line-height:22px;text-align:center;cursor:pointer;color:var(--el-text-color-regular)}.el-date-picker__header-label:hover{color:var(--el-datepicker-hover-text-color)}.el-date-picker__header-label.active{color:var(--el-datepicker-active-color)}.el-date-picker__prev-btn{float:left}.el-date-picker__next-btn{float:right}.el-date-picker__time-wrap{padding:10px;text-align:center}.el-date-picker__time-label{float:left;cursor:pointer;line-height:30px;margin-left:10px}.el-date-picker .el-time-panel{position:absolute}.el-date-range-picker{--el-datepicker-text-color:var(--el-text-color-regular);--el-datepicker-off-text-color:var(--el-text-color-placeholder);--el-datepicker-header-text-color:var(--el-text-color-regular);--el-datepicker-icon-color:var(--el-text-color-primary);--el-datepicker-border-color:var(--el-disabled-border-color);--el-datepicker-inner-border-color:var(--el-border-color-light);--el-datepicker-inrange-bg-color:var(--el-border-color-extra-light);--el-datepicker-inrange-hover-bg-color:var(--el-border-color-extra-light);--el-datepicker-active-color:var(--el-color-primary);--el-datepicker-hover-text-color:var(--el-color-primary)}.el-date-range-picker{width:646px}.el-date-range-picker.has-sidebar{width:756px}.el-date-range-picker table{table-layout:fixed;width:100%}.el-date-range-picker .el-picker-panel__body{min-width:513px}.el-date-range-picker .el-picker-panel__content{margin:0}.el-date-range-picker__header{position:relative;text-align:center;height:28px}.el-date-range-picker__header [class*=arrow-left]{float:left}.el-date-range-picker__header [class*=arrow-right]{float:right}.el-date-range-picker__header div{font-size:16px;font-weight:500;margin-right:50px}.el-date-range-picker__content{float:left;width:50%;box-sizing:border-box;margin:0;padding:16px}.el-date-range-picker__content.is-left{border-right:1px solid var(--el-datepicker-inner-border-color)}.el-date-range-picker__content .el-date-range-picker__header div{margin-left:50px;margin-right:50px}.el-date-range-picker__editors-wrap{box-sizing:border-box;display:table-cell}.el-date-range-picker__editors-wrap.is-right{text-align:right}.el-date-range-picker__time-header{position:relative;border-bottom:1px solid var(--el-datepicker-inner-border-color);font-size:12px;padding:8px 5px 5px;display:table;width:100%;box-sizing:border-box}.el-date-range-picker__time-header>.el-icon-arrow-right{font-size:20px;vertical-align:middle;display:table-cell;color:var(--el-datepicker-icon-color)}.el-date-range-picker__time-picker-wrap{position:relative;display:table-cell;padding:0 5px}.el-date-range-picker__time-picker-wrap .el-picker-panel{position:absolute;top:13px;right:0;z-index:1;background:#fff}.el-date-range-picker__time-picker-wrap .el-time-panel{position:absolute}.el-time-range-picker{width:354px;overflow:visible}.el-time-range-picker__content{position:relative;text-align:center;padding:10px;z-index:1}.el-time-range-picker__cell{box-sizing:border-box;margin:0;padding:4px 7px 7px;width:50%;display:inline-block}.el-time-range-picker__header{margin-bottom:5px;text-align:center;font-size:14px}.el-time-range-picker__body{border-radius:2px;border:1px solid var(--el-datepicker-border-color)}.el-time-panel{border-radius:2px;position:relative;width:180px;left:0;z-index:var(--el-index-top);-webkit-user-select:none;user-select:none;box-sizing:content-box}.el-time-panel__content{font-size:0;position:relative;overflow:hidden}.el-time-panel__content:after,.el-time-panel__content:before{content:"";top:50%;position:absolute;margin-top:-16px;height:32px;z-index:-1;left:0;right:0;box-sizing:border-box;padding-top:6px;text-align:left}.el-time-panel__content:after{left:50%;margin-left:12%;margin-right:12%}.el-time-panel__content:before{padding-left:50%;margin-right:12%;margin-left:12%;border-top:1px solid var(--el-border-color-light);border-bottom:1px solid var(--el-border-color-light)}.el-time-panel__content.has-seconds:after{left:66.6666666667%}.el-time-panel__content.has-seconds:before{padding-left:33.3333333333%}.el-time-panel__footer{border-top:1px solid var(--el-timepicker-inner-border-color,var(--el-border-color-light));padding:4px;height:36px;line-height:25px;text-align:right;box-sizing:border-box}.el-time-panel__btn{border:none;line-height:28px;padding:0 5px;margin:0 5px;cursor:pointer;background-color:transparent;outline:0;font-size:12px;color:var(--el-text-color-primary)}.el-time-panel__btn.confirm{font-weight:800;color:var(--el-timepicker-active-color,var(--el-color-primary))}.el-textarea{--el-input-text-color:var(--el-text-color-regular);--el-input-border:var(--el-border);--el-input-hover-border:var(--el-border-color-hover);--el-input-focus-border:var(--el-color-primary);--el-input-transparent-border:0 0 0 1px transparent inset;--el-input-border-color:var(--el-border-color);--el-input-border-radius:var(--el-border-radius-base);--el-input-bg-color:var(--el-fill-color-blank);--el-input-icon-color:var(--el-text-color-placeholder);--el-input-placeholder-color:var(--el-text-color-placeholder);--el-input-hover-border-color:var(--el-border-color-hover);--el-input-clear-hover-color:var(--el-text-color-secondary);--el-input-focus-border-color:var(--el-color-primary)}.el-textarea{position:relative;display:inline-block;width:100%;vertical-align:bottom;font-size:var(--el-font-size-base)}.el-textarea__inner{position:relative;display:block;resize:vertical;padding:5px 15px;line-height:1.5;box-sizing:border-box;width:100%;font-size:inherit;font-family:inherit;color:var(--el-input-text-color,var(--el-text-color-regular));background-color:var(--el-input-bg-color,var(--el-fill-color-blank));background-image:none;-webkit-appearance:none;box-shadow:0 0 0 1px var(--el-input-border-color,var(--el-border-color)) inset;border-radius:var(--el-input-border-radius,var(--el-border-radius-base));transition:var(--el-transition-box-shadow);border:none}.el-textarea__inner::placeholder{color:var(--el-input-placeholder-color,var(--el-text-color-placeholder))}.el-textarea__inner:hover{box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset}.el-textarea__inner:focus{outline:0;box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-textarea .el-input__count{color:var(--el-color-info);background:var(--el-fill-color-blank);position:absolute;font-size:12px;line-height:14px;bottom:5px;right:10px}.el-textarea.is-disabled .el-textarea__inner{background-color:var(--el-disabled-bg-color);border-color:var(--el-disabled-border-color);color:var(--el-disabled-text-color);cursor:not-allowed}.el-textarea.is-disabled .el-textarea__inner::placeholder{color:var(--el-text-color-placeholder)}.el-textarea.is-exceed .el-textarea__inner{border-color:var(--el-color-danger)}.el-textarea.is-exceed .el-input__count{color:var(--el-color-danger)}.el-input{--el-input-text-color:var(--el-text-color-regular);--el-input-border:var(--el-border);--el-input-hover-border:var(--el-border-color-hover);--el-input-focus-border:var(--el-color-primary);--el-input-transparent-border:0 0 0 1px transparent inset;--el-input-border-color:var(--el-border-color);--el-input-border-radius:var(--el-border-radius-base);--el-input-bg-color:var(--el-fill-color-blank);--el-input-icon-color:var(--el-text-color-placeholder);--el-input-placeholder-color:var(--el-text-color-placeholder);--el-input-hover-border-color:var(--el-border-color-hover);--el-input-clear-hover-color:var(--el-text-color-secondary);--el-input-focus-border-color:var(--el-color-primary)}.el-input{--el-input-height:var(--el-component-size);position:relative;font-size:var(--el-font-size-base);display:inline-flex;width:100%;line-height:var(--el-input-height);box-sizing:border-box}.el-input::-webkit-scrollbar{z-index:11;width:6px}.el-input::-webkit-scrollbar:horizontal{height:6px}.el-input::-webkit-scrollbar-thumb{border-radius:5px;width:6px;background:var(--el-text-color-disabled)}.el-input::-webkit-scrollbar-corner{background:var(--el-fill-color-blank)}.el-input::-webkit-scrollbar-track{background:var(--el-fill-color-blank)}.el-input::-webkit-scrollbar-track-piece{background:var(--el-fill-color-blank);width:6px}.el-input .el-input__clear,.el-input .el-input__password{color:var(--el-input-icon-color);font-size:14px;cursor:pointer}.el-input .el-input__clear:hover,.el-input .el-input__password:hover{color:var(--el-input-clear-hover-color)}.el-input .el-input__count{height:100%;display:inline-flex;align-items:center;color:var(--el-color-info);font-size:12px}.el-input .el-input__count .el-input__count-inner{background:var(--el-fill-color-blank);line-height:initial;display:inline-block;padding-left:8px}.el-input__wrapper{--el-input-inner-height:calc(var(--el-input-height) - 2px);display:inline-flex;flex-grow:1;align-items:center;justify-content:center;padding:1px 11px;background-color:var(--el-input-bg-color,var(--el-fill-color-blank));background-image:none;border-radius:var(--el-input-border-radius,var(--el-border-radius-base));transition:var(--el-transition-box-shadow);box-shadow:0 0 0 1px var(--el-input-border-color,var(--el-border-color)) inset}.el-input__wrapper:hover{box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset}.el-input__wrapper.is-focus{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-input__inner{width:100%;flex-grow:1;-webkit-appearance:none;color:var(--el-input-text-color,var(--el-text-color-regular));font-size:inherit;height:var(--el-input-inner-height);line-height:var(--el-input-inner-height);padding:0;outline:0;border:none;background:0 0;box-sizing:border-box}.el-input__inner:focus{outline:0}.el-input__inner::placeholder{color:var(--el-input-placeholder-color,var(--el-text-color-placeholder))}.el-input__inner[type=password]::-ms-reveal{display:none}.el-input__prefix{display:inline-flex;white-space:nowrap;flex-shrink:0;flex-wrap:nowrap;height:100%;text-align:center;color:var(--el-input-icon-color,var(--el-text-color-placeholder));transition:all var(--el-transition-duration);pointer-events:none}.el-input__prefix-inner{pointer-events:all;display:inline-flex;align-items:center;justify-content:center}.el-input__prefix-inner>:last-child{margin-right:8px}.el-input__prefix-inner>:first-child,.el-input__prefix-inner>:first-child.el-input__icon{margin-left:0}.el-input__suffix{display:inline-flex;white-space:nowrap;flex-shrink:0;flex-wrap:nowrap;height:100%;text-align:center;color:var(--el-input-icon-color,var(--el-text-color-placeholder));transition:all var(--el-transition-duration);pointer-events:none}.el-input__suffix-inner{pointer-events:all;display:inline-flex;align-items:center;justify-content:center}.el-input__suffix-inner>:first-child{margin-left:8px}.el-input .el-input__icon{height:inherit;line-height:inherit;display:flex;justify-content:center;align-items:center;transition:all var(--el-transition-duration);margin-left:8px}.el-input__validateIcon{pointer-events:none}.el-input.is-active .el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-focus-color,) inset}.el-input.is-disabled{cursor:not-allowed}.el-input.is-disabled .el-input__wrapper{background-color:var(--el-disabled-bg-color);box-shadow:0 0 0 1px var(--el-disabled-border-color) inset}.el-input.is-disabled .el-input__inner{color:var(--el-disabled-text-color)}.el-input.is-disabled .el-input__inner::placeholder{color:var(--el-text-color-placeholder)}.el-input.is-disabled .el-input__icon{cursor:not-allowed}.el-input.is-exceed .el-input__wrapper{box-shadow:0 0 0 1px var(--el-color-danger) inset}.el-input.is-exceed .el-input__suffix .el-input__count{color:var(--el-color-danger)}.el-input--large{--el-input-height:var(--el-component-size-large);font-size:14px}.el-input--large .el-input__wrapper{--el-input-inner-height:calc(var(--el-input-height-large) - 2px);padding:1px 15px}.el-input--small{--el-input-height:var(--el-component-size-small);font-size:12px}.el-input--small .el-input__wrapper{--el-input-inner-height:calc(var(--el-input-height-small) - 2px);padding:1px 7px}.el-input-group{display:inline-flex;width:100%;align-items:stretch}.el-input-group__append,.el-input-group__prepend{background-color:var(--el-fill-color-light);color:var(--el-color-info);position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:100%;border-radius:var(--el-input-border-radius);padding:0 20px;white-space:nowrap}.el-input-group__append:focus,.el-input-group__prepend:focus{outline:0}.el-input-group__append .el-button,.el-input-group__append .el-select,.el-input-group__prepend .el-button,.el-input-group__prepend .el-select{display:inline-block;margin:0 -20px}.el-input-group__append button.el-button,.el-input-group__append button.el-button:hover,.el-input-group__append div.el-select .el-input__wrapper,.el-input-group__append div.el-select:hover .el-input__wrapper,.el-input-group__prepend button.el-button,.el-input-group__prepend button.el-button:hover,.el-input-group__prepend div.el-select .el-input__wrapper,.el-input-group__prepend div.el-select:hover .el-input__wrapper{border-color:transparent;background-color:transparent;color:inherit}.el-input-group__append .el-button,.el-input-group__append .el-input,.el-input-group__prepend .el-button,.el-input-group__prepend .el-input{font-size:inherit}.el-input-group__prepend{border-right:0;border-top-right-radius:0;border-bottom-right-radius:0;box-shadow:1px 0 0 0 var(--el-input-border-color) inset,0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset}.el-input-group__append{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0;box-shadow:0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset,-1px 0 0 0 var(--el-input-border-color) inset}.el-input-group--prepend>.el-input__wrapper{border-top-left-radius:0;border-bottom-left-radius:0}.el-input-group--prepend .el-input-group__prepend .el-select .el-input .el-input__inner{box-shadow:none!important}.el-input-group--prepend .el-input-group__prepend .el-select .el-input .el-input__wrapper{border-top-right-radius:0;border-bottom-right-radius:0;box-shadow:1px 0 0 0 var(--el-input-border-color) inset,0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset}.el-input-group--prepend .el-input-group__prepend .el-select .el-input.is-focus .el-input__inner{box-shadow:none!important}.el-input-group--prepend .el-input-group__prepend .el-select .el-input.is-focus .el-input__wrapper{box-shadow:1px 0 0 0 var(--el-input-focus-border-color) inset,1px 0 0 0 var(--el-input-focus-border-color),0 1px 0 0 var(--el-input-focus-border-color) inset,0 -1px 0 0 var(--el-input-focus-border-color) inset!important;z-index:2}.el-input-group--prepend .el-input-group__prepend .el-select .el-input.is-focus .el-input__wrapper:focus{outline:0;z-index:2;box-shadow:1px 0 0 0 var(--el-input-focus-border-color) inset,1px 0 0 0 var(--el-input-focus-border-color),0 1px 0 0 var(--el-input-focus-border-color) inset,0 -1px 0 0 var(--el-input-focus-border-color) inset!important}.el-input-group--prepend .el-input-group__prepend .el-select:hover .el-input__inner{box-shadow:none!important}.el-input-group--prepend .el-input-group__prepend .el-select:hover .el-input__wrapper{z-index:1;box-shadow:1px 0 0 0 var(--el-input-hover-border-color) inset,1px 0 0 0 var(--el-input-hover-border-color),0 1px 0 0 var(--el-input-hover-border-color) inset,0 -1px 0 0 var(--el-input-hover-border-color) inset!important}.el-input-group--append>.el-input__wrapper{border-top-right-radius:0;border-bottom-right-radius:0}.el-input-group--append .el-input-group__append .el-select .el-input .el-input__inner{box-shadow:none!important}.el-input-group--append .el-input-group__append .el-select .el-input .el-input__wrapper{border-top-left-radius:0;border-bottom-left-radius:0;box-shadow:0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset,-1px 0 0 0 var(--el-input-border-color) inset}.el-input-group--append .el-input-group__append .el-select .el-input.is-focus .el-input__inner{box-shadow:none!important}.el-input-group--append .el-input-group__append .el-select .el-input.is-focus .el-input__wrapper{z-index:2;box-shadow:-1px 0 0 0 var(--el-input-focus-border-color),-1px 0 0 0 var(--el-input-focus-border-color) inset,0 1px 0 0 var(--el-input-focus-border-color) inset,0 -1px 0 0 var(--el-input-focus-border-color) inset!important}.el-input-group--append .el-input-group__append .el-select:hover .el-input__inner{box-shadow:none!important}.el-input-group--append .el-input-group__append .el-select:hover .el-input__wrapper{z-index:1;box-shadow:-1px 0 0 0 var(--el-input-hover-border-color),-1px 0 0 0 var(--el-input-hover-border-color) inset,0 1px 0 0 var(--el-input-hover-border-color) inset,0 -1px 0 0 var(--el-input-hover-border-color) inset!important}.el-scrollbar{--el-scrollbar-opacity:.3;--el-scrollbar-bg-color:var(--el-text-color-secondary);--el-scrollbar-hover-opacity:.5;--el-scrollbar-hover-bg-color:var(--el-text-color-secondary)}.el-scrollbar{overflow:hidden;position:relative;height:100%}.el-scrollbar__wrap{overflow:auto;height:100%}.el-scrollbar__wrap--hidden-default{scrollbar-width:none}.el-scrollbar__wrap--hidden-default::-webkit-scrollbar{display:none}.el-scrollbar__thumb{position:relative;display:block;width:0;height:0;cursor:pointer;border-radius:inherit;background-color:var(--el-scrollbar-bg-color,var(--el-text-color-secondary));transition:var(--el-transition-duration) background-color;opacity:var(--el-scrollbar-opacity,.3)}.el-scrollbar__thumb:hover{background-color:var(--el-scrollbar-hover-bg-color,var(--el-text-color-secondary));opacity:var(--el-scrollbar-hover-opacity,.5)}.el-scrollbar__bar{position:absolute;right:2px;bottom:2px;z-index:1;border-radius:4px}.el-scrollbar__bar.is-vertical{width:6px;top:2px}.el-scrollbar__bar.is-vertical>div{width:100%}.el-scrollbar__bar.is-horizontal{height:6px;left:2px}.el-scrollbar__bar.is-horizontal>div{height:100%}.el-scrollbar-fade-enter-active{transition:opacity .34s ease-out}.el-scrollbar-fade-leave-active{transition:opacity .12s ease-out}.el-scrollbar-fade-enter-from,.el-scrollbar-fade-leave-active{opacity:0}.el-tag{--el-tag-font-size:12px;--el-tag-border-radius:4px;--el-tag-border-radius-rounded:9999px}.el-tag{--el-tag-bg-color:var(--el-color-primary-light-9);--el-tag-border-color:var(--el-color-primary-light-8);--el-tag-hover-color:var(--el-color-primary);--el-tag-text-color:var(--el-color-primary);background-color:var(--el-tag-bg-color);border-color:var(--el-tag-border-color);color:var(--el-tag-text-color);display:inline-flex;justify-content:center;align-items:center;height:24px;padding:0 9px;font-size:var(--el-tag-font-size);line-height:1;border-width:1px;border-style:solid;border-radius:var(--el-tag-border-radius);box-sizing:border-box;white-space:nowrap;--el-icon-size:14px}.el-tag.el-tag--primary{--el-tag-bg-color:var(--el-color-primary-light-9);--el-tag-border-color:var(--el-color-primary-light-8);--el-tag-hover-color:var(--el-color-primary)}.el-tag.el-tag--success{--el-tag-bg-color:var(--el-color-success-light-9);--el-tag-border-color:var(--el-color-success-light-8);--el-tag-hover-color:var(--el-color-success)}.el-tag.el-tag--warning{--el-tag-bg-color:var(--el-color-warning-light-9);--el-tag-border-color:var(--el-color-warning-light-8);--el-tag-hover-color:var(--el-color-warning)}.el-tag.el-tag--danger{--el-tag-bg-color:var(--el-color-danger-light-9);--el-tag-border-color:var(--el-color-danger-light-8);--el-tag-hover-color:var(--el-color-danger)}.el-tag.el-tag--error{--el-tag-bg-color:var(--el-color-error-light-9);--el-tag-border-color:var(--el-color-error-light-8);--el-tag-hover-color:var(--el-color-error)}.el-tag.el-tag--info{--el-tag-bg-color:var(--el-color-info-light-9);--el-tag-border-color:var(--el-color-info-light-8);--el-tag-hover-color:var(--el-color-info)}.el-tag.el-tag--primary{--el-tag-text-color:var(--el-color-primary)}.el-tag.el-tag--success{--el-tag-text-color:var(--el-color-success)}.el-tag.el-tag--warning{--el-tag-text-color:var(--el-color-warning)}.el-tag.el-tag--danger{--el-tag-text-color:var(--el-color-danger)}.el-tag.el-tag--error{--el-tag-text-color:var(--el-color-error)}.el-tag.el-tag--info{--el-tag-text-color:var(--el-color-info)}.el-tag.is-hit{border-color:var(--el-color-primary)}.el-tag.is-round{border-radius:var(--el-tag-border-radius-rounded)}.el-tag .el-tag__close{color:var(--el-tag-text-color)}.el-tag .el-tag__close:hover{color:var(--el-color-white);background-color:var(--el-tag-hover-color)}.el-tag .el-icon{border-radius:50%;cursor:pointer;font-size:calc(var(--el-icon-size) - 2px);height:var(--el-icon-size);width:var(--el-icon-size)}.el-tag .el-tag__close{margin-left:6px}.el-tag--dark{--el-tag-bg-color:var(--el-color-primary);--el-tag-border-color:var(--el-color-primary);--el-tag-hover-color:var(--el-color-primary-light-3);--el-tag-text-color:var(--el-color-white)}.el-tag--dark.el-tag--primary{--el-tag-bg-color:var(--el-color-primary);--el-tag-border-color:var(--el-color-primary);--el-tag-hover-color:var(--el-color-primary-light-3)}.el-tag--dark.el-tag--success{--el-tag-bg-color:var(--el-color-success);--el-tag-border-color:var(--el-color-success);--el-tag-hover-color:var(--el-color-success-light-3)}.el-tag--dark.el-tag--warning{--el-tag-bg-color:var(--el-color-warning);--el-tag-border-color:var(--el-color-warning);--el-tag-hover-color:var(--el-color-warning-light-3)}.el-tag--dark.el-tag--danger{--el-tag-bg-color:var(--el-color-danger);--el-tag-border-color:var(--el-color-danger);--el-tag-hover-color:var(--el-color-danger-light-3)}.el-tag--dark.el-tag--error{--el-tag-bg-color:var(--el-color-error);--el-tag-border-color:var(--el-color-error);--el-tag-hover-color:var(--el-color-error-light-3)}.el-tag--dark.el-tag--info{--el-tag-bg-color:var(--el-color-info);--el-tag-border-color:var(--el-color-info);--el-tag-hover-color:var(--el-color-info-light-3)}.el-tag--dark.el-tag--primary,.el-tag--dark.el-tag--success,.el-tag--dark.el-tag--warning,.el-tag--dark.el-tag--danger,.el-tag--dark.el-tag--error,.el-tag--dark.el-tag--info{--el-tag-text-color:var(--el-color-white)}.el-tag--plain{--el-tag-border-color:var(--el-color-primary-light-5);--el-tag-hover-color:var(--el-color-primary);--el-tag-bg-color:var(--el-fill-color-blank)}.el-tag--plain.el-tag--primary{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-primary-light-5);--el-tag-hover-color:var(--el-color-primary)}.el-tag--plain.el-tag--success{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-success-light-5);--el-tag-hover-color:var(--el-color-success)}.el-tag--plain.el-tag--warning{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-warning-light-5);--el-tag-hover-color:var(--el-color-warning)}.el-tag--plain.el-tag--danger{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-danger-light-5);--el-tag-hover-color:var(--el-color-danger)}.el-tag--plain.el-tag--error{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-error-light-5);--el-tag-hover-color:var(--el-color-error)}.el-tag--plain.el-tag--info{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-info-light-5);--el-tag-hover-color:var(--el-color-info)}.el-tag.is-closable{padding-right:5px}.el-tag--large{padding:0 11px;height:32px;--el-icon-size:16px}.el-tag--large .el-tag__close{margin-left:8px}.el-tag--large.is-closable{padding-right:7px}.el-tag--small{padding:0 7px;height:20px;--el-icon-size:12px}.el-tag--small .el-tag__close{margin-left:4px}.el-tag--small.is-closable{padding-right:3px}.el-tag--small .el-icon-close{transform:scale(.8)}.el-tag.el-tag--primary.is-hit{border-color:var(--el-color-primary)}.el-tag.el-tag--success.is-hit{border-color:var(--el-color-success)}.el-tag.el-tag--warning.is-hit{border-color:var(--el-color-warning)}.el-tag.el-tag--danger.is-hit{border-color:var(--el-color-danger)}.el-tag.el-tag--error.is-hit{border-color:var(--el-color-error)}.el-tag.el-tag--info.is-hit{border-color:var(--el-color-info)}.el-select-dropdown__item{font-size:var(--el-font-size-base);padding:0 32px 0 20px;position:relative;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--el-text-color-regular);height:34px;line-height:34px;box-sizing:border-box;cursor:pointer}.el-select-dropdown__item.is-disabled{color:var(--el-text-color-placeholder);cursor:not-allowed}.el-select-dropdown__item.hover,.el-select-dropdown__item:hover{background-color:var(--el-fill-color-light)}.el-select-dropdown__item.selected{color:var(--el-color-primary);font-weight:700}.el-select-group{margin:0;padding:0}.el-select-group__wrap{position:relative;list-style:none;margin:0;padding:0}.el-select-group__wrap:not(:last-of-type){padding-bottom:24px}.el-select-group__wrap:not(:last-of-type):after{content:"";position:absolute;display:block;left:20px;right:20px;bottom:12px;height:1px;background:var(--el-border-color-light)}.el-select-group__split-dash{position:absolute;left:20px;right:20px;height:1px;background:var(--el-border-color-light)}.el-select-group__title{padding-left:20px;font-size:12px;color:var(--el-color-info);line-height:30px}.el-select-group .el-select-dropdown__item{padding-left:20px}.el-select-dropdown{z-index:calc(var(--el-index-top) + 1);border-radius:var(--el-border-radius-base);box-sizing:border-box}.el-select-dropdown.is-multiple .el-select-dropdown__item.selected{color:var(--el-color-primary);background-color:var(--el-bg-color-overlay)}.el-select-dropdown.is-multiple .el-select-dropdown__item.selected.hover{background-color:var(--el-fill-color-light)}.el-select-dropdown.is-multiple .el-select-dropdown__item.selected:after{content:"";position:absolute;top:50%;right:20px;border-top:none;border-right:none;background-repeat:no-repeat;background-position:center;background-color:var(--el-color-primary);-webkit-mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") no-repeat;mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") no-repeat;mask-size:100% 100%;-webkit-mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") no-repeat;-webkit-mask-size:100% 100%;transform:translateY(-50%);width:12px;height:12px}.el-select-dropdown .el-select-dropdown__option-item.is-selected:after{content:"";position:absolute;top:50%;right:20px;border-top:none;border-right:none;background-repeat:no-repeat;background-position:center;background-color:var(--el-color-primary);-webkit-mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") no-repeat;mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") no-repeat;mask-size:100% 100%;-webkit-mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") no-repeat;-webkit-mask-size:100% 100%;transform:translateY(-50%);width:12px;height:12px}.el-select-dropdown .el-scrollbar.is-empty .el-select-dropdown__list{padding:0}.el-select-dropdown__empty{padding:10px 0;margin:0;text-align:center;color:var(--el-text-color-secondary);font-size:var(--el-select-font-size)}.el-select-dropdown__wrap{max-height:274px}.el-select-dropdown__list{list-style:none;padding:6px 0;margin:0;box-sizing:border-box}.el-select{--el-select-border-color-hover:var(--el-border-color-hover);--el-select-disabled-border:var(--el-disabled-border-color);--el-select-font-size:var(--el-font-size-base);--el-select-close-hover-color:var(--el-text-color-secondary);--el-select-input-color:var(--el-text-color-placeholder);--el-select-multiple-input-color:var(--el-text-color-regular);--el-select-input-focus-border-color:var(--el-color-primary);--el-select-input-font-size:14px}.el-select{display:inline-block;position:relative;line-height:32px}.el-select__popper.el-popper[role=tooltip]{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color-light);box-shadow:var(--el-box-shadow-light)}.el-select__popper.el-popper[role=tooltip] .el-popper__arrow:before{border:1px solid var(--el-border-color-light)}.el-select__popper.el-popper[role=tooltip][data-popper-placement^=top] .el-popper__arrow:before{border-top-color:transparent;border-left-color:transparent}.el-select__popper.el-popper[role=tooltip][data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-select__popper.el-popper[role=tooltip][data-popper-placement^=left] .el-popper__arrow:before{border-left-color:transparent;border-bottom-color:transparent}.el-select__popper.el-popper[role=tooltip][data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-select .el-select-tags-wrapper.has-prefix{margin-left:6px}.el-select--large{line-height:40px}.el-select--large .el-select-tags-wrapper.has-prefix{margin-left:8px}.el-select--small{line-height:24px}.el-select--small .el-select-tags-wrapper.has-prefix{margin-left:4px}.el-select .el-select__tags>span{display:inline-block}.el-select:hover:not(.el-select--disabled) .el-input__wrapper{box-shadow:0 0 0 1px var(--el-select-border-color-hover) inset}.el-select .el-select__tags-text{text-overflow:ellipsis;display:inline-flex;justify-content:center;align-items:center;overflow:hidden}.el-select .el-input__wrapper{cursor:pointer}.el-select .el-input__wrapper.is-focus{box-shadow:0 0 0 1px var(--el-select-input-focus-border-color) inset!important}.el-select .el-input__inner{cursor:pointer}.el-select .el-input{display:flex}.el-select .el-input .el-select__caret{color:var(--el-select-input-color);font-size:var(--el-select-input-font-size);transition:transform var(--el-transition-duration);transform:rotate(180deg);cursor:pointer}.el-select .el-input .el-select__caret.is-reverse{transform:rotate(0)}.el-select .el-input .el-select__caret.is-show-close{font-size:var(--el-select-font-size);text-align:center;transform:rotate(180deg);border-radius:var(--el-border-radius-circle);color:var(--el-select-input-color);transition:var(--el-transition-color)}.el-select .el-input .el-select__caret.is-show-close:hover{color:var(--el-select-close-hover-color)}.el-select .el-input .el-select__caret.el-icon{position:relative;height:inherit;z-index:2}.el-select .el-input.is-disabled .el-input__wrapper{cursor:not-allowed}.el-select .el-input.is-disabled .el-input__wrapper:hover{box-shadow:0 0 0 1px var(--el-select-disabled-border) inset}.el-select .el-input.is-disabled .el-input__inner,.el-select .el-input.is-disabled .el-select__caret{cursor:not-allowed}.el-select .el-input.is-focus .el-input__wrapper{box-shadow:0 0 0 1px var(--el-select-input-focus-border-color) inset!important}.el-select__input{border:none;outline:0;padding:0;margin-left:15px;color:var(--el-select-multiple-input-color);font-size:var(--el-select-font-size);-webkit-appearance:none;appearance:none;height:28px;background-color:transparent}.el-select__close{cursor:pointer;position:absolute;top:8px;z-index:var(--el-index-top);right:25px;color:var(--el-select-input-color);line-height:18px;font-size:var(--el-select-input-font-size)}.el-select__close:hover{color:var(--el-select-close-hover-color)}.el-select__tags{position:absolute;line-height:normal;top:50%;transform:translateY(-50%);white-space:normal;z-index:var(--el-index-normal);display:flex;align-items:center;flex-wrap:wrap}.el-select__collapse-tags{white-space:normal;z-index:var(--el-index-normal);display:flex;align-items:center;flex-wrap:wrap}.el-select__collapse-tag{line-height:inherit;height:inherit;display:flex}.el-select .el-select__tags .el-tag{box-sizing:border-box;border-color:transparent;margin:2px 6px 2px 0}.el-select .el-select__tags .el-tag:last-child{margin-right:0}.el-select .el-select__tags .el-tag .el-icon-close{background-color:var(--el-text-color-placeholder);right:-7px;top:0;color:#fff}.el-select .el-select__tags .el-tag .el-icon-close:hover{background-color:var(--el-text-color-secondary)}.el-select .el-select__tags .el-tag .el-icon-close:before{display:block;transform:translateY(.5px)}.el-select .el-select__tags .el-tag--info{background-color:var(--el-fill-color)}.dialog-footer[data-v-62b4be7c]{display:flex;justify-content:center}.el-tabs__header{padding:0;position:relative;margin:0 0 15px}.el-tabs__active-bar{position:absolute;bottom:0;left:0;height:2px;background-color:var(--el-color-primary);z-index:1;transition:width var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier),transform var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);list-style:none}.el-tabs__new-tab{display:flex;align-items:center;justify-content:center;float:right;border:1px solid var(--el-border-color);height:20px;width:20px;line-height:20px;margin:10px 0 10px 10px;border-radius:3px;text-align:center;font-size:12px;color:var(--el-text-color-primary);cursor:pointer;transition:all .15s}.el-tabs__new-tab .is-icon-plus{height:inherit;width:inherit;transform:scale(.8)}.el-tabs__new-tab .is-icon-plus svg{vertical-align:middle}.el-tabs__new-tab:hover{color:var(--el-color-primary)}.el-tabs__nav-wrap{overflow:hidden;margin-bottom:-1px;position:relative}.el-tabs__nav-wrap:after{content:"";position:absolute;left:0;bottom:0;width:100%;height:2px;background-color:var(--el-border-color-light);z-index:var(--el-index-normal)}.el-tabs__nav-wrap.is-scrollable{padding:0 20px;box-sizing:border-box}.el-tabs__nav-scroll{overflow:hidden}.el-tabs__nav-next,.el-tabs__nav-prev{position:absolute;cursor:pointer;line-height:44px;font-size:12px;color:var(--el-text-color-secondary)}.el-tabs__nav-next{right:0}.el-tabs__nav-prev{left:0}.el-tabs__nav{white-space:nowrap;position:relative;transition:transform var(--el-transition-duration);float:left;z-index:calc(var(--el-index-normal) + 1)}.el-tabs__nav.is-stretch{min-width:100%;display:flex}.el-tabs__nav.is-stretch>*{flex:1;text-align:center}.el-tabs__item{padding:0 20px;height:40px;box-sizing:border-box;line-height:40px;display:inline-block;list-style:none;font-size:var(--el-font-size-base);font-weight:500;color:var(--el-text-color-primary);position:relative}.el-tabs__item:focus,.el-tabs__item:focus:active{outline:0}.el-tabs__item .is-icon-close{border-radius:50%;text-align:center;transition:all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);margin-left:5px}.el-tabs__item .is-icon-close:before{transform:scale(.9);display:inline-block}.el-tabs__item .is-icon-close:hover{background-color:var(--el-text-color-placeholder);color:#fff}.el-tabs__item .is-icon-close svg{margin-top:1px}.el-tabs__item.is-active{color:var(--el-color-primary)}.el-tabs__item:hover{color:var(--el-color-primary);cursor:pointer}.el-tabs__item.is-disabled{color:var(--el-disabled-text-color);cursor:default}.el-tabs__content{overflow:hidden;position:relative}.el-tabs--card>.el-tabs__header{border-bottom:1px solid var(--el-border-color-light)}.el-tabs--card>.el-tabs__header .el-tabs__nav-wrap:after{content:none}.el-tabs--card>.el-tabs__header .el-tabs__nav{border:1px solid var(--el-border-color-light);border-bottom:none;border-radius:4px 4px 0 0;box-sizing:border-box}.el-tabs--card>.el-tabs__header .el-tabs__active-bar{display:none}.el-tabs--card>.el-tabs__header .el-tabs__item .is-icon-close{position:relative;font-size:12px;width:0;height:14px;vertical-align:middle;line-height:15px;overflow:hidden;top:-1px;right:-2px;transform-origin:100% 50%}.el-tabs--card>.el-tabs__header .el-tabs__item{border-bottom:1px solid transparent;border-left:1px solid var(--el-border-color-light);transition:color var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier),padding var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier)}.el-tabs--card>.el-tabs__header .el-tabs__item:first-child{border-left:none}.el-tabs--card>.el-tabs__header .el-tabs__item.is-closable:hover{padding-left:13px;padding-right:13px}.el-tabs--card>.el-tabs__header .el-tabs__item.is-closable:hover .is-icon-close{width:14px}.el-tabs--card>.el-tabs__header .el-tabs__item.is-active{border-bottom-color:var(--el-bg-color)}.el-tabs--card>.el-tabs__header .el-tabs__item.is-active.is-closable{padding-left:20px;padding-right:20px}.el-tabs--card>.el-tabs__header .el-tabs__item.is-active.is-closable .is-icon-close{width:14px}.el-tabs--border-card{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color)}.el-tabs--border-card>.el-tabs__content{padding:15px}.el-tabs--border-card>.el-tabs__header{background-color:var(--el-fill-color-light);border-bottom:1px solid var(--el-border-color-light);margin:0}.el-tabs--border-card>.el-tabs__header .el-tabs__nav-wrap:after{content:none}.el-tabs--border-card>.el-tabs__header .el-tabs__item{transition:all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);border:1px solid transparent;margin-top:-1px;color:var(--el-text-color-secondary)}.el-tabs--border-card>.el-tabs__header .el-tabs__item:first-child{margin-left:-1px}.el-tabs--border-card>.el-tabs__header .el-tabs__item+.el-tabs__item{margin-left:-1px}.el-tabs--border-card>.el-tabs__header .el-tabs__item.is-active{color:var(--el-color-primary);background-color:var(--el-bg-color-overlay);border-right-color:var(--el-border-color);border-left-color:var(--el-border-color)}.el-tabs--border-card>.el-tabs__header .el-tabs__item:not(.is-disabled):hover{color:var(--el-color-primary)}.el-tabs--border-card>.el-tabs__header .el-tabs__item.is-disabled{color:var(--el-disabled-text-color)}.el-tabs--border-card>.el-tabs__header .is-scrollable .el-tabs__item:first-child{margin-left:0}.el-tabs--bottom .el-tabs__item.is-bottom:nth-child(2),.el-tabs--bottom .el-tabs__item.is-top:nth-child(2),.el-tabs--top .el-tabs__item.is-bottom:nth-child(2),.el-tabs--top .el-tabs__item.is-top:nth-child(2){padding-left:0}.el-tabs--bottom .el-tabs__item.is-bottom:last-child,.el-tabs--bottom .el-tabs__item.is-top:last-child,.el-tabs--top .el-tabs__item.is-bottom:last-child,.el-tabs--top .el-tabs__item.is-top:last-child{padding-right:0}.el-tabs--bottom .el-tabs--left>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--bottom .el-tabs--right>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--bottom.el-tabs--border-card>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--bottom.el-tabs--card>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--top .el-tabs--left>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--top .el-tabs--right>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--top.el-tabs--border-card>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--top.el-tabs--card>.el-tabs__header .el-tabs__item:nth-child(2){padding-left:20px}.el-tabs--bottom .el-tabs--left>.el-tabs__header .el-tabs__item:last-child,.el-tabs--bottom .el-tabs--right>.el-tabs__header .el-tabs__item:last-child,.el-tabs--bottom.el-tabs--border-card>.el-tabs__header .el-tabs__item:last-child,.el-tabs--bottom.el-tabs--card>.el-tabs__header .el-tabs__item:last-child,.el-tabs--top .el-tabs--left>.el-tabs__header .el-tabs__item:last-child,.el-tabs--top .el-tabs--right>.el-tabs__header .el-tabs__item:last-child,.el-tabs--top.el-tabs--border-card>.el-tabs__header .el-tabs__item:last-child,.el-tabs--top.el-tabs--card>.el-tabs__header .el-tabs__item:last-child{padding-right:20px}.el-tabs--bottom .el-tabs__header.is-bottom{margin-bottom:0;margin-top:10px}.el-tabs--bottom.el-tabs--border-card .el-tabs__header.is-bottom{border-bottom:0;border-top:1px solid var(--el-border-color)}.el-tabs--bottom.el-tabs--border-card .el-tabs__nav-wrap.is-bottom{margin-top:-1px;margin-bottom:0}.el-tabs--bottom.el-tabs--border-card .el-tabs__item.is-bottom:not(.is-active){border:1px solid transparent}.el-tabs--bottom.el-tabs--border-card .el-tabs__item.is-bottom{margin:0 -1px -1px}.el-tabs--left,.el-tabs--right{overflow:hidden}.el-tabs--left .el-tabs__header.is-left,.el-tabs--left .el-tabs__header.is-right,.el-tabs--left .el-tabs__nav-scroll,.el-tabs--left .el-tabs__nav-wrap.is-left,.el-tabs--left .el-tabs__nav-wrap.is-right,.el-tabs--right .el-tabs__header.is-left,.el-tabs--right .el-tabs__header.is-right,.el-tabs--right .el-tabs__nav-scroll,.el-tabs--right .el-tabs__nav-wrap.is-left,.el-tabs--right .el-tabs__nav-wrap.is-right{height:100%}.el-tabs--left .el-tabs__active-bar.is-left,.el-tabs--left .el-tabs__active-bar.is-right,.el-tabs--right .el-tabs__active-bar.is-left,.el-tabs--right .el-tabs__active-bar.is-right{top:0;bottom:auto;width:2px;height:auto}.el-tabs--left .el-tabs__nav-wrap.is-left,.el-tabs--left .el-tabs__nav-wrap.is-right,.el-tabs--right .el-tabs__nav-wrap.is-left,.el-tabs--right .el-tabs__nav-wrap.is-right{margin-bottom:0}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-next,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev{height:30px;line-height:30px;width:100%;text-align:center;cursor:pointer}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-next i,.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev i,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-next i,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev i,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-next i,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev i,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-next i,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev i{transform:rotate(90deg)}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev{left:auto;top:0}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-next{right:auto;bottom:0}.el-tabs--left .el-tabs__nav-wrap.is-left.is-scrollable,.el-tabs--left .el-tabs__nav-wrap.is-right.is-scrollable,.el-tabs--right .el-tabs__nav-wrap.is-left.is-scrollable,.el-tabs--right .el-tabs__nav-wrap.is-right.is-scrollable{padding:30px 0}.el-tabs--left .el-tabs__nav-wrap.is-left:after,.el-tabs--left .el-tabs__nav-wrap.is-right:after,.el-tabs--right .el-tabs__nav-wrap.is-left:after,.el-tabs--right .el-tabs__nav-wrap.is-right:after{height:100%;width:2px;bottom:auto;top:0}.el-tabs--left .el-tabs__nav.is-left,.el-tabs--left .el-tabs__nav.is-right,.el-tabs--right .el-tabs__nav.is-left,.el-tabs--right .el-tabs__nav.is-right{float:none}.el-tabs--left .el-tabs__item.is-left,.el-tabs--left .el-tabs__item.is-right,.el-tabs--right .el-tabs__item.is-left,.el-tabs--right .el-tabs__item.is-right{display:block}.el-tabs--left .el-tabs__header.is-left{float:left;margin-bottom:0;margin-right:10px}.el-tabs--left .el-tabs__nav-wrap.is-left{margin-right:-1px}.el-tabs--left .el-tabs__nav-wrap.is-left:after{left:auto;right:0}.el-tabs--left .el-tabs__active-bar.is-left{right:0;left:auto}.el-tabs--left .el-tabs__item.is-left{text-align:right}.el-tabs--left.el-tabs--card .el-tabs__active-bar.is-left{display:none}.el-tabs--left.el-tabs--card .el-tabs__item.is-left{border-left:none;border-right:1px solid var(--el-border-color-light);border-bottom:none;border-top:1px solid var(--el-border-color-light);text-align:left}.el-tabs--left.el-tabs--card .el-tabs__item.is-left:first-child{border-right:1px solid var(--el-border-color-light);border-top:none}.el-tabs--left.el-tabs--card .el-tabs__item.is-left.is-active{border:1px solid var(--el-border-color-light);border-right-color:#fff;border-left:none;border-bottom:none}.el-tabs--left.el-tabs--card .el-tabs__item.is-left.is-active:first-child{border-top:none}.el-tabs--left.el-tabs--card .el-tabs__item.is-left.is-active:last-child{border-bottom:none}.el-tabs--left.el-tabs--card .el-tabs__nav{border-radius:4px 0 0 4px;border-bottom:1px solid var(--el-border-color-light);border-right:none}.el-tabs--left.el-tabs--card .el-tabs__new-tab{float:none}.el-tabs--left.el-tabs--border-card .el-tabs__header.is-left{border-right:1px solid var(--el-border-color)}.el-tabs--left.el-tabs--border-card .el-tabs__item.is-left{border:1px solid transparent;margin:-1px 0 -1px -1px}.el-tabs--left.el-tabs--border-card .el-tabs__item.is-left.is-active{border-color:transparent;border-top-color:#d1dbe5;border-bottom-color:#d1dbe5}.el-tabs--right .el-tabs__header.is-right{float:right;margin-bottom:0;margin-left:10px}.el-tabs--right .el-tabs__nav-wrap.is-right{margin-left:-1px}.el-tabs--right .el-tabs__nav-wrap.is-right:after{left:0;right:auto}.el-tabs--right .el-tabs__active-bar.is-right{left:0}.el-tabs--right.el-tabs--card .el-tabs__active-bar.is-right{display:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right{border-bottom:none;border-top:1px solid var(--el-border-color-light)}.el-tabs--right.el-tabs--card .el-tabs__item.is-right:first-child{border-left:1px solid var(--el-border-color-light);border-top:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right.is-active{border:1px solid var(--el-border-color-light);border-left-color:#fff;border-right:none;border-bottom:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right.is-active:first-child{border-top:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right.is-active:last-child{border-bottom:none}.el-tabs--right.el-tabs--card .el-tabs__nav{border-radius:0 4px 4px 0;border-bottom:1px solid var(--el-border-color-light);border-left:none}.el-tabs--right.el-tabs--border-card .el-tabs__header.is-right{border-left:1px solid var(--el-border-color)}.el-tabs--right.el-tabs--border-card .el-tabs__item.is-right{border:1px solid transparent;margin:-1px -1px -1px 0}.el-tabs--right.el-tabs--border-card .el-tabs__item.is-right.is-active{border-color:transparent;border-top-color:#d1dbe5;border-bottom-color:#d1dbe5}.slideInLeft-transition,.slideInRight-transition{display:inline-block}.slideInRight-enter{animation:slideInRight-enter var(--el-transition-duration)}.slideInRight-leave{position:absolute;left:0;right:0;animation:slideInRight-leave var(--el-transition-duration)}.slideInLeft-enter{animation:slideInLeft-enter var(--el-transition-duration)}.slideInLeft-leave{position:absolute;left:0;right:0;animation:slideInLeft-leave var(--el-transition-duration)}@keyframes slideInRight-enter{0%{opacity:0;transform-origin:0 0;transform:translate(100%)}to{opacity:1;transform-origin:0 0;transform:translate(0)}}@keyframes slideInRight-leave{0%{transform-origin:0 0;transform:translate(0);opacity:1}to{transform-origin:0 0;transform:translate(100%);opacity:0}}@keyframes slideInLeft-enter{0%{opacity:0;transform-origin:0 0;transform:translate(-100%)}to{opacity:1;transform-origin:0 0;transform:translate(0)}}@keyframes slideInLeft-leave{0%{transform-origin:0 0;transform:translate(0);opacity:1}to{transform-origin:0 0;transform:translate(-100%);opacity:0}}.el-table{--el-table-border-color:var(--el-border-color-lighter);--el-table-border:1px solid var(--el-table-border-color);--el-table-text-color:var(--el-text-color-regular);--el-table-header-text-color:var(--el-text-color-secondary);--el-table-row-hover-bg-color:var(--el-fill-color-light);--el-table-current-row-bg-color:var(--el-color-primary-light-9);--el-table-header-bg-color:var(--el-bg-color);--el-table-fixed-box-shadow:var(--el-box-shadow-light);--el-table-bg-color:var(--el-fill-color-blank);--el-table-tr-bg-color:var(--el-fill-color-blank);--el-table-expanded-cell-bg-color:var(--el-fill-color-blank);--el-table-fixed-left-column:inset 10px 0 10px -10px rgba(0, 0, 0, .15);--el-table-fixed-right-column:inset -10px 0 10px -10px rgba(0, 0, 0, .15)}.el-table{position:relative;overflow:hidden;box-sizing:border-box;height:-moz-fit-content;height:fit-content;width:100%;max-width:100%;background-color:var(--el-table-bg-color);font-size:14px;color:var(--el-table-text-color)}.el-table__inner-wrapper{position:relative}.el-table__inner-wrapper:before{left:0;bottom:0;width:100%;height:1px;z-index:3}.el-table.has-footer .el-table__inner-wrapper:before{bottom:1px}.el-table__empty-block{position:sticky;left:0;min-height:60px;text-align:center;width:100%;display:flex;justify-content:center;align-items:center}.el-table__empty-text{line-height:60px;width:50%;color:var(--el-text-color-secondary)}.el-table__expand-column .cell{padding:0;text-align:center;-webkit-user-select:none;user-select:none}.el-table__expand-icon{position:relative;cursor:pointer;color:var(--el-text-color-regular);font-size:12px;transition:transform var(--el-transition-duration-fast) ease-in-out;height:20px}.el-table__expand-icon--expanded{transform:rotate(90deg)}.el-table__expand-icon>.el-icon{font-size:12px}.el-table__expanded-cell{background-color:var(--el-table-expanded-cell-bg-color)}.el-table__expanded-cell[class*=cell]{padding:20px 50px}.el-table__expanded-cell:hover{background-color:transparent!important}.el-table__placeholder{display:inline-block;width:20px}.el-table__append-wrapper{overflow:hidden}.el-table--fit{border-right:0;border-bottom:0}.el-table--fit .el-table__cell.gutter{border-right-width:1px}.el-table thead{color:var(--el-table-header-text-color);font-weight:500}.el-table thead.is-group th.el-table__cell{background:var(--el-fill-color-light)}.el-table .el-table__cell{padding:8px 0;min-width:0;box-sizing:border-box;text-overflow:ellipsis;vertical-align:middle;position:relative;text-align:left;z-index:1}.el-table .el-table__cell.is-center{text-align:center}.el-table .el-table__cell.is-right{text-align:right}.el-table .el-table__cell.gutter{width:15px;border-right-width:0;border-bottom-width:0;padding:0}.el-table .el-table__cell.is-hidden>*{visibility:hidden}.el-table .cell{box-sizing:border-box;overflow:hidden;text-overflow:ellipsis;white-space:normal;word-break:break-all;line-height:23px;padding:0 12px}.el-table .cell.el-tooltip{white-space:nowrap;min-width:50px}.el-table--large{font-size:var(--el-font-size-base)}.el-table--large .el-table__cell{padding:12px 0}.el-table--large .cell{padding:0 16px}.el-table--small{font-size:12px}.el-table--small .el-table__cell{padding:4px 0}.el-table--small .cell{padding:0 8px}.el-table tr{background-color:var(--el-table-tr-bg-color)}.el-table tr input[type=checkbox]{margin:0}.el-table td.el-table__cell,.el-table th.el-table__cell.is-leaf{border-bottom:var(--el-table-border)}.el-table th.el-table__cell.is-sortable{cursor:pointer}.el-table th.el-table__cell{-webkit-user-select:none;user-select:none;background-color:var(--el-table-header-bg-color)}.el-table th.el-table__cell>.cell{display:inline-block;box-sizing:border-box;position:relative;vertical-align:middle;width:100%}.el-table th.el-table__cell>.cell.highlight{color:var(--el-color-primary)}.el-table th.el-table__cell.required>div:before{display:inline-block;content:"";width:8px;height:8px;border-radius:50%;background:#ff4d51;margin-right:5px;vertical-align:middle}.el-table td.el-table__cell div{box-sizing:border-box}.el-table td.el-table__cell.gutter{width:0}.el-table--border .el-table__footer-wrapper tr:first-child td:first-child,.el-table--border .el-table__footer-wrapper tr:first-child th:first-child,.el-table--border .el-table__inner-wrapper tr:first-child td:first-child,.el-table--border .el-table__inner-wrapper tr:first-child th:first-child,.el-table--group .el-table__footer-wrapper tr:first-child td:first-child,.el-table--group .el-table__footer-wrapper tr:first-child th:first-child,.el-table--group .el-table__inner-wrapper tr:first-child td:first-child,.el-table--group .el-table__inner-wrapper tr:first-child th:first-child{border-left:var(--el-table-border)}.el-table--border .el-table__footer-wrapper,.el-table--group .el-table__footer-wrapper{border-top:var(--el-table-border)}.el-table--border .el-table__inner-wrapper:after,.el-table--border:after,.el-table--border:before,.el-table__inner-wrapper:before{content:"";position:absolute;background-color:var(--el-table-border-color);z-index:3}.el-table--border .el-table__inner-wrapper:after{left:0;top:0;width:100%;height:1px;z-index:3}.el-table--border:before{top:-1px;left:0;width:1px;height:100%;z-index:3}.el-table--border:after{top:-1px;right:0;width:1px;height:100%;z-index:3}.el-table--border .el-table__inner-wrapper{border-right:none;border-bottom:none}.el-table--border .el-table__footer-wrapper{position:relative}.el-table--border .el-table__footer-wrapper{margin-top:-2px}.el-table--border .el-table__cell{border-right:var(--el-table-border)}.el-table--border .el-table__cell:first-child .cell{padding-left:10px}.el-table--border th.el-table__cell.gutter:last-of-type{border-bottom:var(--el-table-border);border-bottom-width:1px}.el-table--border th.el-table__cell{border-bottom:var(--el-table-border)}.el-table--hidden{visibility:hidden}.el-table__body-wrapper,.el-table__footer-wrapper,.el-table__header-wrapper{width:100%}.el-table__body-wrapper tr td.el-table-fixed-column--left,.el-table__body-wrapper tr td.el-table-fixed-column--right,.el-table__body-wrapper tr th.el-table-fixed-column--left,.el-table__body-wrapper tr th.el-table-fixed-column--right,.el-table__footer-wrapper tr td.el-table-fixed-column--left,.el-table__footer-wrapper tr td.el-table-fixed-column--right,.el-table__footer-wrapper tr th.el-table-fixed-column--left,.el-table__footer-wrapper tr th.el-table-fixed-column--right,.el-table__header-wrapper tr td.el-table-fixed-column--left,.el-table__header-wrapper tr td.el-table-fixed-column--right,.el-table__header-wrapper tr th.el-table-fixed-column--left,.el-table__header-wrapper tr th.el-table-fixed-column--right{position:sticky!important;z-index:2;background:var(--el-bg-color)}.el-table__body-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--right.is-last-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--right.is-last-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--right.is-last-column:before{content:"";position:absolute;top:0;width:10px;bottom:-1px;overflow-x:hidden;overflow-y:hidden;box-shadow:none;touch-action:none;pointer-events:none}.el-table__body-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--right.is-first-column:before{left:-10px}.el-table__body-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--right.is-last-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--right.is-last-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--right.is-last-column:before{right:-10px;box-shadow:none}.el-table__body-wrapper tr td.el-table__fixed-right-patch,.el-table__body-wrapper tr th.el-table__fixed-right-patch,.el-table__footer-wrapper tr td.el-table__fixed-right-patch,.el-table__footer-wrapper tr th.el-table__fixed-right-patch,.el-table__header-wrapper tr td.el-table__fixed-right-patch,.el-table__header-wrapper tr th.el-table__fixed-right-patch{position:sticky!important;z-index:2;background:#fff;right:0}.el-table__header-wrapper tr th.el-table-fixed-column--left,.el-table__header-wrapper tr th.el-table-fixed-column--right{background-color:var(--el-table-header-bg-color)}.el-table__body,.el-table__footer,.el-table__header{table-layout:fixed;border-collapse:separate}.el-table__footer-wrapper,.el-table__header-wrapper{overflow:hidden}.el-table__footer-wrapper tbody td.el-table__cell,.el-table__header-wrapper tbody td.el-table__cell{background-color:var(--el-table-row-hover-bg-color);color:var(--el-table-text-color)}.el-table__body-wrapper .el-table-column--selection .el-checkbox,.el-table__header-wrapper .el-table-column--selection .el-checkbox{height:unset}.el-table.is-scrolling-left .el-table-fixed-column--right.is-first-column:before{box-shadow:var(--el-table-fixed-right-column)}.el-table.is-scrolling-left.el-table--border .el-table-fixed-column--left.is-last-column.el-table__cell{border-right:var(--el-table-border)}.el-table.is-scrolling-left th.el-table-fixed-column--left{background-color:var(--el-table-header-bg-color)}.el-table.is-scrolling-right .el-table-fixed-column--left.is-last-column:before{box-shadow:var(--el-table-fixed-left-column)}.el-table.is-scrolling-right .el-table-fixed-column--left.is-last-column.el-table__cell{border-right:none}.el-table.is-scrolling-right th.el-table-fixed-column--right{background-color:var(--el-table-header-bg-color)}.el-table.is-scrolling-middle .el-table-fixed-column--left.is-last-column.el-table__cell{border-right:none}.el-table.is-scrolling-middle .el-table-fixed-column--right.is-first-column:before{box-shadow:var(--el-table-fixed-right-column)}.el-table.is-scrolling-middle .el-table-fixed-column--left.is-last-column:before{box-shadow:var(--el-table-fixed-left-column)}.el-table.is-scrolling-none .el-table-fixed-column--left.is-first-column:before,.el-table.is-scrolling-none .el-table-fixed-column--left.is-last-column:before,.el-table.is-scrolling-none .el-table-fixed-column--right.is-first-column:before,.el-table.is-scrolling-none .el-table-fixed-column--right.is-last-column:before{box-shadow:none}.el-table.is-scrolling-none th.el-table-fixed-column--left,.el-table.is-scrolling-none th.el-table-fixed-column--right{background-color:var(--el-table-header-bg-color)}.el-table__body-wrapper{overflow:hidden;position:relative}.el-table__body-wrapper .el-scrollbar__bar{z-index:2}.el-table .caret-wrapper{display:inline-flex;flex-direction:column;align-items:center;height:14px;width:24px;vertical-align:middle;cursor:pointer;overflow:initial;position:relative}.el-table .sort-caret{width:0;height:0;border:solid 5px transparent;position:absolute;left:7px}.el-table .sort-caret.ascending{border-bottom-color:var(--el-text-color-placeholder);top:-5px}.el-table .sort-caret.descending{border-top-color:var(--el-text-color-placeholder);bottom:-3px}.el-table .ascending .sort-caret.ascending{border-bottom-color:var(--el-color-primary)}.el-table .descending .sort-caret.descending{border-top-color:var(--el-color-primary)}.el-table .hidden-columns{visibility:hidden;position:absolute;z-index:-1}.el-table--striped .el-table__body tr.el-table__row--striped td.el-table__cell{background:var(--el-fill-color-lighter)}.el-table--striped .el-table__body tr.el-table__row--striped.current-row td.el-table__cell{background-color:var(--el-table-current-row-bg-color)}.el-table__body tr.hover-row.current-row>td.el-table__cell,.el-table__body tr.hover-row.el-table__row--striped.current-row>td.el-table__cell,.el-table__body tr.hover-row.el-table__row--striped>td.el-table__cell,.el-table__body tr.hover-row>td.el-table__cell{background-color:var(--el-table-row-hover-bg-color)}.el-table__body tr.current-row>td.el-table__cell{background-color:var(--el-table-current-row-bg-color)}.el-table__column-resize-proxy{position:absolute;left:200px;top:0;bottom:0;width:0;border-left:var(--el-table-border);z-index:10}.el-table__column-filter-trigger{display:inline-block;cursor:pointer}.el-table__column-filter-trigger i{color:var(--el-color-info);font-size:14px;vertical-align:middle}.el-table__border-left-patch{top:0;left:0;width:1px;height:100%;z-index:3;position:absolute;background-color:var(--el-table-border-color)}.el-table__border-bottom-patch{left:0;height:1px;z-index:3;position:absolute;background-color:var(--el-table-border-color)}.el-table__border-right-patch{top:0;height:100%;width:1px;z-index:3;position:absolute;background-color:var(--el-table-border-color)}.el-table--enable-row-transition .el-table__body td.el-table__cell{transition:background-color .25s ease}.el-table--enable-row-hover .el-table__body tr:hover>td.el-table__cell{background-color:var(--el-table-row-hover-bg-color)}.el-table [class*=el-table__row--level] .el-table__expand-icon{display:inline-block;width:12px;line-height:12px;height:12px;text-align:center;margin-right:8px}.el-checkbox{--el-checkbox-font-size:14px;--el-checkbox-font-weight:var(--el-font-weight-primary);--el-checkbox-text-color:var(--el-text-color-regular);--el-checkbox-input-height:14px;--el-checkbox-input-width:14px;--el-checkbox-border-radius:var(--el-border-radius-small);--el-checkbox-bg-color:var(--el-fill-color-blank);--el-checkbox-input-border:var(--el-border);--el-checkbox-disabled-border-color:var(--el-border-color);--el-checkbox-disabled-input-fill:var(--el-fill-color-light);--el-checkbox-disabled-icon-color:var(--el-text-color-placeholder);--el-checkbox-disabled-checked-input-fill:var(--el-border-color-extra-light);--el-checkbox-disabled-checked-input-border-color:var(--el-border-color);--el-checkbox-disabled-checked-icon-color:var(--el-text-color-placeholder);--el-checkbox-checked-text-color:var(--el-color-primary);--el-checkbox-checked-input-border-color:var(--el-color-primary);--el-checkbox-checked-bg-color:var(--el-color-primary);--el-checkbox-checked-icon-color:var(--el-color-white);--el-checkbox-input-border-color-hover:var(--el-color-primary)}.el-checkbox{color:var(--el-checkbox-text-color);font-weight:var(--el-checkbox-font-weight);font-size:var(--el-font-size-base);position:relative;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;-webkit-user-select:none;user-select:none;margin-right:30px;height:32px}.el-checkbox.is-bordered{padding:0 15px 0 9px;border-radius:var(--el-border-radius-base);border:var(--el-border);box-sizing:border-box}.el-checkbox.is-bordered.is-checked{border-color:var(--el-color-primary)}.el-checkbox.is-bordered.is-disabled{border-color:var(--el-border-color-lighter);cursor:not-allowed}.el-checkbox.is-bordered.el-checkbox--large{padding:0 19px 0 11px;border-radius:var(--el-border-radius-base)}.el-checkbox.is-bordered.el-checkbox--large .el-checkbox__label{font-size:var(--el-font-size-base)}.el-checkbox.is-bordered.el-checkbox--large .el-checkbox__inner{height:14px;width:14px}.el-checkbox.is-bordered.el-checkbox--small{padding:0 11px 0 7px;border-radius:calc(var(--el-border-radius-base) - 1px)}.el-checkbox.is-bordered.el-checkbox--small .el-checkbox__label{font-size:12px}.el-checkbox.is-bordered.el-checkbox--small .el-checkbox__inner{height:12px;width:12px}.el-checkbox.is-bordered.el-checkbox--small .el-checkbox__inner:after{height:6px;width:2px}.el-checkbox__input{white-space:nowrap;cursor:pointer;outline:0;display:inline-flex;position:relative}.el-checkbox__input.is-disabled .el-checkbox__inner{background-color:var(--el-checkbox-disabled-input-fill);border-color:var(--el-checkbox-disabled-border-color);cursor:not-allowed}.el-checkbox__input.is-disabled .el-checkbox__inner:after{cursor:not-allowed;border-color:var(--el-checkbox-disabled-icon-color)}.el-checkbox__input.is-disabled .el-checkbox__inner+.el-checkbox__label{cursor:not-allowed}.el-checkbox__input.is-disabled.is-checked .el-checkbox__inner{background-color:var(--el-checkbox-disabled-checked-input-fill);border-color:var(--el-checkbox-disabled-checked-input-border-color)}.el-checkbox__input.is-disabled.is-checked .el-checkbox__inner:after{border-color:var(--el-checkbox-disabled-checked-icon-color)}.el-checkbox__input.is-disabled.is-indeterminate .el-checkbox__inner{background-color:var(--el-checkbox-disabled-checked-input-fill);border-color:var(--el-checkbox-disabled-checked-input-border-color)}.el-checkbox__input.is-disabled.is-indeterminate .el-checkbox__inner:before{background-color:var(--el-checkbox-disabled-checked-icon-color);border-color:var(--el-checkbox-disabled-checked-icon-color)}.el-checkbox__input.is-disabled+span.el-checkbox__label{color:var(--el-disabled-text-color);cursor:not-allowed}.el-checkbox__input.is-checked .el-checkbox__inner{background-color:var(--el-checkbox-checked-bg-color);border-color:var(--el-checkbox-checked-input-border-color)}.el-checkbox__input.is-checked .el-checkbox__inner:after{transform:rotate(45deg) scaleY(1)}.el-checkbox__input.is-checked+.el-checkbox__label{color:var(--el-checkbox-checked-text-color)}.el-checkbox__input.is-focus .el-checkbox__inner{border-color:var(--el-checkbox-input-border-color-hover)}.el-checkbox__input.is-indeterminate .el-checkbox__inner{background-color:var(--el-checkbox-checked-bg-color);border-color:var(--el-checkbox-checked-input-border-color)}.el-checkbox__input.is-indeterminate .el-checkbox__inner:before{content:"";position:absolute;display:block;background-color:var(--el-checkbox-checked-icon-color);height:2px;transform:scale(.5);left:0;right:0;top:5px}.el-checkbox__input.is-indeterminate .el-checkbox__inner:after{display:none}.el-checkbox__inner{display:inline-block;position:relative;border:var(--el-checkbox-input-border);border-radius:var(--el-checkbox-border-radius);box-sizing:border-box;width:var(--el-checkbox-input-width);height:var(--el-checkbox-input-height);background-color:var(--el-checkbox-bg-color);z-index:var(--el-index-normal);transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.el-checkbox__inner:hover{border-color:var(--el-checkbox-input-border-color-hover)}.el-checkbox__inner:after{box-sizing:content-box;content:"";border:1px solid var(--el-checkbox-checked-icon-color);border-left:0;border-top:0;height:7px;left:4px;position:absolute;top:1px;transform:rotate(45deg) scaleY(0);width:3px;transition:transform .15s ease-in 50ms;transform-origin:center}.el-checkbox__original{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.el-checkbox__label{display:inline-block;padding-left:8px;line-height:1;font-size:var(--el-checkbox-font-size)}.el-checkbox.el-checkbox--large{height:40px}.el-checkbox.el-checkbox--large .el-checkbox__label{font-size:14px}.el-checkbox.el-checkbox--large .el-checkbox__inner{width:14px;height:14px}.el-checkbox.el-checkbox--small{height:24px}.el-checkbox.el-checkbox--small .el-checkbox__label{font-size:12px}.el-checkbox.el-checkbox--small .el-checkbox__inner{width:12px;height:12px}.el-checkbox.el-checkbox--small .el-checkbox__input.is-indeterminate .el-checkbox__inner:before{top:4px}.el-checkbox.el-checkbox--small .el-checkbox__inner:after{width:2px;height:6px}.el-checkbox:last-of-type{margin-right:0}.el-table-column--selection .cell{padding-left:14px;padding-right:14px}.el-table-filter{border:solid 1px var(--el-border-color-lighter);border-radius:2px;background-color:#fff;box-shadow:var(--el-box-shadow-light);box-sizing:border-box}.el-table-filter__list{padding:5px 0;margin:0;list-style:none;min-width:100px}.el-table-filter__list-item{line-height:36px;padding:0 10px;cursor:pointer;font-size:var(--el-font-size-base)}.el-table-filter__list-item:hover{background-color:var(--el-color-primary-light-9);color:var(--el-color-primary)}.el-table-filter__list-item.is-active{background-color:var(--el-color-primary);color:#fff}.el-table-filter__content{min-width:100px}.el-table-filter__bottom{border-top:1px solid var(--el-border-color-lighter);padding:8px}.el-table-filter__bottom button{background:0 0;border:none;color:var(--el-text-color-regular);cursor:pointer;font-size:var(--el-font-size-small);padding:0 3px}.el-table-filter__bottom button:hover{color:var(--el-color-primary)}.el-table-filter__bottom button:focus{outline:0}.el-table-filter__bottom button.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-table-filter__wrap{max-height:280px}.el-table-filter__checkbox-group{padding:10px}.el-table-filter__checkbox-group label.el-checkbox{display:flex;align-items:center;margin-right:5px;margin-bottom:12px;margin-left:5px;height:unset}.el-table-filter__checkbox-group .el-checkbox:last-child{margin-bottom:0}.el-alert{--el-alert-padding:8px 16px;--el-alert-border-radius-base:var(--el-border-radius-base);--el-alert-title-font-size:13px;--el-alert-description-font-size:12px;--el-alert-close-font-size:12px;--el-alert-close-customed-font-size:13px;--el-alert-icon-size:16px;--el-alert-icon-large-size:28px;width:100%;padding:var(--el-alert-padding);margin:0;box-sizing:border-box;border-radius:var(--el-alert-border-radius-base);position:relative;background-color:var(--el-color-white);overflow:hidden;opacity:1;display:flex;align-items:center;transition:opacity var(--el-transition-duration-fast)}.el-alert.is-light .el-alert__close-btn{color:var(--el-text-color-placeholder)}.el-alert.is-dark .el-alert__close-btn,.el-alert.is-dark .el-alert__description{color:var(--el-color-white)}.el-alert.is-center{justify-content:center}.el-alert--success{--el-alert-bg-color:var(--el-color-success-light-9)}.el-alert--success.is-light{background-color:var(--el-alert-bg-color);color:var(--el-color-success)}.el-alert--success.is-light .el-alert__description{color:var(--el-color-success)}.el-alert--success.is-dark{background-color:var(--el-color-success);color:var(--el-color-white)}.el-alert--info{--el-alert-bg-color:var(--el-color-info-light-9)}.el-alert--info.is-light{background-color:var(--el-alert-bg-color);color:var(--el-color-info)}.el-alert--info.is-light .el-alert__description{color:var(--el-color-info)}.el-alert--info.is-dark{background-color:var(--el-color-info);color:var(--el-color-white)}.el-alert--warning{--el-alert-bg-color:var(--el-color-warning-light-9)}.el-alert--warning.is-light{background-color:var(--el-alert-bg-color);color:var(--el-color-warning)}.el-alert--warning.is-light .el-alert__description{color:var(--el-color-warning)}.el-alert--warning.is-dark{background-color:var(--el-color-warning);color:var(--el-color-white)}.el-alert--error{--el-alert-bg-color:var(--el-color-error-light-9)}.el-alert--error.is-light{background-color:var(--el-alert-bg-color);color:var(--el-color-error)}.el-alert--error.is-light .el-alert__description{color:var(--el-color-error)}.el-alert--error.is-dark{background-color:var(--el-color-error);color:var(--el-color-white)}.el-alert__content{display:table-cell;padding:0 8px}.el-alert .el-alert__icon{font-size:var(--el-alert-icon-size);width:var(--el-alert-icon-size)}.el-alert .el-alert__icon.is-big{font-size:var(--el-alert-icon-large-size);width:var(--el-alert-icon-large-size)}.el-alert__title{font-size:var(--el-alert-title-font-size);line-height:18px;vertical-align:text-top}.el-alert__title.is-bold{font-weight:700}.el-alert .el-alert__description{font-size:var(--el-alert-description-font-size);margin:5px 0 0}.el-alert .el-alert__close-btn{font-size:var(--el-alert-close-font-size);opacity:1;position:absolute;top:12px;right:15px;cursor:pointer}.el-alert .el-alert__close-btn.is-customed{font-style:normal;font-size:var(--el-alert-close-customed-font-size);top:9px}.el-alert-fade-enter-from,.el-alert-fade-leave-active{opacity:0}.drag-move[data-v-89667db6]{transition:transform .3s}.host-list[data-v-89667db6]{padding-top:10px;padding-right:50px}.host-item[data-v-89667db6]{transition:all .3s;box-shadow:var(--el-box-shadow-lighter);cursor:move;font-size:12px;color:#595959;padding:0 20px;margin:0 auto 6px;border-radius:4px;color:#000;height:35px;line-height:35px}.host-item[data-v-89667db6]:hover{box-shadow:var(--el-box-shadow)}.dialog-footer[data-v-89667db6]{display:flex;justify-content:center}.el-popover{--el-popover-bg-color:var(--el-color-white);--el-popover-font-size:var(--el-font-size-base);--el-popover-border-color:var(--el-border-color-lighter);--el-popover-padding:12px;--el-popover-padding-large:18px 20px;--el-popover-title-font-size:16px;--el-popover-title-text-color:var(--el-text-color-primary);--el-popover-border-radius:4px}.el-popover.el-popper{background:var(--el-popover-bg-color);min-width:150px;border-radius:var(--el-popover-border-radius);border:1px solid var(--el-popover-border-color);padding:var(--el-popover-padding);z-index:var(--el-index-popper);color:var(--el-text-color-regular);line-height:1.4;text-align:justify;font-size:var(--el-popover-font-size);box-shadow:var(--el-box-shadow-light);word-break:break-all}.el-popover.el-popper--plain{padding:var(--el-popover-padding-large)}.el-popover__title{color:var(--el-popover-title-text-color);font-size:var(--el-popover-title-font-size);line-height:1;margin-bottom:12px}.el-popover__reference:focus:hover,.el-popover__reference:focus:not(.focusing){outline-width:0}.el-popover.el-popper:focus,.el-popover.el-popper:focus:active{outline-width:0}.host-count[data-v-914cda9c]{display:block;width:100px;text-align:center;font-size:15px;color:#87cf63;cursor:pointer}.password-form[data-v-f24fbfc6]{width:500px}.table[data-v-437b239c]{max-height:400px;overflow:auto}.dialog-footer[data-v-437b239c]{display:flex;justify-content:center}.el-card{--el-card-border-color:var(--el-border-color-light);--el-card-border-radius:4px;--el-card-padding:20px;--el-card-bg-color:var(--el-fill-color-blank)}.el-card{border-radius:var(--el-card-border-radius);border:1px solid var(--el-card-border-color);background-color:var(--el-card-bg-color);overflow:hidden;color:var(--el-text-color-primary);transition:var(--el-transition-duration)}.el-card.is-always-shadow{box-shadow:var(--el-box-shadow-light)}.el-card.is-hover-shadow:focus,.el-card.is-hover-shadow:hover{box-shadow:var(--el-box-shadow-light)}.el-card__header{padding:calc(var(--el-card-padding) - 2px) var(--el-card-padding);border-bottom:1px solid var(--el-card-border-color);box-sizing:border-box}.el-card__body{padding:var(--el-card-padding)}.el-dropdown{--el-dropdown-menu-box-shadow:var(--el-box-shadow-light);--el-dropdown-menuItem-hover-fill:var(--el-color-primary-light-9);--el-dropdown-menuItem-hover-color:var(--el-color-primary);--el-dropdown-menu-index:10;display:inline-flex;position:relative;color:var(--el-text-color-regular);font-size:var(--el-font-size-base);line-height:1;vertical-align:top}.el-dropdown.is-disabled{color:var(--el-text-color-placeholder);cursor:not-allowed}.el-dropdown__popper{--el-dropdown-menu-box-shadow:var(--el-box-shadow-light);--el-dropdown-menuItem-hover-fill:var(--el-color-primary-light-9);--el-dropdown-menuItem-hover-color:var(--el-color-primary);--el-dropdown-menu-index:10}.el-dropdown__popper.el-popper[role=tooltip]{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color-light);box-shadow:var(--el-dropdown-menu-box-shadow)}.el-dropdown__popper.el-popper[role=tooltip] .el-popper__arrow:before{border:1px solid var(--el-border-color-light)}.el-dropdown__popper.el-popper[role=tooltip][data-popper-placement^=top] .el-popper__arrow:before{border-top-color:transparent;border-left-color:transparent}.el-dropdown__popper.el-popper[role=tooltip][data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-dropdown__popper.el-popper[role=tooltip][data-popper-placement^=left] .el-popper__arrow:before{border-left-color:transparent;border-bottom-color:transparent}.el-dropdown__popper.el-popper[role=tooltip][data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-dropdown__popper .el-dropdown-menu{border:none}.el-dropdown__popper .el-dropdown__popper-selfdefine{outline:0}.el-dropdown__popper .el-scrollbar__bar{z-index:calc(var(--el-dropdown-menu-index) + 1)}.el-dropdown__popper .el-dropdown__list{list-style:none;padding:0;margin:0;box-sizing:border-box}.el-dropdown .el-dropdown__caret-button{padding-left:0;padding-right:0;display:inline-flex;justify-content:center;align-items:center;width:32px;border-left:none}.el-dropdown .el-dropdown__caret-button>span{display:inline-flex}.el-dropdown .el-dropdown__caret-button:before{content:"";position:absolute;display:block;width:1px;top:-1px;bottom:-1px;left:0;background:var(--el-overlay-color-lighter)}.el-dropdown .el-dropdown__caret-button.el-button:before{background:var(--el-border-color);opacity:.5}.el-dropdown .el-dropdown__caret-button .el-dropdown__icon{font-size:inherit;padding-left:0}.el-dropdown .el-dropdown-selfdefine{outline:0}.el-dropdown--large .el-dropdown__caret-button{width:40px}.el-dropdown--small .el-dropdown__caret-button{width:24px}.el-dropdown-menu{position:relative;top:0;left:0;z-index:var(--el-dropdown-menu-index);padding:5px 0;margin:0;background-color:var(--el-bg-color-overlay);border:none;border-radius:var(--el-border-radius-base);box-shadow:none;list-style:none}.el-dropdown-menu__item{display:flex;align-items:center;white-space:nowrap;list-style:none;line-height:22px;padding:5px 16px;margin:0;font-size:var(--el-font-size-base);color:var(--el-text-color-regular);cursor:pointer;outline:0}.el-dropdown-menu__item:not(.is-disabled):focus{background-color:var(--el-dropdown-menuItem-hover-fill);color:var(--el-dropdown-menuItem-hover-color)}.el-dropdown-menu__item i{margin-right:5px}.el-dropdown-menu__item--divided{margin:6px 0;border-top:1px solid var(--el-border-color-lighter)}.el-dropdown-menu__item.is-disabled{cursor:not-allowed;color:var(--el-text-color-disabled)}.el-dropdown-menu--large{padding:7px 0}.el-dropdown-menu--large .el-dropdown-menu__item{padding:7px 20px;line-height:22px;font-size:14px}.el-dropdown-menu--large .el-dropdown-menu__item--divided{margin:8px 0}.el-dropdown-menu--small{padding:3px 0}.el-dropdown-menu--small .el-dropdown-menu__item{padding:2px 12px;line-height:20px;font-size:12px}.el-dropdown-menu--small .el-dropdown-menu__item--divided{margin:4px 0}.icon[data-v-81152c44]{width:1em;height:1em;vertical-align:-.15em;fill:currentColor;overflow:hidden}:root{--el-popup-modal-bg-color: var(--el-color-black);--el-popup-modal-opacity: .5}.v-modal-enter{animation:v-modal-in var(--el-transition-duration-fast) ease}.v-modal-leave{animation:v-modal-out var(--el-transition-duration-fast) ease forwards}@keyframes v-modal-in{0%{opacity:0}}@keyframes v-modal-out{to{opacity:0}}.v-modal{position:fixed;left:0;top:0;width:100%;height:100%;opacity:var(--el-popup-modal-opacity);background:var(--el-popup-modal-bg-color)}.el-popup-parent--hidden{overflow:hidden}.el-message-box{--el-messagebox-title-color: var(--el-text-color-primary);--el-messagebox-width: 420px;--el-messagebox-border-radius: 4px;--el-messagebox-font-size: var(--el-font-size-large);--el-messagebox-content-font-size: var(--el-font-size-base);--el-messagebox-content-color: var(--el-text-color-regular);--el-messagebox-error-font-size: 12px;--el-messagebox-padding-primary: 15px}.el-message-box{display:inline-block;width:var(--el-messagebox-width);padding-bottom:10px;vertical-align:middle;background-color:var(--el-bg-color);border-radius:var(--el-messagebox-border-radius);border:1px solid var(--el-border-color-lighter);font-size:var(--el-messagebox-font-size);box-shadow:var(--el-box-shadow-light);text-align:left;overflow:hidden;backface-visibility:hidden}.el-overlay.is-message-box .el-overlay-message-box{text-align:center;position:fixed;top:0;right:0;bottom:0;left:0;overflow:auto}.el-overlay.is-message-box .el-overlay-message-box:after{content:"";display:inline-block;height:100%;width:0;vertical-align:middle}.el-message-box.is-draggable .el-message-box__header{cursor:move;user-select:none}.el-message-box__header{position:relative;padding:var(--el-messagebox-padding-primary);padding-bottom:10px}.el-message-box__title{padding-left:0;margin-bottom:0;font-size:var(--el-messagebox-font-size);line-height:1;color:var(--el-messagebox-title-color)}.el-message-box__headerbtn{position:absolute;top:var(--el-messagebox-padding-primary);right:var(--el-messagebox-padding-primary);padding:0;border:none;outline:none;background:transparent;font-size:var(--el-message-close-size, 16px);cursor:pointer}.el-message-box__headerbtn .el-message-box__close{color:var(--el-color-info);font-size:inherit}.el-message-box__headerbtn:focus .el-message-box__close,.el-message-box__headerbtn:hover .el-message-box__close{color:var(--el-color-primary)}.el-message-box__content{padding:10px var(--el-messagebox-padding-primary);color:var(--el-messagebox-content-color);font-size:var(--el-messagebox-content-font-size)}.el-message-box__container{position:relative}.el-message-box__input{padding-top:15px}.el-message-box__input div.invalid>input{border-color:var(--el-color-error)}.el-message-box__input div.invalid>input:focus{border-color:var(--el-color-error)}.el-message-box__status{position:absolute;top:50%;transform:translateY(-50%);font-size:24px!important}.el-message-box__status:before{padding-left:1px}.el-message-box__status.el-icon{position:absolute}.el-message-box__status+.el-message-box__message{padding-left:36px;padding-right:12px;word-break:break-word}.el-message-box__status.el-message-box-icon--success{--el-messagebox-color: var(--el-color-success);color:var(--el-messagebox-color)}.el-message-box__status.el-message-box-icon--info{--el-messagebox-color: var(--el-color-info);color:var(--el-messagebox-color)}.el-message-box__status.el-message-box-icon--warning{--el-messagebox-color: var(--el-color-warning);color:var(--el-messagebox-color)}.el-message-box__status.el-message-box-icon--error{--el-messagebox-color: var(--el-color-error);color:var(--el-messagebox-color)}.el-message-box__message{margin:0}.el-message-box__message p{margin:0;line-height:24px}.el-message-box__errormsg{color:var(--el-color-error);font-size:var(--el-messagebox-error-font-size);min-height:18px;margin-top:2px}.el-message-box__btns{padding:5px 15px 0;display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center}.el-message-box__btns button:nth-child(2){margin-left:10px}.el-message-box__btns-reverse{flex-direction:row-reverse}.el-message-box--center .el-message-box__title{position:relative;display:flex;align-items:center;justify-content:center}.el-message-box--center .el-message-box__status{position:relative;top:auto;padding-right:5px;text-align:center;transform:translateY(-1px)}.el-message-box--center .el-message-box__message{margin-left:0}.el-message-box--center .el-message-box__btns{justify-content:center}.el-message-box--center .el-message-box__content{padding-left:calc(var(--el-messagebox-padding-primary) + 12px);padding-right:calc(var(--el-messagebox-padding-primary) + 12px);text-align:center}.fade-in-linear-enter-active .el-overlay-message-box{animation:msgbox-fade-in var(--el-transition-duration)}.fade-in-linear-leave-active .el-overlay-message-box{animation:msgbox-fade-in var(--el-transition-duration) reverse}@keyframes msgbox-fade-in{0%{transform:translate3d(0,-20px,0);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes msgbox-fade-out{0%{transform:translateZ(0);opacity:1}to{transform:translate3d(0,-20px,0);opacity:0}}.el-radio{--el-radio-font-size:var(--el-font-size-base);--el-radio-text-color:var(--el-text-color-regular);--el-radio-font-weight:var(--el-font-weight-primary);--el-radio-input-height:14px;--el-radio-input-width:14px;--el-radio-input-border-radius:var(--el-border-radius-circle);--el-radio-input-bg-color:var(--el-fill-color-blank);--el-radio-input-border:var(--el-border);--el-radio-input-border-color:var(--el-border-color);--el-radio-input-border-color-hover:var(--el-color-primary)}.el-radio{color:var(--el-radio-text-color);font-weight:var(--el-radio-font-weight);position:relative;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;outline:0;font-size:var(--el-font-size-base);-webkit-user-select:none;user-select:none;margin-right:32px;height:32px}.el-radio.el-radio--large{height:40px}.el-radio.el-radio--small{height:24px}.el-radio.is-bordered{padding:0 15px 0 9px;border-radius:var(--el-border-radius-base);border:var(--el-border);box-sizing:border-box}.el-radio.is-bordered.is-checked{border-color:var(--el-color-primary)}.el-radio.is-bordered.is-disabled{cursor:not-allowed;border-color:var(--el-border-color-lighter)}.el-radio.is-bordered.el-radio--large{padding:0 19px 0 11px;border-radius:var(--el-border-radius-base)}.el-radio.is-bordered.el-radio--large .el-radio__label{font-size:var(--el-font-size-base)}.el-radio.is-bordered.el-radio--large .el-radio__inner{height:14px;width:14px}.el-radio.is-bordered.el-radio--small{padding:0 11px 0 7px;border-radius:var(--el-border-radius-base)}.el-radio.is-bordered.el-radio--small .el-radio__label{font-size:12px}.el-radio.is-bordered.el-radio--small .el-radio__inner{height:12px;width:12px}.el-radio:last-child{margin-right:0}.el-radio__input{white-space:nowrap;cursor:pointer;outline:0;display:inline-flex;position:relative;vertical-align:middle}.el-radio__input.is-disabled .el-radio__inner{background-color:var(--el-disabled-bg-color);border-color:var(--el-disabled-border-color);cursor:not-allowed}.el-radio__input.is-disabled .el-radio__inner:after{cursor:not-allowed;background-color:var(--el-disabled-bg-color)}.el-radio__input.is-disabled .el-radio__inner+.el-radio__label{cursor:not-allowed}.el-radio__input.is-disabled.is-checked .el-radio__inner{background-color:var(--el-disabled-bg-color);border-color:var(--el-disabled-border-color)}.el-radio__input.is-disabled.is-checked .el-radio__inner:after{background-color:var(--el-text-color-placeholder)}.el-radio__input.is-disabled+span.el-radio__label{color:var(--el-text-color-placeholder);cursor:not-allowed}.el-radio__input.is-checked .el-radio__inner{border-color:var(--el-color-primary);background:var(--el-color-primary)}.el-radio__input.is-checked .el-radio__inner:after{transform:translate(-50%,-50%) scale(1)}.el-radio__input.is-checked+.el-radio__label{color:var(--el-color-primary)}.el-radio__input.is-focus .el-radio__inner{border-color:var(--el-radio-input-border-color-hover)}.el-radio__inner{border:var(--el-radio-input-border);border-radius:var(--el-radio-input-border-radius);width:var(--el-radio-input-width);height:var(--el-radio-input-height);background-color:var(--el-radio-input-bg-color);position:relative;cursor:pointer;display:inline-block;box-sizing:border-box}.el-radio__inner:hover{border-color:var(--el-radio-input-border-color-hover)}.el-radio__inner:after{width:4px;height:4px;border-radius:var(--el-radio-input-border-radius);background-color:var(--el-color-white);content:"";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) scale(0);transition:transform .15s ease-in}.el-radio__original{opacity:0;outline:0;position:absolute;z-index:-1;top:0;left:0;right:0;bottom:0;margin:0}.el-radio:focus:not(.is-focus):not(:active):not(.is-disabled) .el-radio__inner{box-shadow:0 0 2px 2px var(--el-radio-input-border-color-hover)}.el-radio__label{font-size:var(--el-radio-font-size);padding-left:8px}.el-radio.el-radio--large .el-radio__label{font-size:14px}.el-radio.el-radio--large .el-radio__inner{width:14px;height:14px}.el-radio.el-radio--small .el-radio__label{font-size:12px}.el-radio.el-radio--small .el-radio__inner{width:12px;height:12px}.el-autocomplete{position:relative;display:inline-block}.el-autocomplete__popper.el-popper[role=tooltip]{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color-light);box-shadow:var(--el-box-shadow-light)}.el-autocomplete__popper.el-popper[role=tooltip] .el-popper__arrow:before{border:1px solid var(--el-border-color-light)}.el-autocomplete__popper.el-popper[role=tooltip][data-popper-placement^=top] .el-popper__arrow:before{border-top-color:transparent;border-left-color:transparent}.el-autocomplete__popper.el-popper[role=tooltip][data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-autocomplete__popper.el-popper[role=tooltip][data-popper-placement^=left] .el-popper__arrow:before{border-left-color:transparent;border-bottom-color:transparent}.el-autocomplete__popper.el-popper[role=tooltip][data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-autocomplete-suggestion{border-radius:var(--el-border-radius-base);box-sizing:border-box}.el-autocomplete-suggestion__wrap{max-height:280px;padding:10px 0;box-sizing:border-box}.el-autocomplete-suggestion__list{margin:0;padding:0}.el-autocomplete-suggestion li{padding:0 20px;margin:0;line-height:34px;cursor:pointer;color:var(--el-text-color-regular);font-size:var(--el-font-size-base);list-style:none;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.el-autocomplete-suggestion li:hover,.el-autocomplete-suggestion li.highlighted{background-color:var(--el-fill-color-light)}.el-autocomplete-suggestion li.divider{margin-top:6px;border-top:1px solid var(--el-color-black)}.el-autocomplete-suggestion li.divider:last-child{margin-bottom:-6px}.el-autocomplete-suggestion.is-loading li{text-align:center;height:100px;line-height:100px;font-size:20px;color:var(--el-text-color-secondary)}.el-autocomplete-suggestion.is-loading li:after{display:inline-block;content:"";height:100%;vertical-align:middle}.el-autocomplete-suggestion.is-loading li:hover{background-color:var(--el-bg-color-overlay)}.el-autocomplete-suggestion.is-loading .el-icon-loading{vertical-align:middle}.host-card[data-v-25b0e1b8]{margin:0 30px 20px;transition:all .5s;position:relative}.host-card[data-v-25b0e1b8]:hover{box-shadow:0 0 15px #061e2580}.host-card .host-state[data-v-25b0e1b8]{position:absolute;top:0px;left:0px}.host-card .host-state span[data-v-25b0e1b8]{font-size:8px;transform:scale(.9);display:inline-block;padding:3px 5px}.host-card .host-state .online[data-v-25b0e1b8]{color:#093;background-color:#e8fff3}.host-card .host-state .offline[data-v-25b0e1b8]{color:#f03;background-color:#fff5f8}.host-card .info[data-v-25b0e1b8]{display:flex;align-items:center;height:50px}.host-card .info>div[data-v-25b0e1b8]{flex:1}.host-card .info .field[data-v-25b0e1b8]{height:100%;display:flex;align-items:center}.host-card .info .field .svg-icon[data-v-25b0e1b8]{width:25px;height:25px;color:#1989fa;cursor:pointer}.host-card .info .field .fields[data-v-25b0e1b8]{display:flex;flex-direction:column}.host-card .info .field .fields span[data-v-25b0e1b8]{padding:3px 0;margin-left:5px;font-weight:600;font-size:13px;color:#595959}.host-card .info .field .fields .name[data-v-25b0e1b8]{display:inline-block;height:19px;cursor:pointer}.host-card .info .field .fields .name[data-v-25b0e1b8]:hover{text-decoration-line:underline;text-decoration-color:#1989fa}.host-card .info .field .fields .name:hover .svg-icon[data-v-25b0e1b8]{display:inline-block}.host-card .info .field .fields .name .svg-icon[data-v-25b0e1b8]{display:none;width:13px;height:13px}.host-card .info .web-ssh[data-v-25b0e1b8] .el-dropdown__caret-button{margin-left:-5px}.field-detail{display:flex;flex-direction:column}.field-detail h2{font-weight:600;font-size:16px;margin:0 0 8px}.field-detail h3 span{font-weight:600;color:#797979}.field-detail span{display:inline-block;margin:4px 0}header[data-v-e982f820]{padding:0 30px;height:70px;display:flex;justify-content:space-between;align-items:center}header .logo-wrap[data-v-e982f820]{display:flex;justify-content:center;align-items:center}header .logo-wrap img[data-v-e982f820]{height:50px}header .logo-wrap h1[data-v-e982f820]{color:#fff;font-size:20px}section[data-v-e982f820]{opacity:.9;height:calc(100vh - 95px);padding:10px 0 250px;overflow:auto}footer[data-v-e982f820]{height:25px;display:flex;justify-content:center;align-items:center}footer span[data-v-e982f820]{color:#fff}footer a[data-v-e982f820]{color:#48ff00;font-weight:600}.el-radio-group{display:inline-flex;align-items:center;flex-wrap:wrap;font-size:0}.el-input-number{position:relative;display:inline-block;width:150px;line-height:30px}.el-input-number .el-input__wrapper{padding-left:42px;padding-right:42px}.el-input-number .el-input__inner{-webkit-appearance:none;-moz-appearance:textfield;text-align:center}.el-input-number .el-input__inner::-webkit-inner-spin-button,.el-input-number .el-input__inner::-webkit-outer-spin-button{margin:0;-webkit-appearance:none}.el-input-number__decrease,.el-input-number__increase{display:flex;justify-content:center;align-items:center;height:auto;position:absolute;z-index:1;top:1px;bottom:1px;width:32px;background:var(--el-fill-color-light);color:var(--el-text-color-regular);cursor:pointer;font-size:13px;-webkit-user-select:none;user-select:none}.el-input-number__decrease:hover,.el-input-number__increase:hover{color:var(--el-color-primary)}.el-input-number__decrease:hover~.el-input:not(.is-disabled) .el-input_wrapper,.el-input-number__increase:hover~.el-input:not(.is-disabled) .el-input_wrapper{box-shadow:0 0 0 1px var(--el-input-focus-border-color,var(--el-color-primary)) inset}.el-input-number__decrease.is-disabled,.el-input-number__increase.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-input-number__increase{right:1px;border-radius:0 var(--el-border-radius-base) var(--el-border-radius-base) 0;border-left:var(--el-border)}.el-input-number__decrease{left:1px;border-radius:var(--el-border-radius-base) 0 0 var(--el-border-radius-base);border-right:var(--el-border)}.el-input-number.is-disabled .el-input-number__decrease,.el-input-number.is-disabled .el-input-number__increase{border-color:var(--el-disabled-border-color);color:var(--el-disabled-border-color)}.el-input-number.is-disabled .el-input-number__decrease:hover,.el-input-number.is-disabled .el-input-number__increase:hover{color:var(--el-disabled-border-color);cursor:not-allowed}.el-input-number--large{width:180px;line-height:38px}.el-input-number--large .el-input-number__decrease,.el-input-number--large .el-input-number__increase{width:40px;font-size:14px}.el-input-number--large .el-input__wrapper{padding-left:47px;padding-right:47px}.el-input-number--small{width:120px;line-height:22px}.el-input-number--small .el-input-number__decrease,.el-input-number--small .el-input-number__increase{width:24px;font-size:12px}.el-input-number--small .el-input__wrapper{padding-left:31px;padding-right:31px}.el-input-number--small .el-input-number__decrease [class*=el-icon],.el-input-number--small .el-input-number__increase [class*=el-icon]{transform:scale(.9)}.el-input-number.is-without-controls .el-input__wrapper{padding-left:15px;padding-right:15px}.el-input-number.is-controls-right .el-input__wrapper{padding-left:15px;padding-right:42px}.el-input-number.is-controls-right .el-input-number__decrease,.el-input-number.is-controls-right .el-input-number__increase{--el-input-number-controls-height:15px;height:var(--el-input-number-controls-height);line-height:var(--el-input-number-controls-height)}.el-input-number.is-controls-right .el-input-number__decrease [class*=el-icon],.el-input-number.is-controls-right .el-input-number__increase [class*=el-icon]{transform:scale(.8)}.el-input-number.is-controls-right .el-input-number__increase{bottom:auto;left:auto;border-radius:0 var(--el-border-radius-base) 0 0;border-bottom:var(--el-border)}.el-input-number.is-controls-right .el-input-number__decrease{right:1px;top:auto;left:auto;border-right:none;border-left:var(--el-border);border-radius:0 0 var(--el-border-radius-base) 0}.el-input-number.is-controls-right[class*=large] [class*=decrease],.el-input-number.is-controls-right[class*=large] [class*=increase]{--el-input-number-controls-height:19px}.el-input-number.is-controls-right[class*=small] [class*=decrease],.el-input-number.is-controls-right[class*=small] [class*=increase]{--el-input-number-controls-height:11px}.login-indate[data-v-1ed2c930]{display:flex;flex-wrap:nowrap}.login-indate .input[data-v-1ed2c930]{margin-left:-25px}/** -* Copyright (c) 2014 The xterm.js authors. All rights reserved. -* Copyright (c) 2012-2013, Christopher Jeffrey (MIT License) -* https://github.com/chjj/term.js -* @license MIT -* -* Permission is hereby granted, free of charge, to any person obtaining a copy -* of this software and associated documentation files (the "Software"), to deal -* in the Software without restriction, including without limitation the rights -* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -* copies of the Software, and to permit persons to whom the Software is -* furnished to do so, subject to the following conditions: -* -* The above copyright notice and this permission notice shall be included in -* all copies or substantial portions of the Software. -* -* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -* THE SOFTWARE. -* -* Originally forked from (with the author's permission): -* Fabrice Bellard's javascript vt100 for jslinux: -* http://bellard.org/jslinux/ -* Copyright (c) 2011 Fabrice Bellard -* The original design remains. The terminal itself -* has been extended to include xterm CSI codes, among -* other features. -*/.xterm{cursor:text;position:relative;user-select:none;-ms-user-select:none;-webkit-user-select:none}.xterm.focus,.xterm:focus{outline:none}.xterm .xterm-helpers{position:absolute;top:0;z-index:5}.xterm .xterm-helper-textarea{padding:0;border:0;margin:0;position:absolute;opacity:0;left:-9999em;top:0;width:0;height:0;z-index:-5;white-space:nowrap;overflow:hidden;resize:none}.xterm .composition-view{background:#000;color:#fff;display:none;position:absolute;white-space:nowrap;z-index:1}.xterm .composition-view.active{display:block}.xterm .xterm-viewport{background-color:#000;overflow-y:scroll;cursor:default;position:absolute;right:0;left:0;top:0;bottom:0}.xterm .xterm-screen{position:relative}.xterm .xterm-screen canvas{position:absolute;left:0;top:0}.xterm .xterm-scroll-area{visibility:hidden}.xterm-char-measure-element{display:inline-block;visibility:hidden;position:absolute;top:0;left:-9999em;line-height:normal}.xterm.enable-mouse-events{cursor:default}.xterm.xterm-cursor-pointer,.xterm .xterm-cursor-pointer{cursor:pointer}.xterm.column-select.focus{cursor:crosshair}.xterm .xterm-accessibility,.xterm .xterm-message{position:absolute;left:0;top:0;bottom:0;right:0;z-index:10;color:transparent}.xterm .live-region{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.xterm-dim{opacity:.5}.xterm-underline{text-decoration:underline}.xterm-strikethrough{text-decoration:line-through}.xterm-screen .xterm-decoration-container .xterm-decoration{z-index:6;position:absolute}.xterm-decoration-overview-ruler{z-index:7;position:absolute;top:0;right:0;pointer-events:none}.xterm-decoration-top{z-index:2;position:relative}header[data-v-5b148184]{position:fixed;z-index:1;right:10px;top:50px}.terminal-container[data-v-5b148184]{height:100%}.terminal-container[data-v-5b148184] .xterm-viewport,.terminal-container[data-v-5b148184] .xterm-screen{width:100%!important;height:100%!important}.terminal-container[data-v-5b148184] .xterm-viewport::-webkit-scrollbar,.terminal-container[data-v-5b148184] .xterm-screen::-webkit-scrollbar{height:5px;width:5px;background-color:#fff}.terminal-container[data-v-5b148184] .xterm-viewport::-webkit-scrollbar-track,.terminal-container[data-v-5b148184] .xterm-screen::-webkit-scrollbar-track{background-color:#000;border-radius:0}.terminal-container[data-v-5b148184] .xterm-viewport::-webkit-scrollbar-thumb,.terminal-container[data-v-5b148184] .xterm-screen::-webkit-scrollbar-thumb{border-radius:5px}.terminal-container[data-v-5b148184] .xterm-viewport::-webkit-scrollbar-thumb:hover,.terminal-container[data-v-5b148184] .xterm-screen::-webkit-scrollbar-thumb:hover{background-color:#067ef7}.terminals .el-tabs__header{padding-left:55px}.el-progress{position:relative;line-height:1;display:flex;align-items:center}.el-progress__text{font-size:14px;color:var(--el-text-color-regular);margin-left:5px;min-width:50px;line-height:1}.el-progress__text i{vertical-align:middle;display:block}.el-progress--circle,.el-progress--dashboard{display:inline-block}.el-progress--circle .el-progress__text,.el-progress--dashboard .el-progress__text{position:absolute;top:50%;left:0;width:100%;text-align:center;margin:0;transform:translateY(-50%)}.el-progress--circle .el-progress__text i,.el-progress--dashboard .el-progress__text i{vertical-align:middle;display:inline-block}.el-progress--without-text .el-progress__text{display:none}.el-progress--without-text .el-progress-bar{padding-right:0;margin-right:0;display:block}.el-progress--text-inside .el-progress-bar{padding-right:0;margin-right:0}.el-progress.is-success .el-progress-bar__inner{background-color:var(--el-color-success)}.el-progress.is-success .el-progress__text{color:var(--el-color-success)}.el-progress.is-warning .el-progress-bar__inner{background-color:var(--el-color-warning)}.el-progress.is-warning .el-progress__text{color:var(--el-color-warning)}.el-progress.is-exception .el-progress-bar__inner{background-color:var(--el-color-danger)}.el-progress.is-exception .el-progress__text{color:var(--el-color-danger)}.el-progress-bar{flex-grow:1;box-sizing:border-box}.el-progress-bar__outer{height:6px;border-radius:100px;background-color:var(--el-border-color-lighter);overflow:hidden;position:relative;vertical-align:middle}.el-progress-bar__inner{position:absolute;left:0;top:0;height:100%;background-color:var(--el-color-primary);text-align:right;border-radius:100px;line-height:1;white-space:nowrap;transition:width .6s ease}.el-progress-bar__inner:after{display:inline-block;content:"";height:100%;vertical-align:middle}.el-progress-bar__inner--indeterminate{transform:translateZ(0);animation:indeterminate 3s infinite}.el-progress-bar__innerText{display:inline-block;vertical-align:middle;color:#fff;font-size:12px;margin:0 5px}@keyframes progress{0%{background-position:0 0}to{background-position:32px 0}}@keyframes indeterminate{0%{left:-100%}to{left:100%}}.el-descriptions{--el-descriptions-table-border:1px solid var(--el-border-color-lighter);--el-descriptions-item-bordered-label-background:var(--el-fill-color-light);box-sizing:border-box;font-size:var(--el-font-size-base);color:var(--el-text-color-primary)}.el-descriptions__header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.el-descriptions__title{color:var(--el-text-color-primary);font-size:16px;font-weight:700}.el-descriptions__body{background-color:var(--el-fill-color-blank)}.el-descriptions__body .el-descriptions__table{border-collapse:collapse;width:100%}.el-descriptions__body .el-descriptions__table .el-descriptions__cell{box-sizing:border-box;text-align:left;font-weight:400;line-height:23px;font-size:14px}.el-descriptions__body .el-descriptions__table .el-descriptions__cell.is-left{text-align:left}.el-descriptions__body .el-descriptions__table .el-descriptions__cell.is-center{text-align:center}.el-descriptions__body .el-descriptions__table .el-descriptions__cell.is-right{text-align:right}.el-descriptions__body .el-descriptions__table.is-bordered .el-descriptions__cell{border:var(--el-descriptions-table-border);padding:8px 11px}.el-descriptions__body .el-descriptions__table:not(.is-bordered) .el-descriptions__cell{padding-bottom:12px}.el-descriptions--large{font-size:14px}.el-descriptions--large .el-descriptions__header{margin-bottom:20px}.el-descriptions--large .el-descriptions__header .el-descriptions__title{font-size:16px}.el-descriptions--large .el-descriptions__body .el-descriptions__table .el-descriptions__cell{font-size:14px}.el-descriptions--large .el-descriptions__body .el-descriptions__table.is-bordered .el-descriptions__cell{padding:12px 15px}.el-descriptions--large .el-descriptions__body .el-descriptions__table:not(.is-bordered) .el-descriptions__cell{padding-bottom:16px}.el-descriptions--small{font-size:12px}.el-descriptions--small .el-descriptions__header{margin-bottom:12px}.el-descriptions--small .el-descriptions__header .el-descriptions__title{font-size:14px}.el-descriptions--small .el-descriptions__body .el-descriptions__table .el-descriptions__cell{font-size:12px}.el-descriptions--small .el-descriptions__body .el-descriptions__table.is-bordered .el-descriptions__cell{padding:4px 7px}.el-descriptions--small .el-descriptions__body .el-descriptions__table:not(.is-bordered) .el-descriptions__cell{padding-bottom:8px}.el-descriptions__label.el-descriptions__cell.is-bordered-label{font-weight:700;color:var(--el-text-color-regular);background:var(--el-descriptions-item-bordered-label-background)}.el-descriptions__label:not(.is-bordered-label){color:var(--el-text-color-primary);margin-right:16px}.el-descriptions__label.el-descriptions__cell:not(.is-bordered-label).is-vertical-label{padding-bottom:6px}.el-descriptions__content.el-descriptions__cell.is-bordered-content{color:var(--el-text-color-primary)}.el-descriptions__content:not(.is-bordered-label){color:var(--el-text-color-regular)}.el-descriptions--large .el-descriptions__label:not(.is-bordered-label){margin-right:16px}.el-descriptions--large .el-descriptions__label.el-descriptions__cell:not(.is-bordered-label).is-vertical-label{padding-bottom:8px}.el-descriptions--small .el-descriptions__label:not(.is-bordered-label){margin-right:12px}.el-descriptions--small .el-descriptions__label.el-descriptions__cell:not(.is-bordered-label).is-vertical-label{padding-bottom:4px}.el-divider{position:relative}.el-divider--horizontal{display:block;height:1px;width:100%;margin:24px 0;border-top:1px var(--el-border-color) var(--el-border-style)}.el-divider--vertical{display:inline-block;width:1px;height:1em;margin:0 8px;vertical-align:middle;position:relative;border-left:1px var(--el-border-color) var(--el-border-style)}.el-divider__text{position:absolute;background-color:var(--el-bg-color);padding:0 20px;font-weight:500;color:var(--el-text-color-primary);font-size:14px}.el-divider__text.is-left{left:20px;transform:translateY(-50%)}.el-divider__text.is-center{left:50%;transform:translate(-50%) translateY(-50%)}.el-divider__text.is-right{right:20px;transform:translateY(-50%)}.info-container[data-v-69fc9596]{overflow:scroll;background-color:#fff;transition:all .3s}.info-container header[data-v-69fc9596]{display:flex;justify-content:space-between;align-items:center;height:30px;margin:10px;position:relative}.info-container header img[data-v-69fc9596]{cursor:pointer;height:80%}.info-container .item-title[data-v-69fc9596]{user-select:none;white-space:nowrap;text-align:center;min-width:30px;max-width:30px}.info-container .host-ping[data-v-69fc9596]{display:inline-block;font-size:13px;color:#093;background-color:#e8fff3;padding:0 5px}.info-container[data-v-69fc9596] .el-divider__text{color:#a0cfff;padding:0 8px;user-select:none}.info-container[data-v-69fc9596] .el-divider--horizontal{margin:28px 0 10px}.info-container .first-divider[data-v-69fc9596]{margin:15px 0 10px}.info-container[data-v-69fc9596] .el-descriptions__table tr{display:flex}.info-container[data-v-69fc9596] .el-descriptions__table tr .el-descriptions__label{min-width:35px;flex-shrink:0}.info-container[data-v-69fc9596] .el-descriptions__table tr .el-descriptions__content{position:relative;flex:1;display:flex;align-items:center}.info-container[data-v-69fc9596] .el-descriptions__table tr .el-descriptions__content .el-progress{width:100%}.info-container[data-v-69fc9596] .el-descriptions__table tr .el-descriptions__content .position-right{position:absolute;right:15px}.info-container[data-v-69fc9596] .el-progress-bar__inner{display:flex;align-items:center}.info-container[data-v-69fc9596] .el-progress-bar__inner .el-progress-bar__innerText{display:flex}.info-container[data-v-69fc9596] .el-progress-bar__inner .el-progress-bar__innerText span{color:#000}.info-container .netstat-info[data-v-69fc9596]{width:100%;height:100%;display:flex;flex-direction:column}.info-container .netstat-info .wrap[data-v-69fc9596]{flex:1;display:flex;align-items:center;padding:0 5px}.info-container .netstat-info .wrap img[data-v-69fc9596]{width:15px;margin-right:5px}.info-container .netstat-info .wrap .upload[data-v-69fc9596]{color:#cf8a20}.info-container .netstat-info .wrap .download[data-v-69fc9596]{color:#67c23a}.el-descriptions__label[data-v-69fc9596]{vertical-align:middle;max-width:35px}.container .el-dialog__header{padding:5px 0}.container .el-dialog__header .title{color:#409eff;text-align:left;padding-left:10px;font-size:13px}.container .el-dialog__body{padding:0}.container .el-dialog__body .cm-scroller::-webkit-scrollbar{height:8px;width:8px;background-color:#282c34}.container .el-dialog__body .cm-scroller::-webkit-scrollbar-track{background-color:#282c34;border-radius:5px}.container .el-dialog__footer{padding:10px 0}.container footer{display:flex;align-items:center;padding:0 15px;justify-content:space-between}.el-empty{--el-empty-padding:40px 0;--el-empty-image-width:160px;--el-empty-description-margin-top:20px;--el-empty-bottom-margin-top:20px;--el-empty-fill-color-0:var(--el-color-white);--el-empty-fill-color-1:#fcfcfd;--el-empty-fill-color-2:#f8f9fb;--el-empty-fill-color-3:#f7f8fc;--el-empty-fill-color-4:#eeeff3;--el-empty-fill-color-5:#edeef2;--el-empty-fill-color-6:#e9ebef;--el-empty-fill-color-7:#e5e7e9;--el-empty-fill-color-8:#e0e3e9;--el-empty-fill-color-9:#d5d7de;display:flex;justify-content:center;align-items:center;flex-direction:column;text-align:center;box-sizing:border-box;padding:var(--el-empty-padding)}.el-empty__image{width:var(--el-empty-image-width)}.el-empty__image img{-webkit-user-select:none;user-select:none;width:100%;height:100%;vertical-align:top;object-fit:contain}.el-empty__image svg{color:var(--el-svg-monochrome-grey);fill:currentColor;width:100%;height:100%;vertical-align:top}.el-empty__description{margin-top:var(--el-empty-description-margin-top)}.el-empty__description p{margin:0;font-size:var(--el-font-size-base);color:var(--el-text-color-secondary)}.el-empty__bottom{margin-top:var(--el-empty-bottom-margin-top)}.sftp-container[data-v-570421be]{position:relative;background:#ffffff;height:400px}.sftp-container .adjust[data-v-570421be]{user-select:none;position:absolute;top:-5px;left:50%;transform:translate(-25px);width:50px;height:5px;background:rgb(138,226,52);border-radius:3px;cursor:ns-resize}.sftp-container section[data-v-570421be]{height:100%;display:flex}.sftp-container section .box .header[data-v-570421be]{user-select:none;height:30px;padding:0 5px;background:#e1e1e2;display:flex;align-items:center;font-size:12px}.sftp-container section .box .header .operation[data-v-570421be]{display:flex;align-items:center}.sftp-container section .box .header .operation .img[data-v-570421be]{margin:0 5px;width:20px;height:20px}.sftp-container section .box .header .operation .img img[data-v-570421be]{width:100%;height:100%}.sftp-container section .box .header .operation .img[data-v-570421be]:hover{background:#cec4c4}.sftp-container section .box .header .filter-input[data-v-570421be]{width:200px;margin:0 20px 0 10px}.sftp-container section .box .header .path[data-v-570421be]{flex:1;user-select:all}.sftp-container section .box .header .up-file-progress-wrap[data-v-570421be]{width:200px}.sftp-container section .box .dir-list[data-v-570421be]{overflow:auto;scroll-behavior:smooth;height:calc(100% - 30px);user-select:none;display:flex;flex-direction:column}.sftp-container section .box .dir-list .active[data-v-570421be]{background:#e9e9e9}.sftp-container section .box .dir-list li[data-v-570421be]{font-size:14px;padding:5px 3px;color:#303133;display:flex;align-items:center}.sftp-container section .box .dir-list li[data-v-570421be]:hover{background:#e9e9e9}.sftp-container section .box .dir-list li img[data-v-570421be]{width:20px;height:20px;margin-right:3px}.sftp-container section .box .dir-list li span[data-v-570421be]{line-height:20px}.sftp-container section .left[data-v-570421be]{width:200px;border-right:1px solid #dcdfe6}.sftp-container section .left .dir-list li[data-v-570421be]:nth-child(n+2){margin-left:15px}.sftp-container section .right[data-v-570421be]{flex:1}.container[data-v-28208a32]{display:flex;height:100vh}.container section[data-v-28208a32]{flex:1;display:flex;flex-direction:column;width:calc(100vw - 250px)}.container section .terminals[data-v-28208a32]{min-height:150px;flex:1;position:relative}.container section .terminals .full-screen-button[data-v-28208a32]{position:absolute;right:10px;top:4px;z-index:99999}.container section .sftp[data-v-28208a32]{border:1px solid rgb(236,215,187)}.container section .visible[data-v-28208a32]{position:absolute;z-index:999999;top:13px;left:5px;cursor:pointer;transition:all .3s}.container section .visible[data-v-28208a32]:hover{transform:scale(1.1)}.el-tabs{border:none}.el-tabs--border-card>.el-tabs__content{padding:0}.el-tabs__header{position:sticky;top:0;z-index:1;user-select:none}.el-tabs__nav-scroll .el-tabs__nav{padding-left:60px}.el-tabs__new-tab{position:absolute;left:18px;font-size:50px;z-index:98}.el-tabs--border-card{height:100%;overflow:hidden;display:flex;flex-direction:column}.el-tabs__content{flex:1}.el-icon.is-icon-close{position:absolute;font-size:13px}.el-notification{--el-notification-width: 330px;--el-notification-padding: 14px 26px 14px 13px;--el-notification-radius: 8px;--el-notification-shadow: var(--el-box-shadow-light);--el-notification-border-color: var(--el-border-color-lighter);--el-notification-icon-size: 24px;--el-notification-close-font-size: var(--el-message-close-size, 16px);--el-notification-group-margin-left: 13px;--el-notification-group-margin-right: 8px;--el-notification-content-font-size: var(--el-font-size-base);--el-notification-content-color: var(--el-text-color-regular);--el-notification-title-font-size: 16px;--el-notification-title-color: var(--el-text-color-primary);--el-notification-close-color: var(--el-text-color-secondary);--el-notification-close-hover-color: var(--el-text-color-regular)}.el-notification{display:flex;width:var(--el-notification-width);padding:var(--el-notification-padding);border-radius:var(--el-notification-radius);box-sizing:border-box;border:1px solid var(--el-notification-border-color);position:fixed;background-color:var(--el-bg-color-overlay);box-shadow:var(--el-notification-shadow);transition:opacity var(--el-transition-duration),transform var(--el-transition-duration),left var(--el-transition-duration),right var(--el-transition-duration),top .4s,bottom var(--el-transition-duration);overflow-wrap:anywhere;overflow:hidden;z-index:9999}.el-notification.right{right:16px}.el-notification.left{left:16px}.el-notification__group{margin-left:var(--el-notification-group-margin-left);margin-right:var(--el-notification-group-margin-right)}.el-notification__title{font-weight:700;font-size:var(--el-notification-title-font-size);line-height:var(--el-notification-icon-size);color:var(--el-notification-title-color);margin:0}.el-notification__content{font-size:var(--el-notification-content-font-size);line-height:24px;margin:6px 0 0;color:var(--el-notification-content-color);text-align:justify}.el-notification__content p{margin:0}.el-notification .el-notification__icon{height:var(--el-notification-icon-size);width:var(--el-notification-icon-size);font-size:var(--el-notification-icon-size)}.el-notification .el-notification__closeBtn{position:absolute;top:18px;right:15px;cursor:pointer;color:var(--el-notification-close-color);font-size:var(--el-notification-close-font-size)}.el-notification .el-notification__closeBtn:hover{color:var(--el-notification-close-hover-color)}.el-notification .el-notification--success{--el-notification-icon-color: var(--el-color-success);color:var(--el-notification-icon-color)}.el-notification .el-notification--info{--el-notification-icon-color: var(--el-color-info);color:var(--el-notification-icon-color)}.el-notification .el-notification--warning{--el-notification-icon-color: var(--el-color-warning);color:var(--el-notification-icon-color)}.el-notification .el-notification--error{--el-notification-icon-color: var(--el-color-error);color:var(--el-notification-icon-color)}.el-notification-fade-enter-from.right{right:0;transform:translate(100%)}.el-notification-fade-enter-from.left{left:0;transform:translate(-100%)}.el-notification-fade-leave-to{opacity:0}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font:inherit;vertical-align:baseline;box-sizing:border-box}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:"";content:none}table{border-collapse:collapse;border-spacing:0}a{text-decoration:none}html,body,div,ul,section{box-sizing:border-box}html::-webkit-scrollbar,body::-webkit-scrollbar,div::-webkit-scrollbar,ul::-webkit-scrollbar,section::-webkit-scrollbar{height:8px;width:2px;background-color:#fff}html::-webkit-scrollbar-track,body::-webkit-scrollbar-track,div::-webkit-scrollbar-track,ul::-webkit-scrollbar-track,section::-webkit-scrollbar-track{background-color:#fff;border-radius:10px}html::-webkit-scrollbar-thumb,body::-webkit-scrollbar-thumb,div::-webkit-scrollbar-thumb,ul::-webkit-scrollbar-thumb,section::-webkit-scrollbar-thumb{border-radius:10px;background-image:-webkit-gradient(linear,40% 0%,75% 84%,from(#a18cd1),to(#fbc2eb),color-stop(.6,#54DE5D))}html::-webkit-scrollbar-thumb:hover,body::-webkit-scrollbar-thumb:hover,div::-webkit-scrollbar-thumb:hover,ul::-webkit-scrollbar-thumb:hover,section::-webkit-scrollbar-thumb:hover{background-color:#067ef7}body{background-position:center center;background-attachment:fixed;background-size:cover;background-repeat:no-repeat;background-image:url(/assets/bg.4d05532a.jpg),linear-gradient(to bottom,#010179,#F5C4C1,#151799)}html,body{min-width:1200px;height:100vh;overflow:hidden}.el-notification__content{text-align:initial}.el-date-editor{--el-date-editor-width: 100%}.el-input__wrapper{width:100%}.el-tabs__nav-scroll .el-tabs__nav{padding-left:0}.el-tabs__content{padding:0 10px}.list-move,.list-enter-active,.list-leave-active{transition:all .5s ease}.list-enter-from,.list-leave-to{opacity:0;transform:translateY(-30px)}.list-leave-active{position:absolute} +@charset "UTF-8";.el-message{--el-message-min-width: 380px;--el-message-bg-color: var(--el-color-info-light-9);--el-message-border-color: var(--el-border-color-lighter);--el-message-padding: 15px 15px 15px 20px;--el-message-close-size: 16px;--el-message-close-icon-color: var(--el-text-color-placeholder);--el-message-close-hover-color: var(--el-text-color-secondary)}.el-message{min-width:var(--el-message-min-width);box-sizing:border-box;border-radius:var(--el-border-radius-base);border-width:var(--el-border-width-base);border-style:var(--el-border-style-base);border-color:var(--el-message-border-color);position:fixed;left:50%;top:20px;transform:translate(-50%);transition:opacity .3s,transform .4s,top .4s;background-color:var(--el-message-bg-color);transition:opacity var(--el-transition-duration),transform .4s,top .4s;padding:var(--el-message-padding);display:flex;align-items:center}.el-message.is-center{justify-content:center}.el-message.is-closable .el-message__content{padding-right:16px}.el-message p{margin:0}.el-message--success{--el-message-bg-color: var(--el-color-success-light-9);--el-message-border-color: var(--el-color-success-light-8);--el-message-text-color: var(--el-color-success)}.el-message--success .el-message__content,.el-message .el-message-icon--success{color:var(--el-message-text-color)}.el-message--info{--el-message-bg-color: var(--el-color-info-light-9);--el-message-border-color: var(--el-color-info-light-8);--el-message-text-color: var(--el-color-info)}.el-message--info .el-message__content,.el-message .el-message-icon--info{color:var(--el-message-text-color)}.el-message--warning{--el-message-bg-color: var(--el-color-warning-light-9);--el-message-border-color: var(--el-color-warning-light-8);--el-message-text-color: var(--el-color-warning)}.el-message--warning .el-message__content,.el-message .el-message-icon--warning{color:var(--el-message-text-color)}.el-message--error{--el-message-bg-color: var(--el-color-error-light-9);--el-message-border-color: var(--el-color-error-light-8);--el-message-text-color: var(--el-color-error)}.el-message--error .el-message__content,.el-message .el-message-icon--error{color:var(--el-message-text-color)}.el-message__icon{margin-right:10px}.el-message .el-message__badge{position:absolute;top:-8px;right:-8px}.el-message__content{padding:0;font-size:14px;line-height:1}.el-message__content:focus{outline-width:0}.el-message .el-message__closeBtn{position:absolute;top:50%;right:15px;transform:translateY(-50%);cursor:pointer;color:var(--el-message-close-icon-color);font-size:var(--el-message-close-size)}.el-message .el-message__closeBtn:focus{outline-width:0}.el-message .el-message__closeBtn:hover{color:var(--el-message-close-hover-color)}.el-message-fade-enter-from,.el-message-fade-leave-to{opacity:0;transform:translate(-50%,-100%)}:root{--el-color-white:#ffffff;--el-color-black:#000000;--el-color-primary-rgb:64,158,255;--el-color-success-rgb:103,194,58;--el-color-warning-rgb:230,162,60;--el-color-danger-rgb:245,108,108;--el-color-error-rgb:245,108,108;--el-color-info-rgb:144,147,153;--el-font-size-extra-large:20px;--el-font-size-large:18px;--el-font-size-medium:16px;--el-font-size-base:14px;--el-font-size-small:13px;--el-font-size-extra-small:12px;--el-font-family:"Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","\5fae\8f6f\96c5\9ed1",Arial,sans-serif;--el-font-weight-primary:500;--el-font-line-height-primary:24px;--el-index-normal:1;--el-index-top:1000;--el-index-popper:2000;--el-border-radius-base:4px;--el-border-radius-small:2px;--el-border-radius-round:20px;--el-border-radius-circle:100%;--el-transition-duration:.3s;--el-transition-duration-fast:.2s;--el-transition-function-ease-in-out-bezier:cubic-bezier(.645, .045, .355, 1);--el-transition-function-fast-bezier:cubic-bezier(.23, 1, .32, 1);--el-transition-all:all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);--el-transition-fade:opacity var(--el-transition-duration) var(--el-transition-function-fast-bezier);--el-transition-md-fade:transform var(--el-transition-duration) var(--el-transition-function-fast-bezier),opacity var(--el-transition-duration) var(--el-transition-function-fast-bezier);--el-transition-fade-linear:opacity var(--el-transition-duration-fast) linear;--el-transition-border:border-color var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-transition-box-shadow:box-shadow var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-transition-color:color var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-component-size-large:40px;--el-component-size:32px;--el-component-size-small:24px}:root{color-scheme:light;--el-color-white:#ffffff;--el-color-black:#000000;--el-color-primary:#409eff;--el-color-primary-light-3:#79bbff;--el-color-primary-light-5:#a0cfff;--el-color-primary-light-7:#c6e2ff;--el-color-primary-light-8:#d9ecff;--el-color-primary-light-9:#ecf5ff;--el-color-primary-dark-2:#337ecc;--el-color-success:#67c23a;--el-color-success-light-3:#95d475;--el-color-success-light-5:#b3e19d;--el-color-success-light-7:#d1edc4;--el-color-success-light-8:#e1f3d8;--el-color-success-light-9:#f0f9eb;--el-color-success-dark-2:#529b2e;--el-color-warning:#e6a23c;--el-color-warning-light-3:#eebe77;--el-color-warning-light-5:#f3d19e;--el-color-warning-light-7:#f8e3c5;--el-color-warning-light-8:#faecd8;--el-color-warning-light-9:#fdf6ec;--el-color-warning-dark-2:#b88230;--el-color-danger:#f56c6c;--el-color-danger-light-3:#f89898;--el-color-danger-light-5:#fab6b6;--el-color-danger-light-7:#fcd3d3;--el-color-danger-light-8:#fde2e2;--el-color-danger-light-9:#fef0f0;--el-color-danger-dark-2:#c45656;--el-color-error:#f56c6c;--el-color-error-light-3:#f89898;--el-color-error-light-5:#fab6b6;--el-color-error-light-7:#fcd3d3;--el-color-error-light-8:#fde2e2;--el-color-error-light-9:#fef0f0;--el-color-error-dark-2:#c45656;--el-color-info:#909399;--el-color-info-light-3:#b1b3b8;--el-color-info-light-5:#c8c9cc;--el-color-info-light-7:#dedfe0;--el-color-info-light-8:#e9e9eb;--el-color-info-light-9:#f4f4f5;--el-color-info-dark-2:#73767a;--el-bg-color:#ffffff;--el-bg-color-page:#f2f3f5;--el-bg-color-overlay:#ffffff;--el-text-color-primary:#303133;--el-text-color-regular:#606266;--el-text-color-secondary:#909399;--el-text-color-placeholder:#a8abb2;--el-text-color-disabled:#c0c4cc;--el-border-color:#dcdfe6;--el-border-color-light:#e4e7ed;--el-border-color-lighter:#ebeef5;--el-border-color-extra-light:#f2f6fc;--el-border-color-dark:#d4d7de;--el-border-color-darker:#cdd0d6;--el-fill-color:#f0f2f5;--el-fill-color-light:#f5f7fa;--el-fill-color-lighter:#fafafa;--el-fill-color-extra-light:#fafcff;--el-fill-color-dark:#ebedf0;--el-fill-color-darker:#e6e8eb;--el-fill-color-blank:#ffffff;--el-box-shadow:0px 12px 32px 4px rgba(0, 0, 0, .04),0px 8px 20px rgba(0, 0, 0, .08);--el-box-shadow-light:0px 0px 12px rgba(0, 0, 0, .12);--el-box-shadow-lighter:0px 0px 6px rgba(0, 0, 0, .12);--el-box-shadow-dark:0px 16px 48px 16px rgba(0, 0, 0, .08),0px 12px 32px rgba(0, 0, 0, .12),0px 8px 16px -8px rgba(0, 0, 0, .16);--el-disabled-bg-color:var(--el-fill-color-light);--el-disabled-text-color:var(--el-text-color-placeholder);--el-disabled-border-color:var(--el-border-color-light);--el-overlay-color:rgba(0, 0, 0, .8);--el-overlay-color-light:rgba(0, 0, 0, .7);--el-overlay-color-lighter:rgba(0, 0, 0, .5);--el-mask-color:rgba(255, 255, 255, .9);--el-mask-color-extra-light:rgba(255, 255, 255, .3);--el-border-width:1px;--el-border-style:solid;--el-border-color-hover:var(--el-text-color-disabled);--el-border:var(--el-border-width) var(--el-border-style) var(--el-border-color);--el-svg-monochrome-grey:var(--el-border-color)}.fade-in-linear-enter-active,.fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.fade-in-linear-enter-from,.fade-in-linear-leave-to{opacity:0}.el-fade-in-linear-enter-active,.el-fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.el-fade-in-linear-enter-from,.el-fade-in-linear-leave-to{opacity:0}.el-fade-in-enter-active,.el-fade-in-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-fade-in-enter-from,.el-fade-in-leave-active{opacity:0}.el-zoom-in-center-enter-active,.el-zoom-in-center-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-zoom-in-center-enter-from,.el-zoom-in-center-leave-active{opacity:0;transform:scaleX(0)}.el-zoom-in-top-enter-active,.el-zoom-in-top-leave-active{opacity:1;transform:scaleY(1);transition:var(--el-transition-md-fade);transform-origin:center top}.el-zoom-in-top-enter-active[data-popper-placement^=top],.el-zoom-in-top-leave-active[data-popper-placement^=top]{transform-origin:center bottom}.el-zoom-in-top-enter-from,.el-zoom-in-top-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-bottom-enter-active,.el-zoom-in-bottom-leave-active{opacity:1;transform:scaleY(1);transition:var(--el-transition-md-fade);transform-origin:center bottom}.el-zoom-in-bottom-enter-from,.el-zoom-in-bottom-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-left-enter-active,.el-zoom-in-left-leave-active{opacity:1;transform:scale(1);transition:var(--el-transition-md-fade);transform-origin:top left}.el-zoom-in-left-enter-from,.el-zoom-in-left-leave-active{opacity:0;transform:scale(.45)}.collapse-transition{transition:var(--el-transition-duration) height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.el-collapse-transition-enter-active,.el-collapse-transition-leave-active{transition:var(--el-transition-duration) max-height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.horizontal-collapse-transition{transition:var(--el-transition-duration) width ease-in-out,var(--el-transition-duration) padding-left ease-in-out,var(--el-transition-duration) padding-right ease-in-out}.el-list-enter-active,.el-list-leave-active{transition:all 1s}.el-list-enter-from,.el-list-leave-to{opacity:0;transform:translateY(-30px)}.el-list-leave-active{position:absolute!important}.el-opacity-transition{transition:opacity var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-icon-loading{animation:rotating 2s linear infinite}.el-icon--right{margin-left:5px}.el-icon--left{margin-right:5px}@keyframes rotating{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.el-icon{--color:inherit;height:1em;width:1em;line-height:1em;display:inline-flex;justify-content:center;align-items:center;position:relative;fill:currentColor;color:var(--color);font-size:inherit}.el-icon.is-loading{animation:rotating 2s linear infinite}.el-icon svg{height:1em;width:1em}:root{--el-loading-spinner-size:42px;--el-loading-fullscreen-spinner-size:50px}.el-loading-parent--relative{position:relative!important}.el-loading-parent--hidden{overflow:hidden!important}.el-loading-mask{position:absolute;z-index:2000;background-color:var(--el-mask-color);margin:0;top:0;right:0;bottom:0;left:0;transition:opacity var(--el-transition-duration)}.el-loading-mask.is-fullscreen{position:fixed}.el-loading-mask.is-fullscreen .el-loading-spinner{margin-top:calc((0px - var(--el-loading-fullscreen-spinner-size))/ 2)}.el-loading-mask.is-fullscreen .el-loading-spinner .circular{height:var(--el-loading-fullscreen-spinner-size);width:var(--el-loading-fullscreen-spinner-size)}.el-loading-spinner{top:50%;margin-top:calc((0px - var(--el-loading-spinner-size))/ 2);width:100%;text-align:center;position:absolute}.el-loading-spinner .el-loading-text{color:var(--el-color-primary);margin:3px 0;font-size:14px}.el-loading-spinner .circular{display:inline;height:var(--el-loading-spinner-size);width:var(--el-loading-spinner-size);animation:loading-rotate 2s linear infinite}.el-loading-spinner .path{animation:loading-dash 1.5s ease-in-out infinite;stroke-dasharray:90,150;stroke-dashoffset:0;stroke-width:2;stroke:var(--el-color-primary);stroke-linecap:round}.el-loading-spinner i{color:var(--el-color-primary)}.el-loading-fade-enter-from,.el-loading-fade-leave-to{opacity:0}@keyframes loading-rotate{to{transform:rotate(360deg)}}@keyframes loading-dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-40px}to{stroke-dasharray:90,150;stroke-dashoffset:-120px}}.el-button{--el-button-font-weight:var(--el-font-weight-primary);--el-button-border-color:var(--el-border-color);--el-button-bg-color:var(--el-fill-color-blank);--el-button-text-color:var(--el-text-color-regular);--el-button-disabled-text-color:var(--el-disabled-text-color);--el-button-disabled-bg-color:var(--el-fill-color-blank);--el-button-disabled-border-color:var(--el-border-color-light);--el-button-divide-border-color:rgba(255, 255, 255, .5);--el-button-hover-text-color:var(--el-color-primary);--el-button-hover-bg-color:var(--el-color-primary-light-9);--el-button-hover-border-color:var(--el-color-primary-light-7);--el-button-active-text-color:var(--el-button-hover-text-color);--el-button-active-border-color:var(--el-color-primary);--el-button-active-bg-color:var(--el-button-hover-bg-color)}.el-button{display:inline-flex;justify-content:center;align-items:center;line-height:1;height:32px;white-space:nowrap;cursor:pointer;color:var(--el-button-text-color);text-align:center;box-sizing:border-box;outline:0;transition:.1s;font-weight:var(--el-button-font-weight);-webkit-user-select:none;user-select:none;vertical-align:middle;-webkit-appearance:none;padding:8px 15px;font-size:var(--el-font-size-base);border-radius:var(--el-border-radius-base)}.el-button:not(.is-text){background-color:var(--el-button-bg-color);border:var(--el-border);border-color:var(--el-button-border-color)}.el-button:not(.is-text):focus,.el-button:not(.is-text):hover{color:var(--el-button-hover-text-color);border-color:var(--el-button-hover-border-color);background-color:var(--el-button-hover-bg-color);outline:0}.el-button:not(.is-text):active{color:var(--el-button-active-text-color);border-color:var(--el-button-active-border-color);background-color:var(--el-button-active-bg-color);outline:0}.el-button>span{display:inline-flex;align-items:center}.el-button+.el-button{margin-left:12px}.el-button.is-round{padding:8px 15px}.el-button::-moz-focus-inner{border:0}.el-button [class*=el-icon]+span{margin-left:6px}.el-button [class*=el-icon] svg{vertical-align:bottom}.el-button.is-plain{--el-button-hover-text-color:var(--el-color-primary);--el-button-hover-bg-color:var(--el-fill-color-blank);--el-button-hover-border-color:var(--el-color-primary)}.el-button.is-active{color:var(--el-button-active-text-color);border-color:var(--el-button-active-border-color);background-color:var(--el-button-active-bg-color);outline:0}.el-button.is-disabled,.el-button.is-disabled:focus,.el-button.is-disabled:hover{color:var(--el-button-disabled-text-color);cursor:not-allowed;background-image:none;background-color:var(--el-button-disabled-bg-color);border-color:var(--el-button-disabled-border-color)}.el-button.is-loading{position:relative;pointer-events:none}.el-button.is-loading:before{z-index:1;pointer-events:none;content:"";position:absolute;left:-1px;top:-1px;right:-1px;bottom:-1px;border-radius:inherit;background-color:var(--el-mask-color-extra-light)}.el-button.is-round{border-radius:var(--el-border-radius-round)}.el-button.is-circle{border-radius:50%;padding:8px}.el-button.is-text{color:var(--el-button-text-color);border:0 solid transparent;background-color:transparent}.el-button.is-text.is-disabled{color:var(--el-button-disabled-text-color);background-color:transparent!important}.el-button.is-text:not(.is-disabled):focus,.el-button.is-text:not(.is-disabled):hover{background-color:var(--el-fill-color-light)}.el-button.is-text:not(.is-disabled):active{background-color:var(--el-fill-color)}.el-button.is-text:not(.is-disabled).is-has-bg{background-color:var(--el-fill-color-light)}.el-button.is-text:not(.is-disabled).is-has-bg:hover{background-color:var(--el-fill-color)}.el-button.is-text:not(.is-disabled).is-has-bg:active{background-color:var(--el-fill-color-dark)}.el-button__text--expand{letter-spacing:.3em;margin-right:-.3em}.el-button--primary{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-primary);--el-button-border-color:var(--el-color-primary);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-primary-light-3);--el-button-hover-border-color:var(--el-color-primary-light-3);--el-button-active-bg-color:var(--el-color-primary-dark-2);--el-button-active-border-color:var(--el-color-primary-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-primary-light-5);--el-button-disabled-border-color:var(--el-color-primary-light-5)}.el-button--primary.is-plain,.el-button--primary.is-text{--el-button-text-color:var(--el-color-primary);--el-button-bg-color:var(--el-color-primary-light-9);--el-button-border-color:var(--el-color-primary-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-primary);--el-button-hover-border-color:var(--el-color-primary);--el-button-active-text-color:var(--el-color-white)}.el-button--primary.is-plain.is-disabled,.el-button--primary.is-plain.is-disabled:active,.el-button--primary.is-plain.is-disabled:focus,.el-button--primary.is-plain.is-disabled:hover,.el-button--primary.is-text.is-disabled,.el-button--primary.is-text.is-disabled:active,.el-button--primary.is-text.is-disabled:focus,.el-button--primary.is-text.is-disabled:hover{color:var(--el-color-primary-light-5);background-color:var(--el-color-primary-light-9);border-color:var(--el-color-primary-light-8)}.el-button--success{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-success);--el-button-border-color:var(--el-color-success);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-success-light-3);--el-button-hover-border-color:var(--el-color-success-light-3);--el-button-active-bg-color:var(--el-color-success-dark-2);--el-button-active-border-color:var(--el-color-success-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-success-light-5);--el-button-disabled-border-color:var(--el-color-success-light-5)}.el-button--success.is-plain,.el-button--success.is-text{--el-button-text-color:var(--el-color-success);--el-button-bg-color:var(--el-color-success-light-9);--el-button-border-color:var(--el-color-success-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-success);--el-button-hover-border-color:var(--el-color-success);--el-button-active-text-color:var(--el-color-white)}.el-button--success.is-plain.is-disabled,.el-button--success.is-plain.is-disabled:active,.el-button--success.is-plain.is-disabled:focus,.el-button--success.is-plain.is-disabled:hover,.el-button--success.is-text.is-disabled,.el-button--success.is-text.is-disabled:active,.el-button--success.is-text.is-disabled:focus,.el-button--success.is-text.is-disabled:hover{color:var(--el-color-success-light-5);background-color:var(--el-color-success-light-9);border-color:var(--el-color-success-light-8)}.el-button--warning{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-warning);--el-button-border-color:var(--el-color-warning);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-warning-light-3);--el-button-hover-border-color:var(--el-color-warning-light-3);--el-button-active-bg-color:var(--el-color-warning-dark-2);--el-button-active-border-color:var(--el-color-warning-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-warning-light-5);--el-button-disabled-border-color:var(--el-color-warning-light-5)}.el-button--warning.is-plain,.el-button--warning.is-text{--el-button-text-color:var(--el-color-warning);--el-button-bg-color:var(--el-color-warning-light-9);--el-button-border-color:var(--el-color-warning-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-warning);--el-button-hover-border-color:var(--el-color-warning);--el-button-active-text-color:var(--el-color-white)}.el-button--warning.is-plain.is-disabled,.el-button--warning.is-plain.is-disabled:active,.el-button--warning.is-plain.is-disabled:focus,.el-button--warning.is-plain.is-disabled:hover,.el-button--warning.is-text.is-disabled,.el-button--warning.is-text.is-disabled:active,.el-button--warning.is-text.is-disabled:focus,.el-button--warning.is-text.is-disabled:hover{color:var(--el-color-warning-light-5);background-color:var(--el-color-warning-light-9);border-color:var(--el-color-warning-light-8)}.el-button--danger{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-danger);--el-button-border-color:var(--el-color-danger);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-danger-light-3);--el-button-hover-border-color:var(--el-color-danger-light-3);--el-button-active-bg-color:var(--el-color-danger-dark-2);--el-button-active-border-color:var(--el-color-danger-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-danger-light-5);--el-button-disabled-border-color:var(--el-color-danger-light-5)}.el-button--danger.is-plain,.el-button--danger.is-text{--el-button-text-color:var(--el-color-danger);--el-button-bg-color:var(--el-color-danger-light-9);--el-button-border-color:var(--el-color-danger-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-danger);--el-button-hover-border-color:var(--el-color-danger);--el-button-active-text-color:var(--el-color-white)}.el-button--danger.is-plain.is-disabled,.el-button--danger.is-plain.is-disabled:active,.el-button--danger.is-plain.is-disabled:focus,.el-button--danger.is-plain.is-disabled:hover,.el-button--danger.is-text.is-disabled,.el-button--danger.is-text.is-disabled:active,.el-button--danger.is-text.is-disabled:focus,.el-button--danger.is-text.is-disabled:hover{color:var(--el-color-danger-light-5);background-color:var(--el-color-danger-light-9);border-color:var(--el-color-danger-light-8)}.el-button--info{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-info);--el-button-border-color:var(--el-color-info);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-info-light-3);--el-button-hover-border-color:var(--el-color-info-light-3);--el-button-active-bg-color:var(--el-color-info-dark-2);--el-button-active-border-color:var(--el-color-info-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-info-light-5);--el-button-disabled-border-color:var(--el-color-info-light-5)}.el-button--info.is-plain,.el-button--info.is-text{--el-button-text-color:var(--el-color-info);--el-button-bg-color:var(--el-color-info-light-9);--el-button-border-color:var(--el-color-info-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-info);--el-button-hover-border-color:var(--el-color-info);--el-button-active-text-color:var(--el-color-white)}.el-button--info.is-plain.is-disabled,.el-button--info.is-plain.is-disabled:active,.el-button--info.is-plain.is-disabled:focus,.el-button--info.is-plain.is-disabled:hover,.el-button--info.is-text.is-disabled,.el-button--info.is-text.is-disabled:active,.el-button--info.is-text.is-disabled:focus,.el-button--info.is-text.is-disabled:hover{color:var(--el-color-info-light-5);background-color:var(--el-color-info-light-9);border-color:var(--el-color-info-light-8)}.el-button--large{--el-button-size:40px;height:var(--el-button-size);padding:12px 19px;font-size:var(--el-font-size-base);border-radius:var(--el-border-radius-base)}.el-button--large [class*=el-icon]+span{margin-left:8px}.el-button--large.is-round{padding:12px 19px}.el-button--large.is-circle{width:var(--el-button-size);padding:12px}.el-button--small{--el-button-size:24px;height:var(--el-button-size);padding:5px 11px;font-size:12px;border-radius:calc(var(--el-border-radius-base) - 1px)}.el-button--small [class*=el-icon]+span{margin-left:4px}.el-button--small.is-round{padding:5px 11px}.el-button--small.is-circle{width:var(--el-button-size);padding:5px}:root{--el-popup-modal-bg-color:var(--el-color-black);--el-popup-modal-opacity:.5}.v-modal-enter{animation:v-modal-in var(--el-transition-duration-fast) ease}.v-modal-leave{animation:v-modal-out var(--el-transition-duration-fast) ease forwards}@keyframes v-modal-in{0%{opacity:0}}@keyframes v-modal-out{to{opacity:0}}.v-modal{position:fixed;left:0;top:0;width:100%;height:100%;opacity:var(--el-popup-modal-opacity);background:var(--el-popup-modal-bg-color)}.el-popup-parent--hidden{overflow:hidden}.el-dialog{--el-dialog-width:50%;--el-dialog-margin-top:15vh;--el-dialog-bg-color:var(--el-bg-color);--el-dialog-box-shadow:var(--el-box-shadow);--el-dialog-title-font-size:var(--el-font-size-large);--el-dialog-content-font-size:14px;--el-dialog-font-line-height:var(--el-font-line-height-primary);--el-dialog-padding-primary:20px;--el-dialog-border-radius:var(--el-border-radius-small);position:relative;margin:var(--el-dialog-margin-top,15vh) auto 50px;background:var(--el-dialog-bg-color);border-radius:var(--el-dialog-border-radius);box-shadow:var(--el-dialog-box-shadow);box-sizing:border-box;width:var(--el-dialog-width,50%)}.el-dialog.is-fullscreen{--el-dialog-width:100%;--el-dialog-margin-top:0;margin-bottom:0;height:100%;overflow:auto}.el-dialog__wrapper{position:fixed;top:0;right:0;bottom:0;left:0;overflow:auto;margin:0}.el-dialog.is-draggable .el-dialog__header{cursor:move;-webkit-user-select:none;user-select:none}.el-dialog__header{padding:var(--el-dialog-padding-primary);padding-bottom:10px;margin-right:16px;word-break:break-all}.el-dialog__headerbtn{position:absolute;top:6px;right:0;padding:0;width:54px;height:54px;background:0 0;border:none;outline:0;cursor:pointer;font-size:var(--el-message-close-size,16px)}.el-dialog__headerbtn .el-dialog__close{color:var(--el-color-info);font-size:inherit}.el-dialog__headerbtn:focus .el-dialog__close,.el-dialog__headerbtn:hover .el-dialog__close{color:var(--el-color-primary)}.el-dialog__title{line-height:var(--el-dialog-font-line-height);font-size:var(--el-dialog-title-font-size);color:var(--el-text-color-primary)}.el-dialog__body{padding:calc(var(--el-dialog-padding-primary) + 10px) var(--el-dialog-padding-primary);color:var(--el-text-color-regular);font-size:var(--el-dialog-content-font-size);word-break:break-all}.el-dialog__footer{padding:var(--el-dialog-padding-primary);padding-top:10px;text-align:right;box-sizing:border-box}.el-dialog--center{text-align:center}.el-dialog--center .el-dialog__body{text-align:initial;padding:25px calc(var(--el-dialog-padding-primary) + 5px) 30px}.el-dialog--center .el-dialog__footer{text-align:inherit}.el-overlay-dialog{position:fixed;top:0;right:0;bottom:0;left:0;overflow:auto}.dialog-fade-enter-active{animation:modal-fade-in var(--el-transition-duration)}.dialog-fade-enter-active .el-overlay-dialog{animation:dialog-fade-in var(--el-transition-duration)}.dialog-fade-leave-active{animation:modal-fade-out var(--el-transition-duration)}.dialog-fade-leave-active .el-overlay-dialog{animation:dialog-fade-out var(--el-transition-duration)}@keyframes dialog-fade-in{0%{transform:translate3d(0,-20px,0);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes dialog-fade-out{0%{transform:translateZ(0);opacity:1}to{transform:translate3d(0,-20px,0);opacity:0}}@keyframes modal-fade-in{0%{opacity:0}to{opacity:1}}@keyframes modal-fade-out{0%{opacity:1}to{opacity:0}}.el-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:2000;height:100%;background-color:var(--el-overlay-color-lighter);overflow:auto}.el-overlay .el-overlay-root{height:0}.el-form{--el-form-label-font-size:var(--el-font-size-base)}.el-form--label-left .el-form-item__label{text-align:left}.el-form--label-top .el-form-item{display:block}.el-form--label-top .el-form-item .el-form-item__label{display:block;text-align:left;margin-bottom:8px;line-height:22px}.el-form--inline .el-form-item{display:inline-flex;vertical-align:middle;margin-right:32px}.el-form--inline.el-form--label-top{display:flex;flex-wrap:wrap}.el-form--inline.el-form--label-top .el-form-item{display:block}.el-form--large.el-form--label-top .el-form-item .el-form-item__label{margin-bottom:12px;line-height:22px}.el-form--default.el-form--label-top .el-form-item .el-form-item__label{margin-bottom:8px;line-height:22px}.el-form--small.el-form--label-top .el-form-item .el-form-item__label{margin-bottom:4px;line-height:20px}.el-form-item{display:flex;--font-size:14px;margin-bottom:18px}.el-form-item .el-form-item{margin-bottom:0}.el-form-item .el-input__validateIcon{display:none}.el-form-item--large{--font-size:14px;--el-form-label-font-size:var(--font-size);margin-bottom:22px}.el-form-item--large .el-form-item__label,.el-form-item--large .el-form-item__content{line-height:40px}.el-form-item--large .el-form-item__error{padding-top:4px}.el-form-item--default{--font-size:14px;--el-form-label-font-size:var(--font-size);margin-bottom:18px}.el-form-item--default .el-form-item__label,.el-form-item--default .el-form-item__content{line-height:32px}.el-form-item--default .el-form-item__error{padding-top:2px}.el-form-item--small{--font-size:12px;--el-form-label-font-size:var(--font-size);margin-bottom:18px}.el-form-item--small .el-form-item__label,.el-form-item--small .el-form-item__content{line-height:24px}.el-form-item--small .el-form-item__error{padding-top:2px}.el-form-item__label-wrap{display:flex}.el-form-item__label-wrap .el-form-item__label{display:inline-block}.el-form-item__label{flex:0 0 auto;text-align:right;font-size:var(--el-form-label-font-size);color:var(--el-text-color-regular);line-height:32px;padding:0 12px 0 0;box-sizing:border-box}.el-form-item__content{display:flex;flex-wrap:wrap;align-items:center;flex:1;line-height:32px;position:relative;font-size:var(--font-size);min-width:0}.el-form-item__content .el-input-group{vertical-align:top}.el-form-item__error{color:var(--el-color-danger);font-size:12px;line-height:1;padding-top:2px;position:absolute;top:100%;left:0}.el-form-item__error--inline{position:relative;top:auto;left:auto;display:inline-block;margin-left:10px}.el-form-item.is-required:not(.is-no-asterisk)>.el-form-item__label-wrap>.el-form-item__label:before,.el-form-item.is-required:not(.is-no-asterisk)>.el-form-item__label:before{content:"*";color:var(--el-color-danger);margin-right:4px}.el-form-item.is-error .el-select-v2__wrapper,.el-form-item.is-error .el-select-v2__wrapper:focus,.el-form-item.is-error .el-textarea__inner,.el-form-item.is-error .el-textarea__inner:focus{box-shadow:0 0 0 1px var(--el-color-danger) inset}.el-form-item.is-error .el-input__wrapper{box-shadow:0 0 0 1px var(--el-color-danger) inset}.el-form-item.is-error .el-input-group__append .el-input__wrapper,.el-form-item.is-error .el-input-group__prepend .el-input__wrapper{box-shadow:0 0 0 1px transparent inset}.el-form-item.is-error .el-input__validateIcon{color:var(--el-color-danger)}.el-form-item--feedback .el-input__validateIcon{display:inline-flex}.el-popper{--el-popper-border-radius:var(--el-popover-border-radius, 4px)}.el-popper{position:absolute;border-radius:var(--el-popper-border-radius);padding:5px 11px;z-index:2000;font-size:12px;line-height:20px;min-width:10px;word-wrap:break-word;visibility:visible}.el-popper.is-dark{color:var(--el-bg-color);background:var(--el-text-color-primary);border:1px solid var(--el-text-color-primary)}.el-popper.is-dark .el-popper__arrow:before{border:1px solid var(--el-text-color-primary);background:var(--el-text-color-primary);right:0}.el-popper.is-light{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color-light)}.el-popper.is-light .el-popper__arrow:before{border:1px solid var(--el-border-color-light);background:var(--el-bg-color-overlay);right:0}.el-popper.is-pure{padding:0}.el-popper__arrow{position:absolute;width:10px;height:10px;z-index:-1}.el-popper__arrow:before{position:absolute;width:10px;height:10px;z-index:-1;content:" ";transform:rotate(45deg);background:var(--el-text-color-primary);box-sizing:border-box}.el-popper[data-popper-placement^=top]>.el-popper__arrow{bottom:-5px}.el-popper[data-popper-placement^=top]>.el-popper__arrow:before{border-bottom-right-radius:2px}.el-popper[data-popper-placement^=bottom]>.el-popper__arrow{top:-5px}.el-popper[data-popper-placement^=bottom]>.el-popper__arrow:before{border-top-left-radius:2px}.el-popper[data-popper-placement^=left]>.el-popper__arrow{right:-5px}.el-popper[data-popper-placement^=left]>.el-popper__arrow:before{border-top-right-radius:2px}.el-popper[data-popper-placement^=right]>.el-popper__arrow{left:-5px}.el-popper[data-popper-placement^=right]>.el-popper__arrow:before{border-bottom-left-radius:2px}.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-top-color:transparent!important;border-left-color:transparent!important}.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent!important;border-right-color:transparent!important}.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-left-color:transparent!important;border-bottom-color:transparent!important}.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent!important;border-top-color:transparent!important}.el-switch{--el-switch-on-color:var(--el-color-primary);--el-switch-off-color:var(--el-border-color)}.el-switch{display:inline-flex;align-items:center;position:relative;font-size:14px;line-height:20px;height:32px;vertical-align:middle}.el-switch.is-disabled .el-switch__core,.el-switch.is-disabled .el-switch__label{cursor:not-allowed}.el-switch__label{transition:var(--el-transition-duration-fast);height:20px;display:inline-block;font-size:14px;font-weight:500;cursor:pointer;vertical-align:middle;color:var(--el-text-color-primary)}.el-switch__label.is-active{color:var(--el-color-primary)}.el-switch__label--left{margin-right:10px}.el-switch__label--right{margin-left:10px}.el-switch__label *{line-height:1;font-size:14px;display:inline-block}.el-switch__label .el-icon{height:inherit}.el-switch__label .el-icon svg{vertical-align:middle}.el-switch__input{position:absolute;width:0;height:0;opacity:0;margin:0}.el-switch__core{margin:0;display:inline-block;position:relative;width:40px;height:20px;border:1px solid var(--el-switch-off-color);outline:0;border-radius:10px;box-sizing:border-box;background:var(--el-switch-off-color);cursor:pointer;transition:border-color var(--el-transition-duration),background-color var(--el-transition-duration);vertical-align:middle}.el-switch__core .el-switch__inner{position:absolute;top:1px;left:1px;transition:all var(--el-transition-duration);width:16px;height:16px;display:flex;justify-content:center;align-items:center;left:50%;white-space:nowrap}.el-switch__core .el-switch__inner .is-icon,.el-switch__core .el-switch__inner .is-text{color:var(--el-color-white);transition:opacity var(--el-transition-duration);position:absolute;-webkit-user-select:none;user-select:none}.el-switch__core .el-switch__action{position:absolute;top:1px;left:1px;border-radius:var(--el-border-radius-circle);transition:all var(--el-transition-duration);width:16px;height:16px;background-color:var(--el-color-white);display:flex;justify-content:center;align-items:center;color:var(--el-switch-off-color)}.el-switch__core .el-switch__action .is-icon,.el-switch__core .el-switch__action .is-text{transition:opacity var(--el-transition-duration);position:absolute;-webkit-user-select:none;user-select:none}.el-switch__core .is-text{font-size:12px}.el-switch__core .is-show{opacity:1}.el-switch__core .is-hide{opacity:0}.el-switch.is-checked .el-switch__core{border-color:var(--el-switch-on-color);background-color:var(--el-switch-on-color)}.el-switch.is-checked .el-switch__core .el-switch__action{left:100%;margin-left:-17px;color:var(--el-switch-on-color)}.el-switch.is-checked .el-switch__core .el-switch__inner{left:50%;white-space:nowrap;margin-left:-17px}.el-switch.is-disabled{opacity:.6}.el-switch--wide .el-switch__label.el-switch__label--left span{left:10px}.el-switch--wide .el-switch__label.el-switch__label--right span{right:10px}.el-switch .label-fade-enter-from,.el-switch .label-fade-leave-active{opacity:0}.el-switch--large{font-size:14px;line-height:24px;height:40px}.el-switch--large .el-switch__label{height:24px;font-size:14px}.el-switch--large .el-switch__label *{font-size:14px}.el-switch--large .el-switch__core{width:50px;height:24px;border-radius:12px}.el-switch--large .el-switch__core .el-switch__inner,.el-switch--large .el-switch__core .el-switch__action{width:20px;height:20px}.el-switch--large.is-checked .el-switch__core .el-switch__action,.el-switch--large.is-checked .el-switch__core .el-switch__inner{margin-left:-21px}.el-switch--small{font-size:12px;line-height:16px;height:24px}.el-switch--small .el-switch__label{height:16px;font-size:12px}.el-switch--small .el-switch__label *{font-size:12px}.el-switch--small .el-switch__core{width:30px;height:16px;border-radius:8px}.el-switch--small .el-switch__core .el-switch__inner,.el-switch--small .el-switch__core .el-switch__action{width:12px;height:12px}.el-switch--small.is-checked .el-switch__core .el-switch__action,.el-switch--small.is-checked .el-switch__core .el-switch__inner{margin-left:-13px}.el-date-table{font-size:12px;-webkit-user-select:none;user-select:none}.el-date-table.is-week-mode .el-date-table__row:hover .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-date-table.is-week-mode .el-date-table__row:hover td.available:hover{color:var(--el-datepicker-text-color)}.el-date-table.is-week-mode .el-date-table__row:hover td:first-child .el-date-table-cell{margin-left:5px;border-top-left-radius:15px;border-bottom-left-radius:15px}.el-date-table.is-week-mode .el-date-table__row:hover td:last-child .el-date-table-cell{margin-right:5px;border-top-right-radius:15px;border-bottom-right-radius:15px}.el-date-table.is-week-mode .el-date-table__row.current .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-date-table td{width:32px;height:30px;padding:4px 0;box-sizing:border-box;text-align:center;cursor:pointer;position:relative}.el-date-table td .el-date-table-cell{height:30px;padding:3px 0;box-sizing:border-box}.el-date-table td .el-date-table-cell .el-date-table-cell__text{width:24px;height:24px;display:block;margin:0 auto;line-height:24px;position:absolute;left:50%;transform:translate(-50%);border-radius:50%}.el-date-table td.next-month,.el-date-table td.prev-month{color:var(--el-datepicker-off-text-color)}.el-date-table td.today{position:relative}.el-date-table td.today .el-date-table-cell__text{color:var(--el-color-primary);font-weight:700}.el-date-table td.today.end-date .el-date-table-cell__text,.el-date-table td.today.start-date .el-date-table-cell__text{color:#fff}.el-date-table td.available:hover{color:var(--el-datepicker-hover-text-color)}.el-date-table td.in-range .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-date-table td.in-range .el-date-table-cell:hover{background-color:var(--el-datepicker-inrange-hover-bg-color)}.el-date-table td.current:not(.disabled) .el-date-table-cell__text{color:#fff;background-color:var(--el-datepicker-active-color)}.el-date-table td.end-date .el-date-table-cell,.el-date-table td.start-date .el-date-table-cell{color:#fff}.el-date-table td.end-date .el-date-table-cell__text,.el-date-table td.start-date .el-date-table-cell__text{background-color:var(--el-datepicker-active-color)}.el-date-table td.start-date .el-date-table-cell{margin-left:5px;border-top-left-radius:15px;border-bottom-left-radius:15px}.el-date-table td.end-date .el-date-table-cell{margin-right:5px;border-top-right-radius:15px;border-bottom-right-radius:15px}.el-date-table td.disabled .el-date-table-cell{background-color:var(--el-fill-color-light);opacity:1;cursor:not-allowed;color:var(--el-text-color-placeholder)}.el-date-table td.selected .el-date-table-cell{margin-left:5px;margin-right:5px;background-color:var(--el-datepicker-inrange-bg-color);border-radius:15px}.el-date-table td.selected .el-date-table-cell:hover{background-color:var(--el-datepicker-inrange-hover-bg-color)}.el-date-table td.selected .el-date-table-cell__text{background-color:var(--el-datepicker-active-color);color:#fff;border-radius:15px}.el-date-table td.week{font-size:80%;color:var(--el-datepicker-header-text-color)}.el-date-table th{padding:5px;color:var(--el-datepicker-header-text-color);font-weight:400;border-bottom:solid 1px var(--el-border-color-lighter)}.el-month-table{font-size:12px;margin:-1px;border-collapse:collapse}.el-month-table td{text-align:center;padding:8px 0;cursor:pointer}.el-month-table td div{height:48px;padding:6px 0;box-sizing:border-box}.el-month-table td.today .cell{color:var(--el-color-primary);font-weight:700}.el-month-table td.today.end-date .cell,.el-month-table td.today.start-date .cell{color:#fff}.el-month-table td.disabled .cell{background-color:var(--el-fill-color-light);cursor:not-allowed;color:var(--el-text-color-placeholder)}.el-month-table td.disabled .cell:hover{color:var(--el-text-color-placeholder)}.el-month-table td .cell{width:60px;height:36px;display:block;line-height:36px;color:var(--el-datepicker-text-color);margin:0 auto;border-radius:18px}.el-month-table td .cell:hover{color:var(--el-datepicker-hover-text-color)}.el-month-table td.in-range div{background-color:var(--el-datepicker-inrange-bg-color)}.el-month-table td.in-range div:hover{background-color:var(--el-datepicker-inrange-hover-bg-color)}.el-month-table td.end-date div,.el-month-table td.start-date div{color:#fff}.el-month-table td.end-date .cell,.el-month-table td.start-date .cell{color:#fff;background-color:var(--el-datepicker-active-color)}.el-month-table td.start-date div{border-top-left-radius:24px;border-bottom-left-radius:24px}.el-month-table td.end-date div{border-top-right-radius:24px;border-bottom-right-radius:24px}.el-month-table td.current:not(.disabled) .cell{color:var(--el-datepicker-active-color)}.el-year-table{font-size:12px;margin:-1px;border-collapse:collapse}.el-year-table .el-icon{color:var(--el-datepicker-icon-color)}.el-year-table td{text-align:center;padding:20px 3px;cursor:pointer}.el-year-table td.today .cell{color:var(--el-color-primary);font-weight:700}.el-year-table td.disabled .cell{background-color:var(--el-fill-color-light);cursor:not-allowed;color:var(--el-text-color-placeholder)}.el-year-table td.disabled .cell:hover{color:var(--el-text-color-placeholder)}.el-year-table td .cell{width:48px;height:32px;display:block;line-height:32px;color:var(--el-datepicker-text-color);margin:0 auto}.el-year-table td .cell:hover{color:var(--el-datepicker-hover-text-color)}.el-year-table td.current:not(.disabled) .cell{color:var(--el-datepicker-active-color)}.el-time-spinner.has-seconds .el-time-spinner__wrapper{width:33.3%}.el-time-spinner__wrapper{max-height:192px;overflow:auto;display:inline-block;width:50%;vertical-align:top;position:relative}.el-time-spinner__wrapper.el-scrollbar__wrap:not(.el-scrollbar__wrap--hidden-default){padding-bottom:15px}.el-time-spinner__wrapper.is-arrow{box-sizing:border-box;text-align:center;overflow:hidden}.el-time-spinner__wrapper.is-arrow .el-time-spinner__list{transform:translateY(-32px)}.el-time-spinner__wrapper.is-arrow .el-time-spinner__item:hover:not(.is-disabled):not(.is-active){background:var(--el-fill-color-light);cursor:default}.el-time-spinner__arrow{font-size:12px;color:var(--el-text-color-secondary);position:absolute;left:0;width:100%;z-index:var(--el-index-normal);text-align:center;height:30px;line-height:30px;cursor:pointer}.el-time-spinner__arrow:hover{color:var(--el-color-primary)}.el-time-spinner__arrow.arrow-up{top:10px}.el-time-spinner__arrow.arrow-down{bottom:10px}.el-time-spinner__input.el-input{width:70%}.el-time-spinner__input.el-input .el-input__inner{padding:0;text-align:center}.el-time-spinner__list{padding:0;margin:0;list-style:none;text-align:center}.el-time-spinner__list:after,.el-time-spinner__list:before{content:"";display:block;width:100%;height:80px}.el-time-spinner__item{height:32px;line-height:32px;font-size:12px;color:var(--el-text-color-regular)}.el-time-spinner__item:hover:not(.is-disabled):not(.is-active){background:var(--el-fill-color-light);cursor:pointer}.el-time-spinner__item.is-active:not(.is-disabled){color:var(--el-text-color-primary);font-weight:700}.el-time-spinner__item.is-disabled{color:var(--el-text-color-placeholder);cursor:not-allowed}.fade-in-linear-enter-active,.fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.fade-in-linear-enter-from,.fade-in-linear-leave-to{opacity:0}.el-fade-in-linear-enter-active,.el-fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.el-fade-in-linear-enter-from,.el-fade-in-linear-leave-to{opacity:0}.el-fade-in-enter-active,.el-fade-in-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-fade-in-enter-from,.el-fade-in-leave-active{opacity:0}.el-zoom-in-center-enter-active,.el-zoom-in-center-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-zoom-in-center-enter-from,.el-zoom-in-center-leave-active{opacity:0;transform:scaleX(0)}.el-zoom-in-top-enter-active,.el-zoom-in-top-leave-active{opacity:1;transform:scaleY(1);transition:var(--el-transition-md-fade);transform-origin:center top}.el-zoom-in-top-enter-active[data-popper-placement^=top],.el-zoom-in-top-leave-active[data-popper-placement^=top]{transform-origin:center bottom}.el-zoom-in-top-enter-from,.el-zoom-in-top-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-bottom-enter-active,.el-zoom-in-bottom-leave-active{opacity:1;transform:scaleY(1);transition:var(--el-transition-md-fade);transform-origin:center bottom}.el-zoom-in-bottom-enter-from,.el-zoom-in-bottom-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-left-enter-active,.el-zoom-in-left-leave-active{opacity:1;transform:scale(1);transition:var(--el-transition-md-fade);transform-origin:top left}.el-zoom-in-left-enter-from,.el-zoom-in-left-leave-active{opacity:0;transform:scale(.45)}.collapse-transition{transition:var(--el-transition-duration) height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.el-collapse-transition-enter-active,.el-collapse-transition-leave-active{transition:var(--el-transition-duration) max-height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.horizontal-collapse-transition{transition:var(--el-transition-duration) width ease-in-out,var(--el-transition-duration) padding-left ease-in-out,var(--el-transition-duration) padding-right ease-in-out}.el-list-enter-active,.el-list-leave-active{transition:all 1s}.el-list-enter-from,.el-list-leave-to{opacity:0;transform:translateY(-30px)}.el-list-leave-active{position:absolute!important}.el-opacity-transition{transition:opacity var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-picker__popper{--el-datepicker-border-color:var(--el-disabled-border-color)}.el-picker__popper.el-popper[role=tooltip]{background:var(--el-bg-color-overlay);border:1px solid var(--el-datepicker-border-color);box-shadow:var(--el-box-shadow-light)}.el-picker__popper.el-popper[role=tooltip] .el-popper__arrow:before{border:1px solid var(--el-datepicker-border-color)}.el-picker__popper.el-popper[role=tooltip][data-popper-placement^=top] .el-popper__arrow:before{border-top-color:transparent;border-left-color:transparent}.el-picker__popper.el-popper[role=tooltip][data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-picker__popper.el-popper[role=tooltip][data-popper-placement^=left] .el-popper__arrow:before{border-left-color:transparent;border-bottom-color:transparent}.el-picker__popper.el-popper[role=tooltip][data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-date-editor{--el-date-editor-width:220px;--el-date-editor-monthrange-width:300px;--el-date-editor-daterange-width:350px;--el-date-editor-datetimerange-width:400px;--el-input-text-color:var(--el-text-color-regular);--el-input-border:var(--el-border);--el-input-hover-border:var(--el-border-color-hover);--el-input-focus-border:var(--el-color-primary);--el-input-transparent-border:0 0 0 1px transparent inset;--el-input-border-color:var(--el-border-color);--el-input-border-radius:var(--el-border-radius-base);--el-input-bg-color:var(--el-fill-color-blank);--el-input-icon-color:var(--el-text-color-placeholder);--el-input-placeholder-color:var(--el-text-color-placeholder);--el-input-hover-border-color:var(--el-border-color-hover);--el-input-clear-hover-color:var(--el-text-color-secondary);--el-input-focus-border-color:var(--el-color-primary);position:relative;display:inline-block;text-align:left}.el-date-editor.el-input__inner{border-radius:var(--el-input-border-radius,var(--el-border-radius-base));box-shadow:0 0 0 1px var(--el-input-border-color,var(--el-border-color)) inset}.el-date-editor.el-input__inner:hover{box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset}.el-date-editor.el-input,.el-date-editor.el-input__inner{width:var(--el-date-editor-width)}.el-date-editor--monthrange.el-input,.el-date-editor--monthrange.el-input__inner{width:var(--el-date-editor-monthrange-width)}.el-date-editor--daterange.el-input,.el-date-editor--daterange.el-input__inner,.el-date-editor--timerange.el-input,.el-date-editor--timerange.el-input__inner{width:var(--el-date-editor-daterange-width)}.el-date-editor--datetimerange.el-input,.el-date-editor--datetimerange.el-input__inner{width:var(--el-date-editor-datetimerange-width)}.el-date-editor--dates .el-input__inner{text-overflow:ellipsis;white-space:nowrap}.el-date-editor .close-icon,.el-date-editor .clear-icon{cursor:pointer}.el-date-editor .clear-icon:hover{color:var(--el-text-color-secondary)}.el-date-editor .el-range__icon{height:inherit;font-size:14px;color:var(--el-text-color-placeholder);float:left}.el-date-editor .el-range__icon svg{vertical-align:middle}.el-date-editor .el-range-input{-webkit-appearance:none;appearance:none;border:none;outline:0;display:inline-block;height:100%;margin:0;padding:0;width:39%;text-align:center;font-size:var(--el-font-size-base);color:var(--el-text-color-regular);background-color:transparent}.el-date-editor .el-range-input::placeholder{color:var(--el-text-color-placeholder)}.el-date-editor .el-range-separator{flex:1;display:inline-flex;justify-content:center;align-items:center;height:100%;padding:0 5px;margin:0;font-size:14px;word-break:keep-all;color:var(--el-text-color-primary)}.el-date-editor .el-range__close-icon{font-size:14px;color:var(--el-text-color-placeholder);height:inherit;width:unset;cursor:pointer}.el-date-editor .el-range__close-icon:hover{color:var(--el-text-color-secondary)}.el-date-editor .el-range__close-icon svg{vertical-align:middle}.el-date-editor .el-range__close-icon--hidden{opacity:0;visibility:hidden}.el-range-editor.el-input__inner{display:inline-flex;align-items:center;padding:3px 10px}.el-range-editor .el-range-input{line-height:1}.el-range-editor.is-active,.el-range-editor.is-active:hover{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-range-editor--large{line-height:40px}.el-range-editor--large.el-input__inner{height:40px}.el-range-editor--large .el-range-separator{line-height:40px;font-size:14px}.el-range-editor--large .el-range-input{font-size:14px}.el-range-editor--small{line-height:24px}.el-range-editor--small.el-input__inner{height:24px}.el-range-editor--small .el-range-separator{line-height:24px;font-size:12px}.el-range-editor--small .el-range-input{font-size:12px}.el-range-editor.is-disabled{background-color:var(--el-disabled-bg-color);border-color:var(--el-disabled-border-color);color:var(--el-disabled-text-color);cursor:not-allowed}.el-range-editor.is-disabled:focus,.el-range-editor.is-disabled:hover{border-color:var(--el-disabled-border-color)}.el-range-editor.is-disabled input{background-color:var(--el-disabled-bg-color);color:var(--el-disabled-text-color);cursor:not-allowed}.el-range-editor.is-disabled input::placeholder{color:var(--el-text-color-placeholder)}.el-range-editor.is-disabled .el-range-separator{color:var(--el-disabled-text-color)}.el-picker-panel{color:var(--el-text-color-regular);background:var(--el-bg-color-overlay);border-radius:var(--el-border-radius-base);line-height:30px}.el-picker-panel .el-time-panel{margin:5px 0;border:solid 1px var(--el-datepicker-border-color);background-color:var(--el-bg-color-overlay);box-shadow:var(--el-box-shadow-light)}.el-picker-panel__body-wrapper:after,.el-picker-panel__body:after{content:"";display:table;clear:both}.el-picker-panel__content{position:relative;margin:15px}.el-picker-panel__footer{border-top:1px solid var(--el-datepicker-inner-border-color);padding:4px 12px;text-align:right;background-color:var(--el-bg-color-overlay);position:relative;font-size:0}.el-picker-panel__shortcut{display:block;width:100%;border:0;background-color:transparent;line-height:28px;font-size:14px;color:var(--el-datepicker-text-color);padding-left:12px;text-align:left;outline:0;cursor:pointer}.el-picker-panel__shortcut:hover{color:var(--el-datepicker-hover-text-color)}.el-picker-panel__shortcut.active{background-color:#e6f1fe;color:var(--el-datepicker-active-color)}.el-picker-panel__btn{border:1px solid var(--el-fill-color-darker);color:var(--el-text-color-primary);line-height:24px;border-radius:2px;padding:0 20px;cursor:pointer;background-color:transparent;outline:0;font-size:12px}.el-picker-panel__btn[disabled]{color:var(--el-text-color-disabled);cursor:not-allowed}.el-picker-panel__icon-btn{font-size:12px;color:var(--el-datepicker-icon-color);border:0;background:0 0;cursor:pointer;outline:0;margin-top:8px}.el-picker-panel__icon-btn:hover{color:var(--el-datepicker-hover-text-color)}.el-picker-panel__icon-btn.is-disabled{color:var(--el-text-color-disabled)}.el-picker-panel__icon-btn.is-disabled:hover{cursor:not-allowed}.el-picker-panel__icon-btn .el-icon{cursor:pointer;font-size:inherit}.el-picker-panel__link-btn{vertical-align:middle}.el-picker-panel [slot=sidebar],.el-picker-panel__sidebar{position:absolute;top:0;bottom:0;width:110px;border-right:1px solid var(--el-datepicker-inner-border-color);box-sizing:border-box;padding-top:6px;background-color:var(--el-bg-color-overlay);overflow:auto}.el-picker-panel [slot=sidebar]+.el-picker-panel__body,.el-picker-panel__sidebar+.el-picker-panel__body{margin-left:110px}.el-date-picker{--el-datepicker-text-color:var(--el-text-color-regular);--el-datepicker-off-text-color:var(--el-text-color-placeholder);--el-datepicker-header-text-color:var(--el-text-color-regular);--el-datepicker-icon-color:var(--el-text-color-primary);--el-datepicker-border-color:var(--el-disabled-border-color);--el-datepicker-inner-border-color:var(--el-border-color-light);--el-datepicker-inrange-bg-color:var(--el-border-color-extra-light);--el-datepicker-inrange-hover-bg-color:var(--el-border-color-extra-light);--el-datepicker-active-color:var(--el-color-primary);--el-datepicker-hover-text-color:var(--el-color-primary)}.el-date-picker{width:322px}.el-date-picker.has-sidebar.has-time{width:434px}.el-date-picker.has-sidebar{width:438px}.el-date-picker.has-time .el-picker-panel__body-wrapper{position:relative}.el-date-picker .el-picker-panel__content{width:292px}.el-date-picker table{table-layout:fixed;width:100%}.el-date-picker__editor-wrap{position:relative;display:table-cell;padding:0 5px}.el-date-picker__time-header{position:relative;border-bottom:1px solid var(--el-datepicker-inner-border-color);font-size:12px;padding:8px 5px 5px;display:table;width:100%;box-sizing:border-box}.el-date-picker__header{margin:12px;text-align:center}.el-date-picker__header--bordered{margin-bottom:0;padding-bottom:12px;border-bottom:solid 1px var(--el-border-color-lighter)}.el-date-picker__header--bordered+.el-picker-panel__content{margin-top:0}.el-date-picker__header-label{font-size:16px;font-weight:500;padding:0 5px;line-height:22px;text-align:center;cursor:pointer;color:var(--el-text-color-regular)}.el-date-picker__header-label:hover{color:var(--el-datepicker-hover-text-color)}.el-date-picker__header-label.active{color:var(--el-datepicker-active-color)}.el-date-picker__prev-btn{float:left}.el-date-picker__next-btn{float:right}.el-date-picker__time-wrap{padding:10px;text-align:center}.el-date-picker__time-label{float:left;cursor:pointer;line-height:30px;margin-left:10px}.el-date-picker .el-time-panel{position:absolute}.el-date-range-picker{--el-datepicker-text-color:var(--el-text-color-regular);--el-datepicker-off-text-color:var(--el-text-color-placeholder);--el-datepicker-header-text-color:var(--el-text-color-regular);--el-datepicker-icon-color:var(--el-text-color-primary);--el-datepicker-border-color:var(--el-disabled-border-color);--el-datepicker-inner-border-color:var(--el-border-color-light);--el-datepicker-inrange-bg-color:var(--el-border-color-extra-light);--el-datepicker-inrange-hover-bg-color:var(--el-border-color-extra-light);--el-datepicker-active-color:var(--el-color-primary);--el-datepicker-hover-text-color:var(--el-color-primary)}.el-date-range-picker{width:646px}.el-date-range-picker.has-sidebar{width:756px}.el-date-range-picker table{table-layout:fixed;width:100%}.el-date-range-picker .el-picker-panel__body{min-width:513px}.el-date-range-picker .el-picker-panel__content{margin:0}.el-date-range-picker__header{position:relative;text-align:center;height:28px}.el-date-range-picker__header [class*=arrow-left]{float:left}.el-date-range-picker__header [class*=arrow-right]{float:right}.el-date-range-picker__header div{font-size:16px;font-weight:500;margin-right:50px}.el-date-range-picker__content{float:left;width:50%;box-sizing:border-box;margin:0;padding:16px}.el-date-range-picker__content.is-left{border-right:1px solid var(--el-datepicker-inner-border-color)}.el-date-range-picker__content .el-date-range-picker__header div{margin-left:50px;margin-right:50px}.el-date-range-picker__editors-wrap{box-sizing:border-box;display:table-cell}.el-date-range-picker__editors-wrap.is-right{text-align:right}.el-date-range-picker__time-header{position:relative;border-bottom:1px solid var(--el-datepicker-inner-border-color);font-size:12px;padding:8px 5px 5px;display:table;width:100%;box-sizing:border-box}.el-date-range-picker__time-header>.el-icon-arrow-right{font-size:20px;vertical-align:middle;display:table-cell;color:var(--el-datepicker-icon-color)}.el-date-range-picker__time-picker-wrap{position:relative;display:table-cell;padding:0 5px}.el-date-range-picker__time-picker-wrap .el-picker-panel{position:absolute;top:13px;right:0;z-index:1;background:#fff}.el-date-range-picker__time-picker-wrap .el-time-panel{position:absolute}.el-time-range-picker{width:354px;overflow:visible}.el-time-range-picker__content{position:relative;text-align:center;padding:10px;z-index:1}.el-time-range-picker__cell{box-sizing:border-box;margin:0;padding:4px 7px 7px;width:50%;display:inline-block}.el-time-range-picker__header{margin-bottom:5px;text-align:center;font-size:14px}.el-time-range-picker__body{border-radius:2px;border:1px solid var(--el-datepicker-border-color)}.el-time-panel{border-radius:2px;position:relative;width:180px;left:0;z-index:var(--el-index-top);-webkit-user-select:none;user-select:none;box-sizing:content-box}.el-time-panel__content{font-size:0;position:relative;overflow:hidden}.el-time-panel__content:after,.el-time-panel__content:before{content:"";top:50%;position:absolute;margin-top:-16px;height:32px;z-index:-1;left:0;right:0;box-sizing:border-box;padding-top:6px;text-align:left}.el-time-panel__content:after{left:50%;margin-left:12%;margin-right:12%}.el-time-panel__content:before{padding-left:50%;margin-right:12%;margin-left:12%;border-top:1px solid var(--el-border-color-light);border-bottom:1px solid var(--el-border-color-light)}.el-time-panel__content.has-seconds:after{left:66.6666666667%}.el-time-panel__content.has-seconds:before{padding-left:33.3333333333%}.el-time-panel__footer{border-top:1px solid var(--el-timepicker-inner-border-color,var(--el-border-color-light));padding:4px;height:36px;line-height:25px;text-align:right;box-sizing:border-box}.el-time-panel__btn{border:none;line-height:28px;padding:0 5px;margin:0 5px;cursor:pointer;background-color:transparent;outline:0;font-size:12px;color:var(--el-text-color-primary)}.el-time-panel__btn.confirm{font-weight:800;color:var(--el-timepicker-active-color,var(--el-color-primary))}.el-textarea{--el-input-text-color:var(--el-text-color-regular);--el-input-border:var(--el-border);--el-input-hover-border:var(--el-border-color-hover);--el-input-focus-border:var(--el-color-primary);--el-input-transparent-border:0 0 0 1px transparent inset;--el-input-border-color:var(--el-border-color);--el-input-border-radius:var(--el-border-radius-base);--el-input-bg-color:var(--el-fill-color-blank);--el-input-icon-color:var(--el-text-color-placeholder);--el-input-placeholder-color:var(--el-text-color-placeholder);--el-input-hover-border-color:var(--el-border-color-hover);--el-input-clear-hover-color:var(--el-text-color-secondary);--el-input-focus-border-color:var(--el-color-primary)}.el-textarea{position:relative;display:inline-block;width:100%;vertical-align:bottom;font-size:var(--el-font-size-base)}.el-textarea__inner{position:relative;display:block;resize:vertical;padding:5px 15px;line-height:1.5;box-sizing:border-box;width:100%;font-size:inherit;font-family:inherit;color:var(--el-input-text-color,var(--el-text-color-regular));background-color:var(--el-input-bg-color,var(--el-fill-color-blank));background-image:none;-webkit-appearance:none;box-shadow:0 0 0 1px var(--el-input-border-color,var(--el-border-color)) inset;border-radius:var(--el-input-border-radius,var(--el-border-radius-base));transition:var(--el-transition-box-shadow);border:none}.el-textarea__inner::placeholder{color:var(--el-input-placeholder-color,var(--el-text-color-placeholder))}.el-textarea__inner:hover{box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset}.el-textarea__inner:focus{outline:0;box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-textarea .el-input__count{color:var(--el-color-info);background:var(--el-fill-color-blank);position:absolute;font-size:12px;line-height:14px;bottom:5px;right:10px}.el-textarea.is-disabled .el-textarea__inner{background-color:var(--el-disabled-bg-color);border-color:var(--el-disabled-border-color);color:var(--el-disabled-text-color);cursor:not-allowed}.el-textarea.is-disabled .el-textarea__inner::placeholder{color:var(--el-text-color-placeholder)}.el-textarea.is-exceed .el-textarea__inner{border-color:var(--el-color-danger)}.el-textarea.is-exceed .el-input__count{color:var(--el-color-danger)}.el-input{--el-input-text-color:var(--el-text-color-regular);--el-input-border:var(--el-border);--el-input-hover-border:var(--el-border-color-hover);--el-input-focus-border:var(--el-color-primary);--el-input-transparent-border:0 0 0 1px transparent inset;--el-input-border-color:var(--el-border-color);--el-input-border-radius:var(--el-border-radius-base);--el-input-bg-color:var(--el-fill-color-blank);--el-input-icon-color:var(--el-text-color-placeholder);--el-input-placeholder-color:var(--el-text-color-placeholder);--el-input-hover-border-color:var(--el-border-color-hover);--el-input-clear-hover-color:var(--el-text-color-secondary);--el-input-focus-border-color:var(--el-color-primary)}.el-input{--el-input-height:var(--el-component-size);position:relative;font-size:var(--el-font-size-base);display:inline-flex;width:100%;line-height:var(--el-input-height);box-sizing:border-box}.el-input::-webkit-scrollbar{z-index:11;width:6px}.el-input::-webkit-scrollbar:horizontal{height:6px}.el-input::-webkit-scrollbar-thumb{border-radius:5px;width:6px;background:var(--el-text-color-disabled)}.el-input::-webkit-scrollbar-corner{background:var(--el-fill-color-blank)}.el-input::-webkit-scrollbar-track{background:var(--el-fill-color-blank)}.el-input::-webkit-scrollbar-track-piece{background:var(--el-fill-color-blank);width:6px}.el-input .el-input__clear,.el-input .el-input__password{color:var(--el-input-icon-color);font-size:14px;cursor:pointer}.el-input .el-input__clear:hover,.el-input .el-input__password:hover{color:var(--el-input-clear-hover-color)}.el-input .el-input__count{height:100%;display:inline-flex;align-items:center;color:var(--el-color-info);font-size:12px}.el-input .el-input__count .el-input__count-inner{background:var(--el-fill-color-blank);line-height:initial;display:inline-block;padding-left:8px}.el-input__wrapper{--el-input-inner-height:calc(var(--el-input-height) - 2px);display:inline-flex;flex-grow:1;align-items:center;justify-content:center;padding:1px 11px;background-color:var(--el-input-bg-color,var(--el-fill-color-blank));background-image:none;border-radius:var(--el-input-border-radius,var(--el-border-radius-base));transition:var(--el-transition-box-shadow);box-shadow:0 0 0 1px var(--el-input-border-color,var(--el-border-color)) inset}.el-input__wrapper:hover{box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset}.el-input__wrapper.is-focus{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-input__inner{width:100%;flex-grow:1;-webkit-appearance:none;color:var(--el-input-text-color,var(--el-text-color-regular));font-size:inherit;height:var(--el-input-inner-height);line-height:var(--el-input-inner-height);padding:0;outline:0;border:none;background:0 0;box-sizing:border-box}.el-input__inner:focus{outline:0}.el-input__inner::placeholder{color:var(--el-input-placeholder-color,var(--el-text-color-placeholder))}.el-input__inner[type=password]::-ms-reveal{display:none}.el-input__prefix{display:inline-flex;white-space:nowrap;flex-shrink:0;flex-wrap:nowrap;height:100%;text-align:center;color:var(--el-input-icon-color,var(--el-text-color-placeholder));transition:all var(--el-transition-duration);pointer-events:none}.el-input__prefix-inner{pointer-events:all;display:inline-flex;align-items:center;justify-content:center}.el-input__prefix-inner>:last-child{margin-right:8px}.el-input__prefix-inner>:first-child,.el-input__prefix-inner>:first-child.el-input__icon{margin-left:0}.el-input__suffix{display:inline-flex;white-space:nowrap;flex-shrink:0;flex-wrap:nowrap;height:100%;text-align:center;color:var(--el-input-icon-color,var(--el-text-color-placeholder));transition:all var(--el-transition-duration);pointer-events:none}.el-input__suffix-inner{pointer-events:all;display:inline-flex;align-items:center;justify-content:center}.el-input__suffix-inner>:first-child{margin-left:8px}.el-input .el-input__icon{height:inherit;line-height:inherit;display:flex;justify-content:center;align-items:center;transition:all var(--el-transition-duration);margin-left:8px}.el-input__validateIcon{pointer-events:none}.el-input.is-active .el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-focus-color,) inset}.el-input.is-disabled{cursor:not-allowed}.el-input.is-disabled .el-input__wrapper{background-color:var(--el-disabled-bg-color);box-shadow:0 0 0 1px var(--el-disabled-border-color) inset}.el-input.is-disabled .el-input__inner{color:var(--el-disabled-text-color)}.el-input.is-disabled .el-input__inner::placeholder{color:var(--el-text-color-placeholder)}.el-input.is-disabled .el-input__icon{cursor:not-allowed}.el-input.is-exceed .el-input__wrapper{box-shadow:0 0 0 1px var(--el-color-danger) inset}.el-input.is-exceed .el-input__suffix .el-input__count{color:var(--el-color-danger)}.el-input--large{--el-input-height:var(--el-component-size-large);font-size:14px}.el-input--large .el-input__wrapper{--el-input-inner-height:calc(var(--el-input-height-large) - 2px);padding:1px 15px}.el-input--small{--el-input-height:var(--el-component-size-small);font-size:12px}.el-input--small .el-input__wrapper{--el-input-inner-height:calc(var(--el-input-height-small) - 2px);padding:1px 7px}.el-input-group{display:inline-flex;width:100%;align-items:stretch}.el-input-group__append,.el-input-group__prepend{background-color:var(--el-fill-color-light);color:var(--el-color-info);position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:100%;border-radius:var(--el-input-border-radius);padding:0 20px;white-space:nowrap}.el-input-group__append:focus,.el-input-group__prepend:focus{outline:0}.el-input-group__append .el-button,.el-input-group__append .el-select,.el-input-group__prepend .el-button,.el-input-group__prepend .el-select{display:inline-block;margin:0 -20px}.el-input-group__append button.el-button,.el-input-group__append button.el-button:hover,.el-input-group__append div.el-select .el-input__wrapper,.el-input-group__append div.el-select:hover .el-input__wrapper,.el-input-group__prepend button.el-button,.el-input-group__prepend button.el-button:hover,.el-input-group__prepend div.el-select .el-input__wrapper,.el-input-group__prepend div.el-select:hover .el-input__wrapper{border-color:transparent;background-color:transparent;color:inherit}.el-input-group__append .el-button,.el-input-group__append .el-input,.el-input-group__prepend .el-button,.el-input-group__prepend .el-input{font-size:inherit}.el-input-group__prepend{border-right:0;border-top-right-radius:0;border-bottom-right-radius:0;box-shadow:1px 0 0 0 var(--el-input-border-color) inset,0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset}.el-input-group__append{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0;box-shadow:0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset,-1px 0 0 0 var(--el-input-border-color) inset}.el-input-group--prepend>.el-input__wrapper{border-top-left-radius:0;border-bottom-left-radius:0}.el-input-group--prepend .el-input-group__prepend .el-select .el-input .el-input__inner{box-shadow:none!important}.el-input-group--prepend .el-input-group__prepend .el-select .el-input .el-input__wrapper{border-top-right-radius:0;border-bottom-right-radius:0;box-shadow:1px 0 0 0 var(--el-input-border-color) inset,0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset}.el-input-group--prepend .el-input-group__prepend .el-select .el-input.is-focus .el-input__inner{box-shadow:none!important}.el-input-group--prepend .el-input-group__prepend .el-select .el-input.is-focus .el-input__wrapper{box-shadow:1px 0 0 0 var(--el-input-focus-border-color) inset,1px 0 0 0 var(--el-input-focus-border-color),0 1px 0 0 var(--el-input-focus-border-color) inset,0 -1px 0 0 var(--el-input-focus-border-color) inset!important;z-index:2}.el-input-group--prepend .el-input-group__prepend .el-select .el-input.is-focus .el-input__wrapper:focus{outline:0;z-index:2;box-shadow:1px 0 0 0 var(--el-input-focus-border-color) inset,1px 0 0 0 var(--el-input-focus-border-color),0 1px 0 0 var(--el-input-focus-border-color) inset,0 -1px 0 0 var(--el-input-focus-border-color) inset!important}.el-input-group--prepend .el-input-group__prepend .el-select:hover .el-input__inner{box-shadow:none!important}.el-input-group--prepend .el-input-group__prepend .el-select:hover .el-input__wrapper{z-index:1;box-shadow:1px 0 0 0 var(--el-input-hover-border-color) inset,1px 0 0 0 var(--el-input-hover-border-color),0 1px 0 0 var(--el-input-hover-border-color) inset,0 -1px 0 0 var(--el-input-hover-border-color) inset!important}.el-input-group--append>.el-input__wrapper{border-top-right-radius:0;border-bottom-right-radius:0}.el-input-group--append .el-input-group__append .el-select .el-input .el-input__inner{box-shadow:none!important}.el-input-group--append .el-input-group__append .el-select .el-input .el-input__wrapper{border-top-left-radius:0;border-bottom-left-radius:0;box-shadow:0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset,-1px 0 0 0 var(--el-input-border-color) inset}.el-input-group--append .el-input-group__append .el-select .el-input.is-focus .el-input__inner{box-shadow:none!important}.el-input-group--append .el-input-group__append .el-select .el-input.is-focus .el-input__wrapper{z-index:2;box-shadow:-1px 0 0 0 var(--el-input-focus-border-color),-1px 0 0 0 var(--el-input-focus-border-color) inset,0 1px 0 0 var(--el-input-focus-border-color) inset,0 -1px 0 0 var(--el-input-focus-border-color) inset!important}.el-input-group--append .el-input-group__append .el-select:hover .el-input__inner{box-shadow:none!important}.el-input-group--append .el-input-group__append .el-select:hover .el-input__wrapper{z-index:1;box-shadow:-1px 0 0 0 var(--el-input-hover-border-color),-1px 0 0 0 var(--el-input-hover-border-color) inset,0 1px 0 0 var(--el-input-hover-border-color) inset,0 -1px 0 0 var(--el-input-hover-border-color) inset!important}.el-scrollbar{--el-scrollbar-opacity:.3;--el-scrollbar-bg-color:var(--el-text-color-secondary);--el-scrollbar-hover-opacity:.5;--el-scrollbar-hover-bg-color:var(--el-text-color-secondary)}.el-scrollbar{overflow:hidden;position:relative;height:100%}.el-scrollbar__wrap{overflow:auto;height:100%}.el-scrollbar__wrap--hidden-default{scrollbar-width:none}.el-scrollbar__wrap--hidden-default::-webkit-scrollbar{display:none}.el-scrollbar__thumb{position:relative;display:block;width:0;height:0;cursor:pointer;border-radius:inherit;background-color:var(--el-scrollbar-bg-color,var(--el-text-color-secondary));transition:var(--el-transition-duration) background-color;opacity:var(--el-scrollbar-opacity,.3)}.el-scrollbar__thumb:hover{background-color:var(--el-scrollbar-hover-bg-color,var(--el-text-color-secondary));opacity:var(--el-scrollbar-hover-opacity,.5)}.el-scrollbar__bar{position:absolute;right:2px;bottom:2px;z-index:1;border-radius:4px}.el-scrollbar__bar.is-vertical{width:6px;top:2px}.el-scrollbar__bar.is-vertical>div{width:100%}.el-scrollbar__bar.is-horizontal{height:6px;left:2px}.el-scrollbar__bar.is-horizontal>div{height:100%}.el-scrollbar-fade-enter-active{transition:opacity .34s ease-out}.el-scrollbar-fade-leave-active{transition:opacity .12s ease-out}.el-scrollbar-fade-enter-from,.el-scrollbar-fade-leave-active{opacity:0}.el-tag{--el-tag-font-size:12px;--el-tag-border-radius:4px;--el-tag-border-radius-rounded:9999px}.el-tag{--el-tag-bg-color:var(--el-color-primary-light-9);--el-tag-border-color:var(--el-color-primary-light-8);--el-tag-hover-color:var(--el-color-primary);--el-tag-text-color:var(--el-color-primary);background-color:var(--el-tag-bg-color);border-color:var(--el-tag-border-color);color:var(--el-tag-text-color);display:inline-flex;justify-content:center;align-items:center;height:24px;padding:0 9px;font-size:var(--el-tag-font-size);line-height:1;border-width:1px;border-style:solid;border-radius:var(--el-tag-border-radius);box-sizing:border-box;white-space:nowrap;--el-icon-size:14px}.el-tag.el-tag--primary{--el-tag-bg-color:var(--el-color-primary-light-9);--el-tag-border-color:var(--el-color-primary-light-8);--el-tag-hover-color:var(--el-color-primary)}.el-tag.el-tag--success{--el-tag-bg-color:var(--el-color-success-light-9);--el-tag-border-color:var(--el-color-success-light-8);--el-tag-hover-color:var(--el-color-success)}.el-tag.el-tag--warning{--el-tag-bg-color:var(--el-color-warning-light-9);--el-tag-border-color:var(--el-color-warning-light-8);--el-tag-hover-color:var(--el-color-warning)}.el-tag.el-tag--danger{--el-tag-bg-color:var(--el-color-danger-light-9);--el-tag-border-color:var(--el-color-danger-light-8);--el-tag-hover-color:var(--el-color-danger)}.el-tag.el-tag--error{--el-tag-bg-color:var(--el-color-error-light-9);--el-tag-border-color:var(--el-color-error-light-8);--el-tag-hover-color:var(--el-color-error)}.el-tag.el-tag--info{--el-tag-bg-color:var(--el-color-info-light-9);--el-tag-border-color:var(--el-color-info-light-8);--el-tag-hover-color:var(--el-color-info)}.el-tag.el-tag--primary{--el-tag-text-color:var(--el-color-primary)}.el-tag.el-tag--success{--el-tag-text-color:var(--el-color-success)}.el-tag.el-tag--warning{--el-tag-text-color:var(--el-color-warning)}.el-tag.el-tag--danger{--el-tag-text-color:var(--el-color-danger)}.el-tag.el-tag--error{--el-tag-text-color:var(--el-color-error)}.el-tag.el-tag--info{--el-tag-text-color:var(--el-color-info)}.el-tag.is-hit{border-color:var(--el-color-primary)}.el-tag.is-round{border-radius:var(--el-tag-border-radius-rounded)}.el-tag .el-tag__close{color:var(--el-tag-text-color)}.el-tag .el-tag__close:hover{color:var(--el-color-white);background-color:var(--el-tag-hover-color)}.el-tag .el-icon{border-radius:50%;cursor:pointer;font-size:calc(var(--el-icon-size) - 2px);height:var(--el-icon-size);width:var(--el-icon-size)}.el-tag .el-tag__close{margin-left:6px}.el-tag--dark{--el-tag-bg-color:var(--el-color-primary);--el-tag-border-color:var(--el-color-primary);--el-tag-hover-color:var(--el-color-primary-light-3);--el-tag-text-color:var(--el-color-white)}.el-tag--dark.el-tag--primary{--el-tag-bg-color:var(--el-color-primary);--el-tag-border-color:var(--el-color-primary);--el-tag-hover-color:var(--el-color-primary-light-3)}.el-tag--dark.el-tag--success{--el-tag-bg-color:var(--el-color-success);--el-tag-border-color:var(--el-color-success);--el-tag-hover-color:var(--el-color-success-light-3)}.el-tag--dark.el-tag--warning{--el-tag-bg-color:var(--el-color-warning);--el-tag-border-color:var(--el-color-warning);--el-tag-hover-color:var(--el-color-warning-light-3)}.el-tag--dark.el-tag--danger{--el-tag-bg-color:var(--el-color-danger);--el-tag-border-color:var(--el-color-danger);--el-tag-hover-color:var(--el-color-danger-light-3)}.el-tag--dark.el-tag--error{--el-tag-bg-color:var(--el-color-error);--el-tag-border-color:var(--el-color-error);--el-tag-hover-color:var(--el-color-error-light-3)}.el-tag--dark.el-tag--info{--el-tag-bg-color:var(--el-color-info);--el-tag-border-color:var(--el-color-info);--el-tag-hover-color:var(--el-color-info-light-3)}.el-tag--dark.el-tag--primary,.el-tag--dark.el-tag--success,.el-tag--dark.el-tag--warning,.el-tag--dark.el-tag--danger,.el-tag--dark.el-tag--error,.el-tag--dark.el-tag--info{--el-tag-text-color:var(--el-color-white)}.el-tag--plain{--el-tag-border-color:var(--el-color-primary-light-5);--el-tag-hover-color:var(--el-color-primary);--el-tag-bg-color:var(--el-fill-color-blank)}.el-tag--plain.el-tag--primary{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-primary-light-5);--el-tag-hover-color:var(--el-color-primary)}.el-tag--plain.el-tag--success{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-success-light-5);--el-tag-hover-color:var(--el-color-success)}.el-tag--plain.el-tag--warning{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-warning-light-5);--el-tag-hover-color:var(--el-color-warning)}.el-tag--plain.el-tag--danger{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-danger-light-5);--el-tag-hover-color:var(--el-color-danger)}.el-tag--plain.el-tag--error{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-error-light-5);--el-tag-hover-color:var(--el-color-error)}.el-tag--plain.el-tag--info{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-info-light-5);--el-tag-hover-color:var(--el-color-info)}.el-tag.is-closable{padding-right:5px}.el-tag--large{padding:0 11px;height:32px;--el-icon-size:16px}.el-tag--large .el-tag__close{margin-left:8px}.el-tag--large.is-closable{padding-right:7px}.el-tag--small{padding:0 7px;height:20px;--el-icon-size:12px}.el-tag--small .el-tag__close{margin-left:4px}.el-tag--small.is-closable{padding-right:3px}.el-tag--small .el-icon-close{transform:scale(.8)}.el-tag.el-tag--primary.is-hit{border-color:var(--el-color-primary)}.el-tag.el-tag--success.is-hit{border-color:var(--el-color-success)}.el-tag.el-tag--warning.is-hit{border-color:var(--el-color-warning)}.el-tag.el-tag--danger.is-hit{border-color:var(--el-color-danger)}.el-tag.el-tag--error.is-hit{border-color:var(--el-color-error)}.el-tag.el-tag--info.is-hit{border-color:var(--el-color-info)}.el-select-dropdown__item{font-size:var(--el-font-size-base);padding:0 32px 0 20px;position:relative;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--el-text-color-regular);height:34px;line-height:34px;box-sizing:border-box;cursor:pointer}.el-select-dropdown__item.is-disabled{color:var(--el-text-color-placeholder);cursor:not-allowed}.el-select-dropdown__item.hover,.el-select-dropdown__item:hover{background-color:var(--el-fill-color-light)}.el-select-dropdown__item.selected{color:var(--el-color-primary);font-weight:700}.el-select-group{margin:0;padding:0}.el-select-group__wrap{position:relative;list-style:none;margin:0;padding:0}.el-select-group__wrap:not(:last-of-type){padding-bottom:24px}.el-select-group__wrap:not(:last-of-type):after{content:"";position:absolute;display:block;left:20px;right:20px;bottom:12px;height:1px;background:var(--el-border-color-light)}.el-select-group__split-dash{position:absolute;left:20px;right:20px;height:1px;background:var(--el-border-color-light)}.el-select-group__title{padding-left:20px;font-size:12px;color:var(--el-color-info);line-height:30px}.el-select-group .el-select-dropdown__item{padding-left:20px}.el-select-dropdown{z-index:calc(var(--el-index-top) + 1);border-radius:var(--el-border-radius-base);box-sizing:border-box}.el-select-dropdown.is-multiple .el-select-dropdown__item.selected{color:var(--el-color-primary);background-color:var(--el-bg-color-overlay)}.el-select-dropdown.is-multiple .el-select-dropdown__item.selected.hover{background-color:var(--el-fill-color-light)}.el-select-dropdown.is-multiple .el-select-dropdown__item.selected:after{content:"";position:absolute;top:50%;right:20px;border-top:none;border-right:none;background-repeat:no-repeat;background-position:center;background-color:var(--el-color-primary);-webkit-mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") no-repeat;mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") no-repeat;mask-size:100% 100%;-webkit-mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") no-repeat;-webkit-mask-size:100% 100%;transform:translateY(-50%);width:12px;height:12px}.el-select-dropdown .el-select-dropdown__option-item.is-selected:after{content:"";position:absolute;top:50%;right:20px;border-top:none;border-right:none;background-repeat:no-repeat;background-position:center;background-color:var(--el-color-primary);-webkit-mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") no-repeat;mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") no-repeat;mask-size:100% 100%;-webkit-mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") no-repeat;-webkit-mask-size:100% 100%;transform:translateY(-50%);width:12px;height:12px}.el-select-dropdown .el-scrollbar.is-empty .el-select-dropdown__list{padding:0}.el-select-dropdown__empty{padding:10px 0;margin:0;text-align:center;color:var(--el-text-color-secondary);font-size:var(--el-select-font-size)}.el-select-dropdown__wrap{max-height:274px}.el-select-dropdown__list{list-style:none;padding:6px 0;margin:0;box-sizing:border-box}.el-select{--el-select-border-color-hover:var(--el-border-color-hover);--el-select-disabled-border:var(--el-disabled-border-color);--el-select-font-size:var(--el-font-size-base);--el-select-close-hover-color:var(--el-text-color-secondary);--el-select-input-color:var(--el-text-color-placeholder);--el-select-multiple-input-color:var(--el-text-color-regular);--el-select-input-focus-border-color:var(--el-color-primary);--el-select-input-font-size:14px}.el-select{display:inline-block;position:relative;line-height:32px}.el-select__popper.el-popper[role=tooltip]{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color-light);box-shadow:var(--el-box-shadow-light)}.el-select__popper.el-popper[role=tooltip] .el-popper__arrow:before{border:1px solid var(--el-border-color-light)}.el-select__popper.el-popper[role=tooltip][data-popper-placement^=top] .el-popper__arrow:before{border-top-color:transparent;border-left-color:transparent}.el-select__popper.el-popper[role=tooltip][data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-select__popper.el-popper[role=tooltip][data-popper-placement^=left] .el-popper__arrow:before{border-left-color:transparent;border-bottom-color:transparent}.el-select__popper.el-popper[role=tooltip][data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-select .el-select-tags-wrapper.has-prefix{margin-left:6px}.el-select--large{line-height:40px}.el-select--large .el-select-tags-wrapper.has-prefix{margin-left:8px}.el-select--small{line-height:24px}.el-select--small .el-select-tags-wrapper.has-prefix{margin-left:4px}.el-select .el-select__tags>span{display:inline-block}.el-select:hover:not(.el-select--disabled) .el-input__wrapper{box-shadow:0 0 0 1px var(--el-select-border-color-hover) inset}.el-select .el-select__tags-text{text-overflow:ellipsis;display:inline-flex;justify-content:center;align-items:center;overflow:hidden}.el-select .el-input__wrapper{cursor:pointer}.el-select .el-input__wrapper.is-focus{box-shadow:0 0 0 1px var(--el-select-input-focus-border-color) inset!important}.el-select .el-input__inner{cursor:pointer}.el-select .el-input{display:flex}.el-select .el-input .el-select__caret{color:var(--el-select-input-color);font-size:var(--el-select-input-font-size);transition:transform var(--el-transition-duration);transform:rotate(180deg);cursor:pointer}.el-select .el-input .el-select__caret.is-reverse{transform:rotate(0)}.el-select .el-input .el-select__caret.is-show-close{font-size:var(--el-select-font-size);text-align:center;transform:rotate(180deg);border-radius:var(--el-border-radius-circle);color:var(--el-select-input-color);transition:var(--el-transition-color)}.el-select .el-input .el-select__caret.is-show-close:hover{color:var(--el-select-close-hover-color)}.el-select .el-input .el-select__caret.el-icon{position:relative;height:inherit;z-index:2}.el-select .el-input.is-disabled .el-input__wrapper{cursor:not-allowed}.el-select .el-input.is-disabled .el-input__wrapper:hover{box-shadow:0 0 0 1px var(--el-select-disabled-border) inset}.el-select .el-input.is-disabled .el-input__inner,.el-select .el-input.is-disabled .el-select__caret{cursor:not-allowed}.el-select .el-input.is-focus .el-input__wrapper{box-shadow:0 0 0 1px var(--el-select-input-focus-border-color) inset!important}.el-select__input{border:none;outline:0;padding:0;margin-left:15px;color:var(--el-select-multiple-input-color);font-size:var(--el-select-font-size);-webkit-appearance:none;appearance:none;height:28px;background-color:transparent}.el-select__close{cursor:pointer;position:absolute;top:8px;z-index:var(--el-index-top);right:25px;color:var(--el-select-input-color);line-height:18px;font-size:var(--el-select-input-font-size)}.el-select__close:hover{color:var(--el-select-close-hover-color)}.el-select__tags{position:absolute;line-height:normal;top:50%;transform:translateY(-50%);white-space:normal;z-index:var(--el-index-normal);display:flex;align-items:center;flex-wrap:wrap}.el-select__collapse-tags{white-space:normal;z-index:var(--el-index-normal);display:flex;align-items:center;flex-wrap:wrap}.el-select__collapse-tag{line-height:inherit;height:inherit;display:flex}.el-select .el-select__tags .el-tag{box-sizing:border-box;border-color:transparent;margin:2px 6px 2px 0}.el-select .el-select__tags .el-tag:last-child{margin-right:0}.el-select .el-select__tags .el-tag .el-icon-close{background-color:var(--el-text-color-placeholder);right:-7px;top:0;color:#fff}.el-select .el-select__tags .el-tag .el-icon-close:hover{background-color:var(--el-text-color-secondary)}.el-select .el-select__tags .el-tag .el-icon-close:before{display:block;transform:translateY(.5px)}.el-select .el-select__tags .el-tag--info{background-color:var(--el-fill-color)}.dialog-footer[data-v-3da38037]{display:flex;justify-content:center}.el-tabs__header{padding:0;position:relative;margin:0 0 15px}.el-tabs__active-bar{position:absolute;bottom:0;left:0;height:2px;background-color:var(--el-color-primary);z-index:1;transition:width var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier),transform var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);list-style:none}.el-tabs__new-tab{display:flex;align-items:center;justify-content:center;float:right;border:1px solid var(--el-border-color);height:20px;width:20px;line-height:20px;margin:10px 0 10px 10px;border-radius:3px;text-align:center;font-size:12px;color:var(--el-text-color-primary);cursor:pointer;transition:all .15s}.el-tabs__new-tab .is-icon-plus{height:inherit;width:inherit;transform:scale(.8)}.el-tabs__new-tab .is-icon-plus svg{vertical-align:middle}.el-tabs__new-tab:hover{color:var(--el-color-primary)}.el-tabs__nav-wrap{overflow:hidden;margin-bottom:-1px;position:relative}.el-tabs__nav-wrap:after{content:"";position:absolute;left:0;bottom:0;width:100%;height:2px;background-color:var(--el-border-color-light);z-index:var(--el-index-normal)}.el-tabs__nav-wrap.is-scrollable{padding:0 20px;box-sizing:border-box}.el-tabs__nav-scroll{overflow:hidden}.el-tabs__nav-next,.el-tabs__nav-prev{position:absolute;cursor:pointer;line-height:44px;font-size:12px;color:var(--el-text-color-secondary)}.el-tabs__nav-next{right:0}.el-tabs__nav-prev{left:0}.el-tabs__nav{white-space:nowrap;position:relative;transition:transform var(--el-transition-duration);float:left;z-index:calc(var(--el-index-normal) + 1)}.el-tabs__nav.is-stretch{min-width:100%;display:flex}.el-tabs__nav.is-stretch>*{flex:1;text-align:center}.el-tabs__item{padding:0 20px;height:40px;box-sizing:border-box;line-height:40px;display:inline-block;list-style:none;font-size:var(--el-font-size-base);font-weight:500;color:var(--el-text-color-primary);position:relative}.el-tabs__item:focus,.el-tabs__item:focus:active{outline:0}.el-tabs__item .is-icon-close{border-radius:50%;text-align:center;transition:all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);margin-left:5px}.el-tabs__item .is-icon-close:before{transform:scale(.9);display:inline-block}.el-tabs__item .is-icon-close:hover{background-color:var(--el-text-color-placeholder);color:#fff}.el-tabs__item .is-icon-close svg{margin-top:1px}.el-tabs__item.is-active{color:var(--el-color-primary)}.el-tabs__item:hover{color:var(--el-color-primary);cursor:pointer}.el-tabs__item.is-disabled{color:var(--el-disabled-text-color);cursor:default}.el-tabs__content{overflow:hidden;position:relative}.el-tabs--card>.el-tabs__header{border-bottom:1px solid var(--el-border-color-light)}.el-tabs--card>.el-tabs__header .el-tabs__nav-wrap:after{content:none}.el-tabs--card>.el-tabs__header .el-tabs__nav{border:1px solid var(--el-border-color-light);border-bottom:none;border-radius:4px 4px 0 0;box-sizing:border-box}.el-tabs--card>.el-tabs__header .el-tabs__active-bar{display:none}.el-tabs--card>.el-tabs__header .el-tabs__item .is-icon-close{position:relative;font-size:12px;width:0;height:14px;vertical-align:middle;line-height:15px;overflow:hidden;top:-1px;right:-2px;transform-origin:100% 50%}.el-tabs--card>.el-tabs__header .el-tabs__item{border-bottom:1px solid transparent;border-left:1px solid var(--el-border-color-light);transition:color var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier),padding var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier)}.el-tabs--card>.el-tabs__header .el-tabs__item:first-child{border-left:none}.el-tabs--card>.el-tabs__header .el-tabs__item.is-closable:hover{padding-left:13px;padding-right:13px}.el-tabs--card>.el-tabs__header .el-tabs__item.is-closable:hover .is-icon-close{width:14px}.el-tabs--card>.el-tabs__header .el-tabs__item.is-active{border-bottom-color:var(--el-bg-color)}.el-tabs--card>.el-tabs__header .el-tabs__item.is-active.is-closable{padding-left:20px;padding-right:20px}.el-tabs--card>.el-tabs__header .el-tabs__item.is-active.is-closable .is-icon-close{width:14px}.el-tabs--border-card{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color)}.el-tabs--border-card>.el-tabs__content{padding:15px}.el-tabs--border-card>.el-tabs__header{background-color:var(--el-fill-color-light);border-bottom:1px solid var(--el-border-color-light);margin:0}.el-tabs--border-card>.el-tabs__header .el-tabs__nav-wrap:after{content:none}.el-tabs--border-card>.el-tabs__header .el-tabs__item{transition:all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);border:1px solid transparent;margin-top:-1px;color:var(--el-text-color-secondary)}.el-tabs--border-card>.el-tabs__header .el-tabs__item:first-child{margin-left:-1px}.el-tabs--border-card>.el-tabs__header .el-tabs__item+.el-tabs__item{margin-left:-1px}.el-tabs--border-card>.el-tabs__header .el-tabs__item.is-active{color:var(--el-color-primary);background-color:var(--el-bg-color-overlay);border-right-color:var(--el-border-color);border-left-color:var(--el-border-color)}.el-tabs--border-card>.el-tabs__header .el-tabs__item:not(.is-disabled):hover{color:var(--el-color-primary)}.el-tabs--border-card>.el-tabs__header .el-tabs__item.is-disabled{color:var(--el-disabled-text-color)}.el-tabs--border-card>.el-tabs__header .is-scrollable .el-tabs__item:first-child{margin-left:0}.el-tabs--bottom .el-tabs__item.is-bottom:nth-child(2),.el-tabs--bottom .el-tabs__item.is-top:nth-child(2),.el-tabs--top .el-tabs__item.is-bottom:nth-child(2),.el-tabs--top .el-tabs__item.is-top:nth-child(2){padding-left:0}.el-tabs--bottom .el-tabs__item.is-bottom:last-child,.el-tabs--bottom .el-tabs__item.is-top:last-child,.el-tabs--top .el-tabs__item.is-bottom:last-child,.el-tabs--top .el-tabs__item.is-top:last-child{padding-right:0}.el-tabs--bottom .el-tabs--left>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--bottom .el-tabs--right>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--bottom.el-tabs--border-card>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--bottom.el-tabs--card>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--top .el-tabs--left>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--top .el-tabs--right>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--top.el-tabs--border-card>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--top.el-tabs--card>.el-tabs__header .el-tabs__item:nth-child(2){padding-left:20px}.el-tabs--bottom .el-tabs--left>.el-tabs__header .el-tabs__item:last-child,.el-tabs--bottom .el-tabs--right>.el-tabs__header .el-tabs__item:last-child,.el-tabs--bottom.el-tabs--border-card>.el-tabs__header .el-tabs__item:last-child,.el-tabs--bottom.el-tabs--card>.el-tabs__header .el-tabs__item:last-child,.el-tabs--top .el-tabs--left>.el-tabs__header .el-tabs__item:last-child,.el-tabs--top .el-tabs--right>.el-tabs__header .el-tabs__item:last-child,.el-tabs--top.el-tabs--border-card>.el-tabs__header .el-tabs__item:last-child,.el-tabs--top.el-tabs--card>.el-tabs__header .el-tabs__item:last-child{padding-right:20px}.el-tabs--bottom .el-tabs__header.is-bottom{margin-bottom:0;margin-top:10px}.el-tabs--bottom.el-tabs--border-card .el-tabs__header.is-bottom{border-bottom:0;border-top:1px solid var(--el-border-color)}.el-tabs--bottom.el-tabs--border-card .el-tabs__nav-wrap.is-bottom{margin-top:-1px;margin-bottom:0}.el-tabs--bottom.el-tabs--border-card .el-tabs__item.is-bottom:not(.is-active){border:1px solid transparent}.el-tabs--bottom.el-tabs--border-card .el-tabs__item.is-bottom{margin:0 -1px -1px}.el-tabs--left,.el-tabs--right{overflow:hidden}.el-tabs--left .el-tabs__header.is-left,.el-tabs--left .el-tabs__header.is-right,.el-tabs--left .el-tabs__nav-scroll,.el-tabs--left .el-tabs__nav-wrap.is-left,.el-tabs--left .el-tabs__nav-wrap.is-right,.el-tabs--right .el-tabs__header.is-left,.el-tabs--right .el-tabs__header.is-right,.el-tabs--right .el-tabs__nav-scroll,.el-tabs--right .el-tabs__nav-wrap.is-left,.el-tabs--right .el-tabs__nav-wrap.is-right{height:100%}.el-tabs--left .el-tabs__active-bar.is-left,.el-tabs--left .el-tabs__active-bar.is-right,.el-tabs--right .el-tabs__active-bar.is-left,.el-tabs--right .el-tabs__active-bar.is-right{top:0;bottom:auto;width:2px;height:auto}.el-tabs--left .el-tabs__nav-wrap.is-left,.el-tabs--left .el-tabs__nav-wrap.is-right,.el-tabs--right .el-tabs__nav-wrap.is-left,.el-tabs--right .el-tabs__nav-wrap.is-right{margin-bottom:0}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-next,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev{height:30px;line-height:30px;width:100%;text-align:center;cursor:pointer}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-next i,.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev i,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-next i,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev i,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-next i,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev i,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-next i,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev i{transform:rotate(90deg)}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev{left:auto;top:0}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-next{right:auto;bottom:0}.el-tabs--left .el-tabs__nav-wrap.is-left.is-scrollable,.el-tabs--left .el-tabs__nav-wrap.is-right.is-scrollable,.el-tabs--right .el-tabs__nav-wrap.is-left.is-scrollable,.el-tabs--right .el-tabs__nav-wrap.is-right.is-scrollable{padding:30px 0}.el-tabs--left .el-tabs__nav-wrap.is-left:after,.el-tabs--left .el-tabs__nav-wrap.is-right:after,.el-tabs--right .el-tabs__nav-wrap.is-left:after,.el-tabs--right .el-tabs__nav-wrap.is-right:after{height:100%;width:2px;bottom:auto;top:0}.el-tabs--left .el-tabs__nav.is-left,.el-tabs--left .el-tabs__nav.is-right,.el-tabs--right .el-tabs__nav.is-left,.el-tabs--right .el-tabs__nav.is-right{float:none}.el-tabs--left .el-tabs__item.is-left,.el-tabs--left .el-tabs__item.is-right,.el-tabs--right .el-tabs__item.is-left,.el-tabs--right .el-tabs__item.is-right{display:block}.el-tabs--left .el-tabs__header.is-left{float:left;margin-bottom:0;margin-right:10px}.el-tabs--left .el-tabs__nav-wrap.is-left{margin-right:-1px}.el-tabs--left .el-tabs__nav-wrap.is-left:after{left:auto;right:0}.el-tabs--left .el-tabs__active-bar.is-left{right:0;left:auto}.el-tabs--left .el-tabs__item.is-left{text-align:right}.el-tabs--left.el-tabs--card .el-tabs__active-bar.is-left{display:none}.el-tabs--left.el-tabs--card .el-tabs__item.is-left{border-left:none;border-right:1px solid var(--el-border-color-light);border-bottom:none;border-top:1px solid var(--el-border-color-light);text-align:left}.el-tabs--left.el-tabs--card .el-tabs__item.is-left:first-child{border-right:1px solid var(--el-border-color-light);border-top:none}.el-tabs--left.el-tabs--card .el-tabs__item.is-left.is-active{border:1px solid var(--el-border-color-light);border-right-color:#fff;border-left:none;border-bottom:none}.el-tabs--left.el-tabs--card .el-tabs__item.is-left.is-active:first-child{border-top:none}.el-tabs--left.el-tabs--card .el-tabs__item.is-left.is-active:last-child{border-bottom:none}.el-tabs--left.el-tabs--card .el-tabs__nav{border-radius:4px 0 0 4px;border-bottom:1px solid var(--el-border-color-light);border-right:none}.el-tabs--left.el-tabs--card .el-tabs__new-tab{float:none}.el-tabs--left.el-tabs--border-card .el-tabs__header.is-left{border-right:1px solid var(--el-border-color)}.el-tabs--left.el-tabs--border-card .el-tabs__item.is-left{border:1px solid transparent;margin:-1px 0 -1px -1px}.el-tabs--left.el-tabs--border-card .el-tabs__item.is-left.is-active{border-color:transparent;border-top-color:#d1dbe5;border-bottom-color:#d1dbe5}.el-tabs--right .el-tabs__header.is-right{float:right;margin-bottom:0;margin-left:10px}.el-tabs--right .el-tabs__nav-wrap.is-right{margin-left:-1px}.el-tabs--right .el-tabs__nav-wrap.is-right:after{left:0;right:auto}.el-tabs--right .el-tabs__active-bar.is-right{left:0}.el-tabs--right.el-tabs--card .el-tabs__active-bar.is-right{display:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right{border-bottom:none;border-top:1px solid var(--el-border-color-light)}.el-tabs--right.el-tabs--card .el-tabs__item.is-right:first-child{border-left:1px solid var(--el-border-color-light);border-top:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right.is-active{border:1px solid var(--el-border-color-light);border-left-color:#fff;border-right:none;border-bottom:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right.is-active:first-child{border-top:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right.is-active:last-child{border-bottom:none}.el-tabs--right.el-tabs--card .el-tabs__nav{border-radius:0 4px 4px 0;border-bottom:1px solid var(--el-border-color-light);border-left:none}.el-tabs--right.el-tabs--border-card .el-tabs__header.is-right{border-left:1px solid var(--el-border-color)}.el-tabs--right.el-tabs--border-card .el-tabs__item.is-right{border:1px solid transparent;margin:-1px -1px -1px 0}.el-tabs--right.el-tabs--border-card .el-tabs__item.is-right.is-active{border-color:transparent;border-top-color:#d1dbe5;border-bottom-color:#d1dbe5}.slideInLeft-transition,.slideInRight-transition{display:inline-block}.slideInRight-enter{animation:slideInRight-enter var(--el-transition-duration)}.slideInRight-leave{position:absolute;left:0;right:0;animation:slideInRight-leave var(--el-transition-duration)}.slideInLeft-enter{animation:slideInLeft-enter var(--el-transition-duration)}.slideInLeft-leave{position:absolute;left:0;right:0;animation:slideInLeft-leave var(--el-transition-duration)}@keyframes slideInRight-enter{0%{opacity:0;transform-origin:0 0;transform:translate(100%)}to{opacity:1;transform-origin:0 0;transform:translate(0)}}@keyframes slideInRight-leave{0%{transform-origin:0 0;transform:translate(0);opacity:1}to{transform-origin:0 0;transform:translate(100%);opacity:0}}@keyframes slideInLeft-enter{0%{opacity:0;transform-origin:0 0;transform:translate(-100%)}to{opacity:1;transform-origin:0 0;transform:translate(0)}}@keyframes slideInLeft-leave{0%{transform-origin:0 0;transform:translate(0);opacity:1}to{transform-origin:0 0;transform:translate(-100%);opacity:0}}.el-table{--el-table-border-color:var(--el-border-color-lighter);--el-table-border:1px solid var(--el-table-border-color);--el-table-text-color:var(--el-text-color-regular);--el-table-header-text-color:var(--el-text-color-secondary);--el-table-row-hover-bg-color:var(--el-fill-color-light);--el-table-current-row-bg-color:var(--el-color-primary-light-9);--el-table-header-bg-color:var(--el-bg-color);--el-table-fixed-box-shadow:var(--el-box-shadow-light);--el-table-bg-color:var(--el-fill-color-blank);--el-table-tr-bg-color:var(--el-fill-color-blank);--el-table-expanded-cell-bg-color:var(--el-fill-color-blank);--el-table-fixed-left-column:inset 10px 0 10px -10px rgba(0, 0, 0, .15);--el-table-fixed-right-column:inset -10px 0 10px -10px rgba(0, 0, 0, .15)}.el-table{position:relative;overflow:hidden;box-sizing:border-box;height:-moz-fit-content;height:fit-content;width:100%;max-width:100%;background-color:var(--el-table-bg-color);font-size:14px;color:var(--el-table-text-color)}.el-table__inner-wrapper{position:relative}.el-table__inner-wrapper:before{left:0;bottom:0;width:100%;height:1px;z-index:3}.el-table.has-footer .el-table__inner-wrapper:before{bottom:1px}.el-table__empty-block{position:sticky;left:0;min-height:60px;text-align:center;width:100%;display:flex;justify-content:center;align-items:center}.el-table__empty-text{line-height:60px;width:50%;color:var(--el-text-color-secondary)}.el-table__expand-column .cell{padding:0;text-align:center;-webkit-user-select:none;user-select:none}.el-table__expand-icon{position:relative;cursor:pointer;color:var(--el-text-color-regular);font-size:12px;transition:transform var(--el-transition-duration-fast) ease-in-out;height:20px}.el-table__expand-icon--expanded{transform:rotate(90deg)}.el-table__expand-icon>.el-icon{font-size:12px}.el-table__expanded-cell{background-color:var(--el-table-expanded-cell-bg-color)}.el-table__expanded-cell[class*=cell]{padding:20px 50px}.el-table__expanded-cell:hover{background-color:transparent!important}.el-table__placeholder{display:inline-block;width:20px}.el-table__append-wrapper{overflow:hidden}.el-table--fit{border-right:0;border-bottom:0}.el-table--fit .el-table__cell.gutter{border-right-width:1px}.el-table thead{color:var(--el-table-header-text-color);font-weight:500}.el-table thead.is-group th.el-table__cell{background:var(--el-fill-color-light)}.el-table .el-table__cell{padding:8px 0;min-width:0;box-sizing:border-box;text-overflow:ellipsis;vertical-align:middle;position:relative;text-align:left;z-index:1}.el-table .el-table__cell.is-center{text-align:center}.el-table .el-table__cell.is-right{text-align:right}.el-table .el-table__cell.gutter{width:15px;border-right-width:0;border-bottom-width:0;padding:0}.el-table .el-table__cell.is-hidden>*{visibility:hidden}.el-table .cell{box-sizing:border-box;overflow:hidden;text-overflow:ellipsis;white-space:normal;word-break:break-all;line-height:23px;padding:0 12px}.el-table .cell.el-tooltip{white-space:nowrap;min-width:50px}.el-table--large{font-size:var(--el-font-size-base)}.el-table--large .el-table__cell{padding:12px 0}.el-table--large .cell{padding:0 16px}.el-table--small{font-size:12px}.el-table--small .el-table__cell{padding:4px 0}.el-table--small .cell{padding:0 8px}.el-table tr{background-color:var(--el-table-tr-bg-color)}.el-table tr input[type=checkbox]{margin:0}.el-table td.el-table__cell,.el-table th.el-table__cell.is-leaf{border-bottom:var(--el-table-border)}.el-table th.el-table__cell.is-sortable{cursor:pointer}.el-table th.el-table__cell{-webkit-user-select:none;user-select:none;background-color:var(--el-table-header-bg-color)}.el-table th.el-table__cell>.cell{display:inline-block;box-sizing:border-box;position:relative;vertical-align:middle;width:100%}.el-table th.el-table__cell>.cell.highlight{color:var(--el-color-primary)}.el-table th.el-table__cell.required>div:before{display:inline-block;content:"";width:8px;height:8px;border-radius:50%;background:#ff4d51;margin-right:5px;vertical-align:middle}.el-table td.el-table__cell div{box-sizing:border-box}.el-table td.el-table__cell.gutter{width:0}.el-table--border .el-table__footer-wrapper tr:first-child td:first-child,.el-table--border .el-table__footer-wrapper tr:first-child th:first-child,.el-table--border .el-table__inner-wrapper tr:first-child td:first-child,.el-table--border .el-table__inner-wrapper tr:first-child th:first-child,.el-table--group .el-table__footer-wrapper tr:first-child td:first-child,.el-table--group .el-table__footer-wrapper tr:first-child th:first-child,.el-table--group .el-table__inner-wrapper tr:first-child td:first-child,.el-table--group .el-table__inner-wrapper tr:first-child th:first-child{border-left:var(--el-table-border)}.el-table--border .el-table__footer-wrapper,.el-table--group .el-table__footer-wrapper{border-top:var(--el-table-border)}.el-table--border .el-table__inner-wrapper:after,.el-table--border:after,.el-table--border:before,.el-table__inner-wrapper:before{content:"";position:absolute;background-color:var(--el-table-border-color);z-index:3}.el-table--border .el-table__inner-wrapper:after{left:0;top:0;width:100%;height:1px;z-index:3}.el-table--border:before{top:-1px;left:0;width:1px;height:100%;z-index:3}.el-table--border:after{top:-1px;right:0;width:1px;height:100%;z-index:3}.el-table--border .el-table__inner-wrapper{border-right:none;border-bottom:none}.el-table--border .el-table__footer-wrapper{position:relative}.el-table--border .el-table__footer-wrapper{margin-top:-2px}.el-table--border .el-table__cell{border-right:var(--el-table-border)}.el-table--border .el-table__cell:first-child .cell{padding-left:10px}.el-table--border th.el-table__cell.gutter:last-of-type{border-bottom:var(--el-table-border);border-bottom-width:1px}.el-table--border th.el-table__cell{border-bottom:var(--el-table-border)}.el-table--hidden{visibility:hidden}.el-table__body-wrapper,.el-table__footer-wrapper,.el-table__header-wrapper{width:100%}.el-table__body-wrapper tr td.el-table-fixed-column--left,.el-table__body-wrapper tr td.el-table-fixed-column--right,.el-table__body-wrapper tr th.el-table-fixed-column--left,.el-table__body-wrapper tr th.el-table-fixed-column--right,.el-table__footer-wrapper tr td.el-table-fixed-column--left,.el-table__footer-wrapper tr td.el-table-fixed-column--right,.el-table__footer-wrapper tr th.el-table-fixed-column--left,.el-table__footer-wrapper tr th.el-table-fixed-column--right,.el-table__header-wrapper tr td.el-table-fixed-column--left,.el-table__header-wrapper tr td.el-table-fixed-column--right,.el-table__header-wrapper tr th.el-table-fixed-column--left,.el-table__header-wrapper tr th.el-table-fixed-column--right{position:sticky!important;z-index:2;background:var(--el-bg-color)}.el-table__body-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--right.is-last-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--right.is-last-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--right.is-last-column:before{content:"";position:absolute;top:0;width:10px;bottom:-1px;overflow-x:hidden;overflow-y:hidden;box-shadow:none;touch-action:none;pointer-events:none}.el-table__body-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--right.is-first-column:before{left:-10px}.el-table__body-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--right.is-last-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--right.is-last-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--right.is-last-column:before{right:-10px;box-shadow:none}.el-table__body-wrapper tr td.el-table__fixed-right-patch,.el-table__body-wrapper tr th.el-table__fixed-right-patch,.el-table__footer-wrapper tr td.el-table__fixed-right-patch,.el-table__footer-wrapper tr th.el-table__fixed-right-patch,.el-table__header-wrapper tr td.el-table__fixed-right-patch,.el-table__header-wrapper tr th.el-table__fixed-right-patch{position:sticky!important;z-index:2;background:#fff;right:0}.el-table__header-wrapper tr th.el-table-fixed-column--left,.el-table__header-wrapper tr th.el-table-fixed-column--right{background-color:var(--el-table-header-bg-color)}.el-table__body,.el-table__footer,.el-table__header{table-layout:fixed;border-collapse:separate}.el-table__footer-wrapper,.el-table__header-wrapper{overflow:hidden}.el-table__footer-wrapper tbody td.el-table__cell,.el-table__header-wrapper tbody td.el-table__cell{background-color:var(--el-table-row-hover-bg-color);color:var(--el-table-text-color)}.el-table__body-wrapper .el-table-column--selection .el-checkbox,.el-table__header-wrapper .el-table-column--selection .el-checkbox{height:unset}.el-table.is-scrolling-left .el-table-fixed-column--right.is-first-column:before{box-shadow:var(--el-table-fixed-right-column)}.el-table.is-scrolling-left.el-table--border .el-table-fixed-column--left.is-last-column.el-table__cell{border-right:var(--el-table-border)}.el-table.is-scrolling-left th.el-table-fixed-column--left{background-color:var(--el-table-header-bg-color)}.el-table.is-scrolling-right .el-table-fixed-column--left.is-last-column:before{box-shadow:var(--el-table-fixed-left-column)}.el-table.is-scrolling-right .el-table-fixed-column--left.is-last-column.el-table__cell{border-right:none}.el-table.is-scrolling-right th.el-table-fixed-column--right{background-color:var(--el-table-header-bg-color)}.el-table.is-scrolling-middle .el-table-fixed-column--left.is-last-column.el-table__cell{border-right:none}.el-table.is-scrolling-middle .el-table-fixed-column--right.is-first-column:before{box-shadow:var(--el-table-fixed-right-column)}.el-table.is-scrolling-middle .el-table-fixed-column--left.is-last-column:before{box-shadow:var(--el-table-fixed-left-column)}.el-table.is-scrolling-none .el-table-fixed-column--left.is-first-column:before,.el-table.is-scrolling-none .el-table-fixed-column--left.is-last-column:before,.el-table.is-scrolling-none .el-table-fixed-column--right.is-first-column:before,.el-table.is-scrolling-none .el-table-fixed-column--right.is-last-column:before{box-shadow:none}.el-table.is-scrolling-none th.el-table-fixed-column--left,.el-table.is-scrolling-none th.el-table-fixed-column--right{background-color:var(--el-table-header-bg-color)}.el-table__body-wrapper{overflow:hidden;position:relative}.el-table__body-wrapper .el-scrollbar__bar{z-index:2}.el-table .caret-wrapper{display:inline-flex;flex-direction:column;align-items:center;height:14px;width:24px;vertical-align:middle;cursor:pointer;overflow:initial;position:relative}.el-table .sort-caret{width:0;height:0;border:solid 5px transparent;position:absolute;left:7px}.el-table .sort-caret.ascending{border-bottom-color:var(--el-text-color-placeholder);top:-5px}.el-table .sort-caret.descending{border-top-color:var(--el-text-color-placeholder);bottom:-3px}.el-table .ascending .sort-caret.ascending{border-bottom-color:var(--el-color-primary)}.el-table .descending .sort-caret.descending{border-top-color:var(--el-color-primary)}.el-table .hidden-columns{visibility:hidden;position:absolute;z-index:-1}.el-table--striped .el-table__body tr.el-table__row--striped td.el-table__cell{background:var(--el-fill-color-lighter)}.el-table--striped .el-table__body tr.el-table__row--striped.current-row td.el-table__cell{background-color:var(--el-table-current-row-bg-color)}.el-table__body tr.hover-row.current-row>td.el-table__cell,.el-table__body tr.hover-row.el-table__row--striped.current-row>td.el-table__cell,.el-table__body tr.hover-row.el-table__row--striped>td.el-table__cell,.el-table__body tr.hover-row>td.el-table__cell{background-color:var(--el-table-row-hover-bg-color)}.el-table__body tr.current-row>td.el-table__cell{background-color:var(--el-table-current-row-bg-color)}.el-table__column-resize-proxy{position:absolute;left:200px;top:0;bottom:0;width:0;border-left:var(--el-table-border);z-index:10}.el-table__column-filter-trigger{display:inline-block;cursor:pointer}.el-table__column-filter-trigger i{color:var(--el-color-info);font-size:14px;vertical-align:middle}.el-table__border-left-patch{top:0;left:0;width:1px;height:100%;z-index:3;position:absolute;background-color:var(--el-table-border-color)}.el-table__border-bottom-patch{left:0;height:1px;z-index:3;position:absolute;background-color:var(--el-table-border-color)}.el-table__border-right-patch{top:0;height:100%;width:1px;z-index:3;position:absolute;background-color:var(--el-table-border-color)}.el-table--enable-row-transition .el-table__body td.el-table__cell{transition:background-color .25s ease}.el-table--enable-row-hover .el-table__body tr:hover>td.el-table__cell{background-color:var(--el-table-row-hover-bg-color)}.el-table [class*=el-table__row--level] .el-table__expand-icon{display:inline-block;width:12px;line-height:12px;height:12px;text-align:center;margin-right:8px}.el-checkbox{--el-checkbox-font-size:14px;--el-checkbox-font-weight:var(--el-font-weight-primary);--el-checkbox-text-color:var(--el-text-color-regular);--el-checkbox-input-height:14px;--el-checkbox-input-width:14px;--el-checkbox-border-radius:var(--el-border-radius-small);--el-checkbox-bg-color:var(--el-fill-color-blank);--el-checkbox-input-border:var(--el-border);--el-checkbox-disabled-border-color:var(--el-border-color);--el-checkbox-disabled-input-fill:var(--el-fill-color-light);--el-checkbox-disabled-icon-color:var(--el-text-color-placeholder);--el-checkbox-disabled-checked-input-fill:var(--el-border-color-extra-light);--el-checkbox-disabled-checked-input-border-color:var(--el-border-color);--el-checkbox-disabled-checked-icon-color:var(--el-text-color-placeholder);--el-checkbox-checked-text-color:var(--el-color-primary);--el-checkbox-checked-input-border-color:var(--el-color-primary);--el-checkbox-checked-bg-color:var(--el-color-primary);--el-checkbox-checked-icon-color:var(--el-color-white);--el-checkbox-input-border-color-hover:var(--el-color-primary)}.el-checkbox{color:var(--el-checkbox-text-color);font-weight:var(--el-checkbox-font-weight);font-size:var(--el-font-size-base);position:relative;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;-webkit-user-select:none;user-select:none;margin-right:30px;height:32px}.el-checkbox.is-bordered{padding:0 15px 0 9px;border-radius:var(--el-border-radius-base);border:var(--el-border);box-sizing:border-box}.el-checkbox.is-bordered.is-checked{border-color:var(--el-color-primary)}.el-checkbox.is-bordered.is-disabled{border-color:var(--el-border-color-lighter);cursor:not-allowed}.el-checkbox.is-bordered.el-checkbox--large{padding:0 19px 0 11px;border-radius:var(--el-border-radius-base)}.el-checkbox.is-bordered.el-checkbox--large .el-checkbox__label{font-size:var(--el-font-size-base)}.el-checkbox.is-bordered.el-checkbox--large .el-checkbox__inner{height:14px;width:14px}.el-checkbox.is-bordered.el-checkbox--small{padding:0 11px 0 7px;border-radius:calc(var(--el-border-radius-base) - 1px)}.el-checkbox.is-bordered.el-checkbox--small .el-checkbox__label{font-size:12px}.el-checkbox.is-bordered.el-checkbox--small .el-checkbox__inner{height:12px;width:12px}.el-checkbox.is-bordered.el-checkbox--small .el-checkbox__inner:after{height:6px;width:2px}.el-checkbox__input{white-space:nowrap;cursor:pointer;outline:0;display:inline-flex;position:relative}.el-checkbox__input.is-disabled .el-checkbox__inner{background-color:var(--el-checkbox-disabled-input-fill);border-color:var(--el-checkbox-disabled-border-color);cursor:not-allowed}.el-checkbox__input.is-disabled .el-checkbox__inner:after{cursor:not-allowed;border-color:var(--el-checkbox-disabled-icon-color)}.el-checkbox__input.is-disabled .el-checkbox__inner+.el-checkbox__label{cursor:not-allowed}.el-checkbox__input.is-disabled.is-checked .el-checkbox__inner{background-color:var(--el-checkbox-disabled-checked-input-fill);border-color:var(--el-checkbox-disabled-checked-input-border-color)}.el-checkbox__input.is-disabled.is-checked .el-checkbox__inner:after{border-color:var(--el-checkbox-disabled-checked-icon-color)}.el-checkbox__input.is-disabled.is-indeterminate .el-checkbox__inner{background-color:var(--el-checkbox-disabled-checked-input-fill);border-color:var(--el-checkbox-disabled-checked-input-border-color)}.el-checkbox__input.is-disabled.is-indeterminate .el-checkbox__inner:before{background-color:var(--el-checkbox-disabled-checked-icon-color);border-color:var(--el-checkbox-disabled-checked-icon-color)}.el-checkbox__input.is-disabled+span.el-checkbox__label{color:var(--el-disabled-text-color);cursor:not-allowed}.el-checkbox__input.is-checked .el-checkbox__inner{background-color:var(--el-checkbox-checked-bg-color);border-color:var(--el-checkbox-checked-input-border-color)}.el-checkbox__input.is-checked .el-checkbox__inner:after{transform:rotate(45deg) scaleY(1)}.el-checkbox__input.is-checked+.el-checkbox__label{color:var(--el-checkbox-checked-text-color)}.el-checkbox__input.is-focus .el-checkbox__inner{border-color:var(--el-checkbox-input-border-color-hover)}.el-checkbox__input.is-indeterminate .el-checkbox__inner{background-color:var(--el-checkbox-checked-bg-color);border-color:var(--el-checkbox-checked-input-border-color)}.el-checkbox__input.is-indeterminate .el-checkbox__inner:before{content:"";position:absolute;display:block;background-color:var(--el-checkbox-checked-icon-color);height:2px;transform:scale(.5);left:0;right:0;top:5px}.el-checkbox__input.is-indeterminate .el-checkbox__inner:after{display:none}.el-checkbox__inner{display:inline-block;position:relative;border:var(--el-checkbox-input-border);border-radius:var(--el-checkbox-border-radius);box-sizing:border-box;width:var(--el-checkbox-input-width);height:var(--el-checkbox-input-height);background-color:var(--el-checkbox-bg-color);z-index:var(--el-index-normal);transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.el-checkbox__inner:hover{border-color:var(--el-checkbox-input-border-color-hover)}.el-checkbox__inner:after{box-sizing:content-box;content:"";border:1px solid var(--el-checkbox-checked-icon-color);border-left:0;border-top:0;height:7px;left:4px;position:absolute;top:1px;transform:rotate(45deg) scaleY(0);width:3px;transition:transform .15s ease-in 50ms;transform-origin:center}.el-checkbox__original{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.el-checkbox__label{display:inline-block;padding-left:8px;line-height:1;font-size:var(--el-checkbox-font-size)}.el-checkbox.el-checkbox--large{height:40px}.el-checkbox.el-checkbox--large .el-checkbox__label{font-size:14px}.el-checkbox.el-checkbox--large .el-checkbox__inner{width:14px;height:14px}.el-checkbox.el-checkbox--small{height:24px}.el-checkbox.el-checkbox--small .el-checkbox__label{font-size:12px}.el-checkbox.el-checkbox--small .el-checkbox__inner{width:12px;height:12px}.el-checkbox.el-checkbox--small .el-checkbox__input.is-indeterminate .el-checkbox__inner:before{top:4px}.el-checkbox.el-checkbox--small .el-checkbox__inner:after{width:2px;height:6px}.el-checkbox:last-of-type{margin-right:0}.el-table-column--selection .cell{padding-left:14px;padding-right:14px}.el-table-filter{border:solid 1px var(--el-border-color-lighter);border-radius:2px;background-color:#fff;box-shadow:var(--el-box-shadow-light);box-sizing:border-box}.el-table-filter__list{padding:5px 0;margin:0;list-style:none;min-width:100px}.el-table-filter__list-item{line-height:36px;padding:0 10px;cursor:pointer;font-size:var(--el-font-size-base)}.el-table-filter__list-item:hover{background-color:var(--el-color-primary-light-9);color:var(--el-color-primary)}.el-table-filter__list-item.is-active{background-color:var(--el-color-primary);color:#fff}.el-table-filter__content{min-width:100px}.el-table-filter__bottom{border-top:1px solid var(--el-border-color-lighter);padding:8px}.el-table-filter__bottom button{background:0 0;border:none;color:var(--el-text-color-regular);cursor:pointer;font-size:var(--el-font-size-small);padding:0 3px}.el-table-filter__bottom button:hover{color:var(--el-color-primary)}.el-table-filter__bottom button:focus{outline:0}.el-table-filter__bottom button.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-table-filter__wrap{max-height:280px}.el-table-filter__checkbox-group{padding:10px}.el-table-filter__checkbox-group label.el-checkbox{display:flex;align-items:center;margin-right:5px;margin-bottom:12px;margin-left:5px;height:unset}.el-table-filter__checkbox-group .el-checkbox:last-child{margin-bottom:0}.el-alert{--el-alert-padding:8px 16px;--el-alert-border-radius-base:var(--el-border-radius-base);--el-alert-title-font-size:13px;--el-alert-description-font-size:12px;--el-alert-close-font-size:12px;--el-alert-close-customed-font-size:13px;--el-alert-icon-size:16px;--el-alert-icon-large-size:28px;width:100%;padding:var(--el-alert-padding);margin:0;box-sizing:border-box;border-radius:var(--el-alert-border-radius-base);position:relative;background-color:var(--el-color-white);overflow:hidden;opacity:1;display:flex;align-items:center;transition:opacity var(--el-transition-duration-fast)}.el-alert.is-light .el-alert__close-btn{color:var(--el-text-color-placeholder)}.el-alert.is-dark .el-alert__close-btn,.el-alert.is-dark .el-alert__description{color:var(--el-color-white)}.el-alert.is-center{justify-content:center}.el-alert--success{--el-alert-bg-color:var(--el-color-success-light-9)}.el-alert--success.is-light{background-color:var(--el-alert-bg-color);color:var(--el-color-success)}.el-alert--success.is-light .el-alert__description{color:var(--el-color-success)}.el-alert--success.is-dark{background-color:var(--el-color-success);color:var(--el-color-white)}.el-alert--info{--el-alert-bg-color:var(--el-color-info-light-9)}.el-alert--info.is-light{background-color:var(--el-alert-bg-color);color:var(--el-color-info)}.el-alert--info.is-light .el-alert__description{color:var(--el-color-info)}.el-alert--info.is-dark{background-color:var(--el-color-info);color:var(--el-color-white)}.el-alert--warning{--el-alert-bg-color:var(--el-color-warning-light-9)}.el-alert--warning.is-light{background-color:var(--el-alert-bg-color);color:var(--el-color-warning)}.el-alert--warning.is-light .el-alert__description{color:var(--el-color-warning)}.el-alert--warning.is-dark{background-color:var(--el-color-warning);color:var(--el-color-white)}.el-alert--error{--el-alert-bg-color:var(--el-color-error-light-9)}.el-alert--error.is-light{background-color:var(--el-alert-bg-color);color:var(--el-color-error)}.el-alert--error.is-light .el-alert__description{color:var(--el-color-error)}.el-alert--error.is-dark{background-color:var(--el-color-error);color:var(--el-color-white)}.el-alert__content{display:table-cell;padding:0 8px}.el-alert .el-alert__icon{font-size:var(--el-alert-icon-size);width:var(--el-alert-icon-size)}.el-alert .el-alert__icon.is-big{font-size:var(--el-alert-icon-large-size);width:var(--el-alert-icon-large-size)}.el-alert__title{font-size:var(--el-alert-title-font-size);line-height:18px;vertical-align:text-top}.el-alert__title.is-bold{font-weight:700}.el-alert .el-alert__description{font-size:var(--el-alert-description-font-size);margin:5px 0 0}.el-alert .el-alert__close-btn{font-size:var(--el-alert-close-font-size);opacity:1;position:absolute;top:12px;right:15px;cursor:pointer}.el-alert .el-alert__close-btn.is-customed{font-style:normal;font-size:var(--el-alert-close-customed-font-size);top:9px}.el-alert-fade-enter-from,.el-alert-fade-leave-active{opacity:0}.drag-move[data-v-89667db6]{transition:transform .3s}.host-list[data-v-89667db6]{padding-top:10px;padding-right:50px}.host-item[data-v-89667db6]{transition:all .3s;box-shadow:var(--el-box-shadow-lighter);cursor:move;font-size:12px;color:#595959;padding:0 20px;margin:0 auto 6px;border-radius:4px;color:#000;height:35px;line-height:35px}.host-item[data-v-89667db6]:hover{box-shadow:var(--el-box-shadow)}.dialog-footer[data-v-89667db6]{display:flex;justify-content:center}.el-popover{--el-popover-bg-color:var(--el-color-white);--el-popover-font-size:var(--el-font-size-base);--el-popover-border-color:var(--el-border-color-lighter);--el-popover-padding:12px;--el-popover-padding-large:18px 20px;--el-popover-title-font-size:16px;--el-popover-title-text-color:var(--el-text-color-primary);--el-popover-border-radius:4px}.el-popover.el-popper{background:var(--el-popover-bg-color);min-width:150px;border-radius:var(--el-popover-border-radius);border:1px solid var(--el-popover-border-color);padding:var(--el-popover-padding);z-index:var(--el-index-popper);color:var(--el-text-color-regular);line-height:1.4;text-align:justify;font-size:var(--el-popover-font-size);box-shadow:var(--el-box-shadow-light);word-break:break-all}.el-popover.el-popper--plain{padding:var(--el-popover-padding-large)}.el-popover__title{color:var(--el-popover-title-text-color);font-size:var(--el-popover-title-font-size);line-height:1;margin-bottom:12px}.el-popover__reference:focus:hover,.el-popover__reference:focus:not(.focusing){outline-width:0}.el-popover.el-popper:focus,.el-popover.el-popper:focus:active{outline-width:0}.host-count[data-v-914cda9c]{display:block;width:100px;text-align:center;font-size:15px;color:#87cf63;cursor:pointer}.password-form[data-v-f24fbfc6]{width:500px}.table[data-v-437b239c]{max-height:400px;overflow:auto}.dialog-footer[data-v-437b239c]{display:flex;justify-content:center}.el-card{--el-card-border-color:var(--el-border-color-light);--el-card-border-radius:4px;--el-card-padding:20px;--el-card-bg-color:var(--el-fill-color-blank)}.el-card{border-radius:var(--el-card-border-radius);border:1px solid var(--el-card-border-color);background-color:var(--el-card-bg-color);overflow:hidden;color:var(--el-text-color-primary);transition:var(--el-transition-duration)}.el-card.is-always-shadow{box-shadow:var(--el-box-shadow-light)}.el-card.is-hover-shadow:focus,.el-card.is-hover-shadow:hover{box-shadow:var(--el-box-shadow-light)}.el-card__header{padding:calc(var(--el-card-padding) - 2px) var(--el-card-padding);border-bottom:1px solid var(--el-card-border-color);box-sizing:border-box}.el-card__body{padding:var(--el-card-padding)}.el-dropdown{--el-dropdown-menu-box-shadow:var(--el-box-shadow-light);--el-dropdown-menuItem-hover-fill:var(--el-color-primary-light-9);--el-dropdown-menuItem-hover-color:var(--el-color-primary);--el-dropdown-menu-index:10;display:inline-flex;position:relative;color:var(--el-text-color-regular);font-size:var(--el-font-size-base);line-height:1;vertical-align:top}.el-dropdown.is-disabled{color:var(--el-text-color-placeholder);cursor:not-allowed}.el-dropdown__popper{--el-dropdown-menu-box-shadow:var(--el-box-shadow-light);--el-dropdown-menuItem-hover-fill:var(--el-color-primary-light-9);--el-dropdown-menuItem-hover-color:var(--el-color-primary);--el-dropdown-menu-index:10}.el-dropdown__popper.el-popper[role=tooltip]{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color-light);box-shadow:var(--el-dropdown-menu-box-shadow)}.el-dropdown__popper.el-popper[role=tooltip] .el-popper__arrow:before{border:1px solid var(--el-border-color-light)}.el-dropdown__popper.el-popper[role=tooltip][data-popper-placement^=top] .el-popper__arrow:before{border-top-color:transparent;border-left-color:transparent}.el-dropdown__popper.el-popper[role=tooltip][data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-dropdown__popper.el-popper[role=tooltip][data-popper-placement^=left] .el-popper__arrow:before{border-left-color:transparent;border-bottom-color:transparent}.el-dropdown__popper.el-popper[role=tooltip][data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-dropdown__popper .el-dropdown-menu{border:none}.el-dropdown__popper .el-dropdown__popper-selfdefine{outline:0}.el-dropdown__popper .el-scrollbar__bar{z-index:calc(var(--el-dropdown-menu-index) + 1)}.el-dropdown__popper .el-dropdown__list{list-style:none;padding:0;margin:0;box-sizing:border-box}.el-dropdown .el-dropdown__caret-button{padding-left:0;padding-right:0;display:inline-flex;justify-content:center;align-items:center;width:32px;border-left:none}.el-dropdown .el-dropdown__caret-button>span{display:inline-flex}.el-dropdown .el-dropdown__caret-button:before{content:"";position:absolute;display:block;width:1px;top:-1px;bottom:-1px;left:0;background:var(--el-overlay-color-lighter)}.el-dropdown .el-dropdown__caret-button.el-button:before{background:var(--el-border-color);opacity:.5}.el-dropdown .el-dropdown__caret-button .el-dropdown__icon{font-size:inherit;padding-left:0}.el-dropdown .el-dropdown-selfdefine{outline:0}.el-dropdown--large .el-dropdown__caret-button{width:40px}.el-dropdown--small .el-dropdown__caret-button{width:24px}.el-dropdown-menu{position:relative;top:0;left:0;z-index:var(--el-dropdown-menu-index);padding:5px 0;margin:0;background-color:var(--el-bg-color-overlay);border:none;border-radius:var(--el-border-radius-base);box-shadow:none;list-style:none}.el-dropdown-menu__item{display:flex;align-items:center;white-space:nowrap;list-style:none;line-height:22px;padding:5px 16px;margin:0;font-size:var(--el-font-size-base);color:var(--el-text-color-regular);cursor:pointer;outline:0}.el-dropdown-menu__item:not(.is-disabled):focus{background-color:var(--el-dropdown-menuItem-hover-fill);color:var(--el-dropdown-menuItem-hover-color)}.el-dropdown-menu__item i{margin-right:5px}.el-dropdown-menu__item--divided{margin:6px 0;border-top:1px solid var(--el-border-color-lighter)}.el-dropdown-menu__item.is-disabled{cursor:not-allowed;color:var(--el-text-color-disabled)}.el-dropdown-menu--large{padding:7px 0}.el-dropdown-menu--large .el-dropdown-menu__item{padding:7px 20px;line-height:22px;font-size:14px}.el-dropdown-menu--large .el-dropdown-menu__item--divided{margin:8px 0}.el-dropdown-menu--small{padding:3px 0}.el-dropdown-menu--small .el-dropdown-menu__item{padding:2px 12px;line-height:20px;font-size:12px}.el-dropdown-menu--small .el-dropdown-menu__item--divided{margin:4px 0}.icon[data-v-71a59e2e]{width:1em;height:1em;vertical-align:-.15em;fill:currentColor;overflow:hidden}:root{--el-popup-modal-bg-color: var(--el-color-black);--el-popup-modal-opacity: .5}.v-modal-enter{animation:v-modal-in var(--el-transition-duration-fast) ease}.v-modal-leave{animation:v-modal-out var(--el-transition-duration-fast) ease forwards}@keyframes v-modal-in{0%{opacity:0}}@keyframes v-modal-out{to{opacity:0}}.v-modal{position:fixed;left:0;top:0;width:100%;height:100%;opacity:var(--el-popup-modal-opacity);background:var(--el-popup-modal-bg-color)}.el-popup-parent--hidden{overflow:hidden}.el-message-box{--el-messagebox-title-color: var(--el-text-color-primary);--el-messagebox-width: 420px;--el-messagebox-border-radius: 4px;--el-messagebox-font-size: var(--el-font-size-large);--el-messagebox-content-font-size: var(--el-font-size-base);--el-messagebox-content-color: var(--el-text-color-regular);--el-messagebox-error-font-size: 12px;--el-messagebox-padding-primary: 15px}.el-message-box{display:inline-block;width:var(--el-messagebox-width);padding-bottom:10px;vertical-align:middle;background-color:var(--el-bg-color);border-radius:var(--el-messagebox-border-radius);border:1px solid var(--el-border-color-lighter);font-size:var(--el-messagebox-font-size);box-shadow:var(--el-box-shadow-light);text-align:left;overflow:hidden;backface-visibility:hidden}.el-overlay.is-message-box .el-overlay-message-box{text-align:center;position:fixed;top:0;right:0;bottom:0;left:0;overflow:auto}.el-overlay.is-message-box .el-overlay-message-box:after{content:"";display:inline-block;height:100%;width:0;vertical-align:middle}.el-message-box.is-draggable .el-message-box__header{cursor:move;user-select:none}.el-message-box__header{position:relative;padding:var(--el-messagebox-padding-primary);padding-bottom:10px}.el-message-box__title{padding-left:0;margin-bottom:0;font-size:var(--el-messagebox-font-size);line-height:1;color:var(--el-messagebox-title-color)}.el-message-box__headerbtn{position:absolute;top:var(--el-messagebox-padding-primary);right:var(--el-messagebox-padding-primary);padding:0;border:none;outline:none;background:transparent;font-size:var(--el-message-close-size, 16px);cursor:pointer}.el-message-box__headerbtn .el-message-box__close{color:var(--el-color-info);font-size:inherit}.el-message-box__headerbtn:focus .el-message-box__close,.el-message-box__headerbtn:hover .el-message-box__close{color:var(--el-color-primary)}.el-message-box__content{padding:10px var(--el-messagebox-padding-primary);color:var(--el-messagebox-content-color);font-size:var(--el-messagebox-content-font-size)}.el-message-box__container{position:relative}.el-message-box__input{padding-top:15px}.el-message-box__input div.invalid>input{border-color:var(--el-color-error)}.el-message-box__input div.invalid>input:focus{border-color:var(--el-color-error)}.el-message-box__status{position:absolute;top:50%;transform:translateY(-50%);font-size:24px!important}.el-message-box__status:before{padding-left:1px}.el-message-box__status.el-icon{position:absolute}.el-message-box__status+.el-message-box__message{padding-left:36px;padding-right:12px;word-break:break-word}.el-message-box__status.el-message-box-icon--success{--el-messagebox-color: var(--el-color-success);color:var(--el-messagebox-color)}.el-message-box__status.el-message-box-icon--info{--el-messagebox-color: var(--el-color-info);color:var(--el-messagebox-color)}.el-message-box__status.el-message-box-icon--warning{--el-messagebox-color: var(--el-color-warning);color:var(--el-messagebox-color)}.el-message-box__status.el-message-box-icon--error{--el-messagebox-color: var(--el-color-error);color:var(--el-messagebox-color)}.el-message-box__message{margin:0}.el-message-box__message p{margin:0;line-height:24px}.el-message-box__errormsg{color:var(--el-color-error);font-size:var(--el-messagebox-error-font-size);min-height:18px;margin-top:2px}.el-message-box__btns{padding:5px 15px 0;display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center}.el-message-box__btns button:nth-child(2){margin-left:10px}.el-message-box__btns-reverse{flex-direction:row-reverse}.el-message-box--center .el-message-box__title{position:relative;display:flex;align-items:center;justify-content:center}.el-message-box--center .el-message-box__status{position:relative;top:auto;padding-right:5px;text-align:center;transform:translateY(-1px)}.el-message-box--center .el-message-box__message{margin-left:0}.el-message-box--center .el-message-box__btns{justify-content:center}.el-message-box--center .el-message-box__content{padding-left:calc(var(--el-messagebox-padding-primary) + 12px);padding-right:calc(var(--el-messagebox-padding-primary) + 12px);text-align:center}.fade-in-linear-enter-active .el-overlay-message-box{animation:msgbox-fade-in var(--el-transition-duration)}.fade-in-linear-leave-active .el-overlay-message-box{animation:msgbox-fade-in var(--el-transition-duration) reverse}@keyframes msgbox-fade-in{0%{transform:translate3d(0,-20px,0);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes msgbox-fade-out{0%{transform:translateZ(0);opacity:1}to{transform:translate3d(0,-20px,0);opacity:0}}.el-radio{--el-radio-font-size:var(--el-font-size-base);--el-radio-text-color:var(--el-text-color-regular);--el-radio-font-weight:var(--el-font-weight-primary);--el-radio-input-height:14px;--el-radio-input-width:14px;--el-radio-input-border-radius:var(--el-border-radius-circle);--el-radio-input-bg-color:var(--el-fill-color-blank);--el-radio-input-border:var(--el-border);--el-radio-input-border-color:var(--el-border-color);--el-radio-input-border-color-hover:var(--el-color-primary)}.el-radio{color:var(--el-radio-text-color);font-weight:var(--el-radio-font-weight);position:relative;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;outline:0;font-size:var(--el-font-size-base);-webkit-user-select:none;user-select:none;margin-right:32px;height:32px}.el-radio.el-radio--large{height:40px}.el-radio.el-radio--small{height:24px}.el-radio.is-bordered{padding:0 15px 0 9px;border-radius:var(--el-border-radius-base);border:var(--el-border);box-sizing:border-box}.el-radio.is-bordered.is-checked{border-color:var(--el-color-primary)}.el-radio.is-bordered.is-disabled{cursor:not-allowed;border-color:var(--el-border-color-lighter)}.el-radio.is-bordered.el-radio--large{padding:0 19px 0 11px;border-radius:var(--el-border-radius-base)}.el-radio.is-bordered.el-radio--large .el-radio__label{font-size:var(--el-font-size-base)}.el-radio.is-bordered.el-radio--large .el-radio__inner{height:14px;width:14px}.el-radio.is-bordered.el-radio--small{padding:0 11px 0 7px;border-radius:var(--el-border-radius-base)}.el-radio.is-bordered.el-radio--small .el-radio__label{font-size:12px}.el-radio.is-bordered.el-radio--small .el-radio__inner{height:12px;width:12px}.el-radio:last-child{margin-right:0}.el-radio__input{white-space:nowrap;cursor:pointer;outline:0;display:inline-flex;position:relative;vertical-align:middle}.el-radio__input.is-disabled .el-radio__inner{background-color:var(--el-disabled-bg-color);border-color:var(--el-disabled-border-color);cursor:not-allowed}.el-radio__input.is-disabled .el-radio__inner:after{cursor:not-allowed;background-color:var(--el-disabled-bg-color)}.el-radio__input.is-disabled .el-radio__inner+.el-radio__label{cursor:not-allowed}.el-radio__input.is-disabled.is-checked .el-radio__inner{background-color:var(--el-disabled-bg-color);border-color:var(--el-disabled-border-color)}.el-radio__input.is-disabled.is-checked .el-radio__inner:after{background-color:var(--el-text-color-placeholder)}.el-radio__input.is-disabled+span.el-radio__label{color:var(--el-text-color-placeholder);cursor:not-allowed}.el-radio__input.is-checked .el-radio__inner{border-color:var(--el-color-primary);background:var(--el-color-primary)}.el-radio__input.is-checked .el-radio__inner:after{transform:translate(-50%,-50%) scale(1)}.el-radio__input.is-checked+.el-radio__label{color:var(--el-color-primary)}.el-radio__input.is-focus .el-radio__inner{border-color:var(--el-radio-input-border-color-hover)}.el-radio__inner{border:var(--el-radio-input-border);border-radius:var(--el-radio-input-border-radius);width:var(--el-radio-input-width);height:var(--el-radio-input-height);background-color:var(--el-radio-input-bg-color);position:relative;cursor:pointer;display:inline-block;box-sizing:border-box}.el-radio__inner:hover{border-color:var(--el-radio-input-border-color-hover)}.el-radio__inner:after{width:4px;height:4px;border-radius:var(--el-radio-input-border-radius);background-color:var(--el-color-white);content:"";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) scale(0);transition:transform .15s ease-in}.el-radio__original{opacity:0;outline:0;position:absolute;z-index:-1;top:0;left:0;right:0;bottom:0;margin:0}.el-radio:focus:not(.is-focus):not(:active):not(.is-disabled) .el-radio__inner{box-shadow:0 0 2px 2px var(--el-radio-input-border-color-hover)}.el-radio__label{font-size:var(--el-radio-font-size);padding-left:8px}.el-radio.el-radio--large .el-radio__label{font-size:14px}.el-radio.el-radio--large .el-radio__inner{width:14px;height:14px}.el-radio.el-radio--small .el-radio__label{font-size:12px}.el-radio.el-radio--small .el-radio__inner{width:12px;height:12px}.el-autocomplete{position:relative;display:inline-block}.el-autocomplete__popper.el-popper[role=tooltip]{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color-light);box-shadow:var(--el-box-shadow-light)}.el-autocomplete__popper.el-popper[role=tooltip] .el-popper__arrow:before{border:1px solid var(--el-border-color-light)}.el-autocomplete__popper.el-popper[role=tooltip][data-popper-placement^=top] .el-popper__arrow:before{border-top-color:transparent;border-left-color:transparent}.el-autocomplete__popper.el-popper[role=tooltip][data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-autocomplete__popper.el-popper[role=tooltip][data-popper-placement^=left] .el-popper__arrow:before{border-left-color:transparent;border-bottom-color:transparent}.el-autocomplete__popper.el-popper[role=tooltip][data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-autocomplete-suggestion{border-radius:var(--el-border-radius-base);box-sizing:border-box}.el-autocomplete-suggestion__wrap{max-height:280px;padding:10px 0;box-sizing:border-box}.el-autocomplete-suggestion__list{margin:0;padding:0}.el-autocomplete-suggestion li{padding:0 20px;margin:0;line-height:34px;cursor:pointer;color:var(--el-text-color-regular);font-size:var(--el-font-size-base);list-style:none;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.el-autocomplete-suggestion li:hover,.el-autocomplete-suggestion li.highlighted{background-color:var(--el-fill-color-light)}.el-autocomplete-suggestion li.divider{margin-top:6px;border-top:1px solid var(--el-color-black)}.el-autocomplete-suggestion li.divider:last-child{margin-bottom:-6px}.el-autocomplete-suggestion.is-loading li{text-align:center;height:100px;line-height:100px;font-size:20px;color:var(--el-text-color-secondary)}.el-autocomplete-suggestion.is-loading li:after{display:inline-block;content:"";height:100%;vertical-align:middle}.el-autocomplete-suggestion.is-loading li:hover{background-color:var(--el-bg-color-overlay)}.el-autocomplete-suggestion.is-loading .el-icon-loading{vertical-align:middle}.host-card[data-v-9b7058f0]{margin:0 30px 20px;transition:all .5s;position:relative}.host-card[data-v-9b7058f0]:hover{box-shadow:0 0 15px #061e2580}.host-card .host-state[data-v-9b7058f0]{position:absolute;top:0px;left:0px}.host-card .host-state span[data-v-9b7058f0]{font-size:8px;transform:scale(.9);display:inline-block;padding:3px 5px}.host-card .host-state .online[data-v-9b7058f0]{color:#093;background-color:#e8fff3}.host-card .host-state .offline[data-v-9b7058f0]{color:#f03;background-color:#fff5f8}.host-card .info[data-v-9b7058f0]{display:flex;align-items:center;height:50px}.host-card .info>div[data-v-9b7058f0]{flex:1}.host-card .info .field[data-v-9b7058f0]{height:100%;display:flex;align-items:center}.host-card .info .field .svg-icon[data-v-9b7058f0]{width:25px;height:25px;color:#1989fa;cursor:pointer}.host-card .info .field .fields[data-v-9b7058f0]{display:flex;flex-direction:column}.host-card .info .field .fields span[data-v-9b7058f0]{padding:3px 0;margin-left:5px;font-weight:600;font-size:13px;color:#595959}.host-card .info .field .fields .name[data-v-9b7058f0]{display:inline-block;height:19px;cursor:pointer}.host-card .info .field .fields .name[data-v-9b7058f0]:hover{text-decoration-line:underline;text-decoration-color:#1989fa}.host-card .info .field .fields .name:hover .svg-icon[data-v-9b7058f0]{display:inline-block}.host-card .info .field .fields .name .svg-icon[data-v-9b7058f0]{display:none;width:13px;height:13px}.host-card .info .web-ssh[data-v-9b7058f0] .el-dropdown__caret-button{margin-left:-5px}.field-detail{display:flex;flex-direction:column}.field-detail h2{font-weight:600;font-size:16px;margin:0 0 8px}.field-detail h3 span{font-weight:600;color:#797979}.field-detail span{display:inline-block;margin:4px 0}header[data-v-1a2f50bc]{padding:0 30px;height:70px;display:flex;justify-content:space-between;align-items:center}header .logo-wrap[data-v-1a2f50bc]{display:flex;justify-content:center;align-items:center}header .logo-wrap img[data-v-1a2f50bc]{height:50px}header .logo-wrap h1[data-v-1a2f50bc]{color:#fff;font-size:20px}section[data-v-1a2f50bc]{opacity:.9;height:calc(100vh - 95px);padding:10px 0 250px;overflow:auto}footer[data-v-1a2f50bc]{height:25px;display:flex;justify-content:center;align-items:center}footer span[data-v-1a2f50bc]{color:#fff}footer a[data-v-1a2f50bc]{color:#48ff00;font-weight:600}.el-radio-group{display:inline-flex;align-items:center;flex-wrap:wrap;font-size:0}.el-input-number{position:relative;display:inline-block;width:150px;line-height:30px}.el-input-number .el-input__wrapper{padding-left:42px;padding-right:42px}.el-input-number .el-input__inner{-webkit-appearance:none;-moz-appearance:textfield;text-align:center}.el-input-number .el-input__inner::-webkit-inner-spin-button,.el-input-number .el-input__inner::-webkit-outer-spin-button{margin:0;-webkit-appearance:none}.el-input-number__decrease,.el-input-number__increase{display:flex;justify-content:center;align-items:center;height:auto;position:absolute;z-index:1;top:1px;bottom:1px;width:32px;background:var(--el-fill-color-light);color:var(--el-text-color-regular);cursor:pointer;font-size:13px;-webkit-user-select:none;user-select:none}.el-input-number__decrease:hover,.el-input-number__increase:hover{color:var(--el-color-primary)}.el-input-number__decrease:hover~.el-input:not(.is-disabled) .el-input_wrapper,.el-input-number__increase:hover~.el-input:not(.is-disabled) .el-input_wrapper{box-shadow:0 0 0 1px var(--el-input-focus-border-color,var(--el-color-primary)) inset}.el-input-number__decrease.is-disabled,.el-input-number__increase.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-input-number__increase{right:1px;border-radius:0 var(--el-border-radius-base) var(--el-border-radius-base) 0;border-left:var(--el-border)}.el-input-number__decrease{left:1px;border-radius:var(--el-border-radius-base) 0 0 var(--el-border-radius-base);border-right:var(--el-border)}.el-input-number.is-disabled .el-input-number__decrease,.el-input-number.is-disabled .el-input-number__increase{border-color:var(--el-disabled-border-color);color:var(--el-disabled-border-color)}.el-input-number.is-disabled .el-input-number__decrease:hover,.el-input-number.is-disabled .el-input-number__increase:hover{color:var(--el-disabled-border-color);cursor:not-allowed}.el-input-number--large{width:180px;line-height:38px}.el-input-number--large .el-input-number__decrease,.el-input-number--large .el-input-number__increase{width:40px;font-size:14px}.el-input-number--large .el-input__wrapper{padding-left:47px;padding-right:47px}.el-input-number--small{width:120px;line-height:22px}.el-input-number--small .el-input-number__decrease,.el-input-number--small .el-input-number__increase{width:24px;font-size:12px}.el-input-number--small .el-input__wrapper{padding-left:31px;padding-right:31px}.el-input-number--small .el-input-number__decrease [class*=el-icon],.el-input-number--small .el-input-number__increase [class*=el-icon]{transform:scale(.9)}.el-input-number.is-without-controls .el-input__wrapper{padding-left:15px;padding-right:15px}.el-input-number.is-controls-right .el-input__wrapper{padding-left:15px;padding-right:42px}.el-input-number.is-controls-right .el-input-number__decrease,.el-input-number.is-controls-right .el-input-number__increase{--el-input-number-controls-height:15px;height:var(--el-input-number-controls-height);line-height:var(--el-input-number-controls-height)}.el-input-number.is-controls-right .el-input-number__decrease [class*=el-icon],.el-input-number.is-controls-right .el-input-number__increase [class*=el-icon]{transform:scale(.8)}.el-input-number.is-controls-right .el-input-number__increase{bottom:auto;left:auto;border-radius:0 var(--el-border-radius-base) 0 0;border-bottom:var(--el-border)}.el-input-number.is-controls-right .el-input-number__decrease{right:1px;top:auto;left:auto;border-right:none;border-left:var(--el-border);border-radius:0 0 var(--el-border-radius-base) 0}.el-input-number.is-controls-right[class*=large] [class*=decrease],.el-input-number.is-controls-right[class*=large] [class*=increase]{--el-input-number-controls-height:19px}.el-input-number.is-controls-right[class*=small] [class*=decrease],.el-input-number.is-controls-right[class*=small] [class*=increase]{--el-input-number-controls-height:11px}.login-indate[data-v-14526bc4]{display:flex;flex-wrap:nowrap}.login-indate .input[data-v-14526bc4]{margin-left:-25px}.container .el-dialog__header .title{color:#409eff;text-align:left;padding-top:10px;padding-left:10px;font-size:13px}.container .el-dialog__body{padding:10px!important}.container footer .btns{width:100%;display:flex;align-items:center;justify-content:center}/** +* Copyright (c) 2014 The xterm.js authors. All rights reserved. +* Copyright (c) 2012-2013, Christopher Jeffrey (MIT License) +* https://github.com/chjj/term.js +* @license MIT +* +* Permission is hereby granted, free of charge, to any person obtaining a copy +* of this software and associated documentation files (the "Software"), to deal +* in the Software without restriction, including without limitation the rights +* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +* copies of the Software, and to permit persons to whom the Software is +* furnished to do so, subject to the following conditions: +* +* The above copyright notice and this permission notice shall be included in +* all copies or substantial portions of the Software. +* +* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +* THE SOFTWARE. +* +* Originally forked from (with the author's permission): +* Fabrice Bellard's javascript vt100 for jslinux: +* http://bellard.org/jslinux/ +* Copyright (c) 2011 Fabrice Bellard +* The original design remains. The terminal itself +* has been extended to include xterm CSI codes, among +* other features. +*/.xterm{cursor:text;position:relative;user-select:none;-ms-user-select:none;-webkit-user-select:none}.xterm.focus,.xterm:focus{outline:none}.xterm .xterm-helpers{position:absolute;top:0;z-index:5}.xterm .xterm-helper-textarea{padding:0;border:0;margin:0;position:absolute;opacity:0;left:-9999em;top:0;width:0;height:0;z-index:-5;white-space:nowrap;overflow:hidden;resize:none}.xterm .composition-view{background:#000;color:#fff;display:none;position:absolute;white-space:nowrap;z-index:1}.xterm .composition-view.active{display:block}.xterm .xterm-viewport{background-color:#000;overflow-y:scroll;cursor:default;position:absolute;right:0;left:0;top:0;bottom:0}.xterm .xterm-screen{position:relative}.xterm .xterm-screen canvas{position:absolute;left:0;top:0}.xterm .xterm-scroll-area{visibility:hidden}.xterm-char-measure-element{display:inline-block;visibility:hidden;position:absolute;top:0;left:-9999em;line-height:normal}.xterm.enable-mouse-events{cursor:default}.xterm.xterm-cursor-pointer,.xterm .xterm-cursor-pointer{cursor:pointer}.xterm.column-select.focus{cursor:crosshair}.xterm .xterm-accessibility,.xterm .xterm-message{position:absolute;left:0;top:0;bottom:0;right:0;z-index:10;color:transparent}.xterm .live-region{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.xterm-dim{opacity:.5}.xterm-underline{text-decoration:underline}.xterm-strikethrough{text-decoration:line-through}.xterm-screen .xterm-decoration-container .xterm-decoration{z-index:6;position:absolute}.xterm-decoration-overview-ruler{z-index:7;position:absolute;top:0;right:0;pointer-events:none}.xterm-decoration-top{z-index:2;position:relative}header[data-v-0c13eb03]{position:fixed;z-index:1;right:10px;top:50px}.terminal-container[data-v-0c13eb03]{height:100%}.terminal-container[data-v-0c13eb03] .xterm-viewport,.terminal-container[data-v-0c13eb03] .xterm-screen{width:100%!important;height:100%!important}.terminal-container[data-v-0c13eb03] .xterm-viewport::-webkit-scrollbar,.terminal-container[data-v-0c13eb03] .xterm-screen::-webkit-scrollbar{height:5px;width:5px;background-color:#fff}.terminal-container[data-v-0c13eb03] .xterm-viewport::-webkit-scrollbar-track,.terminal-container[data-v-0c13eb03] .xterm-screen::-webkit-scrollbar-track{background-color:#000;border-radius:0}.terminal-container[data-v-0c13eb03] .xterm-viewport::-webkit-scrollbar-thumb,.terminal-container[data-v-0c13eb03] .xterm-screen::-webkit-scrollbar-thumb{border-radius:5px}.terminal-container[data-v-0c13eb03] .xterm-viewport::-webkit-scrollbar-thumb:hover,.terminal-container[data-v-0c13eb03] .xterm-screen::-webkit-scrollbar-thumb:hover{background-color:#067ef7}.terminals .el-tabs__header{padding-left:55px}.el-progress{position:relative;line-height:1;display:flex;align-items:center}.el-progress__text{font-size:14px;color:var(--el-text-color-regular);margin-left:5px;min-width:50px;line-height:1}.el-progress__text i{vertical-align:middle;display:block}.el-progress--circle,.el-progress--dashboard{display:inline-block}.el-progress--circle .el-progress__text,.el-progress--dashboard .el-progress__text{position:absolute;top:50%;left:0;width:100%;text-align:center;margin:0;transform:translateY(-50%)}.el-progress--circle .el-progress__text i,.el-progress--dashboard .el-progress__text i{vertical-align:middle;display:inline-block}.el-progress--without-text .el-progress__text{display:none}.el-progress--without-text .el-progress-bar{padding-right:0;margin-right:0;display:block}.el-progress--text-inside .el-progress-bar{padding-right:0;margin-right:0}.el-progress.is-success .el-progress-bar__inner{background-color:var(--el-color-success)}.el-progress.is-success .el-progress__text{color:var(--el-color-success)}.el-progress.is-warning .el-progress-bar__inner{background-color:var(--el-color-warning)}.el-progress.is-warning .el-progress__text{color:var(--el-color-warning)}.el-progress.is-exception .el-progress-bar__inner{background-color:var(--el-color-danger)}.el-progress.is-exception .el-progress__text{color:var(--el-color-danger)}.el-progress-bar{flex-grow:1;box-sizing:border-box}.el-progress-bar__outer{height:6px;border-radius:100px;background-color:var(--el-border-color-lighter);overflow:hidden;position:relative;vertical-align:middle}.el-progress-bar__inner{position:absolute;left:0;top:0;height:100%;background-color:var(--el-color-primary);text-align:right;border-radius:100px;line-height:1;white-space:nowrap;transition:width .6s ease}.el-progress-bar__inner:after{display:inline-block;content:"";height:100%;vertical-align:middle}.el-progress-bar__inner--indeterminate{transform:translateZ(0);animation:indeterminate 3s infinite}.el-progress-bar__innerText{display:inline-block;vertical-align:middle;color:#fff;font-size:12px;margin:0 5px}@keyframes progress{0%{background-position:0 0}to{background-position:32px 0}}@keyframes indeterminate{0%{left:-100%}to{left:100%}}.el-descriptions{--el-descriptions-table-border:1px solid var(--el-border-color-lighter);--el-descriptions-item-bordered-label-background:var(--el-fill-color-light);box-sizing:border-box;font-size:var(--el-font-size-base);color:var(--el-text-color-primary)}.el-descriptions__header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.el-descriptions__title{color:var(--el-text-color-primary);font-size:16px;font-weight:700}.el-descriptions__body{background-color:var(--el-fill-color-blank)}.el-descriptions__body .el-descriptions__table{border-collapse:collapse;width:100%}.el-descriptions__body .el-descriptions__table .el-descriptions__cell{box-sizing:border-box;text-align:left;font-weight:400;line-height:23px;font-size:14px}.el-descriptions__body .el-descriptions__table .el-descriptions__cell.is-left{text-align:left}.el-descriptions__body .el-descriptions__table .el-descriptions__cell.is-center{text-align:center}.el-descriptions__body .el-descriptions__table .el-descriptions__cell.is-right{text-align:right}.el-descriptions__body .el-descriptions__table.is-bordered .el-descriptions__cell{border:var(--el-descriptions-table-border);padding:8px 11px}.el-descriptions__body .el-descriptions__table:not(.is-bordered) .el-descriptions__cell{padding-bottom:12px}.el-descriptions--large{font-size:14px}.el-descriptions--large .el-descriptions__header{margin-bottom:20px}.el-descriptions--large .el-descriptions__header .el-descriptions__title{font-size:16px}.el-descriptions--large .el-descriptions__body .el-descriptions__table .el-descriptions__cell{font-size:14px}.el-descriptions--large .el-descriptions__body .el-descriptions__table.is-bordered .el-descriptions__cell{padding:12px 15px}.el-descriptions--large .el-descriptions__body .el-descriptions__table:not(.is-bordered) .el-descriptions__cell{padding-bottom:16px}.el-descriptions--small{font-size:12px}.el-descriptions--small .el-descriptions__header{margin-bottom:12px}.el-descriptions--small .el-descriptions__header .el-descriptions__title{font-size:14px}.el-descriptions--small .el-descriptions__body .el-descriptions__table .el-descriptions__cell{font-size:12px}.el-descriptions--small .el-descriptions__body .el-descriptions__table.is-bordered .el-descriptions__cell{padding:4px 7px}.el-descriptions--small .el-descriptions__body .el-descriptions__table:not(.is-bordered) .el-descriptions__cell{padding-bottom:8px}.el-descriptions__label.el-descriptions__cell.is-bordered-label{font-weight:700;color:var(--el-text-color-regular);background:var(--el-descriptions-item-bordered-label-background)}.el-descriptions__label:not(.is-bordered-label){color:var(--el-text-color-primary);margin-right:16px}.el-descriptions__label.el-descriptions__cell:not(.is-bordered-label).is-vertical-label{padding-bottom:6px}.el-descriptions__content.el-descriptions__cell.is-bordered-content{color:var(--el-text-color-primary)}.el-descriptions__content:not(.is-bordered-label){color:var(--el-text-color-regular)}.el-descriptions--large .el-descriptions__label:not(.is-bordered-label){margin-right:16px}.el-descriptions--large .el-descriptions__label.el-descriptions__cell:not(.is-bordered-label).is-vertical-label{padding-bottom:8px}.el-descriptions--small .el-descriptions__label:not(.is-bordered-label){margin-right:12px}.el-descriptions--small .el-descriptions__label.el-descriptions__cell:not(.is-bordered-label).is-vertical-label{padding-bottom:4px}.el-divider{position:relative}.el-divider--horizontal{display:block;height:1px;width:100%;margin:24px 0;border-top:1px var(--el-border-color) var(--el-border-style)}.el-divider--vertical{display:inline-block;width:1px;height:1em;margin:0 8px;vertical-align:middle;position:relative;border-left:1px var(--el-border-color) var(--el-border-style)}.el-divider__text{position:absolute;background-color:var(--el-bg-color);padding:0 20px;font-weight:500;color:var(--el-text-color-primary);font-size:14px}.el-divider__text.is-left{left:20px;transform:translateY(-50%)}.el-divider__text.is-center{left:50%;transform:translate(-50%) translateY(-50%)}.el-divider__text.is-right{right:20px;transform:translateY(-50%)}.info-container[data-v-5c933804]{overflow:scroll;background-color:#fff;transition:all .3s}.info-container header[data-v-5c933804]{display:flex;justify-content:space-between;align-items:center;height:30px;margin:10px;position:relative}.info-container header img[data-v-5c933804]{cursor:pointer;height:80%}.info-container .item-title[data-v-5c933804]{user-select:none;white-space:nowrap;text-align:center;min-width:30px;max-width:30px}.info-container .host-ping[data-v-5c933804]{display:inline-block;font-size:13px;color:#093;background-color:#e8fff3;padding:0 5px}.info-container[data-v-5c933804] .el-divider__text{color:#a0cfff;padding:0 8px;user-select:none}.info-container[data-v-5c933804] .el-divider--horizontal{margin:28px 0 10px}.info-container .first-divider[data-v-5c933804]{margin:15px 0 10px}.info-container[data-v-5c933804] .el-descriptions__table tr{display:flex}.info-container[data-v-5c933804] .el-descriptions__table tr .el-descriptions__label{min-width:35px;flex-shrink:0}.info-container[data-v-5c933804] .el-descriptions__table tr .el-descriptions__content{position:relative;flex:1;display:flex;align-items:center}.info-container[data-v-5c933804] .el-descriptions__table tr .el-descriptions__content .el-progress{width:100%}.info-container[data-v-5c933804] .el-descriptions__table tr .el-descriptions__content .position-right{position:absolute;right:15px}.info-container[data-v-5c933804] .el-progress-bar__inner{display:flex;align-items:center}.info-container[data-v-5c933804] .el-progress-bar__inner .el-progress-bar__innerText{display:flex}.info-container[data-v-5c933804] .el-progress-bar__inner .el-progress-bar__innerText span{color:#000}.info-container .netstat-info[data-v-5c933804]{width:100%;height:100%;display:flex;flex-direction:column}.info-container .netstat-info .wrap[data-v-5c933804]{flex:1;display:flex;align-items:center;padding:0 5px}.info-container .netstat-info .wrap img[data-v-5c933804]{width:15px;margin-right:5px}.info-container .netstat-info .wrap .upload[data-v-5c933804]{color:#cf8a20}.info-container .netstat-info .wrap .download[data-v-5c933804]{color:#67c23a}.el-descriptions__label[data-v-5c933804]{vertical-align:middle;max-width:35px}.container .el-dialog__header{padding:5px 0}.container .el-dialog__header .title{color:#409eff;text-align:left;padding-left:10px;font-size:13px}.container .el-dialog__body{padding:0}.container .el-dialog__body .cm-scroller::-webkit-scrollbar{height:8px;width:8px;background-color:#282c34}.container .el-dialog__body .cm-scroller::-webkit-scrollbar-track{background-color:#282c34;border-radius:5px}.container .el-dialog__footer{padding:10px 0}.container footer{display:flex;align-items:center;padding:0 15px;justify-content:space-between}.el-empty{--el-empty-padding:40px 0;--el-empty-image-width:160px;--el-empty-description-margin-top:20px;--el-empty-bottom-margin-top:20px;--el-empty-fill-color-0:var(--el-color-white);--el-empty-fill-color-1:#fcfcfd;--el-empty-fill-color-2:#f8f9fb;--el-empty-fill-color-3:#f7f8fc;--el-empty-fill-color-4:#eeeff3;--el-empty-fill-color-5:#edeef2;--el-empty-fill-color-6:#e9ebef;--el-empty-fill-color-7:#e5e7e9;--el-empty-fill-color-8:#e0e3e9;--el-empty-fill-color-9:#d5d7de;display:flex;justify-content:center;align-items:center;flex-direction:column;text-align:center;box-sizing:border-box;padding:var(--el-empty-padding)}.el-empty__image{width:var(--el-empty-image-width)}.el-empty__image img{-webkit-user-select:none;user-select:none;width:100%;height:100%;vertical-align:top;object-fit:contain}.el-empty__image svg{color:var(--el-svg-monochrome-grey);fill:currentColor;width:100%;height:100%;vertical-align:top}.el-empty__description{margin-top:var(--el-empty-description-margin-top)}.el-empty__description p{margin:0;font-size:var(--el-font-size-base);color:var(--el-text-color-secondary)}.el-empty__bottom{margin-top:var(--el-empty-bottom-margin-top)}.sftp-container[data-v-cfc1f20e]{position:relative;background:#ffffff;height:400px}.sftp-container .adjust[data-v-cfc1f20e]{user-select:none;position:absolute;top:-5px;left:50%;transform:translate(-25px);width:50px;height:5px;background:rgb(138,226,52);border-radius:3px;cursor:ns-resize}.sftp-container section[data-v-cfc1f20e]{height:100%;display:flex}.sftp-container section .box .header[data-v-cfc1f20e]{user-select:none;height:30px;padding:0 5px;background:#e1e1e2;display:flex;align-items:center;font-size:12px}.sftp-container section .box .header .operation[data-v-cfc1f20e]{display:flex;align-items:center}.sftp-container section .box .header .operation .img[data-v-cfc1f20e]{margin:0 5px;width:20px;height:20px}.sftp-container section .box .header .operation .img img[data-v-cfc1f20e]{width:100%;height:100%}.sftp-container section .box .header .operation .img[data-v-cfc1f20e]:hover{background:#cec4c4}.sftp-container section .box .header .filter-input[data-v-cfc1f20e]{width:200px;margin:0 20px 0 10px}.sftp-container section .box .header .path[data-v-cfc1f20e]{flex:1;user-select:all}.sftp-container section .box .header .up-file-progress-wrap[data-v-cfc1f20e]{min-width:200px;max-width:350px}.sftp-container section .box .dir-list[data-v-cfc1f20e]{overflow:auto;scroll-behavior:smooth;height:calc(100% - 30px);user-select:none;display:flex;flex-direction:column}.sftp-container section .box .dir-list .active[data-v-cfc1f20e]{background:#e9e9e9}.sftp-container section .box .dir-list li[data-v-cfc1f20e]{font-size:14px;padding:5px 3px;color:#303133;display:flex;align-items:center}.sftp-container section .box .dir-list li[data-v-cfc1f20e]:hover{background:#e9e9e9}.sftp-container section .box .dir-list li img[data-v-cfc1f20e]{width:20px;height:20px;margin-right:3px}.sftp-container section .box .dir-list li span[data-v-cfc1f20e]{line-height:20px}.sftp-container section .left[data-v-cfc1f20e]{width:200px;border-right:1px solid #dcdfe6}.sftp-container section .left .dir-list li[data-v-cfc1f20e]:nth-child(n+2){margin-left:15px}.sftp-container section .right[data-v-cfc1f20e]{flex:1}.container[data-v-21820ee2]{display:flex;height:100vh}.container section[data-v-21820ee2]{flex:1;display:flex;flex-direction:column;width:calc(100vw - 250px)}.container section .terminals[data-v-21820ee2]{min-height:150px;flex:1;position:relative}.container section .terminals .full-screen-button[data-v-21820ee2]{position:absolute;right:10px;top:4px;z-index:99999}.container section .sftp[data-v-21820ee2]{border:1px solid rgb(236,215,187)}.container section .visible[data-v-21820ee2]{position:absolute;z-index:999999;top:13px;left:5px;cursor:pointer;transition:all .3s}.container section .visible[data-v-21820ee2]:hover{transform:scale(1.1)}.el-tabs{border:none}.el-tabs--border-card>.el-tabs__content{padding:0}.el-tabs__header{position:sticky;top:0;z-index:1;user-select:none}.el-tabs__nav-scroll .el-tabs__nav{padding-left:60px}.el-tabs__new-tab{position:absolute;left:18px;font-size:50px;z-index:98}.el-tabs--border-card{height:100%;overflow:hidden;display:flex;flex-direction:column}.el-tabs__content{flex:1}.el-icon.is-icon-close{position:absolute;font-size:13px}.el-notification{--el-notification-width: 330px;--el-notification-padding: 14px 26px 14px 13px;--el-notification-radius: 8px;--el-notification-shadow: var(--el-box-shadow-light);--el-notification-border-color: var(--el-border-color-lighter);--el-notification-icon-size: 24px;--el-notification-close-font-size: var(--el-message-close-size, 16px);--el-notification-group-margin-left: 13px;--el-notification-group-margin-right: 8px;--el-notification-content-font-size: var(--el-font-size-base);--el-notification-content-color: var(--el-text-color-regular);--el-notification-title-font-size: 16px;--el-notification-title-color: var(--el-text-color-primary);--el-notification-close-color: var(--el-text-color-secondary);--el-notification-close-hover-color: var(--el-text-color-regular)}.el-notification{display:flex;width:var(--el-notification-width);padding:var(--el-notification-padding);border-radius:var(--el-notification-radius);box-sizing:border-box;border:1px solid var(--el-notification-border-color);position:fixed;background-color:var(--el-bg-color-overlay);box-shadow:var(--el-notification-shadow);transition:opacity var(--el-transition-duration),transform var(--el-transition-duration),left var(--el-transition-duration),right var(--el-transition-duration),top .4s,bottom var(--el-transition-duration);overflow-wrap:anywhere;overflow:hidden;z-index:9999}.el-notification.right{right:16px}.el-notification.left{left:16px}.el-notification__group{margin-left:var(--el-notification-group-margin-left);margin-right:var(--el-notification-group-margin-right)}.el-notification__title{font-weight:700;font-size:var(--el-notification-title-font-size);line-height:var(--el-notification-icon-size);color:var(--el-notification-title-color);margin:0}.el-notification__content{font-size:var(--el-notification-content-font-size);line-height:24px;margin:6px 0 0;color:var(--el-notification-content-color);text-align:justify}.el-notification__content p{margin:0}.el-notification .el-notification__icon{height:var(--el-notification-icon-size);width:var(--el-notification-icon-size);font-size:var(--el-notification-icon-size)}.el-notification .el-notification__closeBtn{position:absolute;top:18px;right:15px;cursor:pointer;color:var(--el-notification-close-color);font-size:var(--el-notification-close-font-size)}.el-notification .el-notification__closeBtn:hover{color:var(--el-notification-close-hover-color)}.el-notification .el-notification--success{--el-notification-icon-color: var(--el-color-success);color:var(--el-notification-icon-color)}.el-notification .el-notification--info{--el-notification-icon-color: var(--el-color-info);color:var(--el-notification-icon-color)}.el-notification .el-notification--warning{--el-notification-icon-color: var(--el-color-warning);color:var(--el-notification-icon-color)}.el-notification .el-notification--error{--el-notification-icon-color: var(--el-color-error);color:var(--el-notification-icon-color)}.el-notification-fade-enter-from.right{right:0;transform:translate(100%)}.el-notification-fade-enter-from.left{left:0;transform:translate(-100%)}.el-notification-fade-leave-to{opacity:0}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font:inherit;vertical-align:baseline;box-sizing:border-box}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:"";content:none}table{border-collapse:collapse;border-spacing:0}a{text-decoration:none}html,body,div,ul,section,textarea{box-sizing:border-box}html::-webkit-scrollbar,body::-webkit-scrollbar,div::-webkit-scrollbar,ul::-webkit-scrollbar,section::-webkit-scrollbar,textarea::-webkit-scrollbar{height:8px;width:2px;background-color:#fff}html::-webkit-scrollbar-track,body::-webkit-scrollbar-track,div::-webkit-scrollbar-track,ul::-webkit-scrollbar-track,section::-webkit-scrollbar-track,textarea::-webkit-scrollbar-track{background-color:#fff;border-radius:10px}html::-webkit-scrollbar-thumb,body::-webkit-scrollbar-thumb,div::-webkit-scrollbar-thumb,ul::-webkit-scrollbar-thumb,section::-webkit-scrollbar-thumb,textarea::-webkit-scrollbar-thumb{border-radius:10px;background-image:-webkit-gradient(linear,40% 0%,75% 84%,from(#a18cd1),to(#fbc2eb),color-stop(.6,#54DE5D))}html::-webkit-scrollbar-thumb:hover,body::-webkit-scrollbar-thumb:hover,div::-webkit-scrollbar-thumb:hover,ul::-webkit-scrollbar-thumb:hover,section::-webkit-scrollbar-thumb:hover,textarea::-webkit-scrollbar-thumb:hover{background-color:#067ef7}body{background-position:center center;background-attachment:fixed;background-size:cover;background-repeat:no-repeat;background-image:url(/assets/bg.4d05532a.jpg),linear-gradient(to bottom,#010179,#F5C4C1,#151799)}html,body{min-width:1200px;height:100vh;overflow:hidden}.el-notification__content{text-align:initial}.el-date-editor{--el-date-editor-width: 100%}.el-input__wrapper{width:100%}.el-tabs__nav-scroll .el-tabs__nav{padding-left:0}.el-tabs__content{padding:0 10px}.list-move,.list-enter-active,.list-leave-active{transition:all .5s ease}.list-enter-from,.list-leave-to{opacity:0;transform:translateY(-30px)}.list-leave-active{position:absolute} diff --git a/server/app/static/assets/index.cf7d36d4.css.gz b/server/app/static/assets/index.cf7d36d4.css.gz new file mode 100644 index 0000000..974f896 Binary files /dev/null and b/server/app/static/assets/index.cf7d36d4.css.gz differ diff --git a/server/app/static/assets/index.eb5f280e.js.gz b/server/app/static/assets/index.eb5f280e.js.gz deleted file mode 100644 index 552286b..0000000 Binary files a/server/app/static/assets/index.eb5f280e.js.gz and /dev/null differ diff --git a/server/app/static/index.html b/server/app/static/index.html index 16e30d8..579ad35 100644 --- a/server/app/static/index.html +++ b/server/app/static/index.html @@ -1,17 +1,17 @@ - - - - - - EasyNode - - - - - - -
- - - - + + + + + + EasyNode + + + + + + +
+ + + + diff --git a/server/app/storage/host-list.json b/server/app/storage/host-list.json index 32960f8..0637a08 100644 --- a/server/app/storage/host-list.json +++ b/server/app/storage/host-list.json @@ -1,2 +1 @@ -[ -] \ No newline at end of file +[] \ No newline at end of file diff --git a/server/app/utils/tools.js b/server/app/utils/tools.js index b5ac281..3b3651e 100644 --- a/server/app/utils/tools.js +++ b/server/app/utils/tools.js @@ -63,7 +63,7 @@ const getNetIPInfo = async (searchIp = '') => { let { origip: ip, location: country, city = '', regionName = '' } = res || {} searchResult.push({ ip, country, city: `${ regionName } ${ city }`, date }) } - console.log(searchResult) + // console.log(searchResult) let validInfo = searchResult.find(item => Boolean(item.country)) consola.info('查询IP信息:', validInfo) return validInfo || { ip: '获取IP信息API出错,请排查或更新API', country: '未知', city: '未知', date } diff --git a/server/bin/www b/server/bin/www old mode 100644 new mode 100755