{"version":3,"sources":["webpack:///./src/api/login.js","webpack:///./src/views/Logout/index.vue","webpack:///src/views/Logout/index.vue","webpack:///./src/views/Logout/index.vue?cf70","webpack:///./src/views/Logout/index.vue?1f5f","webpack:///./src/views/Logout/index.vue?783f"],"names":["emailInit","_x","_emailInit","apply","arguments","_asyncToGenerator","_regeneratorRuntime","mark","_callee","options","wrap","_context","prev","next","abrupt","http","post","stop","sendCode","params","picCheckSendCode","captchaLogin","staticLogin","picCheckLogin","register","resetPassword","getProtocol","undefined","baseURL","test","window","location","host","getWebTicket","returnUrl","axiosConfig","_objectSpread","disabledToast","logout","render","_vm","this","_self","_c","_m","staticRenderFns","staticClass","attrs","Vue","use","_Toast","data","logs","web_pageid","created","_this","_this$$route$query","$route","query","_this$$route$query$re","return_url","appId","$toast","decodeURIComponent","Logs","imgLog_PageLoad","cookie","Cookies","get","then","imgLog_Button","web_buttonid","web_userid","concat","href","catch","err","error","errorCode","parameters","queryConcat","setTimeout","component"],"mappings":"mkBAeO,SAAeA,EAASC,GAAA,OAAAC,EAAAC,MAAC,KAADC,WAI/B,SAAAF,IAFC,OAEDA,EAAAG,eAAAC,iBAAAC,MAJO,SAAAC,EAAyBC,GAAO,OAAAH,iBAAAI,MAAA,SAAAC,GAAA,eAAAA,EAAAC,KAAAD,EAAAE,MAAA,cAAAF,EAAAG,OAAA,SAC5BC,OAAKC,KAAK,mBAAoBP,IAAQ,wBAAAE,EAAAM,UAAAT,OAChDN,EAAAC,MAAA,KAAAC,WAOM,SAASc,EAASC,GACrB,OAAOJ,OAAKC,KAAK,uBAAwBG,GAQtC,SAASC,EAAiBD,GAC7B,OAAOJ,OAAKC,KAAK,+BAAgCG,GAO9C,SAASE,EAAaF,GACzB,OAAOJ,OAAKC,KAAK,yBAA0BG,GAOxC,SAASG,EAAYH,GACxB,OAAOJ,OAAKC,KAAK,oBAAqBG,GAOnC,SAASI,EAAcJ,GAC1B,OAAOJ,OAAKC,KAAK,4BAA6BG,GAO3C,SAASK,EAAS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A,4BACAE,EAAAV,IAAAQ,EAAA,iBACAG,EAAAC,eACA,CAAAH,QAAAC,aACA,KAAAjD,KAAA0B,EAAArB,WAAA,SAEAJ,OAAAC,SAAA2C,KAAAnB,EAAArB,UAAA6C,UAzBA,KAAAjB,OAAA,sBACAmB,YAAA,WACAnD,OAAAC,SAAA2C,KAAAnB,EAAArB,YACA,OCtC6V,I,wBCQzVgD,EAAY,eACd,EACA3C,EACAM,GACA,EACA,KACA,WACA,MAIa,aAAAqC,E,2CCnBf","file":"js/logout.10cdf6e2.js","sourcesContent":["import http from '@/lib/axios';\n\n/**\n * @typedef {Object} InitOptions\n * @property {string} ueAppId 盛趣加解密服务 appId\n * @property {string} hash 用 md5 加密后的 email\n * @property {string} type email类型 详见 EmailType\n * @property {(string | undefined)} flowId 新增字段,用于在个别业务流程中插入邮件验证码验证流程。例如:账号注销\n */\n\n/**\n * 邮箱加密流程初始化\n * @param {InitOptions} options\n * @return {Promise<{ flowId: string; key: string; operationModel: number }>}flowId:业务流程id;key:按顺序与 hash 对应;operationModel:0熔断/1正常\n */\nexport async function emailInit(options) {\n return http.post('basic/email/init', options);\n}\n\n/**\n * 发送验证码\n * @param {{ flowId: string; email: string; scene?: string}} params email 的密文格式为 cipherInfo\n * @return {Promise<{ nextAction: string; captchaParams: string }>}\n */\nexport function sendCode(params) {\n return http.post('basic/email/sendCode', params);\n}\n\n/**\n * 校验图验邮箱验证码发送\n * @param {{ flowId: string; outInfo: string; }} params\n * @return {Promise<{ nextAction: string; captchaParams: string }>}\n */\nexport function picCheckSendCode(params) {\n return http.post('basic/email/picCheckSendCode', params);\n}\n\n/**\n * 邮箱验证码登录\n * @return {Promise<{ userId: string; loginType: number; token: string; nextAction: string; captchaParams: string}>}\n */\nexport function captchaLogin(params) {\n return http.post('web/account/emailLogin', params);\n}\n\n/**\n * 邮箱静密登录\n * @return {Promise<{ userId: string; loginType: number; token: string; nextAction: string; captchaParams: string}>}\n */\nexport function staticLogin(params) {\n return http.post('web/account/login', params);\n}\n\n/**\n * @description 天御图验邮箱静密登录(在图验成功后,再使用该接口继续登录)\n * @return {Promise<{ userId: string; loginType: number; token: string; nextAction: string; captchaParams: string}>}\n */\nexport function picCheckLogin(params) {\n return http.post('web/account/picCheckLogin', params);\n}\n\n/**\n * 邮箱注册\n * @return {Promise<{ userId: string; loginType: number; token: string}>}\n */\nexport function register(params) {\n return http.post('web/account/register', params);\n}\n\n/**\n * 邮箱密码重置\n * @return {Promise<{ userId: string; loginType: number; token: string}>}\n */\nexport function resetPassword(params) {\n return http.post('web/account/resetPassword', params);\n}\n\n/**\n * 获取隐私协议\n * @return {Promise<{ privacyAgreementUrl: string; userServiceAgreementUrl: string}>}\n */\nexport function getProtocol() {\n // prettier-ignore\n return http.post('/agreement/user', undefined, {\n baseURL: /gray/.test(window.location.host)\n ? '//abroad-sin-gray.shengqugames-corp.com'\n : 'https://abroad-sin-protocol.shengqugames-corp.com',\n });\n}\n\n/**\n * 获取 webTick\n * @return {Promise<{ ticket: string;}>}\n */\nexport function getWebTicket(returnUrl, axiosConfig) {\n return http.post(\n '/web/account/getWebTicket',\n { returnUrl },\n {\n disabledToast: true,\n ...axiosConfig,\n }\n );\n}\n\n/**\n * 登出\n */\nexport function logout() {\n return http.post('/web/account/logout', undefined, { disabledToast: true });\n}\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _vm._m(0)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"h-full relative\"},[_c('img',{staticClass:\"loading absolute\",attrs:{\"src\":\"https://abroad-sin-static.shengqugames-corp.com/wpay/icon_loading.png\",\"alt\":\"loading\"}})])\n}]\n\nexport { render, staticRenderFns }","\n \n

\n
\n\n\n\n\n\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/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js\"; 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/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=2d8e3a92&scoped=true\"\nimport script from \"./index.vue?vue&type=script&lang=js\"\nexport * from \"./index.vue?vue&type=script&lang=js\"\nimport style0 from \"./index.vue?vue&type=style&index=0&id=2d8e3a92&prod&scoped=true&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 \"2d8e3a92\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&id=2d8e3a92&prod&scoped=true&lang=css\""],"sourceRoot":""}