!function(){function e(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,i)}return o}function t(t){for(var i=1;i{i=e.d,r=e.x,c=e.r,s=e.y,a=e.Q,l=e.a,u=e.R,d=e.A,m=e.F,f=e.C,p=e.P,_=e.K,g=e.e,h=e.w,v=e.U,y=e.z,b=e.an,w=e.I,x=e.L,I=e.a2,S=e.aq,k=e.a8,A=e.ar,C=e.N,j=e.ao,N=e.E,V=e.G,B=e.as,M=e.at,q=e.D},e=>{L=e.M},e=>{W=e.i},e=>{F=e.h},e=>{E=e.b,O=e.c,P=e.d},e=>{U=e.g,z=e.s,R=e.a,Q=e.b},e=>{T=e.T},e=>{G=e.P},e=>{J=e.N},null,null],execute:function(){var K=document.createElement("style");K.textContent="._back_1of4c_1{position:fixed;left:.4rem;top:.45333rem;width:.82667rem;height:.82667rem}._back_1of4c_1>img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}._back_1of4c_1:active{opacity:.8}._musicCFixed_1of4c_16{position:fixed;top:.45333rem;left:1.46667rem}._musicCFixed_1of4c_16 ._musicName_1of4c_21{font-size:.4rem;font-weight:600;color:#fff;line-height:.88rem}._subjectListContainer_1of4c_27 .van-popover__content{max-height:50vh;overflow-x:hidden;overflow-y:auto}._popoverMusic_1of4c_32{width:4.26667rem;--van-popover-action-width: 100%}._popoverMusic_1of4c_32 .van-popover__content{max-height:70vh;overflow-x:hidden;overflow-y:auto}._container_1of4c_41{background:url("+new URL("icon_bg-f94bd665.png",o.meta.url).href+') no-repeat center center / cover;padding:1.68rem .48rem .48rem .98667rem;height:100vh;overflow:hidden}._content_1of4c_47{display:flex;height:calc(100vh - 2.16rem);overflow:hidden}._opacityBg_1of4c_52{background:linear-gradient(134deg,rgba(255,255,255,.75) 0%,rgba(255,255,255,.34) 100%);border-radius:.48rem;border:.05333rem solid #fff}._leftContent_1of4c_57{position:relative;display:flex;width:37%}._leftBg_1of4c_62{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_1of4c_73{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_1of4c_83{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_1of4c_83::-webkit-scrollbar{width:0;display:none}._types_1of4c_83 ._type_1of4c_83{position:relative;padding:.10667rem .32rem}._types_1of4c_83 ._type_1of4c_83._typeActive_1of4c_103 ._typeImg_1of4c_103{padding:.16rem;border-color:#99ffd0;animation:_scaleBtn_1of4c_1 1s ease-in-out}._types_1of4c_83 ._typeImg_1of4c_103{border:.05333rem solid transparent;border-radius:.16rem;height:2.53333rem;transition:.3s}._types_1of4c_83 ._typeImg_1of4c_103:active{transform:scale(.8)}._types_1of4c_83 ._typeIcon_1of4c_117{display:block;width:100%;height:100%;-o-object-fit:cover;object-fit:cover;opacity:0;transition:opacity .3s}._types_1of4c_83 ._typeIcon_1of4c_117[loaded=true]{opacity:1}.van-popover__action{height:1.01333rem;font-size:.37333rem;color:#999}.selected{font-weight:600;color:#1cacf1}._center_1of4c_137{flex:1;position:relative;padding-right:.32rem;height:100%;overflow:hidden}._center_1of4c_137 ._centerSearch_1of4c_144{padding:.16rem .24rem}._center_1of4c_137 ._subjects_1of4c_147 ._subjectName_1of4c_147{position:relative;display:flex;align-items:center;padding-left:.26667rem;padding-right:.24rem}._center_1of4c_137 ._subjects_1of4c_147 ._subjectName_1of4c_147._active_1of4c_154 span{color:#1cacf1}._center_1of4c_137 ._subjects_1of4c_147 ._subjectName_1of4c_147._active_1of4c_154 i{margin-top:-.13333rem;border-bottom:.13333rem solid #1CACF1;transform:rotate(0)}._center_1of4c_137 ._subjects_1of4c_147 ._subjectName_1of4c_147 span{font-size:.37333rem;color:#333;line-height:.53333rem;max-width:1.06667rem;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}._center_1of4c_137 ._subjects_1of4c_147 ._subjectName_1of4c_147 i{display:inline-block;width:0;height:0;border-top:.13333rem solid transparent;border-left:.13333rem solid transparent;border-right:.13333rem solid transparent;border-bottom:.13333rem solid #AAAAAA;margin-top:.16rem;margin-left:.13333rem;transform:rotate(180deg)}._center_1of4c_137 ._subjects_1of4c_147 ._subjectName_1of4c_147:after{position:absolute;right:0;content:"";display:inline-block;width:.02667rem;height:.45333rem;background-color:#ccc}._center_1of4c_137 #coai-0 .van-search{width:100%;z-index:1;padding:0}._center_1of4c_137 #coai-0 .van-field__control::-webkit-input-placeholder{font-size:.32rem}._center_1of4c_137 #coai-0 .searchNotice{background-color:#f8f9fc!important;border-radius:1.06667rem}._center_1of4c_137 #coai-0 .searchNotice .van-search__content{background:#f8f9fc!important;padding-left:.24rem}._musicContent_1of4c_208{width:100%;height:calc(100% - var(--van-search-input-height) - .32rem - .05333rem);padding:.16rem .32rem .32rem;overflow-x:hidden;overflow-y:auto}._musicContent_1of4c_208::-webkit-scrollbar{width:0;display:none}._searchNotice_1of4c_200{position:fixed;padding:0;pointer-events:none}._searchNotice_1of4c_200 .van-notice-bar{padding:0;height:100%}._searchNoticeShow_1of4c_228 .van-field__control{opacity:0}._musicItem_1of4c_231{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_1of4c_231._disableNotic_1of4c_244 .van-notice-bar__content{transition-duration:0s!important;transform:none!important}._musicItem_1of4c_231._musicActive_1of4c_248{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_1of4c_231._musicActive_1of4c_248 .van-notice-bar__content{transition-property:transform}._musicItem_1of4c_231 ._musicAvtor_1of4c_258{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_1of4c_231 ._musicAvtor_1of4c_258[loaded=true]{opacity:1}._musicItem_1of4c_231 ._musicInfo_1of4c_272{flex:1}._musicItem_1of4c_231 ._musicInfo_1of4c_272 ._musicName_1of4c_21{font-weight:600;color:#333;margin-bottom:.08rem}._musicItem_1of4c_231 ._musicInfo_1of4c_272 ._noticeBar_1of4c_280{padding:0;height:.74667rem}._musicItem_1of4c_231 ._musicInfo_1of4c_272 ._musicDes_1of4c_284{width:100%;display:flex;align-items:center}._musicItem_1of4c_231 ._musicInfo_1of4c_272 ._musicFavitor_1of4c_289{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",o.meta.url).href+');background-repeat:no-repeat;background-size:auto 70%;background-position:.05333rem center;margin-right:.10667rem}._musicItem_1of4c_231 ._musicInfo_1of4c_272 ._musicAuthor_1of4c_301{flex:1;font-size:.32rem;font-weight:400;color:#777;line-height:.32rem;max-width:9vw}._musicItem_1of4c_231 ._musicIcon_1of4c_309{flex-shrink:0;margin-right:.10667rem}._right_1of4c_313{position:relative;background:#fff;overflow:hidden;border:none;width:63%;border-radius:.48rem}._right-musicName_1of4c_321{font-size:.4rem;font-weight:500;color:#131415;line-height:.53333rem;text-align:center;padding:.32rem 0}._staff_1of4c_329{width:100%}._rightBox_1of4c_332{width:100%;height:100%;border-radius:.48rem;overflow:hidden;position:relative}._rightBox_1of4c_332 ._iconTransfer_1of4c_339{position:absolute;right:0;top:0;background:linear-gradient(90deg,#44C9FF 0%,#259CFE 100%);border-radius:0 0 0 .42667rem;padding:.13333rem .21333rem .10667rem;font-size:.29333rem;font-weight:500;color:#fff;line-height:.48rem;display:flex;align-items:center}._rightBox_1of4c_332 ._iconTransfer_1of4c_339:before{content:"";display:inline-block;width:.32rem;height:.29333rem;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAANCAYAAACZ3F9/AAAAAXNSR0IArs4c6QAAAMBJREFUKFOd0TEuhGEUheHnWoFCghVotJQKSxCtchITnSisQBSiE8WU04olKJS0GiuY0VmBwzdBSGT+f9z6vOfec27pmCTX2MFeVT1/yasHeIwLvGK/qu4a0wk2UZIDjLCEo6oaVZJDbHZtxja2mg/OGzjFag/wp+SlgStYXxCc9Mr4l+n/NyaZYG3BU2cZz3D6+ZpHPPQweZplTDLAFd4wqKpxF/xdTpLdj3/eYBknVXU5D/7VapIN3OK+qobzwHcL4z3iNeHGYAAAAABJRU5ErkJggg==) no-repeat center;background-size:contain;margin-right:.13333rem}._rightBtns_1of4c_362{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_1of4c_362>img{margin:0 .10667rem;height:.8rem;transition:.3s}._rightBtns_1of4c_362>img:active{transform:scale(.6)}._rightBtns_1of4c_362 .van-popover__wrapper{display:flex;align-items:center;margin-right:.32rem}._rightBtns_1of4c_362 ._rightBtnsRight_1of4c_388{transition:.3s;margin:0 .10667rem;padding:.13333rem .26667rem 0;margin-left:auto}._rightBtns_1of4c_362 ._rightBtnsRight_1of4c_388 img{height:.8rem;animation:_scaleBtn_1of4c_1 1s ease-in-out infinite}@keyframes _scaleBtn_1of4c_1{0%{transform:scale(1)}50%{transform:scale(1.1)}to{transform:scale(1)}}@keyframes _displayIcon_1of4c_1{to{opacity:1}}._loadingWrap_1of4c_414{display:flex;justify-content:center;min-height:2.13333rem}._empty_1of4c_419 .van-empty__image{width:100%;height:initial}._empty_1of4c_419 .van-empty__description{color:#fff;padding:0}._changeVoice_1kdd6_1{width:8.93333rem;background:#FFFFFF;border-radius:.32rem;padding-top:.34667rem}._changeVoice_1kdd6_1 ._changeVoiceContainer_1kdd6_7{height:60vh;padding:0 .34667rem;overflow-x:hidden;overflow-y:auto}._changeVoice_1kdd6_1 ._changeVoiceContainer_1kdd6_7::-webkit-scrollbar{display:none}._changeVoice_1kdd6_1 ._changeVoiceContainer_1kdd6_7 ._item_1kdd6_16{height:1.22667rem;border-radius:.21333rem;font-size:.4rem;background-color:#fff;color:#333;line-height:1.38667rem;text-align:center}._changeVoice_1kdd6_1 ._changeVoiceContainer_1kdd6_7 ._item_1kdd6_16._active_1kdd6_25{background:#F6F6F6}._btnGroups_1kdd6_28{border-top:.02667rem solid #F2F2F2;display:flex;align-items:center;padding:.32rem .26667rem}._btnGroups_1kdd6_28 .van-button{font-size:.42667rem;color:#333}._btnGroups_1kdd6_28 .van-button+.van-button{margin-left:.4rem}\n',document.head.appendChild(K);const D={back:"_back_1of4c_1",musicCFixed:"_musicCFixed_1of4c_16",musicName:"_musicName_1of4c_21",subjectListContainer:"_subjectListContainer_1of4c_27",popoverMusic:"_popoverMusic_1of4c_32",container:"_container_1of4c_41",content:"_content_1of4c_47",opacityBg:"_opacityBg_1of4c_52",leftContent:"_leftContent_1of4c_57",leftBg:"_leftBg_1of4c_62",leftBg2:"_leftBg2_1of4c_73",types:"_types_1of4c_83",type:"_type_1of4c_83",typeActive:"_typeActive_1of4c_103",typeImg:"_typeImg_1of4c_103",scaleBtn:"_scaleBtn_1of4c_1",typeIcon:"_typeIcon_1of4c_117",center:"_center_1of4c_137",centerSearch:"_centerSearch_1of4c_144",subjects:"_subjects_1of4c_147",subjectName:"_subjectName_1of4c_147",active:"_active_1of4c_154",musicContent:"_musicContent_1of4c_208",searchNotice:"_searchNotice_1of4c_200",searchNoticeShow:"_searchNoticeShow_1of4c_228",musicItem:"_musicItem_1of4c_231",disableNotic:"_disableNotic_1of4c_244",musicActive:"_musicActive_1of4c_248",musicAvtor:"_musicAvtor_1of4c_258",musicInfo:"_musicInfo_1of4c_272",noticeBar:"_noticeBar_1of4c_280",musicDes:"_musicDes_1of4c_284",musicFavitor:"_musicFavitor_1of4c_289",musicAuthor:"_musicAuthor_1of4c_301",musicIcon:"_musicIcon_1of4c_309",right:"_right_1of4c_313","right-musicName":"_right-musicName_1of4c_321",staff:"_staff_1of4c_329",rightBox:"_rightBox_1of4c_332",iconTransfer:"_iconTransfer_1of4c_339",rightBtns:"_rightBtns_1of4c_362",rightBtnsRight:"_rightBtnsRight_1of4c_388",loadingWrap:"_loadingWrap_1of4c_414",empty:"_empty_1of4c_419",displayIcon:"_displayIcon_1of4c_1"},Y=""+new URL("icon_down-27184904.svg",o.meta.url).href,Z=""+new URL("icon_jianpuActive-17580202.svg",o.meta.url).href,X="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/G5fsmnvMkm+4hl+wlnfYgle2v4//J5vosp/opofQeku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D1uqXiizZc6EAl0bIKc7OespNFiPbZYjlIUxyuQCVRpXAQUS59WWjcE04Y0412u91DtRvUFIAQhPEEzxeg5hVJGpSjNDVlGJw4oV+BStIsW4TGFBp8B1UqzEQFKsmKPSPNWYlylYN31OUkjXBcNAhxCXguVpA0+tRv4JNDamgnaWZSBNRBSbSIko+bFSRN8EGQZVsGdZWk/SlJ8+BGTJK6qGoDwC4c47NJwJJiGmeLbnEZptwTkJM62QyDCh05CbfmdRGSezIGNMVoUM49lSEn6Wj5nqGYZDnU+og7vNqldDVKoXHxKrBWP8M7egdVHC2UrMFgCvmqxvig9MZFSs3oatplbgWlFrICfEpnC2bZ81ZAraUIMu0yBBTCUMy3cIkqt4upuNllw4UmSAO7gN65rqpcFJVTalswi7wuAVC0z1ZsGejIghLsKZT56YkI8t2AcR8uAyXDLRXG4VJVkkjmbuV2bdb1tlWLG1fshH7jIvZkpwy6FZRauBWbRulOCGD87nj/k3Wy8HxJA0kTHLINF6crBYTIPSWAUE1myxF/ERasJBg1tYvt9y3tSV63MFxTE1thKd5/y48xaBd0kUKOrdBHS1FJHy18k1ITSbyca51JQEl+wastGS3dMtLTk7F3rkpzVluFsRXe+mOMf11rnoZKh2qbAAAAAElFTkSuQmCC",H=i({name:"coai-guide",emits:["close"],setup(e,{emit:o}){const i=r({box:{},show:!1,steps:[{ele:"",eleRect:{},img:U("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:U("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:U("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:U("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}),p=c(!1),_=c({}),g=function(){var e=n((function*(){try{const t=yield R({guideTag:"guideInfo"});var e;if(t.data)_.value=JSON.parse(null===(e=t.data)||void 0===e?void 0:e.guideValue)||null;else _.value={};_.value&&_.value.coaiGuide?p.value=!1:p.value=!0}catch(t){console.log(t)}}));return function(){return e.apply(this,arguments)}}();g();const h=()=>{console.log(`coai-${i.step}`);const e=document.getElementById(`coai-${i.step}`);if(e){const t=e.getBoundingClientRect();i.box={left:t.x+"px",top:t.y+"px",width:t.width+"px",height:t.height+"px"}}else y()};s((()=>{h(),window.addEventListener("resize",v)}));const v=()=>{h()};a((()=>{window.removeEventListener("resize",v)}));const y=()=>{i.step>=3?b():(i.step=i.step+1,h())},b=function(){var e=n((function*(){_.value?_.value.coaiGuide=!0:_.value={coaiGuide:!0};try{yield Q({guideTag:"guideInfo",guideValue:JSON.stringify(_.value)})}catch(e){console.log(e)}p.value=!1}));return function(){return e.apply(this,arguments)}}();return()=>l(u,{teleport:"body",overlay:!1,closeOnClickOverlay:!1,class:["popup-custom",z.guidePopup],show:p.value,"onUpdate:show":e=>p.value=e},{default:()=>[l("div",{class:z.content,onClick:()=>y()},[i.step!=i.steps.length-1&&l("div",{class:z.backBtn,onClick:e=>{e.stopPropagation(),b()}},[d("跳过")]),l("div",{class:z.box,style:t(t({},i.box),i.steps[i.step].boxStyle),id:`modeType-${i.step}`},[i.steps.map(((e,t)=>{var o,n;return l("div",{onClick:e=>e.stopPropagation(),class:z.item,style:{display:t===i.step?"":"none",left:`${null===(o=e.eleRect)||void 0===o?void 0:o.left}px`,top:`${null===(n=e.eleRect)||void 0===n?void 0:n.top}px`}},[l("img",{class:z.img,style:e.imgStyle,src:e.img},null),l("img",{class:z.iconHead,style:e.handStyle,src:U("indexDot.png")},null),l("div",{class:z.btns,style:e.btnsStyle},[i.step+1==i.steps.length?l(m,null,[l(f,{class:[z.btn],round:!0,type:"primary",onClick:()=>b()},{default:()=>[d("完成")]}),l(f,{class:[z.btn,z.endBtn],round:!0,color:"transparent",style:{"border-color":"#fff"},type:"primary",onClick:()=>{i.step=0,h()}},{default:()=>[d("再看一遍")]})]):l(f,{class:z.btn,round:!0,type:"primary",onClick:()=>y()},{default:()=>[d("下一步 ("),i.step+1,d("/"),i.steps.length,d(")")]})])])}))])])]})}}),$=""+new URL("logoWatermark-270788fc.png",o.meta.url).href,ee=function(){var e=n((function*(e){try{const t=e.getContext("2d"),o=document.createElement("img");o.setAttribute("crossOrigin","anonymous"),$&&"string"==typeof $&&$.includes("data:image"),o.src=$,yield new Promise((e=>o.onload=e));const i=document.createElement("canvas");i.width=280,i.height=220;const n=i.getContext("2d");n.clearRect(0,0,i.width,i.height),n.drawImage(o,80,80);const r=t.createPattern(i,"repeat");return t.fillStyle=r,t.fillRect(0,0,e.width,e.height),e}catch(t){console.log(t)}}));return function(t){return e.apply(this,arguments)}}(),te="_changeVoice_1kdd6_1",oe="_changeVoiceContainer_1kdd6_7",ie="_item_1kdd6_16",ne="_active_1kdd6_25",re="_btnGroups_1kdd6_28",ce=i({name:"change-voice",props:{musicalInstruments:{type:Array,default:()=>[]},musicalInstrumentIndex:{type:Number,default:0}},emits:["close","confirm"],setup(e,{emit:t}){const o=c(e.musicalInstrumentIndex);return()=>{var i;return l("div",{class:te},[l("div",{class:oe},[null===(i=e.musicalInstruments)||void 0===i?void 0:i.map(((e,t)=>l("div",{class:[ie,o.value===e.value&&ne],onClick:()=>{o.value=e.value}},[e.text])))]),l("div",{class:re},[l(f,{round:!0,block:!0,onClick:()=>{t("close")}},{default:()=>[d("取消")]}),l(f,{type:"primary",block:!0,round:!0,color:"linear-gradient(90deg, #44C9FF 0%, #259CFE 100%)",onClick:()=>{t("confirm",o.value)}},{default:()=>[d("确认")]})])])}}});e("default",i({name:"co-ai",setup(){var e,o;const i=p(),a=r({page:1,rows:999,subjectId:(null===(e=_.user.data)||void 0===e?void 0:e.subjectId)||"",musicTagIds:i.query.musicTagId?[i.query.musicTagId]:[]}),f=r({page:1,rows:20,status:1,keyword:"",musicSheetCategoriesId:i.query.id,musicalInstrumentId:""}),U=r({musicSheetCategoriesName:i.query.name,typeIndex:0,musicIndex:0,showMusicImg:"staff",popoverShow:!1,popoverMusicShow:!1,types:[],musics:[],loading:!0,finshed:!1,showChangeVoice:!1,selectMusicInstrumentIndex:0,iframeSrc:"",searchNoticeShow:!1,searchNotice:{left:"",top:"",width:"",height:""},showVip:!1,vipMember:null===(o=_.user.data)||void 0===o?void 0:o.vipMember,subjectStatus:!1,subjectList:[],subjectItem:{},trackList:[],showTransBtn:!0}),z=c(),R=c(!1),Q=g((()=>[{value:"staff",text:"五线谱"},{value:"first",text:"首调"},{value:"fixed",text:"固定调"}].map(((e,o)=>t(t({},e),{},{color:U.showMusicImg===e.value?"var(--van-primary-color)":"",className:U.showMusicImg===e.value?"fontBlod":""}))))),K=g((()=>U.types.map((e=>t(t({},e),{},{color:f.musicSheetCategoriesId==e.value?"var(--van-primary-color)":"",className:f.musicSheetCategoriesId==e.value?"fontBlod":""}))))),$=()=>{v({api:"goBack"})},te=function(){var e=n((function*(){A({message:"正在保存",duration:0});try{F(z.value,{backgroundColor:"#fff",allowTaint:!0,useCORS:!0}).then(function(){var e=n((function*(e){const t=yield ee(e),o=yield((e,t=1)=>e.toDataURL("image/png",t))(t);console.log(o,"dataURL"),setTimeout((()=>{C("已保存到相册")}),500),yield j({api:"savePicture",content:{base64:o}})}));return function(t){return e.apply(this,arguments)}}()).catch((()=>{setTimeout((()=>{C("保存失败")}),500)}))}catch(e){setTimeout((()=>{C("保存失败")}),500)}}));return function(){return e.apply(this,arguments)}}(),oe=function(){var e=n((function*(){try{var e;const o=yield E(t({},a));if(200===o.code&&Array.isArray(null==o||null===(e=o.data)||void 0===e?void 0:e.rows)){const e=[];o.data.rows.forEach((t=>{e.push({value:t.id,text:t.name})})),U.types=e}}catch(o){console.log("🚀 ~ error:",o)}}));return function(){return e.apply(this,arguments)}}(),ie=function(){var e=n((function*(){U.loading=!0;try{const o=yield O(t(t({},f),{},{musicalInstrumentId:U.subjectItem.value||null}));var e;if(200===o.code)Array.isArray(null==o||null===(e=o.data)||void 0===e?void 0:e.rows)?(U.musics=[...U.musics,...o.data.rows],U.finshed=!o.data.next):U.finshed=!0;else R.value=!0}catch(o){console.log("🚀 ~ error:",o)}U.loading=!1}));return function(){return e.apply(this,arguments)}}(),ne=()=>{f.page=1,U.musics=[],ie()},re=c(),se=()=>{const e=N.get(V),t=U.musics[U.musicIndex],o="first"===U.showMusicImg?"firstTone":"fixed"===U.showMusicImg?"fixedTone":(U.showMusicImg,"staff");U.iframeSrc=`${k()}/instrument/?id=${t.id}&modelType=practise&modeType=json&Authorization=${e}&isPreView=true&part-index=${U.selectMusicInstrumentIndex}&musicRenderType=${o}`},ae=g((()=>{var e;const t=null===(e=U.musics[U.musicIndex])||void 0===e?void 0:e.musicalInstruments;if(t&&t.length){let e=[];t.forEach((t=>{e.push({name:t.name,code:t.code})}))}return!!(t&&t.length>1)})),le=function(){var e=n((function*(){try{var e;let t=(null===(e=_.user.data)||void 0===e?void 0:e.subjectId)||"";t=t.split(",");const o=t[0]||"",i=yield P({enableFlag:!0,delFlag:0,page:1,subjectId:o||"",rows:999});if(o){const e=i.data||[];let t=[];e.forEach((e=>{const i=e.instruments||[];Number(o)===e.id&&i.length>0&&i.forEach(((e,o)=>{t.push({text:e.name,value:e.id,className:0===o?"selected":""})}))})),U.subjectList=t,t.length>0&&(U.subjectItem=t[0])}}catch(t){}}));return function(){return e.apply(this,arguments)}}(),ue=function(){var e=n((function*(){var e;const t=U.musics[U.musicIndex];if((null==t||null===(e=t.musicalInstruments)||void 0===e?void 0:e.length)>1){if(t.xmlFileUrl){const e=yield fetch(t.xmlFileUrl).then((e=>e.text()));de(e)}}else{const{defaultScore:e,transferFlag:o}=t.musicalInstruments[0]||{};let i="staff";i="STAVE"===e?"staff":"JIAN"===e?"fixed":"FIRST"===e?"first":"staff",U.showMusicImg=i,U.showTransBtn=o}}));return function(){return e.apply(this,arguments)}}(),de=e=>{var t,o,i,n,r,c,s;const a=(new DOMParser).parseFromString(e,"text/xml"),l=(null===(t=a.getElementsByTagName("part-list"))||void 0===t||null===(o=t[0])||void 0===o?void 0:o.getElementsByTagName("score-part"))||[],u=Array.from(l).map((e=>{var t,o,i;return(null===(t=e.getElementsByTagName("part-name"))||void 0===t||null===(o=t[0])||void 0===o||null===(i=o.textContent)||void 0===i?void 0:i.trim())||""}));a.getElementsByTagName("part"),"COMMON"===(null===(i=u[0])||void 0===i||null===(n=i.toLocaleUpperCase)||void 0===n?void 0:n.call(i))&&u.shift();const d=null===(r=U.musics[U.musicIndex])||void 0===r?void 0:r.multiTracksSelection,m=d?null==d?void 0:d.split(","):[];console.log(m,u);const f=u.map(((e,t)=>{const o=!(0!=m.length&&!m.includes(e)),i=B(e);return{text:e+(i?`(${i})`:""),value:t,sortId:M(i,t),canselect:o,track:e}})).filter((e=>e.canselect)).sort(((e,t)=>e.sortId-t.sortId));U.trackList=f;let p=null===(c=f.find((e=>e.value===U.selectMusicInstrumentIndex)))||void 0===c?void 0:c.track;p=p.replace(/[0-9]+/g,"").replace(/\s/g,"").toLocaleLowerCase();let _="staff",g=!0;null===(s=U.musics[U.musicIndex])||void 0===s||s.musicalInstruments.forEach((e=>{e.code.toLocaleLowerCase()===p&&(_="STAVE"===e.defaultScore?"staff":"JIAN"===e.defaultScore?"fixed":(e.defaultScore,"first"),g=e.transferFlag)})),U.showTransBtn=g,U.showMusicImg=_};return h((()=>U.musicIndex),n((function*(){U.selectMusicInstrumentIndex=0,ue()}))),s(n((function*(){v({api:"setStatusBarVisibility",content:{isVisibility:0}}),yield le(),yield oe(),yield ie();const e=new IntersectionObserver((e=>{e[0].intersectionRatio>0&&(U.loading||U.finshed||(f.page=f.page+1,ie()))}));y((()=>{re.value&&e.observe(re.value)}));const t=function(){var e=n((function*(){const e=yield q.get("/edu-app/user/getUserInfo",{initRequest:!0,requestType:"form",hideLoading:!0});200===(null==e?void 0:e.code)&&(U.vipMember=e.data.vipMember)}));return function(){return e.apply(this,arguments)}}();b("webViewOnResume",(()=>{console.log("页面显示",U.iframeSrc),t(),U.typeIndex=0,U.musicIndex=0,ne()})),(()=>{const e=document.querySelector(".searchNotice .van-field__control");if(e){const t=e.getBoundingClientRect();U.searchNotice.left=t.x+"px",U.searchNotice.top=t.y+"px",U.searchNotice.width=t.width+"px",U.searchNotice.height=t.height+"px"}})(),se()}))),()=>{var e,o,i,r,c,s;return l("div",{class:D.container},[l("div",{class:D.back,onClick:$},[l("img",{src:W},null)]),l("div",{class:D.musicCFixed},[l(G,{show:U.popoverMusicShow,"onUpdate:show":e=>U.popoverMusicShow=e,class:D.popoverMusic,actions:K.value,placement:"bottom",showArrow:!1,onSelect:e=>{e.value!=f.musicSheetCategoriesId&&(U.musics=[],f.musicSheetCategoriesId=e.value,U.musicSheetCategoriesName=e.text,U.popoverMusicShow=!1,ie())}},{reference:()=>l("span",{class:D.musicName},[U.musicSheetCategoriesName,l(w,{name:"arrow-down"},null)])})]),l("div",{class:D.content},[l("div",{class:[D.leftContent]},[l("div",{class:D.leftBg2},null),l("div",{class:D.center},[l("div",{class:D.centerSearch},[l("div",{id:"coai-0"},[l(L,{class:["searchNotice",U.searchNoticeShow?D.searchNoticeShow:""],shape:"round",clearable:!1,placeholder:"请输入关键字",modelValue:f.keyword,onFocus:()=>U.searchNoticeShow=!1,onBlur:e=>{f.keyword=(null==e?void 0:e.trim())||"",requestAnimationFrame((()=>{requestAnimationFrame((()=>{f.keyword&&(U.searchNoticeShow=!0)}))}))},onSearch:e=>{U.loading||(f.keyword=e,ne())}},{left:()=>U.subjectItem.value&&U.subjectList.length>1&&l("div",{class:D.subjects},[l(G,{show:U.subjectStatus,"onUpdate:show":e=>U.subjectStatus=e,offset:[0,18],actions:U.subjectList,placement:"bottom-start",class:D.subjectListContainer,onSelect:e=>{U.subjectList.forEach((e=>{e.className=""})),U.subjectItem=t(t({},e),{},{className:"selected"}),ne()}},{reference:()=>l("div",{class:[D.subjectName,U.subjectStatus&&D.active]},[l("span",null,[U.subjectItem.text]),d(" "),l("i",null,null)])})])})])]),l("div",{class:D.musicContent},[U.musics.map(((e,t)=>l("div",{class:[D.musicItem,U.musicIndex===t?D.musicActive:D.disableNotic],onClick:()=>{U.musicIndex=t,se()}},[l("img",{class:D.musicAvtor,src:e.titleImg,onLoad:e=>{e.target.setAttribute("loaded","true")}},null),l("div",{class:D.musicInfo},[l("div",{class:D.musicName},[l(J,{text:e.musicSheetName,class:D.noticeBar,background:"none"},null)]),l("div",{class:D.musicDes},[l("div",{class:D.musicFavitor},[e.usedNum]),l("div",{class:[D.musicAuthor,"van-ellipsis"]},[e.composer||"佚名"])])])]))),!U.finshed&&l("div",{ref:re,class:D.loadingWrap},[l(x,{color:"#259CFE"},null)]),!U.loading&&0===U.musics.length&&l("div",{class:D.empty},[l(I,{description:"暂无曲谱"},null)])])])]),l("div",{class:[D.opacityBg,D.right]},[l("div",{class:D.rightBox},[ae.value&&l("div",{class:D.iconTransfer,onClick:()=>U.showChangeVoice=!0},[d("切换声轨")]),l("div",{ref:z},[l("div",{class:D["right-musicName"]},[null===(e=U.musics[U.musicIndex])||void 0===e?void 0:e.musicSheetName]),ae.value?l("div",null,[l(m,null,[l("iframe",{id:"staffIframeRef",style:{width:"100%"},src:U.iframeSrc,onLoad:(s=n((function*(){yield ue(),se()})),function(){return s.apply(this,arguments)})},null)])]):l(m,null,["first"===U.showMusicImg?l(m,null,[null===(o=U.musics[U.musicIndex])||void 0===o||null===(i=o.musicFirstImg)||void 0===i?void 0:i.split(",").map(((e,t)=>l("img",{class:D.staff,src:e+"?v="+Date.now(),key:e,crossorigin:"anonymous"},null)))]):"fixed"===U.showMusicImg?l(m,null,[l(S,{name:"van-fade"},{default:()=>{var e,t;return[null===(e=U.musics[U.musicIndex])||void 0===e||null===(t=e.musicJianImg)||void 0===t?void 0:t.split(",").map(((e,t)=>l("img",{class:D.staff,src:e+"?v="+Date.now(),key:e,crossorigin:"anonymous"},null)))]}})]):l(m,null,[null===(r=U.musics[U.musicIndex])||void 0===r||null===(c=r.musicImg)||void 0===c?void 0:c.split(",").map(((e,t)=>l("img",{class:D.staff,src:e+"?v="+Date.now(),key:e,crossorigin:"anonymous"},null)))])])])]),l("div",{class:D.rightBtns},[U.showTransBtn&&l(G,{show:U.popoverShow,"onUpdate:show":e=>U.popoverShow=e,class:D.popover,actions:Q.value,placement:"top-start",onSelect:e=>{U.showMusicImg=e.value,U.popoverShow=!1,se()}},{reference:()=>l("img",{id:"coai-1",src:Z},null)}),!ae.value&&l("img",{id:"coai-2",src:Y,onClick:te},null),l("div",{class:D.rightBtnsRight,id:"coai-3"},[l("img",{src:X,onClick:()=>(()=>{var e;if(!U.vipMember)return void(U.showVip=!0);let t="staff";"first"===U.showMusicImg?t="firstTone":"fixed"===U.showMusicImg?t="fixedTone":"staff"===U.showMusicImg&&(t="staff");let o=`${k()}/instrument?id=${null===(e=U.musics[U.musicIndex])||void 0===e?void 0:e.id}&musicRenderType=${t}&showGuide=true&part-index=${U.selectMusicInstrumentIndex}`;v({api:"openAccompanyWebView",content:{url:o,orientation:0,isHideTitle:!0,statusBarTextColor:!1,isOpenLight:!0,c_orientation:0}})})()},null)])])])]),U.searchNotice.width&&U.searchNoticeShow&&l("div",{class:D.searchNotice,style:t({},U.searchNotice)},[l(J,{text:f.keyword,color:"#333",background:"none"},null)]),R.value&&l(H,null,null),l(u,{class:"popup-custom van-scale",transition:"van-scale",closeOnClickOverlay:!1,show:U.showVip,"onUpdate:show":e=>U.showVip=e},{default:()=>[l(T,{onClose:e=>{e&&v({api:"openWebView",content:{url:`${location.origin}${location.pathname}#/member-center`,orientation:1}}),U.showVip=!1}},null)]}),l(u,{class:"popup-custom van-scale",transition:"van-scale",closeOnClickOverlay:!1,show:U.showVip,"onUpdate:show":e=>U.showVip=e},{default:()=>[l(T,{onClose:e=>{e&&v({api:"openWebView",content:{url:`${location.origin}${location.pathname}#/member-center`,orientation:1}}),U.showVip=!1}},null)]}),U.showChangeVoice&&l(u,{class:"popup-custom van-scale",transition:"van-scale",closeOnClickOverlay:!1,show:U.showChangeVoice,"onUpdate:show":e=>U.showChangeVoice=e},{default:()=>{return[l(ce,{musicalInstruments:U.trackList||[],musicalInstrumentIndex:U.selectMusicInstrumentIndex,onClose:()=>U.showChangeVoice=!1,onConfirm:(e=n((function*(e){U.selectMusicInstrumentIndex=e,yield ue(),se(),U.showChangeVoice=!1})),function(t){return e.apply(this,arguments)})},null)];var e}})])}}}))}}}))}();