!function(){function e(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,c,a,i,o=[],s=!0,l=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=a.call(n)).done)&&(o.push(r.value),o.length!==t);s=!0);}catch(_){l=!0,c=_}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(l)throw c}}return o}}(e,n)||function(e,n){if(!e)return;if("string"==typeof e)return t(e,n);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 t(e,n)}(e,n)||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 t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);nimg{margin:0 .10667rem;height:.8rem;transition:.3s}._rightBtns_1h4cw_244>img:active{transform:scale(.8)}._rightBtns_1h4cw_244>img:last-child{margin-left:auto;animation:_scaleBtn_1h4cw_1 1s ease-in-out infinite}@keyframes _scaleBtn_1h4cw_1{0%{transform:scale(1)}50%{transform:scale(1.1)}to{transform:scale(1)}}@keyframes _displayIcon_1h4cw_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(z),{setters:[function(e){r=e.f,c=e.F},function(e){a=e.c,i=e.s,o=e.d,s=e.r,l=e.Z,_=e.a2,u=e.a3,h=e.a4,d=e.w,m=e.k,f=e.a5,g=e.h,p=e.I,w=e.a6,b=e.a7,v=e.z,y=e.a8,k=e.i,I=e.q,x=e.a9,B=e.m,q=e.t,C=e.aa,S=e.ab,A=e.p,F=e.ac,j=e.M,L=e.D,R=e.F,U=e.S}],execute:function(){var z=e(a("notice-bar"),2),V=z[0],T=z[1],E={text:String,mode:String,color:String,delay:i(1),speed:i(60),leftIcon:String,wrapable:Boolean,background:String,scrollable:{type:Boolean,default:null}},N=o({name:V,props:E,emits:["close","replay"],setup:function(e,t){var n,r=t.emit,c=t.slots,a=0,i=0,o=s(),I=s(),x=l({show:!0,offset:0,duration:0}),B=function(t){"closeable"===e.mode&&(x.show=!1,r("close",t))},q=function(){if(c["right-icon"])return c["right-icon"]();var t="closeable"===e.mode?"cross":"link"===e.mode?"arrow":void 0;return t?g(p,{name:t,class:T("right-icon"),onClick:B},null):void 0},C=function(){x.offset=a,x.duration=0,y((function(){b((function(){x.offset=-i,x.duration=(i+a)/+e.speed,r("replay")}))}))},S=function(){var t=e.delay,r=e.speed,c=e.scrollable,s=k(t)?1e3*+t:0;a=0,i=0,x.offset=0,x.duration=0,clearTimeout(n),n=setTimeout((function(){if(o.value&&I.value&&!1!==c){var e=w(o).width,t=w(I).width;(c||t>e)&&b((function(){a=e,i=t,x.offset=-i,x.duration=i/+r}))}}),s)};return _(S),u(S),h("pageshow",S),v({reset:S}),d((function(){return[e.text,e.scrollable]}),S),function(){var t,n,r=e.color,a=e.wrapable,i=e.background;return m(g("div",{role:"alert",class:T({wrapable:a}),style:{color:r,background:i}},[c["left-icon"]?c["left-icon"]():e.leftIcon?g(p,{class:T("left-icon"),name:e.leftIcon},null):void 0,(t=!1===e.scrollable&&!e.wrapable,n={transform:x.offset?"translateX(".concat(x.offset,"px)"):"",transitionDuration:"".concat(x.duration,"s")},g("div",{ref:o,role:"marquee",class:T("wrap")},[g("div",{ref:I,style:n,class:[T("content"),{"van-ellipsis":t}],onTransitionend:C},[c.default?c.default():e.text])])),q()]),[[f,x.show]])}}}),O=I(N),J=e(a("search"),3),D=J[0],P=J[1],M=J[2],H=x({},r,{label:String,shape:B("square"),leftIcon:B("search"),clearable:q,actionText:String,background:String,showAction:Boolean}),K=o({name:D,props:H,emits:["blur","focus","clear","search","cancel","clickInput","clickLeftIcon","clickRightIcon","update:modelValue"],setup:function(e,t){var n=t.emit,a=t.slots,i=t.attrs,o=C(),l=s(),_=function(){a.action||(n("update:modelValue",""),n("cancel"))},u=function(t){13===t.keyCode&&(F(t),n("search",e.modelValue))},h=function(){return e.id||"".concat(o,"-input")},d=function(){if(a.label||e.label)return g("label",{class:P("label"),for:h()},[a.label?a.label():e.label])},m=function(){if(e.showAction){var t=e.actionText||M("cancel");return g("div",{class:P("action"),role:"button",tabindex:0,onClick:_},[a.action?a.action():t])}},f=function(e){return n("blur",e)},p=function(e){return n("focus",e)},w=function(e){return n("clear",e)},b=function(e){return n("clickInput",e)},y=function(e){return n("clickLeftIcon",e)},k=function(e){return n("clickRightIcon",e)},I=Object.keys(r);return v({focus:function(){var e;return null==(e=l.value)?void 0:e.focus()},blur:function(){var e;return null==(e=l.value)?void 0:e.blur()}}),function(){var t,r;return g("div",{class:P({"show-action":e.showAction}),style:{background:e.background}},[null==(t=a.left)?void 0:t.call(a),g("div",{class:P("content",e.shape)},[d(),(r=x({},i,S(e,I),{id:h()}),g(c,A({ref:l,type:"search",class:P("field"),border:!1,onBlur:f,onFocus:p,onClear:w,onKeypress:u,onClickInput:b,onClickLeftIcon:y,onClickRightIcon:k,"onUpdate:modelValue":function(e){return n("update:modelValue",e)}},r),S(a,["left-icon","right-icon"])))]),m()])}}}),W=I(K),X="_back_1h4cw_1",Z="_container_1h4cw_16",$="_content_1h4cw_22",G="_opacityBg_1h4cw_27",Q="_leftContent_1h4cw_32",Y="_leftBg_1h4cw_37",ee="_leftBg2_1h4cw_48",te="_types_1h4cw_58",ne="_type_1h4cw_58",re="_typeActive_1h4cw_78",ce="_typeImg_1h4cw_78",ae="_typeIndex_1h4cw_84",ie="_typeIcon_1h4cw_111",oe="_center_1h4cw_117",se="_musicContent_1h4cw_130",le="_musicItem_1h4cw_142",_e="_disableNotic_1h4cw_161",ue="_musicActive_1h4cw_165",he="_musicAvtor_1h4cw_175",de="_musicInfo_1h4cw_184",me="_musicName_1h4cw_187",fe="_noticeBar_1h4cw_193",ge="_musicDes_1h4cw_197",pe="_musicFavitor_1h4cw_202",we="_musicAuthor_1h4cw_214",be="_musicIcon_1h4cw_222",ve="_right_1h4cw_226",ye="_right-musicName_1h4cw_233",ke="_staff_1h4cw_241",Ie="_rightBtns_1h4cw_244",xe={"m-search":"_m-search_1oqt0_1",default:"_default_1oqt0_22",white:"_white_1oqt0_25",transparent:"_transparent_1oqt0_28",searchBtn:"_searchBtn_1oqt0_40"},Be=""+new URL("icon-search-d43eb2c3.svg",n.meta.url).href,qe=o({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 n=t.slots,r=t.emit,c=l({search:e.modelValue||""});return d((function(){return e.modelValue}),(function(){c.search=e.modelValue})),function(){return g(W,{class:[xe["m-search"],xe[e.inputBackground]],shape:e.shape,background:e.background,placeholder:e.placeholder,disabled:e.disabled,autofocus:e.autofocus,autocomplete:"off",modelValue:c.search,"onUpdate:modelValue":function(e){return c.search=e},clearTrigger:"always",onClear:function(){console.log("clear"),c.search="",r("search",c.search)},onSearch:function(){return r("search",c.search)}},{left:function(){return n.left&&n.left()},"left-icon":function(){return g(p,{name:Be,class:xe.leftIcon},null)},"right-icon":function(){return g(j,{disabled:e.disabled,class:xe.searchBtn,round:!0,type:"primary",size:"mini",onClick:function(){return r("search",c.search)}},{default:function(){return[L("搜索")]}})}})}}}),Ce=""+new URL("icon_play-eeef8244.svg",n.meta.url).href,Se=""+new URL("icon_back-b80c2fc2.svg",n.meta.url).href,Ae=""+new URL("icon_down-27184904.svg",n.meta.url).href,Fe=""+new URL("icon_jianpu-80bd16a8.svg",n.meta.url).href,je=""+new URL("icon_jianpuActive-17580202.svg",n.meta.url).href,Le=""+new URL("icon_start-4add1f07.svg",n.meta.url).href,Re=""+new URL("1-0aed42a1.svg",n.meta.url).href,Ue=""+new URL("2-f51bb566.svg",n.meta.url).href,ze=""+new URL("3-9fe2956a.svg",n.meta.url).href,Ve=""+new URL("1-068d7272.png",n.meta.url).href,Te=""+new URL("2-be3ea30a.png",n.meta.url).href,Ee=""+new URL("3-6a1b17fd.png",n.meta.url).href,Ne=""+new URL("4-70426869.png",n.meta.url).href;t("default",o({name:"co-ai",setup:function(){var e=[Re,Ue,ze],t=[{name:"竖笛-上学歌",auther:"人教版",hot:232,img:Ve},{name:"最伟大的作品",auther:"周杰伦",hot:132,img:Te},{name:"夏天的风",auther:"温岚",hot:112,img:Ee},{name:"慢生活",auther:"李萌",hot:112,img:Ne},{name:"竖笛-上学歌",auther:"人教版",hot:232,img:Ve},{name:"最伟大的作品",auther:"周杰伦",hot:132,img:Te},{name:"夏天的风",auther:"温岚",hot:112,img:Ee},{name:"慢生活",auther:"李萌",hot:112,img:Ne}],n=l({typeIndex:0,musicIndex:0,isShowJianpu:!1}),r=function(){U({api:"goBack"})};return function(){return g("div",{class:Z},[g("div",{class:X,onClick:r},[g("img",{src:Se},null)]),g("div",{class:$},[g("div",{class:[Q]},[g("div",{class:ee},null),g("div",{class:Y},null),g("div",{class:te},[new Array(10).fill(1).map((function(t,r){var c=e[r]?e[r]:e[r%3];return g("div",{class:[ne,n.typeIndex===r&&re],onClick:function(){return n.typeIndex=r}},[g("div",{class:ae},null),g("div",{class:ce},[g("img",{class:ie,src:c},null)])])}))]),g("div",{class:oe},[g(qe,{shape:"round",background:"transparent",placeholder:"请输入曲目名称"},null),g("div",{class:se},[t.map((function(e,t){return g("div",{class:[le,n.musicIndex===t?ue:_e],onClick:function(){return n.musicIndex=t}},[g("img",{class:he,src:e.img},null),g("div",{class:de},[g("div",{class:me},[g(O,{text:e.name,color:"#333",class:fe,background:"none"},null)]),g("div",{class:ge},[g("div",{class:pe},[e.hot]),g("div",{class:[we,"van-ellipsis"]},[e.auther])])]),g("img",{class:[be],src:Ce},null)])}))])])]),g("div",{class:[G,ve]},[g("div",{class:ye},[t[n.musicIndex].name]),n.isShowJianpu?g(R,null,[g("img",{style:{display:n.musicIndex%2==0?"":"none"},class:ke,src:"https://cloud-coach.ks3-cn-beijing.ksyuncs.com/music-sheet-first/1687673062603-1.png"},null),g("img",{style:{display:n.musicIndex%2!=0?"":"none"},class:ke,src:"https://cloud-coach.ks3-cn-beijing.ksyuncs.com/music-sheet-first/1675232855321-1.png"},null)]):g(R,null,[g("img",{style:{display:n.musicIndex%2==0?"":"none"},class:ke,src:"https://cloud-coach.ks3-cn-beijing.ksyuncs.com/music-sheet/1687673062488-1.png"},null),g("img",{style:{display:n.musicIndex%2!=0?"":"none"},class:ke,src:"https://cloud-coach.ks3-cn-beijing.ksyuncs.com/music-sheet/1675232854483-2.png"},null)]),g("div",{class:Ie},[g("img",{src:n.isShowJianpu?je:Fe,onClick:function(){return n.isShowJianpu=!n.isShowJianpu}},null),g("img",{src:Ae},null),g("img",{src:Le,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)])])])])}}}))}}}))}();