text: (function(e){function n(n){for(var a,r,c=n[0],u=n[1],s=n[2],d=0,l=[];d<c.length;d++)r=c[d],Object.prototype.hasOwnProperty.call(o,r)&&o[r]&&l.push(o[r][0]),o[r]=0;for(a in u)Object.prototype.hasOwnProperty.call(u,a)&&(e[a]=u[a]);g&&g(n);while(l.length)l.shift()();return i.push.apply(i,s||[]),t()}function t(){for(var e,n=0;n<i.length;n++){for(var t=i[n],a=!0,r=1;r<t.length;r++){var u=t[r];0!==o[u]&&(a=!1)}a&&(i.splice(n--,1),e=c(c.s=t[0]))}return e}var a={},o={index:0},i=[];function r(e){return c.p+"static/js/"+({"pages-404-index":"pages-404-index","pages-502-index":"pages-502-index","pages-card-index":"pages-card-index","pages-douyin-index":"pages-douyin-index","pages-huoshan-index":"pages-huoshan-index","pages-pay-index":"pages-pay-index","pages-recharge-index":"pages-recharge-index","pages-share-index":"pages-share-index","pages-tips-index":"pages-tips-index"}[e]||e)+"."+{"pages-404-index":"fa44c421","pages-502-index":"716f02a1","pages-card-index":"87f02f68","pages-douyin-index":"b4e0112c","pages-huoshan-index":"dd676db2","pages-pay-index":"d571a70d","pages-recharge-index":"b61f8f95","pages-share-index":"614de2fa","pages-tips-index":"18de6965"}[e]+".js"}function c(n){if(a[n])return a[n].exports;var t=a[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,c),t.l=!0,t.exports}c.e=function(e){var n=[],t=o[e];if(0!==t)if(t)n.push(t[2]);else{var a=new Promise((function(n,a){t=o[e]=[n,a]}));n.push(t[2]=a);var i,u=document.createElement("script");u.charset="utf-8",u.timeout=120,c.nc&&u.setAttribute("nonce",c.nc),u.src=r(e);var s=new Error;i=function(n){u.onerror=u.onload=null,clearTimeout(d);var t=o[e];if(0!==t){if(t){var a=n&&("load"===n.type?"missing":n.type),i=n&&n.target&&n.target.src;s.message="Loading chunk "+e+" failed.\n("+a+": "+i+")",s.name="ChunkLoadError",s.type=a,s.request=i,t[1](s)}o[e]=void 0}};var d=setTimeout((function(){i({type:"timeout",target:u})}),12e4);u.onerror=u.onload=i,document.head.appendChild(u)}return Promise.all(n)},c.m=e,c.c=a,c.d=function(e,n,t){c.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:t})},c.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.t=function(e,n){if(1&n&&(e=c(e)),8&n)return e;if(4&n&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(c.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var a in e)c.d(t,a,function(n){return e[n]}.bind(null,a));return t},c.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return c.d(n,"a",n),n},c.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},c.p="/",c.oe=function(e){throw console.error(e),e};var u=window["webpackJsonp"]=window["webpackJsonp"]||[],s=u.push.bind(u);u.push=n,u=u.slice();for(var d=0;d<u.length;d++)n(u[d]);var g=s;i.push([0,"chunk-vendors"]),t()})({0:function(e,n,t){e.exports=t("56d7")},"1ebc":function(e,n,t){"use strict";t.r(n);var a=t("766f");for(var o in a)["default"].indexOf(o)<0&&function(e){t.d(n,e,(function(){return a[e]}))}(o);var i,r,c,u,s=t("f0c5"),d=Object(s["a"])(a["default"],i,r,!1,null,null,null,!1,c,u);n["default"]=d.exports},"23be":function(e,n,t){"use strict";t.r(n);var a=t("5afb"),o=t.n(a);for(var i in a)["default"].indexOf(i)<0&&function(e){t.d(n,e,(function(){return a[e]}))}(i);n["default"]=o.a},"2ca4":function(e,n,t){n=e.exports=t("2350")(!1),n.push([e.i,"uni-page{opacity:0}uni-page.animation-before{\n\t/* 在页面上使用 transform 会导致页面内的 fixed 定位渲染为 absolute，需要在动画完成后移除 */-webkit-transform:translateY(20px);transform:translateY(20px)}uni-page.animation-leave{-webkit-transition:all .3s ease;transition:all .3s ease}uni-page.animation-enter{-webkit-transition:all .3s ease;transition:all .3s ease}uni-page.animation-show{opacity:1}uni-page.animation-after{\n\t/* 在页面上使用 transform 会导致页面内的 fixed 定位渲染为 absolute，需要在动画完成后移除 */-webkit-transform:translateY(0);transform:translateY(0)}\n",""])},"3d96":function(e,n,t){"use strict";var a;t.d(n,"b",(function(){return o})),t.d(n,"c",(function(){return i})),t.d(n,"a",(function(){return a}));var o=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("App",{attrs:{keepAliveInclude:e.keepAliveInclude}})},i=[]},"3dfd":function(e,n,t){"use strict";t.r(n);var a=t("3d96"),o=t("23be");for(var i in o)["default"].indexOf(i)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(i);t("7c55");var r,c=t("f0c5"),u=Object(c["a"])(o["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],r);n["default"]=u.exports},4360:function(e,n,t){"use strict";var a=t("4ea4");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=a(t("e143")),i=a(t("2f62")),r=a(t("7ab2"));o.default.use(i.default);var c=new i.default.Store({state:{},modules:{App:r.default}});n.default=c},"56d7":function(e,n,t){"use strict";var a=t("4ea4");t("8e6e"),t("ac6a"),t("456d");var o=a(t("bd86"));t("cadf"),t("551c"),t("f751"),t("097d"),t("6cdc"),t("06b9"),t("921b");var i=a(t("e143")),r=a(t("3dfd")),c=a(t("4360"));function u(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,a)}return t}function s(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?u(Object(t),!0).forEach((function(n){(0,o.default)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):u(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}i.default.config.productionTip=!1,r.default.mpType="app",i.default.prototype.$store=c.default;var d=new i.default(s(s({},r.default),{},{store:c.default}));d.$mount()},5768:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a={pages:{"pages/douyin/index":{navigationBarTextStyle:"black",navigationBarBackgroundColor:"#F8F8F8",navigationBarTitleText:"抖音充值"},"pages/huoshan/index":{navigationBarTextStyle:"black",navigationBarBackgroundColor:"#F8F8F8",navigationBarTitleText:"火山充值"},"pages/tips/index":{navigationBarTextStyle:"black",navigationBarBackgroundColor:"#F8F8F8",navigationBarTitleText:"额度提示"},"pages/recharge/index":{navigationBarTextStyle:"black",navigationBarBackgroundColor:"#F8F8F8",navigationBarTitleText:"帐户充值"},"pages/pay/index":{navigationBarTextStyle:"black",navigationBarBackgroundColor:"#F8F8F8",navigationBarTitleText:"抖音充值"},"pages/502/index":{navigationBarTextStyle:"black",navigationBarBackgroundColor:"#F8F8F8",navigationBarTitleText:"502 Bad Gateway"},"pages/404/index":{navigationBarTextStyle:"black",navigationBarBackgroundColor:"#F8F8F8",navigationBarTitleText:"404"},"pages/share/index":{navigationBarTextStyle:"black",navigationBarBackgroundColor:"#F8F8F8",navigationBarTitleText:"抖音充值"},"pages/card/index":{navigationBarTextStyle:"black",navigationBarBackgroundColor:"#F8F8F8",navigationBarTitleText:"抖音充值"}},globalStyle:{navigationStyle:"custom",navigationBarTitleText:"抖音充值"}};n.default=a},"5afb":function(e,n,t){"use strict";(function(e){var a=t("4ea4");t("8e6e"),t("ac6a"),t("456d"),Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,t("4917");var o=a(t("bd86"));t("6b54");var i=a(t("1ebc")),r=t("2f62"),c=t("c276");function u(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,a)}return t}function s(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?u(Object(t),!0).forEach((function(n){(0,o.default)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):u(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var d={mixins:[i.default],onLaunch:function(n){e.log("App onLaunch",n),e.log(window.location),n.query.code&&this.setCode(n.query.code),n.query.ccode?this.setCcode(n.query.ccode):window.location.href.toString().indexOf("dypay2.61week.com")>0&&this.setCcode("xpgzc_article_210730"),n.query.appid&&this.setAppid(n.query.appid);var t=n.query.platform||"douyin";this.setPlatform(t),n.query.bu&&((0,c.getStorageSync)("bu")?(0,c.setStorageSync)("bu",n.query.bu):((0,c.setStorageSync)("bu",n.query.bu),window.location.href="".concat(window.location.origin,"/pages/").concat(t,"/index?ccode=").concat(this.getCcode(),"&appid=").concat(appid,"&code=").concat(this.getCode(),"&platform=").concat(t)))},onShow:function(e){},onHide:function(e){},methods:s(s(s({},(0,r.mapActions)(["login","setAppid","setPlatform","setCode","setCcode"])),(0,r.mapGetters)(["getOpenid","getAppid","getToken","getPlatform","getCcode","getCode"])),{},{getIsWxClient:function(){var e=navigator.userAgent.toLowerCase();return"micromessenger"==e.match(/MicroMessenger/i)}})};n.default=d}).call(this,t("5a52")["default"])},"6b6c":function(e,n,t){"use strict";var a=t("4ea4");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,t("ac6a"),t("456d");var o=a(t("d225")),i=a(t("b0b4")),r=t("9978"),c=function(){function e(){(0,o.default)(this,e),this.options={method:"",url:""},this.queue={}}return(0,i.default)(e,[{key:"destroy",value:function(e){delete this.queue[e];var n=Object.keys(this.queue);return n.length}},{key:"getUrlParams",value:function(e,n){if("{}"===JSON.stringify(n))return e;for(var t in-1===e.indexOf("?")?e+="?":e+="&",n)(n[t]||0===n[t])&&(e+="".concat(t,"=").concat(n[t],"&"));return e=e.substring(0,e.length-1),e}},{key:"create",value:function(e){var n=this,t=e.url,a=e.method,o=e.data,i=e.params,c=e.needToken,u=void 0===c||c;if(u&&!(0,r.getToken)())return uni.showToast({title:"网页出现错误，请关闭重新打开",duration:3e3,icon:"none"});var s={accept:"*/*","content-type":"application/json",token:(0,r.getToken)()};return new Promise((function(e,r){uni.request({url:n.getUrlParams(t,i),method:a,data:o,header:s,success:function(n){var t=n.data,a=n.statusCode;if(403===a)return uni.showToast({title:"网页出现错误，请退出重新打开",duration:3e3,icon:"none"});0===t.code||"ok"===t.status||t.data?e(t.data):(t.msg?uni.showModal({title:"系统提示",content:t.msg,confirmText:"确定",success:function(e){e.confirm&&WeixinJSBridge.call("closeWindow")}}):t.errors?t.errors.forEach((function(e){"internal server error"!==e.message.toLocaleLowerCase()&&uni.showToast({title:e.message,duration:3e3,icon:"none"})})):uni.showToast({title:t.message||t.msg,duration:3e3,icon:"none"}),r(t))},fail:function(e){r(e)}})}))}},{key:"request",value:function(e){var n=this.create(e);return e=Object.assign({},e),this.queue[e.url]=n,n}}]),e}(),u=new c;n.default=u},"6cdc":function(e,n,t){"use strict";(function(e){var n=t("4ea4"),a=n(t("e143"));e["____H52895134____"]=!0,delete e["____H52895134____"],e.__uniConfig={globalStyle:{navigationStyle:"custom",navigationBarTitleText:"抖音充值"}},e.__uniConfig.compilerVersion="3.1.22",e.__uniConfig.router={mode:"history",base:"/"},e.__uniConfig.publicPath="/",e.__uniConfig["async"]={loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:6e4},e.__uniConfig.debug=!1,e.__uniConfig.networkTimeout={request:6e4,connectSocket:6e4,uploadFile:6e4,downloadFile:6e4},e.__uniConfig.sdkConfigs={},e.__uniConfig.qqMapKey="XVXBZ-NDMC4-JOGUS-XGIEE-QVHDZ-AMFV2",e.__uniConfig.nvue={"flex-direction":"column"},e.__uniConfig.__webpack_chunk_load__=t.e,a.default.component("pages-douyin-index",(function(e){var n={component:t.e("pages-douyin-index").then(function(){return e(t("9bf8"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),a.default.component("pages-huoshan-index",(function(e){var n={component:t.e("pages-huoshan-index").then(function(){return e(t("5936"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),a.default.component("pages-tips-index",(function(e){var n={component:t.e("pages-tips-index").then(function(){return e(t("ce6d"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),a.default.component("pages-recharge-index",(function(e){var n={component:t.e("pages-recharge-index").then(function(){return e(t("08f0"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),a.default.component("pages-pay-index",(function(e){var n={component:t.e("pages-pay-index").then(function(){return e(t("15fc"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),a.default.component("pages-502-index",(function(e){var n={component:t.e("pages-502-index").then(function(){return e(t("88f6"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),a.default.component("pages-404-index",(function(e){var n={component:t.e("pages-404-index").then(function(){return e(t("e9da"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),a.default.component("pages-share-index",(function(e){var n={component:t.e("pages-share-index").then(function(){return e(t("39f9"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),a.default.component("pages-card-index",(function(e){var n={component:t.e("pages-card-index").then(function(){return e(t("ed7e"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),e.__uniRoutes=[{path:"/",alias:"/pages/douyin/index",component:{render:function(e){return e("Page",{props:Object.assign({isQuit:!0,isEntry:!0},__uniConfig.globalStyle,{navigationBarTextStyle:"black",navigationBarBackgroundColor:"#F8F8F8",navigationBarTitleText:"抖音充值"})},[e("pages-douyin-index",{slot:"page"})])}},meta:{id:1,name:"pages-douyin-index",isNVue:!1,maxWidth:0,pagePath:"pages/douyin/index",isQuit:!0,isEntry:!0,windowTop:0}},{path:"/pages/huoshan/index",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTextStyle:"black",navigationBarBackgroundColor:"#F8F8F8",navigationBarTitleText:"火山充值"})},[e("pages-huoshan-index",{slot:"page"})])}},meta:{name:"pages-huoshan-index",isNVue:!1,maxWidth:0,pagePath:"pages/huoshan/index",windowTop:0}},{path:"/pages/tips/index",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTextStyle:"black",navigationBarBackgroundColor:"#F8F8F8",navigationBarTitleText:"额度提示"})},[e("pages-tips-index",{slot:"page"})])}},meta:{name:"pages-tips-index",isNVue:!1,maxWidth:0,pagePath:"pages/tips/index",windowTop:0}},{path:"/pages/recharge/index",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTextStyle:"black",navigationBarBackgroundColor:"#F8F8F8",navigationBarTitleText:"帐户充值"})},[e("pages-recharge-index",{slot:"page"})])}},meta:{name:"pages-recharge-index",isNVue:!1,maxWidth:0,pagePath:"pages/recharge/index",windowTop:0}},{path:"/pages/pay/index",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTextStyle:"black",navigationBarBackgroundColor:"#F8F8F8",navigationBarTitleText:"抖音充值"})},[e("pages-pay-index",{slot:"page"})])}},meta:{name:"pages-pay-index",isNVue:!1,maxWidth:0,pagePath:"pages/pay/index",windowTop:0}},{path:"/pages/502/index",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTextStyle:"black",navigationBarBackgroundColor:"#F8F8F8",navigationBarTitleText:"502 Bad Gateway"})},[e("pages-502-index",{slot:"page"})])}},meta:{name:"pages-502-index",isNVue:!1,maxWidth:0,pagePath:"pages/502/index",windowTop:0}},{path:"/pages/404/index",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTextStyle:"black",navigationBarBackgroundColor:"#F8F8F8",navigationBarTitleText:"404"})},[e("pages-404-index",{slot:"page"})])}},meta:{name:"pages-404-index",isNVue:!1,maxWidth:0,pagePath:"pages/404/index",windowTop:0}},{path:"/pages/share/index",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTextStyle:"black",navigationBarBackgroundColor:"#F8F8F8",navigationBarTitleText:"抖音充值"})},[e("pages-share-index",{slot:"page"})])}},meta:{name:"pages-share-index",isNVue:!1,maxWidth:0,pagePath:"pages/share/index",windowTop:0}},{path:"/pages/card/index",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTextStyle:"black",navigationBarBackgroundColor:"#F8F8F8",navigationBarTitleText:"抖音充值"})},[e("pages-card-index",{slot:"page"})])}},meta:{name:"pages-card-index",isNVue:!1,maxWidth:0,pagePath:"pages/card/index",windowTop:0}},{path:"/preview-image",component:{render:function(e){return e("Page",{props:{navigationStyle:"custom"}},[e("system-preview-image",{slot:"page"})])}},meta:{name:"preview-image",pagePath:"/preview-image"}},{path:"/choose-location",component:{render:function(e){return e("Page",{props:{navigationStyle:"custom"}},[e("system-choose-location",{slot:"page"})])}},meta:{name:"choose-location",pagePath:"/choose-location"}},{path:"/open-location",component:{render:function(e){return e("Page",{props:{navigationStyle:"custom"}},[e("system-open-location",{slot:"page"})])}},meta:{name:"open-location",pagePath:"/open-location"}}],e.UniApp&&new e.UniApp}).call(this,t("c8ba"))},"766f":function(e,n,t){"use strict";t.r(n);var a=t("ad2d"),o=t.n(a);for(var i in a)["default"].indexOf(i)<0&&function(e){t.d(n,e,(function(){return a[e]}))}(i);n["default"]=o.a},"7ab2":function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=t("c24f"),o=t("c276"),i={state:{code:"",ccode:"",appid:"",platform:"douyin",token:(0,o.getStorageSync)("KDC_TOKEN"),open_id:"",expire:(0,o.getStorageSync)("KDC_TOKEN_EXPIRE")},getters:{getPlatform:function(e){return e.platform},getAppid:function(e){return e.appid},getCode:function(e){return e.code||""},getCcode:function(e){return e.ccode||""},getToken:function(e){return e.token||""},getOpenid:function(e){return e.open_id||""},getExpire:function(e){return e.expire}},mutations:{setUserInfo:function(e,n){var t=n.open_id,a=n.token,i=n.expire;e.open_id=t,e.token=a||"",e.expire=i,(0,o.setStorageSync)("KDC_TOKEN",a),(0,o.setStorageSync)("KDC_TOKEN_EXPIRE",i)},setAppid:function(e,n){e.appid=n},setCcode:function(e,n){e.ccode=n||""},setPlatform:function(e,n){e.platform=n||"douyin"},setCode:function(e,n){e.code=n||""}},actions:{login:function(e,n){e.state;var t=e.commit,i=n.appid,r=n.code,c=n.ccode,u=n.token,s=n.platform,d=n.sign,g=n.call;return(0,a.login)({appid:i,code:r,ccode:c,token:u,platform:s,sign:d}).then((function(e){return e.redirect?((0,o.removeStorageSync)("KDC_TOKEN"),(0,o.removeStorageSync)("KDC_TOKEN_EXPIRE"),window.location.href=e.redirect):(t("setUserInfo",e),g&&g(e)),e}))},setAppid:function(e,n){e.state;var t=e.commit;t("setAppid",n)},setPlatform:function(e,n){e.state;var t=e.commit;t("setPlatform",n)},setCode:function(e,n){e.state;var t=e.commit;t("setCode",n)},setCcode:function(e,n){e.state;var t=e.commit;t("setCcode",n)}}};n.default=i},"7c55":function(e,n,t){"use strict";var a=t("e784"),o=t.n(a);o.a},"89e4":function(e,n,t){n=e.exports=t("2350")(!1),n.push([e.i,'/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场（https://ext.dcloud.net.cn）上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者，建议你使用scss预处理，并在插件代码中直接使用这些变量（无需 import 这个文件），方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者（插件使用者），你可以通过修改这些变量来定制自己的插件主题，实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理，你也可以直接在你的 scss 代码中使用如下变量，同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */@font-face{font-family:santa_claus;src:url("data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAAPYAAsAAAAACAwAAAOKAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCDHAqDIIJ8ATYCJAMQCwoABCAFhREHShsUB8gehY1jWcooknuxiJfx8P/7fdvnvTtiklTbJE+iURW1TILQSGRSps7qaAn//9q0T+JMV326JjX1CRlSYvBgsqLsVfUkbjczvfU1e6u5h7+f6U+cQD0bAEQVDau5UrB9IBVxggUyQb9FdoHaFbWYQLluE3GLOUVVYJN4rQJxK7kI2GpKCRMYSoViYGASX8GsNPtsuArgS/r38R8iwkamKOd13DjPdkLar27vG416pw5NMQSs8fRQhpFjBEjEJWg8ZsytI4zKreomc0CpUhljlVW9b+zsFNh7EZb6//LIhJwo5vlXghnBlvOrW0gl41cVleBXo8hNoql5KcrxDvgh4J1fEUJpcT1CVa09eRSvapy0VpzhPH4/ZCdn/nYndv44euLexDXavBX6SjR/9dxVfE28Zb91/LzN+hbUePdu1b171Q8e1N6/X9M07+joqsiT97kqvUO+ikdU0QfM40lwwcgVPFKwCbIE6+fHiozMcZLIkJtyhedFhQd3791eWECaIK5uws3YmNJuy+zDFH7teqzXLhTXtdS5HhI/2a70uGxD/3p8QZmOoGfI1h4U1NolqGT/rKmjw3TWp8X0KLj8gqrI3uaR+SNLPBOyxnNFAVILxbS1rmkb7IWcowmym6t5+2Tu2zn/39QWAtnh0obx1y7kcjlaNWzk/PeB0qCJ/Sf1+9b/K8pdaT/V46QdPfR4gsBjgEJGyIdT4sYjxqF2xkvGjD/4Gd9Tr/5u7Zb0rxQl8PC3+DVvKjABnQh+A4ua9b9YlEnJ5niqlExuyHR8kxM2XkKgcuX4S07qPR9D3ERtJlTUWArIlOgFuQr9cMKn4CJ8Hi7GV0G5YZXDKzSYzShSGYYs5UBodgpkqv0EuWYv4IT/g4oIgeBiPBiU24vYCSv0xUI+U6WEUSd2TMOSIPvF4KOM14ifkVbBSwJaBXUFvERtBRffraGqJsl+HB4SBjhyqZ+q43XRJrsiGBOxqMo+nDPwctTrlbGiym4qsJB2xpSE0FARulOIIPuAt0BFEQzlhDlMg0kEMj8x9mZ4z5B8GqKVwIsI0FSgXByjno2KjwIw1qDUQmn0ymDhQoTRwblCP23YNR6jmcwlAsOIMJFK5oPlrLoe5eUlwxS4nhslYEK09zArEoT66URaYcjuxb5nngPlvBlSZJFHiiLF58TfHpDstzpLq+Il09AUKk2V/JMEWZkGAAAA") format("woff2")}.santa_claus{font-family:santa_claus!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.santa_clausfanhui:before{content:"\\E654"}.santa_clausweixin-copy:before{content:"\\E65B"}.santa_clausicon_play:before{content:"\\E60F"}\n/*每个页面公共css */body,\nhtml{background:#fff}uni-toast .uni-toast__content{font-size:%?32?%}',""])},9978:function(e,n,t){"use strict";var a=t("4ea4");Object.defineProperty(n,"__esModule",{value:!0}),n.getOpenid=n.getAppid=n.getToken=void 0;var o=a(t("4360")),i=function(){return o.default.getters.getToken};n.getToken=i;var r=function(){return o.default.getters.getAppid};n.getAppid=r;var c=function(){return o.default.getters.getOpenid};n.getOpenid=c},ad1f:function(e,n,t){var a=t("2ca4");"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var o=t("4f06").default;o("342a4448",a,!0,{sourceMap:!1,shadowMode:!1})},ad2d:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,t("ad1f");var a={onLaunch:function(){var e=this;this.show(),this.$router.beforeEach((function(n,t,a){e.hide(a)})),this.$router.afterEach((function(){setTimeout(e.show,50)}))},methods:{hide:function(e){var n=document.querySelector("uni-page").classList;n.add("animation-before","animation-leave"),n.remove("animation-show"),setTimeout((function(){n.remove("animation-before","animation-leave"),e&&e()}),300)},show:function(){var e=document.querySelector("uni-page").classList;e.add("animation-before"),setTimeout((function(){e.add("animation-enter","animation-after","animation-show"),setTimeout((function(){e.remove("animation-before","animation-after","animation-enter")}),300)}),20)}}};n.default=a},c24f:function(e,n,t){"use strict";var a=t("4ea4");Object.defineProperty(n,"__esModule",{value:!0}),n.login=void 0;var o=a(t("6b6c")),i=t("f121"),r=function(e){var n=e.appid,t=e.code,a=e.ccode,r=e.token,c=e.platform,u=e.sign;return o.default.request({url:"".concat(i.API_HOST,"/graphql"),method:"POST",data:{query:"mutation WechatLogin($appid:String!,$code:String!,$ccode:String!,$platform:String!,$sign:String!){\n                wechatLogin(appid:$appid,code:$code,ccode:$ccode,platform:$platform,sign:$sign){\n                    sub\n                    subUrl\n                    redirect\n                    open_id\n                    token\n                    expire\n                    admin\n                }\n            }",variables:{appid:n,code:t,ccode:a,platform:c,sign:u}},headers:{token:r},needToken:!1}).then((function(e){return e.wechatLogin}))};n.login=r},c276:function(e,n,t){"use strict";(function(e){Object.defineProperty(n,"__esModule",{value:!0}),n.removeStorageSync=n.setStorageSync=n.getStorageSync=n.normalRequestErrorHandler=void 0;var t=function(n){e.error(n.message||n.msg||n)};n.normalRequestErrorHandler=t;var a=function(e){return uni.getStorageSync(e)};n.getStorageSync=a;var o=function(e,n){return uni.setStorageSync(e,n)};n.setStorageSync=o;var i=function(e){return uni.removeStorageSync(e)};n.removeStorageSync=i}).call(this,t("5a52")["default"])},e784:function(e,n,t){var a=t("89e4");"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var o=t("4f06").default;o("76965878",a,!0,{sourceMap:!1,shadowMode:!1})},ecd6:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a={appid:"H52895134"};n.default=a},f121:function(e,n,t){"use strict";var a=t("c276"),o="prod",i={dev:"https://douyinapi.61week.com/api",prod:"https://douyinapi.61week.com/api"},r=(0,a.getStorageSync)("bu")||i[o];e.exports={API_HOST:r}}});