(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-de7146be"],{"0a06":function(e,t,n){"use strict";var i=n("c532"),o=n("30b5"),a=n("f6b4"),r=n("5270"),s=n("4a7b");function c(e){this.defaults=e,this.interceptors={request:new a,response:new a}}c.prototype.request=function(e){"string"===typeof e?(e=arguments[1]||{},e.url=arguments[0]):e=e||{},e=s(this.defaults,e),e.method=e.method?e.method.toLowerCase():"get";var t=[r,void 0],n=Promise.resolve(e);this.interceptors.request.forEach(function(e){t.unshift(e.fulfilled,e.rejected)}),this.interceptors.response.forEach(function(e){t.push(e.fulfilled,e.rejected)});while(t.length)n=n.then(t.shift(),t.shift());return n},c.prototype.getUri=function(e){return e=s(this.defaults,e),o(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},i.forEach(["delete","get","head","options"],function(e){c.prototype[e]=function(t,n){return this.request(i.merge(n||{},{method:e,url:t}))}}),i.forEach(["post","put","patch"],function(e){c.prototype[e]=function(t,n,o){return this.request(i.merge(o||{},{method:e,url:t,data:n}))}}),e.exports=c},"0a2f":function(e,t,n){t=e.exports=n("2350")(!1),t.push([e.i,".van-overlay{position:fixed;top:0;left:0;z-index:1;width:100%;height:100%;background-color:rgba(0,0,0,.7)}",""])},"0df6":function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},"0f72":function(e,t,n){!function(t,n){e.exports=n()}(window,function(){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var o=t[i]={i:i,l:!1,exports:{}};return e[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(i,o,function(t){return e[t]}.bind(null,o));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/lib/",n(n.s=55)}([function(e,t,n){"use strict";var i=n(5),o=n(20),a=Object.prototype.toString;function r(e){return"[object Array]"===a.call(e)}function s(e){return null!==e&&"object"==typeof e}function c(e){return"[object Function]"===a.call(e)}function l(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),r(e))for(var n=0,i=e.length;n=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};i.forEach(["delete","get","head"],function(e){c.headers[e]={}}),i.forEach(["post","put","patch"],function(e){c.headers[e]=i.merge(a)}),e.exports=c}).call(this,n(25))},function(e,t,n){"use strict";var i=n(0),o=n(27),a=n(6),r=n(29),s=n(30),c=n(10);e.exports=function(e){return new Promise(function(t,l){var d=e.data,f=e.headers;i.isFormData(d)&&delete f["Content-Type"];var u=new XMLHttpRequest;if(e.auth){var p=e.auth.username||"",m=e.auth.password||"";f.Authorization="Basic "+btoa(p+":"+m)}if(u.open(e.method.toUpperCase(),a(e.url,e.params,e.paramsSerializer),!0),u.timeout=e.timeout,u.onreadystatechange=function(){if(u&&4===u.readyState&&(0!==u.status||u.responseURL&&0===u.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in u?r(u.getAllResponseHeaders()):null,i={data:e.responseType&&"text"!==e.responseType?u.response:u.responseText,status:u.status,statusText:u.statusText,headers:n,config:e,request:u};o(t,l,i),u=null}},u.onabort=function(){u&&(l(c("Request aborted",e,"ECONNABORTED",u)),u=null)},u.onerror=function(){l(c("Network Error",e,null,u)),u=null},u.ontimeout=function(){l(c("timeout of "+e.timeout+"ms exceeded",e,"ECONNABORTED",u)),u=null},i.isStandardBrowserEnv()){var g=n(31),h=(e.withCredentials||s(e.url))&&e.xsrfCookieName?g.read(e.xsrfCookieName):void 0;h&&(f[e.xsrfHeaderName]=h)}if("setRequestHeader"in u&&i.forEach(f,function(e,t){void 0===d&&"content-type"===t.toLowerCase()?delete f[t]:u.setRequestHeader(t,e)}),e.withCredentials&&(u.withCredentials=!0),e.responseType)try{u.responseType=e.responseType}catch(t){if("json"!==e.responseType)throw t}"function"==typeof e.onDownloadProgress&&u.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&u.upload&&u.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then(function(e){u&&(u.abort(),l(e),u=null)}),void 0===d&&(d=null),u.send(d)})}},function(e,t,n){"use strict";var i=n(28);e.exports=function(e,t,n,o,a){var r=new Error(e);return i(r,t,n,o,a)}},function(e,t,n){"use strict";var i=n(0);e.exports=function(e,t){t=t||{};var n={};return i.forEach(["url","method","params","data"],function(e){void 0!==t[e]&&(n[e]=t[e])}),i.forEach(["headers","auth","proxy"],function(o){i.isObject(t[o])?n[o]=i.deepMerge(e[o],t[o]):void 0!==t[o]?n[o]=t[o]:i.isObject(e[o])?n[o]=i.deepMerge(e[o]):void 0!==e[o]&&(n[o]=e[o])}),i.forEach(["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"],function(i){void 0!==t[i]?n[i]=t[i]:void 0!==e[i]&&(n[i]=e[i])}),n}},function(e,t,n){"use strict";function i(e){this.message=e}i.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},i.prototype.__CANCEL__=!0,e.exports=i},function(e,t,n){e.exports=n(19)},,,,,,function(e,t,n){"use strict";var i=n(0),o=n(5),a=n(21),r=n(11);function s(e){var t=new a(e),n=o(a.prototype.request,t);return i.extend(n,a.prototype,t),i.extend(n,t),n}var c=s(n(8));c.Axios=a,c.create=function(e){return s(r(c.defaults,e))},c.Cancel=n(12),c.CancelToken=n(34),c.isCancel=n(7),c.all=function(e){return Promise.all(e)},c.spread=n(35),e.exports=c,e.exports.default=c},function(e,t){ /*! * Determine if an object is a Buffer * * @author Feross Aboukhadijeh * @license MIT */ e.exports=function(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},function(e,t,n){"use strict";var i=n(0),o=n(6),a=n(22),r=n(23),s=n(11);function c(e){this.defaults=e,this.interceptors={request:new a,response:new a}}c.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=s(this.defaults,e)).method=e.method?e.method.toLowerCase():"get";var t=[r,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach(function(e){t.unshift(e.fulfilled,e.rejected)}),this.interceptors.response.forEach(function(e){t.push(e.fulfilled,e.rejected)});t.length;)n=n.then(t.shift(),t.shift());return n},c.prototype.getUri=function(e){return e=s(this.defaults,e),o(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},i.forEach(["delete","get","head","options"],function(e){c.prototype[e]=function(t,n){return this.request(i.merge(n||{},{method:e,url:t}))}}),i.forEach(["post","put","patch"],function(e){c.prototype[e]=function(t,n,o){return this.request(i.merge(o||{},{method:e,url:t,data:n}))}}),e.exports=c},function(e,t,n){"use strict";var i=n(0);function o(){this.handlers=[]}o.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){i.forEach(this.handlers,function(t){null!==t&&e(t)})},e.exports=o},function(e,t,n){"use strict";var i=n(0),o=n(24),a=n(7),r=n(8),s=n(32),c=n(33);function l(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return l(e),e.baseURL&&!s(e.url)&&(e.url=c(e.baseURL,e.url)),e.headers=e.headers||{},e.data=o(e.data,e.headers,e.transformRequest),e.headers=i.merge(e.headers.common||{},e.headers[e.method]||{},e.headers||{}),i.forEach(["delete","get","head","post","put","patch","common"],function(t){delete e.headers[t]}),(e.adapter||r.adapter)(e).then(function(t){return l(e),t.data=o(t.data,t.headers,e.transformResponse),t},function(t){return a(t)||(l(e),t&&t.response&&(t.response.data=o(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)})}},function(e,t,n){"use strict";var i=n(0);e.exports=function(e,t,n){return i.forEach(n,function(n){e=n(e,t)}),e}},function(e,t){var n,i,o=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(e){n=a}try{i="function"==typeof clearTimeout?clearTimeout:r}catch(e){i=r}}();var c,l=[],d=!1,f=-1;function u(){d&&c&&(d=!1,c.length?l=c.concat(l):f=-1,l.length&&p())}function p(){if(!d){var e=s(u);d=!0;for(var t=l.length;t;){for(c=l,l=[];++f1)for(var n=1;n=0)return;r[t]="set-cookie"===t?(r[t]?r[t]:[]).concat([n]):r[t]?r[t]+", "+n:n}}),r):r}},function(e,t,n){"use strict";var i=n(0);e.exports=i.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(e){var i=e;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=o(window.location.href),function(t){var n=i.isString(t)?o(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},function(e,t,n){"use strict";var i=n(0);e.exports=i.isStandardBrowserEnv()?{write:function(e,t,n,o,a,r){var s=[];s.push(e+"="+encodeURIComponent(t)),i.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),i.isString(o)&&s.push("path="+o),i.isString(a)&&s.push("domain="+a),!0===r&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t,n){"use strict";var i=n(12);function o(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(e){t=e});var n=this;e(function(e){n.reason||(n.reason=new i(e),t(n.reason))})}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var e;return{token:new o(function(t){e=t}),cancel:e}},e.exports=o},function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var i=n(1),o=n(13),a=n.n(o),r=n(56),s={};function c(e){a()({method:"get",dataType:"json",url:s.WEIXIN_CONF_URL}).then(function(t){var n=t.data;if(0==n.r){r.config({beta:!0,debug:!1,appId:n.wxappid,timestamp:n.timestamp,nonceStr:n.noncestr,signature:n.signature,jsApiList:["getLocation"]});var i={type:"wgs84",success:function(t){var n={lat:t.latitude,lng:t.longitude};window.sessionStorage.setItem("position",JSON.stringify(n)),e&&e(n,s.LocationSuccss)},fail:function(t){e&&e(s.fallback,s.LocationFailed)}};r.ready(function(){r.getLocation(i)})}}).catch(function(t){console.log("initWeChatLocation error : "+t),e&&e(s.fallback,s.LocationFailed)})}s.LocationSuccss=1,s.LocationIpSuccss=2,s.LocationFailed=3,s.fallback={lat:22.548178,lng:113.944866},s.GEO_KEY="",s.GEO_REFERER="",s.WEIXIN_CONF_URL="",s.initConfig=function(e){s.GEO_KEY=e.geo_key,s.GEO_REFERER=e.geo_referer,s.WEIXIN_CONF_URL=e.wx_conf_url},s.startLocation=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(t&&window.sessionStorage.getItem("position")){var o=JSON.parse(window.sessionStorage.getItem("position"));return console.log("use cache",o),void e(o,s.LocationSuccss)}function a(t){e&&(t&&"ip"!==t.type?e(t,s.LocationSuccss):e(t,s.LocationIpSuccss),t&&window.sessionStorage.setItem("position",JSON.stringify(t)))}function r(){e&&e(s.fallback,s.LocationFailed)}var l=navigator.userAgent.toLowerCase(),d=-1!=l.indexOf("micromessenger");n&&d?c(e):Object(i.default)("https://3gimg.qq.com/lightmap/components/geolocation/geolocation.min.js",function(e){new qq.maps.Geolocation(s.GEO_KEY,s.GEO_REFERER).getLocation(a,r,{timeout:5e3})})},t.default=s},function(e,t){var n;n=window,e.exports=function(e,t){function n(t,n,i){e.WeixinJSBridge?WeixinJSBridge.invoke(t,o(n),function(e){r(t,e,i)}):c(t,i)}function i(t,n,i){e.WeixinJSBridge?WeixinJSBridge.on(t,function(e){i&&i.trigger&&i.trigger(e),r(t,e,n)}):c(t,i||n)}function o(e){return(e=e||{}).appId=E.appId,e.verifyAppId=E.appId,e.verifySignType="sha1",e.verifyTimestamp=E.timestamp+"",e.verifyNonceStr=E.nonceStr,e.verifySignature=E.signature,e}function a(e){return{timeStamp:e.timestamp+"",nonceStr:e.nonceStr,package:e.package,paySign:e.paySign,signType:e.signType||"SHA1"}}function r(e,t,n){"openEnterpriseChat"==e&&(t.errCode=t.err_code),delete t.err_code,delete t.err_desc,delete t.err_detail;var i=t.errMsg;i||(i=t.err_msg,delete t.err_msg,i=function(e,t){var n=e,i=m[n];i&&(n=i);var o="ok";if(t){var a=t.indexOf(":");"confirm"==(o=t.substring(a+1))&&(o="ok"),"failed"==o&&(o="fail"),-1!=o.indexOf("failed_")&&(o=o.substring(7)),-1!=o.indexOf("fail_")&&(o=o.substring(5)),"access denied"!=(o=(o=o.replace(/_/g," ")).toLowerCase())&&"no permission to execute"!=o||(o="permission denied"),"config"==n&&"function not exist"==o&&(o="ok"),""==o&&(o="fail")}return n+":"+o}(e,i),t.errMsg=i),(n=n||{})._complete&&(n._complete(t),delete n._complete),i=t.errMsg||"",E.debug&&!n.isInnerInvoke&&alert(JSON.stringify(t));var o=i.indexOf(":");switch(i.substring(o+1)){case"ok":n.success&&n.success(t);break;case"cancel":n.cancel&&n.cancel(t);break;default:n.fail&&n.fail(t)}n.complete&&n.complete(t)}function s(e){if(e){for(var t=0,n=e.length;t0){var t=e.split("?")[0],n=e.split("?")[1];return t+=".html",void 0!==n?t+"?"+n:t}}if(!e.jWeixin){var p={config:"preVerifyJSAPI",onMenuShareTimeline:"menu:share:timeline",onMenuShareAppMessage:"menu:share:appmessage",onMenuShareQQ:"menu:share:qq",onMenuShareWeibo:"menu:share:weiboApp",onMenuShareQZone:"menu:share:QZone",previewImage:"imagePreview",getLocation:"geoLocation",openProductSpecificView:"openProductViewWithPid",addCard:"batchAddCard",openCard:"batchViewCard",chooseWXPay:"getBrandWCPayRequest",openEnterpriseRedPacket:"getRecevieBizHongBaoRequest",startSearchBeacons:"startMonitoringBeacons",stopSearchBeacons:"stopMonitoringBeacons",onSearchBeacons:"onBeaconsInRange",consumeAndShareCard:"consumedShareCard",openAddress:"editAddress"},m=function(){var e={};for(var t in p)e[p[t]]=t;return e}(),g=e.document,h=g.title,v=navigator.userAgent.toLowerCase(),b=navigator.platform.toLowerCase(),w=!(!b.match("mac")&&!b.match("win")),y=-1!=v.indexOf("wxdebugger"),_=-1!=v.indexOf("micromessenger"),x=-1!=v.indexOf("android"),k=-1!=v.indexOf("iphone")||-1!=v.indexOf("ipad"),S=function(){var e=v.match(/micromessenger\/(\d+\.\d+\.\d+)/)||v.match(/micromessenger\/(\d+\.\d+)/);return e?e[1]:""}(),C={initStartTime:l(),initEndTime:0,preVerifyStartTime:0,preVerifyEndTime:0},T={version:1,appId:"",initTime:0,preVerifyTime:0,networkType:"",isPreVerifyOk:1,systemType:k?1:x?2:-1,clientVersion:S,url:encodeURIComponent(location.href)},E={},I={_completes:[]},O={state:0,data:{}};d(function(){C.initEndTime=l()});var A=!1,R=[],F={config:function(e){E=e,c("config",e);var t=!1!==E.check;d(function(){if(t)n(p.config,{verifyJsApiList:s(E.jsApiList)},function(){I._complete=function(e){C.preVerifyEndTime=l(),O.state=1,O.data=e},I.success=function(e){T.isPreVerifyOk=0},I.fail=function(e){I._fail?I._fail(e):O.state=-1};var e=I._completes;return e.push(function(){!function(e){if(!(w||y||E.debug||S<"6.0.2"||T.systemType<0)){var t=new Image;T.appId=E.appId,T.initTime=C.initEndTime-C.initStartTime,T.preVerifyTime=C.preVerifyEndTime-C.preVerifyStartTime,F.getNetworkType({isInnerInvoke:!0,success:function(e){T.networkType=e.networkType;var n="https://open.weixin.qq.com/sdk/report?v="+T.version+"&o="+T.isPreVerifyOk+"&s="+T.systemType+"&c="+T.clientVersion+"&a="+T.appId+"&n="+T.networkType+"&i="+T.initTime+"&p="+T.preVerifyTime+"&u="+T.url;t.src=n}})}}()}),I.complete=function(t){for(var n=0,i=e.length;n0){var t=R.shift();wx.getLocalImgData(t)}},e))):R.push(e)},getNetworkType:function(e){n("getNetworkType",{},(e._complete=function(e){e=function(e){var t=e.errMsg;e.errMsg="getNetworkType:ok";var n=e.subtype;if(delete e.subtype,n)e.networkType=n;else{var i=t.indexOf(":"),o=t.substring(i+1);switch(o){case"wifi":case"edge":case"wwan":e.networkType=o;break;default:e.errMsg="getNetworkType:fail"}}return e}(e)},e))},openLocation:function(e){n("openLocation",{latitude:e.latitude,longitude:e.longitude,name:e.name||"",address:e.address||"",scale:e.scale||28,infoUrl:e.infoUrl||""},e)},getLocation:function(e){e=e||{},n(p.getLocation,{type:e.type||"wgs84"},(e._complete=function(e){delete e.type},e))},hideOptionMenu:function(e){n("hideOptionMenu",{},e)},showOptionMenu:function(e){n("showOptionMenu",{},e)},closeWindow:function(e){n("closeWindow",{},e=e||{})},hideMenuItems:function(e){n("hideMenuItems",{menuList:e.menuList},e)},showMenuItems:function(e){n("showMenuItems",{menuList:e.menuList},e)},hideAllNonBaseMenuItem:function(e){n("hideAllNonBaseMenuItem",{},e)},showAllNonBaseMenuItem:function(e){n("showAllNonBaseMenuItem",{},e)},scanQRCode:function(e){n("scanQRCode",{needResult:(e=e||{}).needResult||0,scanType:e.scanType||["qrCode","barCode"]},(e._complete=function(e){if(k){var t=e.resultStr;if(t){var n=JSON.parse(t);e.resultStr=n&&n.scan_code&&n.scan_code.scan_result}}},e))},openAddress:function(e){n(p.openAddress,{},(e._complete=function(e){e=function(e){return e.postalCode=e.addressPostalCode,delete e.addressPostalCode,e.provinceName=e.proviceFirstStageName,delete e.proviceFirstStageName,e.cityName=e.addressCitySecondStageName,delete e.addressCitySecondStageName,e.countryName=e.addressCountiesThirdStageName,delete e.addressCountiesThirdStageName,e.detailInfo=e.addressDetailInfo,delete e.addressDetailInfo,e}(e)},e))},openProductSpecificView:function(e){n(p.openProductSpecificView,{pid:e.productId,view_type:e.viewType||0,ext_info:e.extInfo},e)},addCard:function(e){for(var t=e.cardList,i=[],o=0,a=t.length;o0){var t=e.split("?")[0],n=e.split("?")[1];return t+=".html",void 0!==n?t+"?"+n:t}}if(!e.jWeixin){var h={config:"preVerifyJSAPI",onMenuShareTimeline:"menu:share:timeline",onMenuShareAppMessage:"menu:share:appmessage",onMenuShareQQ:"menu:share:qq",onMenuShareWeibo:"menu:share:weiboApp",onMenuShareQZone:"menu:share:QZone",previewImage:"imagePreview",getLocation:"geoLocation",openProductSpecificView:"openProductViewWithPid",addCard:"batchAddCard",openCard:"batchViewCard",chooseWXPay:"getBrandWCPayRequest",openEnterpriseRedPacket:"getRecevieBizHongBaoRequest",startSearchBeacons:"startMonitoringBeacons",stopSearchBeacons:"stopMonitoringBeacons",onSearchBeacons:"onBeaconsInRange",consumeAndShareCard:"consumedShareCard",openAddress:"editAddress"},v=function(){var e={};for(var t in h)e[h[t]]=t;return e}(),b=e.document,w=b.title,y=navigator.userAgent.toLowerCase(),_=navigator.platform.toLowerCase(),x=!(!_.match("mac")&&!_.match("win")),k=-1!=y.indexOf("wxdebugger"),S=-1!=y.indexOf("micromessenger"),C=-1!=y.indexOf("android"),T=-1!=y.indexOf("iphone")||-1!=y.indexOf("ipad"),E=function(){var e=y.match(/micromessenger\/(\d+\.\d+\.\d+)/)||y.match(/micromessenger\/(\d+\.\d+)/);return e?e[1]:""}(),I={initStartTime:u(),initEndTime:0,preVerifyStartTime:0,preVerifyEndTime:0},O={version:1,appId:"",initTime:0,preVerifyTime:0,networkType:"",isPreVerifyOk:1,systemType:T?1:C?2:-1,clientVersion:E,url:encodeURIComponent(location.href)},A={},R={_completes:[]},F={state:0,data:{}};p(function(){I.initEndTime=u()});var M=!1,P=[],D={config:function(e){A=e,d("config",e);var t=!1!==A.check;p(function(){if(t)n(h.config,{verifyJsApiList:l(A.jsApiList)},function(){R._complete=function(e){I.preVerifyEndTime=u(),F.state=1,F.data=e},R.success=function(e){O.isPreVerifyOk=0},R.fail=function(e){R._fail?R._fail(e):F.state=-1};var e=R._completes;return e.push(function(){f()}),R.complete=function(t){for(var n=0,i=e.length;n0){var t=P.shift();D.getLocalImgData(t)}},e))):P.push(e)},getNetworkType:function(e){var t=function(e){var t=e.errMsg;e.errMsg="getNetworkType:ok";var n=e.subtype;if(delete e.subtype,n)e.networkType=n;else{var i=t.indexOf(":"),o=t.substring(i+1);switch(o){case"wifi":case"edge":case"wwan":e.networkType=o;break;default:e.errMsg="getNetworkType:fail"}}return e};n("getNetworkType",{},(e._complete=function(e){e=t(e)},e))},openLocation:function(e){n("openLocation",{latitude:e.latitude,longitude:e.longitude,name:e.name||"",address:e.address||"",scale:e.scale||28,infoUrl:e.infoUrl||""},e)},getLocation:function(e){e=e||{},n(h.getLocation,{type:e.type||"wgs84"},(e._complete=function(e){delete e.type},e))},hideOptionMenu:function(e){n("hideOptionMenu",{},e)},showOptionMenu:function(e){n("showOptionMenu",{},e)},closeWindow:function(e){n("closeWindow",{},e=e||{})},hideMenuItems:function(e){n("hideMenuItems",{menuList:e.menuList},e)},showMenuItems:function(e){n("showMenuItems",{menuList:e.menuList},e)},hideAllNonBaseMenuItem:function(e){n("hideAllNonBaseMenuItem",{},e)},showAllNonBaseMenuItem:function(e){n("showAllNonBaseMenuItem",{},e)},scanQRCode:function(e){n("scanQRCode",{needResult:(e=e||{}).needResult||0,scanType:e.scanType||["qrCode","barCode"]},(e._complete=function(e){if(T){var t=e.resultStr;if(t){var n=JSON.parse(t);e.resultStr=n&&n.scan_code&&n.scan_code.scan_result}}},e))},openAddress:function(e){n(h.openAddress,{},(e._complete=function(e){e=r(e)},e))},openProductSpecificView:function(e){n(h.openProductSpecificView,{pid:e.productId,view_type:e.viewType||0,ext_info:e.extInfo},e)},addCard:function(e){for(var t=e.cardList,i=[],o=0,a=t.length;o0&&(window.location.href=e.data.url)}}function changeURLArg(url,arg,arg_val){var pattern=arg+"=([^&]*)",replaceText=arg+"="+arg_val;if(url.match(pattern)){var tmp="/("+arg+"=)([^&]*)/gi";return tmp=url.replace(eval(tmp),replaceText),tmp}return url.match("[?]")?url+"&"+replaceText:url+"?"+replaceText}axios__WEBPACK_IMPORTED_MODULE_3___default.a.defaults.transformRequest=[function(e){var t="";for(var n in e)t+=encodeURIComponent(n)+"="+encodeURIComponent(e[n])+"&";return t}],service.interceptors.request.use(function(e){return e.url.startsWith("https")||e.url.startsWith("http")?e:(-1!==e.url.indexOf("?")?e.url+="&g_app_tk="+_cookie__WEBPACK_IMPORTED_MODULE_4__["a"].get("tip_token")+"&tstamp="+(new Date).getTime()+_util__WEBPACK_IMPORTED_MODULE_5__["a"].URL.msdkSuffix().replace("?","&"):e.url+="?g_app_tk="+_cookie__WEBPACK_IMPORTED_MODULE_4__["a"].get("tip_token")+"&tstamp="+(new Date).getTime()+_util__WEBPACK_IMPORTED_MODULE_5__["a"].URL.msdkSuffix().replace("?","&"),e)},function(e){return Promise.reject(e)}),service.interceptors.response.use(function(e){return-300===e.data.r&&(_cookie__WEBPACK_IMPORTED_MODULE_4__["a"].clear("huya_token"),_cookie__WEBPACK_IMPORTED_MODULE_4__["a"].clear("huya_uid"),_toast__WEBPACK_IMPORTED_MODULE_6__["a"].show("请求失败,请刷新页面重试(-300)")),1e5===e.data.retcode||1e5===e.data.r?(_toast__WEBPACK_IMPORTED_MODULE_6__["a"].showLoading(!1),redirect(e),e):e},function(e){return Promise.resolve(e)}),__webpack_exports__["a"]=service},"1d2b":function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),i=0;i=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};i.forEach(["delete","get","head"],function(e){c.headers[e]={}}),i.forEach(["post","put","patch"],function(e){c.headers[e]=i.merge(a)}),e.exports=c}).call(this,n("f28c"))},"2d83":function(e,t,n){"use strict";var i=n("387f");e.exports=function(e,t,n,o,a){var r=new Error(e);return i(r,t,n,o,a)}},"2e67":function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},"30af":function(e,t,n){t=e.exports=n("2350")(!1),t.push([e.i,'@font-face{font-weight:400;font-family:vant-icon;font-style:normal;font-display:auto;src:url(https://img.yzcdn.cn/vant/vant-icon-db1de1.woff2) format("woff2"),url(https://img.yzcdn.cn/vant/vant-icon-db1de1.woff) format("woff"),url(https://img.yzcdn.cn/vant/vant-icon-db1de1.ttf) format("truetype")}.van-icon{position:relative;font:normal normal normal 14px/1 vant-icon;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased}.van-icon,.van-icon:before{display:inline-block}.van-icon-add-o:before{content:"\\F000"}.van-icon-add-square:before{content:"\\F001"}.van-icon-add:before{content:"\\F002"}.van-icon-after-sale:before{content:"\\F003"}.van-icon-aim:before{content:"\\F004"}.van-icon-alipay:before{content:"\\F005"}.van-icon-apps-o:before{content:"\\F006"}.van-icon-arrow-down:before{content:"\\F007"}.van-icon-arrow-left:before{content:"\\F008"}.van-icon-arrow-up:before{content:"\\F009"}.van-icon-arrow:before{content:"\\F00A"}.van-icon-ascending:before{content:"\\F00B"}.van-icon-audio:before{content:"\\F00C"}.van-icon-award-o:before{content:"\\F00D"}.van-icon-award:before{content:"\\F00E"}.van-icon-bag-o:before{content:"\\F00F"}.van-icon-bag:before{content:"\\F010"}.van-icon-balance-list-o:before{content:"\\F011"}.van-icon-balance-list:before{content:"\\F012"}.van-icon-balance-o:before{content:"\\F013"}.van-icon-balance-pay:before{content:"\\F014"}.van-icon-bar-chart-o:before{content:"\\F015"}.van-icon-bars:before{content:"\\F016"}.van-icon-bell:before{content:"\\F017"}.van-icon-bill-o:before{content:"\\F018"}.van-icon-bill:before{content:"\\F019"}.van-icon-birthday-cake-o:before{content:"\\F01A"}.van-icon-bookmark-o:before{content:"\\F01B"}.van-icon-bookmark:before{content:"\\F01C"}.van-icon-browsing-history-o:before{content:"\\F01D"}.van-icon-browsing-history:before{content:"\\F01E"}.van-icon-brush-o:before{content:"\\F01F"}.van-icon-bulb-o:before{content:"\\F020"}.van-icon-bullhorn-o:before{content:"\\F021"}.van-icon-calender-o:before{content:"\\F022"}.van-icon-card:before{content:"\\F023"}.van-icon-cart-circle-o:before{content:"\\F024"}.van-icon-cart-circle:before{content:"\\F025"}.van-icon-cart-o:before{content:"\\F026"}.van-icon-cart:before{content:"\\F027"}.van-icon-cash-back-record:before{content:"\\F028"}.van-icon-cash-on-deliver:before{content:"\\F029"}.van-icon-cashier-o:before{content:"\\F02A"}.van-icon-certificate:before{content:"\\F02B"}.van-icon-chart-trending-o:before{content:"\\F02C"}.van-icon-chat-o:before{content:"\\F02D"}.van-icon-chat:before{content:"\\F02E"}.van-icon-checked:before{content:"\\F02F"}.van-icon-circle:before{content:"\\F030"}.van-icon-clear:before{content:"\\F031"}.van-icon-clock-o:before{content:"\\F032"}.van-icon-clock:before{content:"\\F033"}.van-icon-close:before{content:"\\F034"}.van-icon-closed-eye:before{content:"\\F035"}.van-icon-cluster-o:before{content:"\\F036"}.van-icon-cluster:before{content:"\\F037"}.van-icon-column:before{content:"\\F038"}.van-icon-comment-circle-o:before{content:"\\F039"}.van-icon-comment-circle:before{content:"\\F03A"}.van-icon-comment-o:before{content:"\\F03B"}.van-icon-comment:before{content:"\\F03C"}.van-icon-completed:before{content:"\\F03D"}.van-icon-contact:before{content:"\\F03E"}.van-icon-coupon-o:before{content:"\\F03F"}.van-icon-coupon:before{content:"\\F040"}.van-icon-credit-pay:before{content:"\\F041"}.van-icon-cross:before{content:"\\F042"}.van-icon-debit-pay:before{content:"\\F043"}.van-icon-delete:before{content:"\\F044"}.van-icon-descending:before{content:"\\F045"}.van-icon-description:before{content:"\\F046"}.van-icon-desktop-o:before{content:"\\F047"}.van-icon-diamond-o:before{content:"\\F048"}.van-icon-diamond:before{content:"\\F049"}.van-icon-discount:before{content:"\\F04A"}.van-icon-down:before{content:"\\F04B"}.van-icon-ecard-pay:before{content:"\\F04C"}.van-icon-edit:before{content:"\\F04D"}.van-icon-ellipsis:before{content:"\\F04E"}.van-icon-empty:before{content:"\\F04F"}.van-icon-envelop-o:before{content:"\\F050"}.van-icon-exchange:before{content:"\\F051"}.van-icon-expand-o:before{content:"\\F052"}.van-icon-expand:before{content:"\\F053"}.van-icon-eye-o:before{content:"\\F054"}.van-icon-eye:before{content:"\\F055"}.van-icon-fail:before{content:"\\F056"}.van-icon-failure:before{content:"\\F057"}.van-icon-filter-o:before{content:"\\F058"}.van-icon-fire-o:before{content:"\\F059"}.van-icon-fire:before{content:"\\F05A"}.van-icon-flag-o:before{content:"\\F05B"}.van-icon-flower-o:before{content:"\\F05C"}.van-icon-free-postage:before{content:"\\F05D"}.van-icon-friends-o:before{content:"\\F05E"}.van-icon-friends:before{content:"\\F05F"}.van-icon-gem-o:before{content:"\\F060"}.van-icon-gem:before{content:"\\F061"}.van-icon-gift-card-o:before{content:"\\F062"}.van-icon-gift-card:before{content:"\\F063"}.van-icon-gift-o:before{content:"\\F064"}.van-icon-gift:before{content:"\\F065"}.van-icon-gold-coin-o:before{content:"\\F066"}.van-icon-gold-coin:before{content:"\\F067"}.van-icon-good-job-o:before{content:"\\F068"}.van-icon-good-job:before{content:"\\F069"}.van-icon-goods-collect-o:before{content:"\\F06A"}.van-icon-goods-collect:before{content:"\\F06B"}.van-icon-graphic:before{content:"\\F06C"}.van-icon-home-o:before{content:"\\F06D"}.van-icon-hot-o:before{content:"\\F06E"}.van-icon-hot-sale-o:before{content:"\\F06F"}.van-icon-hot-sale:before{content:"\\F070"}.van-icon-hot:before{content:"\\F071"}.van-icon-hotel-o:before{content:"\\F072"}.van-icon-idcard:before{content:"\\F073"}.van-icon-info-o:before{content:"\\F074"}.van-icon-info:before{content:"\\F075"}.van-icon-invition:before{content:"\\F076"}.van-icon-label-o:before{content:"\\F077"}.van-icon-label:before{content:"\\F078"}.van-icon-like-o:before{content:"\\F079"}.van-icon-like:before{content:"\\F07A"}.van-icon-live:before{content:"\\F07B"}.van-icon-location-o:before{content:"\\F07C"}.van-icon-location:before{content:"\\F07D"}.van-icon-lock:before{content:"\\F07E"}.van-icon-logistics:before{content:"\\F07F"}.van-icon-manager-o:before{content:"\\F080"}.van-icon-manager:before{content:"\\F081"}.van-icon-map-marked:before{content:"\\F082"}.van-icon-medal-o:before{content:"\\F083"}.van-icon-medal:before{content:"\\F084"}.van-icon-more-o:before{content:"\\F085"}.van-icon-more:before{content:"\\F086"}.van-icon-music-o:before{content:"\\F087"}.van-icon-music:before{content:"\\F088"}.van-icon-new-arrival-o:before{content:"\\F089"}.van-icon-new-arrival:before{content:"\\F08A"}.van-icon-new-o:before{content:"\\F08B"}.van-icon-new:before{content:"\\F08C"}.van-icon-newspaper-o:before{content:"\\F08D"}.van-icon-notes-o:before{content:"\\F08E"}.van-icon-orders-o:before{content:"\\F08F"}.van-icon-other-pay:before{content:"\\F090"}.van-icon-paid:before{content:"\\F091"}.van-icon-passed:before{content:"\\F092"}.van-icon-pause-circle-o:before{content:"\\F093"}.van-icon-pause-circle:before{content:"\\F094"}.van-icon-pause:before{content:"\\F095"}.van-icon-peer-pay:before{content:"\\F096"}.van-icon-pending-payment:before{content:"\\F097"}.van-icon-phone-circle-o:before{content:"\\F098"}.van-icon-phone-circle:before{content:"\\F099"}.van-icon-phone-o:before{content:"\\F09A"}.van-icon-phone:before{content:"\\F09B"}.van-icon-photo-o:before{content:"\\F09C"}.van-icon-photo:before{content:"\\F09D"}.van-icon-photograph:before{content:"\\F09E"}.van-icon-play-circle-o:before{content:"\\F09F"}.van-icon-play-circle:before{content:"\\F0A0"}.van-icon-play:before{content:"\\F0A1"}.van-icon-plus:before{content:"\\F0A2"}.van-icon-point-gift-o:before{content:"\\F0A3"}.van-icon-point-gift:before{content:"\\F0A4"}.van-icon-points:before{content:"\\F0A5"}.van-icon-printer:before{content:"\\F0A6"}.van-icon-qr-invalid:before{content:"\\F0A7"}.van-icon-qr:before{content:"\\F0A8"}.van-icon-question-o:before{content:"\\F0A9"}.van-icon-question:before{content:"\\F0AA"}.van-icon-records:before{content:"\\F0AB"}.van-icon-refund-o:before{content:"\\F0AC"}.van-icon-replay:before{content:"\\F0AD"}.van-icon-scan:before{content:"\\F0AE"}.van-icon-search:before{content:"\\F0AF"}.van-icon-send-gift-o:before{content:"\\F0B0"}.van-icon-send-gift:before{content:"\\F0B1"}.van-icon-service-o:before{content:"\\F0B2"}.van-icon-service:before{content:"\\F0B3"}.van-icon-setting-o:before{content:"\\F0B4"}.van-icon-setting:before{content:"\\F0B5"}.van-icon-share:before{content:"\\F0B6"}.van-icon-shop-collect-o:before{content:"\\F0B7"}.van-icon-shop-collect:before{content:"\\F0B8"}.van-icon-shop-o:before{content:"\\F0B9"}.van-icon-shop:before{content:"\\F0BA"}.van-icon-shopping-cart-o:before{content:"\\F0BB"}.van-icon-shopping-cart:before{content:"\\F0BC"}.van-icon-shrink:before{content:"\\F0BD"}.van-icon-sign:before{content:"\\F0BE"}.van-icon-smile-comment-o:before{content:"\\F0BF"}.van-icon-smile-comment:before{content:"\\F0C0"}.van-icon-smile-o:before{content:"\\F0C1"}.van-icon-smile:before{content:"\\F0C2"}.van-icon-star-o:before{content:"\\F0C3"}.van-icon-star:before{content:"\\F0C4"}.van-icon-stop-circle-o:before{content:"\\F0C5"}.van-icon-stop-circle:before{content:"\\F0C6"}.van-icon-stop:before{content:"\\F0C7"}.van-icon-success:before{content:"\\F0C8"}.van-icon-thumb-circle-o:before{content:"\\F0C9"}.van-icon-thumb-circle:before{content:"\\F0CA"}.van-icon-todo-list-o:before{content:"\\F0CB"}.van-icon-todo-list:before{content:"\\F0CC"}.van-icon-tosend:before{content:"\\F0CD"}.van-icon-tv-o:before{content:"\\F0CE"}.van-icon-umbrella-circle:before{content:"\\F0CF"}.van-icon-underway-o:before{content:"\\F0D0"}.van-icon-underway:before{content:"\\F0D1"}.van-icon-upgrade:before{content:"\\F0D2"}.van-icon-user-circle-o:before{content:"\\F0D3"}.van-icon-user-o:before{content:"\\F0D4"}.van-icon-video-o:before{content:"\\F0D5"}.van-icon-video:before{content:"\\F0D6"}.van-icon-vip-card-o:before{content:"\\F0D7"}.van-icon-vip-card:before{content:"\\F0D8"}.van-icon-volume-o:before{content:"\\F0D9"}.van-icon-volume:before{content:"\\F0DA"}.van-icon-wap-home-o:before{content:"\\F0DB"}.van-icon-wap-home:before{content:"\\F0DC"}.van-icon-wap-nav:before{content:"\\F0DD"}.van-icon-warn-o:before{content:"\\F0DE"}.van-icon-warning-o:before{content:"\\F0DF"}.van-icon-warning:before{content:"\\F0E0"}.van-icon-weapp-nav:before{content:"\\F0E1"}.van-icon-wechat:before{content:"\\F0E2"}.van-icon-youzan-shield:before{content:"\\F0E3"}.van-icon__image{width:1em;height:1em;object-fit:contain}',""])},"30b5":function(e,t,n){"use strict";var i=n("c532");function o(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var a;if(n)a=n(t);else if(i.isURLSearchParams(t))a=t.toString();else{var r=[];i.forEach(t,function(e,t){null!==e&&"undefined"!==typeof e&&(i.isArray(e)?t+="[]":e=[e],i.forEach(e,function(e){i.isDate(e)?e=e.toISOString():i.isObject(e)&&(e=JSON.stringify(e)),r.push(o(t)+"="+o(e))}))}),a=r.join("&")}if(a){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+a}return e}},3743:function(e,t,n){var i=n("30af");"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("499e").default;o("748cfa50",i,!0,{sourceMap:!1,shadowMode:!1})},"37c8":function(e,t,n){t.f=n("2b4c")},"386b":function(e,t,n){var i=n("5ca1"),o=n("79e5"),a=n("be13"),r=/"/g,s=function(e,t,n,i){var o=String(a(e)),s="<"+t;return""!==n&&(s+=" "+n+'="'+String(i).replace(r,""")+'"'),s+">"+o+""};e.exports=function(e,t){var n={};n[e]=t(s),i(i.P+i.F*o(function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}),"String",n)}},"387f":function(e,t,n){"use strict";e.exports=function(e,t,n,i,o){return e.config=t,n&&(e.code=n),e.request=i,e.response=o,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},3934:function(e,t,n){"use strict";var i=n("c532");e.exports=i.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(e){var i=e;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=o(window.location.href),function(t){var n=i.isString(t)?o(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return function(){return!0}}()},"3a72":function(e,t,n){var i=n("7726"),o=n("8378"),a=n("2d00"),r=n("37c8"),s=n("86cc").f;e.exports=function(e){var t=o.Symbol||(o.Symbol=a?{}:i.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:r.f(e)})}},"3f8a":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"wrapper"},[n("a",{staticClass:"logo",attrs:{href:"javascript:void(0)",title:"logo"}}),n("a",{staticClass:"spr spr-wdwp",attrs:{href:"javascript:void(0)",title:"我的物品"},on:{click:function(t){return t.stopPropagation(),e.onMyGoodsClick(t)}}}),e.isInGame?n("a",{staticClass:"btn-return spr spr-fh",attrs:{href:"javascript:void(0)",title:"返回"},on:{click:function(t){return t.stopPropagation(),e.onGoBackClick(t)}}}):e._e(),n("div",{staticClass:"page-box"},[n("div",{staticClass:"page1"},[n("div",{staticClass:"login-box"},[n("p",{staticClass:"login"},[n("span",[e._v(e._s("召唤师"+e.roleInfo.rolename+"专属优惠"))]),n("a",{staticClass:"spr-qhjs spr",attrs:{href:"javascript:void(0)",title:"切换角色"},on:{click:function(t){return t.stopPropagation(),e.onSwitchRoleClick(t)}}})])])]),n("div",{staticClass:"page2"},[n("p",{staticClass:"tips"},[e._v("\n 四月是下午茶的季节!小妲己已为召唤师集合专属下午茶优惠,甜蜜奶茶、满足小吃、放纵炸鸡,你想要的,优惠我都有!快来领取属于你的专属下午茶优惠吧~\n ")]),n("p",{staticClass:"subscription"},[n("a",{attrs:{href:"javascript:void(0)",title:"奶茶喝不够,订阅获取更多专属优惠"},on:{click:function(t){return t.stopPropagation(),e.onSubscribeClick(t)}}},[n("i",{class:["spr","spr-sel",e.isSubscribe?"on":""]}),n("em",{staticClass:"spr spr-tips"})]),n("a",{staticClass:"spr spr-h-wdwp",attrs:{href:"javascript:void(0)",title:"我的物品"},on:{click:function(t){return t.stopPropagation(),e.onMyGoodsClick(t)}}})]),n("ul",e._l(e.groups,function(t,i){return n("li",{key:i,staticClass:"food-list"},[n("p",{staticClass:"title"},[n("i",{class:["spr","spr-tit"+(i%4+1)]}),n("em",{class:["spr","spr-sg"+(i%4+1)]})]),n("div",{staticClass:"food-box"},e._l(t,function(t,i){return n("div",{key:i,class:["food",100==t.task.task_info.condition[0].fieldid?"wanting":""]},[n("p",{staticClass:"name"},[e._v(e._s(t.brand.name))]),n("div",{staticClass:"txt-box"},[n("p",{staticClass:"coupon"},[e._v("\n "+e._s(t.task.task_info.condition[0].gift.name)+"\n ")]),n("p",{staticClass:"discount"},[e._v("\n "+e._s(e.descForGift(t.task.task_info.condition[0].gift))+"\n ")]),t.task.task_info.condition.length>1&&t.task.task_info.condition[1].gift.is_bonus>0?n("p",{staticClass:"feedback"},[n("img",{attrs:{src:t.task.task_info.condition[1].gift.picurl}}),e._v("\n "+e._s("用券后返"+t.task.task_info.condition[1].gift.name)+"\n ")]):e._e()]),100!=t.task.task_info.condition[0].fieldid?n("div",{staticClass:"task-box"},[n("p",{staticClass:"task-name"},[e._v(" "+e._s(e.taskInfoForCondition(t.task.task_info.condition[0]).desc))]),n("p",{staticClass:"task-schedule"},[n("span",{style:{width:e.taskInfoForCondition(t.task.task_info.condition[0]).progress}})])]):e._e(),n("div",{staticClass:"img-box"},[n("p",{staticClass:"img"},[n("img",{attrs:{src:e.dealHttps(t.task.task_info.condition[0].gift.picurl)}})])]),n("a",{class:["spr","spr-lq",1==t.task.acquire_status?"":"gray"],attrs:{href:"javascript:void(0)"},on:{click:function(n){return n.stopPropagation(),e.onGetRewardClick(t.task)}}},[e._v(e._s(e.getRewardButtonTitleForTask(t.task)))])])}),0)])}),0),n("a",{staticClass:"spr spr-ckgdyh",attrs:{href:"javascript:void(0)",title:"查看更多优惠"},on:{click:function(t){return t.stopPropagation(),e.onShowMoreClick(t)}}}),n("i",{staticClass:"spr spr-icon1 spr-icon"}),n("i",{staticClass:"spr spr-icon2 spr-icon"})])]),n("gift-dialog",{ref:"giftDialog",attrs:{position:{lat:e.location.lat,lng:e.location.lng}}})],1)},o=[],a=(n("a481"),n("f559"),n("0f72")),r=n.n(a);n("ac6a"),n("5df3"),n("68ef"),n("a71a"),n("9d70"),n("3743"),n("4d75"),n("e3b3"),n("b258");function s(){return s=Object.assign||function(e){for(var t=1;t1?o-1:0),r=1;rt&&e>le?"horizontal":t>e&&t>le?"vertical":""}var fe=c["a"].extend({data:function(){return{direction:""}},methods:{touchStart:function(e){this.resetTouchStatus(),this.startX=e.touches[0].clientX,this.startY=e.touches[0].clientY},touchMove:function(e){var t=e.touches[0];this.deltaX=t.clientX-this.startX,this.deltaY=t.clientY-this.startY,this.offsetX=Math.abs(this.deltaX),this.offsetY=Math.abs(this.deltaY),this.direction=this.direction||de(this.offsetX,this.offsetY)},resetTouchStatus:function(){this.direction="",this.deltaX=0,this.deltaY=0,this.offsetX=0,this.offsetY=0},bindTouchEvent:function(e){var t=this,n=t.onTouchStart,i=t.onTouchMove,o=t.onTouchEnd;q(e,"touchstart",n),q(e,"touchmove",i),o&&(q(e,"touchend",o),q(e,"touchcancel",o))}}});function ue(e){return"string"===typeof e?document.querySelector(e):e()}function pe(e){var t=e.ref,n=e.afterPortal;return c["a"].extend({props:{getContainer:[String,Function]},watch:{getContainer:"portal"},mounted:function(){this.getContainer&&this.portal()},methods:{portal:function(){var e,i=this.getContainer,o=t?this.$refs[t]:this.$el;i?e=ue(i):this.$parent&&(e=this.$parent.$el),e&&e!==o.parentNode&&e.appendChild(o),n&&n.call(this)}}})}function me(e){function t(){this.binded||(e.call(this,q,!0),this.binded=!0)}function n(){this.binded&&(e.call(this,W,!1),this.binded=!1)}return{mounted:t,activated:t,deactivated:n,beforeDestroy:n}}var ge={mixins:[me(function(e,t){this.handlePopstate(t&&this.closeOnPopstate)})],props:{closeOnPopstate:Boolean},data:function(){return{bindStatus:!1}},watch:{closeOnPopstate:function(e){this.handlePopstate(e)}},methods:{handlePopstate:function(e){var t=this;if(!this.$isServer&&this.bindStatus!==e){this.bindStatus=e;var n=e?q:W;n(window,"popstate",function(){t.close(),t.shouldReopen=!1})}}}},he={value:Boolean,overlay:Boolean,overlayStyle:Object,overlayClass:String,closeOnClickOverlay:Boolean,zIndex:[Number,String],lockScroll:{type:Boolean,default:!0},lazyRender:{type:Boolean,default:!0}};function ve(e){return void 0===e&&(e={}),{mixins:[fe,ge,pe({afterPortal:function(){this.overlay&&ie()}})],props:he,data:function(){return{inited:this.value}},computed:{shouldRender:function(){return this.inited||!this.lazyRender}},watch:{value:function(t){var n=t?"open":"close";this.inited=this.inited||this.value,this[n](),e.skipToggleEvent||this.$emit(n)},overlay:"renderOverlay"},mounted:function(){this.value&&this.open()},activated:function(){this.shouldReopen&&(this.$emit("input",!0),this.shouldReopen=!1)},beforeDestroy:function(){this.close(),this.getContainer&&re(this.$el)},deactivated:function(){this.value&&(this.close(),this.shouldReopen=!0)},methods:{open:function(){this.$isServer||this.opened||(void 0!==this.zIndex&&(P.zIndex=this.zIndex),this.opened=!0,this.renderOverlay(),this.lockScroll&&(q(document,"touchstart",this.touchStart),q(document,"touchmove",this.onTouchMove),P.lockCount||document.body.classList.add("van-overflow-hidden"),P.lockCount++))},close:function(){this.opened&&(this.lockScroll&&(P.lockCount--,W(document,"touchstart",this.touchStart),W(document,"touchmove",this.onTouchMove),P.lockCount||document.body.classList.remove("van-overflow-hidden")),this.opened=!1,ae(this),this.$emit("input",!1))},onTouchMove:function(e){this.touchMove(e);var t=this.deltaY>0?"10":"01",n=ce(e.target,this.$el),i=n.scrollHeight,o=n.offsetHeight,a=n.scrollTop,r="11";0===a?r=o>=i?"00":"01":a+o>=i&&(r="10"),"11"===r||"vertical"!==this.direction||parseInt(r,2)&parseInt(t,2)||H(e,!0)},renderOverlay:function(){var e=this;!this.$isServer&&this.value&&this.$nextTick(function(){e.updateZIndex(e.overlay?1:0),e.overlay?oe(e,{zIndex:P.zIndex++,duration:e.duration,className:e.overlayClass,customStyle:e.overlayStyle}):ae(e)})},updateZIndex:function(e){void 0===e&&(e=0),this.$el.style.zIndex=++P.zIndex+e}}}}function be(e){return/^\d+(\.\d+)?$/.test(e)}function we(e){if(u(e))return e=String(e),be(e)?e+"px":e}var ye=R("info"),_e=ye[0],xe=ye[1];function ke(e,t,n,i){var o=t.dot,a=t.info,r=u(a)&&""!==a;if(o||r)return e("div",L()([{class:xe({dot:o})},z(i,!0)]),[o?"":t.info])}ke.props={dot:Boolean,info:[Number,String]};var Se=_e(ke),Ce=R("icon"),Te=Ce[0],Ee=Ce[1];function Ie(e){return!!e&&-1!==e.indexOf("/")}var Oe={medel:"medal","medel-o":"medal-o"};function Ae(e){return e&&Oe[e]||e}function Re(e,t,n,i){var o=Ae(t.name),a=Ie(o);return e(t.tag,L()([{class:[t.classPrefix,a?"":t.classPrefix+"-"+o],style:{color:t.color,fontSize:we(t.size)}},z(i,!0)]),[n.default&&n.default(),a&&e("img",{class:Ee("image"),attrs:{src:o}}),e(Se,{attrs:{dot:t.dot,info:u(t.badge)?t.badge:t.info}})])}Re.props={dot:Boolean,name:String,size:[Number,String],info:[Number,String],badge:[Number,String],color:String,tag:{type:String,default:"i"},classPrefix:{type:String,default:Ee()}};var Fe=Te(Re),Me=R("loading"),Pe=Me[0],De=Me[1];function Le(e,t){if("spinner"===t.type){for(var n=[],i=0;i<12;i++)n.push(e("i"));return n}return e("svg",{class:De("circular"),attrs:{viewBox:"25 25 50 50"}},[e("circle",{attrs:{cx:"50",cy:"50",r:"20",fill:"none"}})])}function je(e,t,n){if(n.default){var i=t.textSize&&{fontSize:we(t.textSize)};return e("span",{class:De("text"),style:i},[n.default()])}}function Be(e,t,n,i){var o=t.color,a=t.size,r=t.type,s={color:o};if(a){var c=we(a);s.width=c,s.height=c}return e("div",L()([{class:De([r,{vertical:t.vertical}])},z(i,!0)]),[e("span",{class:De("spinner",r),style:s},[Le(e,t)]),je(e,t,n)])}Be.props={color:String,size:[Number,String],vertical:Boolean,textSize:[Number,String],type:{type:String,default:"circular"}};var ze=Pe(Be),Ne=R("toast"),Ge=Ne[0],Ue=Ne[1],qe=Ge({mixins:[ve()],props:{icon:String,className:null,iconPrefix:String,loadingType:String,forbidClick:Boolean,closeOnClick:Boolean,message:[Number,String],type:{type:String,default:"text"},position:{type:String,default:"middle"},transition:{type:String,default:"van-fade"},lockScroll:{type:Boolean,default:!1}},data:function(){return{clickable:!1}},mounted:function(){this.toggleClickable()},destroyed:function(){this.toggleClickable()},watch:{value:"toggleClickable",forbidClick:"toggleClickable"},methods:{onClick:function(){this.closeOnClick&&this.close()},toggleClickable:function(){var e=this.value&&this.forbidClick;this.clickable!==e&&(this.clickable=e,M(e))},onAfterEnter:function(){this.$emit("opened"),this.onOpened&&this.onOpened()},onAfterLeave:function(){this.$emit("closed")},genIcon:function(){var e=this.$createElement,t=this.icon,n=this.type,i=this.iconPrefix,o=this.loadingType,a=t||"success"===n||"fail"===n;return a?e(Fe,{class:Ue("icon"),attrs:{classPrefix:i,name:t||n}}):"loading"===n?e(ze,{class:Ue("loading"),attrs:{type:o}}):void 0},genMessage:function(){var e=this.$createElement,t=this.type,n=this.message;if(u(n)&&""!==n)return"html"===t?e("div",{class:Ue("text"),domProps:{innerHTML:n}}):e("div",{class:Ue("text")},[n])}},render:function(){var e,t=arguments[0];return t("transition",{attrs:{name:this.transition},on:{afterEnter:this.onAfterEnter,afterLeave:this.onAfterLeave}},[t("div",{directives:[{name:"show",value:this.value}],class:[Ue([this.position,(e={},e[this.type]=!this.icon,e)]),this.className],on:{click:this.onClick}},[this.genIcon(),this.genMessage()])])}}),We={icon:"",type:"text",mask:!1,value:!0,message:"",className:"",overlay:!1,onClose:null,onOpened:null,duration:2e3,iconPrefix:void 0,position:"middle",transition:"van-fade",forbidClick:!1,loadingType:void 0,getContainer:"body",overlayStyle:null,closeOnClick:!1,closeOnClickOverlay:!1},Ve={},He=[],Qe=!1,Je=s({},We);function $e(e){return m(e)?e:{message:e}}function Ke(){if(f)return{};if(!He.length||Qe){var e=new(c["a"].extend(qe))({el:document.createElement("div")});e.$on("input",function(t){e.value=t}),He.push(e)}return He[He.length-1]}function Xe(e){return s({},e,{overlay:e.mask||e.overlay,mask:void 0,duration:void 0})}function Ye(e){void 0===e&&(e={});var t=Ke();return t.value&&t.updateZIndex(),e=$e(e),e=s({},Je,{},Ve[e.type||Je.type],{},e),e.clear=function(){t.value=!1,e.onClose&&e.onClose(),Qe&&!f&&t.$on("closed",function(){clearTimeout(t.timer),He=He.filter(function(e){return e!==t}),re(t.$el),t.$destroy()})},s(t,Xe(e)),clearTimeout(t.timer),e.duration>0&&(t.timer=setTimeout(function(){t.clear()},e.duration)),t}var Ze=function(e){return function(t){return Ye(s({type:e},$e(t)))}};["loading","success","fail"].forEach(function(e){Ye[e]=Ze(e)}),Ye.clear=function(e){He.length&&(e?(He.forEach(function(e){e.clear()}),He=[]):Qe?He.shift().clear():He[0].clear())},Ye.setDefaultOptions=function(e,t){"string"===typeof e?Ve[e]=t:s(Je,e)},Ye.resetDefaultOptions=function(e){"string"===typeof e?Ve[e]=null:(Je=s({},We),Ve={})},Ye.allowMultiple=function(e){void 0===e&&(e=!0),Qe=e},Ye.install=function(){c["a"].use(qe)},c["a"].prototype.$toast=Ye;var et=Ye,tt=n("1c1e"),nt=n("ca00"),it=n("4328"),ot=n.n(it);n("456d");function at(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rt(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:0;return new Promise(function(t,n){var i={need_grade:1};Object(tt["a"])({method:"post",data:ot.a.stringify(i),dataType:"json",url:"/pvp/comm/user/get_role_list"}).then(function(i){if(0==i.data.r&&i.data.role_info){for(var o=i.data.role_info.RoleList,a=i.data.gopenid,r=i.data.lader_info,s=0;s0?e.rewardGift.water.goodscfg.goodsname:e.rewardGift.name)+e._s(e.rewardGift.benefit_tag?e.rewardGift.benefit_tag:""))]),n("p",{staticClass:"wz-prizesmsg-others"},[n("span",[e._v("请在有效期("+e._s(e.getExpireTime(e.rewardGift))+")内兑换并使用")])])])]),n("div",{staticClass:"wz-dialog-btnwrap"},[e.rewardGift.water&&28==e.rewardGift.water.goodscfg.displaytype?n("p",{staticClass:"wz-prizesmsg-others",staticStyle:{"text-align":"center",color:"white","line-height":"0.5rem",width:"100%"}},[e._v("奖励已发放到你的微信卡包")]):n("a",{staticClass:"wz-fuli-btn wz-btn-primary",on:{click:function(t){e.gotoGoods(),e.dialogGiftSuccess=!1}}},[e._v("立即兑换")])]),!e.isSubscribed&&!e.alreadyGetClass&&e.subscribeid&&e.subscribeid.length>0?n("p",{staticClass:"wz-subscribe"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.willSubscribe,expression:"willSubscribe"}],staticClass:"checkbox",attrs:{id:"checkbox1",type:"checkbox",name:"checkbox1"},domProps:{checked:Array.isArray(e.willSubscribe)?e._i(e.willSubscribe,null)>-1:e.willSubscribe},on:{change:function(t){var n=e.willSubscribe,i=t.target,o=!!i.checked;if(Array.isArray(n)){var a=null,r=e._i(n,a);i.checked?r<0&&(e.willSubscribe=n.concat([a])):r>-1&&(e.willSubscribe=n.slice(0,r).concat(n.slice(r+1)))}else e.willSubscribe=o}}}),n("label",{attrs:{for:"checkbox1"}}),e._v("\n 订阅该商户福利\n ")]):e._e(),0!=Object.keys(e.rewardEGift).length?n("h4",{staticClass:"wz-prizes-more-title"},[n("span",[e._v(e._s(e.getExpireTime(e.rewardGift,1))+"前兑换额外送")])]):e._e(),0!=Object.keys(e.rewardEGift).length?n("div",{staticClass:"wz-prizesmsg-wrap"},[n("img",{directives:[{name:"lazy",rawName:"v-lazy",value:e.getGiftPic(e.rewardEGift),expression:"getGiftPic(rewardEGift)"}],staticClass:"wz-prizes-img"}),n("div",[n("p",{staticClass:"wz-prizesmsg-name"},[e._v(e._s(e.rewardEGift.name))]),e._m(0),n("p",{staticClass:"wz-prizesmsg-others-tips"},[e._v("先到先得,送完即止")])])]):e._e()])])]),n("div",{directives:[{name:"show",rawName:"v-show",value:e.dialogSubTip,expression:"dialogSubTip"}],staticClass:"dialog-wrap"},[n("div",{staticClass:"dialog-notice"},[n("a",{staticClass:"dialog-common-close",on:{click:function(t){e.dialogSubTip=!1}}},[e._v("关闭")]),e._m(1),n("div",{staticClass:"wz-dialog-btnwrap"},[n("a",{staticClass:"wz-fuli-btn wz-btn-invalid",on:{click:function(t){e.dialogSubTip=!1}}},[e._v("以后再说")]),n("a",{staticClass:"wz-fuli-btn wz-btn-primary",on:{click:function(t){e.dialogSubTip=!1,e.getSubscribeMerc()}}},[e._v("立即开启")])])])]),n("div",{directives:[{name:"show",rawName:"v-show",value:e.dialogUnSubTip,expression:"dialogUnSubTip"}],staticClass:"dialog-wrap"},[n("div",{staticClass:"dialog-notice"},[n("a",{staticClass:"dialog-common-close",on:{click:function(t){e.dialogUnSubTip=!1}}},[e._v("关闭")]),e._m(2),n("div",{staticClass:"wz-dialog-btnwrap"},[n("a",{staticClass:"wz-fuli-btn wz-btn-invalid",on:{click:function(t){e.dialogUnSubTip=!1}}},[e._v("以后再说")]),n("a",{staticClass:"wz-fuli-btn wz-btn-primary",on:{click:function(t){e.dialogUnSubTip=!1,e.getSubscribeMerc()}}},[e._v("关闭提醒")])])])]),n("div",{directives:[{name:"show",rawName:"v-show",value:e.dialogSubDone,expression:"dialogSubDone"}],staticClass:"dialog-wrap"},[n("div",{staticClass:"dialog-notice"},[n("a",{staticClass:"dialog-common-close",on:{click:function(t){e.dialogSubDone=!1}}},[e._v("关闭")]),e._m(3),n("div",{staticClass:"wz-dialog-btnwrap"},[n("a",{staticClass:"wz-fuli-btn wz-btn-primary",on:{click:function(t){e.dialogSubDone=!1}}},[e._v("我知道了")])])])]),n("div",{directives:[{name:"show",rawName:"v-show",value:e.dialogNoRoleTip,expression:"dialogNoRoleTip"}],staticClass:"dialog-wrap"},[n("div",{staticClass:"dialog-notice"},[n("a",{staticClass:"dialog-common-close",on:{click:function(t){e.dialogNoRoleTip=!1}}},[e._v("关闭")]),n("div",{staticClass:"wz-dialog-notice-wrap"},[n("p",{staticClass:"wz-notice-msg-1",staticStyle:{margin:"0.5rem"}},[e._v("对不起,你当前的"+e._s(e.utype)+"账号没有游戏角色,请更换登录账号重试")])]),n("div",{staticClass:"wz-dialog-btnwrap"},[n("a",{staticClass:"wz-fuli-btn wz-btn-primary",on:{click:function(t){e.dialogNoRoleTip=!1}}},[e._v("我知道了")])])])])]),n("div",{staticClass:"show-portrait"},[e.dialogGiftSuccess?n("div",{staticClass:"dialog-wrap"},[n("div",{staticClass:"dialog"},[n("h4",{staticClass:"dialog-title"},[e._v(e._s(e.alreadyGetClass?"已领取":"恭喜获得"))]),n("div",{staticClass:"dialog-prizes flex-center"},[e.getGiftPic(e.rewardGift)&&e.getGiftPic(e.rewardGift).length>0?n("img",{directives:[{name:"lazy",rawName:"v-lazy",value:e.getGiftPic(e.rewardGift),expression:"getGiftPic(rewardGift)"}]}):e._e(),n("div",{staticClass:"prizes-msg"},[n("p",{staticClass:"msg-1"},[e._v(e._s(e.rewardGift.water&&e.rewardGift.water.goodscfg&&e.rewardGift.water.goodscfg.goodsname&&e.rewardGift.water.goodscfg.goodsname.length>0?e.rewardGift.water.goodscfg.goodsname:e.rewardGift.name)+e._s(e.rewardGift.benefit_tag?e.rewardGift.benefit_tag:""))]),n("p",{staticClass:"msg-2"},[n("span",[e._v("请在有效期("+e._s(e.getExpireTime(e.rewardGift))+")内兑换并使用")])])])]),e.rewardGift.water&&28==e.rewardGift.water.goodscfg.displaytype?n("p",{staticClass:"dialog-p",staticStyle:{"text-align":"center","margin-bottom":"0.5rem"}},[e._v("奖励已发放到你的微信卡包")]):n("a",{staticClass:"btn-style heavy-btn",staticStyle:{"margin-bottom":"0.5rem"},on:{click:function(t){e.gotoGoods(),e.dialogGiftSuccess=!1}}},[e._v("立即兑换")]),0!=Object.keys(e.rewardEGift).length?n("div",{staticClass:"other-prizes",staticStyle:{"padding-top":"0"}},[e._m(4),n("p",{staticClass:"dialog-p"},[e._v('上面的商家奖励使用后,"'+e._s(e.rewardEGift.name)+'"会发放到你的账号')])]):e._e(),n("a",{staticClass:"dialog-close",on:{click:function(t){e.dialogGiftSuccess=!1}}})])]):e._e(),e.dialogGiftFailed?n("div",{staticClass:"dialog-wrap"},[n("div",{staticClass:"dialog"},[n("h4",{staticClass:"dialog-title"},[e._v("今日战绩未达成")]),n("div",{staticClass:"duty"},[n("p",{staticClass:"user-name"},[e._v(e._s(e.selectRoleName+" "+e.selectRoleArea))]),n("div",{staticClass:"duty-box",staticStyle:{"text-align":"center"}},[n("p",[e._v(e._s(e.getFailDes))]),n("p",[e._v(e._s(e.getFailAtime)+"/"+e._s(e.getFailTtime))])]),n("a",{staticClass:"btn-style heavy-btn",on:{click:function(t){e.dialogGiftFailed=!1,e.gotoWzGame()}}},[e._v("进入游戏")]),n("p",{staticClass:"user-name",staticStyle:{padding:"0.2rem 0.2rem","font-size":"0.22rem",color:"#999999","text-align":"center"}},[e._v("请进入“王者荣耀”玩游戏积战绩")])]),n("a",{staticClass:"dialog-close",on:{click:function(t){e.dialogGiftFailed=!1}}})])]):e._e(),e.dialogGiftDetail?n("div",{staticClass:"dialog-wrap"},[n("div",{staticClass:"dialog"},[n("div",{staticClass:"dialog-prizes"},[n("img",{directives:[{name:"lazy",rawName:"v-lazy",value:e.getGiftPic(e.GiftDetail_giftinfo),expression:"getGiftPic(GiftDetail_giftinfo)"}]}),n("div",{staticClass:"prizes-msg"},[n("p",{staticClass:"msg-1"},[e._v(e._s(e.GiftDetail_giftinfo.name)+e._s(e.GiftDetail_giftinfo.benefittag?e.GiftDetail_giftinfo.benefittag:""))]),e.GiftDetail_mercdes&&e.GiftDetail_mercdes.length>0?n("p",{staticClass:"msg-2"},[n("span",[e._v(e._s(e.GiftDetail_mercdes))])]):e._e()])]),n("div",{staticClass:"rules",staticStyle:{border:"unset"}},[e._m(5),e.GiftDetail_bonusgiftinfo&&Object.keys(e.GiftDetail_bonusgiftinfo).length>0?n("div",{staticClass:"rules-prizes-limited"},[n("i",{staticClass:"prizes-limited-label"},[e._v("限量")]),n("p",{staticClass:"prizes-limited-img"},[n("img",{attrs:{src:e.getHttpsUrl(e.GiftDetail_bonusgiftinfo.picurl)}})]),n("div",{staticClass:"prizes-limited-msg"},[n("div",{staticClass:"prizes-limited-top"},[n("p",[e._v(e._s(e.getOverDueTime(e.GiftDetail_giftinfo.expiretime))+"前到店兑换上述物品后")]),e.GiftDetail_bonusgiftinfo.treasure_cfg?n("p",[e._v("有机会从宝箱中抽出以下奖励:")]):n("p",[e._v("额外送:"+e._s(e.GiftDetail_bonusgiftinfo.name))])]),e.GiftDetail_bonusgiftinfo.treasure_cfg?n("div",{staticClass:"prizes-img-list",staticStyle:{width:"4rem"}},[e._l(e.GiftDetail_bonusgiftinfo.treasure_cfg.gift_list,function(t,i){return n("img",{key:i,attrs:{src:e.getHttpsUrl(t.giftpic)},on:{click:function(n){return e.showTreasureHover(t)}}})}),n("div",{directives:[{name:"show",rawName:"v-show",value:e.dialogTreasureHover,expression:"dialogTreasureHover"}],staticClass:"img-hovertips"},[n("img",{attrs:{src:e.getHttpsUrl(e.treasureDetail.giftpic)}}),n("div",{staticClass:"img-hovertips-text"},[n("p",[e._v(e._s(e.treasureDetail.giftname))]),n("span",[e._v(e._s(e.treasureDetail.giftdetail))])])])],2):e._e(),n("p",{staticClass:"img-list-tips"},[e._v("宝箱会发放到“我的-物品”,请前往抽取奖励哦")])])]):e._e(),n("div",{staticClass:"rules-content rules-limited-height",staticStyle:{"white-space":"pre-wrap"}},[n("p",{domProps:{innerHTML:e._s(e.GiftDetail_giftinfo.giftdesc)}})])]),n("a",{staticClass:"dialog-close",on:{click:function(t){e.dialogGiftDetail=!1}}},[e._v("关闭弹窗")])])]):e._e(),e.dialogNoRoleTip?n("div",{staticClass:"dialog-wrap"},[n("div",{staticStyle:{width:"68%",position:"fixed",top:"30%",left:"50%","margin-left":"-34%","z-index":"200","background-color":"rgb(255, 255, 255)","padding-top":"20px","font-size":"0.28rem","border-radius":"2px"}},[n("h3",{staticStyle:{"font-size":"0.32rem",color:"#4A4A4A","font-weight":"normal","text-align":"center"}},[e._v("温馨提示")]),n("div",{staticStyle:{color:"#9B9B9B","font-size":"0.28rem","line-height":"0.4rem",padding:"10px 0.32rem 28px","text-align":"center"}},[e._v("对不起,你当前的"+e._s(e.utype)+"账号没有游戏角色,请更换登录账号重试")]),n("div",{staticStyle:{height:"40px","line-height":"40px","text-align":"center",width:"100%",display:"block","border-top":"1px solid rgba(216,216,216,0.5)"}},[n("a",{staticStyle:{color:"#D49B38"},on:{click:function(t){e.dialogNoRoleTip=!1}}},[e._v("我知道了")])])])]):e._e()])])},St=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("p",{staticClass:"wz-prizesmsg-others"},[n("span",[e._v('请在"我的物品"查看')])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"wz-dialog-notice-wrap"},[n("p",{staticClass:"wz-notice-msg-1"},[e._v("是否开启该商户的福利领取提醒?")]),n("p",{staticClass:"wz-notice-msg-2"},[e._v("若你的战绩达到领取标准,会收到站内信通知哦")])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"wz-dialog-notice-wrap"},[n("p",{staticClass:"wz-notice-msg-1"},[e._v("是否关闭该商户的福利领取提醒?")]),n("p",{staticClass:"wz-notice-msg-2"},[e._v("若关闭后就不能邮件通知你领取福利啦")])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"wz-dialog-notice-wrap"},[n("p",{staticClass:"wz-notice-msg-1"},[e._v("已开启商户的福利领取提醒")]),n("p",{staticClass:"wz-notice-msg-2"},[e._v("在当日战绩满足领取条件时,发送游戏邮件通知")])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("p",{staticClass:"msg-title"},[n("span",[e._v("待发放")])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("p",{staticClass:"msg-title"},[n("span",[e._v("奖励说明")])])}],Ct=n("f3e4"),Tt=(n("4917"),new Object),Et=navigator.userAgent.toLowerCase(),It=-1!=Et.indexOf("micromessenger"),Ot=-1!=Et.indexOf(" qq/"),At="",Rt="";function Ft(){Ot&&"undefined"!=typeof mqq?mqq&&mqq.ui&&mqq.ui.popBack():It&&"undefined"!=typeof wx&&wx&&wx.closeWindow()}function Mt(e,t,n){var i;for(i in t)(t.hasOwnProperty(i)&&!(i in e)||n)&&(e[i]=t[i]);return e}function Pt(e,t){var n="igameapp://jsapi/"+e+"?p="+encodeURIComponent(JSON.stringify(t)||""),i=document.createElement("iframe");i.setAttribute("width",0),i.setAttribute("height",0),i.setAttribute("style","display: none;"),document.body.appendChild(i),i.src=n,setTimeout(function(){document.body.removeChild(i)},0)}function Dt(){WeixinJSBridge.invoke("launchApplication",{schemeUrl:At},function(e){console.log(e),window.location.href=Rt})}Tt.invoke=function(e,t,n){Mt(t,{callback:n}),Pt(e,t)},Tt.openApp=function(e,t,n){var i=navigator.userAgent;"undefined"!=typeof e&&""!=e||(e=window.location.href),At=i.indexOf("Android")>-1||i.indexOf("Linux")>-1?e.indexOf("http://")>-1||e.indexOf("https://")>-1?"tencent://igame.app/open?url="+encodeURIComponent(e)+"&v="+(new Date).getTime():"tencent://igame.app/open?"+e+"&v="+(new Date).getTime():e.indexOf("http://")>-1||e.indexOf("https://")>-1?"IGame1042198954://"+encodeURIComponent(e):"IGame1042198954://?"+e,Rt="http://igame.qq.com/pvp/download/index.php?_t=1",t&&(Rt+="&adtag="+t),n=n||!1,n&&(Rt+="&view=download");var o=800,a=navigator.userAgent.match(/MicroMessenger\/([\d\.]+)/i),r=a&&a[1]&&parseInt(a[1].replace(/\./g,""))||0;if(!a||r<656){var s=Date.now(),c=document.createElement("div");c.style.visibility="hidden",c.innerHTML='',document.body.appendChild(c);setTimeout(function(){var e=Date.now()-s;e656&&("undefined"==typeof WeixinJSBridge?document.addEventListener?document.addEventListener("WeixinJSBridgeReady",Dt,!1):document.attachEvent&&(document.attachEvent("WeixinJSBridgeReady",Dt),document.attachEvent("onWeixinJSBridgeReady",Dt)):Dt())},Tt.openAppNotDownload=function(e,t){var n="",i=navigator.userAgent;"undefined"!=typeof e&&""!=e||(e=window.location.href),n=i.indexOf("Android")>-1||i.indexOf("Linux")>-1?e.indexOf("http://")>-1||e.indexOf("https://")>-1?"tencent://igame.app/open?url="+encodeURIComponent(e):"tencent://igame.app/open?"+e:e.indexOf("http://")>-1||e.indexOf("https://")>-1?"IGame1042198954://"+encodeURIComponent(e):"IGame1042198954://?"+e;var o=Date.now(),a=1e3,r=document.createElement("div");r.style.visibility="hidden",r.innerHTML='',document.body.appendChild(r);setTimeout(function(){var e=Date.now()-o;if(e-1||n.indexOf("Linux")>-1?e.indexOf("http://")>-1||e.indexOf("https://")>-1?"scheme://tencent://igame.app/open?url="+encodeURIComponent(e):"pkg://com.tencent.igame":e.indexOf("http://")>-1||e.indexOf("https://")>-1?"IGame1042198954://"+encodeURIComponent(e):"IGame1042198954://?"+e;Date.now();if(n.indexOf("Android")>-1||n.indexOf("Linux")>-1)confirm(t);else{var i=document.createElement("div");i.style.visibility="hidden",i.innerHTML='',document.body.appendChild(i)}};var Lt=Tt,jt=n("87f3"),Bt={showTipsDialog:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"温馨提示",i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"我知道了",o=arguments.length>4?arguments[4]:void 0,a="tip-dialog-showTipsDialog",r=document.getElementById(a);r&&document.body.removeChild(r);var s=document.createElement("div");s.id=a,s.style.cssText="position: fixed; width: 100%; height: 100%; top: 0; left: 0; background: rgba(0,0,0,0.7); z-index: 100";var c=document.createElement("div");c.style.cssText=t?"width: 30%;position: fixed;top: 45%;left: 35%;z-index: 200;background-color: #fff;padding-top: 20px;font-size: 0.28rem;border-radius: 2px;":"width: 68%;position: fixed;top: 30%;left: 50%;margin-left: -34%;z-index: 200;background-color: #fff;padding-top: 20px;font-size: 0.28rem;border-radius: 2px;";var l='

';l+=n,l+="

",l+=t?'
':'
',l+=e,l+="
",l+='",c.innerHTML=l,s.appendChild(c),document.body.appendChild(s);var d=c.getElementsByTagName("div");s.addEventListener("touchmove",function(e){e.preventDefault()}),d[1].addEventListener("click",function(){var e=document.getElementById(a);e&&(document.body.removeChild(e),"function"===typeof o&&o())})}},zt=Bt,Nt={gotoDzGame:function(){if(!nt["a"].Env.isMsdk&&!nt["a"].Env.isInGame){var e=function(e){switch(console.log({res:e}),e&&e.err_msg){case"launchApplication:ok":break;default:zt.showTipsDialog("你还没有安装游戏哦,可以微信搜索“欢乐斗地主”小程序,玩游戏累积战绩领奖");break}},t="wx76fc280041c16519://";if(nt["a"].Env.isWeixin)Object(jt["a"])("https://res.wx.qq.com/open/js/jweixin-1.4.0.js",function(){WeixinJSBridge.invoke("launchApplication",{schemeUrl:t,appID:"wx3d0d33def060a347"},e)});else if(nt["a"].Env.isQQ)Object(jt["a"])("https://open.mobile.qq.com/sdk/qqapi.js?_bid=152",function(){var e="";e=nt["a"].Env.isIos?"tencent363":"com.qqgame.hlddz",mqq.app.isAppInstalled(e,function(t){nt["a"].Env.isIos?t.result?mqq.app.launchApp(e):zt.showTipsDialog("你还没有安装游戏哦,可以微信搜索“欢乐斗地主”小程序,玩游戏累积战绩领奖"):t?mqq.app.launchApp(e):zt.showTipsDialog("你还没有安装游戏哦,可以微信搜索“欢乐斗地主”小程序,玩游戏累积战绩领奖")})});else{var n=document.createElement("div");n.style.visibility="hidden",n.innerHTML='',document.body.appendChild(n),window.location.href="wx76fc280041c16519://"}}},gotoWzGame:function(){if(!nt["a"].Env.isMsdk&&!nt["a"].Env.isInGame){var e=function(e){switch(console.log({res:e}),e&&e.err_msg){case"launchApplication:ok":break;default:zt.showTipsDialog("你还没有安装游戏哦,请安装“王者荣耀”,玩游戏累积战绩领奖");break}},t="wx95a3a4d7c627e07d://";if(nt["a"].Env.isWeixin)Object(jt["a"])("https://res.wx.qq.com/open/js/jweixin-1.4.0.js",function(){WeixinJSBridge.invoke("launchApplication",{schemeUrl:t,appID:"wx3d0d33def060a347"},e)});else if(nt["a"].Env.isQQ)Object(jt["a"])("https://open.mobile.qq.com/sdk/qqapi.js?_bid=152",function(){var e="";e=nt["a"].Env.isIos?"tencent1104466820":"com.tencent.tmgp.sgame",mqq.app.isAppInstalled(e,function(t){nt["a"].Env.isIos?t.result?mqq.app.launchApp(e):zt.showTipsDialog("你还没有安装游戏哦,请安装“王者荣耀”,玩游戏累积战绩领奖"):t?mqq.app.launchApp(e):zt.showTipsDialog("你还没有安装游戏哦,请安装“王者荣耀”,玩游戏累积战绩领奖")})});else{var n=document.createElement("div");n.style.visibility="hidden",n.innerHTML='',document.body.appendChild(n),window.location.href=t}}}},Gt=Nt,Ut={name:"TipComponents",props:{position:{type:Object,default:null}},data:function(){return{utype:"",isInGame:nt["a"].Env.isMsdk||nt["a"].Env.isInGame,dialogGiftDetail:!1,dialogGiftFailed:!1,dialogGiftSuccess:!1,dialogSubTip:!1,dialogUnSubTip:!1,dialogSubDone:!1,dialogNoRoleTip:!1,GiftDetail_giftinfo:null,GiftDetail_bonusgiftinfo:null,GiftDetail_mercdes:"",rewardGift:{},rewardEGift:{},getFailTtime:0,getFailAtime:0,getFailDes:"",alreadyGetClass:!1,noticeMerchantid:"",noticeTaskid:"",roleIdx:"",selectRoleName:"",selectRoleArea:"",taskRewardCallback:null,selectMercAct:null,subscribeid:"",optype:1,subCallback:null,willSubscribe:!0,isSubscribed:!1,dialogTreasureHover:!1,treasureDetail:{}}},watch:{willSubscribe:function(e){e?(this.optype=1,this.getSubscribeMerc(!0)):(this.optype=2,this.getSubscribeMerc(!0))}},mounted:function(){nt["a"].Env.isInGame||nt["a"].Env.isMsdk?this.utype=1==Ct["a"].get("msdk_utype")?"QQ":"微信":nt["a"].Env.isPvpApp?this.utype=1==Ct["a"].get("tiplogin_utype")?"QQ":"微信":this.utype=nt["a"].Env.isWeixin?"微信":nt["a"].Env.isQQ?"QQ":"",this.getRoleList()},methods:{showGiftDetail:function(e,t,n,i,o){var a=this;this.selectMercAct=o,o&&(this.GiftDetail_mercdes=(o.brandinfo&&0!=Object.keys(o.brandinfo).length?o.mercinfo.storename+"…等"+o.brandinfo.mercNum+"家门店":o.mercinfo.storename)+" >");var r={brandid:e,mercid:t,taskid:n,brandactid:n,is_bonus:i,lng:this.position.lng,lat:this.position.lat};Object(tt["a"])({method:"post",data:ot.a.stringify(r),dataType:"json",url:"/shop/brand/get_brand_merc_task_gift"}).then(function(e){0==e.data.r?(e.data.data.giftinfo&&(a.GiftDetail_giftinfo=e.data.data.giftinfo),e.data.data.bonusgiftinfo?a.GiftDetail_bonusgiftinfo=e.data.data.bonusgiftinfo:a.GiftDetail_bonusgiftinfo=null,a.dialogGiftDetail=!0):dt["a"].show(""!=e.data.msg?e.data.msg:"操作失败,请稍后重试",2)})},getTaskReward:function(e,t,n,i,o,a){var r=this;this.reportHotTag("get_task."+e),this.isSubscribed=a,this.subscribeid=o,i&&(this.selectMercAct=i),n&&(this.taskRewardCallback=n),dt["a"].showLoading(!0),this.noticeMerchantid=e,this.noticeTaskid=t.funcid;var s={merchantid:e,taskid:t.funcid};Object(tt["a"])({method:"post",data:ot.a.stringify(s),dataType:"json",url:"/shop/privilege/get_task_reward"}).then(function(i){dt["a"].showLoading(!1),0==i.data.r?(1==i.data.data.state?(r.reportHotTag("get_task_success."+e),r.dialogGiftSuccess=!0,r.rewardGift=i.data.data.gift,i.data.data.extra_gift?r.rewardEGift=i.data.data.extra_gift:r.rewardEGift={},r.alreadyGetClass=!1,!r.isSubscribed&&r.isInGame&&(r.optype=1,r.willSubscribe=!0,r.getSubscribeMerc(!0))):2==i.data.data.state?(r.dialogGiftFailed=!0,r.getFailDes=t.actdesc,r.getFailTtime=i.data.data.target_times_down,r.getFailAtime=i.data.data.achieve_times):3==i.data.data.state&&(r.dialogGiftSuccess=!0,r.rewardGift=i.data.data.gift,i.data.data.extra_gift?r.rewardEGift=i.data.data.extra_gift:r.rewardEGift={},r.alreadyGetClass=!0),n(i.data.data.state)):"没有角色"==nt["a"].ErrorCode.handleErrorCode(i.data.r,i.data.msg)?r.dialogNoRoleTip=!0:dt["a"].show(nt["a"].ErrorCode.handleErrorCode(i.data.r,i.data.msg),3)})},showSubscribeMerc:function(e,t,n,i){i&&(this.subCallback=i),this.subscribeid=e||t,n?(this.optype=2,this.dialogUnSubTip=!0):(this.optype=1,this.dialogSubTip=!0)},getOverDueTime:function(e){if(e){var t=new Date(1e3*e);return nt["a"].Date.formatDate(t,"MM.dd")}return"过期时间"},getGiftPic:function(e){return 1==e.gifttype?"https://game.gtimg.cn/images/user/cp/wxsystemToC20170712/store/zkq0929.png":2==e.gifttype?"https://game.gtimg.cn/images/user/cp/wxsystemToC20170712/store/jmq0929.png":e.picurl},getExpireTime:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(Object.keys(e).length>0&&e.water&&e.water.overduetime){var n=e.water.overduetime,i=new Date(1e3*n);return 0==t?nt["a"].Date.formatDate(i,"yyyy-MM-dd"):nt["a"].Date.formatDate(i,"MM.dd")}if(Object.keys(e).length>0&&e.expiretime){var o=e.expiretime,a=new Date(1e3*o);return 0==t?nt["a"].Date.formatDate(a,"yyyy-MM-dd"):nt["a"].Date.formatDate(a,"MM.dd")}return""},getRoleList:function(){var e=this;Object(tt["a"])({method:"post",dataType:"json",url:"/pvp/comm/user/get_role_list"+nt["a"].URL.msdkSuffix()}).then(function(t){if(0==t.data.r)for(var n=0;n0?e.brandinfo.brandid:e.mercinfo.merchantid,e.mercinfo.brandid&&(this.subscribeid=e.mercinfo.brandid),this.optype=1,this.dialogSubTip=!0},getSubscribeMerc:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this.subscribeid){var n={subscribeid:this.subscribeid,optype:this.optype},i={command:"mercshow.SubscribeMerc",req_data:encodeURIComponent(JSON.stringify(n))};Object(tt["a"])({method:"post",dataType:"json",data:ot.a.stringify(i),url:"/commcgi/route/index"}).then(function(n){0==n.data.r?(1!=e.optype||t?2!=e.optype||t||(dt["a"].show("已关闭提醒",1),e.subCallback&&e.subCallback(!1)):(1!=Ct["a"].get("firstSubscribeDialog")?(e.dialogSubDone=!0,Ct["a"].set("firstSubscribeDialog",1,31536e5)):dt["a"].show("已开启提醒",1),e.subCallback&&e.subCallback(!0)),t&&e.taskRewardCallback&&e.taskRewardCallback()):dt["a"].show(""!=n.data.msg?n.data.msg:"操作失败,请稍后重试",2)})}},gotoGoods:function(){this.rewardGift.water&&this.rewardGift.water.winningtime?this.gotoGoodDetail(this.rewardGift.water.winningtime):this.gotoGoodList()},gotoGoodDetail:function(e){if(nt["a"].Env.isPvpApp){var t={action:0,url:"local://GiftDetail",extras:{id:e}};Lt.invoke("jumpUrl",t,"")}else this.jumpToPage("".concat(window.location.origin,"/newcss/pvp/acts/2019/a20190717IngameWzrs/index.html?winningtime=")+e+nt["a"].URL.msdkSuffix().replace("?","&")+"#/good-detail")},gotoGoodList:function(){if(nt["a"].Env.isPvpApp){var e={action:0,url:"local://GiftActivity",extras:{}};Lt.invoke("jumpUrl",e,"")}else window.sessionStorage.setItem("wzrs_selectTab",2),window.sessionStorage.setItem("wzrs_goodsSelectTab",4),this.jumpToPage("".concat(window.location.origin,"/newcss/pvp/acts/2019/a20190717IngameWzrs/index.html")+nt["a"].URL.msdkSuffix())},jumpToPage:function(e){self!=top?top.location.href=e:window.location.href=e},gotoMercDetail:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(e.brandinfo&&e.brandinfo.brandid&&e.brandinfo.brandid.length>0){var n=e.brandinfo.brandid;this.gotoBrandPage(n,t)}else{var i=e.mercinfo.merchantid;this.gotoMercPage(i,t)}},gotoBrandPage:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;0==t?window.sessionStorage.setItem("linkage_tab",0):1==t&&window.sessionStorage.setItem("linkage_tab",1),this.jumpToPage("".concat(window.location.origin,"/newcss/pvp/acts/2019/a20190717IngameWzrs/index.html")+"?brandid="+e+"&"+nt["a"].URL.msdkSuffix().slice(1)+"#/linkage")},gotoMercPage:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;0==t?window.sessionStorage.setItem("curTab",0):1==t&&window.sessionStorage.setItem("curTab",1),this.isInGame?this.jumpToPage("".concat(window.location.origin,"/newcss/pvp/acts/2019/a20190404IngameMerchant/index.html")+"?merchantid="+e+"&"+nt["a"].URL.msdkSuffix().slice(1)):this.jumpToPage("".concat(window.location.origin,"/newcss/pvp/acts/2019/a20190717IngameWzrs/index.html")+"?merchantid="+e+"&"+nt["a"].URL.msdkSuffix().slice(1)+"#/merc")},gotoWzGame:function(){Gt.gotoWzGame()},getHttpsUrl:function(e){return nt["a"].URL.getHttpsUrl(e)},showTreasureHover:function(e){var t=this;this.dialogTreasureHover=!0,this.treasureDetail=e,setTimeout(function(){t.dialogTreasureHover=!1},3e3)}}},qt=Ut,Wt=(n("14f5"),Object(pt["a"])(qt,kt,St,!1,null,"8610e5ac",null)),Vt=Wt.exports;n("ac4d"),n("8a81");function Ht(e){return Ht="function"===typeof Symbol&&"symbol"===Qt(Symbol.iterator)?function(e){return Qt(e)}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":Qt(e)},Ht(e)}function Qt(e){return Qt="function"===typeof Symbol&&"symbol"===Ht(Symbol.iterator)?function(e){return Ht(e)}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":Ht(e)},Qt(e)}n("b54a");var Jt=new Object,$t=(navigator.userAgent.toLowerCase(),""),Kt="";function Xt(e,t,n){var i;for(i in t)(t.hasOwnProperty(i)&&!(i in e)||n)&&(e[i]=t[i]);return e}function Yt(e,t){var n="gamelife://jsapi/"+e+"?p="+encodeURIComponent(JSON.stringify(t)||""),i=document.createElement("iframe");i.setAttribute("width",0),i.setAttribute("height",0),i.setAttribute("style","display: none;"),document.body.appendChild(i),i.src=n,setTimeout(function(){document.body.removeChild(i)},0)}function Zt(){WeixinJSBridge.invoke("launchApplication",{schemeUrl:$t},function(e){console.log(e),window.location.href=Kt})}Jt.invoke=function(e,t,n){Xt(t,{callback:n}),Yt(e,t)},Jt.openApp=function(e,t,n){var i=navigator.userAgent;"undefined"!=typeof e&&""!=e||(e=window.location.href),$t=i.indexOf("Android")>-1||i.indexOf("Linux")>-1?e.indexOf("http://")>-1||e.indexOf("https://")>-1?"tencent://gamelife.app/open?url="+encodeURIComponent(e)+"&v="+(new Date).getTime():"tencent://gamelife.app/open?"+e+"&v="+(new Date).getTime():e.indexOf("http://")>-1||e.indexOf("https://")>-1?"GameLife://"+encodeURIComponent(e):"GameLife://?"+e,Kt="http://igame.qq.com/tip/download/index.php?_t=1",t&&(Kt+="&adtag="+t),n=n||!1,n&&(Kt+="&view=download");var o=navigator.userAgent.match(/MicroMessenger\/([\d\.]+)/i),a=o&&o[1]&&parseInt(o[1].replace(/\./g,""))||0;if(!o||a<656){var r=Date.now(),s=document.createElement("div");s.style.visibility="hidden",s.innerHTML='',document.body.appendChild(s),setTimeout(function(){var e=Date.now()-r;e<1e3&&(window.location.href=Kt)},800)}else a>656&&("undefined"==typeof WeixinJSBridge?document.addEventListener?document.addEventListener("WeixinJSBridgeReady",Zt,!1):document.attachEvent&&(document.attachEvent("WeixinJSBridgeReady",Zt),document.attachEvent("onWeixinJSBridgeReady",Zt)):Zt())},Jt.openAppNotDownload=function(e,t){var n="",i=navigator.userAgent;"undefined"!=typeof e&&""!=e||(e=window.location.href),n=i.indexOf("Android")>-1||i.indexOf("Linux")>-1?e.indexOf("http://")>-1||e.indexOf("https://")>-1?"tencent://igame.app/open?url="+encodeURIComponent(e):"tencent://igame.app/open?"+e:e.indexOf("http://")>-1||e.indexOf("https://")>-1?"IGame1042198954://"+encodeURIComponent(e):"IGame1042198954://?"+e;var o=Date.now(),a=1e3,r=document.createElement("div");r.style.visibility="hidden",r.innerHTML='',document.body.appendChild(r),setTimeout(function(){var e=Date.now()-o;if(e-1||n.indexOf("Linux")>-1?e.indexOf("http://")>-1||e.indexOf("https://")>-1?"scheme://tencent://igame.app/open?url="+encodeURIComponent(e):"pkg://com.tencent.igame":e.indexOf("http://")>-1||e.indexOf("https://")>-1?"IGame1042198954://"+encodeURIComponent(e):"IGame1042198954://?"+e,n.indexOf("Android")>-1||n.indexOf("Linux")>-1)confirm(t);else{var i=document.createElement("div");i.style.visibility="hidden",i.innerHTML='',document.body.appendChild(i)}};var en=Jt,tn=n("bc3a"),nn=n.n(tn),on=n("18a0"),an={},rn={},sn={};sn.ua=navigator.userAgent.toLowerCase(),sn.isWeixin=-1!=sn.ua.indexOf("micromessenger"),sn.isQQ=-1!=sn.ua.indexOf(" qq/"),sn.isPvpApp=-1!=sn.ua.indexOf(" igameapp/"),sn.isTipApp=-1!=sn.ua.indexOf(" gamelife/"),sn.isAndroid=-1!=sn.ua.indexOf("android"),sn.isIos=-1!=sn.ua.indexOf("iphone")||-1!=sn.ua.indexOf("ipad"),sn.isMsdk=-1!=sn.ua.indexOf(" msdk/"),sn.isInGame=-1!=sn.ua.indexOf("ingame"),sn.isGHelper=-1!=sn.ua.indexOf("gamehelper"),sn.isTestEnv=-1!==window.location.host.indexOf("test"),sn.version="";var cn=sn.ua.match(/micromessenger\/([\d\.]+)/i),ln=sn.ua.match(/ qq\/([\d\.]+)/i),dn=sn.ua.match(/ igameapp\/([\d\.]+)/i),fn=sn.ua.match(/ gamelife\/([\d\.]+)/i);cn&&cn[1]&&(sn.version=cn[1]),ln&&ln[1]&&(sn.version=ln[1]),dn&&dn[1]&&(sn.version=dn[1]),fn&&fn[1]&&(sn.version=fn[1]);var un={};function pn(){un.initCommShareUI("msdkShareDelegate"),un.openShareUI=function(){un.showCommShareUI()},window.msdkShareDelegate=function(e){e=e||0;var t={1:'{"MsdkMethod":"WGSendToWeiXinWithUrl","scene":"0","title":"'+rn.title+'","desc":"'+rn.desc+'","url":"'+rn.link+'","mediaTagName":"MSG_INVITE","messageExt":"'+rn.title+'"}',2:'{"MsdkMethod":"WGSendToWeiXinWithUrl","scene":"1","title":"'+rn.title+'","desc":"'+rn.desc+'","url":"'+rn.link+'","mediaTagName":"MSG_INVITE","messageExt":"'+rn.title+'"}',3:'{"MsdkMethod":"WGSendToQQ","scene":"2","title":"'+rn.title+'","desc":"'+rn.desc+'","url":"'+rn.link+'"}',4:'{"MsdkMethod":"WGSendToQQ","scene":"1","title":"'+rn.title+'","desc":"'+rn.desc+'","url":"'+rn.link+'"}'};if("undefined"==typeof t[e])return!1;var n=t[e];try{msdkShare(n)}catch(Sn){throw Sn}}}function mn(){un.initCommShareUI("slugSDKShareDelegate"),un.openShareUI=function(){un.showCommShareUI()},window.slugSDKShareDelegate=function(e){if("object"==("undefined"===typeof customBrowserInterface?"undefined":Qt(customBrowserInterface)))switch(e){case 1:customBrowserInterface.sendToWeixinWithUrl(2,rn.title,rn.desc,rn.link,rn.icon);break;case 2:customBrowserInterface.sendToWeixinWithUrl(1,rn.title,rn.desc,rn.link,rn.icon);break;case 3:customBrowserInterface.sendToQQ(2,rn.title,rn.desc,rn.link,rn.icon);break;case 4:customBrowserInterface.sendToQQ(1,rn.title,rn.desc,rn.link,rn.icon);break}else console.log("未引用sdk")}}function gn(){function e(){un.openShareUI=function(){GameHelper.shareWebPage(rn.title,rn.desc,rn.icon,rn.link,null)}}"undefined"==typeof GameHelper&&document.addEventListener?document.addEventListener("GameHelperReady",e,!1):e()}function hn(){un.initCommShareTip(),Object(jt["a"])("https://open.mobile.qq.com/sdk/qqapi.js?_bid=152",function(){mqq&&mqq.ui&&mqq.ui.setOnShareHandler(function(e){if(0==e||1==e||2==e||3==e){var t={title:rn.title,desc:rn.desc,share_type:e,share_url:rn.link,image_url:rn.icon,back:!0,uinType:0},n=function(e){rn.callback&&rn.callback()};mqq.ui.shareMessage(t,n)}})})}function vn(){un.initCommShareTip();var e=sn.isTestEnv?"https://mtest.igame.qq.com/pvp/share/get_share_cfg":"https://m.igame.qq.com/pvp/share/get_share_cfg";nn()({method:"get",dataType:"json",url:e}).then(function(e){var t=e.data;if(console.log("initWeixinShare data : ",t),0==t.r){on.config({beta:!0,debug:!1,appId:t.wxappid,timestamp:t.timestamp,nonceStr:t.noncestr,signature:t.signature,jsApiList:["onMenuShareTimeline","onMenuShareAppMessage","onMenuShareQQ","onMenuShareQZone"]});var n={title:rn.title,desc:rn.desc,link:rn.link,imgUrl:rn.icon,type:"",dataUrl:"",success:function(){rn.callback&&rn.callback()},cancel:function(){}};on.ready(function(){on.onMenuShareTimeline(n),on.onMenuShareAppMessage(n),on.onMenuShareQQ(n),on.onMenuShareQZone(n)})}}).catch(function(e){console.log("initWeixinShare error : "+e)})}function bn(){var e={type:"1",share_url:rn.link,image_url:rn.icon,title:rn.title,desc:rn.desc};window.shareCallBack=function(e){rn.callback&&rn.callback()},window.setTitleButtonsCallback=function(){Lt.invoke("openShare",e,"shareCallBack")};var t={title:document.getElementsByTagName("title")[0].innerText,button:"分享"};Lt.invoke("setTitleButtons",t,"setTitleButtonsCallback")}function wn(){var e={type:"1",share_url:rn.link,image_url:rn.icon,title:rn.title,desc:rn.desc};window.shareCallBack=function(e){rn.callback&&rn.callback()},window.setTitleButtonsCallback=function(){en.invoke("openShare",e,"shareCallBack")};var t={title:document.getElementsByTagName("title")[0].innerText,button:"分享"};en.invoke("setTitleButtons",t,"setTitleButtonsCallback")}un.initCommShareUI=function(e){var t=document.getElementById("div_share_ui_style");null!=t&&t.parentNode.removeChild(t);var n=document.createElement("style");n.id="div_share_ui_style",n.type="text/css",n.innerHTML=".share-dialog-login{ padding:30px 20px; position:fixed; left:0; right:0; bottom:0;background:#222222; z-index:2001}\t\t\t\t\t\t.share-choose-login {width:100%;margin:20px auto 0;text-align: center;font-size:0;}\t\t\t\t\t\t.share-choose-login a {display:inline-block;vertical-align:middle;width:25%;}\t\t\t\t\t\t.share-type{ width:45px; height:45px; display:block; margin:0 auto; }\t\t\t\t\t\t.share-type-1{background:url(//game.gtimg.cn/images/sy/2016/miniweb/ingame/commsrc/shareicon.png) no-repeat;background-size:auto 100%;}\t\t\t\t\t\t.share-type-2{background:url(//game.gtimg.cn/images/sy/2016/miniweb/ingame/commsrc/shareicon.png) -45px 0 no-repeat;background-size:auto 100%;}\t\t\t\t\t\t.share-type-3{background:url(//game.gtimg.cn/images/sy/2016/miniweb/ingame/commsrc/shareicon.png) -90px 0 no-repeat;background-size:auto 100%;}\t\t\t\t\t\t.share-type-4{background:url(//game.gtimg.cn/images/sy/2016/miniweb/ingame/commsrc/shareicon.png) -135px 0 no-repeat;background-size:auto 100%;}\t\t\t\t\t\t.share-public-text {display: block;color: #aaa;font-size:14px;line-height:20px;padding-top:6px;}\t\t\t\t\t\t.share-dialog-close{ width:25px; height:25px; display:block; position:absolute; right:10px; top:10px; background:url(//game.gtimg.cn/images/user/cp/a20170922tipYYB/close-b.png) center center no-repeat; background-size:15px 15px; text-indent:-1000em; overflow:hidden}\t\t\t\t\t\t.share-layer{ width:100%; height:100%; position:fixed; left:0; top:0; z-index:2000; background:rgba(0,0,0,0.5)}",document.getElementsByTagName("head")[0].appendChild(n);var i=document.getElementById("div_share_ui");null!=i&&i.parentNode.removeChild(i);var o=document.createElement("div");o.id="div_share_ui",o.style.display="none",o.innerHTML='',document.getElementsByTagName("body")[0].appendChild(o)},un.initCommShareTip=function(){var e=document.getElementById("div_share_tip_style");null!=e&&e.parentNode.removeChild(e);var t=document.createElement("style");t.id="div_share_tip_style",t.type="text/css",t.innerHTML=".tip-toc-sharetips {position: fixed;z-index: 9999;height: 100%;width: 100%;left: 0;top: 0;background: rgba(0,0,0,0.7);}\n .tip-toc-sharetips p { padding: 2.1rem 2.2rem 0.1rem 0.2rem;\n text-align: right;\n font-size: .36rem;\n height: 2rem;\n color: #fff;\n background: url(https://image-1251917893.cos.ap-guangzhou.myqcloud.com/TIP_GameSystem_2020/toC/icon/share-arrow-2.png) 5.3rem center no-repeat;\n background-size: 1.58rem 1.52rem;}",document.getElementsByTagName("head")[0].appendChild(t);var n=document.getElementById("div_share_tip");null!=n&&n.parentNode.removeChild(n);var i=document.createElement("div");i.id="div_share_tip",i.style.display="none",i.innerHTML='

点此分享

',document.getElementsByTagName("body")[0].appendChild(i);var o=document.getElementById("div_share_tip");o.addEventListener("click",function(){document.getElementById("div_share_tip").style.display="none"},!1)},un.showCommShareUI=function(){document.getElementById("div_share_ui").style.display="block"},un.showCommShareTip=function(){document.getElementById("div_share_tip").style.display="block"},an.openShareUI=function(){if(sn.isPvpApp||sn.isTipApp){var e={type:"1",title:rn.title,desc:rn.desc,image_url:rn.icon,share_url:rn.link};Lt.invoke("openShare",e,"shareCallBack")}else sn.isInGame||sn.isGHelper?un&&un.openShareUI&&un.openShareUI():(sn.isQQ||sn.isWeixin)&&un&&un.showCommShareTip&&un.showCommShareTip()},an.initShare=function(e){"undefined"==typeof e&&(e={}),e.title=e.title||document.getElementsByTagName("title")[0].innerText,e.desc=e.desc||e.title,e.link=e.link||window.location.href,e.icon=e.icon||"http://ossweb-img.qq.com/images/pmd/igameapp/logo/log_igame_3.0.png",rn=e,sn.isMsdk?pn():sn.isGHelper?gn():sn.isQQ?hn():sn.isWeixin?vn():sn.isPvpApp?bn():sn.isTipApp?wn():sn.isInGame&&mn()};var yn=an;c["a"].use(et),et.allowMultiple(!0);var _n={name:"Index",components:{giftDialog:Vt},data:function(){return{isInGame:nt["a"].Env.isInGame||nt["a"].Env.isMsdk,roleInfo:{rolename:""},location:{lat:0,lng:0},isSubscribe:!1,didInitShareParams:!1,groups:[]}},mounted:function(){var e=this;this.reportStat(),setTimeout(function(){return console.log("Modified date: 2020.04.24 18:25")},500);var t=this.showWaitingToast(),n=new Promise(function(t,n){e.startLocationWithCallback(function(e,n){t({lat:e,lng:n})})}),i=new Promise(function(e,t){xt.getMainRole().then(function(t){console.log("getMainRole="+JSON.stringify(t)),e(t)}).catch(function(e){t(e)})});Promise.all([n,i]).then(function(n){console.log("data="+JSON.stringify(n));var i=n[0],o=n[1].role_base_info;e.roleInfo=o,e.location.lat=i.lat,e.location.lng=i.lng,t.clear(),e.getAfternoonTeaList(i.lat,i.lng,o.roleidx)}).catch(function(e){t.clear(),e?zt.showTipsDialog(e):zt.showTipsDialog("未知错误")})},methods:{reportStat:function(){var e={plat:nt["a"].Env.isIos?2:1,merc_id:"wx95a3a4d7c627e07d",module_id:10006,oper_id:100,gid:331,sresv1:"wzh5_wsq"};Object(tt["a"])({method:"post",data:ot.a.stringify(e),dataType:"json",url:"/pvp/comm/report/stat_daily_number"}).catch(function(e){}).then(function(e){})},getAfternoonTeaList:function(e,t,n){var i=this,o=this.showWaitingToast(),a={lat:e,lng:t,roleidx:n};Object(tt["a"])({method:"post",dataType:"json",data:ot.a.stringify(a),url:"/acts/a20200411afternoontea/index"}).then(function(e){if(o.clear(),0==e.data.r){i.isSubscribe=1==e.data.data.isSub,i.groups.splice(0,i.groups.length);for(var t=e.data.data.items,n=0;n0)return e.benefittag;var t=Math.floor(10*e.amount)/10;return 1==e.gifttype?"享"+t+"折":2==e.gifttype?"立减"+t+"元":""},taskInfoForCondition:function(e){if(100==e.fieldid)return{desc:"",progress:0};var t=0;t=e.achieve_times>e.target_times_down?e.target_times_down:e.achieve_times?e.achieve_times:0;var n=e.target_times_down,i="今日"+e.desc,o=i+"("+t+"/"+n+")",a=0;return 0!=n&&(a=1*t/n*100+"%"),{desc:o,progress:a,simpleDesc:i}},getRewardButtonTitleForTask:function(e){switch(e.acquire_status){case 1:return"领取";case 2:return"已领完";case 3:return"已领取";default:return""}},onGetRewardClick:function(e){var t=this,n=this.taskInfoForCondition(e.task_info.condition[0]).simpleDesc,i={funcid:e.task_info.taskid,actdesc:n};this.$refs.giftDialog.getTaskReward(e.task_info.merchantid,i,function(n){if(console.log("getTaskReward callback:"+n),1==n&&(e.acquire_status=3),0==t.isSubscribe){var i=sessionStorage.getItem("didShowSubscribeSpringTeaActAlert");i&&"false"!=i||(t.showSubscribeSpringTeaActAlert(),sessionStorage.setItem("didShowSubscribeSpringTeaActAlert","true"))}})},onSwitchRoleClick:function(){var e=this;xt.show({callback:function(t){console.log("Switch role: ",t),e.roleInfo=t.role_base_info,e.getAfternoonTeaList(e.location.lat,e.location.lng,e.roleInfo.roleidx)},changeMainRole:!0})},onMyGoodsClick:function(){if(this.checkEnv())if(nt["a"].Env.isInGame)window.sessionStorage.setItem("wzrs_selectTab",2),window.sessionStorage.setItem("wzrs_goodsSelectTab",4),window.location.href="".concat(window.location.origin,"/newcss/pvp/acts/2019/a20190717IngameWzrs/index.html")+nt["a"].URL.msdkSuffix();else if(nt["a"].Env.isMsdk)window.sessionStorage.setItem("wzrs_selectTab",2),window.sessionStorage.setItem("wzrs_goodsSelectTab",4),window.location.href="".concat(window.location.origin,"/newcss/pvp/acts/2019/a20190717IngameWzrs/index.html")+nt["a"].URL.msdkSuffix();else if(nt["a"].Env.isPvpApp){var e={action:0,url:"local://GiftActivity",extras:{}};Lt.invoke("jumpUrl",e,"")}else window.sessionStorage.setItem("wzrs_selectTab",2),window.sessionStorage.setItem("wzrs_goodsSelectTab",4),window.location.href="".concat(window.location.origin,"/newcss/pvp/acts/2019/a20190717IngameWzrs/index.html?simglePage=1")},onGoBackClick:function(){""==document.referrer?nt["a"].Env.isMsdk&&window.msdkCloseWebview?window.msdkCloseWebview():nt["a"].Env.isInGame&&window.customBrowserInterface.closeWebview():window.history.go(-1)},onSubscribeClick:function(){var e,t=this,n=this.showWaitingToast();e=this.isSubscribe?"cancel":nt["a"].Env.isInGame?"h5-wzry":"h5-wzrs";var i={subtype:1586337881,gid:331,info:e},o={command:"tip.subscribe.SubCmd",req_data:encodeURIComponent(JSON.stringify(i))};Object(tt["a"])({method:"post",dataType:"json",data:ot.a.stringify(o),url:"/commcgi/route/index"}).then(function(e){n.clear(),0==e.data.r?t.isSubscribe?(t.isSubscribe=!1,et.success("取消订阅成功")):(t.isSubscribe=!0,et.success("订阅成功")):et.fail("操作失败\n"+e.data.msg)}).catch(function(e){n.clear(),et.fail("操作失败\n"+e)})},onShowMoreClick:function(){this.checkEnv()&&(nt["a"].Env.isInGame?window.location.href="https://pvp.qq.com/ingame/all/modern/index.html".concat(nt["a"].URL.msdkSuffix(),"#/whatsup/life"):nt["a"].Env.isMsdk?window.location.href="".concat(window.location.origin,"/newcss/pvp/acts/2020/a20200116weishequ/index.html")+nt["a"].URL.msdkSuffix():window.location.href="".concat(window.location.origin,"/newcss/pvp/acts/2019/a20191021storelist/index.html?tagid=1586420949"))},showWaitingToast:function(){return et.loading({duration:0,forbidClick:!0,message:"请稍候..."})},showSubscribeSpringTeaActAlert:function(){window.confirm("订阅主题活动,优惠不错过")&&this.onSubscribeClick()},startLocationWithCallback:function(e){r.a.initConfig({geo_key:"PBDBZ-NC5WP-KRBDR-LUV7Z-OKLOT-LVFQE",geo_referer:"tip",wx_conf_url:"https://"+document.domain+"/pvp/share/get_share_cfg"}),r.a.startLocation(function(t,n){e(t.lat,t.lng)},!0,!1)},checkEnv:function(){return!!(nt["a"].Env.isPvpApp||nt["a"].Env.isTipApp||nt["a"].Env.isMsdk||nt["a"].Env.isInGame||nt["a"].Env.isQQ||nt["a"].Env.isWeixin||nt["a"].Env.isGHelper)||(alert("请复制链接到QQ或微信打开"),!1)},dealHttps:function(e){return e.startsWith("http://")&&(e=e.replace("http","https")),e}}},xn=_n,kn=Object(pt["a"])(xn,i,o,!1,null,null,null);t["default"]=kn.exports},4127:function(e,t,n){"use strict";var i=n("d233"),o=n("b313"),a={brackets:function(e){return e+"[]"},indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},r=Date.prototype.toISOString,s={delimiter:"&",encode:!0,encoder:i.encode,encodeValuesOnly:!1,serializeDate:function(e){return r.call(e)},skipNulls:!1,strictNullHandling:!1},c=function e(t,n,o,a,r,c,l,d,f,u,p,m){var g=t;if("function"===typeof l)g=l(n,g);else if(g instanceof Date)g=u(g);else if(null===g){if(a)return c&&!m?c(n,s.encoder):n;g=""}if("string"===typeof g||"number"===typeof g||"boolean"===typeof g||i.isBuffer(g)){if(c){var h=m?n:c(n,s.encoder);return[p(h)+"="+p(c(g,s.encoder))]}return[p(n)+"="+p(String(g))]}var v,b=[];if("undefined"===typeof g)return b;if(Array.isArray(l))v=l;else{var w=Object.keys(g);v=d?w.sort(d):w}for(var y=0;y0?E+T:""}},4328:function(e,t,n){"use strict";var i=n("4127"),o=n("9e6a"),a=n("b313");e.exports={formats:a,parse:o,stringify:i}},4451:function(e,t,n){t=e.exports=n("2350")(!1),t.push([e.i,".show-portrait[data-v-8610e5ac]{display:none}.show-landscape[data-v-8610e5ac]{display:block}@media screen and (orientation:portrait){.show-portrait[data-v-8610e5ac]{display:block}.show-landscape[data-v-8610e5ac]{display:none}}",""])},"44af":function(e,t,n){var i=n("4451");"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("499e").default;o("ead3443e",i,!0,{sourceMap:!1,shadowMode:!1})},"456d":function(e,t,n){var i=n("4bf8"),o=n("0d58");n("5eda")("keys",function(){return function(e){return o(i(e))}})},"45b0":function(e,t,n){var i=n("18fa");"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("499e").default;o("32d94598",i,!0,{sourceMap:!1,shadowMode:!1})},"467f":function(e,t,n){"use strict";var i=n("2d83");e.exports=function(e,t,n){var o=n.config.validateStatus;!o||o(n.status)?e(n):t(i("Request failed with status code "+n.status,n.config,null,n.request,n))}},"499e":function(e,t,n){"use strict";function i(e,t){for(var n=[],i={},o=0;on.parts.length&&(i.parts.length=n.parts.length)}else{var r=[];for(o=0;o=t.length?{value:void 0,done:!0}:(e=i(t,n),this._i+=e.length,{value:e,done:!1})})},"5eda":function(e,t,n){var i=n("5ca1"),o=n("8378"),a=n("79e5");e.exports=function(e,t){var n=(o.Object||{})[e]||Object[e],r={};r[e]=t(n),i(i.S+i.F*a(function(){n(1)}),"Object",r)}},"67ab":function(e,t,n){var i=n("ca5a")("meta"),o=n("d3f4"),a=n("69a8"),r=n("86cc").f,s=0,c=Object.isExtensible||function(){return!0},l=!n("79e5")(function(){return c(Object.preventExtensions({}))}),d=function(e){r(e,i,{value:{i:"O"+ ++s,w:{}}})},f=function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!a(e,i)){if(!c(e))return"F";if(!t)return"E";d(e)}return e[i].i},u=function(e,t){if(!a(e,i)){if(!c(e))return!0;if(!t)return!1;d(e)}return e[i].w},p=function(e){return l&&m.NEED&&c(e)&&!a(e,i)&&d(e),e},m=e.exports={KEY:i,NEED:!1,fastKey:f,getWeak:u,onFreeze:p}},"68ef":function(e,t,n){var i=n("e8b6");"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("499e").default;o("670e2dea",i,!0,{sourceMap:!1,shadowMode:!1})},"6dbb":function(e,t,n){t=e.exports=n("2350")(!1),t.push([e.i,'.van-loading{color:#c8c9cc;font-size:0}.van-loading,.van-loading__spinner{position:relative;vertical-align:middle}.van-loading__spinner{display:inline-block;width:30px;max-width:100%;height:30px;max-height:100%;-webkit-animation:van-rotate .8s linear infinite;animation:van-rotate .8s linear infinite}.van-loading__spinner--spinner{-webkit-animation-timing-function:steps(12);animation-timing-function:steps(12)}.van-loading__spinner--spinner i{position:absolute;top:0;left:0;width:100%;height:100%}.van-loading__spinner--spinner i:before{display:block;width:2px;height:25%;margin:0 auto;background-color:currentColor;border-radius:40%;content:" "}.van-loading__spinner--circular{-webkit-animation-duration:2s;animation-duration:2s}.van-loading__circular{display:block;width:100%;height:100%}.van-loading__circular circle{-webkit-animation:van-circular 1.5s ease-in-out infinite;animation:van-circular 1.5s ease-in-out infinite;stroke:currentColor;stroke-width:3;stroke-linecap:round}.van-loading__text{display:inline-block;margin-left:8px;color:#969799;font-size:14px;vertical-align:middle}.van-loading--vertical{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.van-loading--vertical .van-loading__text{margin:8px 0 0}@-webkit-keyframes van-circular{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-40}to{stroke-dasharray:90,150;stroke-dashoffset:-120}}@keyframes van-circular{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-40}to{stroke-dasharray:90,150;stroke-dashoffset:-120}}.van-loading__spinner--spinner i:first-of-type{-webkit-transform:rotate(30deg);transform:rotate(30deg);opacity:1}.van-loading__spinner--spinner i:nth-of-type(2){-webkit-transform:rotate(60deg);transform:rotate(60deg);opacity:.9375}.van-loading__spinner--spinner i:nth-of-type(3){-webkit-transform:rotate(90deg);transform:rotate(90deg);opacity:.875}.van-loading__spinner--spinner i:nth-of-type(4){-webkit-transform:rotate(120deg);transform:rotate(120deg);opacity:.8125}.van-loading__spinner--spinner i:nth-of-type(5){-webkit-transform:rotate(150deg);transform:rotate(150deg);opacity:.75}.van-loading__spinner--spinner i:nth-of-type(6){-webkit-transform:rotate(180deg);transform:rotate(180deg);opacity:.6875}.van-loading__spinner--spinner i:nth-of-type(7){-webkit-transform:rotate(210deg);transform:rotate(210deg);opacity:.625}.van-loading__spinner--spinner i:nth-of-type(8){-webkit-transform:rotate(240deg);transform:rotate(240deg);opacity:.5625}.van-loading__spinner--spinner i:nth-of-type(9){-webkit-transform:rotate(270deg);transform:rotate(270deg);opacity:.5}.van-loading__spinner--spinner i:nth-of-type(10){-webkit-transform:rotate(300deg);transform:rotate(300deg);opacity:.4375}.van-loading__spinner--spinner i:nth-of-type(11){-webkit-transform:rotate(330deg);transform:rotate(330deg);opacity:.375}.van-loading__spinner--spinner i:nth-of-type(12){-webkit-transform:rotate(1turn);transform:rotate(1turn);opacity:.3125}',""])},"76a5":function(e,t,n){t=e.exports=n("2350")(!1),t.push([e.i,".van-toast{position:fixed;top:50%;left:50%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;box-sizing:content-box;width:88px;max-width:70%;min-height:88px;padding:16px;color:#fff;font-size:14px;line-height:20px;white-space:pre-wrap;text-align:center;word-wrap:break-word;background-color:rgba(50,50,51,.88);border-radius:4px;-webkit-transform:translate3d(-50%,-50%,0);transform:translate3d(-50%,-50%,0)}.van-toast--unclickable{overflow:hidden}.van-toast--unclickable *{pointer-events:none}.van-toast--html,.van-toast--text{width:-webkit-fit-content;width:fit-content;min-width:96px;min-height:unset;padding:8px 12px}.van-toast--html .van-toast__text,.van-toast--text .van-toast__text{margin-top:0}.van-toast--top{top:50px}.van-toast--bottom{top:auto;bottom:50px}.van-toast__icon{font-size:40px}.van-toast__loading{padding:4px;color:#fff}.van-toast__text{margin-top:8px}",""])},"7a77":function(e,t,n){"use strict";function i(e){this.message=e}i.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},i.prototype.__CANCEL__=!0,e.exports=i},"7aac":function(e,t,n){"use strict";var i=n("c532");e.exports=i.isStandardBrowserEnv()?function(){return{write:function(e,t,n,o,a,r){var s=[];s.push(e+"="+encodeURIComponent(t)),i.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),i.isString(o)&&s.push("path="+o),i.isString(a)&&s.push("domain="+a),!0===r&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},"7bbc":function(e,t,n){var i=n("6821"),o=n("9093").f,a={}.toString,r="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return o(e)}catch(t){return r.slice()}};e.exports.f=function(e){return r&&"[object Window]"==a.call(e)?s(e):o(i(e))}},"861b":function(e,t,n){"use strict";function i(){return i=Object.assign||function(e){for(var t,n=1;no)J(e,n=i[o++],t[n]);return e},K=function(e,t){return void 0===t?k(e):$(k(e),t)},X=function(e){var t=j.call(this,e=_(e,!0));return!(this===G&&o(z,e)&&!o(N,e))&&(!(t||!o(this,e)||!o(z,e)||o(this,D)&&this[D][e])||t)},Y=function(e,t){if(e=y(e),t=_(t,!0),e!==G||!o(z,t)||o(N,t)){var n=I(e,t);return!n||!o(z,t)||o(e,D)&&e[D][t]||(n.enumerable=!0),n}},Z=function(e){var t,n=A(y(e)),i=[],a=0;while(n.length>a)o(z,t=n[a++])||t==D||t==c||i.push(t);return i},ee=function(e){var t,n=e===G,i=A(n?N:y(e)),a=[],r=0;while(i.length>r)!o(z,t=i[r++])||n&&!o(G,t)||a.push(z[t]);return a};U||(R=function(){if(this instanceof R)throw TypeError("Symbol is not a constructor!");var e=u(arguments.length>0?arguments[0]:void 0),t=function(n){this===G&&t.call(N,n),o(this,D)&&o(this[D],e)&&(this[D][e]=!1),V(this,e,x(1,n))};return a&&W&&V(G,e,{configurable:!0,set:t}),H(e)},s(R[P],"toString",function(){return this._k}),C.f=Y,T.f=J,n("9093").f=S.f=Z,n("52a7").f=X,n("2621").f=ee,a&&!n("2d00")&&s(G,"propertyIsEnumerable",X,!0),m.f=function(e){return H(p(e))}),r(r.G+r.W+r.F*!U,{Symbol:R});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;te.length>ne;)p(te[ne++]);for(var ie=E(p.store),oe=0;ie.length>oe;)g(ie[oe++]);r(r.S+r.F*!U,"Symbol",{for:function(e){return o(B,e+="")?B[e]:B[e]=R(e)},keyFor:function(e){if(!Q(e))throw TypeError(e+" is not a symbol!");for(var t in B)if(B[t]===e)return t},useSetter:function(){W=!0},useSimple:function(){W=!1}}),r(r.S+r.F*!U,"Object",{create:K,defineProperty:J,defineProperties:$,getOwnPropertyDescriptor:Y,getOwnPropertyNames:Z,getOwnPropertySymbols:ee}),F&&r(r.S+r.F*(!U||l(function(){var e=R();return"[null]"!=M([e])||"{}"!=M({a:e})||"{}"!=M(Object(e))})),"JSON",{stringify:function(e){var t,n,i=[e],o=1;while(arguments.length>o)i.push(arguments[o++]);if(n=t=i[1],(w(t)||void 0!==e)&&!Q(e))return v(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!Q(t))return t}),i[1]=t,M.apply(F,i)}}),R[P][L]||n("32e9")(R[P],L,R[P].valueOf),f(R,"Symbol"),f(Math,"Math",!0),f(i.JSON,"JSON",!0)},"8df4":function(e,t,n){"use strict";var i=n("7a77");function o(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(e){t=e});var n=this;e(function(e){n.reason||(n.reason=new i(e),t(n.reason))})}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var e,t=new o(function(t){e=t});return{token:t,cancel:e}},e.exports=o},"918a":function(e,t,n){"use strict";var i=n("45b0"),o=n.n(i);o.a},"9d70":function(e,t,n){var i=n("1466");"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("499e").default;o("5500accd",i,!0,{sourceMap:!1,shadowMode:!1})},"9e6a":function(e,t,n){"use strict";var i=n("d233"),o=Object.prototype.hasOwnProperty,a={allowDots:!1,allowPrototypes:!1,arrayLimit:20,decoder:i.decode,delimiter:"&",depth:5,parameterLimit:1e3,plainObjects:!1,strictNullHandling:!1},r=function(e,t){for(var n={},i=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,r=t.parameterLimit===1/0?void 0:t.parameterLimit,s=i.split(t.delimiter,r),c=0;c=0;--o){var a,r=e[o];if("[]"===r)a=[],a=a.concat(i);else{a=n.plainObjects?Object.create(null):{};var s="["===r.charAt(0)&&"]"===r.charAt(r.length-1)?r.slice(1,-1):r,c=parseInt(s,10);!isNaN(c)&&r!==s&&String(c)===s&&c>=0&&n.parseArrays&&c<=n.arrayLimit?(a=[],a[c]=i):a[s]=i}i=a}return i},c=function(e,t,n){if(e){var i=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/,r=/(\[[^[\]]*])/g,c=a.exec(i),l=c?i.slice(0,c.index):i,d=[];if(l){if(!n.plainObjects&&o.call(Object.prototype,l)&&!n.allowPrototypes)return;d.push(l)}var f=0;while(null!==(c=r.exec(i))&&f=0)return;r[t]="set-cookie"===t?(r[t]?r[t]:[]).concat([n]):r[t]?r[t]+", "+n:n}}),r):r}},c401:function(e,t,n){"use strict";var i=n("c532");e.exports=function(e,t,n){return i.forEach(n,function(n){e=n(e,t)}),e}},c532:function(e,t,n){"use strict";var i=n("1d2b"),o=n("c7ce"),a=Object.prototype.toString;function r(e){return"[object Array]"===a.call(e)}function s(e){return"[object ArrayBuffer]"===a.call(e)}function c(e){return"undefined"!==typeof FormData&&e instanceof FormData}function l(e){var t;return t="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer,t}function d(e){return"string"===typeof e}function f(e){return"number"===typeof e}function u(e){return"undefined"===typeof e}function p(e){return null!==e&&"object"===typeof e}function m(e){return"[object Date]"===a.call(e)}function g(e){return"[object File]"===a.call(e)}function h(e){return"[object Blob]"===a.call(e)}function v(e){return"[object Function]"===a.call(e)}function b(e){return p(e)&&v(e.pipe)}function w(e){return"undefined"!==typeof URLSearchParams&&e instanceof URLSearchParams}function y(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}function _(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)}function x(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),r(e))for(var n=0,i=e.length;n2){t=b?t.trim():u(t,3);var n,i,o,a=t.charCodeAt(0);if(43===a||45===a){if(n=t.charCodeAt(2),88===n||120===n)return NaN}else if(48===a){switch(t.charCodeAt(1)){case 66:case 98:i=2,o=49;break;case 79:case 111:i=8,o=55;break;default:return+t}for(var r,c=t.slice(2),l=0,d=c.length;lo)return NaN;return parseInt(c,i)}}return+t};if(!m(" 0o1")||!m("0b1")||m("+0x1")){m=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof m&&(v?c(function(){h.valueOf.call(n)}):a(n)!=p)?r(new g(w(t)),n,m):w(t)};for(var y,_=n("9e1e")?l(g):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),x=0;_.length>x;x++)o(g,y=_[x])&&!o(m,y)&&f(m,y,d(g,y));m.prototype=h,h.constructor=m,n("2aba")(i,p,m)}},c7ce:function(e,t){ /*! * Determine if an object is a Buffer * * @author Feross Aboukhadijeh * @license MIT */ e.exports=function(e){return null!=e&&null!=e.constructor&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},c8af:function(e,t,n){"use strict";var i=n("c532");e.exports=function(e,t){i.forEach(e,function(n,i){i!==t&&i.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[i])})}},cee4:function(e,t,n){"use strict";var i=n("c532"),o=n("1d2b"),a=n("0a06"),r=n("4a7b"),s=n("2444");function c(e){var t=new a(e),n=o(a.prototype.request,t);return i.extend(n,a.prototype,t),i.extend(n,t),n}var l=c(s);l.Axios=a,l.create=function(e){return c(r(l.defaults,e))},l.Cancel=n("7a77"),l.CancelToken=n("8df4"),l.isCancel=n("2e67"),l.all=function(e){return Promise.all(e)},l.spread=n("0df6"),e.exports=l,e.exports.default=l},d233:function(e,t,n){"use strict";var i=Object.prototype.hasOwnProperty,o=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),a=function(e){var t;while(e.length){var n=e.pop();if(t=n.obj[n.prop],Array.isArray(t)){for(var i=[],o=0;o=48&&a<=57||a>=65&&a<=90||a>=97&&a<=122?n+=t.charAt(i):a<128?n+=o[a]:a<2048?n+=o[192|a>>6]+o[128|63&a]:a<55296||a>=57344?n+=o[224|a>>12]+o[128|a>>6&63]+o[128|63&a]:(i+=1,a=65536+((1023&a)<<10|1023&t.charCodeAt(i)),n+=o[240|a>>18]+o[128|a>>12&63]+o[128|a>>6&63]+o[128|63&a])}return n},f=function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],i=0;il)c.call(e,r=s[l++])&&t.push(r)}return t}},d925:function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},ddb5:function(e,t,n){t=e.exports=n("2350")(!1),t.push([e.i,".van-overflow-hidden{overflow:hidden!important}.van-popup{position:fixed;max-height:100%;overflow-y:auto;background-color:#fff;-webkit-transition:-webkit-transform .3s ease-out;transition:-webkit-transform .3s ease-out;transition:transform .3s ease-out;transition:transform .3s ease-out,-webkit-transform .3s ease-out;-webkit-overflow-scrolling:touch}.van-popup--center{top:50%;left:50%;-webkit-transform:translate3d(-50%,-50%,0);transform:translate3d(-50%,-50%,0)}.van-popup--center.van-popup--round{border-radius:20px}.van-popup--top{top:0;left:0;width:100%}.van-popup--top.van-popup--round{border-radius:0 0 20px 20px}.van-popup--right{top:50%;right:0;-webkit-transform:translate3d(0,-50%,0);transform:translate3d(0,-50%,0)}.van-popup--right.van-popup--round{border-radius:20px 0 0 20px}.van-popup--bottom{bottom:0;left:0;width:100%}.van-popup--bottom.van-popup--round{border-radius:20px 20px 0 0}.van-popup--left{top:50%;left:0;-webkit-transform:translate3d(0,-50%,0);transform:translate3d(0,-50%,0)}.van-popup--left.van-popup--round{border-radius:0 20px 20px 0}.van-popup--safe-area-inset-bottom{padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.van-popup-slide-top-enter,.van-popup-slide-top-leave-active{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}.van-popup-slide-right-enter,.van-popup-slide-right-leave-active{-webkit-transform:translate3d(100%,-50%,0);transform:translate3d(100%,-50%,0)}.van-popup-slide-bottom-enter,.van-popup-slide-bottom-leave-active{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}.van-popup-slide-left-enter,.van-popup-slide-left-leave-active{-webkit-transform:translate3d(-100%,-50%,0);transform:translate3d(-100%,-50%,0)}.van-popup__close-icon{position:absolute;z-index:1;color:#c8c9cc;font-size:22px;cursor:pointer}.van-popup__close-icon:active{color:#969799}.van-popup__close-icon--top-left{top:16px;left:16px}.van-popup__close-icon--top-right{top:16px;right:16px}.van-popup__close-icon--bottom-left{bottom:16px;left:16px}.van-popup__close-icon--bottom-right{right:16px;bottom:16px}",""])},e3b3:function(e,t,n){var i=n("6dbb");"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("499e").default;o("3066ea6d",i,!0,{sourceMap:!1,shadowMode:!1})},e683:function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},e8b6:function(e,t,n){t=e.exports=n("2350")(!1),t.push([e.i,'html{-webkit-tap-highlight-color:transparent}body{margin:0}a{text-decoration:none}[class*=van-]:focus,a:focus,button:focus,input:focus,textarea:focus{outline:0}ol,ul{margin:0;padding:0;list-style:none}button,input,textarea{color:inherit;font:inherit}.van-ellipsis{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.van-multi-ellipsis--l2{-webkit-line-clamp:2}.van-multi-ellipsis--l2,.van-multi-ellipsis--l3{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical}.van-multi-ellipsis--l3{-webkit-line-clamp:3}.van-clearfix:after{display:table;clear:both;content:""}[class*=van-hairline]:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;top:-50%;right:-50%;bottom:-50%;left:-50%;border:0 solid #ebedf0;-webkit-transform:scale(.5);transform:scale(.5)}.van-hairline,.van-hairline--bottom,.van-hairline--left,.van-hairline--right,.van-hairline--surround,.van-hairline--top,.van-hairline--top-bottom{position:relative}.van-hairline--top:after{border-top-width:1px}.van-hairline--left:after{border-left-width:1px}.van-hairline--right:after{border-right-width:1px}.van-hairline--bottom:after{border-bottom-width:1px}.van-hairline--top-bottom:after,.van-hairline-unset--top-bottom:after{border-width:1px 0}.van-hairline--surround:after{border-width:1px}@-webkit-keyframes van-slide-up-enter{0%{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@keyframes van-slide-up-enter{0%{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@-webkit-keyframes van-slide-up-leave{to{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@keyframes van-slide-up-leave{to{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@-webkit-keyframes van-slide-down-enter{0%{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}@keyframes van-slide-down-enter{0%{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}@-webkit-keyframes van-slide-down-leave{to{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}@keyframes van-slide-down-leave{to{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}@-webkit-keyframes van-slide-left-enter{0%{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@keyframes van-slide-left-enter{0%{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@-webkit-keyframes van-slide-left-leave{to{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@keyframes van-slide-left-leave{to{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@-webkit-keyframes van-slide-right-enter{0%{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@keyframes van-slide-right-enter{0%{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@-webkit-keyframes van-slide-right-leave{to{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@keyframes van-slide-right-leave{to{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@-webkit-keyframes van-fade-in{0%{opacity:0}to{opacity:1}}@keyframes van-fade-in{0%{opacity:0}to{opacity:1}}@-webkit-keyframes van-fade-out{0%{opacity:1}to{opacity:0}}@keyframes van-fade-out{0%{opacity:1}to{opacity:0}}@-webkit-keyframes van-rotate{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes van-rotate{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.van-fade-enter-active{-webkit-animation:van-fade-in .3s;animation:van-fade-in .3s}.van-fade-leave-active{-webkit-animation:van-fade-out .3s;animation:van-fade-out .3s}.van-slide-up-enter-active{-webkit-animation:van-slide-up-enter .3s ease both;animation:van-slide-up-enter .3s ease both}.van-slide-up-leave-active{-webkit-animation:van-slide-up-leave .3s ease both;animation:van-slide-up-leave .3s ease both}.van-slide-down-enter-active{-webkit-animation:van-slide-down-enter .3s ease both;animation:van-slide-down-enter .3s ease both}.van-slide-down-leave-active{-webkit-animation:van-slide-down-leave .3s ease both;animation:van-slide-down-leave .3s ease both}.van-slide-left-enter-active{-webkit-animation:van-slide-left-enter .3s ease both;animation:van-slide-left-enter .3s ease both}.van-slide-left-leave-active{-webkit-animation:van-slide-left-leave .3s ease both;animation:van-slide-left-leave .3s ease both}.van-slide-right-enter-active{-webkit-animation:van-slide-right-enter .3s ease both;animation:van-slide-right-enter .3s ease both}.van-slide-right-leave-active{-webkit-animation:van-slide-right-leave .3s ease both;animation:van-slide-right-leave .3s ease both}',""])},eae4:function(e,t,n){"use strict";var i={show:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2e3,i=document.getElementById("toast-container");i&&document.body.removeChild(i);var o=document.createElement("div"),a="",r="";switch(t){case 1:r="https://game.gtimg.cn/images/user/cp/a20190715summeractive/loading/success-icon.png";break;case 2:r="https://game.gtimg.cn/images/user/cp/a20190715summeractive/loading/failure-icon.png";break;case 3:r="https://game.gtimg.cn/images/user/cp/a20190715summeractive/loading/failure-icon.png";break;default:r=""}""!==r&&(a+=''),a+=''+e+"",o.id="toast-container",o.innerHTML=a,o.style.cssText="z-index:99999;position:fixed;left:50%;top:50%;padding:0.2rem;min-width:2rem;max-width:80%;text-align:center;font-size:14px;color:#fff;background:rgba(0,0,0,.8);border-radius:.3rem;-webkit-transition:all .25s ease 0s;transition:all .25s ease 0s;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%)",document.body.appendChild(o),setTimeout(function(){var e=.5;o.style.webkitTransition="-webkit-transform "+e+"s ease-in, opacity "+e+"s ease-in",o.style.opacity="0",setTimeout(function(){var e=document.getElementById("toast-container");e&&document.body.removeChild(e)},1e3*e)},n)},showLoading:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"加载中...",n=document.getElementById("toast-container");if(n&&document.body.removeChild(n),e){var i=document.createElement("div");i.id="toast-container";var o="https://game.gtimg.cn/images/user/cp/a20190715summeractive/loading/loading-icon.png";i.style.cssText="z-index:99999;position:fixed;left:50%;top:50%;padding:0.2rem;min-width:2rem;max-width:80%;text-align:center;font-size:14px;color:#fff;background:rgba(0,0,0,.8);border-radius:.3rem;-webkit-transition:all .25s ease 0s;transition:all .25s ease 0s;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%)";var a='';a+=''+t+"",i.innerHTML=a,document.body.appendChild(i)}}};t["a"]=i},f559:function(e,t,n){"use strict";var i=n("5ca1"),o=n("9def"),a=n("d2c8"),r="startsWith",s=""[r];i(i.P+i.F*n("5147")(r),"String",{startsWith:function(e){var t=a(this,e,r),n=o(Math.min(arguments.length>1?arguments[1]:void 0,t.length)),i=String(e);return s?s.call(t,i,n):t.slice(n,n+i.length)===i}})},f6b4:function(e,t,n){"use strict";var i=n("c532");function o(){this.handlers=[]}o.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){i.forEach(this.handlers,function(t){null!==t&&e(t)})},e.exports=o},fdef:function(e,t){e.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"}}]);