!function(){function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}function e(t){return function(t){if(Array.isArray(t))return n(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var u=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(u&&c){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),A(n),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;A(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:C(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),m}},e}function u(t,e,n,r,o,i,a){try{var u=t[i](a),c=u.value}catch(l){return void n(l)}u.done?e(c):Promise.resolve(c).then(r,o)}function c(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function a(t){u(i,r,o,a,c,"next",t)}function c(t){u(i,r,o,a,c,"throw",t)}a(void 0)}))}}System.register(["./index-legacy-46c61774.js","./constant-legacy-90a50c7d.js","./index-legacy-5f4b298c.js","./deep-clone-legacy-2ca01ac4.js","./index-legacy-2ec6fbe6.js","./toolsValidate-legacy-0cd59584.js","./index-legacy-3f319231.js","./index-legacy-a8629dd3.js","./icon-check-legacy-72428e56.js","./index.module-legacy-d884ce48.js","./icon-check-active-legacy-21402234.js","./icon-student-default-legacy-1a5ed844.js","./index-legacy-3dfb4deb.js","./index-legacy-17195bfb.js","./index-legacy-ece741fa.js","./index-legacy-3c68ef9f.js","./index-legacy-154aa02e.js","./index-legacy-a1ad497b.js","./index-legacy-ce25a501.js"],(function(t,n){"use strict";var r,i,u,l,s,p,f,m,d,h,y,v,g,b,_,x,j,L,w,I,A,k,C,O,S,T,F,E,G,U,N,P,V,Y,M,R,z,D,q,K,B,J,Q,H,Z,X,W,$,tt=document.createElement("style");return tt.textContent="._topCellGroup_ux4yv_1{margin-top:.32rem}._topCellGroup_ux4yv_1 .van-cell{padding:.48rem .32rem;font-size:.4rem}._topCellGroup_ux4yv_1 .van-field__label,._topCellGroup_ux4yv_1 .van-field__control{font-size:.4rem}._topCellGroup_ux4yv_1 .van-field__control{font-weight:600}._programType_ux4yv_15{padding-top:.37333rem!important}._programType_ux4yv_15 .van-field__label{padding-top:.16rem}._teamCell_ux4yv_21{padding-bottom:.32rem!important}._tagCell_ux4yv_24{padding-top:0!important}._tagCell_ux4yv_24 ._tagItem_ux4yv_27{position:relative;padding:.16rem .58667rem .16rem .21333rem;font-size:.37333rem;background:#F2FFFC;border-radius:.10667rem;margin-right:.24rem;margin-bottom:.21333rem}._tagCell_ux4yv_24 ._closeable_ux4yv_36{position:absolute;right:.16rem;font-size:.32rem}._searchTypeFlex_ux4yv_41{margin-top:.16rem}._searchTypeFlex_ux4yv_41._small_ux4yv_44 .van-tag{margin-bottom:.21333rem;width:1.38667rem;height:.64rem;font-size:.32rem;justify-content:center}._searchTypeFlex_ux4yv_41._small_ux4yv_44 .van-tag+.van-tag{margin-left:.10667rem}._searchTypeFlex_ux4yv_41._small_ux4yv_44 .van-tag:nth-child(5n + 5){margin-left:0}._searchTypeFlex_ux4yv_41._multFlex_ux4yv_57{margin:0 .34667rem}._searchTypeFlex_ux4yv_41._multFlex_ux4yv_57 .van-tag{margin-bottom:.21333rem;width:2.93333rem;height:.90667rem;font-size:.34667rem;justify-content:center;border-radius:.16rem;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}._searchTypeFlex_ux4yv_41._multFlex_ux4yv_57 .van-tag+.van-tag{margin-left:.21333rem}._searchTypeFlex_ux4yv_41._multFlex_ux4yv_57 .van-tag:nth-child(3n + 4){margin-left:0}._searchTypeFlex_ux4yv_41._multFlex_ux4yv_57 .van-tag--primary{font-weight:600;background:#F2FFFC;color:var(--k-font-primary);border:.02667rem solid #9FE2DE}._searchTypeFlex_ux4yv_41 .van-tag{margin-bottom:.21333rem;width:2.08rem;height:.85333rem;font-size:.37333rem;justify-content:center}._searchTypeFlex_ux4yv_41 .van-tag+.van-tag{margin-left:.10667rem}._searchTypeFlex_ux4yv_41 .van-tag:nth-child(5n + 5){margin-left:0}._searchTypeFlex_ux4yv_41 .van-tag--default{color:var(--k-gray-1);background:#F6F6F6}._searchTypeFlex_ux4yv_41 .van-tag--default:before{color:#f6f6f6}._searchTypeFlex_ux4yv_41 .van-tag--primary{font-weight:600}._searchTypeFlex_ux4yv_41 .van-radio,._searchTypeFlex_ux4yv_41 .van-checkbox{position:absolute;left:0;right:0;top:0;bottom:0;width:100%;opacity:0}._placeholder_ux4yv_116{font-size:.4rem;color:var(--k-gray-5)}._performance_ux4yv_120 span{color:var(--k-font-primary)}._iconImg_ux4yv_123{font-size:.48rem}._iconImg_ux4yv_123._disabled_ux4yv_126{cursor:not-allowed;opacity:.5}._topTitle_ux4yv_130{vertical-align:middle;font-size:.42667rem;margin-left:.21333rem;font-weight:600}._programTimer_ux4yv_136{font-size:.4rem;color:var(--k-gray-2);display:flex;align-items:center}._programTimer_ux4yv_136 span{display:inline-block;min-width:1.28rem;line-height:.82667rem;height:.82667rem;background:#F6F6F6;border-radius:.10667rem;padding:0 .32rem;margin:0 .26667rem;text-align:center;font-size:.37333rem;color:var(--k-gray-1);font-weight:600}._uploadGroup_ux4yv_156{display:flex;align-items:center;--upload-file-size: 1.92rem !important}._uploadGroup_ux4yv_156 .van-uploader:nth-child(4n + 4) .van-uploader__upload{margin-right:0}._addButtonGroup_ux4yv_164{margin:.32rem .34667rem}._addButtonGroup_ux4yv_164 ._addButton_ux4yv_164{font-size:.42667rem;background:#E5F8F7;border-radius:.16rem;--van-button-default-height: 1.06667rem}._bottonGroup_ux4yv_173{padding-top:.53333rem;background-color:#fff;border-top:.02667rem solid #F2F2F2}._popupContainer_ux4yv_178 ._popupTitle_ux4yv_178{padding-top:.53333rem;padding-bottom:.66667rem;font-size:.48rem;font-weight:600;color:#333;line-height:.66667rem;text-align:center}._popupContainer_ux4yv_178 ._popupTimer_ux4yv_187{display:flex;align-items:center;justify-content:center;text-align:center;font-size:.42667rem;color:var(--k-gray-2);margin-bottom:.26667rem}._popupContainer_ux4yv_178 ._popupTimer_ux4yv_187 .van-field{display:inline-flex;display:inline-block;line-height:1.25333rem;width:1.6rem;padding:0 .32rem;border-radius:.16rem;background:#F6F6F6;font-size:.48rem;font-weight:700;margin-right:.53333rem}._popupContainer_ux4yv_178 ._popupTimer_ux4yv_187 .van-field input{font-size:.48rem;text-align:center}._popupContainer_ux4yv_178 ._popupTimer_ux4yv_187 .van-field:last-child{margin-left:.53333rem}._popupContainer_ux4yv_178 ._tipContent_ux4yv_215{padding:0 .34667rem .26667rem;font-size:.42667rem;color:var(--k-gray-2);text-align:center}._popupContainer_ux4yv_178 ._tipContent_ux4yv_215 span{color:#ff5a56}\n",document.head.appendChild(tt),{setters:[function(t){r=t.d,i=t.O,u=t.w,l=t.g,s=t.h,p=t.B,f=t.f,m=t.i,d=t.X,h=t.o,y=t.I,v=t.Y,g=t.R,b=t.S,_=t.a3,x=t.P,j=t.ab,L=t.W,w=t.a,I=t.N},function(t){A=t.b,k=t.f},function(t){C=t.M},function(t){O=t.d,S=t.R,T=t.a,F=t.i,E=t.M,G=t.b},function(t){U=t.M},function(t){N=t.v,P=t.c},function(t){V=t.C,Y=t.a},function(t){M=t.T},function(t){R=t.i,z=t.M},function(t){D=t.s},function(t){q=t.i},function(t){K=t.i},function(t){B=t.C},function(t){J=t.I},function(t){Q=t.T,H=t.a},function(t){Z=t.D},function(t){X=t.P},function(t){W=t.C},function(t){$=t.F}],execute:function(){var n={topCellGroup:"_topCellGroup_ux4yv_1",programType:"_programType_ux4yv_15",teamCell:"_teamCell_ux4yv_21",tagCell:"_tagCell_ux4yv_24",tagItem:"_tagItem_ux4yv_27",closeable:"_closeable_ux4yv_36",searchTypeFlex:"_searchTypeFlex_ux4yv_41",small:"_small_ux4yv_44",multFlex:"_multFlex_ux4yv_57",placeholder:"_placeholder_ux4yv_116",performance:"_performance_ux4yv_120",iconImg:"_iconImg_ux4yv_123",disabled:"_disabled_ux4yv_126",topTitle:"_topTitle_ux4yv_130",programTimer:"_programTimer_ux4yv_136",uploadGroup:"_uploadGroup_ux4yv_156",addButtonGroup:"_addButtonGroup_ux4yv_164",addButton:"_addButton_ux4yv_164",bottonGroup:"_bottonGroup_ux4yv_173",popupContainer:"_popupContainer_ux4yv_178",popupTitle:"_popupTitle_ux4yv_178",popupTimer:"_popupTimer_ux4yv_187",tipContent:"_tipContent_ux4yv_215"},tt=r({name:"input-timer",props:{show:{type:Boolean,default:!1},time:{type:Number,default:null}},emits:["close","confirm"],setup:function(t,e){var r=e.emit,o=at(t.time);console.log(o,"timer");var a=i({minute:o.minute,second:o.secord||null}),c=function(t){return t&&t>=0?N(t):""},m=function(t){if(t&&t>=0){var e=N(t);return(Number(e)>=60?59:e)+""}return""};return u((function(){return t.show}),(function(){if(!t.show){var e=at(t.time);a.minute=e.minute,a.second=e.secord}})),u((function(){return t.time}),(function(){var e=at(t.time);a.minute=e.minute,a.second=e.secord})),function(){return l("div",{class:n.popupContainer},[l("h2",{class:n.popupTitle},[s("请输入节目时长")]),l("div",{class:n.popupContent},[l("div",{class:n.popupTimer},[l($,{modelValue:a.minute,"onUpdate:modelValue":function(t){return a.minute=t},type:"tel",formatter:c,border:!1,maxlength:2,autocomplete:"off"},null),s("分"),l($,{modelValue:a.second,"onUpdate:modelValue":function(t){return a.second=t},type:"tel",formatter:m,border:!1,maxlength:2,autocomplete:"off"},null),s("秒")])]),l("div",{class:["btnGroupPopup"]},[l(p,{round:!0,onClick:function(){return r("close")}},{default:function(){return[s("取消")]}}),l(p,{type:"primary",round:!0,onClick:function(){a.minute&&a.second?60*a.minute+a.second<=0?f("时长输入必须大于0"):r("confirm",a):f("时长输入有误")}},{default:function(){return[s("确定")]}})])])}}});var et=r({name:"performance-team",props:{show:{type:Boolean,default:!1},performances:{type:Array,default:function(){return[]}},selectIds:{type:Array,default:function(){return[]}}},emits:["close","confirm"],setup:function(t,e){var r=e.emit,o=m([]),a=i({performanceList:t.performances||[],checkboxs:t.selectIds||[]});return u((function(){return t.performances}),(function(){console.log(t.performances,"props.performances"),a.performanceList=t.performances})),u((function(){return t.selectIds}),(function(){a.checkboxs=t.selectIds})),u((function(){return t.show}),(function(){t.show||(a.checkboxs=t.selectIds)})),function(){var t,e;return l("div",{class:n.popupContainer},[l("h2",{class:n.popupTitle},[s("选择表演团队")]),l(V,{class:[n.searchTypeFlex,n.multFlex],modelValue:a.checkboxs,"onUpdate:modelValue":function(t){return a.checkboxs=t}},(e=t=a.performanceList.map((function(t,e){return l(M,{type:a.checkboxs.includes(t.subjectId)?"primary":"default"},{default:function(){return[l(Y,{name:t.subjectId,ref:function(t){return o.value[e]=t},onClick:function(t){t.stopPropagation()}},null),l("span",{class:"van-ellipsis"},[t.subjectName])]}})})),"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!d(e)?t:{default:function(){return[t]}})),l("div",{class:["btnGroupPopup"]},[l(p,{round:!0,onClick:function(){return r("close")}},{default:function(){return[s("取消")]}}),l(p,{type:"primary",round:!0,onClick:function(){return r("confirm",a.checkboxs)}},{default:function(){return[s("确定")]}})])])}}});var nt=r({name:"group-chat",props:{type:{type:String,default:"edit"},height:{type:[Number],default:0},bottomHeight:{type:[String,Number],default:0},headerHeight:{type:[Number],default:0},studentList:{type:Array,default:function(){return[]}},selectItem:{type:Array,default:function(){return[]}}},emits:["update:selectItem"],setup:function(t,e){var n=e.emit,r=m([]),o=i({height:t.height,check:[]}),s=function(e){if("look"!==t.type){r.value[e].toggle();var i=[];t.studentList.forEach((function(t){o.check.includes(t.studentId)&&i.push({studentId:t.studentId,studentName:t.studentName,studentAvatar:t.studentAvatar,subjectId:t.subjectId})})),n("update:selectItem",i)}};u((function(){return t.height}),(function(){o.height=t.height})),u((function(){return t.selectItem}),(function(){p()}),{deep:!0});var p=function(){var e=t.selectItem||[],n=[];e.forEach((function(t){n.push(t.studentId)})),o.check=n};return h(c(a().mark((function t(){return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:p();case 1:case"end":return t.stop()}}),t)})))),function(){var e,n;return l("div",{style:{"min-height":"calc(100vh - ".concat(t.headerHeight,"px - ").concat(o.height,"px - ").concat(t.bottomHeight,"px )")}},[l(V,{modelValue:o.check,"onUpdate:modelValue":function(t){return o.check=t}},(n=e=t.studentList.map((function(e,n){return l(B,{center:!0,onClick:function(){return s(n)},class:D.popupCell},{icon:function(){return l(J,{src:e.studentAvatar||K,class:D.imgLogo,fit:"cover"},null)},title:function(){return l("div",{class:D.infos},[l("div",{class:D.infoTitle},[e.studentName]),l("div",{class:D.infoContent},[e.subjectName])])},"right-icon":function(){return"edit"===t.type&&l(Y,{name:e.studentId,ref:function(t){return r.value[n]=t},onClick:function(t){t.preventDefault(),t.stopPropagation(),s(n)}},{icon:function(t){return l(y,{class:D.boxStyle,name:t.checked?q:R},null)}})}})})),"function"==typeof n||"[object Object]"===Object.prototype.toString.call(n)&&!d(n)?e:{default:function(){return[e]}}))])}}});var rt=t("C",r({name:"cast-modal",props:{type:{type:String,default:"edit"},subjectAllList:{type:Array,default:function(){return[]}},performerList:{type:Array,default:function(){return[]}}},emits:["close","update:performerList","confirm"],setup:function(t,e){var n=e.emit,r=function(){var e=t.performerList||[];return t.subjectAllList.forEach((function(t){var n=e.find((function(e){return e.subjectId==t.subjectId}));t.selectList=n?O(n.studentList):[]})),console.log(t.subjectAllList,"props.subjectAllList"),t.subjectAllList||[]},o=i({varName:"--popup-navbar-height",popupHeight:0,height:0,bottomHeight:0,subjectList:r()});h((function(){var t=v(document.querySelector(".van-tab")).height;o.height=t})),u((function(){return t.subjectAllList}),(function(){o.subjectList=r()})),u((function(){return t.performerList}),(function(){o.subjectList=r()}));var a=function(){var t=[];o.subjectList.forEach((function(e){e.selectList&&e.selectList.length>0&&t.push({studentCount:e.selectList.length,studentList:e.selectList,subjectId:e.subjectId,subjectName:e.subjectName})})),console.log(t,"selectList"),n("close"),n("update:performerList",t),n("confirm",t)};return function(){var e,n;return l("div",{class:D.castPopupContainer,style:"background-color: #f8f9fc; height: 100%"},[l(U,{varName:o.varName,onBarHeight:function(t){o.popupHeight=t}},{default:function(){return[l(g,{title:"演员名单"},null)]}}),l(Q,{shrink:!0,sticky:!0,offsetTop:o.popupHeight},(n=e=o.subjectList.map((function(e){return l(H,{name:e.subjectId,title:e.subjectName+"(".concat(e.studentCount,")")},{default:function(){return[l(nt,{type:t.type,height:o.height,headerHeight:o.popupHeight,bottomHeight:o.bottomHeight,studentList:e.studentList,selectItem:e.selectList,"onUpdate:selectItem":function(t){return e.selectList=t}},null)]}})})),"function"==typeof n||"[object Object]"===Object.prototype.toString.call(n)&&!d(n)?e:{default:function(){return[e]}})),"edit"===t.type&&l(U,{position:"bottom",onBarHeight:function(t){o.bottomHeight=t}},{default:function(){return[l("div",{class:"btnGroupFixed"},[l(p,{round:!0,block:!0,type:"primary",onClick:a},{default:function(){return[s("确认")]}})])]}})])}}}));function ot(t){return"function"==typeof t||"[object Object]"===Object.prototype.toString.call(t)&&!d(t)}var it={id:null,name:"",type:"",musicGroupId:null,musicGroupName:null,subjectAllList:[],subjectIdList:[],time:null,performerList:[],attachmentUrl:[],attachmentVideoUrl:[],attachmentImgUrl:[]},at=t("f",(function(t){return t?{minute:Math.floor(t/60),secord:t%60}:{minute:null,secord:null}})),ut=r({name:"operation-page",setup:function(){var t=L(),r=I(),u=i({activityDetailId:t.query.id,timerStatus:!1,currentDate:[b().format("YYYY"),b().format("MM"),b().format("DD")],orchestraStatus:!1,orchestraColumns:[],programType:"",programTimerStatus:!1,deleteStatus:!1,teamStatus:!1,castStatus:!1,selectOrchestra:[],deleteIndex:0,startTime:b().format("YYYY-MM-DD"),name:"",type:"",detail:[o({},it)]}),m=function(){var t=c(a().mark((function t(){var e;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,w.get("/api-web/cooperationOrgan/musicGroupPage");case 3:e=t.sent,(e.data||[]).forEach((function(t){u.orchestraColumns.push({text:t.name,value:t.id})})),t.next=10;break;case 8:t.prev=8,t.t0=t.catch(0);case 10:case"end":return t.stop()}}),t,null,[[0,8]])})));return function(){return t.apply(this,arguments)}}(),d=function(){var t=c(a().mark((function t(){var e,n,r;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,w.post("/api-web/schoolActivity/userList",{data:{activityDetailId:u.activityDetailId,musicGroupId:u.selectOrchestra.musicGroupId,subjectIds:[]}});case 3:e=t.sent,n=e.data,r=n||[],u.selectOrchestra.subjectAllList=r,u.selectOrchestra.performerList=r,u.selectOrchestra.subjectIdList=[],r.forEach((function(t){u.selectOrchestra.subjectIdList.push(t.subjectId)})),t.next=14;break;case 12:t.prev=12,t.t0=t.catch(0);case 14:case"end":return t.stop()}}),t,null,[[0,12]])})));return function(){return t.apply(this,arguments)}}(),v=function(){u.detail.push(o({},it))},O=function(t){var e=0;return t.forEach((function(t){e+=t.studentCount})),e},N=function(t){var e,n,r=[];null===(e=u.selectOrchestra.performerList)||void 0===e||e.forEach((function(e){t.includes(e.subjectId)&&r.push(e)})),null===(n=u.selectOrchestra.subjectAllList)||void 0===n||n.forEach((function(e){var n,o=null===(n=u.selectOrchestra.performerList)||void 0===n?void 0:n.findIndex((function(t){return t.subjectId==e.subjectId}));t.includes(e.subjectId)&&o<0&&r.push(e)})),u.selectOrchestra.performerList=r},V=function(){var t=c(a().mark((function t(){var e,n,r,o,i,c,l,s;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,w.get("/api-web/schoolActivity/detail/"+u.activityDetailId);case 3:e=t.sent,n=e.data,o=(r=n||{}).detail,i=r.name,c=r.startTime,l=r.type,u.startTime=b(c).format("YYYY-MM-DD"),u.name=i,u.type=l,u.currentDate=[b(c).format("YYYY"),b(c).format("MM"),b(c).format("DD")],s=[],o.forEach((function(t){var e=t.attachmentUrl?t.attachmentUrl.split(","):[],n=[],r=[];e.forEach((function(t){P(t,"image")?r.push(t):n.push(t)}));var o,i,a={id:t.id,name:t.name,type:t.type,musicGroupId:t.musicGroupId,musicGroupName:t.musicGroupName,subjectAllList:t.studentList,subjectIdList:t.subjectIdList?t.subjectIdList.split(",").map((function(t){return Number(t)})):[],time:t.time,performerList:(o=t.studentList,i=[],o.map((function(t){var e=0,n=[];t.studentList.forEach((function(t){t.selected&&(e++,n.push(t))})),e>0&&i.push({studentCount:n.length,subjectId:t.subjectId,subjectName:t.subjectName,studentList:n})})),i||[]),attachmentUrl:e,attachmentVideoUrl:n,attachmentImgUrl:r};s.push(a)})),u.detail=s,t.next=17;break;case 15:t.prev=15,t.t0=t.catch(0);case 17:case"end":return t.stop()}}),t,null,[[0,15]])})));return function(){return t.apply(this,arguments)}}();h((function(){m(),u.activityDetailId&&V()}));var Y=function(){if(!u.name.trim())return f("请填写活动名称"),!1;if(u.name.length<3||u.name.length>15)return f("活动名称长度3~15"),!1;if(!u.type)return f("请选择活动类别"),!1;for(var t=0,e=u.detail.length;t0?"":"请选择表演乐团",border:t.subjectIdList.length<=0,class:t.subjectIdList.length>0?n.teamCell:""},null),t.subjectIdList.length>0&&l(B,{class:n.tagCell,center:!0},{title:function(){return t.subjectIdList.map((function(e,r){var o="";return t.subjectAllList.forEach((function(t){t.subjectId===e&&(o=t.subjectName)})),l(M,{type:"primary",plain:!0,class:n.tagItem,onClick:function(){t.subjectIdList.splice(r,1),N(t.subjectIdList)}},{default:function(){return[o,l(y,{name:"cross",class:n.closeable},null)]}})}))}}),l($,{isLink:!0,label:"演员",inputAlign:"right",readonly:!0,clearable:!1,onClick:function(){t.subjectIdList.length<=0?f("请选择表演团队"):(u.selectOrchestra=[],u.selectOrchestra=t,u.castStatus=!0)}},{input:function(){return O(t.performerList)>0?l("div",{class:n.performance},[s("共 "),l("span",null,[O(t.performerList)]),s(" 名")]):l("div",{class:n.placeholder},[s("请选择演员")])}}),l($,{label:"节目时长",inputAlign:"right",onClick:function(){u.selectOrchestra=[],u.selectOrchestra=t,u.programTimerStatus=!0},center:!0,placeholder:"请选择节目时长"},{input:function(){var e=at(t.time);return l("div",{class:n.programTimer},[l("span",null,[null==e?void 0:e.minute]),s("分"),l("span",null,[null==e?void 0:e.secord]),s("秒")])}}),l($,{label:"上传附件",labelAlign:"top"},{input:function(){return l("div",{class:n.uploadGroup},[l(C,{uploadIcon:F,maxCount:5,native:!0,modelValue:t.attachmentImgUrl,"onUpdate:modelValue":function(e){return t.attachmentImgUrl=e},style:{marginTop:"6px"}},{default:function(){return[l(E,{uploadIcon:G,uploadType:"VIDEO",native:!0,uploadSize:50,accept:".mp4",maxCount:3,modelValue:t.attachmentVideoUrl,"onUpdate:modelValue":function(e){return t.attachmentVideoUrl=e}},null)]}})])}})]}})})),l("div",{class:n.addButtonGroup},[l(p,{icon:"plus",block:!0,type:"primary",plain:!0,class:n.addButton,onClick:v},{default:function(){return[s("添加节目")]}})]),l(U,{position:"bottom"},{default:function(){return[l("div",{class:["btnGroupFixed",n.bottonGroup]},[l(p,{type:"primary",round:!0,block:!0,onClick:R},{default:function(){return[s("确认")]}})])]}}),l(x,{show:u.timerStatus,"onUpdate:show":function(t){return u.timerStatus=t},round:!0,position:"bottom"},{default:function(){return[l(Z,{modelValue:u.currentDate,"onUpdate:modelValue":function(t){return u.currentDate=t},formatter:j,onCancel:function(){return u.timerStatus=!1},onConfirm:function(t){var e=t.selectedValues;u.startTime=e.join("-"),u.timerStatus=!1}},null)]}}),l(x,{show:u.orchestraStatus,"onUpdate:show":function(t){return u.orchestraStatus=t},round:!0,position:"bottom"},{default:function(){return[l(X,{columns:u.orchestraColumns,onCancel:function(){return u.orchestraStatus=!1},onConfirm:function(t){var e=t.selectedOptions;u.selectOrchestra.musicGroupId!=e[0].value?(u.selectOrchestra.subjectAllList=[],u.selectOrchestra.performerList=[],u.selectOrchestra.subjectIdList=[],u.selectOrchestra.musicGroupName=e[0].text,u.selectOrchestra.musicGroupId=e[0].value,u.orchestraStatus=!1,d()):u.orchestraStatus=!1}},null)]}}),l(x,{show:u.programTimerStatus,"onUpdate:show":function(t){return u.programTimerStatus=t},round:!0,style:{width:"82%"}},{default:function(){return[l(tt,{show:u.programTimerStatus,time:u.selectOrchestra.time,onClose:function(){return u.programTimerStatus=!1},onConfirm:function(t){var e=60*Number(t.minute||0)+Number(t.second||0);u.selectOrchestra.time=e,u.programTimerStatus=!1}},null)]}}),l(x,{show:u.deleteStatus,"onUpdate:show":function(t){return u.deleteStatus=t},round:!0,style:{width:"82%"}},{default:function(){return[l("div",{class:n.popupContainer},[l("h2",{class:n.popupTitle},[s("删除节目")]),l("div",{class:n.popupContent},[l("p",{class:n.tipContent},[s("删除"),l("span",null,[s("《节目"),_(u.deleteIndex+1),s("》")]),s(",删除后内容不可恢复")])]),l("div",{class:["btnGroupPopup"]},[l(p,{type:"primary",round:!0,onClick:function(){u.detail.splice(u.deleteIndex,1),u.deleteStatus=!1}},{default:function(){return[s("确定")]}}),l(p,{round:!0,onClick:function(){return u.deleteStatus=!1}},{default:function(){return[s("取消")]}})])])]}}),l(x,{show:u.teamStatus,"onUpdate:show":function(t){return u.teamStatus=t},round:!0,position:"bottom",closeable:!0},{default:function(){return[l(et,{show:u.teamStatus,performances:u.selectOrchestra.subjectAllList,selectIds:u.selectOrchestra.subjectIdList,onClose:function(){return u.teamStatus=!1},onConfirm:function(t){u.selectOrchestra.subjectIdList=t,N(t),u.teamStatus=!1}},null)]}}),l(z,{modelValue:u.castStatus,"onUpdate:modelValue":function(t){return u.castStatus=t}},{default:function(){return[l(rt,{subjectAllList:u.selectOrchestra.subjectAllList,performerList:u.selectOrchestra.performerList,"onUpdate:performerList":function(t){return u.selectOrchestra.performerList=t},onClose:function(){return u.castStatus=!1},onConfirm:function(t){var e=[];(t||[]).forEach((function(t){e.push(t.subjectId)})),u.selectOrchestra.subjectIdList=e||[]}},null)]}})])}}}),ct=Object.freeze(Object.defineProperty({__proto__:null,default:ut,formatterTimer:at},Symbol.toStringTag,{value:"Module"}));t("o",ct)}}}))}();