index-legacy-37635f82.js 29 KB

1
  1. !function(){function e(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,o)}return i}function t(t){for(var o=1;o<arguments.length;o++){var r=null!=arguments[o]?arguments[o]:{};o%2?e(Object(r),!0).forEach((function(e){i(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):e(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function i(e,t,i){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var o=i.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function o(e,t,i,o,r,n,s){try{var a=e[n](s),c=a.value}catch(l){return void i(l)}a.done?t(c):Promise.resolve(c).then(o,r)}function r(e){return function(){var t=this,i=arguments;return new Promise((function(r,n){var s=e.apply(t,i);function a(e){o(s,r,n,a,c,"next",e)}function c(e){o(s,r,n,a,c,"throw",e)}a(void 0)}))}}System.register(["./index-legacy-a314c7dd.js","./index-legacy-f0f920a6.js","./api-legacy-2d2573a0.js","./html2canvas.esm-legacy-b2f51228.js","./api-legacy-7ebd13a7.js","./index-legacy-d23587dc.js","./index-legacy-ba19bfa0.js","./index-legacy-5d93fc18.js","./index-legacy-31697f57.js","./index-legacy-dff5e6e7.js"],(function(e,i){"use strict";var o,n,s,a,c,l,p,u,d,m,y,f,v,g,_,h,k,b,w,S,x,I,A,B,C,W,q,M,N,P,V,O,Q,z,j,L;return{setters:[e=>{o=e.d,n=e.x,s=e.r,a=e.y,c=e.a8,l=e.a,p=e.Q,u=e.A,d=e.F,m=e.C,y=e.P,f=e.M,v=e.e,g=e.S,_=e.z,h=e.am,k=e.I,b=e.L,w=e.a2,S=e.aE,x=e.aF,I=e.E,A=e.an,B=e.D},e=>{C=e.M},e=>{W=e.i,q=e.b,M=e.c},e=>{N=e.h},e=>{P=e.g,V=e.s,O=e.a,Q=e.b},e=>{z=e.T},e=>{j=e.P},e=>{L=e.N},null,null],execute:function(){var R=document.createElement("style");R.textContent="._back_1y3kp_1{position:fixed;left:.4rem;top:.45333rem;width:.82667rem;height:.82667rem}._back_1y3kp_1>img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}._back_1y3kp_1:active{opacity:.8}._musicCFixed_1y3kp_16{position:fixed;top:.45333rem;left:1.46667rem}._musicCFixed_1y3kp_16 ._musicName_1y3kp_21{font-size:.4rem;font-weight:600;color:#fff;line-height:.88rem}._popoverMusic_1y3kp_27{width:4.26667rem;--van-popover-action-width: 100%}._popoverMusic_1y3kp_27 .van-popover__content{max-height:70vh;overflow-x:hidden;overflow-y:auto}._container_1y3kp_36{background:url("+new URL("icon_bg-f94bd665.png",i.meta.url).href+") no-repeat center center / cover;padding:1.68rem .48rem .48rem .98667rem;height:100vh;overflow:hidden}._content_1y3kp_42{display:flex;height:calc(100vh - 2.16rem);overflow:hidden}._opacityBg_1y3kp_47{background:linear-gradient(134deg,rgba(255,255,255,.75) 0%,rgba(255,255,255,.34) 100%);border-radius:.48rem;border:.05333rem solid #fff}._leftContent_1y3kp_52{position:relative;display:flex;width:37%}._leftBg_1y3kp_57{position:absolute;left:0;top:0;width:2.53333rem;height:100%;background:linear-gradient(48deg,#43b2ff 0%,#159af7 100%);border:.05333rem solid #fff;border-radius:.48rem .24rem 0 .48rem;z-index:1}._leftBg2_1y3kp_68{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:.05333rem solid #fff}._types_1y3kp_78{position:relative;top:.05333rem;width:2.53333rem;height:calc(100% - .10667rem);padding:.10667rem 0;overflow-x:hidden;overflow-y:auto;border-radius:.48rem;z-index:1;flex-shrink:0}._types_1y3kp_78::-webkit-scrollbar{width:0;display:none}._types_1y3kp_78 ._type_1y3kp_78{position:relative;padding:.10667rem .32rem}._types_1y3kp_78 ._type_1y3kp_78._typeActive_1y3kp_98 ._typeImg_1y3kp_98{padding:.16rem;border-color:#99ffd0;animation:_scaleBtn_1y3kp_1 1s ease-in-out}._types_1y3kp_78 ._typeImg_1y3kp_98{border:.05333rem solid transparent;border-radius:.16rem;height:2.53333rem;transition:.3s}._types_1y3kp_78 ._typeImg_1y3kp_98:active{transform:scale(.8)}._types_1y3kp_78 ._typeIcon_1y3kp_112{display:block;width:100%;height:100%;-o-object-fit:cover;object-fit:cover;opacity:0;transition:opacity .3s}._types_1y3kp_78 ._typeIcon_1y3kp_112[loaded=true]{opacity:1}._center_1y3kp_123{flex:1;position:relative;padding-right:.32rem;height:100%;overflow:hidden}._center_1y3kp_123 ._centerSearch_1y3kp_130{padding:.16rem .24rem}._center_1y3kp_123 #coai-0 .van-search{width:100%;z-index:1;padding:0}._center_1y3kp_123 #coai-0 .van-field__control::-webkit-input-placeholder{font-size:.32rem}._musicContent_1y3kp_141{width:100%;height:calc(100% - var(--van-search-input-height) - .32rem - .05333rem);padding:.16rem .32rem .32rem;overflow-x:hidden;overflow-y:auto}._musicContent_1y3kp_141::-webkit-scrollbar{width:0;display:none}._searchNotice_1y3kp_152{position:fixed;padding:0;pointer-events:none}._searchNotice_1y3kp_152 .van-notice-bar{padding:0;height:100%}._searchNoticeShow_1y3kp_161 .van-field__control{opacity:0}._musicItem_1y3kp_164{position:relative;display:flex;align-items:center;border:.08rem solid #fff;border-radius:.24rem;margin-bottom:.16rem;background-color:#fff;padding:.10667rem;transition:all .3s;overflow:hidden;--van-notice-bar-text-color: #333}._musicItem_1y3kp_164._disableNotic_1y3kp_177 .van-notice-bar__content{transition-duration:0s!important;transform:none!important}._musicItem_1y3kp_164._musicActive_1y3kp_181{border-width:.08rem;background:linear-gradient(180deg,#ffffff 0%,#bfe1ff 100%);transform:scale(1.05);box-shadow:0 .05333rem .10667rem #499fe4;--van-notice-bar-text-color: #499fe4}._musicItem_1y3kp_164._musicActive_1y3kp_181 .van-notice-bar__content{transition-property:transform}._musicItem_1y3kp_164 ._musicAvtor_1y3kp_191{display:block;width:7.2vw;height:7.2vw;border-radius:.26667rem;-o-object-fit:cover;object-fit:cover;flex-shrink:0;margin-right:1vw;opacity:0;transition:opacity .3s}._musicItem_1y3kp_164 ._musicAvtor_1y3kp_191[loaded=true]{opacity:1}._musicItem_1y3kp_164 ._musicInfo_1y3kp_205{flex:1}._musicItem_1y3kp_164 ._musicInfo_1y3kp_205 ._musicName_1y3kp_21{font-weight:600;color:#333;margin-bottom:.08rem}._musicItem_1y3kp_164 ._musicInfo_1y3kp_205 ._noticeBar_1y3kp_213{padding:0;height:.74667rem}._musicItem_1y3kp_164 ._musicInfo_1y3kp_205 ._musicDes_1y3kp_217{width:100%;display:flex;align-items:center}._musicItem_1y3kp_164 ._musicInfo_1y3kp_205 ._musicFavitor_1y3kp_222{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",i.meta.url).href+");background-repeat:no-repeat;background-size:auto 70%;background-position:.05333rem center;margin-right:.10667rem}._musicItem_1y3kp_164 ._musicInfo_1y3kp_205 ._musicAuthor_1y3kp_234{flex:1;font-size:.32rem;font-weight:400;color:#777;line-height:.32rem;max-width:9vw}._musicItem_1y3kp_164 ._musicIcon_1y3kp_242{flex-shrink:0;margin-right:.10667rem}._right_1y3kp_246{position:relative;background:#fff;overflow:hidden;border:none;width:63%;border-radius:.48rem}._right-musicName_1y3kp_254{font-size:.4rem;font-weight:500;color:#131415;line-height:.53333rem;text-align:center;padding:.32rem 0}._staff_1y3kp_262{width:100%}._rightBox_1y3kp_265{width:100%;height:100%;border-radius:.48rem;overflow:hidden}._rightBtns_1y3kp_271{position:absolute;bottom:0;left:0;right:0;padding:0 .48rem .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%);border-radius:0 0 .48rem .48rem}._rightBtns_1y3kp_271>img{margin:0 .10667rem;height:.8rem;transition:.3s}._rightBtns_1y3kp_271>img:active{transform:scale(.6)}._rightBtns_1y3kp_271 .van-popover__wrapper{display:flex;align-items:center;margin-right:.32rem}._rightBtns_1y3kp_271 ._rightBtnsRight_1y3kp_297{transition:.3s;margin:0 .10667rem;padding:.13333rem .26667rem 0;margin-left:auto}._rightBtns_1y3kp_271 ._rightBtnsRight_1y3kp_297 img{height:.8rem;animation:_scaleBtn_1y3kp_1 1s ease-in-out infinite}@keyframes _scaleBtn_1y3kp_1{0%{transform:scale(1)}50%{transform:scale(1.1)}to{transform:scale(1)}}@keyframes _displayIcon_1y3kp_1{to{opacity:1}}._loadingWrap_1y3kp_323{display:flex;justify-content:center;min-height:2.13333rem}._empty_1y3kp_328 .van-empty__image{width:100%;height:initial}._empty_1y3kp_328 .van-empty__description{color:#fff;padding:0}\n",document.head.appendChild(R);const E={back:"_back_1y3kp_1",musicCFixed:"_musicCFixed_1y3kp_16",musicName:"_musicName_1y3kp_21",popoverMusic:"_popoverMusic_1y3kp_27",container:"_container_1y3kp_36",content:"_content_1y3kp_42",opacityBg:"_opacityBg_1y3kp_47",leftContent:"_leftContent_1y3kp_52",leftBg:"_leftBg_1y3kp_57",leftBg2:"_leftBg2_1y3kp_68",types:"_types_1y3kp_78",type:"_type_1y3kp_78",typeActive:"_typeActive_1y3kp_98",typeImg:"_typeImg_1y3kp_98",scaleBtn:"_scaleBtn_1y3kp_1",typeIcon:"_typeIcon_1y3kp_112",center:"_center_1y3kp_123",centerSearch:"_centerSearch_1y3kp_130",musicContent:"_musicContent_1y3kp_141",searchNotice:"_searchNotice_1y3kp_152",searchNoticeShow:"_searchNoticeShow_1y3kp_161",musicItem:"_musicItem_1y3kp_164",disableNotic:"_disableNotic_1y3kp_177",musicActive:"_musicActive_1y3kp_181",musicAvtor:"_musicAvtor_1y3kp_191",musicInfo:"_musicInfo_1y3kp_205",noticeBar:"_noticeBar_1y3kp_213",musicDes:"_musicDes_1y3kp_217",musicFavitor:"_musicFavitor_1y3kp_222",musicAuthor:"_musicAuthor_1y3kp_234",musicIcon:"_musicIcon_1y3kp_242",right:"_right_1y3kp_246","right-musicName":"_right-musicName_1y3kp_254",staff:"_staff_1y3kp_262",rightBox:"_rightBox_1y3kp_265",rightBtns:"_rightBtns_1y3kp_271",rightBtnsRight:"_rightBtnsRight_1y3kp_297",loadingWrap:"_loadingWrap_1y3kp_323",empty:"_empty_1y3kp_328",displayIcon:"_displayIcon_1y3kp_1"},U=""+new URL("icon_down-27184904.svg",i.meta.url).href,F=""+new URL("icon_jianpuActive-17580202.svg",i.meta.url).href,G="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANYAAAA8CAMAAAAt4rT4AAAC61BMVEUAAAA+vP9Dyf8nn/9Fyv9Cwf9Eyf8mnv8oof9Fy/9FzP8mnv9Cxv8mnv9Dyf9Eyv8nn/8pov9Izf8roP9Eyv9Gzf8ooP8on/8oov9Gy/8nnv8pn/8qo/9Bx/9Fzf9GzP9Cx/////8mn/8oof9Dyf8rpv8yr/4pov0qpP88vv49wP4sqP83t/8wrP40s/47vf86vP4sp/05uv4tqf81tP82tf8+wv84uP5Eyv8uqv8xrv82tv0vq/8lnf8zsf08v/89v/8/xP5Bxf86u/9Bx/5Fy/8/xP8ysP/n+P89wP/w+//q+f/e9f/b9P/X8/84uP/h9v9Cx//j9/9Bxv/4/v8wrf/s+v84uf80sv/z/P/p+f/Z8/85u/8ek+r2/f87vfwqpPkhl+8zsf8uqvonoPAjmu/l9/8sqPi+4fsxrvk0svggler1/f8ooPrh8f0qpPX8/v45uvowrPgrpPLu+v/G5f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sLDR6rf55p4nqIAiS0MRQSYI0dnZCG8NAs9D1uqXiizZc6EAl0bIKc7OespNFiPbZYjlIUxyuQCVRpXAQUS59WWjcE04Y0412u91DtRvUFIAQhPEEzxeg5hVJGpSjNDVlGJw4oV+BStIsW4TGFBp8B1UqzEQFKsmKPSPNWYlylYN31OUkjXBcNAhxCXguVpA0+tRv4JNDamgnaWZSBNRBSbSIko+bFSRN8EGQZVsGdZWk/SlJ8+BGTJK6qGoDwC4c47NJwJJiGmeLbnEZptwTkJM62QyDCh05CbfmdRGSezIGNMVoUM49lSEn6Wj5nqGYZDnU+og7vNqldDVKoXHxKrBWP8M7egdVHC2UrMFgCvmqxvig9MZFSs3oatplbgWlFrICfEpnC2bZ81ZAraUIMu0yBBTCUMy3cIkqt4upuNllw4UmSAO7gN65rqpcFJVTalswi7wuAVC0z1ZsGejIghLsKZT56YkI8t2AcR8uAyXDLRXG4VJVkkjmbuV2bdb1tlWLG1fshH7jIvZkpwy6FZRauBWbRulOCGD87nj/k3Wy8HxJA0kTHLINF6crBYTIPSWAUE1myxF/ERasJBg1tYvt9y3tSV63MFxTE1thKd5/y48xaBd0kUKOrdBHS1FJHy18k1ITSbyca51JQEl+wastGS3dMtLTk7F3rkpzVluFsRXe+mOMf11rnoZKh2qbAAAAAElFTkSuQmCC",J=o({name:"coai-guide",emits:["close"],setup(e,{emit:i}){const o=n({box:{},show:!1,steps:[{ele:"",eleRect:{},img:P("coai-1.png"),handStyle:{top:"0.91rem"},imgStyle:{top:"1.5rem",width:"6.55rem",height:"2.76rem"},btnsStyle:{top:"4.7rem",left:"2.0rem",transform:"scale(1.2)"},boxStyle:{borderRadius:"40px",transform:"scale(1)"}},{ele:"",img:P("coai-2.png"),handStyle:{top:"-1.39rem",left:"0.15rem",transform:"rotate(180deg)"},imgStyle:{top:"-4rem"},btnsStyle:{top:"-1.3rem",left:"1.3rem"}},{ele:"",img:P("coai-3.png"),handStyle:{top:"-1.39rem",left:"0.17rem",transform:"rotate(180deg)"},imgStyle:{top:"-4rem"},btnsStyle:{top:"-1.3rem",left:"1.3rem"}},{ele:"",img:P("coai-4.png"),handStyle:{top:"-1.39rem",left:"1.4rem",transform:"rotate(180deg)"},imgStyle:{top:"-4rem",left:"-3.7rem",width:"6.00rem",height:"2.53rem"},boxStyle:{borderRadius:"40px",transform:"scale(1.1)"},btnsStyle:{top:"-1.1rem",left:"-3.8rem","justify-content":"center",padding:0}}],step:0}),y=s(!1),f=s({}),v=function(){var e=r((function*(){try{const t=yield O({guideTag:"guideInfo"});var e;if(t.data)f.value=JSON.parse(null===(e=t.data)||void 0===e?void 0:e.guideValue)||null;else f.value={};f.value&&f.value.coaiGuide?y.value=!1:y.value=!0}catch(t){console.log(t)}}));return function(){return e.apply(this,arguments)}}();v();const g=()=>{console.log(`coai-${o.step}`);const e=document.getElementById(`coai-${o.step}`);if(e){const t=e.getBoundingClientRect();o.box={left:t.x+"px",top:t.y+"px",width:t.width+"px",height:t.height+"px"}}else h()};a((()=>{g(),window.addEventListener("resize",_)}));const _=()=>{g()};c((()=>{window.removeEventListener("resize",_)}));const h=()=>{o.step>=3?k():(o.step=o.step+1,g())},k=function(){var e=r((function*(){f.value?f.value.coaiGuide=!0:f.value={coaiGuide:!0};try{yield Q({guideTag:"guideInfo",guideValue:JSON.stringify(f.value)})}catch(e){console.log(e)}y.value=!1}));return function(){return e.apply(this,arguments)}}();return()=>l(p,{teleport:"body",overlay:!1,closeOnClickOverlay:!1,class:["popup-custom",V.guidePopup],show:y.value,"onUpdate:show":e=>y.value=e},{default:()=>[l("div",{class:V.content,onClick:()=>h()},[o.step!=o.steps.length-1&&l("div",{class:V.backBtn,onClick:e=>{e.stopPropagation(),k()}},[u("跳过")]),l("div",{class:V.box,style:t(t({},o.box),o.steps[o.step].boxStyle),id:`modeType-${o.step}`},[o.steps.map(((e,t)=>{var i,r;return l("div",{onClick:e=>e.stopPropagation(),class:V.item,style:{display:t===o.step?"":"none",left:`${null===(i=e.eleRect)||void 0===i?void 0:i.left}px`,top:`${null===(r=e.eleRect)||void 0===r?void 0:r.top}px`}},[l("img",{class:V.img,style:e.imgStyle,src:e.img},null),l("img",{class:V.iconHead,style:e.handStyle,src:P("indexDot.png")},null),l("div",{class:V.btns,style:e.btnsStyle},[o.step+1==o.steps.length?l(d,null,[l(m,{class:[V.btn],round:!0,type:"primary",onClick:()=>k()},{default:()=>[u("完成")]}),l(m,{class:[V.btn,V.endBtn],round:!0,color:"transparent",style:{"border-color":"#fff"},type:"primary",onClick:()=>{o.step=0,g()}},{default:()=>[u("再看一遍")]})]):l(m,{class:V.btn,round:!0,type:"primary",onClick:()=>h()},{default:()=>[u("下一步 ("),o.step+1,u("/"),o.steps.length,u(")")]})])])}))])])]})}});e("default",o({name:"co-ai",setup(){var e,i;const o=y(),c=n({page:1,rows:999,subjectId:(null===(e=f.user.data)||void 0===e?void 0:e.subjectId)||"",musicTagIds:o.query.musicTagId?[o.query.musicTagId]:[]}),u=n({page:1,rows:20,status:1,keyword:"",musicSheetCategoriesId:o.query.id}),m=n({musicSheetCategoriesName:o.query.name,typeIndex:0,musicIndex:0,showMusicImg:"first",popoverShow:!1,popoverMusicShow:!1,types:[],musics:[],loading:!0,finshed:!1,searchNoticeShow:!1,searchNotice:{left:"",top:"",width:"",height:""},showVip:!1,vipMember:null===(i=f.user.data)||void 0===i?void 0:i.vipMember}),P=s(),V=s(!1),O=v((()=>[{value:"staff",text:"五线谱"},{value:"first",text:"首调"},{value:"fixed",text:"固定调"}].map(((e,i)=>t(t({},e),{},{color:m.showMusicImg===e.value?"var(--van-primary-color)":"",className:m.showMusicImg===e.value?"fontBlod":""}))))),Q=v((()=>m.types.map((e=>t(t({},e),{},{color:u.musicSheetCategoriesId==e.value?"var(--van-primary-color)":"",className:u.musicSheetCategoriesId==e.value?"fontBlod":""}))))),R=()=>{g({api:"goBack"})},K=function(){var e=r((function*(){x({message:"正在保存",duration:0});try{N(P.value,{backgroundColor:"#fff",allowTaint:!0,useCORS:!0}).then(function(){var e=r((function*(e){var t=e.toDataURL("image/png",1);setTimeout((()=>{I("已保存到相册")}),500);yield A({api:"savePicture",content:{base64:t}})}));return function(t){return e.apply(this,arguments)}}()).catch((()=>{setTimeout((()=>{I("保存失败")}),500)}))}catch(e){setTimeout((()=>{I("保存失败")}),500)}}));return function(){return e.apply(this,arguments)}}(),T=function(){var e=r((function*(){try{var e;const i=yield q(t({},c));if(200===i.code&&Array.isArray(null==i||null===(e=i.data)||void 0===e?void 0:e.rows)){const e=[];i.data.rows.forEach((t=>{e.push({value:t.id,text:t.name})})),m.types=e}}catch(i){console.log("🚀 ~ error:",i)}}));return function(){return e.apply(this,arguments)}}(),Y=function(){var e=r((function*(){m.loading=!0;try{var e;const i=yield M(t({},u));200===i.code&&Array.isArray(null==i||null===(e=i.data)||void 0===e?void 0:e.rows)&&(m.musics=[...m.musics,...i.data.rows],m.finshed=!i.data.next),V.value=!0}catch(i){console.log("🚀 ~ error:",i)}m.loading=!1}));return function(){return e.apply(this,arguments)}}(),D=()=>{u.page=1,m.musics=[],Y()},Z=s();return a(r((function*(){g({api:"setStatusBarVisibility",content:{isVisibility:0}}),yield T(),Y();const e=new IntersectionObserver((e=>{e[0].intersectionRatio>0&&(m.loading||m.finshed||(u.page=u.page+1,Y()))}));_((()=>{e.observe(Z.value)}));const t=function(){var e=r((function*(){const e=yield B.get("/edu-app/user/getUserInfo",{initRequest:!0,requestType:"form",hideLoading:!0});200===(null==e?void 0:e.code)&&(m.vipMember=e.data.vipMember)}));return function(){return e.apply(this,arguments)}}();h("webViewOnResume",(()=>{console.log("页面显示"),t(),m.typeIndex=0,m.musicIndex=0,D()})),(()=>{const e=document.querySelector(".searchNotice .van-field__control");if(e){const t=e.getBoundingClientRect();m.searchNotice.left=t.x+"px",m.searchNotice.top=t.y+"px",m.searchNotice.width=t.width+"px",m.searchNotice.height=t.height+"px"}})()}))),()=>{var e,i,o,r,n;return l("div",{class:E.container},[l("div",{class:E.back,onClick:R},[l("img",{src:W},null)]),l("div",{class:E.musicCFixed},[l(j,{show:m.popoverMusicShow,"onUpdate:show":e=>m.popoverMusicShow=e,class:E.popoverMusic,actions:Q.value,placement:"bottom",showArrow:!1,onSelect:e=>{e.value!=u.musicSheetCategoriesId&&(m.musics=[],u.musicSheetCategoriesId=e.value,m.musicSheetCategoriesName=e.text,m.popoverMusicShow=!1,Y())}},{reference:()=>l("span",{class:E.musicName},[m.musicSheetCategoriesName,l(k,{name:"arrow-down"},null)])})]),l("div",{class:E.content},[l("div",{class:[E.leftContent]},[l("div",{class:E.leftBg2},null),l("div",{class:E.center},[l("div",{class:E.centerSearch},[l("div",{id:"coai-0"},[l(C,{class:["searchNotice",m.searchNoticeShow?E.searchNoticeShow:""],shape:"round",background:"transparent",clearable:!1,placeholder:"请输入关键字",modelValue:u.keyword,onFocus:()=>m.searchNoticeShow=!1,onBlur:e=>{u.keyword=(null==e?void 0:e.trim())||"",requestAnimationFrame((()=>{requestAnimationFrame((()=>{u.keyword&&(m.searchNoticeShow=!0)}))}))},onSearch:e=>{u.keyword=e,D()}},null)])]),l("div",{class:E.musicContent},[m.musics.map(((e,t)=>l("div",{class:[E.musicItem,m.musicIndex===t?E.musicActive:E.disableNotic],onClick:()=>m.musicIndex=t},[l("img",{class:E.musicAvtor,src:e.titleImg,onLoad:e=>{e.target.setAttribute("loaded","true")}},null),l("div",{class:E.musicInfo},[l("div",{class:E.musicName},[l(L,{text:e.musicSheetName,class:E.noticeBar,background:"none"},null)]),l("div",{class:E.musicDes},[l("div",{class:E.musicFavitor},[e.usedNum]),l("div",{class:[E.musicAuthor,"van-ellipsis"]},[e.composer||"佚名"])])])]))),!m.finshed&&l("div",{ref:Z,class:E.loadingWrap},[l(b,{color:"#259CFE"},null)]),!m.loading&&0===m.musics.length&&l("div",{class:E.empty},[l(w,{description:"暂无曲谱"},null)])])])]),l("div",{class:[E.opacityBg,E.right]},[l("div",{class:E.rightBox},[l("div",{ref:P},[l("div",{class:E["right-musicName"]},[null===(e=m.musics[m.musicIndex])||void 0===e?void 0:e.musicSheetName]),"first"===m.showMusicImg?l(d,null,[null===(i=m.musics[m.musicIndex])||void 0===i||null===(o=i.musicSvg)||void 0===o?void 0:o.split(",").map(((e,t)=>l("img",{class:E.staff,src:e+"?v="+Date.now(),key:e,crossorigin:"anonymous"},null)))]):"fixed"===m.showMusicImg?l(d,null,[l(S,{name:"van-fade"},{default:()=>{var e,t;return[null===(e=m.musics[m.musicIndex])||void 0===e||null===(t=e.musicJianSvg)||void 0===t?void 0:t.split(",").map(((e,t)=>l("img",{class:E.staff,src:e+"?v="+Date.now(),key:e,crossorigin:"anonymous"},null)))]}})]):l(d,null,[null===(r=m.musics[m.musicIndex])||void 0===r||null===(n=r.musicImg)||void 0===n?void 0:n.split(",").map(((e,t)=>l("img",{class:E.staff,src:e+"?v="+Date.now(),key:e,crossorigin:"anonymous"},null)))])])]),l("div",{class:E.rightBtns},[l(j,{show:m.popoverShow,"onUpdate:show":e=>m.popoverShow=e,class:E.popover,actions:O.value,placement:"top-start",onSelect:e=>{m.showMusicImg=e.value,m.popoverShow=!1}},{reference:()=>l("img",{id:"coai-1",src:F},null)}),l("img",{id:"coai-2",src:U,onClick:K},null),l("div",{class:E.rightBtnsRight,id:"coai-3"},[l("img",{src:G,onClick:()=>(()=>{var e;if(!m.vipMember)return void(m.showVip=!0);let t="staff";"first"===m.showMusicImg?t="firstTone":"fixed"===m.showMusicImg?t="fixedTone":"staff"===m.showMusicImg&&(t="staff");let i=`${location.origin}/instrument?id=${null===(e=m.musics[m.musicIndex])||void 0===e?void 0:e.id}&musicRenderType=${t}&showGuide=true`;g({api:"openAccompanyWebView",content:{url:i,orientation:0,isHideTitle:!0,statusBarTextColor:!1,isOpenLight:!0,c_orientation:0}})})()},null)])])])]),m.searchNotice.width&&m.searchNoticeShow&&l("div",{class:E.searchNotice,style:t({},m.searchNotice)},[l(L,{text:u.keyword,color:"#333",background:"none"},null)]),V.value&&l(J,null,null),l(p,{class:"popup-custom van-scale",transition:"van-scale",closeOnClickOverlay:!1,show:m.showVip,"onUpdate:show":e=>m.showVip=e},{default:()=>[l(z,{onClose:e=>{e&&g({api:"openWebView",content:{url:`${location.origin}${location.pathname}#/member-center`,orientation:1}}),m.showVip=!1}},null)]})])}}}))}}}))}();