diff --git a/assets/default-layout.d242cc1d.js b/assets/default-layout.5457e345.js
similarity index 99%
rename from assets/default-layout.d242cc1d.js
rename to assets/default-layout.5457e345.js
index 11d70e3..3789b95 100644
--- a/assets/default-layout.d242cc1d.js
+++ b/assets/default-layout.5457e345.js
@@ -1,4 +1,4 @@
-import{u as su,j as Wg,k as Hg,l as Zs,m as lt,v as Ys,n as Xs,_ as Wt,o as Ng,p as Kg,L as kg,q as zg,r as Gg,s as qg,t as au,R as Zg,D as Yg,x as Xg,y as Jg,z as Vg,A as Qg,B as jg,C as n1,E as Ns}from"./index.c4ad0b59.js";import{F as e1}from"./index.2e69ccec.js";import{a_ as tu,aO as Bt,c as cn,d as ct,f as ft,aI as m,bk as t1,aU as r1,h as Ks,bl as ks,bm as i1,bn as u1,i as o1,ba as s1,bo as a1,bp as Js,C as nn,D as De,G as J,aH as S,aM as ye,aN as fe,u as dn,aE as xn,aF as ze,aK as Pt,bg as $t,bh as Ut,aJ as ru,bq as f1,Q as l1,a$ as c1,a0 as h1,br as Vs,ao as _1,E as Qs,bs as p1,a2 as d1,be as js,bf as na,w as ea,bt as g1,bu as v1,o as ta,bv as m1,b as w1,b2 as iu,bw as zs,bx as b1,by as x1,r as y1,p as S1,aZ as A1,bz as L1,F as Gs,bA as E1,bB as I1}from"./arco.7f845a67.js";import{g as Dr,f as Fr,i as C1,j as T1,k as R1,l as O1}from"./vue.0bef8fc5.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{d as qs,c as D1,e as F1}from"./serial.c6b76da8.js";import{L as M1}from"./index.e7c19b13.js";import{I as B1}from"./index.28d45399.js";import{F as P1,a as $1}from"./index.e2cc1822.js";import{B as U1}from"./index.b619bc90.js";import{D as W1}from"./index.fc382d33.js";import"./chart.95d38b48.js";import"./index.3ca10597.js";import"./helper.1bee26d0.js";import"./useConfig.72fe6f25.js";import"./slot.33f80bbb.js";import"./useDisabled.54b0051c.js";import"./useGlobalIcon.ac7d6aea.js";import"./form-model.7158f1bf.js";import"./index.afea8a64.js";import"./dialog.e7296975.js";const ra="LoseHu 117 \u5386\u53F2\u7248\u672C",ia="official",ua="official",H1={name:ra,uart:ia,charset:ua},N1=Object.freeze(Object.defineProperty({__proto__:null,name:ra,uart:ia,charset:ua,default:H1},Symbol.toStringTag,{value:"Module"})),oa="LoseHu 117 \u5386\u53F2\u7248\u672C\u6269\u5BB9\u7248",sa="losehu",aa="losehu",fa=!0,K1={name:oa,uart:sa,charset:aa,K:fa},k1=Object.freeze(Object.defineProperty({__proto__:null,name:oa,uart:sa,charset:aa,K:fa,default:K1},Symbol.toStringTag,{value:"Module"})),la="LoseHu 118+",ca="official",ha="official",z1={name:la,uart:ca,charset:ha},G1=Object.freeze(Object.defineProperty({__proto__:null,name:la,uart:ca,charset:ha,default:z1},Symbol.toStringTag,{value:"Module"})),_a="LoseHu 118+ 2Mbit \u6269\u5BB9\u7248",pa="losehu",da="gb2312",ga=!0,va=!0,q1={name:_a,uart:pa,charset:da,H:ga,sat:va},Z1=Object.freeze(Object.defineProperty({__proto__:null,name:_a,uart:pa,charset:da,H:ga,sat:va,default:q1},Symbol.toStringTag,{value:"Module"})),ma="LoseHu 118+ \u6269\u5BB9\u7248",wa="losehu",ba="gb2312",xa=!0,Y1={name:ma,uart:wa,charset:ba,K:xa},X1=Object.freeze(Object.defineProperty({__proto__:null,name:ma,uart:wa,charset:ba,K:xa,default:Y1},Symbol.toStringTag,{value:"Module"})),ya="LoseHu 120+ \u6269\u5BB9\u7248",Sa="losehu",Aa="gb2312",La=!0,Ea=!0,J1={name:ya,uart:Sa,charset:Aa,K:La,sat:Ea},V1=Object.freeze(Object.defineProperty({__proto__:null,name:ya,uart:Sa,charset:Aa,K:La,sat:Ea,default:J1},Symbol.toStringTag,{value:"Module"})),Ia="LoseHu 124+ 2Mbit \u6269\u5BB9\u7248",Ca="losehu",Ta="gb2312",Ra=!0,Oa=!0,Da=!0,Q1={name:Ia,uart:Ca,charset:Ta,H:Ra,sat:Oa,newpinyin:Da},j1=Object.freeze(Object.defineProperty({__proto__:null,name:Ia,uart:Ca,charset:Ta,H:Ra,sat:Oa,newpinyin:Da,default:Q1},Symbol.toStringTag,{value:"Module"})),Fa="LoseHu \u5F15\u5BFC\u7A0B\u5E8F",Ma="losehu",Ba="gb2312",Pa=!0,$a=!0,Ua=!0,n0={name:Fa,uart:Ma,charset:Ba,H:Pa,sat:$a,newpinyin:Ua},e0=Object.freeze(Object.defineProperty({__proto__:null,name:Fa,uart:Ma,charset:Ba,H:Pa,sat:$a,newpinyin:Ua,default:n0},Symbol.toStringTag,{value:"Module"})),Wa="LoseHu Patch LTS\uFF08BD8DFN\uFF09",Ha="official",Na="official",Ka=!0,t0={name:Wa,uart:Ha,charset:Na,localmdc:Ka},r0=Object.freeze(Object.defineProperty({__proto__:null,name:Wa,uart:Ha,charset:Na,localmdc:Ka,default:t0},Symbol.toStringTag,{value:"Module"})),ka="LoseHu Patch LTS\uFF08BD8DFN\uFF09\u6269\u5BB9\u7248",za="losehu",Ga="losehu",qa=!0,Za=!0,Ya=!0,i0={name:ka,uart:za,charset:Ga,K:qa,localmdc:Za,fm30:Ya},u0=Object.freeze(Object.defineProperty({__proto__:null,name:ka,uart:za,charset:Ga,K:qa,localmdc:Za,fm30:Ya,default:i0},Symbol.toStringTag,{value:"Module"})),Xa="Official",o0={name:Xa},s0=Object.freeze(Object.defineProperty({__proto__:null,name:Xa,default:o0},Symbol.toStringTag,{value:"Module"}));function a0(){const E=Dr(),b=su();return{logout:async T=>{await b.logout();const H=E.currentRoute.value;tu.success("\u767B\u51FA\u6210\u529F"),E.push({name:T&&typeof T=="string"?T:"login",query:{...E.currentRoute.value.query,redirect:H.name}})}}}const f0=(E,b)=>{const{target:s="_blank",...T}=b||{};window.open(E,s,Object.entries(T).reduce((H,G)=>{const[R,V]=G;return[...H,`${R}=${V}`]},[]).join(","))},l0=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"),c0=[...Wg,...Hg],h0=c0.map(E=>{const{name:b,path:s,meta:T,redirect:H,children:G}=E;return{name:b,path:s,meta:T,redirect:H,children:G}}),_0=h0;var uu={exports:{}};/**
+import{u as su,j as Wg,k as Hg,l as Zs,m as lt,v as Ys,n as Xs,_ as Wt,o as Ng,p as Kg,L as kg,q as zg,r as Gg,s as qg,t as au,R as Zg,D as Yg,x as Xg,y as Jg,z as Vg,A as Qg,B as jg,C as n1,E as Ns}from"./index.bf86db92.js";import{F as e1}from"./index.645bd480.js";import{a_ as tu,aO as Bt,c as cn,d as ct,f as ft,aI as m,bk as t1,aU as r1,h as Ks,bl as ks,bm as i1,bn as u1,i as o1,ba as s1,bo as a1,bp as Js,C as nn,D as De,G as J,aH as S,aM as ye,aN as fe,u as dn,aE as xn,aF as ze,aK as Pt,bg as $t,bh as Ut,aJ as ru,bq as f1,Q as l1,a$ as c1,a0 as h1,br as Vs,ao as _1,E as Qs,bs as p1,a2 as d1,be as js,bf as na,w as ea,bt as g1,bu as v1,o as ta,bv as m1,b as w1,b2 as iu,bw as zs,bx as b1,by as x1,r as y1,p as S1,aZ as A1,bz as L1,F as Gs,bA as E1,bB as I1}from"./arco.7f845a67.js";import{g as Dr,f as Fr,i as C1,j as T1,k as R1,l as O1}from"./vue.0bef8fc5.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{d as qs,c as D1,e as F1}from"./serial.c6b76da8.js";import{L as M1}from"./index.08cf038d.js";import{I as B1}from"./index.e1f67dfa.js";import{F as P1,a as $1}from"./index.b441bfa0.js";import{B as U1}from"./index.ae19f10d.js";import{D as W1}from"./index.7894d3b8.js";import"./chart.95d38b48.js";import"./index.8c9418b6.js";import"./helper.845cf099.js";import"./useConfig.20ad2f42.js";import"./slot.25997c5d.js";import"./useDisabled.53ed762e.js";import"./useGlobalIcon.483a2e47.js";import"./form-model.4939af32.js";import"./index.a7c1390c.js";import"./dialog.aac16df3.js";const ra="LoseHu 117 \u5386\u53F2\u7248\u672C",ia="official",ua="official",H1={name:ra,uart:ia,charset:ua},N1=Object.freeze(Object.defineProperty({__proto__:null,name:ra,uart:ia,charset:ua,default:H1},Symbol.toStringTag,{value:"Module"})),oa="LoseHu 117 \u5386\u53F2\u7248\u672C\u6269\u5BB9\u7248",sa="losehu",aa="losehu",fa=!0,K1={name:oa,uart:sa,charset:aa,K:fa},k1=Object.freeze(Object.defineProperty({__proto__:null,name:oa,uart:sa,charset:aa,K:fa,default:K1},Symbol.toStringTag,{value:"Module"})),la="LoseHu 118+",ca="official",ha="official",z1={name:la,uart:ca,charset:ha},G1=Object.freeze(Object.defineProperty({__proto__:null,name:la,uart:ca,charset:ha,default:z1},Symbol.toStringTag,{value:"Module"})),_a="LoseHu 118+ 2Mbit \u6269\u5BB9\u7248",pa="losehu",da="gb2312",ga=!0,va=!0,q1={name:_a,uart:pa,charset:da,H:ga,sat:va},Z1=Object.freeze(Object.defineProperty({__proto__:null,name:_a,uart:pa,charset:da,H:ga,sat:va,default:q1},Symbol.toStringTag,{value:"Module"})),ma="LoseHu 118+ \u6269\u5BB9\u7248",wa="losehu",ba="gb2312",xa=!0,Y1={name:ma,uart:wa,charset:ba,K:xa},X1=Object.freeze(Object.defineProperty({__proto__:null,name:ma,uart:wa,charset:ba,K:xa,default:Y1},Symbol.toStringTag,{value:"Module"})),ya="LoseHu 120+ \u6269\u5BB9\u7248",Sa="losehu",Aa="gb2312",La=!0,Ea=!0,J1={name:ya,uart:Sa,charset:Aa,K:La,sat:Ea},V1=Object.freeze(Object.defineProperty({__proto__:null,name:ya,uart:Sa,charset:Aa,K:La,sat:Ea,default:J1},Symbol.toStringTag,{value:"Module"})),Ia="LoseHu 124+ 2Mbit \u6269\u5BB9\u7248",Ca="losehu",Ta="gb2312",Ra=!0,Oa=!0,Da=!0,Q1={name:Ia,uart:Ca,charset:Ta,H:Ra,sat:Oa,newpinyin:Da},j1=Object.freeze(Object.defineProperty({__proto__:null,name:Ia,uart:Ca,charset:Ta,H:Ra,sat:Oa,newpinyin:Da,default:Q1},Symbol.toStringTag,{value:"Module"})),Fa="LoseHu \u5F15\u5BFC\u7A0B\u5E8F",Ma="losehu",Ba="gb2312",Pa=!0,$a=!0,Ua=!0,n0={name:Fa,uart:Ma,charset:Ba,H:Pa,sat:$a,newpinyin:Ua},e0=Object.freeze(Object.defineProperty({__proto__:null,name:Fa,uart:Ma,charset:Ba,H:Pa,sat:$a,newpinyin:Ua,default:n0},Symbol.toStringTag,{value:"Module"})),Wa="LoseHu Patch LTS\uFF08BD8DFN\uFF09",Ha="official",Na="official",Ka=!0,t0={name:Wa,uart:Ha,charset:Na,localmdc:Ka},r0=Object.freeze(Object.defineProperty({__proto__:null,name:Wa,uart:Ha,charset:Na,localmdc:Ka,default:t0},Symbol.toStringTag,{value:"Module"})),ka="LoseHu Patch LTS\uFF08BD8DFN\uFF09\u6269\u5BB9\u7248",za="losehu",Ga="losehu",qa=!0,Za=!0,Ya=!0,i0={name:ka,uart:za,charset:Ga,K:qa,localmdc:Za,fm30:Ya},u0=Object.freeze(Object.defineProperty({__proto__:null,name:ka,uart:za,charset:Ga,K:qa,localmdc:Za,fm30:Ya,default:i0},Symbol.toStringTag,{value:"Module"})),Xa="Official",o0={name:Xa},s0=Object.freeze(Object.defineProperty({__proto__:null,name:Xa,default:o0},Symbol.toStringTag,{value:"Module"}));function a0(){const E=Dr(),b=su();return{logout:async T=>{await b.logout();const H=E.currentRoute.value;tu.success("\u767B\u51FA\u6210\u529F"),E.push({name:T&&typeof T=="string"?T:"login",query:{...E.currentRoute.value.query,redirect:H.name}})}}}const f0=(E,b)=>{const{target:s="_blank",...T}=b||{};window.open(E,s,Object.entries(T).reduce((H,G)=>{const[R,V]=G;return[...H,`${R}=${V}`]},[]).join(","))},l0=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"),c0=[...Wg,...Hg],h0=c0.map(E=>{const{name:b,path:s,meta:T,redirect:H,children:G}=E;return{name:b,path:s,meta:T,redirect:H,children:G}}),_0=h0;var uu={exports:{}};/**
* @license
* Lodash
* Copyright OpenJS Foundation and other contributors
diff --git a/assets/default-layout.5457e345.js.gz b/assets/default-layout.5457e345.js.gz
new file mode 100644
index 0000000..d547467
Binary files /dev/null and b/assets/default-layout.5457e345.js.gz differ
diff --git a/assets/default-layout.d242cc1d.js.gz b/assets/default-layout.d242cc1d.js.gz
deleted file mode 100644
index 83eeae5..0000000
Binary files a/assets/default-layout.d242cc1d.js.gz and /dev/null differ
diff --git a/assets/dep-6deb4e3a.e645a482.js b/assets/dep-6deb4e3a.c541a5a9.js
similarity index 99%
rename from assets/dep-6deb4e3a.e645a482.js
rename to assets/dep-6deb4e3a.c541a5a9.js
index b9ff5f5..7470fc1 100644
--- a/assets/dep-6deb4e3a.e645a482.js
+++ b/assets/dep-6deb4e3a.c541a5a9.js
@@ -1,4 +1,4 @@
-import{_ as ce,i as Lt,c as qa,d as Ja,e as Za}from"./helper.1bee26d0.js";import{_ as W,b as nt,u as ve,a as ft,d as Qa,c as el}from"./useConfig.72fe6f25.js";import{d as oe,c as I,f as K,g as nn,r as _n,w as fe,o as Ye,t as Ce,n as mt,bM as sa,aI as j,bE as tl,aK as Rt,aU as _t,bj as nl,bD as rl,i as yt,p as qt,bt as In,bg as al,bh as ll,bC as _e,by as il,h as ut,b as rn,a as ol}from"./arco.7f845a67.js";import{G as Ee,aa as va,al as ul,d as It,F as cl,i as tt,J as De,e as Ke,c as $e,b as kt,w as Se,am as sl,T as fa,an as vl,ao as fl,ad as Ut,f as da,H as pa,ap as dl,ai as kn}from"./index.c4ad0b59.js";import{o as ha,a as pl,b as hl}from"./dialog.e7296975.js";import{c as gl,d as bl,o as ga,e as ml,f as gn,s as zn,i as yl,b as Ol,_ as Cl,h as Sl,j as wl,k as Pl,L as ba,g as $t}from"./index.afea8a64.js";import{c as jn,b as qe,l as Nn,i as En,d as jt,I as An,_ as an,C as xl}from"./index.28d45399.js";import{u as Be,r as Fe,_ as Le,a as zt}from"./useGlobalIcon.ac7d6aea.js";import{B as Mt,u as ma}from"./index.b619bc90.js";import{a as _l}from"./form-model.7158f1bf.js";import{u as Il}from"./useDisabled.54b0051c.js";import{a as ya}from"./slot.33f80bbb.js";function Hn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),n.push.apply(n,r)}return n}function Wn(t){for(var e=1;et.size),{className:a,style:l}=Be(r),o=I(()=>["t-icon","t-icon-add",a.value]),i=I(()=>Wn(Wn({},l.value),n.style)),u=I(()=>({class:o.value,style:i.value,onClick:s=>{var c;return(c=t.onClick)===null||c===void 0?void 0:c.call(t,{e:s})}}));return()=>Fe(kl,u.value)}});const Nl=jl;function Kn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),n.push.apply(n,r)}return n}function Un(t){for(var e=1;et.size),{className:a,style:l}=Be(r),o=I(()=>["t-icon","t-icon-chevron-down",a.value]),i=I(()=>Un(Un({},l.value),n.style)),u=I(()=>({class:o.value,style:i.value,onClick:s=>{var c;return(c=t.onClick)===null||c===void 0?void 0:c.call(t,{e:s})}}));return()=>Fe(El,u.value)}});const Oa=Al;function Gn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),n.push.apply(n,r)}return n}function Xn(t){for(var e=1;et.size),{className:a,style:l}=Be(r),o=I(()=>["t-icon","t-icon-chevron-left-double",a.value]),i=I(()=>Xn(Xn({},l.value),n.style)),u=I(()=>({class:o.value,style:i.value,onClick:s=>{var c;return(c=t.onClick)===null||c===void 0?void 0:c.call(t,{e:s})}}));return()=>Fe($l,u.value)}});const Dl=Ml;function Yn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),n.push.apply(n,r)}return n}function qn(t){for(var e=1;et.size),{className:a,style:l}=Be(r),o=I(()=>["t-icon","t-icon-chevron-left",a.value]),i=I(()=>qn(qn({},l.value),n.style)),u=I(()=>({class:o.value,style:i.value,onClick:s=>{var c;return(c=t.onClick)===null||c===void 0?void 0:c.call(t,{e:s})}}));return()=>Fe(Tl,u.value)}});const Ca=Rl;function Jn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),n.push.apply(n,r)}return n}function Zn(t){for(var e=1;et.size),{className:a,style:l}=Be(r),o=I(()=>["t-icon","t-icon-chevron-right-double",a.value]),i=I(()=>Zn(Zn({},l.value),n.style)),u=I(()=>({class:o.value,style:i.value,onClick:s=>{var c;return(c=t.onClick)===null||c===void 0?void 0:c.call(t,{e:s})}}));return()=>Fe(Vl,u.value)}});const Fl=Bl;function Qn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),n.push.apply(n,r)}return n}function er(t){for(var e=1;et.size),{className:a,style:l}=Be(r),o=I(()=>["t-icon","t-icon-chevron-right",a.value]),i=I(()=>er(er({},l.value),n.style)),u=I(()=>({class:o.value,style:i.value,onClick:s=>{var c;return(c=t.onClick)===null||c===void 0?void 0:c.call(t,{e:s})}}));return()=>Fe(Ll,u.value)}});const Sa=zl;function tr(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),n.push.apply(n,r)}return n}function nr(t){for(var e=1;et.size),{className:a,style:l}=Be(r),o=I(()=>["t-icon","t-icon-chevron-up",a.value]),i=I(()=>nr(nr({},l.value),n.style)),u=I(()=>({class:o.value,style:i.value,onClick:s=>{var c;return(c=t.onClick)===null||c===void 0?void 0:c.call(t,{e:s})}}));return()=>Fe(Hl,u.value)}});const wa=Wl;function rr(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),n.push.apply(n,r)}return n}function ar(t){for(var e=1;et.size),{className:a,style:l}=Be(r),o=I(()=>["t-icon","t-icon-ellipsis",a.value]),i=I(()=>ar(ar({},l.value),n.style)),u=I(()=>({class:o.value,style:i.value,onClick:s=>{var c;return(c=t.onClick)===null||c===void 0?void 0:c.call(t,{e:s})}}));return()=>Fe(Kl,u.value)}});const Gl=Ul;function lr(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),n.push.apply(n,r)}return n}function ir(t){for(var e=1;et.size),{className:a,style:l}=Be(r),o=I(()=>["t-icon","t-icon-page-first",a.value]),i=I(()=>ir(ir({},l.value),n.style)),u=I(()=>({class:o.value,style:i.value,onClick:s=>{var c;return(c=t.onClick)===null||c===void 0?void 0:c.call(t,{e:s})}}));return()=>Fe(Xl,u.value)}});const ql=Yl;function or(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),n.push.apply(n,r)}return n}function ur(t){for(var e=1;et.size),{className:a,style:l}=Be(r),o=I(()=>["t-icon","t-icon-page-last",a.value]),i=I(()=>ur(ur({},l.value),n.style)),u=I(()=>({class:o.value,style:i.value,onClick:s=>{var c;return(c=t.onClick)===null||c===void 0?void 0:c.call(t,{e:s})}}));return()=>Fe(Jl,u.value)}});const Ql=Zl;function cr(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),n.push.apply(n,r)}return n}function sr(t){for(var e=1;et.size),{className:a,style:l}=Be(r),o=I(()=>["t-icon","t-icon-remove",a.value]),i=I(()=>sr(sr({},l.value),n.style)),u=I(()=>({class:o.value,style:i.value,onClick:s=>{var c;return(c=t.onClick)===null||c===void 0?void 0:c.call(t,{e:s})}}));return()=>Fe(ei,u.value)}});const ni=ti;function vr(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),n.push.apply(n,r)}return n}function fr(t){for(var e=1;et.size),{className:a,style:l}=Be(r),o=I(()=>["t-icon","t-icon-round",a.value]),i=I(()=>fr(fr({},l.value),n.style)),u=I(()=>({class:o.value,style:i.value,onClick:s=>{var c;return(c=t.onClick)===null||c===void 0?void 0:c.call(t,{e:s})}}));return()=>Fe(ri,u.value)}});const li=ai;var Pe="top",Re="bottom",Ve="right",xe="left",$n="auto",Ht=[Pe,Re,Ve,xe],Ot="start",Vt="end",ii="clippingParents",Pa="viewport",Nt="popper",oi="reference",dr=Ht.reduce(function(t,e){return t.concat([e+"-"+Ot,e+"-"+Vt])},[]),xa=[].concat(Ht,[$n]).reduce(function(t,e){return t.concat([e,e+"-"+Ot,e+"-"+Vt])},[]),ui="beforeRead",ci="read",si="afterRead",vi="beforeMain",fi="main",di="afterMain",pi="beforeWrite",hi="write",gi="afterWrite",bi=[ui,ci,si,vi,fi,di,pi,hi,gi];function Xe(t){return t?(t.nodeName||"").toLowerCase():null}function Ae(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function st(t){var e=Ae(t).Element;return t instanceof e||t instanceof Element}function Te(t){var e=Ae(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function Mn(t){if(typeof ShadowRoot>"u")return!1;var e=Ae(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function mi(t){var e=t.state;Object.keys(e.elements).forEach(function(n){var r=e.styles[n]||{},a=e.attributes[n]||{},l=e.elements[n];!Te(l)||!Xe(l)||(Object.assign(l.style,r),Object.keys(a).forEach(function(o){var i=a[o];i===!1?l.removeAttribute(o):l.setAttribute(o,i===!0?"":i)}))})}function yi(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach(function(r){var a=e.elements[r],l=e.attributes[r]||{},o=Object.keys(e.styles.hasOwnProperty(r)?e.styles[r]:n[r]),i=o.reduce(function(u,s){return u[s]="",u},{});!Te(a)||!Xe(a)||(Object.assign(a.style,i),Object.keys(l).forEach(function(u){a.removeAttribute(u)}))})}}const Oi={name:"applyStyles",enabled:!0,phase:"write",fn:mi,effect:yi,requires:["computeStyles"]};function Ge(t){return t.split("-")[0]}var ct=Math.max,Jt=Math.min,Ct=Math.round;function bn(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function _a(){return!/^((?!chrome|android).)*safari/i.test(bn())}function St(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!1);var r=t.getBoundingClientRect(),a=1,l=1;e&&Te(t)&&(a=t.offsetWidth>0&&Ct(r.width)/t.offsetWidth||1,l=t.offsetHeight>0&&Ct(r.height)/t.offsetHeight||1);var o=st(t)?Ae(t):window,i=o.visualViewport,u=!_a()&&n,s=(r.left+(u&&i?i.offsetLeft:0))/a,c=(r.top+(u&&i?i.offsetTop:0))/l,d=r.width/a,v=r.height/l;return{width:d,height:v,top:c,right:s+d,bottom:c+v,left:s,x:s,y:c}}function Dn(t){var e=St(t),n=t.offsetWidth,r=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-r)<=1&&(r=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:r}}function Ia(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&Mn(n)){var r=e;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function rt(t){return Ae(t).getComputedStyle(t)}function Ci(t){return["table","td","th"].indexOf(Xe(t))>=0}function at(t){return((st(t)?t.ownerDocument:t.document)||window.document).documentElement}function ln(t){return Xe(t)==="html"?t:t.assignedSlot||t.parentNode||(Mn(t)?t.host:null)||at(t)}function pr(t){return!Te(t)||rt(t).position==="fixed"?null:t.offsetParent}function Si(t){var e=/firefox/i.test(bn()),n=/Trident/i.test(bn());if(n&&Te(t)){var r=rt(t);if(r.position==="fixed")return null}var a=ln(t);for(Mn(a)&&(a=a.host);Te(a)&&["html","body"].indexOf(Xe(a))<0;){var l=rt(a);if(l.transform!=="none"||l.perspective!=="none"||l.contain==="paint"||["transform","perspective"].indexOf(l.willChange)!==-1||e&&l.willChange==="filter"||e&&l.filter&&l.filter!=="none")return a;a=a.parentNode}return null}function Wt(t){for(var e=Ae(t),n=pr(t);n&&Ci(n)&&rt(n).position==="static";)n=pr(n);return n&&(Xe(n)==="html"||Xe(n)==="body"&&rt(n).position==="static")?e:n||Si(t)||e}function Tn(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Dt(t,e,n){return ct(t,Jt(e,n))}function wi(t,e,n){var r=Dt(t,e,n);return r>n?n:r}function ka(){return{top:0,right:0,bottom:0,left:0}}function ja(t){return Object.assign({},ka(),t)}function Na(t,e){return e.reduce(function(n,r){return n[r]=t,n},{})}var Pi=function(e,n){return e=typeof e=="function"?e(Object.assign({},n.rects,{placement:n.placement})):e,ja(typeof e!="number"?e:Na(e,Ht))};function xi(t){var e,n=t.state,r=t.name,a=t.options,l=n.elements.arrow,o=n.modifiersData.popperOffsets,i=Ge(n.placement),u=Tn(i),s=[xe,Ve].indexOf(i)>=0,c=s?"height":"width";if(!(!l||!o)){var d=Pi(a.padding,n),v=Dn(l),f=u==="y"?Pe:xe,g=u==="y"?Re:Ve,h=n.rects.reference[c]+n.rects.reference[u]-o[u]-n.rects.popper[c],p=o[u]-n.rects.reference[u],w=Wt(l),C=w?u==="y"?w.clientHeight||0:w.clientWidth||0:0,x=h/2-p/2,P=d[f],k=C-v[c]-d[g],y=C/2-v[c]/2+x,b=Dt(P,y,k),O=u;n.modifiersData[r]=(e={},e[O]=b,e.centerOffset=b-y,e)}}function _i(t){var e=t.state,n=t.options,r=n.element,a=r===void 0?"[data-popper-arrow]":r;a!=null&&(typeof a=="string"&&(a=e.elements.popper.querySelector(a),!a)||!Ia(e.elements.popper,a)||(e.elements.arrow=a))}const Ii={name:"arrow",enabled:!0,phase:"main",fn:xi,effect:_i,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function wt(t){return t.split("-")[1]}var ki={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ji(t,e){var n=t.x,r=t.y,a=e.devicePixelRatio||1;return{x:Ct(n*a)/a||0,y:Ct(r*a)/a||0}}function hr(t){var e,n=t.popper,r=t.popperRect,a=t.placement,l=t.variation,o=t.offsets,i=t.position,u=t.gpuAcceleration,s=t.adaptive,c=t.roundOffsets,d=t.isFixed,v=o.x,f=v===void 0?0:v,g=o.y,h=g===void 0?0:g,p=typeof c=="function"?c({x:f,y:h}):{x:f,y:h};f=p.x,h=p.y;var w=o.hasOwnProperty("x"),C=o.hasOwnProperty("y"),x=xe,P=Pe,k=window;if(s){var y=Wt(n),b="clientHeight",O="clientWidth";if(y===Ae(n)&&(y=at(n),rt(y).position!=="static"&&i==="absolute"&&(b="scrollHeight",O="scrollWidth")),y=y,a===Pe||(a===xe||a===Ve)&&l===Vt){P=Re;var m=d&&y===k&&k.visualViewport?k.visualViewport.height:y[b];h-=m-r.height,h*=u?1:-1}if(a===xe||(a===Pe||a===Re)&&l===Vt){x=Ve;var S=d&&y===k&&k.visualViewport?k.visualViewport.width:y[O];f-=S-r.width,f*=u?1:-1}}var _=Object.assign({position:i},s&&ki),E=c===!0?ji({x:f,y:h},Ae(n)):{x:f,y:h};if(f=E.x,h=E.y,u){var A;return Object.assign({},_,(A={},A[P]=C?"0":"",A[x]=w?"0":"",A.transform=(k.devicePixelRatio||1)<=1?"translate("+f+"px, "+h+"px)":"translate3d("+f+"px, "+h+"px, 0)",A))}return Object.assign({},_,(e={},e[P]=C?h+"px":"",e[x]=w?f+"px":"",e.transform="",e))}function Ni(t){var e=t.state,n=t.options,r=n.gpuAcceleration,a=r===void 0?!0:r,l=n.adaptive,o=l===void 0?!0:l,i=n.roundOffsets,u=i===void 0?!0:i,s={placement:Ge(e.placement),variation:wt(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:a,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,hr(Object.assign({},s,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:o,roundOffsets:u})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,hr(Object.assign({},s,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const Ei={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Ni,data:{}};var Gt={passive:!0};function Ai(t){var e=t.state,n=t.instance,r=t.options,a=r.scroll,l=a===void 0?!0:a,o=r.resize,i=o===void 0?!0:o,u=Ae(e.elements.popper),s=[].concat(e.scrollParents.reference,e.scrollParents.popper);return l&&s.forEach(function(c){c.addEventListener("scroll",n.update,Gt)}),i&&u.addEventListener("resize",n.update,Gt),function(){l&&s.forEach(function(c){c.removeEventListener("scroll",n.update,Gt)}),i&&u.removeEventListener("resize",n.update,Gt)}}const $i={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Ai,data:{}};var Mi={left:"right",right:"left",bottom:"top",top:"bottom"};function Yt(t){return t.replace(/left|right|bottom|top/g,function(e){return Mi[e]})}var Di={start:"end",end:"start"};function gr(t){return t.replace(/start|end/g,function(e){return Di[e]})}function Rn(t){var e=Ae(t),n=e.pageXOffset,r=e.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Vn(t){return St(at(t)).left+Rn(t).scrollLeft}function Ti(t,e){var n=Ae(t),r=at(t),a=n.visualViewport,l=r.clientWidth,o=r.clientHeight,i=0,u=0;if(a){l=a.width,o=a.height;var s=_a();(s||!s&&e==="fixed")&&(i=a.offsetLeft,u=a.offsetTop)}return{width:l,height:o,x:i+Vn(t),y:u}}function Ri(t){var e,n=at(t),r=Rn(t),a=(e=t.ownerDocument)==null?void 0:e.body,l=ct(n.scrollWidth,n.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),o=ct(n.scrollHeight,n.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),i=-r.scrollLeft+Vn(t),u=-r.scrollTop;return rt(a||n).direction==="rtl"&&(i+=ct(n.clientWidth,a?a.clientWidth:0)-l),{width:l,height:o,x:i,y:u}}function Bn(t){var e=rt(t),n=e.overflow,r=e.overflowX,a=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+a+r)}function Ea(t){return["html","body","#document"].indexOf(Xe(t))>=0?t.ownerDocument.body:Te(t)&&Bn(t)?t:Ea(ln(t))}function Tt(t,e){var n;e===void 0&&(e=[]);var r=Ea(t),a=r===((n=t.ownerDocument)==null?void 0:n.body),l=Ae(r),o=a?[l].concat(l.visualViewport||[],Bn(r)?r:[]):r,i=e.concat(o);return a?i:i.concat(Tt(ln(o)))}function mn(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function Vi(t,e){var n=St(t,!1,e==="fixed");return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}function br(t,e,n){return e===Pa?mn(Ti(t,n)):st(e)?Vi(e,n):mn(Ri(at(t)))}function Bi(t){var e=Tt(ln(t)),n=["absolute","fixed"].indexOf(rt(t).position)>=0,r=n&&Te(t)?Wt(t):t;return st(r)?e.filter(function(a){return st(a)&&Ia(a,r)&&Xe(a)!=="body"}):[]}function Fi(t,e,n,r){var a=e==="clippingParents"?Bi(t):[].concat(e),l=[].concat(a,[n]),o=l[0],i=l.reduce(function(u,s){var c=br(t,s,r);return u.top=ct(c.top,u.top),u.right=Jt(c.right,u.right),u.bottom=Jt(c.bottom,u.bottom),u.left=ct(c.left,u.left),u},br(t,o,r));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}function Aa(t){var e=t.reference,n=t.element,r=t.placement,a=r?Ge(r):null,l=r?wt(r):null,o=e.x+e.width/2-n.width/2,i=e.y+e.height/2-n.height/2,u;switch(a){case Pe:u={x:o,y:e.y-n.height};break;case Re:u={x:o,y:e.y+e.height};break;case Ve:u={x:e.x+e.width,y:i};break;case xe:u={x:e.x-n.width,y:i};break;default:u={x:e.x,y:e.y}}var s=a?Tn(a):null;if(s!=null){var c=s==="y"?"height":"width";switch(l){case Ot:u[s]=u[s]-(e[c]/2-n[c]/2);break;case Vt:u[s]=u[s]+(e[c]/2-n[c]/2);break}}return u}function Bt(t,e){e===void 0&&(e={});var n=e,r=n.placement,a=r===void 0?t.placement:r,l=n.strategy,o=l===void 0?t.strategy:l,i=n.boundary,u=i===void 0?ii:i,s=n.rootBoundary,c=s===void 0?Pa:s,d=n.elementContext,v=d===void 0?Nt:d,f=n.altBoundary,g=f===void 0?!1:f,h=n.padding,p=h===void 0?0:h,w=ja(typeof p!="number"?p:Na(p,Ht)),C=v===Nt?oi:Nt,x=t.rects.popper,P=t.elements[g?C:v],k=Fi(st(P)?P:P.contextElement||at(t.elements.popper),u,c,o),y=St(t.elements.reference),b=Aa({reference:y,element:x,strategy:"absolute",placement:a}),O=mn(Object.assign({},x,b)),m=v===Nt?O:y,S={top:k.top-m.top+w.top,bottom:m.bottom-k.bottom+w.bottom,left:k.left-m.left+w.left,right:m.right-k.right+w.right},_=t.modifiersData.offset;if(v===Nt&&_){var E=_[a];Object.keys(S).forEach(function(A){var M=[Ve,Re].indexOf(A)>=0?1:-1,N=[Pe,Re].indexOf(A)>=0?"y":"x";S[A]+=E[N]*M})}return S}function Li(t,e){e===void 0&&(e={});var n=e,r=n.placement,a=n.boundary,l=n.rootBoundary,o=n.padding,i=n.flipVariations,u=n.allowedAutoPlacements,s=u===void 0?xa:u,c=wt(r),d=c?i?dr:dr.filter(function(g){return wt(g)===c}):Ht,v=d.filter(function(g){return s.indexOf(g)>=0});v.length===0&&(v=d);var f=v.reduce(function(g,h){return g[h]=Bt(t,{placement:h,boundary:a,rootBoundary:l,padding:o})[Ge(h)],g},{});return Object.keys(f).sort(function(g,h){return f[g]-f[h]})}function zi(t){if(Ge(t)===$n)return[];var e=Yt(t);return[gr(t),e,gr(e)]}function Hi(t){var e=t.state,n=t.options,r=t.name;if(!e.modifiersData[r]._skip){for(var a=n.mainAxis,l=a===void 0?!0:a,o=n.altAxis,i=o===void 0?!0:o,u=n.fallbackPlacements,s=n.padding,c=n.boundary,d=n.rootBoundary,v=n.altBoundary,f=n.flipVariations,g=f===void 0?!0:f,h=n.allowedAutoPlacements,p=e.options.placement,w=Ge(p),C=w===p,x=u||(C||!g?[Yt(p)]:zi(p)),P=[p].concat(x).reduce(function(V,z){return V.concat(Ge(z)===$n?Li(e,{placement:z,boundary:c,rootBoundary:d,padding:s,flipVariations:g,allowedAutoPlacements:h}):z)},[]),k=e.rects.reference,y=e.rects.popper,b=new Map,O=!0,m=P[0],S=0;S=0,N=M?"width":"height",$=Bt(e,{placement:_,boundary:c,rootBoundary:d,altBoundary:v,padding:s}),T=M?A?Ve:xe:A?Re:Pe;k[N]>y[N]&&(T=Yt(T));var X=Yt(T),q=[];if(l&&q.push($[E]<=0),i&&q.push($[T]<=0,$[X]<=0),q.every(function(V){return V})){m=_,O=!1;break}b.set(_,q)}if(O)for(var J=g?3:1,H=function(z){var Q=P.find(function(D){var U=b.get(D);if(U)return U.slice(0,z).every(function(Z){return Z})});if(Q)return m=Q,"break"},F=J;F>0;F--){var R=H(F);if(R==="break")break}e.placement!==m&&(e.modifiersData[r]._skip=!0,e.placement=m,e.reset=!0)}}const Wi={name:"flip",enabled:!0,phase:"main",fn:Hi,requiresIfExists:["offset"],data:{_skip:!1}};function mr(t,e,n){return n===void 0&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function yr(t){return[Pe,Ve,Re,xe].some(function(e){return t[e]>=0})}function Ki(t){var e=t.state,n=t.name,r=e.rects.reference,a=e.rects.popper,l=e.modifiersData.preventOverflow,o=Bt(e,{elementContext:"reference"}),i=Bt(e,{altBoundary:!0}),u=mr(o,r),s=mr(i,a,l),c=yr(u),d=yr(s);e.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:s,isReferenceHidden:c,hasPopperEscaped:d},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":d})}const Ui={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Ki};function Gi(t,e,n){var r=Ge(t),a=[xe,Pe].indexOf(r)>=0?-1:1,l=typeof n=="function"?n(Object.assign({},e,{placement:t})):n,o=l[0],i=l[1];return o=o||0,i=(i||0)*a,[xe,Ve].indexOf(r)>=0?{x:i,y:o}:{x:o,y:i}}function Xi(t){var e=t.state,n=t.options,r=t.name,a=n.offset,l=a===void 0?[0,0]:a,o=xa.reduce(function(c,d){return c[d]=Gi(d,e.rects,l),c},{}),i=o[e.placement],u=i.x,s=i.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=u,e.modifiersData.popperOffsets.y+=s),e.modifiersData[r]=o}const Yi={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Xi};function qi(t){var e=t.state,n=t.name;e.modifiersData[n]=Aa({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const Ji={name:"popperOffsets",enabled:!0,phase:"read",fn:qi,data:{}};function Zi(t){return t==="x"?"y":"x"}function Qi(t){var e=t.state,n=t.options,r=t.name,a=n.mainAxis,l=a===void 0?!0:a,o=n.altAxis,i=o===void 0?!1:o,u=n.boundary,s=n.rootBoundary,c=n.altBoundary,d=n.padding,v=n.tether,f=v===void 0?!0:v,g=n.tetherOffset,h=g===void 0?0:g,p=Bt(e,{boundary:u,rootBoundary:s,padding:d,altBoundary:c}),w=Ge(e.placement),C=wt(e.placement),x=!C,P=Tn(w),k=Zi(P),y=e.modifiersData.popperOffsets,b=e.rects.reference,O=e.rects.popper,m=typeof h=="function"?h(Object.assign({},e.rects,{placement:e.placement})):h,S=typeof m=="number"?{mainAxis:m,altAxis:m}:Object.assign({mainAxis:0,altAxis:0},m),_=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,E={x:0,y:0};if(!!y){if(l){var A,M=P==="y"?Pe:xe,N=P==="y"?Re:Ve,$=P==="y"?"height":"width",T=y[P],X=T+p[M],q=T-p[N],J=f?-O[$]/2:0,H=C===Ot?b[$]:O[$],F=C===Ot?-O[$]:-b[$],R=e.elements.arrow,V=f&&R?Dn(R):{width:0,height:0},z=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:ka(),Q=z[M],D=z[N],U=Dt(0,b[$],V[$]),Z=x?b[$]/2-J-U-Q-S.mainAxis:H-U-Q-S.mainAxis,ee=x?-b[$]/2+J+U+D+S.mainAxis:F+U+D+S.mainAxis,ae=e.elements.arrow&&Wt(e.elements.arrow),de=ae?P==="y"?ae.clientTop||0:ae.clientLeft||0:0,ie=(A=_==null?void 0:_[P])!=null?A:0,ne=T+Z-ie-de,te=T+ee-ie,be=Dt(f?Jt(X,ne):X,T,f?ct(q,te):q);y[P]=be,E[P]=be-T}if(i){var he,le=P==="x"?Pe:xe,Je=P==="x"?Re:Ve,me=y[k],Ze=k==="y"?"height":"width",dt=me+p[le],pt=me-p[Je],lt=[Pe,xe].indexOf(w)!==-1,se=(he=_==null?void 0:_[k])!=null?he:0,ue=lt?dt:me-b[Ze]-O[Ze]-se+S.altAxis,L=lt?me+b[Ze]+O[Ze]-se-S.altAxis:pt,B=f&<?wi(ue,me,L):Dt(f?ue:dt,me,f?L:pt);y[k]=B,E[k]=B-me}e.modifiersData[r]=E}}const eo={name:"preventOverflow",enabled:!0,phase:"main",fn:Qi,requiresIfExists:["offset"]};function to(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function no(t){return t===Ae(t)||!Te(t)?Rn(t):to(t)}function ro(t){var e=t.getBoundingClientRect(),n=Ct(e.width)/t.offsetWidth||1,r=Ct(e.height)/t.offsetHeight||1;return n!==1||r!==1}function ao(t,e,n){n===void 0&&(n=!1);var r=Te(e),a=Te(e)&&ro(e),l=at(e),o=St(t,a,n),i={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(r||!r&&!n)&&((Xe(e)!=="body"||Bn(l))&&(i=no(e)),Te(e)?(u=St(e,!0),u.x+=e.clientLeft,u.y+=e.clientTop):l&&(u.x=Vn(l))),{x:o.left+i.scrollLeft-u.x,y:o.top+i.scrollTop-u.y,width:o.width,height:o.height}}function lo(t){var e=new Map,n=new Set,r=[];t.forEach(function(l){e.set(l.name,l)});function a(l){n.add(l.name);var o=[].concat(l.requires||[],l.requiresIfExists||[]);o.forEach(function(i){if(!n.has(i)){var u=e.get(i);u&&a(u)}}),r.push(l)}return t.forEach(function(l){n.has(l.name)||a(l)}),r}function io(t){var e=lo(t);return bi.reduce(function(n,r){return n.concat(e.filter(function(a){return a.phase===r}))},[])}function oo(t){var e;return function(){return e||(e=new Promise(function(n){Promise.resolve().then(function(){e=void 0,n(t())})})),e}}function uo(t){var e=t.reduce(function(n,r){var a=n[r.name];return n[r.name]=a?Object.assign({},a,r,{options:Object.assign({},a.options,r.options),data:Object.assign({},a.data,r.data)}):r,n},{});return Object.keys(e).map(function(n){return e[n]})}var Or={placement:"bottom",modifiers:[],strategy:"absolute"};function Cr(){for(var t=arguments.length,e=new Array(t),n=0;nt.size),{className:a,style:l}=Be(r),o=I(()=>["t-icon","t-icon-add",a.value]),i=I(()=>Wn(Wn({},l.value),n.style)),u=I(()=>({class:o.value,style:i.value,onClick:s=>{var c;return(c=t.onClick)===null||c===void 0?void 0:c.call(t,{e:s})}}));return()=>Fe(kl,u.value)}});const Nl=jl;function Kn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),n.push.apply(n,r)}return n}function Un(t){for(var e=1;et.size),{className:a,style:l}=Be(r),o=I(()=>["t-icon","t-icon-chevron-down",a.value]),i=I(()=>Un(Un({},l.value),n.style)),u=I(()=>({class:o.value,style:i.value,onClick:s=>{var c;return(c=t.onClick)===null||c===void 0?void 0:c.call(t,{e:s})}}));return()=>Fe(El,u.value)}});const Oa=Al;function Gn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),n.push.apply(n,r)}return n}function Xn(t){for(var e=1;et.size),{className:a,style:l}=Be(r),o=I(()=>["t-icon","t-icon-chevron-left-double",a.value]),i=I(()=>Xn(Xn({},l.value),n.style)),u=I(()=>({class:o.value,style:i.value,onClick:s=>{var c;return(c=t.onClick)===null||c===void 0?void 0:c.call(t,{e:s})}}));return()=>Fe($l,u.value)}});const Dl=Ml;function Yn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),n.push.apply(n,r)}return n}function qn(t){for(var e=1;et.size),{className:a,style:l}=Be(r),o=I(()=>["t-icon","t-icon-chevron-left",a.value]),i=I(()=>qn(qn({},l.value),n.style)),u=I(()=>({class:o.value,style:i.value,onClick:s=>{var c;return(c=t.onClick)===null||c===void 0?void 0:c.call(t,{e:s})}}));return()=>Fe(Tl,u.value)}});const Ca=Rl;function Jn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),n.push.apply(n,r)}return n}function Zn(t){for(var e=1;et.size),{className:a,style:l}=Be(r),o=I(()=>["t-icon","t-icon-chevron-right-double",a.value]),i=I(()=>Zn(Zn({},l.value),n.style)),u=I(()=>({class:o.value,style:i.value,onClick:s=>{var c;return(c=t.onClick)===null||c===void 0?void 0:c.call(t,{e:s})}}));return()=>Fe(Vl,u.value)}});const Fl=Bl;function Qn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),n.push.apply(n,r)}return n}function er(t){for(var e=1;et.size),{className:a,style:l}=Be(r),o=I(()=>["t-icon","t-icon-chevron-right",a.value]),i=I(()=>er(er({},l.value),n.style)),u=I(()=>({class:o.value,style:i.value,onClick:s=>{var c;return(c=t.onClick)===null||c===void 0?void 0:c.call(t,{e:s})}}));return()=>Fe(Ll,u.value)}});const Sa=zl;function tr(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),n.push.apply(n,r)}return n}function nr(t){for(var e=1;et.size),{className:a,style:l}=Be(r),o=I(()=>["t-icon","t-icon-chevron-up",a.value]),i=I(()=>nr(nr({},l.value),n.style)),u=I(()=>({class:o.value,style:i.value,onClick:s=>{var c;return(c=t.onClick)===null||c===void 0?void 0:c.call(t,{e:s})}}));return()=>Fe(Hl,u.value)}});const wa=Wl;function rr(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),n.push.apply(n,r)}return n}function ar(t){for(var e=1;et.size),{className:a,style:l}=Be(r),o=I(()=>["t-icon","t-icon-ellipsis",a.value]),i=I(()=>ar(ar({},l.value),n.style)),u=I(()=>({class:o.value,style:i.value,onClick:s=>{var c;return(c=t.onClick)===null||c===void 0?void 0:c.call(t,{e:s})}}));return()=>Fe(Kl,u.value)}});const Gl=Ul;function lr(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),n.push.apply(n,r)}return n}function ir(t){for(var e=1;et.size),{className:a,style:l}=Be(r),o=I(()=>["t-icon","t-icon-page-first",a.value]),i=I(()=>ir(ir({},l.value),n.style)),u=I(()=>({class:o.value,style:i.value,onClick:s=>{var c;return(c=t.onClick)===null||c===void 0?void 0:c.call(t,{e:s})}}));return()=>Fe(Xl,u.value)}});const ql=Yl;function or(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),n.push.apply(n,r)}return n}function ur(t){for(var e=1;et.size),{className:a,style:l}=Be(r),o=I(()=>["t-icon","t-icon-page-last",a.value]),i=I(()=>ur(ur({},l.value),n.style)),u=I(()=>({class:o.value,style:i.value,onClick:s=>{var c;return(c=t.onClick)===null||c===void 0?void 0:c.call(t,{e:s})}}));return()=>Fe(Jl,u.value)}});const Ql=Zl;function cr(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),n.push.apply(n,r)}return n}function sr(t){for(var e=1;et.size),{className:a,style:l}=Be(r),o=I(()=>["t-icon","t-icon-remove",a.value]),i=I(()=>sr(sr({},l.value),n.style)),u=I(()=>({class:o.value,style:i.value,onClick:s=>{var c;return(c=t.onClick)===null||c===void 0?void 0:c.call(t,{e:s})}}));return()=>Fe(ei,u.value)}});const ni=ti;function vr(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),n.push.apply(n,r)}return n}function fr(t){for(var e=1;et.size),{className:a,style:l}=Be(r),o=I(()=>["t-icon","t-icon-round",a.value]),i=I(()=>fr(fr({},l.value),n.style)),u=I(()=>({class:o.value,style:i.value,onClick:s=>{var c;return(c=t.onClick)===null||c===void 0?void 0:c.call(t,{e:s})}}));return()=>Fe(ri,u.value)}});const li=ai;var Pe="top",Re="bottom",Ve="right",xe="left",$n="auto",Ht=[Pe,Re,Ve,xe],Ot="start",Vt="end",ii="clippingParents",Pa="viewport",Nt="popper",oi="reference",dr=Ht.reduce(function(t,e){return t.concat([e+"-"+Ot,e+"-"+Vt])},[]),xa=[].concat(Ht,[$n]).reduce(function(t,e){return t.concat([e,e+"-"+Ot,e+"-"+Vt])},[]),ui="beforeRead",ci="read",si="afterRead",vi="beforeMain",fi="main",di="afterMain",pi="beforeWrite",hi="write",gi="afterWrite",bi=[ui,ci,si,vi,fi,di,pi,hi,gi];function Xe(t){return t?(t.nodeName||"").toLowerCase():null}function Ae(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function st(t){var e=Ae(t).Element;return t instanceof e||t instanceof Element}function Te(t){var e=Ae(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function Mn(t){if(typeof ShadowRoot>"u")return!1;var e=Ae(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function mi(t){var e=t.state;Object.keys(e.elements).forEach(function(n){var r=e.styles[n]||{},a=e.attributes[n]||{},l=e.elements[n];!Te(l)||!Xe(l)||(Object.assign(l.style,r),Object.keys(a).forEach(function(o){var i=a[o];i===!1?l.removeAttribute(o):l.setAttribute(o,i===!0?"":i)}))})}function yi(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach(function(r){var a=e.elements[r],l=e.attributes[r]||{},o=Object.keys(e.styles.hasOwnProperty(r)?e.styles[r]:n[r]),i=o.reduce(function(u,s){return u[s]="",u},{});!Te(a)||!Xe(a)||(Object.assign(a.style,i),Object.keys(l).forEach(function(u){a.removeAttribute(u)}))})}}const Oi={name:"applyStyles",enabled:!0,phase:"write",fn:mi,effect:yi,requires:["computeStyles"]};function Ge(t){return t.split("-")[0]}var ct=Math.max,Jt=Math.min,Ct=Math.round;function bn(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function _a(){return!/^((?!chrome|android).)*safari/i.test(bn())}function St(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!1);var r=t.getBoundingClientRect(),a=1,l=1;e&&Te(t)&&(a=t.offsetWidth>0&&Ct(r.width)/t.offsetWidth||1,l=t.offsetHeight>0&&Ct(r.height)/t.offsetHeight||1);var o=st(t)?Ae(t):window,i=o.visualViewport,u=!_a()&&n,s=(r.left+(u&&i?i.offsetLeft:0))/a,c=(r.top+(u&&i?i.offsetTop:0))/l,d=r.width/a,v=r.height/l;return{width:d,height:v,top:c,right:s+d,bottom:c+v,left:s,x:s,y:c}}function Dn(t){var e=St(t),n=t.offsetWidth,r=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-r)<=1&&(r=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:r}}function Ia(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&Mn(n)){var r=e;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function rt(t){return Ae(t).getComputedStyle(t)}function Ci(t){return["table","td","th"].indexOf(Xe(t))>=0}function at(t){return((st(t)?t.ownerDocument:t.document)||window.document).documentElement}function ln(t){return Xe(t)==="html"?t:t.assignedSlot||t.parentNode||(Mn(t)?t.host:null)||at(t)}function pr(t){return!Te(t)||rt(t).position==="fixed"?null:t.offsetParent}function Si(t){var e=/firefox/i.test(bn()),n=/Trident/i.test(bn());if(n&&Te(t)){var r=rt(t);if(r.position==="fixed")return null}var a=ln(t);for(Mn(a)&&(a=a.host);Te(a)&&["html","body"].indexOf(Xe(a))<0;){var l=rt(a);if(l.transform!=="none"||l.perspective!=="none"||l.contain==="paint"||["transform","perspective"].indexOf(l.willChange)!==-1||e&&l.willChange==="filter"||e&&l.filter&&l.filter!=="none")return a;a=a.parentNode}return null}function Wt(t){for(var e=Ae(t),n=pr(t);n&&Ci(n)&&rt(n).position==="static";)n=pr(n);return n&&(Xe(n)==="html"||Xe(n)==="body"&&rt(n).position==="static")?e:n||Si(t)||e}function Tn(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Dt(t,e,n){return ct(t,Jt(e,n))}function wi(t,e,n){var r=Dt(t,e,n);return r>n?n:r}function ka(){return{top:0,right:0,bottom:0,left:0}}function ja(t){return Object.assign({},ka(),t)}function Na(t,e){return e.reduce(function(n,r){return n[r]=t,n},{})}var Pi=function(e,n){return e=typeof e=="function"?e(Object.assign({},n.rects,{placement:n.placement})):e,ja(typeof e!="number"?e:Na(e,Ht))};function xi(t){var e,n=t.state,r=t.name,a=t.options,l=n.elements.arrow,o=n.modifiersData.popperOffsets,i=Ge(n.placement),u=Tn(i),s=[xe,Ve].indexOf(i)>=0,c=s?"height":"width";if(!(!l||!o)){var d=Pi(a.padding,n),v=Dn(l),f=u==="y"?Pe:xe,g=u==="y"?Re:Ve,h=n.rects.reference[c]+n.rects.reference[u]-o[u]-n.rects.popper[c],p=o[u]-n.rects.reference[u],w=Wt(l),C=w?u==="y"?w.clientHeight||0:w.clientWidth||0:0,x=h/2-p/2,P=d[f],k=C-v[c]-d[g],y=C/2-v[c]/2+x,b=Dt(P,y,k),O=u;n.modifiersData[r]=(e={},e[O]=b,e.centerOffset=b-y,e)}}function _i(t){var e=t.state,n=t.options,r=n.element,a=r===void 0?"[data-popper-arrow]":r;a!=null&&(typeof a=="string"&&(a=e.elements.popper.querySelector(a),!a)||!Ia(e.elements.popper,a)||(e.elements.arrow=a))}const Ii={name:"arrow",enabled:!0,phase:"main",fn:xi,effect:_i,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function wt(t){return t.split("-")[1]}var ki={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ji(t,e){var n=t.x,r=t.y,a=e.devicePixelRatio||1;return{x:Ct(n*a)/a||0,y:Ct(r*a)/a||0}}function hr(t){var e,n=t.popper,r=t.popperRect,a=t.placement,l=t.variation,o=t.offsets,i=t.position,u=t.gpuAcceleration,s=t.adaptive,c=t.roundOffsets,d=t.isFixed,v=o.x,f=v===void 0?0:v,g=o.y,h=g===void 0?0:g,p=typeof c=="function"?c({x:f,y:h}):{x:f,y:h};f=p.x,h=p.y;var w=o.hasOwnProperty("x"),C=o.hasOwnProperty("y"),x=xe,P=Pe,k=window;if(s){var y=Wt(n),b="clientHeight",O="clientWidth";if(y===Ae(n)&&(y=at(n),rt(y).position!=="static"&&i==="absolute"&&(b="scrollHeight",O="scrollWidth")),y=y,a===Pe||(a===xe||a===Ve)&&l===Vt){P=Re;var m=d&&y===k&&k.visualViewport?k.visualViewport.height:y[b];h-=m-r.height,h*=u?1:-1}if(a===xe||(a===Pe||a===Re)&&l===Vt){x=Ve;var S=d&&y===k&&k.visualViewport?k.visualViewport.width:y[O];f-=S-r.width,f*=u?1:-1}}var _=Object.assign({position:i},s&&ki),E=c===!0?ji({x:f,y:h},Ae(n)):{x:f,y:h};if(f=E.x,h=E.y,u){var A;return Object.assign({},_,(A={},A[P]=C?"0":"",A[x]=w?"0":"",A.transform=(k.devicePixelRatio||1)<=1?"translate("+f+"px, "+h+"px)":"translate3d("+f+"px, "+h+"px, 0)",A))}return Object.assign({},_,(e={},e[P]=C?h+"px":"",e[x]=w?f+"px":"",e.transform="",e))}function Ni(t){var e=t.state,n=t.options,r=n.gpuAcceleration,a=r===void 0?!0:r,l=n.adaptive,o=l===void 0?!0:l,i=n.roundOffsets,u=i===void 0?!0:i,s={placement:Ge(e.placement),variation:wt(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:a,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,hr(Object.assign({},s,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:o,roundOffsets:u})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,hr(Object.assign({},s,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const Ei={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Ni,data:{}};var Gt={passive:!0};function Ai(t){var e=t.state,n=t.instance,r=t.options,a=r.scroll,l=a===void 0?!0:a,o=r.resize,i=o===void 0?!0:o,u=Ae(e.elements.popper),s=[].concat(e.scrollParents.reference,e.scrollParents.popper);return l&&s.forEach(function(c){c.addEventListener("scroll",n.update,Gt)}),i&&u.addEventListener("resize",n.update,Gt),function(){l&&s.forEach(function(c){c.removeEventListener("scroll",n.update,Gt)}),i&&u.removeEventListener("resize",n.update,Gt)}}const $i={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Ai,data:{}};var Mi={left:"right",right:"left",bottom:"top",top:"bottom"};function Yt(t){return t.replace(/left|right|bottom|top/g,function(e){return Mi[e]})}var Di={start:"end",end:"start"};function gr(t){return t.replace(/start|end/g,function(e){return Di[e]})}function Rn(t){var e=Ae(t),n=e.pageXOffset,r=e.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Vn(t){return St(at(t)).left+Rn(t).scrollLeft}function Ti(t,e){var n=Ae(t),r=at(t),a=n.visualViewport,l=r.clientWidth,o=r.clientHeight,i=0,u=0;if(a){l=a.width,o=a.height;var s=_a();(s||!s&&e==="fixed")&&(i=a.offsetLeft,u=a.offsetTop)}return{width:l,height:o,x:i+Vn(t),y:u}}function Ri(t){var e,n=at(t),r=Rn(t),a=(e=t.ownerDocument)==null?void 0:e.body,l=ct(n.scrollWidth,n.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),o=ct(n.scrollHeight,n.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),i=-r.scrollLeft+Vn(t),u=-r.scrollTop;return rt(a||n).direction==="rtl"&&(i+=ct(n.clientWidth,a?a.clientWidth:0)-l),{width:l,height:o,x:i,y:u}}function Bn(t){var e=rt(t),n=e.overflow,r=e.overflowX,a=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+a+r)}function Ea(t){return["html","body","#document"].indexOf(Xe(t))>=0?t.ownerDocument.body:Te(t)&&Bn(t)?t:Ea(ln(t))}function Tt(t,e){var n;e===void 0&&(e=[]);var r=Ea(t),a=r===((n=t.ownerDocument)==null?void 0:n.body),l=Ae(r),o=a?[l].concat(l.visualViewport||[],Bn(r)?r:[]):r,i=e.concat(o);return a?i:i.concat(Tt(ln(o)))}function mn(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function Vi(t,e){var n=St(t,!1,e==="fixed");return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}function br(t,e,n){return e===Pa?mn(Ti(t,n)):st(e)?Vi(e,n):mn(Ri(at(t)))}function Bi(t){var e=Tt(ln(t)),n=["absolute","fixed"].indexOf(rt(t).position)>=0,r=n&&Te(t)?Wt(t):t;return st(r)?e.filter(function(a){return st(a)&&Ia(a,r)&&Xe(a)!=="body"}):[]}function Fi(t,e,n,r){var a=e==="clippingParents"?Bi(t):[].concat(e),l=[].concat(a,[n]),o=l[0],i=l.reduce(function(u,s){var c=br(t,s,r);return u.top=ct(c.top,u.top),u.right=Jt(c.right,u.right),u.bottom=Jt(c.bottom,u.bottom),u.left=ct(c.left,u.left),u},br(t,o,r));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}function Aa(t){var e=t.reference,n=t.element,r=t.placement,a=r?Ge(r):null,l=r?wt(r):null,o=e.x+e.width/2-n.width/2,i=e.y+e.height/2-n.height/2,u;switch(a){case Pe:u={x:o,y:e.y-n.height};break;case Re:u={x:o,y:e.y+e.height};break;case Ve:u={x:e.x+e.width,y:i};break;case xe:u={x:e.x-n.width,y:i};break;default:u={x:e.x,y:e.y}}var s=a?Tn(a):null;if(s!=null){var c=s==="y"?"height":"width";switch(l){case Ot:u[s]=u[s]-(e[c]/2-n[c]/2);break;case Vt:u[s]=u[s]+(e[c]/2-n[c]/2);break}}return u}function Bt(t,e){e===void 0&&(e={});var n=e,r=n.placement,a=r===void 0?t.placement:r,l=n.strategy,o=l===void 0?t.strategy:l,i=n.boundary,u=i===void 0?ii:i,s=n.rootBoundary,c=s===void 0?Pa:s,d=n.elementContext,v=d===void 0?Nt:d,f=n.altBoundary,g=f===void 0?!1:f,h=n.padding,p=h===void 0?0:h,w=ja(typeof p!="number"?p:Na(p,Ht)),C=v===Nt?oi:Nt,x=t.rects.popper,P=t.elements[g?C:v],k=Fi(st(P)?P:P.contextElement||at(t.elements.popper),u,c,o),y=St(t.elements.reference),b=Aa({reference:y,element:x,strategy:"absolute",placement:a}),O=mn(Object.assign({},x,b)),m=v===Nt?O:y,S={top:k.top-m.top+w.top,bottom:m.bottom-k.bottom+w.bottom,left:k.left-m.left+w.left,right:m.right-k.right+w.right},_=t.modifiersData.offset;if(v===Nt&&_){var E=_[a];Object.keys(S).forEach(function(A){var M=[Ve,Re].indexOf(A)>=0?1:-1,N=[Pe,Re].indexOf(A)>=0?"y":"x";S[A]+=E[N]*M})}return S}function Li(t,e){e===void 0&&(e={});var n=e,r=n.placement,a=n.boundary,l=n.rootBoundary,o=n.padding,i=n.flipVariations,u=n.allowedAutoPlacements,s=u===void 0?xa:u,c=wt(r),d=c?i?dr:dr.filter(function(g){return wt(g)===c}):Ht,v=d.filter(function(g){return s.indexOf(g)>=0});v.length===0&&(v=d);var f=v.reduce(function(g,h){return g[h]=Bt(t,{placement:h,boundary:a,rootBoundary:l,padding:o})[Ge(h)],g},{});return Object.keys(f).sort(function(g,h){return f[g]-f[h]})}function zi(t){if(Ge(t)===$n)return[];var e=Yt(t);return[gr(t),e,gr(e)]}function Hi(t){var e=t.state,n=t.options,r=t.name;if(!e.modifiersData[r]._skip){for(var a=n.mainAxis,l=a===void 0?!0:a,o=n.altAxis,i=o===void 0?!0:o,u=n.fallbackPlacements,s=n.padding,c=n.boundary,d=n.rootBoundary,v=n.altBoundary,f=n.flipVariations,g=f===void 0?!0:f,h=n.allowedAutoPlacements,p=e.options.placement,w=Ge(p),C=w===p,x=u||(C||!g?[Yt(p)]:zi(p)),P=[p].concat(x).reduce(function(V,z){return V.concat(Ge(z)===$n?Li(e,{placement:z,boundary:c,rootBoundary:d,padding:s,flipVariations:g,allowedAutoPlacements:h}):z)},[]),k=e.rects.reference,y=e.rects.popper,b=new Map,O=!0,m=P[0],S=0;S=0,N=M?"width":"height",$=Bt(e,{placement:_,boundary:c,rootBoundary:d,altBoundary:v,padding:s}),T=M?A?Ve:xe:A?Re:Pe;k[N]>y[N]&&(T=Yt(T));var X=Yt(T),q=[];if(l&&q.push($[E]<=0),i&&q.push($[T]<=0,$[X]<=0),q.every(function(V){return V})){m=_,O=!1;break}b.set(_,q)}if(O)for(var J=g?3:1,H=function(z){var Q=P.find(function(D){var U=b.get(D);if(U)return U.slice(0,z).every(function(Z){return Z})});if(Q)return m=Q,"break"},F=J;F>0;F--){var R=H(F);if(R==="break")break}e.placement!==m&&(e.modifiersData[r]._skip=!0,e.placement=m,e.reset=!0)}}const Wi={name:"flip",enabled:!0,phase:"main",fn:Hi,requiresIfExists:["offset"],data:{_skip:!1}};function mr(t,e,n){return n===void 0&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function yr(t){return[Pe,Ve,Re,xe].some(function(e){return t[e]>=0})}function Ki(t){var e=t.state,n=t.name,r=e.rects.reference,a=e.rects.popper,l=e.modifiersData.preventOverflow,o=Bt(e,{elementContext:"reference"}),i=Bt(e,{altBoundary:!0}),u=mr(o,r),s=mr(i,a,l),c=yr(u),d=yr(s);e.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:s,isReferenceHidden:c,hasPopperEscaped:d},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":d})}const Ui={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Ki};function Gi(t,e,n){var r=Ge(t),a=[xe,Pe].indexOf(r)>=0?-1:1,l=typeof n=="function"?n(Object.assign({},e,{placement:t})):n,o=l[0],i=l[1];return o=o||0,i=(i||0)*a,[xe,Ve].indexOf(r)>=0?{x:i,y:o}:{x:o,y:i}}function Xi(t){var e=t.state,n=t.options,r=t.name,a=n.offset,l=a===void 0?[0,0]:a,o=xa.reduce(function(c,d){return c[d]=Gi(d,e.rects,l),c},{}),i=o[e.placement],u=i.x,s=i.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=u,e.modifiersData.popperOffsets.y+=s),e.modifiersData[r]=o}const Yi={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Xi};function qi(t){var e=t.state,n=t.name;e.modifiersData[n]=Aa({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const Ji={name:"popperOffsets",enabled:!0,phase:"read",fn:qi,data:{}};function Zi(t){return t==="x"?"y":"x"}function Qi(t){var e=t.state,n=t.options,r=t.name,a=n.mainAxis,l=a===void 0?!0:a,o=n.altAxis,i=o===void 0?!1:o,u=n.boundary,s=n.rootBoundary,c=n.altBoundary,d=n.padding,v=n.tether,f=v===void 0?!0:v,g=n.tetherOffset,h=g===void 0?0:g,p=Bt(e,{boundary:u,rootBoundary:s,padding:d,altBoundary:c}),w=Ge(e.placement),C=wt(e.placement),x=!C,P=Tn(w),k=Zi(P),y=e.modifiersData.popperOffsets,b=e.rects.reference,O=e.rects.popper,m=typeof h=="function"?h(Object.assign({},e.rects,{placement:e.placement})):h,S=typeof m=="number"?{mainAxis:m,altAxis:m}:Object.assign({mainAxis:0,altAxis:0},m),_=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,E={x:0,y:0};if(!!y){if(l){var A,M=P==="y"?Pe:xe,N=P==="y"?Re:Ve,$=P==="y"?"height":"width",T=y[P],X=T+p[M],q=T-p[N],J=f?-O[$]/2:0,H=C===Ot?b[$]:O[$],F=C===Ot?-O[$]:-b[$],R=e.elements.arrow,V=f&&R?Dn(R):{width:0,height:0},z=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:ka(),Q=z[M],D=z[N],U=Dt(0,b[$],V[$]),Z=x?b[$]/2-J-U-Q-S.mainAxis:H-U-Q-S.mainAxis,ee=x?-b[$]/2+J+U+D+S.mainAxis:F+U+D+S.mainAxis,ae=e.elements.arrow&&Wt(e.elements.arrow),de=ae?P==="y"?ae.clientTop||0:ae.clientLeft||0:0,ie=(A=_==null?void 0:_[P])!=null?A:0,ne=T+Z-ie-de,te=T+ee-ie,be=Dt(f?Jt(X,ne):X,T,f?ct(q,te):q);y[P]=be,E[P]=be-T}if(i){var he,le=P==="x"?Pe:xe,Je=P==="x"?Re:Ve,me=y[k],Ze=k==="y"?"height":"width",dt=me+p[le],pt=me-p[Je],lt=[Pe,xe].indexOf(w)!==-1,se=(he=_==null?void 0:_[k])!=null?he:0,ue=lt?dt:me-b[Ze]-O[Ze]-se+S.altAxis,L=lt?me+b[Ze]+O[Ze]-se-S.altAxis:pt,B=f&<?wi(ue,me,L):Dt(f?ue:dt,me,f?L:pt);y[k]=B,E[k]=B-me}e.modifiersData[r]=E}}const eo={name:"preventOverflow",enabled:!0,phase:"main",fn:Qi,requiresIfExists:["offset"]};function to(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function no(t){return t===Ae(t)||!Te(t)?Rn(t):to(t)}function ro(t){var e=t.getBoundingClientRect(),n=Ct(e.width)/t.offsetWidth||1,r=Ct(e.height)/t.offsetHeight||1;return n!==1||r!==1}function ao(t,e,n){n===void 0&&(n=!1);var r=Te(e),a=Te(e)&&ro(e),l=at(e),o=St(t,a,n),i={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(r||!r&&!n)&&((Xe(e)!=="body"||Bn(l))&&(i=no(e)),Te(e)?(u=St(e,!0),u.x+=e.clientLeft,u.y+=e.clientTop):l&&(u.x=Vn(l))),{x:o.left+i.scrollLeft-u.x,y:o.top+i.scrollTop-u.y,width:o.width,height:o.height}}function lo(t){var e=new Map,n=new Set,r=[];t.forEach(function(l){e.set(l.name,l)});function a(l){n.add(l.name);var o=[].concat(l.requires||[],l.requiresIfExists||[]);o.forEach(function(i){if(!n.has(i)){var u=e.get(i);u&&a(u)}}),r.push(l)}return t.forEach(function(l){n.has(l.name)||a(l)}),r}function io(t){var e=lo(t);return bi.reduce(function(n,r){return n.concat(e.filter(function(a){return a.phase===r}))},[])}function oo(t){var e;return function(){return e||(e=new Promise(function(n){Promise.resolve().then(function(){e=void 0,n(t())})})),e}}function uo(t){var e=t.reduce(function(n,r){var a=n[r.name];return n[r.name]=a?Object.assign({},a,r,{options:Object.assign({},a.options,r.options),data:Object.assign({},a.data,r.data)}):r,n},{});return Object.keys(e).map(function(n){return e[n]})}var Or={placement:"bottom",modifiers:[],strategy:"absolute"};function Cr(){for(var t=arguments.length,e=new Array(t),n=0;nn.size),{className:r,style:c}=M(a),m=d(()=>["t-icon","t-icon-check-circle-filled",r.value]),u=d(()=>ie(ie({},c.value),t.style)),v=d(()=>({class:m.value,style:u.value,onClick:i=>{var o;return(o=n.onClick)===null||o===void 0?void 0:o.call(n,{e:i})}}));return()=>L(En,v.value)}});const Pn=Bn;function ce(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(n);e&&(a=a.filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable})),t.push.apply(t,a)}return t}function se(n){for(var e=1;en.size),{className:r,style:c}=M(a),m=d(()=>["t-icon","t-icon-close",r.value]),u=d(()=>se(se({},c.value),t.style)),v=d(()=>({class:m.value,style:u.value,onClick:i=>{var o;return(o=n.onClick)===null||o===void 0?void 0:o.call(n,{e:i})}}));return()=>L(kn,v.value)}});const Nn=Fn;function ue(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(n);e&&(a=a.filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable})),t.push.apply(t,a)}return t}function ve(n){for(var e=1;en.size),{className:r,style:c}=M(a),m=d(()=>["t-icon","t-icon-error-circle-filled",r.value]),u=d(()=>ve(ve({},c.value),t.style)),v=d(()=>({class:m.value,style:u.value,onClick:i=>{var o;return(o=n.onClick)===null||o===void 0?void 0:o.call(n,{e:i})}}));return()=>L(jn,v.value)}});const Mn=Dn;function fe(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(n);e&&(a=a.filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable})),t.push.apply(t,a)}return t}function de(n){for(var e=1;en.size),{className:r,style:c}=M(a),m=d(()=>["t-icon","t-icon-info-circle-filled",r.value]),u=d(()=>de(de({},c.value),t.style)),v=d(()=>({class:m.value,style:u.value,onClick:i=>{var o;return(o=n.onClick)===null||o===void 0?void 0:o.call(n,{e:i})}}));return()=>L(Ln,v.value)}});const xn=In;/**
+import{t as Ye,_,u as ae}from"./useConfig.20ad2f42.js";import{d as N,c as d,f as k,p as Ze,bD as Je,aI as p,bC as D,g as Qe,w as be,o as Ce,b as Oe,z as qe,n as en,by as nn,bg as re,bh as tn,bE as an,bF as rn}from"./arco.7f845a67.js";import{u as M,r as L,_ as I,a as on}from"./useGlobalIcon.483a2e47.js";import{N as ln,O as cn,P as sn,Q as un,S as vn,i as fn,T as dn,U as mn,V as gn,W as pn,X as hn,Y as yn,c as _e,f as oe,e as W,G as H,b as bn,d as Cn}from"./index.bf86db92.js";import{_ as we,a as On,b as _n,u as wn}from"./index.a7c1390c.js";import{B as K}from"./index.ae19f10d.js";import{c as Sn}from"./helper.845cf099.js";function le(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(n);e&&(a=a.filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable})),t.push.apply(t,a)}return t}function ie(n){for(var e=1;en.size),{className:r,style:c}=M(a),m=d(()=>["t-icon","t-icon-check-circle-filled",r.value]),u=d(()=>ie(ie({},c.value),t.style)),v=d(()=>({class:m.value,style:u.value,onClick:i=>{var o;return(o=n.onClick)===null||o===void 0?void 0:o.call(n,{e:i})}}));return()=>L(En,v.value)}});const Pn=Bn;function ce(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(n);e&&(a=a.filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable})),t.push.apply(t,a)}return t}function se(n){for(var e=1;en.size),{className:r,style:c}=M(a),m=d(()=>["t-icon","t-icon-close",r.value]),u=d(()=>se(se({},c.value),t.style)),v=d(()=>({class:m.value,style:u.value,onClick:i=>{var o;return(o=n.onClick)===null||o===void 0?void 0:o.call(n,{e:i})}}));return()=>L(kn,v.value)}});const Nn=Fn;function ue(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(n);e&&(a=a.filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable})),t.push.apply(t,a)}return t}function ve(n){for(var e=1;en.size),{className:r,style:c}=M(a),m=d(()=>["t-icon","t-icon-error-circle-filled",r.value]),u=d(()=>ve(ve({},c.value),t.style)),v=d(()=>({class:m.value,style:u.value,onClick:i=>{var o;return(o=n.onClick)===null||o===void 0?void 0:o.call(n,{e:i})}}));return()=>L(jn,v.value)}});const Mn=Dn;function fe(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(n);e&&(a=a.filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable})),t.push.apply(t,a)}return t}function de(n){for(var e=1;en.size),{className:r,style:c}=M(a),m=d(()=>["t-icon","t-icon-info-circle-filled",r.value]),u=d(()=>de(de({},c.value),t.style)),v=d(()=>({class:m.value,style:u.value,onClick:i=>{var o;return(o=n.onClick)===null||o===void 0?void 0:o.call(n,{e:i})}}));return()=>L(Ln,v.value)}});const xn=In;/**
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
diff --git a/assets/dialog.aac16df3.js.gz b/assets/dialog.aac16df3.js.gz
new file mode 100644
index 0000000..875f9af
Binary files /dev/null and b/assets/dialog.aac16df3.js.gz differ
diff --git a/assets/dialog.e7296975.js.gz b/assets/dialog.e7296975.js.gz
deleted file mode 100644
index b2cfc5c..0000000
Binary files a/assets/dialog.e7296975.js.gz and /dev/null differ
diff --git a/assets/form-model.7158f1bf.js b/assets/form-model.4939af32.js
similarity index 99%
rename from assets/form-model.7158f1bf.js
rename to assets/form-model.4939af32.js
index 33bb966..3576a89 100644
--- a/assets/form-model.7158f1bf.js
+++ b/assets/form-model.4939af32.js
@@ -1,4 +1,4 @@
-import{Z as N,f as _e,$ as me,a0 as xe,G as le,K as be}from"./index.c4ad0b59.js";import{_ as we,a as Fe}from"./index.afea8a64.js";import{_ as Se}from"./useConfig.72fe6f25.js";import{i as ye}from"./useDisabled.54b0051c.js";import{i as te,b as re}from"./helper.1bee26d0.js";/**
+import{Z as N,f as _e,$ as me,a0 as xe,G as le,K as be}from"./index.bf86db92.js";import{_ as we,a as Fe}from"./index.a7c1390c.js";import{_ as Se}from"./useConfig.20ad2f42.js";import{i as ye}from"./useDisabled.53ed762e.js";import{i as te,b as re}from"./helper.845cf099.js";/**
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
diff --git a/assets/form-model.7158f1bf.js.gz b/assets/form-model.4939af32.js.gz
similarity index 94%
rename from assets/form-model.7158f1bf.js.gz
rename to assets/form-model.4939af32.js.gz
index 572b646..3544b2a 100644
Binary files a/assets/form-model.7158f1bf.js.gz and b/assets/form-model.4939af32.js.gz differ
diff --git a/assets/helper.1bee26d0.js.gz b/assets/helper.1bee26d0.js.gz
deleted file mode 100644
index 9ea86c1..0000000
Binary files a/assets/helper.1bee26d0.js.gz and /dev/null differ
diff --git a/assets/helper.1bee26d0.js b/assets/helper.845cf099.js
similarity index 95%
rename from assets/helper.1bee26d0.js
rename to assets/helper.845cf099.js
index 6d6060d..c7a5a3e 100644
--- a/assets/helper.1bee26d0.js
+++ b/assets/helper.845cf099.js
@@ -1,4 +1,4 @@
-import{c as v,b as f}from"./useConfig.72fe6f25.js";import{g as b,h as d}from"./index.c4ad0b59.js";/**
+import{c as v,b as f}from"./useConfig.20ad2f42.js";import{g as b,h as d}from"./index.bf86db92.js";/**
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
diff --git a/assets/helper.845cf099.js.gz b/assets/helper.845cf099.js.gz
new file mode 100644
index 0000000..aaa4b22
Binary files /dev/null and b/assets/helper.845cf099.js.gz differ
diff --git a/assets/index.e7c19b13.js b/assets/index.08cf038d.js
similarity index 93%
rename from assets/index.e7c19b13.js
rename to assets/index.08cf038d.js
index a12887f..a02bb4e 100644
--- a/assets/index.e7c19b13.js
+++ b/assets/index.08cf038d.js
@@ -1,4 +1,4 @@
-import{u as C,a as h,_ as i,b as w}from"./useConfig.72fe6f25.js";import{d as x,c as P,aI as c}from"./arco.7f845a67.js";import{b as k,c as j,d as _,w as I}from"./index.c4ad0b59.js";import{u as N}from"./useDisabled.54b0051c.js";/**
+import{u as C,a as h,_ as i,b as w}from"./useConfig.20ad2f42.js";import{d as x,c as P,aI as c}from"./arco.7f845a67.js";import{b as k,c as j,d as _,w as I}from"./index.bf86db92.js";import{u as N}from"./useDisabled.53ed762e.js";/**
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
diff --git a/assets/index.08cf038d.js.gz b/assets/index.08cf038d.js.gz
new file mode 100644
index 0000000..b5e28ce
Binary files /dev/null and b/assets/index.08cf038d.js.gz differ
diff --git a/assets/index.eb18e1a0.js b/assets/index.17e7d26f.js
similarity index 94%
rename from assets/index.eb18e1a0.js
rename to assets/index.17e7d26f.js
index 3d7eb16..ce97a71 100644
--- a/assets/index.eb18e1a0.js
+++ b/assets/index.17e7d26f.js
@@ -1,4 +1,4 @@
-import{G as S,i as U,c as ne,w as oe,m as Se,u as Ae,E as C,ak as De,_ as Ee}from"./index.c4ad0b59.js";/* empty css *//* empty css *//* empty css */import{d as N,c as w,o as ae,b as Ne,f as $e,t as Fe,p as Ie,r as z,aI as r,aU as re,i as Le,bI as Ue,C as k,D as E,aH as i,G as x,u as j,aK as F,aM as O,aN as h,aJ as G,aE as K,a_ as J,b9 as ze,bJ as Re,bL as Be,be as Te,bf as Ve}from"./arco.7f845a67.js";import{g as Me}from"./vue.0bef8fc5.js";import{u as se,r as ie,_ as le}from"./useGlobalIcon.ac7d6aea.js";import{R as Ge,L as Ke,a as Je,D as He,T as qe,U as Xe}from"./index.46dda06c.js";import{B as We}from"./index.b619bc90.js";import{_ as b,u as ce}from"./useConfig.72fe6f25.js";import{i as I,I as Qe}from"./index.28d45399.js";import{i as A}from"./helper.1bee26d0.js";import{i as H}from"./index.afea8a64.js";import{C as Ye}from"./index.bb31a8df.js";import{P as Ze,s as et}from"./dep-6deb4e3a.e645a482.js";import{L as tt}from"./index.e7c19b13.js";import{F as nt,a as ot}from"./index.e2cc1822.js";import"./chart.95d38b48.js";import"./dialog.e7296975.js";import"./slot.33f80bbb.js";import"./index.fc382d33.js";import"./index.3ca10597.js";import"./useDisabled.54b0051c.js";import"./form-model.7158f1bf.js";function q(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable})),o.push.apply(o,n)}return o}function X(t){for(var e=1;et.size),{className:l,style:d}=se(n),s=w(()=>["t-icon","t-icon-check-double",l.value]),a=w(()=>X(X({},d.value),o.style)),v=w(()=>({class:s.value,style:a.value,onClick:c=>{var m;return(m=t.onClick)===null||m===void 0?void 0:m.call(t,{e:c})}}));return()=>ie(at,v.value)}});const st=rt;function W(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable})),o.push.apply(o,n)}return o}function Q(t){for(var e=1;et.size),{className:l,style:d}=se(n),s=w(()=>["t-icon","t-icon-thumb-up",l.value]),a=w(()=>Q(Q({},d.value),o.style)),v=w(()=>({class:s.value,style:a.value,onClick:c=>{var m;return(m=t.onClick)===null||m===void 0?void 0:m.call(t,{e:c})}}));return()=>ie(it,v.value)}});const ct=lt;/**
+import{G as S,i as U,c as ne,w as oe,m as Se,u as Ae,E as C,ak as De,_ as Ee}from"./index.bf86db92.js";/* empty css *//* empty css *//* empty css */import{d as N,c as w,o as ae,b as Ne,f as $e,t as Fe,p as Ie,r as z,aI as r,aU as re,i as Le,bI as Ue,C as k,D as E,aH as i,G as x,u as j,aK as F,aM as O,aN as h,aJ as G,aE as K,a_ as J,b9 as ze,bJ as Re,bL as Be,be as Te,bf as Ve}from"./arco.7f845a67.js";import{g as Me}from"./vue.0bef8fc5.js";import{u as se,r as ie,_ as le}from"./useGlobalIcon.483a2e47.js";import{R as Ge,L as Ke,a as Je,D as He,T as qe,U as Xe}from"./index.69fbb570.js";import{B as We}from"./index.ae19f10d.js";import{_ as b,u as ce}from"./useConfig.20ad2f42.js";import{i as I,I as Qe}from"./index.e1f67dfa.js";import{i as A}from"./helper.845cf099.js";import{i as H}from"./index.a7c1390c.js";import{C as Ye}from"./index.b23c580c.js";import{P as Ze,s as et}from"./dep-6deb4e3a.c541a5a9.js";import{L as tt}from"./index.08cf038d.js";import{F as nt,a as ot}from"./index.b441bfa0.js";import"./chart.95d38b48.js";import"./dialog.aac16df3.js";import"./slot.25997c5d.js";import"./index.7894d3b8.js";import"./index.8c9418b6.js";import"./useDisabled.53ed762e.js";import"./form-model.4939af32.js";function q(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable})),o.push.apply(o,n)}return o}function X(t){for(var e=1;et.size),{className:l,style:d}=se(n),s=w(()=>["t-icon","t-icon-check-double",l.value]),a=w(()=>X(X({},d.value),o.style)),v=w(()=>({class:s.value,style:a.value,onClick:c=>{var m;return(m=t.onClick)===null||m===void 0?void 0:m.call(t,{e:c})}}));return()=>ie(at,v.value)}});const st=rt;function W(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable})),o.push.apply(o,n)}return o}function Q(t){for(var e=1;et.size),{className:l,style:d}=se(n),s=w(()=>["t-icon","t-icon-thumb-up",l.value]),a=w(()=>Q(Q({},d.value),o.style)),v=w(()=>({class:s.value,style:a.value,onClick:c=>{var m;return(m=t.onClick)===null||m===void 0?void 0:m.call(t,{e:c})}}));return()=>ie(it,v.value)}});const ct=lt;/**
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
diff --git a/assets/index.17e7d26f.js.gz b/assets/index.17e7d26f.js.gz
new file mode 100644
index 0000000..a8ca71b
Binary files /dev/null and b/assets/index.17e7d26f.js.gz differ
diff --git a/assets/index.b280fc0a.js b/assets/index.1f905f61.js
similarity index 94%
rename from assets/index.b280fc0a.js
rename to assets/index.1f905f61.js
index aef1ddc..5187e9c 100644
--- a/assets/index.b280fc0a.js
+++ b/assets/index.1f905f61.js
@@ -1 +1 @@
-import{m as B,ak as E,_ as S}from"./index.c4ad0b59.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{d as A,r as F,bT as R,bI as T,C as D,D as U,aI as o,aH as n,G as y,aN as f,aM as _,bg as k,bh as C,bU as V,a$ as H,ba as I,bG as P,bJ as M,bL as N,n as z}from"./arco.7f845a67.js";import{i as G,e as L,b as J,g as K}from"./serial.c6b76da8.js";import{C as O}from"./index.bb31a8df.js";import"./chart.95d38b48.js";import"./vue.0bef8fc5.js";import"./useConfig.72fe6f25.js";import"./index.afea8a64.js";import"./helper.1bee26d0.js";const j={class:"container"},q=["innerHTML"],Q={name:"Chi"},W=A({...Q,setup(X){const s=B(),r=F({status:"\u70B9\u51FB\u5199\u5165\u6309\u94AE\u5199\u5165\u5B57\u5E93\u5230\u8BBE\u5907
",eepromType:"",showHide:0,lang:"Simplified_Chinese"}),g=async(e=0,t)=>{var m;await L(s.connectPort);for(let u=e;u",z(()=>{const p=document==null?void 0:document.getElementById("statusArea");p&&(p.scrollTop=p==null?void 0:p.scrollHeight)});r.status=r.status+"\u5199\u5165\u8FDB\u5EA6\uFF1A100.0% ",await K(s.connectPort)},v=async(e=1)=>{var m,u,p,b,w,h;if(s.connectState!=!0){alert(sessionStorage.getItem("noticeConnectK5"));return}if(((m=s.configuration)==null?void 0:m.uart)=="official"){alert(sessionStorage.getItem("noticeVersionNoSupport"));return}r.status=r.status+"\u6B63\u5728\u4E0B\u8F7D\u5B57\u5E93... ";let t;if(e==4){(u=s.configuration)!=null&&u.newpinyin?t=await fetch("/pinyin_plus.bin"):t=await fetch("/pinyin.bin");const l=t.body.getReader(),a=[];for(;;){const{done:c,value:i}=await l.read();if(c)break;a.push(...i)}const d=new Uint8Array(a);await g(131072,d);return}if(e==5){const l=await G(s.connectPort,(p=s.configuration)==null?void 0:p.uart);if(l!=262144&&l!=524288){r.status=r.status+"\u53EA\u652F\u6301 2Mbit \u4EE5\u4E0A EEPROM \u5199\u5165 ";return}t=await fetch("/ssb.bin");const a=t.body.getReader(),d=[];for(;;){const{done:i,value:$}=await a.read();if(i)break;d.push(...$)}const c=new Uint8Array(d);await g(246312,c);return}if(e==1){if(((b=s.configuration)==null?void 0:b.charset)=="losehu"){t=await fetch("/old_font.bin");const l=t.body.getReader(),a=[];for(;;){const{done:c,value:i}=await l.read();if(c)break;a.push(...i)}const d=new Uint8Array(a);await g(8192,d);return}if(((w=s.configuration)==null?void 0:w.charset)=="gb2312"){t=await fetch("/new_font_k.bin");const l=t.body.getReader(),a=[];for(;;){const{done:c,value:i}=await l.read();if(c)break;a.push(...i)}const d=new Uint8Array(a);await g(9344,d);return}}if(e==6)if(((h=s.configuration)==null?void 0:h.charset)=="gb2312"){t=await fetch("/new_font_k_f.bin");const l=t.body.getReader(),a=[];for(;;){const{done:c,value:i}=await l.read();if(c)break;a.push(...i)}const d=new Uint8Array(a);await g(9344,d);return}else alert("\u4E0D\u652F\u6301\u7684\u7248\u672C")};return(e,t)=>{const m=E,u=R,p=V,b=H,w=O,h=I,l=P,a=T,d=M,c=N;return D(),U("div",j,[o(m,{items:[e.$t("menu.list"),e.$t("menu.font")]},null,8,["items"]),o(c,{gutter:20,align:"stretch"},{default:n(()=>[o(d,{span:24},{default:n(()=>[o(a,{class:"general-card"},{title:n(()=>[y("span",{onClick:t[0]||(t[0]=()=>{r.showHide+=1})},f(e.$t("menu.font")+e.$t("global.onStart")),1)]),default:n(()=>[o(h,null,{default:n(()=>[o(w,{bordered:"",style:{width:"420px"}},{header:n(()=>[_(f(e.$t("tool.fontwrite"))+" ",1),y("div",null,[o(p,{type:"button",size:"mini",modelValue:r.lang,"onUpdate:modelValue":t[1]||(t[1]=i=>r.lang=i)},{default:n(()=>[o(u,{value:"Simplified_Chinese"},{default:n(()=>[_(f(e.$t("tool.Simplified_Chinese")),1)]),_:1}),o(u,{value:"Traditional_Chinese"},{default:n(()=>[_(f(e.$t("tool.Traditional_Chinese")),1)]),_:1})]),_:1},8,["modelValue"])])]),default:n(()=>[y("div",null,[k(o(b,{onClick:t[2]||(t[2]=i=>v(1))},{default:n(()=>[_(f(e.$t("tool.writefontwrite")),1)]),_:1},512),[[C,r.lang=="Simplified_Chinese"]]),k(o(b,{onClick:t[3]||(t[3]=i=>v(6))},{default:n(()=>[_(f(e.$t("tool.writefontwrite")),1)]),_:1},512),[[C,r.lang=="Traditional_Chinese"]])])]),_:1}),o(w,{bordered:""},{header:n(()=>[_(f(e.$t("tool.pinyinwrite")),1)]),default:n(()=>[o(h,null,{default:n(()=>[o(b,{onClick:t[4]||(t[4]=i=>v(4))},{default:n(()=>[_(f(e.$t("tool.writepinyin")),1)]),_:1})]),_:1})]),_:1}),o(w,{bordered:""},{header:n(()=>[_(f(e.$t("tool.ssbpatch")),1)]),default:n(()=>[o(h,null,{default:n(()=>[o(b,{onClick:t[5]||(t[5]=i=>v(5))},{default:n(()=>[_(f(e.$t("tool.writessbpatch")),1)]),_:1})]),_:1})]),_:1})]),_:1}),o(l),y("div",{id:"statusArea",style:{height:"20em","background-color":"azure",color:"silver",overflow:"auto",padding:"20px"},innerHTML:r.status},null,8,q)]),_:1})]),_:1})]),_:1})])}}});const ct=S(W,[["__scopeId","data-v-5b175fa0"]]);export{ct as default};
+import{m as B,ak as E,_ as S}from"./index.bf86db92.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{d as A,r as F,bT as R,bI as T,C as D,D as U,aI as o,aH as n,G as y,aN as f,aM as _,bg as k,bh as C,bU as V,a$ as H,ba as I,bG as P,bJ as M,bL as N,n as z}from"./arco.7f845a67.js";import{i as G,e as L,b as J,g as K}from"./serial.c6b76da8.js";import{C as O}from"./index.b23c580c.js";import"./chart.95d38b48.js";import"./vue.0bef8fc5.js";import"./useConfig.20ad2f42.js";import"./index.a7c1390c.js";import"./helper.845cf099.js";const j={class:"container"},q=["innerHTML"],Q={name:"Chi"},W=A({...Q,setup(X){const s=B(),r=F({status:"\u70B9\u51FB\u5199\u5165\u6309\u94AE\u5199\u5165\u5B57\u5E93\u5230\u8BBE\u5907
",eepromType:"",showHide:0,lang:"Simplified_Chinese"}),g=async(e=0,t)=>{var m;await L(s.connectPort);for(let u=e;u",z(()=>{const p=document==null?void 0:document.getElementById("statusArea");p&&(p.scrollTop=p==null?void 0:p.scrollHeight)});r.status=r.status+"\u5199\u5165\u8FDB\u5EA6\uFF1A100.0% ",await K(s.connectPort)},v=async(e=1)=>{var m,u,p,b,w,h;if(s.connectState!=!0){alert(sessionStorage.getItem("noticeConnectK5"));return}if(((m=s.configuration)==null?void 0:m.uart)=="official"){alert(sessionStorage.getItem("noticeVersionNoSupport"));return}r.status=r.status+"\u6B63\u5728\u4E0B\u8F7D\u5B57\u5E93... ";let t;if(e==4){(u=s.configuration)!=null&&u.newpinyin?t=await fetch("/pinyin_plus.bin"):t=await fetch("/pinyin.bin");const l=t.body.getReader(),a=[];for(;;){const{done:c,value:i}=await l.read();if(c)break;a.push(...i)}const d=new Uint8Array(a);await g(131072,d);return}if(e==5){const l=await G(s.connectPort,(p=s.configuration)==null?void 0:p.uart);if(l!=262144&&l!=524288){r.status=r.status+"\u53EA\u652F\u6301 2Mbit \u4EE5\u4E0A EEPROM \u5199\u5165 ";return}t=await fetch("/ssb.bin");const a=t.body.getReader(),d=[];for(;;){const{done:i,value:$}=await a.read();if(i)break;d.push(...$)}const c=new Uint8Array(d);await g(246312,c);return}if(e==1){if(((b=s.configuration)==null?void 0:b.charset)=="losehu"){t=await fetch("/old_font.bin");const l=t.body.getReader(),a=[];for(;;){const{done:c,value:i}=await l.read();if(c)break;a.push(...i)}const d=new Uint8Array(a);await g(8192,d);return}if(((w=s.configuration)==null?void 0:w.charset)=="gb2312"){t=await fetch("/new_font_k.bin");const l=t.body.getReader(),a=[];for(;;){const{done:c,value:i}=await l.read();if(c)break;a.push(...i)}const d=new Uint8Array(a);await g(9344,d);return}}if(e==6)if(((h=s.configuration)==null?void 0:h.charset)=="gb2312"){t=await fetch("/new_font_k_f.bin");const l=t.body.getReader(),a=[];for(;;){const{done:c,value:i}=await l.read();if(c)break;a.push(...i)}const d=new Uint8Array(a);await g(9344,d);return}else alert("\u4E0D\u652F\u6301\u7684\u7248\u672C")};return(e,t)=>{const m=E,u=R,p=V,b=H,w=O,h=I,l=P,a=T,d=M,c=N;return D(),U("div",j,[o(m,{items:[e.$t("menu.list"),e.$t("menu.font")]},null,8,["items"]),o(c,{gutter:20,align:"stretch"},{default:n(()=>[o(d,{span:24},{default:n(()=>[o(a,{class:"general-card"},{title:n(()=>[y("span",{onClick:t[0]||(t[0]=()=>{r.showHide+=1})},f(e.$t("menu.font")+e.$t("global.onStart")),1)]),default:n(()=>[o(h,null,{default:n(()=>[o(w,{bordered:"",style:{width:"420px"}},{header:n(()=>[_(f(e.$t("tool.fontwrite"))+" ",1),y("div",null,[o(p,{type:"button",size:"mini",modelValue:r.lang,"onUpdate:modelValue":t[1]||(t[1]=i=>r.lang=i)},{default:n(()=>[o(u,{value:"Simplified_Chinese"},{default:n(()=>[_(f(e.$t("tool.Simplified_Chinese")),1)]),_:1}),o(u,{value:"Traditional_Chinese"},{default:n(()=>[_(f(e.$t("tool.Traditional_Chinese")),1)]),_:1})]),_:1},8,["modelValue"])])]),default:n(()=>[y("div",null,[k(o(b,{onClick:t[2]||(t[2]=i=>v(1))},{default:n(()=>[_(f(e.$t("tool.writefontwrite")),1)]),_:1},512),[[C,r.lang=="Simplified_Chinese"]]),k(o(b,{onClick:t[3]||(t[3]=i=>v(6))},{default:n(()=>[_(f(e.$t("tool.writefontwrite")),1)]),_:1},512),[[C,r.lang=="Traditional_Chinese"]])])]),_:1}),o(w,{bordered:""},{header:n(()=>[_(f(e.$t("tool.pinyinwrite")),1)]),default:n(()=>[o(h,null,{default:n(()=>[o(b,{onClick:t[4]||(t[4]=i=>v(4))},{default:n(()=>[_(f(e.$t("tool.writepinyin")),1)]),_:1})]),_:1})]),_:1}),o(w,{bordered:""},{header:n(()=>[_(f(e.$t("tool.ssbpatch")),1)]),default:n(()=>[o(h,null,{default:n(()=>[o(b,{onClick:t[5]||(t[5]=i=>v(5))},{default:n(()=>[_(f(e.$t("tool.writessbpatch")),1)]),_:1})]),_:1})]),_:1})]),_:1}),o(l),y("div",{id:"statusArea",style:{height:"20em","background-color":"azure",color:"silver",overflow:"auto",padding:"20px"},innerHTML:r.status},null,8,q)]),_:1})]),_:1})]),_:1})])}}});const ct=S(W,[["__scopeId","data-v-5b175fa0"]]);export{ct as default};
diff --git a/assets/index.1f905f61.js.gz b/assets/index.1f905f61.js.gz
new file mode 100644
index 0000000..ba78440
Binary files /dev/null and b/assets/index.1f905f61.js.gz differ
diff --git a/assets/index.57cd919f.js b/assets/index.203661c9.js
similarity index 88%
rename from assets/index.57cd919f.js
rename to assets/index.203661c9.js
index 7adf6c0..c2149c7 100644
--- a/assets/index.57cd919f.js
+++ b/assets/index.203661c9.js
@@ -1 +1 @@
-import{m as X,u as Y,E as f,ak as Z,_ as tt}from"./index.c4ad0b59.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{d as et,r as x,o as ot,bQ as at,bI as nt,C as d,D as g,aI as t,aH as e,G as c,u as m,aK as h,aM as l,aN as r,aJ as C,aE as E,a_ as L,b9 as st,bR as it,bS as lt,bJ as rt,bL as ut,be as pt,bf as dt}from"./arco.7f845a67.js";import{g as ct}from"./vue.0bef8fc5.js";import{R as mt,L as _t,a as ft,D as gt,T as wt,U as bt}from"./index.46dda06c.js";import{s as ht,P as yt}from"./dep-6deb4e3a.e645a482.js";import{B as At}from"./index.b619bc90.js";import{L as kt}from"./index.e7c19b13.js";import{I as vt}from"./index.28d45399.js";import{F as Ft,a as xt}from"./index.e2cc1822.js";import"./chart.95d38b48.js";import"./useGlobalIcon.ac7d6aea.js";import"./helper.1bee26d0.js";import"./useConfig.72fe6f25.js";import"./index.afea8a64.js";import"./dialog.e7296975.js";import"./slot.33f80bbb.js";import"./index.fc382d33.js";import"./index.3ca10597.js";import"./form-model.7158f1bf.js";import"./useDisabled.54b0051c.js";const Ct=w=>(pt("data-v-c85a7ffb"),w=w(),dt(),w),Et={class:"container"},Lt={style:{"margin-right":"20px"}},It={style:{color:"#373737",margin:"10px"}},$t={style:{display:"flex","align-items":"center","justify-content":"space-between"}},Ut={style:{display:"flex",width:"100%"}},Bt={style:{width:"90%"}},Dt=Ct(()=>c("br",null,null,-1)),St={style:{width:"10%",margin:"auto","text-align":"center"}},Vt={name:"Backup"},Pt=et({...Vt,setup(w){X();const u=Y(),I=ct(),s=x({binaryFile:void 0,loading:!1,showPanel:!1,showUpload:!1,refLoading:!1,myList:[],total:0,page:1,nowpage:[]}),i=x({title:"",desc:"",firmware:[]});ot(async()=>{A({current:1})});const A=async a=>{s.page=a.current;const n=await f.get("https://k5.vicicode.com/wsapi/list?type=0&limit=12&page="+a.current+"&t="+Date.now());s.total=n.total,s.nowpage=n.data},_=async()=>{s.refLoading=!0,s.showPanel=!0;const a=await f.post("https://k5.vicicode.com/wsapi/my_list",{type:0,token:u.accountId});s.myList=a.data,s.refLoading=!1},$=()=>{i.title="",i.desc="",i.firmware=[],s.showUpload=!0},U=async()=>{if(i.title==""||i.firmware.length==0){L.error({content:"\u672A\u586B\u5199\u540D\u79F0\u53CA\u4E0A\u4F20\u6587\u4EF6",duration:5*1e3});return}await f.post("https://k5.vicicode.com/wsapi/upload",{type:0,token:u.accountId,title:i.title,desc:i.desc,data:i.firmware[0].url}),s.showUpload=!1,_()},B=async a=>{await f.post("https://k5.vicicode.com/wsapi/delete",{id:a,token:u.accountId}),_()},D=async a=>{await f.post("https://k5.vicicode.com/wsapi/star",{id:a}),L.success({content:"\u70B9\u8D5E\u6210\u529F",duration:5*1e3})},S=()=>{_()},V=a=>{I.push({path:"/tool/flash",query:{url:a}})};return(a,n)=>{const P=Z,p=st,k=ht,R=it,z=lt,N=at,T=yt,M=nt,J=rt,j=ut,y=At,q=kt,G=_t,H=ft,v=gt,K=vt,b=Ft,Q=wt,O=bt,W=xt;return d(),g("div",Et,[t(P,{items:[a.$t("menu.workshop"),a.$t("menu.firmware")]},null,8,["items"]),t(j,{gutter:20,align:"stretch"},{default:e(()=>[t(J,{span:24},{default:e(()=>[t(M,{class:"general-card",title:a.$t("menu.firmware")},{extra:e(()=>[c("div",Lt,[m(u).name?(d(),g(h,{key:0},[t(p,{onClick:_},{default:e(()=>[l("\xA0\xA0"+r(m(u).name)+"\xA0\xA0",1)]),_:1}),t(p,{onClick:_},{default:e(()=>[l("\xA0\xA0"+r(a.$t("global.upload"))+"\xA0\xA0",1)]),_:1}),t(p,{onClick:n[0]||(n[0]=o=>m(u).logout())},{default:e(()=>[l("\xA0\xA0"+r(a.$t("global.logout"))+"\xA0\xA0",1)]),_:1})],64)):(d(),g(h,{key:1},[t(p,{onClick:n[1]||(n[1]=o=>m(u).setInfo({showLogin:!0}))},{default:e(()=>[l("\xA0\xA0"+r(a.$t("global.login"))+"\xA0\xA0",1)]),_:1}),t(p,{onClick:n[2]||(n[2]=o=>m(u).setInfo({showRegister:!0}))},{default:e(()=>[l("\xA0\xA0"+r(a.$t("global.register"))+"\xA0\xA0",1)]),_:1}),c("span",It,r(a.$t("global.loginUpload")),1)],64))])]),default:e(()=>[t(N,null,{default:e(()=>[(d(!0),g(h,null,C(s.nowpage,o=>(d(),E(z,{style:{width:"100%"}},{actions:e(()=>[t(p,{onClick:F=>D(o.id)},{default:e(()=>[l("\u{1F44D}")]),_:2},1032,["onClick"]),t(p,{onClick:F=>V("https://k5.vicicode.com/wsapi/download?id="+o.id+"&n=/"+o.title)},{default:e(()=>[l(r(a.$t("global.use")),1)]),_:2},1032,["onClick"])]),default:e(()=>[t(R,{description:o.desc},{title:e(()=>[t(k,{theme:"primary",variant:"outline"},{default:e(()=>[l(r(o.upload),1)]),_:2},1024),l(" "+r(o.title),1)]),_:2},1032,["description"])]),_:2},1024))),256))]),_:1}),t(T,{onChange:A,style:{margin:"10px"},total:s.total,current:s.page,pageSize:12,showPageNumber:"",showPageSize:!1},null,8,["total","current"])]),_:1},8,["title"])]),_:1})]),_:1}),t(v,{visible:s.showPanel,"onUpdate:visible":n[3]||(n[3]=o=>s.showPanel=o),size:"50%",header:"\u6211\u7684\u56FA\u4EF6",footer:!1},{default:e(()=>[c("div",$t,[t(y,{style:{margin:"10px"},onClick:$},{default:e(()=>[l("\u4E0A\u4F20\u65B0\u56FA\u4EF6")]),_:1}),t(y,{loading:s.refLoading,shape:"circle",theme:"outline",onClick:S},{icon:e(()=>[t(m(mt))]),_:1},8,["loading"])]),t(H,{split:!0},{default:e(()=>[(d(!0),g(h,null,C(s.myList,o=>(d(),E(G,null,{default:e(()=>[c("div",Ut,[c("div",Bt,[t(k,{theme:"primary",variant:"outline"},{default:e(()=>[l(r(o.audit?"\u5DF2\u5BA1\u6838":"\u5BA1\u6838\u4E2D"),1)]),_:2},1024),l(" "+r(o.title)+" ",1),Dt,l(" "+r(o.desc),1)]),c("div",St,[t(q,{theme:"primary",hover:"color",onClick:F=>B(o.id)},{default:e(()=>[l("\u5220\u9664")]),_:2},1032,["onClick"])])])]),_:2},1024))),256))]),_:1})]),_:1},8,["visible"]),t(v,{visible:s.showUpload,"onUpdate:visible":n[7]||(n[7]=o=>s.showUpload=o),size:"25%",header:"\u4E0A\u4F20\u65B0\u56FA\u4EF6",footer:!1},{default:e(()=>[t(W,{data:i,"reset-type":"initial",colon:"",onSubmit:U},{default:e(()=>[t(b,{label:"\u56FA\u4EF6\u540D\u79F0",name:"title","label-align":"top"},{default:e(()=>[t(K,{modelValue:i.title,"onUpdate:modelValue":n[4]||(n[4]=o=>i.title=o)},null,8,["modelValue"])]),_:1}),t(b,{label:"\u56FA\u4EF6\u63CF\u8FF0",name:"desc","label-align":"top"},{default:e(()=>[t(Q,{autosize:{minRows:5,maxRows:10},modelValue:i.desc,"onUpdate:modelValue":n[5]||(n[5]=o=>i.desc=o),clearable:""},null,8,["modelValue"])]),_:1}),t(b,{label:"\u56FA\u4EF6\u6587\u4EF6",name:"firmware","label-align":"top"},{default:e(()=>[t(O,{modelValue:i.firmware,"onUpdate:modelValue":n[6]||(n[6]=o=>i.firmware=o),action:"https://k5.vicicode.com/wsapi/base64","abridge-name":[8,6],theme:"file-input",placeholder:"\u672A\u9009\u62E9\u6587\u4EF6"},null,8,["modelValue"])]),_:1}),t(b,{"label-align":"top"},{default:e(()=>[t(y,{theme:"primary",type:"submit",block:""},{default:e(()=>[l("\u63D0\u4EA4\u5BA1\u6838")]),_:1})]),_:1})]),_:1},8,["data"])]),_:1},8,["visible"])])}}});const de=tt(Pt,[["__scopeId","data-v-c85a7ffb"]]);export{de as default};
+import{m as X,u as Y,E as f,ak as Z,_ as tt}from"./index.bf86db92.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{d as et,r as x,o as ot,bQ as at,bI as nt,C as d,D as g,aI as t,aH as e,G as c,u as m,aK as h,aM as l,aN as r,aJ as C,aE as E,a_ as L,b9 as st,bR as it,bS as lt,bJ as rt,bL as ut,be as pt,bf as dt}from"./arco.7f845a67.js";import{g as ct}from"./vue.0bef8fc5.js";import{R as mt,L as _t,a as ft,D as gt,T as wt,U as bt}from"./index.69fbb570.js";import{s as ht,P as yt}from"./dep-6deb4e3a.c541a5a9.js";import{B as At}from"./index.ae19f10d.js";import{L as kt}from"./index.08cf038d.js";import{I as vt}from"./index.e1f67dfa.js";import{F as Ft,a as xt}from"./index.b441bfa0.js";import"./chart.95d38b48.js";import"./useGlobalIcon.483a2e47.js";import"./helper.845cf099.js";import"./useConfig.20ad2f42.js";import"./index.a7c1390c.js";import"./dialog.aac16df3.js";import"./slot.25997c5d.js";import"./index.7894d3b8.js";import"./index.8c9418b6.js";import"./form-model.4939af32.js";import"./useDisabled.53ed762e.js";const Ct=w=>(pt("data-v-c85a7ffb"),w=w(),dt(),w),Et={class:"container"},Lt={style:{"margin-right":"20px"}},It={style:{color:"#373737",margin:"10px"}},$t={style:{display:"flex","align-items":"center","justify-content":"space-between"}},Ut={style:{display:"flex",width:"100%"}},Bt={style:{width:"90%"}},Dt=Ct(()=>c("br",null,null,-1)),St={style:{width:"10%",margin:"auto","text-align":"center"}},Vt={name:"Backup"},Pt=et({...Vt,setup(w){X();const u=Y(),I=ct(),s=x({binaryFile:void 0,loading:!1,showPanel:!1,showUpload:!1,refLoading:!1,myList:[],total:0,page:1,nowpage:[]}),i=x({title:"",desc:"",firmware:[]});ot(async()=>{A({current:1})});const A=async a=>{s.page=a.current;const n=await f.get("https://k5.vicicode.com/wsapi/list?type=0&limit=12&page="+a.current+"&t="+Date.now());s.total=n.total,s.nowpage=n.data},_=async()=>{s.refLoading=!0,s.showPanel=!0;const a=await f.post("https://k5.vicicode.com/wsapi/my_list",{type:0,token:u.accountId});s.myList=a.data,s.refLoading=!1},$=()=>{i.title="",i.desc="",i.firmware=[],s.showUpload=!0},U=async()=>{if(i.title==""||i.firmware.length==0){L.error({content:"\u672A\u586B\u5199\u540D\u79F0\u53CA\u4E0A\u4F20\u6587\u4EF6",duration:5*1e3});return}await f.post("https://k5.vicicode.com/wsapi/upload",{type:0,token:u.accountId,title:i.title,desc:i.desc,data:i.firmware[0].url}),s.showUpload=!1,_()},B=async a=>{await f.post("https://k5.vicicode.com/wsapi/delete",{id:a,token:u.accountId}),_()},D=async a=>{await f.post("https://k5.vicicode.com/wsapi/star",{id:a}),L.success({content:"\u70B9\u8D5E\u6210\u529F",duration:5*1e3})},S=()=>{_()},V=a=>{I.push({path:"/tool/flash",query:{url:a}})};return(a,n)=>{const P=Z,p=st,k=ht,R=it,z=lt,N=at,T=yt,M=nt,J=rt,j=ut,y=At,q=kt,G=_t,H=ft,v=gt,K=vt,b=Ft,Q=wt,O=bt,W=xt;return d(),g("div",Et,[t(P,{items:[a.$t("menu.workshop"),a.$t("menu.firmware")]},null,8,["items"]),t(j,{gutter:20,align:"stretch"},{default:e(()=>[t(J,{span:24},{default:e(()=>[t(M,{class:"general-card",title:a.$t("menu.firmware")},{extra:e(()=>[c("div",Lt,[m(u).name?(d(),g(h,{key:0},[t(p,{onClick:_},{default:e(()=>[l("\xA0\xA0"+r(m(u).name)+"\xA0\xA0",1)]),_:1}),t(p,{onClick:_},{default:e(()=>[l("\xA0\xA0"+r(a.$t("global.upload"))+"\xA0\xA0",1)]),_:1}),t(p,{onClick:n[0]||(n[0]=o=>m(u).logout())},{default:e(()=>[l("\xA0\xA0"+r(a.$t("global.logout"))+"\xA0\xA0",1)]),_:1})],64)):(d(),g(h,{key:1},[t(p,{onClick:n[1]||(n[1]=o=>m(u).setInfo({showLogin:!0}))},{default:e(()=>[l("\xA0\xA0"+r(a.$t("global.login"))+"\xA0\xA0",1)]),_:1}),t(p,{onClick:n[2]||(n[2]=o=>m(u).setInfo({showRegister:!0}))},{default:e(()=>[l("\xA0\xA0"+r(a.$t("global.register"))+"\xA0\xA0",1)]),_:1}),c("span",It,r(a.$t("global.loginUpload")),1)],64))])]),default:e(()=>[t(N,null,{default:e(()=>[(d(!0),g(h,null,C(s.nowpage,o=>(d(),E(z,{style:{width:"100%"}},{actions:e(()=>[t(p,{onClick:F=>D(o.id)},{default:e(()=>[l("\u{1F44D}")]),_:2},1032,["onClick"]),t(p,{onClick:F=>V("https://k5.vicicode.com/wsapi/download?id="+o.id+"&n=/"+o.title)},{default:e(()=>[l(r(a.$t("global.use")),1)]),_:2},1032,["onClick"])]),default:e(()=>[t(R,{description:o.desc},{title:e(()=>[t(k,{theme:"primary",variant:"outline"},{default:e(()=>[l(r(o.upload),1)]),_:2},1024),l(" "+r(o.title),1)]),_:2},1032,["description"])]),_:2},1024))),256))]),_:1}),t(T,{onChange:A,style:{margin:"10px"},total:s.total,current:s.page,pageSize:12,showPageNumber:"",showPageSize:!1},null,8,["total","current"])]),_:1},8,["title"])]),_:1})]),_:1}),t(v,{visible:s.showPanel,"onUpdate:visible":n[3]||(n[3]=o=>s.showPanel=o),size:"50%",header:"\u6211\u7684\u56FA\u4EF6",footer:!1},{default:e(()=>[c("div",$t,[t(y,{style:{margin:"10px"},onClick:$},{default:e(()=>[l("\u4E0A\u4F20\u65B0\u56FA\u4EF6")]),_:1}),t(y,{loading:s.refLoading,shape:"circle",theme:"outline",onClick:S},{icon:e(()=>[t(m(mt))]),_:1},8,["loading"])]),t(H,{split:!0},{default:e(()=>[(d(!0),g(h,null,C(s.myList,o=>(d(),E(G,null,{default:e(()=>[c("div",Ut,[c("div",Bt,[t(k,{theme:"primary",variant:"outline"},{default:e(()=>[l(r(o.audit?"\u5DF2\u5BA1\u6838":"\u5BA1\u6838\u4E2D"),1)]),_:2},1024),l(" "+r(o.title)+" ",1),Dt,l(" "+r(o.desc),1)]),c("div",St,[t(q,{theme:"primary",hover:"color",onClick:F=>B(o.id)},{default:e(()=>[l("\u5220\u9664")]),_:2},1032,["onClick"])])])]),_:2},1024))),256))]),_:1})]),_:1},8,["visible"]),t(v,{visible:s.showUpload,"onUpdate:visible":n[7]||(n[7]=o=>s.showUpload=o),size:"25%",header:"\u4E0A\u4F20\u65B0\u56FA\u4EF6",footer:!1},{default:e(()=>[t(W,{data:i,"reset-type":"initial",colon:"",onSubmit:U},{default:e(()=>[t(b,{label:"\u56FA\u4EF6\u540D\u79F0",name:"title","label-align":"top"},{default:e(()=>[t(K,{modelValue:i.title,"onUpdate:modelValue":n[4]||(n[4]=o=>i.title=o)},null,8,["modelValue"])]),_:1}),t(b,{label:"\u56FA\u4EF6\u63CF\u8FF0",name:"desc","label-align":"top"},{default:e(()=>[t(Q,{autosize:{minRows:5,maxRows:10},modelValue:i.desc,"onUpdate:modelValue":n[5]||(n[5]=o=>i.desc=o),clearable:""},null,8,["modelValue"])]),_:1}),t(b,{label:"\u56FA\u4EF6\u6587\u4EF6",name:"firmware","label-align":"top"},{default:e(()=>[t(O,{modelValue:i.firmware,"onUpdate:modelValue":n[6]||(n[6]=o=>i.firmware=o),action:"https://k5.vicicode.com/wsapi/base64","abridge-name":[8,6],theme:"file-input",placeholder:"\u672A\u9009\u62E9\u6587\u4EF6"},null,8,["modelValue"])]),_:1}),t(b,{"label-align":"top"},{default:e(()=>[t(y,{theme:"primary",type:"submit",block:""},{default:e(()=>[l("\u63D0\u4EA4\u5BA1\u6838")]),_:1})]),_:1})]),_:1},8,["data"])]),_:1},8,["visible"])])}}});const de=tt(Pt,[["__scopeId","data-v-c85a7ffb"]]);export{de as default};
diff --git a/assets/index.203661c9.js.gz b/assets/index.203661c9.js.gz
new file mode 100644
index 0000000..2d49be3
Binary files /dev/null and b/assets/index.203661c9.js.gz differ
diff --git a/assets/index.94e6865c.js b/assets/index.256ef9b8.js
similarity index 89%
rename from assets/index.94e6865c.js
rename to assets/index.256ef9b8.js
index d7f26f8..23fc719 100644
--- a/assets/index.94e6865c.js
+++ b/assets/index.256ef9b8.js
@@ -1 +1 @@
-import{_ as n}from"./index.c4ad0b59.js";import{d as c,bH as _,a$ as r,D as u,aI as e,G as p,aH as i,C as d,aM as l}from"./arco.7f845a67.js";import{g as m}from"./vue.0bef8fc5.js";import"./chart.95d38b48.js";const f={class:"content"},x={class:"operation-row"},b=c({__name:"index",setup(k){const t=m(),o=()=>{t.push({name:"Workplace"})};return(h,v)=>{const s=_,a=r;return d(),u("div",f,[e(s,{class:"result",status:"404",subtitle:"\u627E\u4E0D\u5230\u7F51\u9875"}),p("div",x,[e(a,{key:"back",type:"primary",onClick:o},{default:i(()=>[l(" \u8FD4\u56DE ")]),_:1})])])}}});const E=n(b,[["__scopeId","data-v-8bef407f"]]);export{E as default};
+import{_ as n}from"./index.bf86db92.js";import{d as c,bH as _,a$ as r,D as u,aI as e,G as p,aH as i,C as d,aM as l}from"./arco.7f845a67.js";import{g as m}from"./vue.0bef8fc5.js";import"./chart.95d38b48.js";const f={class:"content"},x={class:"operation-row"},b=c({__name:"index",setup(k){const t=m(),o=()=>{t.push({name:"Workplace"})};return(h,v)=>{const s=_,a=r;return d(),u("div",f,[e(s,{class:"result",status:"404",subtitle:"\u627E\u4E0D\u5230\u7F51\u9875"}),p("div",x,[e(a,{key:"back",type:"primary",onClick:o},{default:i(()=>[l(" \u8FD4\u56DE ")]),_:1})])])}}});const E=n(b,[["__scopeId","data-v-8bef407f"]]);export{E as default};
diff --git a/assets/index.28d45399.js.gz b/assets/index.28d45399.js.gz
deleted file mode 100644
index 7f018e8..0000000
Binary files a/assets/index.28d45399.js.gz and /dev/null differ
diff --git a/assets/index.b6a6f399.js b/assets/index.2d93226c.js
similarity index 89%
rename from assets/index.b6a6f399.js
rename to assets/index.2d93226c.js
index eccf551..a59177b 100644
--- a/assets/index.b6a6f399.js
+++ b/assets/index.2d93226c.js
@@ -1 +1 @@
-import{v as K,m as M,ak as H,_ as N}from"./index.c4ad0b59.js";/* empty css *//* empty css *//* empty css */import{d as F,r as S,c as L,bI as O,C as U,D as V,aI as s,aH as i,G as h,aN as u,aM as _,u as x,a6 as j,a$ as G,ba as J,bJ as W,bL as q}from"./arco.7f845a67.js";import{u as Q}from"./loading.1a4e75f4.js";import{e as b,a as y,u as v,b as g,h as w,g as X}from"./serial.c6b76da8.js";import{I as Y}from"./index.28d45399.js";import{M as Z,T as ee}from"./index.bf2a4f62.js";import{B as te}from"./index.b619bc90.js";import"./chart.95d38b48.js";import"./vue.0bef8fc5.js";import"./useConfig.72fe6f25.js";import"./useGlobalIcon.ac7d6aea.js";import"./helper.1bee26d0.js";import"./dep-6deb4e3a.e645a482.js";import"./dialog.e7296975.js";import"./index.afea8a64.js";import"./form-model.7158f1bf.js";import"./useDisabled.54b0051c.js";import"./slot.33f80bbb.js";const ae={class:"container"},oe={name:"Radio"},ne=F({...oe,setup(re){const{t:D}=K.exports.useI18n(),o=M(),{loading:P,setLoading:m}=Q(!1),a=S({renderData:Array.from({length:20}).map(t=>({})),pageSize:50,nowPage:1}),I=S({showHide:0}),C=t=>{a.renderData=t.newData},R=L(()=>[{colKey:"drag",title:D("cps.sort"),width:46},{title:"#",colKey:"index",align:"left",width:100},{title:D("cps.rx"),colKey:"rx",align:"left",width:200,cell:(t,{row:n})=>parseFloat(n.rx)?parseFloat(n.rx).toFixed(2):void 0,edit:{component:Y,props:{clearable:!0},onEdited:t=>{t.newRowData.rx=t.newRowData.rx?t.newRowData.rx:void 0;const n=[...a.renderData];n.splice((a.nowPage-1)*a.pageSize+t.rowIndex,1,t.newRowData),a.renderData=n}}},{title:D("cps.operate"),colKey:"operate",align:"left",width:150}]),z=async()=>{var t,n,l;if(o.connectState!=!0){alert(sessionStorage.getItem("noticeConnectK5"));return}if(await b(o.connectPort),m(!0),(t=o.configuration)!=null&&t.fm30){let c=new Uint8Array(60);for(let e=131008;e<131057;e+=8){const p=await y(o.connectPort,e,8,(n=o.configuration)==null?void 0:n.uart);c.set(p,e-131008)}const r=[];for(let e=0;e<60;e+=2){const p=v(c.subarray(e,e+2));p!="ffff"?r.push({rx:parseInt(p,16)/10}):r.push({})}a.renderData=r}else{let c=new Uint8Array(40);for(let e=3648;e<3681;e+=8){const p=await y(o.connectPort,e,8,(l=o.configuration)==null?void 0:l.uart);c.set(p,e-3648)}const r=[];for(let e=0;e<40;e+=2){const p=v(c.subarray(e,e+2));p!="ffff"?r.push({rx:parseInt(p,16)/10}):r.push({})}a.renderData=r}m(!1)},$=async()=>{var t,n,l,c,r;if(o.connectState!=!0){alert(sessionStorage.getItem("noticeConnectK5"));return}if(await b(o.connectPort),m(!0),(t=o.configuration)!=null&&t.fm30)for(let e=0;e<60;e+=2)a.renderData[e/2].rx?await g(o.connectPort,e+131008,w(parseInt(a.renderData[e/2].rx*10).toString(16).padStart(4,"0")),2,(n=o.configuration)==null?void 0:n.uart):await g(o.connectPort,e+131008,w("0000"),2,(l=o.configuration)==null?void 0:l.uart);else for(let e=0;e<40;e+=2)a.renderData[e/2].rx?await g(o.connectPort,e+3648,w(parseInt(a.renderData[e/2].rx*10).toString(16).padStart(4,"0")),2,(c=o.configuration)==null?void 0:c.uart):await g(o.connectPort,e+3648,w("0000"),2,(r=o.configuration)==null?void 0:r.uart);await X(o.connectPort),m(!1)},k=async t=>{const n=[...a.renderData];n.splice(t,1,{scanlist:[]}),a.renderData=n};return(t,n)=>{const l=H,c=j,r=G,e=J,p=W,A=q,B=te,T=ee,E=O;return U(),V("div",ae,[s(l,{items:[t.$t("menu.dashboard"),t.$t("menu.cps.radio")]},null,8,["items"]),s(E,{class:"general-card"},{title:i(()=>[h("span",{onClick:n[0]||(n[0]=()=>{I.showHide+=1})},u(t.$t("menu.cps.radio")+t.$t("global.onStart")),1)]),default:i(()=>[s(A,{style:{"margin-bottom":"16px"}},{default:i(()=>[s(p,{span:12},{default:i(()=>[s(e,null,{default:i(()=>[s(r,{type:"primary",onClick:z},{icon:i(()=>[s(c)]),default:i(()=>[_(" "+u(t.$t("cps.onDeviceRead")),1)]),_:1}),s(r,{onClick:$},{icon:i(()=>[s(c)]),default:i(()=>[_(" "+u(t.$t("cps.onDeviceWrite")),1)]),_:1})]),_:1})]),_:1})]),_:1}),s(T,{class:"ttable",loading:x(P),size:"medium",columns:R.value,data:a.renderData,pagination:{defaultPageSize:a.pageSize,total:a.renderData.length,defaultCurrent:1,pageSizeOptions:[15,30,50,100,200]},onChange:n[1]||(n[1]=d=>{a.pageSize=d.pagination.pageSize,a.nowPage=d.pagination.current}),bordered:"","lazy-load":"",headerAffixedTop:{offsetTop:60},hover:!0,"drag-sort":"row-handler",onDragSort:C},{drag:i(({row:d,rowIndex:f})=>[h("span",null,[s(x(Z))])]),index:i(({row:d,rowIndex:f})=>[_(u((a.nowPage-1)*a.pageSize+f+1),1)]),operate:i(({row:d,rowIndex:f})=>[s(B,{theme:"default",variant:"dashed",onClick:ie=>k((a.nowPage-1)*a.pageSize+f)},{default:i(()=>[_(u(t.$t("cps.clear")),1)]),_:2},1032,["onClick"])]),_:1},8,["loading","columns","data","pagination"])]),_:1})])}}});const Re=N(ne,[["__scopeId","data-v-be263a43"]]);export{Re as default};
+import{v as K,m as M,ak as H,_ as N}from"./index.bf86db92.js";/* empty css *//* empty css *//* empty css */import{d as F,r as S,c as L,bI as O,C as U,D as V,aI as s,aH as i,G as h,aN as u,aM as _,u as x,a6 as j,a$ as G,ba as J,bJ as W,bL as q}from"./arco.7f845a67.js";import{u as Q}from"./loading.1a4e75f4.js";import{e as b,a as y,u as v,b as g,h as w,g as X}from"./serial.c6b76da8.js";import{I as Y}from"./index.e1f67dfa.js";import{M as Z,T as ee}from"./index.46d58b56.js";import{B as te}from"./index.ae19f10d.js";import"./chart.95d38b48.js";import"./vue.0bef8fc5.js";import"./useConfig.20ad2f42.js";import"./useGlobalIcon.483a2e47.js";import"./helper.845cf099.js";import"./dep-6deb4e3a.c541a5a9.js";import"./dialog.aac16df3.js";import"./index.a7c1390c.js";import"./form-model.4939af32.js";import"./useDisabled.53ed762e.js";import"./slot.25997c5d.js";const ae={class:"container"},oe={name:"Radio"},ne=F({...oe,setup(re){const{t:D}=K.exports.useI18n(),o=M(),{loading:P,setLoading:m}=Q(!1),a=S({renderData:Array.from({length:20}).map(t=>({})),pageSize:50,nowPage:1}),I=S({showHide:0}),C=t=>{a.renderData=t.newData},R=L(()=>[{colKey:"drag",title:D("cps.sort"),width:46},{title:"#",colKey:"index",align:"left",width:100},{title:D("cps.rx"),colKey:"rx",align:"left",width:200,cell:(t,{row:n})=>parseFloat(n.rx)?parseFloat(n.rx).toFixed(2):void 0,edit:{component:Y,props:{clearable:!0},onEdited:t=>{t.newRowData.rx=t.newRowData.rx?t.newRowData.rx:void 0;const n=[...a.renderData];n.splice((a.nowPage-1)*a.pageSize+t.rowIndex,1,t.newRowData),a.renderData=n}}},{title:D("cps.operate"),colKey:"operate",align:"left",width:150}]),z=async()=>{var t,n,l;if(o.connectState!=!0){alert(sessionStorage.getItem("noticeConnectK5"));return}if(await b(o.connectPort),m(!0),(t=o.configuration)!=null&&t.fm30){let c=new Uint8Array(60);for(let e=131008;e<131057;e+=8){const p=await y(o.connectPort,e,8,(n=o.configuration)==null?void 0:n.uart);c.set(p,e-131008)}const r=[];for(let e=0;e<60;e+=2){const p=v(c.subarray(e,e+2));p!="ffff"?r.push({rx:parseInt(p,16)/10}):r.push({})}a.renderData=r}else{let c=new Uint8Array(40);for(let e=3648;e<3681;e+=8){const p=await y(o.connectPort,e,8,(l=o.configuration)==null?void 0:l.uart);c.set(p,e-3648)}const r=[];for(let e=0;e<40;e+=2){const p=v(c.subarray(e,e+2));p!="ffff"?r.push({rx:parseInt(p,16)/10}):r.push({})}a.renderData=r}m(!1)},$=async()=>{var t,n,l,c,r;if(o.connectState!=!0){alert(sessionStorage.getItem("noticeConnectK5"));return}if(await b(o.connectPort),m(!0),(t=o.configuration)!=null&&t.fm30)for(let e=0;e<60;e+=2)a.renderData[e/2].rx?await g(o.connectPort,e+131008,w(parseInt(a.renderData[e/2].rx*10).toString(16).padStart(4,"0")),2,(n=o.configuration)==null?void 0:n.uart):await g(o.connectPort,e+131008,w("0000"),2,(l=o.configuration)==null?void 0:l.uart);else for(let e=0;e<40;e+=2)a.renderData[e/2].rx?await g(o.connectPort,e+3648,w(parseInt(a.renderData[e/2].rx*10).toString(16).padStart(4,"0")),2,(c=o.configuration)==null?void 0:c.uart):await g(o.connectPort,e+3648,w("0000"),2,(r=o.configuration)==null?void 0:r.uart);await X(o.connectPort),m(!1)},k=async t=>{const n=[...a.renderData];n.splice(t,1,{scanlist:[]}),a.renderData=n};return(t,n)=>{const l=H,c=j,r=G,e=J,p=W,A=q,B=te,T=ee,E=O;return U(),V("div",ae,[s(l,{items:[t.$t("menu.dashboard"),t.$t("menu.cps.radio")]},null,8,["items"]),s(E,{class:"general-card"},{title:i(()=>[h("span",{onClick:n[0]||(n[0]=()=>{I.showHide+=1})},u(t.$t("menu.cps.radio")+t.$t("global.onStart")),1)]),default:i(()=>[s(A,{style:{"margin-bottom":"16px"}},{default:i(()=>[s(p,{span:12},{default:i(()=>[s(e,null,{default:i(()=>[s(r,{type:"primary",onClick:z},{icon:i(()=>[s(c)]),default:i(()=>[_(" "+u(t.$t("cps.onDeviceRead")),1)]),_:1}),s(r,{onClick:$},{icon:i(()=>[s(c)]),default:i(()=>[_(" "+u(t.$t("cps.onDeviceWrite")),1)]),_:1})]),_:1})]),_:1})]),_:1}),s(T,{class:"ttable",loading:x(P),size:"medium",columns:R.value,data:a.renderData,pagination:{defaultPageSize:a.pageSize,total:a.renderData.length,defaultCurrent:1,pageSizeOptions:[15,30,50,100,200]},onChange:n[1]||(n[1]=d=>{a.pageSize=d.pagination.pageSize,a.nowPage=d.pagination.current}),bordered:"","lazy-load":"",headerAffixedTop:{offsetTop:60},hover:!0,"drag-sort":"row-handler",onDragSort:C},{drag:i(({row:d,rowIndex:f})=>[h("span",null,[s(x(Z))])]),index:i(({row:d,rowIndex:f})=>[_(u((a.nowPage-1)*a.pageSize+f+1),1)]),operate:i(({row:d,rowIndex:f})=>[s(B,{theme:"default",variant:"dashed",onClick:ie=>k((a.nowPage-1)*a.pageSize+f)},{default:i(()=>[_(u(t.$t("cps.clear")),1)]),_:2},1032,["onClick"])]),_:1},8,["loading","columns","data","pagination"])]),_:1})])}}});const Re=N(ne,[["__scopeId","data-v-be263a43"]]);export{Re as default};
diff --git a/assets/index.2d93226c.js.gz b/assets/index.2d93226c.js.gz
new file mode 100644
index 0000000..7c91028
Binary files /dev/null and b/assets/index.2d93226c.js.gz differ
diff --git a/assets/index.f0fec80d.js b/assets/index.33d994c1.js
similarity index 93%
rename from assets/index.f0fec80d.js
rename to assets/index.33d994c1.js
index 8237220..786a85f 100644
--- a/assets/index.f0fec80d.js
+++ b/assets/index.33d994c1.js
@@ -1 +1 @@
-import{d as x,c as q,b5 as R,C as c,D as u,G as s,aI as e,aH as n,aK as D,aJ as E,aE as j,aN as r,b6 as z,f as A,r as G,b7 as H,b8 as J,b9 as K,ba as Q,bb as T,u as C,aM as f,a_ as W,bc as O,bd as X,a$ as Y,be as Z,bf as ee}from"./arco.7f845a67.js";import{F as oe}from"./index.2e69ccec.js";import{v as V,_ as k,u as se,I as ae,a as ne}from"./index.c4ad0b59.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{g as te,h as re}from"./vue.0bef8fc5.js";import{u as le}from"./loading.1a4e75f4.js";import"./index.e7c19b13.js";import"./useConfig.72fe6f25.js";import"./useDisabled.54b0051c.js";import"./index.3ca10597.js";import"./helper.1bee26d0.js";import"./slot.33f80bbb.js";import"./chart.95d38b48.js";const S=""+new URL("login-banner.426fb77f.png",import.meta.url).href,ie={class:"banner"},ce={class:"banner-inner"},de={class:"carousel-title"},_e={class:"carousel-sub-title"},me=["src"],ue=x({__name:"banner",setup(i){const{t}=V.exports.useI18n(),g=q(()=>[{slogan:t("login.banner.slogan1"),subSlogan:t("login.banner.subSlogan1"),image:S},{slogan:t("login.banner.slogan2"),subSlogan:t("login.banner.subSlogan2"),image:S},{slogan:t("login.banner.slogan3"),subSlogan:t("login.banner.subSlogan3"),image:S}]);return(b,v)=>{const p=z,h=R;return c(),u("div",ie,[s("div",ce,[e(h,{class:"carousel","animation-name":"fade"},{default:n(()=>[(c(!0),u(D,null,E(g.value,a=>(c(),j(p,{key:a.slogan},{default:n(()=>[(c(),u("div",{key:a.slogan,class:"carousel-item"},[s("div",de,r(a.slogan),1),s("div",_e,r(a.subSlogan),1),s("img",{class:"carousel-image",src:a.image},null,8,me)]))]),_:2},1024))),128))]),_:1})])])}}});const ge=k(ue,[["__scopeId","data-v-741ef175"]]),pe={class:"login-form-wrapper"},fe={class:"login-form-title"},be={class:"login-form-sub-title"},ve={class:"login-form-error-msg"},he={class:"login-form-password-actions"},we=x({__name:"login-form",setup(i){const t=te(),{t:g}=V.exports.useI18n(),b=A(""),{loading:v,setLoading:p}=le(),h=se(),a=re("login-config",{rememberPassword:!0,username:"admin",password:"admin"}),d=G({username:a.value.username,password:a.value.password}),F=async({errors:o,values:l})=>{if(!v.value&&!o){p(!0);try{await h.login(l);const{redirect:_,...w}=t.currentRoute.value.query;t.push({name:_||"Workplace",query:{...w}}),W.success(g("login.form.login.success"));const{rememberPassword:m}=a.value,{username:$,password:y}=l;a.value.username=m?$:"",a.value.password=m?y:""}catch(_){b.value=_.message}finally{p(!1)}}},L=o=>{a.value.rememberPassword=o};return(o,l)=>{const _=ae,w=H,m=O,$=ne,y=X,B=J,N=K,P=Y,M=Q,U=T;return c(),u("div",pe,[s("div",fe,r(o.$t("login.form.title")),1),s("div",be,r(o.$t("login.form.title")),1),s("div",ve,r(b.value),1),e(U,{ref:"loginForm",model:d,class:"login-form",layout:"vertical",onSubmit:F},{default:n(()=>[e(m,{field:"username",rules:[{required:!0,message:o.$t("login.form.userName.errMsg")}],"validate-trigger":["change","blur"],"hide-label":""},{default:n(()=>[e(w,{modelValue:d.username,"onUpdate:modelValue":l[0]||(l[0]=I=>d.username=I),placeholder:o.$t("login.form.userName.placeholder")},{prefix:n(()=>[e(_)]),_:1},8,["modelValue","placeholder"])]),_:1},8,["rules"]),e(m,{field:"password",rules:[{required:!0,message:o.$t("login.form.password.errMsg")}],"validate-trigger":["change","blur"],"hide-label":""},{default:n(()=>[e(y,{modelValue:d.password,"onUpdate:modelValue":l[1]||(l[1]=I=>d.password=I),placeholder:o.$t("login.form.password.placeholder"),"allow-clear":""},{prefix:n(()=>[e($)]),_:1},8,["modelValue","placeholder"])]),_:1},8,["rules"]),e(M,{size:16,direction:"vertical"},{default:n(()=>[s("div",he,[e(B,{checked:"rememberPassword","model-value":C(a).rememberPassword,onChange:L},{default:n(()=>[f(r(o.$t("login.form.rememberPassword")),1)]),_:1},8,["model-value","onChange"]),e(N,null,{default:n(()=>[f(r(o.$t("login.form.forgetPassword")),1)]),_:1})]),e(P,{type:"primary","html-type":"submit",long:"",loading:C(v)},{default:n(()=>[f(r(o.$t("login.form.login")),1)]),_:1},8,["loading"]),e(P,{type:"text",long:"",class:"login-form-register-btn"},{default:n(()=>[f(r(o.$t("login.form.register")),1)]),_:1})]),_:1})]),_:1},8,["model"])])}}});const $e=k(we,[["__scopeId","data-v-12db3177"]]),ye=i=>(Z("data-v-24cebde1"),i=i(),ee(),i),Ie={class:"container"},Se=ye(()=>s("div",{class:"logo"},[s("img",{alt:"logo",src:"//p3-armor.byteimg.com/tos-cn-i-49unhts6dw/dfdba5317c0c20ce20e64fac803d52bc.svg~tplv-49unhts6dw-image.image"}),s("div",{class:"logo-text"},"Arco Design Pro")],-1)),xe={class:"content"},ke={class:"content-inner"},Pe={class:"footer"},Ce=x({__name:"index",setup(i){return(t,g)=>(c(),u("div",Ie,[Se,e(ge),s("div",xe,[s("div",ke,[e($e)]),s("div",Pe,[e(oe)])])]))}});const Ke=k(Ce,[["__scopeId","data-v-24cebde1"]]);export{Ke as default};
+import{d as x,c as q,b5 as R,C as c,D as u,G as s,aI as e,aH as n,aK as D,aJ as E,aE as j,aN as r,b6 as z,f as A,r as G,b7 as H,b8 as J,b9 as K,ba as Q,bb as T,u as C,aM as f,a_ as W,bc as O,bd as X,a$ as Y,be as Z,bf as ee}from"./arco.7f845a67.js";import{F as oe}from"./index.645bd480.js";import{v as V,_ as k,u as se,I as ae,a as ne}from"./index.bf86db92.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{g as te,h as re}from"./vue.0bef8fc5.js";import{u as le}from"./loading.1a4e75f4.js";import"./index.08cf038d.js";import"./useConfig.20ad2f42.js";import"./useDisabled.53ed762e.js";import"./index.8c9418b6.js";import"./helper.845cf099.js";import"./slot.25997c5d.js";import"./chart.95d38b48.js";const S=""+new URL("login-banner.426fb77f.png",import.meta.url).href,ie={class:"banner"},ce={class:"banner-inner"},de={class:"carousel-title"},_e={class:"carousel-sub-title"},me=["src"],ue=x({__name:"banner",setup(i){const{t}=V.exports.useI18n(),g=q(()=>[{slogan:t("login.banner.slogan1"),subSlogan:t("login.banner.subSlogan1"),image:S},{slogan:t("login.banner.slogan2"),subSlogan:t("login.banner.subSlogan2"),image:S},{slogan:t("login.banner.slogan3"),subSlogan:t("login.banner.subSlogan3"),image:S}]);return(b,v)=>{const p=z,h=R;return c(),u("div",ie,[s("div",ce,[e(h,{class:"carousel","animation-name":"fade"},{default:n(()=>[(c(!0),u(D,null,E(g.value,a=>(c(),j(p,{key:a.slogan},{default:n(()=>[(c(),u("div",{key:a.slogan,class:"carousel-item"},[s("div",de,r(a.slogan),1),s("div",_e,r(a.subSlogan),1),s("img",{class:"carousel-image",src:a.image},null,8,me)]))]),_:2},1024))),128))]),_:1})])])}}});const ge=k(ue,[["__scopeId","data-v-741ef175"]]),pe={class:"login-form-wrapper"},fe={class:"login-form-title"},be={class:"login-form-sub-title"},ve={class:"login-form-error-msg"},he={class:"login-form-password-actions"},we=x({__name:"login-form",setup(i){const t=te(),{t:g}=V.exports.useI18n(),b=A(""),{loading:v,setLoading:p}=le(),h=se(),a=re("login-config",{rememberPassword:!0,username:"admin",password:"admin"}),d=G({username:a.value.username,password:a.value.password}),F=async({errors:o,values:l})=>{if(!v.value&&!o){p(!0);try{await h.login(l);const{redirect:_,...w}=t.currentRoute.value.query;t.push({name:_||"Workplace",query:{...w}}),W.success(g("login.form.login.success"));const{rememberPassword:m}=a.value,{username:$,password:y}=l;a.value.username=m?$:"",a.value.password=m?y:""}catch(_){b.value=_.message}finally{p(!1)}}},L=o=>{a.value.rememberPassword=o};return(o,l)=>{const _=ae,w=H,m=O,$=ne,y=X,B=J,N=K,P=Y,M=Q,U=T;return c(),u("div",pe,[s("div",fe,r(o.$t("login.form.title")),1),s("div",be,r(o.$t("login.form.title")),1),s("div",ve,r(b.value),1),e(U,{ref:"loginForm",model:d,class:"login-form",layout:"vertical",onSubmit:F},{default:n(()=>[e(m,{field:"username",rules:[{required:!0,message:o.$t("login.form.userName.errMsg")}],"validate-trigger":["change","blur"],"hide-label":""},{default:n(()=>[e(w,{modelValue:d.username,"onUpdate:modelValue":l[0]||(l[0]=I=>d.username=I),placeholder:o.$t("login.form.userName.placeholder")},{prefix:n(()=>[e(_)]),_:1},8,["modelValue","placeholder"])]),_:1},8,["rules"]),e(m,{field:"password",rules:[{required:!0,message:o.$t("login.form.password.errMsg")}],"validate-trigger":["change","blur"],"hide-label":""},{default:n(()=>[e(y,{modelValue:d.password,"onUpdate:modelValue":l[1]||(l[1]=I=>d.password=I),placeholder:o.$t("login.form.password.placeholder"),"allow-clear":""},{prefix:n(()=>[e($)]),_:1},8,["modelValue","placeholder"])]),_:1},8,["rules"]),e(M,{size:16,direction:"vertical"},{default:n(()=>[s("div",he,[e(B,{checked:"rememberPassword","model-value":C(a).rememberPassword,onChange:L},{default:n(()=>[f(r(o.$t("login.form.rememberPassword")),1)]),_:1},8,["model-value","onChange"]),e(N,null,{default:n(()=>[f(r(o.$t("login.form.forgetPassword")),1)]),_:1})]),e(P,{type:"primary","html-type":"submit",long:"",loading:C(v)},{default:n(()=>[f(r(o.$t("login.form.login")),1)]),_:1},8,["loading"]),e(P,{type:"text",long:"",class:"login-form-register-btn"},{default:n(()=>[f(r(o.$t("login.form.register")),1)]),_:1})]),_:1})]),_:1},8,["model"])])}}});const $e=k(we,[["__scopeId","data-v-12db3177"]]),ye=i=>(Z("data-v-24cebde1"),i=i(),ee(),i),Ie={class:"container"},Se=ye(()=>s("div",{class:"logo"},[s("img",{alt:"logo",src:"//p3-armor.byteimg.com/tos-cn-i-49unhts6dw/dfdba5317c0c20ce20e64fac803d52bc.svg~tplv-49unhts6dw-image.image"}),s("div",{class:"logo-text"},"Arco Design Pro")],-1)),xe={class:"content"},ke={class:"content-inner"},Pe={class:"footer"},Ce=x({__name:"index",setup(i){return(t,g)=>(c(),u("div",Ie,[Se,e(ge),s("div",xe,[s("div",ke,[e($e)]),s("div",Pe,[e(oe)])])]))}});const Ke=k(Ce,[["__scopeId","data-v-24cebde1"]]);export{Ke as default};
diff --git a/assets/index.33d994c1.js.gz b/assets/index.33d994c1.js.gz
new file mode 100644
index 0000000..d715afa
Binary files /dev/null and b/assets/index.33d994c1.js.gz differ
diff --git a/assets/index.c22427b4.js b/assets/index.398a9411.js
similarity index 88%
rename from assets/index.c22427b4.js
rename to assets/index.398a9411.js
index 4174899..3acdb3f 100644
--- a/assets/index.c22427b4.js
+++ b/assets/index.398a9411.js
@@ -1 +1 @@
-import{m as X,u as Y,E as f,ak as Z,_ as tt}from"./index.c4ad0b59.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{d as et,r as F,o as ot,bQ as at,bI as nt,C as p,D as g,aI as t,aH as e,G as c,u as m,aK as b,aM as l,aN as r,aJ as C,aE as B,a_ as E,b9 as st,bR as it,bS as lt,bJ as rt,bL as ut,be as dt,bf as pt}from"./arco.7f845a67.js";import{g as ct}from"./vue.0bef8fc5.js";import{R as mt,L as _t,a as ft,D as gt,T as wt,U as ht}from"./index.46dda06c.js";import{s as bt,P as yt}from"./dep-6deb4e3a.e645a482.js";import{B as kt}from"./index.b619bc90.js";import{L as At}from"./index.e7c19b13.js";import{I as vt}from"./index.28d45399.js";import{F as xt,a as Ft}from"./index.e2cc1822.js";import"./chart.95d38b48.js";import"./useGlobalIcon.ac7d6aea.js";import"./helper.1bee26d0.js";import"./useConfig.72fe6f25.js";import"./index.afea8a64.js";import"./dialog.e7296975.js";import"./slot.33f80bbb.js";import"./index.fc382d33.js";import"./index.3ca10597.js";import"./form-model.7158f1bf.js";import"./useDisabled.54b0051c.js";const Ct=w=>(dt("data-v-6a3d506b"),w=w(),pt(),w),Bt={class:"container"},Et={style:{"margin-right":"20px"}},Lt={style:{color:"#373737",margin:"10px"}},It={style:{display:"flex","align-items":"center","justify-content":"space-between"}},$t={style:{display:"flex",width:"100%"}},Ut={style:{width:"90%"}},Dt=Ct(()=>c("br",null,null,-1)),St={style:{width:"10%",margin:"auto","text-align":"center"}},Vt={name:"Backup"},Pt=et({...Vt,setup(w){X();const u=Y(),L=ct(),s=F({binaryFile:void 0,loading:!1,showPanel:!1,showUpload:!1,refLoading:!1,myList:[],total:0,page:1,nowpage:[]}),i=F({title:"",desc:"",firmware:[]});ot(async()=>{k({current:1})});const k=async a=>{s.page=a.current;const n=await f.get("https://k5.vicicode.com/wsapi/list?type=2&limit=12&page="+a.current+"&t="+Date.now());s.total=n.total,s.nowpage=n.data},_=async()=>{s.refLoading=!0,s.showPanel=!0;const a=await f.post("https://k5.vicicode.com/wsapi/my_list",{type:2,token:u.accountId});s.myList=a.data,s.refLoading=!1},I=()=>{i.title="",i.desc="",i.firmware=[],s.showUpload=!0},$=async()=>{if(i.title==""||i.firmware.length==0){E.error({content:"\u672A\u586B\u5199\u540D\u79F0\u53CA\u4E0A\u4F20\u6587\u4EF6",duration:5*1e3});return}await f.post("https://k5.vicicode.com/wsapi/upload",{type:2,token:u.accountId,title:i.title,desc:i.desc,data:i.firmware[0].url}),s.showUpload=!1,_()},U=async a=>{await f.post("https://k5.vicicode.com/wsapi/delete",{id:a,token:u.accountId}),_()},D=async a=>{await f.post("https://k5.vicicode.com/wsapi/star",{id:a}),E.success({content:"\u70B9\u8D5E\u6210\u529F",duration:5*1e3})},S=()=>{_()},V=a=>{L.push({path:"/chirp/channel",query:{url:a}})};return(a,n)=>{const P=Z,d=st,A=bt,R=it,z=lt,N=at,T=yt,M=nt,J=rt,j=ut,y=kt,q=At,G=_t,H=ft,v=gt,K=vt,h=xt,Q=wt,O=ht,W=Ft;return p(),g("div",Bt,[t(P,{items:[a.$t("menu.workshop"),a.$t("menu.channel")]},null,8,["items"]),t(j,{gutter:20,align:"stretch"},{default:e(()=>[t(J,{span:24},{default:e(()=>[t(M,{class:"general-card",title:a.$t("menu.channel")},{extra:e(()=>[c("div",Et,[m(u).name?(p(),g(b,{key:0},[t(d,{onClick:_},{default:e(()=>[l("\xA0\xA0"+r(m(u).name)+"\xA0\xA0",1)]),_:1}),t(d,{onClick:_},{default:e(()=>[l("\xA0\xA0"+r(a.$t("global.upload"))+"\xA0\xA0",1)]),_:1}),t(d,{onClick:n[0]||(n[0]=o=>m(u).logout())},{default:e(()=>[l("\xA0\xA0"+r(a.$t("global.logout"))+"\xA0\xA0",1)]),_:1})],64)):(p(),g(b,{key:1},[t(d,{onClick:n[1]||(n[1]=o=>m(u).setInfo({showLogin:!0}))},{default:e(()=>[l("\xA0\xA0"+r(a.$t("global.login"))+"\xA0\xA0",1)]),_:1}),t(d,{onClick:n[2]||(n[2]=o=>m(u).setInfo({showRegister:!0}))},{default:e(()=>[l("\xA0\xA0"+r(a.$t("global.register"))+"\xA0\xA0",1)]),_:1}),c("span",Lt,r(a.$t("global.loginUpload")),1)],64))])]),default:e(()=>[t(N,null,{default:e(()=>[(p(!0),g(b,null,C(s.nowpage,o=>(p(),B(z,{style:{width:"100%"}},{actions:e(()=>[t(d,{onClick:x=>D(o.id)},{default:e(()=>[l("\u{1F44D}")]),_:2},1032,["onClick"]),t(d,{onClick:x=>V("https://k5.vicicode.com/wsapi/download?id="+o.id)},{default:e(()=>[l(r(a.$t("global.use")),1)]),_:2},1032,["onClick"])]),default:e(()=>[t(R,{description:o.desc},{title:e(()=>[t(A,{theme:"primary",variant:"outline"},{default:e(()=>[l(r(o.upload),1)]),_:2},1024),l(" "+r(o.title),1)]),_:2},1032,["description"])]),_:2},1024))),256))]),_:1}),t(T,{onChange:k,style:{margin:"10px"},total:s.total,current:s.page,pageSize:12,showPageNumber:"",showPageSize:!1},null,8,["total","current"])]),_:1},8,["title"])]),_:1})]),_:1}),t(v,{visible:s.showPanel,"onUpdate:visible":n[3]||(n[3]=o=>s.showPanel=o),size:"50%",header:"\u6211\u7684\u5206\u4EAB",footer:!1},{default:e(()=>[c("div",It,[t(y,{style:{margin:"10px"},onClick:I},{default:e(()=>[l("\u4E0A\u4F20\u65B0\u5206\u4EAB")]),_:1}),t(y,{loading:s.refLoading,shape:"circle",theme:"outline",onClick:S},{icon:e(()=>[t(m(mt))]),_:1},8,["loading"])]),t(H,{split:!0},{default:e(()=>[(p(!0),g(b,null,C(s.myList,o=>(p(),B(G,null,{default:e(()=>[c("div",$t,[c("div",Ut,[t(A,{theme:"primary",variant:"outline"},{default:e(()=>[l(r(o.audit?"\u5DF2\u5BA1\u6838":"\u5BA1\u6838\u4E2D"),1)]),_:2},1024),l(" "+r(o.title)+" ",1),Dt,l(" "+r(o.desc),1)]),c("div",St,[t(q,{theme:"primary",hover:"color",onClick:x=>U(o.id)},{default:e(()=>[l("\u5220\u9664")]),_:2},1032,["onClick"])])])]),_:2},1024))),256))]),_:1})]),_:1},8,["visible"]),t(v,{visible:s.showUpload,"onUpdate:visible":n[7]||(n[7]=o=>s.showUpload=o),size:"25%",header:"\u4E0A\u4F20\u65B0\u56FA\u4EF6",footer:!1},{default:e(()=>[t(W,{data:i,"reset-type":"initial",colon:"",onSubmit:$},{default:e(()=>[t(h,{label:"\u5206\u4EAB\u540D\u79F0",name:"title","label-align":"top"},{default:e(()=>[t(K,{modelValue:i.title,"onUpdate:modelValue":n[4]||(n[4]=o=>i.title=o)},null,8,["modelValue"])]),_:1}),t(h,{label:"\u5206\u4EAB\u63CF\u8FF0",name:"desc","label-align":"top"},{default:e(()=>[t(Q,{autosize:{minRows:5,maxRows:10},modelValue:i.desc,"onUpdate:modelValue":n[5]||(n[5]=o=>i.desc=o),clearable:""},null,8,["modelValue"])]),_:1}),t(h,{label:"\u4FE1\u9053\u6587\u4EF6",name:"firmware","label-align":"top"},{default:e(()=>[t(O,{modelValue:i.firmware,"onUpdate:modelValue":n[6]||(n[6]=o=>i.firmware=o),action:"https://k5.vicicode.com/wsapi/base64","abridge-name":[8,6],theme:"file-input",placeholder:"\u672A\u9009\u62E9\u6587\u4EF6"},null,8,["modelValue"])]),_:1}),t(h,{"label-align":"top"},{default:e(()=>[t(y,{theme:"primary",type:"submit",block:""},{default:e(()=>[l("\u63D0\u4EA4\u5BA1\u6838")]),_:1})]),_:1})]),_:1},8,["data"])]),_:1},8,["visible"])])}}});const pe=tt(Pt,[["__scopeId","data-v-6a3d506b"]]);export{pe as default};
+import{m as X,u as Y,E as f,ak as Z,_ as tt}from"./index.bf86db92.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{d as et,r as F,o as ot,bQ as at,bI as nt,C as p,D as g,aI as t,aH as e,G as c,u as m,aK as b,aM as l,aN as r,aJ as C,aE as B,a_ as E,b9 as st,bR as it,bS as lt,bJ as rt,bL as ut,be as dt,bf as pt}from"./arco.7f845a67.js";import{g as ct}from"./vue.0bef8fc5.js";import{R as mt,L as _t,a as ft,D as gt,T as wt,U as ht}from"./index.69fbb570.js";import{s as bt,P as yt}from"./dep-6deb4e3a.c541a5a9.js";import{B as kt}from"./index.ae19f10d.js";import{L as At}from"./index.08cf038d.js";import{I as vt}from"./index.e1f67dfa.js";import{F as xt,a as Ft}from"./index.b441bfa0.js";import"./chart.95d38b48.js";import"./useGlobalIcon.483a2e47.js";import"./helper.845cf099.js";import"./useConfig.20ad2f42.js";import"./index.a7c1390c.js";import"./dialog.aac16df3.js";import"./slot.25997c5d.js";import"./index.7894d3b8.js";import"./index.8c9418b6.js";import"./form-model.4939af32.js";import"./useDisabled.53ed762e.js";const Ct=w=>(dt("data-v-6a3d506b"),w=w(),pt(),w),Bt={class:"container"},Et={style:{"margin-right":"20px"}},Lt={style:{color:"#373737",margin:"10px"}},It={style:{display:"flex","align-items":"center","justify-content":"space-between"}},$t={style:{display:"flex",width:"100%"}},Ut={style:{width:"90%"}},Dt=Ct(()=>c("br",null,null,-1)),St={style:{width:"10%",margin:"auto","text-align":"center"}},Vt={name:"Backup"},Pt=et({...Vt,setup(w){X();const u=Y(),L=ct(),s=F({binaryFile:void 0,loading:!1,showPanel:!1,showUpload:!1,refLoading:!1,myList:[],total:0,page:1,nowpage:[]}),i=F({title:"",desc:"",firmware:[]});ot(async()=>{k({current:1})});const k=async a=>{s.page=a.current;const n=await f.get("https://k5.vicicode.com/wsapi/list?type=2&limit=12&page="+a.current+"&t="+Date.now());s.total=n.total,s.nowpage=n.data},_=async()=>{s.refLoading=!0,s.showPanel=!0;const a=await f.post("https://k5.vicicode.com/wsapi/my_list",{type:2,token:u.accountId});s.myList=a.data,s.refLoading=!1},I=()=>{i.title="",i.desc="",i.firmware=[],s.showUpload=!0},$=async()=>{if(i.title==""||i.firmware.length==0){E.error({content:"\u672A\u586B\u5199\u540D\u79F0\u53CA\u4E0A\u4F20\u6587\u4EF6",duration:5*1e3});return}await f.post("https://k5.vicicode.com/wsapi/upload",{type:2,token:u.accountId,title:i.title,desc:i.desc,data:i.firmware[0].url}),s.showUpload=!1,_()},U=async a=>{await f.post("https://k5.vicicode.com/wsapi/delete",{id:a,token:u.accountId}),_()},D=async a=>{await f.post("https://k5.vicicode.com/wsapi/star",{id:a}),E.success({content:"\u70B9\u8D5E\u6210\u529F",duration:5*1e3})},S=()=>{_()},V=a=>{L.push({path:"/chirp/channel",query:{url:a}})};return(a,n)=>{const P=Z,d=st,A=bt,R=it,z=lt,N=at,T=yt,M=nt,J=rt,j=ut,y=kt,q=At,G=_t,H=ft,v=gt,K=vt,h=xt,Q=wt,O=ht,W=Ft;return p(),g("div",Bt,[t(P,{items:[a.$t("menu.workshop"),a.$t("menu.channel")]},null,8,["items"]),t(j,{gutter:20,align:"stretch"},{default:e(()=>[t(J,{span:24},{default:e(()=>[t(M,{class:"general-card",title:a.$t("menu.channel")},{extra:e(()=>[c("div",Et,[m(u).name?(p(),g(b,{key:0},[t(d,{onClick:_},{default:e(()=>[l("\xA0\xA0"+r(m(u).name)+"\xA0\xA0",1)]),_:1}),t(d,{onClick:_},{default:e(()=>[l("\xA0\xA0"+r(a.$t("global.upload"))+"\xA0\xA0",1)]),_:1}),t(d,{onClick:n[0]||(n[0]=o=>m(u).logout())},{default:e(()=>[l("\xA0\xA0"+r(a.$t("global.logout"))+"\xA0\xA0",1)]),_:1})],64)):(p(),g(b,{key:1},[t(d,{onClick:n[1]||(n[1]=o=>m(u).setInfo({showLogin:!0}))},{default:e(()=>[l("\xA0\xA0"+r(a.$t("global.login"))+"\xA0\xA0",1)]),_:1}),t(d,{onClick:n[2]||(n[2]=o=>m(u).setInfo({showRegister:!0}))},{default:e(()=>[l("\xA0\xA0"+r(a.$t("global.register"))+"\xA0\xA0",1)]),_:1}),c("span",Lt,r(a.$t("global.loginUpload")),1)],64))])]),default:e(()=>[t(N,null,{default:e(()=>[(p(!0),g(b,null,C(s.nowpage,o=>(p(),B(z,{style:{width:"100%"}},{actions:e(()=>[t(d,{onClick:x=>D(o.id)},{default:e(()=>[l("\u{1F44D}")]),_:2},1032,["onClick"]),t(d,{onClick:x=>V("https://k5.vicicode.com/wsapi/download?id="+o.id)},{default:e(()=>[l(r(a.$t("global.use")),1)]),_:2},1032,["onClick"])]),default:e(()=>[t(R,{description:o.desc},{title:e(()=>[t(A,{theme:"primary",variant:"outline"},{default:e(()=>[l(r(o.upload),1)]),_:2},1024),l(" "+r(o.title),1)]),_:2},1032,["description"])]),_:2},1024))),256))]),_:1}),t(T,{onChange:k,style:{margin:"10px"},total:s.total,current:s.page,pageSize:12,showPageNumber:"",showPageSize:!1},null,8,["total","current"])]),_:1},8,["title"])]),_:1})]),_:1}),t(v,{visible:s.showPanel,"onUpdate:visible":n[3]||(n[3]=o=>s.showPanel=o),size:"50%",header:"\u6211\u7684\u5206\u4EAB",footer:!1},{default:e(()=>[c("div",It,[t(y,{style:{margin:"10px"},onClick:I},{default:e(()=>[l("\u4E0A\u4F20\u65B0\u5206\u4EAB")]),_:1}),t(y,{loading:s.refLoading,shape:"circle",theme:"outline",onClick:S},{icon:e(()=>[t(m(mt))]),_:1},8,["loading"])]),t(H,{split:!0},{default:e(()=>[(p(!0),g(b,null,C(s.myList,o=>(p(),B(G,null,{default:e(()=>[c("div",$t,[c("div",Ut,[t(A,{theme:"primary",variant:"outline"},{default:e(()=>[l(r(o.audit?"\u5DF2\u5BA1\u6838":"\u5BA1\u6838\u4E2D"),1)]),_:2},1024),l(" "+r(o.title)+" ",1),Dt,l(" "+r(o.desc),1)]),c("div",St,[t(q,{theme:"primary",hover:"color",onClick:x=>U(o.id)},{default:e(()=>[l("\u5220\u9664")]),_:2},1032,["onClick"])])])]),_:2},1024))),256))]),_:1})]),_:1},8,["visible"]),t(v,{visible:s.showUpload,"onUpdate:visible":n[7]||(n[7]=o=>s.showUpload=o),size:"25%",header:"\u4E0A\u4F20\u65B0\u56FA\u4EF6",footer:!1},{default:e(()=>[t(W,{data:i,"reset-type":"initial",colon:"",onSubmit:$},{default:e(()=>[t(h,{label:"\u5206\u4EAB\u540D\u79F0",name:"title","label-align":"top"},{default:e(()=>[t(K,{modelValue:i.title,"onUpdate:modelValue":n[4]||(n[4]=o=>i.title=o)},null,8,["modelValue"])]),_:1}),t(h,{label:"\u5206\u4EAB\u63CF\u8FF0",name:"desc","label-align":"top"},{default:e(()=>[t(Q,{autosize:{minRows:5,maxRows:10},modelValue:i.desc,"onUpdate:modelValue":n[5]||(n[5]=o=>i.desc=o),clearable:""},null,8,["modelValue"])]),_:1}),t(h,{label:"\u4FE1\u9053\u6587\u4EF6",name:"firmware","label-align":"top"},{default:e(()=>[t(O,{modelValue:i.firmware,"onUpdate:modelValue":n[6]||(n[6]=o=>i.firmware=o),action:"https://k5.vicicode.com/wsapi/base64","abridge-name":[8,6],theme:"file-input",placeholder:"\u672A\u9009\u62E9\u6587\u4EF6"},null,8,["modelValue"])]),_:1}),t(h,{"label-align":"top"},{default:e(()=>[t(y,{theme:"primary",type:"submit",block:""},{default:e(()=>[l("\u63D0\u4EA4\u5BA1\u6838")]),_:1})]),_:1})]),_:1},8,["data"])]),_:1},8,["visible"])])}}});const pe=tt(Pt,[["__scopeId","data-v-6a3d506b"]]);export{pe as default};
diff --git a/assets/index.398a9411.js.gz b/assets/index.398a9411.js.gz
new file mode 100644
index 0000000..c00e8e0
Binary files /dev/null and b/assets/index.398a9411.js.gz differ
diff --git a/assets/index.bf837550.js b/assets/index.39e0f04f.js
similarity index 94%
rename from assets/index.bf837550.js
rename to assets/index.39e0f04f.js
index 5fc596b..b13f1ad 100644
--- a/assets/index.bf837550.js
+++ b/assets/index.39e0f04f.js
@@ -1 +1 @@
-import{d as G,r as j,bI as q,C as L,aE as Z,aH as n,aI as a,aM as o,aN as l,u as d,bg as X,bh as Y,G as r,bq as tt,bJ as ot,bG as at,a$ as nt,ba as et,bK as ut,be as rt,bf as ct,D as it}from"./arco.7f845a67.js";import{v as st,m as lt,_ as K}from"./index.c4ad0b59.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{e as _t,a as i,b as s}from"./serial.c6b76da8.js";import{L as pt}from"./index.e7c19b13.js";import"./chart.95d38b48.js";import"./vue.0bef8fc5.js";import"./useConfig.72fe6f25.js";import"./useDisabled.54b0051c.js";const dt=""+new URL("../gy.png",import.meta.url).href,m=f=>(rt("data-v-6821f1f8"),f=f(),ct(),f),mt=m(()=>r("br",null,null,-1)),ft=m(()=>r("br",null,null,-1)),ht=m(()=>r("br",null,null,-1)),gt=m(()=>r("br",null,null,-1)),wt=m(()=>r("br",null,null,-1)),Ft=m(()=>r("br",null,null,-1)),bt=m(()=>r("img",{class:"tencent",style:{"margin-bottom":"10px"},width:"200px",src:dt},null,-1)),kt=G({__name:"banner",setup(f){const{t:c}=st.exports.useI18n(),t=lt(),y=j({eepromSize:c("workplace.clickCheck")}),O=async()=>{var h,F,b,k,B,p,_,g,w,C,P,A,M,D,x,$,I,z,V,T,N;let e=c("workplace.unk");const E=[Math.round(Math.random()*256),Math.round(Math.random()*256),Math.round(Math.random()*256),Math.round(Math.random()*256),Math.round(Math.random()*256),Math.round(Math.random()*256),Math.round(Math.random()*256),Math.round(Math.random()*256)];await _t(t.connectPort);const u=new Uint8Array(E);if(((h=t.configuration)==null?void 0:h.uart)=="official"){const S=await i(t.connectPort,0,8,(F=t.configuration)==null?void 0:F.uart);await s(t.connectPort,0,u,8,(b=t.configuration)==null?void 0:b.uart);const v=await i(t.connectPort,0,8,(k=t.configuration)==null?void 0:k.uart);u.toString()==v.toString()&&(e=c("global.8kb")),await s(t.connectPort,0,S,8,(B=t.configuration)==null?void 0:B.uart)}else{const S=await i(t.connectPort,0,8,(p=t.configuration)==null?void 0:p.uart);await s(t.connectPort,0,u,8,(_=t.configuration)==null?void 0:_.uart);const v=await i(t.connectPort,0,8,(g=t.configuration)==null?void 0:g.uart);u.toString()==v.toString()&&(e=c("global.8kb")),await s(t.connectPort,0,S,8,(w=t.configuration)==null?void 0:w.uart);const Q=await i(t.connectPort,131064,8,(C=t.configuration)==null?void 0:C.uart);await s(t.connectPort,131064,u,8,(P=t.configuration)==null?void 0:P.uart);const U=await i(t.connectPort,131064,8,(A=t.configuration)==null?void 0:A.uart);u.toString()==U.toString()&&(e=c("global.128kb")),await s(t.connectPort,131064,Q,8,(M=t.configuration)==null?void 0:M.uart);const H=await i(t.connectPort,262136,8,(D=t.configuration)==null?void 0:D.uart);await s(t.connectPort,262136,u,8,(x=t.configuration)==null?void 0:x.uart);const J=await i(t.connectPort,262136,8,($=t.configuration)==null?void 0:$.uart);u.toString()==J.toString()&&(e=c("global.256kb")),await s(t.connectPort,262136,H,8,(I=t.configuration)==null?void 0:I.uart);const R=await i(t.connectPort,524280,8,(z=t.configuration)==null?void 0:z.uart);await s(t.connectPort,524280,u,8,(V=t.configuration)==null?void 0:V.uart);const W=await i(t.connectPort,524280,8,(T=t.configuration)==null?void 0:T.uart);u.toString()==W.toString()&&(e=c("global.512kb")),await s(t.connectPort,524280,R,8,(N=t.configuration)==null?void 0:N.uart)}y.eepromSize=e};return(e,E)=>{const u=tt,h=ot,F=at,b=nt,k=q,B=et,p=pt,_=ut;return L(),Z(h,{class:"banner"},{default:n(()=>[a(h,null,{default:n(()=>[a(u,{heading:5,style:{"margin-top":"0"}},{default:n(()=>[o(l(d(t).connectState?e.$t("workplace.welcomeSuc"):e.$t("workplace.welcome")),1)]),_:1})]),_:1}),a(F,{class:"panel-border"}),a(B,null,{default:n(()=>[X(a(k,{style:{marginTop:"2em",marginBottom:"2em"},title:e.$t("workplace.info")},{default:n(()=>{var g,w;return[o(l(e.$t("workplace.current"))+l(d(t).firmwareVersion)+" ",1),mt,o(" "+l(e.$t("workplace.writeconfig"))+l((g=d(t).configuration)==null?void 0:g.name)+" ",1),ft,o(" "+l(e.$t("workplace.eepromSize"))+l(y.eepromSize)+" "+l(y.eepromSize!=d(c)("workplace.clickCheck")&&((w=d(t).configuration)==null?void 0:w.uart)=="official"?d(c)("workplace.clickNotice"):"")+" ",1),a(b,{size:"mini",type:"primary",onClick:O},{default:n(()=>[o(l(e.$t("workplace.checkIt")),1)]),_:1})]}),_:1},8,["title"]),[[Y,d(t).connectState]])]),_:1}),r("div",null,[a(u,{heading:5},{default:n(()=>[o("\u8BF4\u660E\uFF1A")]),_:1}),a(_,null,{default:n(()=>[o("\u25C6 \u4F7F\u7528\u5E94\u7B2C\u4E00\u65F6\u95F4"),a(p,{theme:"primary",href:"/#/tool/backup"},{default:n(()=>[o("\u5907\u4EFD")]),_:1}),o("\u914D\u7F6E\u53CA\u6821\u51C6\u6570\u636E\u3002")]),_:1}),ht,a(_,null,{default:n(()=>[o("\u25C6 \u9664\u201C\u56FA\u4EF6\u5347\u7EA7\u201D\u529F\u80FD\u624B\u53F0\u5E94\u5904\u4E8E\u5237\u673A\u6A21\u5F0F\u70B9\u51FB\u66F4\u65B0\u6309\u94AE\u9009\u62E9\u8BBE\u5907\u66F4\u65B0\uFF0C\u5176\u4F59\u529F\u80FD\u624B\u53F0\u5747\u9700\u8981\u5728\u6B63\u5E38\u6A21\u5F0F\u8FDE\u63A5\u3002")]),_:1}),gt,a(_,null,{default:n(()=>[o("\u25C6 \u841D\u535C\uFF08LOSEHU\uFF09\u56FA\u4EF6\u76F8\u5173\u95EE\u9898\u8BF7\u79FB\u6B65\uFF1A"),a(p,{theme:"primary",href:"https://github.com/losehu/uv-k5-firmware-custom",target:"_blank"},{default:n(()=>[o("https://github.com/losehu/uv-k5-firmware-custom")]),_:1}),o(" \u3002")]),_:1}),wt,a(_,null,{default:n(()=>[o("\u25C6 K5Web \u4F7F\u7528\u89C6\u9891\u6559\u7A0B\uFF08BG7QJV\uFF09\uFF1A"),a(p,{theme:"primary",href:"https://www.douyin.com/video/7378314511419313458",target:"_blank"},{default:n(()=>[o("https://www.douyin.com/video/7378314511419313458")]),_:1}),o(" \u3002")]),_:1}),Ft,a(_,null,{default:n(()=>[o("\u25C6 K5Web \u4F7F\u7528\u89C6\u9891\u6559\u7A0B\uFF08BG3ODZ\uFF09\uFF1A"),a(p,{theme:"primary",href:"https://www.bilibili.com/video/BV1Q4421D75x",target:"_blank"},{default:n(()=>[o("https://www.bilibili.com/video/BV1Q4421D75x")]),_:1}),o(" \u3002")]),_:1})]),r("div",null,[a(u,{heading:5},{default:n(()=>[o("\u5E0C\u671B\u5DE5\u7A0B1+1\u52A9\u5B66\u884C\u52A8\uFF1A")]),_:1}),bt])]),_:1})}}});const Bt=K(kt,[["__scopeId","data-v-6821f1f8"]]),yt={class:"container"},St={class:"left-side"},vt={class:"panel"},Et={name:"Dashboard"},Ct=G({...Et,setup(f){return(c,t)=>(L(),it("div",yt,[r("div",St,[r("div",vt,[a(Bt)])])]))}});const Ot=K(Ct,[["__scopeId","data-v-8f743d99"]]);export{Ot as default};
+import{d as G,r as j,bI as q,C as L,aE as Z,aH as n,aI as a,aM as o,aN as l,u as d,bg as X,bh as Y,G as r,bq as tt,bJ as ot,bG as at,a$ as nt,ba as et,bK as ut,be as rt,bf as ct,D as it}from"./arco.7f845a67.js";import{v as st,m as lt,_ as K}from"./index.bf86db92.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{e as _t,a as i,b as s}from"./serial.c6b76da8.js";import{L as pt}from"./index.08cf038d.js";import"./chart.95d38b48.js";import"./vue.0bef8fc5.js";import"./useConfig.20ad2f42.js";import"./useDisabled.53ed762e.js";const dt=""+new URL("../gy.png",import.meta.url).href,m=f=>(rt("data-v-6821f1f8"),f=f(),ct(),f),mt=m(()=>r("br",null,null,-1)),ft=m(()=>r("br",null,null,-1)),ht=m(()=>r("br",null,null,-1)),gt=m(()=>r("br",null,null,-1)),wt=m(()=>r("br",null,null,-1)),Ft=m(()=>r("br",null,null,-1)),bt=m(()=>r("img",{class:"tencent",style:{"margin-bottom":"10px"},width:"200px",src:dt},null,-1)),kt=G({__name:"banner",setup(f){const{t:c}=st.exports.useI18n(),t=lt(),y=j({eepromSize:c("workplace.clickCheck")}),O=async()=>{var h,F,b,k,B,p,_,g,w,C,P,A,M,D,x,$,I,z,V,T,N;let e=c("workplace.unk");const E=[Math.round(Math.random()*256),Math.round(Math.random()*256),Math.round(Math.random()*256),Math.round(Math.random()*256),Math.round(Math.random()*256),Math.round(Math.random()*256),Math.round(Math.random()*256),Math.round(Math.random()*256)];await _t(t.connectPort);const u=new Uint8Array(E);if(((h=t.configuration)==null?void 0:h.uart)=="official"){const S=await i(t.connectPort,0,8,(F=t.configuration)==null?void 0:F.uart);await s(t.connectPort,0,u,8,(b=t.configuration)==null?void 0:b.uart);const v=await i(t.connectPort,0,8,(k=t.configuration)==null?void 0:k.uart);u.toString()==v.toString()&&(e=c("global.8kb")),await s(t.connectPort,0,S,8,(B=t.configuration)==null?void 0:B.uart)}else{const S=await i(t.connectPort,0,8,(p=t.configuration)==null?void 0:p.uart);await s(t.connectPort,0,u,8,(_=t.configuration)==null?void 0:_.uart);const v=await i(t.connectPort,0,8,(g=t.configuration)==null?void 0:g.uart);u.toString()==v.toString()&&(e=c("global.8kb")),await s(t.connectPort,0,S,8,(w=t.configuration)==null?void 0:w.uart);const Q=await i(t.connectPort,131064,8,(C=t.configuration)==null?void 0:C.uart);await s(t.connectPort,131064,u,8,(P=t.configuration)==null?void 0:P.uart);const U=await i(t.connectPort,131064,8,(A=t.configuration)==null?void 0:A.uart);u.toString()==U.toString()&&(e=c("global.128kb")),await s(t.connectPort,131064,Q,8,(M=t.configuration)==null?void 0:M.uart);const H=await i(t.connectPort,262136,8,(D=t.configuration)==null?void 0:D.uart);await s(t.connectPort,262136,u,8,(x=t.configuration)==null?void 0:x.uart);const J=await i(t.connectPort,262136,8,($=t.configuration)==null?void 0:$.uart);u.toString()==J.toString()&&(e=c("global.256kb")),await s(t.connectPort,262136,H,8,(I=t.configuration)==null?void 0:I.uart);const R=await i(t.connectPort,524280,8,(z=t.configuration)==null?void 0:z.uart);await s(t.connectPort,524280,u,8,(V=t.configuration)==null?void 0:V.uart);const W=await i(t.connectPort,524280,8,(T=t.configuration)==null?void 0:T.uart);u.toString()==W.toString()&&(e=c("global.512kb")),await s(t.connectPort,524280,R,8,(N=t.configuration)==null?void 0:N.uart)}y.eepromSize=e};return(e,E)=>{const u=tt,h=ot,F=at,b=nt,k=q,B=et,p=pt,_=ut;return L(),Z(h,{class:"banner"},{default:n(()=>[a(h,null,{default:n(()=>[a(u,{heading:5,style:{"margin-top":"0"}},{default:n(()=>[o(l(d(t).connectState?e.$t("workplace.welcomeSuc"):e.$t("workplace.welcome")),1)]),_:1})]),_:1}),a(F,{class:"panel-border"}),a(B,null,{default:n(()=>[X(a(k,{style:{marginTop:"2em",marginBottom:"2em"},title:e.$t("workplace.info")},{default:n(()=>{var g,w;return[o(l(e.$t("workplace.current"))+l(d(t).firmwareVersion)+" ",1),mt,o(" "+l(e.$t("workplace.writeconfig"))+l((g=d(t).configuration)==null?void 0:g.name)+" ",1),ft,o(" "+l(e.$t("workplace.eepromSize"))+l(y.eepromSize)+" "+l(y.eepromSize!=d(c)("workplace.clickCheck")&&((w=d(t).configuration)==null?void 0:w.uart)=="official"?d(c)("workplace.clickNotice"):"")+" ",1),a(b,{size:"mini",type:"primary",onClick:O},{default:n(()=>[o(l(e.$t("workplace.checkIt")),1)]),_:1})]}),_:1},8,["title"]),[[Y,d(t).connectState]])]),_:1}),r("div",null,[a(u,{heading:5},{default:n(()=>[o("\u8BF4\u660E\uFF1A")]),_:1}),a(_,null,{default:n(()=>[o("\u25C6 \u4F7F\u7528\u5E94\u7B2C\u4E00\u65F6\u95F4"),a(p,{theme:"primary",href:"/#/tool/backup"},{default:n(()=>[o("\u5907\u4EFD")]),_:1}),o("\u914D\u7F6E\u53CA\u6821\u51C6\u6570\u636E\u3002")]),_:1}),ht,a(_,null,{default:n(()=>[o("\u25C6 \u9664\u201C\u56FA\u4EF6\u5347\u7EA7\u201D\u529F\u80FD\u624B\u53F0\u5E94\u5904\u4E8E\u5237\u673A\u6A21\u5F0F\u70B9\u51FB\u66F4\u65B0\u6309\u94AE\u9009\u62E9\u8BBE\u5907\u66F4\u65B0\uFF0C\u5176\u4F59\u529F\u80FD\u624B\u53F0\u5747\u9700\u8981\u5728\u6B63\u5E38\u6A21\u5F0F\u8FDE\u63A5\u3002")]),_:1}),gt,a(_,null,{default:n(()=>[o("\u25C6 \u841D\u535C\uFF08LOSEHU\uFF09\u56FA\u4EF6\u76F8\u5173\u95EE\u9898\u8BF7\u79FB\u6B65\uFF1A"),a(p,{theme:"primary",href:"https://github.com/losehu/uv-k5-firmware-custom",target:"_blank"},{default:n(()=>[o("https://github.com/losehu/uv-k5-firmware-custom")]),_:1}),o(" \u3002")]),_:1}),wt,a(_,null,{default:n(()=>[o("\u25C6 K5Web \u4F7F\u7528\u89C6\u9891\u6559\u7A0B\uFF08BG7QJV\uFF09\uFF1A"),a(p,{theme:"primary",href:"https://www.douyin.com/video/7378314511419313458",target:"_blank"},{default:n(()=>[o("https://www.douyin.com/video/7378314511419313458")]),_:1}),o(" \u3002")]),_:1}),Ft,a(_,null,{default:n(()=>[o("\u25C6 K5Web \u4F7F\u7528\u89C6\u9891\u6559\u7A0B\uFF08BG3ODZ\uFF09\uFF1A"),a(p,{theme:"primary",href:"https://www.bilibili.com/video/BV1Q4421D75x",target:"_blank"},{default:n(()=>[o("https://www.bilibili.com/video/BV1Q4421D75x")]),_:1}),o(" \u3002")]),_:1})]),r("div",null,[a(u,{heading:5},{default:n(()=>[o("\u5E0C\u671B\u5DE5\u7A0B1+1\u52A9\u5B66\u884C\u52A8\uFF1A")]),_:1}),bt])]),_:1})}}});const Bt=K(kt,[["__scopeId","data-v-6821f1f8"]]),yt={class:"container"},St={class:"left-side"},vt={class:"panel"},Et={name:"Dashboard"},Ct=G({...Et,setup(f){return(c,t)=>(L(),it("div",yt,[r("div",St,[r("div",vt,[a(Bt)])])]))}});const Ot=K(Ct,[["__scopeId","data-v-8f743d99"]]);export{Ot as default};
diff --git a/assets/index.39e0f04f.js.gz b/assets/index.39e0f04f.js.gz
new file mode 100644
index 0000000..390fa39
Binary files /dev/null and b/assets/index.39e0f04f.js.gz differ
diff --git a/assets/index.3ca10597.js.gz b/assets/index.3ca10597.js.gz
deleted file mode 100644
index e2b5b5f..0000000
Binary files a/assets/index.3ca10597.js.gz and /dev/null differ
diff --git a/assets/index.bf2a4f62.js b/assets/index.46d58b56.js
similarity index 99%
rename from assets/index.bf2a4f62.js
rename to assets/index.46d58b56.js
index a8bb89e..529decb 100644
--- a/assets/index.bf2a4f62.js
+++ b/assets/index.46d58b56.js
@@ -1,4 +1,4 @@
-import{u as un,r as sn,_ as cn,a as En}from"./useGlobalIcon.ac7d6aea.js";import{d as Ne,c as N,f as H,w as ve,o as ht,bN as zl,bO as Hl,b as Da,aI as L,n as It,t as Ie,i as wr,bC as Ke,bv as Wl,u as $l,x as Vl,y as Ul,bt as Io,p as Lo,r as Xn,h as Ge,aU as dn,b4 as Xl,bD as Gl,g as ko,s as ql}from"./arco.7f845a67.js";import{c as qt,J as Re,w as Yt,T as Yl,an as Jl,e as Lt,b as No,ap as Gn,ae as Zl,f as dt,aq as Ql,am as ei,ar as ti,ao as ni,d as gt,G as Ga,as as yr,at as ai,i as Fa,K as ri,H as ir}from"./index.c4ad0b59.js";import{_ as Pe,i as Mo,c as qa}from"./helper.1bee26d0.js";import{u as kt,b as de,a as Bo,_ as z}from"./useConfig.72fe6f25.js";import{_ as zo,b as Ho,o as Wo,c as Cr,t as oi,d as ur,T as $o,p as Cn,P as li,e as Vo,u as ii,f as Nt,A as Uo,g as Xo,h as Ya,i as xr,E as Go,j as qo,k as Yo,l as ui,m as ba,C as Ja,a as Jo,n as si,q as ci,r as di}from"./dep-6deb4e3a.e645a482.js";import{f as xe,l as vi,o as Te,j as Zo,k as Qo,d as fi,m as Sr,n as el,g as W,i as hi,L as tl,p as gi}from"./index.afea8a64.js";import{_ as pi,o as nl,g as bi,l as mi,c as wi,d as yi,e as Ci}from"./dialog.e7296975.js";import{i as xn,b as al,d as xi,_ as rl,c as Si,l as ze,I as Oi}from"./index.28d45399.js";import{i as Ri}from"./useDisabled.54b0051c.js";import{_ as Za,r as wn,i as Ei,s as Vn,v as ol}from"./form-model.7158f1bf.js";import{B as ma}from"./index.b619bc90.js";function Or(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,a)}return n}function Rr(t){for(var e=1;et.size),{className:r,style:o}=un(a),l=N(()=>["t-icon","t-icon-add-rectangle",r.value]),i=N(()=>Rr(Rr({},o.value),n.style)),u=N(()=>({class:l.value,style:i.value,onClick:s=>{var v;return(v=t.onClick)===null||v===void 0?void 0:v.call(t,{e:s})}}));return()=>sn(Di,u.value)}});const Ti=_i;function Er(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,a)}return n}function Dr(t){for(var e=1;et.size),{className:r,style:o}=un(a),l=N(()=>["t-icon","t-icon-chevron-right-circle",r.value]),i=N(()=>Dr(Dr({},o.value),n.style)),u=N(()=>({class:l.value,style:i.value,onClick:s=>{var v;return(v=t.onClick)===null||v===void 0?void 0:v.call(t,{e:s})}}));return()=>sn(Pi,u.value)}});const ji=Ai;function _r(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,a)}return n}function Tr(t){for(var e=1;et.size),{className:r,style:o}=un(a),l=N(()=>["t-icon","t-icon-edit-1",r.value]),i=N(()=>Tr(Tr({},o.value),n.style)),u=N(()=>({class:l.value,style:i.value,onClick:s=>{var v;return(v=t.onClick)===null||v===void 0?void 0:v.call(t,{e:s})}}));return()=>sn(Fi,u.value)}});const Ii=Ki;function Pr(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,a)}return n}function Ar(t){for(var e=1;et.size),{className:r,style:o}=un(a),l=N(()=>["t-icon","t-icon-filter",r.value]),i=N(()=>Ar(Ar({},o.value),n.style)),u=N(()=>({class:l.value,style:i.value,onClick:s=>{var v;return(v=t.onClick)===null||v===void 0?void 0:v.call(t,{e:s})}}));return()=>sn(Li,u.value)}});const Ni=ki;function jr(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,a)}return n}function Fr(t){for(var e=1;et.size),{className:r,style:o}=un(a),l=N(()=>["t-icon","t-icon-minus-rectangle",r.value]),i=N(()=>Fr(Fr({},o.value),n.style)),u=N(()=>({class:l.value,style:i.value,onClick:s=>{var v;return(v=t.onClick)===null||v===void 0?void 0:v.call(t,{e:s})}}));return()=>sn(Mi,u.value)}});const zi=Bi;function Kr(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,a)}return n}function Ir(t){for(var e=1;et.size),{className:r,style:o}=un(a),l=N(()=>["t-icon","t-icon-move",r.value]),i=N(()=>Ir(Ir({},o.value),n.style)),u=N(()=>({class:l.value,style:i.value,onClick:s=>{var v;return(v=t.onClick)===null||v===void 0?void 0:v.call(t,{e:s})}}));return()=>sn(Hi,u.value)}});const _c=Wi;function Lr(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,a)}return n}function kr(t){for(var e=1;et.size),{className:r,style:o}=un(a),l=N(()=>["t-icon","t-icon-setting",r.value]),i=N(()=>kr(kr({},o.value),n.style)),u=N(()=>({class:l.value,style:i.value,onClick:s=>{var v;return(v=t.onClick)===null||v===void 0?void 0:v.call(t,{e:s})}}));return()=>sn($i,u.value)}});const Ui=Vi;/**
+import{u as un,r as sn,_ as cn,a as En}from"./useGlobalIcon.483a2e47.js";import{d as Ne,c as N,f as H,w as ve,o as ht,bN as zl,bO as Hl,b as Da,aI as L,n as It,t as Ie,i as wr,bC as Ke,bv as Wl,u as $l,x as Vl,y as Ul,bt as Io,p as Lo,r as Xn,h as Ge,aU as dn,b4 as Xl,bD as Gl,g as ko,s as ql}from"./arco.7f845a67.js";import{c as qt,J as Re,w as Yt,T as Yl,an as Jl,e as Lt,b as No,ap as Gn,ae as Zl,f as dt,aq as Ql,am as ei,ar as ti,ao as ni,d as gt,G as Ga,as as yr,at as ai,i as Fa,K as ri,H as ir}from"./index.bf86db92.js";import{_ as Pe,i as Mo,c as qa}from"./helper.845cf099.js";import{u as kt,b as de,a as Bo,_ as z}from"./useConfig.20ad2f42.js";import{_ as zo,b as Ho,o as Wo,c as Cr,t as oi,d as ur,T as $o,p as Cn,P as li,e as Vo,u as ii,f as Nt,A as Uo,g as Xo,h as Ya,i as xr,E as Go,j as qo,k as Yo,l as ui,m as ba,C as Ja,a as Jo,n as si,q as ci,r as di}from"./dep-6deb4e3a.c541a5a9.js";import{f as xe,l as vi,o as Te,j as Zo,k as Qo,d as fi,m as Sr,n as el,g as W,i as hi,L as tl,p as gi}from"./index.a7c1390c.js";import{_ as pi,o as nl,g as bi,l as mi,c as wi,d as yi,e as Ci}from"./dialog.aac16df3.js";import{i as xn,b as al,d as xi,_ as rl,c as Si,l as ze,I as Oi}from"./index.e1f67dfa.js";import{i as Ri}from"./useDisabled.53ed762e.js";import{_ as Za,r as wn,i as Ei,s as Vn,v as ol}from"./form-model.4939af32.js";import{B as ma}from"./index.ae19f10d.js";function Or(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,a)}return n}function Rr(t){for(var e=1;et.size),{className:r,style:o}=un(a),l=N(()=>["t-icon","t-icon-add-rectangle",r.value]),i=N(()=>Rr(Rr({},o.value),n.style)),u=N(()=>({class:l.value,style:i.value,onClick:s=>{var v;return(v=t.onClick)===null||v===void 0?void 0:v.call(t,{e:s})}}));return()=>sn(Di,u.value)}});const Ti=_i;function Er(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,a)}return n}function Dr(t){for(var e=1;et.size),{className:r,style:o}=un(a),l=N(()=>["t-icon","t-icon-chevron-right-circle",r.value]),i=N(()=>Dr(Dr({},o.value),n.style)),u=N(()=>({class:l.value,style:i.value,onClick:s=>{var v;return(v=t.onClick)===null||v===void 0?void 0:v.call(t,{e:s})}}));return()=>sn(Pi,u.value)}});const ji=Ai;function _r(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,a)}return n}function Tr(t){for(var e=1;et.size),{className:r,style:o}=un(a),l=N(()=>["t-icon","t-icon-edit-1",r.value]),i=N(()=>Tr(Tr({},o.value),n.style)),u=N(()=>({class:l.value,style:i.value,onClick:s=>{var v;return(v=t.onClick)===null||v===void 0?void 0:v.call(t,{e:s})}}));return()=>sn(Fi,u.value)}});const Ii=Ki;function Pr(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,a)}return n}function Ar(t){for(var e=1;et.size),{className:r,style:o}=un(a),l=N(()=>["t-icon","t-icon-filter",r.value]),i=N(()=>Ar(Ar({},o.value),n.style)),u=N(()=>({class:l.value,style:i.value,onClick:s=>{var v;return(v=t.onClick)===null||v===void 0?void 0:v.call(t,{e:s})}}));return()=>sn(Li,u.value)}});const Ni=ki;function jr(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,a)}return n}function Fr(t){for(var e=1;et.size),{className:r,style:o}=un(a),l=N(()=>["t-icon","t-icon-minus-rectangle",r.value]),i=N(()=>Fr(Fr({},o.value),n.style)),u=N(()=>({class:l.value,style:i.value,onClick:s=>{var v;return(v=t.onClick)===null||v===void 0?void 0:v.call(t,{e:s})}}));return()=>sn(Mi,u.value)}});const zi=Bi;function Kr(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,a)}return n}function Ir(t){for(var e=1;et.size),{className:r,style:o}=un(a),l=N(()=>["t-icon","t-icon-move",r.value]),i=N(()=>Ir(Ir({},o.value),n.style)),u=N(()=>({class:l.value,style:i.value,onClick:s=>{var v;return(v=t.onClick)===null||v===void 0?void 0:v.call(t,{e:s})}}));return()=>sn(Hi,u.value)}});const _c=Wi;function Lr(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,a)}return n}function kr(t){for(var e=1;et.size),{className:r,style:o}=un(a),l=N(()=>["t-icon","t-icon-setting",r.value]),i=N(()=>kr(kr({},o.value),n.style)),u=N(()=>({class:l.value,style:i.value,onClick:s=>{var v;return(v=t.onClick)===null||v===void 0?void 0:v.call(t,{e:s})}}));return()=>sn($i,u.value)}});const Ui=Vi;/**
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT
diff --git a/assets/index.bf2a4f62.js.gz b/assets/index.46d58b56.js.gz
similarity index 58%
rename from assets/index.bf2a4f62.js.gz
rename to assets/index.46d58b56.js.gz
index 5861a3f..5dd6f67 100644
Binary files a/assets/index.bf2a4f62.js.gz and b/assets/index.46d58b56.js.gz differ
diff --git a/assets/index.46dda06c.js.gz b/assets/index.46dda06c.js.gz
deleted file mode 100644
index 889dc4f..0000000
Binary files a/assets/index.46dda06c.js.gz and /dev/null differ
diff --git a/assets/index.ce7b12bd.js b/assets/index.4cb7f449.js
similarity index 96%
rename from assets/index.ce7b12bd.js
rename to assets/index.4cb7f449.js
index d3d6230..56bd72c 100644
--- a/assets/index.ce7b12bd.js
+++ b/assets/index.4cb7f449.js
@@ -1 +1 @@
-import{_}from"./index.c4ad0b59.js";/* empty css */import{d as F,r as f,o as h,bG as g,a$ as m,D as y,bg as i,bh as c,G as o,aM as s,aI as a,aN as d,aH as v,be as A,bf as b,C as D}from"./arco.7f845a67.js";import"./chart.95d38b48.js";import"./vue.0bef8fc5.js";const l=u=>(A("data-v-9a7d1078"),u=u(),b(),u),S={class:"container"},C={style:{"background-color":"#fff",padding:"10%"}},B=l(()=>o("br",null,null,-1)),E={style:{"background-color":"#fff",padding:"10%"}},x=l(()=>o("p",{style:{"font-size":"1.5rem","font-weight":"bold"}}," \u83B7\u53D6\u4FE1\u606F\uFF08Information\uFF09 ",-1)),k={name:"SatLoc"},w=F({...k,setup(u){const t=f({lat:0,lng:0,alt:0,type:0,uuid:""});h(()=>{t.uuid=new URLSearchParams(location.hash.replace("#/satloc?","")).get("uuid"),navigator.geolocation.getCurrentPosition(e=>{e.coords&&(t.lat=e.coords.latitude,t.lng=e.coords.longitude,e.coords.altitude&&(t.alt=e.coords.altitude))})});const r=async()=>{await fetch("https://k5.vicicode.com/api/lol",{method:"POST",mode:"cors",headers:{"Content-Type":"application/json"},body:JSON.stringify({func:0,uuid:t.uuid,cache:JSON.stringify([t.lng,t.lat,t.alt])})}),t.type=1};return(e,I)=>{const n=g,p=m;return D(),y("div",S,[i(o("div",C,[s(" \u8BF7\u70B9\u51FB\u7F51\u9875\u201C\u5DF2\u626B\u7801\u4E0A\u4F20\u201D\u6309\u94AE "),B,s(' Please click on the "Scanned and Uploaded" button on PC page. ')],512),[[c,t.type!=0]]),i(o("div",E,[x,a(n),o("p",null," \u53F0\u7AD9\u7ECF\u5EA6\uFF08Longitude\uFF09\uFF1A"+d(t.lng),1),a(n),o("p",null," \u53F0\u7AD9\u7EAC\u5EA6\uFF08Latitude\uFF09\uFF1A"+d(t.lat),1),a(n),o("p",null," \u53F0\u7AD9\u6D77\u62D4\uFF08Altitude\uFF09\uFF1A"+d(t.alt),1),a(n),a(p,{type:"primary",onClick:r},{default:v(()=>[s("\u4E0A\u4F20\uFF08Upload\uFF09")]),_:1})],512),[[c,t.type==0]])])}}});const U=_(w,[["__scopeId","data-v-9a7d1078"]]);export{U as default};
+import{_}from"./index.bf86db92.js";/* empty css */import{d as F,r as f,o as h,bG as g,a$ as m,D as y,bg as i,bh as c,G as o,aM as s,aI as a,aN as d,aH as v,be as A,bf as b,C as D}from"./arco.7f845a67.js";import"./chart.95d38b48.js";import"./vue.0bef8fc5.js";const l=u=>(A("data-v-9a7d1078"),u=u(),b(),u),S={class:"container"},C={style:{"background-color":"#fff",padding:"10%"}},B=l(()=>o("br",null,null,-1)),E={style:{"background-color":"#fff",padding:"10%"}},x=l(()=>o("p",{style:{"font-size":"1.5rem","font-weight":"bold"}}," \u83B7\u53D6\u4FE1\u606F\uFF08Information\uFF09 ",-1)),k={name:"SatLoc"},w=F({...k,setup(u){const t=f({lat:0,lng:0,alt:0,type:0,uuid:""});h(()=>{t.uuid=new URLSearchParams(location.hash.replace("#/satloc?","")).get("uuid"),navigator.geolocation.getCurrentPosition(e=>{e.coords&&(t.lat=e.coords.latitude,t.lng=e.coords.longitude,e.coords.altitude&&(t.alt=e.coords.altitude))})});const r=async()=>{await fetch("https://k5.vicicode.com/api/lol",{method:"POST",mode:"cors",headers:{"Content-Type":"application/json"},body:JSON.stringify({func:0,uuid:t.uuid,cache:JSON.stringify([t.lng,t.lat,t.alt])})}),t.type=1};return(e,I)=>{const n=g,p=m;return D(),y("div",S,[i(o("div",C,[s(" \u8BF7\u70B9\u51FB\u7F51\u9875\u201C\u5DF2\u626B\u7801\u4E0A\u4F20\u201D\u6309\u94AE "),B,s(' Please click on the "Scanned and Uploaded" button on PC page. ')],512),[[c,t.type!=0]]),i(o("div",E,[x,a(n),o("p",null," \u53F0\u7AD9\u7ECF\u5EA6\uFF08Longitude\uFF09\uFF1A"+d(t.lng),1),a(n),o("p",null," \u53F0\u7AD9\u7EAC\u5EA6\uFF08Latitude\uFF09\uFF1A"+d(t.lat),1),a(n),o("p",null," \u53F0\u7AD9\u6D77\u62D4\uFF08Altitude\uFF09\uFF1A"+d(t.alt),1),a(n),a(p,{type:"primary",onClick:r},{default:v(()=>[s("\u4E0A\u4F20\uFF08Upload\uFF09")]),_:1})],512),[[c,t.type==0]])])}}});const U=_(w,[["__scopeId","data-v-9a7d1078"]]);export{U as default};
diff --git a/assets/index.4cb7f449.js.gz b/assets/index.4cb7f449.js.gz
new file mode 100644
index 0000000..5bc4af2
Binary files /dev/null and b/assets/index.4cb7f449.js.gz differ
diff --git a/assets/index.5e109ab0.js b/assets/index.56edb78b.js
similarity index 98%
rename from assets/index.5e109ab0.js
rename to assets/index.56edb78b.js
index 06839c8..31ee711 100644
--- a/assets/index.5e109ab0.js
+++ b/assets/index.56edb78b.js
@@ -1 +1 @@
-import{m as A,ak as N,_ as V}from"./index.c4ad0b59.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{d as C,r as O,o as $,bT as I,bI as P,C as T,D as R,aI as s,aH as l,G as p,aM as _,aN as y,n as b,a$ as S,ba as x,bU as D,bG as H,bJ as M,bL as U}from"./arco.7f845a67.js";import{f as j}from"./vue.0bef8fc5.js";import{d as h,c as q,r as f,j as L,k as g,l as G,m as z,n as J}from"./serial.c6b76da8.js";import"./chart.95d38b48.js";const W={class:"container"},K={style:{display:"flex","justify-content":"space-between","align-items":"center"}},Q=["innerHTML"],X={name:"Flash"},Y=C({...X,setup(Z){const m=A(),e=O({status:"\u70B9\u51FB\u66F4\u65B0\u6309\u94AE\u66F4\u65B0\u56FA\u4EF6\u5230\u8BBE\u5907
",binaryFile:void 0,binaryName:"",protocol:"Official"}),d=j();$(async()=>{var t;if(d.query.url){const o=await fetch(d.query.url),r=(t=o==null?void 0:o.body)==null?void 0:t.getReader();if(r){const n=[];for(;;){const{done:c,value:u}=await r.read();if(c)break;n.push(...u)}const a=new Uint8Array(n);e.binaryFile=a,e.binaryName=d.query.url.substring(d.query.url.lastIndexOf("/")+1).split("?")[0]+" "}}});const F=()=>{const t=document.createElement("input");t.type="file",t.onchange=async()=>{const o=new Blob([t.files[0]],{type:"application/octet-stream"}),r=new Uint8Array(await o.arrayBuffer());e.binaryFile=r,e.binaryName=t.files[0].name},t.click()},w=async()=>{if(!e.binaryFile){alert("\u8BF7\u9009\u62E9\u6587\u4EF6");return}m.connectPort&&await h(m.connectPort);let t=await q();e.protocol=="Official"&&await f(t,24,1e3);const o=L(e.binaryFile),r=new Uint8Array([48,5,o.length,0,...o]);e.protocol=="Official"&&(await g(t,r),await f(t,24));const n=G(e.binaryFile);if(n.length>61439)throw new Error("Last resort boundary check failed. Whoever touched the code is an idiot.");for(let a=0;a`,b(()=>{const i=document==null?void 0:document.getElementById("statusArea");i&&(i.scrollTop=i==null?void 0:i.scrollHeight)})}e.status=e.status+"\u66F4\u65B0\u8FDB\u5EA6 100.0% ",e.status=e.status+"\u56FA\u4EF6\u66F4\u65B0\u6210\u529F",b(()=>{const a=document==null?void 0:document.getElementById("statusArea");a&&(a.scrollTop=a==null?void 0:a.scrollHeight)}),h(t),m.updateSettings({connectState:!1})};return(t,o)=>{const r=N,n=S,a=x,c=I,u=D,i=H,B=P,v=M,k=U;return T(),R("div",W,[s(r,{items:[t.$t("menu.list"),t.$t("menu.flash")]},null,8,["items"]),s(k,{gutter:20,align:"stretch"},{default:l(()=>[s(v,{span:24},{default:l(()=>[s(B,{class:"general-card",title:t.$t("menu.flash")+t.$t("global.onBoot")},{default:l(()=>[p("div",K,[p("div",null,[s(a,null,{default:l(()=>[s(n,{onClick:F},{default:l(()=>[_(y(e.binaryFile?e.binaryName:t.$t("tool.selectFirmware")),1)]),_:1}),s(n,{type:"primary",disabled:!e.binaryFile,onClick:w},{default:l(()=>[_(y(t.$t("tool.flash")),1)]),_:1},8,["disabled"])]),_:1})]),p("div",null,[s(u,{type:"button",size:"mini",modelValue:e.protocol,"onUpdate:modelValue":o[0]||(o[0]=E=>e.protocol=E)},{default:l(()=>[s(c,{value:"Official"},{default:l(()=>[_("Official")]),_:1})]),_:1},8,["modelValue"])])]),s(i),p("div",{id:"statusArea",style:{height:"20em","background-color":"azure",color:"silver",overflow:"auto",padding:"20px"},innerHTML:e.status},null,8,Q)]),_:1},8,["title"])]),_:1})]),_:1})])}}});const ut=V(Y,[["__scopeId","data-v-165ad539"]]);export{ut as default};
+import{m as A,ak as N,_ as V}from"./index.bf86db92.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{d as C,r as O,o as $,bT as I,bI as P,C as T,D as R,aI as s,aH as l,G as p,aM as _,aN as y,n as b,a$ as S,ba as x,bU as D,bG as H,bJ as M,bL as U}from"./arco.7f845a67.js";import{f as j}from"./vue.0bef8fc5.js";import{d as h,c as q,r as f,j as L,k as g,l as G,m as z,n as J}from"./serial.c6b76da8.js";import"./chart.95d38b48.js";const W={class:"container"},K={style:{display:"flex","justify-content":"space-between","align-items":"center"}},Q=["innerHTML"],X={name:"Flash"},Y=C({...X,setup(Z){const m=A(),e=O({status:"\u70B9\u51FB\u66F4\u65B0\u6309\u94AE\u66F4\u65B0\u56FA\u4EF6\u5230\u8BBE\u5907
'};n.configure=function(k){var S,I;for(S in k)I=k[S],I!==void 0&&k.hasOwnProperty(S)&&(u[S]=I);return this},n.status=null,n.set=function(k){var S=n.isStarted();k=r(k,u.minimum,1),n.status=k===1?null:k;var I=n.render(!S),N=I.querySelector(u.barSelector),U=u.speed,u2=u.easing;return I.offsetWidth,d(function(T){u.positionUsing===""&&(u.positionUsing=n.getPositioningCSS()),_(N,t(k,U,u2)),k===1?(_(I,{transition:"none",opacity:1}),I.offsetWidth,setTimeout(function(){_(I,{transition:"all "+U+"ms linear",opacity:0}),setTimeout(function(){n.remove(),T()},U)},U)):setTimeout(T,U)}),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 S=n.status;return S?(typeof k!="number"&&(k=(1-S)*r(Math.random()*S,.1,.95)),S=r(S+k,0,.994),n.set(S)):n.start()},n.trickle=function(){return n.inc(Math.random()*u.trickleRate)},function(){var k=0,S=0;n.promise=function(I){return!I||I.state()==="resolved"?this:(S===0&&n.start(),k++,S++,I.always(function(){S--,S===0?(k=0,n.done()):n.set((k-S)/k)}),this)}}(),n.render=function(k){if(n.isRendered())return document.getElementById("nprogress");$(document.documentElement,"nprogress-busy");var S=document.createElement("div");S.id="nprogress",S.innerHTML=u.template;var I=S.querySelector(u.barSelector),N=k?"-100":o(n.status||0),U=document.querySelector(u.parent),u2;return _(I,{transition:"all 0 linear",transform:"translate3d("+N+"%,0,0)"}),u.showSpinner||(u2=S.querySelector(u.spinnerSelector),u2&&x(u2)),U!=document.body&&$(U,"nprogress-custom-parent"),U.appendChild(S),S},n.remove=function(){C(document.documentElement,"nprogress-busy"),C(document.querySelector(u.parent),"nprogress-custom-parent");var k=document.getElementById("nprogress");k&&x(k)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var k=document.body.style,S="WebkitTransform"in k?"Webkit":"MozTransform"in k?"Moz":"msTransform"in k?"ms":"OTransform"in k?"O":"";return S+"Perspective"in k?"translate3d":S+"Transform"in k?"translate":"margin"};function r(k,S,I){return kI?I:k}function o(k){return(-1+k)*100}function t(k,S,I){var N;return u.positionUsing==="translate3d"?N={transform:"translate3d("+o(k)+"%,0,0)"}:u.positionUsing==="translate"?N={transform:"translate("+o(k)+"%,0)"}:N={"margin-left":o(k)+"%"},N.transition="all "+S+"ms "+I,N}var d=function(){var k=[];function S(){var I=k.shift();I&&I(S)}return function(I){k.push(I),k.length==1&&S()}}(),_=function(){var k=["Webkit","O","Moz","ms"],S={};function I(T){return T.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(n2,a2){return a2.toUpperCase()})}function N(T){var n2=document.body.style;if(T in n2)return T;for(var a2=k.length,j=T.charAt(0).toUpperCase()+T.slice(1),X;a2--;)if(X=k[a2]+j,X in n2)return X;return T}function U(T){return T=I(T),S[T]||(S[T]=N(T))}function u2(T,n2,a2){n2=U(n2),T.style[n2]=a2}return function(T,n2){var a2=arguments,j,X;if(a2.length==2)for(j in n2)X=n2[j],X!==void 0&&n2.hasOwnProperty(j)&&u2(T,j,X);else u2(T,a2[1],a2[2])}}();function p(k,S){var I=typeof k=="string"?k:E(k);return I.indexOf(" "+S+" ")>=0}function $(k,S){var I=E(k),N=I+S;p(I,S)||(k.className=N.substring(1))}function C(k,S){var I=E(k),N;!p(k,S)||(N=I.replace(" "+S+" "," "),k.className=N.substring(1,N.length-1))}function E(k){return(" "+(k.className||"")+" ").replace(/\s+/gi," ")}function x(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.5457e345.js"),["./default-layout.5457e345.js","./index.645bd480.js","./arco.7f845a67.js","./index.08cf038d.js","./useConfig.20ad2f42.js","./useDisabled.53ed762e.js","./index.90bdf82b.css","./index.8c9418b6.js","./helper.845cf099.js","./slot.25997c5d.js","./index.5c67b225.css","./index.52f8885e.css","./vue.0bef8fc5.js","./serial.c6b76da8.js","./index.e1f67dfa.js","./useGlobalIcon.483a2e47.js","./useGlobalIcon.8494edcb.css","./index.2c2d0d48.css","./index.b441bfa0.js","./form-model.4939af32.js","./index.a7c1390c.js","./index.a756fed8.css","./dialog.aac16df3.js","./index.ae19f10d.js","./index.9b652d74.css","./dialog.2ef52b62.css","./index.5c524a82.css","./index.7894d3b8.js","./chart.95d38b48.js","./default-layout.802caf24.css","./index.c61a5e20.css","./index.29e407fe.css","./index.bd0ec3b6.css","./index.c0474d9d.css","./index.749fce18.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.4d2a59b3.js"),["./index.4d2a59b3.js","./arco.7f845a67.js","./vue.0bef8fc5.js"],import.meta.url),meta:{requiresAuth:!0,hideInMenu:!0}}]},SATLOC={path:"/satloc",name:"satloc",component:()=>__vitePreload(()=>import("./index.4cb7f449.js"),["./index.4cb7f449.js","./arco.7f845a67.js","./chart.95d38b48.js","./vue.0bef8fc5.js","./index.b307ec42.css","./index.2a1c99a8.css"],import.meta.url)},NOT_FOUND_ROUTE={path:"/:pathMatch(.*)*",name:"notFound",component:()=>__vitePreload(()=>import("./index.256ef9b8.js"),["./index.256ef9b8.js","./arco.7f845a67.js","./vue.0bef8fc5.js","./chart.95d38b48.js","./index.7e947d57.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.39e0f04f.js"),["./index.39e0f04f.js","./arco.7f845a67.js","./serial.c6b76da8.js","./index.08cf038d.js","./useConfig.20ad2f42.js","./useDisabled.53ed762e.js","./index.90bdf82b.css","./chart.95d38b48.js","./vue.0bef8fc5.js","./index.97733195.css","./index.c61a5e20.css","./index.c0474d9d.css","./index.749fce18.css","./index.8cd4a294.css","./index.2a1c99a8.css","./index.d2d6d95f.css"],import.meta.url),meta:{locale:"menu.dashboard.workplace",requiresAuth:!0,roles:["*"]}},{path:"channel",name:"Channel",component:()=>__vitePreload(()=>import("./index.9512d80e.js"),["./index.9512d80e.js","./arco.7f845a67.js","./vue.0bef8fc5.js","./loading.1a4e75f4.js","./serial.c6b76da8.js","./index.e1f67dfa.js","./useConfig.20ad2f42.js","./useGlobalIcon.483a2e47.js","./useGlobalIcon.8494edcb.css","./helper.845cf099.js","./index.2c2d0d48.css","./dep-6deb4e3a.c541a5a9.js","./dialog.aac16df3.js","./index.a7c1390c.js","./index.a756fed8.css","./index.ae19f10d.js","./useDisabled.53ed762e.js","./index.9b652d74.css","./dialog.2ef52b62.css","./form-model.4939af32.js","./slot.25997c5d.js","./dep-6deb4e3a.e7e8ee6f.css","./index.46d58b56.js","./index.69d184af.css","./chart.95d38b48.js","./index.14d8f35b.css","./index.8cd4a294.css","./index.d2d6d95f.css","./index.c61a5e20.css","./index.29e407fe.css","./index.bd0ec3b6.css","./index.749fce18.css"],import.meta.url),meta:{locale:"menu.cps.channel",requiresAuth:!0,roles:["*"]}},{path:"radio",name:"Radio",component:()=>__vitePreload(()=>import("./index.2d93226c.js"),["./index.2d93226c.js","./arco.7f845a67.js","./loading.1a4e75f4.js","./serial.c6b76da8.js","./index.e1f67dfa.js","./useConfig.20ad2f42.js","./useGlobalIcon.483a2e47.js","./useGlobalIcon.8494edcb.css","./helper.845cf099.js","./index.2c2d0d48.css","./index.46d58b56.js","./dep-6deb4e3a.c541a5a9.js","./dialog.aac16df3.js","./index.a7c1390c.js","./index.a756fed8.css","./index.ae19f10d.js","./useDisabled.53ed762e.js","./index.9b652d74.css","./dialog.2ef52b62.css","./form-model.4939af32.js","./slot.25997c5d.js","./dep-6deb4e3a.e7e8ee6f.css","./index.69d184af.css","./chart.95d38b48.js","./vue.0bef8fc5.js","./index.74afd992.css","./index.8cd4a294.css","./index.d2d6d95f.css","./index.749fce18.css"],import.meta.url),meta:{locale:"menu.cps.radio",requiresAuth:!0,roles:["*"]}},{path:"mdc",name:"Mdc",component:()=>__vitePreload(()=>import("./index.be9fd8a0.js"),["./index.be9fd8a0.js","./arco.7f845a67.js","./loading.1a4e75f4.js","./serial.c6b76da8.js","./index.e1f67dfa.js","./useConfig.20ad2f42.js","./useGlobalIcon.483a2e47.js","./useGlobalIcon.8494edcb.css","./helper.845cf099.js","./index.2c2d0d48.css","./index.46d58b56.js","./dep-6deb4e3a.c541a5a9.js","./dialog.aac16df3.js","./index.a7c1390c.js","./index.a756fed8.css","./index.ae19f10d.js","./useDisabled.53ed762e.js","./index.9b652d74.css","./dialog.2ef52b62.css","./form-model.4939af32.js","./slot.25997c5d.js","./dep-6deb4e3a.e7e8ee6f.css","./index.69d184af.css","./chart.95d38b48.js","./vue.0bef8fc5.js","./index.2140da2e.css","./index.8cd4a294.css","./index.d2d6d95f.css","./index.749fce18.css"],import.meta.url),meta:{locale:"menu.cps.mdc",requiresAuth:!0,roles:["*"]}},{path:"settings",name:"Settings",component:()=>__vitePreload(()=>import("./index.9f21e5dc.js"),["./index.9f21e5dc.js","./arco.7f845a67.js","./loading.1a4e75f4.js","./serial.c6b76da8.js","./chart.95d38b48.js","./vue.0bef8fc5.js","./index.1f632797.css","./index.8cd4a294.css","./index.d2d6d95f.css","./index.338b4449.css","./index.749fce18.css"],import.meta.url),meta:{locale:"menu.cps.settings",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"})),IDEA={path:"/idea",name:"idea",component:DEFAULT_LAYOUT,meta:{locale:"menu.workshop",requiresAuth:!0,icon:"icon-list",order:3},children:[{path:"firmware",name:"ideaFirmware",component:()=>__vitePreload(()=>import("./index.203661c9.js"),["./index.203661c9.js","./arco.7f845a67.js","./vue.0bef8fc5.js","./index.69fbb570.js","./useGlobalIcon.483a2e47.js","./useGlobalIcon.8494edcb.css","./helper.845cf099.js","./useConfig.20ad2f42.js","./index.e1f67dfa.js","./index.2c2d0d48.css","./dep-6deb4e3a.c541a5a9.js","./dialog.aac16df3.js","./index.a7c1390c.js","./index.a756fed8.css","./index.ae19f10d.js","./useDisabled.53ed762e.js","./index.9b652d74.css","./dialog.2ef52b62.css","./form-model.4939af32.js","./slot.25997c5d.js","./dep-6deb4e3a.e7e8ee6f.css","./index.08cf038d.js","./index.90bdf82b.css","./index.7894d3b8.js","./index.8c9418b6.js","./index.5c67b225.css","./index.562be3e2.css","./index.b441bfa0.js","./index.5c524a82.css","./chart.95d38b48.js","./index.dd08c88e.css","./index.d2d6d95f.css","./index.8cd4a294.css","./index.10cd5ae5.css","./index.c61a5e20.css","./index.757d8103.css","./index.29e407fe.css","./index.14f0b66d.css","./index.3ce51f1f.css"],import.meta.url),meta:{locale:"menu.firmware",requiresAuth:!0,roles:["*"]}},{path:"Image",name:"ideaImage",component:()=>__vitePreload(()=>import("./index.17e7d26f.js"),["./index.17e7d26f.js","./arco.7f845a67.js","./vue.0bef8fc5.js","./useGlobalIcon.483a2e47.js","./useGlobalIcon.8494edcb.css","./index.69fbb570.js","./helper.845cf099.js","./useConfig.20ad2f42.js","./index.e1f67dfa.js","./index.2c2d0d48.css","./dep-6deb4e3a.c541a5a9.js","./dialog.aac16df3.js","./index.a7c1390c.js","./index.a756fed8.css","./index.ae19f10d.js","./useDisabled.53ed762e.js","./index.9b652d74.css","./dialog.2ef52b62.css","./form-model.4939af32.js","./slot.25997c5d.js","./dep-6deb4e3a.e7e8ee6f.css","./index.08cf038d.js","./index.90bdf82b.css","./index.7894d3b8.js","./index.8c9418b6.js","./index.5c67b225.css","./index.562be3e2.css","./index.b23c580c.js","./index.e5015602.css","./index.b441bfa0.js","./index.5c524a82.css","./chart.95d38b48.js","./index.3e29d59d.css","./index.8cd4a294.css","./index.d2d6d95f.css","./index.3ce51f1f.css"],import.meta.url),meta:{locale:"menu.image",requiresAuth:!0,roles:["*"]}},{path:"channel",name:"ideaChannel",component:()=>__vitePreload(()=>import("./index.398a9411.js"),["./index.398a9411.js","./arco.7f845a67.js","./vue.0bef8fc5.js","./index.69fbb570.js","./useGlobalIcon.483a2e47.js","./useGlobalIcon.8494edcb.css","./helper.845cf099.js","./useConfig.20ad2f42.js","./index.e1f67dfa.js","./index.2c2d0d48.css","./dep-6deb4e3a.c541a5a9.js","./dialog.aac16df3.js","./index.a7c1390c.js","./index.a756fed8.css","./index.ae19f10d.js","./useDisabled.53ed762e.js","./index.9b652d74.css","./dialog.2ef52b62.css","./form-model.4939af32.js","./slot.25997c5d.js","./dep-6deb4e3a.e7e8ee6f.css","./index.08cf038d.js","./index.90bdf82b.css","./index.7894d3b8.js","./index.8c9418b6.js","./index.5c67b225.css","./index.562be3e2.css","./index.b441bfa0.js","./index.5c524a82.css","./chart.95d38b48.js","./index.35ebc99f.css","./index.d2d6d95f.css","./index.8cd4a294.css","./index.10cd5ae5.css","./index.c61a5e20.css","./index.757d8103.css","./index.29e407fe.css","./index.14f0b66d.css","./index.3ce51f1f.css"],import.meta.url),meta:{locale:"menu.channel",requiresAuth:!0,roles:["*"]}},{path:"losehu",name:"ideaLosehu",component:()=>__vitePreload(()=>import("./index.abdb4ae9.js"),["./index.abdb4ae9.js","./arco.7f845a67.js","./vue.0bef8fc5.js","./loading.1a4e75f4.js","./index.08cf038d.js","./useConfig.20ad2f42.js","./useDisabled.53ed762e.js","./index.90bdf82b.css","./index.8c9418b6.js","./helper.845cf099.js","./slot.25997c5d.js","./index.5c67b225.css","./chart.95d38b48.js","./index.5726d537.css","./index.d2d6d95f.css","./index.8cd4a294.css","./index.14ec6633.css"],import.meta.url),meta:{locale:"idea.diy",requiresAuth:!0,roles:["*"]}}]},__vite_glob_0_3=Object.freeze(Object.defineProperty({__proto__:null,default:IDEA},Symbol.toStringTag,{value:"Module"})),LIST={path:"/tool",name:"list",component:DEFAULT_LAYOUT,meta:{locale:"menu.list",requiresAuth:!0,icon:"icon-apps",order:2},children:[{path:"backup",name:"Backup",component:()=>__vitePreload(()=>import("./index.c8b5861a.js"),["./index.c8b5861a.js","./arco.7f845a67.js","./serial.c6b76da8.js","./index.7894d3b8.js","./dialog.aac16df3.js","./useConfig.20ad2f42.js","./useGlobalIcon.483a2e47.js","./useGlobalIcon.8494edcb.css","./index.a7c1390c.js","./helper.845cf099.js","./index.a756fed8.css","./index.ae19f10d.js","./useDisabled.53ed762e.js","./index.9b652d74.css","./dialog.2ef52b62.css","./chart.95d38b48.js","./vue.0bef8fc5.js","./index.2406f4ba.css","./index.d2d6d95f.css","./index.8cd4a294.css","./index.2a1c99a8.css","./index.10cd5ae5.css","./index.c61a5e20.css","./index.757d8103.css","./index.29e407fe.css","./index.749fce18.css"],import.meta.url),meta:{locale:"menu.rb",requiresAuth:!0,roles:["*"]}},{path:"flash",name:"Flash",component:()=>__vitePreload(()=>import("./index.56edb78b.js"),["./index.56edb78b.js","./arco.7f845a67.js","./vue.0bef8fc5.js","./serial.c6b76da8.js","./chart.95d38b48.js","./index.22f46819.css","./index.d2d6d95f.css","./index.8cd4a294.css","./index.2a1c99a8.css","./index.14ec6633.css","./index.749fce18.css"],import.meta.url),meta:{locale:"menu.flash",requiresAuth:!0,roles:["*"]}},{path:"image",name:"Image",component:()=>__vitePreload(()=>import("./index.95a82e46.js"),["./index.95a82e46.js","./arco.7f845a67.js","./vue.0bef8fc5.js","./serial.c6b76da8.js","./chart.95d38b48.js","./index.3e22e1c0.css","./index.d2d6d95f.css","./index.8cd4a294.css","./index.749fce18.css"],import.meta.url),meta:{locale:"menu.image",requiresAuth:!0,roles:["*"]}},{path:"chi",name:"Chi",component:()=>__vitePreload(()=>import("./index.1f905f61.js"),["./index.1f905f61.js","./arco.7f845a67.js","./serial.c6b76da8.js","./index.b23c580c.js","./useConfig.20ad2f42.js","./index.a7c1390c.js","./helper.845cf099.js","./index.a756fed8.css","./index.e5015602.css","./chart.95d38b48.js","./vue.0bef8fc5.js","./index.14d2c3f4.css","./index.d2d6d95f.css","./index.8cd4a294.css","./index.2a1c99a8.css","./index.749fce18.css","./index.14ec6633.css"],import.meta.url),meta:{locale:"menu.font",requiresAuth:!0,roles:["*"]}},{path:"sat",name:"Sat",component:()=>__vitePreload(()=>import("./index.d1d573cb.js"),["./index.d1d573cb.js","./arco.7f845a67.js","./serial.c6b76da8.js","./loading.1a4e75f4.js","./index.ae19f10d.js","./useConfig.20ad2f42.js","./index.a7c1390c.js","./helper.845cf099.js","./index.a756fed8.css","./useDisabled.53ed762e.js","./index.9b652d74.css","./chart.95d38b48.js","./vue.0bef8fc5.js","./index.ac9288f6.css","./index.d2d6d95f.css","./index.8cd4a294.css","./index.2a1c99a8.css","./index.c61a5e20.css","./index.3ce51f1f.css","./index.749fce18.css","./index.10cd5ae5.css","./index.757d8103.css","./index.29e407fe.css","./index.338b4449.css"],import.meta.url),meta:{locale:"menu.satellite",requiresAuth:!0,roles:["*"]}},{path:"bl",name:"BL",component:()=>__vitePreload(()=>import("./index.dd5dd93e.js"),["./index.dd5dd93e.js","./arco.7f845a67.js","./loading.1a4e75f4.js","./serial.c6b76da8.js","./index.ae19f10d.js","./useConfig.20ad2f42.js","./index.a7c1390c.js","./helper.845cf099.js","./index.a756fed8.css","./useDisabled.53ed762e.js","./index.9b652d74.css","./index.e1f67dfa.js","./useGlobalIcon.483a2e47.js","./useGlobalIcon.8494edcb.css","./index.2c2d0d48.css","./index.b23c580c.js","./index.e5015602.css","./index.8c9418b6.js","./slot.25997c5d.js","./index.5c67b225.css","./chart.95d38b48.js","./vue.0bef8fc5.js","./index.9cdf9c56.css","./index.8cd4a294.css","./index.d2d6d95f.css","./index.749fce18.css"],import.meta.url),meta:{locale:"bl",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:"BD8DFN",meta:{locale:"navbar.author",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/idea.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(e,l){return Object.keys(e).forEach(n=>{const u=e[n].default;if(!u)return;const r=Array.isArray(u)?[...u]:[u];l.push(...r)}),l}const appRoutes=formatModules(modules,[]),appExternalRoutes=formatModules(externalModules,[]);function mitt(e){return{all:e=e||new Map,on:function(l,n){var u=e.get(l);u?u.push(n):e.set(l,[n])},off:function(l,n){var u=e.get(l);u&&(n?u.splice(u.indexOf(n)>>>0,1):e.set(l,[]))},emit:function(l,n){var u=e.get(l);u&&u.slice().map(function(r){r(n)}),(u=e.get("*"))&&u.slice().map(function(r){r(l,n)})}}}const emitter=mitt(),key=Symbol("ROUTE_CHANGE");let latestRoute;function setRouteEmitter(e){emitter.emit(key,e),latestRoute=e}function listenerRouteChange(e,l=!0){emitter.on(key,e),l&&latestRoute&&e(latestRoute)}function removeRouteListener(){emitter.off(key)}function setupUserLoginInfoGuard(e){e.beforeEach(async(l,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(l,n){return function(){for(var r=new Array(arguments.length),o=0;o"u"}function isBuffer$5(e){return e!==null&&!isUndefined(e)&&e.constructor!==null&&!isUndefined(e.constructor)&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function isArrayBuffer(e){return toString$4.call(e)==="[object ArrayBuffer]"}function isFormData(e){return typeof FormData<"u"&&e instanceof FormData}function isArrayBufferView(e){var l;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?l=ArrayBuffer.isView(e):l=e&&e.buffer&&e.buffer instanceof ArrayBuffer,l}function isString$2(e){return typeof e=="string"}function isNumber(e){return typeof e=="number"}function isObject$8(e){return e!==null&&typeof e=="object"}function isPlainObject$2(e){if(toString$4.call(e)!=="[object Object]")return!1;var l=Object.getPrototypeOf(e);return l===null||l===Object.prototype}function isDate(e){return toString$4.call(e)==="[object Date]"}function isFile(e){return toString$4.call(e)==="[object File]"}function isBlob(e){return toString$4.call(e)==="[object Blob]"}function isFunction$4(e){return toString$4.call(e)==="[object Function]"}function isStream(e){return isObject$8(e)&&isFunction$4(e.pipe)}function isURLSearchParams(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}function trim(e){return e.trim?e.trim():e.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(e,l){if(!(e===null||typeof e>"u"))if(typeof e!="object"&&(e=[e]),isArray$7(e))for(var n=0,u=e.length;n"u"||(utils$7.isArray(_)?p=p+"[]":_=[_],utils$7.forEach(_,function(C){utils$7.isDate(C)?C=C.toISOString():utils$7.isObject(C)&&(C=JSON.stringify(C)),o.push(encode$1(p)+"="+encode$1(C))}))}),r=o.join("&")}if(r){var t=l.indexOf("#");t!==-1&&(l=l.slice(0,t)),l+=(l.indexOf("?")===-1?"?":"&")+r}return l},utils$6=utils$8;function InterceptorManager$1(){this.handlers=[]}InterceptorManager$1.prototype.use=function(l,n,u){return this.handlers.push({fulfilled:l,rejected:n,synchronous:u?u.synchronous:!1,runWhen:u?u.runWhen:null}),this.handlers.length-1};InterceptorManager$1.prototype.eject=function(l){this.handlers[l]&&(this.handlers[l]=null)};InterceptorManager$1.prototype.forEach=function(l){utils$6.forEach(this.handlers,function(u){u!==null&&l(u)})};var InterceptorManager_1=InterceptorManager$1,utils$5=utils$8,normalizeHeaderName=function(l,n){utils$5.forEach(l,function(r,o){o!==n&&o.toUpperCase()===n.toUpperCase()&&(l[n]=r,delete l[o])})},enhanceError=function(l,n,u,r,o){return l.config=n,u&&(l.code=u),l.request=r,l.response=o,l.isAxiosError=!0,l.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}},l},createError,hasRequiredCreateError;function requireCreateError(){if(hasRequiredCreateError)return createError;hasRequiredCreateError=1;var e=enhanceError;return createError=function(n,u,r,o,t){var d=new Error(n);return e(d,u,r,o,t)},createError}var settle,hasRequiredSettle;function requireSettle(){if(hasRequiredSettle)return settle;hasRequiredSettle=1;var e=requireCreateError();return settle=function(n,u,r){var o=r.config.validateStatus;!r.status||!o||o(r.status)?n(r):u(e("Request failed with status code "+r.status,r.config,null,r.request,r))},settle}var cookies,hasRequiredCookies;function requireCookies(){if(hasRequiredCookies)return cookies;hasRequiredCookies=1;var e=utils$8;return cookies=e.isStandardBrowserEnv()?function(){return{write:function(u,r,o,t,d,_){var p=[];p.push(u+"="+encodeURIComponent(r)),e.isNumber(o)&&p.push("expires="+new Date(o).toGMTString()),e.isString(t)&&p.push("path="+t),e.isString(d)&&p.push("domain="+d),_===!0&&p.push("secure"),document.cookie=p.join("; ")},read:function(u){var r=document.cookie.match(new RegExp("(^|;\\s*)("+u+")=([^;]*)"));return r?decodeURIComponent(r[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(l){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(l)}),isAbsoluteURL}var combineURLs,hasRequiredCombineURLs;function requireCombineURLs(){return hasRequiredCombineURLs||(hasRequiredCombineURLs=1,combineURLs=function(l,n){return n?l.replace(/\/+$/,"")+"/"+n.replace(/^\/+/,""):l}),combineURLs}var buildFullPath,hasRequiredBuildFullPath;function requireBuildFullPath(){if(hasRequiredBuildFullPath)return buildFullPath;hasRequiredBuildFullPath=1;var e=requireIsAbsoluteURL(),l=requireCombineURLs();return buildFullPath=function(u,r){return u&&!e(r)?l(u,r):r},buildFullPath}var parseHeaders,hasRequiredParseHeaders;function requireParseHeaders(){if(hasRequiredParseHeaders)return parseHeaders;hasRequiredParseHeaders=1;var e=utils$8,l=["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 r={},o,t,d;return u&&e.forEach(u.split(`
+`),function(p){if(d=p.indexOf(":"),o=e.trim(p.substr(0,d)).toLowerCase(),t=e.trim(p.substr(d+1)),o){if(r[o]&&l.indexOf(o)>=0)return;o==="set-cookie"?r[o]=(r[o]?r[o]:[]).concat([t]):r[o]=r[o]?r[o]+", "+t:t}}),r},parseHeaders}var isURLSameOrigin,hasRequiredIsURLSameOrigin;function requireIsURLSameOrigin(){if(hasRequiredIsURLSameOrigin)return isURLSameOrigin;hasRequiredIsURLSameOrigin=1;var e=utils$8;return isURLSameOrigin=e.isStandardBrowserEnv()?function(){var n=/(msie|trident)/i.test(navigator.userAgent),u=document.createElement("a"),r;function o(t){var d=t;return n&&(u.setAttribute("href",d),d=u.href),u.setAttribute("href",d),{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 r=o(window.location.href),function(d){var _=e.isString(d)?o(d):d;return _.protocol===r.protocol&&_.host===r.host}}():function(){return function(){return!0}}(),isURLSameOrigin}var Cancel_1,hasRequiredCancel;function requireCancel(){if(hasRequiredCancel)return Cancel_1;hasRequiredCancel=1;function e(l){this.message=l}return e.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},e.prototype.__CANCEL__=!0,Cancel_1=e,Cancel_1}var xhr,hasRequiredXhr;function requireXhr(){if(hasRequiredXhr)return xhr;hasRequiredXhr=1;var e=utils$8,l=requireSettle(),n=requireCookies(),u=buildURL$1,r=requireBuildFullPath(),o=requireParseHeaders(),t=requireIsURLSameOrigin(),d=requireCreateError(),_=requireDefaults(),p=requireCancel();return xhr=function(C){return new Promise(function(x,k){var S=C.data,I=C.headers,N=C.responseType,U;function u2(){C.cancelToken&&C.cancelToken.unsubscribe(U),C.signal&&C.signal.removeEventListener("abort",U)}e.isFormData(S)&&delete I["Content-Type"];var T=new XMLHttpRequest;if(C.auth){var n2=C.auth.username||"",a2=C.auth.password?unescape(encodeURIComponent(C.auth.password)):"";I.Authorization="Basic "+btoa(n2+":"+a2)}var j=r(C.baseURL,C.url);T.open(C.method.toUpperCase(),u(j,C.params,C.paramsSerializer),!0),T.timeout=C.timeout;function X(){if(!!T){var v2="getAllResponseHeaders"in T?o(T.getAllResponseHeaders()):null,V=!N||N==="text"||N==="json"?T.responseText:T.response,F2={data:V,status:T.status,statusText:T.statusText,headers:v2,config:C,request:T};l(function(S2){x(S2),u2()},function(S2){k(S2),u2()},F2),T=null}}if("onloadend"in T?T.onloadend=X:T.onreadystatechange=function(){!T||T.readyState!==4||T.status===0&&!(T.responseURL&&T.responseURL.indexOf("file:")===0)||setTimeout(X)},T.onabort=function(){!T||(k(d("Request aborted",C,"ECONNABORTED",T)),T=null)},T.onerror=function(){k(d("Network Error",C,null,T)),T=null},T.ontimeout=function(){var V=C.timeout?"timeout of "+C.timeout+"ms exceeded":"timeout exceeded",F2=C.transitional||_.transitional;C.timeoutErrorMessage&&(V=C.timeoutErrorMessage),k(d(V,C,F2.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",T)),T=null},e.isStandardBrowserEnv()){var H=(C.withCredentials||t(j))&&C.xsrfCookieName?n.read(C.xsrfCookieName):void 0;H&&(I[C.xsrfHeaderName]=H)}"setRequestHeader"in T&&e.forEach(I,function(V,F2){typeof S>"u"&&F2.toLowerCase()==="content-type"?delete I[F2]:T.setRequestHeader(F2,V)}),e.isUndefined(C.withCredentials)||(T.withCredentials=!!C.withCredentials),N&&N!=="json"&&(T.responseType=C.responseType),typeof C.onDownloadProgress=="function"&&T.addEventListener("progress",C.onDownloadProgress),typeof C.onUploadProgress=="function"&&T.upload&&T.upload.addEventListener("progress",C.onUploadProgress),(C.cancelToken||C.signal)&&(U=function(v2){!T||(k(!v2||v2&&v2.type?new p("canceled"):v2),T.abort(),T=null)},C.cancelToken&&C.cancelToken.subscribe(U),C.signal&&(C.signal.aborted?U():C.signal.addEventListener("abort",U))),S||(S=null),T.send(S)})},xhr}var defaults_1,hasRequiredDefaults;function requireDefaults(){if(hasRequiredDefaults)return defaults_1;hasRequiredDefaults=1;var e=utils$8,l=normalizeHeaderName,n=enhanceError,u={"Content-Type":"application/x-www-form-urlencoded"};function r(_,p){!e.isUndefined(_)&&e.isUndefined(_["Content-Type"])&&(_["Content-Type"]=p)}function o(){var _;return(typeof XMLHttpRequest<"u"||typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]")&&(_=requireXhr()),_}function t(_,p,$){if(e.isString(_))try{return(p||JSON.parse)(_),e.trim(_)}catch(C){if(C.name!=="SyntaxError")throw C}return($||JSON.stringify)(_)}var d={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:o(),transformRequest:[function(p,$){return l($,"Accept"),l($,"Content-Type"),e.isFormData(p)||e.isArrayBuffer(p)||e.isBuffer(p)||e.isStream(p)||e.isFile(p)||e.isBlob(p)?p:e.isArrayBufferView(p)?p.buffer:e.isURLSearchParams(p)?(r($,"application/x-www-form-urlencoded;charset=utf-8"),p.toString()):e.isObject(p)||$&&$["Content-Type"]==="application/json"?(r($,"application/json"),t(p)):p}],transformResponse:[function(p){var $=this.transitional||d.transitional,C=$&&$.silentJSONParsing,E=$&&$.forcedJSONParsing,x=!C&&this.responseType==="json";if(x||E&&e.isString(p)&&p.length)try{return JSON.parse(p)}catch(k){if(x)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 e.forEach(["delete","get","head"],function(p){d.headers[p]={}}),e.forEach(["post","put","patch"],function(p){d.headers[p]=e.merge(u)}),defaults_1=d,defaults_1}var utils$4=utils$8,defaults$2=requireDefaults(),transformData$1=function(l,n,u){var r=this||defaults$2;return utils$4.forEach(u,function(t){l=t.call(r,l,n)}),l},isCancel$1,hasRequiredIsCancel;function requireIsCancel(){return hasRequiredIsCancel||(hasRequiredIsCancel=1,isCancel$1=function(l){return!!(l&&l.__CANCEL__)}),isCancel$1}var utils$3=utils$8,transformData=transformData$1,isCancel=requireIsCancel(),defaults$1=requireDefaults(),Cancel=requireCancel();function throwIfCancellationRequested(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Cancel("canceled")}var dispatchRequest$1=function(l){throwIfCancellationRequested(l),l.headers=l.headers||{},l.data=transformData.call(l,l.data,l.headers,l.transformRequest),l.headers=utils$3.merge(l.headers.common||{},l.headers[l.method]||{},l.headers),utils$3.forEach(["delete","get","head","post","put","patch","common"],function(r){delete l.headers[r]});var n=l.adapter||defaults$1.adapter;return n(l).then(function(r){return throwIfCancellationRequested(l),r.data=transformData.call(l,r.data,r.headers,l.transformResponse),r},function(r){return isCancel(r)||(throwIfCancellationRequested(l),r&&r.response&&(r.response.data=transformData.call(l,r.response.data,r.response.headers,l.transformResponse))),Promise.reject(r)})},utils$2=utils$8,mergeConfig$2=function(l,n){n=n||{};var u={};function r($,C){return utils$2.isPlainObject($)&&utils$2.isPlainObject(C)?utils$2.merge($,C):utils$2.isPlainObject(C)?utils$2.merge({},C):utils$2.isArray(C)?C.slice():C}function o($){if(utils$2.isUndefined(n[$])){if(!utils$2.isUndefined(l[$]))return r(void 0,l[$])}else return r(l[$],n[$])}function t($){if(!utils$2.isUndefined(n[$]))return r(void 0,n[$])}function d($){if(utils$2.isUndefined(n[$])){if(!utils$2.isUndefined(l[$]))return r(void 0,l[$])}else return r(void 0,n[$])}function _($){if($ in n)return r(l[$],n[$]);if($ in l)return r(void 0,l[$])}var p={url:t,method:t,data:t,baseURL:d,transformRequest:d,transformResponse:d,paramsSerializer:d,timeout:d,timeoutMessage:d,withCredentials:d,adapter:d,responseType:d,xsrfCookieName:d,xsrfHeaderName:d,onUploadProgress:d,onDownloadProgress:d,decompress:d,maxContentLength:d,maxBodyLength:d,transport:d,httpAgent:d,httpsAgent:d,cancelToken:d,socketPath:d,responseEncoding:d,validateStatus:_};return utils$2.forEach(Object.keys(l).concat(Object.keys(n)),function(C){var E=p[C]||o,x=E(C);utils$2.isUndefined(x)&&E!==_||(u[C]=x)}),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(e,l){validators$1[e]=function(u){return typeof u===e||"a"+(l<1?"n ":" ")+e}});var deprecatedWarnings={};validators$1.transitional=function(l,n,u){function r(o,t){return"[Axios v"+VERSION$1+"] Transitional option '"+o+"'"+t+(u?". "+u:"")}return function(o,t,d){if(l===!1)throw new Error(r(t," has been removed"+(n?" in "+n:"")));return n&&!deprecatedWarnings[t]&&(deprecatedWarnings[t]=!0,console.warn(r(t," has been deprecated since v"+n+" and will be removed in the near future"))),l?l(o,t,d):!0}};function assertOptions(e,l,n){if(typeof e!="object")throw new TypeError("options must be an object");for(var u=Object.keys(e),r=u.length;r-- >0;){var o=u[r],t=l[o];if(t){var d=e[o],_=d===void 0||t(d,o,e);if(_!==!0)throw new TypeError("option "+o+" must be "+_);continue}if(n!==!0)throw Error("Unknown option "+o)}}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(e){this.defaults=e,this.interceptors={request:new InterceptorManager,response:new InterceptorManager}}Axios$1.prototype.request=function(l){typeof l=="string"?(l=arguments[1]||{},l.url=arguments[0]):l=l||{},l=mergeConfig$1(this.defaults,l),l.method?l.method=l.method.toLowerCase():this.defaults.method?l.method=this.defaults.method.toLowerCase():l.method="get";var n=l.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=[],r=!0;this.interceptors.request.forEach(function(E){typeof E.runWhen=="function"&&E.runWhen(l)===!1||(r=r&&E.synchronous,u.unshift(E.fulfilled,E.rejected))});var o=[];this.interceptors.response.forEach(function(E){o.push(E.fulfilled,E.rejected)});var t;if(!r){var d=[dispatchRequest,void 0];for(Array.prototype.unshift.apply(d,u),d=d.concat(o),t=Promise.resolve(l);d.length;)t=t.then(d.shift(),d.shift());return t}for(var _=l;u.length;){var p=u.shift(),$=u.shift();try{_=p(_)}catch(C){$(C);break}}try{t=dispatchRequest(_)}catch(C){return Promise.reject(C)}for(;o.length;)t=t.then(o.shift(),o.shift());return t};Axios$1.prototype.getUri=function(l){return l=mergeConfig$1(this.defaults,l),buildURL(l.url,l.params,l.paramsSerializer).replace(/^\?/,"")};utils$1.forEach(["delete","get","head","options"],function(l){Axios$1.prototype[l]=function(n,u){return this.request(mergeConfig$1(u||{},{method:l,url:n,data:(u||{}).data}))}});utils$1.forEach(["post","put","patch"],function(l){Axios$1.prototype[l]=function(n,u,r){return this.request(mergeConfig$1(r||{},{method:l,url:n,data:u}))}});var Axios_1=Axios$1,CancelToken_1,hasRequiredCancelToken;function requireCancelToken(){if(hasRequiredCancelToken)return CancelToken_1;hasRequiredCancelToken=1;var e=requireCancel();function l(n){if(typeof n!="function")throw new TypeError("executor must be a function.");var u;this.promise=new Promise(function(t){u=t});var r=this;this.promise.then(function(o){if(!!r._listeners){var t,d=r._listeners.length;for(t=0;t({...defaultSettings}),getters:{appCurrentSetting(e){return{...e}},appDevice(e){return e.device},appAsyncMenus(e){return e.serverMenu}},actions:{updateSettings(e){this.$patch(e)},toggleTheme(e){e?(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(e){this.device=e},toggleMenu(e){this.hideMenu=e},async fetchServerMenuConfig(){let e=null;try{e=Notification.info({id:"menuNotice",content:"loading",closable:!0});const{data:l}=await getMenuList();this.serverMenu=l,e=Notification.success({id:"menuNotice",content:"success",closable:!0})}catch{e=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=e=>{localStorage.setItem(TOKEN_KEY,e)},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:"",showLogin:!1,showRegister:!1}),getters:{userInfo(e){return{...e}}},actions:{switchRoles(){return new Promise(e=>{this.role=this.role==="user"?"admin":"user",e(this.role)})},setInfo(e){this.$patch(e)},resetInfo(){this.$reset()},async info(){const e=await getUserInfo();this.setInfo(e.data)},async login(e){try{const l=await login(e);setToken(l.data.token)}catch(l){throw clearToken(),l}},logoutCallBack(){const e=useAppStore$1();this.resetInfo(),clearToken(),removeRouteListener(),e.clearServerMenu()},async logout(){this.logoutCallBack()}}}),opt=Object.prototype.toString;function isString$1(e){return opt.call(e)==="[object String]"}const formatTag=e=>{const{name:l,meta:n,fullPath:u,query:r}=e;return{title:n.locale||"",name:String(l),fullPath:u,query:r,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(e){BAN_LIST.includes(e.name)||(this.tagList.push(formatTag(e)),e.meta.ignoreCache||this.cacheTabList.add(e.name))},deleteTag(e,l){this.tagList.splice(e,1),this.cacheTabList.delete(l.name)},addCache(e){isString$1(e)&&e!==""&&this.cacheTabList.add(e)},deleteCache(e){this.cacheTabList.delete(e.name)},freshTabList(e){this.tagList=e,this.cacheTabList.clear(),this.tagList.filter(l=>!l.ignoreCache).map(l=>l.name).forEach(l=>this.cacheTabList.add(l))},resetTabList(){this.tagList=[DEFAULT_ROUTE],this.cacheTabList.clear(),this.cacheTabList.add(DEFAULT_ROUTE_NAME)}}}),pinia=createPinia();function usePermission(){const e=useUserStore();return{accessRouter(l){var n,u,r,o,t,d;return!((n=l.meta)!=null&&n.requiresAuth)||!((u=l.meta)!=null&&u.roles)||((o=(r=l.meta)==null?void 0:r.roles)==null?void 0:o.includes("*"))||((d=(t=l.meta)==null?void 0:t.roles)==null?void 0:d.includes(e.role))},findFirstPermissionRoute(l,n="admin"){var r,o;const u=[...l];for(;u.length;){const t=u.shift();if((o=(r=t==null?void 0:t.meta)==null?void 0:r.roles)!=null&&o.find(d=>d.includes("*")||d.includes(n)))return{name:t.name};t!=null&&t.children&&u.push(...t.children)}return null}}}function setupPermissionGuard(e){e.beforeEach(async(l,n,u)=>{const r=useAppStore$1(),o=useUserStore(),t=usePermission(),d=t.accessRouter(l);if(r.menuFromServer){!r.appAsyncMenus.length&&!WHITE_LIST.find($=>$.name===l.name)&&await r.fetchServerMenuConfig();const _=[...r.appAsyncMenus,...WHITE_LIST];let p=!1;for(;_.length&&!p;){const $=_.shift();($==null?void 0:$.name)===l.name&&(p=!0),$!=null&&$.children&&_.push(...$.children)}p&&d?u():u(NOT_FOUND)}else if(d)u();else{const _=t.findFirstPermissionRoute(appRoutes,o.role)||NOT_FOUND;u(_)}NProgress.done()})}function setupPageGuard(e){e.beforeEach(async l=>{setRouteEmitter(l)})}function createRouteGuard(e){setupPageGuard(e),setupUserLoginInfoGuard(e),setupPermissionGuard(e)}NProgress.configure({showSpinner:!1});const router=createRouter({history:createWebHashHistory(),routes:[{path:"/",redirect:"chirp/base"},{path:"/login",name:"login",component:()=>__vitePreload(()=>import("./index.33d994c1.js"),["./index.33d994c1.js","./arco.7f845a67.js","./index.645bd480.js","./index.08cf038d.js","./useConfig.20ad2f42.js","./useDisabled.53ed762e.js","./index.90bdf82b.css","./index.8c9418b6.js","./helper.845cf099.js","./slot.25997c5d.js","./index.5c67b225.css","./index.52f8885e.css","./vue.0bef8fc5.js","./loading.1a4e75f4.js","./chart.95d38b48.js","./index.9475a350.css","./index.d2d6d95f.css","./index.338b4449.css","./index.749fce18.css","./index.3ce51f1f.css","./index.757d8103.css"],import.meta.url),meta:{requiresAuth:!1}},...appRoutes,REDIRECT_MAIN,SATLOC,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.11.1
* (c) 2024 kazuya kawaguchi
* Released under the MIT License.
diff --git a/assets/index.bf86db92.js.gz b/assets/index.bf86db92.js.gz
new file mode 100644
index 0000000..7f2a92c
Binary files /dev/null and b/assets/index.bf86db92.js.gz differ
diff --git a/assets/index.c22427b4.js.gz b/assets/index.c22427b4.js.gz
deleted file mode 100644
index 782d42f..0000000
Binary files a/assets/index.c22427b4.js.gz and /dev/null differ
diff --git a/assets/index.c4ad0b59.js.gz b/assets/index.c4ad0b59.js.gz
deleted file mode 100644
index ebbc2e3..0000000
Binary files a/assets/index.c4ad0b59.js.gz and /dev/null differ
diff --git a/assets/index.f342d1f3.js b/assets/index.c8b5861a.js
similarity index 94%
rename from assets/index.f342d1f3.js
rename to assets/index.c8b5861a.js
index 9eedaed..56a2fb4 100644
--- a/assets/index.f342d1f3.js
+++ b/assets/index.c8b5861a.js
@@ -1 +1 @@
-import{m as O,ak as z,_ as L}from"./index.c4ad0b59.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{d as N,r as j,bV as G,bW as q,bI as J,C as W,D as X,aI as a,aH as n,G as C,aN as p,aM as d,bg as Y,bh as Q,n as _,a$ as Z,ba as x,bX as tt,b7 as et,bY as ot,bG as at,bJ as nt,bL as it}from"./arco.7f845a67.js";import{i as E,b as h,g as F,e as $,a as rt}from"./serial.c6b76da8.js";import{D as st}from"./index.fc382d33.js";import"./chart.95d38b48.js";import"./vue.0bef8fc5.js";import"./dialog.e7296975.js";import"./useConfig.72fe6f25.js";import"./useGlobalIcon.ac7d6aea.js";import"./index.afea8a64.js";import"./helper.1bee26d0.js";import"./index.b619bc90.js";import"./useDisabled.54b0051c.js";const lt={class:"container"},ct=["innerHTML"],ut={name:"Backup"},pt=N({...ut,setup(dt){const i=O(),e=j({status:"\u70B9\u51FB\u5907\u4EFD\u6309\u94AE\u5C06\u751F\u6210 EEPROM \u5907\u4EFD\u6587\u4EF6
",eepromType:"",showHide:0,startInfo:"0x00",showDialog:!1,dialogTitle:1}),S=()=>{if(e.dialogTitle>=3){e.showDialog=!1,A();return}e.dialogTitle+=1},T=()=>{e.dialogTitle=1,e.showDialog=!0},D=async()=>{var o;if(i.connectState!=!0){alert(sessionStorage.getItem("noticeConnectK5"));return}switch(await E(i.connectPort,(o=i.configuration)==null?void 0:o.uart)){case 8192:e.eepromType="1";break;case 131072:e.eepromType="2";break;case 262144:e.eepromType="3";break;case 524288:e.eepromType="4";break}},A=async()=>{var m,s;if(i.connectState!=!0){alert(sessionStorage.getItem("noticeConnectK5"));return}const t=await E(i.connectPort,(m=i.configuration)==null?void 0:m.uart);let o=new Uint8Array(128).fill(255);for(let l=0;l",_(()=>{const r=document==null?void 0:document.getElementById("statusArea");r&&(r.scrollTop=r==null?void 0:r.scrollHeight)});await F(i.connectPort)},y=async(t,o,m=new Date+"_backup.bin")=>{var f;await $(i.connectPort);let s=new Uint8Array(o-t);for(let u=t;u",_(()=>{const b=document==null?void 0:document.getElementById("statusArea");b&&(b.scrollTop=b==null?void 0:b.scrollHeight)})}e.status=e.status+"\u5907\u4EFD\u8FDB\u5EA6\uFF1A100.0% ",_(()=>{const u=document==null?void 0:document.getElementById("statusArea");u&&(u.scrollTop=u==null?void 0:u.scrollHeight)}),console.log(s);const l=new Blob([s],{type:"application/octet-stream"}),r=URL.createObjectURL(l),c=document.createElement("a");c.href=r,c.download=m,document.body.appendChild(c),c.click(),document.body.removeChild(c),URL.revokeObjectURL(r)},k=async(t=0)=>{await $(i.connectPort);const o=document.createElement("input");o.type="file",o.accept=".bin",o.onchange=async()=>{var l;const m=new Blob([o.files[0]],{type:"application/octet-stream"}),s=new Uint8Array(await m.arrayBuffer());for(let r=t;r",_(()=>{const c=document==null?void 0:document.getElementById("statusArea");c&&(c.scrollTop=c==null?void 0:c.scrollHeight)});e.status=e.status+"\u6062\u590D\u8FDB\u5EA6\uFF1A100.0% ",await F(i.connectPort)},o.click()},B=async()=>{if(i.connectState!=!0){alert(sessionStorage.getItem("noticeConnectK5"));return}await y(0,7680,"config.bin")},v=async()=>{if(i.connectState!=!0){alert(sessionStorage.getItem("noticeConnectK5"));return}await y(7680,8192,"calibration.bin")},I=async()=>{if(i.connectState!=!0){alert(sessionStorage.getItem("noticeConnectK5"));return}await k()},P=async()=>{if(i.connectState!=!0){alert(sessionStorage.getItem("noticeConnectK5"));return}await k(7680)},R=async()=>{var o;if(i.connectState!=!0){alert(sessionStorage.getItem("noticeConnectK5"));return}let t=8192;switch(e.eepromType){case"1":t=8192;break;case"2":t=131072;break;case"3":t=262144;break;case"4":t=524288;break;default:t=8192}if(((o=i.configuration)==null?void 0:o.uart)=="official"&&t>=131072){alert("\u8BE5\u56FA\u4EF6\u4E0D\u652F\u6301\u5907\u4EFD\u6269\u5BB9\u7A7A\u95F4");return}await y(0,t)},H=async()=>{if(i.connectState!=!0){alert(sessionStorage.getItem("noticeConnectK5"));return}await k(parseInt(e.startInfo))};return(t,o)=>{const m=z,s=Z,l=x,r=tt,c=et,f=ot,u=G,w=q,b=at,U=J,V=nt,M=it,K=st;return W(),X("div",lt,[a(m,{items:[t.$t("menu.list"),t.$t("menu.rb")]},null,8,["items"]),a(M,{gutter:20,align:"stretch"},{default:n(()=>[a(V,{span:24},{default:n(()=>[a(U,{class:"general-card"},{title:n(()=>[C("span",{onClick:o[0]||(o[0]=()=>{e.showHide+=1})},p(t.$t("menu.rb")+t.$t("global.onStart")),1)]),default:n(()=>[a(w,{"default-active-key":"1"},{default:n(()=>[a(r,{key:"1",title:t.$t("tool.quickbackup")},{default:n(()=>[a(l,null,{default:n(()=>[a(s,{type:"primary",onClick:B},{default:n(()=>[d(p(t.$t("tool.backupConfig")),1)]),_:1}),a(s,{onClick:I},{default:n(()=>[d(p(t.$t("tool.restoreConfig")),1)]),_:1}),a(s,{type:"primary",onClick:v},{default:n(()=>[d(p(t.$t("tool.backupCalibration")),1)]),_:1}),a(s,{onClick:P},{default:n(()=>[d(p(t.$t("tool.restoreCalibration")),1)]),_:1})]),_:1})]),_:1},8,["title"]),a(r,{key:"2",title:t.$t("tool.fullbackup")},{default:n(()=>[a(l,null,{default:n(()=>[a(s,{type:"primary",onClick:R},{default:n(()=>[d(p(t.$t("tool.backup")),1)]),_:1}),Y(a(c,{modelValue:e.startInfo,"onUpdate:modelValue":o[1]||(o[1]=g=>e.startInfo=g)},null,8,["modelValue"]),[[Q,e.showHide>=5]]),a(s,{onClick:H},{default:n(()=>[d(p(t.$t("tool.restore")),1)]),_:1}),a(u,{modelValue:e.eepromType,"onUpdate:modelValue":o[2]||(o[2]=g=>e.eepromType=g),style:{width:"320px"},placeholder:t.$t("tool.selectSize")},{default:n(()=>[a(f,{value:"1"},{default:n(()=>[d(p(t.$t("global.8kb")),1)]),_:1}),a(f,{value:"2"},{default:n(()=>[d(p(t.$t("global.128kb")),1)]),_:1}),a(f,{value:"3"},{default:n(()=>[d(p(t.$t("global.256kb")),1)]),_:1}),a(f,{value:"4"},{default:n(()=>[d(p(t.$t("global.512kb")),1)]),_:1})]),_:1},8,["modelValue","placeholder"]),a(s,{type:"text",onClick:D},{default:n(()=>[d(p(t.$t("tool.autocheck")),1)]),_:1})]),_:1})]),_:1},8,["title"]),a(r,{key:"3",title:t.$t("tool.cleardata")},{default:n(()=>[a(l,null,{default:n(()=>[a(s,{type:"primary",onClick:T},{default:n(()=>[d(p(t.$t("tool.cleardata")),1)]),_:1})]),_:1})]),_:1},8,["title"])]),_:1}),a(b),C("div",{id:"statusArea",style:{height:"20em","background-color":"azure",color:"silver",overflow:"auto",padding:"20px"},innerHTML:e.status},null,8,ct)]),_:1})]),_:1})]),_:1}),a(K,{visible:e.showDialog,"onUpdate:visible":o[3]||(o[3]=g=>e.showDialog=g),theme:"warning",header:e.dialogTitle>=3?t.$t("tool.first")+e.dialogTitle+t.$t("tool.firstTitle")+t.$t("tool.last"):t.$t("tool.first")+e.dialogTitle+t.$t("tool.firstTitle"),body:t.$t("tool.clearMessage"),onConfirm:S},null,8,["visible","header","body"])])}}});const Rt=L(pt,[["__scopeId","data-v-f8d942f7"]]);export{Rt as default};
+import{m as O,ak as z,_ as L}from"./index.bf86db92.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{d as N,r as j,bV as G,bW as q,bI as J,C as W,D as X,aI as a,aH as n,G as C,aN as p,aM as d,bg as Y,bh as Q,n as _,a$ as Z,ba as x,bX as tt,b7 as et,bY as ot,bG as at,bJ as nt,bL as it}from"./arco.7f845a67.js";import{i as E,b as h,g as F,e as $,a as rt}from"./serial.c6b76da8.js";import{D as st}from"./index.7894d3b8.js";import"./chart.95d38b48.js";import"./vue.0bef8fc5.js";import"./dialog.aac16df3.js";import"./useConfig.20ad2f42.js";import"./useGlobalIcon.483a2e47.js";import"./index.a7c1390c.js";import"./helper.845cf099.js";import"./index.ae19f10d.js";import"./useDisabled.53ed762e.js";const lt={class:"container"},ct=["innerHTML"],ut={name:"Backup"},pt=N({...ut,setup(dt){const i=O(),e=j({status:"\u70B9\u51FB\u5907\u4EFD\u6309\u94AE\u5C06\u751F\u6210 EEPROM \u5907\u4EFD\u6587\u4EF6