(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["main"],{"000e":function(e,t,n){"use strict";n("386d"),n("a481");var o=n("db72"),i=(n("4917"),n("3b2b"),n("e7e5"),n("d399")),a=n("5404"),r=n("a78e"),s=n.n(r),c=n("8bbf"),l=n.n(c);l.a.use(i["a"]);var u=n("6821f"),d=n("cebe"),p={},g=function(){return"undefined"!==typeof window&&"undefined"!==typeof window.document},f=function(){return"undefined"!==typeof node_mockwindow&&"undefined"!==typeof node_mockwindow.node_cookie?node_mockwindow.node_cookie:g()?window.document.cookie:""},m=function(e,t){var n=f(),o="";"undefined"!==typeof t&&(o=t);var i=new RegExp(e+"=(.*?)(;|$)"),a=n.match(i);return a&&a[1]&&(o=a[1]),o},h=function(e){if("string"===typeof e)try{e=new Function("","return "+e)()}catch(t){try{e=JSON.parse(e)}catch(t){}}return e},v=window.location.protocol,w=window.location.host,y=-1!==w.indexOf("oa.com")?w:-1!=window.location.origin.indexOf("test.igame.qq.com")?"mtest.igame.qq.com":"m.igame.qq.com";function x(){return navigator.userAgent.match(/miniprogram/i)||"miniprogram"===window.__wxjs_environment}d.defaults.baseURL="".concat(v,"//").concat(y);var b=function(e){x()&&(d.defaults.headers["Tip-Channel"]="wxproc");var t=Object(o["a"])(Object(o["a"])({},e),{},{timeout:1e4,withCredentials:!0,transformResponse:[h]}),n=d.create(t);return n};function _(e,t){if(e.indexOf("graph.qq.com")<0&&e.indexOf("open.weixin.qq.com")<0)return e;var n=e.match(/redirect_uri=(.*?)&/);if(!n||!n[1])return e;var o=decodeURIComponent(n[1]),i="";n=o.match(/_ltype=(.*?)&/),i=n&&n[1]||"tiploginqq",o=o.replace(/_jumpurl=.*$/,"_jumpurl="+encodeURIComponent(t)),e=e.replace(/redirect_uri=(.*?)&/,"redirect_uri="+encodeURIComponent(o)+"&");var a=u(i+"@"+t);return e=e.replace(/state=(.*?)(&|#)/,"state="+a+"$2"),e}function k(){var e=a["a"].initEnv(),t=s.a.get("msdk_uid"),n=s.a.get("msdk_skey");if(null!=t&&null!=n||null!=a["a"].getUrlPara("msdkEncodeParam")&&null!=a["a"].getUrlPara("sig")||e.isGHelper||e.isMsdk||e.isInGame||e.isGHelper20004||null!=a["a"].getUrlPara("HLDDZMutableParamForRefresh")){var o=window.location.search;if(!o){var i=location.hash;i.indexOf("?")>0&&(o=i?i.substring(i.indexOf("?")):"")}return o}return""}p.axios_interp=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=b({});return t.interceptors.request.use((function(e){return"undefined"===typeof e.params&&(e.params={}),e.params.g_app_tk=m("tip_token",""),x()&&(a["a"].getUrlPara("_ticket")&&(e.params._ticket=a["a"].getUrlPara("_ticket")),a["a"].getUrlPara("openid")&&(e.params.openid=a["a"].getUrlPara("openid"))),g()&&e.url&&(0==e.url.indexOf("https://")&&(e.url=e.url.substr(6)),0==e.url.indexOf("http://")&&(e.url=e.url.substr(5))),-1!==e.url.indexOf("?")?e.url+="&tstamp="+(new Date).getTime()+k().replace("?","&"):e.url+="?tstamp="+(new Date).getTime()+k().replace("?","&"),console.log(e),console.log(e.url),e}),(function(e){return Promise.reject(e)})),t.interceptors.response.use((function(t){if(null==t.data.r)if(null==t.data.ret)t.data.r=0;else{if(t.data.r=t.data.ret,1e5==t.data.ret){var n=null;do{if(null==t.headers){n="headers is null";break}if(null==t.headers.logininfo){n="logininfo is null";break}var o=JSON.parse(t.headers.logininfo);if(null==o){n="loginInfo is null";break}if(null==o.jumpLoginUrl){n="jumpLoginUrl is null";break}}while(0);null!=n&&i["a"].fail("登录态已过期,请尝试重新进入该页面\n"+n)}if(1e5==t.data.ret&&null!=t.headers.logininfo){var r=JSON.parse(t.headers.logininfo);null!=r&&null!=r.jumpLoginUrl&&(t.data.url=r.jumpLoginUrl)}null==t.data.msg&&null!=t.data.err_msg&&(t.data.msg=t.data.err_msg)}return t.data&&(1e5==t.data.r||1e5==t.data.retcode)&&t.data.url?-1!==t.config.baseURL.indexOf("oa.com")?void app.$router.push({path:"/login"}):void p.gotoLogin(t):(g()&&t.config&&t.config.persist&&a["a"].savePersist(t.config.url,t.data,t.config.persist_time||0),e&&t.data&&0!=t.data.r&&19!=t.data.r&&1e5!=t.data.r&&t.data.msg&&(i["a"].clear(),i["a"].fail(t.data.msg)),t)}),(function(e){if(!e.response||401!=e.response.status)return Promise.reject(e);p.gotoLogin()})),t},p.gotoLogin=function(e){if(1e5===e.data.r||1e5===e.data.retcode){var t=a["a"].initEnv();if(t.isWeixin||t.isQQ){var n=window.location.search;if(!n){var o=location.hash;o.indexOf("?")>0&&(n=o?o.substring(o.indexOf("?")):"")}var i=window.location.protocol+"//"+window.location.hostname+window.location.pathname+"#"+(app.$router.currentRoute.path||"")+n;console.log("absoluteUrl:",i),e.data.url=_(e.data.url,i),console.log("res.data.url:",e.data.url)}e.data&&e.data.url&&e.data.url.length>0&&(window.location.href=e.data.url)}},t["a"]=p},1723:function(e,t,n){"use strict";var o=n("c4fc"),i=n.n(o);i.a},5404:function(e,t,n){"use strict";n("456d"),n("ac6a"),n("a481");var o=n("db72"),i=(n("386d"),n("2d63")),a=(n("28a5"),n("4917"),n("3b2b"),{provData:{11:"北京",12:"天津",13:"河北",14:"山西",15:"内蒙古",21:"辽宁",22:"吉林",23:"黑龙江",31:"上海",32:"江苏",33:"浙江",34:"安徽",35:"福建",36:"江西",37:"山东",41:"河南",42:"湖北",43:"湖南",44:"广东",45:"广西",46:"海南",50:"重庆",51:"四川",52:"贵州",53:"云南",54:"西藏",61:"陕西",62:"甘肃",63:"青海",64:"宁夏",65:"新疆",71:"台湾",81:"香港",82:"澳门"},cityData:{11:["北京"],12:["天津"],13:{1:"石家庄",2:"唐山",3:"秦皇岛",4:"邯郸",5:"邢台",6:"保定",7:"张家口",8:"承德",9:"沧州",10:"廊坊",11:"衡水"},14:{1:"太原",2:"大同",3:"阳泉",4:"长治",5:"晋城",6:"朔州",7:"晋中",8:"运城",9:"忻州",10:"临汾",11:"吕梁",12:"太谷"},15:{1:"呼和浩特",2:"包头",3:"乌海",4:"赤峰",5:"通辽",6:"鄂尔多斯",7:"呼伦贝尔",8:"巴彦淖尔",9:"乌兰察布",22:"兴安",25:"锡林郭勒",29:"阿拉善",30:"集宁"},21:{1:"沈阳",2:"大连",3:"鞍山",4:"抚顺",5:"本溪",6:"丹东",7:"锦州",8:"营口",9:"阜新",10:"辽阳",11:"盘锦",12:"铁岭",13:"朝阳",14:"葫芦岛"},22:{1:"长春",2:"吉林",3:"四平",4:"辽源",5:"通化",6:"白山",7:"松原",8:"白城",24:"延边",25:"延吉"},23:{1:"哈尔滨",2:"齐齐哈尔",3:"鸡西",4:"鹤岗",5:"双鸭山",6:"大庆",7:"伊春",8:"佳木斯",9:"七台河",10:"牡丹江",11:"黑河",12:"绥化",27:"大兴安岭"},31:["上海"],32:{1:"南京",2:"无锡",3:"徐州",4:"常州",5:"苏州",6:"南通",7:"连云港",8:"淮安",9:"盐城",10:"扬州",11:"镇江",12:"泰州",13:"宿迁"},33:{1:"杭州",2:"宁波",3:"温州",4:"嘉兴",5:"湖州",6:"绍兴",7:"金华",8:"衢州",9:"舟山",10:"台州",11:"丽水"},34:{1:"合肥",2:"芜湖",3:"蚌埠",4:"淮南",5:"马鞍山",6:"淮北",7:"铜陵",8:"安庆",10:"黄山",11:"滁州",12:"阜阳",13:"宿州",14:"巢湖",15:"六安",16:"亳州",17:"池州",18:"宣城"},35:{1:"福州",2:"厦门",3:"莆田",4:"三明",5:"泉州",6:"漳州",7:"南平",8:"龙岩",9:"宁德"},36:{1:"南昌",2:"景德镇",3:"萍乡",4:"九江",5:"新余",6:"鹰潭",7:"赣州",8:"吉安",9:"宜春",10:"抚州",11:"上饶"},37:{1:"济南",2:"青岛",3:"淄博",4:"枣庄",5:"东营",6:"烟台",7:"潍坊",8:"济宁",9:"泰安",10:"威海",11:"日照",12:"莱芜",13:"临沂",14:"德州",15:"聊城",16:"滨州",17:"菏泽"},41:{1:"郑州",2:"开封",3:"洛阳",4:"平顶山",5:"安阳",6:"鹤壁",7:"新乡",8:"焦作",9:"濮阳",10:"许昌",11:"漯河",12:"三门峡",13:"南阳",14:"商丘",15:"信阳",16:"周口",17:"驻马店",18:"济源",19:"新郑"},42:{1:"武汉",2:"黄石",3:"十堰",5:"宜昌",6:"襄樊",7:"鄂州",8:"荆门",9:"孝感",10:"荆州",11:"黄冈",12:"咸宁",13:"随州",28:"恩施",94:"仙桃",95:"潜江",96:"天门",A21:"神农架"},43:{1:"长沙",2:"株洲",3:"湘潭",4:"衡阳",5:"邵阳",6:"岳阳",7:"常德",8:"张家界",9:"益阳",10:"郴州",11:"永州",12:"怀化",13:"娄底",31:"湘西"},44:{1:"广州",2:"韶关",3:"深圳",4:"珠海",5:"汕头",6:"佛山",7:"江门",8:"湛江",9:"茂名",12:"肇庆",13:"惠州",14:"梅州",15:"汕尾",16:"河源",17:"阳江",18:"清远",19:"东莞",20:"中山",51:"潮州",52:"揭阳",53:"云浮"},45:{1:"南宁",2:"柳州",3:"桂林",4:"梧州",5:"北海",6:"防城港",7:"钦州",8:"贵港",9:"玉林",10:"百色",11:"贺州",12:"河池",13:"来宾",14:"崇左"},46:{1:"海口",2:"三亚",91:"五指山",92:"琼海",93:"儋州",95:"文昌",96:"万宁",97:"东方",A25:"定安",A26:"屯昌",A27:"澄迈",A28:"临高",A30:"白沙",A31:"昌江",A33:"乐东",A34:"陵水",A35:"保亭",A36:"琼中",A37:"西沙",A38:"南沙",A39:"中沙"},50:["重庆"],51:{1:"成都",3:"自贡",4:"攀枝花",5:"泸州",6:"德阳",7:"绵阳",8:"广元",9:"遂宁",10:"内江",11:"乐山",13:"南充",14:"眉山",15:"宜宾",16:"广安",17:"达州",18:"雅安",19:"巴中",20:"资阳",32:"阿坝",33:"甘孜",34:"凉山"},52:{1:"贵阳",2:"六盘水",3:"遵义",4:"安顺",22:"铜仁",23:"黔西南",24:"毕节",26:"黔东南",27:"黔南",31:"清镇",32:"赤水",33:"仁怀",34:"凯里",35:"都匀",36:"兴义",37:"福泉"},53:{1:"昆明",3:"曲靖",4:"玉溪",5:"保山",6:"昭通",7:"丽江",8:"普洱",9:"临沧",23:"楚雄",25:"红河",26:"文山",28:"西双版纳",29:"大理",31:"德宏",33:"怒江",34:"迪庆"},54:{1:"拉萨",21:"昌都",22:"山南",23:"日喀则",24:"那曲",25:"阿里",26:"林芝"},61:{1:"西安",2:"铜川",3:"宝鸡",4:"咸阳",5:"渭南",6:"延安",7:"汉中",8:"榆林",9:"安康",10:"商洛"},62:{1:"兰州",2:"嘉峪关",3:"金昌",4:"白银",5:"天水",6:"武威",7:"张掖",8:"平凉",9:"酒泉",10:"庆阳",11:"定西",12:"陇南",29:"临夏",30:"甘南"},63:{1:"西宁",21:"海东",22:"海北",23:"黄南",25:"海南",26:"果洛",27:"玉树",28:"海西"},64:{1:"银川",2:"石嘴山",3:"吴忠",4:"固原",5:"中卫"},65:{1:"乌鲁木齐",2:"克拉玛依",21:"吐鲁番",22:"哈密",23:"昌吉",27:"博尔塔拉",28:"巴音郭楞",29:"阿克苏",30:"克孜勒苏",31:"喀什",32:"和田",40:"伊犁",42:"塔城",43:"阿勒泰",91:"石河子",92:"阿拉尔",93:"图木舒克",94:"五家渠"},71:["台湾"],81:["香港"],82:["澳门"]}}),r=n("a78e"),s=n.n(r),c={get:function(e,t){var n="";"undefined"!==typeof node_cookie?n=node_cookie:"undefined"!==typeof window&&window.document&&(n=window.document.cookie);var o="";"undefined"!==typeof t&&(o=t);var i=new RegExp(e+"=(.*?)(;|$)"),a=n.match(i);return a&&a[1]&&(o=a[1]),o}},l={checkNodeEnv:function(){return!("undefined"!==typeof window&&window.navigator)},initEnv:function(){var e={ua:""},t="";"undefined"!==typeof node_userAgent?t=node_userAgent:"undefined"!==typeof window&&window.navigator.userAgent&&(t=window.navigator.userAgent),e.currPage="","undefined"!==typeof node_url?e.currPage=node_url:"undefined"!==typeof window&&window.location&&(e.currPage=window.location.href),e.ua=t.toLowerCase(),e.isWeixin=-1!=e.ua.indexOf("micromessenger"),e.isWorkWeixin=-1!=e.ua.indexOf("micromessenger")&&-1!=e.ua.indexOf("wxwork"),e.isQQ=-1!=e.ua.indexOf(" qq/"),e.isPvpApp=-1!=e.ua.indexOf(" igameapp/"),e.isTipApp=-1!=e.ua.indexOf(" gamelife/"),e.isAndroid=-1!=e.ua.indexOf("android"),e.isIos=-1!=e.ua.indexOf("iphone")||-1!=e.ua.indexOf("ipad"),e.isMsdk=-1!=e.ua.indexOf(" msdk/"),e.isSlugSdk=-1!=e.ua.indexOf("ingame"),e.isInGame=e.isMsdk||e.isSlugSdk,e.isGHelper=-1!=e.ua.indexOf("gamehelper"),e.isGHelper20004=-1!=e.ua.indexOf("gamehelper_20004"),e.isMiniProgram=e.ua.match(/miniprogram/i)||"miniprogram"===window.__wxjs_environment,e.isWindowsPhone=/(?:Windows Phone)/.test(e.ua),e.isSymbian=/(?:SymbianOS)/.test(e.ua)||e.isWindowsPhone,e.isPc=!e.isIos&&!e.isAndroid&&!e.isSymbian,e.version="";var n=e.ua.match(/micromessenger\/([\d\.]+)/i),o=e.ua.match(/ qq\/([\d\.]+)/i),i=e.ua.match(/ igameapp\/([\d\.]+)/i),a=e.ua.match(/ gamelife\/([\d\.]+)/i);n&&n[1]&&(e.version=n[1]),o&&o[1]&&(e.version=o[1]),i&&i[1]&&(e.version=i[1]),a&&a[1]&&(e.version=a[1]),e.loginType="",e.isQQ&&(e.loginType="tiploginqq"),e.isWeixin&&(e.loginType="tiploginwx"),e.isPvpApp&&(e.loginType="tiploginpvp"),e.isTipApp&&(e.loginType="tiplogintip"),e.isMsdk&&(e.loginType="tiploginmsdk"),e.isGHelper&&(e.loginType="tiploginghelper");var r=c.get("tiplogin_type");if(r&&(e.loginType=r),e.authQuery=l.getQueryObj(e.currPage),e.urlmodule="tipcomm","undefined"!==typeof e.authQuery.tipmdl&&""!=e.authQuery.tipmdl&&(e.urlmodule=e.authQuery.tipmdl),e.vconsole=c.get("vconsole")||0,!e.vconsole&&e.currPage){var s=e.currPage.match(/vconsole=([0-9]*?)(&|$)/);s&&s[1]&&(e.vconsole=s[1])}return e},getLoginInfo:function(){var e={};return e.tiplogin_openid=c.get("tiplogin_openid")||"",e.isLogin=e.tiplogin_openid?1:0,e.tiplogin_nick=c.get("tiplogin_nick")||"",e.tiplogin_headurl=decodeURIComponent(c.get("tiplogin_headurl")||""),e.tiplogin_gender=c.get("tiplogin_gender")||"1",e.tiplogin_ticket=c.get("tiplogin_ticket")||"",e},getQueryObj:function(e){var t,n={},o=e.substr(e.indexOf("?")>-1?e.indexOf("?")+1:e.length);o=o.split("&");var a,r=Object(i["a"])(o);try{for(r.s();!(a=r.n()).done;){var s=a.value;t=s.split("="),2==t.length&&(n[t[0]]=t[1])}}catch(c){r.e(c)}finally{r.f()}return n},getUrlPara:function(e){var t=window.location.search;if(!t){var n=location.hash;t=n?n.substring(n.indexOf("?")):""}for(var o=t.substring(1),i=o.split("&"),a=0;a-1?e.indexOf("?"):e.length);i+="?";var a=Object(o["a"])(Object(o["a"])({},n),t);for(var r in a)i+=r+"="+a[r]+"&";return i.substr(0,i.length-1)},dateFormat:function(e,t){var n={"M+":e.getMonth()+1,"d+":e.getDate(),"h+":e.getHours(),"m+":e.getMinutes(),"s+":e.getSeconds(),"q+":Math.floor((e.getMonth()+3)/3),S:e.getMilliseconds()};for(var o in/(y+)/.test(t)&&(t=t.replace(RegExp.$1,(e.getFullYear()+"").substr(4-RegExp.$1.length))),n)new RegExp("("+o+")").test(t)&&(t=t.replace(RegExp.$1,1==RegExp.$1.length?n[o]:("00"+n[o]).substr((""+n[o]).length)));return t},getTodayZero:function(){var e=new Date((new Date).toLocaleDateString()).getTime();return e},getZeroTimestamp:function(e){(""+e).length<11&&(e*=1e3);var t=new Date(new Date(e).toLocaleDateString());return Math.floor(t.getTime()/1e3)},getLastTimestamp:function(e){(""+e).length<11&&(e*=1e3);var t=new Date(new Date(e).toLocaleDateString());return t=Math.floor(t.getTime()/1e3),t+86400-1},getTimeAgo:function(e){var t=Math.round(new Date/1e3)-e,n=t>0?"前":"后";t=Math.abs(t);for(var o=["年","个月","星期","天","小时","分钟","秒"],i=[31536e3,2592e3,604800,86400,3600,60,1],a=0;a<7;a++){var r=Math.floor(t/i[a]);if(0!=r)return r+o[a]+n}},savePersist:function(e,t,n){if(this.checkNodeEnv())return!1;if("undefined"===typeof window.localStorage)return!1;var o="";try{o=JSON.stringify(t)}catch(i){}return!!o&&(n||(n=2592e6),localStorage["vue_da|"+e]=o,localStorage["vue_ep|"+e]=Date.now()+n,!0)},getPersist:function(e){if(!this.checkNodeEnv()&&"undefined"!==typeof window.localStorage){if(localStorage["vue_ep|"+e]0&&(o=i?i.substring(i.indexOf("?")):"")}return o}return""}};t["a"]=l},5880:function(e,t){e.exports=Vuex},6389:function(e,t){e.exports=VueRouter},"8bbf":function(e,t){e.exports=Vue},"9bc7":function(e,t,n){var o=n("24fb");t=o(!1),t.push([e.i,".default-dialog{width:68%;position:fixed;top:30%;left:50%;margin-left:-34%;z-index:200;background-color:#fff;padding-top:20px;font-size:.28rem;border-radius:2px;text-align:center}.default-dialog .dialog-title{font-size:.32rem;color:#4a4a4a}.dialog-con{color:#4a4a4a;font-size:.28rem;line-height:.4rem;padding:10px 20px 28px;text-align:center}.con-gray{color:#9b9b9b}.dialog-btn{display:-webkit-box;display:-ms-flexbox;display:flex;display:-webkit-flex}.dialog-btn a{height:40px;line-height:40px;-webkit-box-flex:1;-ms-flex:1;flex:1;-webkit-flex:1;text-align:center;width:100%;display:block;border-top:1px solid hsla(0,0%,84.7%,.5)}.two-btn a:last-child{border-left:1px solid hsla(0,0%,84.7%,.5)}.d-btn-default{color:#4a4a4a}.d-btn-primary{color:#d49b38}.dialog-close-bottom{width:48px;height:48px;position:absolute;bottom:-80px;left:50%;margin-left:-24px;text-indent:-10000em;overflow:hidden}.layer{width:100%;height:100%;position:fixed;background:rgba(0,0,0,.7);z-index:99;top:0;left:0}",""]),e.exports=t},b626:function(e,t,n){"use strict";n.r(t);n("a481"),n("cadf"),n("551c"),n("f751"),n("097d"),n("7f7f");var o=n("db72"),i=n("2d63"),a=(n("456d"),n("ac6a"),n("8bbf")),r=n.n(a),s=n("5880"),c=n.n(s),l=n("6389"),u=n.n(l),d=n("c6bf"),p={initPerformance:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"tip-ingame-h5",t="https://mat1.gtimg.com/www/js/emonitor/custom_e57dc344.js";Object(d["a"])(t,(function(){emonitor.create({name:e,atta:{name:"pmd_h5"},mode:"all",delay:1500,cgi:{sampling:1,code:["r"],msg:["msg"]},logs:{sampling:1},onCustom:function(e){}})}))}},g=p,f=n("5404"),m=f["a"].initEnv(),h="other";m.isMsdk?h="msdk":m.isSlugSdk?h="isslugsdk":m.isMiniProgram?h="miniProgram":m.isWeixin?h="weixin":m.isQQ?h="qq":m.isPvpApp?h="pvpapp":m.isGHelper20004?h="gphelper":m.isGHelper?h="ghelper":null!==f["a"].getUrlPara("channel")?h=f["a"].getUrlPara("channel"):null!==f["a"].getUrlPara("adtag")&&(h=f["a"].getUrlPara("adtag"));var v={},w={};function y(e,t,n){if("undefined"==typeof w[e]){w[e]=0;var o=document.createElement("script"),i=document.body||document.getElementsByTagName("head")[0];o.onerror=function(){""!==n&&"function"==typeof n&&n()},o.readyState?o.onreadystatechange=function(){"loaded"!=o.readyState&&"complete"!=o.readyState||(o.onreadystatechange=null,"function"==typeof t&&(w[e]=1,t()))}:o.onload=function(){"function"==typeof t&&(w[e]=1,t())},o.src=e,i.appendChild(o)}else var a=setInterval((function(){w[e]&&(t(),clearInterval(a))}),20)}function x(e){if("undefined"==typeof e||null==e||""==e)return!1;var t={hottag:e};y(window._djlJsUrl,(function(){pgvSendClick(t)}))}window._ishttps="https:"==document.location.protocol,window._djlJsUrl="https://pingjs.qq.com/tcss.ping.https.js",v.Init=function(){y(window._djlJsUrl,(function(){pgvMain({virtualURL:document.location.path,virtualDomain:"igame.qq.com",useCookie:"false",repeatApplay:"true"})}))},v.ReportUrl=function(e){y(window._djlJsUrl,(function(){pgvMain({virtualURL:e,virtualDomain:"igame.qq.com",useCookie:"false",repeatApplay:"true"})}))},v.ReportHotTag=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(app instanceof r.a){if(e){var n=document.location.pathname.replace(/\//g,"_").replace("index.html","").replace("_","");e=t?n+"."+app.$router.currentRoute.name+"."+e+"."+h:n+"."+app.$router.currentRoute.name+"."+e}console.log("---------------reportHotTag---------------",e),x(e)}},v.ReportAdTag=function(e){var t=document.location.pathname.replace(/\//g,"_").replace("index.html","").replace("_",""),n=t+".channel."+e+"."+h;console.log("---------------reportAdTag---------------",n),x(n)};var b=v,_=(n("4917"),n("000e")),k=_["a"].axios_interp,O=n("a78e"),S=(n("6821f"),{namespaced:!0,state:{},getters:{},actions:{},mutations:{}});S.state.tiplogin_ticket="",S.getters.tiplogin_ticket=function(e,t,n){return e.tiplogin_ticket},S.mutations.set_tiplogin_ticket=function(e,t){e.tiplogin_ticket=t},S.state.limitLoginTypes=[],S.getters.limitLoginTypes=function(e){return e.limitLoginTypes},S.mutations.set_limitLoginTypes=function(e,t){e.limitLoginTypes=t},S.state.limitLoginDirect=!1,S.getters.limitLoginDirect=function(e){return e.limitLoginDirect},S.mutations.set_limitLoginDirect=function(e,t){e.limitLoginDirect=t},S.state.loginType="",S.getters.loginType=function(e){return e.loginType},S.mutations.set_loginType=function(e,t){e.loginType=t},S.state.loginUrl="",S.getters.loginUrl=function(e){return e.loginUrl||""},S.mutations.set_loginUrl=function(e,t){e.loginUrl=t||""},S.state.loginTypeList={WX:{loginType:"tiploginwx",typeName:"微信",typeImg:"https://game.gtimg.cn/images/user/cp/gamesystem20170725/png_ico/ico_wexin.png"},QQ:{loginType:"tiploginqq",typeName:"QQ",typeImg:"https://game.gtimg.cn/images/user/cp/gamesystem20170725/png_ico/ico_qq.png"},OA:{loginType:"tiploginoa",typeName:"OA",typeImg:"http://igame-10037599.image.myqcloud.com/e7b971ac-8c9d-44c6-8384-79ef8a74d6bb"},WXPC:{loginType:"tiploginwxwc",typeName:"电脑微信",typeImg:"https://game.gtimg.cn/images/user/cp/gamesystem20170725/png_ico/ico_wexin.png"}},S.getters.loginTypeList=function(e){return e.loginTypeList||""},S.mutations.set_loginTypeList=function(e,t){e.loginTypeList=t||""},S.state.env=void 0,S.getters.env=function(e){return e.env},S.mutations.set_env=function(e,t){t&&(t.lasttime=Date.now()),e.env=t},S.state.authQuery=void 0,S.getters.authQuery=function(e){return e.authQuery},S.mutations.set_authQuery=function(e,t){e.authQuery=t},S.state.loginInfo=void 0,S.getters.loginInfo=function(e){return e.loginInfo},S.mutations.set_loginInfo=function(e,t){t&&(t.lasttime=Date.now()),e.loginInfo=t},S.state.wxSignature=void 0,S.getters.wxSignature=function(e){return e.wxSignature},S.mutations.set_wxSignature=function(e,t){t&&(t.lasttime=Date.now()),e.wxSignature=t},S.actions.getEnvLoginInfo=function(e,t){var n=t.rootStore,o=t.router,i=t.backurl,a=e.commit,r=(e.dispatch,e.state);e.rootState;i=encodeURIComponent(i||""),a("set_env",f["a"].initEnv()),""==r.loginType&&(r.loginType=O.get("tiplogin_type")||""),console.log(r.loginType);var s="";s=location.hostname.indexOf(".oa.com")>0?"/pmd/comm/getloginurl?backurl="+i:"igame.qq.com"===location.hostname?"//m.igame.qq.com/pvp/comm/loginmgr/getloginurl?backurl="+i:"test.igame.qq.com"===location.hostname?"//mtest.igame.qq.com/pvp/comm/loginmgr/getloginurl?backurl="+i:"/pvp/comm/loginmgr/getloginurl?backurl="+i;var c=k(n,o).get(s,{responseType:"json"}).then((function(e){return r.loginTypeList=e.data.data.list,r.loginInfo=e.data.data.loginInfo,e})).catch((function(e){console.log("ajax getlogininfo failed,"+(e.message||""))}));return c},S.actions.getWxSignature=function(e,t){var n=t.rootStore,o=t.router,i=e.commit,a=(e.dispatch,e.state);e.rootState;if(0==f["a"].checkNodeEnv()&&a.wxSignature)return Promise.resolve({data:a.wxSignature});var r="https://m.igame.qq.com/pvp/share/get_share_cfg",s=k(n,o).get(r,{responseType:"json"}).then((function(e){return i("set_loginUrl",e.data.url),i("set_wxSignature",e.data),e})).catch((function(e){console.log("ajax getWxSignature failed,"+(e.message||""))}));return s},S.actions.gotoLogin=function(e,t){e.commit,e.dispatch;var n=e.state;e.rootState;window.location.replace(n.loginUrl)};var E=S,P={namespaced:!0,state:{},getters:{},actions:{},mutations:{}};P.state.uploadhash="",P.getters.uploadhash=function(e){return console.log("getters.uploadhash",e.uploadhash),e.uploadhash},P.mutations.set_uploadhash=function(e,t){console.log("set_uploadhash",t),e.uploadhash=t},P.state.uploadhashing=!1,P.getters.uploadhashing=function(e){return e.uploadhashing},P.mutations.set_uploadhashing=function(e,t){e.uploadhashing=t};var D=P,A=(n("54ba"),{});function L(e){var t=e.$options.title;if(t)return"function"===typeof t?t.call(e):t}A.serverTitleMixin={created:function(){var e=L(this);e&&(this.$ssrContext.title=e)}},A.clientTitleMixin={mounted:function(){var e=L(this);e&&(document.title=e)}};var q=A,j={};j.beforeRouteUpdate={beforeRouteUpdate:function(e,t,n){console.log("beforeRouteUpdate..");var o=this.$options.asyncData;o?o({store:this.$store,router:this.$router}).then(n).catch(n):n()}};var I=j,T={};T.consoleExpose={mounted:function(){"undefined"!==typeof window&&"undefined"!==typeof window.document&&this.$options&&this.$options.name&&0===this.$options.name.indexOf("view-")&&(window.cvm=this)}};var U=T,R=function(e){var t=new e({methods:{emit:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o1&&void 0!==arguments[1]&&arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:3e3;if(t&&window.sessionStorage.getItem("position")){var i=JSON.parse(window.sessionStorage.getItem("position"));return console.log("use cache",i),void e(i,ye.LocationSuccss)}function a(t){e&&(console.log("callback"),console.log(t),t&&"ip"!==t.type?e(t,ye.LocationSuccss):e(t,ye.LocationIpSuccss),t&&window.sessionStorage.setItem("position",JSON.stringify(t)))}function r(){e&&e(ye.fallback,ye.LocationFailed)}var s=navigator.userAgent.toLowerCase(),c=-1!=s.indexOf("micromessenger");n&&c?xe(e):Object(d["a"])("https://3gimg.qq.com/lightmap/components/geolocation/geolocation.min.js",(function(){var e=new qq.maps.Geolocation(ye.GEO_KEY,ye.GEO_REFERER),t={timeout:o};console.log("getLocation"),e.getLocation(a,r,t)}))};var be=ye,_e=n("caf9"),ke=n("a78e"),Oe=n.n(ke),Se={ids:["o5P-Ojt_m9ENX9Pknx4gsBCRHTKc","919AF5F0F94C096E2C48996BBA1FF1D3","o5P-Oji9KpU75mMTfxvNGqD3YqBQ","B68E736589D3E1A9B56D168953806FDA","o5P-OjoGKS2L6YkxMGR24b99_H9E","BE87C299B0AD3B88286B0A33360F51DB","0ED59A727FD6DE08A8A854EB9BE9DE85","o5P-Ojlv-gakoqdcKRlWWzgauFZk","o5P-Ojh70p5oLw4zcVFl7i_TkJiY","o5P-Ojo-HgmVye7ifis9t3uDzx54","o5P-OjgA7hmFuAHeNqbja-wjXPXs","8754FE46864CEA9C9FD3913D5B6256B2","775A021027B668262A59F0B959ECA380","o5P-OjrTvB-4hx3bQDka-V0cNXBE","D480A6251867E294B9BB0CC86852BE9A","o5P-OjmfeRyrlZmSQQbhkUZyZ3sk","709098BE3B27A5A3C61A1F42ECDA0F62","9F2CF84587CFFEC8222708C473DB406F","o5P-Ojt_hUAEjTFhzdQ_Y8-iotqE"]};n("157a");function Ee(){var e=window.sessionStorage.getItem("tip_uid")||Oe.a.get("msdk_uid");return-1!==Se.ids.indexOf(e)}(-1!=window.location.href.indexOf("test.igame.qq.com")||Ee())&&Object(d["a"])("https://cdn.bootcss.com/vConsole/3.3.4/vconsole.min.js",(function(){new VConsole}));var Pe="game.gtimg.cn",De="image.myqcloud.com",Ae="wx.qlogo.cn",Le="thirdqq.qlogo.cn",qe="thirdwx.qlogo.cn",je="q.qlogo.cn";function Ie(e){return e&&(-1!==e.indexOf(Pe)||-1!==e.indexOf(De)||-1!==e.indexOf(Ae)||-1!==e.indexOf(Le)||-1!==e.indexOf(je)||-1!==e.indexOf(qe))}function Te(e){var t=/http:/;return t.test(e)}r.a.use(_e["a"],{preLoad:1.3,filter:{http:function(e,t){Te(e.src)&&Ie(e.src)&&(e.src=e.src.replace("http","https"))},webp:function(e,t){if(t.supportWebp){var n=/image.myqcloud.com/;n.test(e.src)&&f["a"].initEnv().isIos&&(e.src+="?imageView2/2/format/webp")}}}});f["a"].initEnv();r.a.mixin({data:function(){return{env:f["a"].initEnv()}},computed:{tip_uid:function(){return this.env.isInGame?Oe.a.get("msdk_uid"):window.sessionStorage.getItem("tip_uid")},tip_utype:function(){return this.env.isInGame?Oe.a.get("msdk_utype"):window.sessionStorage.getItem("tip_utype")},tip_nick:function(){return decodeURIComponent(Oe.a.get("tiplogin_nick"))},tip_head:function(){return Oe.a.get("tiplogin_headurl")},tip_gid:function(){return 331}},mounted:function(){},methods:{getLocation:function(){return new Promise((function(e,t){be.initConfig({geo_key:"PBDBZ-NC5WP-KRBDR-LUV7Z-OKLOT-LVFQE",geo_referer:"tip",wx_conf_url:"https://m.igame.qq.com/pvp/share/get_share_cfg"}),be.startLocation((function(t,n){app.position={},app.position.lng=t.lng,app.position.lat=t.lat,e({location:t,flag:n})}),!0,!1)}))},getHttpsUrl:function(e){if(!e||""==e)return e;var t=e.indexOf("http"),n=e.indexOf("https"),o=e.indexOf(".ico");return-1!=o||0==t&&0!=n&&(e=e.replace("http","https")),e},goback:function(){""==document.referrer?(console.log("document.referrer",document.referrer),this.env.isMsdk&&window.msdkCloseWebview?window.msdkCloseWebview():this.env.isSlugSdk&&window.customBrowserInterface.closeWebview()):window.history.go(-1)},gobackrouter:function(){app.$router.back()}}});var Ue=function(e,t){e.beforeEach((function(n,o,i){function a(){return 1==Oe.a.get("admin_debug")?new Promise((function(e,t){var n=Oe.a.get("debug_uid");if(n){window.sessionStorage.setItem("tip_uid",n);var o=n.toUpperCase();o==n?window.sessionStorage.setItem("tip_utype",1):window.sessionStorage.setItem("tip_utype",2)}e()})):new Promise((function(n,o){window.sessionStorage.getItem("tip_uid")?n():t.dispatch("login/getEnvLoginInfo",{rootStore:t,router:e}).then((function(e){console.log("请求登录信息成功",t.state.login.loginInfo),window.sessionStorage.setItem("tip_uid",t.state.login.loginInfo.uid),window.sessionStorage.setItem("tip_utype",t.state.login.loginInfo.utype),n()})).catch((function(){console.log("请求登录信息失败"),o()}))}))}a().then((function(){console.log("获取uid成功"),i()})).catch((function(){console.log("catch 获取uid失败"),i()}))}))};se.StartApp({App:ge,routerMap:me,beforeStart:Ue})},c4fc:function(e,t,n){var o=n("9bc7");"string"===typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);var i=n("499e").default;i("0d5faba1",o,!0,{sourceMap:!1,shadowMode:!1})},c6bf:function(e,t,n){"use strict";var o={},i=0,a=function(e){var t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t)},r=function(e,t,n,r){var s;t&&"function"!==typeof t&&(r=t.context||r,s=t.setup,t=t.callback);var c,l,u=document.createElement("script"),d=!1,p=function(){d||(d=!0,l(),t&&t.call(r,c))},g=function(){c=new Error(e||"EMPTY"),p()};if(u.readyState&&!("async"in u)){var f=i++,m={loaded:!0,complete:!0},h=!1;l=function(){u.onreadystatechange=u.onerror=null,o[f]=void 0},u.onreadystatechange=function(){var e=u.readyState;if(!c){if(!h&&m[e]&&(h=!0,a(u)),"loaded"===e&&(u.children,"loading"===u.readyState))return g();"complete"===u.readyState&&p()}},u.onerror=g,o[f]=u,s&&s.call(r,u),u.src=e}else l=function(){u.onload=u.onerror=null},u.onerror=g,u.onload=p,u.async=!0,u.charset=n||"utf-8",s&&s.call(r,u),u.src=e,a(u)};t["a"]=r},cebe:function(e,t){e.exports=axios}},[["b626","runtime","chunk-libs"]]]);