import{x as s,_ as e}from"./utils-lib.js?v=1761009159";import{c as a,s as o,g as i,q as t,a6 as l,v as r,x as n,z as d,y as m,F as c,b0 as p,K as v,A as j}from"./base-lib.js?v=1761009159";import{aI as u}from"./store.js?v=1761009159";import"./__commonjsHelpers__.js?v=1761009159";import"./files.js?v=1761009159";import"./validator.js?v=1761009159";import"./index106.js?v=1761009159";import"./column.js?v=1761009159";import"./store2.js?v=1761009159";import"./index103.js?v=1761009159";const _={class:"flex"},y=["src"],f={class:"video-list"},x=["onClick"],b={class:"video-item-name w-[16rem]"},h={class:"video-item-size"},w=e(a({__name:"index",setup(e){const a=u(),{videoUrl:w,videoList:g}=o(a),{currentPath:k,getList:z,playVideo:C,$reset:I}=a,L=i(()=>"/download?filename="+encodeURIComponent(w.value)+"&play=true");return t(async()=>{z()}),l(()=>{I()}),(e,a)=>(r(),n("div",_,[d("video",{type:"",src:m(L),controls:"controls",controlslist:"nodownload",autoplay:"autoplay",width:"640",height:"360"},"您的浏览器不支持 video 标签。",8,y),d("div",f,[(r(!0),n(c,null,p(m(g),e=>(r(),n("div",{key:e.name,class:v("video-item ".concat(m(w)===m(k)+"/"+e.name?"active":"")),onClick:s=>m(C)(e.name)},[d("div",b,j(e.name),1),d("div",h,j(m(s)(e.size)),1)],10,x))),128))])]))}}),[["__scopeId","data-v-62d164ea"]]);export{w as default};
