index-legacy.de8db4b4.js 13 KB

1
  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(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e=function(){return r};var r={},n=Object.prototype,o=n.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(C){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var o=e&&e.prototype instanceof d?e:d,i=Object.create(o.prototype),a=new E(n||[]);return i._invoke=function(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return O()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=x(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=h(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}(t,r,a),i}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(C){return{type:"throw",arg:C}}}r.wrap=s;var f={};function d(){}function y(){}function m(){}var p={};l(p,a,(function(){return this}));var g=Object.getPrototypeOf,v=g&&g(g(j([])));v&&v!==n&&o.call(v,a)&&(p=v);var _=m.prototype=d.prototype=Object.create(p);function b(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function w(e,r){function n(i,a,c,u){var l=h(e[i],e,a);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==t(f)&&o.call(f,"__await")?r.resolve(f.__await).then((function(t){n("next",t,c,u)}),(function(t){n("throw",t,c,u)})):r.resolve(f).then((function(t){s.value=t,c(s)}),(function(t){return n("throw",t,c,u)}))}u(l.arg)}var i;this._invoke=function(t,e){function o(){return new r((function(r,o){n(t,e,r,o)}))}return i=i?i.then(o,o):o()}}function x(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,x(t,e),"throw"===e.method))return f;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return f}var n=h(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,f;var o=n.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,f):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function A(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 L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function j(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,n=function e(){for(;++r<t.length;)if(o.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return n.next=n}}return{next:O}}function O(){return{value:void 0,done:!0}}return y.prototype=m,l(_,"constructor",m),l(m,"constructor",y),y.displayName=l(m,u,"GeneratorFunction"),r.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===y||"GeneratorFunction"===(e.displayName||e.name))},r.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,m):(t.__proto__=m,l(t,u,"GeneratorFunction")),t.prototype=Object.create(_),t},r.awrap=function(t){return{__await:t}},b(w.prototype),l(w.prototype,c,(function(){return this})),r.AsyncIterator=w,r.async=function(t,e,n,o,i){void 0===i&&(i=Promise);var a=new w(s(t,e,n,o),i);return r.isGeneratorFunction(e)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(_),l(_,u,"Generator"),l(_,a,(function(){return this})),l(_,"toString",(function(){return"[object Generator]"})),r.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},r.values=j,E.prototype={constructor:E,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(L),!t)for(var e in this)"t"===e.charAt(0)&&o.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,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=o.call(i,"catchLoc"),u=o.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):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),f},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),L(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;L(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:j(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},r}function r(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(l){return void r(l)}c.done?e(u):Promise.resolve(u).then(n,o)}var n=document.createElement("style");n.innerHTML="._header_b95hy_1{position:fixed;top:0;left:0;right:0;z-index:100}._bgImg_b95hy_8{position:absolute;left:0;top:0;width:100%;height:7.06667rem;object-fit:cover}._musicContent_b95hy_16{position:relative;height:7.06667rem;padding-top:1.46667rem;z-index:10;background-color:rgba(0,0,0,.6);backdrop-filter:blur(.26667rem);-webkit-backdrop-filter:blur(.26667rem)}._bg_b95hy_8{position:relative;height:100%;padding:.42667rem}._alumWrap_b95hy_30{display:flex;align-items:center}._alumWrap_b95hy_30 ._img_b95hy_34{width:3.06667rem;height:3.06667rem;flex-shrink:0;border-radius:.16rem;overflow:hidden;margin-right:.37333rem}._alumWrap_b95hy_30 ._alumTitle_b95hy_42{font-size:.48rem;font-weight:500;color:#fff}._alumWrap_b95hy_30 ._alumDes_b95hy_47{width:calc(100% - 3.44rem)}._alumWrap_b95hy_30 ._alumDes_b95hy_47 ._des_b95hy_50{color:#999}._tags_b95hy_53{margin:.16rem -.05333rem .64rem}._tags_b95hy_53 ._tag_b95hy_53{margin:0 .05333rem;padding:.05333rem .16rem;color:#000;background-color:#718a93;border-radius:.53333rem}._alumCollect_b95hy_63{display:flex;align-items:center;padding-top:.53333rem;color:#999;font-size:.37333rem}._alumCollect_b95hy_63>img{display:inline-block;width:.53333rem;height:.53333rem;margin-right:.16rem}._alumCollect_b95hy_63 ._right_b95hy_76{margin-left:.69333rem}._alumnContainer_b95hy_79{position:relative;padding:0 .42667rem;margin-top:-.42667rem;z-index:10}._alumnContainer_b95hy_79 ._alumnList_b95hy_85{padding:0 .32rem;border-radius:.16rem;background-color:#fff}\n",document.head.appendChild(n),System.register(["./index-legacy.d1c3beb1.js","./index-legacy.a82d22e4.js","./oStart-legacy.e936d59b.js","./request-legacy.06c7629a.js","./index-legacy.74f68357.js","./index-legacy.1d4f9db6.js","./index-legacy.ef2d1cb8.js","./index-legacy.b4a1df46.js","./icon-title-legacy.0e304be0.js","./index-legacy.a42c7591.js","./index-legacy.c9bd69a8.js","./index-legacy.8eefb89e.js","./_commonjsHelpers-legacy.c51f5c8d.js"],(function(t){"use strict";var n,o,i,a,c,u,l,s,h,f,d,y,m,p,g,v,_,b,w;return{setters:[function(t){n=t.T},function(t){o=t.T},function(t){i=t.o},function(t){a=t.T,c=t.r},function(t){u=t.T},function(t){l=t.d,s=t.A,h=t.k,f=t.G,d=t.r,y=t.F,m=t.c,p=t.V,g=t.J,v=t.W,_=t.u},function(t){b=t.T,w=t.H},function(){},function(){},function(){},function(){},function(){},function(){}],execute:function(){var x="_header_b95hy_1",A="_bgImg_b95hy_8",L="_musicContent_b95hy_16",E="_bg_b95hy_8",j="_alumWrap_b95hy_30",O="_img_b95hy_34",C="_alumTitle_b95hy_42",k="_alumDes_b95hy_47",N="_des_b95hy_50",S="_tags_b95hy_53",T="_tag_b95hy_53",G="_alumCollect_b95hy_63",Y="_right_b95hy_76",z="_alumnContainer_b95hy_79",P="_alumnList_b95hy_85";t("default",l({name:"musicAlumn",setup:function(){var t=_(),l=v();s(t,(function(){window.scrollTo({top:0}),I()}));var B=h({}),I=function(){var n,o=(n=e().mark((function r(){var n,o,i,a;return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,c.post("/api-website/open/music/album/detail",{data:{id:t.query.id,page:1,rows:4}});case 3:i=e.sent,a=i.data,Object.assign(B,a,{musicTagNames:(null==a||null===(n=a.musicTagNames)||void 0===n?void 0:n.split(","))||[],musicSheetList:(null===(o=a.musicSheetList)||void 0===o?void 0:o.rows)||[]}),e.next=10;break;case 8:e.prev=8,e.t0=e.catch(0);case 10:case"end":return e.stop()}}),r,null,[[0,8]])})),function(){var t=this,e=arguments;return new Promise((function(o,i){var a=n.apply(t,e);function c(t){r(a,o,i,c,u,"next",t)}function u(t){r(a,o,i,c,u,"throw",t)}c(void 0)}))});return function(){return o.apply(this,arguments)}}();f((function(){I()}));var V=d(!0),J=d(0);return y("scroll",(function(){var t=document.body.scrollTop||document.documentElement.scrollTop;V.value=!(t>55),J.value=t/55})),function(){var t;return m(g,null,[m(n,{style:{background:"rgba(255,255,255,".concat(J.value,")")},class:x,theme:V.value?"dark":"light"},null),m("img",{class:A,src:B.albumCoverUrl},null),m("div",{class:L},[m("div",{class:E},[m("div",{class:j},[m("div",{class:O},[m(o,{src:B.albumCoverUrl},null)]),m("div",{class:k},[m("div",{class:[C,"van-ellipsis"]},[B.albumName]),m("div",{class:S},[null===(t=B.musicTagNames)||void 0===t?void 0:t.map((function(t){return m("span",{class:T},[t])}))]),m("div",{class:[N,"van-multi-ellipsis--l3"]},[B.albumDesc])])]),m("div",{class:G},[m("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAAAXNSR0IArs4c6QAAA0xJREFUSEvtlk1sVGUUhp/3zl9J1IKIphpcGDUmA1RbYWcsiTEggjPFMWJM3BhwZUyMP5DY+agbURMJO0hYGdlMpTVGWLipuINMI9OS4AaCC9NYaOpPrG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:i},null),m("span",null,[B.albumFavoriteCount,p("人收藏")])])])]),m("div",{class:z},[m("div",{class:P},[m(a,{title:"曲目列表",isMore:!1},null),m(u,{list:B.musicSheetList},null)]),m(a,{title:"相关专辑",onMore:function(){l.push({path:"/search"})}},null),m(b,{list:B.relatedMusicAlbum,onGoto:function(t){return l.push({path:"/musicAlum",query:{id:t.id}})}},null),m(w,null,null)])])}}}))}}}))}();