import{d as t,a as A,C as o,I as i,j as l,K as s}from"./vendor.cd162bf7.js";/* empty css              *//* empty css               */import{b as a}from"./bars.4f1962a6.js";const d="_videoSection_1rdl1_1",n="_videoImg_1rdl1_4",r="_videoStop_1rdl1_16",v="_videoTitle_1rdl1_26",p="_videoTitleText_1rdl1_34",c="_active_1rdl1_40",m="_videoTitleContent_1rdl1_43",g="_living_1rdl1_48",u="_animation_1rdl1_64";var e={videoSection:d,videoImg:n,videoStop:r,videoTitle:v,videoTitleText:p,active:c,videoTitleContent:m,living:g,animation:u},I="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA2CAMAAAC/bkrSAAAAAXNSR0IArs4c6QAAAYlQTFRFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQUFDg4OEBAQGRkZHR0dHx8fJSUlKSkpLCwsOzs7Pj4+QEBAVFRUVVVVXl5ea2trbW1teXl5e3t7fX19f39/gYGBkJCQk5OTpKSkp6enp6ensLCwsLCwtra2tra2w8PDxsbGxsbGzs7Oz8/P0NDQ0tLS0tLS09PT29vb29vb4uLi5eXl5ubm5ubm7Ozs7e3t7e3t8PDw8PDw8PDw8fHx8/Pz9vb29/f3+vr6+vr6/f39/f39/v7+/////v7+////////J7wfagAAAIJ0Uk5TAAECAwQFBwgJDQ8VFxkaGyAhIiQqKy4vMDIzNDU3ODk7PT4/QUJDREdJTU5RUlNUVVZXWFpbXV5fYGFkZWZnaGlqa21ucHJydHV1ent8g4SHjI2Sk5OVlp6eqaqrsbK1tr/AwcfIysrNzdPU297e3+bm5+nq6+zu8vL3+Pv8/f3+/h4twksAAAIJSURBVBgZrcEHV9pQAAbQT4SIgKIiigMX7lUVZ7CQzy67996tHa97T631/fI6EPNeEojn9F64qYknu/uGhvq6k/Ea+BLrmbZYYk33xFBBsHWWDrOtQXgLpEy6MlMBeKjP0lO2Hm6qOi2WYXVWwSE0ygpGQ9CEp1jRVBgKY4Y+zBiwqR6nL+PVOJChTxmUJOhbAkWGSd9MA3syVKw+WLt3gl4y2BWxaLf6WUr57Ro9WBHs6Kfivtyx9ewM3fVjWzhPxQu55+dtusqHAbRQJeS+1+fppgXAJFVClvy+u0KnScCwqBLS5t1FOlgGmqgR0m790XHqmtBFjZCqT1eo6cIINUJq/j49RcUIstQI6fDlLO2yWKJGSKfntFvCUWqEdPpKu2UUqBHS6Q3tCshRI6TDnxu0y2GBGiF1369TsYAj1Aip2nxykqpJDFIjpOLjZeoG0UaNkDbrD4/RoQ111Ah54O0FuqhDYJkqIff9urNCF8sBYJiql7Lo1Tm6GgbQQNVjuevHLXpoABBYpOLShpRya+00PSwGsC1F1c0PG++v0lMKO0ImD8EMYVczD6EZRRP0bQL7Ijn6lIugJEGfErDpoC8dUPTSh15o0qwoDYdknmXlk3ARnWMZc1G4Cqbz9JBPB+ElMlCgi8JABOXUpuepmU/XoqJY+5jJInOsPQa/jGi8sTEeNfD//AORQWsF93/GiwAAAABJRU5ErkJggg==",b=t({name:"CourseVideoItem",props:{detail:{type:Object,required:!0},border:{type:Boolean,default:!1},onPlay:{type:Function,default:()=>{}},playId:{type:Number,default:0}},render(){return A(o,{class:e.videoSection,border:this.border,onClick:()=>this.onPlay(this.detail)},{icon:()=>A("div",{class:e.videoImg},[A(i,{src:this.detail.imgUrl,fit:"cover"},null),this.detail.id===this.playId?A("div",{class:e.living},[A(i,{src:a,class:e.animation},null),A("span",null,[l("\u64AD\u653E\u4E2D")])]):A(s,{class:e.videoStop,name:I,size:26},null)]),title:()=>A("div",{class:e.videoTitle},[A("p",{class:[e.videoTitleText,"van-ellipsis",this.detail.id===this.playId&&e.active]},[this.detail.title]),A("p",{class:[e.videoTitleContent,"van-multi-ellipsis--l2"]},[this.detail.content])])})}});export{b as C};
