(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["main"],{"000e":function(t,e,n){"use strict";var i=n("5530"),o=(n("2ca0"),n("ac1f"),n("1276"),n("5319"),n("4d63"),n("25f0"),n("466d"),n("99af"),n("caad"),n("2532"),n("d3b7"),n("5404")),a=(n("e7e5"),n("d399")),r=n("8bbf"),c=n.n(r);c.a.component("van-toast",a["a"]),a["a"].allowMultiple();var s={show:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e4;Object(a["a"])({message:t,zIndex:e})},showSuccess:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e4;a["a"].success({message:t,zIndex:e})},showFail:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e4;a["a"].fail({message:t,zIndex:e})}},l={};s.showLoading=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"加载中",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e4;l.clear&&l.clear(),l=a["a"].loading({message:t,duration:0,zIndex:e})},s.dismissLoading=function(){l.clear&&l.clear()};var d=s,u=n("a78e"),p=n.n(u),g=n("cebe"),f=function(){return"undefined"!==typeof window&&"undefined"!==typeof window.document},m=function(t){var e=t,n="";if(t.startsWith("http")){var i=t.split("/");i.length>=3&&(n=i[2]||"",e=e.replace(n,"hostplaceholder"))}var o=/[a-zA-z]+\.[a-zA-z]+\.[a-zA-z]+\.[a-zA-z]+/;return o.test(e)},h=function(){return window.location.origin.indexOf("nes.smoba.qq.com")>=0},v=function(){return"undefined"!==typeof node_mockwindow&&"undefined"!==typeof node_mockwindow.node_cookie?node_mockwindow.node_cookie:f()?window.document.cookie:""},w=function(t){1e5!==t.data.r&&1e5!==t.data.retcode||t.data&&t.data.url&&t.data.url.length>0&&(window.location.href=t.data.url)},_=function(t,e){var n=v(),i="";"undefined"!==typeof e&&(i=e);var o=new RegExp("".concat(t,"=(.*?)(;|$)")),a=n.match(o);return a&&a[1]&&(i=a[1]),i},b=function(t){if("string"===typeof t)try{t=new Function("","return ".concat(t))()}catch(e){try{t=JSON.parse(t)}catch(e){}}return t},x=window.location.protocol,y=window.location.host,k=-1!==y.indexOf("oa.com")?y:-1!=window.location.origin.indexOf("test.igame.qq.com")?"mtest.igame.qq.com":"m.igame.qq.com";g.defaults.baseURL="".concat(x,"//").concat(k);var S=function(){return navigator.userAgent.match(/miniprogram/i)||"miniprogram"===window.__wxjs_environment},q=function(t){S()&&o["a"].getUrlPara("_ticket")&&o["a"].getUrlPara("openid")&&(g.defaults.headers["Tip-Channel"]="wxproc");var e=Object(i["a"])(Object(i["a"])({},t),{},{withCredentials:!0,transformResponse:[b]}),n=g.create(e);return n},O=function(t){"undefined"===typeof t.params&&(t.params={});var e=window.sessionStorage.getItem("tip_debug_cgi_env"),n=window.location.host,i=n;return n.includes("mobile.oa.com")?i=/([a-zA-Z0-9]+\.){2}\w+/g.test(location.pathname)?"prod"!==e?"atest.igame.qq.com":"a.igame.qq.com":"prod"!==e?"mtest.igame.qq.com":"m.igame.qq.com":-1!==n.indexOf("oa.com")?i=n:h()?(i="api.nes.smoba.qq.com",-1!=window.location.origin.indexOf("h5-dev.nes.smoba.qq.com")&&"prod"!=e&&(i="api-dev.nes.smoba.qq.com"),-1!=window.location.origin.indexOf("h5-test.nes.smoba.qq.com")&&"prod"!=e&&(i="api-test.nes.smoba.qq.com")):i=m(t.url)?-1!=window.location.origin.indexOf("test.igame.qq.com")&&"prod"!=e?"atest.igame.qq.com":"a.igame.qq.com":-1!=window.location.origin.indexOf("test.igame.qq.com")&&"prod"!=e?"mtest.igame.qq.com":"m.igame.qq.com",t.baseURL="".concat(x,"//").concat(i),t.params.g_app_tk=_("tip_token",""),S()&&o["a"].getUrlPara("_ticket")&&o["a"].getUrlPara("openid")&&(o["a"].getUrlPara("_ticket")&&(t.params._ticket=o["a"].getUrlPara("_ticket")),-1!=window.location.origin.indexOf("test.igame.qq.com")&&(t.params._test_flag_=1),o["a"].getUrlPara("openid")&&(t.params.openid=o["a"].getUrlPara("openid")),o["a"].getUrlPara("uid")&&(t.params.uid=o["a"].getUrlPara("uid")),o["a"].getUrlPara("utype")&&(t.params.utype=o["a"].getUrlPara("utype")),o["a"].getUrlPara("_wxNickName")&&p.a.set("tiplogin_nick",o["a"].getUrlPara("_wxNickName")),o["a"].getUrlPara("_wxNvatarUrl")&&p.a.set("tiplogin_headurl",decodeURIComponent(o["a"].getUrlPara("_wxNvatarUrl")))),f()&&t.url&&(0==t.url.indexOf("https://")&&(t.url=t.url.substr(6)),0==t.url.indexOf("http://")&&(t.url=t.url.substr(5))),-1!==t.url.indexOf("?")?t.url+="&tstamp=".concat((new Date).getTime()).concat(o["a"].msdkSuffix().replace("?","&")):t.url+="?tstamp=".concat((new Date).getTime()).concat(o["a"].msdkSuffix().replace("?","&")),t},I=function(t){var e=t.data;if(e&&null==e.r)if(null==e.ret)e.r=0;else{if(e.r=e.ret,1e5==e.ret&&null!=t.headers.logininfo){var n=JSON.parse(t.headers.logininfo);null!=n&&null!=n.jumpLoginUrl&&(e.url=n.jumpLoginUrl)}null==e.msg&&null!=e.err_msg&&""!=e.err_msg?e.msg=e.err_msg:null==e.msg&&null!=e.err_desc&&""!=e.err_desc&&(e.msg=e.err_desc)}if(t.headers&&t.headers.logininfo)try{var i=JSON.parse(t.headers.logininfo);p.a.set("tip_uid",i.uid,{expires:7}),p.a.set("tip_utype",i.utype,{expires:7})}catch(o){"parse loginInfo e: ".concat(JSON.stringify(o))}},T=function(t,e){var n=t.data;return I(t),n&&(1e5==n.r||1e5==n.retcode)&&n.url?(window.sessionStorage.removeItem("tip_uid"),window.sessionStorage.removeItem("tip_utype"),void("function"===typeof window.globalGotoLogin?window.globalGotoLogin(t):w(t))):(f()&&t.config&&t.config.persist&&o["a"].savePersist(t.config.url,n,t.config.persist_time||0),e&&n&&0!=n.r&&19!=n.r&&1e5!=n.r&&n.msg&&d.showFail(n.msg),t)},L=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1e4,i=q({timeout:n});return window.globalGotoLogin=e,i.interceptors.request.use(O,(function(t){return Promise.reject(t)})),i.interceptors.response.use((function(e){return T(e,t)}),(function(t){if(!t.response||401!=t.response.status)return t&&t.message&&t.message.indexOf("timeout")>-1&&d.showFail("接口超时,稍后试试吧"),Promise.reject(t);"function"===typeof window.globalGotoLogin?window.globalGotoLogin():w()})),i};e["a"]={isCloudCGI:m,isPvpEsport:h,axios_interp:L,axiosInterp:L,requestInterceptor:O,responseInterceptor:T,defaultGotoLogin:w,getAxiosInstance:q}},"0070":function(t,e,n){"use strict";n.d(e,"a",(function(){return c})),n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return l}));n("e7e5"),n("d399"),n("d3b7");var i=n("74f3"),o=n("5404"),a=function(){return new Promise((function(t,e){Object(i["a"])({url:"/pvp/comm/user/get_role_list",oldCGI:!0,reqData:{gid:app.tip_gid},showMsgToast:!1}).then((function(e){var n={};if(e.role_info&&e.role_info.RoleList&&e.role_info.RoleList.length>0)for(var i=app.env.isIos?1:app.env.isAndroid?2:0,o=0;o0&&(n=e.role_info.RoleList[0].role_base_info)),t(n)})).catch((function(n){19===n.r?t({}):e(n)}))}))},r=function(){var t=o["a"].initEnv();return new Promise((function(e,n){var i=window.sessionStorage.getItem("pvp_role");if(i)e(JSON.parse(i));else if(t.isInGame||t.isGHelper){var a=o["a"].getPvpPartition();d(a).then((function(t){window.sessionStorage.setItem("pvp_role",JSON.stringify(t)),e(t)})).catch((function(){n()}))}else s().then((function(t){t?(window.sessionStorage.setItem("pvp_role",JSON.stringify(t)),e(t)):n()})).catch((function(){n()}))}))},c=function(){return new Promise((function(t,e){var n=window.sessionStorage.getItem("tip_role");if(n&&(n=JSON.parse(n)),n&&n.role_base_info&&n.role_base_info.roleidx)t(n);else{var i=331==app.tip_gid?r:a;i().then((function(e){var n={};n=e.role_base_info?e:{role_base_info:e},window.sessionStorage.setItem("tip_role",JSON.stringify(n)),t(n)})).catch((function(t){e(t)}))}}))},s=function(){return new Promise((function(t,e){var n={need_zone:1,need_grade:1,gid:331};Object(i["a"])({reqData:n,oldCGI:!0,showMsgToast:!1,url:"pvp/comm/user/get_main_role"}).then((function(n){if(n.data.role){var i={};i.role_base_info=n.data.role,n.gzone_name&&(i.gzone_name=n.gzone_name),n.lader_info&&(i.role_base_info.gopenid=n.lader_info.gopenid,i.role_base_info.lader_text=n.lader_info.lader_text,i.role_base_info.lader=n.lader_info.lader,i.role_base_info.lader_score=n.lader_info.lader_score),t(i)}else e()})).catch((function(t){1e5!=t.r&&e()}))}))},l=function(){var t=o["a"].initEnv();return new Promise((function(e,n){if(t.isInGame||t.isGHelper){var i=o["a"].getPvpPartition();e(i)}else s().then((function(t){t&&t.role_base_info&&t.role_base_info.subarea?e(t.role_base_info.subarea):n()})).catch((function(){n()}))}))},d=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return new Promise((function(e,n){var o={need_grade:1};Object(i["a"])({reqData:o,oldCGI:!0,showMsgToast:!1,url:"/pvp/comm/user/get_role_list"}).then((function(i){if(i.role_info){for(var o=i.role_info.RoleList,a=i.gopenid,r=i.lader_info,c=0;c1&&void 0!==arguments[1]?arguments[1]:0;if(t&&t.length>0){for(var n=document.location.pathname.replace(/\//g,"_").replace("_index.html","").replace("_",""),o=app.$router.currentRoute.name,a=[],r=0;r0){for(var e=[],n=0;n0&&(i=c.substring(c.indexOf("?")))}return i}return""};e["a"]={getZeroTimestamp:a["e"],getLastTimestamp:a["b"],getTimeAgo:a["c"],getTodayZero:a["d"],dateFormat:a["a"],getUrlPara:r["c"],getQueryObj:r["b"],composeUrlQuery:r["a"],getUserAgent:c["c"],getEnvUAType:c["b"],checkUAIsIOS:c["a"],checkNodeEnv:s["a"],getEnvCurrPage:s["b"],getEnvLoginType:s["c"],getLoginInfo:s["e"],getEnvVersion:s["d"],initEnv:s["f"],Cookies:u["a"],areaDataAll:l["b"],areaData:l["a"],getAreaCode:l["c"],getAreaName:l["d"],getProvName:l["f"],getCityName:l["e"],savePersist:d["c"],getPersist:d["b"],clearPersist:d["a"],msdkSuffix:g,getPvpPartition:p}},"560d":function(t,e,n){"use strict";n.r(e);n("e260"),n("e6cf"),n("cca6"),n("a79d"),n("d3b7");var i=n("5530"),o=n("b85c"),a=(n("3ca3"),n("ddb0"),n("159b"),n("b64b"),n("4de4"),n("99af"),n("ac1f"),n("5319"),n("b0c0"),n("8bbf")),r=n.n(a),c=n("5880"),s=n.n(c),l=n("6389"),d=n.n(l),u=(n("25f0"),n("c6bf")),p="tip-ingame-h5",g=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p,e="https://mat1.gtimg.com/www/js/emonitor/custom_46f41566.js";Object(u["a"])(e,(function(){emonitor.create({name:t,atta:{name:"pmd_h5"},mode:"all",delay:1500,cgi:{sampling:1,code:["r"],msg:["msg"]},cdn:{sampling:0},logs:{sampling:1},onBeforeSend:function(t){if(t.isErr&&t.source&&t.source.err_msg&&-1!=t.source.err_msg.toString().indexOf("igameAppWebPressBack"))return!1}})}))},f={initPerformance:g,DEFAULT_NAME:p},m=n("e2b3"),h=n("5404"),v=n("000e"),w=v["a"].axios_interp,_=n("a78e"),b={namespaced:!0,state:{},getters:{},actions:{},mutations:{}};b.state.tiplogin_ticket="",b.getters.tiplogin_ticket=function(t){return t.tiplogin_ticket},b.mutations.set_tiplogin_ticket=function(t,e){t.tiplogin_ticket=e},b.state.limitLoginTypes=[],b.getters.limitLoginTypes=function(t){return t.limitLoginTypes},b.mutations.set_limitLoginTypes=function(t,e){t.limitLoginTypes=e},b.state.limitLoginDirect=!1,b.getters.limitLoginDirect=function(t){return t.limitLoginDirect},b.mutations.set_limitLoginDirect=function(t,e){t.limitLoginDirect=e},b.state.loginType="",b.getters.loginType=function(t){return t.loginType},b.mutations.set_loginType=function(t,e){t.loginType=e},b.state.loginUrl="",b.getters.loginUrl=function(t){return t.loginUrl||""},b.mutations.set_loginUrl=function(t,e){t.loginUrl=e||""},b.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"}},b.getters.loginTypeList=function(t){return t.loginTypeList||""},b.mutations.set_loginTypeList=function(t,e){t.loginTypeList=e||""},b.state.env=void 0,b.getters.env=function(t){return t.env},b.mutations.set_env=function(t,e){e&&(e.lasttime=Date.now()),t.env=e},b.state.authQuery=void 0,b.getters.authQuery=function(t){return t.authQuery},b.mutations.set_authQuery=function(t,e){t.authQuery=e},b.state.loginInfo=void 0,b.getters.loginInfo=function(t){return t.loginInfo},b.mutations.set_loginInfo=function(t,e){e&&(e.lasttime=Date.now()),t.loginInfo=e},b.state.wxSignature=void 0,b.getters.wxSignature=function(t){return t.wxSignature},b.mutations.set_wxSignature=function(t,e){e&&(e.lasttime=Date.now()),t.wxSignature=e},b.actions.getEnvLoginInfo=function(t,e){var n=e.rootStore,i=e.router,o=e.backurl,a=t.commit,r=t.state;o=encodeURIComponent(o||""),a("set_env",h["a"].initEnv()),""==r.loginType&&(r.loginType=_.get("tiplogin_type")||""),r.loginType;var c="";c=location.hostname.indexOf(".oa.com")>0?"/pmd/comm/getloginurl?backurl=".concat(o):"igame.qq.com"===location.hostname?"//m.igame.qq.com/pvp/comm/loginmgr/getloginurl?backurl=".concat(o):"test.igame.qq.com"===location.hostname?"//mtest.igame.qq.com/pvp/comm/loginmgr/getloginurl?backurl=".concat(o):"/pvp/comm/loginmgr/getloginurl?backurl=".concat(o);var s=w(n,i).get(c,{responseType:"json"}).then((function(t){return r.loginTypeList=t.data.data.list,r.loginInfo=t.data.data.loginInfo,t})).catch((function(t){"ajax getlogininfo failed,".concat(t.message||"")}));return s},b.actions.getWxSignature=function(t,e){var n=e.rootStore,i=e.router,o=t.commit,a=t.state;if(0==h["a"].checkNodeEnv()&&a.wxSignature)return Promise.resolve({data:a.wxSignature});var r="https://m.igame.qq.com/pvp/share/get_share_cfg",c=w(n,i).get(r,{responseType:"json"}).then((function(t){return o("set_loginUrl",t.data.url),o("set_wxSignature",t.data),t})).catch((function(t){"ajax getWxSignature failed,".concat(t.message||"")}));return c},b.actions.gotoLogin=function(t){var e=t.state;window.location.replace(e.loginUrl)};var x=b,y={namespaced:!0,state:{},getters:{},actions:{},mutations:{}};y.state.uploadhash="",y.getters.uploadhash=function(t){return t.uploadhash,t.uploadhash},y.mutations.set_uploadhash=function(t,e){t.uploadhash=e},y.state.uploadhashing=!1,y.getters.uploadhashing=function(t){return t.uploadhashing},y.mutations.set_uploadhashing=function(t,e){t.uploadhashing=e};var k=y,S={};function q(t){var e=t.$options.title;if(e)return"function"===typeof e?e.call(t):e}S.serverTitleMixin={created:function(){var t=q(this);t&&(this.$ssrContext.title=t)}},S.clientTitleMixin={mounted:function(){var t=q(this);t&&(document.title=t)}};var O=S,I={beforeRouteUpdate:{beforeRouteUpdate:function(t,e,n){var i=this.$options.asyncData;i?i({store:this.$store,router:this.$router}).then(n).catch(n):n()}}},T=I,L=n("a78e"),C=n.n(L),j=n("d53f"),D={data:function(){return{env:h["a"].initEnv(),tipUid:"",tipUtype:2,tipNick:"",tipHead:"",tipMsdkSuffix:"",tip_role:null}},activated:function(){var t=document.querySelector(".keep-position-wrap"),e=document.querySelector(".keep-position-wrap-b");this.$route&&this.$route.meta&&this.$route.meta.keepPosition&&(t&&this.$route.meta.$scrollTop&&"function"===typeof t.scrollTo&&t.scrollTo(0,this.$route.meta.$scrollTop),e&&this.$route.meta.$scrollTopB&&"function"===typeof e.scrollTo&&e.scrollTo(0,this.$route.meta.$scrollTopB))},computed:{tip_uid:{get:function(){return this.env.isInGame&&C.a.get("msdk_uid")?this.tipUid=C.a.get("msdk_uid"):this.tipUid=C.a.get("tip_uid"),this.tipUid},set:function(t){C.a.set("tip_uid",t,{expires:7}),this.tipUid=t}},tip_utype:{get:function(){return this.env.isInGame&&C.a.get("msdk_utype")?this.tipUtype=C.a.get("msdk_utype"):this.tipUtype=C.a.get("tip_utype"),this.tipUtype},set:function(t){C.a.set("tip_utype",t,{expires:7}),this.tipUtype=t}},tip_nick:{get:function(){return this.tipNick=C.a.get("tiplogin_nick")?decodeURIComponent(C.a.get("tiplogin_nick")):"",this.tipNick},set:function(t){this.tipNick=t}},tip_head:{get:function(){return this.tipHead=C.a.get("tiplogin_headurl"),this.tipHead},set:function(t){this.tipHead=t}},tip_msdk_suffix:{get:function(){return this.env.isInGame||1==Object(j["c"])("tipdzdialog")?(this.tipMsdkSuffix=window.sessionStorage.getItem("tip_msdk_suffix"),this.tipMsdkSuffix):""},set:function(t){this.tipMsdkSuffix=t,window.sessionStorage.setItem("tip_msdk_suffix",t)}}},methods:{getHttpsUrl:function(t){if(!t||""==t)return t;var e=t.indexOf("http"),n=t.indexOf("https"),i=t.indexOf(".ico");return-1!=i||0==e&&0!=n&&(t=t.replace("http","https")),t}}},A={};A.consoleExpose={mounted:function(){"undefined"!==typeof window&&"undefined"!==typeof window.document&&this.$options&&this.$options.name&&0===this.$options.name.indexOf("view-")&&(window.cvm=this)}},A.commonDataMixins=D;var U=A,P=function(t){var e=new t({methods:{emit:function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i0?2*t.el.width:0,n=t.el.height>0?2*t.el.height:0),e=Z(e,1,!0),n=Z(n,1,!0),e>200&&n>200&&e===n&&(n=0),e<10&&n<10&&(e=0,n=0),e>150||n>150?t.src="".concat(t.src,"?imageMogr2/format/yjpeg/quality/80/thumbnail/!").concat(e>0?e.toString():"","x").concat(n>0?n.toString():"","r"):(e>0||n>0)&&(t.src="".concat(t.src,"?imageMogr2/thumbnail/!").concat(e>0?e.toString():"","x").concat(n>0?n.toString():"","r"))}}var Z=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=String(t).length;if(i<=e)return t;var o=Math.pow(10,e);return n?Math.ceil(t/o)*o:Math.floor(t/o)*o},tt={preLoad:1.3,attempt:1,filter:{http:function(t){Y(t.src)&&X(t.src)&&(t.src=t.src.replace("http","https")),K(t)},cdn:function(t){if(t.src){var e=t.src.split("/");if(e&&e.length>2){var n=e[2];V.has(n)&&(t.src=t.src.replace(n,V.get(n)))}}}},adapter:{loading:function(t){K(t)}}},et=function(t){var e=t.createImageBitmap,n=t.Image;return e&&n?new Promise((function(t){var i=new n;i.onload=function(){e(i).then((function(){t(!0)})).catch((function(){t(!1)}))},i.onerror=function(){t(!1)},i.src="data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAAAAAAfQ//73v/+BiOh/AAA="})):Promise.resolve(!1)},nt=function(){var t=null;return function(){return t||(t=et(window)),t}},it=n("d4ec"),ot=n("bee2"),at=n("d76c"),rt=n("0a10");n("5abe");var ct="tip-to-observe",st="tip-to-report",lt=500,dt=500,ut=1e3,pt=2e3,gt=function(){function t(){Object(it["a"])(this,t),this.instance=null,this.intersectionObserver=new IntersectionObserver((function(t){t.forEach((function(t){t.isIntersecting?mt(t):ht(t)}))})),vt()}return Object(ot["a"])(t,[{key:"observe",value:function(t,e){var n=Ot(e);t.setAttribute("report-data",JSON.stringify(n)),t.setAttribute("guid",ft()),this.intersectionObserver.observe(t)}}],[{key:"getInstance",value:function(){return this.instance||(this.instance=new t),this.instance}}]),t}(),ft=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){var e=16*Math.random()|0,n="x"==t?e:3&e|8;return n.toString(16)}))},mt=function(t){var e=t.target,n=e.getAttribute("report-data"),i=e.getAttribute("guid"),o=(new Date).getTime(),a=!1,r={id:i,data:n,stime:o,hasObserve:a};bt(i)||xt(r)},ht=function(t){var e=t.target,n=e.getAttribute("guid"),i=(new Date).getTime(),o=bt(n);o&&i-o.stime>=lt&&!o.hasObserve&&kt(o),yt(n)},vt=function(){setInterval((function(){wt().forEach((function(t){var e=(new Date).getTime();e-t.stime>=lt&&!t.hasObserve&&(t.hasObserve=!0,xt(t),kt(t))}))}),dt),setTimeout((function(){setInterval((function(){_t().length&&(qt(_t()),St())}),ut)}),pt)},wt=function(){var t=[];for(var e in window.sessionStorage)e.indexOf(ct)>-1&&t.push(JSON.parse(window.sessionStorage.getItem(e)));return t},_t=function(){var t=[];for(var e in window.localStorage)if(e.indexOf(st)>-1&&e.indexOf("vue_da|")>-1){var n=e.replace("vue_da|","");t.push(JSON.parse(Object(rt["b"])(n)))}return t},bt=function(t){var e=window.sessionStorage.getItem("".concat(ct,"-").concat(t));return e?JSON.parse(e):null},xt=function(t){window.sessionStorage.setItem("".concat(ct,"-").concat(t.id),JSON.stringify(t))},yt=function(t){window.sessionStorage.removeItem("".concat(ct,"-").concat(t))},kt=function(t){t.eventTime=Math.round((new Date).getTime()/1e3),Object(rt["c"])("".concat(st,"-").concat(t.id),JSON.stringify(t))},St=function(){for(var t in window.localStorage)if(t.indexOf(st)>-1&&t.indexOf("vue_da|")>-1){var e=t.replace("vue_da|","");Object(rt["a"])(e)}},qt=function(t){if(t){var e=[];t.forEach((function(t){var n=t.data&&"undefined"!=t.data?JSON.parse(t.data):[];n.forEach((function(n){n.eventTime=t.eventTime||0,e.push(n)}))})),Object(at["b"])({reportList:e})}},Ot=function(t){var e=t;if(e){e&&!Array.isArray(e)&&(e=[e]);var n=[];return e.forEach((function(t){var e=t,i={};switch(e.eventId){case"task_exposure":i=It(t);break;case"brand_exposure":i=Tt(t);break;case"merchant_exposure":i=Lt(t);break;default:i=t;break}i.channel=app.reportChannel,i.source=app.reportSource||"",i.gid=app.tip_gid,i.plat=app.env.isAndroid?"1":"2",app.position&&(i.lat=app.position.lat,i.lng=app.position.lng),n.push(i)})),n}},It=function(t){var e=t.task,n={};return e&&(n={eventId:"task_exposure",actId:e.actid||"0",brandId:e.brandid||"",merchantId:e.merchantid||"",extra:"",module:t.module||""}),n},Tt=function(t){var e={eventId:"brand_exposure",brandId:t.brandid||"",module:t.module||""};return e},Lt=function(t){var e={eventId:"merchant_exposure",brandId:t.brandid||"",merchantId:t.merchantid||"",module:t.module||""};return e},Ct={bind:function(t,e){"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype&&setTimeout((function(){gt.getInstance().observe(t,e.value)}),50)}},jt=function(t){t.directive("treport",Ct)};window.Vue&&(window.treport=Ct,Vue.use(jt)),Ct.install=jt;var Dt=Ct,At=(n("b680"),n("b544")),Ut="https://ossweb-img.qq.com/images/pmd/pvp/logo/defaulthead.png",Pt=function(t){return"undefined"===typeof t?"0.0%":(t*=100,"".concat(t.toFixed(1),"%"))},Et=function(t){return"undefined"===typeof t?"0.00%":(t*=100,"".concat(t.toFixed(2),"%"))},Rt=function(t,e){return t=1*(t||0),t.toFixed(e)},Mt=function(t){return t||Ut},Nt={DEFAULT_HEAD_URL:Ut,defaulthead:Mt,percentage1:Pt,percentage2:Et,fixDPoint:Rt,dateFormat:At["f"]},$t=n("cebe"),Qt=n.n($t),Wt=n("3a34"),Gt=n.n(Wt),zt=n("9164");function Ft(){var t=h["a"].getUrlPara("vconsole")||"";if(!(t.indexOf("false")>-1)&&!app.consoleLog)if(app.consoleLog=1,-1!==window.location.href.indexOf("test.igame.qq.com")||-1!==window.location.href.indexOf("h5-dev.nes.smoba.qq.com"))Jt();else{var e=sessionStorage.getItem("vConsole_no_delay");if("1"==e)return void Jt();setTimeout((function(){window.app.tip_uid&&Xt().then((function(){Jt()})).catch((function(t){}))}),10)}}function Jt(){var t=Bt(),e=Ht(),n=Yt(),i=Kt(),o=Zt(),a=new Gt.a;a.addPlugin(e),a.addPlugin(t),a.addPlugin(n),a.addPlugin(i),a.addPlugin(o)}var Bt=function(){var t=new Gt.a.VConsolePlugin("tip_tool","切换环境");t.on("init",(function(){this.list=[]}));var e="
------------------欢迎使用TIP调试插件------------------
";return t.on("renderTab",(function(t){t(e)})),t.on("addTool",(function(t){var e=[];e.push({name:"测试环境",global:!1,onClick:function(){window.sessionStorage.setItem("tip_debug_cgi_env","test"),setTimeout((function(){location.reload()}),1e3)}}),e.push({name:"现网环境",global:!1,onClick:function(){window.sessionStorage.setItem("tip_debug_cgi_env","prod"),setTimeout((function(){location.reload()}),1e3)}}),t(e)})),t},Ht=function(){var t=new Gt.a.VConsolePlugin("tip_login","反馈");t.on("init",(function(){this.list=[]}));var e=window.location.href,n=app.tip_uid,i=navigator.userAgent,o=document,a=o.cookie,r='

URL:'.concat(e,'

\n

uid:').concat(n,'

\n

UA:').concat(i,'

\n

cookie:').concat(a,"

");t.on("renderTab",(function(t){t(r)}));var c=[];return c.push({name:"复制用户信息",global:!1,onClick:function(){var t={url:e,uid:n,UA:i,cookie:a};Vt(JSON.stringify(t))}}),c.push({name:"复制网络请求",global:!1,onClick:function(){var t=app.vConsole.pluginList.network.reqList,e=[];Object.keys(t).forEach((function(n){var i=t[n];e.push({url:i.url,status:i.status,getParam:i.getData,postParam:i.postData,costTime:i.costTime,response:i.response})})),Vt(JSON.stringify(e))}}),c.push({name:"复制日志",global:!1,onClick:function(){var t=app.vConsole.pluginList.default.$tabbox.innerText;Vt(t)}}),t.on("addTool",(function(t){t(c)})),t},Vt=function(t){var e=document.createElement("textarea");e.innerHTML=t,document.body.appendChild(e),e.select();var n=document.execCommand("copy");document.body.removeChild(e),n?alert("已复制,开去粘贴吧~"):alert("当前环境暂不支持复制,请长按选择复制~\r\n".concat(t))};function Xt(){return new Promise((function(t,e){Qt.a.get("https://tip-components-1251917893.cos.ap-guangzhou.myqcloud.com/dev-list.txt?timestamp=".concat(Date.parse(new Date))).then((function(n){if(window.app.tip_uid&&n.data){var i=window.app.tip_uid,o=n.data;-1!==o.indexOf(i)?t():e()}})).catch((function(t){e()}))}))}function Yt(){var t=new Gt.a.VConsolePlugin("destory_vconsole","隐藏vConsole"),e="点击destory将会隐藏vconsole";t.on("renderTab",(function(t){t(e)}));var n=[];return n.push({name:"隐藏vConsole",global:!1,onClick:function(){var t=document.querySelector("#__vconsole");t&&(t.style="display:none;")}}),t.on("addTool",(function(t){t(n)})),t}function Kt(){var t=new Gt.a.VConsolePlugin("load_delay","去掉vConsole加载延迟"),e="点击将去除vConsole下次的加载延迟";t.on("renderTab",(function(t){t(e)}));var n=[];return n.push({name:"去除延迟",global:!1,onClick:function(){sessionStorage.setItem("vConsole_no_delay","1")}}),n.push({name:"恢复延迟",global:!1,onClick:function(){sessionStorage.removeItem("vConsole_no_delay")}}),n.push({name:"刷新页面",global:!1,onClick:function(){window.location.reload()}}),t.on("addTool",(function(t){t(n)})),t}function Zt(){var t=new Gt.a.VConsolePlugin("version","版本信息");return t.on("renderTab",(function(t){"getVersion(): ".concat(JSON.stringify(Object(zt["getVersion"])())),t("构建时间:".concat(Object(At["a"])(new Date(+Object(zt["getVersion"])()),"yyyy-MM-dd hh:mm:ss")))})),t}var te=n("dae4");r.a.use(Dt),r.a.config.productionTip=!1,r.a.config.devtools=!0;var ee,ne,ie={},oe=[{path:"/login",name:"login",meta:{needLogin:!1},hidden:!0,component:function(){return n.e("chunk-20df8310").then(n.bind(null,"9b37"))}}],ae={login:x,global:k};for(var re in r.a.mixin(O.clientTitleMixin),r.a.mixin(T.beforeRouteUpdate),U)U.hasOwnProperty(re)&&r.a.mixin(U[re]);function ce(t){if(!ee&&!ne){r.a.use(d.a),r.a.use(s.a),"undefined"===typeof t.routerMap&&(t.routerMap=[]);var e,n=[].concat(oe),a=Object(o["a"])(t.routerMap);try{for(a.s();!(e=a.n()).done;){var c=e.value,l=!1,u=void 0;for(u in n)if(c.path==n[u].path){l=!0;break}l?n[u]=c:n.push(c)}}catch(p){a.e(p)}finally{a.f()}ee=new d.a({mode:t.prerender?"history":"hash",fallback:!1,routes:n,scrollBehavior:function(t,e,n){return n||{x:0,y:0}}}),"undefined"===typeof t.vxModule&&(t.vxModule={}),"undefined"===typeof t.vxModuleGetter&&(t.vxModuleGetter={}),ne=new s.a.Store({modules:Object(i["a"])(Object(i["a"])({},ae),t.vxModule),getters:t.vxModuleGetter})}}function se(t){if("undefined"!==typeof t.App){ce(t),"function"===typeof t.beforeStart&&t.beforeStart(ee,ne),f.initPerformance(t.appName),ee.beforeEach((function(e,n,i){e.meta&&e.meta.title&&(document.title=e.meta.title),t.noReportTCSS||(m["a"].ReportUrl("".concat(document.location.pathname.replace("index.html",""),"/").concat(e.name)),m["a"].ReportAdTag(e.name)),i()})),ee.afterEach((function(){Ft(),Object(te["a"])(t.loginType)})),ee.afterEach(le);var e=new r.a({el:"#app",i18n:t.i18n,router:ee,store:ne,render:function(e){return e(t.App)},mounted:function(){t.prerender&&document.dispatchEvent(new Event("render-event"))}});window.app=e,t.reportChannel&&(window.app.reportChannel=t.reportChannel),t.reportSource&&(window.app.reportSource=t.reportSource),t.loginType&&(window.app.loginType=t.loginType),t.loginFunction&&(window.app.loginFunction=t.loginFunction),window.app.isSupportWebP=!1,nt()().then((function(t){window.app.isSupportWebP=t})).catch((function(t){}))}}function le(t,e){var n=document.querySelector(".keep-position-wrap"),i=document.querySelector(".keep-position-wrap-b");if(e.meta&&e.meta.keepPosition){if(n){var o=n.scrollTop;e.meta.$scrollTop=o}if(i){var a=i.scrollTop;e.meta.$scrollTopB=a}}}r.a.use(E),r.a.use(N),r.a.use(Q.a,tt),r.a.config.ignoredElements=["wx-open-launch-app","wx-open-launch-weapp"],Object.keys(Nt).forEach((function(t){r.a.filter(t,Nt[t])})),ie.StartApp=se,ie.router=ee,ie.store=ne;var de=ie,ue=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("router-view")},pe=[],ge={components:{},data:function(){return{}},mounted:function(){var t=navigator.userAgent.toLowerCase();-1!=t.indexOf("ingame")?Object(u["a"])("https://ossweb-img.qq.com/htdocs/images/js/ingame_sdk/browser_adapt.js",(function(){})):-1!=t.indexOf(" msdk/")&&Object(u["a"])("https://img.ssl.msdk.qq.com/wiki/msdkJsAdapter.js",(function(){}))},methods:{}},fe=ge,me=n("2877"),he=Object(me["a"])(fe,ue,pe,!1,null,null,null),ve=he.exports,we=[{path:"/",name:"index",component:function(){return Promise.all([n.e("chunk-986c3a18"),n.e("chunk-4d1a5fba")]).then(n.bind(null,"580b"))}},{path:"/index",name:"index",component:function(){return Promise.all([n.e("chunk-986c3a18"),n.e("chunk-4d1a5fba")]).then(n.bind(null,"580b"))}}],_e=we,be=n("af2c"),xe=n("74f3"),ye={},ke="PBDBZ-NC5WP-KRBDR-LUV7Z-OKLOT-LVFQE";ye.LocationSuccess=1,ye.LocationIpSuccess=2,ye.LocationSuccss=1,ye.LocationIpSuccss=2,ye.LocationFailed=3,ye.fallback={lat:22.548178,lng:113.944866};var Se=432e5;ye.localExpireMs=Se,ye.GEO_KEY="",ye.GEO_REFERER="",ye.WEIXIN_CONF_URL="";var qe=!0,Oe=!0,Ie=3e3,Te=!1,Le=!1,Ce=!0;function je(t,e){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=!1,o=!1;function a(e){t&&(e&&"ip"!==e.type?t(e,ye.LocationSuccss):t(e,ye.LocationIpSuccss)),e&&Ee(e)}function r(){Re(t)}function c(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(e.coords&&e.coords.latitude&&e.coords.longitude){var n=e.coords,o=n.latitude,r=n.longitude,c=n.accuracy,s={accuracy:c,latitude:o,longitude:r,lat:o,lng:r,type:"h5"};return i=!0,void a(s)}Pe(t)}function s(e){e&&e.code,o=!0,Pe(t)}function l(){Object(u["a"])("https://3gimg.qq.com/lightmap/components/geolocation/geolocation.min.js",(function(){var t=new qq.maps.Geolocation(ye.GEO_KEY,ye.GEO_REFERER),n={timeout:e};t.getLocation(a,r,n)}))}n?l():(setTimeout((function(){i||o||Pe(t)}),e),navigator&&navigator.geolocation&&navigator.geolocation.getCurrentPosition?navigator.geolocation.getCurrentPosition(c,s,{timeout:e}):Pe(t))}function De(t){var e=n("18a0");Qt()({method:"get",dataType:"json",url:ye.WEIXIN_CONF_URL}).then((function(n){var i=n.data;if(0==i.r){e.config({beta:!0,debug:!1,appId:i.wxappid,timestamp:i.timestamp,nonceStr:i.noncestr,signature:i.signature,jsApiList:["getLocation","openLocation"]});var o={type:"gcj02",success:function(e){var n={lat:parseFloat(e.latitude),lng:parseFloat(e.longitude)};Ee(n),t&&t(n,ye.LocationSuccss)},fail:function(e){t&&t(ye.fallback,ye.LocationFailed)}};e.ready((function(){e.getLocation(o)}))}})).catch((function(e){"initWeChatLocation error : ".concat(e),t&&t(ye.fallback,ye.LocationFailed)}))}function Ae(t,e,n){var i=function(){n?je(t,e):t&&t(ye.fallback,ye.LocationFailed)};Object(xe["a"])({url:"https://a.igame.qq.com/pmdtrpc.commcgi.user.user/GetUserLbsInfo",cloudCGI:!0,showMsgToast:!1,oldCGIPostJsonObject:!0,timeout:3e3}).then((function(e){if(e.lbsinfo)if(e.lbsinfo.gpsinfo&&e.lbsinfo.gpsinfo.lat&&e.lbsinfo.gpsinfo.lng){var n={lat:parseFloat(e.lbsinfo.gpsinfo.lat),lng:parseFloat(e.lbsinfo.gpsinfo.lng)};Ee(n),t&&t(n,ye.LocationSuccss)}else if(e.lbsinfo.netinfo&&e.lbsinfo.netinfo.iplat&&e.lbsinfo.netinfo.iplng){var o={lat:parseFloat(e.lbsinfo.netinfo.iplat),lng:parseFloat(e.lbsinfo.netinfo.iplng)};Ee(o),t&&t(o,ye.LocationIpSuccss)}else i();else i()})).catch((function(t){i()}))}ye.initConfig=function(t){ye.GEO_KEY=t.geo_key,ye.GEO_REFERER=t.geo_referer,ye.WEIXIN_CONF_URL=t.wx_conf_url},ye.startLocation=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:qe,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Oe,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Ie,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:Te,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:Le,r=arguments.length>6&&void 0!==arguments[6]?arguments[6]:Se,c=arguments.length>7&&void 0!==arguments[7]?arguments[7]:Ce;if(!window.__PRERENDER_INJECTED||window.__PRERENDER_INJECTED.initLocation)if(ye.localExpireMs=r,e&&window.sessionStorage.getItem("position")){var s=JSON.parse(window.sessionStorage.getItem("position"));t(s,ye.LocationSuccss)}else{if(a){var l=Object(rt["b"])("position");if(l){var d=JSON.parse(l);return void t(d,ye.LocationSuccss)}}var u=navigator.userAgent.toLowerCase(),p=-1!=u.indexOf("micromessenger"),g=-1!=u.indexOf(" msdk/")||-1!=u.indexOf("ingame")||null!==Object(j["c"])("tipdzdialog")||window.sessionStorage.getItem("tipdzdialog");n&&p?De(t):o&&g?Ae(t,i,c):je(t,i,c)}else t&&t(ye.fallback,ye.LocationFailed)},ye.baseGetLocation=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.cache,o=void 0===i?qe:i,a=n.useWxSdk,r=void 0===a?Oe:a,c=n.timeout,s=void 0===c?Ie:c,l=n.useTipSdk,d=void 0===l?Te:l,u=n.localCache,p=void 0===u?Le:u,g=n.localExpireMs,f=void 0===g?Se:g,m=n.useTencentMap,h=void 0===m?Ce:m,v=n.extraCallBack,w=void 0===v?null:v;ye.initConfig({geo_key:ke,geo_referer:"tip",wx_conf_url:"https://m.igame.qq.com/pvp/share/get_share_cfg"}),ye.startLocation((function(e,n){if(app.position=e,app.position.province&&app.position.city){var i=Object(be["c"])(app.position.province,app.position.city);i.length>1&&(app.position.provinceId=i[0]||0,app.position.cityId=i[1]||0)}t({location:e,flag:n}),"function"===typeof w&&w(e,n)}),o,r,s,d,p,f,h)};var Ue=ye;function Pe(t){Qt.a.get("https://apis.map.qq.com/ws/location/v1/ip?key=".concat(ke)).then((function(e){var n=e&&e.data&&e.data.result||{},i=n&&n.location||{};if(i.lat&&i.lng&&t){var o={lat:i.lat,lng:i.lng,ip:n.ip,type:"ip",adInfo:n.ad_info};return Ee(o),void t(o,ye.LocationIpSuccss)}Re(t)})).catch((function(e){Re(t)}))}function Ee(t){window.sessionStorage.setItem("position",JSON.stringify(t)),Object(rt["c"])("position",JSON.stringify(t),ye.localExpireMs)}function Re(t){t&&t(ye.fallback,ye.LocationFailed)}var Me=n("5a70");function Ne(){var t=h["a"].getUrlPara("orderid"),e=h["a"].getUrlPara("keyid")||"",n=h["a"].getUrlPara("mailType")||"",i=window.sessionStorage.getItem("tip_have_post_orderid");t&&window.sessionStorage.setItem("tip_is_from_mail",1),e&&window.sessionStorage.setItem("tip_mail_keyid",e),n&&window.sessionStorage.setItem("tip_mail_type",n),t&&1!=i&&(window.sessionStorage.setItem("tip_have_post_orderid",1),m["a"].ReportHotTag("user_subscribe_open_mail",!1,!1),Object(Me["b"])(t,e).then((function(){})).catch((function(t){})))}function $e(t,e){if(1==C.a.get("admin_debug"))return new Promise((function(t){var e=C.a.get("debug_uid");if(e){window.sessionStorage.setItem("tip_uid",e);var n=e.toUpperCase();n==e?window.sessionStorage.setItem("tip_utype",1):window.sessionStorage.setItem("tip_utype",2)}t()}));var n=function(){return new Promise((function(n,i){e.dispatch("login/getEnvLoginInfo",{rootStore:e,router:t}).then((function(){e.state.login.loginInfo,window.app.tip_uid=e.state.login.loginInfo.uid,window.app.tip_utype=e.state.login.loginInfo.utype,window.app.tip_nick=e.state.login.loginInfo.nick,window.sessionStorage.setItem("tip_uid",e.state.login.loginInfo.uid),window.sessionStorage.setItem("tip_utype",e.state.login.loginInfo.utype),window.sessionStorage.setItem("tip_nick",e.state.login.loginInfo.nick),C.a.set("tip_uid",e.state.login.loginInfo.uid,{expires:7}),C.a.set("tip_utype",e.state.login.loginInfo.utype,{expires:7}),C.a.set("tip_nick",e.state.login.loginInfo.nick,{expires:7}),n()})).catch((function(){i()}))}))};return new Promise((function(t,e){C.a.get("tip_uid")&&t();var i=C.a.get("tip_uid"),o=window.sessionStorage.getItem("tip_uid");i&&o||n().then((function(){t()})).catch((function(){e()}))}))}function Qe(){window.sessionStorage.getItem("tip_msdk_suffix")||h["a"].msdkSuffix()&&window.sessionStorage.setItem("tip_msdk_suffix",h["a"].msdkSuffix())}function We(t,e){t.beforeEach((function(n,i,o){$e(t,e).then((function(){o()})).catch((function(){o()})),Qe()})),t.afterEach((function(){Ne()}))}r.a.mixin({data:function(){return{}},computed:{tip_gid:function(){return 331}},mounted:function(){},methods:{getLocation:function(){return new Promise((function(t){Ue.baseGetLocation((function(e){var n=e.location,i=e.flag;t({location:n,flag:i})}))}))},goback:function(){""==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()},reportHotTag:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];m["a"].ReportHotTag(t,e,n)}}});var Ge=We,ze="activities";de.StartApp({App:ve,routerMap:_e,beforeStart:Ge,reportChannel:ze})},5654:function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return b})),n.d(e,"a",(function(){return p}));var i=n("b85c"),o=(n("b0c0"),n("b64b"),n("99af"),n("ac1f"),n("5319"),n("1276"),n("b680"),"https://game.gtimg.cn/images/user/cp/wxsystemToC20170712/store/zkq0929.png"),a="https://game.gtimg.cn/images/user/cp/wxsystemToC20170712/store/jmq0929.png",r=function(t){var e={};if(null!=t){if(e.handleDetailClick=x,e.custom_info=t.custom_info||null,c(t.mercinfo,e),s(t.brandinfo,e),t.is_subscribe&&(e.issubscribe=t.is_subscribe),null!=t.privinfo&&(e.privgrade=t.privinfo.privgrade,e.privgradedesc=1===e.privgrade?"金牌特权":2===e.privgrade?"银牌特权":t.mercinfo.privgradedesc),null!=t.actshowlist){var n,o=[],a=[],r=Object(i["a"])(t.actshowlist);try{for(r.s();!(n=r.n()).done;){var u=n.value;l(e,u)&&o.push(l(e,u)),d(e,u)&&a.push(d(e,u))}}catch(p){r.e(p)}finally{r.f()}e.actList=o,e.signinList=a}e.tipReportBrandAndMerc=b(e.brandId,e.id,"record_prefer")}return e},c=function(t,e){return null!=t&&(e.id=t.merchantid,e.brandId=t.brandid,e.name=t.storename,e.logo=t.merclogo,e.address=t.mercaddr,e.distanceNumber=t.distance,e.distance=m(t.distance,t.servetype),e.issubscribe=t.issubscribe?t.issubscribe:0,e.status=t.status),e},s=function(t,e){return null!=t&&(e.brandId=t.brandid,e.brandtype=t.type,e.brandname=t.brandName,e.brandicon=t.brandicon,e.mercNum=t.mercNum,t.type&&1===t.type?(e.storeSize=t.brandName,e.mercNum=0,e.name=t.brandName):e.storeSize=e.name+(t.mercNum?"…等".concat(t.mercNum,"家门店"):""),1===t.type&&(e.distance="线上")),e},l=function(t,e){var n={};return n=p(e),n&&0!=Object.keys(n).length?(n.reportModule="record_prefer",n=u(n,t),n.tipReportData=_(n),n):null},d=function(t,e){if(304!=app.tip_gid&&323!=app.tip_gid)return null;var n={};return n=g(e),n&&0!=Object.keys(n).length?(n=u(n,t),n):null},u=function(t,e){return e&&(t.issubscribe=e.issubscribe,e.brandId?(t.brandid=e.brandId,t.brandName=e.brandName,t.brandtype=e.brandtype,t.mercdes=e.name,t.mercnum=e.mercNum,t.merchantid=t.merchantid||e.id,1==t.brandtype&&(t.mercdes=e.brandname)):(t.merchantid=t.merchantid||e.id,t.mercdes=e.name,t.mercnum=0)),t},p=function(t){var e={};if(null!==t&&t.merc_task_info){e.merchantid=t.merchantid,e.actid=t.act_id,e.exter_channel=t.exter_channel,e.brandactid=t.merc_task_info.brandactid,e.type=2;var n=t.merc_task_info.task_info;switch(e.pic=h(n.condition[0].gift),e.giftid=n.condition[0].gift.giftid,e.name=n.condition[0].gift.name,e.goods_list=n.condition[0].gift.goods_list,n.condition.length>1&&(e.pic2=h(n.condition[1].gift),e.giftid2=n.condition[1].gift.giftid,e.name2=n.condition[1].gift.name,e.goods_list2=n.condition[1].gift.goods_list),e.proc_jump_cfg=t.merc_task_info.proc_jump_cfg,e.benefittag=w(n.condition[0].gift),e.des=n.condition[0].desc,e.range_desc=n.condition[0].range_desc||"",e.funcid=n.taskid,e.taskid=n.taskid,e.actdesc=n.condition[0].desc,e.targetAchieve=n.condition[0].achieve_times,e.targetAchieve||(e.targetAchieve=0),e.targetDown=n.condition[0].target_times_down,e.targetAchieve>e.targetDown&&(e.targetAchieve=e.targetDown),e.isAchieve=!1,(!e.targetDown||e.targetAchieve>=e.targetDown)&&(e.isAchieve=!0),e.processDesc=n.condition[0].process_desc,e.acquireStatus=parseInt(t.merc_task_info.acquire_status),e.fieldid=n.condition[0].fieldid,e.shortDes=e.des,e.des="".concat(e.range_desc).concat(e.des),e.useWay=t.use_way,e.useWay){case 1:case"1":e.useWayText="线上";break;case 2:case"2":e.useWayText="到店";break;default:e.useWayText="通用";break}switch(e.winningtime=t.merc_task_info.winningtime,t.merc_task_info.orderid&&(e.winningtime="".concat(e.winningtime,"-").concat(t.merc_task_info.orderid)),e.rmdStatus=t.rmd_status,e.displayAcquireStatus="领取",e.acquireStatus){case 3:e.displayAcquireStatus="去使用";break;case 2:e.displayAcquireStatus="已领完";break;default:e.displayAcquireStatus="领取";break}1!=e.acquireStatus||e.isAchieve?e.displayButtonText=e.displayAcquireStatus:e.displayButtonText="未达成",1==e.acquireStatus&&e.isAchieve?e.displayButtonTextStyle="primary":3==e.acquireStatus?e.displayButtonTextStyle="secondary":1!=e.acquireStatus||e.isAchieve||8==e.fieldid?e.displayButtonTextStyle="tip":e.displayButtonTextStyle="disabled"}else if(null!=t&&t.actcombine&&t.actcombine.taskshowinfo)switch(t.acttype){case 2:e.type=2;var i=t.actcombine.taskshowinfo;switch(e.pic=h(i.condlist[0]),e.name=i.condlist[0].giftname,e.giftid=i.condlist[0].giftid,e.goods_list=i.condlist[0].goods_list,i.condlist.length>1&&(e.pic2=h(i.condlist[1]),e.name2=i.condlist[1].giftname,e.giftid2=i.condlist[1].giftid,e.goods_list2=i.condlist[1].goods_list),e.benefittag=v(t),e.des=i.condlist[0].desc,e.funcid=t.funcid,e.taskid=t.funcid,e.actdesc=t.actdesc,e.targetAchieve=i.targetarchive,e.targetAchieve||(e.targetAchieve=0),e.targetDown=i.condlist[0].targetdown,e.targetAchieve>e.targetDown&&(e.targetAchieve=e.targetDown),e.acquireStatus=parseInt(i.acquirestatus),e.fieldid=i.condlist[0].fieldid,e.targetDown&&(e.des="今日".concat(e.des)),6==i.condlist[0].fieldid&&(e.des="今日".concat(e.des),e.targetDown=0),e.displayAcquireStatus="领取",e.acquireStatus){case 3:e.displayAcquireStatus="去使用";break;case 2:e.displayAcquireStatus="已领完";break;default:e.displayAcquireStatus="领取";break}break;default:return null}return e},g=function(t){var e={};if(null!==t&&2==t.acttype&&t.merc_other_info&&2==t.merc_other_info.act_type){var n=t.merc_other_info;e.head_title=n.head_title,e.button_txt="前往",e.merchantid=t.merchantid,e.actid=f(n),n.reward_list&&(e.reward_list=n.reward_list)}return e},f=function(t){return t.wxproc_jumpurl?t.wxproc_jumpurl.split("&")[1].replace("actid=",""):null},m=function(t,e){if(e&&1590753786===e)return"线上";if(!t)return"";var n=Math.round(t);return n>1e3?(n=(Math.round(n/100)/10).toFixed(1),"".concat(n,"km")):"".concat(n,"m")},h=function(t){return 1===t.gifttype?o:2===t.gifttype?a:t.picurl},v=function(t){var e=t.actcombine.taskshowinfo,n=e.condlist[0];return e.condlist.length>0&&e.condlist[0].extra&&e.condlist[0].extra.benefittag?e.condlist[0].extra.benefittag:1===n.gifttype&&n.amount?"享".concat(n.amount.toFixed(1),"折"):2===n.gifttype&&n.amount?"立减".concat(n.amount.toFixed(1),"元"):""},w=function(t){return t.benefittag?t.benefittag:1===t.gifttype&&t.amount?"享".concat(t.amount.toFixed(1),"折"):2===t.gifttype&&t.amount?"立减".concat(t.amount.toFixed(1),"元"):""},_=function(t){var e={eventId:"task_exposure",module:"record_prefer",task:Object.assign({},t)};return e},b=function(t,e,n){var i=[];if(t){var o={eventId:"brand_exposure",module:n,brandid:t};i.push(o)}if(e){var a={eventId:"merchant_exposure",module:n,merchantid:e,brandid:t};i.push(a)}return i},x=function(t,e){t&&""!==t?k(t):e&&""!==e&&y(e)},y=function(t){app.$router.push({path:"/merchant/detail/".concat(t),query:{frompage:1}})},k=function(t){app.$router.push({path:"/brand/detail/".concat(t),query:{frompage:1}})}},5880:function(t,e){t.exports=Vuex},"5a70":function(t,e,n){"use strict";n.d(e,"b",(function(){return c})),n.d(e,"a",(function(){return s}));n("b85c"),n("d3b7"),n("159b"),n("b0c0");var i=n("74f3"),o=n("5654"),a=n("0070"),r=n("3a0f"),c=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return new Promise((function(n,o){var a={orderid:t,keyid:e,gid:app.tip_gid};Object(i["a"])({reqData:a,showMsgToast:!1,url:"/merc.merccgi.merc.comm/SetGameLetterOrderRead"}).then((function(t){n(t)})).catch((function(t){o(t)}))}))},s=function(t){return t.gid=app.tip_gid,t.lat=app.position.lat,t.lng=app.position.lng,t.province_id=app.position.provinceId,t.city_id=app.position.cityId,t.channel=3,new Promise((function(e,n){Object(a["a"])().then((function(i){app.tip_role=i,!t.roleidx&&app.tip_role&&app.tip_role.role_base_info&&app.tip_role.role_base_info.roleidx&&(t.roleidx=app.tip_role.role_base_info.roleidx),l(t).then((function(t){e(t)})).catch((function(t){n(t)}))})).catch((function(i){l(t).then((function(t){e(t)})).catch((function(t){n(t)}))}))}))},l=function(t){return new Promise((function(e,n){Object(i["a"])({reqData:t,showMsgToast:!1,url:"/merc.merccgi.acts.acts/GetNearbyMercAct"}).then((function(t){var n=[],i=!1;if(t.actshowcolumns){for(var a=0;a0){var s=Object(o["b"])(c);s.actList[0]&&(s.id=s.actList[0].merchantid),n.push(s)}}t.pageidx&&"end"===t.pageidx&&(i=!0)}else i=!0;r["a"].reportMerchantStat(n,33101),e([i,t.pageidx,n])})).catch((function(i){19===i.r?e([!0,t.pageidx,[]]):n(i)}))}))}},6389:function(t,e){t.exports=VueRouter},"74f3":function(t,e,n){"use strict";n("d3b7");var i=n("000e"),o=n("dae4"),a=n("4328"),r=n.n(a),c=function(t){Object(o["c"])(t.data.url)};function s(t){var e,n=t.url,o=void 0===n?"/commcgi/route/index":n,a=t.command,s=void 0===a?"":a,l=t.reqData,d=void 0===l?{}:l,u=t.oldCGI,p=void 0!==u&&u,g=t.showMsgToast,f=void 0===g||g,m=t.timeout,h=void 0===m?1e4:m;if(-1!==o.indexOf("/commcgi/route/index")||-1!==o.indexOf("/commcgi/route/ulogin-index")){var v={command:s,req_data:encodeURIComponent(JSON.stringify(d))};e=r.a.stringify(v)}else if(i["a"].isCloudCGI(o))e=d;else if(p){var w=d;e=r.a.stringify(w)}else{var _={req_data:encodeURIComponent(JSON.stringify(d))};e=r.a.stringify(_)}return i["a"].axios_interp(f,c,h)({method:"post",url:o,dataType:"json",data:e})}function l(t){return new Promise((function(e,n){s(t).then((function(t){0==t.data.r?e(t.data):n(t.data)})).catch((function(t){var e={};t&&t.response&&t.response.status&&(e.r=t.response.status),t&&t.response&&t.response.statusText&&(e.msg=t.response.statusText),null==e.msg&&null!=t&&(null!=t.message?e.msg=t.message:null!=t.stack&&(e.msg=t.stack)),n(e)}))}))}n.d(e,"a",(function(){return l}))},7868:function(t,e,n){"use strict";n("9b35")},"8bbf":function(t,e){t.exports=Vue},9164:function(t,e,n){var i={version:""};i=n("b4ac");var o=function(){var t=i,e=t.version;return e};t.exports={getVersion:o}},9236:function(t,e){t.exports=VueLazyload},"9b35":function(t,e,n){var i=n("fc63");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=n("499e").default;o("20bd3ee8",i,!0,{sourceMap:!1,shadowMode:!1})},af2c:function(t,e,n){"use strict";n("159b"),n("b64b"),n("ac1f"),n("5319");var i={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:["澳门"]}};function o(){var t=[],e={text:"全国",code:"0",children:[{text:"不限",code:"0"}]};return t.push(e),a(i,t,!0),t}function a(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=t.cityData,a=t.provData;return Object.keys(a).forEach((function(t){var n={};n.text=a[t],n.code=t,e.push(n)})),Object.keys(o).forEach((function(t){var i=o[t],a=[];if(Array.isArray(i)){var r={};r.text=i[0],r.code="0",a.push(r)}else n&&a.push({text:"全省",code:"0"}),Object.keys(i).forEach((function(t){var e={};e.text=i[t],e.code=t,a.push(e)}));for(var c=0;c0?"前":"后";e=Math.abs(e);for(var i=["年","个月","星期","天","小时","分钟","秒"],o=[31536e3,2592e3,604800,86400,3600,60,1],a=0;a<7;a++){var r=Math.floor(e/o[a]);if(0!=r)return r+i[a]+n}}},c6bf:function(t,e,n){"use strict";var i={},o=0,a=function(t){var e=document.getElementsByTagName("script")[0];e.parentNode.insertBefore(t,e)},r=function(t,e,n,r){var c;e&&"function"!==typeof e&&(r=e.context||r,c=e.setup,e=e.callback);var s,l,d=document.createElement("script"),u=!1,p=function(){u||(u=!0,l(),e&&e.call(r,s))},g=function(){s=new Error(t||"EMPTY"),p()};if(d.readyState&&!("async"in d)){o+=1;var f=o,m={loaded:!0,complete:!0},h=!1;l=function(){d.onreadystatechange=null,d.onerror=null,i[f]=void 0},d.onreadystatechange=function(){var t=d.readyState;if(!s){if(!h&&m[t]&&(h=!0,a(d)),"loaded"===t&&(d.children,"loading"===d.readyState))return g();"complete"===d.readyState&&p()}},d.onerror=g,i[f]=d,c&&c.call(r,d),d.src=t}else l=function(){d.onload=null,d.onerror=null},d.onerror=g,d.onload=p,d.async=!0,d.charset=n||"utf-8",c&&c.call(r,d),d.src=t,a(d)};e["a"]=r},c88c:function(t,e,n){"use strict";n.d(e,"a",(function(){return c})),n.d(e,"b",(function(){return s})),n.d(e,"c",(function(){return l})),n.d(e,"e",(function(){return d})),n.d(e,"d",(function(){return u})),n.d(e,"f",(function(){return p}));var i=n("5530"),o=(n("ac1f"),n("466d"),n("e1ae")),a=n("db24"),r=n("d53f");function c(){return!("undefined"!==typeof window&&window.navigator)}function s(){var t="";return"undefined"!==typeof node_url?t=node_url:"undefined"!==typeof window&&window.location&&(t=window.location.href),t}function l(t){var e="";t.isQQ&&(e="tiploginqq"),t.isWeixin&&(e="tiploginwx"),t.isPvpApp&&(e="tiploginpvp"),t.isTipApp&&(e="tiplogintip"),t.isMsdk&&(e="tiploginmsdk"),t.isGHelper&&(e="tiploginghelper");var n=o["a"].get("tiplogin_type");return n&&(e=n),e}function d(){var t={};return t.tiplogin_openid=o["a"].get("tiplogin_openid")||"",t.isLogin=t.tiplogin_openid?1:0,t.tiplogin_nick=o["a"].get("tiplogin_nick")||"",t.tiplogin_headurl=decodeURIComponent(o["a"].get("tiplogin_headurl")||""),t.tiplogin_gender=o["a"].get("tiplogin_gender")||"1",t.tiplogin_ticket=o["a"].get("tiplogin_ticket")||"",t}function u(t){var e="",n=t.match(/micromessenger\/([\d.]+)/i),i=t.match(/ qq\/([\d.]+)/i),o=t.match(/ igameapp\/([\d.]+)/i),a=t.match(/ gamelife\/([\d.]+)/i);return n&&n[1]&&(e=n[1]),i&&i[1]&&(e=i[1]),o&&o[1]&&(e=o[1]),a&&a[1]&&(e=a[1]),e}function p(){var t="",e=Object(a["c"])();t=e.toLowerCase();var n=Object(i["a"])({ua:t,currPage:s()},Object(a["b"])(t));if(n.version=u(t),n.loginType=l(t),n.authQuery=Object(r["b"])(n.currPage),n.urlmodule="tipcomm","undefined"!==typeof n.authQuery.tipmdl&&""!=n.authQuery.tipmdl&&(n.urlmodule=n.authQuery.tipmdl),n.vconsole=o["a"].get("vconsole")||0,!n.vconsole&&n.currPage){var c=n.currPage.match(/vconsole=([0-9]*?)(&|$)/);c&&c[1]&&(n.vconsole=c[1])}return n}},cb14:function(t,e,n){"use strict";n("d3f4")},cebe:function(t,e){t.exports=axios},d3f4:function(t,e,n){var i=n("0c78");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=n("499e").default;o("2a30a144",i,!0,{sourceMap:!1,shadowMode:!1})},d53f:function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return c}));var i=n("5530"),o=n("b85c");n("ac1f"),n("1276"),n("841c"),n("99af"),n("5319");function a(t){var e,n={},i=t.substr(t.indexOf("?")>-1?t.indexOf("?")+1:t.length);i=i.split("&");var a,r=Object(o["a"])(i);try{for(r.s();!(a=r.n()).done;){var c=a.value;e=c.split("="),2==e.length&&(n[e[0]]=e[1])}}catch(s){r.e(s)}finally{r.f()}return n}function r(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(e||(e=window.location.search),!e){var n=location,i=n.hash;e=i?i.substring(i.indexOf("?")):""}for(var o=e.substring(1),a=o.split("&"),r=0;r-1?t.indexOf("?"):t.length);o+="?";var r=Object(i["a"])(Object(i["a"])({},n),e);for(var c in r)o+="".concat(c,"=").concat(r[c],"&");return o.substr(0,o.length-1)}},d76c:function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return a}));n("99af");var i=n("74f3"),o=function(t){Object(i["a"])({reqData:t,showMsgToast:!1,url:"/merc.merccgi.merc.comm/MercReportTlog"}).then((function(t){})).catch((function(t){}))},a=function(t){Object(i["a"])({reqData:t,showMsgToast:!1,url:"/merc.merccgi.merc.comm/MercTaskReportList"}).then((function(t){})).catch((function(t){}))}},dae4:function(t,e,n){"use strict";n("ac1f"),n("466d"),n("5319"),n("99af"),n("d3b7");var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.showDialogLoginChoose?n("div",{staticClass:"tip-toc-dialog-wrap"},[n("div",{staticClass:"tip-toc-bottomdialog"},[n("a",{staticClass:"tip-toc-dialog-close",on:{click:t.closeDialog}}),t._v(" "),n("h4",{staticClass:"tip-toc-dialog-title"},[t._v("\n 登录游戏账号\n ")]),t._v(" "),n("div",{staticClass:"tip-toc-login"},[t.showQQ?n("a",{on:{click:t.jumpToLoginQQ}},[n("img",{attrs:{src:"https://game.gtimg.cn/images/user/cp/a20170922tipYYB/ico-qq.png"}}),t._v(" "),n("span",{staticClass:"public-text"},[t._v("QQ区登录")])]):t._e(),t._v(" "),t.showWX?n("a",{on:{click:t.jumpToLoginWx}},[n("img",{attrs:{src:"https://game.gtimg.cn/images/user/cp/a20170922tipYYB/ico-wx.png"}}),t._v(" "),n("span",{staticClass:"public-text"},[t._v("微信区登录")])]):t._e()])])]):t._e(),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.showDialogLoginWx,expression:"showDialogLoginWx"}],staticClass:"tip-toc-dialog-wrap"},[n("div",{staticClass:"tip-toc-dialog-role"},[n("a",{staticClass:"tip-toc-dialog-return",on:{click:function(e){t.showDialogLoginWx=!1,t.showDialogLoginChoose=!0}}},[t._v("返回")]),t._v(" "),n("h3",{staticClass:"tip-toc-dialog-title"},[t._v("\n 请使用微信扫码打开活动\n ")]),t._v(" "),n("a",{staticClass:"tip-toc-dialog-close",on:{click:function(e){t.showDialogLoginWx=!1,t.showDialogLoginChoose=!0}}}),t._v(" "),n("div",{staticClass:"tip-toc-wechat-login"},[n("div",{directives:[{name:"show",rawName:"v-show",value:!t.hideCanvas,expression:"!hideCanvas"}],staticClass:"tip-toc-wechat-login-img",attrs:{id:"qrcodeid"}}),t._v(" "),n("img",{staticClass:"tip-toc-wechat-login-img",staticStyle:{display:"inline-block"},attrs:{src:t.qrcodeSrc}}),t._v(" "),t._m(0)])])]),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.showDialogLoginQq,expression:"showDialogLoginQq"}],staticClass:"tip-toc-dialog-wrap"},[n("div",{staticClass:"tip-toc-dialog-role"},[n("a",{staticClass:"tip-toc-dialog-return",on:{click:function(e){t.showDialogLoginQq=!1,t.showDialogLoginChoose=!0}}},[t._v("返回")]),t._v(" "),n("h3",{staticClass:"tip-toc-dialog-title"},[t._v("\n 微信中不支持QQ区账号登录\n ")]),t._v(" "),n("a",{staticClass:"tip-toc-dialog-close",on:{click:function(e){t.showDialogLoginQq=!1,t.showDialogLoginChoose=!0}}},[t._v("关闭")]),t._v(" "),n("div",{staticClass:"tip-toc-wechat-login"},[n("img",{staticClass:"tip-toc-qq-login-img",attrs:{src:t.qqTipImage}})])])])])},o=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"tip-toc-wechat-login-tips"},[n("p",{staticClass:"tip-toc-press-save"},[t._v("\n 长按保存图片\n ")]),t._v(" "),n("span",[t._v("使用微信扫码打开访问页面")])])}],a=(n("7db0"),n("c6bf")),r=n("c88c"),c={props:{url:{type:String,default:"",required:!1},plat:{type:String,default:"",required:!1}},data:function(){return{env:Object(r["f"])(),redirectUrl:"",qrcodeSrc:"",hideCanvas:!1,showDialogLoginChoose:!1,showDialogLoginWx:!1,showDialogLoginQq:!1,qqTipImage:"https://image-1251917893.file.myqcloud.com/tipcomm/public_dialog-img/wx-zy.jpg",showQQ:!0,showWX:!0}},mounted:function(){this.init()},methods:{init:function(){var t=this;this.redirectUrl=this.url,this.showDialogLoginChoose=!0,"qq"==this.plat&&(this.showWX=!1),"wx"==this.plat&&(this.showQQ=!1),Object(a["a"])("https://image-1251917893.file.myqcloud.com/commjs/qrcode.min.js",(function(){new QRCode("qrcodeid",{text:t.getCurrentUrl(),width:90,height:90,correctLevel:QRCode.CorrectLevel.M});var e=window.document.getElementById("qrcodeid");if(e){var n=e.getElementsByTagName("canvas");n&&n.length>0&&n[0]&&(t.qrcodeSrc=n[0].toDataURL("image/png"),t.hideCanvas=!0)}})),this.redirectUrl||U().then((function(e){var n="";if(t.env.isWeixin){var i=e.find((function(t){return"WX"==t.LoginType}));i&&(n=i.LoginUrl)}else{var o=e.find((function(t){return"QQ"==t.LoginType}));o&&(n=o.LoginUrl)}t.redirectUrl=n}))},jumpToNext:function(){this.closeDialog(),this.redirectUrl&&this.redirectUrl.length>0&&(window.location.href=this.redirectUrl)},showWxDialog:function(){this.showDialogLoginChoose=!1,this.showDialogLoginWx=!0},showQqDialog:function(){this.showDialogLoginChoose=!1,this.showDialogLoginQq=!0},closeDialog:function(){this.showDialogLoginChoose=!1,this.showDialogLoginWx=!1,this.showDialogLoginQq=!1,this.$emit("dialogVisibleEvent",!1)},getCurrentUrl:function(){return window.location.href},jumpToLoginQQ:function(){this.env.isWeixin?this.showQqDialog():this.jumpToNext()},jumpToLoginWx:function(){this.env.isWeixin?this.jumpToNext():this.showWxDialog()}}},s=c,l=(n("7868"),n("2877")),d=Object(l["a"])(s,i,o,!1,null,"4fa0506e",null),u=d.exports,p=u,g=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"tip-wx-login-dialog-layout",attrs:{id:"tip-dialog-login"}},[n("div",{staticClass:"tip-wx-login-dialog-content"},[n("div",{staticClass:"el-dialog__header"},[n("span",{staticClass:"el-dialog__title"},[t._v("微信登录")]),t._v(" "),n("button",{staticClass:"el-dialog__headerbtn"},[n("i",{staticClass:"el-dialog__close el-icon el-icon-close",on:{click:function(e){return e.stopPropagation(),t.closeDialog(e)}}})])]),t._v(" "),t._m(0)])])},f=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"dialog-login-contant"},[n("div",{staticClass:"login-content"},[n("div",{staticClass:"login_container",attrs:{id:"login_container"}})])])}],m={props:{url:{type:String,default:"",required:!0}},data:function(){return{redirectQQUrl:"",redirectWxUrl:"",qrcodeSrc:"",hideCanvas:!1,showDialogLoginChoose:!1,showDialogLoginWx:!1}},mounted:function(){this.init()},methods:{init:function(){this.redirectQQUrl=this.getLoginUrl(this.url,!1),this.redirectWxUrl=this.getLoginUrl(this.url,!0),this.showDialogLoginChoose=!0,new window.WxLogin({id:"login_container",self_redirect:!1,appid:"wx224053afb6d8a600",scope:"snsapi_login",redirect_uri:encodeURIComponent(this.redirectWxUrl),state:"7a6d6ed5589082dd6c41d64d5206b064",style:"black",href:"https://image-1251917893.file.myqcloud.com/igame-admin/weixinlogin.css"})},jumpToNext:function(){this.closeDialog(),this.redirectQQUrl&&this.redirectQQUrl.length>0&&(window.location.href=this.redirectQQUrl)},showWxDialog:function(){this.showDialogLoginChoose=!1,this.showDialogLoginWx=!0},getLoginUrl:function(t,e){var n="";if(e)n="https://igame.qq.com/tipcomm/loginmgr/authlogin.php?_ltype=tiploginwxpc&_jumpurl=".concat(encodeURIComponent(t));else{var i="https://igame.qq.com/tipcomm/loginmgr/authlogin.php?_ltype=tiploginqq&_jumpurl=".concat(encodeURIComponent(t));n="https://graph.qq.com/oauth2.0/authorize?response_type=code&client_id=101425236&redirect_uri=".concat(encodeURIComponent(i),"&scope=get_user_info&state=7&display=pc")}return n},closeDialog:function(){var t="tip-dialog-login",e=document.getElementById(t);e&&document.body.removeChild(e)},getCurrentUrl:function(){return window.location.href}}},h=m,v=(n("cb14"),Object(l["a"])(h,g,f,!1,null,"5af52d5e",null)),w=v.exports,_=w,b=n("8bbf"),x=n.n(b),y=n("e1ae");n.d(e,"c",(function(){return D})),n.d(e,"b",(function(){return U})),n.d(e,"a",(function(){return R}));var k=n("6821");function S(t){var e=t.isWeixin,n=t.isWorkWeixin,i=t.isQQ,o=t.isPvpApp,a=t.isTipApp,r=t.isMsdk,c=t.isGHelper,s=t.isInGame,l=t.isSlugSdk,d=t.isGHelper20004,u=-1!==window.location.host.indexOf("oa.com");return e||n||i||o||a||r||l||s||c||d||u}var q,O=function(t,e){if(t.indexOf("graph.qq.com")<0&&t.indexOf("open.weixin.qq.com")<0)return t;var n=t.match(/redirect_uri=(.*?)&/);if(!n||!n[1])return t;var i=decodeURIComponent(n[1]),o="";n=i.match(/_ltype=(.*?)&/),o=n&&n[1]||"tiploginqq",i=i.replace(/_jumpurl=.*$/,"_jumpurl=".concat(encodeURIComponent(e))),t=t.replace(/redirect_uri=(.*?)&/,"redirect_uri=".concat(encodeURIComponent(i),"&"));var a=k("".concat(o,"@").concat(e));return t=t.replace(/state=(.*?)(&|#)/,"state=".concat(a,"$2")),t};function I(t){q&&q.$destroy();var e="tip-dialog-login-select-mobile",n=document.getElementById(e);n&&document.body.removeChild(n);var i=document.createElement("div");i.id=e,document.body.appendChild(i),q=new(x.a.extend(p))({el:i,propsData:t})}function T(t){q&&q.$destroy();var e="tip-dialog-login-select-wxpc",n=document.getElementById(e);n&&document.body.removeChild(n);var i=document.createElement("div");i.id=e,document.body.appendChild(i),q=new(x.a.extend(_))({el:i,propsData:t})}function L(t){return document.body.contains(t)}var C=function(t){q&&L(q.$el)||I(t)},j=function(){q&&L(q.$el)||T({url:window.location.href})},D=function(t){var e=window.location.href;t=O(t,e);var n=Object(r["f"])()||{};app.loginFunction?app.loginFunction():"WXPC"===app.loginType?j():"QQINPUT"===app.loginType?window.location.href=A():"ONLYQQ"===app.loginType?n.isQQ?window.location.href=t:C({url:t,plat:"qq"}):"ONLYWX"===app.loginType?n.isWeixin?window.location.href=t:C({url:t,plat:"wx"}):t&&t.length>0&&(S(n)?window.location.href=t:C({url:t}))},A=function(){return"https://ui.ptlogin2.qq.com/cgi-bin/login?style=9&appid=21000401&daid=0&s_url=".concat(encodeURIComponent(window.location.href),"&pt_no_onekey=1&low_login=0")},U=function(){return new Promise((function(t,e){app.$store.dispatch("login/getEnvLoginInfo",{rootStore:app.$store,router:app.$router,backurl:window.location.href}).then((function(){var e=app.$store.state.login.loginTypeList,n=A();e.push({LoginType:"QQINPUT",LoginUrl:n}),t(e)})).catch((function(t){e(t)}))}))},P=function(){y["a"].clearAll()};function E(){P(),app.tip_uid="",app.tip_utype=0,window.location.reload()}var R=function(t){"ONLYWX"==t&&app.tip_uid&&2!=app.tip_utype&&E(),"ONLYQQ"==t&&app.tip_uid&&1!=app.tip_utype&&E()}},db24:function(t,e,n){"use strict";n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return a}));n("ac1f"),n("466d");function i(){var t="";return"undefined"!==typeof node_userAgent?t=node_userAgent:"undefined"!==typeof window&&window.navigator.userAgent&&(t=window.navigator.userAgent),t}function o(t){var e=t||navigator.userAgent;return/iphone|ipod|ipad|Mac OS X/i.test(e)||!!e.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)}function a(t){var e=-1!==t.indexOf("micromessenger"),n=-1!==t.indexOf("wxwork"),i=-1!==t.indexOf(" qq/"),a=-1!==t.indexOf(" igameapp/"),r=-1!==t.indexOf(" gamelife/"),c=-1!==t.indexOf("android"),s=o(t),l=s,d=-1!==t.indexOf(" msdk/"),u=-1!==t.indexOf(" msdk/5"),p=-1!==t.indexOf("ingame"),g=d||p,f=-1!==t.indexOf("gamehelper"),m=-1!==t.indexOf("gamehelper_20004"),h=-1!==t.indexOf("miniprogram")||"miniprogram"===window.__wxjs_environment,v=/(?:Windows Phone)/.test(t),w=/(?:SymbianOS)/.test(t)||v,_=!t.match(/(phone|pad|pod|iphone|ipod|ios|ipad|android|mobile|blackberry|iemobile|mqqbrowser|juc|fennec|wosbrowser|browserng|webos|symbian|windows phone)/i);return{isWeixin:e,isWorkWeixin:n,isQQ:i,isPvpApp:a,isTipApp:r,isAndroid:c,isIos:s,isIOS:l,isMsdk:d,isMsdkV5:u,isSlugSdk:p,isInGame:g,isGHelper:f,isGHelper20004:m,isMiniProgram:h,isWindowsPhone:v,isSymbian:w,isPc:_}}},e1ae:function(t,e,n){"use strict";n("4d63"),n("ac1f"),n("25f0"),n("466d"),n("99af"),n("1276");var i={};function o(t,e){var n="";"undefined"!==typeof node_cookie?n=node_cookie:"undefined"!==typeof window&&window.document&&(n=window.document.cookie);var i="";"undefined"!==typeof e&&(i=e);var o=new RegExp("".concat(t,"=(.*?)(;|$)")),a=n.match(o);return a&&a[1]&&(i=a[1]),i}function a(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,i=new Date,o=n;i.setTime(i.getTime()+24*o*3600*1e3),document.cookie="".concat(t,"=").concat(e,";expires=").concat(i.toGMTString())}function r(t){a(t,"",-1)}function c(){var t="igame.qq.com";-1!==location.host.indexOf("oa.com")&&(t="pmd.oa.com");for(var e=document.cookie.split(";"),n=0;n-1?i.substr(0,o):i;document.cookie="".concat(a,"=;expires=Thu, 01 Jan 1970 00:00:00 GMT; Domain=.").concat(t,"; path=/")}}i.get=o,i.set=a,i.clear=r,i.clearAll=c,e["a"]=i},e2b3:function(t,e,n){"use strict";n("ac1f"),n("5319"),n("99af"),n("b0c0");var i=n("5404"),o=n("8bbf"),a=n.n(o);function r(){var t="other",e=i["a"].initEnv();return e.isMsdk?t="msdk":e.isSlugSdk?t="isslugsdk":e.isMiniProgram?t="miniProgram":e.isWeixin?t="weixin":e.isQQ?t="qq":e.isPvpApp?t="pvpapp":e.isGHelper20004?t="gphelper":e.isGHelper?t="ghelper":null!==i["a"].getUrlPara("tipdzdialog")&&(t="dialog"),null!==i["a"].getUrlPara("channel")?t=i["a"].getUrlPara("channel"):null!==i["a"].getUrlPara("adtag")&&(t=i["a"].getUrlPara("adtag")),t}var c=r(),s={},l={};function d(t,e,n){if("undefined"===typeof l[t]){l[t]=0;var i=document.createElement("script"),o=document.body||document.getElementsByTagName("head")[0];i.onerror=function(){""!==n&&"function"===typeof n&&n()},i.readyState?i.onreadystatechange=function(){"loaded"!=i.readyState&&"complete"!=i.readyState||(i.onreadystatechange=null,"function"===typeof e&&(l[t]=1,e()))}:i.onload=function(){"function"===typeof e&&(l[t]=1,e())},i.src=t,o.appendChild(i)}else var a=setInterval((function(){l[t]&&(e(),clearInterval(a))}),20)}function u(t){if("undefined"===typeof t||null==t||""==t)return!1;var e={hottag:t,virtualDomain:"igame.qq.com"};d(window._djlJsUrl,(function(){pgvSendClick(e)}))}window._ishttps="https:"==document.location.protocol,window._djlJsUrl="https://pingjs.qq.com/tcss.ping.https.js",s.Init=function(){d(window._djlJsUrl,(function(){pgvMain({virtualURL:document.location.path,virtualDomain:"igame.qq.com",useCookie:"false",repeatApplay:"true"})}))},s.ReportUrl=function(t){d(window._djlJsUrl,(function(){pgvMain({virtualURL:t,virtualDomain:"igame.qq.com",useCookie:"false",repeatApplay:"true"})}))},s.ReportBase=function(t){u(t)},s.ReportHotTag=function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(app instanceof a.a){if(t){var i=document.location.pathname.replace(/\//g,"_").replace("index.html","").replace("_","");t=n?e?"".concat(i,".").concat(app.$router.currentRoute.name,".").concat(t,".").concat(c):"".concat(i,".").concat(app.$router.currentRoute.name,".").concat(t):e?"".concat(i,".").concat(t,".").concat(c):"".concat(i,".").concat(t)}u(t)}},s.ReportAdTag=function(t){var e=document.location.pathname.replace(/\//g,"_").replace("index.html","").replace("_",""),n="".concat(e,".channel.").concat(t,".").concat(c);u(n)},e["a"]=s},fc63:function(t,e,n){var i=n("24fb");e=i(!1),e.push([t.i,".tip-toc-dialog-wrap[data-v-4fa0506e],.tip-toc-operating-layer[data-v-4fa0506e],.tip-toc-sharetips[data-v-4fa0506e]{position:fixed;z-index:9999;height:100%;width:100%;left:0;top:0;background:rgba(0,0,0,.8)}.tip-toc-bottomdialog[data-v-4fa0506e]{padding:.32rem 0 0;background:#fff;position:fixed;z-index:10000;bottom:0;left:0;right:0}.tip-toc-bottomdialog .tip-toc-dialogbtn[data-v-4fa0506e]{padding:0 .24rem .32rem}.tip-toc-bottomdialog .tip-toc-dialogbtn a[data-v-4fa0506e]{width:3rem}.tip-toc-dialog-close[data-v-4fa0506e]{width:.5rem;height:.5rem;position:absolute;right:.16rem;top:.16rem;display:block;background:url(https://image-1251917893.file.myqcloud.com/TIP_GameSystem_2020/toB/icon/ico-close.png) 50% no-repeat;background-size:.3rem .3rem}.tip-toc-dialog-title[data-v-4fa0506e]{font-size:.32rem;line-height:.44rem;text-align:center;color:#4a4a4a;font-weight:700}.tip-toc-dialog-content[data-v-4fa0506e]{height:3rem;padding:.12rem .4rem .24rem;text-align:center}.tip-toc-content-tips-normal[data-v-4fa0506e]{font-size:.32rem;margin-top:1rem;line-height:.4rem;color:#4a4a4a}.tip-toc-login[data-v-4fa0506e]{width:80%;margin:.4rem auto;text-align:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.tip-toc-login a[data-v-4fa0506e]{width:100%;padding:.2rem 0 .6rem}.tip-toc-login a img[data-v-4fa0506e]{width:1.4rem;height:1.4rem;display:block;margin:0 auto}.tip-toc-login a span[data-v-4fa0506e]{display:block;color:#333;font-size:.28rem;line-height:.4rem;padding-top:.12rem}.tip-toc-dialog-return[data-v-4fa0506e]{width:.32rem;height:.32rem;text-indent:-100rem;background:url(https://image-1251917893.file.myqcloud.com/tipcomm/public_dialog-img/icon-return.png) no-repeat;background-size:100% 100%;position:absolute;left:.4rem;top:.35rem}.tip-toc-dialog-role[data-v-4fa0506e]{padding:.32rem 0 0;background:#fff;position:fixed;left:0;right:0;bottom:0}.tip-toc-wechat-login[data-v-4fa0506e]{width:85%;margin:auto;text-align:center;padding:.3rem 0 .5rem}.tip-toc-wechat-login-img[data-v-4fa0506e]{width:2rem;height:2rem;padding:.14}.tip-toc-wechat-login-tips[data-v-4fa0506e]{font-size:.28rem;color:#9b9b9b;line-height:.4rem;white-space:normal}.tip-toc-press-save[data-v-4fa0506e]{color:#4a4a4a}",""]),t.exports=e}},[["560d","runtime","chunk-libs"]]]);