!function(){const t=["pn","url","action","pageTag"];function e(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 n(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function r(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-fdce4919.js","./student-center-legacy-27c76846.js","./base-legacy-f60ccc23.js","./index-legacy-ff6f675b.js"],(function(o,i){"use strict";var a,s,c,l,u,p,f,d,g,w;return{setters:[t=>{a=t.d,s=t.E,c=t.R,l=t.a,u=t.C},t=>{p=t.s,f=t.a,d=t.w},t=>{g=t.q},t=>{w=t.I}],execute:function(){o("default",a({name:"download-transfer",data:()=>({wxStatus:!1}),mounted(){const o=this.$route.query,{pn:i,url:a,action:c,pageTag:l}=o,u=r(o,t),{origin:p,pathname:f}=location;let d=p+f+"#/";if(!a&&!c)return;const w=g.stringify(function(t){for(var r=1;r<arguments.length;r++){var o=null!=arguments[r]?arguments[r]:{};r%2?e(Object(o),!0).forEach((function(e){n(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):e(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}({},u));d+=a+(w?"?"+w:"");const y={url:d,action:c||"h5",pageTag:l||1},b=encodeURIComponent(JSON.stringify(y));console.log(y,"iosStr"),/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)?window.location.href="BandInstrumentTeam://linkUrl="+b:/(Android)/i.test(navigator.userAgent)?window.location.href="colexiukt://html:8888/SplashActivity?url="+b:s("请用手机或移动设备打开")},methods:{onDownload(){if(c().weixin)return void(this.wxStatus=!0);let 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"),c().ios||/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)?t&&(window.location.href=t):/(Android)/i.test(navigator.userAgent)?window.location.href=e:s("请用手机或移动设备打开")}},render(){return l("div",{class:[f.downloadContainer]},[l(w,{src:p},null),l("div",{class:f.buttonGroup},[l(u,{round:!0,size:"large",class:f.btn,onClick:this.onDownload},null)]),this.wxStatus&&l("div",{class:f.wxpopup,onClick:()=>{this.wxStatus=!1}},[l("img",{src:d,alt:""},null)])])}}))}}}))}();
