import{_ as s}from"./index401.js?v=1761009159";import{c as e,s as a,q as t,a6 as o,v as l,x as n,z as i,A as p,y as r,e as m}from"./base-lib.js?v=1761009159";import{I as d}from"./validator.js?v=1761009159";import{_ as c}from"./utils-lib.js?v=1761009159";import"./__commonjsHelpers__.js?v=1761009159";import"./index106.js?v=1761009159";import"./column.js?v=1761009159";const u={class:"p-[20px] pt-[3rem]"},x={class:"flex items-center justify-between mb-[5px]"},f={class:"mt-[4px] flex justify-between items-center"},j={class:"flex"},_={class:"mr-[25px]"},v=c(e({__name:"download-speed",setup(e,{expose:c}){const{downloadSpeed:v,doneSize:w,totalSize:b,speedSize:g,pluginTitle:z,pluginActiveInfo:S}=a(d()),{initDownLoad:y,closeDownLoad:A,clearTimeoutAll:I}=d();return t(()=>y()),o(()=>A()),c({close:I}),(e,a)=>{const t=s;return l(),n("div",u,[i("div",x,[i("span",null," 正在下载"+p(r(z)+" "+r(S).fullVersion)+"，请稍后 ... ",1),i("span",null,p(r(v).progress)+"%",1)]),m(t,{strokeWidth:5,percentage:r(v).progress,showText:!1},null,8,["percentage"]),i("div",f,[i("div",j,[i("span",_,p(r(w))+" / "+p(r(b)),1),i("span",null,"预计还要:"+p(r(v).estimated)+"秒",1)]),i("span",null,p(r(g))+"/s",1)])])}}}),[["__scopeId","data-v-89243387"]]);export{v as default};
