System.register(["./index-legacy.b903c881.js","./index-legacy.8e85fa65.js","./index-legacy.a3393736.js","./index-legacy.5dc3ca4c.js","./header-legacy.fcd1c304.js","./music-legacy.1b935274.js","./hooks-legacy.84a774a1.js","./index-legacy.77670d98.js","./index-legacy.f52c26b4.js","./use-tab-status-legacy.a19d344b.js","./index-legacy.8abefd50.js","./index-legacy.ae2ce69e.js","./index-legacy.ba78f33e.js","./use-id-legacy.29724920.js","./use-refs-legacy.14daae14.js","./index-legacy.3e4ae683.js","./index-legacy.b7f666cc.js","./index-legacy.e9e6da38.js","./select-subject-legacy.71d46246.js","./index-legacy.857a8bc7.js","./index-legacy.24f66432.js","./index-legacy.1b471fb9.js","./index-legacy.5b93d63d.js","./icon-xin-legacy.34fb9986.js","./index-legacy.885c229f.js","./index-legacy.909b3c1c.js","./select-tag-legacy.e25783c1.js","./index-legacy.a3b9d61a.js","./index-legacy.fea60f22.js","./index-legacy.6e10cd37.js","./index-legacy.c28809c6.js","./index-legacy.c848501c.js","./icon_uploader-legacy.b178a553.js","./icon_album-legacy.27017c0f.js","./icon_album_active-legacy.fcd6f4c0.js","./icon_exquisite-legacy.80eb242a.js","./icon_music_active-legacy.77693573.js","./icon-play-legacy.50b88257.js"],(function(e){"use strict";var n,c,a,u,i,l,t,f,s,o,d,g,r,j,y;return{setters:[function(e){n=e.d,c=e.O,a=e.P,u=e.S,i=e.U,l=e.bC,t=e.j},function(e){f=e.d},function(e){s=e.default},function(e){o=e.default},function(e){d=e.m,g=e.s},function(e){r=e.g},function(e){j=e.a,y=e.S},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){}],execute:function(){e("default",n({name:"MusicSearch",emits:["confirm"],setup:function(){localStorage.setItem("behaviorId",r());var e=c(),n=a(),v=u(e.query.keyword||""),b=u(e.query.tagids||""),m=u(),x=u(!1),h=f("music-search",[]),S=u("songe"),I=j(y.SEARCH);m.value=I.id;var p=function(e){var n,c;v.value=e;var a=h.value.indexOf(e);a>-1&&h.value.splice(a,1),e&&(h.value.unshift(e),h.value.length=Math.min(h.value.length,5)),null===(n=(c=("album"===S.value?q:T).value).onSearch)||void 0===n||n.call(c,e)},_=function(e){var n,c,a=Object.values(e).flat().filter(Boolean).join(",");b.value=a,null===(n=(c=("album"===S.value?q:T).value).onComfirm)||void 0===n||n.call(c,e),x.value=!1},C=function(e){var n,c;m.value=e.id,null===(n=(c=("album"===S.value?q:T).value).onComfirmSubject)||void 0===n||n.call(c,e)},q=u(null),T=u(null),k=function(e){S.value=e};return i((function(){d.on("changeTab",k),d.on("search",p),d.on("confirm",_),d.on("confirmSubject",C)})),l((function(){d.off("changeTab",k),d.off("search",p),d.off("confirm",_),d.off("confirmSubject",C)})),function(){return t("div",{class:g.search},["album"===S.value?t(s,{hideSearch:!0,ref:q,defauleParams:{search:v.value,tagids:b.value,albumTagIds:b.value,subjectIds:m.value}},null):t(o,{hideSearch:!0,ref:T,onItemClick:function(c){n.push({path:"/music-detail",query:{id:c.id,albumId:e.params.id}})},defauleParams:{search:v.value,tagids:b.value,musicTagIds:b.value,subjectIds:m.value}},null)])}}}))}}}));