!function(){function t(t,e,n,i,r,s,o){try{var a=t[s](o),c=a.value}catch(u){return void n(u)}a.done?e(c):Promise.resolve(c).then(i,r)}var e=document.createElement("style");e.innerHTML="._inviteSuccess_1k1g9_1{min-height:100vh;background-color:#fff;text-align:center}._inviteSuccess_1k1g9_1 img{padding-top:2.66667rem;width:7.28rem}._inviteSuccess_1k1g9_1 ._h2_1k1g9_10{font-size:.53333rem;font-weight:500;color:#333;line-height:.74667rem}._inviteSuccess_1k1g9_1 ._tips_1k1g9_16{padding-top:.26667rem;font-size:.32rem;color:#333;line-height:.45333rem}._inviteSuccess_1k1g9_1 ._btnDownload_1k1g9_22{margin-top:.93333rem;padding:.37333rem 1.2rem}._inviteSuccess_1k1g9_1 ._wxpopup_1k1g9_26{width:100%;height:100vh;position:absolute;top:0;left:0;background:rgba(0,0,0,.5)}._inviteSuccess_1k1g9_1 ._wxpopup_1k1g9_26 img{width:88%;margin:0 6%}\n",document.head.appendChild(e),System.register(["./index-legacy.77fd7daf.js","./wx_bg-legacy.bbf15ca1.js"],(function(e){"use strict";var n,i,r,s,o,a,c;return{setters:[function(t){n=t.d,i=t.w,r=t.f,s=t.j,o=t.z,a=t.B},function(t){c=t.w}],execute:function(){var u="_inviteSuccess_1k1g9_1",d="_h2_1k1g9_10",_="_tips_1k1g9_16",p="_btnDownload_1k1g9_22",g="_wxpopup_1k1g9_26";e("default",n({name:"inviteSuccess",data:function(){return{wxStatus:!1,androidUrl:""}},mounted:function(){var e,n=this;return(e=regeneratorRuntime.mark((function t(){var e,r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,i.get("/api-student/open/appVersionInfo/queryLatestByPlatform",{params:{platform:"android-student",status:"history"}});case 3:e=t.sent,r=e.data,n.androidUrl=r.downloadUrl,t.next=10;break;case 8:t.prev=8,t.t0=t.catch(0);case 10:case"end":return t.stop()}}),t,null,[[0,8]])})),function(){var n=this,i=arguments;return new Promise((function(r,s){var o=e.apply(n,i);function a(e){t(o,r,s,a,c,"next",e)}function c(e){t(o,r,s,a,c,"throw",e)}a(void 0)}))})()},methods:{onDownload:function(){r().weixin?this.wxStatus=!0:/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)?window.location.href="https://itunes.apple.com/cn/app/id1626971695?mt=8":/(Android)/i.test(navigator.userAgent)?window.location.href=this.androidUrl:this.$toast("请用手机或移动设备打开")}},render:function(){var t=this;return s("div",{class:u},[s("img",{src:"./assets/success_tips.737b42b1.png"},null),s("p",{class:d},[o("恭喜你注册成功")]),s("p",{class:_},[o("下载酷乐秀APP开启器乐学习之旅！")]),!r().isApp&&s("div",{class:"btnGroup"},[s(a,{type:"primary",round:!0,class:p,onClick:this.onDownload},{default:function(){return[o("下载酷乐秀")]}})]),this.wxStatus&&s("div",{class:g,onClick:function(){t.wxStatus=!1}},[s("img",{src:c,alt:""},null)])])}}))}}}))}();
