1 |
- !function(){function e(e,n){var a="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!a){if(Array.isArray(e)||(a=function(e,n){if(!e)return;if("string"==typeof e)return t(e,n);var a=Object.prototype.toString.call(e).slice(8,-1);"Object"===a&&e.constructor&&(a=e.constructor.name);if("Map"===a||"Set"===a)return Array.from(e);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return t(e,n)}(e))||n&&e&&"number"==typeof e.length){a&&(e=a);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,l=!0,c=!1;return{s:function(){a=a.call(e)},n:function(){var e=a.next();return l=e.done,e},e:function(e){c=!0,o=e},f:function(){try{l||null==a.return||a.return()}finally{if(c)throw o}}}}function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function n(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function a(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?n(Object(a),!0).forEach((function(t){r(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):n(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t,n,a,r,i,o){try{var l=e[i](o),c=l.value}catch(u){return void n(u)}l.done?t(c):Promise.resolve(c).then(a,r)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(a,r){var o=e.apply(t,n);function l(e){i(o,a,r,l,c,"next",e)}function c(e){i(o,a,r,l,c,"throw",e)}l(void 0)}))}}var l=document.createElement("style");l.innerHTML='._base_121xa_1>div{background:url(./header-bg.png) no-repeat top center}._detail_121xa_4{overflow:hidden;--van-nav-bar-background-color: transparent;--van-nav-bar-icon-color: #fff;--van-nav-bar-text-color: #fff;--van-nav-bar-title-text-color: #fff;min-width:100vmin;--plyr-color-main: var(--van-primary);--plyr-control-icon-size: .32rem}._detail_121xa_4 .plyr__controls .plyr__controls__item:first-child{background-color:var(--van-primary);color:#fff;border-radius:50%}._base_121xa_1 .van-sticky--fixed{box-shadow:.26667rem .26667rem .26667rem var(--box-shadow-color)}._shareBtn_121xa_22{display:flex;align-items:flex-start;color:#fff;font-size:.37333rem;line-height:.53333rem!important}._shareBtn_121xa_22 .van-image{width:.48rem;height:.48rem;margin-right:.16rem}._bgImg_121xa_34{position:absolute;left:0;top:0;width:100%;height:7.06667rem;-o-object-fit:cover;object-fit:cover;filter:blur(.26667rem)}._bgContent_121xa_43{position:absolute;top:0;height:7.06667rem;width:100%;background-color:rgba(0,0,0,.5);backdrop-filter:blur(.53333rem);-webkit-backdrop-filter:blur(.53333rem)}._musicContent_121xa_52{position:relative;width:100%;height:13.33333rem;overflow:hidden}._musicContent_121xa_52:after{content:" ";position:absolute;bottom:0;left:0;right:0;background:linear-gradient(180deg,rgba(255,255,255,0) 0%,#ffffff 100%);height:7.65333rem}._musicContent_121xa_52 ._musicTitle_121xa_67{text-align:center;font-size:.42667rem}._musicContent_121xa_52 ._musicImg_121xa_71,._musicContent_121xa_52 ._musicImg_121xa_71 img{width:100%}._musicContent_121xa_52 ._finch_121xa_77{width:4rem;margin:2.13333rem auto 0}._musicContent_121xa_52 ._finchLoad_121xa_81{text-align:center;color:#333;font-size:.4rem;margin-top:.10667rem}._musicContent_121xa_52 iframe{border:none;width:100%;height:13.33333rem;overflow:hidden}._musicContent_121xa_52 iframe body ::-webkit-scrollbar-thumb{background-color:#efeff0;border:.02667rem solid transparent;background-clip:padding-box;border-radius:.13333rem}._collectCell_121xa_99{margin:.26667rem .42667rem 0;background:#ffffff;border-radius:.26667rem;box-shadow:0 0 .16rem rgba(229,229,229,.7);overflow:hidden}._videoOperation_121xa_106{position:absolute;left:0;right:0;bottom:.13333rem;z-index:1}._audition_121xa_113{display:flex;align-items:center;margin:.26667rem .42667rem 0;background:linear-gradient(180deg,#fff0d9 0%,#ffdfb8 100%);border-radius:.42667rem;padding:.18667rem .32rem;font-size:.32rem;font-weight:600;color:#ff731d;height:.48rem}._audition_121xa_113 img{margin-top:-.05333rem;width:.56rem;height:.4rem;margin-right:.29333rem}._collect_121xa_99{display:flex;align-items:center;justify-content:space-between;padding:.29333rem;font-size:.37333rem;color:#666}._collect_121xa_99 ._userInfo_121xa_139{display:flex;align-items:center;padding:.08rem .16rem;background:#d5f3ee;border-radius:.42667rem}._collect_121xa_99 ._userInfo_121xa_139 img{width:.69333rem;height:.69333rem;border-radius:50%}._collect_121xa_99 ._userInfo_121xa_139 span{padding-left:.21333rem;max-width:1.6rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#2dc7aa}._collect_121xa_99 ._collectSection_121xa_159{display:flex;align-items:center}._collect_121xa_99 ._collectSection_121xa_159 img{margin-top:-.05333rem;margin-left:.13333rem;width:.48rem;height:.48rem}._collect_121xa_99 ._collectSection_121xa_159 .van-icon{font-size:.53333rem;margin-top:-.05333rem;margin-left:.13333rem;color:var(--van-primary)}._collect_121xa_99 ._collectSection_121xa_159:first-child{margin-right:.37333rem}._lookAlbum_121xa_178{padding:.45333rem .53333rem;margin-bottom:.4rem;font-size:.37333rem;color:#333;line-height:.53333rem;display:flex;align-items:center;justify-content:space-between}._lookAlbum_121xa_178>div{display:flex;align-items:center;line-height:1}._lookAlbum_121xa_178>div img{width:.53333rem;height:.53333rem;margin-right:.26667rem}._bg_121xa_34{position:relative;height:100%;padding:.42667rem;z-index:11}._musicContainer_121xa_204{position:relative;z-index:12;border-radius:.48rem .48rem 0 0;background-color:#fff;overflow-y:auto}._shareMate_121xa_211{position:relative;margin-top:1.33333rem;display:flex;flex:1;align-items:center;padding:.29333rem .32rem;background:#ffffff;border-radius:.26667rem}._shareMate_121xa_211 ._icon_121xa_221{width:.96rem;height:.96rem;border-radius:.26667rem}._shareMate_121xa_211 ._info_121xa_226{margin-left:.37333rem;flex:1;margin-right:.37333rem;word-break:break-all}._shareMate_121xa_211 ._info_121xa_226>h4{color:var(--music-list-item-title-color);font-size:.37333rem;font-weight:600;width:5.33333rem}._shareMate_121xa_211 ._info_121xa_226>p{color:var(--music-list-item-mate-color);line-height:.45333rem}._shareMate_121xa_211 ._tagDiscount_121xa_242{position:absolute;top:-.69333rem;left:.4rem;padding:.05333rem .26667rem .02667rem;height:.61333rem;background:linear-gradient(180deg,#ffb635 0%,#ff4e18 100%);border-radius:.21333rem .21333rem 0 0;font-size:.37333rem;font-weight:600;color:#fff;line-height:.53333rem}._shareVip_121xa_255{position:relative;margin-top:.93333rem;display:flex;flex:1;align-items:center;padding:.18667rem;background:#ffffff;border-radius:.26667rem}._shareVip_121xa_255 ._icon_121xa_221{width:1.92rem;height:1.92rem;border-radius:.26667rem}._shareVip_121xa_255 ._info_121xa_226{margin-left:.16rem;flex:1;word-break:break-all}._shareVip_121xa_255 ._info_121xa_226>h4{color:var(--music-list-item-title-color);font-size:.42667rem;font-weight:600}._shareVip_121xa_255 ._info_121xa_226>p{color:var(--music-list-item-mate-color);line-height:.45333rem}._tagDiscount_121xa_242{position:absolute;top:-.61333rem;left:.4rem;padding:0 .26667rem;height:.61333rem;background:linear-gradient(180deg,#ffb635 0%,#ff4e18 100%);border-radius:.21333rem .21333rem 0 0;font-size:.37333rem;font-weight:600;color:#fff;line-height:.64rem}._buttonDiscount_121xa_297{position:absolute;top:-.48rem;right:.4rem;padding:0 .13333rem;height:.48rem;background:linear-gradient(180deg,#ffb635 0%,#ff4e18 100%);border-radius:.21333rem .21333rem 0 0;font-size:.32rem;font-weight:600;color:#fff;line-height:.53333rem}._pImg_121xa_310{width:1.22667rem;height:1.22667rem;border-radius:.26667rem;overflow:hidden;flex-shrink:0}._musicInfo_121xa_317{padding-top:.61333rem!important;padding-bottom:.61333rem!important;margin-bottom:.26667rem}._musicInfo_121xa_317 ._coomposer_121xa_322{padding-top:.05333rem;padding-left:.16rem;max-width:3.2rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._musicInfo_121xa_317 ._tag_121xa_242{flex-shrink:0;padding:.05333rem .10667rem 0;border-radius:.10667rem}._musicInfo_121xa_317 ._tag_121xa_242+._tag_121xa_242{margin-left:.13333rem}._musicInfo_121xa_317 ._info_121xa_226{margin-left:.37333rem;flex:1;margin-right:.37333rem;word-break:break-all}._musicInfo_121xa_317 ._info_121xa_226>h4{font-size:.42667rem;font-weight:700;color:#1a1a1a;width:4.26667rem;padding-bottom:.08rem}._musicInfo_121xa_317 ._info_121xa_226>p{font-size:.32rem;color:#999;line-height:.45333rem}._musicInfo_121xa_317 ._download_121xa_356{display:flex;flex-direction:column;justify-content:center;align-items:center;font-size:.32rem}._musicInfo_121xa_317 ._download_121xa_356 img{height:.64rem;width:.64rem}._musicInfo_121xa_317 ._download_121xa_356 ._iconExchange_121xa_367{display:flex;align-items:center;justify-content:center;background:#f6f6f6;border-radius:50%;font-size:.42667rem;width:.64rem;height:.64rem}._musicInfo_121xa_317 ._exquisiteFlag_121xa_377{width:.37333rem;margin-left:.13333rem;flex-shrink:0}._musicInfo_121xa_317 ._songAlbum_121xa_382{width:.4rem;height:.4rem;margin-left:.13333rem;flex-shrink:0}._musicInfo_121xa_317 .van-cell__value{display:flex;justify-content:space-around}._colSticky_121xa_392{display:flex;align-items:center;justify-content:space-between}._colSticky_121xa_392 ._priceSection_121xa_397{font-size:.37333rem;font-weight:400;color:#999}._colSticky_121xa_392 ._priceSection_121xa_397 ._price_121xa_397{font-size:.58667rem;font-weight:700;color:#ff4e19}._colSticky_121xa_392 ._priceSection_121xa_397 ._price_121xa_397 i{font-style:normal;font-size:.42667rem}._buyBtn_121xa_411{--van-button-default-height: 1.12rem;flex:1;display:flex;align-items:center;justify-content:flex-end}._buyBtn_121xa_411 .van-button{padding:0 .58667rem;font-weight:600}._buyBtn_121xa_411 .van-button+.van-button{margin-left:.32rem}._buyBtn_121xa_411 ._primry_121xa_425{box-shadow:0 .05333rem .18667rem rgba(45,199,170,.25)}._buyBtn_121xa_411 ._member_121xa_428{box-shadow:0 .05333rem .18667rem rgba(187,156,83,.25)}._functionSection_121xa_431{display:flex}._empty_121xa_434{margin:0 auto;font-size:.37333rem;color:#999;line-height:.53333rem;text-align:center;padding-top:1.6rem}._empty_121xa_434 ._emptyImg_121xa_442{width:4.58667rem}._staffContainer_121xa_445{padding:.4rem .4rem .64rem}._staffContainer_121xa_445 ._staffTitle_121xa_448{padding-bottom:.66667rem;font-size:.42667rem;color:#1a1a1a;line-height:.58667rem}._staffContainer_121xa_445 ._staffImg_121xa_454{width:.85333rem;height:.53333rem}._staffContainer_121xa_445 ._name_121xa_458{padding-left:.45333rem;font-size:.34667rem;font-weight:500;color:#333}._staffContainer_121xa_445 ._boxStyle_121xa_464{background:transparent!important;width:.4rem;height:.4rem;border:transparent!important}._staffContainer_121xa_445 ._active_121xa_470{background:#f7f8f9;border-radius:.21333rem}._staffContainer_121xa_445 ._active_121xa_470 ._name_121xa_458{color:#2dc7aa}._staffContainer_121xa_445 .van-cell{padding:.24rem .42667rem;margin-bottom:.16rem}._staffContainer_121xa_445 .van-cell:hover,._staffContainer_121xa_445 .van-cell:active,._staffContainer_121xa_445 .van-cell.active{background:#f7f8f9;border-radius:.21333rem}._staffContainer_121xa_445 .van-cell:hover .name,._staffContainer_121xa_445 .van-cell:active .name,._staffContainer_121xa_445 .van-cell.active .name{color:#2dc7aa}._staffContainer_121xa_445 .van-cell:last-child{margin-bottom:0}._staffContainer_121xa_445 .van-cell__value{display:flex;justify-content:flex-end}._staffContainer_121xa_445 .van-checkbox{overflow:inherit;height:.48rem;display:flex;align-items:center;justify-content:flex-end}._staffContainer_121xa_445 .van-checkbox__icon{height:.4rem;line-height:.4rem;display:inline-block;vertical-align:middle}._staffContainer_121xa_445 .van-checkbox__label{line-height:.4rem}\n',document.head.appendChild(l),System.register(["./icon_uploader-legacy.99fa0203.js","./icon-xin-legacy.785d3d33.js","./icon_album-legacy.498b9a9b.js","./icon_album_active-legacy.890b9402.js","./icon_exquisite-legacy.ccb5dcc0.js","./icon_music_active-legacy.aba070d7.js","./ResizeObserver.es-legacy.9ef5ac8c.js","./index-legacy.402479d8.js","./index-legacy.e9381954.js","./index-legacy.6268a8fe.js","./index-legacy.8802e914.js","./index-legacy.b0e8bd5d.js","./index-legacy.31c9aada.js","./index-legacy.5893ff71.js","./index-legacy.9ae9a4af.js","./vue3-lottie.es-legacy.c1b9e18d.js","./music-legacy.bce575bd.js","./index-legacy.13430c18.js","./orderStatus-legacy.00d7eecf.js","./icon_share-legacy.69f1973c.js","./download-legacy.30ca7f91.js","./index-legacy.7f1bd7d2.js","./icon_teacher-legacy.42ba77b1.js","./icon_checkbox_default-legacy.e33240bc.js","./plyr.min-legacy.2c76eff7.js","./plyr-legacy.2bfabaee.js","./instrument-legacy.29c3baea.js","./oss-file-upload-legacy.60372814.js","./index-legacy.91eef022.js","./index-legacy.5da1258e.js","./index-legacy.68eb7f39.js","./code-down-load-legacy.3bc1f4e9.js","./logo-legacy.cf4b3bd2.js","./browser-legacy.869507ab.js","./html2canvas.esm-legacy.19f9c2b7.js"],(function(t){"use strict";var n,r,i,l,c,u,s,m,d,f,_,p,v,g,x,h,b,y,w,k,C,I,S,j,T,R,O,E,N,A,P,D,z,B,L,M,X,U,V,q,F,H,W,J,G,K,Q,Y,$,Z,ee,te,ne,ae,re,ie,oe,le,ce,ue,se,me,de,fe,_e,pe,ve,ge,xe,he,be,ye,we,ke,Ce,Ie,Se;return{setters:[function(e){n=e._,r=e.a,i=e.b,l=e.c,c=e.d,u=e.e,s=e.f},function(e){m=e._},function(e){d=e.i,f=e._},function(e){_=e._},function(e){p=e._},function(e){v=e._},function(e){g=e.d,x=e.Q,h=e.P,b=e.U,y=e.S,w=e.a3,k=e.V,C=e.Y,I=e.bE,S=e.W,j=e.j,T=e.A,R=e.F,O=e.T,E=e.N,N=e.f,A=e.g,P=e.B,D=e.bA,z=e.aS,B=e.X,L=e.y,M=e.D,X=e.n,U=e.bi,V=e.bp},function(e){q=e.C},function(e){F=e.C},function(e){H=e.C},function(e){W=e.I},function(e){J=e.R,G=e.a},function(e){K=e.T},function(){},function(){},function(e){Q=e.V},function(e){Y=e.g,$=e.m},function(e){Z=e.C},function(e){ee=e.o},function(e){te=e.i},function(e){ne=e.i,ae=e.a,re=e.A,ie=e.e,oe=e.b,le=e.c,ce=e.d,ue=e.D,se=e.s,me=e.f,de=e.g},function(e){fe=e.C},function(e){_e=e.i},function(e){pe=e.a,ve=e.i},function(e){ge=e.P},function(){},function(e){xe=e.g,he=e.s,be=e.a,ye=e.f,we=e.o},function(e){ke=e.g,Ce=e.o},function(e){Ie=e.e},function(e){Se=e.P},function(){},function(){},function(){},function(){},function(){}],execute:function(){var je={base:"_base_121xa_1",detail:"_detail_121xa_4",shareBtn:"_shareBtn_121xa_22",bgImg:"_bgImg_121xa_34",bgContent:"_bgContent_121xa_43",musicContent:"_musicContent_121xa_52",musicTitle:"_musicTitle_121xa_67",musicImg:"_musicImg_121xa_71",finch:"_finch_121xa_77",finchLoad:"_finchLoad_121xa_81",collectCell:"_collectCell_121xa_99",videoOperation:"_videoOperation_121xa_106",audition:"_audition_121xa_113",collect:"_collect_121xa_99",userInfo:"_userInfo_121xa_139",collectSection:"_collectSection_121xa_159",lookAlbum:"_lookAlbum_121xa_178",bg:"_bg_121xa_34",musicContainer:"_musicContainer_121xa_204",shareMate:"_shareMate_121xa_211",icon:"_icon_121xa_221",info:"_info_121xa_226",tagDiscount:"_tagDiscount_121xa_242",shareVip:"_shareVip_121xa_255",buttonDiscount:"_buttonDiscount_121xa_297",pImg:"_pImg_121xa_310",musicInfo:"_musicInfo_121xa_317",coomposer:"_coomposer_121xa_322",tag:"_tag_121xa_242",download:"_download_121xa_356",iconExchange:"_iconExchange_121xa_367",exquisiteFlag:"_exquisiteFlag_121xa_377",songAlbum:"_songAlbum_121xa_382",colSticky:"_colSticky_121xa_392",priceSection:"_priceSection_121xa_397",price:"_price_121xa_397",buyBtn:"_buyBtn_121xa_411",primry:"_primry_121xa_425",member:"_member_121xa_428",functionSection:"_functionSection_121xa_431",empty:"_empty_121xa_434",emptyImg:"_emptyImg_121xa_442",staffContainer:"_staffContainer_121xa_445",staffTitle:"_staffTitle_121xa_448",staffImg:"_staffImg_121xa_454",name:"_name_121xa_458",boxStyle:"_boxStyle_121xa_464",active:"_active_121xa_470"},Te=t("getAssetsHomeFile",(function(e){var t="../component/images/".concat(e);return{"../component/images/collection.png":n,"../component/images/collection_active.png":r,"../component/images/icon-xin.png":m,"../component/images/icon_ai.png":i,"../component/images/icon_album.png":f,"../component/images/icon_album_active.png":_,"../component/images/icon_author.png":l,"../component/images/icon_download.png":c,"../component/images/icon_exquisite.png":p,"../component/images/icon_music_active.png":v,"../component/images/icon_share.png":u,"../component/images/icon_uploader.png":s}[t].default}));t("default",g({name:"MusicDetail",setup:function(){localStorage.setItem("behaviorId",Y());var t=x(),n=h(),r=b(!1),i=Number(n.query.activityId)||0,l=b(i),c=b(!1),u=b(null),s=b(null),m=b("0"),f=b(null),_=b(""),p=b([]),v=b([]),g=b([]),Re=b([]),Oe=b({first:!1,fixed:!1,staff:!1});b("");var Ee=b(!1),Ne=y({status:!1,radio:"staff"}),Ae={FREE:{color:"#01B84F",text:"免费"},VIP:{color:"#CD863E",text:"会员"},CHARGE:{color:"#3591CE",text:"点播"}},Pe=function(e){Ne.radio=e,Ne.status=!1,"first"!=e||Oe.value.first?"fixed"!=e||Oe.value.fixed?Oe.value.staff||(r.value=!1,it("staff",et.musicXml)):(r.value=!1,it("fixed",et.musicXml)):(r.value=!1,it("first",et.musicXml))};w((function(){return Ne.radio}),(function(e){p.value="first"==e?v.value:"fixed"==e?g.value:Re.value}));var De=function(){var e=o(regeneratorRuntime.mark((function e(a){var i,o,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!r.value){e.next=2;break}return e.abrupt("return");case 2:return r.value=!0,c.value=!1,e.prev=4,e.next=7,L.get("/music/sheet/detail/".concat(n.query.id),{prefix:"TEACHER"===A.platformType?"/api-teacher":"/api-student"});case 7:o=e.sent,f.value=o.data,l=o.data.background,_.value=l&&l.length>0?l[0].audioFileUrl:"",p.value=o.data.musicImg?o.data.musicImg.split(","):[],v.value=o.data.firstTone?o.data.firstTone.split(","):[],g.value=o.data.fixedTone?o.data.fixedTone.split(","):[],Re.value=o.data.musicImg?o.data.musicImg.split(","):[],v.value.length>0&&(Oe.value.first=!0),g.value.length>0&&(Oe.value.fixed=!0),Re.value.length>0&&(Oe.value.staff=!0),B((function(){nt()})),"DOING"===o.data.auditStatus&&M.confirm({message:"曲目审核中",showConfirmButton:!0,showCancelButton:!1,confirmButtonColor:"var(--van-primary)"}).then((function(){N().isApp?X({api:"goBack"}):t.back()})),e.next=25;break;case 22:e.prev=22,e.t0=e.catch(4),c.value=!0;case 25:"CONCERT"!==(null===(i=f.value)||void 0===i?void 0:i.musicSheetType)&&(r.value=!1);case 26:case"end":return e.stop()}}),e,null,[[4,22]])})));return function(t){return e.apply(this,arguments)}}(),ze=function(e){for(var t=e.split(","),n=t[0].match(/:(.*?);/)[1],a=atob(t[1]),r=a.length,i=new Uint8Array(r);r--;)i[r]=a.charCodeAt(r);return new Blob([i],{type:n})},Be=b(null),Le=b(null),Me=b(0),Xe=function(){var e=o(regeneratorRuntime.mark((function e(){var t,n,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=["play-large","play","progress","captions","duration"],Be.value=new ge(Le.value,{controls:n}),e.next=4,L.get("/api-student/sysConfig/queryByParamNameList",{params:{paramNames:"music_sheet_free_rate"}});case 4:a=e.sent,Me.value=(null===(t=a.data[0])||void 0===t?void 0:t.paramValue)||0,Be.value.on("timeupdate",(function(){var e=Be.value,t=e.duration*Me.value/100||0;e.currentTime>=t&&!Ke.value.play&&e.stop()}));case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),Ue=function(){var e=o(regeneratorRuntime.mark((function e(t){var i,o,l,c,u,s,m,d,f,_,v,g,x;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("musicStaffRender"!==(null===(i=t.data)||void 0===i?void 0:i.api)){e.next=27;break}o=t.data.osmdImg,p.value=[],l=[],c=0;case 5:if(!(c<o.length)){e.next=25;break}return e.next=8,he(o[c].img,o[c].width,o[c].height);case 8:return u=e.sent,s=n.query.id+A.user.data.userId+ +new Date+".png",m={filename:s,bucketName:"cloud-coach",postData:{filename:s,acl:"public-read",key:s}},e.next=13,ke(m,!0);case 13:return d=e.sent,f=d.data,_={policy:f.policy,signature:f.signature,key:s,KSSAccessKeyId:f.kssAccessKeyId,acl:"public-read",name:s},v=ze(u),g=V("cloud-coach"),e.next=20,Ce(g,a(a({},_),{},{file:v}));case 20:x=e.sent,l.push(x);case 22:c++,e.next=5;break;case 25:p.value=l,r.value=t.data.loading;case 27:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();k(o(regeneratorRuntime.mark((function e(){var t,n,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,De();case 2:t=C(u),n=t.height,a=C(s),m.value=n+a.height,_.value&&Xe(),window.addEventListener("message",Ue);case 7:case"end":return e.stop()}}),e)})))),I((function(){window.removeEventListener("message",Ue)}));var Ve=function(){var e=o(regeneratorRuntime.mark((function e(){var t,n,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,L.post("/music/sheet/favorite/"+(null===(t=f.value)||void 0===t?void 0:t.id),{prefix:"TEACHER"===A.platformType?"/api-teacher":"/api-student"});case 3:f.value.favorite=null!==(n=f.value)&&void 0!==n&&n.favorite?0:1,f.value.favoriteCount=null!==(a=f.value)&&void 0!==a&&a.favorite?f.value.favoriteCount+1:f.value.favoriteCount-1<0?0:f.value.favoriteCount-1,setTimeout((function(){var e;O(null!==(e=f.value)&&void 0!==e&&e.favorite?"收藏成功":"取消收藏成功")}),100),e.next=10;break;case 8:e.prev=8,e.t0=e.catch(0);case 10:case"end":return e.stop()}}),e,null,[[0,8]])})));return function(){return e.apply(this,arguments)}}(),qe=function(){var e=o(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,L.post("/api-teacher/courseCourseware/submit",{data:{musicSheetId:f.value.id,clientType:"TEACHER",userId:null===(t=A.user.data)||void 0===t?void 0:t.userId}});case 3:n=e.sent,setTimeout((function(){f.value.coursewareId=n.data.id||"",O("添加成功"),f.value.coursewareStatus=1}),100),e.next=9;break;case 7:e.prev=7,e.t0=e.catch(0);case 9:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(){return e.apply(this,arguments)}}(),Fe=function(){var e=o(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:M.confirm({title:"提示",message:"您是否确定移除课件",confirmButtonColor:"#269a93",cancelButtonText:"取消",confirmButtonText:"确定"}).then(o(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,L.post("/api-teacher/courseCourseware/remove/"+f.value.coursewareId,{data:{}});case 3:setTimeout((function(){O("移除成功"),f.value.coursewareStatus=0}),100),e.next=8;break;case 6:e.prev=6,e.t0=e.catch(0);case 8:case"end":return e.stop()}}),e,null,[[0,6]])}))));case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),He=function(){var e=o(regeneratorRuntime.mark((function e(){var t,r,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=f.value,ee.orderObject.orderType="MUSIC",ee.orderObject.orderName=t.musicSheetName,ee.orderObject.orderDesc=t.musicSheetName,ee.orderObject.actualPrice=t.musicPrice,ee.orderObject.recomUserId=n.query.recomUserId||0,ee.orderObject.activityId=n.query.activityId||0,ee.orderObject.orderNo="",ee.orderObject.orderList=[a({orderType:"MUSIC",goodsName:t.musicSheetName,actualPrice:t.musicPrice},t)],e.next=11,L.post("/api-student/userOrder/getPendingOrder",{data:{goodType:"MUSIC",bizId:t.id}});case 11:r=e.sent,(i=r.data)?M.confirm({title:"提示",message:"您有一个未支付的订单,是否继续支付?",confirmButtonColor:"#269a93",cancelButtonText:"取消订单",confirmButtonText:"继续支付"}).then(o(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:ee.orderObject.orderNo=i.orderNo,ee.orderObject.actualPrice=i.actualPrice,ee.orderObject.discountPrice=i.discountPrice,ee.orderObject.paymentConfig=a(a({},i.paymentConfig),{},{paymentVendor:i.paymentVendor,paymentVersion:i.paymentVersion}),We();case 5:case"end":return e.stop()}}),e)})))).catch((function(){M.close(),Je(i.orderNo)})):We();case 14:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),We=function(){var e=f.value;t.push({path:"/orderDetail",query:{orderType:"MUSIC",musicId:e.id}})},Je=function(){var e=o(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,L.post("/api-student/userOrder/orderCancel",{data:{orderNo:t}});case 3:e.next=7;break;case 5:e.prev=5,e.t0=e.catch(0);case 7:case"end":return e.stop()}}),e,null,[[0,5]])})));return function(t){return e.apply(this,arguments)}}(),Ge=S((function(){var e,t=null===(e=f.value)||void 0===e?void 0:e.paymentType;return"string"==typeof t?t=t.split(","):[]})),Ke=S((function(){var e,t=f.value;return{hasTenantAlbum:!(null===(e=n.query)||void 0===e||!e.tenantAlbumId),play:!!t.play,free:null==t?void 0:t.paymentType.includes("FREE"),charge:null==t?void 0:t.paymentType.includes("CHARGE"),vip:null==t?void 0:t.paymentType.includes("VIP"),buy:"PAID"===(null==t?void 0:t.orderStatus)}})),Qe=b(!1),Ye=b(""),$e=b(0),Ze=function(){var e=o(regeneratorRuntime.mark((function e(){var t,n,a,r,i,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,L.post("/api-teacher/open/musicShareProfit",{data:{bizId:null===(t=f.value)||void 0===t?void 0:t.id,userId:null===(n=A.user.data)||void 0===n?void 0:n.userId}});case 3:return i=e.sent,o=location.origin+"/teacher/#/shareMusic?id=".concat(null===(a=f.value)||void 0===a?void 0:a.id,"&recomUserId=").concat(null===(r=A.user.data)||void 0===r?void 0:r.userId,"&userType=").concat(A.platformType),1===i.data.discount&&(o+="&activityId=".concat(i.data.activityId)),$e.value=i.data.discount||0,console.log(o),Ye.value=o,Qe.value=!0,e.abrupt("return");case 13:e.prev=13,e.t0=e.catch(0);case 15:case"end":return e.stop()}}),e,null,[[0,13]])})));return function(){return e.apply(this,arguments)}}(),et=y({open:!1,iframeSrc:"",musicXml:"",instrumentName:"",iframeRef:null,partIndex:0,partXmlIndex:0,tempPartList:[],partList:[],xmlPartList:[]}),tt={"长笛":1,"单簧管":2,"中音单簧管":3,"低音单簧管":4,"高音萨克斯风":5,"中音萨克斯风":6,"次中音萨克斯风":7,"低音萨克斯风":8,"小号":9,"长号":10,"圆号":11,"大号":12,"上低音号":13},nt=function(){var t=o(regeneratorRuntime.mark((function t(){var n,r,i,o,l,c,u,s,m,d,_,p,v,g,x,h;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(t.prev=0,null===(n=f.value)||void 0===n||!n.xmlFileUrl){t.next=13;break}return t.next=4,U.get(null===(c=f.value)||void 0===c?void 0:c.xmlFileUrl,{mode:"cors"});case 4:u=t.sent,s=[],m=(new DOMParser).parseFromString(u,"text/xml"),d=e(m.getElementsByTagName("part-name"));try{for(d.s();!(_=d.n()).done;)(p=_.value).textContent&&s.push(p.textContent)}catch(y){d.e(y)}finally{d.f()}for(s=s.filter((function(e){var t;return!(null!=e&&null!==(t=e.toLocaleUpperCase())&&void 0!==t&&t.includes("COMMON"))})),v=[],g=0;g<s.length;g++)v.push({name:s[g],value:g});et.xmlPartList=v;case 13:et.iframeSrc="".concat(location.origin).concat(location.pathname,"osmd/index.html"),et.musicXml=(null===(r=f.value)||void 0===r?void 0:r.xmlFileUrl)||"",x=(null===(i=f.value)||void 0===i?void 0:i.background)||[],h=[],et.xmlPartList.forEach((function(e){var t=x.find((function(t){return t.track===e.name}));t&&h.push(a(a({},t),{},{index:e.value}))})),et.partList=h,et.tempPartList=JSON.parse(JSON.stringify(et.partList)),et.partList=((b=et.partList).sort((function(e,t){return(tt[xe(e.track)]||20)-(tt[xe(t.track)]||20)})),b),et.partXmlIndex=et.partList[0].index||0,et.instrumentName="CONCERT"===(null===(o=f.value)||void 0===o?void 0:o.musicSheetType)?xe(null===(l=et.partList[et.partIndex])||void 0===l?void 0:l.track):"",t.next=27;break;case 25:t.prev=25,t.t0=t.catch(0);case 27:case"end":return t.stop()}var b}),t,null,[[0,25]])})));return function(){return t.apply(this,arguments)}}(),at=function(){var e=o(regeneratorRuntime.mark((function e(){var t,n,a,r,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t=document.getElementById("staffIframeRef"))||!t.contentWindow.renderXml){e.next=9;break}return e.next=4,U.get(et.musicXml,{mode:"cors"});case 4:n=e.sent,a=be(n),r=ye(a.parsedXML),i=we(r,et.partXmlIndex),t.contentWindow.renderXml(i,0);case 9:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),rt=function(){var e=o(regeneratorRuntime.mark((function e(){var t,n,a,i,o,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t=document.getElementById("staffIframeRef"))||!t.contentWindow.renderXml){e.next=11;break}return r.value=!0,e.next=5,U.get(et.musicXml,{mode:"cors"});case 5:a=e.sent,i=be(a),o=ye(i.parsedXML),l=we(o,et.partXmlIndex),t.contentWindow.renderXml(l,0),et.instrumentName=xe(null===(n=et.partList[et.partIndex])||void 0===n?void 0:n.track);case 11:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),it=function(){var e=o(regeneratorRuntime.mark((function e(t,n){var a,i,o,l,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(a=document.getElementById("staffIframeRef"))||!a.contentWindow.renderXml){e.next=10;break}return r.value=!0,e.next=5,U.get(et.musicXml,{mode:"cors"});case 5:i=e.sent,o=be(i),l=ye(o.parsedXML),c=we(l,et.partXmlIndex),a.contentWindow.resetRenderPage(t,c);case 10:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),ot=S((function(){return et.partList.map((function(e,t){var n,a="CONCERT"===(null===(n=f.value)||void 0===n?void 0:n.musicSheetType)?xe(e.track):"";return{text:e.track+(a?"(".concat(a,")"):""),value:t,xmlValue:e.index,track:e.track}}))}));return function(){var e,i,o,c,m,v,g,x,h,b,y;return j("div",{class:je.detail},[j(Z,{position:"top"},{default:function(){var e;return[j("div",{ref:u},[j(q,{background:"transparent",border:!1,isFixed:!1,color:"#fff",title:null===(e=f.value)||void 0===e?void 0:e.musicSheetName,backIconColor:"white"},{right:function(){return j("div",{class:je.shareBtn,style:{color:"#fff"},onClick:Ze},[j(W,{src:te},null),T("分享")])}})])]}}),j("img",{class:je.bgImg,src:null===(e=f.value)||void 0===e?void 0:e.titleImg},null),j("div",{class:je.bgContent},null),j("div",{class:je.musicContainer,style:{marginTop:"16px",height:"calc(100vh - var(--header-height) - var(--bottom-height) - 16px)"}},[j(F,{border:!1,center:!0,class:je.musicInfo},{icon:function(){var e;return j(W,{class:je.pImg,src:null===(e=f.value)||void 0===e?void 0:e.titleImg},null)},title:function(){var e,t,n,a;return j("div",{class:je.info},[j("h4",{class:"van-ellipsis"},[null===(e=f.value)||void 0===e?void 0:e.musicSheetName]),j("p",{style:{display:"flex"}},[Ge.value.map((function(e){return j(K,{style:{color:Ae[e].color},class:je.tag,type:"success",plain:!0},{default:function(){return[Ae[e].text]}})})),1===(null===(t=f.value)||void 0===t?void 0:t.exquisiteFlag)&&j(W,{class:je.exquisiteFlag,src:Te("icon_exquisite.png")},null),(null===(n=f.value)||void 0===n?void 0:n.albumNums)>0&&j(W,{class:je.songAlbum,src:Te("icon_album_active.png")},null),j("span",{class:je.coomposer},[null===(a=f.value)||void 0===a?void 0:a.composer])])])},value:function(){var e,t,n;return j(R,null,[null!==(e=f.value)&&void 0!==e&&e.notation?j("span",{class:je.download,onClick:function(){Ne.status=!0},style:{display:"CONCERT"!==(null===(t=f.value)||void 0===t?void 0:t.musicSheetType)?"":"none"}},[j("img",{src:ne},null),j("span",null,[T("转谱")])]):null,j("span",{class:je.download,onClick:function(){p.value.length>0?Ee.value=!0:O("暂无图片")}},[j("img",{src:ae},null),j("span",null,[T("下载曲谱")])]),j("span",{style:{display:"CONCERT"===(null===(n=f.value)||void 0===n?void 0:n.musicSheetType)?"":"none"},class:je.download,onClick:function(){et.open=!0}},[j(E,{class:je.iconExchange,name:"exchange"},null),j("span",null,[T("切换乐器")])])])}}),j("div",{class:je.musicContent},[j("p",{class:je.musicTitle},[(null!==(i=f.value)&&void 0!==i&&i.musicSheetName?null===(o=f.value)||void 0===o?void 0:o.musicSheetName:"")+(et.instrumentName?"(".concat(et.instrumentName,")"):"")]),"CONCERT"!==(null===(c=f.value)||void 0===c?void 0:c.musicSheetType)&&Oe.value[Ne.radio]?j(R,null,[p.value.length>0?j("div",{class:je.musicImg},[j("img",{src:p.value[0],alt:""},null)]):r.value?j(R,null,[j(Q,{animationData:re,class:je.finch},null),j("p",{class:je.finchLoad},[T("加载中...")])]):j("div",{class:je.empty},[j(W,{src:ie,class:je.emptyImg},null),j("p",{class:je.emptyTip},[T("暂无乐谱预览图")])])]):j(R,null,[r.value&&j(R,null,[j(Q,{animationData:re,class:je.finch},null),j("p",{class:je.finchLoad},[T("加载中...")])]),j("iframe",{id:"staffIframeRef",style:{opacity:r.value?0:1},src:et.iframeSrc,onLoad:function(){Oe.value[Ne.radio]?at():Pe(Ne.radio)}},null)]),j("div",{class:je.videoOperation},[_.value&&j(R,null,[!Ke.value.play&&100!=Me.value&&0!=Me.value&&j("div",{class:[je.audition]},[j("img",{src:oe},null),j("span",null,[T("每首曲目可试听"),Me.value,T("%")])]),j("div",{class:[je.audio,je.collectCell]},[j("audio",{id:"player",controls:!0,ref:Le},[j("source",{src:_.value,type:"audio/mp3"},null)])])]),j("div",{class:[je.collect,je.collectCell]},[j("div",{class:[je.userInfo],onClick:function(){var e,n;N().isApp&&"TEACHER"===(null===(e=f.value)||void 0===e?void 0:e.sourceType)&&"STUDENT"===A.platformType&&t.push({path:"/teacherHome",query:{teacherId:null===(n=f.value)||void 0===n?void 0:n.userId,tabs:"music"}})}},[j("img",{src:(null===(m=f.value)||void 0===m?void 0:m.userAvatar)||_e},null),j("span",null,[null===(v=f.value)||void 0===v?void 0:v.userName])]),j("div",{class:je.functionSection},[j("div",{class:[je.collectSection],onClick:function(){return Ve()}},[j("span",null,[null===(g=f.value)||void 0===g?void 0:g.favoriteCount,T("人收藏")]),j("img",{src:null!==(x=f.value)&&void 0!==x&&x.favorite?le:ce},null)]),"TEACHER"===A.platformType&&j("div",{class:[je.collectSection],onClick:function(){var e;null!==(e=f.value)&&void 0!==e&&e.coursewareStatus?Fe():qe()}},[j("span",null,[null!==(h=f.value)&&void 0!==h&&h.coursewareStatus?"移出课件":"添加到课件"]),null!==(b=f.value)&&void 0!==b&&b.coursewareStatus?j(E,{name:"clear"},null):j(E,{name:"add",size:18},null)])])])])]),j("div",{class:[je.lookAlbum,je.collectCell],onClick:function(){var e,n;t.push({path:"/look-album-list",query:{id:null===(e=f.value)||void 0===e?void 0:e.id,musicSubject:null===(n=f.value)||void 0===n?void 0:n.musicSubject}})}},[j("div",null,[j("img",{src:d},null),j("span",null,[T("进入曲目所在平台专辑列表")])]),j(E,{name:"arrow",size:16,color:"#666"},null)])]),(null===(y=f.value)||void 0===y?void 0:y.id)&&j(Z,{position:"bottom",background:"white",varName:"--bottom-height"},{default:function(){var e;return[j("div",{ref:s},[Ke.value.play||"TEACHER"===A.platformType&&Ke.value.hasTenantAlbum?j(P,{round:!0,block:!0,type:"primary",color:"linear-gradient(180deg, #59E5D5 0%, #2DC7AA 100%)",onClick:function(){Ie((function(){Be.value&&Be.value.stop();var e=ot.value.find((function(e){return e.value===et.partIndex}));$(f.value,(function(){}),{"part-index":(null==e?void 0:e.xmlValue)||0,sett:Ne.radio})}),500)()}},{default:function(){return[T("立即练习")]}}):j("div",{class:je.colSticky},[Ke.value.charge&&j("div",{class:je.priceSection},[j("span",null,[T("点播价:")]),j("span",{class:je.price},[j("i",null,[T("¥")]),D(null===(e=f.value)||void 0===e?void 0:e.musicPrice)])]),j("div",{class:[je.buyBtn]},[Ke.value.charge&&j(P,{round:!0,type:"primary",color:"linear-gradient(180deg, #59E5D5 0%, #2DC7AA 100%)",class:je.primary,onClick:He},{default:function(){return[T("立即点播")]}}),Ke.value.vip&&j(P,{round:!0,block:!Ke.value.charge,type:"primary",color:"linear-gradient(180deg, #F7BD8D 0%, #CD8806 100%)",class:je.memeber,onClick:function(){t.push({path:"/memberCenter",query:a({},n.query)})}},{default:function(){return[l.value>0&&j("div",{class:[je.buttonDiscount]},[T("专属优惠")]),T("开通会员")]}})])])])]}}),j(z,{show:Qe.value,"onUpdate:show":function(e){return Qe.value=e},style:{background:"transparent"},teleport:"body"},{default:function(){var e;return[j(fe,{teacherId:null===(e=A.user.data)||void 0===e?void 0:e.userId,shareUrl:Ye.value,shareType:"music"},{default:function(){var e,t,n;return[j("div",{class:je.shareMate},[1===$e.value&&j("div",{class:je.tagDiscount},[T("专属优惠")]),j("img",{class:je.icon,crossorigin:"anonymous",src:(null===(e=f.value)||void 0===e?void 0:e.titleImg)+"?t=".concat(+new Date)},null),j("div",{class:je.info},[j("h4",{class:"van-multi-ellipsis--l2"},[null===(t=f.value)||void 0===t?void 0:t.musicSheetName]),j("p",null,[T("作曲人:"),null===(n=f.value)||void 0===n?void 0:n.composer])])])]}})]}}),j(z,{show:Ee.value,"onUpdate:show":function(e){return Ee.value=e},position:"bottom",round:!0},{default:function(){return[Ee.value&&j(ue,{imgList:JSON.parse(JSON.stringify(p.value)),musicSheetName:f.value.musicSheetName},null)]}}),j(z,{show:Ne.status,"onUpdate:show":function(e){return Ne.status=e},teleport:"body",closeable:!0,style:{width:"80%"},round:!0},{default:function(){return[j("div",{class:je.staffContainer},[j("div",{class:je.staffTitle},[T("选择转换曲谱")]),j(J,{modelValue:Ne.radio,"onUpdate:modelValue":function(e){return Ne.radio=e}},{default:function(){return[j(H,{border:!1},{default:function(){return[j(F,{center:!0,border:!1,class:"staff"===Ne.radio?je.active:"",onClick:function(){return Pe("staff")}},{icon:function(){return j(W,{src:se,class:je.staffImg},null)},title:function(){return j("span",{class:je.name},[T("五线谱")])},value:function(){return j(G,{name:"staff"},{icon:function(e){return j(E,{class:je.boxStyle,size:16,name:e.checked?pe:ve},null)}})}}),j(F,{center:!0,border:!1,class:"first"===Ne.radio?je.active:"",onClick:function(){return Pe("first")}},{icon:function(){return j(W,{src:me,class:je.staffImg},null)},title:function(){return j("span",{class:je.name},[T("简谱-首调")])},value:function(){return j(G,{name:"first"},{icon:function(e){return j(E,{class:je.boxStyle,size:16,name:e.checked?pe:ve},null)}})}}),j(F,{center:!0,border:!1,class:"fixed"===Ne.radio?je.active:"",onClick:function(){return Pe("fixed")}},{icon:function(){return j(W,{src:de,class:je.staffImg},null)},title:function(){return j("span",{class:je.name},[T("简谱-固定调")])},value:function(){return j(G,{name:"fixed"},{icon:function(e){return j(E,{class:je.boxStyle,size:16,name:e.checked?pe:ve},null)}})}})]}})]}})])]}}),j(z,{teleport:"body",position:"bottom",round:!0,show:et.open,"onUpdate:show":function(e){return et.open=e}},{default:function(){return[j(Se,{columns:ot.value,onConfirm:function(e){et.open=!1,et.partIndex=e.value,et.partXmlIndex=e.xmlValue,p.value=[],B((function(){rt()}))},onCancel:function(){return et.open=!1}},null)]}})])}}}))}}}))}();
|