diff --git a/assets/default-layout.ab8c2e04.js b/assets/default-layout.5cab7983.js
similarity index 90%
rename from assets/default-layout.ab8c2e04.js
rename to assets/default-layout.5cab7983.js
index d35e384..f933462 100644
--- a/assets/default-layout.ab8c2e04.js
+++ b/assets/default-layout.5cab7983.js
@@ -1,4 +1,4 @@
-import{u as zi,b as rd,c as id,d as Do,e as Ve,v as ud,l as Po,_ as St,f as fd,g as od,h as sd,i as ad,j as qi,R as ld,D as cd,k as hd,m as _d,n as pd,o as gd,p as dd,r as vd}from"./index.cddd8fd4.js";import{F as wd}from"./index.ac76cb12.js";import{aY as xd,aO as At,c as rn,d as je,f as Qe,aI as H,bf as md,bg as yd,h as Lo,bh as Ro,bi as bd,bj as Ad,i as Sd,b8 as Id,bk as Ed,C as an,D as wr,G as ln,aH as j,aM as To,u as Ae,aE as wn,aF as Pe,aN as Fo,bl as Ld,Q as Rd,aZ as Td,ao as Cd,bm as Od,E as Bo,bn as Md,a2 as Dd,bo as Pd,bc as Wo,bd as Uo,w as $o,bp as Fd,bq as Bd,aK as Wd,aJ as Ud,o as No,br as $d,b as Nd,b0 as Hd,bs as Co,bt as Gd,bu as Kd,p as zd,aX as qd,bv as Zd,bw as Yd,bx as kd,F as Oo,by as Xd,bz as Jd}from"./arco.f883ed21.js";import{f as xr,h as Zi,i as Qd,j as Vd,k as jd,l as n0}from"./vue.170d1f1d.js";/* empty css *//* empty css *//* empty css *//* empty css */import{d as Mo,c as e0,e as t0}from"./serial.b70f48dc.js";import"./chart.977fd17b.js";const Ho="LoseHu 118+",Go="official",Ko="official",r0={name:Ho,uart:Go,charset:Ko},i0=Object.freeze(Object.defineProperty({__proto__:null,name:Ho,uart:Go,charset:Ko,default:r0},Symbol.toStringTag,{value:"Module"})),zo="LoseHu 118+ 2Mbit \u6269\u5BB9\u7248",qo="losehu",Zo="gb2312",Yo=!0,u0={name:zo,uart:qo,charset:Zo,H:Yo},f0=Object.freeze(Object.defineProperty({__proto__:null,name:zo,uart:qo,charset:Zo,H:Yo,default:u0},Symbol.toStringTag,{value:"Module"})),ko="LoseHu 118+ \u6269\u5BB9\u7248",Xo="losehu",Jo="gb2312",Qo=!0,o0={name:ko,uart:Xo,charset:Jo,K:Qo},s0=Object.freeze(Object.defineProperty({__proto__:null,name:ko,uart:Xo,charset:Jo,K:Qo,default:o0},Symbol.toStringTag,{value:"Module"})),Vo="LoseHu Patch LTS\uFF08BD8DFN\uFF09",jo="official",ns="official",es=!0,a0={name:Vo,uart:jo,charset:ns,localmdc:es},l0=Object.freeze(Object.defineProperty({__proto__:null,name:Vo,uart:jo,charset:ns,localmdc:es,default:a0},Symbol.toStringTag,{value:"Module"})),ts="LoseHu Patch LTS\uFF08BD8DFN\uFF09\u6269\u5BB9\u7248",rs="losehu",is="losehu",us=!0,fs=!0,c0={name:ts,uart:rs,charset:is,K:us,localmdc:fs},h0=Object.freeze(Object.defineProperty({__proto__:null,name:ts,uart:rs,charset:is,K:us,localmdc:fs,default:c0},Symbol.toStringTag,{value:"Module"})),os="Official",_0={name:os},p0=Object.freeze(Object.defineProperty({__proto__:null,name:os,default:_0},Symbol.toStringTag,{value:"Module"}));function g0(){const A=xr(),E=zi();return{logout:async N=>{await E.logout();const W=A.currentRoute.value;xd.success("\u767B\u51FA\u6210\u529F"),A.push({name:N&&typeof N=="string"?N:"login",query:{...A.currentRoute.value.query,redirect:W.name}})}}}const d0=(A,E)=>{const{target:o="_blank",...N}=E||{};window.open(A,o,Object.entries(N).reduce((W,un)=>{const[C,q]=un;return[...W,`${C}=${q}`]},[]).join(","))},v0=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"),w0=[...rd,...id],x0=w0.map(A=>{const{name:E,path:o,meta:N,redirect:W,children:un}=A;return{name:E,path:o,meta:N,redirect:W,children:un}}),m0=x0;var Gi={exports:{}};/**
+import{u as zi,b as rd,c as id,d as Do,e as Ve,v as ud,l as Po,_ as St,f as fd,g as od,h as sd,i as ad,j as qi,R as ld,D as cd,k as hd,m as _d,n as pd,o as gd,p as dd,r as vd}from"./index.870d30e3.js";import{F as wd}from"./index.3d2856c9.js";import{aY as xd,aO as At,c as rn,d as je,f as Qe,aI as H,bf as md,bg as yd,h as Lo,bh as Ro,bi as bd,bj as Ad,i as Sd,b8 as Id,bk as Ed,C as an,D as wr,G as ln,aH as j,aM as To,u as Ae,aE as wn,aF as Pe,aN as Fo,bl as Ld,Q as Rd,aZ as Td,ao as Cd,bm as Od,E as Bo,bn as Md,a2 as Dd,bo as Pd,bc as Wo,bd as Uo,w as $o,bp as Fd,bq as Bd,aK as Wd,aJ as Ud,o as No,br as $d,b as Nd,b0 as Hd,bs as Co,bt as Gd,bu as Kd,p as zd,aX as qd,bv as Zd,bw as Yd,bx as kd,F as Oo,by as Xd,bz as Jd}from"./arco.f883ed21.js";import{f as xr,h as Zi,i as Qd,j as Vd,k as jd,l as n0}from"./vue.170d1f1d.js";/* empty css *//* empty css *//* empty css *//* empty css */import{d as Mo,c as e0,e as t0}from"./serial.b70f48dc.js";import"./chart.977fd17b.js";const Ho="LoseHu 118+",Go="official",Ko="official",r0={name:Ho,uart:Go,charset:Ko},i0=Object.freeze(Object.defineProperty({__proto__:null,name:Ho,uart:Go,charset:Ko,default:r0},Symbol.toStringTag,{value:"Module"})),zo="LoseHu 118+ 2Mbit \u6269\u5BB9\u7248",qo="losehu",Zo="gb2312",Yo=!0,u0={name:zo,uart:qo,charset:Zo,H:Yo},f0=Object.freeze(Object.defineProperty({__proto__:null,name:zo,uart:qo,charset:Zo,H:Yo,default:u0},Symbol.toStringTag,{value:"Module"})),ko="LoseHu 118+ \u6269\u5BB9\u7248",Xo="losehu",Jo="gb2312",Qo=!0,o0={name:ko,uart:Xo,charset:Jo,K:Qo},s0=Object.freeze(Object.defineProperty({__proto__:null,name:ko,uart:Xo,charset:Jo,K:Qo,default:o0},Symbol.toStringTag,{value:"Module"})),Vo="LoseHu Patch LTS\uFF08BD8DFN\uFF09",jo="official",ns="official",es=!0,a0={name:Vo,uart:jo,charset:ns,localmdc:es},l0=Object.freeze(Object.defineProperty({__proto__:null,name:Vo,uart:jo,charset:ns,localmdc:es,default:a0},Symbol.toStringTag,{value:"Module"})),ts="LoseHu Patch LTS\uFF08BD8DFN\uFF09\u6269\u5BB9\u7248",rs="losehu",is="losehu",us=!0,fs=!0,c0={name:ts,uart:rs,charset:is,K:us,localmdc:fs},h0=Object.freeze(Object.defineProperty({__proto__:null,name:ts,uart:rs,charset:is,K:us,localmdc:fs,default:c0},Symbol.toStringTag,{value:"Module"})),os="Official",_0={name:os},p0=Object.freeze(Object.defineProperty({__proto__:null,name:os,default:_0},Symbol.toStringTag,{value:"Module"}));function g0(){const A=xr(),E=zi();return{logout:async N=>{await E.logout();const W=A.currentRoute.value;xd.success("\u767B\u51FA\u6210\u529F"),A.push({name:N&&typeof N=="string"?N:"login",query:{...A.currentRoute.value.query,redirect:W.name}})}}}const d0=(A,E)=>{const{target:o="_blank",...N}=E||{};window.open(A,o,Object.entries(N).reduce((W,un)=>{const[C,q]=un;return[...W,`${C}=${q}`]},[]).join(","))},v0=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"),w0=[...rd,...id],x0=w0.map(A=>{const{name:E,path:o,meta:N,redirect:W,children:un}=A;return{name:E,path:o,meta:N,redirect:W,children:un}}),m0=x0;var Gi={exports:{}};/**
* @license
* Lodash
* Copyright OpenJS Foundation and other contributors
@@ -24,4 +24,4 @@ __p += '`),$&&(d+=`' +
function print() { __p += __j.call(arguments, '') }
`:`;
`)+d+`return __p
-}`;var D=So(function(){return K(f,m+"return "+d).apply(o,s)});if(D.source=d,Oi(D))throw D;return D}function lg(n){return z(n).toLowerCase()}function cg(n){return z(n).toUpperCase()}function hg(n,e,t){if(n=z(n),n&&(t||e===o))return Ou(n);if(!n||!(e=Pn(e)))return n;var r=kn(n),i=kn(e),f=Mu(r,i),s=Du(r,i)+1;return ye(r,f,s).join("")}function _g(n,e,t){if(n=z(n),n&&(t||e===o))return n.slice(0,Fu(n)+1);if(!n||!(e=Pn(e)))return n;var r=kn(n),i=Du(r,kn(e))+1;return ye(r,0,i).join("")}function pg(n,e,t){if(n=z(n),n&&(t||e===o))return n.replace(Or,"");if(!n||!(e=Pn(e)))return n;var r=kn(n),i=Mu(r,kn(e));return ye(r,i).join("")}function gg(n,e){var t=ss,r=as;if(en(e)){var i="separator"in e?e.separator:i;t="length"in e?T(e.length):t,r="omission"in e?Pn(e.omission):r}n=z(n);var f=n.length;if($e(n)){var s=kn(n);f=s.length}if(t>=f)return n;var a=t-Ne(r);if(a<1)return r;var c=s?ye(s,0,a).join(""):n.slice(0,a);if(i===o)return c+r;if(s&&(a+=c.length-a),Mi(i)){if(n.slice(a).search(i)){var p,g=c;for(i.global||(i=kr(i.source,z(ji.exec(i))+"g")),i.lastIndex=0;p=i.exec(g);)var d=p.index;c=c.slice(0,d===o?a:d)}}else if(n.indexOf(Pn(i),a)!=a){var v=c.lastIndexOf(i);v>-1&&(c=c.slice(0,v))}return c+r}function dg(n){return n=z(n),n&&Ls.test(n)?n.replace(Ji,qa):n}var vg=Ye(function(n,e,t){return n+(t?" ":"")+e.toUpperCase()}),Fi=Sf("toUpperCase");function Ao(n,e,t){return n=z(n),e=t?o:e,e===o?Na(n)?ka(n):Oa(n):n.match(e)||[]}var So=P(function(n,e){try{return Mn(n,o,e)}catch(t){return Oi(t)?t:new L(t)}}),wg=se(function(n,e){return $n(e,function(t){t=ee(t),fe(n,t,Ti(n[t],n))}),n});function xg(n){var e=n==null?0:n.length,t=b();return n=e?nn(n,function(r){if(typeof r[1]!="function")throw new Nn(C);return[t(r[0]),r[1]]}):[],P(function(r){for(var i=-1;++i_e)return[];var t=Vn,r=yn(n,Vn);e=b(e),n-=Vn;for(var i=qr(r,e);++t0||e<0)?new U(t):(n<0?t=t.takeRight(-n):n&&(t=t.drop(n)),e!==o&&(e=T(e),t=e<0?t.dropRight(-e):t.take(e-n)),t)},U.prototype.takeRightWhile=function(n){return this.reverse().takeWhile(n).reverse()},U.prototype.toArray=function(){return this.take(Vn)},jn(U.prototype,function(n,e){var t=/^(?:filter|find|map|reject)|While$/.test(e),r=/^(?:head|last)$/.test(e),i=u[r?"take"+(e=="last"?"Right":""):e],f=r||/^find/.test(e);!i||(u.prototype[e]=function(){var s=this.__wrapped__,a=r?[1]:arguments,c=s instanceof U,p=a[0],g=c||R(s),d=function(B){var $=i.apply(u,ge([B],a));return r&&v?$[0]:$};g&&t&&typeof p=="function"&&p.length!=1&&(c=g=!1);var v=this.__chain__,m=!!this.__actions__.length,S=f&&!v,D=c&&!m;if(!f&&g){s=D?s:new U(this);var I=n.apply(s,a);return I.__actions__.push({func:lr,args:[d],thisArg:o}),new Hn(I,v)}return S&&D?n.apply(this,a):(I=this.thru(d),S?r?I.value()[0]:I.value():I)})}),$n(["pop","push","shift","sort","splice","unshift"],function(n){var e=Bt[n],t=/^(?:push|sort|unshift)$/.test(n)?"tap":"thru",r=/^(?:pop|shift)$/.test(n);u.prototype[n]=function(){var i=arguments;if(r&&!this.__chain__){var f=this.value();return e.apply(R(f)?f:[],i)}return this[t](function(s){return e.apply(R(s)?s:[],i)})}}),jn(U.prototype,function(n,e){var t=u[e];if(t){var r=t.name+"";k.call(ze,r)||(ze[r]=[]),ze[r].push({name:e,func:t})}}),ze[rr(o,M).name]=[{name:"wrapper",func:o}],U.prototype.clone=dl,U.prototype.reverse=vl,U.prototype.value=wl,u.prototype.at=Yh,u.prototype.chain=kh,u.prototype.commit=Xh,u.prototype.next=Jh,u.prototype.plant=Vh,u.prototype.reverse=jh,u.prototype.toJSON=u.prototype.valueOf=u.prototype.value=n_,u.prototype.first=u.prototype.head,at&&(u.prototype[at]=Qh),u},He=Xa();Ie?((Ie.exports=He)._=He,Wr._=He):dn._=He}).call(At)})(Gi,Gi.exports);function y0(){const A=Do(),E=Ve(),o=rn(()=>E.menuFromServer?E.appAsyncMenus:m0);return{menuTree:rn(()=>{const W=Gi.exports.cloneDeep(o.value);W.sort((C,q)=>(C.meta.order||0)-(q.meta.order||0));function un(C,q){return C?C.map(Z=>{var fn,An;if(!A.accessRouter(Z))return null;if(((fn=Z.meta)==null?void 0:fn.hideChildrenInMenu)||!Z.children)return Z.children=[],Z;Z.children=Z.children.filter(F=>{var y;return((y=F.meta)==null?void 0:y.hideInMenu)!==!0});const pn=un(Z.children,q+1);return pn.length||q>1?(Z.children=pn,Z):((An=Z.meta)==null?void 0:An.hideInMenu)===!1?Z:null}).filter(Boolean):null}return un(W,0)})}}function b0(A){return typeof A=="function"||Object.prototype.toString.call(A)==="[object Object]"&&!yd(A)}const A0=je({emit:["collapse"],setup(){const{t:A}=ud.exports.useI18n(),E=Ve(),o=xr(),N=Zi(),{menuTree:W}=y0(),un=rn({get(){return E.device==="desktop"?E.menuCollapse:!1},set(F){E.updateSettings({menuCollapse:F})}}),C=rn(()=>E.topMenu),q=Qe([]),_n=Qe([]),Z=F=>{if(v0.test(F.path)){d0(F.path),_n.value=[F.name];return}const{hideInMenu:y,activeMenu:O}=F.meta;if(N.name===F.name&&!y&&!O){_n.value=[F.name];return}o.push({name:F.name})},pn=F=>{const y=[];let O=!1;const x=(M,Y)=>{var G;if(M.name===F){O=!0,y.push(...Y);return}(G=M.children)!=null&&G.length&&M.children.forEach(X=>{x(X,[...Y,X.name])})};return W.value.forEach(M=>{O||x(M,[M.name])}),y};Po(F=>{const{requiresAuth:y,activeMenu:O,hideInMenu:x}=F.meta;if(y&&(!x||O)){const M=pn(O||F.name),Y=new Set([...M,...q.value]);q.value=[...Y],_n.value=[O||M[M.length-1]]}},!0);const fn=F=>{E.device==="desktop"&&E.updateSettings({menuCollapse:F})},An=()=>{function F(y,O=[]){return y&&y.forEach(x=>{var G;const M=(G=x==null?void 0:x.meta)!=null&&G.icon?()=>{var X;return Lo(Ro(`<${(X=x==null?void 0:x.meta)==null?void 0:X.icon}/>`))}:null,Y=(x==null?void 0:x.children)&&(x==null?void 0:x.children.length)!==0?H(bd,{key:x==null?void 0:x.name},{default:()=>[F(x==null?void 0:x.children)],icon:M,title:()=>{var X;return Lo(Ro(A(((X=x==null?void 0:x.meta)==null?void 0:X.locale)||"")))}}):H(Ad,{key:x==null?void 0:x.name,onClick:()=>Z(x)},{default:()=>{var X;return[A(((X=x==null?void 0:x.meta)==null?void 0:X.locale)||"")]},icon:M});O.push(Y)}),O}return F(W.value)};return()=>{let F;return H(md,{mode:C.value?"horizontal":"vertical",collapsed:un.value,"onUpdate:collapsed":y=>un.value=y,"open-keys":q.value,"onUpdate:open-keys":y=>q.value=y,"show-collapse-button":E.device!=="mobile","auto-open":!1,"selected-keys":_n.value,"auto-open-selected":!0,"level-indent":34,style:"height: 100%;width:100%;",onCollapse:fn},b0(F=An())?F:{default:()=>[F]})}}});const Ki=St(A0,[["__scopeId","data-v-cc9f2848"]]),S0={class:"navbar"},I0={class:"left-side"},E0={class:"center-side"},L0={class:"right-side"},R0=je({__name:"index",setup(A){const E=Object.assign({"/src/drivers/losehu118.json":i0,"/src/drivers/losehu118h.json":f0,"/src/drivers/losehu118k.json":s0,"/src/drivers/lts.json":l0,"/src/drivers/ltsk.json":h0,"/src/drivers/todo.json":p0}),o=Ve(),N=zi();g0(),fd();const{isFullscreen:W,toggle:un}=Qd();rn(()=>N.avatar);const C=rn(()=>o.theme),q=rn(()=>o.topMenu&&o.menu),_n=Vd({selector:"body",attribute:"arco-theme",valueDark:"dark",valueLight:"light",storageKey:"arco-theme",onChanged(y){o.toggleTheme(y)}}),Z=jd(_n),pn=()=>{Z()};Qe();const fn=Sd("toggleDrawerMenu"),An={"LOSEHU.*P.*K":"ltsk.json","LOSEHU.*P.*":"lts.json","LOSEHU12[0-9].*H":"losehu118h.json","LOSEHU12[0-9].*K":"losehu118k.json","LOSEHU12[0-9].*":"losehu118.json","LOSEHU11[8-9].*H":"losehu118h.json","LOSEHU11[8-9].*K":"losehu118k.json","LOSEHU11[8-9].*":"losehu118.json",".*":"todo.json"},F=async()=>{if(o.connectState==!1){try{o.connectPort&&await Mo(o.connectPort)}catch{}const y=await e0();if(!y){alert("\u8FDE\u63A5\u5931\u8D25");return}const O={};Object.keys(E).forEach(G=>{O[G.substring(G.lastIndexOf("/")+1)]=E[G].default});let x=null;const M=await t0(y),Y={name:"TODO",uart:"official",charset:"official",K:!1,H:!1,localmdc:!1};Object.keys(An).some(G=>{if(new RegExp(G).test(M))return x=Object.assign(Y,O[An[G]]),!0}),console.log(x),o.updateSettings({connectState:!0,connectPort:y,firmwareVersion:M,configuration:x})}else Mo(o.connectPort),o.updateSettings({connectState:!1,connectPort:null,firmwareVersion:""})};return(y,O)=>{const x=Ld,M=Rd,Y=Id,G=Td,X=od,xn=sd,mn=Ed,On=ad,te=Cd;return an(),wr("div",S0,[ln("div",I0,[H(Y,null,{default:j(()=>[H(x,{style:{margin:0,fontSize:"18px"},heading:5},{default:j(()=>[To(" K5Web \u5DE5\u5177\u7BB1 ")]),_:1}),!q.value&&Ae(o).device==="mobile"?(an(),wn(M,{key:0,style:{"font-size":"22px",cursor:"pointer"},onClick:Ae(fn)},null,8,["onClick"])):Pe("",!0)]),_:1})]),ln("div",E0,[q.value?(an(),wn(Ki,{key:0})):Pe("",!0)]),ln("ul",L0,[ln("li",null,[H(G,{type:"primary",onClick:F},{default:j(()=>[To(Fo(Ae(o).connectState?"\u65AD\u5F00":"\u8FDE\u63A5"),1)]),_:1})]),ln("li",null,[H(mn,{content:C.value==="light"?y.$t("settings.navbar.theme.toDark"):y.$t("settings.navbar.theme.toLight")},{default:j(()=>[H(G,{class:"nav-btn",type:"outline",shape:"circle",onClick:pn},{icon:j(()=>[C.value==="dark"?(an(),wn(X,{key:0})):(an(),wn(xn,{key:1}))]),_:1})]),_:1},8,["content"])]),ln("li",null,[H(mn,{content:Ae(W)?y.$t("settings.navbar.screen.toExit"):y.$t("settings.navbar.screen.toFull")},{default:j(()=>[H(G,{class:"nav-btn",type:"outline",shape:"circle",onClick:Ae(un)},{icon:j(()=>[Ae(W)?(an(),wn(On,{key:0})):(an(),wn(te,{key:1}))]),_:1},8,["onClick"])]),_:1},8,["content"])])])])}}});const T0=St(R0,[["__scopeId","data-v-f3c1601a"]]);const nt=A=>(Wo("data-v-17257cfa"),A=A(),Uo(),A),C0={class:"tag-link"},O0=nt(()=>ln("span",null,"\u91CD\u65B0\u52A0\u8F7D",-1)),M0=nt(()=>ln("span",null,"\u5173\u95ED\u5F53\u524D\u6807\u7B7E\u9875",-1)),D0=nt(()=>ln("span",null,"\u5173\u95ED\u5DE6\u4FA7\u6807\u7B7E\u9875",-1)),P0=nt(()=>ln("span",null,"\u5173\u95ED\u53F3\u4FA7\u6807\u7B7E\u9875",-1)),F0=nt(()=>ln("span",null,"\u5173\u95ED\u5176\u5B83\u6807\u7B7E\u9875",-1)),B0=nt(()=>ln("span",null,"\u5173\u95ED\u5168\u90E8\u6807\u7B7E\u9875",-1)),W0=je({__name:"tab-item",props:{itemData:{type:Object,default(){return[]}},index:{type:Number,default:0}},setup(A){const E=A,o=xr(),N=Zi(),W=qi(),un=y=>{o.push({...y})},C=rn(()=>W.getTabList),q=rn(()=>E.itemData.fullPath!==N.fullPath),_n=rn(()=>E.index===0),Z=rn(()=>[0,1].includes(E.index)),pn=rn(()=>E.index===C.value.length-1),fn=(y,O)=>{if(W.deleteTag(O,y),E.itemData.fullPath===N.fullPath){const x=C.value[O-1];o.push({name:x.name})}},An=()=>C.value.findIndex(y=>y.fullPath===N.fullPath),F=async y=>{const{itemData:O,index:x}=E,M=[...C.value];if(y==="current")fn(O,x);else if(y==="left"){const Y=An();M.splice(1,E.index-1),W.freshTabList(M),Yx&&o.push({name:O.name})}else if(y==="others"){const Y=C.value.filter((G,X)=>X===0||X===E.index);W.freshTabList(Y),o.push({name:O.name})}else y==="reload"?(W.deleteCache(O),await o.push({name:ld,params:{path:N.fullPath}}),W.addCache(O.name)):(W.resetTabList(),o.push({name:cd}))};return(y,O)=>{const x=Dd,M=hd,Y=Pd,G=_d,X=pd,xn=gd,mn=dd,On=Od;return an(),wn(On,{trigger:"contextMenu","popup-max-height":!1,onSelect:F},{content:j(()=>[H(Y,{disabled:q.value,value:"reload"},{default:j(()=>[H(M),O0]),_:1},8,["disabled","value"]),H(Y,{class:"sperate-line",disabled:_n.value,value:"current"},{default:j(()=>[H(x),M0]),_:1},8,["disabled","value"]),H(Y,{disabled:Z.value,value:"left"},{default:j(()=>[H(G),D0]),_:1},8,["disabled","value"]),H(Y,{class:"sperate-line",disabled:pn.value,value:"right"},{default:j(()=>[H(X),P0]),_:1},8,["disabled","value"]),H(Y,{value:"others"},{default:j(()=>[H(xn),F0]),_:1},8,["value"]),H(Y,{value:"all"},{default:j(()=>[H(mn),B0]),_:1},8,["value"])]),default:j(()=>[ln("span",{class:Bo(["arco-tag arco-tag-size-medium arco-tag-checked",{"link-activated":A.itemData.fullPath===y.$route.fullPath}]),onClick:O[1]||(O[1]=te=>un(A.itemData))},[ln("span",C0,Fo(y.$t(A.itemData.title)),1),ln("span",{class:"arco-icon-hover arco-tag-icon-hover arco-icon-hover-size-medium arco-tag-close-btn",onClick:O[0]||(O[0]=Md(te=>fn(A.itemData,A.index),["stop"]))},[H(x)])],2)]),_:1})}}});const U0=St(W0,[["__scopeId","data-v-17257cfa"]]),$0=A=>(Wo("data-v-509db106"),A=A(),Uo(),A),N0={class:"tab-bar-container"},H0={class:"tab-bar-box"},G0={class:"tab-bar-scroll"},K0={class:"tags-wrap"},z0=$0(()=>ln("div",{class:"tag-bar-operation"},null,-1)),q0=je({__name:"index",setup(A){const E=Ve(),o=qi(),N=Qe(),W=rn(()=>o.getTabList),un=rn(()=>E.navbar?60:0);return $o(()=>E.navbar,()=>{N.value.updatePosition()}),Po(C=>{!C.meta.noAffix&&!W.value.some(q=>q.fullPath===C.fullPath)&&o.updateTabList(C)},!0),Fd(()=>{vd()}),(C,q)=>{const _n=Bd;return an(),wr("div",N0,[H(_n,{ref_key:"affixRef",ref:N,"offset-top":un.value},{default:j(()=>[ln("div",H0,[ln("div",G0,[ln("div",K0,[(an(!0),wr(Wd,null,Ud(W.value,(Z,pn)=>(an(),wn(U0,{key:Z.fullPath,index:pn,"item-data":Z},null,8,["index","item-data"]))),128))])]),z0])]),_:1},8,["offset-top"])])}}});const Z0=St(q0,[["__scopeId","data-v-509db106"]]);function Y0(A,E,o,N=!1){A.addEventListener&&typeof A.addEventListener=="function"&&A.addEventListener(E,o,N)}function k0(A,E,o,N=!1){A.removeEventListener&&typeof A.removeEventListener=="function"&&A.removeEventListener(E,o,N)}const X0=992;function J0(){return document.body.getBoundingClientRect().width-1{A&&N()}),$d(()=>{Y0(window,"resize",N)}),Nd(()=>{k0(window,"resize",N)})}const V0=je({__name:"page-layout",setup(A){const E=qi(),o=rn(()=>E.getCacheList);return(N,W)=>{const un=Hd("router-view");return an(),wn(un,null,{default:j(({Component:C,route:q})=>[H(Kd,{name:"fade",mode:"out-in",appear:""},{default:j(()=>[q.meta.ignoreCache?(an(),wn(Co(C),{key:q.fullPath})):(an(),wn(Gd,{key:1,include:o.value},[(an(),wn(Co(C),{key:q.fullPath}))],1032,["include"]))]),_:2},1024)]),_:1})}}}),j0={key:0,class:"layout-navbar"},nv={class:"menu-wrapper"},ev="60px",tv=je({__name:"default-layout",setup(A){const E=Qe(!1),o=Ve(),N=zi(),W=xr(),un=Zi(),C=Do();Q0(!0);const q=rn(()=>o.navbar),_n=rn(()=>o.menu&&!o.topMenu),Z=rn(()=>o.hideMenu),pn=rn(()=>o.footer),fn=rn(()=>o.menuCollapse?48:o.menuWidth),An=rn(()=>o.menuCollapse),F=rn(()=>{const M=_n.value&&!Z.value?{paddingLeft:`${fn.value}px`}:{},Y=q.value?{paddingTop:ev}:{};return{...M,...Y}}),y=M=>{!E.value||o.updateSettings({menuCollapse:M})};$o(()=>N.role,M=>{M&&!C.accessRouter(un)&&W.push({name:"notFound"})});const O=Qe(!1),x=()=>{O.value=!1};return zd("toggleDrawerMenu",()=>{O.value=!O.value}),No(()=>{E.value=!0}),(M,Y)=>{const G=Xd,X=qd,xn=Jd,mn=Zd;return an(),wn(mn,{class:Bo(["layout",{mobile:Ae(o).hideMenu}])},{default:j(()=>[q.value?(an(),wr("div",j0,[H(T0)])):Pe("",!0),H(mn,null,{default:j(()=>[H(mn,null,{default:j(()=>[_n.value?Yd((an(),wn(G,{key:0,class:"layout-sider",breakpoint:"xl",collapsed:An.value,collapsible:!0,width:fn.value,style:Oo({paddingTop:q.value?"60px":""}),"hide-trigger":!0,onCollapse:y},{default:j(()=>[ln("div",nv,[H(Ki)])]),_:1},8,["collapsed","width","style"])),[[kd,!Z.value]]):Pe("",!0),Z.value?(an(),wn(X,{key:1,visible:O.value,placement:"left",footer:!1,"mask-closable":"",closable:!1,onCancel:x},{default:j(()=>[H(Ki)]),_:1},8,["visible"])):Pe("",!0),H(mn,{class:"layout-content",style:Oo(F.value)},{default:j(()=>[Ae(o).tabBar?(an(),wn(Z0,{key:0})):Pe("",!0),H(xn,null,{default:j(()=>[H(V0)]),_:1}),pn.value?(an(),wn(wd,{key:1})):Pe("",!0)]),_:1},8,["style"])]),_:1})]),_:1})]),_:1},8,["class"])}}});const _v=St(tv,[["__scopeId","data-v-a4864bc3"]]);export{_v as default};
+}`;var D=So(function(){return K(f,m+"return "+d).apply(o,s)});if(D.source=d,Oi(D))throw D;return D}function lg(n){return z(n).toLowerCase()}function cg(n){return z(n).toUpperCase()}function hg(n,e,t){if(n=z(n),n&&(t||e===o))return Ou(n);if(!n||!(e=Pn(e)))return n;var r=kn(n),i=kn(e),f=Mu(r,i),s=Du(r,i)+1;return ye(r,f,s).join("")}function _g(n,e,t){if(n=z(n),n&&(t||e===o))return n.slice(0,Fu(n)+1);if(!n||!(e=Pn(e)))return n;var r=kn(n),i=Du(r,kn(e))+1;return ye(r,0,i).join("")}function pg(n,e,t){if(n=z(n),n&&(t||e===o))return n.replace(Or,"");if(!n||!(e=Pn(e)))return n;var r=kn(n),i=Mu(r,kn(e));return ye(r,i).join("")}function gg(n,e){var t=ss,r=as;if(en(e)){var i="separator"in e?e.separator:i;t="length"in e?T(e.length):t,r="omission"in e?Pn(e.omission):r}n=z(n);var f=n.length;if($e(n)){var s=kn(n);f=s.length}if(t>=f)return n;var a=t-Ne(r);if(a<1)return r;var c=s?ye(s,0,a).join(""):n.slice(0,a);if(i===o)return c+r;if(s&&(a+=c.length-a),Mi(i)){if(n.slice(a).search(i)){var p,g=c;for(i.global||(i=kr(i.source,z(ji.exec(i))+"g")),i.lastIndex=0;p=i.exec(g);)var d=p.index;c=c.slice(0,d===o?a:d)}}else if(n.indexOf(Pn(i),a)!=a){var v=c.lastIndexOf(i);v>-1&&(c=c.slice(0,v))}return c+r}function dg(n){return n=z(n),n&&Ls.test(n)?n.replace(Ji,qa):n}var vg=Ye(function(n,e,t){return n+(t?" ":"")+e.toUpperCase()}),Fi=Sf("toUpperCase");function Ao(n,e,t){return n=z(n),e=t?o:e,e===o?Na(n)?ka(n):Oa(n):n.match(e)||[]}var So=P(function(n,e){try{return Mn(n,o,e)}catch(t){return Oi(t)?t:new L(t)}}),wg=se(function(n,e){return $n(e,function(t){t=ee(t),fe(n,t,Ti(n[t],n))}),n});function xg(n){var e=n==null?0:n.length,t=b();return n=e?nn(n,function(r){if(typeof r[1]!="function")throw new Nn(C);return[t(r[0]),r[1]]}):[],P(function(r){for(var i=-1;++i_e)return[];var t=Vn,r=yn(n,Vn);e=b(e),n-=Vn;for(var i=qr(r,e);++t0||e<0)?new U(t):(n<0?t=t.takeRight(-n):n&&(t=t.drop(n)),e!==o&&(e=T(e),t=e<0?t.dropRight(-e):t.take(e-n)),t)},U.prototype.takeRightWhile=function(n){return this.reverse().takeWhile(n).reverse()},U.prototype.toArray=function(){return this.take(Vn)},jn(U.prototype,function(n,e){var t=/^(?:filter|find|map|reject)|While$/.test(e),r=/^(?:head|last)$/.test(e),i=u[r?"take"+(e=="last"?"Right":""):e],f=r||/^find/.test(e);!i||(u.prototype[e]=function(){var s=this.__wrapped__,a=r?[1]:arguments,c=s instanceof U,p=a[0],g=c||R(s),d=function(B){var $=i.apply(u,ge([B],a));return r&&v?$[0]:$};g&&t&&typeof p=="function"&&p.length!=1&&(c=g=!1);var v=this.__chain__,m=!!this.__actions__.length,S=f&&!v,D=c&&!m;if(!f&&g){s=D?s:new U(this);var I=n.apply(s,a);return I.__actions__.push({func:lr,args:[d],thisArg:o}),new Hn(I,v)}return S&&D?n.apply(this,a):(I=this.thru(d),S?r?I.value()[0]:I.value():I)})}),$n(["pop","push","shift","sort","splice","unshift"],function(n){var e=Bt[n],t=/^(?:push|sort|unshift)$/.test(n)?"tap":"thru",r=/^(?:pop|shift)$/.test(n);u.prototype[n]=function(){var i=arguments;if(r&&!this.__chain__){var f=this.value();return e.apply(R(f)?f:[],i)}return this[t](function(s){return e.apply(R(s)?s:[],i)})}}),jn(U.prototype,function(n,e){var t=u[e];if(t){var r=t.name+"";k.call(ze,r)||(ze[r]=[]),ze[r].push({name:e,func:t})}}),ze[rr(o,M).name]=[{name:"wrapper",func:o}],U.prototype.clone=dl,U.prototype.reverse=vl,U.prototype.value=wl,u.prototype.at=Yh,u.prototype.chain=kh,u.prototype.commit=Xh,u.prototype.next=Jh,u.prototype.plant=Vh,u.prototype.reverse=jh,u.prototype.toJSON=u.prototype.valueOf=u.prototype.value=n_,u.prototype.first=u.prototype.head,at&&(u.prototype[at]=Qh),u},He=Xa();Ie?((Ie.exports=He)._=He,Wr._=He):dn._=He}).call(At)})(Gi,Gi.exports);function y0(){const A=Do(),E=Ve(),o=rn(()=>E.menuFromServer?E.appAsyncMenus:m0);return{menuTree:rn(()=>{const W=Gi.exports.cloneDeep(o.value);W.sort((C,q)=>(C.meta.order||0)-(q.meta.order||0));function un(C,q){return C?C.map(Z=>{var fn,An;if(!A.accessRouter(Z))return null;if(((fn=Z.meta)==null?void 0:fn.hideChildrenInMenu)||!Z.children)return Z.children=[],Z;Z.children=Z.children.filter(F=>{var y;return((y=F.meta)==null?void 0:y.hideInMenu)!==!0});const pn=un(Z.children,q+1);return pn.length||q>1?(Z.children=pn,Z):((An=Z.meta)==null?void 0:An.hideInMenu)===!1?Z:null}).filter(Boolean):null}return un(W,0)})}}function b0(A){return typeof A=="function"||Object.prototype.toString.call(A)==="[object Object]"&&!yd(A)}const A0=je({emit:["collapse"],setup(){const{t:A}=ud.exports.useI18n(),E=Ve(),o=xr(),N=Zi(),{menuTree:W}=y0(),un=rn({get(){return E.device==="desktop"?E.menuCollapse:!1},set(F){E.updateSettings({menuCollapse:F})}}),C=rn(()=>E.topMenu),q=Qe([]),_n=Qe([]),Z=F=>{if(v0.test(F.path)){d0(F.path),_n.value=[F.name];return}const{hideInMenu:y,activeMenu:O}=F.meta;if(N.name===F.name&&!y&&!O){_n.value=[F.name];return}o.push({name:F.name})},pn=F=>{const y=[];let O=!1;const x=(M,Y)=>{var G;if(M.name===F){O=!0,y.push(...Y);return}(G=M.children)!=null&&G.length&&M.children.forEach(X=>{x(X,[...Y,X.name])})};return W.value.forEach(M=>{O||x(M,[M.name])}),y};Po(F=>{const{requiresAuth:y,activeMenu:O,hideInMenu:x}=F.meta;if(y&&(!x||O)){const M=pn(O||F.name),Y=new Set([...M,...q.value]);q.value=[...Y],_n.value=[O||M[M.length-1]]}},!0);const fn=F=>{E.device==="desktop"&&E.updateSettings({menuCollapse:F})},An=()=>{function F(y,O=[]){return y&&y.forEach(x=>{var G;const M=(G=x==null?void 0:x.meta)!=null&&G.icon?()=>{var X;return Lo(Ro(`<${(X=x==null?void 0:x.meta)==null?void 0:X.icon}/>`))}:null,Y=(x==null?void 0:x.children)&&(x==null?void 0:x.children.length)!==0?H(bd,{key:x==null?void 0:x.name},{default:()=>[F(x==null?void 0:x.children)],icon:M,title:()=>{var X;return Lo(Ro(A(((X=x==null?void 0:x.meta)==null?void 0:X.locale)||"")))}}):H(Ad,{key:x==null?void 0:x.name,onClick:()=>Z(x)},{default:()=>{var X;return[A(((X=x==null?void 0:x.meta)==null?void 0:X.locale)||"")]},icon:M});O.push(Y)}),O}return F(W.value)};return()=>{let F;return H(md,{mode:C.value?"horizontal":"vertical",collapsed:un.value,"onUpdate:collapsed":y=>un.value=y,"open-keys":q.value,"onUpdate:open-keys":y=>q.value=y,"show-collapse-button":E.device!=="mobile","auto-open":!1,"selected-keys":_n.value,"auto-open-selected":!0,"level-indent":34,style:"height: 100%;width:100%;",onCollapse:fn},b0(F=An())?F:{default:()=>[F]})}}});const Ki=St(A0,[["__scopeId","data-v-cc9f2848"]]),S0={class:"navbar"},I0={class:"left-side"},E0={class:"center-side"},L0={class:"right-side"},R0=je({__name:"index",setup(A){const E=Object.assign({"/src/drivers/losehu118.json":i0,"/src/drivers/losehu118h.json":f0,"/src/drivers/losehu118k.json":s0,"/src/drivers/lts.json":l0,"/src/drivers/ltsk.json":h0,"/src/drivers/todo.json":p0}),o=Ve(),N=zi();g0(),fd();const{isFullscreen:W,toggle:un}=Qd();rn(()=>N.avatar);const C=rn(()=>o.theme),q=rn(()=>o.topMenu&&o.menu),_n=Vd({selector:"body",attribute:"arco-theme",valueDark:"dark",valueLight:"light",storageKey:"arco-theme",onChanged(y){o.toggleTheme(y)}}),Z=jd(_n),pn=()=>{Z()};Qe();const fn=Sd("toggleDrawerMenu"),An={"LOSEHU.*P.*K":"ltsk.json","LOSEHU.*P.*":"lts.json","LOSEHU12[0-9].*H":"losehu118h.json","LOSEHU12[0-9].*K":"losehu118k.json","LOSEHU12[0-9].*":"losehu118.json","LOSEHU11[8-9].*H":"losehu118h.json","LOSEHU11[8-9].*K":"losehu118k.json","LOSEHU11[8-9].*":"losehu118.json",".*":"todo.json"},F=async()=>{if(o.connectState==!1){try{o.connectPort&&await Mo(o.connectPort)}catch{}const y=await e0();if(!y){alert("\u8FDE\u63A5\u5931\u8D25");return}o.updateSettings({connectPort:y});const O={};Object.keys(E).forEach(G=>{O[G.substring(G.lastIndexOf("/")+1)]=E[G].default});let x=null;const M=await t0(y),Y={name:"TODO",uart:"official",charset:"official",K:!1,H:!1,localmdc:!1};Object.keys(An).some(G=>{if(new RegExp(G).test(M))return x=Object.assign(Y,O[An[G]]),!0}),o.updateSettings({connectState:!0,firmwareVersion:M,configuration:x})}else await Mo(o.connectPort),o.updateSettings({connectState:!1,connectPort:null,firmwareVersion:""})};return(y,O)=>{const x=Ld,M=Rd,Y=Id,G=Td,X=od,xn=sd,mn=Ed,On=ad,te=Cd;return an(),wr("div",S0,[ln("div",I0,[H(Y,null,{default:j(()=>[H(x,{style:{margin:0,fontSize:"18px"},heading:5},{default:j(()=>[To(" K5Web \u5DE5\u5177\u7BB1 ")]),_:1}),!q.value&&Ae(o).device==="mobile"?(an(),wn(M,{key:0,style:{"font-size":"22px",cursor:"pointer"},onClick:Ae(fn)},null,8,["onClick"])):Pe("",!0)]),_:1})]),ln("div",E0,[q.value?(an(),wn(Ki,{key:0})):Pe("",!0)]),ln("ul",L0,[ln("li",null,[H(G,{type:"primary",onClick:F},{default:j(()=>[To(Fo(Ae(o).connectState?"\u65AD\u5F00":"\u8FDE\u63A5"),1)]),_:1})]),ln("li",null,[H(mn,{content:C.value==="light"?y.$t("settings.navbar.theme.toDark"):y.$t("settings.navbar.theme.toLight")},{default:j(()=>[H(G,{class:"nav-btn",type:"outline",shape:"circle",onClick:pn},{icon:j(()=>[C.value==="dark"?(an(),wn(X,{key:0})):(an(),wn(xn,{key:1}))]),_:1})]),_:1},8,["content"])]),ln("li",null,[H(mn,{content:Ae(W)?y.$t("settings.navbar.screen.toExit"):y.$t("settings.navbar.screen.toFull")},{default:j(()=>[H(G,{class:"nav-btn",type:"outline",shape:"circle",onClick:Ae(un)},{icon:j(()=>[Ae(W)?(an(),wn(On,{key:0})):(an(),wn(te,{key:1}))]),_:1},8,["onClick"])]),_:1},8,["content"])])])])}}});const T0=St(R0,[["__scopeId","data-v-5a1b0f30"]]);const nt=A=>(Wo("data-v-17257cfa"),A=A(),Uo(),A),C0={class:"tag-link"},O0=nt(()=>ln("span",null,"\u91CD\u65B0\u52A0\u8F7D",-1)),M0=nt(()=>ln("span",null,"\u5173\u95ED\u5F53\u524D\u6807\u7B7E\u9875",-1)),D0=nt(()=>ln("span",null,"\u5173\u95ED\u5DE6\u4FA7\u6807\u7B7E\u9875",-1)),P0=nt(()=>ln("span",null,"\u5173\u95ED\u53F3\u4FA7\u6807\u7B7E\u9875",-1)),F0=nt(()=>ln("span",null,"\u5173\u95ED\u5176\u5B83\u6807\u7B7E\u9875",-1)),B0=nt(()=>ln("span",null,"\u5173\u95ED\u5168\u90E8\u6807\u7B7E\u9875",-1)),W0=je({__name:"tab-item",props:{itemData:{type:Object,default(){return[]}},index:{type:Number,default:0}},setup(A){const E=A,o=xr(),N=Zi(),W=qi(),un=y=>{o.push({...y})},C=rn(()=>W.getTabList),q=rn(()=>E.itemData.fullPath!==N.fullPath),_n=rn(()=>E.index===0),Z=rn(()=>[0,1].includes(E.index)),pn=rn(()=>E.index===C.value.length-1),fn=(y,O)=>{if(W.deleteTag(O,y),E.itemData.fullPath===N.fullPath){const x=C.value[O-1];o.push({name:x.name})}},An=()=>C.value.findIndex(y=>y.fullPath===N.fullPath),F=async y=>{const{itemData:O,index:x}=E,M=[...C.value];if(y==="current")fn(O,x);else if(y==="left"){const Y=An();M.splice(1,E.index-1),W.freshTabList(M),Yx&&o.push({name:O.name})}else if(y==="others"){const Y=C.value.filter((G,X)=>X===0||X===E.index);W.freshTabList(Y),o.push({name:O.name})}else y==="reload"?(W.deleteCache(O),await o.push({name:ld,params:{path:N.fullPath}}),W.addCache(O.name)):(W.resetTabList(),o.push({name:cd}))};return(y,O)=>{const x=Dd,M=hd,Y=Pd,G=_d,X=pd,xn=gd,mn=dd,On=Od;return an(),wn(On,{trigger:"contextMenu","popup-max-height":!1,onSelect:F},{content:j(()=>[H(Y,{disabled:q.value,value:"reload"},{default:j(()=>[H(M),O0]),_:1},8,["disabled","value"]),H(Y,{class:"sperate-line",disabled:_n.value,value:"current"},{default:j(()=>[H(x),M0]),_:1},8,["disabled","value"]),H(Y,{disabled:Z.value,value:"left"},{default:j(()=>[H(G),D0]),_:1},8,["disabled","value"]),H(Y,{class:"sperate-line",disabled:pn.value,value:"right"},{default:j(()=>[H(X),P0]),_:1},8,["disabled","value"]),H(Y,{value:"others"},{default:j(()=>[H(xn),F0]),_:1},8,["value"]),H(Y,{value:"all"},{default:j(()=>[H(mn),B0]),_:1},8,["value"])]),default:j(()=>[ln("span",{class:Bo(["arco-tag arco-tag-size-medium arco-tag-checked",{"link-activated":A.itemData.fullPath===y.$route.fullPath}]),onClick:O[1]||(O[1]=te=>un(A.itemData))},[ln("span",C0,Fo(y.$t(A.itemData.title)),1),ln("span",{class:"arco-icon-hover arco-tag-icon-hover arco-icon-hover-size-medium arco-tag-close-btn",onClick:O[0]||(O[0]=Md(te=>fn(A.itemData,A.index),["stop"]))},[H(x)])],2)]),_:1})}}});const U0=St(W0,[["__scopeId","data-v-17257cfa"]]),$0=A=>(Wo("data-v-509db106"),A=A(),Uo(),A),N0={class:"tab-bar-container"},H0={class:"tab-bar-box"},G0={class:"tab-bar-scroll"},K0={class:"tags-wrap"},z0=$0(()=>ln("div",{class:"tag-bar-operation"},null,-1)),q0=je({__name:"index",setup(A){const E=Ve(),o=qi(),N=Qe(),W=rn(()=>o.getTabList),un=rn(()=>E.navbar?60:0);return $o(()=>E.navbar,()=>{N.value.updatePosition()}),Po(C=>{!C.meta.noAffix&&!W.value.some(q=>q.fullPath===C.fullPath)&&o.updateTabList(C)},!0),Fd(()=>{vd()}),(C,q)=>{const _n=Bd;return an(),wr("div",N0,[H(_n,{ref_key:"affixRef",ref:N,"offset-top":un.value},{default:j(()=>[ln("div",H0,[ln("div",G0,[ln("div",K0,[(an(!0),wr(Wd,null,Ud(W.value,(Z,pn)=>(an(),wn(U0,{key:Z.fullPath,index:pn,"item-data":Z},null,8,["index","item-data"]))),128))])]),z0])]),_:1},8,["offset-top"])])}}});const Z0=St(q0,[["__scopeId","data-v-509db106"]]);function Y0(A,E,o,N=!1){A.addEventListener&&typeof A.addEventListener=="function"&&A.addEventListener(E,o,N)}function k0(A,E,o,N=!1){A.removeEventListener&&typeof A.removeEventListener=="function"&&A.removeEventListener(E,o,N)}const X0=992;function J0(){return document.body.getBoundingClientRect().width-1{A&&N()}),$d(()=>{Y0(window,"resize",N)}),Nd(()=>{k0(window,"resize",N)})}const V0=je({__name:"page-layout",setup(A){const E=qi(),o=rn(()=>E.getCacheList);return(N,W)=>{const un=Hd("router-view");return an(),wn(un,null,{default:j(({Component:C,route:q})=>[H(Kd,{name:"fade",mode:"out-in",appear:""},{default:j(()=>[q.meta.ignoreCache?(an(),wn(Co(C),{key:q.fullPath})):(an(),wn(Gd,{key:1,include:o.value},[(an(),wn(Co(C),{key:q.fullPath}))],1032,["include"]))]),_:2},1024)]),_:1})}}}),j0={key:0,class:"layout-navbar"},nv={class:"menu-wrapper"},ev="60px",tv=je({__name:"default-layout",setup(A){const E=Qe(!1),o=Ve(),N=zi(),W=xr(),un=Zi(),C=Do();Q0(!0);const q=rn(()=>o.navbar),_n=rn(()=>o.menu&&!o.topMenu),Z=rn(()=>o.hideMenu),pn=rn(()=>o.footer),fn=rn(()=>o.menuCollapse?48:o.menuWidth),An=rn(()=>o.menuCollapse),F=rn(()=>{const M=_n.value&&!Z.value?{paddingLeft:`${fn.value}px`}:{},Y=q.value?{paddingTop:ev}:{};return{...M,...Y}}),y=M=>{!E.value||o.updateSettings({menuCollapse:M})};$o(()=>N.role,M=>{M&&!C.accessRouter(un)&&W.push({name:"notFound"})});const O=Qe(!1),x=()=>{O.value=!1};return zd("toggleDrawerMenu",()=>{O.value=!O.value}),No(()=>{E.value=!0}),(M,Y)=>{const G=Xd,X=qd,xn=Jd,mn=Zd;return an(),wn(mn,{class:Bo(["layout",{mobile:Ae(o).hideMenu}])},{default:j(()=>[q.value?(an(),wr("div",j0,[H(T0)])):Pe("",!0),H(mn,null,{default:j(()=>[H(mn,null,{default:j(()=>[_n.value?Yd((an(),wn(G,{key:0,class:"layout-sider",breakpoint:"xl",collapsed:An.value,collapsible:!0,width:fn.value,style:Oo({paddingTop:q.value?"60px":""}),"hide-trigger":!0,onCollapse:y},{default:j(()=>[ln("div",nv,[H(Ki)])]),_:1},8,["collapsed","width","style"])),[[kd,!Z.value]]):Pe("",!0),Z.value?(an(),wn(X,{key:1,visible:O.value,placement:"left",footer:!1,"mask-closable":"",closable:!1,onCancel:x},{default:j(()=>[H(Ki)]),_:1},8,["visible"])):Pe("",!0),H(mn,{class:"layout-content",style:Oo(F.value)},{default:j(()=>[Ae(o).tabBar?(an(),wn(Z0,{key:0})):Pe("",!0),H(xn,null,{default:j(()=>[H(V0)]),_:1}),pn.value?(an(),wn(wd,{key:1})):Pe("",!0)]),_:1},8,["style"])]),_:1})]),_:1})]),_:1},8,["class"])}}});const _v=St(tv,[["__scopeId","data-v-a4864bc3"]]);export{_v as default};
diff --git a/assets/default-layout.5cab7983.js.gz b/assets/default-layout.5cab7983.js.gz
new file mode 100644
index 0000000..0da1b92
Binary files /dev/null and b/assets/default-layout.5cab7983.js.gz differ
diff --git a/assets/default-layout.09a5115b.css b/assets/default-layout.644894fb.css
similarity index 97%
rename from assets/default-layout.09a5115b.css
rename to assets/default-layout.644894fb.css
index 508ef24..306e982 100644
--- a/assets/default-layout.09a5115b.css
+++ b/assets/default-layout.644894fb.css
@@ -1 +1 @@
-.arco-dropdown{box-sizing:border-box;padding:4px 0;background-color:var(--color-bg-popup);border:1px solid var(--color-fill-3);border-radius:var(--border-radius-medium);box-shadow:0 4px 10px #0000001a}.arco-dropdown-list{margin-top:0;margin-bottom:0;padding-left:0;list-style:none}.arco-dropdown-list-wrapper{max-height:200px;overflow-y:auto}.arco-dropdown-option{position:relative;z-index:1;display:flex;align-items:center;box-sizing:border-box;width:100%;padding:0 12px;color:var(--color-text-1);font-size:14px;line-height:36px;text-align:left;background-color:transparent;cursor:pointer}.arco-dropdown-option-content{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.arco-dropdown-option-has-suffix{justify-content:space-between}.arco-dropdown-option-active,.arco-dropdown-option:not(.arco-dropdown-option-disabled):hover{color:var(--color-text-1);background-color:var(--color-fill-2);transition:all .1s cubic-bezier(0,0,1,1)}.arco-dropdown-option-disabled{color:var(--color-text-4);background-color:transparent;cursor:not-allowed}.arco-dropdown-option-icon{display:inline-flex;margin-right:8px}.arco-dropdown-option-suffix{margin-left:12px}.arco-dropdown-group:first-child .arco-dropdown-group-title{margin-top:8px}.arco-dropdown-group-title{box-sizing:border-box;width:100%;margin-top:8px;padding:0 12px;color:var(--color-text-3);font-size:12px;line-height:20px;cursor:default;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.arco-dropdown-submenu{margin-top:-4px}.arco-dropdown.arco-dropdown-has-footer{padding-bottom:0}.arco-dropdown-footer{border-top:1px solid var(--color-fill-3)}.arco-menu{position:relative;box-sizing:border-box;width:100%;font-size:14px;line-height:1.5715;transition:width .2s cubic-bezier(.34,.69,.1,1)}.arco-menu:focus-visible{outline:3px solid var(--color-primary-light-2)}.arco-menu-indent{display:inline-block;width:20px}.arco-menu .arco-menu-item,.arco-menu .arco-menu-group-title,.arco-menu .arco-menu-pop-header,.arco-menu .arco-menu-inline-header{position:relative;box-sizing:border-box;border-radius:var(--border-radius-small);cursor:pointer}.arco-menu .arco-menu-item.arco-menu-disabled,.arco-menu .arco-menu-group-title.arco-menu-disabled,.arco-menu .arco-menu-pop-header.arco-menu-disabled,.arco-menu .arco-menu-inline-header.arco-menu-disabled{cursor:not-allowed}.arco-menu .arco-menu-item.arco-menu-selected,.arco-menu .arco-menu-group-title.arco-menu-selected,.arco-menu .arco-menu-pop-header.arco-menu-selected,.arco-menu .arco-menu-inline-header.arco-menu-selected{font-weight:500;transition:color .2s cubic-bezier(0,0,1,1)}.arco-menu .arco-menu-item .arco-icon,.arco-menu .arco-menu-group-title .arco-icon,.arco-menu .arco-menu-pop-header .arco-icon,.arco-menu .arco-menu-inline-header .arco-icon,.arco-menu .arco-menu-item .arco-menu-icon,.arco-menu .arco-menu-group-title .arco-menu-icon,.arco-menu .arco-menu-pop-header .arco-menu-icon,.arco-menu .arco-menu-inline-header .arco-menu-icon{margin-right:16px}.arco-menu .arco-menu-item .arco-menu-icon .arco-icon,.arco-menu .arco-menu-group-title .arco-menu-icon .arco-icon,.arco-menu .arco-menu-pop-header .arco-menu-icon .arco-icon,.arco-menu .arco-menu-inline-header .arco-menu-icon .arco-icon{margin-right:0}.arco-menu-light{background-color:var(--color-menu-light-bg)}.arco-menu-light .arco-menu-item,.arco-menu-light .arco-menu-group-title,.arco-menu-light .arco-menu-pop-header,.arco-menu-light .arco-menu-inline-header{color:var(--color-text-2);background-color:var(--color-menu-light-bg)}.arco-menu-light .arco-menu-item .arco-icon,.arco-menu-light .arco-menu-group-title .arco-icon,.arco-menu-light .arco-menu-pop-header .arco-icon,.arco-menu-light .arco-menu-inline-header .arco-icon,.arco-menu-light .arco-menu-item .arco-menu-icon,.arco-menu-light .arco-menu-group-title .arco-menu-icon,.arco-menu-light .arco-menu-pop-header .arco-menu-icon,.arco-menu-light .arco-menu-inline-header .arco-menu-icon{color:var(--color-text-3)}.arco-menu-light .arco-menu-item:hover,.arco-menu-light .arco-menu-group-title:hover,.arco-menu-light .arco-menu-pop-header:hover,.arco-menu-light .arco-menu-inline-header:hover{color:var(--color-text-2);background-color:var(--color-fill-2)}.arco-menu-light .arco-menu-item:hover .arco-icon,.arco-menu-light .arco-menu-group-title:hover .arco-icon,.arco-menu-light .arco-menu-pop-header:hover .arco-icon,.arco-menu-light .arco-menu-inline-header:hover .arco-icon,.arco-menu-light .arco-menu-item:hover .arco-menu-icon,.arco-menu-light .arco-menu-group-title:hover .arco-menu-icon,.arco-menu-light .arco-menu-pop-header:hover .arco-menu-icon,.arco-menu-light .arco-menu-inline-header:hover .arco-menu-icon{color:var(--color-text-3)}.arco-menu-light .arco-menu-item.arco-menu-selected,.arco-menu-light .arco-menu-group-title.arco-menu-selected,.arco-menu-light .arco-menu-pop-header.arco-menu-selected,.arco-menu-light .arco-menu-inline-header.arco-menu-selected,.arco-menu-light .arco-menu-item.arco-menu-selected .arco-icon,.arco-menu-light .arco-menu-group-title.arco-menu-selected .arco-icon,.arco-menu-light .arco-menu-pop-header.arco-menu-selected .arco-icon,.arco-menu-light .arco-menu-inline-header.arco-menu-selected .arco-icon,.arco-menu-light .arco-menu-item.arco-menu-selected .arco-menu-icon,.arco-menu-light .arco-menu-group-title.arco-menu-selected .arco-menu-icon,.arco-menu-light .arco-menu-pop-header.arco-menu-selected .arco-menu-icon,.arco-menu-light .arco-menu-inline-header.arco-menu-selected .arco-menu-icon{color:rgb(var(--primary-6))}.arco-menu-light .arco-menu-item.arco-menu-disabled,.arco-menu-light .arco-menu-group-title.arco-menu-disabled,.arco-menu-light .arco-menu-pop-header.arco-menu-disabled,.arco-menu-light .arco-menu-inline-header.arco-menu-disabled{color:var(--color-text-4);background-color:var(--color-menu-light-bg)}.arco-menu-light .arco-menu-item.arco-menu-disabled .arco-icon,.arco-menu-light .arco-menu-group-title.arco-menu-disabled .arco-icon,.arco-menu-light .arco-menu-pop-header.arco-menu-disabled .arco-icon,.arco-menu-light .arco-menu-inline-header.arco-menu-disabled .arco-icon,.arco-menu-light .arco-menu-item.arco-menu-disabled .arco-menu-icon,.arco-menu-light .arco-menu-group-title.arco-menu-disabled .arco-menu-icon,.arco-menu-light .arco-menu-pop-header.arco-menu-disabled .arco-menu-icon,.arco-menu-light .arco-menu-inline-header.arco-menu-disabled .arco-menu-icon{color:var(--color-text-4)}.arco-menu-light .arco-menu-item.arco-menu-selected{background-color:var(--color-fill-2)}.arco-menu-light .arco-menu-inline-header.arco-menu-selected,.arco-menu-light .arco-menu-inline-header.arco-menu-selected .arco-icon,.arco-menu-light .arco-menu-inline-header.arco-menu-selected .arco-menu-icon{color:rgb(var(--primary-6))}.arco-menu-light .arco-menu-inline-header.arco-menu-selected:hover{background-color:var(--color-fill-2)}.arco-menu-light.arco-menu-horizontal .arco-menu-item.arco-menu-selected,.arco-menu-light.arco-menu-horizontal .arco-menu-group-title.arco-menu-selected,.arco-menu-light.arco-menu-horizontal .arco-menu-pop-header.arco-menu-selected,.arco-menu-light.arco-menu-horizontal .arco-menu-inline-header.arco-menu-selected{background:none;transition:color .2s cubic-bezier(0,0,1,1)}.arco-menu-light.arco-menu-horizontal .arco-menu-item.arco-menu-selected:hover,.arco-menu-light.arco-menu-horizontal .arco-menu-group-title.arco-menu-selected:hover,.arco-menu-light.arco-menu-horizontal .arco-menu-pop-header.arco-menu-selected:hover,.arco-menu-light.arco-menu-horizontal .arco-menu-inline-header.arco-menu-selected:hover{background-color:var(--color-fill-2)}.arco-menu-light .arco-menu-group-title{color:var(--color-text-3);pointer-events:none}.arco-menu-light .arco-menu-collapse-button{color:var(--color-text-3);background-color:var(--color-fill-1)}.arco-menu-light .arco-menu-collapse-button:hover{background-color:var(--color-fill-3)}.arco-menu-dark{background-color:var(--color-menu-dark-bg)}.arco-menu-dark .arco-menu-item,.arco-menu-dark .arco-menu-group-title,.arco-menu-dark .arco-menu-pop-header,.arco-menu-dark .arco-menu-inline-header{color:var(--color-text-4);background-color:var(--color-menu-dark-bg)}.arco-menu-dark .arco-menu-item .arco-icon,.arco-menu-dark .arco-menu-group-title .arco-icon,.arco-menu-dark .arco-menu-pop-header .arco-icon,.arco-menu-dark .arco-menu-inline-header .arco-icon,.arco-menu-dark .arco-menu-item .arco-menu-icon,.arco-menu-dark .arco-menu-group-title .arco-menu-icon,.arco-menu-dark .arco-menu-pop-header .arco-menu-icon,.arco-menu-dark .arco-menu-inline-header .arco-menu-icon{color:var(--color-text-3)}.arco-menu-dark .arco-menu-item:hover,.arco-menu-dark .arco-menu-group-title:hover,.arco-menu-dark .arco-menu-pop-header:hover,.arco-menu-dark .arco-menu-inline-header:hover{color:var(--color-text-4);background-color:var(--color-menu-dark-hover)}.arco-menu-dark .arco-menu-item:hover .arco-icon,.arco-menu-dark .arco-menu-group-title:hover .arco-icon,.arco-menu-dark .arco-menu-pop-header:hover .arco-icon,.arco-menu-dark .arco-menu-inline-header:hover .arco-icon,.arco-menu-dark .arco-menu-item:hover .arco-menu-icon,.arco-menu-dark .arco-menu-group-title:hover .arco-menu-icon,.arco-menu-dark .arco-menu-pop-header:hover .arco-menu-icon,.arco-menu-dark .arco-menu-inline-header:hover .arco-menu-icon{color:var(--color-text-3)}.arco-menu-dark .arco-menu-item.arco-menu-selected,.arco-menu-dark .arco-menu-group-title.arco-menu-selected,.arco-menu-dark .arco-menu-pop-header.arco-menu-selected,.arco-menu-dark .arco-menu-inline-header.arco-menu-selected,.arco-menu-dark .arco-menu-item.arco-menu-selected .arco-icon,.arco-menu-dark .arco-menu-group-title.arco-menu-selected .arco-icon,.arco-menu-dark .arco-menu-pop-header.arco-menu-selected .arco-icon,.arco-menu-dark .arco-menu-inline-header.arco-menu-selected .arco-icon,.arco-menu-dark .arco-menu-item.arco-menu-selected .arco-menu-icon,.arco-menu-dark .arco-menu-group-title.arco-menu-selected .arco-menu-icon,.arco-menu-dark .arco-menu-pop-header.arco-menu-selected .arco-menu-icon,.arco-menu-dark .arco-menu-inline-header.arco-menu-selected .arco-menu-icon{color:var(--color-white)}.arco-menu-dark .arco-menu-item.arco-menu-disabled,.arco-menu-dark .arco-menu-group-title.arco-menu-disabled,.arco-menu-dark .arco-menu-pop-header.arco-menu-disabled,.arco-menu-dark .arco-menu-inline-header.arco-menu-disabled{color:var(--color-text-2);background-color:var(--color-menu-dark-bg)}.arco-menu-dark .arco-menu-item.arco-menu-disabled .arco-icon,.arco-menu-dark .arco-menu-group-title.arco-menu-disabled .arco-icon,.arco-menu-dark .arco-menu-pop-header.arco-menu-disabled .arco-icon,.arco-menu-dark .arco-menu-inline-header.arco-menu-disabled .arco-icon,.arco-menu-dark .arco-menu-item.arco-menu-disabled .arco-menu-icon,.arco-menu-dark .arco-menu-group-title.arco-menu-disabled .arco-menu-icon,.arco-menu-dark .arco-menu-pop-header.arco-menu-disabled .arco-menu-icon,.arco-menu-dark .arco-menu-inline-header.arco-menu-disabled .arco-menu-icon{color:var(--color-text-2)}.arco-menu-dark .arco-menu-item.arco-menu-selected{background-color:var(--color-menu-dark-hover)}.arco-menu-dark .arco-menu-inline-header.arco-menu-selected,.arco-menu-dark .arco-menu-inline-header.arco-menu-selected .arco-icon,.arco-menu-dark .arco-menu-inline-header.arco-menu-selected .arco-menu-icon{color:rgb(var(--primary-6))}.arco-menu-dark .arco-menu-inline-header.arco-menu-selected:hover{background-color:var(--color-menu-dark-hover)}.arco-menu-dark.arco-menu-horizontal .arco-menu-item.arco-menu-selected,.arco-menu-dark.arco-menu-horizontal .arco-menu-group-title.arco-menu-selected,.arco-menu-dark.arco-menu-horizontal .arco-menu-pop-header.arco-menu-selected,.arco-menu-dark.arco-menu-horizontal .arco-menu-inline-header.arco-menu-selected{background:none;transition:color .2s cubic-bezier(0,0,1,1)}.arco-menu-dark.arco-menu-horizontal .arco-menu-item.arco-menu-selected:hover,.arco-menu-dark.arco-menu-horizontal .arco-menu-group-title.arco-menu-selected:hover,.arco-menu-dark.arco-menu-horizontal .arco-menu-pop-header.arco-menu-selected:hover,.arco-menu-dark.arco-menu-horizontal .arco-menu-inline-header.arco-menu-selected:hover{background-color:var(--color-menu-dark-hover)}.arco-menu-dark .arco-menu-group-title{color:var(--color-text-3);pointer-events:none}.arco-menu-dark .arco-menu-collapse-button{color:var(--color-white);background-color:rgb(var(--primary-6))}.arco-menu-dark .arco-menu-collapse-button:hover{background-color:rgb(var(--primary-7))}.arco-menu a,.arco-menu a:hover,.arco-menu a:focus,.arco-menu a:active{color:inherit;text-decoration:none;cursor:inherit}.arco-menu-inner{box-sizing:border-box;width:100%;height:100%;overflow:auto}.arco-menu-icon-suffix.is-open{transform:rotate(180deg)}.arco-menu-vertical .arco-menu-item,.arco-menu-vertical .arco-menu-group-title,.arco-menu-vertical .arco-menu-pop-header,.arco-menu-vertical .arco-menu-inline-header{padding:0 12px;line-height:40px}.arco-menu-vertical .arco-menu-item .arco-menu-icon-suffix .arco-icon,.arco-menu-vertical .arco-menu-group-title .arco-menu-icon-suffix .arco-icon,.arco-menu-vertical .arco-menu-pop-header .arco-menu-icon-suffix .arco-icon,.arco-menu-vertical .arco-menu-inline-header .arco-menu-icon-suffix .arco-icon{margin-right:0}.arco-menu-vertical .arco-menu-item,.arco-menu-vertical .arco-menu-group-title,.arco-menu-vertical .arco-menu-pop-header,.arco-menu-vertical .arco-menu-inline-header{margin-bottom:4px}.arco-menu-vertical .arco-menu-item:not(.arco-menu-has-icon),.arco-menu-vertical .arco-menu-group-title:not(.arco-menu-has-icon),.arco-menu-vertical .arco-menu-pop-header:not(.arco-menu-has-icon),.arco-menu-vertical .arco-menu-inline-header:not(.arco-menu-has-icon){overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.arco-menu-vertical .arco-menu-item.arco-menu-has-icon,.arco-menu-vertical .arco-menu-group-title.arco-menu-has-icon,.arco-menu-vertical .arco-menu-pop-header.arco-menu-has-icon,.arco-menu-vertical .arco-menu-inline-header.arco-menu-has-icon{display:flex;align-items:center}.arco-menu-vertical .arco-menu-item.arco-menu-has-icon>.arco-menu-indent-list,.arco-menu-vertical .arco-menu-group-title.arco-menu-has-icon>.arco-menu-indent-list,.arco-menu-vertical .arco-menu-pop-header.arco-menu-has-icon>.arco-menu-indent-list,.arco-menu-vertical .arco-menu-inline-header.arco-menu-has-icon>.arco-menu-indent-list,.arco-menu-vertical .arco-menu-item.arco-menu-has-icon>.arco-menu-icon,.arco-menu-vertical .arco-menu-group-title.arco-menu-has-icon>.arco-menu-icon,.arco-menu-vertical .arco-menu-pop-header.arco-menu-has-icon>.arco-menu-icon,.arco-menu-vertical .arco-menu-inline-header.arco-menu-has-icon>.arco-menu-icon{flex:none}.arco-menu-vertical .arco-menu-item.arco-menu-has-icon .arco-menu-icon,.arco-menu-vertical .arco-menu-group-title.arco-menu-has-icon .arco-menu-icon,.arco-menu-vertical .arco-menu-pop-header.arco-menu-has-icon .arco-menu-icon,.arco-menu-vertical .arco-menu-inline-header.arco-menu-has-icon .arco-menu-icon{line-height:1}.arco-menu-vertical .arco-menu-item.arco-menu-has-icon .arco-menu-title,.arco-menu-vertical .arco-menu-group-title.arco-menu-has-icon .arco-menu-title,.arco-menu-vertical .arco-menu-pop-header.arco-menu-has-icon .arco-menu-title,.arco-menu-vertical .arco-menu-inline-header.arco-menu-has-icon .arco-menu-title{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.arco-menu-vertical .arco-menu-item .arco-menu-item-inner,.arco-menu-vertical .arco-menu-group-title .arco-menu-item-inner,.arco-menu-vertical .arco-menu-pop-header .arco-menu-item-inner,.arco-menu-vertical .arco-menu-inline-header .arco-menu-item-inner{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;width:100%}.arco-menu-vertical .arco-menu-item .arco-menu-icon-suffix,.arco-menu-vertical .arco-menu-group-title .arco-menu-icon-suffix,.arco-menu-vertical .arco-menu-pop-header .arco-menu-icon-suffix,.arco-menu-vertical .arco-menu-inline-header .arco-menu-icon-suffix{position:absolute;right:12px}.arco-menu-vertical .arco-menu-inner{padding:4px 8px}.arco-menu-vertical .arco-menu-item.arco-menu-item-indented{display:flex}.arco-menu-vertical .arco-menu-pop-header,.arco-menu-vertical .arco-menu-inline-header{padding-right:28px}.arco-menu-horizontal{width:100%;height:auto}.arco-menu-horizontal .arco-menu-item,.arco-menu-horizontal .arco-menu-group-title,.arco-menu-horizontal .arco-menu-pop-header,.arco-menu-horizontal .arco-menu-inline-header{padding:0 12px;line-height:30px}.arco-menu-horizontal .arco-menu-item .arco-menu-icon-suffix .arco-icon,.arco-menu-horizontal .arco-menu-group-title .arco-menu-icon-suffix .arco-icon,.arco-menu-horizontal .arco-menu-pop-header .arco-menu-icon-suffix .arco-icon,.arco-menu-horizontal .arco-menu-inline-header .arco-menu-icon-suffix .arco-icon{margin-right:0}.arco-menu-horizontal .arco-menu-item .arco-icon,.arco-menu-horizontal .arco-menu-group-title .arco-icon,.arco-menu-horizontal .arco-menu-pop-header .arco-icon,.arco-menu-horizontal .arco-menu-inline-header .arco-icon,.arco-menu-horizontal .arco-menu-item .arco-menu-icon,.arco-menu-horizontal .arco-menu-group-title .arco-menu-icon,.arco-menu-horizontal .arco-menu-pop-header .arco-menu-icon,.arco-menu-horizontal .arco-menu-inline-header .arco-menu-icon{margin-right:16px}.arco-menu-horizontal .arco-menu-item .arco-menu-icon-suffix,.arco-menu-horizontal .arco-menu-group-title .arco-menu-icon-suffix,.arco-menu-horizontal .arco-menu-pop-header .arco-menu-icon-suffix,.arco-menu-horizontal .arco-menu-inline-header .arco-menu-icon-suffix{margin-left:6px}.arco-menu-horizontal .arco-menu-inner{display:flex;align-items:center;padding:14px 20px}.arco-menu-horizontal .arco-menu-item,.arco-menu-horizontal .arco-menu-pop{display:inline-block;flex-shrink:0;vertical-align:middle}.arco-menu-horizontal .arco-menu-item:not(:first-child),.arco-menu-horizontal .arco-menu-pop:not(:first-child){margin-left:12px}.arco-menu-horizontal .arco-menu-pop:after{position:absolute;bottom:-14px;left:0;width:100%;height:14px;content:" "}.arco-menu-overflow-wrap{width:100%}.arco-menu-overflow-sub-menu-mirror,.arco-menu-overflow-hidden-menu-item{position:absolute!important;white-space:nowrap;visibility:hidden;pointer-events:none}.arco-menu-selected-label{position:absolute;right:12px;bottom:-14px;left:12px;height:3px;background-color:rgb(var(--primary-6))}.arco-menu-pop-button{width:auto;background:none;box-shadow:none}.arco-menu-pop-button.arco-menu-collapsed{width:auto}.arco-menu-pop-button .arco-menu-item,.arco-menu-pop-button .arco-menu-group-title,.arco-menu-pop-button .arco-menu-pop-header,.arco-menu-pop-button .arco-menu-inline-header{width:40px;height:40px;margin-bottom:16px;line-height:40px;border:1px solid transparent;border-radius:50%;box-shadow:0 4px 10px #0000001a}.arco-menu-collapsed{width:48px}.arco-menu-collapsed .arco-menu-inner{padding:4px}.arco-menu-collapsed .arco-menu-icon-suffix{display:none}.arco-menu-collapsed .arco-menu-has-icon>*:not(.arco-menu-icon){opacity:0}.arco-menu-collapsed .arco-menu-item .arco-icon,.arco-menu-collapsed .arco-menu-group-title .arco-icon,.arco-menu-collapsed .arco-menu-pop-header .arco-icon,.arco-menu-collapsed .arco-menu-inline-header .arco-icon{margin-right:100%}.arco-menu-collapse-button{position:absolute;right:12px;bottom:12px;display:flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:var(--border-radius-small);cursor:pointer}.arco-menu-inline-content{height:auto;overflow:hidden;transition:height .2s cubic-bezier(.34,.69,.1,1)}.arco-menu-inline-content-hide{height:0}.arco-menu-item-tooltip a{color:inherit;cursor:text}.arco-menu-item-tooltip a:hover,.arco-menu-item-tooltip a:focus,.arco-menu-item-tooltip a:active{color:inherit}.arco-menu-pop-trigger.arco-trigger-position-bl{transform:translateY(14px)}.arco-menu-pop-trigger.arco-trigger-position-bl .arco-trigger-arrow{z-index:0;border-top:1px solid var(--color-neutral-3);border-left:1px solid var(--color-neutral-3)}.arco-menu-pop-trigger.arco-trigger-position-rt{transform:translate(8px)}.arco-menu-pop-trigger.arco-trigger-position-rt .arco-trigger-arrow{z-index:0;border-bottom:1px solid var(--color-neutral-3);border-left:1px solid var(--color-neutral-3)}.arco-menu-pop-trigger.arco-menu-pop-trigger-dark .arco-trigger-arrow{background-color:var(--color-menu-dark-bg);border-color:var(--color-menu-dark-bg)}.arco-trigger-menu{position:relative;box-sizing:border-box;max-height:200px;padding:4px 0;overflow:auto;background-color:var(--color-bg-popup);border:1px solid var(--color-fill-3);border-radius:var(--border-radius-medium);box-shadow:0 4px 10px #0000001a}.arco-trigger-menu-hidden{display:none}.arco-trigger-menu-item,.arco-trigger-menu-pop-header{position:relative;z-index:1;box-sizing:border-box;width:100%;height:36px;padding:0 12px;color:var(--color-text-1);font-size:14px;line-height:36px;text-align:left;background-color:transparent;cursor:pointer;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.arco-trigger-menu-item.arco-trigger-menu-selected,.arco-trigger-menu-pop-header.arco-trigger-menu-selected{color:var(--color-text-1);font-weight:500;background-color:transparent;transition:all .1s cubic-bezier(0,0,1,1)}.arco-trigger-menu-item:hover,.arco-trigger-menu-pop-header:hover{color:var(--color-text-1);background-color:var(--color-fill-2)}.arco-trigger-menu-item.arco-trigger-menu-disabled,.arco-trigger-menu-pop-header.arco-trigger-menu-disabled{color:var(--color-text-4);background-color:transparent;cursor:not-allowed}.arco-trigger-menu .arco-trigger-menu-has-icon{display:flex;align-items:center}.arco-trigger-menu .arco-trigger-menu-has-icon .arco-trigger-menu-icon{margin-right:8px;line-height:1}.arco-trigger-menu .arco-trigger-menu-has-icon>*{flex:none}.arco-trigger-menu .arco-trigger-menu-has-icon .arco-trigger-menu-title{flex:auto;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.arco-trigger-menu-pop-header{display:flex;align-items:center;justify-content:space-between}.arco-trigger-menu-pop-header .arco-trigger-menu-icon-suffix{margin-left:12px}.arco-trigger-menu-group:first-child .arco-trigger-menu-group-title{padding-top:4px}.arco-trigger-menu-group-title{box-sizing:border-box;width:100%;padding:8px 12px 0;color:var(--color-text-3);font-size:12px;line-height:20px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.arco-trigger-menu-pop-trigger .arco-trigger-arrow{display:none}.arco-trigger-menu-dark{background-color:var(--color-menu-dark-bg);border-color:var(--color-menu-dark-bg)}.arco-trigger-menu-dark .arco-trigger-menu-item,.arco-trigger-menu-dark .arco-trigger-menu-pop-header{color:var(--color-text-4);background-color:transparent}.arco-trigger-menu-dark .arco-trigger-menu-item.arco-trigger-menu-selected,.arco-trigger-menu-dark .arco-trigger-menu-pop-header.arco-trigger-menu-selected{color:var(--color-white);background-color:transparent}.arco-trigger-menu-dark .arco-trigger-menu-item.arco-trigger-menu-selected:hover,.arco-trigger-menu-dark .arco-trigger-menu-pop-header.arco-trigger-menu-selected:hover{color:var(--color-white)}.arco-trigger-menu-dark .arco-trigger-menu-item:hover,.arco-trigger-menu-dark .arco-trigger-menu-pop-header:hover{color:var(--color-text-4);background-color:var(--color-menu-dark-hover)}.arco-trigger-menu-dark .arco-trigger-menu-item.arco-trigger-menu-disabled,.arco-trigger-menu-dark .arco-trigger-menu-pop-header.arco-trigger-menu-disabled{color:var(--color-text-2);background-color:transparent}.arco-trigger-menu-dark .arco-trigger-menu-group-title{color:var(--color-text-3)}[data-v-cc9f2848] .arco-menu-inner .arco-menu-inline-header{display:flex;align-items:center}[data-v-cc9f2848] .arco-menu-inner .arco-icon:not(.arco-icon-down){font-size:18px}.navbar[data-v-f3c1601a]{display:flex;justify-content:space-between;height:100%;background-color:var(--color-bg-2);border-bottom:1px solid var(--color-border)}.left-side[data-v-f3c1601a]{display:flex;align-items:center;padding-left:20px}.center-side[data-v-f3c1601a]{flex:1}.right-side[data-v-f3c1601a]{display:flex;padding-right:20px;list-style:none}.right-side[data-v-f3c1601a] .locale-select{border-radius:20px}.right-side li[data-v-f3c1601a]{display:flex;align-items:center;padding:0 10px}.right-side a[data-v-f3c1601a]{color:var(--color-text-1);text-decoration:none}.right-side .nav-btn[data-v-f3c1601a]{border-color:rgb(var(--gray-2));color:rgb(var(--gray-8));font-size:16px}.right-side .trigger-btn[data-v-f3c1601a],.right-side .ref-btn[data-v-f3c1601a]{position:absolute;bottom:14px}.right-side .trigger-btn[data-v-f3c1601a]{margin-left:14px}.message-popover .arco-popover-content{margin-top:0}.arco-affix{position:fixed;z-index:999}.tag-link[data-v-17257cfa]{color:var(--color-text-2);text-decoration:none}.link-activated[data-v-17257cfa],.link-activated .tag-link[data-v-17257cfa]{color:rgb(var(--link-6))}.link-activated+.arco-tag-close-btn[data-v-17257cfa]{color:rgb(var(--link-6))}[data-v-17257cfa] .arco-dropdown-option-content span{margin-left:10px}.arco-dropdown-open .tag-link[data-v-17257cfa],.arco-dropdown-open .arco-tag-close-btn[data-v-17257cfa]{color:rgb(var(--danger-6))}.sperate-line[data-v-17257cfa]{border-bottom:1px solid var(--color-neutral-3)}.tab-bar-container[data-v-509db106]{position:relative;background-color:var(--color-bg-2)}.tab-bar-container .tab-bar-box[data-v-509db106]{display:flex;padding:0 0 0 20px;background-color:var(--color-bg-2);border-bottom:1px solid var(--color-border)}.tab-bar-container .tab-bar-box .tab-bar-scroll[data-v-509db106]{height:32px;flex:1;overflow:hidden}.tab-bar-container .tab-bar-box .tab-bar-scroll .tags-wrap[data-v-509db106]{padding:4px 0;height:48px;white-space:nowrap;overflow-x:auto}.tab-bar-container .tab-bar-box .tab-bar-scroll .tags-wrap[data-v-509db106] .arco-tag{display:inline-flex;align-items:center;margin-right:6px;cursor:pointer}.tab-bar-container .tab-bar-box .tab-bar-scroll .tags-wrap[data-v-509db106] .arco-tag:first-child .arco-tag-close-btn{display:none}.tab-bar-container .tag-bar-operation[data-v-509db106]{width:100px;height:32px}.layout[data-v-a4864bc3]{width:100%;height:100%}.layout-navbar[data-v-a4864bc3]{position:fixed;top:0;left:0;z-index:100;width:100%;height:60px}.layout-sider[data-v-a4864bc3]{position:fixed;top:0;left:0;z-index:99;height:100%;transition:all .2s cubic-bezier(.34,.69,.1,1)}.layout-sider[data-v-a4864bc3]:after{position:absolute;top:0;right:-1px;display:block;width:1px;height:100%;background-color:var(--color-border);content:""}.layout-sider[data-v-a4864bc3]>.arco-layout-sider-children{overflow-y:hidden}.menu-wrapper[data-v-a4864bc3]{height:100%;overflow:auto;overflow-x:hidden}.menu-wrapper[data-v-a4864bc3] .arco-menu ::-webkit-scrollbar{width:12px;height:4px}.menu-wrapper[data-v-a4864bc3] .arco-menu ::-webkit-scrollbar-thumb{border:4px solid transparent;background-clip:padding-box;border-radius:7px;background-color:var(--color-text-4)}.menu-wrapper[data-v-a4864bc3] .arco-menu ::-webkit-scrollbar-thumb:hover{background-color:var(--color-text-3)}.layout-content[data-v-a4864bc3]{min-height:100vh;overflow-y:hidden;background-color:var(--color-fill-2);transition:padding .2s cubic-bezier(.34,.69,.1,1)}
+.arco-dropdown{box-sizing:border-box;padding:4px 0;background-color:var(--color-bg-popup);border:1px solid var(--color-fill-3);border-radius:var(--border-radius-medium);box-shadow:0 4px 10px #0000001a}.arco-dropdown-list{margin-top:0;margin-bottom:0;padding-left:0;list-style:none}.arco-dropdown-list-wrapper{max-height:200px;overflow-y:auto}.arco-dropdown-option{position:relative;z-index:1;display:flex;align-items:center;box-sizing:border-box;width:100%;padding:0 12px;color:var(--color-text-1);font-size:14px;line-height:36px;text-align:left;background-color:transparent;cursor:pointer}.arco-dropdown-option-content{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.arco-dropdown-option-has-suffix{justify-content:space-between}.arco-dropdown-option-active,.arco-dropdown-option:not(.arco-dropdown-option-disabled):hover{color:var(--color-text-1);background-color:var(--color-fill-2);transition:all .1s cubic-bezier(0,0,1,1)}.arco-dropdown-option-disabled{color:var(--color-text-4);background-color:transparent;cursor:not-allowed}.arco-dropdown-option-icon{display:inline-flex;margin-right:8px}.arco-dropdown-option-suffix{margin-left:12px}.arco-dropdown-group:first-child .arco-dropdown-group-title{margin-top:8px}.arco-dropdown-group-title{box-sizing:border-box;width:100%;margin-top:8px;padding:0 12px;color:var(--color-text-3);font-size:12px;line-height:20px;cursor:default;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.arco-dropdown-submenu{margin-top:-4px}.arco-dropdown.arco-dropdown-has-footer{padding-bottom:0}.arco-dropdown-footer{border-top:1px solid var(--color-fill-3)}.arco-menu{position:relative;box-sizing:border-box;width:100%;font-size:14px;line-height:1.5715;transition:width .2s cubic-bezier(.34,.69,.1,1)}.arco-menu:focus-visible{outline:3px solid var(--color-primary-light-2)}.arco-menu-indent{display:inline-block;width:20px}.arco-menu .arco-menu-item,.arco-menu .arco-menu-group-title,.arco-menu .arco-menu-pop-header,.arco-menu .arco-menu-inline-header{position:relative;box-sizing:border-box;border-radius:var(--border-radius-small);cursor:pointer}.arco-menu .arco-menu-item.arco-menu-disabled,.arco-menu .arco-menu-group-title.arco-menu-disabled,.arco-menu .arco-menu-pop-header.arco-menu-disabled,.arco-menu .arco-menu-inline-header.arco-menu-disabled{cursor:not-allowed}.arco-menu .arco-menu-item.arco-menu-selected,.arco-menu .arco-menu-group-title.arco-menu-selected,.arco-menu .arco-menu-pop-header.arco-menu-selected,.arco-menu .arco-menu-inline-header.arco-menu-selected{font-weight:500;transition:color .2s cubic-bezier(0,0,1,1)}.arco-menu .arco-menu-item .arco-icon,.arco-menu .arco-menu-group-title .arco-icon,.arco-menu .arco-menu-pop-header .arco-icon,.arco-menu .arco-menu-inline-header .arco-icon,.arco-menu .arco-menu-item .arco-menu-icon,.arco-menu .arco-menu-group-title .arco-menu-icon,.arco-menu .arco-menu-pop-header .arco-menu-icon,.arco-menu .arco-menu-inline-header .arco-menu-icon{margin-right:16px}.arco-menu .arco-menu-item .arco-menu-icon .arco-icon,.arco-menu .arco-menu-group-title .arco-menu-icon .arco-icon,.arco-menu .arco-menu-pop-header .arco-menu-icon .arco-icon,.arco-menu .arco-menu-inline-header .arco-menu-icon .arco-icon{margin-right:0}.arco-menu-light{background-color:var(--color-menu-light-bg)}.arco-menu-light .arco-menu-item,.arco-menu-light .arco-menu-group-title,.arco-menu-light .arco-menu-pop-header,.arco-menu-light .arco-menu-inline-header{color:var(--color-text-2);background-color:var(--color-menu-light-bg)}.arco-menu-light .arco-menu-item .arco-icon,.arco-menu-light .arco-menu-group-title .arco-icon,.arco-menu-light .arco-menu-pop-header .arco-icon,.arco-menu-light .arco-menu-inline-header .arco-icon,.arco-menu-light .arco-menu-item .arco-menu-icon,.arco-menu-light .arco-menu-group-title .arco-menu-icon,.arco-menu-light .arco-menu-pop-header .arco-menu-icon,.arco-menu-light .arco-menu-inline-header .arco-menu-icon{color:var(--color-text-3)}.arco-menu-light .arco-menu-item:hover,.arco-menu-light .arco-menu-group-title:hover,.arco-menu-light .arco-menu-pop-header:hover,.arco-menu-light .arco-menu-inline-header:hover{color:var(--color-text-2);background-color:var(--color-fill-2)}.arco-menu-light .arco-menu-item:hover .arco-icon,.arco-menu-light .arco-menu-group-title:hover .arco-icon,.arco-menu-light .arco-menu-pop-header:hover .arco-icon,.arco-menu-light .arco-menu-inline-header:hover .arco-icon,.arco-menu-light .arco-menu-item:hover .arco-menu-icon,.arco-menu-light .arco-menu-group-title:hover .arco-menu-icon,.arco-menu-light .arco-menu-pop-header:hover .arco-menu-icon,.arco-menu-light .arco-menu-inline-header:hover .arco-menu-icon{color:var(--color-text-3)}.arco-menu-light .arco-menu-item.arco-menu-selected,.arco-menu-light .arco-menu-group-title.arco-menu-selected,.arco-menu-light .arco-menu-pop-header.arco-menu-selected,.arco-menu-light .arco-menu-inline-header.arco-menu-selected,.arco-menu-light .arco-menu-item.arco-menu-selected .arco-icon,.arco-menu-light .arco-menu-group-title.arco-menu-selected .arco-icon,.arco-menu-light .arco-menu-pop-header.arco-menu-selected .arco-icon,.arco-menu-light .arco-menu-inline-header.arco-menu-selected .arco-icon,.arco-menu-light .arco-menu-item.arco-menu-selected .arco-menu-icon,.arco-menu-light .arco-menu-group-title.arco-menu-selected .arco-menu-icon,.arco-menu-light .arco-menu-pop-header.arco-menu-selected .arco-menu-icon,.arco-menu-light .arco-menu-inline-header.arco-menu-selected .arco-menu-icon{color:rgb(var(--primary-6))}.arco-menu-light .arco-menu-item.arco-menu-disabled,.arco-menu-light .arco-menu-group-title.arco-menu-disabled,.arco-menu-light .arco-menu-pop-header.arco-menu-disabled,.arco-menu-light .arco-menu-inline-header.arco-menu-disabled{color:var(--color-text-4);background-color:var(--color-menu-light-bg)}.arco-menu-light .arco-menu-item.arco-menu-disabled .arco-icon,.arco-menu-light .arco-menu-group-title.arco-menu-disabled .arco-icon,.arco-menu-light .arco-menu-pop-header.arco-menu-disabled .arco-icon,.arco-menu-light .arco-menu-inline-header.arco-menu-disabled .arco-icon,.arco-menu-light .arco-menu-item.arco-menu-disabled .arco-menu-icon,.arco-menu-light .arco-menu-group-title.arco-menu-disabled .arco-menu-icon,.arco-menu-light .arco-menu-pop-header.arco-menu-disabled .arco-menu-icon,.arco-menu-light .arco-menu-inline-header.arco-menu-disabled .arco-menu-icon{color:var(--color-text-4)}.arco-menu-light .arco-menu-item.arco-menu-selected{background-color:var(--color-fill-2)}.arco-menu-light .arco-menu-inline-header.arco-menu-selected,.arco-menu-light .arco-menu-inline-header.arco-menu-selected .arco-icon,.arco-menu-light .arco-menu-inline-header.arco-menu-selected .arco-menu-icon{color:rgb(var(--primary-6))}.arco-menu-light .arco-menu-inline-header.arco-menu-selected:hover{background-color:var(--color-fill-2)}.arco-menu-light.arco-menu-horizontal .arco-menu-item.arco-menu-selected,.arco-menu-light.arco-menu-horizontal .arco-menu-group-title.arco-menu-selected,.arco-menu-light.arco-menu-horizontal .arco-menu-pop-header.arco-menu-selected,.arco-menu-light.arco-menu-horizontal .arco-menu-inline-header.arco-menu-selected{background:none;transition:color .2s cubic-bezier(0,0,1,1)}.arco-menu-light.arco-menu-horizontal .arco-menu-item.arco-menu-selected:hover,.arco-menu-light.arco-menu-horizontal .arco-menu-group-title.arco-menu-selected:hover,.arco-menu-light.arco-menu-horizontal .arco-menu-pop-header.arco-menu-selected:hover,.arco-menu-light.arco-menu-horizontal .arco-menu-inline-header.arco-menu-selected:hover{background-color:var(--color-fill-2)}.arco-menu-light .arco-menu-group-title{color:var(--color-text-3);pointer-events:none}.arco-menu-light .arco-menu-collapse-button{color:var(--color-text-3);background-color:var(--color-fill-1)}.arco-menu-light .arco-menu-collapse-button:hover{background-color:var(--color-fill-3)}.arco-menu-dark{background-color:var(--color-menu-dark-bg)}.arco-menu-dark .arco-menu-item,.arco-menu-dark .arco-menu-group-title,.arco-menu-dark .arco-menu-pop-header,.arco-menu-dark .arco-menu-inline-header{color:var(--color-text-4);background-color:var(--color-menu-dark-bg)}.arco-menu-dark .arco-menu-item .arco-icon,.arco-menu-dark .arco-menu-group-title .arco-icon,.arco-menu-dark .arco-menu-pop-header .arco-icon,.arco-menu-dark .arco-menu-inline-header .arco-icon,.arco-menu-dark .arco-menu-item .arco-menu-icon,.arco-menu-dark .arco-menu-group-title .arco-menu-icon,.arco-menu-dark .arco-menu-pop-header .arco-menu-icon,.arco-menu-dark .arco-menu-inline-header .arco-menu-icon{color:var(--color-text-3)}.arco-menu-dark .arco-menu-item:hover,.arco-menu-dark .arco-menu-group-title:hover,.arco-menu-dark .arco-menu-pop-header:hover,.arco-menu-dark .arco-menu-inline-header:hover{color:var(--color-text-4);background-color:var(--color-menu-dark-hover)}.arco-menu-dark .arco-menu-item:hover .arco-icon,.arco-menu-dark .arco-menu-group-title:hover .arco-icon,.arco-menu-dark .arco-menu-pop-header:hover .arco-icon,.arco-menu-dark .arco-menu-inline-header:hover .arco-icon,.arco-menu-dark .arco-menu-item:hover .arco-menu-icon,.arco-menu-dark .arco-menu-group-title:hover .arco-menu-icon,.arco-menu-dark .arco-menu-pop-header:hover .arco-menu-icon,.arco-menu-dark .arco-menu-inline-header:hover .arco-menu-icon{color:var(--color-text-3)}.arco-menu-dark .arco-menu-item.arco-menu-selected,.arco-menu-dark .arco-menu-group-title.arco-menu-selected,.arco-menu-dark .arco-menu-pop-header.arco-menu-selected,.arco-menu-dark .arco-menu-inline-header.arco-menu-selected,.arco-menu-dark .arco-menu-item.arco-menu-selected .arco-icon,.arco-menu-dark .arco-menu-group-title.arco-menu-selected .arco-icon,.arco-menu-dark .arco-menu-pop-header.arco-menu-selected .arco-icon,.arco-menu-dark .arco-menu-inline-header.arco-menu-selected .arco-icon,.arco-menu-dark .arco-menu-item.arco-menu-selected .arco-menu-icon,.arco-menu-dark .arco-menu-group-title.arco-menu-selected .arco-menu-icon,.arco-menu-dark .arco-menu-pop-header.arco-menu-selected .arco-menu-icon,.arco-menu-dark .arco-menu-inline-header.arco-menu-selected .arco-menu-icon{color:var(--color-white)}.arco-menu-dark .arco-menu-item.arco-menu-disabled,.arco-menu-dark .arco-menu-group-title.arco-menu-disabled,.arco-menu-dark .arco-menu-pop-header.arco-menu-disabled,.arco-menu-dark .arco-menu-inline-header.arco-menu-disabled{color:var(--color-text-2);background-color:var(--color-menu-dark-bg)}.arco-menu-dark .arco-menu-item.arco-menu-disabled .arco-icon,.arco-menu-dark .arco-menu-group-title.arco-menu-disabled .arco-icon,.arco-menu-dark .arco-menu-pop-header.arco-menu-disabled .arco-icon,.arco-menu-dark .arco-menu-inline-header.arco-menu-disabled .arco-icon,.arco-menu-dark .arco-menu-item.arco-menu-disabled .arco-menu-icon,.arco-menu-dark .arco-menu-group-title.arco-menu-disabled .arco-menu-icon,.arco-menu-dark .arco-menu-pop-header.arco-menu-disabled .arco-menu-icon,.arco-menu-dark .arco-menu-inline-header.arco-menu-disabled .arco-menu-icon{color:var(--color-text-2)}.arco-menu-dark .arco-menu-item.arco-menu-selected{background-color:var(--color-menu-dark-hover)}.arco-menu-dark .arco-menu-inline-header.arco-menu-selected,.arco-menu-dark .arco-menu-inline-header.arco-menu-selected .arco-icon,.arco-menu-dark .arco-menu-inline-header.arco-menu-selected .arco-menu-icon{color:rgb(var(--primary-6))}.arco-menu-dark .arco-menu-inline-header.arco-menu-selected:hover{background-color:var(--color-menu-dark-hover)}.arco-menu-dark.arco-menu-horizontal .arco-menu-item.arco-menu-selected,.arco-menu-dark.arco-menu-horizontal .arco-menu-group-title.arco-menu-selected,.arco-menu-dark.arco-menu-horizontal .arco-menu-pop-header.arco-menu-selected,.arco-menu-dark.arco-menu-horizontal .arco-menu-inline-header.arco-menu-selected{background:none;transition:color .2s cubic-bezier(0,0,1,1)}.arco-menu-dark.arco-menu-horizontal .arco-menu-item.arco-menu-selected:hover,.arco-menu-dark.arco-menu-horizontal .arco-menu-group-title.arco-menu-selected:hover,.arco-menu-dark.arco-menu-horizontal .arco-menu-pop-header.arco-menu-selected:hover,.arco-menu-dark.arco-menu-horizontal .arco-menu-inline-header.arco-menu-selected:hover{background-color:var(--color-menu-dark-hover)}.arco-menu-dark .arco-menu-group-title{color:var(--color-text-3);pointer-events:none}.arco-menu-dark .arco-menu-collapse-button{color:var(--color-white);background-color:rgb(var(--primary-6))}.arco-menu-dark .arco-menu-collapse-button:hover{background-color:rgb(var(--primary-7))}.arco-menu a,.arco-menu a:hover,.arco-menu a:focus,.arco-menu a:active{color:inherit;text-decoration:none;cursor:inherit}.arco-menu-inner{box-sizing:border-box;width:100%;height:100%;overflow:auto}.arco-menu-icon-suffix.is-open{transform:rotate(180deg)}.arco-menu-vertical .arco-menu-item,.arco-menu-vertical .arco-menu-group-title,.arco-menu-vertical .arco-menu-pop-header,.arco-menu-vertical .arco-menu-inline-header{padding:0 12px;line-height:40px}.arco-menu-vertical .arco-menu-item .arco-menu-icon-suffix .arco-icon,.arco-menu-vertical .arco-menu-group-title .arco-menu-icon-suffix .arco-icon,.arco-menu-vertical .arco-menu-pop-header .arco-menu-icon-suffix .arco-icon,.arco-menu-vertical .arco-menu-inline-header .arco-menu-icon-suffix .arco-icon{margin-right:0}.arco-menu-vertical .arco-menu-item,.arco-menu-vertical .arco-menu-group-title,.arco-menu-vertical .arco-menu-pop-header,.arco-menu-vertical .arco-menu-inline-header{margin-bottom:4px}.arco-menu-vertical .arco-menu-item:not(.arco-menu-has-icon),.arco-menu-vertical .arco-menu-group-title:not(.arco-menu-has-icon),.arco-menu-vertical .arco-menu-pop-header:not(.arco-menu-has-icon),.arco-menu-vertical .arco-menu-inline-header:not(.arco-menu-has-icon){overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.arco-menu-vertical .arco-menu-item.arco-menu-has-icon,.arco-menu-vertical .arco-menu-group-title.arco-menu-has-icon,.arco-menu-vertical .arco-menu-pop-header.arco-menu-has-icon,.arco-menu-vertical .arco-menu-inline-header.arco-menu-has-icon{display:flex;align-items:center}.arco-menu-vertical .arco-menu-item.arco-menu-has-icon>.arco-menu-indent-list,.arco-menu-vertical .arco-menu-group-title.arco-menu-has-icon>.arco-menu-indent-list,.arco-menu-vertical .arco-menu-pop-header.arco-menu-has-icon>.arco-menu-indent-list,.arco-menu-vertical .arco-menu-inline-header.arco-menu-has-icon>.arco-menu-indent-list,.arco-menu-vertical .arco-menu-item.arco-menu-has-icon>.arco-menu-icon,.arco-menu-vertical .arco-menu-group-title.arco-menu-has-icon>.arco-menu-icon,.arco-menu-vertical .arco-menu-pop-header.arco-menu-has-icon>.arco-menu-icon,.arco-menu-vertical .arco-menu-inline-header.arco-menu-has-icon>.arco-menu-icon{flex:none}.arco-menu-vertical .arco-menu-item.arco-menu-has-icon .arco-menu-icon,.arco-menu-vertical .arco-menu-group-title.arco-menu-has-icon .arco-menu-icon,.arco-menu-vertical .arco-menu-pop-header.arco-menu-has-icon .arco-menu-icon,.arco-menu-vertical .arco-menu-inline-header.arco-menu-has-icon .arco-menu-icon{line-height:1}.arco-menu-vertical .arco-menu-item.arco-menu-has-icon .arco-menu-title,.arco-menu-vertical .arco-menu-group-title.arco-menu-has-icon .arco-menu-title,.arco-menu-vertical .arco-menu-pop-header.arco-menu-has-icon .arco-menu-title,.arco-menu-vertical .arco-menu-inline-header.arco-menu-has-icon .arco-menu-title{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.arco-menu-vertical .arco-menu-item .arco-menu-item-inner,.arco-menu-vertical .arco-menu-group-title .arco-menu-item-inner,.arco-menu-vertical .arco-menu-pop-header .arco-menu-item-inner,.arco-menu-vertical .arco-menu-inline-header .arco-menu-item-inner{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;width:100%}.arco-menu-vertical .arco-menu-item .arco-menu-icon-suffix,.arco-menu-vertical .arco-menu-group-title .arco-menu-icon-suffix,.arco-menu-vertical .arco-menu-pop-header .arco-menu-icon-suffix,.arco-menu-vertical .arco-menu-inline-header .arco-menu-icon-suffix{position:absolute;right:12px}.arco-menu-vertical .arco-menu-inner{padding:4px 8px}.arco-menu-vertical .arco-menu-item.arco-menu-item-indented{display:flex}.arco-menu-vertical .arco-menu-pop-header,.arco-menu-vertical .arco-menu-inline-header{padding-right:28px}.arco-menu-horizontal{width:100%;height:auto}.arco-menu-horizontal .arco-menu-item,.arco-menu-horizontal .arco-menu-group-title,.arco-menu-horizontal .arco-menu-pop-header,.arco-menu-horizontal .arco-menu-inline-header{padding:0 12px;line-height:30px}.arco-menu-horizontal .arco-menu-item .arco-menu-icon-suffix .arco-icon,.arco-menu-horizontal .arco-menu-group-title .arco-menu-icon-suffix .arco-icon,.arco-menu-horizontal .arco-menu-pop-header .arco-menu-icon-suffix .arco-icon,.arco-menu-horizontal .arco-menu-inline-header .arco-menu-icon-suffix .arco-icon{margin-right:0}.arco-menu-horizontal .arco-menu-item .arco-icon,.arco-menu-horizontal .arco-menu-group-title .arco-icon,.arco-menu-horizontal .arco-menu-pop-header .arco-icon,.arco-menu-horizontal .arco-menu-inline-header .arco-icon,.arco-menu-horizontal .arco-menu-item .arco-menu-icon,.arco-menu-horizontal .arco-menu-group-title .arco-menu-icon,.arco-menu-horizontal .arco-menu-pop-header .arco-menu-icon,.arco-menu-horizontal .arco-menu-inline-header .arco-menu-icon{margin-right:16px}.arco-menu-horizontal .arco-menu-item .arco-menu-icon-suffix,.arco-menu-horizontal .arco-menu-group-title .arco-menu-icon-suffix,.arco-menu-horizontal .arco-menu-pop-header .arco-menu-icon-suffix,.arco-menu-horizontal .arco-menu-inline-header .arco-menu-icon-suffix{margin-left:6px}.arco-menu-horizontal .arco-menu-inner{display:flex;align-items:center;padding:14px 20px}.arco-menu-horizontal .arco-menu-item,.arco-menu-horizontal .arco-menu-pop{display:inline-block;flex-shrink:0;vertical-align:middle}.arco-menu-horizontal .arco-menu-item:not(:first-child),.arco-menu-horizontal .arco-menu-pop:not(:first-child){margin-left:12px}.arco-menu-horizontal .arco-menu-pop:after{position:absolute;bottom:-14px;left:0;width:100%;height:14px;content:" "}.arco-menu-overflow-wrap{width:100%}.arco-menu-overflow-sub-menu-mirror,.arco-menu-overflow-hidden-menu-item{position:absolute!important;white-space:nowrap;visibility:hidden;pointer-events:none}.arco-menu-selected-label{position:absolute;right:12px;bottom:-14px;left:12px;height:3px;background-color:rgb(var(--primary-6))}.arco-menu-pop-button{width:auto;background:none;box-shadow:none}.arco-menu-pop-button.arco-menu-collapsed{width:auto}.arco-menu-pop-button .arco-menu-item,.arco-menu-pop-button .arco-menu-group-title,.arco-menu-pop-button .arco-menu-pop-header,.arco-menu-pop-button .arco-menu-inline-header{width:40px;height:40px;margin-bottom:16px;line-height:40px;border:1px solid transparent;border-radius:50%;box-shadow:0 4px 10px #0000001a}.arco-menu-collapsed{width:48px}.arco-menu-collapsed .arco-menu-inner{padding:4px}.arco-menu-collapsed .arco-menu-icon-suffix{display:none}.arco-menu-collapsed .arco-menu-has-icon>*:not(.arco-menu-icon){opacity:0}.arco-menu-collapsed .arco-menu-item .arco-icon,.arco-menu-collapsed .arco-menu-group-title .arco-icon,.arco-menu-collapsed .arco-menu-pop-header .arco-icon,.arco-menu-collapsed .arco-menu-inline-header .arco-icon{margin-right:100%}.arco-menu-collapse-button{position:absolute;right:12px;bottom:12px;display:flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:var(--border-radius-small);cursor:pointer}.arco-menu-inline-content{height:auto;overflow:hidden;transition:height .2s cubic-bezier(.34,.69,.1,1)}.arco-menu-inline-content-hide{height:0}.arco-menu-item-tooltip a{color:inherit;cursor:text}.arco-menu-item-tooltip a:hover,.arco-menu-item-tooltip a:focus,.arco-menu-item-tooltip a:active{color:inherit}.arco-menu-pop-trigger.arco-trigger-position-bl{transform:translateY(14px)}.arco-menu-pop-trigger.arco-trigger-position-bl .arco-trigger-arrow{z-index:0;border-top:1px solid var(--color-neutral-3);border-left:1px solid var(--color-neutral-3)}.arco-menu-pop-trigger.arco-trigger-position-rt{transform:translate(8px)}.arco-menu-pop-trigger.arco-trigger-position-rt .arco-trigger-arrow{z-index:0;border-bottom:1px solid var(--color-neutral-3);border-left:1px solid var(--color-neutral-3)}.arco-menu-pop-trigger.arco-menu-pop-trigger-dark .arco-trigger-arrow{background-color:var(--color-menu-dark-bg);border-color:var(--color-menu-dark-bg)}.arco-trigger-menu{position:relative;box-sizing:border-box;max-height:200px;padding:4px 0;overflow:auto;background-color:var(--color-bg-popup);border:1px solid var(--color-fill-3);border-radius:var(--border-radius-medium);box-shadow:0 4px 10px #0000001a}.arco-trigger-menu-hidden{display:none}.arco-trigger-menu-item,.arco-trigger-menu-pop-header{position:relative;z-index:1;box-sizing:border-box;width:100%;height:36px;padding:0 12px;color:var(--color-text-1);font-size:14px;line-height:36px;text-align:left;background-color:transparent;cursor:pointer;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.arco-trigger-menu-item.arco-trigger-menu-selected,.arco-trigger-menu-pop-header.arco-trigger-menu-selected{color:var(--color-text-1);font-weight:500;background-color:transparent;transition:all .1s cubic-bezier(0,0,1,1)}.arco-trigger-menu-item:hover,.arco-trigger-menu-pop-header:hover{color:var(--color-text-1);background-color:var(--color-fill-2)}.arco-trigger-menu-item.arco-trigger-menu-disabled,.arco-trigger-menu-pop-header.arco-trigger-menu-disabled{color:var(--color-text-4);background-color:transparent;cursor:not-allowed}.arco-trigger-menu .arco-trigger-menu-has-icon{display:flex;align-items:center}.arco-trigger-menu .arco-trigger-menu-has-icon .arco-trigger-menu-icon{margin-right:8px;line-height:1}.arco-trigger-menu .arco-trigger-menu-has-icon>*{flex:none}.arco-trigger-menu .arco-trigger-menu-has-icon .arco-trigger-menu-title{flex:auto;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.arco-trigger-menu-pop-header{display:flex;align-items:center;justify-content:space-between}.arco-trigger-menu-pop-header .arco-trigger-menu-icon-suffix{margin-left:12px}.arco-trigger-menu-group:first-child .arco-trigger-menu-group-title{padding-top:4px}.arco-trigger-menu-group-title{box-sizing:border-box;width:100%;padding:8px 12px 0;color:var(--color-text-3);font-size:12px;line-height:20px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.arco-trigger-menu-pop-trigger .arco-trigger-arrow{display:none}.arco-trigger-menu-dark{background-color:var(--color-menu-dark-bg);border-color:var(--color-menu-dark-bg)}.arco-trigger-menu-dark .arco-trigger-menu-item,.arco-trigger-menu-dark .arco-trigger-menu-pop-header{color:var(--color-text-4);background-color:transparent}.arco-trigger-menu-dark .arco-trigger-menu-item.arco-trigger-menu-selected,.arco-trigger-menu-dark .arco-trigger-menu-pop-header.arco-trigger-menu-selected{color:var(--color-white);background-color:transparent}.arco-trigger-menu-dark .arco-trigger-menu-item.arco-trigger-menu-selected:hover,.arco-trigger-menu-dark .arco-trigger-menu-pop-header.arco-trigger-menu-selected:hover{color:var(--color-white)}.arco-trigger-menu-dark .arco-trigger-menu-item:hover,.arco-trigger-menu-dark .arco-trigger-menu-pop-header:hover{color:var(--color-text-4);background-color:var(--color-menu-dark-hover)}.arco-trigger-menu-dark .arco-trigger-menu-item.arco-trigger-menu-disabled,.arco-trigger-menu-dark .arco-trigger-menu-pop-header.arco-trigger-menu-disabled{color:var(--color-text-2);background-color:transparent}.arco-trigger-menu-dark .arco-trigger-menu-group-title{color:var(--color-text-3)}[data-v-cc9f2848] .arco-menu-inner .arco-menu-inline-header{display:flex;align-items:center}[data-v-cc9f2848] .arco-menu-inner .arco-icon:not(.arco-icon-down){font-size:18px}.navbar[data-v-5a1b0f30]{display:flex;justify-content:space-between;height:100%;background-color:var(--color-bg-2);border-bottom:1px solid var(--color-border)}.left-side[data-v-5a1b0f30]{display:flex;align-items:center;padding-left:20px}.center-side[data-v-5a1b0f30]{flex:1}.right-side[data-v-5a1b0f30]{display:flex;padding-right:20px;list-style:none}.right-side[data-v-5a1b0f30] .locale-select{border-radius:20px}.right-side li[data-v-5a1b0f30]{display:flex;align-items:center;padding:0 10px}.right-side a[data-v-5a1b0f30]{color:var(--color-text-1);text-decoration:none}.right-side .nav-btn[data-v-5a1b0f30]{border-color:rgb(var(--gray-2));color:rgb(var(--gray-8));font-size:16px}.right-side .trigger-btn[data-v-5a1b0f30],.right-side .ref-btn[data-v-5a1b0f30]{position:absolute;bottom:14px}.right-side .trigger-btn[data-v-5a1b0f30]{margin-left:14px}.message-popover .arco-popover-content{margin-top:0}.arco-affix{position:fixed;z-index:999}.tag-link[data-v-17257cfa]{color:var(--color-text-2);text-decoration:none}.link-activated[data-v-17257cfa],.link-activated .tag-link[data-v-17257cfa]{color:rgb(var(--link-6))}.link-activated+.arco-tag-close-btn[data-v-17257cfa]{color:rgb(var(--link-6))}[data-v-17257cfa] .arco-dropdown-option-content span{margin-left:10px}.arco-dropdown-open .tag-link[data-v-17257cfa],.arco-dropdown-open .arco-tag-close-btn[data-v-17257cfa]{color:rgb(var(--danger-6))}.sperate-line[data-v-17257cfa]{border-bottom:1px solid var(--color-neutral-3)}.tab-bar-container[data-v-509db106]{position:relative;background-color:var(--color-bg-2)}.tab-bar-container .tab-bar-box[data-v-509db106]{display:flex;padding:0 0 0 20px;background-color:var(--color-bg-2);border-bottom:1px solid var(--color-border)}.tab-bar-container .tab-bar-box .tab-bar-scroll[data-v-509db106]{height:32px;flex:1;overflow:hidden}.tab-bar-container .tab-bar-box .tab-bar-scroll .tags-wrap[data-v-509db106]{padding:4px 0;height:48px;white-space:nowrap;overflow-x:auto}.tab-bar-container .tab-bar-box .tab-bar-scroll .tags-wrap[data-v-509db106] .arco-tag{display:inline-flex;align-items:center;margin-right:6px;cursor:pointer}.tab-bar-container .tab-bar-box .tab-bar-scroll .tags-wrap[data-v-509db106] .arco-tag:first-child .arco-tag-close-btn{display:none}.tab-bar-container .tag-bar-operation[data-v-509db106]{width:100px;height:32px}.layout[data-v-a4864bc3]{width:100%;height:100%}.layout-navbar[data-v-a4864bc3]{position:fixed;top:0;left:0;z-index:100;width:100%;height:60px}.layout-sider[data-v-a4864bc3]{position:fixed;top:0;left:0;z-index:99;height:100%;transition:all .2s cubic-bezier(.34,.69,.1,1)}.layout-sider[data-v-a4864bc3]:after{position:absolute;top:0;right:-1px;display:block;width:1px;height:100%;background-color:var(--color-border);content:""}.layout-sider[data-v-a4864bc3]>.arco-layout-sider-children{overflow-y:hidden}.menu-wrapper[data-v-a4864bc3]{height:100%;overflow:auto;overflow-x:hidden}.menu-wrapper[data-v-a4864bc3] .arco-menu ::-webkit-scrollbar{width:12px;height:4px}.menu-wrapper[data-v-a4864bc3] .arco-menu ::-webkit-scrollbar-thumb{border:4px solid transparent;background-clip:padding-box;border-radius:7px;background-color:var(--color-text-4)}.menu-wrapper[data-v-a4864bc3] .arco-menu ::-webkit-scrollbar-thumb:hover{background-color:var(--color-text-3)}.layout-content[data-v-a4864bc3]{min-height:100vh;overflow-y:hidden;background-color:var(--color-fill-2);transition:padding .2s cubic-bezier(.34,.69,.1,1)}
diff --git a/assets/default-layout.09a5115b.css.gz b/assets/default-layout.644894fb.css.gz
similarity index 80%
rename from assets/default-layout.09a5115b.css.gz
rename to assets/default-layout.644894fb.css.gz
index e35aca9..10963a6 100644
Binary files a/assets/default-layout.09a5115b.css.gz and b/assets/default-layout.644894fb.css.gz differ
diff --git a/assets/default-layout.ab8c2e04.js.gz b/assets/default-layout.ab8c2e04.js.gz
deleted file mode 100644
index c9fd2d7..0000000
Binary files a/assets/default-layout.ab8c2e04.js.gz and /dev/null differ
diff --git a/assets/index.06bcb383.js.gz b/assets/index.06bcb383.js.gz
deleted file mode 100644
index 6dd292f..0000000
Binary files a/assets/index.06bcb383.js.gz and /dev/null differ
diff --git a/assets/index.09346e9b.js.gz b/assets/index.09346e9b.js.gz
deleted file mode 100644
index e74d603..0000000
Binary files a/assets/index.09346e9b.js.gz and /dev/null differ
diff --git a/assets/index.1c026c97.js.gz b/assets/index.1c026c97.js.gz
deleted file mode 100644
index 61753e5..0000000
Binary files a/assets/index.1c026c97.js.gz and /dev/null differ
diff --git a/assets/index.9c862486.js b/assets/index.1dc9af91.js
similarity index 97%
rename from assets/index.9c862486.js
rename to assets/index.1dc9af91.js
index 655f213..21eb8c1 100644
--- a/assets/index.9c862486.js
+++ b/assets/index.1dc9af91.js
@@ -1 +1 @@
-import{e as g,q as B,_ as E}from"./index.cddd8fd4.js";/* empty css *//* empty css *//* empty css *//* empty css */import{d as w,r as A,bB as k,bC as v,C,D as x,aI as s,aH as c,aM as p,aN as D,G as N,n as m,aZ as P,b8 as S,bD as T,bM as H}from"./arco.f883ed21.js";import{d as F,c as I,r as _,i as M,j as b,l as V,n as j}from"./serial.b70f48dc.js";import"./chart.977fd17b.js";import"./vue.170d1f1d.js";const L={class:"container"},R=["innerHTML"],U={name:"Flash"},q=w({...U,setup(z){const u=g(),t=A({status:"\u70B9\u51FB\u66F4\u65B0\u6309\u94AE\u66F4\u65B0\u56FA\u4EF6\u5230\u8BBE\u5907
",binaryFile:void 0,binaryName:""}),f=()=>{const a=document.createElement("input");a.type="file",a.onchange=async()=>{const r=new Blob([a.files[0]],{type:"application/octet-stream"}),i=new Uint8Array(await r.arrayBuffer());t.binaryFile=i,t.binaryName=a.files[0].name},a.click()},y=async()=>{if(!t.binaryFile){alert("\u8BF7\u9009\u62E9\u6587\u4EF6");return}u.connectPort&&await F(u.connectPort);let a=await I();await _(a,24,1e3);const r=M(t.binaryFile),i=new Uint8Array([48,5,r.length,0,...r]);await b(a,i),await _(a,24);const o=V(t.binaryFile);if(o.length>61439)throw new Error("Last resort boundary check failed. Whoever touched the code is an idiot.");for(let e=0;e`,m(()=>{const n=document==null?void 0:document.getElementById("statusArea");n&&(n.scrollTop=n==null?void 0:n.scrollHeight)})}t.status=t.status+"\u66F4\u65B0\u8FDB\u5EA6 100.0% ",t.status=t.status+"\u56FA\u4EF6\u66F4\u65B0\u6210\u529F",m(()=>{const e=document==null?void 0:document.getElementById("statusArea");e&&(e.scrollTop=e==null?void 0:e.scrollHeight)}),F(a),u.updateSettings({connectState:!1})};return(a,r)=>{const i=B,o=P,e=S,l=k,d=v,n=T,h=H;return C(),x("div",L,[s(i,{items:["\u5C0F\u5DE5\u5177","\u56FA\u4EF6\u5347\u7EA7"]}),s(h,{gutter:20,align:"stretch"},{default:c(()=>[s(n,{span:24},{default:c(()=>[s(d,{class:"general-card",title:"\u56FA\u4EF6\u5347\u7EA7"},{default:c(()=>[s(e,null,{default:c(()=>[s(o,{onClick:f},{default:c(()=>[p(D(t.binaryFile?t.binaryName:"\u9009\u62E9\u56FA\u4EF6"),1)]),_:1}),s(o,{type:"primary",disabled:!t.binaryFile,onClick:y},{default:c(()=>[p("\u66F4\u65B0")]),_:1},8,["disabled"])]),_:1}),s(l),N("div",{id:"statusArea",style:{height:"20em","background-color":"azure",color:"silver",overflow:"auto",padding:"20px"},innerHTML:t.status},null,8,R)]),_:1})]),_:1})]),_:1})])}}});const Y=E(q,[["__scopeId","data-v-dacccb62"]]);export{Y as default};
+import{e as g,q as B,_ as E}from"./index.870d30e3.js";/* empty css *//* empty css *//* empty css *//* empty css */import{d as w,r as A,bB as k,bC as v,C,D as x,aI as s,aH as c,aM as p,aN as D,G as N,n as m,aZ as P,b8 as S,bD as T,bM as H}from"./arco.f883ed21.js";import{d as F,c as I,r as _,i as M,j as b,l as V,n as j}from"./serial.b70f48dc.js";import"./chart.977fd17b.js";import"./vue.170d1f1d.js";const L={class:"container"},R=["innerHTML"],U={name:"Flash"},q=w({...U,setup(z){const u=g(),t=A({status:"\u70B9\u51FB\u66F4\u65B0\u6309\u94AE\u66F4\u65B0\u56FA\u4EF6\u5230\u8BBE\u5907
'};n.configure=function(k){var b,E;for(b in k)E=k[b],E!==void 0&&k.hasOwnProperty(b)&&(u[b]=E);return this},n.status=null,n.set=function(k){var b=n.isStarted();k=o(k,u.minimum,1),n.status=k===1?null:k;var E=n.render(!b),R=E.querySelector(u.barSelector),J=u.speed,s2=u.easing;return E.offsetWidth,f(function(j){u.positionUsing===""&&(u.positionUsing=n.getPositioningCSS()),_(R,t(k,J,s2)),k===1?(_(E,{transition:"none",opacity:1}),E.offsetWidth,setTimeout(function(){_(E,{transition:"all "+J+"ms linear",opacity:0}),setTimeout(function(){n.remove(),j()},J)},J)):setTimeout(j,J)}),this},n.isStarted=function(){return typeof n.status=="number"},n.start=function(){n.status||n.set(0);var k=function(){setTimeout(function(){!n.status||(n.trickle(),k())},u.trickleSpeed)};return u.trickle&&k(),this},n.done=function(k){return!k&&!n.status?this:n.inc(.3+.5*Math.random()).set(1)},n.inc=function(k){var b=n.status;return b?(typeof k!="number"&&(k=(1-b)*o(Math.random()*b,.1,.95)),b=o(b+k,0,.994),n.set(b)):n.start()},n.trickle=function(){return n.inc(Math.random()*u.trickleRate)},function(){var k=0,b=0;n.promise=function(E){return!E||E.state()==="resolved"?this:(b===0&&n.start(),k++,b++,E.always(function(){b--,b===0?(k=0,n.done()):n.set((k-b)/k)}),this)}}(),n.render=function(k){if(n.isRendered())return document.getElementById("nprogress");C(document.documentElement,"nprogress-busy");var b=document.createElement("div");b.id="nprogress",b.innerHTML=u.template;var E=b.querySelector(u.barSelector),R=k?"-100":r(n.status||0),J=document.querySelector(u.parent),s2;return _(E,{transition:"all 0 linear",transform:"translate3d("+R+"%,0,0)"}),u.showSpinner||(s2=b.querySelector(u.spinnerSelector),s2&&F(s2)),J!=document.body&&C(J,"nprogress-custom-parent"),J.appendChild(b),b},n.remove=function(){y(document.documentElement,"nprogress-busy"),y(document.querySelector(u.parent),"nprogress-custom-parent");var k=document.getElementById("nprogress");k&&F(k)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var k=document.body.style,b="WebkitTransform"in k?"Webkit":"MozTransform"in k?"Moz":"msTransform"in k?"ms":"OTransform"in k?"O":"";return b+"Perspective"in k?"translate3d":b+"Transform"in k?"translate":"margin"};function o(k,b,E){return kE?E:k}function r(k){return(-1+k)*100}function t(k,b,E){var R;return u.positionUsing==="translate3d"?R={transform:"translate3d("+r(k)+"%,0,0)"}:u.positionUsing==="translate"?R={transform:"translate("+r(k)+"%,0)"}:R={"margin-left":r(k)+"%"},R.transition="all "+b+"ms "+E,R}var f=function(){var k=[];function b(){var E=k.shift();E&&E(b)}return function(E){k.push(E),k.length==1&&b()}}(),_=function(){var k=["Webkit","O","Moz","ms"],b={};function E(j){return j.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(t2,h2){return h2.toUpperCase()})}function R(j){var t2=document.body.style;if(j in t2)return j;for(var h2=k.length,P=j.charAt(0).toUpperCase()+j.slice(1),T;h2--;)if(T=k[h2]+P,T in t2)return T;return j}function J(j){return j=E(j),b[j]||(b[j]=R(j))}function s2(j,t2,h2){t2=J(t2),j.style[t2]=h2}return function(j,t2){var h2=arguments,P,T;if(h2.length==2)for(P in t2)T=t2[P],T!==void 0&&t2.hasOwnProperty(P)&&s2(j,P,T);else s2(j,h2[1],h2[2])}}();function p(k,b){var E=typeof k=="string"?k:w(k);return E.indexOf(" "+b+" ")>=0}function C(k,b){var E=w(k),R=E+b;p(E,b)||(k.className=R.substring(1))}function y(k,b){var E=w(k),R;!p(k,b)||(R=E.replace(" "+b+" "," "),k.className=R.substring(1,R.length-1))}function w(k){return(" "+(k.className||"")+" ").replace(/\s+/gi," ")}function F(k){k&&k.parentNode&&k.parentNode.removeChild(k)}return n})})(nprogress$1);const NProgress=nprogress$1.exports,nprogress="",WHITE_LIST=[{name:"notFound",children:[]},{name:"login",children:[]}],NOT_FOUND={name:"notFound"},REDIRECT_ROUTE_NAME="Redirect",DEFAULT_ROUTE_NAME="Workplace",DEFAULT_ROUTE={title:"menu.dashboard.workplace",name:DEFAULT_ROUTE_NAME,fullPath:"/chirp/base"},DEFAULT_LAYOUT=()=>__vitePreload(()=>import("./default-layout.5cab7983.js"),["./default-layout.5cab7983.js","./index.3d2856c9.js","./arco.f883ed21.js","./index.06d3e762.css","./vue.170d1f1d.js","./serial.b70f48dc.js","./chart.977fd17b.js","./default-layout.644894fb.css","./index.c61a5e20.css","./index.c0474d9d.css","./index.749fce18.css","./index.29e407fe.css"],import.meta.url),REDIRECT_MAIN={path:"/redirect",name:"redirectWrapper",component:DEFAULT_LAYOUT,meta:{requiresAuth:!0,hideInMenu:!0},children:[{path:"/redirect/:path",name:REDIRECT_ROUTE_NAME,component:()=>__vitePreload(()=>import("./index.39497f3f.js"),["./index.39497f3f.js","./arco.f883ed21.js","./vue.170d1f1d.js"],import.meta.url),meta:{requiresAuth:!0,hideInMenu:!0}}]},NOT_FOUND_ROUTE={path:"/:pathMatch(.*)*",name:"notFound",component:()=>__vitePreload(()=>import("./index.70b3a782.js"),["./index.70b3a782.js","./arco.f883ed21.js","./vue.170d1f1d.js","./chart.977fd17b.js","./index.348828e6.css","./index.27ab35af.css"],import.meta.url)},DASHBOARD={path:"/chirp",name:"dashboard",component:DEFAULT_LAYOUT,meta:{locale:"menu.dashboard",requiresAuth:!0,icon:"icon-dashboard",order:0},children:[{path:"base",name:"Workplace",component:()=>__vitePreload(()=>import("./index.bb2c26f3.js"),["./index.bb2c26f3.js","./arco.f883ed21.js","./chart.977fd17b.js","./vue.170d1f1d.js","./index.af4186c4.css","./index.749fce18.css","./index.8cd4a294.css","./index.2a1c99a8.css","./index.d2d6d95f.css","./index.c61a5e20.css","./index.c0474d9d.css"],import.meta.url),meta:{locale:"menu.dashboard.workplace",requiresAuth:!0,roles:["*"]}},{path:"channel",name:"Channel",component:()=>__vitePreload(()=>import("./index.898e472c.js"),["./index.898e472c.js","./arco.f883ed21.js","./loading.50b9fdaf.js","./serial.b70f48dc.js","./chart.977fd17b.js","./vue.170d1f1d.js","./index.cc4c3c5f.css","./index.8cd4a294.css","./index.d2d6d95f.css","./index.749fce18.css"],import.meta.url),meta:{locale:"\u4FE1\u9053\u7BA1\u7406",requiresAuth:!0,roles:["*"]}},{path:"settings",name:"Settings",component:()=>__vitePreload(()=>import("./index.d26e3c2a.js"),["./index.d26e3c2a.js","./arco.f883ed21.js","./loading.50b9fdaf.js","./serial.b70f48dc.js","./chart.977fd17b.js","./vue.170d1f1d.js","./index.a730fc97.css","./index.8cd4a294.css","./index.d2d6d95f.css","./index.338b4449.css","./index.749fce18.css"],import.meta.url),meta:{locale:"\u8BBE\u7F6E\u7BA1\u7406",requiresAuth:!0,roles:["*"]}}]},__vite_glob_0_0=Object.freeze(Object.defineProperty({__proto__:null,default:DASHBOARD},Symbol.toStringTag,{value:"Module"})),__vite_glob_0_1=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),__vite_glob_0_2=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),GUIDE={path:"/guide",name:"guide",component:DEFAULT_LAYOUT,meta:{locale:"\u6307\u5357",requiresAuth:!0,icon:"icon-list",order:3},children:[{path:"f117",name:"f117",component:()=>__vitePreload(()=>import("./index.4f79924f.js"),["./index.4f79924f.js","./arco.f883ed21.js","./vue.170d1f1d.js","./serial.b70f48dc.js","./chart.977fd17b.js","./index.65196d84.css","./index.d2d6d95f.css","./index.8cd4a294.css","./index.27ab35af.css","./index.749fce18.css","./index.2a1c99a8.css"],import.meta.url),meta:{locale:"\u4F7F\u7528117P6\u7248",requiresAuth:!0,roles:["*"]}}]},__vite_glob_0_3=Object.freeze(Object.defineProperty({__proto__:null,default:GUIDE},Symbol.toStringTag,{value:"Module"})),LIST={path:"/tool",name:"list",component:DEFAULT_LAYOUT,meta:{locale:"menu.list",requiresAuth:!0,icon:"icon-list",order:2},children:[{path:"backup",name:"Backup",component:()=>__vitePreload(()=>import("./index.d076ea65.js"),["./index.d076ea65.js","./arco.f883ed21.js","./serial.b70f48dc.js","./chart.977fd17b.js","./vue.170d1f1d.js","./index.108fb7b0.css","./index.d2d6d95f.css","./index.8cd4a294.css","./index.2a1c99a8.css","./index.77c6cd58.css","./index.10cd5ae5.css","./index.c61a5e20.css","./index.757d8103.css","./index.29e407fe.css","./index.749fce18.css"],import.meta.url),meta:{locale:"\u5907\u4EFD/\u8FD8\u539F",requiresAuth:!0,roles:["*"]}},{path:"flash",name:"Flash",component:()=>__vitePreload(()=>import("./index.1dc9af91.js"),["./index.1dc9af91.js","./arco.f883ed21.js","./serial.b70f48dc.js","./chart.977fd17b.js","./vue.170d1f1d.js","./index.a33c2410.css","./index.d2d6d95f.css","./index.8cd4a294.css","./index.2a1c99a8.css","./index.749fce18.css"],import.meta.url),meta:{locale:"\u56FA\u4EF6\u5347\u7EA7",requiresAuth:!0,roles:["*"]}},{path:"image",name:"Image",component:()=>__vitePreload(()=>import("./index.40418da5.js"),["./index.40418da5.js","./arco.f883ed21.js","./serial.b70f48dc.js","./chart.977fd17b.js","./vue.170d1f1d.js","./index.e5b88a56.css","./index.d2d6d95f.css","./index.8cd4a294.css","./index.749fce18.css","./index.77c6cd58.css"],import.meta.url),meta:{locale:"\u5F00\u673A\u56FE\u7247",requiresAuth:!0,roles:["*"]}},{path:"chi",name:"Chi",component:()=>__vitePreload(()=>import("./index.cd0dc049.js"),["./index.cd0dc049.js","./arco.f883ed21.js","./serial.b70f48dc.js","./chart.977fd17b.js","./vue.170d1f1d.js","./index.7a1a65a2.css","./index.d2d6d95f.css","./index.8cd4a294.css","./index.2a1c99a8.css","./index.749fce18.css"],import.meta.url),meta:{locale:"\u5B57\u5E93\u5199\u5165",requiresAuth:!0,roles:["*"]}},{path:"sat",name:"Sat",component:()=>__vitePreload(()=>import("./index.f94e27e4.js"),["./index.f94e27e4.js","./arco.f883ed21.js","./serial.b70f48dc.js","./loading.50b9fdaf.js","./chart.977fd17b.js","./vue.170d1f1d.js","./index.87d32a85.css","./index.d2d6d95f.css","./index.8cd4a294.css","./index.2a1c99a8.css","./index.749fce18.css","./index.338b4449.css","./index.10cd5ae5.css","./index.c61a5e20.css","./index.757d8103.css","./index.29e407fe.css"],import.meta.url),meta:{locale:"\u536B\u661F\u5199\u5165\uFF08WIP\uFF09",requiresAuth:!0,roles:["*"]}}]},__vite_glob_0_4=Object.freeze(Object.defineProperty({__proto__:null,default:LIST},Symbol.toStringTag,{value:"Module"})),__vite_glob_0_5=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),__vite_glob_0_6=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),__vite_glob_0_7=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),__vite_glob_0_8=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),faq={path:"https://www.vicicode.com/",name:"\u4F5C\u8005\uFF1ABD8DFN",meta:{locale:"\u4F5C\u8005\uFF1ABD8DFN",requiresAuth:!0,order:8}},__vite_glob_1_0=Object.freeze(Object.defineProperty({__proto__:null,default:faq},Symbol.toStringTag,{value:"Module"})),modules=Object.assign({"./modules/dashboard.ts":__vite_glob_0_0,"./modules/exception.ts":__vite_glob_0_1,"./modules/form.ts":__vite_glob_0_2,"./modules/guide.ts":__vite_glob_0_3,"./modules/list.ts":__vite_glob_0_4,"./modules/profile.ts":__vite_glob_0_5,"./modules/result.ts":__vite_glob_0_6,"./modules/user.ts":__vite_glob_0_7,"./modules/visualization.ts":__vite_glob_0_8}),externalModules=Object.assign({"./externalModules/faq.ts":__vite_glob_1_0});function formatModules(l,e){return Object.keys(l).forEach(n=>{const u=l[n].default;if(!u)return;const o=Array.isArray(u)?[...u]:[u];e.push(...o)}),e}const appRoutes=formatModules(modules,[]),appExternalRoutes=formatModules(externalModules,[]);function mitt(l){return{all:l=l||new Map,on:function(e,n){var u=l.get(e);u?u.push(n):l.set(e,[n])},off:function(e,n){var u=l.get(e);u&&(n?u.splice(u.indexOf(n)>>>0,1):l.set(e,[]))},emit:function(e,n){var u=l.get(e);u&&u.slice().map(function(o){o(n)}),(u=l.get("*"))&&u.slice().map(function(o){o(e,n)})}}}const emitter=mitt(),key=Symbol("ROUTE_CHANGE");let latestRoute;function setRouteEmitter(l){emitter.emit(key,l),latestRoute=l}function listenerRouteChange(l,e=!0){emitter.on(key,l),e&&latestRoute&&l(latestRoute)}function removeRouteListener(){emitter.off(key)}function setupUserLoginInfoGuard(l){l.beforeEach(async(e,n,u)=>{NProgress.start(),u()})}const index$a="",theme="light",colorWeak=!1,navbar=!0,menu=!0,topMenu=!1,hideMenu=!1,menuCollapse=!1,footer=!0,themeColor="#165DFF",menuWidth=220,globalSettings=!1,device="desktop",tabBar=!1,menuFromServer=!1,serverMenu=[],connectState=!1,firmwareVersion="",connectPort=null,configuration=null,defaultSettings={theme,colorWeak,navbar,menu,topMenu,hideMenu,menuCollapse,footer,themeColor,menuWidth,globalSettings,device,tabBar,menuFromServer,serverMenu,connectState,firmwareVersion,connectPort,configuration};var axios$3={exports:{}},axios$2={exports:{}},bind$2=function(e,n){return function(){for(var o=new Array(arguments.length),r=0;r"u"}function isBuffer(l){return l!==null&&!isUndefined(l)&&l.constructor!==null&&!isUndefined(l.constructor)&&typeof l.constructor.isBuffer=="function"&&l.constructor.isBuffer(l)}function isArrayBuffer(l){return toString.call(l)==="[object ArrayBuffer]"}function isFormData(l){return typeof FormData<"u"&&l instanceof FormData}function isArrayBufferView(l){var e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(l):e=l&&l.buffer&&l.buffer instanceof ArrayBuffer,e}function isString$1(l){return typeof l=="string"}function isNumber(l){return typeof l=="number"}function isObject(l){return l!==null&&typeof l=="object"}function isPlainObject(l){if(toString.call(l)!=="[object Object]")return!1;var e=Object.getPrototypeOf(l);return e===null||e===Object.prototype}function isDate(l){return toString.call(l)==="[object Date]"}function isFile(l){return toString.call(l)==="[object File]"}function isBlob(l){return toString.call(l)==="[object Blob]"}function isFunction(l){return toString.call(l)==="[object Function]"}function isStream(l){return isObject(l)&&isFunction(l.pipe)}function isURLSearchParams(l){return typeof URLSearchParams<"u"&&l instanceof URLSearchParams}function trim(l){return l.trim?l.trim():l.replace(/^\s+|\s+$/g,"")}function isStandardBrowserEnv(){return typeof navigator<"u"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window<"u"&&typeof document<"u"}function forEach(l,e){if(!(l===null||typeof l>"u"))if(typeof l!="object"&&(l=[l]),isArray(l))for(var n=0,u=l.length;n"u"||(utils$7.isArray(_)?p=p+"[]":_=[_],utils$7.forEach(_,function(y){utils$7.isDate(y)?y=y.toISOString():utils$7.isObject(y)&&(y=JSON.stringify(y)),r.push(encode$1(p)+"="+encode$1(y))}))}),o=r.join("&")}if(o){var t=e.indexOf("#");t!==-1&&(e=e.slice(0,t)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e},utils$6=utils$8;function InterceptorManager$1(){this.handlers=[]}InterceptorManager$1.prototype.use=function(e,n,u){return this.handlers.push({fulfilled:e,rejected:n,synchronous:u?u.synchronous:!1,runWhen:u?u.runWhen:null}),this.handlers.length-1};InterceptorManager$1.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)};InterceptorManager$1.prototype.forEach=function(e){utils$6.forEach(this.handlers,function(u){u!==null&&e(u)})};var InterceptorManager_1=InterceptorManager$1,utils$5=utils$8,normalizeHeaderName=function(e,n){utils$5.forEach(e,function(o,r){r!==n&&r.toUpperCase()===n.toUpperCase()&&(e[n]=o,delete e[r])})},enhanceError=function(e,n,u,o,r){return e.config=n,u&&(e.code=u),e.request=o,e.response=r,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},e},createError,hasRequiredCreateError;function requireCreateError(){if(hasRequiredCreateError)return createError;hasRequiredCreateError=1;var l=enhanceError;return createError=function(n,u,o,r,t){var f=new Error(n);return l(f,u,o,r,t)},createError}var settle,hasRequiredSettle;function requireSettle(){if(hasRequiredSettle)return settle;hasRequiredSettle=1;var l=requireCreateError();return settle=function(n,u,o){var r=o.config.validateStatus;!o.status||!r||r(o.status)?n(o):u(l("Request failed with status code "+o.status,o.config,null,o.request,o))},settle}var cookies,hasRequiredCookies;function requireCookies(){if(hasRequiredCookies)return cookies;hasRequiredCookies=1;var l=utils$8;return cookies=l.isStandardBrowserEnv()?function(){return{write:function(u,o,r,t,f,_){var p=[];p.push(u+"="+encodeURIComponent(o)),l.isNumber(r)&&p.push("expires="+new Date(r).toGMTString()),l.isString(t)&&p.push("path="+t),l.isString(f)&&p.push("domain="+f),_===!0&&p.push("secure"),document.cookie=p.join("; ")},read:function(u){var o=document.cookie.match(new RegExp("(^|;\\s*)("+u+")=([^;]*)"));return o?decodeURIComponent(o[3]):null},remove:function(u){this.write(u,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),cookies}var isAbsoluteURL,hasRequiredIsAbsoluteURL;function requireIsAbsoluteURL(){return hasRequiredIsAbsoluteURL||(hasRequiredIsAbsoluteURL=1,isAbsoluteURL=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}),isAbsoluteURL}var combineURLs,hasRequiredCombineURLs;function requireCombineURLs(){return hasRequiredCombineURLs||(hasRequiredCombineURLs=1,combineURLs=function(e,n){return n?e.replace(/\/+$/,"")+"/"+n.replace(/^\/+/,""):e}),combineURLs}var buildFullPath,hasRequiredBuildFullPath;function requireBuildFullPath(){if(hasRequiredBuildFullPath)return buildFullPath;hasRequiredBuildFullPath=1;var l=requireIsAbsoluteURL(),e=requireCombineURLs();return buildFullPath=function(u,o){return u&&!l(o)?e(u,o):o},buildFullPath}var parseHeaders,hasRequiredParseHeaders;function requireParseHeaders(){if(hasRequiredParseHeaders)return parseHeaders;hasRequiredParseHeaders=1;var l=utils$8,e=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];return parseHeaders=function(u){var o={},r,t,f;return u&&l.forEach(u.split(`
+`),function(p){if(f=p.indexOf(":"),r=l.trim(p.substr(0,f)).toLowerCase(),t=l.trim(p.substr(f+1)),r){if(o[r]&&e.indexOf(r)>=0)return;r==="set-cookie"?o[r]=(o[r]?o[r]:[]).concat([t]):o[r]=o[r]?o[r]+", "+t:t}}),o},parseHeaders}var isURLSameOrigin,hasRequiredIsURLSameOrigin;function requireIsURLSameOrigin(){if(hasRequiredIsURLSameOrigin)return isURLSameOrigin;hasRequiredIsURLSameOrigin=1;var l=utils$8;return isURLSameOrigin=l.isStandardBrowserEnv()?function(){var n=/(msie|trident)/i.test(navigator.userAgent),u=document.createElement("a"),o;function r(t){var f=t;return n&&(u.setAttribute("href",f),f=u.href),u.setAttribute("href",f),{href:u.href,protocol:u.protocol?u.protocol.replace(/:$/,""):"",host:u.host,search:u.search?u.search.replace(/^\?/,""):"",hash:u.hash?u.hash.replace(/^#/,""):"",hostname:u.hostname,port:u.port,pathname:u.pathname.charAt(0)==="/"?u.pathname:"/"+u.pathname}}return o=r(window.location.href),function(f){var _=l.isString(f)?r(f):f;return _.protocol===o.protocol&&_.host===o.host}}():function(){return function(){return!0}}(),isURLSameOrigin}var Cancel_1,hasRequiredCancel;function requireCancel(){if(hasRequiredCancel)return Cancel_1;hasRequiredCancel=1;function l(e){this.message=e}return l.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},l.prototype.__CANCEL__=!0,Cancel_1=l,Cancel_1}var xhr,hasRequiredXhr;function requireXhr(){if(hasRequiredXhr)return xhr;hasRequiredXhr=1;var l=utils$8,e=requireSettle(),n=requireCookies(),u=buildURL$1,o=requireBuildFullPath(),r=requireParseHeaders(),t=requireIsURLSameOrigin(),f=requireCreateError(),_=requireDefaults(),p=requireCancel();return xhr=function(y){return new Promise(function(F,k){var b=y.data,E=y.headers,R=y.responseType,J;function s2(){y.cancelToken&&y.cancelToken.unsubscribe(J),y.signal&&y.signal.removeEventListener("abort",J)}l.isFormData(b)&&delete E["Content-Type"];var j=new XMLHttpRequest;if(y.auth){var t2=y.auth.username||"",h2=y.auth.password?unescape(encodeURIComponent(y.auth.password)):"";E.Authorization="Basic "+btoa(t2+":"+h2)}var P=o(y.baseURL,y.url);j.open(y.method.toUpperCase(),u(P,y.params,y.paramsSerializer),!0),j.timeout=y.timeout;function T(){if(!!j){var $2="getAllResponseHeaders"in j?r(j.getAllResponseHeaders()):null,V=!R||R==="text"||R==="json"?j.responseText:j.response,E2={data:V,status:j.status,statusText:j.statusText,headers:$2,config:y,request:j};e(function(y2){F(y2),s2()},function(y2){k(y2),s2()},E2),j=null}}if("onloadend"in j?j.onloadend=T:j.onreadystatechange=function(){!j||j.readyState!==4||j.status===0&&!(j.responseURL&&j.responseURL.indexOf("file:")===0)||setTimeout(T)},j.onabort=function(){!j||(k(f("Request aborted",y,"ECONNABORTED",j)),j=null)},j.onerror=function(){k(f("Network Error",y,null,j)),j=null},j.ontimeout=function(){var V=y.timeout?"timeout of "+y.timeout+"ms exceeded":"timeout exceeded",E2=y.transitional||_.transitional;y.timeoutErrorMessage&&(V=y.timeoutErrorMessage),k(f(V,y,E2.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",j)),j=null},l.isStandardBrowserEnv()){var p2=(y.withCredentials||t(P))&&y.xsrfCookieName?n.read(y.xsrfCookieName):void 0;p2&&(E[y.xsrfHeaderName]=p2)}"setRequestHeader"in j&&l.forEach(E,function(V,E2){typeof b>"u"&&E2.toLowerCase()==="content-type"?delete E[E2]:j.setRequestHeader(E2,V)}),l.isUndefined(y.withCredentials)||(j.withCredentials=!!y.withCredentials),R&&R!=="json"&&(j.responseType=y.responseType),typeof y.onDownloadProgress=="function"&&j.addEventListener("progress",y.onDownloadProgress),typeof y.onUploadProgress=="function"&&j.upload&&j.upload.addEventListener("progress",y.onUploadProgress),(y.cancelToken||y.signal)&&(J=function($2){!j||(k(!$2||$2&&$2.type?new p("canceled"):$2),j.abort(),j=null)},y.cancelToken&&y.cancelToken.subscribe(J),y.signal&&(y.signal.aborted?J():y.signal.addEventListener("abort",J))),b||(b=null),j.send(b)})},xhr}var defaults_1,hasRequiredDefaults;function requireDefaults(){if(hasRequiredDefaults)return defaults_1;hasRequiredDefaults=1;var l=utils$8,e=normalizeHeaderName,n=enhanceError,u={"Content-Type":"application/x-www-form-urlencoded"};function o(_,p){!l.isUndefined(_)&&l.isUndefined(_["Content-Type"])&&(_["Content-Type"]=p)}function r(){var _;return(typeof XMLHttpRequest<"u"||typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]")&&(_=requireXhr()),_}function t(_,p,C){if(l.isString(_))try{return(p||JSON.parse)(_),l.trim(_)}catch(y){if(y.name!=="SyntaxError")throw y}return(C||JSON.stringify)(_)}var f={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:r(),transformRequest:[function(p,C){return e(C,"Accept"),e(C,"Content-Type"),l.isFormData(p)||l.isArrayBuffer(p)||l.isBuffer(p)||l.isStream(p)||l.isFile(p)||l.isBlob(p)?p:l.isArrayBufferView(p)?p.buffer:l.isURLSearchParams(p)?(o(C,"application/x-www-form-urlencoded;charset=utf-8"),p.toString()):l.isObject(p)||C&&C["Content-Type"]==="application/json"?(o(C,"application/json"),t(p)):p}],transformResponse:[function(p){var C=this.transitional||f.transitional,y=C&&C.silentJSONParsing,w=C&&C.forcedJSONParsing,F=!y&&this.responseType==="json";if(F||w&&l.isString(p)&&p.length)try{return JSON.parse(p)}catch(k){if(F)throw k.name==="SyntaxError"?n(k,this,"E_JSON_PARSE"):k}return p}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(p){return p>=200&&p<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};return l.forEach(["delete","get","head"],function(p){f.headers[p]={}}),l.forEach(["post","put","patch"],function(p){f.headers[p]=l.merge(u)}),defaults_1=f,defaults_1}var utils$4=utils$8,defaults$2=requireDefaults(),transformData$1=function(e,n,u){var o=this||defaults$2;return utils$4.forEach(u,function(t){e=t.call(o,e,n)}),e},isCancel$1,hasRequiredIsCancel;function requireIsCancel(){return hasRequiredIsCancel||(hasRequiredIsCancel=1,isCancel$1=function(e){return!!(e&&e.__CANCEL__)}),isCancel$1}var utils$3=utils$8,transformData=transformData$1,isCancel=requireIsCancel(),defaults$1=requireDefaults(),Cancel=requireCancel();function throwIfCancellationRequested(l){if(l.cancelToken&&l.cancelToken.throwIfRequested(),l.signal&&l.signal.aborted)throw new Cancel("canceled")}var dispatchRequest$1=function(e){throwIfCancellationRequested(e),e.headers=e.headers||{},e.data=transformData.call(e,e.data,e.headers,e.transformRequest),e.headers=utils$3.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),utils$3.forEach(["delete","get","head","post","put","patch","common"],function(o){delete e.headers[o]});var n=e.adapter||defaults$1.adapter;return n(e).then(function(o){return throwIfCancellationRequested(e),o.data=transformData.call(e,o.data,o.headers,e.transformResponse),o},function(o){return isCancel(o)||(throwIfCancellationRequested(e),o&&o.response&&(o.response.data=transformData.call(e,o.response.data,o.response.headers,e.transformResponse))),Promise.reject(o)})},utils$2=utils$8,mergeConfig$2=function(e,n){n=n||{};var u={};function o(C,y){return utils$2.isPlainObject(C)&&utils$2.isPlainObject(y)?utils$2.merge(C,y):utils$2.isPlainObject(y)?utils$2.merge({},y):utils$2.isArray(y)?y.slice():y}function r(C){if(utils$2.isUndefined(n[C])){if(!utils$2.isUndefined(e[C]))return o(void 0,e[C])}else return o(e[C],n[C])}function t(C){if(!utils$2.isUndefined(n[C]))return o(void 0,n[C])}function f(C){if(utils$2.isUndefined(n[C])){if(!utils$2.isUndefined(e[C]))return o(void 0,e[C])}else return o(void 0,n[C])}function _(C){if(C in n)return o(e[C],n[C]);if(C in e)return o(void 0,e[C])}var p={url:t,method:t,data:t,baseURL:f,transformRequest:f,transformResponse:f,paramsSerializer:f,timeout:f,timeoutMessage:f,withCredentials:f,adapter:f,responseType:f,xsrfCookieName:f,xsrfHeaderName:f,onUploadProgress:f,onDownloadProgress:f,decompress:f,maxContentLength:f,maxBodyLength:f,transport:f,httpAgent:f,httpsAgent:f,cancelToken:f,socketPath:f,responseEncoding:f,validateStatus:_};return utils$2.forEach(Object.keys(e).concat(Object.keys(n)),function(y){var w=p[y]||r,F=w(y);utils$2.isUndefined(F)&&w!==_||(u[y]=F)}),u},data$1,hasRequiredData;function requireData(){return hasRequiredData||(hasRequiredData=1,data$1={version:"0.24.0"}),data$1}var VERSION$1=requireData().version,validators$1={};["object","boolean","number","function","string","symbol"].forEach(function(l,e){validators$1[l]=function(u){return typeof u===l||"a"+(e<1?"n ":" ")+l}});var deprecatedWarnings={};validators$1.transitional=function(e,n,u){function o(r,t){return"[Axios v"+VERSION$1+"] Transitional option '"+r+"'"+t+(u?". "+u:"")}return function(r,t,f){if(e===!1)throw new Error(o(t," has been removed"+(n?" in "+n:"")));return n&&!deprecatedWarnings[t]&&(deprecatedWarnings[t]=!0,console.warn(o(t," has been deprecated since v"+n+" and will be removed in the near future"))),e?e(r,t,f):!0}};function assertOptions(l,e,n){if(typeof l!="object")throw new TypeError("options must be an object");for(var u=Object.keys(l),o=u.length;o-- >0;){var r=u[o],t=e[r];if(t){var f=l[r],_=f===void 0||t(f,r,l);if(_!==!0)throw new TypeError("option "+r+" must be "+_);continue}if(n!==!0)throw Error("Unknown option "+r)}}var validator$1={assertOptions,validators:validators$1},utils$1=utils$8,buildURL=buildURL$1,InterceptorManager=InterceptorManager_1,dispatchRequest=dispatchRequest$1,mergeConfig$1=mergeConfig$2,validator=validator$1,validators=validator.validators;function Axios$1(l){this.defaults=l,this.interceptors={request:new InterceptorManager,response:new InterceptorManager}}Axios$1.prototype.request=function(e){typeof e=="string"?(e=arguments[1]||{},e.url=arguments[0]):e=e||{},e=mergeConfig$1(this.defaults,e),e.method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var n=e.transitional;n!==void 0&&validator.assertOptions(n,{silentJSONParsing:validators.transitional(validators.boolean),forcedJSONParsing:validators.transitional(validators.boolean),clarifyTimeoutError:validators.transitional(validators.boolean)},!1);var u=[],o=!0;this.interceptors.request.forEach(function(w){typeof w.runWhen=="function"&&w.runWhen(e)===!1||(o=o&&w.synchronous,u.unshift(w.fulfilled,w.rejected))});var r=[];this.interceptors.response.forEach(function(w){r.push(w.fulfilled,w.rejected)});var t;if(!o){var f=[dispatchRequest,void 0];for(Array.prototype.unshift.apply(f,u),f=f.concat(r),t=Promise.resolve(e);f.length;)t=t.then(f.shift(),f.shift());return t}for(var _=e;u.length;){var p=u.shift(),C=u.shift();try{_=p(_)}catch(y){C(y);break}}try{t=dispatchRequest(_)}catch(y){return Promise.reject(y)}for(;r.length;)t=t.then(r.shift(),r.shift());return t};Axios$1.prototype.getUri=function(e){return e=mergeConfig$1(this.defaults,e),buildURL(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")};utils$1.forEach(["delete","get","head","options"],function(e){Axios$1.prototype[e]=function(n,u){return this.request(mergeConfig$1(u||{},{method:e,url:n,data:(u||{}).data}))}});utils$1.forEach(["post","put","patch"],function(e){Axios$1.prototype[e]=function(n,u,o){return this.request(mergeConfig$1(o||{},{method:e,url:n,data:u}))}});var Axios_1=Axios$1,CancelToken_1,hasRequiredCancelToken;function requireCancelToken(){if(hasRequiredCancelToken)return CancelToken_1;hasRequiredCancelToken=1;var l=requireCancel();function e(n){if(typeof n!="function")throw new TypeError("executor must be a function.");var u;this.promise=new Promise(function(t){u=t});var o=this;this.promise.then(function(r){if(!!o._listeners){var t,f=o._listeners.length;for(t=0;t({...defaultSettings}),getters:{appCurrentSetting(l){return{...l}},appDevice(l){return l.device},appAsyncMenus(l){return l.serverMenu}},actions:{updateSettings(l){this.$patch(l)},toggleTheme(l){l?(this.theme="dark",document.documentElement.setAttribute("theme-mode","dark"),document.body.setAttribute("arco-theme","dark")):(this.theme="light",document.documentElement.removeAttribute("theme-mode"),document.body.removeAttribute("arco-theme"))},toggleDevice(l){this.device=l},toggleMenu(l){this.hideMenu=l},async fetchServerMenuConfig(){let l=null;try{l=Notification.info({id:"menuNotice",content:"loading",closable:!0});const{data:e}=await getMenuList();this.serverMenu=e,l=Notification.success({id:"menuNotice",content:"success",closable:!0})}catch{l=Notification.error({id:"menuNotice",content:"error",closable:!0})}},clearServerMenu(){this.serverMenu=[]}}}),TOKEN_KEY="token",isLogin=()=>!!localStorage.getItem(TOKEN_KEY),getToken=()=>localStorage.getItem(TOKEN_KEY),setToken=l=>{localStorage.setItem(TOKEN_KEY,l)},clearToken=()=>{localStorage.removeItem(TOKEN_KEY)},useUserStore=defineStore("user",{state:()=>({name:void 0,avatar:void 0,job:void 0,organization:void 0,location:void 0,email:void 0,introduction:void 0,personalWebsite:void 0,jobName:void 0,organizationName:void 0,locationName:void 0,phone:void 0,registrationDate:void 0,accountId:void 0,certification:void 0,role:""}),getters:{userInfo(l){return{...l}}},actions:{switchRoles(){return new Promise(l=>{this.role=this.role==="user"?"admin":"user",l(this.role)})},setInfo(l){this.$patch(l)},resetInfo(){this.$reset()},async info(){const l=await getUserInfo();this.setInfo(l.data)},async login(l){try{const e=await login(l);setToken(e.data.token)}catch(e){throw clearToken(),e}},logoutCallBack(){const l=useAppStore$1();this.resetInfo(),clearToken(),removeRouteListener(),l.clearServerMenu()},async logout(){try{await logout()}finally{this.logoutCallBack()}}}}),opt=Object.prototype.toString;function isString(l){return opt.call(l)==="[object String]"}const formatTag=l=>{const{name:e,meta:n,fullPath:u,query:o}=l;return{title:n.locale||"",name:String(e),fullPath:u,query:o,ignoreCache:n.ignoreCache}},BAN_LIST=[REDIRECT_ROUTE_NAME],useAppStore=defineStore("tabBar",{state:()=>({cacheTabList:new Set([DEFAULT_ROUTE_NAME]),tagList:[DEFAULT_ROUTE]}),getters:{getTabList(){return this.tagList},getCacheList(){return Array.from(this.cacheTabList)}},actions:{updateTabList(l){BAN_LIST.includes(l.name)||(this.tagList.push(formatTag(l)),l.meta.ignoreCache||this.cacheTabList.add(l.name))},deleteTag(l,e){this.tagList.splice(l,1),this.cacheTabList.delete(e.name)},addCache(l){isString(l)&&l!==""&&this.cacheTabList.add(l)},deleteCache(l){this.cacheTabList.delete(l.name)},freshTabList(l){this.tagList=l,this.cacheTabList.clear(),this.tagList.filter(e=>!e.ignoreCache).map(e=>e.name).forEach(e=>this.cacheTabList.add(e))},resetTabList(){this.tagList=[DEFAULT_ROUTE],this.cacheTabList.clear(),this.cacheTabList.add(DEFAULT_ROUTE_NAME)}}}),pinia=createPinia();function usePermission(){const l=useUserStore();return{accessRouter(e){var n,u,o,r,t,f;return!((n=e.meta)!=null&&n.requiresAuth)||!((u=e.meta)!=null&&u.roles)||((r=(o=e.meta)==null?void 0:o.roles)==null?void 0:r.includes("*"))||((f=(t=e.meta)==null?void 0:t.roles)==null?void 0:f.includes(l.role))},findFirstPermissionRoute(e,n="admin"){var o,r;const u=[...e];for(;u.length;){const t=u.shift();if((r=(o=t==null?void 0:t.meta)==null?void 0:o.roles)!=null&&r.find(f=>f.includes("*")||f.includes(n)))return{name:t.name};t!=null&&t.children&&u.push(...t.children)}return null}}}function setupPermissionGuard(l){l.beforeEach(async(e,n,u)=>{const o=useAppStore$1(),r=useUserStore(),t=usePermission(),f=t.accessRouter(e);if(o.menuFromServer){!o.appAsyncMenus.length&&!WHITE_LIST.find(C=>C.name===e.name)&&await o.fetchServerMenuConfig();const _=[...o.appAsyncMenus,...WHITE_LIST];let p=!1;for(;_.length&&!p;){const C=_.shift();(C==null?void 0:C.name)===e.name&&(p=!0),C!=null&&C.children&&_.push(...C.children)}p&&f?u():u(NOT_FOUND)}else if(f)u();else{const _=t.findFirstPermissionRoute(appRoutes,r.role)||NOT_FOUND;u(_)}NProgress.done()})}function setupPageGuard(l){l.beforeEach(async e=>{setRouteEmitter(e)})}function createRouteGuard(l){setupPageGuard(l),setupUserLoginInfoGuard(l),setupPermissionGuard(l)}NProgress.configure({showSpinner:!1});const router=createRouter({history:createWebHashHistory(),routes:[{path:"/",redirect:"chirp/base"},{path:"/login",name:"login",component:()=>__vitePreload(()=>import("./index.381cf491.js"),["./index.381cf491.js","./arco.f883ed21.js","./index.3d2856c9.js","./index.06d3e762.css","./vue.170d1f1d.js","./loading.50b9fdaf.js","./chart.977fd17b.js","./index.0658015a.css","./index.d2d6d95f.css","./index.338b4449.css","./index.749fce18.css","./index.757d8103.css"],import.meta.url),meta:{requiresAuth:!1}},...appRoutes,REDIRECT_MAIN,NOT_FOUND_ROUTE],scrollBehavior(){return{top:0}}});createRouteGuard(router);var vueI18n_cjs={exports:{}},vueI18n={};const require$$0=getAugmentedNamespace(shared_esmBrowser),require$$1=getAugmentedNamespace(coreBase_esmBrowser),require$$2=getAugmentedNamespace(vue_esmBundler);/*!
* vue-i18n v9.9.0
* (c) 2024 kazuya kawaguchi
* Released under the MIT License.
diff --git a/assets/index.870d30e3.js.gz b/assets/index.870d30e3.js.gz
new file mode 100644
index 0000000..7356185
Binary files /dev/null and b/assets/index.870d30e3.js.gz differ
diff --git a/assets/index.1c026c97.js b/assets/index.898e472c.js
similarity index 99%
rename from assets/index.1c026c97.js
rename to assets/index.898e472c.js
index 69081aa..f6919a2 100644
--- a/assets/index.1c026c97.js
+++ b/assets/index.898e472c.js
@@ -1,4 +1,4 @@
-import{e as Ah,q as Rh,_ as jh}from"./index.cddd8fd4.js";/* empty css *//* empty css *//* empty css */import{f as G,g as Rt,i as Qt,c as F,h as Fe,d as fe,o as Ue,n as ht,aI as L,bg as jt,w as oe,t as Pe,bE as Ee,bF as Mo,r as On,b2 as kf,bp as Wr,aK as jr,bG as Fh,bH as kh,b as nn,p as fr,bI as Mi,bJ as Nf,bK as Nh,bw as Bo,bx as Bi,bu as Lf,a as Lh,br as Mh,u as Mf,x as Bh,y as Kh,z as zh,bL as Vh,s as Hh,bC as Wh,C as Uh,D as Gh,aH as ft,aM as Or,aN as Yh,a6 as qh,aZ as Xh,b8 as Jh,bD as Zh,bM as Qh}from"./arco.f883ed21.js";import{u as ep}from"./loading.50b9fdaf.js";import{e as Au,a as Tl,u as Ru,b as tp,h as Il,s as np,f as Al,g as rp}from"./serial.b70f48dc.js";import"./chart.977fd17b.js";import"./vue.170d1f1d.js";/**
+import{e as Ah,q as Rh,_ as jh}from"./index.870d30e3.js";/* empty css *//* empty css *//* empty css */import{f as G,g as Rt,i as Qt,c as F,h as Fe,d as fe,o as Ue,n as ht,aI as L,bg as jt,w as oe,t as Pe,bE as Ee,bF as Mo,r as On,b2 as kf,bp as Wr,aK as jr,bG as Fh,bH as kh,b as nn,p as fr,bI as Mi,bJ as Nf,bK as Nh,bw as Bo,bx as Bi,bu as Lf,a as Lh,br as Mh,u as Mf,x as Bh,y as Kh,z as zh,bL as Vh,s as Hh,bC as Wh,C as Uh,D as Gh,aH as ft,aM as Or,aN as Yh,a6 as qh,aZ as Xh,b8 as Jh,bD as Zh,bM as Qh}from"./arco.f883ed21.js";import{u as ep}from"./loading.50b9fdaf.js";import{e as Au,a as Tl,u as Ru,b as tp,h as Il,s as np,f as Al,g as rp}from"./serial.b70f48dc.js";import"./chart.977fd17b.js";import"./vue.170d1f1d.js";/**
* tdesign v1.8.1
* (c) 2024 tdesign
* @license MIT
diff --git a/assets/index.898e472c.js.gz b/assets/index.898e472c.js.gz
new file mode 100644
index 0000000..c46347a
Binary files /dev/null and b/assets/index.898e472c.js.gz differ
diff --git a/assets/index.9322a9a8.js.gz b/assets/index.9322a9a8.js.gz
deleted file mode 100644
index 708da70..0000000
Binary files a/assets/index.9322a9a8.js.gz and /dev/null differ
diff --git a/assets/index.9c862486.js.gz b/assets/index.9c862486.js.gz
deleted file mode 100644
index 60522a3..0000000
Binary files a/assets/index.9c862486.js.gz and /dev/null differ
diff --git a/assets/index.06bcb383.js b/assets/index.bb2c26f3.js
similarity index 96%
rename from assets/index.06bcb383.js
rename to assets/index.bb2c26f3.js
index a9dd420..61ee667 100644
--- a/assets/index.06bcb383.js
+++ b/assets/index.bb2c26f3.js
@@ -1 +1 @@
-import{d as i,r as v,bB as C,bC as y,C as d,aE as E,aH as t,aI as e,aM as u,aN as n,u as s,bw as x,bx as A,bl as S,bD as g,aZ as w,b8 as I,bc as k,bd as T,G as _,D as N}from"./arco.f883ed21.js";import{e as V,_ as l}from"./index.cddd8fd4.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./chart.977fd17b.js";import"./vue.170d1f1d.js";const m=a=>(k("data-v-cd6bb881"),a=a(),T(),a),z=m(()=>_("br",null,null,-1)),$=m(()=>_("br",null,null,-1)),O=i({__name:"banner",setup(a){const o=V(),c=v({eepromSize:"\u70B9\u51FB\u68C0\u6D4B\u6309\u94AE\u68C0\u6D4B"}),F=async()=>{alert("TODO")};return(J,K)=>{const b=S,r=g,f=C,B=w,D=y,h=I;return d(),E(r,{class:"banner"},{default:t(()=>[e(r,null,{default:t(()=>[e(b,{heading:5,style:{"margin-top":"0"}},{default:t(()=>[u(n(s(o).connectState?"\u6B22\u8FCE\u4F60~\uFF0C\u8FDE\u63A5\u6210\u529F\uFF01":"\u6B22\u8FCE\u4F60~\uFF0C\u70B9\u51FB\u53F3\u4E0A\u89D2\u201C\u8FDE\u63A5\u201D\u6309\u94AE\u8FDE\u63A5\u624B\u53F0\u3002"),1)]),_:1})]),_:1}),e(f,{class:"panel-border"}),e(h,null,{default:t(()=>[x(e(D,{style:{marginTop:"2em",marginBottom:"2em"},title:"\u624B\u53F0\u4FE1\u606F"},{default:t(()=>{var p;return[u(" \u5F53\u524D\u56FA\u4EF6\u7248\u672C\uFF1A"+n(s(o).firmwareVersion)+" ",1),z,u(" \u5339\u914D\u5199\u9891\u914D\u7F6E\uFF1A"+n((p=s(o).configuration)==null?void 0:p.name)+" ",1),$,u(" \u5B58\u50A8\u5927\u5C0F\uFF1A"+n(c.eepromSize)+" ",1),e(B,{size:"mini",type:"primary",onClick:F},{default:t(()=>[u("\u68C0\u6D4B")]),_:1})]}),_:1},512),[[A,s(o).connectState]])]),_:1})]),_:1})}}});const G=l(O,[["__scopeId","data-v-cd6bb881"]]),H={class:"container"},M={class:"left-side"},Z={class:"panel"},j={name:"Dashboard"},q=i({...j,setup(a){return(o,c)=>(d(),N("div",H,[_("div",M,[_("div",Z,[e(G)])])]))}});const ae=l(q,[["__scopeId","data-v-8f743d99"]]);export{ae as default};
+import{d as i,r as v,bB as C,bC as y,C as d,aE as E,aH as t,aI as e,aM as u,aN as n,u as s,bw as x,bx as A,bl as S,bD as g,aZ as w,b8 as I,bc as k,bd as T,G as _,D as N}from"./arco.f883ed21.js";import{e as V,_ as l}from"./index.870d30e3.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./chart.977fd17b.js";import"./vue.170d1f1d.js";const m=a=>(k("data-v-cd6bb881"),a=a(),T(),a),z=m(()=>_("br",null,null,-1)),$=m(()=>_("br",null,null,-1)),O=i({__name:"banner",setup(a){const o=V(),c=v({eepromSize:"\u70B9\u51FB\u68C0\u6D4B\u6309\u94AE\u68C0\u6D4B"}),F=async()=>{alert("TODO")};return(J,K)=>{const b=S,r=g,f=C,B=w,D=y,h=I;return d(),E(r,{class:"banner"},{default:t(()=>[e(r,null,{default:t(()=>[e(b,{heading:5,style:{"margin-top":"0"}},{default:t(()=>[u(n(s(o).connectState?"\u6B22\u8FCE\u4F60~\uFF0C\u8FDE\u63A5\u6210\u529F\uFF01":"\u6B22\u8FCE\u4F60~\uFF0C\u70B9\u51FB\u53F3\u4E0A\u89D2\u201C\u8FDE\u63A5\u201D\u6309\u94AE\u8FDE\u63A5\u624B\u53F0\u3002"),1)]),_:1})]),_:1}),e(f,{class:"panel-border"}),e(h,null,{default:t(()=>[x(e(D,{style:{marginTop:"2em",marginBottom:"2em"},title:"\u624B\u53F0\u4FE1\u606F"},{default:t(()=>{var p;return[u(" \u5F53\u524D\u56FA\u4EF6\u7248\u672C\uFF1A"+n(s(o).firmwareVersion)+" ",1),z,u(" \u5339\u914D\u5199\u9891\u914D\u7F6E\uFF1A"+n((p=s(o).configuration)==null?void 0:p.name)+" ",1),$,u(" \u5B58\u50A8\u5927\u5C0F\uFF1A"+n(c.eepromSize)+" ",1),e(B,{size:"mini",type:"primary",onClick:F},{default:t(()=>[u("\u68C0\u6D4B")]),_:1})]}),_:1},512),[[A,s(o).connectState]])]),_:1})]),_:1})}}});const G=l(O,[["__scopeId","data-v-cd6bb881"]]),H={class:"container"},M={class:"left-side"},Z={class:"panel"},j={name:"Dashboard"},q=i({...j,setup(a){return(o,c)=>(d(),N("div",H,[_("div",M,[_("div",Z,[e(G)])])]))}});const ae=l(q,[["__scopeId","data-v-8f743d99"]]);export{ae as default};
diff --git a/assets/index.bb2c26f3.js.gz b/assets/index.bb2c26f3.js.gz
new file mode 100644
index 0000000..ac961c1
Binary files /dev/null and b/assets/index.bb2c26f3.js.gz differ
diff --git a/assets/index.c15ff864.js.gz b/assets/index.c15ff864.js.gz
deleted file mode 100644
index 15bd21e..0000000
Binary files a/assets/index.c15ff864.js.gz and /dev/null differ
diff --git a/assets/index.9322a9a8.js b/assets/index.cd0dc049.js
similarity index 98%
rename from assets/index.9322a9a8.js
rename to assets/index.cd0dc049.js
index 7d4e0dc..f9d2ed4 100644
--- a/assets/index.9322a9a8.js
+++ b/assets/index.cd0dc049.js
@@ -1 +1 @@
-import{e as E,q as h,_ as v}from"./index.cddd8fd4.js";/* empty css *//* empty css *//* empty css *//* empty css */import{d as D,r as k,bB as C,bC as A,C as x,D as y,aI as a,aH as _,aM as B,G as H,aZ as T,b8 as R,bD as K,bM as M,n as P}from"./arco.f883ed21.js";import{e as S,f as I,g as N}from"./serial.b70f48dc.js";import"./chart.977fd17b.js";import"./vue.170d1f1d.js";const U={class:"container"},V=["innerHTML"],$={name:"Chi"},L=D({...$,setup(q){const n=E(),i=k({status:"\u70B9\u51FB\u5199\u5165\u6309\u94AE\u5199\u5165\u5B57\u5E93\u5230\u8BBE\u5907
",eepromType:""}),g=async(e=0,t)=>{var c;await S(n.connectPort);for(let u=e;u",P(()=>{const o=document==null?void 0:document.getElementById("statusArea");o&&(o.scrollTop=o==null?void 0:o.scrollHeight)});i.status=i.status+"\u5199\u5165\u8FDB\u5EA6\uFF1A100.0% ",await N(n.connectPort)},w=async(e=1)=>{var c,u,o,p,F,m,b;if(n.connectState!=!0){alert("\u8BF7\u5148\u8FDE\u63A5\u624B\u53F0\uFF01");return}if(((c=n.configuration)==null?void 0:c.uart)=="official"){alert("\u56FA\u4EF6\u7248\u672C\u4E0D\u5339\u914D");return}if(e==1&&((u=n.configuration)==null?void 0:u.charset)!="losehu"||e==1&&((o=n.configuration)==null?void 0:o.K)!=!0){alert("\u56FA\u4EF6\u7248\u672C\u4E0D\u5339\u914D");return}if(e==2&&((p=n.configuration)==null?void 0:p.charset)!="gb2312"||e==2&&((F=n.configuration)==null?void 0:F.K)!=!0){alert("\u56FA\u4EF6\u7248\u672C\u4E0D\u5339\u914D");return}if(e==3&&((m=n.configuration)==null?void 0:m.charset)!="gb2312"||e==3&&((b=n.configuration)==null?void 0:b.H)!=!0){alert("\u56FA\u4EF6\u7248\u672C\u4E0D\u5339\u914D");return}i.status=i.status+"\u6B63\u5728\u4E0B\u8F7D\u5B57\u5E93... ";let t;if(e==1){t=await fetch("/old_font.bin");const r=t.body.getReader(),s=[];for(;;){const{done:d,value:f}=await r.read();if(d)break;s.push(...f)}const l=new Uint8Array(s);await g(8192,l);return}if(e==2){t=await fetch("/new_font_k.bin");const r=t.body.getReader(),s=[];for(;;){const{done:d,value:f}=await r.read();if(d)break;s.push(...f)}const l=new Uint8Array(s);await g(9344,l);return}if(e==3){t=await fetch("/new_font_h.bin");const r=t.body.getReader(),s=[];for(;;){const{done:d,value:f}=await r.read();if(d)break;s.push(...f)}const l=new Uint8Array(s);await g(9344,l);return}};return(e,t)=>{const c=h,u=T,o=R,p=C,F=A,m=K,b=M;return x(),y("div",U,[a(c,{items:["\u5C0F\u5DE5\u5177","\u5B57\u5E93\u5199\u5165"]}),a(b,{gutter:20,align:"stretch"},{default:_(()=>[a(m,{span:24},{default:_(()=>[a(F,{class:"general-card",title:"\u5B57\u5E93\u5199\u5165"},{default:_(()=>[a(o,null,{default:_(()=>[a(u,{onClick:t[0]||(t[0]=r=>w(1))},{default:_(()=>[B("\u5199\u5165 117 \u5B57\u5E93\uFF08K\uFF09")]),_:1}),a(u,{onClick:t[1]||(t[1]=r=>w(2))},{default:_(()=>[B("\u5199\u5165 118+ \u5B57\u5E93\uFF08K\uFF09")]),_:1}),a(u,{onClick:t[2]||(t[2]=r=>w(3))},{default:_(()=>[B("\u5199\u5165 118+ \u5B57\u5E93\uFF08H\uFF09")]),_:1})]),_:1}),a(p),H("div",{id:"statusArea",style:{height:"20em","background-color":"azure",color:"silver",overflow:"auto",padding:"20px"},innerHTML:i.status},null,8,V)]),_:1})]),_:1})]),_:1})])}}});const Y=v(L,[["__scopeId","data-v-c103becb"]]);export{Y as default};
+import{e as E,q as h,_ as v}from"./index.870d30e3.js";/* empty css *//* empty css *//* empty css *//* empty css */import{d as D,r as k,bB as C,bC as A,C as x,D as y,aI as a,aH as _,aM as B,G as H,aZ as T,b8 as R,bD as K,bM as M,n as P}from"./arco.f883ed21.js";import{e as S,f as I,g as N}from"./serial.b70f48dc.js";import"./chart.977fd17b.js";import"./vue.170d1f1d.js";const U={class:"container"},V=["innerHTML"],$={name:"Chi"},L=D({...$,setup(q){const n=E(),i=k({status:"\u70B9\u51FB\u5199\u5165\u6309\u94AE\u5199\u5165\u5B57\u5E93\u5230\u8BBE\u5907
",eepromType:""}),g=async(e=0,t)=>{var c;await S(n.connectPort);for(let u=e;u",P(()=>{const o=document==null?void 0:document.getElementById("statusArea");o&&(o.scrollTop=o==null?void 0:o.scrollHeight)});i.status=i.status+"\u5199\u5165\u8FDB\u5EA6\uFF1A100.0% ",await N(n.connectPort)},w=async(e=1)=>{var c,u,o,p,F,m,b;if(n.connectState!=!0){alert("\u8BF7\u5148\u8FDE\u63A5\u624B\u53F0\uFF01");return}if(((c=n.configuration)==null?void 0:c.uart)=="official"){alert("\u56FA\u4EF6\u7248\u672C\u4E0D\u5339\u914D");return}if(e==1&&((u=n.configuration)==null?void 0:u.charset)!="losehu"||e==1&&((o=n.configuration)==null?void 0:o.K)!=!0){alert("\u56FA\u4EF6\u7248\u672C\u4E0D\u5339\u914D");return}if(e==2&&((p=n.configuration)==null?void 0:p.charset)!="gb2312"||e==2&&((F=n.configuration)==null?void 0:F.K)!=!0){alert("\u56FA\u4EF6\u7248\u672C\u4E0D\u5339\u914D");return}if(e==3&&((m=n.configuration)==null?void 0:m.charset)!="gb2312"||e==3&&((b=n.configuration)==null?void 0:b.H)!=!0){alert("\u56FA\u4EF6\u7248\u672C\u4E0D\u5339\u914D");return}i.status=i.status+"\u6B63\u5728\u4E0B\u8F7D\u5B57\u5E93... ";let t;if(e==1){t=await fetch("/old_font.bin");const r=t.body.getReader(),s=[];for(;;){const{done:d,value:f}=await r.read();if(d)break;s.push(...f)}const l=new Uint8Array(s);await g(8192,l);return}if(e==2){t=await fetch("/new_font_k.bin");const r=t.body.getReader(),s=[];for(;;){const{done:d,value:f}=await r.read();if(d)break;s.push(...f)}const l=new Uint8Array(s);await g(9344,l);return}if(e==3){t=await fetch("/new_font_h.bin");const r=t.body.getReader(),s=[];for(;;){const{done:d,value:f}=await r.read();if(d)break;s.push(...f)}const l=new Uint8Array(s);await g(9344,l);return}};return(e,t)=>{const c=h,u=T,o=R,p=C,F=A,m=K,b=M;return x(),y("div",U,[a(c,{items:["\u5C0F\u5DE5\u5177","\u5B57\u5E93\u5199\u5165"]}),a(b,{gutter:20,align:"stretch"},{default:_(()=>[a(m,{span:24},{default:_(()=>[a(F,{class:"general-card",title:"\u5B57\u5E93\u5199\u5165"},{default:_(()=>[a(o,null,{default:_(()=>[a(u,{onClick:t[0]||(t[0]=r=>w(1))},{default:_(()=>[B("\u5199\u5165 117 \u5B57\u5E93\uFF08K\uFF09")]),_:1}),a(u,{onClick:t[1]||(t[1]=r=>w(2))},{default:_(()=>[B("\u5199\u5165 118+ \u5B57\u5E93\uFF08K\uFF09")]),_:1}),a(u,{onClick:t[2]||(t[2]=r=>w(3))},{default:_(()=>[B("\u5199\u5165 118+ \u5B57\u5E93\uFF08H\uFF09")]),_:1})]),_:1}),a(p),H("div",{id:"statusArea",style:{height:"20em","background-color":"azure",color:"silver",overflow:"auto",padding:"20px"},innerHTML:i.status},null,8,V)]),_:1})]),_:1})]),_:1})])}}});const Y=v(L,[["__scopeId","data-v-c103becb"]]);export{Y as default};
diff --git a/assets/index.cd0dc049.js.gz b/assets/index.cd0dc049.js.gz
new file mode 100644
index 0000000..f23f48e
Binary files /dev/null and b/assets/index.cd0dc049.js.gz differ
diff --git a/assets/index.cddd8fd4.js.gz b/assets/index.cddd8fd4.js.gz
deleted file mode 100644
index 6d77031..0000000
Binary files a/assets/index.cddd8fd4.js.gz and /dev/null differ
diff --git a/assets/index.c15ff864.js b/assets/index.d076ea65.js
similarity index 98%
rename from assets/index.c15ff864.js
rename to assets/index.d076ea65.js
index 499a656..4d20144 100644
--- a/assets/index.c15ff864.js
+++ b/assets/index.d076ea65.js
@@ -1 +1 @@
-import{e as x,q as M,_ as R}from"./index.cddd8fd4.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{d as S,r as P,bU as U,bV as O,bB as V,bC as H,C as L,D as I,aI as t,aH as e,aM as l,G as K,aZ as z,b8 as N,bW as j,bX as q,bD as G,bM as W,n as E}from"./arco.f883ed21.js";import{m as X,e as B,a as Z,f as J,g as Q}from"./serial.b70f48dc.js";import"./chart.977fd17b.js";import"./vue.170d1f1d.js";const Y={class:"container"},$=["innerHTML"],tt={name:"Backup"},et=S({...tt,setup(ut){const o=x(),s=P({status:"\u70B9\u51FB\u5907\u4EFD\u6309\u94AE\u5C06\u751F\u6210 EEPROM \u5907\u4EFD\u6587\u4EF6
",eepromType:""}),y=async()=>{if(o.connectState!=!0){alert("\u8BF7\u5148\u8FDE\u63A5\u624B\u53F0\uFF01");return}await X()},m=async(u,n,_=new Date+"_backup.bin")=>{var d;await B(o.connectPort);let c=new Uint8Array(n-u);for(let r=u;r",E(()=>{const F=document==null?void 0:document.getElementById("statusArea");F&&(F.scrollTop=F==null?void 0:F.scrollHeight)})}s.status=s.status+"\u5907\u4EFD\u8FDB\u5EA6\uFF1A100.0% ",E(()=>{const r=document==null?void 0:document.getElementById("statusArea");r&&(r.scrollTop=r==null?void 0:r.scrollHeight)}),console.log(c);const p=new Blob([c],{type:"application/octet-stream"}),i=URL.createObjectURL(p),a=document.createElement("a");a.href=i,a.download=_,document.body.appendChild(a),a.click(),document.body.removeChild(a),URL.revokeObjectURL(i)},f=async(u=0)=>{await B(o.connectPort);const n=document.createElement("input");n.type="file",n.onchange=async()=>{var p;const _=new Blob([n.files[0]],{type:"application/octet-stream"}),c=new Uint8Array(await _.arrayBuffer());for(let i=u;i",E(()=>{const a=document==null?void 0:document.getElementById("statusArea");a&&(a.scrollTop=a==null?void 0:a.scrollHeight)});s.status=s.status+"\u6062\u590D\u8FDB\u5EA6\uFF1A100.0% ",await Q(o.connectPort)},n.click()},D=async()=>{if(o.connectState!=!0){alert("\u8BF7\u5148\u8FDE\u63A5\u624B\u53F0\uFF01");return}await m(0,7680,"config.bin")},k=async()=>{if(o.connectState!=!0){alert("\u8BF7\u5148\u8FDE\u63A5\u624B\u53F0\uFF01");return}await m(7680,8192,"calibration.bin")},w=async()=>{if(o.connectState!=!0){alert("\u8BF7\u5148\u8FDE\u63A5\u624B\u53F0\uFF01");return}await f()},A=async()=>{if(o.connectState!=!0){alert("\u8BF7\u5148\u8FDE\u63A5\u624B\u53F0\uFF01");return}await f(7680)},g=async()=>{var n;if(o.connectState!=!0){alert("\u8BF7\u5148\u8FDE\u63A5\u624B\u53F0\uFF01");return}let u=8192;switch(s.eepromType){case"1":u=8192;break;case"2":u=131072;break;case"3":u=262144;break;case"4":u=524288;break;default:u=8192}if(((n=o.configuration)==null?void 0:n.uart)=="official"&&u>=131072){alert("\u8BE5\u56FA\u4EF6\u4E0D\u652F\u6301\u5907\u4EFD\u6269\u5BB9\u7A7A\u95F4");return}await m(0,u)},C=async()=>{if(o.connectState!=!0){alert("\u8BF7\u5148\u8FDE\u63A5\u624B\u53F0\uFF01");return}await f()};return(u,n)=>{const _=M,c=z,p=N,i=j,a=q,d=U,r=O,b=V,F=H,h=G,v=W;return L(),I("div",Y,[t(_,{items:["\u5C0F\u5DE5\u5177","\u5907\u4EFD/\u8FD8\u539F"]}),t(v,{gutter:20,align:"stretch"},{default:e(()=>[t(h,{span:24},{default:e(()=>[t(F,{class:"general-card",title:"\u5907\u4EFD/\u8FD8\u539F"},{default:e(()=>[t(r,{"default-active-key":"1"},{default:e(()=>[t(i,{key:"1",title:"\u5FEB\u6377\u5907\u4EFD"},{default:e(()=>[t(p,null,{default:e(()=>[t(c,{type:"primary",onClick:D},{default:e(()=>[l("\u5907\u4EFD\u914D\u7F6E")]),_:1}),t(c,{onClick:w},{default:e(()=>[l("\u6062\u590D\u914D\u7F6E")]),_:1}),t(c,{type:"primary",onClick:k},{default:e(()=>[l("\u5907\u4EFD\u6821\u51C6")]),_:1}),t(c,{onClick:A},{default:e(()=>[l("\u6062\u590D\u6821\u51C6")]),_:1})]),_:1})]),_:1}),t(i,{key:"2",title:"\u5B8C\u6574\u5907\u4EFD"},{default:e(()=>[t(p,null,{default:e(()=>[t(c,{type:"primary",onClick:g},{default:e(()=>[l("\u5907\u4EFD")]),_:1}),t(c,{onClick:C},{default:e(()=>[l("\u6062\u590D")]),_:1}),t(d,{modelValue:s.eepromType,"onUpdate:modelValue":n[0]||(n[0]=T=>s.eepromType=T),style:{width:"320px"},placeholder:"\u9009\u62E9EEPROM\u5927\u5C0F"},{default:e(()=>[t(a,{value:"1"},{default:e(()=>[l("8KB\uFF0864Kbit\uFF09")]),_:1}),t(a,{value:"2"},{default:e(()=>[l("128KB\uFF081Mbit\uFF09")]),_:1}),t(a,{value:"3"},{default:e(()=>[l("256KB\uFF082Mbit\uFF09")]),_:1}),t(a,{value:"4"},{default:e(()=>[l("512KB\uFF084Mbit\uFF09")]),_:1})]),_:1},8,["modelValue"]),t(c,{type:"text",onClick:y},{default:e(()=>[l("\u81EA\u52A8\u68C0\u6D4B")]),_:1})]),_:1})]),_:1})]),_:1}),t(b),K("div",{id:"statusArea",style:{height:"20em","background-color":"azure",color:"silver",overflow:"auto",padding:"20px"},innerHTML:s.status},null,8,$)]),_:1})]),_:1})]),_:1})])}}});const bt=R(et,[["__scopeId","data-v-bac7f4ab"]]);export{bt as default};
+import{e as x,q as M,_ as R}from"./index.870d30e3.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{d as S,r as P,bU as U,bV as O,bB as V,bC as H,C as L,D as I,aI as t,aH as e,aM as l,G as K,aZ as z,b8 as N,bW as j,bX as q,bD as G,bM as W,n as E}from"./arco.f883ed21.js";import{m as X,e as B,a as Z,f as J,g as Q}from"./serial.b70f48dc.js";import"./chart.977fd17b.js";import"./vue.170d1f1d.js";const Y={class:"container"},$=["innerHTML"],tt={name:"Backup"},et=S({...tt,setup(ut){const o=x(),s=P({status:"\u70B9\u51FB\u5907\u4EFD\u6309\u94AE\u5C06\u751F\u6210 EEPROM \u5907\u4EFD\u6587\u4EF6
",eepromType:""}),y=async()=>{if(o.connectState!=!0){alert("\u8BF7\u5148\u8FDE\u63A5\u624B\u53F0\uFF01");return}await X()},m=async(u,n,_=new Date+"_backup.bin")=>{var d;await B(o.connectPort);let c=new Uint8Array(n-u);for(let r=u;r",E(()=>{const F=document==null?void 0:document.getElementById("statusArea");F&&(F.scrollTop=F==null?void 0:F.scrollHeight)})}s.status=s.status+"\u5907\u4EFD\u8FDB\u5EA6\uFF1A100.0% ",E(()=>{const r=document==null?void 0:document.getElementById("statusArea");r&&(r.scrollTop=r==null?void 0:r.scrollHeight)}),console.log(c);const p=new Blob([c],{type:"application/octet-stream"}),i=URL.createObjectURL(p),a=document.createElement("a");a.href=i,a.download=_,document.body.appendChild(a),a.click(),document.body.removeChild(a),URL.revokeObjectURL(i)},f=async(u=0)=>{await B(o.connectPort);const n=document.createElement("input");n.type="file",n.onchange=async()=>{var p;const _=new Blob([n.files[0]],{type:"application/octet-stream"}),c=new Uint8Array(await _.arrayBuffer());for(let i=u;i",E(()=>{const a=document==null?void 0:document.getElementById("statusArea");a&&(a.scrollTop=a==null?void 0:a.scrollHeight)});s.status=s.status+"\u6062\u590D\u8FDB\u5EA6\uFF1A100.0% ",await Q(o.connectPort)},n.click()},D=async()=>{if(o.connectState!=!0){alert("\u8BF7\u5148\u8FDE\u63A5\u624B\u53F0\uFF01");return}await m(0,7680,"config.bin")},k=async()=>{if(o.connectState!=!0){alert("\u8BF7\u5148\u8FDE\u63A5\u624B\u53F0\uFF01");return}await m(7680,8192,"calibration.bin")},w=async()=>{if(o.connectState!=!0){alert("\u8BF7\u5148\u8FDE\u63A5\u624B\u53F0\uFF01");return}await f()},A=async()=>{if(o.connectState!=!0){alert("\u8BF7\u5148\u8FDE\u63A5\u624B\u53F0\uFF01");return}await f(7680)},g=async()=>{var n;if(o.connectState!=!0){alert("\u8BF7\u5148\u8FDE\u63A5\u624B\u53F0\uFF01");return}let u=8192;switch(s.eepromType){case"1":u=8192;break;case"2":u=131072;break;case"3":u=262144;break;case"4":u=524288;break;default:u=8192}if(((n=o.configuration)==null?void 0:n.uart)=="official"&&u>=131072){alert("\u8BE5\u56FA\u4EF6\u4E0D\u652F\u6301\u5907\u4EFD\u6269\u5BB9\u7A7A\u95F4");return}await m(0,u)},C=async()=>{if(o.connectState!=!0){alert("\u8BF7\u5148\u8FDE\u63A5\u624B\u53F0\uFF01");return}await f()};return(u,n)=>{const _=M,c=z,p=N,i=j,a=q,d=U,r=O,b=V,F=H,h=G,v=W;return L(),I("div",Y,[t(_,{items:["\u5C0F\u5DE5\u5177","\u5907\u4EFD/\u8FD8\u539F"]}),t(v,{gutter:20,align:"stretch"},{default:e(()=>[t(h,{span:24},{default:e(()=>[t(F,{class:"general-card",title:"\u5907\u4EFD/\u8FD8\u539F"},{default:e(()=>[t(r,{"default-active-key":"1"},{default:e(()=>[t(i,{key:"1",title:"\u5FEB\u6377\u5907\u4EFD"},{default:e(()=>[t(p,null,{default:e(()=>[t(c,{type:"primary",onClick:D},{default:e(()=>[l("\u5907\u4EFD\u914D\u7F6E")]),_:1}),t(c,{onClick:w},{default:e(()=>[l("\u6062\u590D\u914D\u7F6E")]),_:1}),t(c,{type:"primary",onClick:k},{default:e(()=>[l("\u5907\u4EFD\u6821\u51C6")]),_:1}),t(c,{onClick:A},{default:e(()=>[l("\u6062\u590D\u6821\u51C6")]),_:1})]),_:1})]),_:1}),t(i,{key:"2",title:"\u5B8C\u6574\u5907\u4EFD"},{default:e(()=>[t(p,null,{default:e(()=>[t(c,{type:"primary",onClick:g},{default:e(()=>[l("\u5907\u4EFD")]),_:1}),t(c,{onClick:C},{default:e(()=>[l("\u6062\u590D")]),_:1}),t(d,{modelValue:s.eepromType,"onUpdate:modelValue":n[0]||(n[0]=T=>s.eepromType=T),style:{width:"320px"},placeholder:"\u9009\u62E9EEPROM\u5927\u5C0F"},{default:e(()=>[t(a,{value:"1"},{default:e(()=>[l("8KB\uFF0864Kbit\uFF09")]),_:1}),t(a,{value:"2"},{default:e(()=>[l("128KB\uFF081Mbit\uFF09")]),_:1}),t(a,{value:"3"},{default:e(()=>[l("256KB\uFF082Mbit\uFF09")]),_:1}),t(a,{value:"4"},{default:e(()=>[l("512KB\uFF084Mbit\uFF09")]),_:1})]),_:1},8,["modelValue"]),t(c,{type:"text",onClick:y},{default:e(()=>[l("\u81EA\u52A8\u68C0\u6D4B")]),_:1})]),_:1})]),_:1})]),_:1}),t(b),K("div",{id:"statusArea",style:{height:"20em","background-color":"azure",color:"silver",overflow:"auto",padding:"20px"},innerHTML:s.status},null,8,$)]),_:1})]),_:1})]),_:1})])}}});const bt=R(et,[["__scopeId","data-v-bac7f4ab"]]);export{bt as default};
diff --git a/assets/index.d076ea65.js.gz b/assets/index.d076ea65.js.gz
new file mode 100644
index 0000000..af30048
Binary files /dev/null and b/assets/index.d076ea65.js.gz differ
diff --git a/assets/index.09346e9b.js b/assets/index.d26e3c2a.js
similarity index 98%
rename from assets/index.09346e9b.js
rename to assets/index.d26e3c2a.js
index 8282b8b..a0c14a8 100644
--- a/assets/index.09346e9b.js
+++ b/assets/index.d26e3c2a.js
@@ -1 +1 @@
-import{e as k,q as v,_ as I}from"./index.cddd8fd4.js";/* empty css *//* empty css *//* empty css *//* empty css */import{d as N,r as T,aV as L,bN as M,bC as q,C as H,D as R,aI as t,aH as e,aM as C,u as Z,a6 as j,aZ as z,b8 as G,bD as J,bM as K,b5 as O,ba as Q}from"./arco.f883ed21.js";import{u as W}from"./loading.50b9fdaf.js";import{e as P,a as A,b as w,s as h,f as B,g as X}from"./serial.b70f48dc.js";import"./chart.977fd17b.js";import"./vue.170d1f1d.js";const Y={class:"container"},$={name:"Chi"},oo=N({...$,setup(to){const o=k(),{loading:V,setLoading:F}=W(!1),a=T({logo_line1:"",logo_line2:"",mdc_audio_local:!0}),U=async()=>{var b,u,p,s,l,_,i,d,f,c,m,y;if(o.connectState!=!0){alert("\u8BF7\u5148\u8FDE\u63A5\u624B\u53F0\uFF01");return}if(await P(o.connectPort),F(!0),((b=o.configuration)==null?void 0:b.charset)=="losehu"){let n=new Uint8Array(38);n.set(await A(o.connectPort,123680,38,(u=o.configuration)==null?void 0:u.uart),0),a.logo_line1=w(n.subarray(0,19),(p=o.configuration)==null?void 0:p.charset),a.logo_line2=w(n.subarray(19,38),(s=o.configuration)==null?void 0:s.charset)}else if(((l=o.configuration)==null?void 0:l.charset)=="gb2312"){let n=new Uint8Array(36);n.set(await A(o.connectPort,8192,36,(_=o.configuration)==null?void 0:_.uart),0),a.logo_line1=w(n.subarray(0,18),(i=o.configuration)==null?void 0:i.charset),a.logo_line2=w(n.subarray(18,36),(d=o.configuration)==null?void 0:d.charset)}else{let n=new Uint8Array(32);n.set(await A(o.connectPort,3760,32,(f=o.configuration)==null?void 0:f.uart),0),a.logo_line1=w(n.subarray(0,16),(c=o.configuration)==null?void 0:c.charset),a.logo_line2=w(n.subarray(16,32),(m=o.configuration)==null?void 0:m.charset)}parseInt(await A(o.connectPort,8189,1,(y=o.configuration)==null?void 0:y.uart))==0?a.mdc_audio_local=!1:a.mdc_audio_local=!0,F(!1)},x=async()=>{var b,u,p,s,l,_,i,d,f,c,m,y,n,g,E;if(o.connectState!=!0){alert("\u8BF7\u5148\u8FDE\u63A5\u624B\u53F0\uFF01");return}if(F(!0),await P(o.connectPort),((b=o.configuration)==null?void 0:b.charset)=="losehu"){let r=new Uint8Array(38);r.set(h(a.logo_line1,(u=o.configuration)==null?void 0:u.charset).subarray(0,19),0),r.set(h(a.logo_line2,(p=o.configuration)==null?void 0:p.charset).subarray(0,19),19),await B(o.connectPort,123678,[18,18],2,(s=o.configuration)==null?void 0:s.uart),await B(o.connectPort,123680,r,38,(l=o.configuration)==null?void 0:l.uart)}else if(((_=o.configuration)==null?void 0:_.charset)=="gb2312"){let r=new Uint8Array(36);r.set(h(a.logo_line1,(i=o.configuration)==null?void 0:i.charset).subarray(0,18),0),r.set(h(a.logo_line2,(d=o.configuration)==null?void 0:d.charset).subarray(0,18),18),await B(o.connectPort,8228,[18,18],2,(f=o.configuration)==null?void 0:f.uart),await B(o.connectPort,8192,r,36,(c=o.configuration)==null?void 0:c.uart)}else{let r=new Uint8Array(32);r.set(h(a.logo_line1,(m=o.configuration)==null?void 0:m.charset).subarray(0,16),0),r.set(h(a.logo_line2,(y=o.configuration)==null?void 0:y.charset).subarray(0,16),16),await B(o.connectPort,3760,r,32,(n=o.configuration)==null?void 0:n.uart)}(g=o.configuration)!=null&&g.localmdc&&await B(o.connectPort,8189,new Uint8Array([a.mdc_audio_local?1:0]),1,(E=o.configuration)==null?void 0:E.uart),await X(o.connectPort),F(!1)},D=async()=>{},S=async()=>{};return(b,u)=>{const p=v,s=j,l=z,_=G,i=J,d=K,f=O,c=Q,m=L,y=M,n=q;return H(),R("div",Y,[t(p,{items:["\u5C0F\u5DE5\u5177","\u8BBE\u7F6E\u7BA1\u7406"]}),t(d,{gutter:20,align:"stretch"},{default:e(()=>[t(i,{span:24},{default:e(()=>[t(n,{class:"general-card",title:"\u8BBE\u7F6E\u7BA1\u7406"},{default:e(()=>[t(d,{style:{"margin-bottom":"16px"}},{default:e(()=>[t(i,{span:12},{default:e(()=>[t(_,null,{default:e(()=>[t(l,{type:"primary",onClick:U},{icon:e(()=>[t(s)]),default:e(()=>[C(" \u4ECE\u8BBE\u5907\u8BFB\u53D6 ")]),_:1}),t(l,{onClick:x},{icon:e(()=>[t(s)]),default:e(()=>[C(" \u5199\u5165\u8BBE\u5907 ")]),_:1})]),_:1})]),_:1}),t(i,{span:12,style:{"text-align":"right"}},{default:e(()=>[t(_,null,{default:e(()=>[t(l,{type:"primary",onClick:D},{default:e(()=>[C(" \u4FDD\u5B58 ")]),_:1}),t(l,{onClick:S},{default:e(()=>[C(" \u52A0\u8F7D ")]),_:1})]),_:1})]),_:1})]),_:1}),t(y,{loading:Z(V),style:{width:"100%"}},{default:e(()=>[t(c,{"label-col-style":{width:"25%"},field:"logo_line1",label:"\u542F\u52A8\u753B\u9762\u9996\u884C\u6587\u5B57"},{default:e(()=>[t(f,{modelValue:a.logo_line1,"onUpdate:modelValue":u[0]||(u[0]=g=>a.logo_line1=g)},null,8,["modelValue"])]),_:1}),t(c,{"label-col-style":{width:"25%"},field:"logo_line2",label:"\u542F\u52A8\u753B\u9762\u6B21\u884C\u6587\u5B57"},{default:e(()=>[t(f,{modelValue:a.logo_line2,"onUpdate:modelValue":u[1]||(u[1]=g=>a.logo_line2=g)},null,8,["modelValue"])]),_:1}),t(c,{"label-col-style":{width:"25%"},field:"logo_line2",label:"\u672C\u5730\u64AD\u653E\u9996\u5C3E\u97F3\uFF08\u4EC5117P6\uFF09"},{default:e(()=>[t(m,{modelValue:a.mdc_audio_local,"onUpdate:modelValue":u[2]||(u[2]=g=>a.mdc_audio_local=g),type:"round"},null,8,["modelValue"])]),_:1})]),_:1},8,["loading"])]),_:1})]),_:1})]),_:1})])}}});const fo=I(oo,[["__scopeId","data-v-2f03e8a6"]]);export{fo as default};
+import{e as k,q as v,_ as I}from"./index.870d30e3.js";/* empty css *//* empty css *//* empty css *//* empty css */import{d as N,r as T,aV as L,bN as M,bC as q,C as H,D as R,aI as t,aH as e,aM as C,u as Z,a6 as j,aZ as z,b8 as G,bD as J,bM as K,b5 as O,ba as Q}from"./arco.f883ed21.js";import{u as W}from"./loading.50b9fdaf.js";import{e as P,a as A,b as w,s as h,f as B,g as X}from"./serial.b70f48dc.js";import"./chart.977fd17b.js";import"./vue.170d1f1d.js";const Y={class:"container"},$={name:"Chi"},oo=N({...$,setup(to){const o=k(),{loading:V,setLoading:F}=W(!1),a=T({logo_line1:"",logo_line2:"",mdc_audio_local:!0}),U=async()=>{var b,u,p,s,l,_,i,d,f,c,m,y;if(o.connectState!=!0){alert("\u8BF7\u5148\u8FDE\u63A5\u624B\u53F0\uFF01");return}if(await P(o.connectPort),F(!0),((b=o.configuration)==null?void 0:b.charset)=="losehu"){let n=new Uint8Array(38);n.set(await A(o.connectPort,123680,38,(u=o.configuration)==null?void 0:u.uart),0),a.logo_line1=w(n.subarray(0,19),(p=o.configuration)==null?void 0:p.charset),a.logo_line2=w(n.subarray(19,38),(s=o.configuration)==null?void 0:s.charset)}else if(((l=o.configuration)==null?void 0:l.charset)=="gb2312"){let n=new Uint8Array(36);n.set(await A(o.connectPort,8192,36,(_=o.configuration)==null?void 0:_.uart),0),a.logo_line1=w(n.subarray(0,18),(i=o.configuration)==null?void 0:i.charset),a.logo_line2=w(n.subarray(18,36),(d=o.configuration)==null?void 0:d.charset)}else{let n=new Uint8Array(32);n.set(await A(o.connectPort,3760,32,(f=o.configuration)==null?void 0:f.uart),0),a.logo_line1=w(n.subarray(0,16),(c=o.configuration)==null?void 0:c.charset),a.logo_line2=w(n.subarray(16,32),(m=o.configuration)==null?void 0:m.charset)}parseInt(await A(o.connectPort,8189,1,(y=o.configuration)==null?void 0:y.uart))==0?a.mdc_audio_local=!1:a.mdc_audio_local=!0,F(!1)},x=async()=>{var b,u,p,s,l,_,i,d,f,c,m,y,n,g,E;if(o.connectState!=!0){alert("\u8BF7\u5148\u8FDE\u63A5\u624B\u53F0\uFF01");return}if(F(!0),await P(o.connectPort),((b=o.configuration)==null?void 0:b.charset)=="losehu"){let r=new Uint8Array(38);r.set(h(a.logo_line1,(u=o.configuration)==null?void 0:u.charset).subarray(0,19),0),r.set(h(a.logo_line2,(p=o.configuration)==null?void 0:p.charset).subarray(0,19),19),await B(o.connectPort,123678,[18,18],2,(s=o.configuration)==null?void 0:s.uart),await B(o.connectPort,123680,r,38,(l=o.configuration)==null?void 0:l.uart)}else if(((_=o.configuration)==null?void 0:_.charset)=="gb2312"){let r=new Uint8Array(36);r.set(h(a.logo_line1,(i=o.configuration)==null?void 0:i.charset).subarray(0,18),0),r.set(h(a.logo_line2,(d=o.configuration)==null?void 0:d.charset).subarray(0,18),18),await B(o.connectPort,8228,[18,18],2,(f=o.configuration)==null?void 0:f.uart),await B(o.connectPort,8192,r,36,(c=o.configuration)==null?void 0:c.uart)}else{let r=new Uint8Array(32);r.set(h(a.logo_line1,(m=o.configuration)==null?void 0:m.charset).subarray(0,16),0),r.set(h(a.logo_line2,(y=o.configuration)==null?void 0:y.charset).subarray(0,16),16),await B(o.connectPort,3760,r,32,(n=o.configuration)==null?void 0:n.uart)}(g=o.configuration)!=null&&g.localmdc&&await B(o.connectPort,8189,new Uint8Array([a.mdc_audio_local?1:0]),1,(E=o.configuration)==null?void 0:E.uart),await X(o.connectPort),F(!1)},D=async()=>{},S=async()=>{};return(b,u)=>{const p=v,s=j,l=z,_=G,i=J,d=K,f=O,c=Q,m=L,y=M,n=q;return H(),R("div",Y,[t(p,{items:["\u5C0F\u5DE5\u5177","\u8BBE\u7F6E\u7BA1\u7406"]}),t(d,{gutter:20,align:"stretch"},{default:e(()=>[t(i,{span:24},{default:e(()=>[t(n,{class:"general-card",title:"\u8BBE\u7F6E\u7BA1\u7406"},{default:e(()=>[t(d,{style:{"margin-bottom":"16px"}},{default:e(()=>[t(i,{span:12},{default:e(()=>[t(_,null,{default:e(()=>[t(l,{type:"primary",onClick:U},{icon:e(()=>[t(s)]),default:e(()=>[C(" \u4ECE\u8BBE\u5907\u8BFB\u53D6 ")]),_:1}),t(l,{onClick:x},{icon:e(()=>[t(s)]),default:e(()=>[C(" \u5199\u5165\u8BBE\u5907 ")]),_:1})]),_:1})]),_:1}),t(i,{span:12,style:{"text-align":"right"}},{default:e(()=>[t(_,null,{default:e(()=>[t(l,{type:"primary",onClick:D},{default:e(()=>[C(" \u4FDD\u5B58 ")]),_:1}),t(l,{onClick:S},{default:e(()=>[C(" \u52A0\u8F7D ")]),_:1})]),_:1})]),_:1})]),_:1}),t(y,{loading:Z(V),style:{width:"100%"}},{default:e(()=>[t(c,{"label-col-style":{width:"25%"},field:"logo_line1",label:"\u542F\u52A8\u753B\u9762\u9996\u884C\u6587\u5B57"},{default:e(()=>[t(f,{modelValue:a.logo_line1,"onUpdate:modelValue":u[0]||(u[0]=g=>a.logo_line1=g)},null,8,["modelValue"])]),_:1}),t(c,{"label-col-style":{width:"25%"},field:"logo_line2",label:"\u542F\u52A8\u753B\u9762\u6B21\u884C\u6587\u5B57"},{default:e(()=>[t(f,{modelValue:a.logo_line2,"onUpdate:modelValue":u[1]||(u[1]=g=>a.logo_line2=g)},null,8,["modelValue"])]),_:1}),t(c,{"label-col-style":{width:"25%"},field:"logo_line2",label:"\u672C\u5730\u64AD\u653E\u9996\u5C3E\u97F3\uFF08\u4EC5117P6\uFF09"},{default:e(()=>[t(m,{modelValue:a.mdc_audio_local,"onUpdate:modelValue":u[2]||(u[2]=g=>a.mdc_audio_local=g),type:"round"},null,8,["modelValue"])]),_:1})]),_:1},8,["loading"])]),_:1})]),_:1})]),_:1})])}}});const fo=I(oo,[["__scopeId","data-v-2f03e8a6"]]);export{fo as default};
diff --git a/assets/index.d26e3c2a.js.gz b/assets/index.d26e3c2a.js.gz
new file mode 100644
index 0000000..393be9b
Binary files /dev/null and b/assets/index.d26e3c2a.js.gz differ
diff --git a/assets/index.f75e96ef.js.gz b/assets/index.f75e96ef.js.gz
deleted file mode 100644
index d023b7c..0000000
Binary files a/assets/index.f75e96ef.js.gz and /dev/null differ
diff --git a/assets/index.38b3cf67.js b/assets/index.f94e27e4.js
similarity index 99%
rename from assets/index.38b3cf67.js
rename to assets/index.f94e27e4.js
index 48e9256..6ad548e 100644
--- a/assets/index.38b3cf67.js
+++ b/assets/index.f94e27e4.js
@@ -1 +1 @@
-import{e as rt,q as lt,_ as ut}from"./index.cddd8fd4.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{d as it,r as pt,bU as ct,aU as dt,bB as _t,bN as ft,bC as mt,C as m,D as h,aI as s,aH as r,u as gt,aK as S,aJ as A,aE as C,aM as g,aN as D,G as bt,n as Y,bX as yt,ba as wt,aZ as Ft,b8 as ht,bD as xt,bM as St}from"./arco.f883ed21.js";import{e as $,s as At,f as p,h as c,g as Ct}from"./serial.b70f48dc.js";import{u as Dt}from"./loading.50b9fdaf.js";import"./chart.977fd17b.js";import"./vue.170d1f1d.js";const Bt={class:"container"},Et=["innerHTML"],Vt={name:"Sat"},Tt=it({...Vt,setup(vt){const{loading:tt,setLoading:b}=Dt(!0),a=rt(),t=pt({status:"\u70B9\u51FB\u5199\u5165\u6309\u94AE\u5199\u5165\u536B\u661F\u6570\u636E\u5230\u8BBE\u5907
",sat:"",satData:[],lng:0,lat:0,alt:0,tx:0,rx:0,txTone:0,rxTone:0,CTCSSOption:[67,69.3,71.9,74.4,77,79.7,82.5,85.4,88.5,91.5,94.8,97.4,100,103.5,107.2,110.9,114.8,118.8,123,127.3,131.8,136.5,141.3,146.2,151.4,156.7,159.8,162.2,165.5,167.9,171.3,173.8,177.3,179.9,183.5,186.2,189.9,192.8,196.6,199.5,203.5,206.5,210.7,218.1,225.7,229.1,233.6,241.8,250.3,254.1],pass:void 0,passOption:[]}),at=async u=>{const e=t.satData.find(o=>o.name==u);e&&e.path&&(t.status+=" \u536B\u661F\u53C2\u6570\uFF1A ",e.path.map(o=>{t.status+=o+" "})),Y(()=>{const o=document==null?void 0:document.getElementById("statusArea");o&&(o.scrollTop=o==null?void 0:o.scrollHeight)})};(async()=>{b(!0);const e=(await(await fetch("https://celestrak.org/NORAD/elements/amateur.txt")).text()).split(/\r?\n/),o=[];let l={};for(let i=0;i{b(!0),navigator.geolocation.getCurrentPosition(u=>{u.coords&&(t.lat=u.coords.latitude,t.lng=u.coords.longitude,u.coords.altitude&&(t.alt=u.coords.altitude))}),b(!1)};P();const et=async(u=0,e)=>{var o;await $(a.connectPort);for(let l=u;l",Y(()=>{const i=document==null?void 0:document.getElementById("statusArea");i&&(i.scrollTop=i==null?void 0:i.scrollHeight)});t.status=t.status+"\u5199\u5165\u8FDB\u5EA6\uFF1A100.0% ",await Ct(a.connectPort)},ot=async()=>{if(!t.sat){alert("\u8BF7\u9009\u62E9\u536B\u661F\uFF01");return}b(!0);const u=await(await fetch("https://k5.vicicode.com/api/pass",{method:"POST",mode:"cors",headers:{"Content-Type":"application/json"},body:JSON.stringify({sat:t.sat,sat_line_1:t.satData.find(o=>o.name==t.sat).path[0],sat_line_2:t.satData.find(o=>o.name==t.sat).path[1],lat:t.lat,lng:t.lng,alt:t.alt})})).json(),e=[];for(let o=0;o0?l=[u.pass_times[o],u.departure_times[o]]:l=[u.pass_times[o],u.departure_times[o+1]],e.push(l)}catch{}e.length>0?t.pass=e[0][0]+"|"+e[0][1]:t.pass=void 0,t.passOption=e,b(!1)},nt=async()=>{var U,k,O,N,L,H,j,M,R,J,q,z,G,K,X,Z,Q;if(a.connectState!=!0){alert("\u8BF7\u5148\u8FDE\u63A5\u624B\u53F0\uFF01");return}if(!t.pass){alert("\u8BF7\u9009\u62E9\u8FC7\u5883\u65F6\u95F4\uFF01");return}b(!0);const u=await(await fetch("https://k5.vicicode.com/api/doppler",{method:"POST",mode:"cors",headers:{"Content-Type":"application/json"},body:JSON.stringify({sat:t.sat,sat_line_1:t.satData.find(w=>w.name==t.sat).path[0],sat_line_2:t.satData.find(w=>w.name==t.sat).path[1],lat:t.lat,lng:t.lng,alt:t.alt,tx:t.tx,rx:t.rx,pass_time:t.pass.split("|")[0],departure_time:t.pass.split("|")[1]})})).json(),e=t.sat,o=t.pass.split("|")[0],l=o.split("-")[0].substring(2,4),i=o.split("-")[1],_=o.split("-")[2].split(" ")[0],y=o.split(" ")[1].split(":")[0],F=o.split(" ")[1].split(":")[1],B=o.split(" ")[1].split(":")[2],f=t.pass.split("|")[1],E=f.split("-")[0].substring(2,4),V=f.split("-")[1],T=f.split("-")[2].split(" ")[0],v=f.split(" ")[1].split(":")[0],n=f.split(" ")[1].split(":")[1],st=f.split(" ")[1].split(":")[2];await $(a.connectPort);let d=new Uint8Array(10);d.set(At(e.trim()).subarray(0,9)),await p(a.connectPort,11168,d,10,(U=a.configuration)==null?void 0:U.uart),await p(a.connectPort,11178,c(parseInt(l).toString(16)).subarray(0,1),1,(k=a.configuration)==null?void 0:k.uart),await p(a.connectPort,11179,c(parseInt(i).toString(16)).subarray(0,1),1,(O=a.configuration)==null?void 0:O.uart),await p(a.connectPort,11180,c(parseInt(_).toString(16)).subarray(0,1),1,(N=a.configuration)==null?void 0:N.uart),await p(a.connectPort,11181,c(parseInt(y).toString(16)).subarray(0,1),1,(L=a.configuration)==null?void 0:L.uart),await p(a.connectPort,11182,c(parseInt(F).toString(16)).subarray(0,1),1,(H=a.configuration)==null?void 0:H.uart),await p(a.connectPort,11183,c(parseInt(B).toString(16)).subarray(0,1),1,(j=a.configuration)==null?void 0:j.uart),await p(a.connectPort,11184,c(parseInt(E).toString(16)).subarray(0,1),1,(M=a.configuration)==null?void 0:M.uart),await p(a.connectPort,11185,c(parseInt(V).toString(16)).subarray(0,1),1,(R=a.configuration)==null?void 0:R.uart),await p(a.connectPort,11186,c(parseInt(T).toString(16)).subarray(0,1),1,(J=a.configuration)==null?void 0:J.uart),await p(a.connectPort,11187,c(parseInt(v).toString(16)).subarray(0,1),1,(q=a.configuration)==null?void 0:q.uart),await p(a.connectPort,11188,c(parseInt(n).toString(16)).subarray(0,1),1,(z=a.configuration)==null?void 0:z.uart),await p(a.connectPort,11189,c(parseInt(st).toString(16)).subarray(0,1),1,(G=a.configuration)==null?void 0:G.uart),d=new Uint8Array(2),d.set(c(((Date.parse(f)-Date.parse(o))/1e3).toString(16)).subarray(0,2)),await p(a.connectPort,11190,d,2,(K=a.configuration)==null?void 0:K.uart),d=new Uint8Array(2),t.txTone&&t.txTone>0&&d.set(c(t.txTone.toString(16)).subarray(0,2)),await p(a.connectPort,11192,d,2,(X=a.configuration)==null?void 0:X.uart),d=new Uint8Array(2),t.rxTone&&t.rxTone>0&&d.set(c(t.rxTone.toString(16)).subarray(0,2)),await p(a.connectPort,11194,d,2,(Z=a.configuration)==null?void 0:Z.uart),d=new Uint8Array(4),d.set(c(((Date.parse(o)-Date.parse("2000-01-01 00:00:00"))/1e3).toString(16)).subarray(0,4)),await p(a.connectPort,11196,d,4,(Q=a.configuration)==null?void 0:Q.uart);const I=[];u.shift_array.filter((w,x)=>x%2===0).map(w=>{const x=new Uint8Array(4),W=new Uint8Array(4);x.set(c(parseInt(((t.tx*1e6+w[0])/10).toFixed(0)).toString(16))),W.set(c(parseInt(((t.rx*1e6+w[1])/10).toFixed(0)).toString(16))),I.push(...x,...W)}),d=new Uint8Array(7680),d.set(new Uint8Array(I).subarray(0,7680)),await et(123392,d),b(!1)};return(u,e)=>{const o=lt,l=yt,i=ct,_=wt,y=dt,F=Ft,B=ht,f=_t,E=ft,V=mt,T=xt,v=St;return m(),h("div",Bt,[s(o,{items:["\u5C0F\u5DE5\u5177","\u536B\u661F\u5199\u5165"]}),s(v,{gutter:20,align:"stretch"},{default:r(()=>[s(T,{span:24},{default:r(()=>[s(V,{class:"general-card",title:"\u536B\u661F\u5199\u5165"},{default:r(()=>[s(E,{loading:gt(tt),style:{width:"100%"},tip:"\u6B63\u5728\u5904\u7406 ..."},{default:r(()=>[s(_,{"label-col-style":{width:"25%"},field:"sat",label:"\u9009\u62E9\u536B\u661F"},{default:r(()=>[s(i,{modelValue:t.sat,"onUpdate:modelValue":e[0]||(e[0]=n=>t.sat=n),onChange:at,placeholder:"\u9009\u62E9\u536B\u661F ...","allow-search":"","allow-clear":""},{default:r(()=>[(m(!0),h(S,null,A(t.satData,n=>(m(),C(l,{key:n.name,value:n.name},{default:r(()=>[g(D(n.name),1)]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue"])]),_:1}),s(_,{"label-col-style":{width:"25%"},field:"lng",label:"\u53F0\u7AD9\u7ECF\u5EA6"},{default:r(()=>[s(y,{precision:6,modelValue:t.lng,"onUpdate:modelValue":e[1]||(e[1]=n=>t.lng=n)},null,8,["modelValue"])]),_:1}),s(_,{"label-col-style":{width:"25%"},field:"lat",label:"\u53F0\u7AD9\u7EAC\u5EA6"},{default:r(()=>[s(y,{precision:6,modelValue:t.lat,"onUpdate:modelValue":e[2]||(e[2]=n=>t.lat=n)},null,8,["modelValue"])]),_:1}),s(_,{"label-col-style":{width:"25%"},field:"alt",label:"\u53F0\u7AD9\u6D77\u62D4"},{default:r(()=>[s(y,{precision:0,modelValue:t.alt,"onUpdate:modelValue":e[3]||(e[3]=n=>t.alt=n)},null,8,["modelValue"])]),_:1}),s(_,{"label-col-style":{width:"25%"},label:""},{default:r(()=>[s(B,null,{default:r(()=>[s(F,{onClick:P},{default:r(()=>[g("\u6D4F\u89C8\u5668\u83B7\u53D6\u7ECF\u7EAC\u5EA6")]),_:1}),s(F,{onClick:ot},{default:r(()=>[g("\u83B7\u53D6\u536B\u661F\u8FC7\u5883\u65F6\u95F4")]),_:1})]),_:1})]),_:1}),s(_,{"label-col-style":{width:"25%"},field:"pass",label:"\u9009\u62E9\u8FC7\u5883\u65F6\u95F4"},{default:r(()=>[s(i,{modelValue:t.pass,"onUpdate:modelValue":e[4]||(e[4]=n=>t.pass=n),"allow-search":"","allow-clear":""},{default:r(()=>[(m(!0),h(S,null,A(t.passOption,n=>(m(),C(l,{key:n[0]+"|"+n[1],value:n[0]+"|"+n[1]},{default:r(()=>[g(D(n[0]+" - "+n[1]),1)]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue"])]),_:1}),s(_,{"label-col-style":{width:"25%"},field:"tx",label:"\u4E0A\u884C\u9891\u7387"},{default:r(()=>[s(y,{precision:5,modelValue:t.tx,"onUpdate:modelValue":e[5]||(e[5]=n=>t.tx=n)},null,8,["modelValue"])]),_:1}),s(_,{"label-col-style":{width:"25%"},field:"txTone",label:"\u4E0A\u884C\u4E9A\u97F3"},{default:r(()=>[s(i,{modelValue:t.txTone,"onUpdate:modelValue":e[6]||(e[6]=n=>t.txTone=n),"allow-search":"","allow-clear":""},{default:r(()=>[s(l,{value:0},{default:r(()=>[g("\u5173\u95ED")]),_:1}),(m(!0),h(S,null,A(t.CTCSSOption,n=>(m(),C(l,{key:n,value:n},{default:r(()=>[g(D(n.toFixed(1)),1)]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue"])]),_:1}),s(_,{"label-col-style":{width:"25%"},field:"rx",label:"\u4E0B\u884C\u9891\u7387"},{default:r(()=>[s(y,{precision:5,modelValue:t.rx,"onUpdate:modelValue":e[7]||(e[7]=n=>t.rx=n)},null,8,["modelValue"])]),_:1}),s(_,{"label-col-style":{width:"25%"},field:"rxTone",label:"\u4E0B\u884C\u4E9A\u97F3"},{default:r(()=>[s(i,{modelValue:t.rxTone,"onUpdate:modelValue":e[8]||(e[8]=n=>t.rxTone=n),"allow-search":"","allow-clear":""},{default:r(()=>[s(l,{value:0},{default:r(()=>[g("\u5173\u95ED")]),_:1}),(m(!0),h(S,null,A(t.CTCSSOption,n=>(m(),C(l,{key:n,value:n},{default:r(()=>[g(D(n.toFixed(1)),1)]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue"])]),_:1}),s(_,{"label-col-style":{width:"25%"},label:""},{default:r(()=>[s(F,{onClick:nt},{default:r(()=>[g("\u5199\u5165\u6570\u636E")]),_:1})]),_:1}),s(f),bt("div",{id:"statusArea",style:{height:"20em","background-color":"azure",color:"silver",overflow:"auto",padding:"20px"},innerHTML:t.status},null,8,Et)]),_:1},8,["loading"])]),_:1})]),_:1})]),_:1})])}}});const Xt=ut(Tt,[["__scopeId","data-v-bfa7c89c"]]);export{Xt as default};
+import{e as rt,q as lt,_ as ut}from"./index.870d30e3.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{d as it,r as pt,bU as ct,aU as dt,bB as _t,bN as ft,bC as mt,C as m,D as h,aI as s,aH as r,u as gt,aK as S,aJ as A,aE as C,aM as g,aN as D,G as bt,n as Y,bX as yt,ba as wt,aZ as Ft,b8 as ht,bD as xt,bM as St}from"./arco.f883ed21.js";import{e as $,s as At,f as p,h as c,g as Ct}from"./serial.b70f48dc.js";import{u as Dt}from"./loading.50b9fdaf.js";import"./chart.977fd17b.js";import"./vue.170d1f1d.js";const Bt={class:"container"},Et=["innerHTML"],Vt={name:"Sat"},Tt=it({...Vt,setup(vt){const{loading:tt,setLoading:b}=Dt(!0),a=rt(),t=pt({status:"\u70B9\u51FB\u5199\u5165\u6309\u94AE\u5199\u5165\u536B\u661F\u6570\u636E\u5230\u8BBE\u5907