System.register(["./index-legacy.5d6d69c8.js","./manage-center-legacy.e314e1e5.js","./index-legacy.39e1ca8a.js"],(function(t){"use strict";var e,n,a,o,s,c,p,i,u,r,l,d,y,g;return{setters:[function(t){e=t.d,n=t.ah,a=t.r,o=t.$,s=t.c,c=t.B,p=t.f,i=t.o},function(t){u=t.s,r=t.t,l=t.m,d=t.a,y=t.w},function(t){g=t.I}],execute:function(){t("default",e({name:"download",setup:function(){var t=n(),e=a({wxStatus:!1,type:"student",buttonText:"下载管乐团学员端"}),w=function(){if(p().weixin)e.wxStatus=!0;else{var t="",n="";location.origin.indexOf("online.lexiaoya.cn")>-1?"student"===e.type?(t="https://apps.apple.com/cn/app/%E7%AE%A1%E4%B9%90%E5%9B%A2/id1671474346?uo=4 ",n="https://appstore.ks3-cn-beijing.ksyuncs.com/gyt-student.apk"):"teacher"===e.type?(t="https://apps.apple.com/cn/app/%E7%AE%A1%E4%B9%90%E5%9B%A2%E4%BC%B4%E5%AD%A6%E7%AB%AF/id1670584741?uo=4",n="https://appstore.ks3-cn-beijing.ksyuncs.com/gyt-teacher.apk"):"manage"===e.type&&(t="https://apps.apple.com/cn/app/%E7%AE%A1%E4%B9%90%E5%9B%A2%E7%AE%A1%E7%90%86%E7%AB%AF/id1671473981?uo=4",n="https://appstore.ks3-cn-beijing.ksyuncs.com/gyt-manager.apk"):"student"===e.type?(t="https://www.pgyer.com/2Wg2",n="https://www.pgyer.com/9NBz"):"teacher"===e.type?(t="https://www.pgyer.com/v5yB",n="https://www.pgyer.com/BQeE"):"manage"===e.type&&(t="https://www.pgyer.com/DGrR",n="https://www.pgyer.com/TEWv"),p().ios||/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)?t&&(window.location.href=t):/(Android)/i.test(navigator.userAgent)?window.location.href=n:i("请用手机或移动设备打开")}};return o((function(){var n=t.query.type;e.type=n||"student","student"===n?e.buttonText="下载管乐团学员端":"teacher"===n?e.buttonText="下载管乐团伴学端":"manage"===n&&(e.buttonText="下载管乐团管理端"),document.title=e.buttonText})),function(){return s("div",{class:[d.downloadContainer]},["teacher"!==e.type&&"manage"!==e.type&&s(g,{src:u},null),"teacher"===e.type&&s(g,{src:r},null),"manage"===e.type&&s(g,{src:l},null),s("div",{class:d.buttonGroup},[s(c,{round:!0,size:"large",color:"#FF8057",class:d.btn,onClick:w},{default:function(){return[e.buttonText]}})]),e.wxStatus&&s("div",{class:d.wxpopup,onClick:function(){e.wxStatus=!1}},[s("img",{src:y,alt:""},null)])])}}}))}}}));
