1 |
- System.register(["./index-legacy.ae93f75b.js","./index-legacy.f9a53024.js","./index-legacy.742140e0.js","./header-legacy.7181cd48.js","./index-legacy.3a56f200.js","./music-legacy.40acb701.js","./hooks-legacy.b510aed8.js","./index-legacy.689d4739.js","./index-legacy.bec85e60.js","./use-tab-status-legacy.68d7aabe.js","./index-legacy.e020ea66.js","./index-legacy.b9ad2bbe.js","./use-id-legacy.2fc4a8b7.js","./use-refs-legacy.cdb7fc3b.js","./index-legacy.c9b96e7c.js","./index-legacy.0dd85a22.js","./index-legacy.c3d7b278.js","./select-subject-legacy.02fc8512.js","./index-legacy.53d4d2bd.js","./index-legacy.7a83cb90.js","./index-legacy.4bd2e8d8.js","./index-legacy.29ffb2ac.js","./icon-xin-legacy.74dde3a9.js","./select-tag-legacy.ec2b7f3c.js","./index-legacy.e261dd7b.js","./index-legacy.b4496e5c.js","./index-legacy.6e10cd37.js","./index-legacy.9d4749d2.js","./index.module-legacy.7ae59c2a.js","./index-legacy.b2ba1b9f.js","./icon_uploader-legacy.bc9240d0.js","./icon_album-legacy.55f831d4.js","./icon_album_active-legacy.fe16b618.js","./icon_exquisite-legacy.c990d38d.js","./icon_music_active-legacy.3c4f03a5.js","./icon-play-legacy.50b88257.js","./index-legacy.305dd46e.js","./index-legacy.5e98072b.js","./use-height-legacy.f60703ea.js","./index-legacy.c610561c.js"],(function(e){"use strict";var n,c,a,i,u,l,t,s,f,o,d,g,r,j,b;return{setters:[function(e){n=e.c},function(e){c=e.default},function(e){a=e.default},function(e){i=e.m,u=e.s},function(e){l=e.d,t=e.P,s=e.Q,f=e.U,o=e.V,d=e.bC,g=e.i},function(e){r=e.g},function(e){j=e.a,b=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(){},function(){},function(){}],execute:function(){e("default",l({name:"MusicSearch",emits:["confirm"],setup:function(){localStorage.setItem("behaviorId",r());var e=t(),l=s(),y=f(e.query.keyword||""),v=f(e.query.tagids||""),m=f(),x=f(!1),h=n("music-search",[]),S=f("songe"),I=j(b.SEARCH);m.value=I.id;var p=function(e){var n,c;y.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(",");v.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=f(null),T=f(null),k=function(e){S.value=e};return o((function(){i.on("changeTab",k),i.on("search",p),i.on("confirm",_),i.on("confirmSubject",C)})),d((function(){i.off("changeTab",k),i.off("search",p),i.off("confirm",_),i.off("confirmSubject",C)})),function(){return g("div",{class:u.search},["album"===S.value?g(c,{hideSearch:!0,ref:q,defauleParams:{search:y.value,tagids:v.value,albumTagIds:v.value,subjectIds:m.value}},null):g(a,{hideSearch:!0,ref:T,onItemClick:function(n){l.push({path:"/music-detail",query:{id:n.id,albumId:e.params.id}})},defauleParams:{search:y.value,tagids:v.value,musicTagIds:v.value,subjectIds:m.value}},null)])}}}))}}}));
|