{"version":3,"sources":["webpack:///./src/images/logo.png","webpack:///./src/views/downloadNew.vue?e449","webpack:///./src/components/language-switch.vue","webpack:///./src/components/language-switch.vue?744f","webpack:///./src/components/language-switch.vue?7ef7","webpack:///./src/components/language-switch.vue?4ae1","webpack:///./src/views/downloadNew.vue","webpack:///./src/views/downloadNew.vue?3949","webpack:///./src/views/downloadNew.vue?8d35","webpack:///./src/views/downloadNew.vue?7910","webpack:///./src/components/language-switch.vue?cfb6"],"names":["module","exports","render","_vm","this","_c","_self","_setupProxy","staticClass","_l","languages","language","name","currentLanguageName","on","$event","changeLanguage","attrs","displayName","class","icon","_e","staticRenderFns","LanguageSwitch","_AbpBase","_classCallCheck","_callSuper","arguments","_inherits","_createClass","key","get","abp","localization","filter","val","isDisabled","value","utils","setCookieValue","Date","getTime","appPath","location","reload","console","log","getCookieValue","AbpBase","__decorate","Component","component","_m","staticStyle","goAccountActivation","_v","_s","lang","accountActive","chs","en","changeLang","changLang","domProps","formattedText","L","isInWeixin","openApp","openAppDesc","require","NewsDetail","_this","iosUrl","androidUrl","isInIos","isTest","localizationList","n","that","findindex","findIndex","e","_created","_asyncToGenerator","regeneratorRuntime","mark","_callee","wrap","_context","prev","next","isWeiXin","isIos","$route","query","istest","loadLocalization","stop","created","apply","$store","dispatch","type","data","then","res","rawText","textWithNewLines","replace","textWithoutMultipleSpaces","window","open","Math","round","random","href","ua","navigator","userAgent","toLowerCase","match","u","indexOf","undefined","ShowFitness","components"],"mappings":"qGAAAA,EAAOC,QAAU,IAA0B,yB,oCCA3C,W,kDCAIC,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAUF,EAAIG,MAAMC,YAAY,OAAOF,EAAG,MAAM,CAACA,EAAG,KAAK,CAACG,YAAY,eAAeL,EAAIM,GAAIN,EAAIO,WAAW,SAASC,GAAU,OAAQA,EAASC,OAAOT,EAAIU,oBAAqBR,EAAG,KAAK,CAACS,GAAG,CAAC,MAAQ,SAASC,GAA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2BC,KAAKC,MAAsB,GAAhBD,KAAKE,aAGxD,CAAApF,IAAA,WAAAO,MACD,WACKjC,KAAKwF,QAGRjD,SAASwE,KAAO,iDAAmD/G,KAAKoE,OAExE7B,SAASwE,KAAO/G,KAAKqE,WAAa,SAAU,IAAIjC,MAAOC,YAExD,CAAAX,IAAA,WAAAO,MACD,WACC,IAAI+E,EAAKC,UAAUC,UAAUC,cAC7B,MAAmC,kBAA/BH,EAAGI,MAAM,qBAKb,CAAA1F,IAAA,YAAAO,MACD,WACC,IAAIoF,EAAIJ,UAAUC,UAAUC,cAC5B,OAAIE,EAAEC,QAAQ,YAAc,GAAKD,EAAEC,QAAQ,UAAY,SAClBC,IAA/Bb,OAAec,cAGrB,CAAA9F,IAAA,QAAAO,MAED,WACC,IAAIoF,EAAIJ,UAAUC,UAAUC,cAC5B,OAAIE,EAAEC,QAAQ,WAAa,GAAKD,EAAEC,QAAQ,QAAU,GAAKD,EAAEC,QAAQ,QAAU,MAzJhD,CAAS1E,QAAnBsB,EAAUrB,EAAA,CAL9BC,eAAU,CACV2E,WAAY,CACXtG,0BAGmB+C,WCjB+W,I,wBCQjYnB,EAAY,eACd,EACAjD,EACAoB,GACA,EACA,KACA,WACA,MAIa,aAAA6B,E,2CCnBf","file":"js/chunk-4bffef18.dea5e466.js","sourcesContent":["module.exports = __webpack_public_path__ + \"img/logo.96d15e2c.png\";","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./downloadNew.vue?vue&type=style&index=0&id=6408313f&prod&scoped=scoped&lang=css\"","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',[_c('ul',{staticClass:\"language-ul\"},_vm._l((_vm.languages),function(language){return (language.name!==_vm.currentLanguageName)?_c('li',{on:{\"click\":function($event){return _vm.changeLanguage(language)}}},[_c('Tooltip',{attrs:{\"content\":language.displayName,\"placement\":\"bottom\"}},[_c('a',[_c('i',{class:language.icon})])])],1):_vm._e()}),0)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\nimport { Component, Vue,Inject, Prop,Watch } from 'vue-property-decorator';\r\nimport Util from '../lib/util'\r\nimport AbpBase from '../lib/abpbase'\r\n@Component\r\nexport default class LanguageSwitch extends AbpBase{\r\n get languages(){\r\n return abp.localization.languages.filter(val=>{\r\n return !val.isDisabled;\r\n });\r\n }\r\n changeLanguage(language){\t\r\n abp.utils.setCookieValue(\r\n \"Abp.Localization.CultureName\",\r\n language.name,\r\n new Date(new Date().getTime() + 5 * 365 * 86400000), //5 year\r\n abp.appPath\r\n );\r\n location.reload();\r\n }\r\n get currentLanguageName(){\r\n\t\t\r\n\t\tconsole.log(abp.utils.getCookieValue(\"Abp.Localization.CultureName\"));\r\n \r\n return abp.utils.getCookieValue(\"Abp.Localization.CultureName\");\r\n }\r\n}\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./language-switch.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./language-switch.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./language-switch.vue?vue&type=template&id=48fd7abc\"\nimport script from \"./language-switch.vue?vue&type=script&lang=ts\"\nexport * from \"./language-switch.vue?vue&type=script&lang=ts\"\nimport style0 from \"./language-switch.vue?vue&type=style&index=0&id=48fd7abc&prod&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"content\"},[_vm._m(0),_c('div',{staticClass:\"btn\",staticStyle:{\"display\":\"block\",\"height\":\"50px\",\"line-height\":\"50px\",\"margin\":\"15px\",\"font-size\":\"18px\",\"background-color\":\"#2d8cf0\",\"color\":\"#FFFFFF\",\"border-radius\":\"50px\"},attrs:{\"id\":\"btn\"},on:{\"click\":function($event){return _vm.goAccountActivation()}}},[_vm._v(\"\\n\\t\\t\"+_vm._s(_vm.lang=='zh-Hans'?_vm.accountActive.chs:_vm.accountActive.en)+\"\\n\\t\")]),_c('div',{staticClass:\"language-label\"},[_vm._v(_vm._s(_vm.lang=='zh-Hans'?_vm.changeLang.chs:_vm.changeLang.en)+\" >>\")]),_c('div',{staticClass:\"language-img\",on:{\"click\":function($event){return _vm.changLang()}}},[(_vm.lang=='zh-Hans')?_c('div',{staticStyle:{\"font-size\":\"28rpx\",\"color\":\"#2d8cf0\",\"font-weight\":\"bold\"}},[_vm._v(\"English\")]):_vm._e(),(_vm.lang=='en')?_c('div',{staticStyle:{\"font-size\":\"28rpx\",\"color\":\"#2d8cf0\",\"font-weight\":\"bold\"}},[_vm._v(\"中文\")]):_vm._e()]),_c('div',{staticClass:\"beizhu\"},[_c('div',{domProps:{\"innerHTML\":_vm._s(_vm.formattedText(_vm.L('请点击右上角按钮进行语言切换')))}})]),(_vm.isInWeixin)?_c('div',{staticClass:\"mask\",attrs:{\"id\":\"mask\"}},[_c('div',{staticClass:\"mask-txt\",staticStyle:{\"top\":\"58.8663px\",\"height\":\"188.208px\",\"width\":\"375px\"},attrs:{\"id\":\"mask-txt\"}}),_c('div',{staticClass:\"mask-arrow\",staticStyle:{\"right\":\"20px\",\"top\":\"5px\",\"width\":\"56.25px\",\"height\":\"392.442px\"},attrs:{\"id\":\"mask-arrow\"}})]):_vm._e(),(_vm.openApp&&!_vm.isInWeixin)?_c('a',{staticClass:\"btn\",staticStyle:{\"display\":\"block\",\"height\":\"58.4862px\",\"line-height\":\"58.4862px\",\"margin\":\"15px\",\"font-size\":\"18px\"},attrs:{\"href\":\"gis://yfpo.com\"}},[_vm._v(\"\\n\\t\\t\"+_vm._s(_vm.lang=='zh-Hans'?_vm.openAppDesc.chs:_vm.openAppDesc.en)+\"\\n\\t\")]):_vm._e()])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"img\",staticStyle:{\"height\":\"280px\",\"text-align\":\"center\",\"padding-top\":\"100px\"},attrs:{\"id\":\"img\"}},[_c('img',{staticStyle:{\"width\":\"240px\"},attrs:{\"src\":require(\"../images/logo.png\")}})])\n}]\n\nexport { render, staticRenderFns }","\r\n\timport {\r\n\t\tComponent,\r\n\t\tVue,\r\n\t\tInject,\r\n\t\tProp,\r\n\t\tWatch\r\n\t} from 'vue-property-decorator';\r\n\timport Util from '@/lib/util'\r\n\timport AbpBase from '@/lib/abpbase'\r\n\timport LanguageSwitch from '../components/language-switch.vue'\r\n\r\n\t@Component({\r\n\t\tcomponents: {\r\n\t\t\tLanguageSwitch\r\n\t\t}\r\n\t})\r\n\texport default class NewsDetail extends AbpBase {\r\n\t\tiosUrl: string = 'https://yfpogis-appdown.oss-cn-shanghai.aliyuncs.com/download/ios/manifest.plist';\r\n\t\tandroidUrl: string = 'https://yfpogis-appdown.oss-cn-shanghai.aliyuncs.com/download/android/app-release.apk';\r\n\t\tisInWeixin: boolean = false;\r\n\t\tisInIos: boolean = false;\r\n\t\tisTest: boolean = false;\r\n\t\topenApp: boolean = false;\r\n\r\n\t\taccountActive: Object = {\r\n\t\t\ten: \"Account Activate\",\r\n\t\t\tchs: \"账户激活\"\r\n\t\t};\r\n\t\topenAppDesc: Object = {\r\n\t\t\ten: \"Open App\",\r\n\t\t\tchs: \"打开APP\"\r\n\t\t};\r\n\t\tchangeLang: Object = {\r\n\t\t\ten: \"Language\",\r\n\t\t\tchs: \"语言\"\r\n\t\t};\r\n\t\tlang: string = \"zh-Hans\";\r\n\t\tlocalizationList : Array = [];\r\n\t\t\r\n\t\tL(name) {\r\n\t\t\r\n\t\t\tvar n = '';\r\n\t\t\r\n\t\t\r\n\t\t\t\r\n\t\t\t\tvar that = this;\r\n\t\t\t\tvar findindex = that.localizationList.findIndex(e => {\r\n\t\t\t\t\treturn e.name == name\r\n\t\t\t\t})\r\n\t\t\t\tif (findindex > -1) {\r\n\t\t\t\t\tn = that.localizationList[findindex].value\r\n\t\t\t\t} else {\r\n\t\t\t\t\tn = name;\r\n\t\t\t\t}\r\n\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\r\n\t\t\treturn n;\r\n\t\t\r\n\t\t}\r\n\r\n\r\n\r\n\t\tasync created() {\r\n\r\n\t\t\tthis.isInWeixin = this.isWeiXin();\r\n\t\t\tthis.isInIos = this.isIos();\r\n\t\t\tthis.isTest = this.$route.query.istest as any == \"1\";\r\n\t\t\t// if (this.isTest) {\r\n\t\t\t// \tthis.iosUrl = 'https://yfpogis-appdown.oss-cn-shanghai.aliyuncs.com/download/ios_test/manifest.plist';\r\n\t\t\t// \tthis.androidUrl = 'https://yfpogis-appdown.oss-cn-shanghai.aliyuncs.com/download/android_test/app-release.apk';\r\n\t\t\t// }\r\n\t\t\t// this.openApp = (this.$route.query.open as any) == \"1\";\r\n\t\t\t// if (!this.isInWeixin && this.openApp) {\r\n\t\t\t// \tlocation.href = 'gis://yfpo.com';\r\n\t\t\t// }\r\n\r\n\t\t\tif (abp.utils.getCookieValue(\"Abp.Localization.CultureName\") == \"en\") {\r\n\t\t\t\tthis.lang = 'en';\r\n\t\t\t} else {\r\n\t\t\t\tthis.lang = 'zh-Hans';\r\n\t\t\t}\r\n\t\t\tthis.loadLocalization();\r\n\t\t}\r\n \r\n\r\n\t\tchangLang() {\r\n\t\t\tif (this.lang == \"en\") {\r\n\t\t\t\tthis.lang = 'zh-Hans';\r\n\t\t\t\tabp.utils.setCookieValue(\r\n\t\t\t\t\t\"Abp.Localization.CultureName\",\r\n\t\t\t\t\t'zh-Hans',\r\n\t\t\t\t\tnew Date(new Date().getTime() + 5 * 365 * 86400000), //5 year\r\n\t\t\t\t\tabp.appPath\r\n\t\t\t\t);\r\n\t\t\t} else {\r\n\t\t\t\tthis.lang = 'en';\r\n\t\t\t\tabp.utils.setCookieValue(\r\n\t\t\t\t\t\"Abp.Localization.CultureName\",\r\n\t\t\t\t\t'en',\r\n\t\t\t\t\tnew Date(new Date().getTime() + 5 * 365 * 86400000), //5 year\r\n\t\t\t\t\tabp.appPath\r\n\t\t\t\t);\r\n\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\tif (abp.utils.getCookieValue(\"Abp.Localization.CultureName\") == \"en\") {\r\n\t\t\t\tthis.lang = 'en';\r\n\t\t\t} else {\r\n\t\t\t\tthis.lang = 'zh-Hans';\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tthis.loadLocalization();\r\n\t\t}\r\n\t\tloadLocalization() {\r\n\t\t\tvar that = this;\r\n\t\t\r\n\t\t\tthis.$store.dispatch({\r\n\t\t\t\ttype: 'app/getLocalizations',\r\n\t\t\t\tdata: this.lang\r\n\t\t\t}).then((res) => {\r\n\t\t\t\tthat.localizationList = res;\r\n\t\t\t});\r\n\t\t\r\n\t\t}\r\n\t\tformattedText(rawText) {\r\n\t\t\t// 替换换行符为
\r\n\t\t\tlet textWithNewLines = rawText.replace(/\\n/g, '
');\r\n\t\t\t// 替换多个空格为一个空格\r\n\t\t\tlet textWithoutMultipleSpaces = textWithNewLines.replace(/\\s+/g, ' ');\r\n\t\t\treturn textWithoutMultipleSpaces;\r\n\t\t}\r\n\r\n\r\n\t\tgoAccountActivation() {\r\n\t\t\tif (this.isTest) {\r\n\t\t\t\twindow.open('#/accountactivation?istest=1&t=' + Math.round(Math.random() * 10));\r\n\t\t\t} else {\r\n\t\t\t\twindow.open('#/accountactivation?t=' + Math.round(Math.random() * 10));\r\n\t\t\t}\r\n\r\n\t\t}\r\n\t\tdownload() {\r\n\t\t\tif (this.isIos()) {\r\n\t\t\t\t//\talert('企业级应用需要您授权信任才正常使用,请按流程操作。');\r\n\r\n\t\t\t\tlocation.href = \"itms-services://?action=download-manifest&url=\" + this.iosUrl;\r\n\t\t\t} else {\r\n\t\t\t\tlocation.href = this.androidUrl + \"?time\" + new Date().getTime();\r\n\t\t\t}\r\n\t\t}\r\n\t\tisWeiXin() {\r\n\t\t\tvar ua = navigator.userAgent.toLowerCase() as any;\r\n\t\t\tif (ua.match(/MicroMessenger/i) == 'micromessenger') {\r\n\t\t\t\treturn true; // 是微信端\r\n\t\t\t} else {\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t}\r\n\t\tisAndroid() {\r\n\t\t\tvar u = navigator.userAgent.toLowerCase();\r\n\t\t\tif (u.indexOf(\"android\") > -1 || u.indexOf(\"linux\") > -1) {\r\n\t\t\t\tif ((window as any).ShowFitness !== undefined) return true;\r\n\t\t\t}\r\n\t\t\treturn false;\r\n\t\t}\r\n\r\n\t\tisIos() {\r\n\t\t\tvar u = navigator.userAgent.toLowerCase();\r\n\t\t\tif (u.indexOf(\"iphone\") > -1 || u.indexOf(\"ios\") > -1 || u.indexOf(\"mac\") > -1) {\r\n\t\t\t\treturn true;\r\n\t\t\t}\r\n\t\t\treturn false;\r\n\t\t}\r\n\r\n\t};\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./downloadNew.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./downloadNew.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./downloadNew.vue?vue&type=template&id=6408313f&scoped=true\"\nimport script from \"./downloadNew.vue?vue&type=script&lang=ts\"\nexport * from \"./downloadNew.vue?vue&type=script&lang=ts\"\nimport style0 from \"./downloadNew.vue?vue&type=style&index=0&id=6408313f&prod&scoped=scoped&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6408313f\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./language-switch.vue?vue&type=style&index=0&id=48fd7abc&prod&lang=css\""],"sourceRoot":""}