!function(){function e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function t(t){for(var r=1;r<arguments.length;r++){var c=null!=arguments[r]?arguments[r]:{};r%2?e(Object(c),!0).forEach((function(e){n(t,e,c[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(c)):e(Object(c)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(c,e))}))}return t}function n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e,t,n,r,c,o,i){try{var a=e[o](i),u=a.value}catch(s){return void n(s)}a.done?t(u):Promise.resolve(u).then(r,c)}System.register(["./index-legacy.9e093f2b.js","./index-legacy.f4caae07.js","./index.module-legacy.55a8bd96.js","./index-legacy.a09a7405.js"],(function(e){"use strict";var n,c,o,i,a,u,s,l,f,p,g,v,d,y;return{setters:[function(e){n=e.d,c=e.ah,o=e.ag,i=e.r,a=e.Z,u=e.$,s=e.c,l=e.aj,f=e.L,p=e.m,g=e.g},function(e){v=e.g},function(e){d=e.s},function(e){y=e.I}],execute:function(){e("default",n({name:"accompany",setup:function(e,n){var h=c(),b=o(),m=i({childPath:"",svgs:[],musicTreeActive:""}),O=function(){var e,n=(e=regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,p.get(g.platformApi+"/musicSheetCategories/queryTree?enable=true");case 3:n=e.sent,Array.isArray(null==n?void 0:n.data)&&(m.svgs=n.data.map((function(e,n){return t(t({},e),{},{id:e.id,icon:e.coverImg,btnIcon:v("b2.svg"),color:"#9881FF",title:e.name,subtitle:"",btnText:"GO >"})})),console.log("🚀 ~ data.svgs",m.svgs)),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),console.log(e.t0);case 10:j();case 11:case"end":return e.stop()}}),e,null,[[0,7]])})),function(){var t=this,n=arguments;return new Promise((function(c,o){var i=e.apply(t,n);function a(e){r(i,c,o,a,u,"next",e)}function u(e){r(i,c,o,a,u,"throw",e)}a(void 0)}))});return function(){return n.apply(this,arguments)}}(),j=function(){var e=(null==h?void 0:h.path)||"accompany";m.childPath=e.replace(/\//g,"")||"accompany",console.log("🚀 ~ route.path",m.childPath)};return a((function(){return h.path}),(function(){j()})),u((function(){O()})),function(){return s("div",{class:d.accompany},[s(l,null,null),s("div",{class:d.accompanyCategory},[m.svgs.map((function(e){return s("div",{class:d.container,onClick:function(){b.push({path:"/musicList",query:{categorieid:e.id}})}},[s(y,{src:e.icon,width:"100%",height:"100%"},{loading:function(){return s(f,{type:"spinner",size:"20"},null)}})])}))])])}}}))}}}))}();
