import{d as I,_ as F,r as B,c as L,o as O,e as P,T as p,s as k,a as f,b as C,f as s,g as n,h as w,p as h,i as V,j as c,C as b,R as x,F as S,k as o,l as $,m as q,D as z,n as _,q as H,t as N,u as D,v as g,w as A,x as U,y as j}from"./ResizeObserver.es.f28023e0.js";import{A as M}from"./auth.49a08f5e.js";import{r as G,a as W}from"./routes-common.15ed7208.js";function gt(){import("data:text/javascript,")}const J=I({name:"App"});function K(a,t,e,r,u,i){const y=B("router-view");return O(),L(y)}var Q=F(J,[["render",K]]);const X="_error_t671u_1",Y="_info_t671u_9",Z="_login_t671u_27",tt="_loginCenter_t671u_34",et="_userInfo_t671u_38",ot="_img_t671u_41",at="_name_t671u_47",nt="_tips_t671u_54",rt="_logo_t671u_57",ut="_text_t671u_60",it="_phone_t671u_66",st="_btnGroup_t671u_73",ct="_btn_t671u_73",mt="_moreBtn_t671u_87";var pt={error:X,info:Y,login:Z,loginCenter:tt,userInfo:et,img:ot,name:at,tips:nt,logo:rt,text:ut,phone:it,btnGroup:st,btn:ct,moreBtn:mt};const It=()=>{sessionStorage.removeItem("Authorization")},v=a=>{sessionStorage.setItem("Authorization",a)},d=P({timeout:2e4,timeoutMessage:"\u8BF7\u6C42\u8D85\u65F6"});let R=!1,l;d.interceptors.request.use((a,t)=>{t.hideLoading||(clearTimeout(l),p.loading({message:"\u52A0\u8F7D\u4E2D...",forbidClick:!0,loadingType:"spinner",duration:0})),R=t.initRequest||!1;const e=sessionStorage.getItem("Authorization")||"",r={};return e&&!["/api-auth/usernameLogin","/api-auth/smsLogin","/api-auth/code/sendSms"].includes(a)&&(r.Authorization=e),{url:a,options:{...t,params:k(t.params),headers:{...t.headers,...r}}}},{global:!1});d.interceptors.response.use(async a=>{if(l=setTimeout(()=>{p.clear()},100),a.status>299||a.status<200){clearTimeout(l);const e="\u670D\u52A1\u5668\u9519\u8BEF\uFF0C\u72B6\u6001\u7801"+a.status;throw p(e),new Error(e)}const t=await a.clone().json();if(t.code!==200&&t.errCode!==0){let e=t.msg||t.message||"\u5904\u7406\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5";throw R&&(t.code===403||t.code===401?f():C()),t.code===403||t.code===401||(clearTimeout(l),p(e)),s(),t.code===403&&(e+="403",f(),window.location.href=window.location.origin+window.location.pathname+"#/home-layout-center"),new Error(e)}return a},{global:!1});const _t=s();var lt=I({name:"Auth-loayout",data(){return{loading:!1}},computed:{isExternal(){return this.$route.meta.isExternal&&!_t.isStudent||!1},isNeedView(){return n.user.status==="login"||this.$route.path==="/home-auth"||this.$route.path==="/home-login"||this.$route.path==="/home-layout-center"||this.isExternal}},mounted(){!this.isExternal&&this.setAuth(),n.orchestraInfo.unionId||w()},methods:{async setAuth(){const{query:a}=this.$route,t=a.userInfo||a.Authorization;if(t&&v(t),!this.loading){if(n.user.status==="init"||n.user.status==="error"){this.loading=!0;try{if(n.orchestraInfo.unionId){const r=await d.post("/api-auth/smsLogin",{requestType:"form",data:{clientId:"student",clientSecret:"student",phone:n.orchestraInfo.phone,token:n.orchestraInfo.token,isSurportRegister:!0}}),{authentication:u}=r.data;v(u.token_type+" "+u.access_token),h({api:"setCache",content:{key:"h5-colexiu-token",value:u.token_type+" "+u.access_token}})}const e=await d.get("/api-student/student/queryUserInfo",{initRequest:!0,requestType:"form"});V(e.data)}catch(e){const r=e.message;r.indexOf("5000")===-1&&r.indexOf("authentication")===-1?C():f()}this.loading=!1}if(n.user.status==="logout")try{const e=this.$route,r={returnUrl:this.$route.path,...this.$route.query};e.meta.isRegister&&(r.isRegister=e.meta.isRegister),this.$router.replace({path:"/home-auth",query:r})}catch{}}}},render(){return c(S,null,[n.user.status==="error"?c("div",{class:pt.error},[c(b,{type:"notFond",classImgSize:"CERT",tips:"\u52A0\u8F7D\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5",buttonText:"\u91CD\u65B0\u52A0\u8F7D",plain:!0,onClick:this.setAuth},null)]):this.isNeedView?c(x,null,null):null])}});const ht=[{path:"/share-music-sheet",name:"share-music-sheet",component:()=>o(()=>import("./index.68cb82cf.js"),["assets/index.68cb82cf.js","assets/index.254f2153.css","assets/ResizeObserver.es.f28023e0.js","assets/ResizeObserver.es.6e083b37.css","assets/index.3b2e70c8.js","assets/index.09cb4b8c.css","assets/icon_discount.535f7618.js","assets/icon_teacher.40b6f077.js"]),meta:{title:"\u5206\u4EAB\u4E50\u66F2"}},{path:"/leaderboard",component:()=>o(()=>import("./index.427f8ad5.js"),["assets/index.427f8ad5.js","assets/index.237b8a87.css","assets/ResizeObserver.es.f28023e0.js","assets/ResizeObserver.es.6e083b37.css","assets/index.3b2e70c8.js","assets/index.09cb4b8c.css","assets/index.7a1af785.js","assets/index.e07367fb.css","assets/index.b0753b8c.js","assets/index.725eb6f5.css","assets/index.966d1893.js","assets/index.53cbb04c.css","assets/index.aa87c0e3.js","assets/index.9d82b1e3.css","assets/use-id.cc14bbe9.js","assets/use-tab-status.653933d8.js","assets/use-refs.b4f9d723.js","assets/icon_level3.5bff162c.js","assets/icon_teacher.40b6f077.js"]),meta:{title:"\u66F2\u76EE\u6311\u6218\u6392\u884C\u699C"}}];var dt=[{path:"/",component:M,children:[...G,{path:"/login",name:"login",component:()=>o(()=>import("./login.b977a2cd.js"),["assets/login.b977a2cd.js","assets/login.45bf09f9.css","assets/ResizeObserver.es.f28023e0.js","assets/ResizeObserver.es.6e083b37.css","assets/index.2a22730e.js","assets/index.935001ee.css","assets/index.3b2e70c8.js","assets/index.09cb4b8c.css","assets/index.975e8f79.js","assets/index.9aecfad8.css","assets/use-id.cc14bbe9.js","assets/index.5512cae9.js","assets/index.790dec85.css","assets/index.00276806.js","assets/index.ed0ac76f.css","assets/index.b27ef3b6.js","assets/index.bfb43d3b.css","assets/index.7a1af785.js","assets/index.e07367fb.css","assets/validate.ba62cd4c.js"]),meta:{isRegister:!1}},{path:"/practiceClass",name:"practiceClass",component:()=>o(()=>import("./index.31230bc5.js"),["assets/index.31230bc5.js","assets/index.21f3b182.css","assets/ResizeObserver.es.f28023e0.js","assets/ResizeObserver.es.6e083b37.css","assets/index.bd375ca9.js","assets/index.62a411a4.css","assets/index.b0753b8c.js","assets/index.725eb6f5.css","assets/index.79f59946.js","assets/index.85a0c0a7.css","assets/use-tab-status.653933d8.js","assets/index.f1def79c.js","assets/index.9bdb045e.css","assets/index.22776016.js","assets/index.08f5e5c6.css","assets/index.3b2e70c8.js","assets/index.09cb4b8c.css","assets/index.975e8f79.js","assets/index.9aecfad8.css","assets/use-id.cc14bbe9.js","assets/index.7a1af785.js","assets/index.e07367fb.css","assets/index.0874dacb.js","assets/index.7e4a2d88.css","assets/use-refs.b4f9d723.js","assets/icon_teacher.40b6f077.js","assets/organ-search.f535c61b.js","assets/organ-search.133b8c72.css","assets/index.af901340.js","assets/index.c1ee5538.css"]),meta:{title:"\u966A\u7EC3\u8BFE"}},{path:"/videoDetail",name:"videoDetail",component:()=>o(()=>import("./video-detail.e42c967b.js"),["assets/video-detail.e42c967b.js","assets/video-detail.f773086f.css","assets/ResizeObserver.es.f28023e0.js","assets/ResizeObserver.es.6e083b37.css","assets/index.46d36266.js","assets/index.e6e7e1cb.css","assets/index.3b2e70c8.js","assets/index.09cb4b8c.css","assets/index.7a1af785.js","assets/index.e07367fb.css","assets/index.af901340.js","assets/index.c1ee5538.css","assets/bars.4f1962a6.js","assets/icon_album_active.a67a159e.js","assets/icon_music_active.5a84cf57.js","assets/index.07a2a95f.js","assets/index.3f72abd0.css","assets/index.2a22730e.js","assets/index.935001ee.css","assets/index.d9fd7ad5.js","assets/index.a3b5798b.css","assets/icon_teacher.40b6f077.js","assets/icon_timer2.5fb1750d.js","assets/icon-jiaozi.20e415ca.js","assets/index.bd375ca9.js","assets/index.62a411a4.css","assets/orderStatus.00354bd8.js","assets/tradeOrder.02449ce4.js","assets/index.eb1d9d01.js","assets/index.8c937010.js","assets/index.a4ca5d1f.css","assets/index.9a41251d.js","assets/icon-share.4e09e300.js","assets/index.b76c8ebe.js","assets/index.966d1893.js","assets/index.53cbb04c.css","assets/code-down-load.7b8e3080.js","assets/code-down-load.869d5188.css","assets/logo.bcac726b.js","assets/browser.8379baf6.js","assets/html2canvas.esm.3d083717.js","assets/live-item.bf79c28b.js","assets/live-item.3af230fe.css"]),meta:{title:"\u89C6\u9891\u8BFE"}},{path:"/videoClassDetail",name:"videoClassDetail",component:()=>o(()=>import("./video-class-detail.54f9549f.js"),["assets/video-class-detail.54f9549f.js","assets/video-class-detail.6b48da0f.css","assets/plyr.732cfe9c.css","assets/tcplayer.17d6720c.css","assets/ResizeObserver.es.f28023e0.js","assets/ResizeObserver.es.6e083b37.css","assets/index.46d36266.js","assets/index.e6e7e1cb.css","assets/index.3b2e70c8.js","assets/index.09cb4b8c.css","assets/index.7a1af785.js","assets/index.e07367fb.css","assets/index.af901340.js","assets/index.c1ee5538.css","assets/bars.4f1962a6.js","assets/icon_album_active.a67a159e.js","assets/icon_music_active.5a84cf57.js","assets/index.07a2a95f.js","assets/index.3f72abd0.css","assets/index.2a22730e.js","assets/index.935001ee.css","assets/index.bd375ca9.js","assets/index.62a411a4.css","assets/index.070305bf.js","assets/index.a962013f.css","assets/tcplayer.v4.8.0.min.97e1acba.js","assets/index.b0753b8c.js","assets/index.725eb6f5.css","assets/index.966d1893.js","assets/index.53cbb04c.css","assets/index.aa87c0e3.js","assets/index.9d82b1e3.css","assets/use-id.cc14bbe9.js","assets/use-tab-status.653933d8.js","assets/use-refs.b4f9d723.js","assets/index.975e8f79.js","assets/index.9aecfad8.css","assets/index.79f59946.js","assets/index.85a0c0a7.css","assets/icon_teacher.40b6f077.js","assets/orderStatus.00354bd8.js","assets/index.8c937010.js","assets/index.a4ca5d1f.css","assets/index.9a41251d.js"]),meta:{title:"\u89C6\u9891\u8BFE\u8BE6\u60C5"}},{path:"/liveDetail",name:"liveDetail",component:()=>o(()=>import("./live-detail.09767161.js"),["assets/live-detail.09767161.js","assets/live-detail.7fc5888a.css","assets/plyr.732cfe9c.css","assets/tcplayer.17d6720c.css","assets/ResizeObserver.es.f28023e0.js","assets/ResizeObserver.es.6e083b37.css","assets/index.b5a4aa90.js","assets/index.c4bfaf86.css","assets/index.070305bf.js","assets/index.a962013f.css","assets/tcplayer.v4.8.0.min.97e1acba.js","assets/index.07a2a95f.js","assets/index.3f72abd0.css","assets/index.3b2e70c8.js","assets/index.09cb4b8c.css","assets/index.2a22730e.js","assets/index.935001ee.css","assets/index.d9fd7ad5.js","assets/index.a3b5798b.css","assets/index.7a1af785.js","assets/index.e07367fb.css","assets/icon_teacher.40b6f077.js","assets/icon_timer2.5fb1750d.js","assets/icon-jiaozi.20e415ca.js","assets/orderStatus.00354bd8.js","assets/index.bd375ca9.js","assets/index.62a411a4.css","assets/index.8c937010.js","assets/index.a4ca5d1f.css","assets/index.9a41251d.js","assets/index.b76c8ebe.js","assets/index.966d1893.js","assets/index.53cbb04c.css","assets/code-down-load.7b8e3080.js","assets/code-down-load.869d5188.css","assets/logo.bcac726b.js","assets/browser.8379baf6.js","assets/html2canvas.esm.3d083717.js","assets/live-item.bf79c28b.js","assets/live-item.3af230fe.css","assets/icon-share.4e09e300.js"]),meta:{title:"\u76F4\u64AD\u8BFE\u8BE6\u60C5"}},{path:"/memberActive",name:"memberActive",component:()=>o(()=>import("./member-active.b4fd453e.js"),["assets/member-active.b4fd453e.js","assets/ResizeObserver.es.f28023e0.js","assets/ResizeObserver.es.6e083b37.css","assets/member-active.module.6c3bcaa4.js","assets/member-active.module.5f209809.css"]),meta:{title:"\u5C0F\u9177Ai\u4F1A\u5458\u5927\u653E\u4EF7"}},{path:"/memberActiveO",name:"memberActiveO",component:()=>o(()=>import("./member-active-o.bd241ed4.js"),["assets/member-active-o.bd241ed4.js","assets/ResizeObserver.es.f28023e0.js","assets/ResizeObserver.es.6e083b37.css","assets/member-active.module.6c3bcaa4.js","assets/member-active.module.5f209809.css","assets/index.8c937010.js","assets/index.a4ca5d1f.css","assets/index.9a41251d.js"]),meta:{title:"\u5143\u65E6\u72C2\u60F3\u66F2\u5C0F\u9177\u9001\u597D\u793C"}},{path:"/memberRecord",name:"memberRecord",component:()=>o(()=>import("./member-record.3df42a21.js"),["assets/member-record.3df42a21.js","assets/member-record.88b35423.css","assets/ResizeObserver.es.f28023e0.js","assets/ResizeObserver.es.6e083b37.css","assets/index.bd375ca9.js","assets/index.62a411a4.css","assets/index.3b2e70c8.js","assets/index.09cb4b8c.css","assets/index.2a22730e.js","assets/index.935001ee.css","assets/index.c6c54752.js","assets/index.2ba271cf.css","assets/index.f0f901ab.js","assets/index.4f250b7f.css","assets/index.7a1af785.js","assets/index.e07367fb.css","assets/index.79f59946.js","assets/index.85a0c0a7.css","assets/use-tab-status.653933d8.js","assets/index.eb1d9d01.js","assets/hooks.19957bf3.js","assets/index.ff961b8a.js","assets/utils.6e3cf8f8.js","assets/index.da2fb993.js"]),meta:{title:"\u7EC3\u4E60\u7EDF\u8BA1"}},{path:"/tradeRecord",name:"tradeRecord",component:()=>o(()=>import("./index.b467b84a.js"),["assets/index.b467b84a.js","assets/index.5226d72e.css","assets/ResizeObserver.es.f28023e0.js","assets/ResizeObserver.es.6e083b37.css","assets/index.b0753b8c.js","assets/index.725eb6f5.css","assets/index.966d1893.js","assets/index.53cbb04c.css","assets/index.aa87c0e3.js","assets/index.9d82b1e3.css","assets/use-id.cc14bbe9.js","assets/use-tab-status.653933d8.js","assets/use-refs.b4f9d723.js","assets/index.f1def79c.js","assets/index.9bdb045e.css","assets/index.3b2e70c8.js","assets/index.09cb4b8c.css","assets/index.2a22730e.js","assets/index.935001ee.css","assets/index.c6c54752.js","assets/index.2ba271cf.css","assets/index.79f59946.js","assets/index.85a0c0a7.css","assets/index.eb1d9d01.js","assets/tradeOrder.02449ce4.js","assets/orderStatus.00354bd8.js","assets/index.ff961b8a.js","assets/utils.6e3cf8f8.js","assets/index.da2fb993.js","assets/hooks.19957bf3.js","assets/index.bd375ca9.js","assets/index.62a411a4.css","assets/index.787d69a0.js","assets/index.f60d53fc.css","assets/index.9a41251d.js"]),meta:{title:"\u4EA4\u6613\u8BB0\u5F55"}},{path:"/teacherHome",name:"teacherHome",component:()=>o(()=>import("./teacher-home.89e258f6.js"),["assets/teacher-home.89e258f6.js","assets/teacher-home.4d2bfa83.css","assets/plyr.732cfe9c.css","assets/tcplayer.17d6720c.css","assets/teacher-header.module.efb16aa2.js","assets/teacher-header.module.44b29533.css","assets/ResizeObserver.es.f28023e0.js","assets/ResizeObserver.es.6e083b37.css","assets/index.bd375ca9.js","assets/index.62a411a4.css","assets/index.b0753b8c.js","assets/index.725eb6f5.css","assets/index.966d1893.js","assets/index.53cbb04c.css","assets/index.aa87c0e3.js","assets/index.9d82b1e3.css","assets/use-id.cc14bbe9.js","assets/use-tab-status.653933d8.js","assets/use-refs.b4f9d723.js","assets/index.07a2a95f.js","assets/index.3f72abd0.css","assets/index.3b2e70c8.js","assets/index.09cb4b8c.css","assets/index.2a22730e.js","assets/index.935001ee.css","assets/index.070305bf.js","assets/index.a962013f.css","assets/tcplayer.v4.8.0.min.97e1acba.js","assets/index.7a1af785.js","assets/index.e07367fb.css","assets/index.975e8f79.js","assets/index.9aecfad8.css","assets/icon_upload_poster.81da3a98.js","assets/index.6368a0f3.js","assets/index.e2a2294c.css","assets/index.c6c54752.js","assets/index.2ba271cf.css","assets/index.a7d88791.js","assets/index.e3b9d8b8.css","assets/utils.6e3cf8f8.js","assets/index.af901340.js","assets/index.c1ee5538.css","assets/index.f1def79c.js","assets/index.9bdb045e.css","assets/index.7e7497a9.js","assets/index.8158e111.css","assets/orderStatus.00354bd8.js","assets/tradeOrder.02449ce4.js","assets/index.eb1d9d01.js","assets/index.79f59946.js","assets/index.85a0c0a7.css","assets/video-item.a497b6e6.js","assets/video-item.31031f16.css","assets/index.7ce263ff.js","assets/index.819556ad.css","assets/index.8b5ee282.js","assets/index.9bccce42.css","assets/index.22776016.js","assets/index.08f5e5c6.css","assets/select-tag.89981fc2.js","assets/select-tag.755f8917.css","assets/index.9a41251d.js","assets/index.b5553db8.js","assets/index.2fc2f59a.css","assets/index.49ee134a.js","assets/index.2539762b.css","assets/index.926ca9c5.js","assets/index.3bbba552.js","assets/music.96a1c334.js","assets/select-subject.c9c8869a.js","assets/organ-search.133b8c72.css","assets/hooks.19957bf3.js","assets/index.9f739f31.js","assets/index.cdc0469c.css","assets/icon_uploader.5826c51d.js","assets/icon-xin.575e2987.js","assets/icon_album.eca1da54.js","assets/icon_album_active.a67a159e.js","assets/icon_exquisite.7cf228c5.js","assets/icon_music_active.5a84cf57.js","assets/icon-play.bc9e7aab.js","assets/index.787d69a0.js","assets/index.f60d53fc.css","assets/index.0874dacb.js","assets/index.7e4a2d88.css","assets/icon_teacher.40b6f077.js","assets/icon-jiaozi.20e415ca.js"]),meta:{title:"\u8001\u5E08\u4E3B\u9875"}},{path:"/teacherElegant",name:"teacherElegant",component:()=>o(()=>import("./teacher-elegant.7dfa6a2a.js"),["assets/teacher-elegant.7dfa6a2a.js","assets/teacher-elegant.d1ee700a.css","assets/ResizeObserver.es.f28023e0.js","assets/ResizeObserver.es.6e083b37.css","assets/index.bd375ca9.js","assets/index.62a411a4.css","assets/index.22776016.js","assets/index.08f5e5c6.css","assets/index.3b2e70c8.js","assets/index.09cb4b8c.css","assets/index.975e8f79.js","assets/index.9aecfad8.css","assets/use-id.cc14bbe9.js","assets/index.79f59946.js","assets/index.85a0c0a7.css","assets/use-tab-status.653933d8.js","assets/index.b0753b8c.js","assets/index.725eb6f5.css","assets/index.7a1af785.js","assets/index.e07367fb.css","assets/organ-search.f535c61b.js","assets/organ-search.133b8c72.css","assets/index.af901340.js","assets/index.c1ee5538.css","assets/icon_teacher.40b6f077.js","assets/icon_upload_poster.81da3a98.js","assets/bars.4f1962a6.js","assets/hooks.19957bf3.js"]),meta:{title:"\u8001\u5E08\u98CE\u91C7"}},{path:"/music-upload",component:()=>o(()=>import("./index.9e674088.js"),["assets/index.9e674088.js","assets/index.7d1d07fd.css","assets/ResizeObserver.es.f28023e0.js","assets/ResizeObserver.es.6e083b37.css","assets/index.3b2e70c8.js","assets/index.09cb4b8c.css","assets/index.975e8f79.js","assets/index.9aecfad8.css","assets/use-id.cc14bbe9.js","assets/index.af901340.js","assets/index.c1ee5538.css","assets/index.697873a0.js","assets/index.5cb54b78.css","assets/index.49ee134a.js","assets/index.2539762b.css","assets/index.2a22730e.js","assets/index.935001ee.css","assets/index.7a1af785.js","assets/index.e07367fb.css","assets/index.966d1893.js","assets/index.53cbb04c.css","assets/index.d188aaf8.js","assets/index.9db88570.css","assets/index.30354a10.js","assets/index.980c46c3.css","assets/oss-file-upload.8a97fc68.js","assets/toolsValidate.add49407.js","assets/index.bd375ca9.js","assets/index.62a411a4.css","assets/index.b5553db8.js","assets/index.2fc2f59a.css","assets/index.926ca9c5.js","assets/index.3bbba552.js","assets/index.e3d1e321.js"]),meta:{title:"\u4E0A\u4F20\u66F2\u8C31"}},{path:"/teacherFollow",component:()=>o(()=>import("./teacher-follow.5adea5c9.js"),["assets/teacher-follow.5adea5c9.js","assets/teacher-header.module.efb16aa2.js","assets/teacher-header.module.44b29533.css","assets/ResizeObserver.es.f28023e0.js","assets/ResizeObserver.es.6e083b37.css","assets/index.7a1af785.js","assets/index.e07367fb.css","assets/index.79f59946.js","assets/index.85a0c0a7.css","assets/use-tab-status.653933d8.js","assets/index.0874dacb.js","assets/index.7e4a2d88.css","assets/use-refs.b4f9d723.js","assets/index.b0753b8c.js","assets/index.725eb6f5.css","assets/icon_teacher.40b6f077.js","assets/index.22776016.js","assets/index.08f5e5c6.css","assets/index.3b2e70c8.js","assets/index.09cb4b8c.css","assets/index.975e8f79.js","assets/index.9aecfad8.css","assets/use-id.cc14bbe9.js","assets/icon-jiaozi.20e415ca.js","assets/index.bd375ca9.js","assets/index.62a411a4.css"]),meta:{title:"\u6211\u7684\u5173\u6CE8"}},{path:"/track-review-activity",component:()=>o(()=>import("./index.42aff944.js"),["assets/index.42aff944.js","assets/index.module.1e3f21b8.js","assets/index.module.bb134c44.css","assets/icon_level3.5bff162c.js","assets/ResizeObserver.es.f28023e0.js","assets/ResizeObserver.es.6e083b37.css","assets/index.8c937010.js","assets/index.a4ca5d1f.css","assets/index.9a41251d.js","assets/index.3b2e70c8.js","assets/index.09cb4b8c.css","assets/index.2a22730e.js","assets/index.935001ee.css","assets/index.7a1af785.js","assets/index.e07367fb.css","assets/logo.bcac726b.js","assets/share.630c329d.js","assets/music.96a1c334.js","assets/orderStatus.00354bd8.js","assets/index.eb1d9d01.js","assets/icon_teacher.40b6f077.js","assets/index.bd375ca9.js","assets/index.62a411a4.css"]),meta:{title:"\u66F2\u76EE\u8BC4\u6D4B\u6D3B\u52A8",isExternal:!0}},{path:"/track-song",component:()=>o(()=>import("./track-song.2ea17a49.js"),["assets/track-song.2ea17a49.js","assets/index.module.1e3f21b8.js","assets/index.module.bb134c44.css","assets/icon_level3.5bff162c.js","assets/ResizeObserver.es.f28023e0.js","assets/ResizeObserver.es.6e083b37.css","assets/index.bd375ca9.js","assets/index.62a411a4.css","assets/index.9a41251d.js","assets/index.3b2e70c8.js","assets/index.09cb4b8c.css","assets/index.2a22730e.js","assets/index.935001ee.css","assets/index.7a1af785.js","assets/index.e07367fb.css"]),meta:{title:"\u8BC4\u6D4B\u66F2\u76EE"}}]},{path:"/home-layout",component:lt,children:[{path:"/home-auth",name:"home-auth",component:()=>o(()=>import("./auth-login.628d1994.js"),["assets/auth-login.628d1994.js","assets/ResizeObserver.es.f28023e0.js","assets/ResizeObserver.es.6e083b37.css","assets/index.7a1af785.js","assets/index.e07367fb.css","assets/logo.bcac726b.js","assets/auth.49a08f5e.js","assets/auth.f09b6d78.css","assets/routes-common.15ed7208.js"]),meta:{title:"\u767B\u5F55\u9177\u4E50\u79C0"}},{path:"/home-layout-center",name:"home-layout-center",component:()=>o(()=>import("./home-layout-center.ac14baf2.js"),["assets/home-layout-center.ac14baf2.js","assets/ResizeObserver.es.f28023e0.js","assets/ResizeObserver.es.6e083b37.css","assets/auth.49a08f5e.js","assets/auth.f09b6d78.css","assets/routes-common.15ed7208.js"]),meta:{title:"\u767B\u5F55\u9177\u4E50\u79C0"}},{path:"/home-login",name:"home-login",component:()=>o(()=>import("./login.eb4a4384.js"),["assets/login.eb4a4384.js","assets/login.196c691a.css","assets/ResizeObserver.es.f28023e0.js","assets/ResizeObserver.es.6e083b37.css","assets/index.2a22730e.js","assets/index.935001ee.css","assets/index.3b2e70c8.js","assets/index.09cb4b8c.css","assets/index.975e8f79.js","assets/index.9aecfad8.css","assets/use-id.cc14bbe9.js","assets/index.5512cae9.js","assets/index.790dec85.css","assets/index.00276806.js","assets/index.ed0ac76f.css","assets/index.b27ef3b6.js","assets/index.bfb43d3b.css","assets/index.7a1af785.js","assets/index.e07367fb.css","assets/validate.ba62cd4c.js","assets/index.bd375ca9.js","assets/index.62a411a4.css","assets/auth.49a08f5e.js","assets/auth.f09b6d78.css","assets/routes-common.15ed7208.js"]),meta:{title:"\u767B\u5F55\u9177\u4E50\u79C0"}},{path:"/home",name:"home",component:()=>o(()=>import("./index.fe47a74c.js"),["assets/index.fe47a74c.js","assets/index.23bb1d2e.css","assets/ResizeObserver.es.f28023e0.js","assets/ResizeObserver.es.6e083b37.css","assets/index.7ea44a52.js","assets/index.ab41a591.css","assets/index.966d1893.js","assets/index.53cbb04c.css","assets/index.7a1af785.js","assets/index.e07367fb.css","assets/index.b0753b8c.js","assets/index.725eb6f5.css","assets/index.aa87c0e3.js","assets/index.9d82b1e3.css","assets/use-id.cc14bbe9.js","assets/use-tab-status.653933d8.js","assets/use-refs.b4f9d723.js","assets/icon-xin-active.3d0e362e.js","assets/index.3b2e70c8.js","assets/index.09cb4b8c.css","assets/index.b6ce06cf.js","assets/index.2a22730e.js","assets/index.935001ee.css","assets/index.79f59946.js","assets/index.85a0c0a7.css","assets/icon-play.bc9e7aab.js","assets/icon_exquisite.7cf228c5.js","assets/icon_album_active.a67a159e.js","assets/index.8c937010.js","assets/index.a4ca5d1f.css","assets/index.9a41251d.js","assets/auth.49a08f5e.js","assets/auth.f09b6d78.css","assets/routes-common.15ed7208.js"])}]},...ht,...W,{path:"/inviteTeacher",name:"inviteTeacher",component:()=>o(()=>import("./index.bc4be9af.js"),["assets/index.bc4be9af.js","assets/index.c5faf9ad.css","assets/ResizeObserver.es.f28023e0.js","assets/ResizeObserver.es.6e083b37.css","assets/index.2a22730e.js","assets/index.935001ee.css","assets/index.3b2e70c8.js","assets/index.09cb4b8c.css","assets/index.975e8f79.js","assets/index.9aecfad8.css","assets/use-id.cc14bbe9.js","assets/index.00276806.js","assets/index.ed0ac76f.css","assets/index.b5553db8.js","assets/index.2fc2f59a.css","assets/index.49ee134a.js","assets/index.2539762b.css","assets/validate.ba62cd4c.js","assets/icon_teacher.40b6f077.js","assets/icon_checkbox_default.2fe5d57e.js","assets/index.8ba4d452.js","assets/index.bd375ca9.js","assets/index.62a411a4.css","assets/index.b27ef3b6.js","assets/index.bfb43d3b.css","assets/index.7a1af785.js","assets/index.e07367fb.css","assets/index.637c893a.js","assets/index.42306580.css"]),meta:{title:"\u9080\u8BF7\u5B66\u5458"}},{path:"/inviteSuccess",name:"inviteSuccess",component:()=>o(()=>import("./index.4e1d2fee.js"),["assets/index.4e1d2fee.js","assets/index.4857380d.css","assets/ResizeObserver.es.f28023e0.js","assets/ResizeObserver.es.6e083b37.css","assets/wx_bg.2f1a3efe.js"]),meta:{title:"\u6CE8\u518C\u6210\u529F"}},{path:"/transfer",component:()=>o(()=>import("./transfer.296b0221.js"),["assets/transfer.296b0221.js","assets/index.module.8a406a30.js","assets/index.module.af5aaf55.css","assets/wx_bg.2f1a3efe.js","assets/ResizeObserver.es.f28023e0.js","assets/ResizeObserver.es.6e083b37.css"]),meta:{title:"\u9177\u4E50\u79C0\u5B66\u9662"}},{path:"/download",component:()=>o(()=>import("./download.afa2e2da.js"),["assets/download.afa2e2da.js","assets/index.module.8a406a30.js","assets/index.module.af5aaf55.css","assets/wx_bg.2f1a3efe.js","assets/ResizeObserver.es.f28023e0.js","assets/ResizeObserver.es.6e083b37.css"])},{path:"/:pathMatch(.*)*",component:()=>o(()=>import("./index.26d83a5c.js"),["assets/index.26d83a5c.js","assets/index.5361fbba.css","assets/ResizeObserver.es.f28023e0.js","assets/ResizeObserver.es.6e083b37.css","assets/index.7a1af785.js","assets/index.e07367fb.css","assets/index.bd375ca9.js","assets/index.62a411a4.css"]),meta:{title:"404 Not Fund",platform:"STUDENT"}}];const E=$({history:q(),routes:dt,scrollBehavior(){return{left:0,top:0}}});E.beforeEach((a,t,e)=>{const r=a.meta.title;document.title=r||"\u9177\u4E50\u79C0",e()});let T=!1;E.onError(a=>{if(a instanceof Error){const t=a.name.indexOf("chunk"),e=E.currentRoute.value.fullPath;t&&!T&&(T=!0,z.alert({title:"\u66F4\u65B0\u63D0\u793A",message:"APP\u6709\u66F4\u65B0\u8BF7\u70B9\u51FB\u786E\u5B9A\u5237\u65B0\u9875\u9762?",confirmButtonColor:"var(--van-primary)"}).then(()=>{s().isApp?_({api:"back"}):(location.hash=e,window.location.reload())}))}});window.ResizeObserver===void 0&&(window.ResizeObserver=H);const m=N(Q),Et=async()=>{n.sourcType="kt",await h({api:"getUserAccount"}).then(async a=>{const t=a.content;console.log(t,"orchestra");const{data:e}=await j.post("/api-auth/smsLogin",{requestType:"form",data:{clientId:"student",clientSecret:"student",phone:t.phone,isSurportRegister:!0,token:t.token.split(" ")[1]}}),{authentication:r}=e;D(r.token_type+" "+r.access_token)})},ft=async()=>{_({api:"setBarStatus",content:{status:0}}),_({api:"backIconChange",content:{backIconHide:!0}}),_({api:"getVersion"},u=>{n.version=u.content.version}),s().isOrchestraStudent&&(h({api:"getUserAccount"}).then(u=>{const i=u.content;n.orchestraInfo.token=i.token.split(" ")[1],n.orchestraInfo.phone=i.phone,n.orchestraInfo.nickname=i.nickname,n.orchestraInfo.avatar=i.avatar,n.orchestraInfo.unionId=i.unionId||0}),h({api:"getCache",content:{key:"h5-colexiu-token"}}).then(u=>{const i=u.content;i.value&&D(i.value)}));const a=g.parse(location.search),t=g.parse(location.hash.split("?")[1]),e=a.source||t.source||"",r=a.Authorization||t.Authorization||"";e==="kt"&&(r?n.sourcType="kt":await Et()),s().isTeacher?n.platformType="TEACHER":s().isStudent?n.platformType="STUDENT":n.platformType="STUDENT",n.platformType==="TEACHER"?n.platformApi="/api-teacher":n.platformApi="/api-student",A.locale("zh-ch"),m.config.globalProperties.$dayjs=A,m.config.globalProperties.$filters=U,m.use(E),m.mount("#app")};ft();export{gt as __vite_legacy_guard,d as a,pt as b,It as r,v as s};