update config

dev
Sake 2025-01-18 10:18:11 +08:00
parent 210fd3f0aa
commit 595cf42f1e
171 changed files with 2756 additions and 511 deletions

View File

@ -1 +0,0 @@
{"PID":2861,"Args":["/home/sake/easydarwin/build/EasyDarwin-lin-v8.3.0-202501021635/easydarwin.com","-daemon","127.0.0.1:60825"]}

View File

@ -1,180 +0,0 @@
# 服务唯一标识,连接同一个 redis 的每个 sms 此标识应该唯一。
serverId = "local"
# 内网 IP空串时自动识别
lanIP = ""
# 公网 IP空串时自动识别
wanIP = ""
# 基础配置
[Base]
# 是否启用登录验证码
DisabledCaptcha = true
JwtSecret = ""
Timeout = 60
[Data]
Dsn = './configs/data.db'
MaxIdleConns = 1
MaxOpenConns = 1
ConnMaxLifetime = 21600
SlowThreshold = 200
[BaseLog]
# 日志存储目录,不能使用特殊符号
Dir = './logs'
# 记录级别 debug/info/warn/error
Level = 'info'
# 保留日志多久,超过时间自动删除
MaxAge = 2678400
# 多久时间,分割一个新的日志文件
RotationTime = 28800
# 多大文件,分割一个新的日志文件(MB)
RotationSize = 50
# 全局 gop cache 配置
[gopCacheConfig]
# gop 缓存的个数
gopNum = 1
# 0 表示不限制,此参数可以限制每个 gop 的最大帧数
singleGopMaxFrameNum = 200
[RtcConfig]
Enable = true
EnableHttps = true
UrlPattern = "/live/:streamname"
IceUdpMuxPort = 24888
IceTcpMuxPort = 24888
IceHostNATToIPs = []
# 发布流,没有流超时时间,自动销毁
PubTimeoutSec = 10
[defaultHttpConfig]
httpListenAddr = ":10086"
httpsListenAddr = ":24433"
httpsCertFile = "./configs/cert.pem"
httpsKeyFile = "./configs/key.pem"
[rtmpConfig]
enable = true
addr = ":21935"
rtmpsEnable = true
rtmpsAddr = ":24935"
rtmpOverQuicEnable = true
rtmpOverQuicAddr = ":25935"
rtmpsCertFile = "./configs/cert.pem"
rtmpsKeyFile = "./configs/key.pem"
mergeWriteSize = 0
# 发布流,没有流超时时间,自动销毁
pubTimeoutSec = 0
pullTimeoutSec = 30
[inSessionConfig]
addDummyAudioEnable = true
addDummyAudioWaitAudioMs = 150
[httpflvConfig]
enable = true
enableHttps = true
urlPattern = "/live/:streamname"
[hlsConfig]
enable = true
enableHttps = true
urlPattern = "/hls/ts/*streamname"
outPath = "./stream/hls/"
# 每个片段多少秒
fragmentDurationMs = 2000
# 写入 .m3u8 的ts数量
fragmentNum = 5
# 当cleanupMode=2且数量超过 fragmentNum+deleteThreshold+cleanupMode 时执行删除
deleteThreshold = 2
cleanupMode = 2
# 是否以内存替代硬盘,避免频繁对硬盘读写
useMemoryAsDiskFlag = false
useM3u8MemoryFlag = false
# 是否以视频切片
boundaryByVideo = true
# 订阅者超时时间后,销毁。
subSessionTimeoutMs = 20000
subSessionHashKey = "sms"
[hlsConfig.fmp4]
enable = false
enableHttps = false
urlPattern = "/hls/m4s/*streamname"
[httptsConfig]
enable = false
enableHttps = false
urlPattern = "/ts/live/:streamname"
[rtspConfig]
enable = true
addr = ":25544"
rtspsEnable = true
rtspsAddr = ":25322"
rtspsCertFile = "./configs/cert.pem"
rtspsKeyFile = "./configs/key.pem"
outWaitKeyFrameFlag = true
authEnable = false
authMethod = 1
username = "admin@admin"
password = "admin@admin"
wsRtspEnable = true
wsRtspAddr = ":25566"
# 发布流,没有流超时时间,自动销毁
pubTimeoutSec = 0
pullTimeoutSec = 30
[srtConfig]
enable = false
addr = ":6000"
encryptEnable = false
encryptMode = 2
passphrase = "streamsvr-password"
# 发布流,没有流超时时间,自动销毁
PubTimeoutSec = 0
[httpFmp4Config]
enable = false
enableHttps = false
urlPattern = "/m4s/live/:streamname.mp4"
[roomConfig]
enable = true
apiKey = "admin@admin"
apiSecret = "admin@admin"
[recordConfig]
enableFlv = false
flvOutPath = "./streamsvr_record/flv/"
enableMpegts = false
mpegtsOutPath = "./r/"
enableFmp4 = false
fmp4OutPath = "./streamsvr_record/fmp4"
[relayPush]
enable = false
addrList = []
[staticRelayPull]
enable = false
addr = ""
[httpApiConfig]
enable = true
[logConfig]
# 日志级别0 trace, 1 debug, 2 info, 3 warn, 4 error, 5 fatal
level = 4
# 是否输出文件
filename = "./logs/sugar.log"
# 是否打印至标准控制台输出
isToStdout = true
isRotateDaily = true
# 日志末尾是否携带源码文件名以及行号的信息
shortFileFlag = true
timestampFlag = true
timestampWithMsFlag = true
levelFlag = true
# 日志断言的行为1 只打印错误日志 2 打印并退出程序 3 打印并panic
assertBehavior = 1

View File

@ -1,4 +1,4 @@
lanip = '192.168.0.11'
lanip = ''
serverid = 'local'
wanip = ''
@ -104,7 +104,7 @@ enable = true
[rtcconfig]
enable = true
enablehttps = true
icehostnattoips = ['192.168.0.11', '2408:8445:9b90:4aa:83a2:ab60:9968:5685']
icehostnattoips = ['192.168.0.11']
icetcpmuxport = 24888
iceudpmuxport = 24888
pubtimeoutsec = 10
@ -151,3 +151,35 @@ pubtimeoutsec = 0
[staticrelaypull]
addr = ''
enable = false
# 录像
[Storage]
# 存储路径,支持绝对路径和相对路径
Path = './r'
# 存储天数
Days = 3
# 存储使用率(%)
DiskUsageRatio = 85.95
# 分片时长,单位秒
FragmentDurationS = 20
# 录像文件格式
Format = 'mp4'
# 开启第三方云服务对象存储
EnabledCloudStorage = false
# access key
Key = ''
# secret key
Secret = ''
# endpoint
Endpoint = ''
# region
Region = ''
# bucket
Bucket = ''
# 超时时间(毫秒)
Timeout = 30000
# 重试次数
Retry = 0
# 并发上传文件数
Concurrency = 8
# 缓冲队列长度
QueueLength = 512

View File

@ -1,154 +0,0 @@
# 服务唯一标识,连接同一个 redis 的每个 sms 此标识应该唯一。
serverId = "local"
# 内网 IP空串时自动识别
lanIP = ""
# 公网 IP空串时自动识别
wanIP = ""
# 全局 gop cache 配置
[gopCacheConfig]
# gop 缓存的个数
gopNum = 1
# 0 表示不限制,此参数可以限制每个 gop 的最大帧数
singleGopMaxFrameNum = 200
[RtcConfig]
Enable = true
EnableHttps = true
UrlPattern = "/live/:streamname"
IceUdpMuxPort = 24888
IceTcpMuxPort = 24888
IceHostNATToIPs = []
# 发布流,没有流超时时间,自动销毁
PubTimeoutSec = 10
[defaultHttpConfig]
httpListenAddr = ":28080"
httpsListenAddr = ":24433"
httpsCertFile = "./configs/cert.pem"
httpsKeyFile = "./configs/key.pem"
[rtmpConfig]
enable = true
addr = ":21935"
rtmpsEnable = true
rtmpsAddr = ":24935"
rtmpOverQuicEnable = true
rtmpOverQuicAddr = ":25935"
rtmpsCertFile = "./configs/cert.pem"
rtmpsKeyFile = "./configs/key.pem"
mergeWriteSize = 0
# 发布流,没有流超时时间,自动销毁
pubTimeoutSec = 0
pullTimeoutSec = 30
[inSessionConfig]
addDummyAudioEnable = true
addDummyAudioWaitAudioMs = 150
[httpflvConfig]
enable = true
enableHttps = true
urlPattern = "/live/:streamname"
[hlsConfig]
enable = true
enableHttps = true
urlPattern = "/hls/ts/*streamname"
outPath = "./stream/hls/"
# 每个片段多少秒
fragmentDurationMs = 2000
# 写入 .m3u8 的ts数量
fragmentNum = 5
# 当cleanupMode=2且数量超过 fragmentNum+deleteThreshold+cleanupMode 时执行删除
deleteThreshold = 2
cleanupMode = 2
# 是否以内存替代硬盘,避免频繁对硬盘读写
useMemoryAsDiskFlag = false
useM3u8MemoryFlag = false
# 是否以视频切片
boundaryByVideo = true
# 订阅者超时时间后,销毁。
subSessionTimeoutMs = 20000
subSessionHashKey = "sms"
[hlsConfig.fmp4]
enable = false
enableHttps = false
urlPattern = "/hls/m4s/*streamname"
[httptsConfig]
enable = false
enableHttps = false
urlPattern = "/ts/live/:streamname"
[rtspConfig]
enable = true
addr = ":25544"
rtspsEnable = true
rtspsAddr = ":25322"
rtspsCertFile = "./configs/cert.pem"
rtspsKeyFile = "./configs/key.pem"
outWaitKeyFrameFlag = true
authEnable = false
authMethod = 1
username = "admin@admin"
password = "admin@admin"
wsRtspEnable = true
wsRtspAddr = ":25566"
# 发布流,没有流超时时间,自动销毁
pubTimeoutSec = 0
pullTimeoutSec = 30
[srtConfig]
enable = false
addr = ":6000"
encryptEnable = false
encryptMode = 2
passphrase = "streamsvr-password"
# 发布流,没有流超时时间,自动销毁
PubTimeoutSec = 0
[httpFmp4Config]
enable = false
enableHttps = false
urlPattern = "/m4s/live/:streamname.mp4"
[roomConfig]
enable = true
apiKey = "admin@admin"
apiSecret = "admin@admin"
[recordConfig]
enableFlv = false
flvOutPath = "./streamsvr_record/flv/"
enableMpegts = false
mpegtsOutPath = "./r/"
enableFmp4 = false
fmp4OutPath = "./streamsvr_record/fmp4"
[relayPush]
enable = false
addrList = []
[staticRelayPull]
enable = false
addr = ""
[httpApiConfig]
enable = true
[logConfig]
# 日志级别0 trace, 1 debug, 2 info, 3 warn, 4 error, 5 fatal
level = 4
# 是否输出文件
filename = "./logs/sugar.log"
# 是否打印至标准控制台输出
isToStdout = true
isRotateDaily = true
# 日志末尾是否携带源码文件名以及行号的信息
shortFileFlag = true
timestampFlag = true
timestampWithMsFlag = true
levelFlag = true
# 日志断言的行为1 只打印错误日志 2 打印并退出程序 3 打印并panic
assertBehavior = 1

Binary file not shown.

View File

