index-legacy-bce89ca7.js 25 KB

1
  1. !function(){function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}function t(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */t=function(){return r};var r={},n=Object.prototype,o=n.hasOwnProperty,i=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},c=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function u(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(q){u=function(e,t,r){return e[t]=r}}function f(e,t,r,n){var o=t&&t.prototype instanceof _?t:_,a=Object.create(o.prototype),c=new j(n||[]);return i(a,"_invoke",{value:x(e,r,c)}),a}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(q){return{type:"throw",arg:q}}}r.wrap=f;var p={};function _(){}function h(){}function m(){}var g={};u(g,c,(function(){return this}));var v=Object.getPrototypeOf,y=v&&v(v(B([])));y&&y!==n&&o.call(y,c)&&(g=y);var b=m.prototype=_.prototype=Object.create(g);function w(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function k(t,r){function n(i,a,c,s){var l=d(t[i],t,a);if("throw"!==l.type){var u=l.arg,f=u.value;return f&&"object"==e(f)&&o.call(f,"__await")?r.resolve(f.__await).then((function(e){n("next",e,c,s)}),(function(e){n("throw",e,c,s)})):r.resolve(f).then((function(e){u.value=e,c(u)}),(function(e){return n("throw",e,c,s)}))}s(l.arg)}var a;i(this,"_invoke",{value:function(e,t){function o(){return new r((function(r,o){n(e,t,r,o)}))}return a=a?a.then(o,o):o()}})}function x(e,t,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 C()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=I(a,r);if(c){if(c===p)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 s=d(e,t,r);if("normal"===s.type){if(n=r.done?"completed":"suspendedYield",s.arg===p)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n="completed",r.method="throw",r.arg=s.arg)}}}function I(e,t){var r=t.method,n=e.iterator[r];if(void 0===n)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=void 0,I(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),p;var o=d(n,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,p;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,p):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,p)}function L(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function B(e){if(e){var t=e[c];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,n=function t(){for(;++r<e.length;)if(o.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return n.next=n}}return{next:C}}function C(){return{value:void 0,done:!0}}return h.prototype=m,i(b,"constructor",{value:m,configurable:!0}),i(m,"constructor",{value:h,configurable:!0}),h.displayName=u(m,l,"GeneratorFunction"),r.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===h||"GeneratorFunction"===(t.displayName||t.name))},r.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,m):(e.__proto__=m,u(e,l,"GeneratorFunction")),e.prototype=Object.create(b),e},r.awrap=function(e){return{__await:e}},w(k.prototype),u(k.prototype,s,(function(){return this})),r.AsyncIterator=k,r.async=function(e,t,n,o,i){void 0===i&&(i=Promise);var a=new k(f(e,t,n,o),i);return r.isGeneratorFunction(t)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(b),u(b,l,"Generator"),u(b,c,(function(){return this})),u(b,"toString",(function(){return"[object Generator]"})),r.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},r.values=B,j.prototype={constructor:j,reset:function(e){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(S),!e)for(var t in this)"t"===t.charAt(0)&&o.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.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"),s=o.call(i,"finallyLoc");if(c&&s){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(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){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"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,p):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;S(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:B(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),p}},r}function r(e,t,r,n,o,i,a){try{var c=e[i](a),s=c.value}catch(l){return void r(l)}c.done?t(s):Promise.resolve(s).then(n,o)}function n(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function c(e){r(a,o,i,c,s,"next",e)}function s(e){r(a,o,i,c,s,"throw",e)}c(void 0)}))}}function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,c=[],s=!0,l=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=i.call(r)).done)&&(c.push(n.value),c.length!==t);s=!0);}catch(u){l=!0,o=u}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}System.register(["./index-legacy-a7b7fbcc.js","./index-legacy-911568f6.js"],(function(e,r){"use strict";var i,a,c,s,l,u,f,d,p,_,h,m,g,v,y,b,w,k,x,I,L,S,j,B,C,q,E,F,A,O,R,U,z,T,N=document.createElement("style");return N.textContent="._back_1o0sp_1{position:fixed;left:.4rem;top:.45333rem;width:.82667rem;height:.82667rem}._back_1o0sp_1>img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}._back_1o0sp_1:active{opacity:.8}._container_1o0sp_16{background:url("+new URL("icon_bg-f94bd665.png",r.meta.url).href+") no-repeat center center / cover;padding:1.25333rem .32rem .53333rem 1.44rem;height:100vh;overflow:hidden}._content_1o0sp_22{display:flex;height:calc(100vh - 1.78667rem);overflow:hidden}._opacityBg_1o0sp_27{background:linear-gradient(134deg,rgba(255,255,255,.75) 0%,rgba(255,255,255,.34) 100%);border-radius:.48rem;border:.05333rem solid #fff}._leftContent_1o0sp_32{position:relative;width:55%;display:flex}._leftBg_1o0sp_37{position:absolute;left:0;top:0;width:2.72rem;height:100%;background:linear-gradient(48deg,#43B2FF 0%,#159AF7 100%);border:2Px solid #fff;border-radius:.48rem .24rem 0 .48rem;z-index:1}._leftBg2_1o0sp_48{position:absolute;left:0;top:0;width:calc(100% - .32rem);height:100%;background:linear-gradient(134deg,rgba(255,255,255,.75) 0%,rgba(255,255,255,.34) 100%);border-radius:.48rem;border:2Px solid #fff}._types_1o0sp_58{position:relative;top:.05333rem;width:2.72rem;height:calc(100% - 4Px);padding:.10667rem 0;overflow-x:hidden;overflow-y:auto;border-radius:.48rem;z-index:1;flex-shrink:0}._types_1o0sp_58::-webkit-scrollbar{width:0;display:none}._types_1o0sp_58 ._type_1o0sp_58{position:relative;padding:.10667rem .37333rem}._types_1o0sp_58 ._type_1o0sp_58._typeActive_1o0sp_78 ._typeImg_1o0sp_78{border-color:#f4b482;border-width:.08rem;box-shadow:0 0 .10667rem .05333rem #fff;animation:_scaleBtn_1o0sp_1 1s ease-in-out}._types_1o0sp_58 ._type_1o0sp_58._typeActive_1o0sp_78 ._typeIndex_1o0sp_84{display:block}._types_1o0sp_58 ._typeIndex_1o0sp_84{position:absolute;top:45%;right:-.16rem;width:.32rem;height:.32rem;background:#b8dbfb;border:.05333rem solid #fff;border-radius:.05333rem;transform:rotate(45deg);z-index:2;display:none}._types_1o0sp_58 ._typeImg_1o0sp_78{background-color:#000;border:.05333rem solid #fff;border-radius:.48rem;height:2rem;transition:.3s;overflow:hidden}._types_1o0sp_58 ._typeImg_1o0sp_78:active{transform:scale(.8)}._types_1o0sp_58 ._typeIcon_1o0sp_111{display:block;width:100%;height:100%;-o-object-fit:cover;object-fit:cover}._center_1o0sp_117{flex:1;position:relative;height:100%}._center_1o0sp_117 .van-search{position:absolute;top:0;left:0;padding:.16rem .24rem;width:calc(100% - .32rem);z-index:1}._musicContent_1o0sp_130{width:100%;height:calc(100% - var(--van-search-input-height) - .32rem - 1Px);margin-top:calc(var(--van-search-input-height) + .32rem);padding:.16rem .64rem .32rem .32rem;overflow-x:hidden;overflow-y:auto}._musicContent_1o0sp_130::-webkit-scrollbar{width:0;display:none}._musicItem_1o0sp_142{position:relative;display:flex;align-items:center;border:.08rem solid #fff;border-radius:.24rem;margin-bottom:.16rem;background-color:#fff;padding:.13333rem;transition:all .3s}._musicItem_1o0sp_142._disableNotic_1o0sp_153 .van-notice-bar__content{transition-duration:0s!important;transform:none!important}._musicItem_1o0sp_142._musicActive_1o0sp_157{border-width:.08rem;background:linear-gradient(180deg,#FFFFFF 0%,#BFE1FF 100%);transform:scale(1.05);box-shadow:0 .05333rem .10667rem #499fe4}._musicItem_1o0sp_142 ._musicAvtor_1o0sp_163{display:block;width:1.25333rem;height:1.25333rem;border-radius:.48rem;-o-object-fit:cover;object-fit:cover;flex-shrink:0;margin-right:.24rem}._musicItem_1o0sp_142 ._musicInfo_1o0sp_172{flex:1}._musicItem_1o0sp_142 ._musicInfo_1o0sp_172 ._musicName_1o0sp_175{font-size:.4rem;font-weight:600;color:#333;line-height:.53333rem}._musicItem_1o0sp_142 ._musicInfo_1o0sp_172 ._noticeBar_1o0sp_181{padding:0;height:.74667rem}._musicItem_1o0sp_142 ._musicInfo_1o0sp_172 ._musicDes_1o0sp_185{width:100%;display:flex;align-items:center}._musicItem_1o0sp_142 ._musicInfo_1o0sp_172 ._musicFavitor_1o0sp_190{border:.02667rem solid #FFC5C5;color:#ff6a6a;padding:.02667rem .08rem .02667rem .37333rem;border-radius:.10667rem;background-color:#fff8f7;background-image:url("+new URL("icon_hot-954f4a46.svg",r.meta.url).href+");background-repeat:no-repeat;background-size:auto 70%;background-position:.05333rem center;margin-right:.10667rem}._musicItem_1o0sp_142 ._musicInfo_1o0sp_172 ._musicAuthor_1o0sp_202{flex:1;font-size:.32rem;font-weight:400;color:#777;line-height:.32rem;max-width:9vw}._musicItem_1o0sp_142 ._musicIcon_1o0sp_210{flex-shrink:0;margin-right:.10667rem}._right_1o0sp_214{position:relative;background:#fff;overflow:hidden;border:none;width:45%}._right-musicName_1o0sp_221{font-size:.4rem;font-weight:500;color:#131415;line-height:.53333rem;text-align:center;padding:.32rem 0}._staff_1o0sp_229{width:100%}._rightBtns_1o0sp_232{position:absolute;bottom:0;left:0;right:0;padding:0 .21333rem .48rem;display:flex;align-items:flex-end;height:2.08rem;background:#fff;background-image:linear-gradient(180deg,rgba(255,255,255,0) 0%,#C1EEFF 100%)}._rightBtns_1o0sp_232>img{margin:0 .10667rem;height:.8rem;transition:.3s}._rightBtns_1o0sp_232>img:active{transform:scale(.6)}._rightBtns_1o0sp_232>img:last-child{margin-left:auto;animation:_scaleBtn_1o0sp_1 1s ease-in-out infinite}@keyframes _scaleBtn_1o0sp_1{0%{transform:scale(1)}50%{transform:scale(1.1)}to{transform:scale(1)}}@keyframes _displayIcon_1o0sp_1{to{opacity:1}}._m-search_1oqt0_1{--van-cell-background-color: transparent}._m-search_1oqt0_1 input::-moz-placeholder{color:var(--k-gray-4)}._m-search_1oqt0_1 input::placeholder{color:var(--k-gray-4)}._m-search_1oqt0_1 .van-field__control{-webkit-user-select:text!important;-moz-user-select:text!important;user-select:text!important;font-size:.34667rem}._m-search_1oqt0_1 .van-search__field{background:transparent!important;padding:0 var(--van-padding-xs) 0 0}._m-search_1oqt0_1 .van-field__right-icon{display:flex;align-items:center;justify-content:center;padding-right:.10667rem}._m-search_1oqt0_1._default_1oqt0_22 .van-search__content{background:#f8f9fc!important}._m-search_1oqt0_1._white_1oqt0_25 .van-search__content{background:#fff!important}._m-search_1oqt0_1._transparent_1oqt0_28 .van-search__content{background:rgba(255,255,255,.16)}._m-search_1oqt0_1._transparent_1oqt0_28 .van-search__content input::-moz-placeholder{color:#fff}._m-search_1oqt0_1._transparent_1oqt0_28 .van-search__content input::placeholder{color:#fff}._m-search_1oqt0_1._transparent_1oqt0_28 .van-search__content input,._m-search_1oqt0_1._transparent_1oqt0_28 .van-search__content .van-field__clear{color:#fff}._m-search_1oqt0_1 ._searchBtn_1oqt0_40{width:1.38667rem;height:.66667rem;padding:0;font-size:.34667rem;font-weight:500;--van-button-mini-height: .74667rem;--van-font-size-xs: .32rem;background:linear-gradient(to right,#5BECFF,#259CFE);border:none}\n",document.head.appendChild(N),{setters:[function(e){i=e.f,a=e.F},function(e){c=e.c,s=e.s,l=e.d,u=e.r,f=e.Z,d=e.a2,p=e.a3,_=e.a4,h=e.w,m=e.k,g=e.a5,v=e.h,y=e.I,b=e.a6,w=e.a7,k=e.z,x=e.a8,I=e.i,L=e.q,S=e.a9,j=e.m,B=e.t,C=e.aa,q=e.ab,E=e.p,F=e.ac,A=e.M,O=e.D,R=e.F,U=e.S,z=e.C,T=e.ad}],execute:function(){var N=o(c("notice-bar"),2),P=N[0],V=N[1],G={text:String,mode:String,color:String,delay:s(1),speed:s(60),leftIcon:String,wrapable:Boolean,background:String,scrollable:{type:Boolean,default:null}},D=l({name:P,props:G,emits:["close","replay"],setup:function(e,t){var r,n=t.emit,o=t.slots,i=0,a=0,c=u(),s=u(),l=f({show:!0,offset:0,duration:0}),L=function(t){"closeable"===e.mode&&(l.show=!1,n("close",t))},S=function(){if(o["right-icon"])return o["right-icon"]();var t="closeable"===e.mode?"cross":"link"===e.mode?"arrow":void 0;return t?v(y,{name:t,class:V("right-icon"),onClick:L},null):void 0},j=function(){l.offset=i,l.duration=0,x((function(){w((function(){l.offset=-a,l.duration=(a+i)/+e.speed,n("replay")}))}))},B=function(){var t=e.delay,n=e.speed,o=e.scrollable,u=I(t)?1e3*+t:0;i=0,a=0,l.offset=0,l.duration=0,clearTimeout(r),r=setTimeout((function(){if(c.value&&s.value&&!1!==o){var e=b(c).width,t=b(s).width;(o||t>e)&&w((function(){i=e,a=t,l.offset=-a,l.duration=a/+n}))}}),u)};return d(B),p(B),_("pageshow",B),k({reset:B}),h((function(){return[e.text,e.scrollable]}),B),function(){var t,r,n=e.color,i=e.wrapable,a=e.background;return m(v("div",{role:"alert",class:V({wrapable:i}),style:{color:n,background:a}},[o["left-icon"]?o["left-icon"]():e.leftIcon?v(y,{class:V("left-icon"),name:e.leftIcon},null):void 0,(t=!1===e.scrollable&&!e.wrapable,r={transform:l.offset?"translateX(".concat(l.offset,"px)"):"",transitionDuration:"".concat(l.duration,"s")},v("div",{ref:c,role:"marquee",class:V("wrap")},[v("div",{ref:s,style:r,class:[V("content"),{"van-ellipsis":t}],onTransitionend:j},[o.default?o.default():e.text])])),S()]),[[g,l.show]])}}}),J=L(D),M=o(c("search"),3),Y=M[0],H=M[1],K=M[2],W=S({},i,{label:String,shape:j("square"),leftIcon:j("search"),clearable:B,actionText:String,background:String,showAction:Boolean}),X=l({name:Y,props:W,emits:["blur","focus","clear","search","cancel","clickInput","clickLeftIcon","clickRightIcon","update:modelValue"],setup:function(e,t){var r=t.emit,n=t.slots,o=t.attrs,c=C(),s=u(),l=function(){n.action||(r("update:modelValue",""),r("cancel"))},f=function(t){13===t.keyCode&&(F(t),r("search",e.modelValue))},d=function(){return e.id||"".concat(c,"-input")},p=function(){if(n.label||e.label)return v("label",{class:H("label"),for:d()},[n.label?n.label():e.label])},_=function(){if(e.showAction){var t=e.actionText||K("cancel");return v("div",{class:H("action"),role:"button",tabindex:0,onClick:l},[n.action?n.action():t])}},h=function(e){return r("blur",e)},m=function(e){return r("focus",e)},g=function(e){return r("clear",e)},y=function(e){return r("clickInput",e)},b=function(e){return r("clickLeftIcon",e)},w=function(e){return r("clickRightIcon",e)},x=Object.keys(i);return k({focus:function(){var e;return null==(e=s.value)?void 0:e.focus()},blur:function(){var e;return null==(e=s.value)?void 0:e.blur()}}),function(){var t,i;return v("div",{class:H({"show-action":e.showAction}),style:{background:e.background}},[null==(t=n.left)?void 0:t.call(n),v("div",{class:H("content",e.shape)},[p(),(i=S({},o,q(e,x),{id:d()}),v(a,E({ref:s,type:"search",class:H("field"),border:!1,onBlur:h,onFocus:m,onClear:g,onKeypress:f,onClickInput:y,onClickLeftIcon:b,onClickRightIcon:w,"onUpdate:modelValue":function(e){return r("update:modelValue",e)}},i),q(n,["left-icon","right-icon"])))]),_()])}}}),Z=L(X),$="_back_1o0sp_1",Q="_container_1o0sp_16",ee="_content_1o0sp_22",te="_opacityBg_1o0sp_27",re="_leftContent_1o0sp_32",ne="_leftBg_1o0sp_37",oe="_leftBg2_1o0sp_48",ie="_types_1o0sp_58",ae="_type_1o0sp_58",ce="_typeActive_1o0sp_78",se="_typeImg_1o0sp_78",le="_typeIcon_1o0sp_111",ue="_center_1o0sp_117",fe="_musicContent_1o0sp_130",de="_musicItem_1o0sp_142",pe="_disableNotic_1o0sp_153",_e="_musicActive_1o0sp_157",he="_musicAvtor_1o0sp_163",me="_musicInfo_1o0sp_172",ge="_musicName_1o0sp_175",ve="_noticeBar_1o0sp_181",ye="_musicDes_1o0sp_185",be="_musicFavitor_1o0sp_190",we="_musicAuthor_1o0sp_202",ke="_right_1o0sp_214",xe="_right-musicName_1o0sp_221",Ie="_staff_1o0sp_229",Le="_rightBtns_1o0sp_232",Se={"m-search":"_m-search_1oqt0_1",default:"_default_1oqt0_22",white:"_white_1oqt0_25",transparent:"_transparent_1oqt0_28",searchBtn:"_searchBtn_1oqt0_40"},je=""+new URL("icon-search-d43eb2c3.svg",r.meta.url).href,Be=l({name:"m-search",props:{modelValue:{type:String,default:""},shape:{type:String,default:"round"},disabled:{type:Boolean,default:!1},autofocus:{type:Boolean,default:!1},placeholder:{type:String,default:"请输入搜索关键词"},background:{type:String,default:"#fff"},inputBackground:{type:String,default:"default"}},emits:["search"],setup:function(e,t){var r=t.slots,n=t.emit,o=f({search:e.modelValue||""});return h((function(){return e.modelValue}),(function(){o.search=e.modelValue})),function(){return v(Z,{class:[Se["m-search"],Se[e.inputBackground]],shape:e.shape,background:e.background,placeholder:e.placeholder,disabled:e.disabled,autofocus:e.autofocus,autocomplete:"off",modelValue:o.search,"onUpdate:modelValue":function(e){return o.search=e},clearTrigger:"always",onClear:function(){console.log("clear"),o.search="",n("search",o.search)},onSearch:function(){return n("search",o.search)}},{left:function(){return r.left&&r.left()},"left-icon":function(){return v(y,{name:je,class:Se.leftIcon},null)},"right-icon":function(){return v(A,{disabled:e.disabled,class:Se.searchBtn,round:!0,type:"primary",size:"mini",onClick:function(){return n("search",o.search)}},{default:function(){return[O("搜索")]}})}})}}}),Ce=""+new URL("icon_back-b80c2fc2.svg",r.meta.url).href,qe=""+new URL("icon_down-27184904.svg",r.meta.url).href,Ee=""+new URL("icon_jianpu-80bd16a8.svg",r.meta.url).href,Fe=""+new URL("icon_jianpuActive-17580202.svg",r.meta.url).href,Ae=""+new URL("icon_start-4add1f07.svg",r.meta.url).href,Oe=""+new URL("1-0aed42a1.svg",r.meta.url).href,Re=""+new URL("2-f51bb566.svg",r.meta.url).href,Ue=""+new URL("3-9fe2956a.svg",r.meta.url).href,ze=""+new URL("1-068d7272.png",r.meta.url).href,Te=""+new URL("2-be3ea30a.png",r.meta.url).href,Ne=""+new URL("3-6a1b17fd.png",r.meta.url).href,Pe=""+new URL("4-70426869.png",r.meta.url).href;e("default",l({name:"co-ai",setup:function(){var e=[Oe,Re,Ue],r=[{name:"竖笛-上学歌",auther:"人教版",hot:232,img:ze},{name:"最伟大的作品",auther:"周杰伦",hot:132,img:Te},{name:"夏天的风",auther:"温岚",hot:112,img:Ne},{name:"慢生活",auther:"李萌",hot:112,img:Pe},{name:"竖笛-上学歌",auther:"人教版",hot:232,img:ze},{name:"最伟大的作品",auther:"周杰伦",hot:132,img:Te},{name:"夏天的风",auther:"温岚",hot:112,img:Ne},{name:"慢生活",auther:"李萌",hot:112,img:Pe}],o=f({typeIndex:0,musicIndex:0,isShowJianpu:!1}),i=function(){U({api:"goBack"})},a=function(){var e=n(t().mark((function e(){var r,i,a,c;return t().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=document.createElement("canvas"),i=r.getContext("2d"),a=o.isShowJianpu?o.musicIndex%2==0?"https://cloud-coach.ks3-cn-beijing.ksyuncs.com/music-sheet-first/1687673062603-1.png":"https://cloud-coach.ks3-cn-beijing.ksyuncs.com/music-sheet-first/1675232855321-1.png":o.musicIndex%2==0?"https://cloud-coach.ks3-cn-beijing.ksyuncs.com/music-sheet/1687673062488-1.png":"https://cloud-coach.ks3-cn-beijing.ksyuncs.com/music-sheet/1675232854483-2.png",(c=new Image).crossOrigin="anonymous",c.src=a+"?v="+Date.now(),c.onload=n(t().mark((function e(){var n,o;return t().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r.height=c.height,r.width=c.width,null==i||i.drawImage(c,0,0,c.width,c.height),n=r.toDataURL("image/png",1),r=null,setTimeout((function(){z("保存成功")}),500),e.next=8,T({api:"savePicture",content:{base64:n}});case 8:o=e.sent,console.log("🚀 ~ res:",o);case 10:case"end":return e.stop()}}),e)})));case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return function(){return v("div",{class:Q},[v("div",{class:$,onClick:i},[v("img",{src:Ce},null)]),v("div",{class:ee},[v("div",{class:[re]},[v("div",{class:oe},null),v("div",{class:ne},null),v("div",{class:ie},[new Array(10).fill(1).map((function(t,r){var n=e[r]?e[r]:e[r%3];return v("div",{class:[ae,o.typeIndex===r&&ce],onClick:function(){return o.typeIndex=r}},[v("div",{class:se},[v("img",{class:le,src:n},null)])])}))]),v("div",{class:ue},[v(Be,{shape:"round",background:"transparent",placeholder:"请输入曲目名称"},null),v("div",{class:fe},[r.map((function(e,t){return v("div",{class:[de,o.musicIndex===t?_e:pe],onClick:function(){return o.musicIndex=t}},[v("img",{class:he,src:e.img},null),v("div",{class:me},[v("div",{class:ge},[v(J,{text:e.name,color:"#333",class:ve,background:"none"},null)]),v("div",{class:ye},[v("div",{class:be},[e.hot]),v("div",{class:[we,"van-ellipsis"]},[e.auther])])])])}))])])]),v("div",{class:[te,ke]},[v("div",{class:xe},[r[o.musicIndex].name]),o.isShowJianpu?v(R,null,[v("img",{style:{display:o.musicIndex%2==0?"":"none"},class:Ie,src:"https://cloud-coach.ks3-cn-beijing.ksyuncs.com/music-sheet-first/1687673062603-1.png"},null),v("img",{style:{display:o.musicIndex%2!=0?"":"none"},class:Ie,src:"https://cloud-coach.ks3-cn-beijing.ksyuncs.com/music-sheet-first/1675232855321-1.png"},null)]):v(R,null,[v("img",{style:{display:o.musicIndex%2==0?"":"none"},class:Ie,src:"https://cloud-coach.ks3-cn-beijing.ksyuncs.com/music-sheet/1687673062488-1.png"},null),v("img",{style:{display:o.musicIndex%2!=0?"":"none"},class:Ie,src:"https://cloud-coach.ks3-cn-beijing.ksyuncs.com/music-sheet/1675232854483-2.png"},null)]),v("div",{class:Le},[v("img",{src:o.isShowJianpu?Fe:Ee,onClick:function(){return o.isShowJianpu=!o.isShowJianpu}},null),v("img",{src:qe,onClick:a},null),v("img",{src:Ae,onClick:function(){U({api:"openAccompanyWebView",content:{url:"https://dev.kt.colexiu.com/instrument?id=43539&Authorization=bearer 529d1359-20c6-4ea2-b2ba-2694cdeda8a4",orientation:0,isHideTitle:!0,statusBarTextColor:!1,isOpenLight:!0}})}},null)])])])])}}}))}}}))}();