1 |
- !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,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,i)}return r}function r(t){for(var r=1;r<arguments.length;r++){var o=null!=arguments[r]?arguments[r]:{};r%2?e(Object(o),!0).forEach((function(e){i(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):e(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function i(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function o(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */o=function(){return e};var e={},r=Object.prototype,i=r.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},a=n.iterator||"@@iterator",_=n.asyncIterator||"@@asyncIterator",c=n.toStringTag||"@@toStringTag";function d(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{d({},"")}catch(S){d=function(t,e,r){return t[e]=r}}function s(t,e,r,i){var o=e&&e.prototype instanceof h?e:h,n=Object.create(o.prototype),a=new L(i||[]);return n._invoke=function(t,e,r){var i="suspendedStart";return function(o,n){if("executing"===i)throw new Error("Generator is already running");if("completed"===i){if("throw"===o)throw n;return I()}for(r.method=o,r.arg=n;;){var a=r.delegate;if(a){var _=v(a,r);if(_){if(_===u)continue;return _}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===i)throw i="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i="executing";var c=l(t,e,r);if("normal"===c.type){if(i=r.done?"completed":"suspendedYield",c.arg===u)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(i="completed",r.method="throw",r.arg=c.arg)}}}(t,r,a),n}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(S){return{type:"throw",arg:S}}}e.wrap=s;var u={};function h(){}function p(){}function f(){}var g={};d(g,a,(function(){return this}));var m=Object.getPrototypeOf,x=m&&m(m(W([])));x&&x!==r&&i.call(x,a)&&(g=x);var w=f.prototype=h.prototype=Object.create(g);function b(t){["next","throw","return"].forEach((function(e){d(t,e,(function(t){return this._invoke(e,t)}))}))}function y(e,r){function o(n,a,_,c){var d=l(e[n],e,a);if("throw"!==d.type){var s=d.arg,u=s.value;return u&&"object"==t(u)&&i.call(u,"__await")?r.resolve(u.__await).then((function(t){o("next",t,_,c)}),(function(t){o("throw",t,_,c)})):r.resolve(u).then((function(t){s.value=t,_(s)}),(function(t){return o("throw",t,_,c)}))}c(d.arg)}var n;this._invoke=function(t,e){function i(){return new r((function(r,i){o(t,e,r,i)}))}return n=n?n.then(i,i):i()}}function v(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,v(t,e),"throw"===e.method))return u;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var i=l(r,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,u;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,u):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,u)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function C(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function W(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,o=function e(){for(;++r<t.length;)if(i.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:I}}function I(){return{value:void 0,done:!0}}return p.prototype=f,d(w,"constructor",f),d(f,"constructor",p),p.displayName=d(f,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,f):(t.__proto__=f,d(t,c,"GeneratorFunction")),t.prototype=Object.create(w),t},e.awrap=function(t){return{__await:t}},b(y.prototype),d(y.prototype,_,(function(){return this})),e.AsyncIterator=y,e.async=function(t,r,i,o,n){void 0===n&&(n=Promise);var a=new y(s(t,r,i,o),n);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(w),d(w,c,"Generator"),d(w,a,(function(){return this})),d(w,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var i=e.pop();if(i in t)return r.value=i,r.done=!1,r}return r.done=!0,r}},e.values=W,L.prototype={constructor:L,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(C),!t)for(var e in this)"t"===e.charAt(0)&&i.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(r,i){return a.type="throw",a.arg=t,e.next=r,i&&(e.method="next",e.arg=void 0),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var n=this.tryEntries[o],a=n.completion;if("root"===n.tryLoc)return r("end");if(n.tryLoc<=this.prev){var _=i.call(n,"catchLoc"),c=i.call(n,"finallyLoc");if(_&&c){if(this.prev<n.catchLoc)return r(n.catchLoc,!0);if(this.prev<n.finallyLoc)return r(n.finallyLoc)}else if(_){if(this.prev<n.catchLoc)return r(n.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<n.finallyLoc)return r(n.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&i.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var n=o;break}}n&&("break"===t||"continue"===t)&&n.tryLoc<=e&&e<=n.finallyLoc&&(n=null);var a=n?n.completion:{};return a.type=t,a.arg=e,n?(this.method="next",this.next=n.finallyLoc,u):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),u},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),C(r),u}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var i=r.completion;if("throw"===i.type){var o=i.arg;C(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:W(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),u}},e}function n(t,e,r,i,o,n,a){try{var _=t[n](a),c=_.value}catch(d){return void r(d)}_.done?e(c):Promise.resolve(c).then(i,o)}function a(t){return function(){var e=this,r=arguments;return new Promise((function(i,o){var a=t.apply(e,r);function _(t){n(a,i,o,_,c,"next",t)}function c(t){n(a,i,o,_,c,"throw",t)}_(void 0)}))}}var _=document.createElement("style");_.innerHTML="._wall_d2t50_1{height:70px}._width1200_d2t50_4{width:1200px;margin:20px auto 0}._musicWrap_d2t50_8{display:flex;flex-direction:row}._musicWrap_d2t50_8 ._left_d2t50_12{width:826px;background-color:#fff;margin-right:14px;margin-bottom:100px}._musicWrap_d2t50_8 ._left_d2t50_12 ._title_d2t50_18{padding:28px 28px 0;background-color:#fff;display:flex;flex-direction:row;justify-content:space-between;align-items:center;margin-bottom:24px}._musicWrap_d2t50_8 ._left_d2t50_12 ._title_d2t50_18 ._titleLeft_d2t50_27{display:flex;flex-direction:row;align-items:center}._musicWrap_d2t50_8 ._left_d2t50_12 ._title_d2t50_18 ._titleLeft_d2t50_27 p{min-width:60px;font-weight:600;color:#333;line-height:28px}._musicWrap_d2t50_8 ._left_d2t50_12 ._title_d2t50_18 ._titleRight_d2t50_38{cursor:pointer;display:flex;flex-direction:row;align-items:center}._musicWrap_d2t50_8 ._left_d2t50_12 ._title_d2t50_18 ._titleRight_d2t50_38 img{width:24px;height:24px;margin-right:10px}._musicWrap_d2t50_8 ._left_d2t50_12 ._musicContent_d2t50_49{page-break-after:always;width:702px;min-height:665px;margin:0 auto;border:1px dotted #ccc}._musicWrap_d2t50_8 ._showCode_d2t50_56{position:relative}._musicWrap_d2t50_8 ._showCode_d2t50_56 ._showCodeWrap_d2t50_59{position:absolute;z-index:10;bottom:0}._musicWrap_d2t50_8 ._showCode_d2t50_56 ._showCodeWrap_d2t50_59 ._close_d2t50_64{width:19px;height:19px;position:absolute;z-index:10;top:5px;right:5px;cursor:pointer}._musicWrap_d2t50_8 ._showCode_d2t50_56 ._showCodeWrap_d2t50_59 ._code_d2t50_73{width:74px;height:74px;position:absolute;z-index:10;top:10px;left:10px}._musicWrap_d2t50_8 ._showCode_d2t50_56 ._showCodeWrap_d2t50_59 ._title_d2t50_18{padding:0;height:22px;font-size:16px;font-family:PingFangSC-Semibold,PingFang SC;font-weight:600;color:#333;line-height:22px;position:absolute;z-index:10;top:14px;left:101px;background-color:transparent}._musicWrap_d2t50_8 ._showCode_d2t50_56 ._showCodeWrap_d2t50_59 ._conent_d2t50_95{position:absolute;z-index:10;top:38px;left:101px;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#333;line-height:20px}._musicWrap_d2t50_8 ._showCode_d2t50_56 ._showCodeWrap_d2t50_59 ._subConent_d2t50_106{position:absolute;z-index:10;top:58px;left:101px;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#333;line-height:20px}._musicWrap_d2t50_8 ._audios_d2t50_117{width:100%;border-radius:0;background-color:#333}._right_d2t50_122 ._musicInfo_d2t50_122{background-color:#fff;padding:24px;width:360px;margin-bottom:14px}._right_d2t50_122 ._musicInfo_d2t50_122 h2{font-size:18px;font-family:PingFangSC-Semibold,PingFang SC;font-weight:600;color:#333;line-height:28px;margin-bottom:15px}._right_d2t50_122 ._musicInfo_d2t50_122 ._tagList_d2t50_136{margin-bottom:15px}._right_d2t50_122 ._musicInfo_d2t50_122 ._collect_d2t50_139{display:flex;flex-direction:row;align-items:center;margin-bottom:15px;font-size:16px}._right_d2t50_122 ._musicInfo_d2t50_122 ._collect_d2t50_139 ._start_d2t50_146{width:23px;height:23px;margin-right:6px}._right_d2t50_122 ._musicInfo_d2t50_122 ._collect_d2t50_139 p{font-size:16px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#333;line-height:25px}._right_d2t50_122 ._musicInfo_d2t50_122 ._subTitle_d2t50_158{margin-bottom:15px}._right_d2t50_122 ._musicInfo_d2t50_122 ._subTitle_d2t50_158 span{font-size:16px;line-height:22px;color:#666}._right_d2t50_122 ._btooom_d2t50_166{background-color:#fff}._right_d2t50_122 ._btooom_d2t50_166 ._teacherInfo_d2t50_169{padding:18px 14px;background-color:#fff}._right_d2t50_122 ._btooom_d2t50_166 ._teacherInfo_d2t50_169 ._teacherHeadWrap_d2t50_173{display:flex;flex-direction:row;align-items:center;justify-content:space-between}._right_d2t50_122 ._btooom_d2t50_166 ._teacherInfo_d2t50_169 ._teacherHeadWrap_d2t50_173 ._teacherHeadLeft_d2t50_179{display:flex;flex-direction:row;align-items:center}._right_d2t50_122 ._btooom_d2t50_166 ._teacherInfo_d2t50_169 ._teacherHeadWrap_d2t50_173 ._teacherHeadLeft_d2t50_179 ._teacherHeader_d2t50_184{width:50px;height:50px;border-radius:50%;overflow:hidden;margin-right:10px}._right_d2t50_122 ._btooom_d2t50_166 ._teacherInfo_d2t50_169 ._teacherHeadWrap_d2t50_173 ._teacherHeadLeft_d2t50_179 ._teacherHeadName_d2t50_191{padding-top:2px;display:flex;flex-direction:row;align-items:center;font-size:18px;font-family:PingFangSC-Semibold,PingFang SC;font-weight:600;color:#333;line-height:28px}._right_d2t50_122 ._btooom_d2t50_166 ._teacherInfo_d2t50_169 ._teacherHeadWrap_d2t50_173 ._teacherHeadLeft_d2t50_179 ._teacherHeadName_d2t50_191 span{margin-right:12px}._right_d2t50_122 ._btooom_d2t50_166 ._teacherInfo_d2t50_169 ._teacherHeadWrap_d2t50_173 ._teacherHeadLeft_d2t50_179 ._teacherHeadName_d2t50_191 ._teacherIcon_d2t50_205{width:54px;height:22px;margin-right:5px}._right_d2t50_122 ._btooom_d2t50_166 ._teacherInfo_d2t50_169 ._teacherHeadWrap_d2t50_173 ._teacherHeadLeft_d2t50_179 ._fens_d2t50_210{font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#999;line-height:22px}._right_d2t50_122 ._btooom_d2t50_166 ._teacherInfo_d2t50_169 ._teacherHeadWrap_d2t50_173 ._teacherHeadLeft_d2t50_179 ._fens_d2t50_210 span{color:#333}._right_d2t50_122 ._btooom_d2t50_166 ._teacherInfo_d2t50_169 ._teacherHeadWrap_d2t50_173 ._teacherHeadRight_d2t50_220{width:67px;background:#2dc7aa;border-radius:21px;font-size:14px;font-family:PingFangSC-Semibold,PingFang SC;color:#fff;line-height:30px;text-align:center;cursor:pointer}._right_d2t50_122 ._btooom_d2t50_166 ._teacherInfo_d2t50_169 ._teacherHeadWrap_d2t50_173 ._teacherHeadRight_d2t50_220._isStart_d2t50_231{border:1px solid #2dc7aa;background:#fff;color:#2dc7aa}._right_d2t50_122 ._btooom_d2t50_166 ._teacherInfo_d2t50_169 ._courseWrap_d2t50_236{padding:20px;background-color:#fff}._right_d2t50_122 ._btooom_d2t50_166 ._teacherInfo_d2t50_169 ._courseWrap_d2t50_236 ._courseTitle_d2t50_240{display:flex;flex-direction:row;align-items:center;font-size:20px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#333;line-height:28px}._right_d2t50_122 ._btooom_d2t50_166 ._teacherInfo_d2t50_169 ._courseWrap_d2t50_236 ._courseTitle_d2t50_240 img{width:26px;height:26px;margin-right:8px}._right_d2t50_122 ._btooom_d2t50_166 ._teacherInfo_d2t50_169 ._titleWrap_d2t50_255{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;margin-top:20px;padding-bottom:12px}._right_d2t50_122 ._btooom_d2t50_166 ._teacherInfo_d2t50_169 ._titleWrap_d2t50_255 span{font-size:20px;color:#333;line-height:28px;font-weight:600}._right_d2t50_122 ._btooom_d2t50_166 ._teacherInfo_d2t50_169 ._titleWrap_d2t50_255 img{width:24px;height:24px;margin-right:10px}._right_d2t50_122 ._btooom_d2t50_166 ._teacherInfo_d2t50_169 ._teacherDetail_d2t50_274{font-size:18px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#666;line-height:25px}._right_d2t50_122 ._btooom_d2t50_166 ._teacherInfo_d2t50_169 ._teacherVideoList_d2t50_281{display:flex;flex-direction:row;flex-wrap:wrap}._right_d2t50_122 ._btooom_d2t50_166 ._teacherInfo_d2t50_169 ._teacherVideoList_d2t50_281 ._videoItem_d2t50_286{margin-right:18px;margin-bottom:12px;width:218px;height:145px;position:relative}._right_d2t50_122 ._btooom_d2t50_166 ._teacherInfo_d2t50_169 ._teacherVideoList_d2t50_281 ._videoItem_d2t50_286 ._Styles_d2t50_293,._right_d2t50_122 ._btooom_d2t50_166 ._teacherInfo_d2t50_169 ._teacherVideoList_d2t50_281 ._videoItem_d2t50_286 ._videoItemVideo_d2t50_297{width:218px;height:145px}._right_d2t50_122 ._btooom_d2t50_166 ._teacherInfo_d2t50_169 ._teacherVideoList_d2t50_281 ._videoItem_d2t50_286:nth-child(2n){margin-right:0}._right_d2t50_122 ._btooom_d2t50_166 ._otherMusic_d2t50_304{padding:0 20px}._right_d2t50_122 ._btooom_d2t50_166 ._otherMusic_d2t50_304 ._videoNav_d2t50_307{display:flex;flex-direction:row;align-items:center;justify-content:space-between;margin-bottom:14px}._right_d2t50_122 ._btooom_d2t50_166 ._otherMusic_d2t50_304 ._videoNav_d2t50_307 h5{font-size:16px;font-weight:500;color:#333;line-height:30px}._right_d2t50_122 ._btooom_d2t50_166 ._otherMusic_d2t50_304 ._videoNav_d2t50_307 ._wrapRight_d2t50_320{display:flex;flex-direction:row;cursor:pointer}._right_d2t50_122 ._btooom_d2t50_166 ._otherMusic_d2t50_304 ._videoNav_d2t50_307 ._wrapRight_d2t50_320 span{color:#666}._right_d2t50_122 ._btooom_d2t50_166 ._otherMusic_d2t50_304 ._videoNav_d2t50_307 ._wrapRight_d2t50_320 ._arrow_d2t50_328{width:20px;height:20px;margin-left:4px}._right_d2t50_122 ._btooom_d2t50_166 ._otherMusic_d2t50_304 h2{font-size:18px;font-family:PingFangSC-Semibold,PingFang SC;font-weight:600;color:#333;line-height:25px;margin-bottom:14px}._right_d2t50_122 ._btooom_d2t50_166 ._otherMusic_d2t50_304 ._otherMusicList_d2t50_341{padding:18px 0;border-top:1px solid #dedede}.subjectChiose{border-radius:14px;overflow:hidden}.subjectChiose .el-input__wrapper{background-color:#f1f1f1;border:none;box-shadow:none!important}.subjectChiose .el-input__wrapper.is-focus{border:none!important;box-shadow:none!important}.subjectChiose .el-input.is-focus .el-input__wrapper{background-color:#f1f1f1;border:none;box-shadow:none!important}audio::-webkit-media-controls-pane{background-color:#333}.iframe body ::-webkit-scrollbar-thumb{background-color:#efeff0;border:1px solid transparent;background-clip:padding-box;border-radius:5px}._itemWrap_je1de_1{height:40px;background:#ffffff;display:flex;flex-direction:row;justify-content:space-between;width:100%;border-radius:12px;margin-bottom:20px;cursor:pointer}._itemWrap_je1de_1 ._left_je1de_12{display:flex;flex-direction:row;align-items:center}._itemWrap_je1de_1 ._left_je1de_12 ._imgWrap_je1de_17{width:40px;height:40px;margin-right:18px}._itemWrap_je1de_1 ._left_je1de_12 ._textWrap_je1de_22 p{font-weight:600;color:#333;line-height:22px;font-size:14px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}._itemWrap_je1de_1 ._left_je1de_12 ._textWrap_je1de_22 p span{font-weight:400;color:#6a6a6a}._itemWrap_je1de_1 ._left_je1de_12 ._textWrap_je1de_22 ._authorInfo_je1de_35{display:flex;flex-direction:row;align-items:center}._itemWrap_je1de_1 ._left_je1de_12 ._textWrap_je1de_22 ._authorInfo_je1de_35 ._icon_je1de_40{width:20px;height:20px;border-radius:27px;margin-right:6px}._itemWrap_je1de_1 ._left_je1de_12 ._textWrap_je1de_22 ._authorInfo_je1de_35 ._authorName_je1de_46{color:#333;font-size:12px;margin-right:8px}\n",document.head.appendChild(_),System.register(["./index-legacy.73907282.js","./index-legacy.67c6757a.js","./start-legacy.54568697.js","./index-legacy.ababd1e9.js","./music-legacy.146bf361.js","./arrow-legacy.c72c6a83.js","./index2-legacy.a520a7f1.js","./index2-legacy.1add03e3.js"],(function(t){"use strict";var e,i,n,_,c,d,s,l,u,h,p,f,g,m,x,w,b,y,v,j,C,L,W;return{setters:[function(t){e=t.c},function(t){i=t.d,n=t.u,_=t.r,c=t.w,d=t.c,s=t.a,l=t.au,u=t.e,h=t.o,p=t.av,f=t.aw,g=t.ax,m=t.ay,x=t.F,w=t.b,b=t.az},function(t){y=t.s},function(t){v=t.t},function(t){j=t.m},function(t){C=t.a},function(t){L=t.E,W=t.a},function(){}],execute:function(){var I={wall:"_wall_d2t50_1",width1200:"_width1200_d2t50_4",musicWrap:"_musicWrap_d2t50_8",left:"_left_d2t50_12",title:"_title_d2t50_18",titleLeft:"_titleLeft_d2t50_27",titleRight:"_titleRight_d2t50_38",musicContent:"_musicContent_d2t50_49",showCode:"_showCode_d2t50_56",showCodeWrap:"_showCodeWrap_d2t50_59",close:"_close_d2t50_64",code:"_code_d2t50_73",conent:"_conent_d2t50_95",subConent:"_subConent_d2t50_106",audios:"_audios_d2t50_117",right:"_right_d2t50_122",musicInfo:"_musicInfo_d2t50_122",tagList:"_tagList_d2t50_136",collect:"_collect_d2t50_139",start:"_start_d2t50_146",subTitle:"_subTitle_d2t50_158",btooom:"_btooom_d2t50_166",teacherInfo:"_teacherInfo_d2t50_169",teacherHeadWrap:"_teacherHeadWrap_d2t50_173",teacherHeadLeft:"_teacherHeadLeft_d2t50_179",teacherHeader:"_teacherHeader_d2t50_184",teacherHeadName:"_teacherHeadName_d2t50_191",teacherIcon:"_teacherIcon_d2t50_205",fens:"_fens_d2t50_210",teacherHeadRight:"_teacherHeadRight_d2t50_220",isStart:"_isStart_d2t50_231",courseWrap:"_courseWrap_d2t50_236",courseTitle:"_courseTitle_d2t50_240",titleWrap:"_titleWrap_d2t50_255",teacherDetail:"_teacherDetail_d2t50_274",teacherVideoList:"_teacherVideoList_d2t50_281",videoItem:"_videoItem_d2t50_286",Styles:"_Styles_d2t50_293",videoItemVideo:"_videoItemVideo_d2t50_297",otherMusic:"_otherMusic_d2t50_304",videoNav:"_videoNav_d2t50_307",wrapRight:"_wrapRight_d2t50_320",arrow:"_arrow_d2t50_328",otherMusicList:"_otherMusicList_d2t50_341"},S="_itemWrap_je1de_1",P="_left_je1de_12",A="_imgWrap_je1de_17",k="_textWrap_je1de_22",D=i({name:"musicItem",emits:["musicDetail"],props:{item:{type:Object,default:function(){return{}}},onClick:{type:Function,default:function(t){}}},setup:function(t,e){n();var r=_({item:t.item});c((function(){return t.item}),(function(t){r.item=t}));return function(){return d("div",{onClick:function(){t.onClick(r.item)}},[d("div",{class:S,onClick:function(){e.emit("musicDetail",r.item.id)}},[d("div",{class:P},[d("div",{class:A},[d("img",{src:j,alt:""},null)]),d("div",{class:k},[d("p",null,[r.item.musicSheetName]),d("p",null,[d("span",null,[s("作曲: "),r.item.composer])])])])])])}}}),H=function(){var t=a(o().mark((function t(e){var r,i,n;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return(r=document.createElement("img")).src=e,r.setAttribute("crossOrigin","anonymous"),t.next=5,new Promise((function(t){return r.onload=t}));case 5:return(i=document.createElement("canvas")).width=r.width,i.height=r.height,(n=i.getContext("2d")).fillStyle="rgb(255, 255, 255)",n.fillStyle="#fff",n.fillRect(0,0,r.width,r.height),n.drawImage(r,0,0),t.abrupt("return",i);case 14:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),N=function(t,e){var r=t.getContext("2d"),i=document.createElement("canvas");i.width=500,i.height=300;var o=i.getContext("2d");o.clearRect(0,0,i.width,i.height),o.rotate(-25*Math.PI/180),o.font="50pt Calibri",o.fillStyle="rgba(149,155,170,0.2)",o.fillText("酷乐秀",-10,180);var n=r.createPattern(i,"repeat");return r.fillStyle=n,r.fillRect(0,0,t.width,t.height),t},E=function(t){return t.toDataURL("image/png")};function O(t){return"function"==typeof t||"[object Object]"===Object.prototype.toString.call(t)&&!f(t)}t("default",i({name:"muiscDetial",props:{title:{type:String,default:""}},components:{colVideo:e,tagItem:v,musicItem:D},setup:function(t,i){var f=l(),j=n(),S=_({title:t.title,id:f.query.id,subjectId:"",subjectList:[],tagList:[],teacherDetail:{},musicDetail:{},musicList:[],mp3Type:"",activeRow:{},showCode:!1,userType:"",accompanyUrl:"",imgData:"",imgUrl:""});u();var P=function(){var t=a(o().mark((function t(){var e;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,w.get("/api-website/open/music/sheet/detail/".concat(S.id),{});case 3:e=t.sent,S.musicDetail=e.data,S.musicList=e.data.teacher.musicSheetList,S.subjectList=e.data.background,S.tagList=e.data.musicTagNames?e.data.musicTagNames.split(","):[],S.mp3Type=e.data.audioType,S.subjectList&&S.subjectList.length>0&&(S.activeRow=e.data.background[0],S.subjectId=e.data.background[0].id),S.teacherDetail=e.data.teacher,k(),console.log("调用"),t.next=18;break;case 15:t.prev=15,t.t0=t.catch(0),console.log(t.t0);case 18:case"end":return t.stop()}}),t,null,[[0,15]])})));return function(){return t.apply(this,arguments)}}(),A=function(){var t=a(o().mark((function t(){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,w.get("/api-website/student/starOrUnStar",{params:{userId:S.teacherDetail.userId,starStatus:S.teacherDetail.star?0:1}});case 3:t.sent,P(),t.next=10;break;case 7:t.prev=7,t.t0=t.catch(0),console.log(t.t0);case 10:case"end":return t.stop()}}),t,null,[[0,7]])})));return function(){return t.apply(this,arguments)}}();c((function(){return S.accompanyUrl}),(function(t){S.accompanyUrl=t}));var k=function(){var t=b();S.accompanyUrl=t+"/accompany/colxiu-website.html?id=".concat(S.id,"&part-index=").concat(S.subjectId)};h((function(){window.addEventListener("message",(function(t){console.log(t),S.imgData=t.data}),!1),S.userType=p(),S.showCode="STUDENT"==S.userType,P()}));var T=function(){var t=a(o().mark((function t(){var e,r,i,n;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,H(S.imgData);case 2:e=t.sent,r=N(e),i=E(r),(n=document.createElement("a")).setAttribute("download",S.musicDetail.musicSheetName+".png"),S.imgUrl=i,n.href=i,n.click();case 10:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();return function(){var t;return d(x,null,[d("div",{class:I.wall},null),d("div",{class:[I.width1200,I.musicWrap]},[d("div",{class:I.left},[d("div",{class:I.title},[d("div",{class:I.titleLeft},[d("p",null,[s("声部:")]),d(L,{class:"w-full subjectChiose",modelValue:S.subjectId,"onUpdate:modelValue":function(t){return S.subjectId=t},placeholder:"请选择声部",onChange:function(){k()}},O(t=S.subjectList.map((function(t){return d(W,{key:t.id,value:t.id,label:t.track},null)})))?t:{default:function(){return[t]}})]),d("div",{class:I.titleRight,onClick:function(){return T()}},[d("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAsCAYAAAAehFoBAAAAAXNSR0IArs4c6QAAAiBJREFUWEftl79PGmEcxp/3DouJYTCxo05NyyB0oSWYTgw2YdKmOSIrg3+Btn9Cq3+BAyvGS9M6kejAZCC0LgKDbTqVURMHYuIP7r7NSyAhIN779Y7B9mUiued9vp973ueFO4FH9hGPjBcaeNI7phPWCQ8l8P9VIla1iVODRsryFZKvxRJUA3tsl07Yq8+6w14JDV/Xh04fuqEEdCX8ViJeszdA2BznQ4Q5zkEVAudj9QJb9aS1fZ+f0h9HrLq3CYhPwMTeUAigj41Udsvr5pWApclixc4LYAcCppcp6zrBIWC9uWQVVNYpA0uzlzV71XFRFMC0irmXhoAr00DuJGl989L2r7OA5aJ4zU67LvYFEFEdcpeOgLZhYKWetMocHzZwtx61LwnhuiUATznDBrRnZBiZZvL9MXf9g4C7z8GVYhQidABggTn0D6jztrGUO2Wu68ofDNxN+vvuvHDMQwBRxeGnZDrLzddrLUX9iMwXsHR7flycC9+GZD1eeUD8uJ7qZH4lcuN/hxXuwjewnPHiqBB5Eorsg5C+c6ZA+abTXvn5Jt9WYLpXEgiwnPCsVApPz14WBejd4ESC+Hp1MZP7nclc+4X13eERANs24/PYISDfMy/UW1iHZTlBwAYP3KOKVfc+y6+NVPZDUKB9n8AqETTYOL9/F5j7oM5NXPVtWjlhDTy0BTphbicnpVfu8KQAuL4amJsYV68T5ibG1f8FP3mqLWjC3hAAAAAASUVORK5CYII=",alt:""},null),d("p",null,[s("下载乐谱")])])]),d("div",{class:I.musicContent},[d("iframe",{id:"containerPrint",ref:"print",style:"width: 100%;height:665px;page-break-after:always;",src:S.accompanyUrl,class:I.iframe},null)]),S.showCode?d("div",{class:I.showCode},[d("div",{class:I.showCodeWrap},[d("img",{class:I.close,src:g,alt:"",onClick:function(){S.showCode=!1}},null),d("img",{class:I.code,src:"./assets/code.b0b30240.png",alt:""},null),d("img",{src:"./assets/banner.6760c6c7.png",alt:""},null)])]):null,"MP3"==S.mp3Type?d(e,{src:S.activeRow.audioFileUrl,styleValue:{height:"68px",bacground:"#333"},type:"audto",settings:["captions","quality","speed","loop"],class:I.audios},null):null]),d("div",{class:I.right},[d("div",{class:I.musicInfo},[d("h2",null,[S.musicDetail.musicSheetName]),d("div",{class:I.collect},[d("img",{src:y,class:I.start,alt:""},null),d("p",null,[S.musicDetail.favoriteNum,s("人收藏")])]),d("div",{class:I.tagList},[S.tagList.map((function(t){return d(v,{title:t},O(t)?t:{default:function(){return[t]}})}))]),d("p",{class:I.subTitle},[s("作曲人:"),d("span",null,[S.musicDetail.composer])]),d("p",{class:I.subTitle},[s("声部:"),d("span",null,[S.musicDetail.subjectNames])])]),d("div",{class:I.btooom},[S.teacherDetail.userId?d("div",{class:I.teacherInfo},[d("div",{class:I.teacherHeadWrap},[d("div",{class:I.teacherHeadLeft},[d("img",{src:S.teacherDetail.avatar?S.teacherDetail.avatar:m,alt:"",class:I.teacherHeader},null),d("div",{class:I.teacherHeadInfo},[d("div",{class:I.teacherHeadName},[d("span",null,[S.teacherDetail.userName])]),d("p",{class:I.fens},[s("粉丝 "),d("span",null,[S.teacherDetail.fansNum])])])]),"STUDENT"==S.userType?d("div",{class:[I.teacherHeadRight,S.teacherDetail.star?I.isStart:""],onClick:function(){return A()}},[S.teacherDetail.star?"已关注":"关注"]):null])]):null,d("div",{class:I.otherMusic},[d("div",{class:I.videoNav},[d("h5",null,[s("Ta的曲谱")]),d("div",{class:I.wrapRight,onClick:function(){j.push({path:"/searchdetail",query:{search:S.teacherDetail.userName,type:"music"}})}},[d("span",null,[s("更多")]),d("img",{class:I.arrow,src:C,alt:""},null)])]),d("div",{class:I.otherMusicList},[S.musicList.map((function(t){return d(D,{item:t,onMusicDetail:function(t){return function(t){S.id=t,j.push({query:r(r({},f.query),{},{id:S.id})}),P()}(t)}},null)}))])])])])])])}}}))}}}))}();
|