!function(){function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}var e=["pn","url","action","pageTag"];function n(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function r(e,n,r){return(n=function(e){var n=function(e,n){if("object"!==t(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,n||"default");if("object"!==t(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"===t(n)?n:String(n)}(n))in e?Object.defineProperty(e,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[n]=r,e}function o(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}System.register(["./index-legacy-154dce11.js","./student-center-legacy-27c76846.js","./base-legacy-df89df70.js","./index-legacy-16c02d58.js"],(function(t,i){"use strict";var a,c,u,s,l,f,p,y,g,d;return{setters:[function(t){a=t.d,c=t.E,u=t.R,s=t.a,l=t.C},function(t){f=t.s,p=t.a,y=t.w},function(t){g=t.q},function(t){d=t.I}],execute:function(){t("default",a({name:"download-transfer",data:function(){return{wxStatus:!1}},mounted:function(){var t=this.$route.query,i=(t.pn,t.url),a=t.action,u=t.pageTag,s=o(t,e),l=location,f=l.origin+l.pathname+"#/";if(i||a){var p=g.stringify(function(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?n(Object(o),!0).forEach((function(e){r(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):n(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}({},s)),y={url:f+=i+(p?"?"+p:""),action:a||"h5",pageTag:u||1},d=encodeURIComponent(JSON.stringify(y));console.log(y,"iosStr"),/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)?window.location.href="BandInstrumentTeam://linkUrl="+d:/(Android)/i.test(navigator.userAgent)?window.location.href="colexiukt://html:8888/SplashActivity?url="+d:c("请用手机或移动设备打开")}},methods:{onDownload:function(){if(u().weixin)this.wxStatus=!0;else{var t="",e="";location.origin.indexOf("kt.colexiu.com")>-1?(t="https://apps.apple.com/us/app/%E9%9F%B3%E4%B9%90%E6%95%B0%E5%AD%97%E8%AF%BE%E5%A0%82/id6452725878",e="https://appstore.ks3-cn-beijing.ksyuncs.com/kt_cooleshow_student.apk"):(t="https://www.pgyer.com/dzRRNN",e="https://www.pgyer.com/2meenh"),u().ios||/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)?t&&(window.location.href=t):/(Android)/i.test(navigator.userAgent)?window.location.href=e:c("请用手机或移动设备打开")}}},render:function(){var t=this;return s("div",{class:[p.downloadContainer]},[s(d,{src:f},null),s("div",{class:p.buttonGroup},[s(l,{round:!0,size:"large",class:p.btn,onClick:this.onDownload},null)]),this.wxStatus&&s("div",{class:p.wxpopup,onClick:function(){t.wxStatus=!1}},[s("img",{src:y,alt:""},null)])])}}))}}}))}();
