System.register(["./chunk-legacy-BhgcdVyL.js","./souav-legacy-ptBXoxNy.js","./chunk-legacy-B09Jcn0a.js"],function(e){"use strict";var l,t,o,s,n,c,i,d,u,a,r,p,x,m;return{setters:[e=>{l=e.N},e=>{t=e.N,o=e.y,s=e.f},e=>{n=e.C,c=e.P,i=e.S,d=e.B,u=e.Q,a=e.V,r=e.u,p=e.R,x=e.X,m=e.N}],execute:function(f,v){const b={class:"relative aspect-video w-full"},w={key:0,class:"absolute top-1.5 right-1.5 rounded-[3px] bg-green-500 px-1 text-[11px] text-white"},g={class:"flex items-center justify-center space-x-1 text-white"},k={class:"text-[12px]"},y={class:"mt-1 flex w-full flex-row items-center gap-2 text-[13px] leading-[13px] text-[#FF5C24]"},h={class:"mt-1 inline-block w-full truncate text-[14px] text-white"};e("_",n({__name:"VideoItemView",props:{model:{},rounded:{}},emits:["clickVideo"],setup(e,{emit:n}){const f=e,v=`rounded-[${f.rounded||"5px"}]`,_=n;return(e,n)=>(m(),c("div",{class:"flex w-full flex-col",onClick:n[0]||(n[0]=e=>(s.openVod(f.model),void _("clickVideo",f.model)))},[i("div",b,[d(t,{src:e.model.vod_pic,class:a(["aspect-video w-full object-cover",v])},null,8,["src"]),e.model.contentType==r(o).Video?(m(),c("div",w,"免费")):u("",!0),i("div",{class:a([v,"absolute bottom-0 w-full h-[30px] rounded-b-[4px] bg-gradient-to-b from-transparent to-black/70 flex flex-row items-center justify-between px-2"])},[n[2]||(n[2]=i("div",null,null,-1)),i("div",g,[n[1]||(n[1]=i("i",{class:"iconfont icon-clock font-semibold",style:{"font-size":"13px"}},null,-1)),i("span",k,p(r(l).formatSeconds(e.model.duration)),1)])])]),i("div",y,[i("p",null,[n[3]||(n[3]=i("i",{class:"iconfont icon-like"},null,-1)),x(" "+p(r(l).formatNumber(e.model.vod_hits)),1)]),i("p",null,[n[4]||(n[4]=i("i",{class:"iconfont icon-iclikenormal"},null,-1)),x(" "+p(e.model.vod_up),1)]),i("p",null,"评分 "+p(e.model.vod_score),1)]),i("span",h,p(e.model.vod_name),1)]))}}))}}});
