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