import{d as I,_ as F,r as B,c as L,o as O,e as P,T as _,s as k,a as f,b as C,f as s,g as n,h as V,p as h,i as w,j as c,C as b,R as x,F as S,k as e,l as $,m as q,D as z,n as p,q as H,t as N,u as D,v as g,w as A,x as U,y as j}from"./ResizeObserver.es.db143ad6.js";import{A as M}from"./auth.5b364510.js";import{r as G,a as W}from"./routes-common.aa2ecc45.js";function gt(){import("data:text/javascript,")}const J=I({name:"App"});function K(a,t,o,u,r,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",ut="_logo_t671u_57",rt="_text_t671u_60",it="_phone_t671u_66",st="_btnGroup_t671u_73",ct="_btn_t671u_73",mt="_moreBtn_t671u_87";var _t={error:X,info:Y,login:Z,loginCenter:tt,userInfo:et,img:ot,name:at,tips:nt,logo:ut,text:rt,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),_.loading({message:"\u52A0\u8F7D\u4E2D...",forbidClick:!0,loadingType:"spinner",duration:0})),R=t.initRequest||!1;const o=sessionStorage.getItem("Authorization")||"",u={};return o&&!["/api-auth/usernameLogin","/api-auth/smsLogin","/api-auth/code/sendSms"].includes(a)&&(u.Authorization=o),{url:a,options:{...t,params:k(t.params),headers:{...t.headers,...u}}}},{global:!1});d.interceptors.response.use(async a=>{if(l=setTimeout(()=>{_.clear()},100),a.status>299||a.status<200){clearTimeout(l);const o="\u670D\u52A1\u5668\u9519\u8BEF\uFF0C\u72B6\u6001\u7801"+a.status;throw _(o),new Error(o)}const t=await a.clone().json();if(t.code!==200&&t.errCode!==0){let o=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),_(o)),s(),t.code===403&&(o+="403",f(),window.location.href=window.location.origin+window.location.pathname+"#/home-layout-center"),new Error(o)}return a},{global:!1});const pt=s();var lt=I({name:"Auth-loayout",data(){return{loading:!1}},computed:{isExternal(){return this.$route.meta.isExternal&&!pt.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||V()},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 u=await d.post("/api-auth/smsLogin",{requestType:"form",data:{clientId:"student",clientSecret:"student",phone:n.orchestraInfo.phone,token:n.orchestraInfo.token,isSurportRegister:!0}}),{authentication:r}=u.data;v(r.token_type+" "+r.access_token),h({api:"setCache",content:{key:"h5-colexiu-token",value:r.token_type+" "+r.access_token}})}const o=await d.get("/api-student/student/queryUserInfo",{initRequest:!0,requestType:"form"});w(o.data)}catch(o){const u=o.message;u.indexOf("5000")===-1&&u.indexOf("authentication")===-1?C():f()}this.loading=!1}if(n.user.status==="logout")try{const o=this.$route,u={returnUrl:this.$route.path,...this.$route.query};o.meta.isRegister&&(u.isRegister=o.meta.isRegister),this.$router.replace({path:"/home-auth",query:u})}catch{}}}},render(){return c(S,null,[n.user.status==="error"?c("div",{class:_t.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:()=>e(()=>import("./index.99840d29.js"),["assets/index.99840d29.js","assets/index.90ec5e63.css","assets/ResizeObserver.es.db143ad6.js","assets/ResizeObserver.es.a84186f5.css","assets/index.6ff00017.js","assets/index.09cb4b8c.css","assets/icon_discount.535f7618.js","assets/icon_teacher.40b6f077.js"]),meta:{title:"\u5206\u4EAB\u4E50\u66F2"}},{path:"/leaderboard",component:()=>e(()=>import("./index.ede90c23.js"),["assets/index.ede90c23.js","assets/index.237b8a87.css","assets/ResizeObserver.es.db143ad6.js","assets/ResizeObserver.es.a84186f5.css","assets/index.6ff00017.js","assets/index.09cb4b8c.css","assets/index.81e4e15f.js","assets/index.e07367fb.css","assets/index.a10ca8bf.js","assets/index.725eb6f5.css","assets/index.52be5cd3.js","assets/index.53cbb04c.css","assets/index.ec3ab8b3.js","assets/index.9d82b1e3.css","assets/use-id.a4dd6090.js","assets/use-tab-status.56f59e7e.js","assets/use-refs.a80ba375.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:()=>e(()=>import("./login.fc1cf1ae.js"),["assets/login.fc1cf1ae.js","assets/login.45bf09f9.css","assets/ResizeObserver.es.db143ad6.js","assets/ResizeObserver.es.a84186f5.css","assets/index.fc21cbcc.js","assets/index.935001ee.css","assets/index.6ff00017.js","assets/index.09cb4b8c.css","assets/index.b0e22bff.js","assets/index.9aecfad8.css","assets/use-id.a4dd6090.js","assets/index.45ad81cc.js","assets/index.790dec85.css","assets/index.987417fb.js","assets/index.ed0ac76f.css","assets/index.a41e909a.js","assets/index.bfb43d3b.css","assets/index.81e4e15f.js","assets/index.e07367fb.css","assets/validate.ba62cd4c.js"]),meta:{isRegister:!1}},{path:"/practiceClass",name:"practiceClass",component:()=>e(()=>import("./index.f2e3f66b.js"),["assets/index.f2e3f66b.js","assets/index.21f3b182.css","assets/ResizeObserver.es.db143ad6.js","assets/ResizeObserver.es.a84186f5.css","assets/index.be402c78.js","assets/index.62a411a4.css","assets/index.a10ca8bf.js","assets/index.725eb6f5.css","assets/index.3f518e3a.js","assets/index.85a0c0a7.css","assets/use-tab-status.56f59e7e.js","assets/index.f13ced4c.js","assets/index.9bdb045e.css","assets/index.b7bbf636.js","assets/index.b3e1523a.css","assets/index.6ff00017.js","assets/index.09cb4b8c.css","assets/index.b0e22bff.js","assets/index.9aecfad8.css","assets/use-id.a4dd6090.js","assets/index.81e4e15f.js","assets/index.e07367fb.css","assets/index.c46dfef8.js","assets/index.7e4a2d88.css","assets/use-refs.a80ba375.js","assets/icon_teacher.40b6f077.js","assets/organ-search.114e96d7.js","assets/organ-search.133b8c72.css","assets/index.162b956d.js","assets/index.c1ee5538.css"]),meta:{title:"\u8DA3\u7EA0\u8BFE"}},{path:"/videoDetail",name:"videoDetail",component:()=>e(()=>import("./video-detail.5d2addc2.js"),["assets/video-detail.5d2addc2.js","assets/video-detail.f773086f.css","assets/ResizeObserver.es.db143ad6.js","assets/ResizeObserver.es.a84186f5.css","assets/index.5dbd3a6f.js","assets/index.d28e4cfd.css","assets/index.6ff00017.js","assets/index.09cb4b8c.css","assets/index.81e4e15f.js","assets/index.e07367fb.css","assets/index.162b956d.js","assets/index.c1ee5538.css","assets/bars.4f1962a6.js","assets/icon_album_active.25be6148.js","assets/icon_music_active.a468d335.js","assets/index.d4d66359.js","assets/index.3f72abd0.css","assets/index.fc21cbcc.js","assets/index.935001ee.css","assets/index.b4ccef1e.js","assets/index.a3b5798b.css","assets/icon_teacher.40b6f077.js","assets/icon_timer2.5fb1750d.js","assets/index.be402c78.js","assets/index.62a411a4.css","assets/orderStatus.eb2fae52.js","assets/tradeOrder.997df90a.js","assets/index.c9f3517c.js","assets/index.a4ca5d1f.css","assets/index.c0c32840.js","assets/icon-share.4e09e300.js","assets/index.ed9d7338.js","assets/index.52be5cd3.js","assets/index.53cbb04c.css","assets/code-down-load.722de083.js","assets/code-down-load.37bada6b.css","assets/logo.bcac726b.js","assets/browser.1f070884.js","assets/html2canvas.esm.3d083717.js","assets/live-item.abf830df.js","assets/live-item.3af230fe.css"]),meta:{title:"\u89C6\u9891\u8BFE"}},{path:"/videoClassDetail",name:"videoClassDetail",component:()=>e(()=>import("./video-class-detail.c2229f83.js"),["assets/video-class-detail.c2229f83.js","assets/video-class-detail.6b48da0f.css","assets/plyr.732cfe9c.css","assets/ResizeObserver.es.db143ad6.js","assets/ResizeObserver.es.a84186f5.css","assets/index.5dbd3a6f.js","assets/index.d28e4cfd.css","assets/index.6ff00017.js","assets/index.09cb4b8c.css","assets/index.81e4e15f.js","assets/index.e07367fb.css","assets/index.162b956d.js","assets/index.c1ee5538.css","assets/bars.4f1962a6.js","assets/icon_album_active.25be6148.js","assets/icon_music_active.a468d335.js","assets/index.d4d66359.js","assets/index.3f72abd0.css","assets/index.fc21cbcc.js","assets/index.935001ee.css","assets/index.be402c78.js","assets/index.62a411a4.css","assets/index.72e5456b.js","assets/index.3a30c3e5.css","assets/tcplayer.v4.8.0.min.bfda8216.js","assets/index.a10ca8bf.js","assets/index.725eb6f5.css","assets/index.52be5cd3.js","assets/index.53cbb04c.css","assets/index.ec3ab8b3.js","assets/index.9d82b1e3.css","assets/use-id.a4dd6090.js","assets/use-tab-status.56f59e7e.js","assets/use-refs.a80ba375.js","assets/index.b0e22bff.js","assets/index.9aecfad8.css","assets/index.3f518e3a.js","assets/index.85a0c0a7.css","assets/icon_teacher.40b6f077.js","assets/orderStatus.eb2fae52.js","assets/index.c9f3517c.js","assets/index.a4ca5d1f.css","assets/index.c0c32840.js"]),meta:{title:"\u89C6\u9891\u8BFE\u8BE6\u60C5"}},{path:"/liveDetail",name:"liveDetail",component:()=>e(()=>import("./live-detail.438e9f0e.js"),["assets/live-detail.438e9f0e.js","assets/live-detail.7fc5888a.css","assets/plyr.732cfe9c.css","assets/ResizeObserver.es.db143ad6.js","assets/ResizeObserver.es.a84186f5.css","assets/index.eaa5fb90.js","assets/index.c4bfaf86.css","assets/index.72e5456b.js","assets/index.3a30c3e5.css","assets/tcplayer.v4.8.0.min.bfda8216.js","assets/index.d4d66359.js","assets/index.3f72abd0.css","assets/index.6ff00017.js","assets/index.09cb4b8c.css","assets/index.fc21cbcc.js","assets/index.935001ee.css","assets/index.b4ccef1e.js","assets/index.a3b5798b.css","assets/index.81e4e15f.js","assets/index.e07367fb.css","assets/icon_teacher.40b6f077.js","assets/icon_timer2.5fb1750d.js","assets/orderStatus.eb2fae52.js","assets/index.be402c78.js","assets/index.62a411a4.css","assets/index.c9f3517c.js","assets/index.a4ca5d1f.css","assets/index.c0c32840.js","assets/index.ed9d7338.js","assets/index.52be5cd3.js","assets/index.53cbb04c.css","assets/code-down-load.722de083.js","assets/code-down-load.37bada6b.css","assets/logo.bcac726b.js","assets/browser.1f070884.js","assets/html2canvas.esm.3d083717.js","assets/live-item.abf830df.js","assets/live-item.3af230fe.css","assets/icon-share.4e09e300.js","assets/tradeOrder.997df90a.js"]),meta:{title:"\u76F4\u64AD\u8BFE\u8BE6\u60C5"}},{path:"/memberActive",name:"memberActive",component:()=>e(()=>import("./member-active.6746cb81.js"),["assets/member-active.6746cb81.js","assets/ResizeObserver.es.db143ad6.js","assets/ResizeObserver.es.a84186f5.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:()=>e(()=>import("./member-active-o.9ff08c91.js"),["assets/member-active-o.9ff08c91.js","assets/ResizeObserver.es.db143ad6.js","assets/ResizeObserver.es.a84186f5.css","assets/member-active.module.6c3bcaa4.js","assets/member-active.module.5f209809.css","assets/index.c9f3517c.js","assets/index.a4ca5d1f.css","assets/index.c0c32840.js"]),meta:{title:"\u5143\u65E6\u72C2\u60F3\u66F2\u5C0F\u9177\u9001\u597D\u793C"}},{path:"/memberRecord",name:"memberRecord",component:()=>e(()=>import("./member-record.272c9bf8.js"),["assets/member-record.272c9bf8.js","assets/member-record.88b35423.css","assets/ResizeObserver.es.db143ad6.js","assets/ResizeObserver.es.a84186f5.css","assets/index.be402c78.js","assets/index.62a411a4.css","assets/index.6ff00017.js","assets/index.09cb4b8c.css","assets/index.fc21cbcc.js","assets/index.935001ee.css","assets/index.474b75aa.js","assets/index.2ba271cf.css","assets/index.9c9f82f6.js","assets/index.4f250b7f.css","assets/index.81e4e15f.js","assets/index.e07367fb.css","assets/index.3f518e3a.js","assets/index.85a0c0a7.css","assets/use-tab-status.56f59e7e.js","assets/index.07111672.js","assets/hooks.373e2f9f.js","assets/index.c2c2aa5f.js","assets/utils.e5a509f9.js","assets/index.e34e3471.js"]),meta:{title:"\u7EC3\u4E60\u7EDF\u8BA1"}},{path:"/tradeRecord",name:"tradeRecord",component:()=>e(()=>import("./index.7192f0f8.js"),["assets/index.7192f0f8.js","assets/index.5226d72e.css","assets/ResizeObserver.es.db143ad6.js","assets/ResizeObserver.es.a84186f5.css","assets/index.a10ca8bf.js","assets/index.725eb6f5.css","assets/index.52be5cd3.js","assets/index.53cbb04c.css","assets/index.ec3ab8b3.js","assets/index.9d82b1e3.css","assets/use-id.a4dd6090.js","assets/use-tab-status.56f59e7e.js","assets/use-refs.a80ba375.js","assets/index.f13ced4c.js","assets/index.9bdb045e.css","assets/index.6ff00017.js","assets/index.09cb4b8c.css","assets/index.fc21cbcc.js","assets/index.935001ee.css","assets/index.474b75aa.js","assets/index.2ba271cf.css","assets/index.3f518e3a.js","assets/index.85a0c0a7.css","assets/index.07111672.js","assets/tradeOrder.997df90a.js","assets/orderStatus.eb2fae52.js","assets/index.c2c2aa5f.js","assets/utils.e5a509f9.js","assets/index.e34e3471.js","assets/hooks.373e2f9f.js","assets/index.be402c78.js","assets/index.62a411a4.css","assets/index.68deb52f.js","assets/index.f60d53fc.css","assets/index.c0c32840.js"]),meta:{title:"\u4EA4\u6613\u8BB0\u5F55"}},{path:"/teacherHome",name:"teacherHome",component:()=>e(()=>import("./teacher-home.12bcb971.js"),["assets/teacher-home.12bcb971.js","assets/teacher-home.8e4dece6.css","assets/vip_default.ded3438c.js","assets/icon_video.60a71a50.js","assets/ResizeObserver.es.db143ad6.js","assets/ResizeObserver.es.a84186f5.css","assets/index.be402c78.js","assets/index.62a411a4.css","assets/index.a10ca8bf.js","assets/index.725eb6f5.css","assets/index.52be5cd3.js","assets/index.53cbb04c.css","assets/index.ec3ab8b3.js","assets/index.9d82b1e3.css","assets/use-id.a4dd6090.js","assets/use-tab-status.56f59e7e.js","assets/use-refs.a80ba375.js","assets/index.b95a2596.js","assets/index.e2a2294c.css","assets/index.474b75aa.js","assets/index.2ba271cf.css","assets/index.d179ab99.js","assets/index.e3b9d8b8.css","assets/utils.e5a509f9.js","assets/index.81e4e15f.js","assets/index.e07367fb.css","assets/index.162b956d.js","assets/index.c1ee5538.css","assets/index.f13ced4c.js","assets/index.9bdb045e.css","assets/index.6ff00017.js","assets/index.09cb4b8c.css","assets/index.fc21cbcc.js","assets/index.935001ee.css","assets/index.35ea2596.js","assets/index.8158e111.css","assets/orderStatus.eb2fae52.js","assets/tradeOrder.997df90a.js","assets/index.3f518e3a.js","assets/index.85a0c0a7.css","assets/index.c0c32840.js","assets/index.c46dfef8.js","assets/index.7e4a2d88.css","assets/icon_teacher.40b6f077.js","assets/hooks.373e2f9f.js","assets/index.b0e22bff.js","assets/index.9aecfad8.css","assets/index.f93a2105.js","assets/index.a789e82c.css","assets/index.4347ec36.js","assets/index.9bccce42.css","assets/index.b7bbf636.js","assets/index.b3e1523a.css","assets/select-tag.c5dc41ff.js","assets/select-tag.755f8917.css","assets/index.d2a1fb23.js","assets/index.2fc2f59a.css","assets/index.16e380c0.js","assets/index.2539762b.css","assets/index.926ca9c5.js","assets/index.b0c7a0dc.js","assets/music.ae4cda5c.js","assets/select-subject.26a3f196.js","assets/organ-search.133b8c72.css","assets/index.fff9ae39.js","assets/index.cdc0469c.css","assets/icon_uploader.93248775.js","assets/icon-xin.a59bfaf1.js","assets/icon_album.9592f49b.js","assets/icon_album_active.25be6148.js","assets/icon_exquisite.858d352b.js","assets/icon_music_active.a468d335.js","assets/icon-play.bc9e7aab.js","assets/index.68deb52f.js","assets/index.f60d53fc.css"]),meta:{title:"\u8001\u5E08\u4E3B\u9875"}},{path:"/teacherElegant",name:"teacherElegant",component:()=>e(()=>import("./teacher-elegant.e705515a.js"),["assets/teacher-elegant.e705515a.js","assets/teacher-elegant.6d39d0bb.css","assets/ResizeObserver.es.db143ad6.js","assets/ResizeObserver.es.a84186f5.css","assets/index.be402c78.js","assets/index.62a411a4.css","assets/index.b7bbf636.js","assets/index.b3e1523a.css","assets/index.6ff00017.js","assets/index.09cb4b8c.css","assets/index.b0e22bff.js","assets/index.9aecfad8.css","assets/use-id.a4dd6090.js","assets/index.3f518e3a.js","assets/index.85a0c0a7.css","assets/use-tab-status.56f59e7e.js","assets/index.a10ca8bf.js","assets/index.725eb6f5.css","assets/index.81e4e15f.js","assets/index.e07367fb.css","assets/organ-search.114e96d7.js","assets/organ-search.133b8c72.css","assets/index.162b956d.js","assets/index.c1ee5538.css","assets/icon_teacher.40b6f077.js","assets/icon_upload_poster.81da3a98.js","assets/bars.4f1962a6.js","assets/hooks.373e2f9f.js"]),meta:{title:"\u8001\u5E08\u98CE\u91C7"}},{path:"/teacher-style",name:"teacher-style",component:()=>e(()=>import("./index.df1002ce.js"),["assets/index.df1002ce.js","assets/index.8c028066.css","assets/plyr.732cfe9c.css","assets/ResizeObserver.es.db143ad6.js","assets/ResizeObserver.es.a84186f5.css","assets/index.be402c78.js","assets/index.62a411a4.css","assets/index.81e4e15f.js","assets/index.e07367fb.css","assets/icon_teacher.40b6f077.js","assets/icon_upload_poster.81da3a98.js","assets/index.68deb52f.js","assets/index.f60d53fc.css","assets/index.c0c32840.js","assets/icon_video.60a71a50.js","assets/index.72e5456b.js","assets/index.3a30c3e5.css","assets/tcplayer.v4.8.0.min.bfda8216.js"]),meta:{title:"\u4E2A\u4EBA\u98CE\u91C7"}},{path:"/music-upload",component:()=>e(()=>import("./index.cd5396f6.js"),["assets/index.cd5396f6.js","assets/index.a648bae7.css","assets/ResizeObserver.es.db143ad6.js","assets/ResizeObserver.es.a84186f5.css","assets/index.6ff00017.js","assets/index.09cb4b8c.css","assets/index.b0e22bff.js","assets/index.9aecfad8.css","assets/use-id.a4dd6090.js","assets/index.162b956d.js","assets/index.c1ee5538.css","assets/index.85a898a8.js","assets/index.5cb54b78.css","assets/index.16e380c0.js","assets/index.2539762b.css","assets/index.fc21cbcc.js","assets/index.935001ee.css","assets/index.81e4e15f.js","assets/index.e07367fb.css","assets/index.52be5cd3.js","assets/index.53cbb04c.css","assets/index.3bfa0e2e.js","assets/index.9db88570.css","assets/index.eb0d5fee.js","assets/index.a3b0db98.css","assets/toolsValidate.add49407.js","assets/index.be402c78.js","assets/index.62a411a4.css","assets/index.d2a1fb23.js","assets/index.2fc2f59a.css","assets/index.926ca9c5.js","assets/index.b0c7a0dc.js","assets/index.7ea120e2.js","assets/index.ba6c5ff6.css","assets/plyr.min.0a479001.js","assets/index.053a3478.js"]),meta:{title:"\u4E0A\u4F20\u66F2\u8C31"}},{path:"/teacherFollow",component:()=>e(()=>import("./teacher-follow.e9a50582.js"),["assets/teacher-follow.e9a50582.js","assets/teacher-follow.7ae1e062.css","assets/vip_default.ded3438c.js","assets/icon_video.60a71a50.js","assets/ResizeObserver.es.db143ad6.js","assets/ResizeObserver.es.a84186f5.css","assets/index.81e4e15f.js","assets/index.e07367fb.css","assets/index.3f518e3a.js","assets/index.85a0c0a7.css","assets/use-tab-status.56f59e7e.js","assets/index.c46dfef8.js","assets/index.7e4a2d88.css","assets/use-refs.a80ba375.js","assets/icon_teacher.40b6f077.js","assets/index.b7bbf636.js","assets/index.b3e1523a.css","assets/index.6ff00017.js","assets/index.09cb4b8c.css","assets/index.b0e22bff.js","assets/index.9aecfad8.css","assets/use-id.a4dd6090.js","assets/index.be402c78.js","assets/index.62a411a4.css","assets/index.68deb52f.js","assets/index.f60d53fc.css","assets/index.c0c32840.js"]),meta:{title:"\u6211\u7684\u5173\u6CE8"}},{path:"/track-review-activity",component:()=>e(()=>import("./index.032bb622.js"),["assets/index.032bb622.js","assets/index.module.1e3f21b8.js","assets/index.module.bb134c44.css","assets/icon_level3.5bff162c.js","assets/ResizeObserver.es.db143ad6.js","assets/ResizeObserver.es.a84186f5.css","assets/index.c9f3517c.js","assets/index.a4ca5d1f.css","assets/index.c0c32840.js","assets/index.6ff00017.js","assets/index.09cb4b8c.css","assets/index.fc21cbcc.js","assets/index.935001ee.css","assets/index.81e4e15f.js","assets/index.e07367fb.css","assets/logo.bcac726b.js","assets/share.66a73423.js","assets/music.ae4cda5c.js","assets/orderStatus.eb2fae52.js","assets/index.07111672.js","assets/icon_teacher.40b6f077.js","assets/index.be402c78.js","assets/index.62a411a4.css"]),meta:{title:"\u66F2\u76EE\u8BC4\u6D4B\u6D3B\u52A8",isExternal:!0}},{path:"/track-song",component:()=>e(()=>import("./track-song.6e2ab62b.js"),["assets/track-song.6e2ab62b.js","assets/index.module.1e3f21b8.js","assets/index.module.bb134c44.css","assets/icon_level3.5bff162c.js","assets/ResizeObserver.es.db143ad6.js","assets/ResizeObserver.es.a84186f5.css","assets/index.be402c78.js","assets/index.62a411a4.css","assets/index.c0c32840.js","assets/index.6ff00017.js","assets/index.09cb4b8c.css","assets/index.fc21cbcc.js","assets/index.935001ee.css","assets/index.81e4e15f.js","assets/index.e07367fb.css"]),meta:{title:"\u8BC4\u6D4B\u66F2\u76EE"}},{path:"/discount-card",component:()=>e(()=>import("./index.2857466d.js"),["assets/index.2857466d.js","assets/index.f14a5774.css","assets/ResizeObserver.es.db143ad6.js","assets/ResizeObserver.es.a84186f5.css","assets/index.be402c78.js","assets/index.62a411a4.css","assets/icon_student.c3c58354.js","assets/index.81e4e15f.js","assets/index.e07367fb.css","assets/index.68deb52f.js","assets/index.f60d53fc.css","assets/index.c0c32840.js","assets/tradeOrder.997df90a.js","assets/orderStatus.eb2fae52.js"]),meta:{title:"\u7545\u5B66\u5361"}},{path:"/double12Active",component:()=>e(()=>import("./index.2499d734.js"),["assets/index.2499d734.js","assets/index.1d40158d.css","assets/ResizeObserver.es.db143ad6.js","assets/ResizeObserver.es.a84186f5.css","assets/index.be402c78.js","assets/index.62a411a4.css","assets/tradeOrder.997df90a.js","assets/orderStatus.eb2fae52.js","assets/index.07111672.js"]),meta:{title:"\u53CC\u5341\u4E8C\u9650\u65F6\u7279\u60E0"}}]},{path:"/home-layout",component:lt,children:[{path:"/home-auth",name:"home-auth",component:()=>e(()=>import("./auth-login.0724c8cb.js"),["assets/auth-login.0724c8cb.js","assets/ResizeObserver.es.db143ad6.js","assets/ResizeObserver.es.a84186f5.css","assets/index.81e4e15f.js","assets/index.e07367fb.css","assets/logo.bcac726b.js","assets/auth.5b364510.js","assets/auth.f09b6d78.css","assets/routes-common.aa2ecc45.js"]),meta:{title:"\u767B\u5F55\u9177\u4E50\u79C0"}},{path:"/home-layout-center",name:"home-layout-center",component:()=>e(()=>import("./home-layout-center.96fc7067.js"),["assets/home-layout-center.96fc7067.js","assets/ResizeObserver.es.db143ad6.js","assets/ResizeObserver.es.a84186f5.css","assets/auth.5b364510.js","assets/auth.f09b6d78.css","assets/routes-common.aa2ecc45.js"]),meta:{title:"\u767B\u5F55\u9177\u4E50\u79C0"}},{path:"/home-login",name:"home-login",component:()=>e(()=>import("./login.d8bb8cd7.js"),["assets/login.d8bb8cd7.js","assets/login.196c691a.css","assets/ResizeObserver.es.db143ad6.js","assets/ResizeObserver.es.a84186f5.css","assets/index.fc21cbcc.js","assets/index.935001ee.css","assets/index.6ff00017.js","assets/index.09cb4b8c.css","assets/index.b0e22bff.js","assets/index.9aecfad8.css","assets/use-id.a4dd6090.js","assets/index.45ad81cc.js","assets/index.790dec85.css","assets/index.987417fb.js","assets/index.ed0ac76f.css","assets/index.a41e909a.js","assets/index.bfb43d3b.css","assets/index.81e4e15f.js","assets/index.e07367fb.css","assets/validate.ba62cd4c.js","assets/index.be402c78.js","assets/index.62a411a4.css","assets/auth.5b364510.js","assets/auth.f09b6d78.css","assets/routes-common.aa2ecc45.js"]),meta:{title:"\u767B\u5F55\u9177\u4E50\u79C0"}},{path:"/home",name:"home",component:()=>e(()=>import("./index.86037576.js"),["assets/index.86037576.js","assets/index.23bb1d2e.css","assets/ResizeObserver.es.db143ad6.js","assets/ResizeObserver.es.a84186f5.css","assets/index.8aa30dee.js","assets/index.ab41a591.css","assets/index.52be5cd3.js","assets/index.53cbb04c.css","assets/index.81e4e15f.js","assets/index.e07367fb.css","assets/index.a10ca8bf.js","assets/index.725eb6f5.css","assets/index.ec3ab8b3.js","assets/index.9d82b1e3.css","assets/use-id.a4dd6090.js","assets/use-tab-status.56f59e7e.js","assets/use-refs.a80ba375.js","assets/icon-xin-active.3d0e362e.js","assets/index.6ff00017.js","assets/index.09cb4b8c.css","assets/index.b6ce06cf.js","assets/index.fc21cbcc.js","assets/index.935001ee.css","assets/index.3f518e3a.js","assets/index.85a0c0a7.css","assets/icon-play.bc9e7aab.js","assets/icon_exquisite.858d352b.js","assets/icon_album_active.25be6148.js","assets/index.c9f3517c.js","assets/index.a4ca5d1f.css","assets/index.c0c32840.js","assets/auth.5b364510.js","assets/auth.f09b6d78.css","assets/routes-common.aa2ecc45.js"])}]},...ht,...W,{path:"/inviteTeacher",name:"inviteTeacher",component:()=>e(()=>import("./index.d27c78ae.js"),["assets/index.d27c78ae.js","assets/index.c5faf9ad.css","assets/ResizeObserver.es.db143ad6.js","assets/ResizeObserver.es.a84186f5.css","assets/index.fc21cbcc.js","assets/index.935001ee.css","assets/index.6ff00017.js","assets/index.09cb4b8c.css","assets/index.b0e22bff.js","assets/index.9aecfad8.css","assets/use-id.a4dd6090.js","assets/index.987417fb.js","assets/index.ed0ac76f.css","assets/index.d2a1fb23.js","assets/index.2fc2f59a.css","assets/index.16e380c0.js","assets/index.2539762b.css","assets/validate.ba62cd4c.js","assets/icon_teacher.40b6f077.js","assets/icon_checkbox.808b953c.js","assets/icon_checkbox_default.256c0849.js","assets/index.6108aad9.js","assets/index.be402c78.js","assets/index.62a411a4.css","assets/index.a41e909a.js","assets/index.bfb43d3b.css","assets/index.81e4e15f.js","assets/index.e07367fb.css","assets/index.b99265a8.js","assets/index.42306580.css"]),meta:{title:"\u9080\u8BF7\u5B66\u5458"}},{path:"/inviteSuccess",name:"inviteSuccess",component:()=>e(()=>import("./index.47a05363.js"),["assets/index.47a05363.js","assets/index.4857380d.css","assets/ResizeObserver.es.db143ad6.js","assets/ResizeObserver.es.a84186f5.css","assets/wx_bg.2f1a3efe.js"]),meta:{title:"\u6CE8\u518C\u6210\u529F"}},{path:"/transfer",component:()=>e(()=>import("./transfer.9e96e80f.js"),["assets/transfer.9e96e80f.js","assets/index.module.7399db5c.js","assets/index.module.74660575.css","assets/wx_bg.2f1a3efe.js","assets/ResizeObserver.es.db143ad6.js","assets/ResizeObserver.es.a84186f5.css"]),meta:{title:"\u9177\u4E50\u79C0\u5B66\u9662"}},{path:"/download",component:()=>e(()=>import("./download.775b6ddc.js"),["assets/download.775b6ddc.js","assets/index.module.7399db5c.js","assets/index.module.74660575.css","assets/wx_bg.2f1a3efe.js","assets/ResizeObserver.es.db143ad6.js","assets/ResizeObserver.es.a84186f5.css"])},{path:"/:pathMatch(.*)*",component:()=>e(()=>import("./index.1bcfd991.js"),["assets/index.1bcfd991.js","assets/index.5361fbba.css","assets/ResizeObserver.es.db143ad6.js","assets/ResizeObserver.es.a84186f5.css","assets/index.81e4e15f.js","assets/index.e07367fb.css","assets/index.be402c78.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,o)=>{const u=a.meta.title;document.title=u||"\u9177\u4E50\u79C0",o()});let T=!1;E.onError(a=>{if(a instanceof Error){const t=a.name.indexOf("chunk"),o=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?p({api:"back"}):(location.hash=o,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:o}=await j.post("/api-auth/smsLogin",{requestType:"form",data:{clientId:"student",clientSecret:"student",phone:t.phone,isSurportRegister:!0,token:t.token.split(" ")[1]}}),{authentication:u}=o;D(u.token_type+" "+u.access_token)})},ft=async()=>{p({api:"setBarStatus",content:{status:0}}),p({api:"backIconChange",content:{backIconHide:!0}}),p({api:"getVersion"},r=>{n.version=r.content.version}),s().isOrchestraStudent&&(h({api:"getUserAccount"}).then(r=>{const i=r.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(r=>{const i=r.content;i.value&&D(i.value)}));const a=g.parse(location.search),t=g.parse(location.hash.split("?")[1]),o=a.source||t.source||"",u=a.Authorization||t.Authorization||"";o==="kt"&&(u?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,_t as b,It as r,v as s};