@ -0,0 +1 @@
.player-pro-live[data-v-6c74e060]{width:100%;height:100%;background:#000;background-size:100% 100%;background-repeat:no-repeat}.player-pro-live .easyplayer-poster[data-v-6c74e060]{background-size:100% 100%}.player-pro-live:hover .easyplayer-controls[data-v-6c74e060]{opacity:1!important}.player-pro-live .easyplayer-controls[data-v-6c74e060]{opacity:0!important}.img-box[data-v-8b851b1f]{width:100%;height:100%}.img-box .anticon[data-v-8b851b1f]{font-size:28px}.img-box img[data-v-8b851b1f]{max-height:100%;max-width:100%}.json-display[data-v-6c7e5742]{width:400px;height:500px;white-space:pre-wrap;word-break:break-all;font-family:monospace}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
.config-box{height:100%}.config-box .ant-form-item-control-input-content .info{display:block;font-size:14px;color:#aaa;padding:4px 0}.config-box .brtl{border-radius:0 6px 6px 0}.config-box .ant-input,.config-box .ant-form-item-control-input{max-width:460px}.config-box .ant-menu{height:100%;padding:10px 0;width:100%;border-radius:8px 0 0 8px!important}.config-box .ant-card{max-height:100%;height:100%;border:0;overflow:auto;border-radius:0 8px 8px 0!important;position:relative}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
function o(t){"@babel/helpers - typeof";return o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(t)}function a(t,e){if(o(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(o(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function f(t){var e=a(t,"string");return o(e)=="symbol"?e:e+""}function b(t,e,r){return(e=f(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function i(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(c){return Object.getOwnPropertyDescriptor(t,c).enumerable})),r.push.apply(r,n)}return r}function y(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?i(Object(r),!0).forEach(function(n){b(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function u(){return u=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)({}).hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},u.apply(null,arguments)}export{u as _,y as a};

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
function t(o){for(var e=0,r,f=0,i=o.length;i>=4;++f,i-=4)r=o.charCodeAt(f)&255|(o.charCodeAt(++f)&255)<<8|(o.charCodeAt(++f)&255)<<16|(o.charCodeAt(++f)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,e=(r&65535)*1540483477+((r>>>16)*59797<<16)^(e&65535)*1540483477+((e>>>16)*59797<<16);switch(i){case 3:e^=(o.charCodeAt(f+2)&255)<<16;case 2:e^=(o.charCodeAt(f+1)&255)<<8;case 1:e^=o.charCodeAt(f)&255,e=(e&65535)*1540483477+((e>>>16)*59797<<16)}return e^=e>>>13,e=(e&65535)*1540483477+((e>>>16)*59797<<16),((e^e>>>15)>>>0).toString(36)}var a={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};export{t as m,a as u};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
import{u as s}from"./vue-router-Cyqq3sEN.1737110241000.js";import{u as a}from"./vue-i18n-Dpn4gLhm.1737110241000.js";import{$ as n,B as u}from"./ant-design-vue-YDCKpw9Q.1737110241000.js";import{V as c,X as i,u as t,W as _,c as l,J as f,$ as d}from"./@vue-BfhzGpZF.1737110241000.js";import"./@intlify-BG2mqeYI.1737110241000.js";import"./@babel-BiFW4_mA.1737110241000.js";import"./@ant-design-DWAmKvXw.1737110241000.js";import"./@ctrl-DOFZgDuz.1737110241000.js";import"./dayjs-Dc61Wt7u.1737110241000.js";import"./call-bind-D8HxU8eU.1737110241000.js";import"./get-intrinsic-DHvDm5IU.1737110241000.js";import"./es-errors-DzOT6E3C.1737110241000.js";import"./gopd-fcd2-aIC.1737110241000.js";import"./es-define-property-bDCdrV83.1737110241000.js";import"./has-symbols-BaUvM3gb.1737110241000.js";import"./dunder-proto-B-2Bgiap.1737110241000.js";import"./call-bind-apply-helpers-DdvJjOyj.1737110241000.js";import"./function-bind-CHqF18-c.1737110241000.js";import"./hasown-DWtZAXcf.1737110241000.js";import"./set-function-length-C9mYOxiX.1737110241000.js";import"./define-data-property-Dy2YOX90.1737110241000.js";import"./has-property-descriptors-Bu2BqhW-.1737110241000.js";import"./lodash-es-BtLQVgmQ.1737110241000.js";import"./resize-observer-polyfill-B1PUzC5B.1737110241000.js";import"./throttle-debounce-CUWDS_la.1737110241000.js";import"./vue-types-C5fUfLeo.1737110241000.js";import"./dom-align-CRCehRfe.1737110241000.js";import"./async-validator-DKvM95Vc.1737110241000.js";import"./scroll-into-view-if-needed-DrbnJgYN.1737110241000.js";import"./compute-scroll-into-view-1gs_hJI2.1737110241000.js";import"./@emotion-BtrR-yrm.1737110241000.js";import"./stylis-OW4gUFyn.1737110241000.js";const Q={__name:"NotFoundView",setup(x){const m=s(),{t:o}=a();return(b,r)=>{const p=u,e=n;return _(),c(e,{status:"404",title:"404","sub-title":t(o)("message.sorryPageNotFound")},{extra:i(()=>[l(p,{type:"primary",onClick:r[0]||(r[0]=()=>t(m).push("/"))},{default:i(()=>[f(d(t(o)("setting.backToHome")),1)]),_:1})]),_:1},8,["sub-title"])}}};export{Q as default};

View File

@ -0,0 +1 @@
const s=(t,r)=>{const o=t.__vccOpts||t;for(const[c,e]of r)o[c]=e;return o};export{s as _};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
import{d as t}from"./pinia-D6fI-ZdN.1737110241000.js";import"./request-ZxzhHWJh.1737110241000.js";import{b as a}from"./base-DpfWbqA7.1737110241000.js";import{r as n}from"./@vue-BfhzGpZF.1737110241000.js";const c=t("base",()=>{const e=n({});return{getServerInfo:async()=>{const o=s=>s[0].toUpperCase()+s.slice(1);if(e.value&&e.value.version)return;const r=await a.versionInfo();r.status==200&&(e.value=r.data,e.value.server=o(e.value.server))},serverInfo:e}});export{c as u};

View File

@ -0,0 +1 @@
import{r}from"./request-ZxzhHWJh.1737110241000.js";const e={versionInfo(o){return r({url:"/version",method:"get",params:o})},setReboot(){return r({url:"/app/reboot",method:"post"})},getConfigBase(){return r({url:"/configs/base",method:"get"})},postConfigBase(o,t){return r({url:`/configs/base?is_reload=${t}`,method:"post",data:o})},postConfigStream(o,t){return r({url:`/configs/stream?is_reload=${t}`,method:"post",data:o})},postConfigData(o,t){return r({url:`/configs/data?is_reload=${t}`,method:"post",data:o})},postConfigHls(o,t){return r({url:`/configs/hls?is_reload=${t}`,method:"post",data:o})},postConfigRtc(o,t){return r({url:`/configs/rtc?is_reload=${t}`,method:"post",data:o})},postConfigRtmp(o,t){return r({url:`/configs/rtmp?is_reload=${t}`,method:"post",data:o})},postConfigRtsp(o,t){return r({url:`/configs/rtsp?is_reload=${t}`,method:"post",data:o})},postConfigRecord(o,t){return r({url:`/configs/record?is_reload=${t}`,method:"post",data:o})},postConfigBaseLog(o,t){return r({url:`/configs/baselog?is_reload=${t}`,method:"post",data:o})},postConfigStreamLog(o,t){return r({url:`/configs/streamlog?is_reload=${t}`,method:"post",data:o})}};export{e as b};

View File

@ -0,0 +1 @@
import{g as f}from"./get-intrinsic-DHvDm5IU.1737110241000.js";import{s as c}from"./set-function-length-C9mYOxiX.1737110241000.js";import{e as d}from"./es-define-property-bDCdrV83.1737110241000.js";import{c as y,a as g}from"./call-bind-apply-helpers-DdvJjOyj.1737110241000.js";var w=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function x(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function P(e){if(e.__esModule)return e;var n=e.default;if(typeof n=="function"){var r=function t(){return this instanceof t?Reflect.construct(n,arguments,this.constructor):n.apply(this,arguments)};r.prototype=n.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(t){var o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,o.get?o:{enumerable:!0,get:function(){return e[t]}})}),r}var i={exports:{}};(function(e){var n=c,r=d,t=y,o=g;e.exports=function(p){var u=t(arguments),a=p.length-(arguments.length-1);return n(u,1+(a>0?a:0),!0)},r?r(e.exports,"apply",{value:o}):e.exports.apply=o})(i);var v=i.exports,s=f,l=v,m=l(s("String.prototype.indexOf")),_=function(n,r){var t=s(n,!!r);return typeof t=="function"&&m(n,".prototype.")>-1?l(t):t};export{P as a,_ as b,w as c,x as g};

View File

@ -0,0 +1 @@
import{r as l}from"./function-bind-CHqF18-c.1737110241000.js";import{t as o}from"./es-errors-DzOT6E3C.1737110241000.js";var a,t;function p(){return t||(t=1,a=Function.prototype.call),a}var n,e;function i(){return e||(e=1,n=Function.prototype.apply),n}var f=typeof Reflect<"u"&&Reflect&&Reflect.apply,y=l(),v=i(),d=p(),$=f,u=$||y.call(d,v),s=l(),A=o,F=p(),q=u,C=function(r){if(r.length<1||typeof r[0]!="function")throw new A("a function is required");return q(s,F,r)},B=l(),m=i(),R=u,w=function(){return R(B,m,arguments)};export{w as a,p as b,C as c,i as r};

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
function J(e){return typeof e=="object"&&e!=null&&e.nodeType===1}function R(e,r){return(!r||e!=="hidden")&&e!=="visible"&&e!=="clip"}function q(e,r){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var o=getComputedStyle(e,null);return R(o.overflowY,r)||R(o.overflowX,r)||function(u){var i=function(n){if(!n.ownerDocument||!n.ownerDocument.defaultView)return null;try{return n.ownerDocument.defaultView.frameElement}catch{return null}}(u);return!!i&&(i.clientHeight<u.scrollHeight||i.clientWidth<u.scrollWidth)}(e)}return!1}function Q(e,r,o,u,i,n,d,c){return n<e&&d>r||n>e&&d<r?0:n<=e&&c<=o||d>=r&&c>=o?n-e-u:d>r&&c<o||n<e&&c>o?d-r+i:0}var te=function(e,r){var o=window,u=r.scrollMode,i=r.block,n=r.inline,d=r.boundary,c=r.skipOverflowHiddenElements,B=typeof d=="function"?d:function(ee){return ee!==d};if(!J(e))throw new TypeError("Invalid target");for(var z,A,F=document.scrollingElement||document.documentElement,y=[],l=e;J(l)&&B(l);){if((l=(A=(z=l).parentElement)==null?z.getRootNode().host||null:A)===F){y.push(l);break}l!=null&&l===document.body&&q(l)&&!q(document.documentElement)||l!=null&&q(l,c)&&y.push(l)}for(var w=o.visualViewport?o.visualViewport.width:innerWidth,m=o.visualViewport?o.visualViewport.height:innerHeight,v=window.scrollX||pageXOffset,W=window.scrollY||pageYOffset,g=e.getBoundingClientRect(),H=g.height,b=g.width,M=g.top,U=g.right,Z=g.bottom,V=g.left,f=i==="start"||i==="nearest"?M:i==="end"?Z:M+H/2,h=n==="center"?V+b/2:n==="end"?U:V,$=[],j=0;j<y.length;j++){var t=y[j],p=t.getBoundingClientRect(),x=p.height,E=p.width,I=p.top,D=p.right,N=p.bottom,T=p.left;if(u==="if-needed"&&M>=0&&V>=0&&Z<=m&&U<=w&&M>=I&&Z<=N&&V>=T&&U<=D)return $;var k=getComputedStyle(t),L=parseInt(k.borderLeftWidth,10),O=parseInt(k.borderTopWidth,10),S=parseInt(k.borderRightWidth,10),X=parseInt(k.borderBottomWidth,10),s=0,a=0,Y="offsetWidth"in t?t.offsetWidth-t.clientWidth-L-S:0,_="offsetHeight"in t?t.offsetHeight-t.clientHeight-O-X:0,K="offsetWidth"in t?t.offsetWidth===0?0:E/t.offsetWidth:0,P="offsetHeight"in t?t.offsetHeight===0?0:x/t.offsetHeight:0;if(F===t)s=i==="start"?f:i==="end"?f-m:i==="nearest"?Q(W,W+m,m,O,X,W+f,W+f+H,H):f-m/2,a=n==="start"?h:n==="center"?h-w/2:n==="end"?h-w:Q(v,v+w,w,L,S,v+h,v+h+b,b),s=Math.max(0,s+W),a=Math.max(0,a+v);else{s=i==="start"?f-I-O:i==="end"?f-N+X+_:i==="nearest"?Q(I,N,x,O,X+_,f,f+H,H):f-(I+x/2)+_/2,a=n==="start"?h-T-L:n==="center"?h-(T+E/2)+Y/2:n==="end"?h-D+S+Y:Q(T,D,E,L,S+Y,h,h+b,b);var C=t.scrollLeft,G=t.scrollTop;f+=G-(s=Math.max(0,Math.min(G+s/P,t.scrollHeight-x/P+_))),h+=C-(a=Math.max(0,Math.min(C+a/K,t.scrollWidth-E/K+Y)))}$.push({el:t,top:s,left:a})}return $};export{te as i};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
import{e as g}from"./es-define-property-bDCdrV83.1737110241000.js";import{s as f,t as b}from"./es-errors-DzOT6E3C.1737110241000.js";import{g as p}from"./gopd-fcd2-aIC.1737110241000.js";var s=g,d=f,r=b,i=p,c=function(e,o,u){if(!e||typeof e!="object"&&typeof e!="function")throw new r("`obj` must be an object or a function`");if(typeof o!="string"&&typeof o!="symbol")throw new r("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new r("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new r("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new r("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new r("`loose`, if provided, must be a boolean");var t=arguments.length>3?arguments[3]:null,a=arguments.length>4?arguments[4]:null,l=arguments.length>5?arguments[5]:null,m=arguments.length>6?arguments[6]:!1,n=!!i&&i(e,o);if(s)s(e,o,{configurable:l===null&&n?n.configurable:!l,enumerable:t===null&&n?n.enumerable:!t,value:u,writable:a===null&&n?n.writable:!a});else if(m||!t&&!a&&!l)e[o]=u;else throw new d("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")};export{c as d};

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
import{c as i}from"./call-bind-apply-helpers-DdvJjOyj.1737110241000.js";import{g as s}from"./gopd-fcd2-aIC.1737110241000.js";var e,n;function _(){if(n)return e;n=1;var c=i,o=s,f=[].__proto__===Array.prototype,r=f&&o&&o(Object.prototype,"__proto__"),p=Object,a=p.getPrototypeOf;return e=r&&typeof r.get=="function"?c([r.get]):typeof a=="function"?function(t){return a(t==null?t:p(t))}:!1,e}export{_ as r};

View File

@ -0,0 +1 @@
var e=Object.defineProperty||!1;if(e)try{e({},"a",{value:1})}catch{e=!1}var a=e;export{a as e};

View File

@ -0,0 +1 @@
var r=Error,a=EvalError,e=RangeError,s=ReferenceError,o=SyntaxError,v=TypeError,E=URIError;export{a as _,s as a,r as e,e as r,o as s,v as t,E as u};

View File

@ -0,0 +1 @@
var v,h;function q(){if(h)return v;h=1;var p="Function.prototype.bind called on incompatible ",s=Object.prototype.toString,d=Math.max,m="[object Function]",l=function(e,n){for(var t=[],r=0;r<e.length;r+=1)t[r]=e[r];for(var o=0;o<n.length;o+=1)t[o+e.length]=n[o];return t},b=function(e,n){for(var t=[],r=n,o=0;r<e.length;r+=1,o+=1)t[o]=e[r];return t},F=function(a,e){for(var n="",t=0;t<a.length;t+=1)n+=a[t],t+1<a.length&&(n+=e);return n};return v=function(e){var n=this;if(typeof n!="function"||s.apply(n)!==m)throw new TypeError(p+n);for(var t=b(arguments,1),r,o=function(){if(this instanceof r){var u=n.apply(this,l(t,arguments));return Object(u)===u?u:this}return n.apply(e,l(t,arguments))},R=d(0,n.length-t.length),y=[],i=0;i<R;i++)y[i]="$"+i;if(r=Function("binder","return function ("+F(y,",")+"){ return binder.apply(this,arguments); }")(o),n.prototype){var c=function(){};c.prototype=n.prototype,r.prototype=new c,c.prototype=null}return r},v}var f,g;function S(){if(g)return f;g=1;var p=q();return f=Function.prototype.bind||p,f}export{S as r};

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
var t=Object.getOwnPropertyDescriptor,r=t;if(r)try{r([],"length")}catch{r=null}var g=r;export{g};

View File

@ -0,0 +1 @@
import{e as n}from"./es-define-property-bDCdrV83.1737110241000.js";var r=n,e=function(){return!!r};e.hasArrayLengthDefineBug=function(){if(!r)return null;try{return r([],"length",{value:1}).length!==1}catch{return!0}};var o=e;export{o as h};

View File

@ -0,0 +1 @@
var o,y;function i(){return y||(y=1,o=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},r=Symbol("test"),u=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(u)!=="[object Symbol]")return!1;var f=42;e[r]=f;for(var b in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var a=Object.getOwnPropertySymbols(e);if(a.length!==1||a[0]!==r||!Object.prototype.propertyIsEnumerable.call(e,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(e,r);if(s.value!==f||s.enumerable!==!0)return!1}return!0}),o}var n,l;function m(){if(l)return n;l=1;var t=typeof Symbol<"u"&&Symbol,e=i();return n=function(){return typeof t!="function"||typeof Symbol!="function"||typeof t("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:e()},n}export{m as r};

View File

@ -0,0 +1 @@
import{r as t}from"./function-bind-CHqF18-c.1737110241000.js";var r,a;function s(){if(a)return r;a=1;var n=Function.prototype.call,o=Object.prototype.hasOwnProperty,e=t();return r=e.call(n,o),r}export{s as r};

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
import{_ as t}from"./_plugin-vue_export-helper-DlAUqK2U.1737110241000.js";import{m}from"./ant-design-vue-YDCKpw9Q.1737110241000.js";import{V as i,X as p,W as a,_ as e}from"./@vue-BfhzGpZF.1737110241000.js";import"./@babel-BiFW4_mA.1737110241000.js";import"./@ant-design-DWAmKvXw.1737110241000.js";import"./@ctrl-DOFZgDuz.1737110241000.js";import"./dayjs-Dc61Wt7u.1737110241000.js";import"./call-bind-D8HxU8eU.1737110241000.js";import"./get-intrinsic-DHvDm5IU.1737110241000.js";import"./es-errors-DzOT6E3C.1737110241000.js";import"./gopd-fcd2-aIC.1737110241000.js";import"./es-define-property-bDCdrV83.1737110241000.js";import"./has-symbols-BaUvM3gb.1737110241000.js";import"./dunder-proto-B-2Bgiap.1737110241000.js";import"./call-bind-apply-helpers-DdvJjOyj.1737110241000.js";import"./function-bind-CHqF18-c.1737110241000.js";import"./hasown-DWtZAXcf.1737110241000.js";import"./set-function-length-C9mYOxiX.1737110241000.js";import"./define-data-property-Dy2YOX90.1737110241000.js";import"./has-property-descriptors-Bu2BqhW-.1737110241000.js";import"./lodash-es-BtLQVgmQ.1737110241000.js";import"./resize-observer-polyfill-B1PUzC5B.1737110241000.js";import"./throttle-debounce-CUWDS_la.1737110241000.js";import"./vue-types-C5fUfLeo.1737110241000.js";import"./dom-align-CRCehRfe.1737110241000.js";import"./async-validator-DKvM95Vc.1737110241000.js";import"./scroll-into-view-if-needed-DrbnJgYN.1737110241000.js";import"./compute-scroll-into-view-1gs_hJI2.1737110241000.js";import"./@emotion-BtrR-yrm.1737110241000.js";import"./stylis-OW4gUFyn.1737110241000.js";const s={};function c(n,r){const o=m;return a(),i(o,{class:"apidoc-iframe"},{default:p(()=>r[0]||(r[0]=[e("iframe",{src:"/apidoc.html"},null,-1)])),_:1})}const K=t(s,[["render",c]]);export{K as default};

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
import{c}from"./vue-clipboard3-BvuNYtD-.1737110241000.js";import{J as o}from"./ant-design-vue-YDCKpw9Q.1737110241000.js";const{toClipboard:i}=c(),a=async t=>{try{await i(t),o.success({description:"复制成功!"})}catch{o.error({description:"复制失败!"})}},p=t=>/^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/.test(t);export{a as c,p as i};

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
import"./request-ZxzhHWJh.1737110241000.js";import{b as _}from"./base-DpfWbqA7.1737110241000.js";import{u as v}from"./base-Dl0F9Ilj.1737110241000.js";import{_ as f}from"./_plugin-vue_export-helper-DlAUqK2U.1737110241000.js";import{m as x,J as g,f as c,B as b,X as B}from"./ant-design-vue-YDCKpw9Q.1737110241000.js";import{f as k,V as T,X as i,W as V,c as p,_ as o,$ as m,J as y}from"./@vue-BfhzGpZF.1737110241000.js";import"./axios-upsvKRUO.1737110241000.js";import"./qs-B8H1bFrO.1737110241000.js";import"./call-bind-D8HxU8eU.1737110241000.js";import"./get-intrinsic-DHvDm5IU.1737110241000.js";import"./es-errors-DzOT6E3C.1737110241000.js";import"./gopd-fcd2-aIC.1737110241000.js";import"./es-define-property-bDCdrV83.1737110241000.js";import"./has-symbols-BaUvM3gb.1737110241000.js";import"./dunder-proto-B-2Bgiap.1737110241000.js";import"./call-bind-apply-helpers-DdvJjOyj.1737110241000.js";import"./function-bind-CHqF18-c.1737110241000.js";import"./hasown-DWtZAXcf.1737110241000.js";import"./set-function-length-C9mYOxiX.1737110241000.js";import"./define-data-property-Dy2YOX90.1737110241000.js";import"./has-property-descriptors-Bu2BqhW-.1737110241000.js";import"./side-channel-D6pqONTP.1737110241000.js";import"./object-inspect-C-jZde8o.1737110241000.js";import"./crypto-js-C6P57YDX.1737110241000.js";import"./index-CxiSgu_q.1737110241000.js";import"./vue-i18n-Dpn4gLhm.1737110241000.js";import"./@intlify-BG2mqeYI.1737110241000.js";import"./nprogress-DU86DrGV.1737110241000.js";/* empty css */import"./dayjs-Dc61Wt7u.1737110241000.js";import"./pinia-D6fI-ZdN.1737110241000.js";import"./vue-demi-Dq6ymT-8.1737110241000.js";import"./pinia-plugin-persistedstate-n2tMOXAx.1737110241000.js";import"./vue-router-Cyqq3sEN.1737110241000.js";import"./lodash-es-BtLQVgmQ.1737110241000.js";import"./@iconify-C9sTFQfd.1737110241000.js";import"./@babel-BiFW4_mA.1737110241000.js";import"./@ant-design-DWAmKvXw.1737110241000.js";import"./@ctrl-DOFZgDuz.1737110241000.js";import"./resize-observer-polyfill-B1PUzC5B.1737110241000.js";import"./throttle-debounce-CUWDS_la.1737110241000.js";import"./vue-types-C5fUfLeo.1737110241000.js";import"./dom-align-CRCehRfe.1737110241000.js";import"./async-validator-DKvM95Vc.1737110241000.js";import"./scroll-into-view-if-needed-DrbnJgYN.1737110241000.js";import"./compute-scroll-into-view-1gs_hJI2.1737110241000.js";import"./@emotion-BtrR-yrm.1737110241000.js";import"./stylis-OW4gUFyn.1737110241000.js";const C={__name:"index",setup(N){const n=v(),a=l=>{_.setReboot().then(t=>{t.status==200&&g.success({description:"正在重启,请稍后访问!"})})},r=k(()=>n.serverInfo);return(l,t)=>{const e=c,s=b,u=B,d=x;return V(),T(d,{class:"p20px version-box"},{default:i(()=>[p(e,{gap:"4"},{default:i(()=>[t[0]||(t[0]=o("div",null,"系统平台: ",-1)),o("div",null,m(r.value.server),1)]),_:1}),p(e,{gap:"4"},{default:i(()=>[t[1]||(t[1]=o("div",null,"硬件信息: ",-1)),o("div",null,m(r.value.hardware),1)]),_:1}),p(e,{gap:"4"},{default:i(()=>[t[2]||(t[2]=o("div",null,"服务器时间: ",-1)),o("div",null,m(r.value.serverTime),1)]),_:1}),p(e,{gap:"4"},{default:i(()=>[t[3]||(t[3]=o("div",null,"启动时间: ",-1)),o("div",null,m(r.value.startTime),1)]),_:1}),p(e,{gap:"4"},{default:i(()=>[t[4]||(t[4]=o("div",null,"运行时长: ",-1)),o("div",null,m(r.value.runtime),1)]),_:1}),p(e,{gap:"4"},{default:i(()=>[t[5]||(t[5]=o("div",null,"构建信息: ",-1)),o("div",null,m(r.value.name)+"/v"+m(r.value.version)+" (build/"+m(r.value.buildTime)+")",1)]),_:1}),p(u,{title:"确认需要重启吗?","ok-text":"确认","cancel-text":"取消",onConfirm:a},{default:i(()=>[p(s,{type:"link",danger:"",class:"mt12px",style:{"margin-left":"-16px"}},{default:i(()=>t[6]||(t[6]=[y("重启服务")])),_:1})]),_:1})]),_:1})}}},kt=f(C,[["__scopeId","data-v-0d79837a"]]);export{kt as default};

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,2 @@
import{c as T,g as w}from"./call-bind-D8HxU8eU.1737110241000.js";var C={exports:{}};/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
* @license MIT */(function(P,E){(function(t,i){P.exports=i()})(T,function(){var t={};t.version="0.2.0";var i=t.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};t.configure=function(r){var e,n;for(e in r)n=r[e],n!==void 0&&r.hasOwnProperty(e)&&(i[e]=n);return this},t.status=null,t.set=function(r){var e=t.isStarted();r=m(r,i.minimum,1),t.status=r===1?null:r;var n=t.render(!e),o=n.querySelector(i.barSelector),a=i.speed,f=i.easing;return n.offsetWidth,N(function(s){i.positionUsing===""&&(i.positionUsing=t.getPositioningCSS()),g(o,k(r,a,f)),r===1?(g(n,{transition:"none",opacity:1}),n.offsetWidth,setTimeout(function(){g(n,{transition:"all "+a+"ms linear",opacity:0}),setTimeout(function(){t.remove(),s()},a)},a)):setTimeout(s,a)}),this},t.isStarted=function(){return typeof t.status=="number"},t.start=function(){t.status||t.set(0);var r=function(){setTimeout(function(){t.status&&(t.trickle(),r())},i.trickleSpeed)};return i.trickle&&r(),this},t.done=function(r){return!r&&!t.status?this:t.inc(.3+.5*Math.random()).set(1)},t.inc=function(r){var e=t.status;return e?(typeof r!="number"&&(r=(1-e)*m(Math.random()*e,.1,.95)),e=m(e+r,0,.994),t.set(e)):t.start()},t.trickle=function(){return t.inc(Math.random()*i.trickleRate)},function(){var r=0,e=0;t.promise=function(n){return!n||n.state()==="resolved"?this:(e===0&&t.start(),r++,e++,n.always(function(){e--,e===0?(r=0,t.done()):t.set((r-e)/r)}),this)}}(),t.render=function(r){if(t.isRendered())return document.getElementById("nprogress");h(document.documentElement,"nprogress-busy");var e=document.createElement("div");e.id="nprogress",e.innerHTML=i.template;var n=e.querySelector(i.barSelector),o=r?"-100":p(t.status||0),a=document.querySelector(i.parent),f;return g(n,{transition:"all 0 linear",transform:"translate3d("+o+"%,0,0)"}),i.showSpinner||(f=e.querySelector(i.spinnerSelector),f&&b(f)),a!=document.body&&h(a,"nprogress-custom-parent"),a.appendChild(e),e},t.remove=function(){S(document.documentElement,"nprogress-busy"),S(document.querySelector(i.parent),"nprogress-custom-parent");var r=document.getElementById("nprogress");r&&b(r)},t.isRendered=function(){return!!document.getElementById("nprogress")},t.getPositioningCSS=function(){var r=document.body.style,e="WebkitTransform"in r?"Webkit":"MozTransform"in r?"Moz":"msTransform"in r?"ms":"OTransform"in r?"O":"";return e+"Perspective"in r?"translate3d":e+"Transform"in r?"translate":"margin"};function m(r,e,n){return r<e?e:r>n?n:r}function p(r){return(-1+r)*100}function k(r,e,n){var o;return i.positionUsing==="translate3d"?o={transform:"translate3d("+p(r)+"%,0,0)"}:i.positionUsing==="translate"?o={transform:"translate("+p(r)+"%,0)"}:o={"margin-left":p(r)+"%"},o.transition="all "+e+"ms "+n,o}var N=function(){var r=[];function e(){var n=r.shift();n&&n(e)}return function(n){r.push(n),r.length==1&&e()}}(),g=function(){var r=["Webkit","O","Moz","ms"],e={};function n(s){return s.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(u,c){return c.toUpperCase()})}function o(s){var u=document.body.style;if(s in u)return s;for(var c=r.length,d=s.charAt(0).toUpperCase()+s.slice(1),l;c--;)if(l=r[c]+d,l in u)return l;return s}function a(s){return s=n(s),e[s]||(e[s]=o(s))}function f(s,u,c){u=a(u),s.style[u]=c}return function(s,u){var c=arguments,d,l;if(c.length==2)for(d in u)l=u[d],l!==void 0&&u.hasOwnProperty(d)&&f(s,d,l);else f(s,c[1],c[2])}}();function y(r,e){var n=typeof r=="string"?r:v(r);return n.indexOf(" "+e+" ")>=0}function h(r,e){var n=v(r),o=n+e;y(n,e)||(r.className=o.substring(1))}function S(r,e){var n=v(r),o;y(r,e)&&(o=n.replace(" "+e+" "," "),r.className=o.substring(1,o.length-1))}function v(r){return(" "+(r.className||"")+" ").replace(/\s+/gi," ")}function b(r){r&&r.parentNode&&r.parentNode.removeChild(r)}return t})})(C);var x=C.exports;const U=w(x);export{U as N};

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,5 @@
import{i as G}from"./vue-demi-Dq6ymT-8.1737110241000.js";import{P as H,r as K,Q as M,i as $,w as T,a as tt,b as E,R as B,L as et,S as st,e as nt,o as ot,n as ct,K as rt,f as ut}from"./@vue-BfhzGpZF.1737110241000.js";/*!
* pinia v2.3.0
* (c) 2024 Eduardo San Martin Morote
* @license MIT
*/let D;const R=t=>D=t,J=Symbol();function L(t){return t&&typeof t=="object"&&Object.prototype.toString.call(t)==="[object Object]"&&typeof t.toJSON!="function"}var x;(function(t){t.direct="direct",t.patchObject="patch object",t.patchFunction="patch function"})(x||(x={}));function vt(){const t=H(!0),c=t.run(()=>K({}));let s=[],e=[];const r=M({install(u){R(r),r._a=u,u.provide(J,r),u.config.globalProperties.$pinia=r,e.forEach(f=>s.push(f)),e=[]},use(u){return!this._a&&!G?e.push(u):s.push(u),this},_p:s,_a:null,_e:t,_s:new Map,state:c});return r}const Q=()=>{};function V(t,c,s,e=Q){t.push(c);const r=()=>{const u=t.indexOf(c);u>-1&&(t.splice(u,1),e())};return!s&&nt()&&ot(r),r}function P(t,...c){t.slice().forEach(s=>{s(...c)})}const at=t=>t(),A=Symbol(),k=Symbol();function O(t,c){t instanceof Map&&c instanceof Map?c.forEach((s,e)=>t.set(e,s)):t instanceof Set&&c instanceof Set&&c.forEach(t.add,t);for(const s in c){if(!c.hasOwnProperty(s))continue;const e=c[s],r=t[s];L(r)&&L(e)&&t.hasOwnProperty(s)&&!E(e)&&!B(e)?t[s]=O(r,e):t[s]=e}return t}const ft=Symbol();function it(t){return!L(t)||!t.hasOwnProperty(ft)}const{assign:y}=Object;function lt(t){return!!(E(t)&&t.effect)}function ht(t,c,s,e){const{state:r,actions:u,getters:f}=c,a=s.state.value[t];let C;function b(){a||(s.state.value[t]=r?r():{});const S=rt(s.state.value[t]);return y(S,u,Object.keys(f||{}).reduce((v,m)=>(v[m]=M(ut(()=>{R(s);const _=s._s.get(t);return f[m].call(_,_)})),v),{}))}return C=q(t,b,c,s,e,!0),C}function q(t,c,s={},e,r,u){let f;const a=y({actions:{}},s),C={deep:!0};let b,S,v=[],m=[],_;const d=e.state.value[t];!u&&!d&&(e.state.value[t]={}),K({});let W;function N(o){let n;b=S=!1,typeof o=="function"?(o(e.state.value[t]),n={type:x.patchFunction,storeId:t,events:_}):(O(e.state.value[t],o),n={type:x.patchObject,payload:o,storeId:t,events:_});const i=W=Symbol();ct().then(()=>{W===i&&(b=!0)}),S=!0,P(v,n,e.state.value[t])}const z=u?function(){const{state:n}=s,i=n?n():{};this.$patch(j=>{y(j,i)})}:Q;function U(){f.stop(),v=[],m=[],e._s.delete(t)}const F=(o,n="")=>{if(A in o)return o[k]=n,o;const i=function(){R(e);const j=Array.from(arguments),w=[],I=[];function Y(l){w.push(l)}function Z(l){I.push(l)}P(m,{args:j,name:i[k],store:h,after:Y,onError:Z});let p;try{p=o.apply(this&&this.$id===t?this:h,j)}catch(l){throw P(I,l),l}return p instanceof Promise?p.then(l=>(P(w,l),l)).catch(l=>(P(I,l),Promise.reject(l))):(P(w,p),p)};return i[A]=!0,i[k]=n,i},X={_p:e,$id:t,$onAction:V.bind(null,m),$patch:N,$reset:z,$subscribe(o,n={}){const i=V(v,o,n.detached,()=>j()),j=f.run(()=>T(()=>e.state.value[t],w=>{(n.flush==="sync"?S:b)&&o({storeId:t,type:x.direct,events:_},w)},y({},C,n)));return i},$dispose:U},h=tt(X);e._s.set(t,h);const g=(e._a&&e._a.runWithContext||at)(()=>e._e.run(()=>(f=H()).run(()=>c({action:F}))));for(const o in g){const n=g[o];if(E(n)&&!lt(n)||B(n))u||(d&&it(n)&&(E(n)?n.value=d[o]:O(n,d[o])),e.state.value[t][o]=n);else if(typeof n=="function"){const i=F(n,o);g[o]=i,a.actions[o]=n}}return y(h,g),y(et(h),g),Object.defineProperty(h,"$state",{get:()=>e.state.value[t],set:o=>{N(n=>{y(n,o)})}}),e._p.forEach(o=>{y(h,f.run(()=>o({store:h,app:e._a,pinia:e,options:a})))}),d&&u&&s.hydrate&&s.hydrate(h.$state,d),b=!0,S=!0,h}/*! #__NO_SIDE_EFFECTS__ */function mt(t,c,s){let e,r;const u=typeof c=="function";typeof t=="string"?(e=t,r=u?s:c):(r=t,e=t.id);function f(a,C){const b=st();return a=a||(b?$(J,null):null),a&&R(a),a=D,a._s.has(e)||(u?q(e,c,r,a):ht(e,r,a)),a._s.get(e)}return f.$id=e,f}export{vt as c,mt as d};

View File

@ -0,0 +1 @@
function h(r){return typeof r=="object"&&r!==null}function d(r,t){return r=h(r)?r:Object.create(null),new Proxy(r,{get(n,i,e){return i==="key"?Reflect.get(n,i,e):Reflect.get(n,i,e)||Reflect.get(t,i,e)}})}function y(r,t){return t.reduce((n,i)=>n==null?void 0:n[i],r)}function $(r,t,n){return t.slice(0,-1).reduce((i,e)=>/^(__proto__)$/.test(e)?{}:i[e]=i[e]||{},r)[t[t.length-1]]=n,r}function _(r,t){return t.reduce((n,i)=>{const e=i.split(".");return $(n,e,y(r,e))},{})}function v(r,t){return n=>{var i;try{const{storage:e=localStorage,beforeRestore:o=void 0,afterRestore:l=void 0,serializer:s={serialize:JSON.stringify,deserialize:JSON.parse},key:u=t.$id,paths:a=null,debug:c=!1}=n;return{storage:e,beforeRestore:o,afterRestore:l,serializer:s,key:((i=r.key)!=null?i:f=>f)(typeof u=="string"?u:u(t.$id)),paths:a,debug:c}}catch(e){return n.debug&&console.error("[pinia-plugin-persistedstate]",e),null}}}function g(r,{storage:t,serializer:n,key:i,debug:e}){try{const o=t==null?void 0:t.getItem(i);o&&r.$patch(n==null?void 0:n.deserialize(o))}catch(o){e&&console.error("[pinia-plugin-persistedstate]",o)}}function p(r,{storage:t,serializer:n,key:i,paths:e,debug:o}){try{const l=Array.isArray(e)?_(r,e):r;t.setItem(i,n.serialize(l))}catch(l){o&&console.error("[pinia-plugin-persistedstate]",l)}}function R(r={}){return t=>{const{auto:n=!1}=r,{options:{persist:i=n},store:e,pinia:o}=t;if(!i)return;if(!(e.$id in o.state.value)){const s=o._s.get(e.$id.replace("__hot:",""));s&&Promise.resolve().then(()=>s.$persist());return}const l=(Array.isArray(i)?i.map(s=>d(s,r)):[d(i,r)]).map(v(r,e)).filter(Boolean);e.$persist=()=>{l.forEach(s=>{p(e.$state,s)})},e.$hydrate=({runHooks:s=!0}={})=>{l.forEach(u=>{const{beforeRestore:a,afterRestore:c}=u;s&&(a==null||a(t)),g(e,u),s&&(c==null||c(t))})},l.forEach(s=>{const{beforeRestore:u,afterRestore:a}=s;u==null||u(t),g(e,s),a==null||a(t),e.$subscribe((c,f)=>{p(f,s)},{detached:!0})})}}export{R as c};

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
import{a}from"./axios-upsvKRUO.1737110241000.js";import{q as i}from"./qs-B8H1bFrO.1737110241000.js";import{g as o}from"./index-CxiSgu_q.1737110241000.js";import{J as r}from"./ant-design-vue-YDCKpw9Q.1737110241000.js";const t=a.create({baseURL:"/api/v1/"});t.interceptors.request.use(e=>(e.paramsSerializer={serialize:s=>i.stringify(s,{arrayFormat:"repeat"})},e.headers.authorization=`Bearer ${o()}`,e),e=>Promise.reject(e));t.interceptors.response.use(e=>e,e=>{if(e.response.status==401){location.href="/#/login";let s="接口鉴权失败 401!";return e.response.data&&e.response.data.msg&&(s=e.response.data.msg),r.error({description:s}),Promise.reject(e)}else{let s="api error";return e.response.data&&e.response.data.msg&&(s=e.response.data.msg),r.error({description:s}),Promise.reject(e)}});export{t as r};

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
import{i}from"./compute-scroll-into-view-1gs_hJI2.1737110241000.js";function f(e){return e===Object(e)&&Object.keys(e).length!==0}function u(e,n){n===void 0&&(n="auto");var r="scrollBehavior"in document.body.style;e.forEach(function(t){var l=t.el,o=t.top,c=t.left;l.scroll&&r?l.scroll({top:o,left:c,behavior:n}):(l.scrollTop=o,l.scrollLeft=c)})}function a(e){return e===!1?{block:"end",inline:"nearest"}:f(e)?e:{block:"start",inline:"nearest"}}function v(e,n){var r=e.isConnected||e.ownerDocument.documentElement.contains(e);if(f(n)&&typeof n.behavior=="function")return n.behavior(r?i(e,n):[]);if(r){var t=a(n);return u(i(e,t),t.behavior)}}export{v as s};

View File

@ -0,0 +1 @@
import{g as u}from"./get-intrinsic-DHvDm5IU.1737110241000.js";import{d as p}from"./define-data-property-Dy2YOX90.1737110241000.js";import{h as g}from"./has-property-descriptors-Bu2BqhW-.1737110241000.js";import{g as m}from"./gopd-fcd2-aIC.1737110241000.js";import{t as v}from"./es-errors-DzOT6E3C.1737110241000.js";var h=u,a=p,l=g(),n=m,s=v,F=h("%Math.floor%"),L=function(t,r){if(typeof t!="function")throw new s("`fn` is not a function");if(typeof r!="number"||r<0||r>4294967295||F(r)!==r)throw new s("`length` must be a positive 32-bit integer");var f=arguments.length>2&&!!arguments[2],o=!0,i=!0;if("length"in t&&n){var e=n(t,"length");e&&!e.configurable&&(o=!1),e&&!e.writable&&(i=!1)}return(o||i||!f)&&(l?a(t,"length",r,!0,!0):a(t,"length",r)),t};export{L as s};

View File

@ -0,0 +1 @@
import{g as c}from"./get-intrinsic-DHvDm5IU.1737110241000.js";import{b as l}from"./call-bind-D8HxU8eU.1737110241000.js";import{o as m}from"./object-inspect-C-jZde8o.1737110241000.js";import{t as M}from"./es-errors-DzOT6E3C.1737110241000.js";var v=c,o=l,$=m,x=M,i=v("%WeakMap%",!0),p=v("%Map%",!0),d=o("WeakMap.prototype.get",!0),h=o("WeakMap.prototype.set",!0),w=o("WeakMap.prototype.has",!0),g=o("Map.prototype.get",!0),G=o("Map.prototype.set",!0),S=o("Map.prototype.has",!0),u=function(a,n){for(var r=a,e;(e=r.next)!==null;r=e)if(e.key===n)return r.next=e.next,e.next=a.next,a.next=e,e},W=function(a,n){var r=u(a,n);return r&&r.value},b=function(a,n,r){var e=u(a,n);e?e.value=r:a.next={key:n,next:a.next,value:r}},H=function(a,n){return!!u(a,n)},E=function(){var n,r,e,s={assert:function(t){if(!s.has(t))throw new x("Side channel does not contain "+$(t))},get:function(t){if(i&&t&&(typeof t=="object"||typeof t=="function")){if(n)return d(n,t)}else if(p){if(r)return g(r,t)}else if(e)return W(e,t)},has:function(t){if(i&&t&&(typeof t=="object"||typeof t=="function")){if(n)return w(n,t)}else if(p){if(r)return S(r,t)}else if(e)return H(e,t);return!1},set:function(t,f){i&&t&&(typeof t=="object"||typeof t=="function")?(n||(n=new i),h(n,t,f)):p?(r||(r=new p),G(r,t,f)):(e||(e={key:{},next:null}),b(e,t,f))}};return s};export{E as s};

View File

@ -0,0 +1 @@
var V="comm",W="rule",X="decl",y="@import",rr="@keyframes",er="@layer",Z=Math.abs,B=String.fromCharCode;function _(r){return r.trim()}function D(r,e,c){return r.replace(e,c)}function ar(r,e,c){return r.indexOf(e,c)}function I(r,e){return r.charCodeAt(e)|0}function x(r,e,c){return r.slice(e,c)}function k(r){return r.length}function cr(r){return r.length}function Y(r,e){return e.push(r),r}var P=1,L=1,$=0,v=0,i=0,S="";function G(r,e,c,n,s,d,O,o){return{value:r,root:e,parent:c,type:n,props:s,children:d,line:P,column:L,length:O,return:"",siblings:o}}function nr(){return i}function ir(){return i=v>0?I(S,--v):0,L--,i===10&&(L=1,P--),i}function h(){return i=v<$?I(S,v++):0,L++,i===10&&(L=1,P++),i}function M(){return I(S,v)}function F(){return v}function U(r,e){return x(S,r,e)}function N(r){switch(r){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function tr(r){return P=L=1,$=k(S=r),v=0,[]}function sr(r){return S="",r}function j(r){return _(U(v-1,q(r===91?r+2:r===40?r+1:r)))}function ur(r){for(;(i=M())&&i<33;)h();return N(r)>2||N(i)>3?"":" "}function fr(r,e){for(;--e&&h()&&!(i<48||i>102||i>57&&i<65||i>70&&i<97););return U(r,F()+(e<6&&M()==32&&h()==32))}function q(r){for(;h();)switch(i){case r:return v;case 34:case 39:r!==34&&r!==39&&q(i);break;case 40:r===41&&q(r);break;case 92:h();break}return v}function or(r,e){for(;h()&&r+i!==57;)if(r+i===84&&M()===47)break;return"/*"+U(e,v-1)+"*"+B(r===47?r:h())}function vr(r){for(;!N(M());)h();return U(r,v)}function br(r){return sr(K("",null,null,null,[""],r=tr(r),0,[0],r))}function K(r,e,c,n,s,d,O,o,g){for(var E=0,m=0,u=O,T=0,p=0,l=0,f=1,z=1,w=1,t=0,A="",R=s,C=d,b=n,a=A;z;)switch(l=t,t=h()){case 40:if(l!=108&&I(a,u-1)==58){ar(a+=D(j(t),"&","&\f"),"&\f",Z(E?o[E-1]:0))!=-1&&(w=-1);break}case 34:case 39:case 91:a+=j(t);break;case 9:case 10:case 13:case 32:a+=ur(l);break;case 92:a+=fr(F()-1,7);continue;case 47:switch(M()){case 42:case 47:Y(hr(or(h(),F()),e,c,g),g),(N(l||1)==5||N(M()||1)==5)&&k(a)&&x(a,-1,void 0)!==" "&&(a+=" ");break;default:a+="/"}break;case 123*f:o[E++]=k(a)*w;case 125*f:case 59:case 0:switch(t){case 0:case 125:z=0;case 59+m:w==-1&&(a=D(a,/\f/g,"")),p>0&&(k(a)-u||f===0&&l===47)&&Y(p>32?J(a+";",n,c,u-1,g):J(D(a," ","")+";",n,c,u-2,g),g);break;case 59:a+=";";default:if(Y(b=H(a,e,c,E,m,s,o,A,R=[],C=[],u,d),d),t===123)if(m===0)K(a,e,b,b,R,d,u,o,C);else switch(T===99&&I(a,3)===110?100:T){case 100:case 108:case 109:case 115:K(r,b,b,n&&Y(H(r,b,b,0,0,s,o,A,s,R=[],u,C),C),s,C,u,o,n?R:C);break;default:K(a,b,b,b,[""],C,0,o,C)}}E=m=p=0,f=w=1,A=a="",u=O;break;case 58:u=1+k(a),p=l;default:if(f<1){if(t==123)--f;else if(t==125&&f++==0&&ir()==125)continue}switch(a+=B(t),t*f){case 38:w=m>0?1:(a+="\f",-1);break;case 44:o[E++]=(k(a)-1)*w,w=1;break;case 64:M()===45&&(a+=j(h())),T=M(),m=u=k(A=a+=vr(F())),t++;break;case 45:l===45&&k(a)==2&&(f=0)}}return d}function H(r,e,c,n,s,d,O,o,g,E,m,u){for(var T=s-1,p=s===0?d:[""],l=cr(p),f=0,z=0,w=0;f<n;++f)for(var t=0,A=x(r,T+1,T=Z(z=O[f])),R=r;t<l;++t)(R=_(z>0?p[t]+" "+A:D(A,/&\f/g,p[t])))&&(g[w++]=R);return G(r,e,c,s===0?W:o,g,E,m,u)}function hr(r,e,c,n){return G(r,e,c,V,B(nr()),x(r,2,-2),0,n)}function J(r,e,c,n,s){return G(r,e,c,X,x(r,0,n),x(r,n+1,-1),n,s)}function Q(r,e){for(var c="",n=0;n<r.length;n++)c+=e(r[n],n,r,e)||"";return c}function kr(r,e,c,n){switch(r.type){case er:if(r.children.length)break;case y:case X:return r.return=r.return||r.value;case V:return"";case rr:return r.return=r.value+"{"+Q(r.children,n)+"}";case W:if(!k(r.value=r.props.join(",")))return""}return k(c=Q(r.children,n))?r.return=r.value+"{"+c+"}":""}export{kr as a,br as c,Q as s};

View File

@ -0,0 +1 @@
function M(n,d,g){var o=g||{},r=o.noTrailing,t=r===void 0?!1:r,v=o.noLeading,p=v===void 0?!1:v,m=o.debounceMode,a=m===void 0?void 0:m,i,T=!1,l=0;function b(){i&&clearTimeout(i)}function D(f){var u=f||{},e=u.upcomingOnly,s=e===void 0?!1:e;b(),T=!s}function w(){for(var f=arguments.length,u=new Array(f),e=0;e<f;e++)u[e]=arguments[e];var s=this,$=Date.now()-l;if(T)return;function c(){l=Date.now(),d.apply(s,u)}function x(){i=void 0}!p&&a&&!i&&c(),b(),a===void 0&&$>n?p?(l=Date.now(),t||(i=setTimeout(a?x:c,n))):c():t!==!0&&(i=setTimeout(a?x:c,a===void 0?n-$:n))}return w.cancel=D,w}function h(n,d,g){var o={},r=o.atBegin,t=r===void 0?!1:r;return M(n,d,{debounceMode:t!==!1})}export{h as d};

View File

@ -0,0 +1 @@
import{d}from"./pinia-D6fI-ZdN.1737110241000.js";import{r as u}from"./request-ZxzhHWJh.1737110241000.js";import{u as f}from"./vue-router-Cyqq3sEN.1737110241000.js";import{s as h,r as w}from"./index-CxiSgu_q.1737110241000.js";import{C as a}from"./crypto-js-C6P57YDX.1737110241000.js";import{r as S,f as v}from"./@vue-BfhzGpZF.1737110241000.js";const n={captcha(s){return u({url:"/captcha",method:"post",data:s})},changePassword(s,t){return u({url:`/users/${s}/reset-password`,method:"put",data:t})},userLogin(s){return u({url:"/login",method:"post",data:s})},userLogout(s){return u({url:"/logout",method:"post",data:s})}},U=d("user",()=>{const s=S({}),t=r=>{s.value=r},p=f(),c=async r=>new Promise((i,o)=>{n.userLogin({...r,password:a.SHA256(r.password).toString()}).then(e=>{e.status==200?(p.push("/"),t(e.data.user),h(e.data.token)):o()}).catch(e=>{o(e)})}),l=async()=>{(await n.userLogout()).status==200&&(p.push("/login"),s.value={},w())},g=r=>new Promise((i,o)=>{n.changePassword(m.value,{password:a.SHA256(r.password).toString(),new_password:a.SHA256(r.new_password).toString()}).then(e=>{e.status==200?i():o()}).catch(e=>{o()})}),m=v(()=>s.value&&s.value.username?s.value.username:"empty");return{userInfo:s,setUserInfo:t,login:c,logout:l,changePassword:g,getUsername:m}},{persist:!0});export{n as a,U as u};

View File

@ -0,0 +1 @@
import{C as s}from"./clipboard-DUuLqDJS.1737110241000.js";const p=i=>({toClipboard(r,n){return new Promise((d,c)=>{const o=document.createElement("button"),e=new s(o,{text:()=>r,action:()=>"copy",container:n!==void 0?n:document.body});e.on("success",t=>{e.destroy(),d(t)}),e.on("error",t=>{e.destroy(),c(t)}),document.body.appendChild(o),o.click(),document.body.removeChild(o)})}});export{p as c};

View File

@ -0,0 +1 @@
var a=!1;export{a as i};

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,8 @@
function B(t,r){for(var n=0;n<r.length;n++){var e=r[n];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(t,e.key,e)}}function S(t,r,n){return n&&B(t,n),t}function T(){return(T=Object.assign||function(t){for(var r=1;r<arguments.length;r++){var n=arguments[r];for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e])}return t}).apply(this,arguments)}function E(t,r){t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r}function N(t,r){if(t==null)return{};var n,e,u={},o=Object.keys(t);for(e=0;e<o.length;e++)r.indexOf(n=o[e])>=0||(u[n]=t[n]);return u}function x(t){return((r=t)!=null&&typeof r=="object"&&Array.isArray(r)===!1)==1&&Object.prototype.toString.call(t)==="[object Object]";var r}var V=Object.prototype,F=V.toString,D=V.hasOwnProperty,L=/^\s*function (\w+)/;function A(t){var r,n=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:t;if(n){var e=n.toString().match(L);return e?e[1]:""}return""}var b=function(t){var r,n;return x(t)!==!1&&typeof(r=t.constructor)=="function"&&x(n=r.prototype)!==!1&&n.hasOwnProperty("isPrototypeOf")!==!1},I=function(t){return t},s=I,j=function(t,r){return D.call(t,r)},J=Number.isInteger||function(t){return typeof t=="number"&&isFinite(t)&&Math.floor(t)===t},O=Array.isArray||function(t){return F.call(t)==="[object Array]"},m=function(t){return F.call(t)==="[object Function]"},w=function(t){return b(t)&&j(t,"_vueTypes_name")},Y=function(t){return b(t)&&(j(t,"type")||["_vueTypes_name","validator","default","required"].some(function(r){return j(t,r)}))};function P(t,r){return Object.defineProperty(t.bind(r),"__original",{value:t})}function g(t,r,n){var e;n===void 0&&(n=!1);var u=!0,o="";e=b(t)?t:{type:t};var f=w(e)?e._vueTypes_name+" - ":"";if(Y(e)&&e.type!==null){if(e.type===void 0||e.type===!0||!e.required&&r===void 0)return u;O(e.type)?(u=e.type.some(function(a){return g(a,r,!0)===!0}),o=e.type.map(function(a){return A(a)}).join(" or ")):u=(o=A(e))==="Array"?O(r):o==="Object"?b(r):o==="String"||o==="Number"||o==="Boolean"||o==="Function"?function(a){if(a==null)return"";var p=a.constructor.toString().match(L);return p?p[1]:""}(r)===o:r instanceof e.type}if(!u){var l=f+'value "'+r+'" should be of type "'+o+'"';return n===!1?(s(l),!1):l}if(j(e,"validator")&&m(e.validator)){var i=s,c=[];if(s=function(a){c.push(a)},u=e.validator(r),s=i,!u){var v=(c.length>1?"* ":"")+c.join(`
* `);return c.length=0,n===!1?(s(v),u):v}}return u}function y(t,r){var n=Object.defineProperties(r,{_vueTypes_name:{value:t,writable:!0},isRequired:{get:function(){return this.required=!0,this}},def:{value:function(u){return u!==void 0||this.default?m(u)||g(this,u,!0)===!0?(this.default=O(u)?function(){return[].concat(u)}:b(u)?function(){return Object.assign({},u)}:u,this):(s(this._vueTypes_name+' - invalid default value: "'+u+'"'),this):this}}}),e=n.validator;return m(e)&&(n.validator=P(e,n)),n}function h(t,r){var n=y(t,r);return Object.defineProperty(n,"validate",{value:function(e){return m(this.validator)&&s(this._vueTypes_name+` - calling .validate() will overwrite the current custom validator function. Validator info:
`+JSON.stringify(this)),this.validator=P(e,this),this}})}function q(t,r,n){var e,u,o=(e=r,u={},Object.getOwnPropertyNames(e).forEach(function(a){u[a]=Object.getOwnPropertyDescriptor(e,a)}),Object.defineProperties({},u));if(o._vueTypes_name=t,!b(n))return o;var f,l,i=n.validator,c=N(n,["validator"]);if(m(i)){var v=o.validator;v&&(v=(l=(f=v).__original)!==null&&l!==void 0?l:f),o.validator=P(v?function(a){return v.call(this,a)&&i.call(this,a)}:i,o)}return Object.assign(o,c)}function k(t){return t.replace(/^(?!\s*$)/gm," ")}var M=function(){return h("any",{})},R=function(){return h("function",{type:Function})},$=function(){return h("boolean",{type:Boolean})},z=function(){return h("string",{type:String})},C=function(){return h("number",{type:Number})},G=function(){return h("array",{type:Array})},H=function(){return h("object",{type:Object})},K=function(){return y("integer",{type:Number,validator:function(t){return J(t)}})},Q=function(){return y("symbol",{validator:function(t){return typeof t=="symbol"}})};function U(t,r){if(r===void 0&&(r="custom validation failed"),typeof t!="function")throw new TypeError("[VueTypes error]: You must provide a function as argument");return y(t.name||"<<anonymous function>>",{validator:function(n){var e=t(n);return e||s(this._vueTypes_name+" - "+r),e}})}function W(t){if(!O(t))throw new TypeError("[VueTypes error]: You must provide an array as argument.");var r='oneOf - value should be one of "'+t.join('", "')+'".',n=t.reduce(function(e,u){if(u!=null){var o=u.constructor;e.indexOf(o)===-1&&e.push(o)}return e},[]);return y("oneOf",{type:n.length>0?n:void 0,validator:function(e){var u=t.indexOf(e)!==-1;return u||s(r),u}})}function X(t){if(!O(t))throw new TypeError("[VueTypes error]: You must provide an array as argument");for(var r=!1,n=[],e=0;e<t.length;e+=1){var u=t[e];if(Y(u)){if(w(u)&&u._vueTypes_name==="oneOf"){n=n.concat(u.type);continue}if(m(u.validator)&&(r=!0),u.type!==!0&&u.type){n=n.concat(u.type);continue}}n.push(u)}return n=n.filter(function(o,f){return n.indexOf(o)===f}),y("oneOfType",r?{type:n,validator:function(o){var f=[],l=t.some(function(i){var c=g(w(i)&&i._vueTypes_name==="oneOf"?i.type||null:i,o,!0);return typeof c=="string"&&f.push(c),c===!0});return l||s("oneOfType - provided value does not match any of the "+f.length+` passed-in validators:
`+k(f.join(`
`))),l}}:{type:n})}function Z(t){return y("arrayOf",{type:Array,validator:function(r){var n,e=r.every(function(u){return(n=g(t,u,!0))===!0});return e||s(`arrayOf - value validation error:
`+k(n)),e}})}function tt(t){return y("instanceOf",{type:t})}function et(t){return y("objectOf",{type:Object,validator:function(r){var n,e=Object.keys(r).every(function(u){return(n=g(t,r[u],!0))===!0});return e||s(`objectOf - value validation error:
`+k(n)),e}})}function rt(t){var r=Object.keys(t),n=r.filter(function(u){var o;return!!(!((o=t[u])===null||o===void 0)&&o.required)}),e=y("shape",{type:Object,validator:function(u){var o=this;if(!b(u))return!1;var f=Object.keys(u);if(n.length>0&&n.some(function(i){return f.indexOf(i)===-1})){var l=n.filter(function(i){return f.indexOf(i)===-1});return s(l.length===1?'shape - required property "'+l[0]+'" is not defined.':'shape - required properties "'+l.join('", "')+'" are not defined.'),!1}return f.every(function(i){if(r.indexOf(i)===-1)return o._vueTypes_isLoose===!0||(s('shape - shape definition does not include a "'+i+'" property. Allowed keys: "'+r.join('", "')+'".'),!1);var c=g(t[i],u[i],!0);return typeof c=="string"&&s('shape - "'+i+`" property validation error:
`+k(c)),c===!0})}});return Object.defineProperty(e,"_vueTypes_isLoose",{writable:!0,value:!1}),Object.defineProperty(e,"loose",{get:function(){return this._vueTypes_isLoose=!0,this}}),e}var d=function(){function t(){}return t.extend=function(r){var n=this;if(O(r))return r.forEach(function(a){return n.extend(a)}),this;var e=r.name,u=r.validate,o=u!==void 0&&u,f=r.getter,l=f!==void 0&&f,i=N(r,["name","validate","getter"]);if(j(this,e))throw new TypeError('[VueTypes error]: Type "'+e+'" already defined');var c,v=i.type;return w(v)?(delete i.type,Object.defineProperty(this,e,l?{get:function(){return q(e,v,i)}}:{value:function(){var a,p=q(e,v,i);return p.validator&&(p.validator=(a=p.validator).bind.apply(a,[p].concat([].slice.call(arguments)))),p}})):(c=l?{get:function(){var a=Object.assign({},i);return o?h(e,a):y(e,a)},enumerable:!0}:{value:function(){var a,p,_=Object.assign({},i);return a=o?h(e,_):y(e,_),_.validator&&(a.validator=(p=_.validator).bind.apply(p,[a].concat([].slice.call(arguments)))),a},enumerable:!0},Object.defineProperty(this,e,c))},S(t,null,[{key:"any",get:function(){return M()}},{key:"func",get:function(){return R().def(this.defaults.func)}},{key:"bool",get:function(){return $().def(this.defaults.bool)}},{key:"string",get:function(){return z().def(this.defaults.string)}},{key:"number",get:function(){return C().def(this.defaults.number)}},{key:"array",get:function(){return G().def(this.defaults.array)}},{key:"object",get:function(){return H().def(this.defaults.object)}},{key:"integer",get:function(){return K().def(this.defaults.integer)}},{key:"symbol",get:function(){return Q()}}]),t}();function nt(t){var r;return t===void 0&&(t={func:function(){},bool:!0,string:"",number:0,array:function(){return[]},object:function(){return{}},integer:0}),(r=function(n){function e(){return n.apply(this,arguments)||this}return E(e,n),S(e,null,[{key:"sensibleDefaults",get:function(){return T({},this.defaults)},set:function(u){this.defaults=u!==!1?T({},u!==!0?u:t):{}}}]),e}(d)).defaults=T({},t),r}d.defaults={},d.custom=U,d.oneOf=W,d.instanceOf=tt,d.oneOfType=X,d.arrayOf=Z,d.objectOf=et,d.shape=rt,d.utils={validate:function(t,r){return g(r,t,!0)===!0},toType:function(t,r,n){return n===void 0&&(n=!1),n?h(t,r):y(t,r)}};(function(t){function r(){return t.apply(this,arguments)||this}return E(r,t),r})(nt());export{nt as z};

View File

@ -6,46 +6,46 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>EasyDarwin</title>
<script type="module" crossorigin src="/assets/js/index-BZNXQtYc.1735711566000.js"></script>
<link rel="modulepreload" crossorigin href="/assets/js/@vue-Bxslm7sw.1735711566000.js">
<link rel="modulepreload" crossorigin href="/assets/js/@babel-BiFW4_mA.1735711566000.js">
<link rel="modulepreload" crossorigin href="/assets/js/@ctrl-DOFZgDuz.1735711566000.js">
<link rel="modulepreload" crossorigin href="/assets/js/@ant-design-BLetnoCm.1735711566000.js">
<link rel="modulepreload" crossorigin href="/assets/js/es-errors-DzOT6E3C.1735711566000.js">
<link rel="modulepreload" crossorigin href="/assets/js/gopd-fcd2-aIC.1735711566000.js">
<link rel="modulepreload" crossorigin href="/assets/js/es-define-property-bDCdrV83.1735711566000.js">
<link rel="modulepreload" crossorigin href="/assets/js/has-symbols-BaUvM3gb.1735711566000.js">
<link rel="modulepreload" crossorigin href="/assets/js/function-bind-CHqF18-c.1735711566000.js">
<link rel="modulepreload" crossorigin href="/assets/js/call-bind-apply-helpers-0RM3uiXS.1735711566000.js">
<link rel="modulepreload" crossorigin href="/assets/js/dunder-proto-0l1vuzli.1735711566000.js">
<link rel="modulepreload" crossorigin href="/assets/js/hasown-DByPsmSW.1735711566000.js">
<link rel="modulepreload" crossorigin href="/assets/js/get-intrinsic-CCpWxmPk.1735711566000.js">
<link rel="modulepreload" crossorigin href="/assets/js/define-data-property-MfCsHmXW.1735711566000.js">
<link rel="modulepreload" crossorigin href="/assets/js/has-property-descriptors-Dq-3HQZp.1735711566000.js">
<link rel="modulepreload" crossorigin href="/assets/js/set-function-length-BtQInkhp.1735711566000.js">
<link rel="modulepreload" crossorigin href="/assets/js/call-bind-9I5n-WuC.1735711566000.js">
<link rel="modulepreload" crossorigin href="/assets/js/dayjs-B8XocIVj.1735711566000.js">
<link rel="modulepreload" crossorigin href="/assets/js/lodash-es-BtLQVgmQ.1735711566000.js">
<link rel="modulepreload" crossorigin href="/assets/js/resize-observer-polyfill-B1PUzC5B.1735711566000.js">
<link rel="modulepreload" crossorigin href="/assets/js/throttle-debounce-CUWDS_la.1735711566000.js">
<link rel="modulepreload" crossorigin href="/assets/js/vue-types-C5fUfLeo.1735711566000.js">
<link rel="modulepreload" crossorigin href="/assets/js/dom-align-CRCehRfe.1735711566000.js">
<link rel="modulepreload" crossorigin href="/assets/js/async-validator-DKvM95Vc.1735711566000.js">
<link rel="modulepreload" crossorigin href="/assets/js/compute-scroll-into-view-1gs_hJI2.1735711566000.js">
<link rel="modulepreload" crossorigin href="/assets/js/scroll-into-view-if-needed--Yz0kGe5.1735711566000.js">
<link rel="modulepreload" crossorigin href="/assets/js/@emotion-BtrR-yrm.1735711566000.js">
<link rel="modulepreload" crossorigin href="/assets/js/stylis-OW4gUFyn.1735711566000.js">
<link rel="modulepreload" crossorigin href="/assets/js/ant-design-vue-DoWxoWwg.1735711566000.js">
<link rel="modulepreload" crossorigin href="/assets/js/@intlify-BG2mqeYI.1735711566000.js">
<link rel="modulepreload" crossorigin href="/assets/js/vue-i18n-uJR4hMNF.1735711566000.js">
<link rel="modulepreload" crossorigin href="/assets/js/nprogress-CLSsUHm1.1735711566000.js">
<link rel="modulepreload" crossorigin href="/assets/js/vue-demi-Dq6ymT-8.1735711566000.js">
<link rel="modulepreload" crossorigin href="/assets/js/pinia-1a_NKH_A.1735711566000.js">
<link rel="modulepreload" crossorigin href="/assets/js/pinia-plugin-persistedstate-n2tMOXAx.1735711566000.js">
<link rel="modulepreload" crossorigin href="/assets/js/vue-router-DjNbiwhF.1735711566000.js">
<link rel="modulepreload" crossorigin href="/assets/js/@iconify-B0GEP3fu.1735711566000.js">
<script type="module" crossorigin src="/assets/js/index-CxiSgu_q.1737110241000.js"></script>
<link rel="modulepreload" crossorigin href="/assets/js/@vue-BfhzGpZF.1737110241000.js">
<link rel="modulepreload" crossorigin href="/assets/js/@babel-BiFW4_mA.1737110241000.js">
<link rel="modulepreload" crossorigin href="/assets/js/@ctrl-DOFZgDuz.1737110241000.js">
<link rel="modulepreload" crossorigin href="/assets/js/@ant-design-DWAmKvXw.1737110241000.js">
<link rel="modulepreload" crossorigin href="/assets/js/es-errors-DzOT6E3C.1737110241000.js">
<link rel="modulepreload" crossorigin href="/assets/js/gopd-fcd2-aIC.1737110241000.js">
<link rel="modulepreload" crossorigin href="/assets/js/es-define-property-bDCdrV83.1737110241000.js">
<link rel="modulepreload" crossorigin href="/assets/js/has-symbols-BaUvM3gb.1737110241000.js">
<link rel="modulepreload" crossorigin href="/assets/js/function-bind-CHqF18-c.1737110241000.js">
<link rel="modulepreload" crossorigin href="/assets/js/call-bind-apply-helpers-DdvJjOyj.1737110241000.js">
<link rel="modulepreload" crossorigin href="/assets/js/dunder-proto-B-2Bgiap.1737110241000.js">
<link rel="modulepreload" crossorigin href="/assets/js/hasown-DWtZAXcf.1737110241000.js">
<link rel="modulepreload" crossorigin href="/assets/js/get-intrinsic-DHvDm5IU.1737110241000.js">
<link rel="modulepreload" crossorigin href="/assets/js/define-data-property-Dy2YOX90.1737110241000.js">
<link rel="modulepreload" crossorigin href="/assets/js/has-property-descriptors-Bu2BqhW-.1737110241000.js">
<link rel="modulepreload" crossorigin href="/assets/js/set-function-length-C9mYOxiX.1737110241000.js">
<link rel="modulepreload" crossorigin href="/assets/js/call-bind-D8HxU8eU.1737110241000.js">
<link rel="modulepreload" crossorigin href="/assets/js/dayjs-Dc61Wt7u.1737110241000.js">
<link rel="modulepreload" crossorigin href="/assets/js/lodash-es-BtLQVgmQ.1737110241000.js">
<link rel="modulepreload" crossorigin href="/assets/js/resize-observer-polyfill-B1PUzC5B.1737110241000.js">
<link rel="modulepreload" crossorigin href="/assets/js/throttle-debounce-CUWDS_la.1737110241000.js">
<link rel="modulepreload" crossorigin href="/assets/js/vue-types-C5fUfLeo.1737110241000.js">
<link rel="modulepreload" crossorigin href="/assets/js/dom-align-CRCehRfe.1737110241000.js">
<link rel="modulepreload" crossorigin href="/assets/js/async-validator-DKvM95Vc.1737110241000.js">
<link rel="modulepreload" crossorigin href="/assets/js/compute-scroll-into-view-1gs_hJI2.1737110241000.js">
<link rel="modulepreload" crossorigin href="/assets/js/scroll-into-view-if-needed-DrbnJgYN.1737110241000.js">
<link rel="modulepreload" crossorigin href="/assets/js/@emotion-BtrR-yrm.1737110241000.js">
<link rel="modulepreload" crossorigin href="/assets/js/stylis-OW4gUFyn.1737110241000.js">
<link rel="modulepreload" crossorigin href="/assets/js/ant-design-vue-YDCKpw9Q.1737110241000.js">
<link rel="modulepreload" crossorigin href="/assets/js/@intlify-BG2mqeYI.1737110241000.js">
<link rel="modulepreload" crossorigin href="/assets/js/vue-i18n-Dpn4gLhm.1737110241000.js">
<link rel="modulepreload" crossorigin href="/assets/js/nprogress-DU86DrGV.1737110241000.js">
<link rel="modulepreload" crossorigin href="/assets/js/vue-demi-Dq6ymT-8.1737110241000.js">
<link rel="modulepreload" crossorigin href="/assets/js/pinia-D6fI-ZdN.1737110241000.js">
<link rel="modulepreload" crossorigin href="/assets/js/pinia-plugin-persistedstate-n2tMOXAx.1737110241000.js">
<link rel="modulepreload" crossorigin href="/assets/js/vue-router-Cyqq3sEN.1737110241000.js">
<link rel="modulepreload" crossorigin href="/assets/js/@iconify-C9sTFQfd.1737110241000.js">
<link rel="stylesheet" crossorigin href="/assets/ant-design-vue-B6snAd4S.css">
<link rel="stylesheet" crossorigin href="/assets/index-iIaaA9_C.css">
<link rel="stylesheet" crossorigin href="/assets/index-LkSneXR8.css">
<link rel="stylesheet" crossorigin href="/assets/animate-BaVkx4tQ.css">
</head>
<body>

Binary file not shown.

1
Win/configs/.daemon.dat Normal file
View File

@ -0,0 +1 @@
{"PID":32048,"Args":["D:\\GoMod\\EasyDarwinCode\\Win\\EasyDarwin.com","-daemon","127.0.0.1:54330"]}

View File

@ -1,4 +1,4 @@
lanip = '192.168.0.11'
lanip = ''
serverid = 'local'
wanip = ''
@ -104,7 +104,7 @@ enable = true
[rtcconfig]
enable = true
enablehttps = true
icehostnattoips = ['192.168.0.11', '112.123.213.206']
icehostnattoips = ['192.168.0.11']
icetcpmuxport = 24888
iceudpmuxport = 24888
pubtimeoutsec = 10
@ -151,3 +151,35 @@ pubtimeoutsec = 0
[staticrelaypull]
addr = ''
enable = false
# 录像
[Storage]
# 存储路径,支持绝对路径和相对路径
Path = './r'
# 存储天数
Days = 3
# 存储使用率(%)
DiskUsageRatio = 85.95
# 分片时长,单位秒
FragmentDurationS = 20
# 录像文件格式
Format = 'mp4'
# 开启第三方云服务对象存储
EnabledCloudStorage = false
# access key
Key = ''
# secret key
Secret = ''
# endpoint
Endpoint = ''
# region
Region = ''
# bucket
Bucket = ''
# 超时时间(毫秒)
Timeout = 30000
# 重试次数
Retry = 0
# 并发上传文件数
Concurrency = 8
# 缓冲队列长度
QueueLength = 512

BIN
Win/configs/data.db Normal file

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1 @@
.player-pro-live[data-v-6c74e060]{width:100%;height:100%;background:#000;background-size:100% 100%;background-repeat:no-repeat}.player-pro-live .easyplayer-poster[data-v-6c74e060]{background-size:100% 100%}.player-pro-live:hover .easyplayer-controls[data-v-6c74e060]{opacity:1!important}.player-pro-live .easyplayer-controls[data-v-6c74e060]{opacity:0!important}.img-box[data-v-8b851b1f]{width:100%;height:100%}.img-box .anticon[data-v-8b851b1f]{font-size:28px}.img-box img[data-v-8b851b1f]{max-height:100%;max-width:100%}.json-display[data-v-6c7e5742]{width:400px;height:500px;white-space:pre-wrap;word-break:break-all;font-family:monospace}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
.config-box{height:100%}.config-box .ant-form-item-control-input-content .info{display:block;font-size:14px;color:#aaa;padding:4px 0}.config-box .brtl{border-radius:0 6px 6px 0}.config-box .ant-input,.config-box .ant-form-item-control-input{max-width:460px}.config-box .ant-menu{height:100%;padding:10px 0;width:100%;border-radius:8px 0 0 8px!important}.config-box .ant-card{max-height:100%;height:100%;border:0;overflow:auto;border-radius:0 8px 8px 0!important;position:relative}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
function o(t){"@babel/helpers - typeof";return o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(t)}function a(t,e){if(o(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(o(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function f(t){var e=a(t,"string");return o(e)=="symbol"?e:e+""}function b(t,e,r){return(e=f(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function i(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(c){return Object.getOwnPropertyDescriptor(t,c).enumerable})),r.push.apply(r,n)}return r}function y(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?i(Object(r),!0).forEach(function(n){b(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function u(){return u=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)({}).hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},u.apply(null,arguments)}export{u as _,y as a};

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
function t(o){for(var e=0,r,f=0,i=o.length;i>=4;++f,i-=4)r=o.charCodeAt(f)&255|(o.charCodeAt(++f)&255)<<8|(o.charCodeAt(++f)&255)<<16|(o.charCodeAt(++f)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,e=(r&65535)*1540483477+((r>>>16)*59797<<16)^(e&65535)*1540483477+((e>>>16)*59797<<16);switch(i){case 3:e^=(o.charCodeAt(f+2)&255)<<16;case 2:e^=(o.charCodeAt(f+1)&255)<<8;case 1:e^=o.charCodeAt(f)&255,e=(e&65535)*1540483477+((e>>>16)*59797<<16)}return e^=e>>>13,e=(e&65535)*1540483477+((e>>>16)*59797<<16),((e^e>>>15)>>>0).toString(36)}var a={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};export{t as m,a as u};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
import{u as s}from"./vue-router-Cyqq3sEN.1737110241000.js";import{u as a}from"./vue-i18n-Dpn4gLhm.1737110241000.js";import{$ as n,B as u}from"./ant-design-vue-YDCKpw9Q.1737110241000.js";import{V as c,X as i,u as t,W as _,c as l,J as f,$ as d}from"./@vue-BfhzGpZF.1737110241000.js";import"./@intlify-BG2mqeYI.1737110241000.js";import"./@babel-BiFW4_mA.1737110241000.js";import"./@ant-design-DWAmKvXw.1737110241000.js";import"./@ctrl-DOFZgDuz.1737110241000.js";import"./dayjs-Dc61Wt7u.1737110241000.js";import"./call-bind-D8HxU8eU.1737110241000.js";import"./get-intrinsic-DHvDm5IU.1737110241000.js";import"./es-errors-DzOT6E3C.1737110241000.js";import"./gopd-fcd2-aIC.1737110241000.js";import"./es-define-property-bDCdrV83.1737110241000.js";import"./has-symbols-BaUvM3gb.1737110241000.js";import"./dunder-proto-B-2Bgiap.1737110241000.js";import"./call-bind-apply-helpers-DdvJjOyj.1737110241000.js";import"./function-bind-CHqF18-c.1737110241000.js";import"./hasown-DWtZAXcf.1737110241000.js";import"./set-function-length-C9mYOxiX.1737110241000.js";import"./define-data-property-Dy2YOX90.1737110241000.js";import"./has-property-descriptors-Bu2BqhW-.1737110241000.js";import"./lodash-es-BtLQVgmQ.1737110241000.js";import"./resize-observer-polyfill-B1PUzC5B.1737110241000.js";import"./throttle-debounce-CUWDS_la.1737110241000.js";import"./vue-types-C5fUfLeo.1737110241000.js";import"./dom-align-CRCehRfe.1737110241000.js";import"./async-validator-DKvM95Vc.1737110241000.js";import"./scroll-into-view-if-needed-DrbnJgYN.1737110241000.js";import"./compute-scroll-into-view-1gs_hJI2.1737110241000.js";import"./@emotion-BtrR-yrm.1737110241000.js";import"./stylis-OW4gUFyn.1737110241000.js";const Q={__name:"NotFoundView",setup(x){const m=s(),{t:o}=a();return(b,r)=>{const p=u,e=n;return _(),c(e,{status:"404",title:"404","sub-title":t(o)("message.sorryPageNotFound")},{extra:i(()=>[l(p,{type:"primary",onClick:r[0]||(r[0]=()=>t(m).push("/"))},{default:i(()=>[f(d(t(o)("setting.backToHome")),1)]),_:1})]),_:1},8,["sub-title"])}}};export{Q as default};

View File

@ -0,0 +1 @@
const s=(t,r)=>{const o=t.__vccOpts||t;for(const[c,e]of r)o[c]=e;return o};export{s as _};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
import{d as t}from"./pinia-D6fI-ZdN.1737110241000.js";import"./request-ZxzhHWJh.1737110241000.js";import{b as a}from"./base-DpfWbqA7.1737110241000.js";import{r as n}from"./@vue-BfhzGpZF.1737110241000.js";const c=t("base",()=>{const e=n({});return{getServerInfo:async()=>{const o=s=>s[0].toUpperCase()+s.slice(1);if(e.value&&e.value.version)return;const r=await a.versionInfo();r.status==200&&(e.value=r.data,e.value.server=o(e.value.server))},serverInfo:e}});export{c as u};

View File

@ -0,0 +1 @@
import{r}from"./request-ZxzhHWJh.1737110241000.js";const e={versionInfo(o){return r({url:"/version",method:"get",params:o})},setReboot(){return r({url:"/app/reboot",method:"post"})},getConfigBase(){return r({url:"/configs/base",method:"get"})},postConfigBase(o,t){return r({url:`/configs/base?is_reload=${t}`,method:"post",data:o})},postConfigStream(o,t){return r({url:`/configs/stream?is_reload=${t}`,method:"post",data:o})},postConfigData(o,t){return r({url:`/configs/data?is_reload=${t}`,method:"post",data:o})},postConfigHls(o,t){return r({url:`/configs/hls?is_reload=${t}`,method:"post",data:o})},postConfigRtc(o,t){return r({url:`/configs/rtc?is_reload=${t}`,method:"post",data:o})},postConfigRtmp(o,t){return r({url:`/configs/rtmp?is_reload=${t}`,method:"post",data:o})},postConfigRtsp(o,t){return r({url:`/configs/rtsp?is_reload=${t}`,method:"post",data:o})},postConfigRecord(o,t){return r({url:`/configs/record?is_reload=${t}`,method:"post",data:o})},postConfigBaseLog(o,t){return r({url:`/configs/baselog?is_reload=${t}`,method:"post",data:o})},postConfigStreamLog(o,t){return r({url:`/configs/streamlog?is_reload=${t}`,method:"post",data:o})}};export{e as b};

View File

@ -0,0 +1 @@
import{g as f}from"./get-intrinsic-DHvDm5IU.1737110241000.js";import{s as c}from"./set-function-length-C9mYOxiX.1737110241000.js";import{e as d}from"./es-define-property-bDCdrV83.1737110241000.js";import{c as y,a as g}from"./call-bind-apply-helpers-DdvJjOyj.1737110241000.js";var w=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function x(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function P(e){if(e.__esModule)return e;var n=e.default;if(typeof n=="function"){var r=function t(){return this instanceof t?Reflect.construct(n,arguments,this.constructor):n.apply(this,arguments)};r.prototype=n.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(t){var o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,o.get?o:{enumerable:!0,get:function(){return e[t]}})}),r}var i={exports:{}};(function(e){var n=c,r=d,t=y,o=g;e.exports=function(p){var u=t(arguments),a=p.length-(arguments.length-1);return n(u,1+(a>0?a:0),!0)},r?r(e.exports,"apply",{value:o}):e.exports.apply=o})(i);var v=i.exports,s=f,l=v,m=l(s("String.prototype.indexOf")),_=function(n,r){var t=s(n,!!r);return typeof t=="function"&&m(n,".prototype.")>-1?l(t):t};export{P as a,_ as b,w as c,x as g};

View File

@ -0,0 +1 @@
import{r as l}from"./function-bind-CHqF18-c.1737110241000.js";import{t as o}from"./es-errors-DzOT6E3C.1737110241000.js";var a,t;function p(){return t||(t=1,a=Function.prototype.call),a}var n,e;function i(){return e||(e=1,n=Function.prototype.apply),n}var f=typeof Reflect<"u"&&Reflect&&Reflect.apply,y=l(),v=i(),d=p(),$=f,u=$||y.call(d,v),s=l(),A=o,F=p(),q=u,C=function(r){if(r.length<1||typeof r[0]!="function")throw new A("a function is required");return q(s,F,r)},B=l(),m=i(),R=u,w=function(){return R(B,m,arguments)};export{w as a,p as b,C as c,i as r};

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
function J(e){return typeof e=="object"&&e!=null&&e.nodeType===1}function R(e,r){return(!r||e!=="hidden")&&e!=="visible"&&e!=="clip"}function q(e,r){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var o=getComputedStyle(e,null);return R(o.overflowY,r)||R(o.overflowX,r)||function(u){var i=function(n){if(!n.ownerDocument||!n.ownerDocument.defaultView)return null;try{return n.ownerDocument.defaultView.frameElement}catch{return null}}(u);return!!i&&(i.clientHeight<u.scrollHeight||i.clientWidth<u.scrollWidth)}(e)}return!1}function Q(e,r,o,u,i,n,d,c){return n<e&&d>r||n>e&&d<r?0:n<=e&&c<=o||d>=r&&c>=o?n-e-u:d>r&&c<o||n<e&&c>o?d-r+i:0}var te=function(e,r){var o=window,u=r.scrollMode,i=r.block,n=r.inline,d=r.boundary,c=r.skipOverflowHiddenElements,B=typeof d=="function"?d:function(ee){return ee!==d};if(!J(e))throw new TypeError("Invalid target");for(var z,A,F=document.scrollingElement||document.documentElement,y=[],l=e;J(l)&&B(l);){if((l=(A=(z=l).parentElement)==null?z.getRootNode().host||null:A)===F){y.push(l);break}l!=null&&l===document.body&&q(l)&&!q(document.documentElement)||l!=null&&q(l,c)&&y.push(l)}for(var w=o.visualViewport?o.visualViewport.width:innerWidth,m=o.visualViewport?o.visualViewport.height:innerHeight,v=window.scrollX||pageXOffset,W=window.scrollY||pageYOffset,g=e.getBoundingClientRect(),H=g.height,b=g.width,M=g.top,U=g.right,Z=g.bottom,V=g.left,f=i==="start"||i==="nearest"?M:i==="end"?Z:M+H/2,h=n==="center"?V+b/2:n==="end"?U:V,$=[],j=0;j<y.length;j++){var t=y[j],p=t.getBoundingClientRect(),x=p.height,E=p.width,I=p.top,D=p.right,N=p.bottom,T=p.left;if(u==="if-needed"&&M>=0&&V>=0&&Z<=m&&U<=w&&M>=I&&Z<=N&&V>=T&&U<=D)return $;var k=getComputedStyle(t),L=parseInt(k.borderLeftWidth,10),O=parseInt(k.borderTopWidth,10),S=parseInt(k.borderRightWidth,10),X=parseInt(k.borderBottomWidth,10),s=0,a=0,Y="offsetWidth"in t?t.offsetWidth-t.clientWidth-L-S:0,_="offsetHeight"in t?t.offsetHeight-t.clientHeight-O-X:0,K="offsetWidth"in t?t.offsetWidth===0?0:E/t.offsetWidth:0,P="offsetHeight"in t?t.offsetHeight===0?0:x/t.offsetHeight:0;if(F===t)s=i==="start"?f:i==="end"?f-m:i==="nearest"?Q(W,W+m,m,O,X,W+f,W+f+H,H):f-m/2,a=n==="start"?h:n==="center"?h-w/2:n==="end"?h-w:Q(v,v+w,w,L,S,v+h,v+h+b,b),s=Math.max(0,s+W),a=Math.max(0,a+v);else{s=i==="start"?f-I-O:i==="end"?f-N+X+_:i==="nearest"?Q(I,N,x,O,X+_,f,f+H,H):f-(I+x/2)+_/2,a=n==="start"?h-T-L:n==="center"?h-(T+E/2)+Y/2:n==="end"?h-D+S+Y:Q(T,D,E,L,S+Y,h,h+b,b);var C=t.scrollLeft,G=t.scrollTop;f+=G-(s=Math.max(0,Math.min(G+s/P,t.scrollHeight-x/P+_))),h+=C-(a=Math.max(0,Math.min(C+a/K,t.scrollWidth-E/K+Y)))}$.push({el:t,top:s,left:a})}return $};export{te as i};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show More