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