!function(){function e(e,t,i,o,l,s,n){try{var r=e[s](n),_=r.value}catch(c){return void i(c)}r.done?t(_):Promise.resolve(_).then(o,l)}var t=document.createElement("style");t.innerHTML="._col-steps_1g2lv_1{padding:0 0 0 .74667rem;overflow:hidden;background-color:#fff}._col-steps_1g2lv_1 ._col-step_1g2lv_1{display:block;float:none;padding:.26667rem 0;line-height:.48rem;position:relative;flex:1;color:#7a7a7a;font-size:.34667rem}._col-steps_1g2lv_1 ._col-step_1g2lv_1:last-child ._col-step__line_1g2lv_16{border:0}._col-steps_1g2lv_1 ._col-step_circle_1g2lv_19{position:absolute;top:.50667rem;left:-.48rem;z-index:1;width:.48rem;height:.48rem;font-size:.32rem;border-radius:50%;background:var(--van-primary);transform:translate(-50%,-50%);text-align:center;line-height:.53333rem;color:#fff}._col-steps_1g2lv_1 ._col-step__line_1g2lv_16{top:.42667rem;left:-.50667rem;width:0;border-left:.02667rem dashed var(--van-primary);height:100%;position:absolute;transform:background-color .3s}._col-steps_1g2lv_1 ._stepSection_1g2lv_43 ._stepTitle_1g2lv_43{display:flex;align-items:center;justify-content:space-between;font-size:.34667rem;color:#999}._col-steps_1g2lv_1 ._stepSection_1g2lv_43 ._stepTitle_1g2lv_43 ._stepTitleNum_1g2lv_50{font-size:.37333rem;font-weight:500}._col-steps_1g2lv_1 ._stepSection_1g2lv_43 ._stepTitle_1g2lv_43 ._active_1g2lv_54{color:var(--van-primary)}._col-steps_1g2lv_1 ._stepSection_1g2lv_43 ._stepContent_1g2lv_57{padding-top:.26667rem;font-size:.34667rem;color:#7a7a7a;line-height:.53333rem}._col-steps_1g2lv_1 ._videoText_1g2lv_63{padding-top:.16rem;color:var(--van-primary);font-size:.37333rem}._col-steps_1g2lv_1 ._videoImg_1g2lv_68{margin-top:.26667rem;width:4rem;height:2.66667rem;position:relative;border-radius:.10667rem;overflow:hidden}._col-steps_1g2lv_1 ._videoImg_1g2lv_68 .van-image{width:inherit;height:inherit}._col-steps_1g2lv_1 ._videoImg_1g2lv_68 ._videoStop_1g2lv_80{position:absolute;top:0;right:0;left:0;bottom:0;display:flex;align-items:center;justify-content:center}._videoList_1g2lv_90{padding:.42667rem}._videoList_1g2lv_90 ._videoTitle_1g2lv_93{font-size:.48rem;font-weight:500;color:#333;line-height:.8rem;display:flex;align-items:center}._videoList_1g2lv_90 ._videoTitle_1g2lv_93 i{display:inline-block;width:.10667rem;height:.48rem;margin-right:.21333rem;border-radius:.05333rem;background-color:var(--van-primary)}._videoList_1g2lv_90 ._videoSection_1g2lv_109{padding-top:.32rem;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;max-height:60vh;overflow-x:hidden;overflow-y:auto}._videoList_1g2lv_90 ._videoItem_1g2lv_119{width:100%;border-radius:.16rem;margin-bottom:.21333rem}._videoList_1g2lv_90 .plyr{min-width:50%}._videoList_1g2lv_90 .vjs-poster{background-size:cover}\n",document.head.appendChild(t),System.register(["./ResizeObserver.es-legacy.44b91b4c.js","./index-legacy.506ac0cf.js"],(function(t){"use strict";var i,o,l,s,n,r,_;return{setters:[function(e){i=e.d,o=e.j,l=e.A,s=e.C,n=e.y,r=e.aS},function(e){_=e.C}],execute:function(){var c={"col-steps":"_col-steps_1g2lv_1","col-step":"_col-step_1g2lv_1","col-step__line":"_col-step__line_1g2lv_16","col-step_circle":"_col-step_circle_1g2lv_19",stepSection:"_stepSection_1g2lv_43",stepTitle:"_stepTitle_1g2lv_43",stepTitleNum:"_stepTitleNum_1g2lv_50",active:"_active_1g2lv_54",stepContent:"_stepContent_1g2lv_57",videoText:"_videoText_1g2lv_63",videoImg:"_videoImg_1g2lv_68",videoStop:"_videoStop_1g2lv_80",videoList:"_videoList_1g2lv_90",videoTitle:"_videoTitle_1g2lv_93",videoSection:"_videoSection_1g2lv_109",videoItem:"_videoItem_1g2lv_119"},v=i({name:"VideoList",props:{list:{type:Array,default:[]}},render:function(){return o("div",{class:c.videoList},[o("div",{class:c.videoTitle},[o("i",null,null),l("视频列表")]),this.list.length>0?o("div",{class:c.videoSection},[this.list.map((function(e,t){return o("div",{class:c.videoItem},[o(_,{poster:"./assets/video_default.c4e3ec21.png",src:e.url,preload:"none",height:"162px",currentTime:!1},null),o("p",null,[e.startTime])])}))]):o(s,{btnStatus:!1,classImgSize:"SMALL",tips:"暂无视频"},null)])}});t("C",i({name:"CoursePlanStep",props:{courseId:{type:Number,default:0},hideVideo:{type:Boolean,default:!1},courseInfo:{type:Array,default:[]}},data:function(){return{videoStatus:!1,list:[]}},methods:{onLookVideo:function(t){var i,o=this;return(i=regeneratorRuntime.mark((function e(){var i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,n.get("/api-student/liveRoomVideo/queryVideo",{params:{roomUid:t.roomUid}});case 3:i=e.sent,console.log(i),o.list=i.data||[],o.videoStatus=!0,e.next=11;break;case 9:e.prev=9,e.t0=e.catch(0);case 11:case"end":return e.stop()}}),e,null,[[0,9]])})),function(){var t=this,o=arguments;return new Promise((function(l,s){var n=i.apply(t,o);function r(t){e(n,l,s,r,_,"next",t)}function _(t){e(n,l,s,r,_,"throw",t)}r(void 0)}))})()}},render:function(){var e=this;return o("div",{class:c["col-steps"]},[o("div",{class:c["col-steps__items"]},[this.courseInfo.map((function(t,i){return o("div",{class:c["col-step"]},[o("div",{class:c["col-step__title"]},[e.$slots.content?e.$slots.content():o("div",{class:c.stepSection},[o("div",{class:c.stepTitle},[o("span",{class:[c.stepTitleNum,(0===e.courseId||e.courseId===t.id)&&c.active]},[l("第 "),i+1,l(" 课时")]),o("span",{class:c.stepTitleText},[t.courseTime])]),o("div",{class:c.stepContent},[o("p",null,[t.coursePlan]),2===t.liveState&&!e.hideVideo&&o("div",{class:c.videoText,onClick:function(){e.onLookVideo(t)}},[l("查看回放"),">>"])])])]),o("div",{class:c["col-step_circle"]},[i+1]),o("div",{class:c["col-step__line"]},null)])}))]),o(r,{show:this.videoStatus,"onUpdate:show":function(t){return e.videoStatus=t},closeable:!0,round:!0,style:{width:"90%"}},{default:function(){return[e.videoStatus&&o(v,{list:e.list},null)]}})])}}))}}}))}();