2022-02-16 17:11:48 +08:00

20 lines
322 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["common/vendor"],{"00fa":function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.silenceBindingSpread=c,e.isWeixin=l,e.getCustomer=u,e.parseQuery=f,e.default=e.VUE_APP_WS_URL=void 0;var r=n("3474"),i=s(n("0c53")),o=n("7fe6"),a=n("da79");function s(t){return t&&t.__esModule?t:{default:t}}function c(){var t=getApp().globalData.spid,e=getApp().globalData.code;t=parseInt(t),Number.isNaN(t)&&(t=0),t&&(0,r.spread)({puid:t,code:e}).then((function(t){getApp().globalData.spid=0,getApp().globalData.code=0})).catch((function(t){}))}function l(){return-1!==navigator.userAgent.toLowerCase().indexOf("micromessenger")}function u(e){(0,o.getCustomerType)().then((function(n){var r=n.data.customer_type;"0"==r?t.navigateTo({url:e||"/pages/customer_list/chat"}):"1"==r&&t.makePhoneCall({phoneNumber:n.data.customer_phone})}))}function f(){var t={},e=(location.href.split("?")[1]||"").trim().replace(/^(\?|#|&)/,"");return e?(e.split("&").forEach((function(e){var n=e.replace(/\+/g," ").split("="),r=decodeURIComponent(n.shift()),i=n.length>0?decodeURIComponent(n.join("=")):null;void 0===t[r]?t[r]=i:Array.isArray(t[r])?t[r].push(i):t[r]=[t[r],i]})),t):t}var h=i.default.get("WORKERMAN_URL")||"";e.VUE_APP_WS_URL=h,(0,a.getWorkermanUrl)().then((function(t){i.default.set("WORKERMAN_URL",t.data.chat),e.VUE_APP_WS_URL=h=t.data.chat}));var d=f;e.default=d}).call(this,n("543d")["default"])},"0c53":function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n("514d");function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function a(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),t}var s=function(){function e(n){i(this,e),this.cacheSetHandler=t.setStorageSync,this.cacheGetHandler=t.getStorageSync,this.cacheClearHandler=t.removeStorageSync,this.cacheExpire="UNI-APP-CRMEB:TAG",this.clearOverdue()}return a(e,[{key:"time",value:function(){return Math.round(new Date/1e3)}},{key:"strTotime",value:function(t){var e=t.substring(0,19);return e=e.replace(/-/g,"/"),Math.round(new Date(e).getTime()/1e3)}},{key:"setExpireCaheTag",value:function(t,e){var n=this;if(e=void 0!==e?e:r.EXPIRE,"number"===typeof e){var i=this.cacheGetHandler(this.cacheExpire),o=[],a=[];"object"===typeof i&&i.length&&(o=i.map((function(r){return a.push(r.key),r.key===t&&(r.expire=0===e?0:n.time()+e),r}))),a.length&&-1!==a.indexOf(t)||o.push({key:t,expire:0===e?0:this.time()+e}),this.cacheSetHandler(this.cacheExpire,o)}}},{key:"getExpireCahe",value:function(t,e){try{var n=this.cacheGetHandler(this.cacheExpire),r=0,i=!1;if("object"===typeof n&&n.length){if(n.map((function(e,n){e.key===t&&(r=e.expire,i=n)})),r){var o=parseInt(r);return!(r&&r<this.time()&&!Number.isNaN(o))||(void 0!==e&&!0!==e||(this.cacheClearHandler(t),!1!==i&&(n.splice(i,1),this.cacheClearHandler(this.cacheExpire,n))),!1)}return!!this.cacheGetHandler(t)}return!1}catch(a){return!1}}},{key:"set",value:function(t,e,n){if(void 0===e)return!0;"object"===typeof e&&(e=JSON.stringify(e));try{return this.setExpireCaheTag(t,n),this.cacheSetHandler(t,e)}catch(r){return!1}}},{key:"has",value:function(t){return this.clearOverdue(),this.getExpireCahe(t)}},{key:"get",value:function(t,e,n){this.clearOverdue();try{var r=this.getExpireCahe(t),i=this.cacheGetHandler(t);if(i&&r)return"boolean"===typeof e?JSON.parse(i):i;if("function"===typeof e){var o=e();return this.set(t,o,n),o}return this.set(t,e,n),e}catch(a){return null}}},{key:"clear",value:function(t){try{var e=this.cacheGetHandler(this.cacheExpire),n=!1;return e&&"object"===typeof e&&e.length&&(e.map((function(e,r){e.key===t&&(n=r)})),!1!==n&&e.splice(n,1),this.cacheSetHandler(this.cacheExpire,e)),this.cacheClearHandler(t)}catch(r){return!1}}},{key:"clearOverdue",value:function(){var t=this,e=this.cacheGetHandler(this.cacheExpire),n=this.time(),r=[],i=[];e&&"object"===typeof e&&e.length&&e.map((function(t){t&&(void 0!==t.expire&&t.expire>n||0===t.expire?i.push(t):r.push(t.key))})),i.length!==e.length&&this.cacheSetHandler(this.cacheExpire,i),r.forEach((function(e){t.cacheClearHandler(e)}))}}]),e}(),c=new s;e.default=c}).call(this,n("543d")["default"])},1346:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getWechatConfig=a,e.wechatAuth=s,e.getLogo=c,e.login=l,e.silenceAuth=u,e.getShare=f,e.follow=h,e.imageBase64=d,e.copyWords=p,e.getShopConfig=g,e.getUserPhone=v,e.routineLogin=y,e.wechatAuthV2=m,e.getNavigation=b,e.getSubscribe=x,e.getUpdateInfo=_;var r=o(n("9011")),i=o(n("50b4"));function o(t){return t&&t.__esModule?t:{default:t}}function a(){return r.default.get("wechat/config",{url:i.default.signLink()},{noAuth:!0})}function s(t,e,n){return r.default.get("wechat/auth",{code:t,spread:e,login_type:n},{noAuth:!0})}function c(){return r.default.get("wechat/get_logo",{},{noAuth:!0})}function l(t){return r.default.post("wechat/mp_auth",t,{noAuth:!0})}function u(t){return r.default.get("v2/wechat/silence_auth",t,{noAuth:!0})}function f(){return r.default.get("share",{},{noAuth:!0})}function h(){return r.default.get("wechat/follow",{},{noAuth:!0})}function d(t,e){return r.default.post("image_base64",{image:t,code:e},{noAuth:!0})}function p(){return r.default.get("copy_words",{},{noAuth:!0})}function g(){return r.default.get("v2/bind_status",{},{noAuth:!0})}function v(t){return r.default.post("v2/auth_bindind_phone",t,{noAuth:!0})}function y(t){return r.default.get("v2/wechat/routine_auth",t,{noAuth:!0})}function m(t,e){return r.default.get("v2/wechat/auth",{code:t,spread:e},{noAuth:!0})}function b(t){return r.default.get("navigation",t,{noAuth:!0})}function x(){return r.default.get("subscribe",{},{noAuth:!0})}function _(t){return r.default.get("get_new_app/"+t,{},{noAuth:!0})}},"1d81":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n("9231"));function i(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function s(t,e,n){return e&&a(t.prototype,e),n&&a(t,n),t}var c=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.date,r=e.selected,i=e.startDate,a=e.endDate,s=e.range;o(this,t),this.date=this.getDate(n),this.selected=r||[],this.startDate=i,this.endDate=a,this.range=s,this.multipleStatus={before:"",after:"",data:[]},this.weeks={},this._getWeek(this.date.fullDate)}return s(t,[{key:"getDate",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"day";t||(t=new Date),"object"!==typeof t&&(t=t.replace(/-/g,"/"));var r=new Date(t);switch(n){case"day":r.setDate(r.getDate()+e);break;case"month":31===r.getDate()?r.setDate(r.getDate()+e):r.setMonth(r.getMonth()+e);break;case"year":r.setFullYear(r.getFullYear()+e);break}var i=r.getFullYear(),o=r.getMonth()+1<10?"0"+(r.getMonth()+1):r.getMonth()+1,a=r.getDate()<10?"0"+r.getDate():r.getDate();return{fullDate:i+"-"+o+"-"+a,year:i,month:o,date:a,day:r.getDay()}}},{key:"_getLastMonthDays",value:function(t,e){for(var n=[],r=t;r>0;r--){var i=new Date(e.year,e.month-1,1-r).getDate();n.push({date:i,month:e.month-1,lunar:this.getlunar(e.year,e.month-1,i),disable:!0})}return n}},{key:"_currentMonthDys",value:function(t,e){for(var n=this,r=[],i=this.date.fullDate,o=function(t){var o=e.year+"-"+(e.month,e.month+"-")+(t<10?"0"+t:t),a=i===o,s=n.selected&&n.selected.find((function(t){if(n.dateEqual(o,t.date))return t})),c=!0,l=!0;if(n.startDate){var u=n.dateCompare(n.startDate,i);c=n.dateCompare(u?n.startDate:i,o)}if(n.endDate){var f=n.dateCompare(i,n.endDate);l=n.dateCompare(o,f?n.endDate:i)}var h=n.multipleStatus.data,d=!1,p=-1;n.range&&(h&&(p=h.findIndex((function(t){return n.dateEqual(t,o)}))),-1!==p&&(d=!0));var g={fullDate:o,year:e.year,date:t,multiple:!!n.range&&d,month:e.month,lunar:n.getlunar(e.year,e.month,t),disable:!c||!l,isDay:a};s&&(g.extraInfo=s),r.push(g)},a=1;a<=t;a++)o(a);return r}},{key:"_getNextMonthDays",value:function(t,e){for(var n=[],r=1;r<t+1;r++)n.push({date:r,month:Number(e.month)+1,lunar:this.getlunar(e.year,Number(e.month)+1,r),disable:!0});return n}},{key:"setDate",value:function(t){this._getWeek(t)}},{key:"getInfo",value:function(t){var e=this;t||(t=new Date);var n=this.canlender.find((function(n){return n.fullDate===e.getDate(t).fullDate}));return n}},{key:"dateCompare",value:function(t,e){return t=new Date(t.replace("-","/").replace("-","/")),e=new Date(e.replace("-","/").replace("-","/")),t<=e}},{key:"dateEqual",value:function(t,e){return t=new Date(t.replace("-","/").replace("-","/")),e=new Date(e.replace("-","/").replace("-","/")),t.getTime()-e.getTime()===0}},{key:"geDateAll",value:function(t,e){var n=[],r=t.split("-"),i=e.split("-"),o=new Date;o.setFullYear(r[0],r[1]-1,r[2]);var a=new Date;a.setFullYear(i[0],i[1]-1,i[2]);for(var s=o.getTime()-864e5,c=a.getTime()-864e5,l=s;l<=c;)l+=864e5,n.push(this.getDate(new Date(parseInt(l))).fullDate);return n}},{key:"getlunar",value:function(t,e,n){return r.default.solar2lunar(t,e,n)}},{key:"setSelectInfo",value:function(t,e){this.selected=e,this._getWeek(t)}},{key:"setMultiple",value:function(t){var e=this.multipleStatus,n=e.before,r=e.after;this.range&&(n&&r?(this.multipleStatus.before="",this.multipleStatus.after="",this.multipleStatus.data=[],this._getWeek(t)):n?(this.multipleStatus.after=t,this.dateCompare(this.multipleStatus.before,this.multipleStatus.after)?this.multipleStatus.data=this.geDateAll(this.multipleStatus.before,this.multipleStatus.after):this.multipleStatus.data=this.geDateAll(this.multipleStatus.after,this.multipleStatus.before),this._getWeek(t)):this.multipleStatus.before=t)}},{key:"_getWeek",value:function(t){var e=this.getDate(t),n=(e.fullDate,e.year),r=e.month,i=(e.date,e.day,new Date(n,r-1,1).getDay()),o=new Date(n,r,0).getDate(),a={lastMonthDays:this._getLastMonthDays(i,this.getDate(t)),currentMonthDys:this._currentMonthDys(o,this.getDate(t)),nextMonthDays:[],weeks:[]},s=[],c=42-(a.lastMonthDays.length+a.currentMonthDys.length);a.nextMonthDays=this._getNextMonthDays(c,this.getDate(t)),s=s.concat(a.lastMonthDays,a.currentMonthDys,a.nextMonthDays);for(var l={},u=0;u<s.length;u++)u%7===0&&(l[parseInt(u/7)]=new Array(7)),l[parseInt(u/7)][u%7]=s[u];this.canlender=s,this.weeks=l}}]),t}(),l=c;e.default=l},"26cb":function(t,e,n){"use strict";(function(e){
/*!
* vuex v3.6.2
* (c) 2021 Evan You
* @license MIT
*/
function n(t){var e=Number(t.version.split(".")[0]);if(e>=2)t.mixin({beforeCreate:r});else{var n=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[r].concat(t.init):r,n.call(this,t)}}function r(){var t=this.$options;t.store?this.$store="function"===typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}}var r="undefined"!==typeof window?window:"undefined"!==typeof e?e:{},i=r.__VUE_DEVTOOLS_GLOBAL_HOOK__;function o(t){i&&(t._devtoolHook=i,i.emit("vuex:init",t),i.on("vuex:travel-to-state",(function(e){t.replaceState(e)})),t.subscribe((function(t,e){i.emit("vuex:mutation",t,e)}),{prepend:!0}),t.subscribeAction((function(t,e){i.emit("vuex:action",t,e)}),{prepend:!0}))}function a(t,e){return t.filter(e)[0]}function s(t,e){if(void 0===e&&(e=[]),null===t||"object"!==typeof t)return t;var n=a(e,(function(e){return e.original===t}));if(n)return n.copy;var r=Array.isArray(t)?[]:{};return e.push({original:t,copy:r}),Object.keys(t).forEach((function(n){r[n]=s(t[n],e)})),r}function c(t,e){Object.keys(t).forEach((function(n){return e(t[n],n)}))}function l(t){return null!==t&&"object"===typeof t}function u(t){return t&&"function"===typeof t.then}function f(t,e){return function(){return t(e)}}var h=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"===typeof n?n():n)||{}},d={namespaced:{configurable:!0}};d.namespaced.get=function(){return!!this._rawModule.namespaced},h.prototype.addChild=function(t,e){this._children[t]=e},h.prototype.removeChild=function(t){delete this._children[t]},h.prototype.getChild=function(t){return this._children[t]},h.prototype.hasChild=function(t){return t in this._children},h.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},h.prototype.forEachChild=function(t){c(this._children,t)},h.prototype.forEachGetter=function(t){this._rawModule.getters&&c(this._rawModule.getters,t)},h.prototype.forEachAction=function(t){this._rawModule.actions&&c(this._rawModule.actions,t)},h.prototype.forEachMutation=function(t){this._rawModule.mutations&&c(this._rawModule.mutations,t)},Object.defineProperties(h.prototype,d);var p=function(t){this.register([],t,!1)};function g(t,e,n){if(e.update(n),n.modules)for(var r in n.modules){if(!e.getChild(r))return void 0;g(t.concat(r),e.getChild(r),n.modules[r])}}p.prototype.get=function(t){return t.reduce((function(t,e){return t.getChild(e)}),this.root)},p.prototype.getNamespace=function(t){var e=this.root;return t.reduce((function(t,n){return e=e.getChild(n),t+(e.namespaced?n+"/":"")}),"")},p.prototype.update=function(t){g([],this.root,t)},p.prototype.register=function(t,e,n){var r=this;void 0===n&&(n=!0);var i=new h(e,n);if(0===t.length)this.root=i;else{var o=this.get(t.slice(0,-1));o.addChild(t[t.length-1],i)}e.modules&&c(e.modules,(function(e,i){r.register(t.concat(i),e,n)}))},p.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1],r=e.getChild(n);r&&r.runtime&&e.removeChild(n)},p.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];return!!e&&e.hasChild(n)};var v;var y=function(t){var e=this;void 0===t&&(t={}),!v&&"undefined"!==typeof window&&window.Vue&&D(window.Vue);var n=t.plugins;void 0===n&&(n=[]);var r=t.strict;void 0===r&&(r=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new p(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new v,this._makeLocalGettersCache=Object.create(null);var i=this,a=this,s=a.dispatch,c=a.commit;this.dispatch=function(t,e){return s.call(i,t,e)},this.commit=function(t,e,n){return c.call(i,t,e,n)},this.strict=r;var l=this._modules.root.state;w(this,l,[],this._modules.root),_(this,l),n.forEach((function(t){return t(e)}));var u=void 0!==t.devtools?t.devtools:v.config.devtools;u&&o(this)},m={state:{configurable:!0}};function b(t,e,n){return e.indexOf(t)<0&&(n&&n.prepend?e.unshift(t):e.push(t)),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function x(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;w(t,n,[],t._modules.root,!0),_(t,n,e)}function _(t,e,n){var r=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var i=t._wrappedGetters,o={};c(i,(function(e,n){o[n]=f(e,t),Object.defineProperty(t.getters,n,{get:function(){return t._vm[n]},enumerable:!0})}));var a=v.config.silent;v.config.silent=!0,t._vm=new v({data:{$$state:e},computed:o}),v.config.silent=a,t.strict&&O(t),r&&(n&&t._withCommit((function(){r._data.$$state=null})),v.nextTick((function(){return r.$destroy()})))}function w(t,e,n,r,i){var o=!n.length,a=t._modules.getNamespace(n);if(r.namespaced&&(t._modulesNamespaceMap[a],t._modulesNamespaceMap[a]=r),!o&&!i){var s=C(e,n.slice(0,-1)),c=n[n.length-1];t._withCommit((function(){v.set(s,c,r.state)}))}var l=r.context=A(t,a,n);r.forEachMutation((function(e,n){var r=a+n;T(t,r,e,l)})),r.forEachAction((function(e,n){var r=e.root?n:a+n,i=e.handler||e;k(t,r,i,l)})),r.forEachGetter((function(e,n){var r=a+n;P(t,r,e,l)})),r.forEachChild((function(r,o){w(t,e,n.concat(o),r,i)}))}function A(t,e,n){var r=""===e,i={dispatch:r?t.dispatch:function(n,r,i){var o=L(n,r,i),a=o.payload,s=o.options,c=o.type;return s&&s.root||(c=e+c),t.dispatch(c,a)},commit:r?t.commit:function(n,r,i){var o=L(n,r,i),a=o.payload,s=o.options,c=o.type;s&&s.root||(c=e+c),t.commit(c,a,s)}};return Object.defineProperties(i,{getters:{get:r?function(){return t.getters}:function(){return S(t,e)}},state:{get:function(){return C(t.state,n)}}}),i}function S(t,e){if(!t._makeLocalGettersCache[e]){var n={},r=e.length;Object.keys(t.getters).forEach((function(i){if(i.slice(0,r)===e){var o=i.slice(r);Object.defineProperty(n,o,{get:function(){return t.getters[i]},enumerable:!0})}})),t._makeLocalGettersCache[e]=n}return t._makeLocalGettersCache[e]}function T(t,e,n,r){var i=t._mutations[e]||(t._mutations[e]=[]);i.push((function(e){n.call(t,r.state,e)}))}function k(t,e,n,r){var i=t._actions[e]||(t._actions[e]=[]);i.push((function(e){var i=n.call(t,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:t.getters,rootState:t.state},e);return u(i)||(i=Promise.resolve(i)),t._devtoolHook?i.catch((function(e){throw t._devtoolHook.emit("vuex:error",e),e})):i}))}function P(t,e,n,r){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(t){return n(r.state,r.getters,t.state,t.getters)})}function O(t){t._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}function C(t,e){return e.reduce((function(t,e){return t[e]}),t)}function L(t,e,n){return l(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}function D(t){v&&t===v||(v=t,n(v))}m.state.get=function(){return this._vm._data.$$state},m.state.set=function(t){0},y.prototype.commit=function(t,e,n){var r=this,i=L(t,e,n),o=i.type,a=i.payload,s=(i.options,{type:o,payload:a}),c=this._mutations[o];c&&(this._withCommit((function(){c.forEach((function(t){t(a)}))})),this._subscribers.slice().forEach((function(t){return t(s,r.state)})))},y.prototype.dispatch=function(t,e){var n=this,r=L(t,e),i=r.type,o=r.payload,a={type:i,payload:o},s=this._actions[i];if(s){try{this._actionSubscribers.slice().filter((function(t){return t.before})).forEach((function(t){return t.before(a,n.state)}))}catch(l){0}var c=s.length>1?Promise.all(s.map((function(t){return t(o)}))):s[0](o);return new Promise((function(t,e){c.then((function(e){try{n._actionSubscribers.filter((function(t){return t.after})).forEach((function(t){return t.after(a,n.state)}))}catch(l){0}t(e)}),(function(t){try{n._actionSubscribers.filter((function(t){return t.error})).forEach((function(e){return e.error(a,n.state,t)}))}catch(l){0}e(t)}))}))}},y.prototype.subscribe=function(t,e){return b(t,this._subscribers,e)},y.prototype.subscribeAction=function(t,e){var n="function"===typeof t?{before:t}:t;return b(n,this._actionSubscribers,e)},y.prototype.watch=function(t,e,n){var r=this;return this._watcherVM.$watch((function(){return t(r.state,r.getters)}),e,n)},y.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._vm._data.$$state=t}))},y.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"===typeof t&&(t=[t]),this._modules.register(t,e),w(this,this.state,t,this._modules.get(t),n.preserveState),_(this,this.state)},y.prototype.unregisterModule=function(t){var e=this;"string"===typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit((function(){var n=C(e.state,t.slice(0,-1));v.delete(n,t[t.length-1])})),x(this)},y.prototype.hasModule=function(t){return"string"===typeof t&&(t=[t]),this._modules.isRegistered(t)},y.prototype[[104,111,116,85,112,100,97,116,101].map(t=>String.fromCharCode(t)).join("")]=function(t){this._modules.update(t),x(this,!0)},y.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(y.prototype,m);var M=N((function(t,e){var n={};return R(e).forEach((function(e){var r=e.key,i=e.val;n[r]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var r=z(this.$store,"mapState",t);if(!r)return;e=r.context.state,n=r.context.getters}return"function"===typeof i?i.call(this,e,n):e[i]},n[r].vuex=!0})),n})),E=N((function(t,e){var n={};return R(e).forEach((function(e){var r=e.key,i=e.val;n[r]=function(){var e=[],n=arguments.length;while(n--)e[n]=arguments[n];var r=this.$store.commit;if(t){var o=z(this.$store,"mapMutations",t);if(!o)return;r=o.context.commit}return"function"===typeof i?i.apply(this,[r].concat(e)):r.apply(this.$store,[i].concat(e))}})),n})),I=N((function(t,e){var n={};return R(e).forEach((function(e){var r=e.key,i=e.val;i=t+i,n[r]=function(){if(!t||z(this.$store,"mapGetters",t))return this.$store.getters[i]},n[r].vuex=!0})),n})),$=N((function(t,e){var n={};return R(e).forEach((function(e){var r=e.key,i=e.val;n[r]=function(){var e=[],n=arguments.length;while(n--)e[n]=arguments[n];var r=this.$store.dispatch;if(t){var o=z(this.$store,"mapActions",t);if(!o)return;r=o.context.dispatch}return"function"===typeof i?i.apply(this,[r].concat(e)):r.apply(this.$store,[i].concat(e))}})),n})),F=function(t){return{mapState:M.bind(null,t),mapGetters:I.bind(null,t),mapMutations:E.bind(null,t),mapActions:$.bind(null,t)}};function R(t){return j(t)?Array.isArray(t)?t.map((function(t){return{key:t,val:t}})):Object.keys(t).map((function(e){return{key:e,val:t[e]}})):[]}function j(t){return Array.isArray(t)||l(t)}function N(t){return function(e,n){return"string"!==typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function z(t,e,n){var r=t._modulesNamespaceMap[n];return r}function U(t){void 0===t&&(t={});var e=t.collapsed;void 0===e&&(e=!0);var n=t.filter;void 0===n&&(n=function(t,e,n){return!0});var r=t.transformer;void 0===r&&(r=function(t){return t});var i=t.mutationTransformer;void 0===i&&(i=function(t){return t});var o=t.actionFilter;void 0===o&&(o=function(t,e){return!0});var a=t.actionTransformer;void 0===a&&(a=function(t){return t});var c=t.logMutations;void 0===c&&(c=!0);var l=t.logActions;void 0===l&&(l=!0);var u=t.logger;return void 0===u&&(u=console),function(t){var f=s(t.state);"undefined"!==typeof u&&(c&&t.subscribe((function(t,o){var a=s(o);if(n(t,f,a)){var c=W(),l=i(t),h="mutation "+t.type+c;H(u,h,e),u.log("%c prev state","color: #9E9E9E; font-weight: bold",r(f)),u.log("%c mutation","color: #03A9F4; font-weight: bold",l),u.log("%c next state","color: #4CAF50; font-weight: bold",r(a)),B(u)}f=a})),l&&t.subscribeAction((function(t,n){if(o(t,n)){var r=W(),i=a(t),s="action "+t.type+r;H(u,s,e),u.log("%c action","color: #03A9F4; font-weight: bold",i),B(u)}})))}}function H(t,e,n){var r=n?t.groupCollapsed:t.group;try{r.call(t,e)}catch(i){t.log(e)}}function B(t){try{t.groupEnd()}catch(e){t.log("—— log end ——")}}function W(){var t=new Date;return" @ "+V(t.getHours(),2)+":"+V(t.getMinutes(),2)+":"+V(t.getSeconds(),2)+"."+V(t.getMilliseconds(),3)}function G(t,e){return new Array(e+1).join(t)}function V(t,e){return G("0",e-t.toString().length)+t}var X={Store:y,install:D,version:"3.6.2",mapState:M,mapMutations:E,mapGetters:I,mapActions:$,createNamespacedHelpers:F,createLogger:U};t.exports=X}).call(this,n("c8ba"))},"2e14":function(t,e,n){"use strict";(function(e){var n={yAxisWidth:15,yAxisSplit:5,xAxisHeight:15,xAxisLineHeight:15,legendHeight:15,yAxisTitleWidth:15,padding:[10,10,10,10],pixelRatio:1,rotate:!1,columePadding:3,fontSize:13,dataPointShape:["circle","circle","circle","circle"],colors:["#1890ff","#2fc25b","#facc14","#f04864","#8543e0","#90ed7d"],pieChartLinePadding:15,pieChartTextPadding:5,xAxisTextPadding:3,titleColor:"#333333",titleFontSize:20,subtitleColor:"#999999",subtitleFontSize:15,toolTipPadding:3,toolTipBackground:"#000000",toolTipOpacity:.7,toolTipLineHeight:20,radarLabelTextMargin:15,gaugeLabelTextMargin:15},r=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];if(null==t)throw new TypeError("Cannot convert undefined or null to object");if(!n||n.length<=0)return t;function i(t,e){for(var n in e)t[n]=t[n]&&"[object Object]"===t[n].toString()?i(t[n],e[n]):t[n]=e[n];return t}return n.forEach((function(e){t=i(t,e)})),t},i={toFixed:function(t,e){return e=e||2,this.isFloat(t)&&(t=t.toFixed(e)),t},isFloat:function(t){return t%1!==0},approximatelyEqual:function(t,e){return Math.abs(t-e)<1e-10},isSameSign:function(t,e){return Math.abs(t)===t&&Math.abs(e)===e||Math.abs(t)!==t&&Math.abs(e)!==e},isSameXCoordinateArea:function(t,e){return this.isSameSign(t.x,e.x)},isCollision:function(t,e){t.end={},t.end.x=t.start.x+t.width,t.end.y=t.start.y-t.height,e.end={},e.end.x=e.start.x+e.width,e.end.y=e.start.y-e.height;var n=e.start.x>t.end.x||e.end.x<t.start.x||e.end.y>t.start.y||e.start.y<t.end.y;return!n}};function o(t,e){var n=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,r=t.replace(n,(function(t,e,n,r){return e+e+n+n+r+r})),i=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(r),o=parseInt(i[1],16),a=parseInt(i[2],16),s=parseInt(i[3],16);return"rgba("+o+","+a+","+s+","+e+")"}function a(t,e,n){if(isNaN(t))throw new Error("[uCharts] unvalid series data!");n=n||10,e=e||"upper";var r=1;while(n<1)n*=10,r*=10;t="upper"===e?Math.ceil(t*r):Math.floor(t*r);while(t%n!==0)"upper"===e?t++:t--;return t/r}function s(t,e,n,r){for(var i=[],o=0;o<t.length;o++){for(var a={data:[],name:e[o],color:n[o]},s=0,c=r.length;s<c;s++)if(s<t[o])a.data.push(null);else{for(var l=0,u=0;u<t[o];u++)l+=r[s-u][1];a.data.push(+(l/t[o]).toFixed(3))}i.push(a)}return i}function c(t,e,n,r,i){var o=i.width-i.area[1]-i.area[3],a=n.eachSpacing*(i.chartData.xAxisData.xAxisPoints.length-1),s=e;return e>=0?(s=0,t.event.trigger("scrollLeft")):Math.abs(e)>=a-o&&(s=o-a,t.event.trigger("scrollRight")),s}function l(t,e,n){function r(t){while(t<0)t+=2*Math.PI;while(t>2*Math.PI)t-=2*Math.PI;return t}return t=r(t),e=r(e),n=r(n),e>n&&(n+=2*Math.PI,t<e&&(t+=2*Math.PI)),t>=e&&t<=n}function u(t,e,n){var r=t,i=n-e,o=r+(n-i-r)/Math.sqrt(2);o*=-1;var a=(n-i)*(Math.sqrt(2)-1)-(n-i-r)/Math.sqrt(2);return{transX:o,transY:a}}function f(t,e){function n(t,e){return!(!t[e-1]||!t[e+1])&&(t[e].y>=Math.max(t[e-1].y,t[e+1].y)||t[e].y<=Math.min(t[e-1].y,t[e+1].y))}function r(t,e){return!(!t[e-1]||!t[e+1])&&(t[e].x>=Math.max(t[e-1].x,t[e+1].x)||t[e].x<=Math.min(t[e-1].x,t[e+1].x))}var i=.2,o=.2,a=null,s=null,c=null,l=null;if(e<1?(a=t[0].x+(t[1].x-t[0].x)*i,s=t[0].y+(t[1].y-t[0].y)*i):(a=t[e].x+(t[e+1].x-t[e-1].x)*i,s=t[e].y+(t[e+1].y-t[e-1].y)*i),e>t.length-3){var u=t.length-1;c=t[u].x-(t[u].x-t[u-1].x)*o,l=t[u].y-(t[u].y-t[u-1].y)*o}else c=t[e+1].x-(t[e+2].x-t[e].x)*o,l=t[e+1].y-(t[e+2].y-t[e].y)*o;return n(t,e+1)&&(l=t[e+1].y),n(t,e)&&(s=t[e].y),r(t,e+1)&&(c=t[e+1].x),r(t,e)&&(a=t[e].x),(s>=Math.max(t[e].y,t[e+1].y)||s<=Math.min(t[e].y,t[e+1].y))&&(s=t[e].y),(l>=Math.max(t[e].y,t[e+1].y)||l<=Math.min(t[e].y,t[e+1].y))&&(l=t[e+1].y),(a>=Math.max(t[e].x,t[e+1].x)||a<=Math.min(t[e].x,t[e+1].x))&&(a=t[e].x),(c>=Math.max(t[e].x,t[e+1].x)||c<=Math.min(t[e].x,t[e+1].x))&&(c=t[e+1].x),{ctrA:{x:a,y:s},ctrB:{x:c,y:l}}}function h(t,e,n){return{x:n.x+t,y:n.y-e}}function d(t,e){if(e)while(i.isCollision(t,e))t.start.x>0?t.start.y--:t.start.x<0||t.start.y>0?t.start.y++:t.start.y--;return t}function p(t,e,n){var r=0;return t.map((function(t){if(t.color||(t.color=n.colors[r],r=(r+1)%n.colors.length),t.index||(t.index=0),t.type||(t.type=e.type),"undefined"==typeof t.show&&(t.show=!0),t.type||(t.type=e.type),t.pointShape||(t.pointShape="circle"),!t.legendShape)switch(t.type){case"line":t.legendShape="line";break;case"column":t.legendShape="rect";break;case"area":t.legendShape="triangle";break;default:t.legendShape="circle"}return t}))}function g(t,e){var n=0,r=e-t;return n=r>=1e4?1e3:r>=1e3?100:r>=100?10:r>=10?5:r>=1?1:r>=.1?.1:r>=.01?.01:r>=.001?.001:r>=1e-4?1e-4:r>=1e-5?1e-5:1e-6,{minRange:a(t,"lower",n),maxRange:a(e,"upper",n)}}function v(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.fontSize;t=String(t);t=t.split("");for(var r=0,i=0;i<t.length;i++){var o=t[i];/[a-zA-Z]/.test(o)?r+=7:/[0-9]/.test(o)?r+=5.5:/\./.test(o)?r+=2.7:/-/.test(o)?r+=3.25:/[\u4e00-\u9fa5]/.test(o)?r+=10:/\(|\)/.test(o)?r+=3.73:/\s/.test(o)?r+=2.5:/%/.test(o)?r+=8:r+=10}return r*e/10}function y(t){return t.reduce((function(t,e){return(t.data?t.data:t).concat(e.data)}),[])}function m(t,e){for(var n=new Array(e),r=0;r<n.length;r++)n[r]=0;for(var i=0;i<t.length;i++)for(r=0;r<n.length;r++)n[r]+=t[i].data[r];return t.reduce((function(t,e){return(t.data?t.data:t).concat(e.data).concat(n)}),[])}function b(t,e,n){var r,i;return t.clientX?e.rotate?(i=e.height-t.clientX*e.pixelRatio,r=(t.pageY-n.currentTarget.offsetTop-e.height/e.pixelRatio/2*(e.pixelRatio-1))*e.pixelRatio):(r=t.clientX*e.pixelRatio,i=(t.pageY-n.currentTarget.offsetTop-e.height/e.pixelRatio/2*(e.pixelRatio-1))*e.pixelRatio):e.rotate?(i=e.height-t.x*e.pixelRatio,r=t.y*e.pixelRatio):(r=t.x*e.pixelRatio,i=t.y*e.pixelRatio),{x:r,y:i}}function x(t,e){for(var n=[],r=0;r<t.length;r++){var i=t[r];if(null!==i.data[e]&&"undefined"!==typeof i.data[e]&&i.show){var o={};o.color=i.color,o.type=i.type,o.style=i.style,o.pointShape=i.pointShape,o.disableLegend=i.disableLegend,o.name=i.name,o.show=i.show,o.data=i.format?i.format(i.data[e]):i.data[e],n.push(o)}}return n}function _(t){var e=t.map((function(t){return v(t)}));return Math.max.apply(null,e)}function w(t){for(var e=2*Math.PI/t,n=[],r=0;r<t;r++)n.push(e*r);return n.map((function(t){return-1*t+Math.PI/2}))}function A(t,e,n,r){for(var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},o=t.map((function(t){var e=[];return e=r||t.data,{text:i.format?i.format(t,e[n]):t.name+": "+t.data,color:t.color}})),a=[],s={x:0,y:0},c=0;c<e.length;c++){var l=e[c];"undefined"!==typeof l[n]&&null!==l[n]&&a.push(l[n])}for(var u=0;u<a.length;u++){var f=a[u];s.x=Math.round(f.x),s.y+=f.y}return s.y/=a.length,{textList:o,offset:s}}function S(t,e,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},o=t.map((function(t){return{text:i.format?i.format(t,r[n]):t.name+": "+t.data,color:t.color,disableLegend:!!t.disableLegend}}));o=o.filter((function(t){if(!0!==t.disableLegend)return t}));for(var a=[],s={x:0,y:0},c=0;c<e.length;c++){var l=e[c];"undefined"!==typeof l[n]&&null!==l[n]&&a.push(l[n])}for(var u=0;u<a.length;u++){var f=a[u];s.x=Math.round(f.x),s.y+=f.y}return s.y/=a.length,{textList:o,offset:s}}function T(t,e,n,r,i,o){var a=o.color.upFill,s=o.color.downFill,c=[a,a,s,a],l=[],u={text:i[r],color:null};l.push(u),e.map((function(e){0==r&&e.data[1]-e.data[0]<0?c[1]=s:(e.data[0]<t[r-1][1]&&(c[0]=s),e.data[1]<e.data[0]&&(c[1]=s),e.data[2]>t[r-1][1]&&(c[2]=a),e.data[3]<t[r-1][1]&&(c[3]=s));var n={text:"开盘:"+e.data[0],color:c[0]},i={text:"收盘:"+e.data[1],color:c[1]},o={text:"最低:"+e.data[2],color:c[2]},u={text:"最高:"+e.data[3],color:c[3]};l.push(n,i,o,u)}));for(var f=[],h={x:0,y:0},d=0;d<n.length;d++){var p=n[d];"undefined"!==typeof p[r]&&null!==p[r]&&f.push(p[r])}return h.x=Math.round(f[0][0].x),{textList:l,offset:h}}function k(t){for(var e=[],n=0;n<t.length;n++)1==t[n].show&&e.push(t[n]);return e}function P(t,e,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,o=-1,a=n.chartData.eachSpacing/2,s=[];if(e.length>0){if("candle"==n.type)for(var c=0;c<e[0].length;c++)s.push(e[0][c][0].x);else for(var l=0;l<e[0].length;l++)s.push(e[0][l].x);"line"!=n.type&&"area"!=n.type||"justify"!=n.xAxis.boundaryGap||(a=n.chartData.eachSpacing/2),n.categories||(a=0),L(t,n,r)&&s.forEach((function(e,n){t.x+i+a>e&&(o=n)}))}return o}function O(t,e,n){var r=-1;if(C(t,e.area)){for(var i=e.points,o=-1,a=0,s=i.length;a<s;a++)for(var c=i[a],l=0;l<c.length;l++){o+=1;var u=c[l]["area"];if(t.x>u[0]&&t.x<u[2]&&t.y>u[1]&&t.y<u[3]){r=o;break}}return r}return r}function C(t,e){return t.x>e.start.x&&t.x<e.end.x&&t.y>e.start.y&&t.y<e.end.y}function L(t,e,n){return t.x<=e.width-e.area[1]+10&&t.x>=e.area[3]-10&&t.y>=e.area[0]&&t.y<=e.height-e.area[2]}function D(t,e,n){var r=2*Math.PI/n,i=-1;if(F(t,e.center,e.radius)){var o=function(t){return t<0&&(t+=2*Math.PI),t>2*Math.PI&&(t-=2*Math.PI),t},a=Math.atan2(e.center.y-t.y,t.x-e.center.x);a*=-1,a<0&&(a+=2*Math.PI);var s=e.angleList.map((function(t){return t=o(-1*t),t}));s.forEach((function(t,e){var n=o(t-r/2),s=o(t+r/2);s<n&&(s+=2*Math.PI),(a>=n&&a<=s||a+2*Math.PI>=n&&a+2*Math.PI<=s)&&(i=e)}))}return i}function M(t,e){for(var n=-1,r=0,i=e.series.length;r<i;r++){var o=e.series[r];if(t.x>o.funnelArea[0]&&t.x<o.funnelArea[2]&&t.y>o.funnelArea[1]&&t.y<o.funnelArea[3]){n=r;break}}return n}function E(t,e){for(var n=-1,r=0,i=e.length;r<i;r++){var o=e[r];if(t.x>o.area[0]&&t.x<o.area[2]&&t.y>o.area[1]&&t.y<o.area[3]){n=r;break}}return n}function I(t,e){for(var n=-1,r=e.chartData.mapData,i=e.series,o=jt(t.y,t.x,r.bounds,r.scale,r.xoffset,r.yoffset),a=[o.x,o.y],s=0,c=i.length;s<c;s++){var l=i[s].geometry.coordinates;if(zt(a,l)){n=s;break}}return n}function $(t,e){var n=-1;if(F(t,e.center,e.radius)){var r=Math.atan2(e.center.y-t.y,t.x-e.center.x);r=-r;for(var i=0,o=e.series.length;i<o;i++){var a=e.series[i];if(l(r,a._start_,a._start_+2*a._proportion_*Math.PI)){n=i;break}}}return n}function F(t,e,n){return Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2)<=Math.pow(n,2)}function R(t){var e=[],n=[];return t.forEach((function(t,r){null!==t?n.push(t):(n.length&&e.push(n),n=[])})),n.length&&e.push(n),e}function j(t,e,n,r){var i={area:{start:{x:0,y:0},end:{x:0,y:0},width:0,height:0,wholeWidth:0,wholeHeight:0},points:[],widthArr:[],heightArr:[]};if(!1===e.legend.show)return r.legendData=i,i;var o=e.legend.padding,a=e.legend.margin,s=e.legend.fontSize,c=15*e.pixelRatio,l=5*e.pixelRatio,u=Math.max(e.legend.lineHeight*e.pixelRatio,s);if("top"==e.legend.position||"bottom"==e.legend.position){for(var f=[],h=0,d=[],p=[],g=0;g<t.length;g++){var y=t[g],m=c+l+v(y.name||"undefined",s)+e.legend.itemGap;h+m>e.width-e.padding[1]-e.padding[3]?(f.push(p),d.push(h-e.legend.itemGap),h=m,p=[y]):(h+=m,p.push(y))}if(p.length){f.push(p),d.push(h-e.legend.itemGap),i.widthArr=d;var b=Math.max.apply(null,d);switch(e.legend.float){case"left":i.area.start.x=e.padding[3],i.area.end.x=e.padding[3]+2*o;break;case"right":i.area.start.x=e.width-e.padding[1]-b-2*o,i.area.end.x=e.width-e.padding[1];break;default:i.area.start.x=(e.width-b)/2-o,i.area.end.x=(e.width+b)/2+o}i.area.width=b+2*o,i.area.wholeWidth=b+2*o,i.area.height=f.length*u+2*o,i.area.wholeHeight=f.length*u+2*o+2*a,i.points=f}}else{var x=t.length,_=e.height-e.padding[0]-e.padding[2]-2*a-2*o,w=Math.min(Math.floor(_/u),x);switch(i.area.height=w*u+2*o,i.area.wholeHeight=w*u+2*o,e.legend.float){case"top":i.area.start.y=e.padding[0]+a,i.area.end.y=e.padding[0]+a+i.area.height;break;case"bottom":i.area.start.y=e.height-e.padding[2]-a-i.area.height,i.area.end.y=e.height-e.padding[2]-a;break;default:i.area.start.y=(e.height-i.area.height)/2,i.area.end.y=(e.height+i.area.height)/2}for(var A=x%w===0?x/w:Math.floor(x/w+1),S=[],T=0;T<A;T++){var k=t.slice(T*w,T*w+w);S.push(k)}if(i.points=S,S.length){for(var P=0;P<S.length;P++){for(var O=S[P],C=0,L=0;L<O.length;L++){var D=c+l+v(O[L].name||"undefined",s)+e.legend.itemGap;D>C&&(C=D)}i.widthArr.push(C),i.heightArr.push(O.length*u+2*o)}for(var M=0,E=0;E<i.widthArr.length;E++)M+=i.widthArr[E];i.area.width=M-e.legend.itemGap+2*o,i.area.wholeWidth=i.area.width+o}}switch(e.legend.position){case"top":i.area.start.y=e.padding[0]+a,i.area.end.y=e.padding[0]+a+i.area.height;break;case"bottom":i.area.start.y=e.height-e.padding[2]-i.area.height-a,i.area.end.y=e.height-e.padding[2]-a;break;case"left":i.area.start.x=e.padding[3],i.area.end.x=e.padding[3]+i.area.width;break;case"right":i.area.start.x=e.width-e.padding[1]-i.area.width,i.area.end.x=e.width-e.padding[1];break}return r.legendData=i,i}function N(t,e,n,r){var i={angle:0,xAxisHeight:n.xAxisHeight},o=t.map((function(t){return v(t,e.xAxis.fontSize||n.fontSize)})),a=Math.max.apply(this,o);return 1==e.xAxis.rotateLabel&&a+2*n.xAxisTextPadding>r&&(i.angle=45*Math.PI/180,i.xAxisHeight=2*n.xAxisTextPadding+a*Math.sin(i.angle)),i}function z(t,e,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-1,i=y(t),o=[];i=i.filter((function(t){return"object"===typeof t&&null!==t?t.constructor==Array?null!==t:null!==t.value:null!==t})),i.map((function(t){"object"===typeof t?t.constructor==Array?"candle"==e.type?t.map((function(t){o.push(t)})):o.push(t[0]):o.push(t.value):o.push(t)}));var a=0,s=0;if(o.length>0&&(a=Math.min.apply(this,o),s=Math.max.apply(this,o)),r>-1?("number"===typeof e.xAxis.data[r].min&&(a=Math.min(e.xAxis.data[r].min,a)),"number"===typeof e.xAxis.data[r].max&&(s=Math.max(e.xAxis.data[r].max,s))):("number"===typeof e.xAxis.min&&(a=Math.min(e.xAxis.min,a)),"number"===typeof e.xAxis.max&&(s=Math.max(e.xAxis.max,s))),a===s){var c=s||10;s+=c}for(var l=a,u=s,f=[],h=(u-l)/e.xAxis.splitNumber,d=0;d<=e.xAxis.splitNumber;d++)f.push(l+h*d);return f}function U(t,e,n){var r={angle:0,xAxisHeight:n.xAxisHeight};r.ranges=z(t,e,n),r.rangesFormat=r.ranges.map((function(t){return t=e.xAxis.format?e.xAxis.format(t):i.toFixed(t,2),t}));var o=r.ranges.map((function(t){return t=i.toFixed(t,2),t=e.xAxis.format?e.xAxis.format(Number(t)):t,t}));r=Object.assign(r,Q(o,e,n));var a=r.eachSpacing,s=o.map((function(t){return v(t)})),c=Math.max.apply(this,s);return c+2*n.xAxisTextPadding>a&&(r.angle=45*Math.PI/180,r.xAxisHeight=2*n.xAxisTextPadding+c*Math.sin(r.angle)),!0===e.xAxis.disabled&&(r.xAxisHeight=0),r}function H(t,e,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,a=i.extra.radar||{};a.max=a.max||0;for(var s=Math.max(a.max,Math.max.apply(null,y(r))),c=[],l=function(i){var a=r[i],l={};l.color=a.color,l.legendShape=a.legendShape,l.pointShape=a.pointShape,l.data=[],a.data.forEach((function(r,i){var a={};a.angle=t[i],a.proportion=r/s,a.position=h(n*a.proportion*o*Math.cos(a.angle),n*a.proportion*o*Math.sin(a.angle),e),l.data.push(a)})),c.push(l)},u=0;u<r.length;u++)l(u);return c}function B(t,e){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=0,i=0,o=0;o<t.length;o++){var a=t[o];a.data=null===a.data?0:a.data,r+=a.data}for(var s=0;s<t.length;s++){var c=t[s];c.data=null===c.data?0:c.data,c._proportion_=0===r?1/t.length*n:c.data/r*n,c._radius_=e}for(var l=0;l<t.length;l++){var u=t[l];u._start_=i,i+=2*u._proportion_*Math.PI}return t}function W(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;t=t.sort((function(t,e){return parseInt(e.data)-parseInt(t.data)}));for(var r=0;r<t.length;r++)t[r].radius=t[r].data/t[0].data*e*n,t[r]._proportion_=t[r].data/t[0].data;return t.reverse()}function G(t,e,n,r){for(var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=0,a=0,s=[],c=0;c<t.length;c++){var l=t[c];l.data=null===l.data?0:l.data,o+=l.data,s.push(l.data)}for(var u=Math.min.apply(null,s),f=Math.max.apply(null,s),h=r-n,d=0;d<t.length;d++){var p=t[d];p.data=null===p.data?0:p.data,0===o||"area"==e?(p._proportion_=p.data/o*i,p._rose_proportion_=1/t.length*i):(p._proportion_=p.data/o*i,p._rose_proportion_=p.data/o*i),p._radius_=n+h*((p.data-u)/(f-u))}for(var g=0;g<t.length;g++){var v=t[g];v._start_=a,a+=2*v._rose_proportion_*Math.PI}return t}function V(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;1==n&&(n=.999999);for(var r=0;r<t.length;r++){var i=t[r];i.data=null===i.data?0:i.data;var o=void 0;o="circle"==e.type?2:e.endAngle<e.startAngle?2+e.endAngle-e.startAngle:e.startAngle-e.endAngle,i._proportion_=o*i.data*n+e.startAngle,i._proportion_>=2&&(i._proportion_=i._proportion_%2)}return t}function X(t,e,n){for(var r=e-n+1,i=e,o=0;o<t.length;o++)t[o].value=null===t[o].value?0:t[o].value,t[o]._startAngle_=i,t[o]._endAngle_=r*t[o].value+e,t[o]._endAngle_>=2&&(t[o]._endAngle_=t[o]._endAngle_%2),i=t[o]._endAngle_;return t}function K(t,e,n){for(var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,i=0;i<t.length;i++){var o=t[i];if(o.data=null===o.data?0:o.data,"auto"==n.pointer.color){for(var a=0;a<e.length;a++)if(o.data<=e[a].value){o.color=e[a].color;break}}else o.color=n.pointer.color;var s=n.startAngle-n.endAngle+1;o._endAngle_=s*o.data+n.startAngle,o._oldAngle_=n.oldAngle,n.oldAngle<n.endAngle&&(o._oldAngle_+=2),o.data>=n.oldData?o._proportion_=(o._endAngle_-o._oldAngle_)*r+n.oldAngle:o._proportion_=o._oldAngle_-(o._oldAngle_-o._endAngle_)*r,o._proportion_>=2&&(o._proportion_=o._proportion_%2)}return t}function Y(t){t=B(t);for(var e=0,n=0;n<t.length;n++){var r=t[n],o=r.format?r.format(+r._proportion_.toFixed(2)):i.toFixed(100*r._proportion_)+"%";e=Math.max(e,v(o))}return e}function q(t,e,n,r,i,o){return t.map((function(t){return null===t?null:(t.width=Math.ceil((e-2*i.columePadding)/n),o.extra.column&&o.extra.column.width&&+o.extra.column.width>0&&(t.width=Math.min(t.width,+o.extra.column.width)),t.width<=0&&(t.width=1),t.x+=(r+.5-n/2)*t.width,t)}))}function J(t,e,n,r,i,o,a){return t.map((function(t){return null===t?null:(t.width=Math.ceil((e-2*i.columePadding)/2),o.extra.column&&o.extra.column.width&&+o.extra.column.width>0&&(t.width=Math.min(t.width,+o.extra.column.width)),r>0&&(t.width-=2*a),t)}))}function Z(t,e,n,r,i,o,a){return t.map((function(t,n){return null===t?null:(t.width=Math.ceil((e-2*i.columePadding)/2),o.extra.column&&o.extra.column.width&&+o.extra.column.width>0&&(t.width=Math.min(t.width,+o.extra.column.width)),t)}))}function Q(t,e,n){var r=e.width-e.area[1]-e.area[3],i=e.enableScroll?Math.min(e.xAxis.itemCount,t.length):t.length;("line"==e.type||"area"==e.type)&&i>1&&"justify"==e.xAxis.boundaryGap&&(i-=1);var o=r/i,a=[],s=e.area[3],c=e.width-e.area[1];return t.forEach((function(t,e){a.push(s+e*o)})),"justify"!==e.xAxis.boundaryGap&&(!0===e.enableScroll?a.push(s+t.length*o):a.push(c)),{xAxisPoints:a,startX:s,endX:c,eachSpacing:o}}function tt(t,e,n,r,i,o,a){var s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:1,c=[],l=o.height-o.area[0]-o.area[2];return t.forEach((function(t,a){if(null===t)c.push(null);else{var u=[];t.forEach((function(t,c){var f={};f.x=r[a]+Math.round(i/2);var h=t.value||t,d=l*(h-e)/(n-e);d*=s,f.y=o.height-Math.round(d)-o.area[2],u.push(f)})),c.push(u)}})),c}function et(t,e,n,r,i,o,a){var s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:1,c="center";"line"!=o.type&&"area"!=o.type||(c=o.xAxis.boundaryGap);var l=[],u=o.height-o.area[0]-o.area[2],f=o.width-o.area[1]-o.area[3];return t.forEach((function(t,a){if(null===t)l.push(null);else{var h={};h.color=t.color,h.x=r[a];var d,p,g,v=t;if("object"===typeof t&&null!==t)if(t.constructor==Array)d=[].concat(o.chartData.xAxisData.ranges),p=d.shift(),g=d.pop(),v=t[1],h.x=o.area[3]+f*(t[0]-p)/(g-p);else v=t.value;"center"==c&&(h.x+=Math.round(i/2));var y=u*(v-e)/(n-e);y*=s,h.y=o.height-Math.round(y)-o.area[2],l.push(h)}})),l}function nt(t,e,n,r,i,o,a,s,c){var l=arguments.length>9&&void 0!==arguments[9]?arguments[9]:1,u=[],f=o.height-o.area[0]-o.area[2];return t.forEach((function(t,a){if(null===t)u.push(null);else{var h={};if(h.color=t.color,h.x=r[a]+Math.round(i/2),s>0){for(var d=0,p=0;p<=s;p++)d+=c[p].data[a];var g=d-t,v=f*(d-e)/(n-e),y=f*(g-e)/(n-e)}else d=t,v=f*(d-e)/(n-e),y=0;var m=y;v*=l,m*=l,h.y=o.height-Math.round(v)-o.area[2],h.y0=o.height-Math.round(m)-o.area[2],u.push(h)}})),u}function rt(t,e,n,r){var i,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-1;i="stack"==r?m(t,e.categories.length):y(t);var a=[];i=i.filter((function(t){return"object"===typeof t&&null!==t?t.constructor==Array?null!==t:null!==t.value:null!==t})),i.map((function(t){"object"===typeof t?t.constructor==Array?"candle"==e.type?t.map((function(t){a.push(t)})):a.push(t[1]):a.push(t.value):a.push(t)}));var s=0,c=0;if(a.length>0&&(s=Math.min.apply(this,a),c=Math.max.apply(this,a)),o>-1?("number"===typeof e.yAxis.data[o].min&&(s=Math.min(e.yAxis.data[o].min,s)),"number"===typeof e.yAxis.data[o].max&&(c=Math.max(e.yAxis.data[o].max,c))):("number"===typeof e.yAxis.min&&(s=Math.min(e.yAxis.min,s)),"number"===typeof e.yAxis.max&&(c=Math.max(e.yAxis.max,c))),s===c){var l=c||10;c+=l}for(var u=g(s,c),f=u.minRange,h=u.maxRange,d=[],p=(h-f)/e.yAxis.splitNumber,v=0;v<=e.yAxis.splitNumber;v++)d.push(f+p*v);return d.reverse()}function it(t,e,n){var o=r({},{type:""},e.extra.column),a=e.yAxis.data.length,s=new Array(a);if(a>0){for(var c=0;c<a;c++){s[c]=[];for(var l=0;l<t.length;l++)t[l].index==c&&s[c].push(t[l])}for(var u=new Array(a),f=new Array(a),h=new Array(a),d=function(t){var r=e.yAxis.data[t];1==e.yAxis.disabled&&(r.disabled=!0),u[t]=rt(s[t],e,n,o.type,t);var a=r.fontSize||n.fontSize;h[t]={position:r.position?r.position:"left",width:0},f[t]=u[t].map((function(e){return e=i.toFixed(e,6),e=r.format?r.format(Number(e)):e,h[t].width=Math.max(h[t].width,v(e,a)+5),e}));var c=r.calibration?4*e.pixelRatio:0;h[t].width+=c+3*e.pixelRatio,!0===r.disabled&&(h[t].width=0)},p=0;p<a;p++)d(p)}else{u=new Array(1),f=new Array(1),h=new Array(1);u[0]=rt(t,e,n,o.type),h[0]={position:"left",width:0};var g=e.yAxis.fontSize||n.fontSize;f[0]=u[0].map((function(t){return t=i.toFixed(t,6),t=e.yAxis.format?e.yAxis.format(Number(t)):t,h[0].width=Math.max(h[0].width,v(t,g)+5),t})),h[0].width+=3*e.pixelRatio,!0===e.yAxis.disabled?(h[0]={position:"left",width:0},e.yAxis.data[0]={disabled:!0}):e.yAxis.data[0]={disabled:!1,position:"left",max:e.yAxis.max,min:e.yAxis.min,format:e.yAxis.format}}return{rangesFormat:f,ranges:u,yAxisWidth:h}}function ot(t,e,n,r,i){for(var o=[].concat(n.chartData.yAxisData.ranges),a=n.height-n.area[0]-n.area[2],s=n.area[0],c=[],l=0;l<o.length;l++){var u=o[l].shift(),f=o[l].pop(),h=u-(u-f)*(t-s)/a;h=n.yAxis.data[l].format?n.yAxis.data[l].format(Number(h)):h.toFixed(0),c.push(String(h))}return c}function at(t,e){for(var n,r,i=e.height-e.area[0]-e.area[2],o=0;o<t.length;o++){t[o].yAxisIndex=t[o].yAxisIndex?t[o].yAxisIndex:0;var a=[].concat(e.chartData.yAxisData.ranges[t[o].yAxisIndex]);n=a.pop(),r=a.shift();var s=i*(t[o].value-n)/(r-n);t[o].y=e.height-Math.round(s)-e.area[2]}return t}function st(t,e){!0!==e.rotateLock?(t.translate(e.height,0),t.rotate(90*Math.PI/180)):!0!==e._rotate_&&(t.translate(e.height,0),t.rotate(90*Math.PI/180),e._rotate_=!0)}function ct(t,e,n,r,i){r.beginPath(),"hollow"==i.dataPointShapeType?(r.setStrokeStyle(e),r.setFillStyle(i.background),r.setLineWidth(2*i.pixelRatio)):(r.setStrokeStyle("#ffffff"),r.setFillStyle(e),r.setLineWidth(1*i.pixelRatio)),"diamond"===n?t.forEach((function(t,e){null!==t&&(r.moveTo(t.x,t.y-4.5),r.lineTo(t.x-4.5,t.y),r.lineTo(t.x,t.y+4.5),r.lineTo(t.x+4.5,t.y),r.lineTo(t.x,t.y-4.5))})):"circle"===n?t.forEach((function(t,e){null!==t&&(r.moveTo(t.x+2.5*i.pixelRatio,t.y),r.arc(t.x,t.y,3*i.pixelRatio,0,2*Math.PI,!1))})):"rect"===n?t.forEach((function(t,e){null!==t&&(r.moveTo(t.x-3.5,t.y-3.5),r.rect(t.x-3.5,t.y-3.5,7,7))})):"triangle"===n&&t.forEach((function(t,e){null!==t&&(r.moveTo(t.x,t.y-4.5),r.lineTo(t.x-4.5,t.y+4.5),r.lineTo(t.x+4.5,t.y+4.5),r.lineTo(t.x,t.y-4.5))})),r.closePath(),r.fill(),r.stroke()}function lt(t,e,n,r){var i=t.title.fontSize||e.titleFontSize,o=t.subtitle.fontSize||e.subtitleFontSize,a=t.title.name||"",s=t.subtitle.name||"",c=t.title.color||e.titleColor,l=t.subtitle.color||e.subtitleColor,u=a?i:0,f=s?o:0,h=5;if(s){var d=v(s,o),p=r.x-d/2+(t.subtitle.offsetX||0),g=r.y+o/2+(t.subtitle.offsetY||0);a&&(g+=(u+h)/2),n.beginPath(),n.setFontSize(o),n.setFillStyle(l),n.fillText(s,p,g),n.closePath(),n.stroke()}if(a){var y=v(a,i),m=r.x-y/2+(t.title.offsetX||0),b=r.y+i/2+(t.title.offsetY||0);s&&(b-=(f+h)/2),n.beginPath(),n.setFontSize(i),n.setFillStyle(c),n.fillText(a,m,b),n.closePath(),n.stroke()}}function ut(t,e,n,r){var i=e.data;t.forEach((function(t,o){if(null!==t){r.beginPath(),r.setFontSize(e.textSize||n.fontSize),r.setFillStyle(e.textColor||"#666666");var a=i[o];"object"===typeof i[o]&&null!==i[o]&&(a=i[o].constructor==Array?i[o][1]:i[o].value);var s=e.format?e.format(a):a;r.fillText(String(s),t.x-v(s,e.textSize||n.fontSize)/2,t.y-4),r.closePath(),r.stroke()}}))}function ft(t,e,n,r,i,o){e-=t.width/2+i.gaugeLabelTextMargin;for(var a=t.startAngle-t.endAngle+1,s=a/t.splitLine.splitNumber,c=t.endNumber-t.startNumber,l=c/t.splitLine.splitNumber,u=t.startAngle,f=t.startNumber,h=0;h<t.splitLine.splitNumber+1;h++){var d={x:e*Math.cos(u*Math.PI),y:e*Math.sin(u*Math.PI)},p=t.labelFormat?t.labelFormat(f):f;d.x+=n.x-v(p)/2,d.y+=n.y;var g=d.x,y=d.y;o.beginPath(),o.setFontSize(i.fontSize),o.setFillStyle(t.labelColor||"#666666"),o.fillText(p,g,y+i.fontSize/2),o.closePath(),o.stroke(),u+=s,u>=2&&(u%=2),f+=l}}function ht(t,e,n,r,o,a){var s=r.extra.radar||{};e+=o.radarLabelTextMargin,t.forEach((function(t,c){var l={x:e*Math.cos(t),y:e*Math.sin(t)},u=h(l.x,l.y,n),f=u.x,d=u.y;i.approximatelyEqual(l.x,0)?f-=v(r.categories[c]||"")/2:l.x<0&&(f-=v(r.categories[c]||"")),a.beginPath(),a.setFontSize(o.fontSize),a.setFillStyle(s.labelColor||"#666666"),a.fillText(r.categories[c]||"",f,d+o.fontSize/2),a.closePath(),a.stroke()}))}function dt(t,e,n,r,o,a){for(var s=n.pieChartLinePadding,c=[],l=null,u=t.map((function(t){var e=t.format?t.format(+t._proportion_.toFixed(2)):i.toFixed(100*t._proportion_.toFixed(4))+"%";t._rose_proportion_&&(t._proportion_=t._rose_proportion_);var n=2*Math.PI-(t._start_+2*Math.PI*t._proportion_/2),r=t.color,o=t._radius_;return{arc:n,text:e,color:r,radius:o,textColor:t.textColor,textSize:t.textSize}})),f=0;f<u.length;f++){var p=u[f],g=Math.cos(p.arc)*(p.radius+s),y=Math.sin(p.arc)*(p.radius+s),m=Math.cos(p.arc)*p.radius,b=Math.sin(p.arc)*p.radius,x=g>=0?g+n.pieChartTextPadding:g-n.pieChartTextPadding,_=y,w=v(p.text,p.textSize||n.fontSize),A=_;l&&i.isSameXCoordinateArea(l.start,{x:x})&&(A=x>0?Math.min(_,l.start.y):g<0||_>0?Math.max(_,l.start.y):Math.min(_,l.start.y)),x<0&&(x-=w);var S={lineStart:{x:m,y:b},lineEnd:{x:g,y:y},start:{x:x,y:A},width:w,height:n.fontSize,text:p.text,color:p.color,textColor:p.textColor,textSize:p.textSize};l=d(S,l),c.push(l)}for(var T=0;T<c.length;T++){var k=c[T],P=h(k.lineStart.x,k.lineStart.y,a),O=h(k.lineEnd.x,k.lineEnd.y,a),C=h(k.start.x,k.start.y,a);r.setLineWidth(1*e.pixelRatio),r.setFontSize(n.fontSize),r.beginPath(),r.setStrokeStyle(k.color),r.setFillStyle(k.color),r.moveTo(P.x,P.y);var L=k.start.x<0?C.x+k.width:C.x,D=k.start.x<0?C.x-5:C.x+5;r.quadraticCurveTo(O.x,O.y,L,C.y),r.moveTo(P.x,P.y),r.stroke(),r.closePath(),r.beginPath(),r.moveTo(C.x+k.width,C.y),r.arc(L,C.y,2,0,2*Math.PI),r.closePath(),r.fill(),r.beginPath(),r.setFontSize(k.textSize||n.fontSize),r.setFillStyle(k.textColor||"#666666"),r.fillText(k.text,D,C.y+3),r.closePath(),r.stroke(),r.closePath()}}function pt(t,e,n,r){var i=e.extra.tooltip||{};i.gridType=void 0==i.gridType?"solid":i.gridType,i.dashLength=void 0==i.dashLength?4:i.dashLength;var a=e.area[0],s=e.height-e.area[2];if("dash"==i.gridType&&r.setLineDash([i.dashLength,i.dashLength]),r.setStrokeStyle(i.gridColor||"#cccccc"),r.setLineWidth(1*e.pixelRatio),r.beginPath(),r.moveTo(t,a),r.lineTo(t,s),r.stroke(),r.setLineDash([]),i.xAxisLabel){var c=e.categories[e.tooltip.index];r.setFontSize(n.fontSize);var l=v(c,n.fontSize),u=t-.5*l,f=s;r.beginPath(),r.setFillStyle(o(i.labelBgColor||n.toolTipBackground,i.labelBgOpacity||n.toolTipOpacity)),r.setStrokeStyle(i.labelBgColor||n.toolTipBackground),r.setLineWidth(1*e.pixelRatio),r.rect(u-n.toolTipPadding,f,l+2*n.toolTipPadding,n.fontSize+2*n.toolTipPadding),r.closePath(),r.stroke(),r.fill(),r.beginPath(),r.setFontSize(n.fontSize),r.setFillStyle(i.labelFontColor||n.fontColor),r.fillText(String(c),u,f+n.toolTipPadding+n.fontSize),r.closePath(),r.stroke()}}function gt(t,e,n){for(var i=r({},{type:"solid",dashLength:4,data:[]},t.extra.markLine),a=t.area[3],s=t.width-t.area[1],c=at(i.data,t),l=0;l<c.length;l++){var u=r({},{lineColor:"#DE4A42",showLabel:!1,labelFontColor:"#666666",labelBgColor:"#DFE8FF",labelBgOpacity:.8,yAxisIndex:0},c[l]);if("dash"==i.type&&n.setLineDash([i.dashLength,i.dashLength]),n.setStrokeStyle(u.lineColor),n.setLineWidth(1*t.pixelRatio),n.beginPath(),n.moveTo(a,u.y),n.lineTo(s,u.y),n.stroke(),n.setLineDash([]),u.showLabel){var f=t.yAxis.format?t.yAxis.format(Number(u.value)):u.value;n.setFontSize(e.fontSize);var h=v(f,e.fontSize),d=t.padding[3]+e.yAxisTitleWidth-e.toolTipPadding,p=Math.max(t.area[3],h+2*e.toolTipPadding),g=p-d,y=d+(g-h)/2,m=u.y;n.setFillStyle(o(u.labelBgColor,u.labelBgOpacity)),n.setStrokeStyle(u.labelBgColor),n.setLineWidth(1*t.pixelRatio),n.beginPath(),n.rect(d,m-.5*e.fontSize-e.toolTipPadding,g,e.fontSize+2*e.toolTipPadding),n.closePath(),n.stroke(),n.fill(),n.beginPath(),n.setFontSize(e.fontSize),n.setFillStyle(u.labelFontColor),n.fillText(String(f),y,m+.5*e.fontSize),n.stroke()}}}function vt(t,e,n,i,a){var s=r({},{gridType:"solid",dashLength:4},t.extra.tooltip),c=t.area[3],l=t.width-t.area[1];if("dash"==s.gridType&&n.setLineDash([s.dashLength,s.dashLength]),n.setStrokeStyle(s.gridColor||"#cccccc"),n.setLineWidth(1*t.pixelRatio),n.beginPath(),n.moveTo(c,t.tooltip.offset.y),n.lineTo(l,t.tooltip.offset.y),n.stroke(),n.setLineDash([]),s.yAxisLabel)for(var u=ot(t.tooltip.offset.y,t.series,t,e,i),f=t.chartData.yAxisData.yAxisWidth,h=t.area[3],d=t.width-t.area[1],p=0;p<u.length;p++){n.setFontSize(e.fontSize);var g=v(u[p],e.fontSize),y=void 0,m=void 0,b=void 0;"left"==f[p].position?(y=h-f[p].width,m=Math.max(y,y+g+2*e.toolTipPadding)):(y=d,m=Math.max(y+f[p].width,y+g+2*e.toolTipPadding)),b=m-y;var x=y+(b-g)/2,_=t.tooltip.offset.y;n.beginPath(),n.setFillStyle(o(s.labelBgColor||e.toolTipBackground,s.labelBgOpacity||e.toolTipOpacity)),n.setStrokeStyle(s.labelBgColor||e.toolTipBackground),n.setLineWidth(1*t.pixelRatio),n.rect(y,_-.5*e.fontSize-e.toolTipPadding,b,e.fontSize+2*e.toolTipPadding),n.closePath(),n.stroke(),n.fill(),n.beginPath(),n.setFontSize(e.fontSize),n.setFillStyle(s.labelFontColor||e.fontColor),n.fillText(u[p],x,_+.5*e.fontSize),n.closePath(),n.stroke(),"left"==f[p].position?h-=f[p].width+t.yAxis.padding:d+=f[p].width+t.yAxis.padding}}function yt(t,e,n,i,a){var s=r({},{activeBgColor:"#000000",activeBgOpacity:.08},e.extra.tooltip),c=e.area[0],l=e.height-e.area[2];i.beginPath(),i.setFillStyle(o(s.activeBgColor,s.activeBgOpacity)),i.rect(t-a/2,c,a,l-c),i.closePath(),i.fill()}function mt(t,e,n,i,a,s,c){var l=r({},{showBox:!0,bgColor:"#000000",bgOpacity:.7,fontColor:"#FFFFFF"},n.extra.tooltip),u=4*n.pixelRatio,f=5*n.pixelRatio,h=8*n.pixelRatio,d=!1;"line"!=n.type&&"area"!=n.type&&"candle"!=n.type&&"mix"!=n.type||pt(n.tooltip.offset.x,n,i,a),e=r({x:0,y:0},e),e.y-=8*n.pixelRatio;var p=t.map((function(t){return v(t.text,i.fontSize)})),g=u+f+4*i.toolTipPadding+Math.max.apply(null,p),y=2*i.toolTipPadding+t.length*i.toolTipLineHeight;0!=l.showBox&&(e.x-Math.abs(n._scrollDistance_)+h+g>n.width&&(d=!0),y+e.y>n.height&&(e.y=n.height-y),a.beginPath(),a.setFillStyle(o(l.bgColor||i.toolTipBackground,l.bgOpacity||i.toolTipOpacity)),d?(a.moveTo(e.x,e.y+10*n.pixelRatio),a.lineTo(e.x-h,e.y+10*n.pixelRatio-5*n.pixelRatio),a.lineTo(e.x-h,e.y),a.lineTo(e.x-h-Math.round(g),e.y),a.lineTo(e.x-h-Math.round(g),e.y+y),a.lineTo(e.x-h,e.y+y),a.lineTo(e.x-h,e.y+10*n.pixelRatio+5*n.pixelRatio),a.lineTo(e.x,e.y+10*n.pixelRatio)):(a.moveTo(e.x,e.y+10*n.pixelRatio),a.lineTo(e.x+h,e.y+10*n.pixelRatio-5*n.pixelRatio),a.lineTo(e.x+h,e.y),a.lineTo(e.x+h+Math.round(g),e.y),a.lineTo(e.x+h+Math.round(g),e.y+y),a.lineTo(e.x+h,e.y+y),a.lineTo(e.x+h,e.y+10*n.pixelRatio+5*n.pixelRatio),a.lineTo(e.x,e.y+10*n.pixelRatio)),a.closePath(),a.fill(),t.forEach((function(t,n){if(null!==t.color){a.beginPath(),a.setFillStyle(t.color);var r=e.x+h+2*i.toolTipPadding,o=e.y+(i.toolTipLineHeight-i.fontSize)/2+i.toolTipLineHeight*n+i.toolTipPadding+1;d&&(r=e.x-g-h+2*i.toolTipPadding),a.fillRect(r,o,u,i.fontSize),a.closePath()}})),t.forEach((function(t,n){var r=e.x+h+2*i.toolTipPadding+u+f;d&&(r=e.x-g-h+2*i.toolTipPadding+ +u+f);var o=e.y+(i.toolTipLineHeight-i.fontSize)/2+i.toolTipLineHeight*n+i.toolTipPadding;a.beginPath(),a.setFontSize(i.fontSize),a.setFillStyle(l.fontColor),a.fillText(t.text,r,o+i.fontSize),a.closePath(),a.stroke()})))}function bt(t,e,n,i){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,a=e.chartData.xAxisData,s=a.xAxisPoints,c=a.eachSpacing,l=r({},{type:"group",width:c/2,meter:{border:4,fillColor:"#FFFFFF"}},e.extra.column),u=[];i.save();var f=-2,h=s.length+2;return e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(i.translate(e._scrollDistance_,0),f=Math.floor(-e._scrollDistance_/c)-2,h=f+e.xAxis.itemCount+4),e.tooltip&&e.tooltip.textList&&e.tooltip.textList.length&&1===o&&yt(e.tooltip.offset.x,e,n,i,c),t.forEach((function(r,a){var d,p,g;d=[].concat(e.chartData.yAxisData.ranges[r.index]),p=d.pop(),g=d.shift();var v=r.data;switch(l.type){case"group":var y=et(v,p,g,s,c,e,n,o),m=nt(v,p,g,s,c,e,n,a,t,o);u.push(m),y=q(y,c,t.length,a,n,e);for(var b=0;b<y.length;b++){var x=y[b];if(null!==x&&b>f&&b<h){i.beginPath(),i.setStrokeStyle(x.color||r.color),i.setLineWidth(1),i.setFillStyle(x.color||r.color);var _=x.x-x.width/2,w=e.height-x.y-e.area[2];i.moveTo(_,x.y),i.lineTo(_+x.width-2,x.y),i.lineTo(_+x.width-2,e.height-e.area[2]),i.lineTo(_,e.height-e.area[2]),i.lineTo(_,x.y),i.closePath(),i.stroke(),i.fill()}}break;case"stack":y=nt(v,p,g,s,c,e,n,a,t,o);u.push(y),y=Z(y,c,t.length,a,n,e,t);for(var A=0;A<y.length;A++){var S=y[A];if(null!==S&&A>f&&A<h){i.beginPath(),i.setFillStyle(S.color||r.color);_=S.x-S.width/2+1,w=e.height-S.y-e.area[2];var T=e.height-S.y0-e.area[2];a>0&&(w-=T),i.moveTo(_,S.y),i.fillRect(_,S.y,S.width-2,w),i.closePath(),i.fill()}}break;case"meter":y=et(v,p,g,s,c,e,n,o);if(u.push(y),y=J(y,c,t.length,a,n,e,l.meter.border),0==a)for(var k=0;k<y.length;k++){var P=y[k];if(null!==P&&k>f&&k<h){i.beginPath(),i.setFillStyle(l.meter.fillColor);_=P.x-P.width/2,w=e.height-P.y-e.area[2];i.moveTo(_,P.y),i.fillRect(_,P.y,P.width,w),i.closePath(),i.fill(),l.meter.border>0&&(i.beginPath(),i.setStrokeStyle(r.color),i.setLineWidth(l.meter.border*e.pixelRatio),i.moveTo(_+.5*l.meter.border,P.y+w),i.lineTo(_+.5*l.meter.border,P.y+.5*l.meter.border),i.lineTo(_+P.width-.5*l.meter.border,P.y+.5*l.meter.border),i.lineTo(_+P.width-.5*l.meter.border,P.y+w),i.stroke())}}else for(var O=0;O<y.length;O++){var C=y[O];if(null!==C&&O>f&&O<h){i.beginPath(),i.setFillStyle(C.color||r.color);_=C.x-C.width/2,w=e.height-C.y-e.area[2];i.moveTo(_,C.y),i.fillRect(_,C.y,C.width,w),i.closePath(),i.fill()}}break}})),!1!==e.dataLabel&&1===o&&t.forEach((function(r,a){var u,f,h;u=[].concat(e.chartData.yAxisData.ranges[r.index]),f=u.pop(),h=u.shift();var d=r.data;switch(l.type){case"group":var p=et(d,f,h,s,c,e,n,o);p=q(p,c,t.length,a,n,e),ut(p,r,n,i);break;case"stack":p=nt(d,f,h,s,c,e,n,a,t,o);ut(p,r,n,i);break;case"meter":p=et(d,f,h,s,c,e,n,o);ut(p,r,n,i);break}})),i.restore(),{xAxisPoints:s,calPoints:u,eachSpacing:c}}function xt(t,e,n,i,o){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,s=r({},{color:{},average:{}},n.extra.candle);s.color=r({},{upLine:"#f04864",upFill:"#f04864",downLine:"#2fc25b",downFill:"#2fc25b"},s.color),s.average=r({},{show:!1,name:[],day:[],color:i.colors},s.average),n.extra.candle=s;var c=n.chartData.xAxisData,l=c.xAxisPoints,u=c.eachSpacing,h=[];o.save();var d=-2,p=l.length+2,g=0,v=n.width+u;return n._scrollDistance_&&0!==n._scrollDistance_&&!0===n.enableScroll&&(o.translate(n._scrollDistance_,0),d=Math.floor(-n._scrollDistance_/u)-2,p=d+n.xAxis.itemCount+4,g=-n._scrollDistance_-u+n.area[3],v=g+(n.xAxis.itemCount+4)*u),s.average.show&&e.forEach((function(t,e){var r,s,c;r=[].concat(n.chartData.yAxisData.ranges[t.index]),s=r.pop(),c=r.shift();for(var h=t.data,d=et(h,s,c,l,u,n,i,a),p=R(d),y=0;y<p.length;y++){var m=p[y];if(o.beginPath(),o.setStrokeStyle(t.color),o.setLineWidth(1),1===m.length)o.moveTo(m[0].x,m[0].y),o.arc(m[0].x,m[0].y,1,0,2*Math.PI);else{o.moveTo(m[0].x,m[0].y);for(var b=0,x=0;x<m.length;x++){var _=m[x];if(0==b&&_.x>g&&(o.moveTo(_.x,_.y),b=1),x>0&&_.x>g&&_.x<v){var w=f(m,x-1);o.bezierCurveTo(w.ctrA.x,w.ctrA.y,w.ctrB.x,w.ctrB.y,_.x,_.y)}}o.moveTo(m[0].x,m[0].y)}o.closePath(),o.stroke()}})),t.forEach((function(t,e){var r,c,f;r=[].concat(n.chartData.yAxisData.ranges[t.index]),c=r.pop(),f=r.shift();var g=t.data,v=tt(g,c,f,l,u,n,i,a);h.push(v);for(var y=R(v),m=0;m<y[0].length;m++)if(m>d&&m<p){var b=y[0][m];o.beginPath(),g[m][1]-g[m][0]>0?(o.setStrokeStyle(s.color.upLine),o.setFillStyle(s.color.upFill),o.setLineWidth(1*n.pixelRatio),o.moveTo(b[3].x,b[3].y),o.lineTo(b[1].x,b[1].y),o.lineTo(b[1].x-u/4,b[1].y),o.lineTo(b[0].x-u/4,b[0].y),o.lineTo(b[0].x,b[0].y),o.lineTo(b[2].x,b[2].y),o.lineTo(b[0].x,b[0].y),o.lineTo(b[0].x+u/4,b[0].y),o.lineTo(b[1].x+u/4,b[1].y),o.lineTo(b[1].x,b[1].y),o.moveTo(b[3].x,b[3].y)):(o.setStrokeStyle(s.color.downLine),o.setFillStyle(s.color.downFill),o.setLineWidth(1*n.pixelRatio),o.moveTo(b[3].x,b[3].y),o.lineTo(b[0].x,b[0].y),o.lineTo(b[0].x-u/4,b[0].y),o.lineTo(b[1].x-u/4,b[1].y),o.lineTo(b[1].x,b[1].y),o.lineTo(b[2].x,b[2].y),o.lineTo(b[1].x,b[1].y),o.lineTo(b[1].x+u/4,b[1].y),o.lineTo(b[0].x+u/4,b[0].y),o.lineTo(b[0].x,b[0].y),o.moveTo(b[3].x,b[3].y)),o.closePath(),o.fill(),o.stroke()}})),o.restore(),{xAxisPoints:l,calPoints:h,eachSpacing:u}}function _t(t,e,n,i){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,s=r({},{type:"straight",opacity:.2,addLine:!1,width:2,gradient:!1},e.extra.area),c=e.chartData.xAxisData,l=c.xAxisPoints,u=c.eachSpacing,h=e.height-e.area[2],d=[];i.save();var p=0,g=e.width+u;return e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(i.translate(e._scrollDistance_,0),p=-e._scrollDistance_-u+e.area[3],g=p+(e.xAxis.itemCount+4)*u),t.forEach((function(t,r){var c,v,y;c=[].concat(e.chartData.yAxisData.ranges[t.index]),v=c.pop(),y=c.shift();var m=t.data,b=et(m,v,y,l,u,e,n,a);d.push(b);for(var x=R(b),_=0;_<x.length;_++){var w=x[_];if(i.beginPath(),i.setStrokeStyle(o(t.color,s.opacity)),s.gradient){var A=i.createLinearGradient(0,e.area[0],0,e.height-e.area[2]);A.addColorStop("0",o(t.color,s.opacity)),A.addColorStop("1.0",o("#FFFFFF",.1)),i.setFillStyle(A)}else i.setFillStyle(o(t.color,s.opacity));if(i.setLineWidth(s.width*e.pixelRatio),w.length>1){var S=w[0],T=w[w.length-1];i.moveTo(S.x,S.y);var k=0;if("curve"===s.type)for(var P=0;P<w.length;P++){var O=w[P];if(0==k&&O.x>p&&(i.moveTo(O.x,O.y),k=1),P>0&&O.x>p&&O.x<g){var C=f(w,P-1);i.bezierCurveTo(C.ctrA.x,C.ctrA.y,C.ctrB.x,C.ctrB.y,O.x,O.y)}}else for(var L=0;L<w.length;L++){var D=w[L];0==k&&D.x>p&&(i.moveTo(D.x,D.y),k=1),L>0&&D.x>p&&D.x<g&&i.lineTo(D.x,D.y)}i.lineTo(T.x,h),i.lineTo(S.x,h),i.lineTo(S.x,S.y)}else{var M=w[0];i.moveTo(M.x-u/2,M.y),i.lineTo(M.x+u/2,M.y),i.lineTo(M.x+u/2,h),i.lineTo(M.x-u/2,h),i.moveTo(M.x-u/2,M.y)}if(i.closePath(),i.fill(),s.addLine){if("dash"==t.lineType){var E=t.dashLength?t.dashLength:8;E*=e.pixelRatio,i.setLineDash([E,E])}if(i.beginPath(),i.setStrokeStyle(t.color),i.setLineWidth(s.width*e.pixelRatio),1===w.length)i.moveTo(w[0].x,w[0].y),i.arc(w[0].x,w[0].y,1,0,2*Math.PI);else{i.moveTo(w[0].x,w[0].y);var I=0;if("curve"===s.type)for(var $=0;$<w.length;$++){var F=w[$];if(0==I&&F.x>p&&(i.moveTo(F.x,F.y),I=1),$>0&&F.x>p&&F.x<g){var j=f(w,$-1);i.bezierCurveTo(j.ctrA.x,j.ctrA.y,j.ctrB.x,j.ctrB.y,F.x,F.y)}}else for(var N=0;N<w.length;N++){var z=w[N];0==I&&z.x>p&&(i.moveTo(z.x,z.y),I=1),N>0&&z.x>p&&z.x<g&&i.lineTo(z.x,z.y)}i.moveTo(w[0].x,w[0].y)}i.stroke(),i.setLineDash([])}}!1!==e.dataPointShape&&ct(b,t.color,t.pointShape,i,e)})),!1!==e.dataLabel&&1===a&&t.forEach((function(t,r){var o,s,c;o=[].concat(e.chartData.yAxisData.ranges[t.index]),s=o.pop(),c=o.shift();var f=t.data,h=et(f,s,c,l,u,e,n,a);ut(h,t,n,i)})),i.restore(),{xAxisPoints:l,calPoints:d,eachSpacing:u}}function wt(t,e,n,i){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,a=r({},{type:"straight",width:2},e.extra.line);a.width*=e.pixelRatio;var s=e.chartData.xAxisData,c=s.xAxisPoints,l=s.eachSpacing,u=[];i.save();var h=0,d=e.width+l;return e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(i.translate(e._scrollDistance_,0),h=-e._scrollDistance_-l+e.area[3],d=h+(e.xAxis.itemCount+4)*l),t.forEach((function(t,r){var s,p,g;s=[].concat(e.chartData.yAxisData.ranges[t.index]),p=s.pop(),g=s.shift();var v=t.data,y=et(v,p,g,c,l,e,n,o);u.push(y);var m=R(y);if("dash"==t.lineType){var b=t.dashLength?t.dashLength:8;b*=e.pixelRatio,i.setLineDash([b,b])}i.beginPath(),i.setStrokeStyle(t.color),i.setLineWidth(a.width),m.forEach((function(t,e){if(1===t.length)i.moveTo(t[0].x,t[0].y),i.arc(t[0].x,t[0].y,1,0,2*Math.PI);else{i.moveTo(t[0].x,t[0].y);var n=0;if("curve"===a.type)for(var r=0;r<t.length;r++){var o=t[r];if(0==n&&o.x>h&&(i.moveTo(o.x,o.y),n=1),r>0&&o.x>h&&o.x<d){var s=f(t,r-1);i.bezierCurveTo(s.ctrA.x,s.ctrA.y,s.ctrB.x,s.ctrB.y,o.x,o.y)}}else for(var c=0;c<t.length;c++){var l=t[c];0==n&&l.x>h&&(i.moveTo(l.x,l.y),n=1),c>0&&l.x>h&&l.x<d&&i.lineTo(l.x,l.y)}i.moveTo(t[0].x,t[0].y)}})),i.stroke(),i.setLineDash([]),!1!==e.dataPointShape&&ct(y,t.color,t.pointShape,i,e)})),!1!==e.dataLabel&&1===o&&t.forEach((function(t,r){var a,s,u;a=[].concat(e.chartData.yAxisData.ranges[t.index]),s=a.pop(),u=a.shift();var f=t.data,h=et(f,s,u,c,l,e,n,o);ut(h,t,n,i)})),i.restore(),{xAxisPoints:c,calPoints:u,eachSpacing:l}}function At(t,e,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,a=e.chartData.xAxisData,s=a.xAxisPoints,c=a.eachSpacing,l=e.height-e.area[2],u=[],h=0,d=0;t.forEach((function(t,e){"column"==t.type&&(d+=1)})),r.save();var p=-2,g=s.length+2,v=0,y=e.width+c;if(e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(r.translate(e._scrollDistance_,0),p=Math.floor(-e._scrollDistance_/c)-2,g=p+e.xAxis.itemCount+4,v=-e._scrollDistance_-c+e.area[3],y=v+(e.xAxis.itemCount+4)*c),t.forEach((function(t,a){var m,b,x;m=[].concat(e.chartData.yAxisData.ranges[t.index]),b=m.pop(),x=m.shift();var _=t.data,w=et(_,b,x,s,c,e,n,i);if(u.push(w),"column"==t.type){w=q(w,c,d,h,n,e);for(var A=0;A<w.length;A++){var S=w[A];if(null!==S&&A>p&&A<g){r.beginPath(),r.setStrokeStyle(S.color||t.color),r.setLineWidth(1),r.setFillStyle(S.color||t.color);var T=S.x-S.width/2;e.height,S.y,e.area[2];r.moveTo(T,S.y),r.moveTo(T,S.y),r.lineTo(T+S.width-2,S.y),r.lineTo(T+S.width-2,e.height-e.area[2]),r.lineTo(T,e.height-e.area[2]),r.lineTo(T,S.y),r.closePath(),r.stroke(),r.fill(),r.closePath(),r.fill()}}h+=1}if("area"==t.type)for(var k=R(w),P=0;P<k.length;P++){var O=k[P];if(r.beginPath(),r.setStrokeStyle(t.color),r.setFillStyle(o(t.color,.2)),r.setLineWidth(2*e.pixelRatio),O.length>1){var C=O[0],L=O[O.length-1];r.moveTo(C.x,C.y);var D=0;if("curve"===t.style)for(var M=0;M<O.length;M++){var E=O[M];if(0==D&&E.x>v&&(r.moveTo(E.x,E.y),D=1),M>0&&E.x>v&&E.x<y){var I=f(O,M-1);r.bezierCurveTo(I.ctrA.x,I.ctrA.y,I.ctrB.x,I.ctrB.y,E.x,E.y)}}else for(var $=0;$<O.length;$++){var F=O[$];0==D&&F.x>v&&(r.moveTo(F.x,F.y),D=1),$>0&&F.x>v&&F.x<y&&r.lineTo(F.x,F.y)}r.lineTo(L.x,l),r.lineTo(C.x,l),r.lineTo(C.x,C.y)}else{var j=O[0];r.moveTo(j.x-c/2,j.y),r.lineTo(j.x+c/2,j.y),r.lineTo(j.x+c/2,l),r.lineTo(j.x-c/2,l),r.moveTo(j.x-c/2,j.y)}r.closePath(),r.fill()}if("line"==t.type){var N=R(w);N.forEach((function(n,i){if("dash"==t.lineType){var o=t.dashLength?t.dashLength:8;o*=e.pixelRatio,r.setLineDash([o,o])}if(r.beginPath(),r.setStrokeStyle(t.color),r.setLineWidth(2*e.pixelRatio),1===n.length)r.moveTo(n[0].x,n[0].y),r.arc(n[0].x,n[0].y,1,0,2*Math.PI);else{r.moveTo(n[0].x,n[0].y);var a=0;if("curve"==t.style)for(var s=0;s<n.length;s++){var c=n[s];if(0==a&&c.x>v&&(r.moveTo(c.x,c.y),a=1),s>0&&c.x>v&&c.x<y){var l=f(n,s-1);r.bezierCurveTo(l.ctrA.x,l.ctrA.y,l.ctrB.x,l.ctrB.y,c.x,c.y)}}else for(var u=0;u<n.length;u++){var h=n[u];0==a&&h.x>v&&(r.moveTo(h.x,h.y),a=1),u>0&&h.x>v&&h.x<y&&r.lineTo(h.x,h.y)}r.moveTo(n[0].x,n[0].y)}r.stroke(),r.setLineDash([])}))}"point"==t.type&&(t.addPoint=!0),1==t.addPoint&&"column"!==t.type&&ct(w,t.color,t.pointShape,r,e)})),!1!==e.dataLabel&&1===i){h=0;t.forEach((function(t,o){var a,l,u;a=[].concat(e.chartData.yAxisData.ranges[t.index]),l=a.pop(),u=a.shift();var f=t.data,p=et(f,l,u,s,c,e,n,i);"column"!==t.type?ut(p,t,n,r):(p=q(p,c,d,h,n,e),ut(p,t,n,r),h+=1)}))}return r.restore(),{xAxisPoints:s,calPoints:u,eachSpacing:c}}function St(t,e,n,r,i,o){var a=t.extra.tooltip||{};a.horizentalLine&&t.tooltip&&1===r&&("line"==t.type||"area"==t.type||"column"==t.type||"candle"==t.type||"mix"==t.type)&&vt(t,e,n,i,o),n.save(),t._scrollDistance_&&0!==t._scrollDistance_&&!0===t.enableScroll&&n.translate(t._scrollDistance_,0),t.tooltip&&t.tooltip.textList&&t.tooltip.textList.length&&1===r&&mt(t.tooltip.textList,t.tooltip.offset,t,e,n,i,o),n.restore()}function Tt(t,e,n,r){var i=e.chartData.xAxisData,o=i.xAxisPoints,a=i.startX,s=i.endX,c=i.eachSpacing,l="center";"line"!=e.type&&"area"!=e.type||(l=e.xAxis.boundaryGap);var f=e.height-e.area[2],h=e.area[0];if(e.enableScroll&&e.xAxis.scrollShow){var d=e.height-e.area[2]+n.xAxisHeight,p=s-a,g=c*(o.length-1),y=p*p/g,m=0;e._scrollDistance_&&(m=-e._scrollDistance_*p/g),r.beginPath(),r.setLineCap("round"),r.setLineWidth(6*e.pixelRatio),r.setStrokeStyle(e.xAxis.scrollBackgroundColor||"#EFEBEF"),r.moveTo(a,d),r.lineTo(s,d),r.stroke(),r.closePath(),r.beginPath(),r.setLineCap("round"),r.setLineWidth(6*e.pixelRatio),r.setStrokeStyle(e.xAxis.scrollColor||"#A6A6A6"),r.moveTo(a+m,d),r.lineTo(a+m+y,d),r.stroke(),r.closePath(),r.setLineCap("butt")}if(r.save(),e._scrollDistance_&&0!==e._scrollDistance_&&r.translate(e._scrollDistance_,0),!0===e.xAxis.calibration&&(r.setStrokeStyle(e.xAxis.gridColor||"#cccccc"),r.setLineCap("butt"),r.setLineWidth(1*e.pixelRatio),o.forEach((function(t,n){n>0&&(r.beginPath(),r.moveTo(t-c/2,f),r.lineTo(t-c/2,f+3*e.pixelRatio),r.closePath(),r.stroke())}))),!0!==e.xAxis.disableGrid&&(r.setStrokeStyle(e.xAxis.gridColor||"#cccccc"),r.setLineCap("butt"),r.setLineWidth(1*e.pixelRatio),"dash"==e.xAxis.gridType&&r.setLineDash([e.xAxis.dashLength,e.xAxis.dashLength]),e.xAxis.gridEval=e.xAxis.gridEval||1,o.forEach((function(t,n){n%e.xAxis.gridEval==0&&(r.beginPath(),r.moveTo(t,f),r.lineTo(t,h),r.stroke())})),r.setLineDash([])),!0!==e.xAxis.disabled){var b=t.length;e.xAxis.labelCount&&(b=e.xAxis.itemCount?Math.ceil(t.length/e.xAxis.itemCount*e.xAxis.labelCount):e.xAxis.labelCount,b-=1);for(var x=Math.ceil(t.length/b),_=[],w=t.length,A=0;A<w;A++)A%x!==0?_.push(""):_.push(t[A]);_[w-1]=t[w-1];var S=e.xAxis.fontSize||n.fontSize;0===n._xAxisTextAngle_?_.forEach((function(t,i){var a=-v(String(t),S)/2;"center"==l&&(a+=c/2);var s=0;e.xAxis.scrollShow&&(s=6*e.pixelRatio),r.beginPath(),r.setFontSize(S),r.setFillStyle(e.xAxis.fontColor||"#666666"),r.fillText(String(t),o[i]+a,f+S+(n.xAxisHeight-s-S)/2),r.closePath(),r.stroke()})):_.forEach((function(t,i){r.save(),r.beginPath(),r.setFontSize(S),r.setFillStyle(e.xAxis.fontColor||"#666666");var a=v(String(t),S),s=-a;"center"==l&&(s+=c/2);var h=u(o[i]+c/2,f+S/2+5,e.height),d=h.transX,p=h.transY;r.rotate(-1*n._xAxisTextAngle_),r.translate(d,p),r.fillText(String(t),o[i]+s,f+S+5),r.closePath(),r.stroke(),r.restore()}))}r.restore(),e.xAxis.axisLine&&(r.beginPath(),r.setStrokeStyle(e.xAxis.axisLineColor),r.setLineWidth(1*e.pixelRatio),r.moveTo(a,e.height-e.area[2]),r.lineTo(s,e.height-e.area[2]),r.stroke())}function kt(t,e,n,r){if(!0!==e.yAxis.disableGrid){for(var i=e.height-e.area[0]-e.area[2],o=i/e.yAxis.splitNumber,a=e.area[3],s=e.chartData.xAxisData.xAxisPoints,c=e.chartData.xAxisData.eachSpacing,l=c*(s.length-1),u=a+l,f=[],h=0;h<e.yAxis.splitNumber+1;h++)f.push(e.height-e.area[2]-o*h);r.save(),e._scrollDistance_&&0!==e._scrollDistance_&&r.translate(e._scrollDistance_,0),"dash"==e.yAxis.gridType&&r.setLineDash([e.yAxis.dashLength,e.yAxis.dashLength]),r.setStrokeStyle(e.yAxis.gridColor),r.setLineWidth(1*e.pixelRatio),f.forEach((function(t,e){r.beginPath(),r.moveTo(a,t),r.lineTo(u,t),r.stroke()})),r.setLineDash([]),r.restore()}}function Pt(t,e,n,r){if(!0!==e.yAxis.disabled){var i=e.height-e.area[0]-e.area[2],o=i/e.yAxis.splitNumber,a=e.area[3],s=e.width-e.area[1],c=e.height-e.area[2],l=c+n.xAxisHeight;e.xAxis.scrollShow&&(l-=3*e.pixelRatio),e.xAxis.rotateLabel&&(l=e.height-e.area[2]+3),r.beginPath(),r.setFillStyle(e.background||"#ffffff"),e._scrollDistance_<0&&r.fillRect(0,0,a,l),1==e.enableScroll&&r.fillRect(s,0,e.width,l),r.closePath(),r.stroke();for(var u=[],f=0;f<=e.yAxis.splitNumber;f++)u.push(e.area[0]+o*f);for(var h=e.area[3],d=e.width-e.area[1],p=function(t){var i=e.yAxis.data[t];if(!0!==i.disabled){var o=e.chartData.yAxisData.rangesFormat[t],a=i.fontSize||n.fontSize,s=e.chartData.yAxisData.yAxisWidth[t];if(o.forEach((function(t,n){var o=u[n]?u[n]:c;r.beginPath(),r.setFontSize(a),r.setLineWidth(1*e.pixelRatio),r.setStrokeStyle(i.axisLineColor||"#cccccc"),r.setFillStyle(i.fontColor||"#666666"),"left"==s.position?(r.fillText(String(t),h-s.width,o+a/2),1==i.calibration&&(r.moveTo(h,o),r.lineTo(h-3*e.pixelRatio,o))):(r.fillText(String(t),d+4*e.pixelRatio,o+a/2),1==i.calibration&&(r.moveTo(d,o),r.lineTo(d+3*e.pixelRatio,o))),r.closePath(),r.stroke()})),!1!==i.axisLine&&(r.beginPath(),r.setStrokeStyle(i.axisLineColor||"#cccccc"),r.setLineWidth(1*e.pixelRatio),"left"==s.position?(r.moveTo(h,e.height-e.area[2]),r.lineTo(h,e.area[0])):(r.moveTo(d,e.height-e.area[2]),r.lineTo(d,e.area[0])),r.stroke()),e.yAxis.showTitle){var l=i.titleFontSize||n.fontSize,f=i.title;r.beginPath(),r.setFontSize(l),r.setFillStyle(i.titleFontColor||"#666666"),"left"==s.position?r.fillText(f,h-v(f,l)/2,e.area[0]-10*e.pixelRatio):r.fillText(f,d-v(f,l)/2,e.area[0]-10*e.pixelRatio),r.closePath(),r.stroke()}"left"==s.position?h-=s.width+e.yAxis.padding:d+=s.width+e.yAxis.padding}},g=0;g<e.yAxis.data.length;g++)p(g)}}function Ot(t,e,n,r,i){if(!1!==e.legend.show){var o=i.legendData,a=o.points,s=o.area,c=e.legend.padding,l=e.legend.fontSize,u=15*e.pixelRatio,f=5*e.pixelRatio,h=e.legend.itemGap,d=Math.max(e.legend.lineHeight*e.pixelRatio,l);r.beginPath(),r.setLineWidth(e.legend.borderWidth),r.setStrokeStyle(e.legend.borderColor),r.setFillStyle(e.legend.backgroundColor),r.moveTo(s.start.x,s.start.y),r.rect(s.start.x,s.start.y,s.width,s.height),r.closePath(),r.fill(),r.stroke(),a.forEach((function(t,i){var a=0,p=0;a=o.widthArr[i],p=o.heightArr[i];var g=0,y=0;"top"==e.legend.position||"bottom"==e.legend.position?(g=s.start.x+(s.width-a)/2,y=s.start.y+c+i*d):(a=0==i?0:o.widthArr[i-1],g=s.start.x+c+a,y=s.start.y+c+(s.height-p)/2),r.setFontSize(n.fontSize);for(var m=0;m<t.length;m++){var b=t[m];switch(b.area=[0,0,0,0],b.area[0]=g,b.area[1]=y,b.area[3]=y+d,r.beginPath(),r.setLineWidth(1*e.pixelRatio),r.setStrokeStyle(b.show?b.color:e.legend.hiddenColor),r.setFillStyle(b.show?b.color:e.legend.hiddenColor),b.legendShape){case"line":r.moveTo(g,y+.5*d-2*e.pixelRatio),r.fillRect(g,y+.5*d-2*e.pixelRatio,15*e.pixelRatio,4*e.pixelRatio);break;case"triangle":r.moveTo(g+7.5*e.pixelRatio,y+.5*d-5*e.pixelRatio),r.lineTo(g+2.5*e.pixelRatio,y+.5*d+5*e.pixelRatio),r.lineTo(g+12.5*e.pixelRatio,y+.5*d+5*e.pixelRatio),r.lineTo(g+7.5*e.pixelRatio,y+.5*d-5*e.pixelRatio);break;case"diamond":r.moveTo(g+7.5*e.pixelRatio,y+.5*d-5*e.pixelRatio),r.lineTo(g+2.5*e.pixelRatio,y+.5*d),r.lineTo(g+7.5*e.pixelRatio,y+.5*d+5*e.pixelRatio),r.lineTo(g+12.5*e.pixelRatio,y+.5*d),r.lineTo(g+7.5*e.pixelRatio,y+.5*d-5*e.pixelRatio);break;case"circle":r.moveTo(g+7.5*e.pixelRatio,y+.5*d),r.arc(g+7.5*e.pixelRatio,y+.5*d,5*e.pixelRatio,0,2*Math.PI);break;case"rect":r.moveTo(g,y+.5*d-5*e.pixelRatio),r.fillRect(g,y+.5*d-5*e.pixelRatio,15*e.pixelRatio,10*e.pixelRatio);break;default:r.moveTo(g,y+.5*d-5*e.pixelRatio),r.fillRect(g,y+.5*d-5*e.pixelRatio,15*e.pixelRatio,10*e.pixelRatio)}r.closePath(),r.fill(),r.stroke(),g+=u+f;var x=.5*d+.5*l-2;r.beginPath(),r.setFontSize(l),r.setFillStyle(b.show?e.legend.fontColor:e.legend.hiddenColor),r.fillText(b.name,g,y+x),r.closePath(),r.stroke(),"top"==e.legend.position||"bottom"==e.legend.position?(g+=v(b.name,l)+h,b.area[2]=g):(b.area[2]=g+v(b.name,l)+h,g-=u+f,y+=d)}}))}}function Ct(t,e,n,i){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,s=r({},{activeOpacity:.5,activeRadius:10*e.pixelRatio,offsetAngle:0,labelWidth:15*e.pixelRatio,ringWidth:0,border:!1,borderWidth:2,borderColor:"#FFFFFF"},e.extra.pie),c={x:e.area[3]+(e.width-e.area[1]-e.area[3])/2,y:e.area[0]+(e.height-e.area[0]-e.area[2])/2};0==n.pieChartLinePadding&&(n.pieChartLinePadding=s.activeRadius);var l=Math.min((e.width-e.area[1]-e.area[3])/2-n.pieChartLinePadding-n.pieChartTextPadding-n._pieTextMaxLength_,(e.height-e.area[0]-e.area[2])/2-n.pieChartLinePadding-n.pieChartTextPadding);t=B(t,l,a);var u=s.activeRadius;if(t=t.map((function(t){return t._start_+=s.offsetAngle*Math.PI/180,t})),t.forEach((function(t,n){e.tooltip&&e.tooltip.index==n&&(i.beginPath(),i.setFillStyle(o(t.color,e.extra.pie.activeOpacity||.5)),i.moveTo(c.x,c.y),i.arc(c.x,c.y,t._radius_+u,t._start_,t._start_+2*t._proportion_*Math.PI),i.closePath(),i.fill()),i.beginPath(),i.setLineWidth(s.borderWidth*e.pixelRatio),i.lineJoin="round",i.setStrokeStyle(s.borderColor),i.setFillStyle(t.color),i.moveTo(c.x,c.y),i.arc(c.x,c.y,t._radius_,t._start_,t._start_+2*t._proportion_*Math.PI),i.closePath(),i.fill(),1==s.border&&i.stroke()})),"ring"===e.type){var f=.6*l;"number"===typeof e.extra.pie.ringWidth&&e.extra.pie.ringWidth>0&&(f=Math.max(0,l-e.extra.pie.ringWidth)),i.beginPath(),i.setFillStyle(e.background||"#ffffff"),i.moveTo(c.x,c.y),i.arc(c.x,c.y,f,0,2*Math.PI),i.closePath(),i.fill()}if(!1!==e.dataLabel&&1===a){for(var h=!1,d=0,p=t.length;d<p;d++)if(t[d].data>0){h=!0;break}h&&dt(t,e,n,i,l,c)}return 1===a&&"ring"===e.type&&lt(e,n,i,c),{center:c,radius:l,series:t}}function Lt(t,e,n,i){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,s=r({},{type:"area",activeOpacity:.5,activeRadius:10*e.pixelRatio,offsetAngle:0,labelWidth:15*e.pixelRatio,border:!1,borderWidth:2,borderColor:"#FFFFFF"},e.extra.rose);0==n.pieChartLinePadding&&(n.pieChartLinePadding=s.activeRadius);var c={x:e.area[3]+(e.width-e.area[1]-e.area[3])/2,y:e.area[0]+(e.height-e.area[0]-e.area[2])/2},l=Math.min((e.width-e.area[1]-e.area[3])/2-n.pieChartLinePadding-n.pieChartTextPadding-n._pieTextMaxLength_,(e.height-e.area[0]-e.area[2])/2-n.pieChartLinePadding-n.pieChartTextPadding),u=s.minRadius||.5*l;t=G(t,s.type,u,l,a);var f=s.activeRadius;if(t=t.map((function(t){return t._start_+=(s.offsetAngle||0)*Math.PI/180,t})),t.forEach((function(t,n){e.tooltip&&e.tooltip.index==n&&(i.beginPath(),i.setFillStyle(o(t.color,s.activeOpacity||.5)),i.moveTo(c.x,c.y),i.arc(c.x,c.y,f+t._radius_,t._start_,t._start_+2*t._rose_proportion_*Math.PI),i.closePath(),i.fill()),i.beginPath(),i.setLineWidth(s.borderWidth*e.pixelRatio),i.lineJoin="round",i.setStrokeStyle(s.borderColor),i.setFillStyle(t.color),i.moveTo(c.x,c.y),i.arc(c.x,c.y,t._radius_,t._start_,t._start_+2*t._rose_proportion_*Math.PI),i.closePath(),i.fill(),1==s.border&&i.stroke()})),!1!==e.dataLabel&&1===a){for(var h=!1,d=0,p=t.length;d<p;d++)if(t[d].data>0){h=!0;break}h&&dt(t,e,n,i,l,c)}return{center:c,radius:l,series:t}}function Dt(t,e,n,i){var o,a,s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,c=r({},{startAngle:.75,endAngle:.25,type:"default",width:12*e.pixelRatio,gap:2*e.pixelRatio},e.extra.arcbar);t=V(t,c,s),o=c.center?c.center:{x:e.width/2,y:e.height/2},c.radius?a=c.radius:(a=Math.min(o.x,o.y),a-=5*e.pixelRatio,a-=c.width/2);for(var l=0;l<t.length;l++){var u=t[l];i.setLineWidth(c.width),i.setStrokeStyle(c.backgroundColor||"#E9E9E9"),i.setLineCap("round"),i.beginPath(),"default"==c.type?i.arc(o.x,o.y,a-(c.width+c.gap)*l,c.startAngle*Math.PI,c.endAngle*Math.PI,!1):i.arc(o.x,o.y,a-(c.width+c.gap)*l,0,2*Math.PI,!1),i.stroke(),i.setLineWidth(c.width),i.setStrokeStyle(u.color),i.setLineCap("round"),i.beginPath(),i.arc(o.x,o.y,a-(c.width+c.gap)*l,c.startAngle*Math.PI,u._proportion_*Math.PI,!1),i.stroke()}return lt(e,n,i,o),{center:o,radius:a,series:t}}function Mt(t,e,n,i,a){var s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,c=r({},{type:"default",startAngle:.75,endAngle:.25,width:15,splitLine:{fixRadius:0,splitNumber:10,width:15,color:"#FFFFFF",childNumber:5,childWidth:5},pointer:{width:15,color:"auto"}},n.extra.gauge);void 0==c.oldAngle&&(c.oldAngle=c.startAngle),void 0==c.oldData&&(c.oldData=0),t=X(t,c.startAngle,c.endAngle);var l={x:n.width/2,y:n.height/2},u=Math.min(l.x,l.y);u-=5*n.pixelRatio,u-=c.width/2;var f=u-c.width,h=0;if("progress"==c.type){var d=u-3*c.width;a.beginPath();var p=a.createLinearGradient(l.x,l.y-d,l.x,l.y+d);p.addColorStop("0",o(e[0].color,.3)),p.addColorStop("1.0",o("#FFFFFF",.1)),a.setFillStyle(p),a.arc(l.x,l.y,d,0,2*Math.PI,!1),a.fill(),a.setLineWidth(c.width),a.setStrokeStyle(o(e[0].color,.3)),a.setLineCap("round"),a.beginPath(),a.arc(l.x,l.y,f,c.startAngle*Math.PI,c.endAngle*Math.PI,!1),a.stroke(),h=c.startAngle-c.endAngle+1;c.splitLine.splitNumber;var g=h/c.splitLine.splitNumber/c.splitLine.childNumber,v=-u-.5*c.width-c.splitLine.fixRadius,y=-u-c.width-c.splitLine.fixRadius+c.splitLine.width;a.save(),a.translate(l.x,l.y),a.rotate((c.startAngle-1)*Math.PI);for(var m=c.splitLine.splitNumber*c.splitLine.childNumber+1,b=e[0].data*s,x=0;x<m;x++)a.beginPath(),b>x/m?a.setStrokeStyle(o(e[0].color,1)):a.setStrokeStyle(o(e[0].color,.3)),a.setLineWidth(3*n.pixelRatio),a.moveTo(v,0),a.lineTo(y,0),a.stroke(),a.rotate(g*Math.PI);a.restore(),e=V(e,c,s),a.setLineWidth(c.width),a.setStrokeStyle(e[0].color),a.setLineCap("round"),a.beginPath(),a.arc(l.x,l.y,f,c.startAngle*Math.PI,e[0]._proportion_*Math.PI,!1),a.stroke();var _=u-2.5*c.width;a.save(),a.translate(l.x,l.y),a.rotate((e[0]._proportion_-1)*Math.PI),a.beginPath(),a.setLineWidth(c.width/3);var w=a.createLinearGradient(0,.6*-_,0,.6*_);w.addColorStop("0",o("#FFFFFF",0)),w.addColorStop("0.5",o(e[0].color,1)),w.addColorStop("1.0",o("#FFFFFF",0)),a.setStrokeStyle(w),a.arc(0,0,_,.85*Math.PI,1.15*Math.PI,!1),a.stroke(),a.beginPath(),a.setLineWidth(1),a.setStrokeStyle(e[0].color),a.setFillStyle(e[0].color),a.moveTo(-_-c.width/3/2,-4),a.lineTo(-_-c.width/3/2-4,0),a.lineTo(-_-c.width/3/2,4),a.lineTo(-_-c.width/3/2,-4),a.stroke(),a.fill(),a.restore()}else{a.setLineWidth(c.width),a.setLineCap("butt");for(var A=0;A<t.length;A++){var S=t[A];a.beginPath(),a.setStrokeStyle(S.color),a.arc(l.x,l.y,u,S._startAngle_*Math.PI,S._endAngle_*Math.PI,!1),a.stroke()}a.save(),h=c.startAngle-c.endAngle+1;var T=h/c.splitLine.splitNumber,k=h/c.splitLine.splitNumber/c.splitLine.childNumber,P=-u-.5*c.width-c.splitLine.fixRadius,O=-u-.5*c.width-c.splitLine.fixRadius+c.splitLine.width,C=-u-.5*c.width-c.splitLine.fixRadius+c.splitLine.childWidth;a.translate(l.x,l.y),a.rotate((c.startAngle-1)*Math.PI);for(var L=0;L<c.splitLine.splitNumber+1;L++)a.beginPath(),a.setStrokeStyle(c.splitLine.color),a.setLineWidth(2*n.pixelRatio),a.moveTo(P,0),a.lineTo(O,0),a.stroke(),a.rotate(T*Math.PI);a.restore(),a.save(),a.translate(l.x,l.y),a.rotate((c.startAngle-1)*Math.PI);for(var D=0;D<c.splitLine.splitNumber*c.splitLine.childNumber+1;D++)a.beginPath(),a.setStrokeStyle(c.splitLine.color),a.setLineWidth(1*n.pixelRatio),a.moveTo(P,0),a.lineTo(C,0),a.stroke(),a.rotate(k*Math.PI);a.restore(),e=K(e,t,c,s);for(var M=0;M<e.length;M++){var E=e[M];a.save(),a.translate(l.x,l.y),a.rotate((E._proportion_-1)*Math.PI),a.beginPath(),a.setFillStyle(E.color),a.moveTo(c.pointer.width,0),a.lineTo(0,-c.pointer.width/2),a.lineTo(-f,0),a.lineTo(0,c.pointer.width/2),a.lineTo(c.pointer.width,0),a.closePath(),a.fill(),a.beginPath(),a.setFillStyle("#FFFFFF"),a.arc(0,0,c.pointer.width/6,0,2*Math.PI,!1),a.fill(),a.restore()}!1!==n.dataLabel&&ft(c,u,l,n,i,a)}return lt(n,i,a,l),1===s&&"gauge"===n.type&&(n.extra.gauge.oldAngle=e[0]._proportion_,n.extra.gauge.oldData=e[0].data),{center:l,radius:u,innerRadius:f,categories:t,totalAngle:h}}function Et(t,e,n,i){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,s=r({},{gridColor:"#cccccc",labelColor:"#666666",opacity:.2,gridCount:3},e.extra.radar),c=w(e.categories.length),l={x:e.area[3]+(e.width-e.area[1]-e.area[3])/2,y:e.area[0]+(e.height-e.area[0]-e.area[2])/2},u=Math.min(l.x-(_(e.categories)+n.radarLabelTextMargin),l.y-n.radarLabelTextMargin);u-=e.padding[1],i.beginPath(),i.setLineWidth(1*e.pixelRatio),i.setStrokeStyle(s.gridColor),c.forEach((function(t){var e=h(u*Math.cos(t),u*Math.sin(t),l);i.moveTo(l.x,l.y),i.lineTo(e.x,e.y)})),i.stroke(),i.closePath();for(var f=function(t){var n={};i.beginPath(),i.setLineWidth(1*e.pixelRatio),i.setStrokeStyle(s.gridColor),c.forEach((function(e,r){var o=h(u/s.gridCount*t*Math.cos(e),u/s.gridCount*t*Math.sin(e),l);0===r?(n=o,i.moveTo(o.x,o.y)):i.lineTo(o.x,o.y)})),i.lineTo(n.x,n.y),i.stroke(),i.closePath()},d=1;d<=s.gridCount;d++)f(d);var p=H(c,l,u,t,e,a);return p.forEach((function(t,n){if(i.beginPath(),i.setFillStyle(o(t.color,s.opacity)),t.data.forEach((function(t,e){0===e?i.moveTo(t.position.x,t.position.y):i.lineTo(t.position.x,t.position.y)})),i.closePath(),i.fill(),!1!==e.dataPointShape){var r=t.data.map((function(t){return t.position}));ct(r,t.color,t.pointShape,i,e)}})),ht(c,u,l,e,n,i),{center:l,radius:u,angleList:c}}function It(t,e,n){n=0==n?1:n;for(var r=[],i=0;i<n;i++)r[i]=Math.random();return Math.floor(r.reduce((function(t,e){return t+e}))/n*(e-t))+t}function $t(t,e,n,r){for(var i=!1,o=0;o<e.length;o++)if(e[o].area){if(!(t[3]<e[o].area[1]||t[0]>e[o].area[2]||t[1]>e[o].area[3]||t[2]<e[o].area[0])){i=!0;break}if(t[0]<0||t[1]<0||t[2]>n||t[3]>r){i=!0;break}i=!1}return i}function Ft(t){var e,n={};n.xMin=180,n.xMax=0,n.yMin=90,n.yMax=0;for(var r=0;r<t.length;r++)for(var i=t[r].geometry.coordinates,o=0;o<i.length;o++){e=i[o],1==e.length&&(e=e[0]);for(var a=0;a<e.length;a++){var s=e[a][0],c=e[a][1],l={x:s,y:c};n.xMin=n.xMin<l.x?n.xMin:l.x,n.xMax=n.xMax>l.x?n.xMax:l.x,n.yMin=n.yMin<l.y?n.yMin:l.y,n.yMax=n.yMax>l.y?n.yMax:l.y}}return n}function Rt(t,e,n,r,i,o){return{x:(e-n.xMin)*r+i,y:(n.yMax-t)*r+o}}function jt(t,e,n,r,i,o){return{x:(e-i)/r+n.xMin,y:n.yMax-(t-o)/r}}function Nt(t,e,n){if(e[1]==n[1])return!1;if(e[1]>t[1]&&n[1]>t[1])return!1;if(e[1]<t[1]&&n[1]<t[1])return!1;if(e[1]==t[1]&&n[1]>t[1])return!1;if(n[1]==t[1]&&e[1]>t[1])return!1;if(e[0]<t[0]&&n[1]<t[1])return!1;var r=n[0]-(n[0]-e[0])*(n[1]-t[1])/(n[1]-e[1]);return!(r<t[0])}function zt(t,e){for(var n=0,r=0;r<e.length;r++){var i=e[r][0];1==e.length&&(i=e[r][0]);for(var o=0;o<i.length-1;o++){var a=i[o],s=i[o+1];Nt(t,a,s)&&(n+=1)}}return n%2==1}function Ut(t,e,n,i){var a,s,c=r({},{border:!0,borderWidth:1,borderColor:"#666666",fillOpacity:.6,activeBorderColor:"#f04864",activeFillColor:"#facc14",activeFillOpacity:1},e.extra.map),l=t,u=Ft(l),f=e.width/Math.abs(u.xMax-u.xMin),h=e.height/Math.abs(u.yMax-u.yMin),d=f<h?f:h,p=e.width/2-Math.abs(u.xMax-u.xMin)/2*d,g=e.height/2-Math.abs(u.yMax-u.yMin)/2*d;i.beginPath(),i.clearRect(0,0,e.width,e.height),i.setFillStyle(e.background||"#FFFFFF"),i.rect(0,0,e.width,e.height),i.fill();for(var y=0;y<l.length;y++){i.beginPath(),i.setLineWidth(c.borderWidth*e.pixelRatio),i.setStrokeStyle(c.borderColor),i.setFillStyle(o(t[y].color,c.fillOpacity)),e.tooltip&&e.tooltip.index==y&&(i.setStrokeStyle(c.activeBorderColor),i.setFillStyle(o(c.activeFillColor,c.activeFillOpacity)));for(var m=l[y].geometry.coordinates,b=0;b<m.length;b++){a=m[b],1==a.length&&(a=a[0]);for(var x=0;x<a.length;x++)s=Rt(a[x][1],a[x][0],u,d,p,g),0===x?(i.beginPath(),i.moveTo(s.x,s.y)):i.lineTo(s.x,s.y);i.fill(),1==c.border&&i.stroke()}if(1==e.dataLabel){var _=l[y].properties.centroid;if(_){s=Rt(_[1],_[0],u,d,p,g);var w=l[y].textSize||n.fontSize,A=l[y].properties.name;i.beginPath(),i.setFontSize(w),i.setFillStyle(l[y].textColor||"#666666"),i.fillText(A,s.x-v(A,w)/2,s.y+w/2),i.closePath(),i.stroke()}}}e.chartData.mapData={bounds:u,scale:d,xoffset:p,yoffset:g},St(e,n,i,1),i.draw()}function Ht(t,e){var n=t.series.sort((function(t,e){return parseInt(e.textSize)-parseInt(t.textSize)}));switch(e){case"normal":for(var r=0;r<n.length;r++){var i=n[r].name,o=n[r].textSize,a=v(i,o),s=void 0,c=void 0,l=void 0,u=0;while(1){u++,s=It(-t.width/2,t.width/2,5)-a/2,c=It(-t.height/2,t.height/2,5)+o/2,l=[s-5+t.width/2,c-5-o+t.height/2,s+a+5+t.width/2,c+5+t.height/2];var f=$t(l,n,t.width,t.height);if(!f)break;if(1e3==u){l=[-100,-100,-100,-100];break}}n[r].area=l}break;case"vertical":for(var h=function(){return Math.random()>.7},d=0;d<n.length;d++){var p=n[d].name,g=n[d].textSize,y=v(p,g),m=h(),b=void 0,x=void 0,_=void 0,w=void 0,A=0;while(1){A++;var S=void 0;if(m?(b=It(-t.width/2,t.width/2,5)-y/2,x=It(-t.height/2,t.height/2,5)+g/2,_=[x-5-y+t.width/2,-b-5+t.height/2,x+5+t.width/2,-b+g+5+t.height/2],w=[t.width-(t.width/2-t.height/2)-(-b+g+5+t.height/2)-5,t.height/2-t.width/2+(x-5-y+t.width/2)-5,t.width-(t.width/2-t.height/2)-(-b+g+5+t.height/2)+g,t.height/2-t.width/2+(x-5-y+t.width/2)+y+5],S=$t(w,n,t.height,t.width)):(b=It(-t.width/2,t.width/2,5)-y/2,x=It(-t.height/2,t.height/2,5)+g/2,_=[b-5+t.width/2,x-5-g+t.height/2,b+y+5+t.width/2,x+5+t.height/2],S=$t(_,n,t.width,t.height)),!S)break;if(1e3==A){_=[-1e3,-1e3,-1e3,-1e3];break}}m?(n[d].area=w,n[d].areav=_):n[d].area=_,n[d].rotate=m}break}return n}function Bt(t,e,n,i){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1;r({},{type:"normal",autoColors:!0},e.extra.word);i.beginPath(),i.setFillStyle(e.background||"#FFFFFF"),i.rect(0,0,e.width,e.height),i.fill(),i.save();var a=e.chartData.wordCloudData;i.translate(e.width/2,e.height/2);for(var s=0;s<a.length;s++){i.save(),a[s].rotate&&i.rotate(90*Math.PI/180);var c=a[s].name,l=a[s].textSize,u=v(c,l);i.beginPath(),i.setStrokeStyle(a[s].color),i.setFillStyle(a[s].color),i.setFontSize(l),a[s].rotate?a[s].areav[0]>0&&(e.tooltip&&e.tooltip.index==s?i.strokeText(c,(a[s].areav[0]+5-e.width/2)*o-u*(1-o)/2,(a[s].areav[1]+5+l-e.height/2)*o):i.fillText(c,(a[s].areav[0]+5-e.width/2)*o-u*(1-o)/2,(a[s].areav[1]+5+l-e.height/2)*o)):a[s].area[0]>0&&(e.tooltip&&e.tooltip.index==s?i.strokeText(c,(a[s].area[0]+5-e.width/2)*o-u*(1-o)/2,(a[s].area[1]+5+l-e.height/2)*o):i.fillText(c,(a[s].area[0]+5-e.width/2)*o-u*(1-o)/2,(a[s].area[1]+5+l-e.height/2)*o)),i.stroke(),i.restore()}i.restore()}function Wt(t,e,n,i){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,s=r({},{activeWidth:10,activeOpacity:.3,border:!1,borderWidth:2,borderColor:"#FFFFFF",fillOpacity:1,labelAlign:"right"},e.extra.funnel),c=(e.height-e.area[0]-e.area[2])/t.length,l={x:e.area[3]+(e.width-e.area[1]-e.area[3])/2,y:e.height-e.area[2]},u=s.activeWidth,f=Math.min((e.width-e.area[1]-e.area[3])/2-u,(e.height-e.area[0]-e.area[2])/2-u);t=W(t,f,a),i.save(),i.translate(l.x,l.y);for(var h=0;h<t.length;h++)0==h?(e.tooltip&&e.tooltip.index==h&&(i.beginPath(),i.setFillStyle(o(t[h].color,s.activeOpacity)),i.moveTo(-u,0),i.lineTo(-t[h].radius-u,-c),i.lineTo(t[h].radius+u,-c),i.lineTo(u,0),i.lineTo(-u,0),i.closePath(),i.fill()),t[h].funnelArea=[l.x-t[h].radius,l.y-c,l.x+t[h].radius,l.y],i.beginPath(),i.setLineWidth(s.borderWidth*e.pixelRatio),i.setStrokeStyle(s.borderColor),i.setFillStyle(o(t[h].color,s.fillOpacity)),i.moveTo(0,0),i.lineTo(-t[h].radius,-c),i.lineTo(t[h].radius,-c),i.lineTo(0,0),i.closePath(),i.fill(),1==s.border&&i.stroke()):(e.tooltip&&e.tooltip.index==h&&(i.beginPath(),i.setFillStyle(o(t[h].color,s.activeOpacity)),i.moveTo(0,0),i.lineTo(-t[h-1].radius-u,0),i.lineTo(-t[h].radius-u,-c),i.lineTo(t[h].radius+u,-c),i.lineTo(t[h-1].radius+u,0),i.lineTo(0,0),i.closePath(),i.fill()),t[h].funnelArea=[l.x-t[h].radius,l.y-c*(h+1),l.x+t[h].radius,l.y-c*h],i.beginPath(),i.setLineWidth(s.borderWidth*e.pixelRatio),i.setStrokeStyle(s.borderColor),i.setFillStyle(o(t[h].color,s.fillOpacity)),i.moveTo(0,0),i.lineTo(-t[h-1].radius,0),i.lineTo(-t[h].radius,-c),i.lineTo(t[h].radius,-c),i.lineTo(t[h-1].radius,0),i.lineTo(0,0),i.closePath(),i.fill(),1==s.border&&i.stroke()),i.translate(0,-c);return i.restore(),!1!==e.dataLabel&&1===a&&Gt(t,e,i,c,s.labelAlign,u,l),{center:l,radius:f,series:t}}function Gt(t,e,n,r,o,a,s){for(var c=0;c<t.length;c++){var l=t[c],u=void 0,f=void 0,h=void 0,d=void 0,p=l.format?l.format(+l._proportion_.toFixed(2)):i.toFixed(100*l._proportion_)+"%";"right"==o?(u=0==c?(l.funnelArea[2]+s.x)/2:(l.funnelArea[2]+t[c-1].funnelArea[2])/2,f=u+2*a,h=l.funnelArea[1]+r/2,d=l.textSize||e.fontSize,n.setLineWidth(1*e.pixelRatio),n.setStrokeStyle(l.color),n.setFillStyle(l.color),n.beginPath(),n.moveTo(u,h),n.lineTo(f,h),n.stroke(),n.closePath(),n.beginPath(),n.moveTo(f,h),n.arc(f,h,2,0,2*Math.PI),n.closePath(),n.fill(),n.beginPath(),n.setFontSize(d),n.setFillStyle(l.textColor||"#666666"),n.fillText(p,f+5,h+d/2-2),n.closePath(),n.stroke(),n.closePath()):(u=0==c?(l.funnelArea[0]+s.x)/2:(l.funnelArea[0]+t[c-1].funnelArea[0])/2,f=u-2*a,h=l.funnelArea[1]+r/2,d=l.textSize||e.fontSize,n.setLineWidth(1*e.pixelRatio),n.setStrokeStyle(l.color),n.setFillStyle(l.color),n.beginPath(),n.moveTo(u,h),n.lineTo(f,h),n.stroke(),n.closePath(),n.beginPath(),n.moveTo(f,h),n.arc(f,h,2,0,2*Math.PI),n.closePath(),n.fill(),n.beginPath(),n.setFontSize(d),n.setFillStyle(l.textColor||"#666666"),n.fillText(p,f-5-v(p),h+d/2-2),n.closePath(),n.stroke(),n.closePath())}}function Vt(t,e){e.draw()}var Xt={easeIn:function(t){return Math.pow(t,3)},easeOut:function(t){return Math.pow(t-1,3)+1},easeInOut:function(t){return(t/=.5)<1?.5*Math.pow(t,3):.5*(Math.pow(t-2,3)+2)},linear:function(t){return t}};function Kt(t){this.isStop=!1,t.duration="undefined"===typeof t.duration?1e3:t.duration,t.timing=t.timing||"linear";var e=17;function n(){return"undefined"!==typeof setTimeout?function(t,e){setTimeout((function(){var e=+new Date;t(e)}),e)}:"undefined"!==typeof requestAnimationFrame?requestAnimationFrame:function(t){t(null)}}var r=n(),i=null,o=function(n){if(null===n||!0===this.isStop)return t.onProcess&&t.onProcess(1),void(t.onAnimationFinish&&t.onAnimationFinish());if(null===i&&(i=n),n-i<t.duration){var a=(n-i)/t.duration,s=Xt[t.timing];a=s(a),t.onProcess&&t.onProcess(a),r(o,e)}else t.onProcess&&t.onProcess(1),t.onAnimationFinish&&t.onAnimationFinish()};o=o.bind(this),r(o,e)}function Yt(t,e,n,i){var o=this,a=e.series,c=e.categories;a=p(a,e,n);var l=e.animation?e.duration:0;o.animationInstance&&o.animationInstance.stop();var u=null;if("candle"==t){var f=r({},e.extra.candle.average);f.show?(u=s(f.day,f.name,f.color,a[0].data),u=p(u,e,n),e.seriesMA=u):u=e.seriesMA?e.seriesMA=p(e.seriesMA,e,n):a}else u=a;e._series_=a=k(a),e.area=new Array(4);for(var h=0;h<4;h++)e.area[h]=e.padding[h];var d=j(u,e,n,e.chartData),g=d.area.wholeHeight,v=d.area.wholeWidth;switch(e.legend.position){case"top":e.area[0]+=g;break;case"bottom":e.area[2]+=g;break;case"left":e.area[3]+=v;break;case"right":e.area[1]+=v;break}var y={},m=0;if("line"===e.type||"column"===e.type||"area"===e.type||"mix"===e.type||"candle"===e.type){if(y=it(a,e,n),m=y.yAxisWidth,e.yAxis.showTitle){for(var b=0,x=0;x<e.yAxis.data.length;x++)b=Math.max(b,e.yAxis.data[x].titleFontSize?e.yAxis.data[x].titleFontSize:n.fontSize);e.area[0]+=(b+6)*e.pixelRatio}for(var _=0,w=0,A=0;A<m.length;A++)"left"==m[A].position?(e.area[3]+=w>0?m[A].width+e.yAxis.padding:m[A].width,w+=1):(e.area[1]+=_>0?m[A].width+e.yAxis.padding:m[A].width,_+=1)}else n.yAxisWidth=m;if(e.chartData.yAxisData=y,e.categories&&e.categories.length){e.chartData.xAxisData=Q(e.categories,e,n);var S=N(e.categories,e,n,e.chartData.xAxisData.eachSpacing),T=S.xAxisHeight,P=S.angle;n.xAxisHeight=T,n._xAxisTextAngle_=P,e.area[2]+=T,e.chartData.categoriesData=S}else if("line"===e.type||"area"===e.type||"points"===e.type){e.chartData.xAxisData=U(a,e,n),c=e.chartData.xAxisData.rangesFormat;var O=N(c,e,n,e.chartData.xAxisData.eachSpacing),C=O.xAxisHeight,L=O.angle;n.xAxisHeight=C,n._xAxisTextAngle_=L,e.area[2]+=C,e.chartData.categoriesData=O}else e.chartData.xAxisData={xAxisPoints:[]};if(e.enableScroll&&"right"==e.xAxis.scrollAlign&&void 0===e._scrollDistance_){var D=0,M=e.chartData.xAxisData.xAxisPoints,E=e.chartData.xAxisData.startX,I=e.chartData.xAxisData.endX,$=e.chartData.xAxisData.eachSpacing,F=$*(M.length-1),R=I-E;D=R-F,o.scrollOption={currentOffset:D,startTouchX:D,distance:0,lastMoveTime:0},e._scrollDistance_=D}switch("pie"!==t&&"ring"!==t&&"rose"!==t||(n._pieTextMaxLength_=!1===e.dataLabel?0:Y(u)),t){case"word":var z=r({},{type:"normal",autoColors:!0},e.extra.word);1!=e.updateData&&void 0!=e.updateData||(e.chartData.wordCloudData=Ht(e,z.type)),this.animationInstance=new Kt({timing:"easeInOut",duration:l,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&st(i,e),Bt(a,e,n,i,t),Vt(e,i)},onAnimationFinish:function(){o.event.trigger("renderComplete")}});break;case"map":i.clearRect(0,0,e.width,e.height),Ut(a,e,n,i);break;case"funnel":this.animationInstance=new Kt({timing:"easeInOut",duration:l,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&st(i,e),e.chartData.funnelData=Wt(a,e,n,i,t),Ot(e.series,e,n,i,e.chartData),St(e,n,i,t),Vt(e,i)},onAnimationFinish:function(){o.event.trigger("renderComplete")}});break;case"line":this.animationInstance=new Kt({timing:"easeIn",duration:l,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&st(i,e),kt(c,e,n,i),Tt(c,e,n,i);var r=wt(a,e,n,i,t),o=r.xAxisPoints,s=r.calPoints,l=r.eachSpacing;e.chartData.xAxisPoints=o,e.chartData.calPoints=s,e.chartData.eachSpacing=l,Pt(a,e,n,i),!1!==e.enableMarkLine&&1===t&&gt(e,n,i),Ot(e.series,e,n,i,e.chartData),St(e,n,i,t,l,o),Vt(e,i)},onAnimationFinish:function(){o.event.trigger("renderComplete")}});break;case"mix":this.animationInstance=new Kt({timing:"easeIn",duration:l,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&st(i,e),kt(c,e,n,i),Tt(c,e,n,i);var r=At(a,e,n,i,t),o=r.xAxisPoints,s=r.calPoints,l=r.eachSpacing;e.chartData.xAxisPoints=o,e.chartData.calPoints=s,e.chartData.eachSpacing=l,Pt(a,e,n,i),!1!==e.enableMarkLine&&1===t&&gt(e,n,i),Ot(e.series,e,n,i,e.chartData),St(e,n,i,t,l,o),Vt(e,i)},onAnimationFinish:function(){o.event.trigger("renderComplete")}});break;case"column":this.animationInstance=new Kt({timing:"easeIn",duration:l,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&st(i,e),kt(c,e,n,i),Tt(c,e,n,i);var r=bt(a,e,n,i,t),o=r.xAxisPoints,s=r.calPoints,l=r.eachSpacing;e.chartData.xAxisPoints=o,e.chartData.calPoints=s,e.chartData.eachSpacing=l,Pt(a,e,n,i),!1!==e.enableMarkLine&&1===t&&gt(e,n,i),Ot(e.series,e,n,i,e.chartData),St(e,n,i,t,l,o),Vt(e,i)},onAnimationFinish:function(){o.event.trigger("renderComplete")}});break;case"area":this.animationInstance=new Kt({timing:"easeIn",duration:l,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&st(i,e),kt(c,e,n,i),Tt(c,e,n,i);var r=_t(a,e,n,i,t),o=r.xAxisPoints,s=r.calPoints,l=r.eachSpacing;e.chartData.xAxisPoints=o,e.chartData.calPoints=s,e.chartData.eachSpacing=l,Pt(a,e,n,i),!1!==e.enableMarkLine&&1===t&&gt(e,n,i),Ot(e.series,e,n,i,e.chartData),St(e,n,i,t,l,o),Vt(e,i)},onAnimationFinish:function(){o.event.trigger("renderComplete")}});break;case"ring":case"pie":this.animationInstance=new Kt({timing:"easeInOut",duration:l,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&st(i,e),e.chartData.pieData=Ct(a,e,n,i,t),Ot(e.series,e,n,i,e.chartData),St(e,n,i,t),Vt(e,i)},onAnimationFinish:function(){o.event.trigger("renderComplete")}});break;case"rose":this.animationInstance=new Kt({timing:"easeInOut",duration:l,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&st(i,e),e.chartData.pieData=Lt(a,e,n,i,t),Ot(e.series,e,n,i,e.chartData),St(e,n,i,t),Vt(e,i)},onAnimationFinish:function(){o.event.trigger("renderComplete")}});break;case"radar":this.animationInstance=new Kt({timing:"easeInOut",duration:l,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&st(i,e),e.chartData.radarData=Et(a,e,n,i,t),Ot(e.series,e,n,i,e.chartData),St(e,n,i,t),Vt(e,i)},onAnimationFinish:function(){o.event.trigger("renderComplete")}});break;case"arcbar":this.animationInstance=new Kt({timing:"easeInOut",duration:l,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&st(i,e),e.chartData.arcbarData=Dt(a,e,n,i,t),Vt(e,i)},onAnimationFinish:function(){o.event.trigger("renderComplete")}});break;case"gauge":this.animationInstance=new Kt({timing:"easeInOut",duration:l,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&st(i,e),e.chartData.gaugeData=Mt(c,a,e,n,i,t),Vt(e,i)},onAnimationFinish:function(){o.event.trigger("renderComplete")}});break;case"candle":this.animationInstance=new Kt({timing:"easeIn",duration:l,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&st(i,e),kt(c,e,n,i),Tt(c,e,n,i);var r=xt(a,u,e,n,i,t),o=r.xAxisPoints,s=r.calPoints,l=r.eachSpacing;e.chartData.xAxisPoints=o,e.chartData.calPoints=s,e.chartData.eachSpacing=l,Pt(a,e,n,i),!1!==e.enableMarkLine&&1===t&&gt(e,n,i),Ot(u||e.series,e,n,i,e.chartData),St(e,n,i,t,l,o),Vt(e,i)},onAnimationFinish:function(){o.event.trigger("renderComplete")}});break}}function qt(){this.events={}}Kt.prototype.stop=function(){this.isStop=!0},qt.prototype.addEventListener=function(t,e){this.events[t]=this.events[t]||[],this.events[t].push(e)},qt.prototype.trigger=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=e[0],i=e.slice(1);this.events[r]&&this.events[r].forEach((function(t){try{t.apply(null,i)}catch(e){}}))};var Jt=function(t){t.pixelRatio=t.pixelRatio?t.pixelRatio:1,t.fontSize=t.fontSize?t.fontSize*t.pixelRatio:13*t.pixelRatio,t.title=r({},t.title),t.subtitle=r({},t.subtitle),t.duration=t.duration?t.duration:1e3,t.yAxis=r({},{data:[],showTitle:!1,disabled:!1,disableGrid:!1,splitNumber:5,gridType:"solid",dashLength:4*t.pixelRatio,gridColor:"#cccccc",padding:10,fontColor:"#666666"},t.yAxis),t.yAxis.dashLength*=t.pixelRatio,t.yAxis.padding*=t.pixelRatio,t.xAxis=r({},{rotateLabel:!1,type:"calibration",gridType:"solid",dashLength:4,scrollAlign:"left",boundaryGap:"center",axisLine:!0,axisLineColor:"#cccccc"},t.xAxis),t.xAxis.dashLength*=t.pixelRatio,t.legend=r({},{show:!0,position:"bottom",float:"center",backgroundColor:"rgba(0,0,0,0)",borderColor:"rgba(0,0,0,0)",borderWidth:0,padding:5,margin:5,itemGap:10,fontSize:t.fontSize,lineHeight:t.fontSize,fontColor:"#333333",format:{},hiddenColor:"#CECECE"},t.legend),t.legend.borderWidth=t.legend.borderWidth*t.pixelRatio,t.legend.itemGap=t.legend.itemGap*t.pixelRatio,t.legend.padding=t.legend.padding*t.pixelRatio,t.legend.margin=t.legend.margin*t.pixelRatio,t.extra=r({},t.extra),t.rotate=!!t.rotate,t.animation=!!t.animation,t.rotate=!!t.rotate;var i=JSON.parse(JSON.stringify(n));if(i.colors=t.colors?t.colors:i.colors,i.yAxisTitleWidth=!0!==t.yAxis.disabled&&t.yAxis.title?i.yAxisTitleWidth:0,"pie"!=t.type&&"ring"!=t.type||(i.pieChartLinePadding=!1===t.dataLabel?0:t.extra.pie.labelWidth*t.pixelRatio||i.pieChartLinePadding*t.pixelRatio),"rose"==t.type&&(i.pieChartLinePadding=!1===t.dataLabel?0:t.extra.rose.labelWidth*t.pixelRatio||i.pieChartLinePadding*t.pixelRatio),i.pieChartTextPadding=!1===t.dataLabel?0:i.pieChartTextPadding*t.pixelRatio,i.yAxisSplit=t.yAxis.splitNumber?t.yAxis.splitNumber:n.yAxisSplit,i.rotate=t.rotate,t.rotate){var o=t.width,a=t.height;t.width=a,t.height=o}t.padding=t.padding?t.padding:i.padding;for(var s=0;s<4;s++)t.padding[s]*=t.pixelRatio;i.yAxisWidth=n.yAxisWidth*t.pixelRatio,i.xAxisHeight=n.xAxisHeight*t.pixelRatio,t.enableScroll&&t.xAxis.scrollShow&&(i.xAxisHeight+=6*t.pixelRatio),i.xAxisLineHeight=n.xAxisLineHeight*t.pixelRatio,i.fontSize=t.fontSize,i.titleFontSize=n.titleFontSize*t.pixelRatio,i.subtitleFontSize=n.subtitleFontSize*t.pixelRatio,i.toolTipPadding=n.toolTipPadding*t.pixelRatio,i.toolTipLineHeight=n.toolTipLineHeight*t.pixelRatio,i.columePadding=n.columePadding*t.pixelRatio,t.$this=t.$this?t.$this:this,this.context=e.createCanvasContext(t.canvasId,t.$this),t.chartData={},this.event=new qt,this.scrollOption={currentOffset:0,startTouchX:0,distance:0,lastMoveTime:0},this.opts=t,this.config=i,Yt.call(this,t.type,t,i,this.context)};Jt.prototype.updateData=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.opts=r({},this.opts,t),this.opts.updateData=!0;var e=t.scrollPosition||"current";switch(e){case"current":this.opts._scrollDistance_=this.scrollOption.currentOffset;break;case"left":this.opts._scrollDistance_=0,this.scrollOption={currentOffset:0,startTouchX:0,distance:0,lastMoveTime:0};break;case"right":var n=it(this.opts.series,this.opts,this.config),i=n.yAxisWidth;this.config.yAxisWidth=i;var o=0,a=Q(this.opts.categories,this.opts,this.config),s=a.xAxisPoints,c=a.startX,l=a.endX,u=a.eachSpacing,f=u*(s.length-1),h=l-c;o=h-f,this.scrollOption={currentOffset:o,startTouchX:o,distance:0,lastMoveTime:0},this.opts._scrollDistance_=o;break}Yt.call(this,this.opts.type,this.opts,this.config,this.context)},Jt.prototype.zoom=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.opts.xAxis.itemCount;if(!0===this.opts.enableScroll){var e=Math.round(Math.abs(this.scrollOption.currentOffset)/this.opts.chartData.eachSpacing)+Math.round(this.opts.xAxis.itemCount/2);this.opts.animation=!1,this.opts.xAxis.itemCount=t.itemCount;var n=it(this.opts.series,this.opts,this.config),r=n.yAxisWidth;this.config.yAxisWidth=r;var i=0,o=Q(this.opts.categories,this.opts,this.config),a=o.xAxisPoints,s=o.startX,c=o.endX,l=o.eachSpacing,u=l*e,f=c-s,h=f-l*(a.length-1);i=f/2-u,i>0&&(i=0),i<h&&(i=h),this.scrollOption={currentOffset:i,startTouchX:i,distance:0,lastMoveTime:0},this.opts._scrollDistance_=i,Yt.call(this,this.opts.type,this.opts,this.config,this.context)}},Jt.prototype.stopAnimation=function(){this.animationInstance&&this.animationInstance.stop()},Jt.prototype.addEventListener=function(t,e){this.event.addEventListener(t,e)},Jt.prototype.getCurrentDataIndex=function(t){var e=null;if(e=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0],e){var n=b(e,this.opts,t);return"pie"===this.opts.type||"ring"===this.opts.type||"rose"===this.opts.type?$({x:n.x,y:n.y},this.opts.chartData.pieData):"radar"===this.opts.type?D({x:n.x,y:n.y},this.opts.chartData.radarData,this.opts.categories.length):"funnel"===this.opts.type?M({x:n.x,y:n.y},this.opts.chartData.funnelData):"map"===this.opts.type?I({x:n.x,y:n.y},this.opts):"word"===this.opts.type?E({x:n.x,y:n.y},this.opts.chartData.wordCloudData):P({x:n.x,y:n.y},this.opts.chartData.calPoints,this.opts,this.config,Math.abs(this.scrollOption.currentOffset))}return-1},Jt.prototype.getLegendDataIndex=function(t){var e=null;if(e=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0],e){var n=b(e,this.opts,t);return O({x:n.x,y:n.y},this.opts.chartData.legendData)}return-1},Jt.prototype.touchLegend=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null;if(n=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0],n){b(n,this.opts,t);var r=this.getLegendDataIndex(t);r>=0&&(this.opts.series[r].show=!this.opts.series[r].show,this.opts.animation=!!e.animation,this.opts._scrollDistance_=this.scrollOption.currentOffset,Yt.call(this,this.opts.type,this.opts,this.config,this.context))}},Jt.prototype.showToolTip=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null;n=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0];var i=b(n,this.opts,t),o=this.scrollOption.currentOffset,a=r({},this.opts,{_scrollDistance_:o,animation:!1});if("line"===this.opts.type||"area"===this.opts.type||"column"===this.opts.type){var s=void 0==e.index?this.getCurrentDataIndex(t):e.index;if(s>-1){var c=x(this.opts.series,s);if(0!==c.length){var l=A(c,this.opts.chartData.calPoints,s,this.opts.categories,e),u=l.textList,f=l.offset;f.y=i.y,a.tooltip={textList:e.textList?e.textList:u,offset:f,option:e,index:s}}}Yt.call(this,a.type,a,this.config,this.context)}if("mix"===this.opts.type){s=void 0==e.index?this.getCurrentDataIndex(t):e.index;if(s>-1){o=this.scrollOption.currentOffset,a=r({},this.opts,{_scrollDistance_:o,animation:!1}),c=x(this.opts.series,s);if(0!==c.length){var h=S(c,this.opts.chartData.calPoints,s,this.opts.categories,e);u=h.textList,f=h.offset;f.y=i.y,a.tooltip={textList:e.textList?e.textList:u,offset:f,option:e,index:s}}}Yt.call(this,a.type,a,this.config,this.context)}if("candle"===this.opts.type){s=void 0==e.index?this.getCurrentDataIndex(t):e.index;if(s>-1){o=this.scrollOption.currentOffset,a=r({},this.opts,{_scrollDistance_:o,animation:!1}),c=x(this.opts.series,s);if(0!==c.length){l=T(this.opts.series[0].data,c,this.opts.chartData.calPoints,s,this.opts.categories,this.opts.extra.candle,e),u=l.textList,f=l.offset;f.y=i.y,a.tooltip={textList:e.textList?e.textList:u,offset:f,option:e,index:s}}}Yt.call(this,a.type,a,this.config,this.context)}if("pie"===this.opts.type||"ring"===this.opts.type||"rose"===this.opts.type||"funnel"===this.opts.type){s=void 0==e.index?this.getCurrentDataIndex(t):e.index;if(s>-1){o=this.scrollOption.currentOffset,a=r({},this.opts,{_scrollDistance_:o,animation:!1}),c=this.opts._series_[s],u=[{text:e.format?e.format(c):c.name+": "+c.data,color:c.color}],f={x:i.x,y:i.y};a.tooltip={textList:e.textList?e.textList:u,offset:f,option:e,index:s}}Yt.call(this,a.type,a,this.config,this.context)}if("map"===this.opts.type||"word"===this.opts.type){s=void 0==e.index?this.getCurrentDataIndex(t):e.index;if(s>-1){o=this.scrollOption.currentOffset,a=r({},this.opts,{_scrollDistance_:o,animation:!1}),c=this.opts._series_[s],u=[{text:e.format?e.format(c):c.properties.name,color:c.color}],f={x:i.x,y:i.y};a.tooltip={textList:e.textList?e.textList:u,offset:f,option:e,index:s}}a.updateData=!1,Yt.call(this,a.type,a,this.config,this.context)}if("radar"===this.opts.type){s=void 0==e.index?this.getCurrentDataIndex(t):e.index;if(s>-1){o=this.scrollOption.currentOffset,a=r({},this.opts,{_scrollDistance_:o,animation:!1}),c=x(this.opts.series,s);if(0!==c.length){u=c.map((function(t){return{text:e.format?e.format(t):t.name+": "+t.data,color:t.color}})),f={x:i.x,y:i.y};a.tooltip={textList:e.textList?e.textList:u,offset:f,option:e,index:s}}}Yt.call(this,a.type,a,this.config,this.context)}},Jt.prototype.translate=function(t){this.scrollOption={currentOffset:t,startTouchX:t,distance:0,lastMoveTime:0};var e=r({},this.opts,{_scrollDistance_:t,animation:!1});Yt.call(this,this.opts.type,e,this.config,this.context)},Jt.prototype.scrollStart=function(t){var e=null;e=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0];var n=b(e,this.opts,t);e&&!0===this.opts.enableScroll&&(this.scrollOption.startTouchX=n.x)},Jt.prototype.scroll=function(t){0===this.scrollOption.lastMoveTime&&(this.scrollOption.lastMoveTime=Date.now());var e=this.opts.extra.touchMoveLimit||20,n=Date.now(),i=n-this.scrollOption.lastMoveTime;if(!(i<Math.floor(1e3/e))){this.scrollOption.lastMoveTime=n;var o=null;if(o=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0],o&&!0===this.opts.enableScroll){var a,s=b(o,this.opts,t);a=s.x-this.scrollOption.startTouchX;var l=this.scrollOption.currentOffset,u=c(this,l+a,this.opts.chartData,this.config,this.opts);this.scrollOption.distance=a=u-l;var f=r({},this.opts,{_scrollDistance_:l+a,animation:!1});return Yt.call(this,f.type,f,this.config,this.context),l+a}}},Jt.prototype.scrollEnd=function(t){if(!0===this.opts.enableScroll){var e=this.scrollOption,n=e.currentOffset,r=e.distance;this.scrollOption.currentOffset=n+r,this.scrollOption.distance=0}},"object"===typeof t.exports&&(t.exports=Jt)}).call(this,n("543d")["default"])},"2f12":function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=l(n("a34a")),i=l(n("6b37")),o=n("c6cd"),a=n("1346"),s=l(n("0c53")),c=n("a1ea");n("26cb");function l(t){return t&&t.__esModule?t:{default:t}}function u(t,e,n,r,i,o,a){try{var s=t[o](a),c=s.value}catch(l){return void n(l)}s.done?e(c):Promise.resolve(c).then(r,i)}function f(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){u(o,r,i,a,s,"next",t)}function s(t){u(o,r,i,a,s,"throw",t)}a(void 0)}))}}function h(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function d(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function p(t,e,n){return e&&d(t.prototype,e),n&&d(t,n),t}var g=function(){function e(){h(this,e),this.scopeUserInfo="scope.userInfo"}return p(e,[{key:"getUserCode",value:function(){var t=f(r.default.mark((function t(){var e,n;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.isAuth();case 2:if(e=t.sent,n="",!e){t.next=8;break}return t.next=7,this.getCode();case 7:n=t.sent;case 8:return t.abrupt("return",n);case 9:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},{key:"silenceAuth",value:function(e){var n=getApp(),r=n.globalData.spid?n.globalData.spid:"";return new Promise((function(o,s){(0,a.silenceAuth)({code:e,spread_spid:r,spread_code:n.globalData.code}).then((function(e){if(e.data&&void 0!==e.data.token){t.hideLoading();var n=e.data.expires_time-Math.round(new Date/1e3);i.default.commit("LOGIN",{token:e.data.token,time:n}),i.default.commit("SETUID",e.data.userInfo.uid),i.default.commit("UPDATE_USERINFO",e.data.userInfo),o(e)}else s(),t.navigateTo({url:"/pages/users/wechat_login/index"})})).catch((function(t){s(t)}))}))}},{key:"getUserInfo",value:function(){var e=this.getUserCode();return new Promise((function(n,r){t.getUserInfo({lang:"zh_CN",success:function(t){e&&(t.code=e),n({userInfo:t,islogin:!1})},fail:function(t){r(t)}})}))}},{key:"getUserProfile",value:function(e){return new Promise((function(n,r){t.getUserProfile({lang:"zh_CN",desc:"用于完善会员资料",success:function(t){e&&(t.code=e),n({userInfo:t,islogin:!1})},fail:function(t){r(t)}})}))}},{key:"authorize",value:function(){var e=this;return new Promise((function(n,r){if((0,o.checkLogin)())return n({userInfo:s.default.get(c.USER_INFO,!0),islogin:!0});t.authorize({scope:e.scopeUserInfo,success:function(){n({islogin:!1})},fail:function(t){r(t)}})}))}},{key:"getCode",value:function(){var e=f(r.default.mark((function e(){var n;return r.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this.getProvider();case 2:return n=e.sent,e.abrupt("return",new Promise((function(e,r){t.login({provider:n,success:function(t){return t.code&&s.default.set(c.STATE_R_KEY,t.code,10800),e(t.code)},fail:function(){return r(null)}})})));case 4:case"end":return e.stop()}}),e,this)})));function n(){return e.apply(this,arguments)}return n}()},{key:"getProvider",value:function(){return new Promise((function(e,n){t.getProvider({service:"oauth",success:function(t){e(t.provider)},fail:function(){e(!1)}})}))}},{key:"isAuth",value:function(){var e=this;return new Promise((function(n,r){t.getSetting({success:function(t){t.authSetting[e.scopeUserInfo],n(!0)},fail:function(){n(!1)}})}))}},{key:"authUserInfo",value:function(t){return new Promise((function(e,n){(0,a.routineLogin)(t).then((function(t){return void 0!==t.data.key&&t.data.key||(i.default.commit("UPDATE_USERINFO",t.data.userInfo),i.default.commit("SETUID",t.data.userInfo.uid),s.default.set(c.USER_INFO,t.data.userInfo)),e(t)})).catch((function(t){return n(t)}))}))}}]),e}(),v=new g;e.default=v}).call(this,n("543d")["default"])},"2f3d":function(t,e){function n(t,e){this.timer=null,this.startIndex=t.startIndex-1||0,this.count=0,this.winingIndex=t.winingIndex||0,this.totalCount=t.totalCount||6,this.speed=t.speed||100,this.domData=t.domData,this.rollFn(),this.callback=e}n.prototype={rollFn:function(){var t=this;this.startIndex++,this.startIndex>=this.domData.length-1&&(this.startIndex=0,this.count++),this.count>=this.totalCount&&this.startIndex===this.winingIndex?("function"===typeof this.callback&&setTimeout((function(){t.callback(t.startIndex,t.count)}),400),clearInterval(this.timer)):(this.count>=this.totalCount-1&&(this.speed+=30),this.timer=setTimeout((function(){t.callback(t.startIndex,t.count),t.rollFn()}),this.speed))}},t.exports=n},3185:function(t,e,n){"use strict";(function(e){var n={trustTags:a("a,abbr,ad,audio,b,blockquote,br,code,col,colgroup,dd,del,dl,dt,div,em,fieldset,h1,h2,h3,h4,h5,h6,hr,i,img,ins,label,legend,li,ol,p,q,ruby,rt,source,span,strong,sub,sup,table,tbody,td,tfoot,th,thead,tr,title,ul,video"),blockTags:a("address,article,aside,body,caption,center,cite,footer,header,html,nav,pre,section"),ignoreTags:a("area,base,canvas,embed,frame,head,iframe,input,link,map,meta,param,rp,script,source,style,textarea,title,track,wbr"),voidTags:a("area,base,br,col,circle,ellipse,embed,frame,hr,img,input,line,link,meta,param,path,polygon,rect,source,track,use,wbr"),entities:{lt:"<",gt:">",quot:'"',apos:"'",ensp:"",emsp:"",nbsp:" ",semi:";",ndash:"",mdash:"—",middot:"·",lsquo:"",rsquo:"",ldquo:"“",rdquo:"”",bull:"•",hellip:"…"},tagStyle:{address:"font-style:italic",big:"display:inline;font-size:1.2em",caption:"display:table-caption;text-align:center",center:"text-align:center",cite:"font-style:italic",dd:"margin-left:40px",mark:"background-color:yellow",pre:"font-family:monospace;white-space:pre",s:"text-decoration:line-through",small:"display:inline;font-size:0.8em",u:"text-decoration:underline"}},r=e.getSystemInfoSync().windowWidth,i=a(" ,\r,\n,\t,\f"),o=0;function a(t){for(var e=Object.create(null),n=t.split(","),r=n.length;r--;)e[n[r]]=!0;return e}function s(t,e){var r=t.indexOf("&");while(-1!=r){var i=t.indexOf(";",r+3),o=void 0;if(-1==i)break;"#"==t[r+1]?(o=parseInt(("x"==t[r+2]?"0":"")+t.substring(r+2,i)),isNaN(o)||(t=t.substr(0,r)+String.fromCharCode(o)+t.substr(i+1))):(o=t.substring(r+1,i),(n.entities[o]||"amp"==o&&e)&&(t=t.substr(0,r)+(n.entities[o]||"&")+t.substr(i+1))),r=t.indexOf("&",r+1)}return t}function c(t){this.options=t||{},this.tagStyle=Object.assign(n.tagStyle,this.options.tagStyle),this.imgList=t.imgList||[],this.plugins=t.plugins||[],this.attrs=Object.create(null),this.stack=[],this.nodes=[]}function l(t){this.handler=t}c.prototype.parse=function(t){for(var e=this.plugins.length;e--;)this.plugins[e].onUpdate&&(t=this.plugins[e].onUpdate(t,n)||t);new l(this).parse(t);while(this.stack.length)this.popNode();return this.nodes},c.prototype.expose=function(){for(var t=this.stack.length;t--;){var e=this.stack[t];if("a"==e.name||e.c)return;e.c=1}},c.prototype.hook=function(t){for(var e=this.plugins.length;e--;)if(this.plugins[e].onParse&&0==this.plugins[e].onParse(t,this))return!1;return!0},c.prototype.getUrl=function(t){var e=this.options.domain;return"/"==t[0]?"/"==t[1]?t=(e?e.split("://")[0]:"http")+":"+t:e&&(t=e+t):!e||t.includes("data:")||t.includes("://")||(t=e+"/"+t),t},c.prototype.parseStyle=function(t){var e=t.attrs,n=(this.tagStyle[t.name]||"").split(";").concat((e.style||"").split(";")),o={},a="";e.id&&(this.options.useAnchor?this.expose():"img"!=t.name&&"a"!=t.name&&"video"!=t.name&&"audio"!=t.name&&(e.id=void 0)),e.width&&(o.width=parseFloat(e.width)+(e.width.includes("%")?"%":"px"),e.width=void 0),e.height&&(o.height=parseFloat(e.height)+(e.height.includes("%")?"%":"px"),e.height=void 0);for(var s=0,c=n.length;s<c;s++){var l=n[s].split(":");if(!(l.length<2)){var u=l.shift().trim().toLowerCase(),f=l.join(":").trim();if("-"==f[0]&&f.lastIndexOf("-")>0||f.includes("safe"))a+=";".concat(u,":").concat(f);else if(!o[u]||f.includes("import")||!o[u].includes("import")){if(f.includes("url")){var h=f.indexOf("(")+1;if(h){while('"'==f[h]||"'"==f[h]||i[f[h]])h++;f=f.substr(0,h)+this.getUrl(f.substr(h))}}else f.includes("rpx")&&(f=f.replace(/[0-9.]+\s*rpx/g,(function(t){return parseFloat(t)*r/750+"px"})));o[u]=f}}}return t.attrs.style=a,o},c.prototype.onTagName=function(t){this.tagName=this.xml?t:t.toLowerCase(),"svg"==this.tagName&&(this.xml=!0)},c.prototype.onAttrName=function(t){t=this.xml?t:t.toLowerCase(),"data-"==t.substr(0,5)?"data-src"!=t||this.attrs.src?"img"==this.tagName||"a"==this.tagName?this.attrName=t:this.attrName=void 0:this.attrName="src":(this.attrName=t,this.attrs[t]="T")},c.prototype.onAttrVal=function(t){var e=this.attrName||"";"style"==e||"href"==e?this.attrs[e]=s(t,!0):e.includes("src")?this.attrs[e]=this.getUrl(s(t,!0)):e&&(this.attrs[e]=t)},c.prototype.onOpenTag=function(t){var e=Object.create(null);e.name=this.tagName,e.attrs=this.attrs,this.attrs=Object.create(null);var i=e.attrs,a=this.stack[this.stack.length-1],s=a?a.children:this.nodes,c=this.xml?t:n.voidTags[e.name];if("embed"==e.name){var l=i.src||"";l.includes(".mp4")||l.includes(".3gp")||l.includes(".m3u8")||(i.type||"").includes("video")?e.name="video":(l.includes(".mp3")||l.includes(".wav")||l.includes(".aac")||l.includes(".m4a")||(i.type||"").includes("audio"))&&(e.name="audio"),i.autostart&&(i.autoplay="T"),i.controls="T"}if("video"!=e.name&&"audio"!=e.name||("video"!=e.name||i.id||(i.id="v"+o++),i.controls||i.autoplay||(i.controls="T"),e.src=[],i.src&&(e.src.push(i.src),i.src=void 0),this.expose()),c){if(!this.hook(e)||n.ignoreTags[e.name])return void("base"!=e.name||this.options.domain?"source"==e.name&&a&&("video"==a.name||"audio"==a.name)&&i.src&&a.src.push(i.src):this.options.domain=i.href);var u=this.parseStyle(e);if("img"==e.name){if(i.src&&(i.src.includes("webp")&&(e.webp="T"),i.src.includes("data:")&&!i["original-src"]&&(i.ignore="T"),!i.ignore||e.webp||i.src.includes("cloud://"))){for(var f=this.stack.length;f--;){var h=this.stack[f];if("a"==h.name){e.a=h.attrs;break}var d=h.attrs.style||"";if(!d.includes("flex:")||d.includes("flex:0")||d.includes("flex: 0")||u.width&&u.width.includes("%"))if(d.includes("flex")&&"100%"==u.width)for(var p=f+1;p<this.stack.length;p++){var g=this.stack[p].attrs.style||"";if(!g.includes(";width")&&!g.includes(" width")&&0!=g.indexOf("width")){u.width="";break}}else d.includes("inline-block")&&(u.width&&"%"==u.width[u.width.length-1]?(h.attrs.style+=";max-width:"+u.width,u.width=""):h.attrs.style+=";max-width:100%");else{u.width="100% !important",u.height="";for(var v=f+1;v<this.stack.length;v++)this.stack[v].attrs.style=(this.stack[v].attrs.style||"").replace("inline-","")}h.c=1}i.i=this.imgList.length.toString();var y=i["original-src"]||i.src;if(this.imgList.includes(y)){var m=y.indexOf("://");if(-1!=m){m+=3;for(var b=y.substr(0,m);m<y.length;m++){if("/"==y[m])break;b+=Math.random()>.5?y[m].toUpperCase():y[m]}b+=y.substr(m),y=b}}this.imgList.push(y)}"inline"==u.display&&(u.display=""),i.ignore&&(u["max-width"]=u["max-width"]||"100%",i.style+=";-webkit-touch-callout:none"),parseInt(u.width)>r&&(u.height=void 0),u.width&&(u.width.includes("auto")?u.width="":(e.w="T",u.height&&!u.height.includes("auto")&&(e.h="T")))}else if("svg"==e.name)return s.push(e),this.stack.push(e),void this.popNode();for(var x in u)u[x]&&(i.style+=";".concat(x,":").concat(u[x].replace(" !important","")));i.style=i.style.substr(1)||void 0}else("pre"==e.name||(i.style||"").includes("white-space")&&i.style.includes("pre"))&&(this.pre=e.pre=!0),e.children=[],this.stack.push(e);s.push(e)},c.prototype.onCloseTag=function(t){var e;for(t=this.xml?t:t.toLowerCase(),e=this.stack.length;e--;)if(this.stack[e].name==t)break;if(-1!=e)while(this.stack.length>e)this.popNode();else if("p"==t||"br"==t){var n=this.stack.length?this.stack[this.stack.length-1].children:this.nodes;n.push({name:t,attrs:{}})}},c.prototype.popNode=function(){var t=this.stack.pop(),i=t.attrs,o=t.children,a=this.stack[this.stack.length-1],s=a?a.children:this.nodes;if(!this.hook(t)||n.ignoreTags[t.name])return"title"==t.name&&o.length&&"text"==o[0].type&&this.options.setTitle&&e.setNavigationBarTitle({title:o[0].text}),void s.pop();if(t.pre){t.pre=this.pre=void 0;for(var c=this.stack.length;c--;)this.stack[c].pre&&(this.pre=!0)}var l={};if("svg"==t.name){var u="",f=i.style;return i.style="",i.xmlns="http://www.w3.org/2000/svg",function t(e){for(var n in u+="<"+e.name,e.attrs){var r=e.attrs[n];r&&("viewbox"==n&&(n="viewBox"),u+=" ".concat(n,'="').concat(r,'"'))}if(e.children){u+=">";for(var i=0;i<e.children.length;i++)t(e.children[i]);u+="</"+e.name+">"}else u+="/>"}(t),t.name="img",t.attrs={src:"data:image/svg+xml;utf8,"+u.replace(/#/g,"%23"),style:f,ignore:"T"},t.children=void 0,void(this.xml=!1)}if(i.align&&("table"==t.name?"center"==i.align?l["margin-inline-start"]=l["margin-inline-end"]="auto":l["float"]=i.align:l["text-align"]=i.align,i.align=void 0),"font"==t.name&&(i.color&&(l.color=i.color,i.color=void 0),i.face&&(l["font-family"]=i.face,i.face=void 0),i.size)){var h=parseInt(i.size);isNaN(h)||(h<1?h=1:h>7&&(h=7),l["font-size"]=["xx-small","x-small","small","medium","large","x-large","xx-large"][h-1]),i.size=void 0}if((i["class"]||"").includes("align-center")&&(l["text-align"]="center"),Object.assign(l,this.parseStyle(t)),parseInt(l.width)>r&&(l["max-width"]="100%",l["box-sizing"]="border-box"),n.blockTags[t.name]?t.name="div":n.trustTags[t.name]||this.xml||(t.name="span"),"a"==t.name||"ad"==t.name)this.expose();else if("ul"!=t.name&&"ol"!=t.name||!t.c){if("table"==t.name){var d=parseFloat(i.cellpadding),p=parseFloat(i.cellspacing),g=parseFloat(i.border);if(t.c&&(isNaN(d)&&(d=2),isNaN(p)&&(p=2)),g&&(i.style+=";border:"+g+"px solid gray"),t.flag&&t.c){l.display="grid",p?(l["grid-gap"]=p+"px",l.padding=p+"px"):g&&(i.style+=";border-left:0;border-top:0");var v=[],y=[],m=[],b={};(function t(e){for(var n=0;n<e.length;n++)"tr"==e[n].name?y.push(e[n]):t(e[n].children||[])})(o);for(var x=1;x<=y.length;x++){for(var _=1,w=0;w<y[x-1].children.length;w++,_++){var A=y[x-1].children[w];if("td"==A.name||"th"==A.name){while(b[x+"."+_])_++;var S=A.attrs.style||"",T=S.indexOf("width")?S.indexOf(";width"):0;if(-1!=T){var k=S.indexOf(";",T+6);-1==k&&(k=S.length),A.attrs.colspan||(v[_]=S.substring(T?T+7:6,k)),S=S.substr(0,T)+S.substr(k)}if(S+=(g?";border:".concat(g,"px solid gray")+(p?"":";border-right:0;border-bottom:0"):"")+(d?";padding:".concat(d,"px"):""),A.attrs.colspan&&(S+=";grid-column-start:".concat(_,";grid-column-end:").concat(_+parseInt(A.attrs.colspan)),A.attrs.rowspan||(S+=";grid-row-start:".concat(x,";grid-row-end:").concat(x+1)),_+=parseInt(A.attrs.colspan)-1),A.attrs.rowspan){S+=";grid-row-start:".concat(x,";grid-row-end:").concat(x+parseInt(A.attrs.rowspan)),A.attrs.colspan||(S+=";grid-column-start:".concat(_,";grid-column-end:").concat(_+1));for(var P=1;P<A.attrs.rowspan;P++)b[x+P+"."+_]=1}S&&(A.attrs.style=S),m.push(A)}}if(1==x){for(var O="",C=1;C<_;C++)O+=(v[C]?v[C]:"auto")+" ";l["grid-template-columns"]=O}}t.children=m}else t.c&&(l.display="table"),isNaN(p)||(l["border-spacing"]=p+"px"),(g||d)&&function t(e){for(var n=0;n<e.length;n++){var r=e[n];"th"==r.name||"td"==r.name?(g&&(r.attrs.style="border:".concat(g,"px solid gray;").concat(r.attrs.style||"")),d&&(r.attrs.style="padding:".concat(d,"px;").concat(r.attrs.style||""))):r.children&&t(r.children)}}(o);if(this.options.scrollTable&&!(i.style||"").includes("inline")){var L=Object.assign({},t);t.name="div",t.attrs={style:"overflow:auto"},t.children=[L],i=L.attrs}}else if("td"!=t.name&&"th"!=t.name||!i.colspan&&!i.rowspan){if("ruby"==t.name){t.name="span";for(var D=0;D<o.length-1;D++)"text"==o[D].type&&"rt"==o[D+1].name&&(o[D]={name:"div",attrs:{style:"display:inline-block"},children:[{name:"div",attrs:{style:"font-size:50%;text-align:start"},children:o[D+1].children},o[D]]},o.splice(D+1,1))}else if(t.c){t.c=2;for(var M=t.children.length;M--;)t.children[M].c&&"table"!=t.children[M].name||(t.c=1)}}else for(var E=this.stack.length;E--;)if("table"==this.stack[E].name){this.stack[E].flag=1;break}}else{var I={a:"lower-alpha",A:"upper-alpha",i:"lower-roman",I:"upper-roman"};I[i.type]&&(i.style+=";list-style-type:"+I[i.type],i.type=void 0);for(var $=o.length;$--;)"li"==o[$].name&&(o[$].c=1)}if((l.display||"").includes("flex")&&!t.c)for(var F=o.length;F--;){var R=o[F];R.f&&(R.attrs.style=(R.attrs.style||"")+R.f,R.f=void 0)}var j=a&&(a.attrs.style||"").includes("flex")&&!(t.c&&wx.getNFCAdapter);for(var N in j&&(t.f=";max-width:100%"),l)if(l[N]){var z=";".concat(N,":").concat(l[N].replace(" !important",""));j&&(N.includes("flex")&&"flex-direction"!=N||"align-self"==N||"-"==l[N][0]||"width"==N&&z.includes("%"))?(t.f+=z,"width"==N&&(i.style+=";width:100%")):i.style+=z}i.style=i.style.substr(1)||void 0},c.prototype.onText=function(t){if(!this.pre){for(var e,n="",r=0,o=t.length;r<o;r++)i[t[r]]?(" "!=n[n.length-1]&&(n+=" "),"\n"!=t[r]||e||(e=!0)):n+=t[r];if(" "==n&&e)return;t=n}var a=Object.create(null);if(a.type="text",a.text=s(t),this.hook(a)){var c=this.stack.length?this.stack[this.stack.length-1].children:this.nodes;c.push(a)}},l.prototype.parse=function(t){this.content=t||"",this.i=0,this.start=0,this.state=this.text;for(var e=this.content.length;-1!=this.i&&this.i<e;)this.state()},l.prototype.checkClose=function(t){var e="/"==this.content[this.i];return!!(">"==this.content[this.i]||e&&">"==this.content[this.i+1])&&(t&&this.handler[t](this.content.substring(this.start,this.i)),this.i+=e?2:1,this.start=this.i,this.handler.onOpenTag(e),"script"==this.handler.tagName?(this.i=this.content.indexOf("</",this.i),-1!=this.i&&(this.i+=2,this.start=this.i),this.state=this.endTag):this.state=this.text,!0)},l.prototype.text=function(){if(this.i=this.content.indexOf("<",this.i),-1!=this.i){var t=this.content[this.i+1];if(t>="a"&&t<="z"||t>="A"&&t<="Z")this.start!=this.i&&this.handler.onText(this.content.substring(this.start,this.i)),this.start=++this.i,this.state=this.tagName;else if("/"==t||"!"==t||"?"==t){this.start!=this.i&&this.handler.onText(this.content.substring(this.start,this.i));var e=this.content[this.i+2];if("/"==t&&(e>="a"&&e<="z"||e>="A"&&e<="Z"))return this.i+=2,this.start=this.i,this.state=this.endTag;var n="--\x3e";"!"==t&&"-"==this.content[this.i+2]&&"-"==this.content[this.i+3]||(n=">"),this.i=this.content.indexOf(n,this.i),-1!=this.i&&(this.i+=n.length,this.start=this.i)}else this.i++}else this.start<this.content.length&&this.handler.onText(this.content.substring(this.start,this.content.length))},l.prototype.tagName=function(){if(i[this.content[this.i]]){this.handler.onTagName(this.content.substring(this.start,this.i));while(i[this.content[++this.i]]);this.i<this.content.length&&!this.checkClose()&&(this.start=this.i,this.state=this.attrName)}else this.checkClose("onTagName")||this.i++},l.prototype.attrName=function(){var t=this.content[this.i];if(i[t]||"="==t){this.handler.onAttrName(this.content.substring(this.start,this.i));var e="="==t,n=this.content.length;while(++this.i<n)if(t=this.content[this.i],!i[t]){if(this.checkClose())return;if(e)return this.start=this.i,this.state=this.attrVal;if("="!=this.content[this.i])return this.start=this.i,this.state=this.attrName;e=!0}}else this.checkClose("onAttrName")||this.i++},l.prototype.attrVal=function(){var t=this.content[this.i],e=this.content.length;if('"'==t||"'"==t){if(this.start=++this.i,this.i=this.content.indexOf(t,this.i),-1==this.i)return;this.handler.onAttrVal(this.content.substring(this.start,this.i))}else for(;this.i<e;this.i++){if(i[this.content[this.i]]){this.handler.onAttrVal(this.content.substring(this.start,this.i));break}if(this.checkClose("onAttrVal"))return}while(i[this.content[++this.i]]);this.i<e&&!this.checkClose()&&(this.start=this.i,this.state=this.attrName)},l.prototype.endTag=function(){var t=this.content[this.i];if(i[t]||">"==t||"/"==t){if(this.handler.onCloseTag(this.content.substring(this.start,this.i)),">"!=t&&(this.i=this.content.indexOf(">",this.i),-1==this.i))return;this.start=++this.i,this.state=this.text}else this.i++},t.exports=c}).call(this,n("543d")["default"])},"31e4":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={namespaced:!0,state:{hotWord:[]},getters:{},mutations:{setHotWord:function(t,e){t.hotWord=e}}};e.default=r},3474:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getUserInfo=c,e.userShare=l,e.loginH5=u,e.loginMobile=f,e.getCodeApi=h,e.registerVerify=d,e.register=p,e.registerReset=g,e.getMenuList=v,e.postSignUser=y,e.getSignConfig=m,e.getSignList=b,e.setSignIntegral=x,e.getSignMonthList=_,e.userActivity=w,e.getCommissionInfo=A,e.getIntegralList=S,e.spreadBanner=T,e.spreadPeople=k,e.spreadCount=P,e.getSpreadInfo=O,e.spreadOrder=C,e.getRankList=L,e.getBrokerageRank=D,e.extractCash=M,e.extractBank=E,e.userLevelGrade=I,e.userLevelTask=$,e.userLevelDetection=F,e.getAddressList=R,e.setAddressDefault=j,e.editAddress=N,e.delAddress=z,e.getAddressDetail=U,e.userEdit=H,e.getLogout=B,e.rechargeRoutine=W,e.rechargeWechat=G,e.getAddressDefault=V,e.getRechargeApi=X,e.setVisit=K,e.serviceList=Y,e.getChatRecord=q,e.spread=J,e.getlevelInfo=Z,e.getlevelExpList=Q,e.updateUserInfo=tt,e.phoneWxSilenceAuth=et,e.phoneSilenceAuth=nt,e.invoiceList=rt,e.invoiceSave=it,e.invoiceDelete=ot,e.invoiceDefault=at,e.invoiceDetail=st,e.invoiceOrder=ct,e.makeUpinvoice=lt,e.memberCard=ut,e.memberCardDraw=ft,e.memberCardCreate=ht,e.memberCouponsList=dt,e.groomList=pt,e.memberOverdueTime=gt,e.spreadMsg=vt,e.imgToBase=yt,e.routineCode=mt,e.serviceRecord=bt,e.messageSystem=xt,e.getMsgDetails=_t,e.appleLogin=wt,e.getUserAgreement=At,e.agentLevelList=St,e.agentLevelTaskList=Tt,e.friendDetail=kt,e.clerkPeople=Pt,e.setClerkPercent=Ot,e.delClerkPercent=Ct;var r=i(n("9011"));function i(t){return t&&t.__esModule?t:{default:t}}function o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function a(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?o(Object(n),!0).forEach((function(e){s(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function s(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function c(){return r.default.get("user")}function l(){return r.default.post("user/share")}function u(t){return r.default.post("login",t,{noAuth:!0})}function f(t){return r.default.post("login/mobile",t,{noAuth:!0})}function h(){return r.default.get("verify_code",{},{noAuth:!0})}function d(t){return r.default.post("register/verify",t,{noAuth:!0})}function p(t){return r.default.post("register",t,{noAuth:!0})}function g(t){return r.default.post("register/reset",t,{noAuth:!0})}function v(){return r.default.get("menu/user",{},{noAuth:!0})}function y(t){return r.default.post("sign/user",t)}function m(){return r.default.get("sign/config")}function b(t){return r.default.get("sign/list",t)}function x(){return r.default.post("sign/integral")}function _(t){return r.default.get("sign/month",t)}function w(){return r.default.get("user/activity")}function A(t,e){return r.default.get("spread/commission/"+e,t)}function S(t){return r.default.get("integral/list",t)}function T(){return r.default.get("spread/banner",{type:1})}function k(t){return r.default.post("spread/people",t)}function P(t){return r.default.get("spread/count/"+t)}function O(){return r.default.get("commission")}function C(t){return r.default.post("spread/order",t)}function L(t){return r.default.get("rank",t)}function D(t){return r.default.get("brokerage_rank",t)}function M(t){return r.default.post("extract/cash",t)}function E(){return r.default.get("extract/bank")}function I(){return r.default.get("user/level/grade")}function $(t){return r.default.get("user/level/task/"+t)}function F(){return r.default.get("user/level/detection")}function R(t){return r.default.get("address/list",t)}function j(t){return r.default.post("address/default/set",{id:t})}function N(t){return r.default.post("address/edit",t)}function z(t){return r.default.post("address/del",{id:t})}function U(t){return r.default.get("address/detail/"+t)}function H(t){return r.default.post("user/edit",t)}function B(){return r.default.get("logout")}function W(t){return r.default.post("recharge/routine",t)}function G(t){return r.default.post("recharge/wechat",t)}function V(){return r.default.get("address/default")}function X(){return r.default.get("recharge/index")}function K(t){return r.default.post("user/set_visit",a({},t),{noAuth:!0})}function Y(){return r.default.get("user/service/list")}function q(t){return r.default.get("v2/user/service/record",t)}function J(t){return r.default.post("user/spread",t)}function Z(){return r.default.get("user/level/info")}function Q(t){return r.default.get("user/level/expList",t)}function tt(t){return r.default.post("v2/user/user_update",t)}function et(t){return r.default.post("v2/phone_wx_silence_auth",t,{noAuth:!0})}function nt(t){return r.default.post("v2/phone_silence_auth",t,{noAuth:!0})}function rt(t){return r.default.get("v2/invoice",t,{noAuth:!0})}function it(t){return r.default.post("v2/invoice/save",t,{noAuth:!0})}function ot(t){return r.default.get("v2/invoice/del/"+t)}function at(t){return r.default.get("v2/invoice/get_default/"+t)}function st(t){return r.default.get("v2/invoice/detail/"+t)}function ct(t){return r.default.post("v2/order/make_up_invoice",t)}function lt(t){return r.default.post("v2/order/make_up_invoice",t)}function ut(){return r.default.get("user/member/card/index")}function ft(t){return r.default.post("user/member/card/draw",t)}function ht(t){return r.default.post("user/member/card/create",t)}function dt(){return r.default.get("user/member/coupons/list")}function pt(t,e){return r.default.get("groom/list/".concat(t),e)}function gt(t){return r.default.get("user/member/overdue/time",t)}function vt(){return r.default.get("user/spread_info")}function yt(t){return r.default.post("image_base64",t)}function mt(t){return r.default.get("user/routine_code",t)}function bt(t){return r.default.get("user/record",t)}function xt(t){return r.default.get("user/message_system/list",t)}function _t(t){return r.default.get("user/message_system/detail/"+t)}function wt(t){return r.default.post("apple_login",t,{noAuth:!0})}function At(){return r.default.get("user_agreement",{},{noAuth:!0})}function St(){return r.default.get("v2/agent/level_list")}function Tt(t){return r.default.get("v2/agent/level_task_list?id="+t)}function kt(t){return r.default.get("order/friend_detail?order_id="+t)}function Pt(t){return r.default.get("agent/get_staff_list",t)}function Ot(t){return r.default.post("agent/set_staff_percent",t)}function Ct(t){return r.default.get("agent/del_staff/".concat(t))}},"37dc":function(t,e,n){"use strict";(function(t,n){function r(t,e){return c(t)||s(t,e)||o(t,e)||i()}function i(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function o(t,e){if(t){if("string"===typeof t)return a(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(t,e):void 0}}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function s(t,e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),e&&n.length===e)break}catch(c){i=!0,o=c}finally{try{r||null==s["return"]||s["return"]()}finally{if(i)throw o}}return n}}function c(t){if(Array.isArray(t))return t}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function f(t,e,n){return e&&u(t.prototype,e),n&&u(t,n),t}Object.defineProperty(e,"__esModule",{value:!0}),e.compileI18nJsonStr=N,e.hasI18nJson=R,e.initVueI18n=I,e.isI18nStr=z,e.normalizeLocale=L,e.parseI18nJson=j,e.resolveLocale=G,e.isString=e.LOCALE_ZH_HANT=e.LOCALE_ZH_HANS=e.LOCALE_FR=e.LOCALE_ES=e.LOCALE_EN=e.I18n=e.Formatter=void 0;var h=Array.isArray,d=function(t){return null!==t&&"object"===typeof t},p=["{","}"],g=function(){function t(){l(this,t),this._caches=Object.create(null)}return f(t,[{key:"interpolate",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:p;if(!e)return[t];var r=this._caches[t];return r||(r=m(t,n),this._caches[t]=r),b(r,e)}}]),t}();e.Formatter=g;var v=/^(?:\d)+/,y=/^(?:\w)+/;function m(t,e){var n=r(e,2),i=n[0],o=n[1],a=[],s=0,c="";while(s<t.length){var l=t[s++];if(l===i){c&&a.push({type:"text",value:c}),c="";var u="";l=t[s++];while(void 0!==l&&l!==o)u+=l,l=t[s++];var f=l===o,h=v.test(u)?"list":f&&y.test(u)?"named":"unknown";a.push({value:u,type:h})}else c+=l}return c&&a.push({type:"text",value:c}),a}function b(t,e){var n=[],r=0,i=h(e)?"list":d(e)?"named":"unknown";if("unknown"===i)return n;while(r<t.length){var o=t[r];switch(o.type){case"text":n.push(o.value);break;case"list":n.push(e[parseInt(o.value,10)]);break;case"named":"named"===i&&n.push(e[o.value]);break;case"unknown":0;break}r++}return n}var x="zh-Hans";e.LOCALE_ZH_HANS=x;var _="zh-Hant";e.LOCALE_ZH_HANT=_;var w="en";e.LOCALE_EN=w;var A="fr";e.LOCALE_FR=A;var S="es";e.LOCALE_ES=S;var T=Object.prototype.hasOwnProperty,k=function(t,e){return T.call(t,e)},P=new g;function O(t,e){return!!e.find((function(e){return-1!==t.indexOf(e)}))}function C(t,e){return e.find((function(e){return 0===t.indexOf(e)}))}function L(t,e){if(t){if(t=t.trim().replace(/_/g,"-"),e&&e[t])return t;if(t=t.toLowerCase(),0===t.indexOf("zh"))return t.indexOf("-hans")>-1?x:t.indexOf("-hant")>-1||O(t,["-tw","-hk","-mo","-cht"])?_:x;var n=C(t,[w,A,S]);return n||void 0}}var D=function(){function t(e){var n=e.locale,r=e.fallbackLocale,i=e.messages,o=e.watcher,a=e.formater;l(this,t),this.locale=w,this.fallbackLocale=w,this.message={},this.messages={},this.watchers=[],r&&(this.fallbackLocale=r),this.formater=a||P,this.messages=i||{},this.setLocale(n||w),o&&this.watchLocale(o)}return f(t,[{key:"setLocale",value:function(t){var e=this,n=this.locale;this.locale=L(t,this.messages)||this.fallbackLocale,this.messages[this.locale]||(this.messages[this.locale]={}),this.message=this.messages[this.locale],n!==this.locale&&this.watchers.forEach((function(t){t(e.locale,n)}))}},{key:"getLocale",value:function(){return this.locale}},{key:"watchLocale",value:function(t){var e=this,n=this.watchers.push(t)-1;return function(){e.watchers.splice(n,1)}}},{key:"add",value:function(t,e){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=this.messages[t];r?n?Object.assign(r,e):Object.keys(e).forEach((function(t){k(r,t)||(r[t]=e[t])})):this.messages[t]=e}},{key:"f",value:function(t,e,n){return this.formater.interpolate(t,e,n).join("")}},{key:"t",value:function(t,e,n){var r=this.message;return"string"===typeof e?(e=L(e,this.messages),e&&(r=this.messages[e])):n=e,k(r,t)?this.formater.interpolate(r[t],n).join(""):t}}]),t}();function M(t,e){t.$watchLocale?t.$watchLocale((function(t){e.setLocale(t)})):t.$watch((function(){return t.$locale}),(function(t){e.setLocale(t)}))}function E(){return"undefined"!==typeof t&&t.getLocale?t.getLocale():"undefined"!==typeof n&&n.getLocale?n.getLocale():w}function I(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0;if("string"!==typeof t){var i=[e,t];t=i[0],e=i[1]}"string"!==typeof t&&(t=E()),"string"!==typeof n&&(n="undefined"!==typeof __uniConfig&&__uniConfig.fallbackLocale||w);var o=new D({locale:t,fallbackLocale:n,messages:e,watcher:r}),a=function(t,e){if("function"!==typeof getApp)a=function(t,e){return o.t(t,e)};else{var n=!1;a=function(t,e){var r=getApp().$vm;return r&&(r.$locale,n||(n=!0,M(r,o))),o.t(t,e)}}return a(t,e)};return{i18n:o,f:function(t,e,n){return o.f(t,e,n)},t:function(t,e){return a(t,e)},add:function(t,e){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return o.add(t,e,n)},watch:function(t){return o.watchLocale(t)},getLocale:function(){return o.getLocale()},setLocale:function(t){return o.setLocale(t)}}}e.I18n=D;var $,F=function(t){return"string"===typeof t};function R(t,e){return $||($=new g),W(t,(function(t,n){var r=t[n];return F(r)?!!z(r,e)||void 0:R(r,e)}))}function j(t,e,n){return $||($=new g),W(t,(function(t,r){var i=t[r];F(i)?z(i,n)&&(t[r]=U(i,e,n)):j(i,e,n)})),t}function N(t,e){var n=e.locale,r=e.locales,i=e.delimiters;if(!z(t,i))return t;$||($=new g);var o=[];Object.keys(r).forEach((function(t){t!==n&&o.push({locale:t,values:r[t]})})),o.unshift({locale:n,values:r[n]});try{return JSON.stringify(B(JSON.parse(t),o,i),null,2)}catch(a){}return t}function z(t,e){return t.indexOf(e[0])>-1}function U(t,e,n){return $.interpolate(t,e,n).join("")}function H(t,e,n,r){var i=t[e];if(F(i)){if(z(i,r)&&(t[e]=U(i,n[0].values,r),n.length>1)){var o=t[e+"Locales"]={};n.forEach((function(t){o[t.locale]=U(i,t.values,r)}))}}else B(i,n,r)}function B(t,e,n){return W(t,(function(t,r){H(t,r,e,n)})),t}function W(t,e){if(h(t)){for(var n=0;n<t.length;n++)if(e(t,n))return!0}else if(d(t))for(var r in t)if(e(t,r))return!0;return!1}function G(t){return function(e){return e?(e=L(e)||e,V(e).find((function(e){return t.indexOf(e)>-1}))):e}}function V(t){var e=[],n=t.split("-");while(n.length)e.push(n.join("-")),n.pop();return e}e.isString=F}).call(this,n("543d")["default"],n("c8ba"))},4729:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.goShopDetail=r,e.goPage=i;var n=getApp();function r(e,n){return new Promise((function(r){e.activity&&"1"===e.activity.type?t.navigateTo({url:"/pages/activity/goods_seckill_details/index?id=".concat(e.activity.id,"&time=").concat(e.activity.time,"&status=1")}):e.activity&&"2"===e.activity.type?t.navigateTo({url:"/pages/activity/goods_bargain_details/index?id=".concat(e.activity.id,"&bargain=").concat(n)}):e.activity&&"3"===e.activity.type?t.navigateTo({url:"/pages/activity/goods_combination_details/index?id=".concat(e.activity.id)}):r(e)}))}function i(){return new Promise((function(t){if(0!=n.globalData.isIframe)return!1;t(!0)}))}}).call(this,n("543d")["default"])},"4f72":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getCombinationList=o,e.getCombinationDetail=a,e.getCombinationPink=s,e.postCombinationRemove=c,e.getBargainList=l,e.getCombinationBannerList=u,e.getPink=f,e.getBargainUserList=h,e.getBargainDetail=d,e.postBargainStartUser=p,e.postBargainStart=g,e.postBargainHelp=v,e.postBargainHelpPrice=y,e.postBargainHelpList=m,e.postBargainHelpCount=b,e.postBargainShare=x,e.getSeckillIndexTime=_,e.getSeckillList=w,e.getSeckillDetail=A,e.getBargainPoster=S,e.getCombinationPoster=T,e.getBargainUserCancel=k,e.seckillCode=P,e.scombinationCode=O,e.getCombinationPosterData=C,e.getBargainPosterData=L,e.integralOrderConfirm=D,e.integralOrderCreate=M,e.integralOrderDetails=E,e.getIntegralProductDetail=I,e.getStoreIntegralList=$,e.getIntegralOrderList=F,e.getLogisticsDetails=R,e.orderTake=j,e.orderDel=N,e.getPresellList=z;var r=i(n("9011"));function i(t){return t&&t.__esModule?t:{default:t}}function o(t){return r.default.get("combination/list",t,{noAuth:!0})}function a(t){return r.default.get("combination/detail/"+t)}function s(t){return r.default.get("combination/pink/"+t)}function c(t){return r.default.post("combination/remove",t)}function l(t){return r.default.get("bargain/list",t,{noAuth:!0})}function u(t){return r.default.get("combination/banner_list",t,{noAuth:!0})}function f(t){return r.default.get("pink",t,{noAuth:!0})}function h(t){return r.default.get("bargain/user/list",t)}function d(t){return r.default.get("bargain/detail/"+t)}function p(t){return r.default.post("bargain/start/user",t)}function g(t){return r.default.post("bargain/start",{bargainId:t})}function v(t){return r.default.post("bargain/help",t)}function y(t){return r.default.post("bargain/help/price",t)}function m(t){return r.default.post("bargain/help/list",t)}function b(t){return r.default.post("bargain/help/count",t)}function x(t){return r.default.post("bargain/share",{bargainId:t})}function _(){return r.default.get("seckill/index",{},{noAuth:!0})}function w(t,e){return r.default.get("seckill/list/"+t,e,{noAuth:!0})}function A(t,e){return r.default.get("seckill/detail/"+t,e)}function S(t){return r.default.post("bargain/poster",t)}function T(t){return r.default.post("combination/poster",t)}function k(t){return r.default.post("bargain/user/cancel",t)}function P(t,e){return r.default.get("seckill/code/"+t,e)}function O(t){return r.default.get("combination/code/"+t)}function C(t){return r.default.get("combination/poster_info/"+t)}function L(t){return r.default.get("bargain/poster_info/"+t)}function D(t){return r.default.post("store_integral/order/confirm",t)}function M(t){return r.default.post("store_integral/order/create",t)}function E(t){return r.default.get("store_integral/order/detail/".concat(t))}function I(t){return r.default.get("store_integral/detail/"+t,{},{noAuth:!0})}function $(t){return r.default.get("store_integral/list",t)}function F(t){return r.default.get("store_integral/order/list",t)}function R(t){return r.default.get("store_integral/order/express/".concat(t))}function j(t){return r.default.post("store_integral/order/take",t)}function N(t){return r.default.post("store_integral/order/del",t)}function z(t){return r.default.get("advance/list",t)}},"50b4":function(t,e){},"514d":function(t,e){t.exports={HTTP_REQUEST_URL:"https://demo.crmeb.com",HEADER:{"content-type":"application/json","Form-type":"routine"},TOKENNAME:"Authori-zation",EXPIRE:0,LIMIT:10}},"52ec":function(t,e,n){!function(e,n){t.exports=n()}(0,(function(){"use strict";var t="millisecond",e="second",n="minute",r="hour",i="day",o="week",a="month",s="quarter",c="year",l=/^(\d{4})-?(\d{1,2})-?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?.?(\d{1,3})?$/,u=/\[([^\]]+)]|Y{2,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,f=function(t,e,n){var r=String(t);return!r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},h={s:f,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return(e<=0?"+":"-")+f(r,2,"0")+":"+f(i,2,"0")},m:function(t,e){var n=12*(e.year()-t.year())+(e.month()-t.month()),r=t.clone().add(n,a),i=e-r<0,o=t.clone().add(n+(i?-1:1),a);return Number(-(n+(e-r)/(i?r-o:o-r))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(l){return{M:a,y:c,w:o,d:i,D:"date",h:r,m:n,s:e,ms:t,Q:s}[l]||String(l||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},d={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},p="en",g={};g[p]=d;var v=function(t){return t instanceof x},y=function(t,e,n){var r;if(!t)return p;if("string"==typeof t)g[t]&&(r=t),e&&(g[t]=e,r=t);else{var i=t.name;g[i]=t,r=i}return!n&&r&&(p=r),r||!n&&p},m=function(t,e){if(v(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new x(n)},b=h;b.l=y,b.i=v,b.w=function(t,e){return m(t,{locale:e.$L,utc:e.$u,$offset:e.$offset})};var x=function(){function f(t){this.$L=this.$L||y(t.locale,null,!0),this.parse(t)}var h=f.prototype;return h.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(b.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match(l);if(r)return n?new Date(Date.UTC(r[1],r[2]-1,r[3]||1,r[4]||0,r[5]||0,r[6]||0,r[7]||0)):new Date(r[1],r[2]-1,r[3]||1,r[4]||0,r[5]||0,r[6]||0,r[7]||0)}return new Date(e)}(t),this.init()},h.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},h.$utils=function(){return b},h.isValid=function(){return!("Invalid Date"===this.$d.toString())},h.isSame=function(t,e){var n=m(t);return this.startOf(e)<=n&&n<=this.endOf(e)},h.isAfter=function(t,e){return m(t)<this.startOf(e)},h.isBefore=function(t,e){return this.endOf(e)<m(t)},h.$g=function(t,e,n){return b.u(t)?this[e]:this.set(n,t)},h.year=function(t){return this.$g(t,"$y",c)},h.month=function(t){return this.$g(t,"$M",a)},h.day=function(t){return this.$g(t,"$W",i)},h.date=function(t){return this.$g(t,"$D","date")},h.hour=function(t){return this.$g(t,"$H",r)},h.minute=function(t){return this.$g(t,"$m",n)},h.second=function(t){return this.$g(t,"$s",e)},h.millisecond=function(e){return this.$g(e,"$ms",t)},h.unix=function(){return Math.floor(this.valueOf()/1e3)},h.valueOf=function(){return this.$d.getTime()},h.startOf=function(t,s){var l=this,u=!!b.u(s)||s,f=b.p(t),h=function(t,e){var n=b.w(l.$u?Date.UTC(l.$y,e,t):new Date(l.$y,e,t),l);return u?n:n.endOf(i)},d=function(t,e){return b.w(l.toDate()[t].apply(l.toDate("s"),(u?[0,0,0,0]:[23,59,59,999]).slice(e)),l)},p=this.$W,g=this.$M,v=this.$D,y="set"+(this.$u?"UTC":"");switch(f){case c:return u?h(1,0):h(31,11);case a:return u?h(1,g):h(0,g+1);case o:var m=this.$locale().weekStart||0,x=(p<m?p+7:p)-m;return h(u?v-x:v+(6-x),g);case i:case"date":return d(y+"Hours",0);case r:return d(y+"Minutes",1);case n:return d(y+"Seconds",2);case e:return d(y+"Milliseconds",3);default:return this.clone()}},h.endOf=function(t){return this.startOf(t,!1)},h.$set=function(o,s){var l,u=b.p(o),f="set"+(this.$u?"UTC":""),h=(l={},l[i]=f+"Date",l.date=f+"Date",l[a]=f+"Month",l[c]=f+"FullYear",l[r]=f+"Hours",l[n]=f+"Minutes",l[e]=f+"Seconds",l[t]=f+"Milliseconds",l)[u],d=u===i?this.$D+(s-this.$W):s;if(u===a||u===c){var p=this.clone().set("date",1);p.$d[h](d),p.init(),this.$d=p.set("date",Math.min(this.$D,p.daysInMonth())).toDate()}else h&&this.$d[h](d);return this.init(),this},h.set=function(t,e){return this.clone().$set(t,e)},h.get=function(t){return this[b.p(t)]()},h.add=function(t,s){var l,u=this;t=Number(t);var f=b.p(s),h=function(e){var n=m(u);return b.w(n.date(n.date()+Math.round(e*t)),u)};if(f===a)return this.set(a,this.$M+t);if(f===c)return this.set(c,this.$y+t);if(f===i)return h(1);if(f===o)return h(7);var d=(l={},l[n]=6e4,l[r]=36e5,l[e]=1e3,l)[f]||1,p=this.$d.getTime()+t*d;return b.w(p,this)},h.subtract=function(t,e){return this.add(-1*t,e)},h.format=function(t){var e=this;if(!this.isValid())return"Invalid Date";var n=t||"YYYY-MM-DDTHH:mm:ssZ",r=b.z(this),i=this.$locale(),o=this.$H,a=this.$m,s=this.$M,c=i.weekdays,l=i.months,f=function(t,r,i,o){return t&&(t[r]||t(e,n))||i[r].substr(0,o)},h=function(t){return b.s(o%12||12,t,"0")},d=i.meridiem||function(t,e,n){var r=t<12?"AM":"PM";return n?r.toLowerCase():r},p={YY:String(this.$y).slice(-2),YYYY:this.$y,M:s+1,MM:b.s(s+1,2,"0"),MMM:f(i.monthsShort,s,l,3),MMMM:l[s]||l(this,n),D:this.$D,DD:b.s(this.$D,2,"0"),d:String(this.$W),dd:f(i.weekdaysMin,this.$W,c,2),ddd:f(i.weekdaysShort,this.$W,c,3),dddd:c[this.$W],H:String(o),HH:b.s(o,2,"0"),h:h(1),hh:h(2),a:d(o,a,!0),A:d(o,a,!1),m:String(a),mm:b.s(a,2,"0"),s:String(this.$s),ss:b.s(this.$s,2,"0"),SSS:b.s(this.$ms,3,"0"),Z:r};return n.replace(u,(function(t,e){return e||p[t]||r.replace(":","")}))},h.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},h.diff=function(t,l,u){var f,h=b.p(l),d=m(t),p=6e4*(d.utcOffset()-this.utcOffset()),g=this-d,v=b.m(this,d);return v=(f={},f[c]=v/12,f[a]=v,f[s]=v/3,f[o]=(g-p)/6048e5,f[i]=(g-p)/864e5,f[r]=g/36e5,f[n]=g/6e4,f[e]=g/1e3,f)[h]||g,u?v:b.a(v)},h.daysInMonth=function(){return this.endOf(a).$D},h.$locale=function(){return g[this.$L]},h.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),r=y(t,e,!0);return r&&(n.$L=r),n},h.clone=function(){return b.w(this.$d,this)},h.toDate=function(){return new Date(this.valueOf())},h.toJSON=function(){return this.isValid()?this.toISOString():null},h.toISOString=function(){return this.$d.toISOString()},h.toString=function(){return this.$d.toUTCString()},f}();return m.prototype=x.prototype,m.extend=function(t,e){return t(e,x,m),m},m.locale=y,m.isDayjs=v,m.unix=function(t){return m(1e3*t)},m.en=g[p],m.Ls=g,m}))},"543d":function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.createApp=Je,e.createComponent=un,e.createPage=ln,e.createPlugin=hn,e.createSubpackageApp=fn,e.default=void 0;var r,i=a(n("66fd")),o=n("37dc");function a(t){return t&&t.__esModule?t:{default:t}}function s(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function c(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?s(Object(n),!0).forEach((function(e){d(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function l(t,e){return h(t)||f(t,e)||v(t,e)||u()}function u(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function f(t,e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),e&&n.length===e)break}catch(c){i=!0,o=c}finally{try{r||null==s["return"]||s["return"]()}finally{if(i)throw o}}return n}}function h(t){if(Array.isArray(t))return t}function d(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function p(t){return m(t)||y(t)||v(t)||g()}function g(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function v(t,e){if(t){if("string"===typeof t)return b(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?b(t,e):void 0}}function y(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}function m(t){if(Array.isArray(t))return b(t)}function b(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var x="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_=/^(?:[A-Za-z\d+/]{4})*?(?:[A-Za-z\d+/]{2}(?:==)?|[A-Za-z\d+/]{3}=?)?$/;function w(t){return decodeURIComponent(r(t).split("").map((function(t){return"%"+("00"+t.charCodeAt(0).toString(16)).slice(-2)})).join(""))}function A(){var t,e=wx.getStorageSync("uni_id_token")||"",n=e.split(".");if(!e||3!==n.length)return{uid:null,role:[],permission:[],tokenExpired:0};try{t=JSON.parse(w(n[1]))}catch(r){throw new Error("获取当前用户信息出错,详细错误信息为:"+r.message)}return t.tokenExpired=1e3*t.exp,delete t.exp,delete t.iat,t}function S(t){t.prototype.uniIDHasRole=function(t){var e=A(),n=e.role;return n.indexOf(t)>-1},t.prototype.uniIDHasPermission=function(t){var e=A(),n=e.permission;return this.uniIDHasRole("admin")||n.indexOf(t)>-1},t.prototype.uniIDTokenValid=function(){var t=A(),e=t.tokenExpired;return e>Date.now()}}r="function"!==typeof atob?function(t){if(t=String(t).replace(/[\t\n\f\r ]+/g,""),!_.test(t))throw new Error("Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.");var e;t+="==".slice(2-(3&t.length));for(var n,r,i="",o=0;o<t.length;)e=x.indexOf(t.charAt(o++))<<18|x.indexOf(t.charAt(o++))<<12|(n=x.indexOf(t.charAt(o++)))<<6|(r=x.indexOf(t.charAt(o++))),i+=64===n?String.fromCharCode(e>>16&255):64===r?String.fromCharCode(e>>16&255,e>>8&255):String.fromCharCode(e>>16&255,e>>8&255,255&e);return i}:atob;var T=Object.prototype.toString,k=Object.prototype.hasOwnProperty;function P(t){return"function"===typeof t}function O(t){return"string"===typeof t}function C(t){return"[object Object]"===T.call(t)}function L(t,e){return k.call(t,e)}function D(){}function M(t){var e=Object.create(null);return function(n){var r=e[n];return r||(e[n]=t(n))}}var E=/-(\w)/g,I=M((function(t){return t.replace(E,(function(t,e){return e?e.toUpperCase():""}))})),$=["invoke","success","fail","complete","returnValue"],F={},R={};function j(t,e){var n=e?t?t.concat(e):Array.isArray(e)?e:[e]:t;return n?N(n):n}function N(t){for(var e=[],n=0;n<t.length;n++)-1===e.indexOf(t[n])&&e.push(t[n]);return e}function z(t,e){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}function U(t,e){Object.keys(e).forEach((function(n){-1!==$.indexOf(n)&&P(e[n])&&(t[n]=j(t[n],e[n]))}))}function H(t,e){t&&e&&Object.keys(e).forEach((function(n){-1!==$.indexOf(n)&&P(e[n])&&z(t[n],e[n])}))}function B(t,e){"string"===typeof t&&C(e)?U(R[t]||(R[t]={}),e):C(t)&&U(F,t)}function W(t,e){"string"===typeof t?C(e)?H(R[t],e):delete R[t]:C(t)&&H(F,t)}function G(t){return function(e){return t(e)||e}}function V(t){return!!t&&("object"===typeof t||"function"===typeof t)&&"function"===typeof t.then}function X(t,e){for(var n=!1,r=0;r<t.length;r++){var i=t[r];if(n)n=Promise.resolve(G(i));else{var o=i(e);if(V(o)&&(n=Promise.resolve(o)),!1===o)return{then:function(){}}}}return n||{then:function(t){return t(e)}}}function K(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return["success","fail","complete"].forEach((function(n){if(Array.isArray(t[n])){var r=e[n];e[n]=function(e){X(t[n],e).then((function(t){return P(r)&&r(t)||t}))}}})),e}function Y(t,e){var n=[];Array.isArray(F.returnValue)&&n.push.apply(n,p(F.returnValue));var r=R[t];return r&&Array.isArray(r.returnValue)&&n.push.apply(n,p(r.returnValue)),n.forEach((function(t){e=t(e)||e})),e}function q(t){var e=Object.create(null);Object.keys(F).forEach((function(t){"returnValue"!==t&&(e[t]=F[t].slice())}));var n=R[t];return n&&Object.keys(n).forEach((function(t){"returnValue"!==t&&(e[t]=(e[t]||[]).concat(n[t]))})),e}function J(t,e,n){for(var r=arguments.length,i=new Array(r>3?r-3:0),o=3;o<r;o++)i[o-3]=arguments[o];var a=q(t);if(a&&Object.keys(a).length){if(Array.isArray(a.invoke)){var s=X(a.invoke,n);return s.then((function(t){return e.apply(void 0,[K(a,t)].concat(i))}))}return e.apply(void 0,[K(a,n)].concat(i))}return e.apply(void 0,[n].concat(i))}var Z={returnValue:function(t){return V(t)?new Promise((function(e,n){t.then((function(t){t[0]?n(t[0]):e(t[1])}))})):t}},Q=/^\$|Window$|WindowStyle$|sendHostEvent|sendNativeEvent|restoreGlobal|getCurrentSubNVue|getMenuButtonBoundingClientRect|^report|interceptors|Interceptor$|getSubNVueById|requireNativePlugin|upx2px|hideKeyboard|canIUse|^create|Sync$|Manager$|base64ToArrayBuffer|arrayBufferToBase64|getLocale|setLocale/,tt=/^create|Manager$/,et=["createBLEConnection"],nt=["createBLEConnection"],rt=/^on|^off/;function it(t){return tt.test(t)&&-1===et.indexOf(t)}function ot(t){return Q.test(t)&&-1===nt.indexOf(t)}function at(t){return rt.test(t)&&"onPush"!==t}function st(t){return t.then((function(t){return[null,t]})).catch((function(t){return[t]}))}function ct(t){return!(it(t)||ot(t)||at(t))}function lt(t,e){return ct(t)?function(){for(var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length,i=new Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];return P(n.success)||P(n.fail)||P(n.complete)?Y(t,J.apply(void 0,[t,e,n].concat(i))):Y(t,st(new Promise((function(r,o){J.apply(void 0,[t,e,Object.assign({},n,{success:r,fail:o})].concat(i))}))))}:e}Promise.prototype.finally||(Promise.prototype.finally=function(t){var e=this.constructor;return this.then((function(n){return e.resolve(t()).then((function(){return n}))}),(function(n){return e.resolve(t()).then((function(){throw n}))}))});var ut=1e-4,ft=750,ht=!1,dt=0,pt=0;function gt(){var t=wx.getSystemInfoSync(),e=t.platform,n=t.pixelRatio,r=t.windowWidth;dt=r,pt=n,ht="ios"===e}function vt(t,e){if(0===dt&&gt(),t=Number(t),0===t)return 0;var n=t/ft*(e||dt);return n<0&&(n=-n),n=Math.floor(n+ut),0===n&&(n=1!==pt&&ht?.5:1),t<0?-n:n}function yt(){var t=getApp({allowDefault:!0});return t&&t.$vm?t.$vm.$locale:wx.getSystemInfoSync().language||"zh-Hans"}function mt(t){var e=getApp();if(!e)return!1;var n=e.$vm.$locale;return n!==t&&(e.$vm.$locale=t,bt.forEach((function(e){return e({locale:t})})),!0)}var bt=[];function xt(t){-1===bt.indexOf(t)&&bt.push(t)}"undefined"!==typeof t&&(t.getLocale=yt);var _t={promiseInterceptor:Z},wt=Object.freeze({__proto__:null,upx2px:vt,getLocale:yt,setLocale:mt,onLocaleChange:xt,addInterceptor:B,removeInterceptor:W,interceptors:_t});function At(t){var e=getCurrentPages(),n=e.length;while(n--){var r=e[n];if(r.$page&&r.$page.fullPath===t)return n}return-1}var St,Tt={name:function(t){return"back"===t.exists&&t.delta?"navigateBack":"redirectTo"},args:function(t){if("back"===t.exists&&t.url){var e=At(t.url);if(-1!==e){var n=getCurrentPages().length-1-e;n>0&&(t.delta=n)}}}},kt={args:function(t){var e=parseInt(t.current);if(!isNaN(e)){var n=t.urls;if(Array.isArray(n)){var r=n.length;if(r)return e<0?e=0:e>=r&&(e=r-1),e>0?(t.current=n[e],t.urls=n.filter((function(t,r){return!(r<e)||t!==n[e]}))):t.current=n[0],{indicator:!1,loop:!1}}}}},Pt="__DC_STAT_UUID";function Ot(t){St=St||wx.getStorageSync(Pt),St||(St=Date.now()+""+Math.floor(1e7*Math.random()),wx.setStorage({key:Pt,data:St})),t.deviceId=St}function Ct(t){if(t.safeArea){var e=t.safeArea;t.safeAreaInsets={top:e.top,left:e.left,right:t.windowWidth-e.right,bottom:t.windowHeight-e.bottom}}}var Lt={returnValue:function(t){Ot(t),Ct(t)}},Dt={redirectTo:Tt,previewImage:kt,getSystemInfo:Lt,getSystemInfoSync:Lt},Mt=["vibrate","preloadPage","unPreloadPage","loadSubPackage"],Et=[],It=["success","fail","cancel","complete"];function $t(t,e,n){return function(r){return e(Rt(t,r,n))}}function Ft(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(C(e)){var o=!0===i?e:{};for(var a in P(n)&&(n=n(e,o)||{}),e)if(L(n,a)){var s=n[a];P(s)&&(s=s(e[a],e,o)),s&&(O(s)?o[s]=e[a]:C(s)&&(o[s.name?s.name:a]=s.value))}else-1!==It.indexOf(a)?P(e[a])&&(o[a]=$t(t,e[a],r)):i||(o[a]=e[a]);return o}return P(e)&&(e=$t(t,e,r)),e}function Rt(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return P(Dt.returnValue)&&(e=Dt.returnValue(t,e)),Ft(t,e,n,{},r)}function jt(t,e){if(L(Dt,t)){var n=Dt[t];return n?function(e,r){var i=n;P(n)&&(i=n(e)),e=Ft(t,e,i.args,i.returnValue);var o=[e];"undefined"!==typeof r&&o.push(r),P(i.name)?t=i.name(e):O(i.name)&&(t=i.name);var a=wx[t].apply(wx,o);return ot(t)?Rt(t,a,i.returnValue,it(t)):a}:function(){}}return e}var Nt=Object.create(null),zt=["onTabBarMidButtonTap","subscribePush","unsubscribePush","onPush","offPush","share"];function Ut(t){return function(e){var n=e.fail,r=e.complete,i={errMsg:"".concat(t,":fail method '").concat(t,"' not supported")};P(n)&&n(i),P(r)&&r(i)}}zt.forEach((function(t){Nt[t]=Ut(t)}));var Ht={oauth:["weixin"],share:["weixin"],payment:["wxpay"],push:["weixin"]};function Bt(t){var e=t.service,n=t.success,r=t.fail,i=t.complete,o=!1;Ht[e]?(o={errMsg:"getProvider:ok",service:e,provider:Ht[e]},P(n)&&n(o)):(o={errMsg:"getProvider:fail service not found"},P(r)&&r(o)),P(i)&&i(o)}var Wt=Object.freeze({__proto__:null,getProvider:Bt}),Gt=function(){var t;return function(){return t||(t=new i.default),t}}();function Vt(t,e,n){return t[e].apply(t,n)}function Xt(){return Vt(Gt(),"$on",Array.prototype.slice.call(arguments))}function Kt(){return Vt(Gt(),"$off",Array.prototype.slice.call(arguments))}function Yt(){return Vt(Gt(),"$once",Array.prototype.slice.call(arguments))}function qt(){return Vt(Gt(),"$emit",Array.prototype.slice.call(arguments))}var Jt=Object.freeze({__proto__:null,$on:Xt,$off:Kt,$once:Yt,$emit:qt}),Zt=Object.freeze({__proto__:null}),Qt=Page,te=Component,ee=/:/g,ne=M((function(t){return I(t.replace(ee,"-"))}));function re(t){var e=t.triggerEvent,n=function(n){for(var r=arguments.length,i=new Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];return e.apply(t,[ne(n)].concat(i))};try{t.triggerEvent=n}catch(r){t._triggerEvent=n}}function ie(t,e,n){var r=e[t];e[t]=r?function(){re(this);for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return r.apply(this,e)}:function(){re(this)}}Qt.__$wrappered||(Qt.__$wrappered=!0,Page=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return ie("onLoad",t),Qt(t)},Page.after=Qt.after,Component=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return ie("created",t),te(t)});var oe=["onPullDownRefresh","onReachBottom","onAddToFavorites","onShareTimeline","onShareAppMessage","onPageScroll","onResize","onTabItemTap"];function ae(t,e){var n=t.$mp[t.mpType];e.forEach((function(e){L(n,e)&&(t[e]=n[e])}))}function se(t,e){if(!e)return!0;if(i.default.options&&Array.isArray(i.default.options[t]))return!0;if(e=e.default||e,P(e))return!!P(e.extendOptions[t])||!!(e.super&&e.super.options&&Array.isArray(e.super.options[t]));if(P(e[t]))return!0;var n=e.mixins;return Array.isArray(n)?!!n.find((function(e){return se(t,e)})):void 0}function ce(t,e,n){e.forEach((function(e){se(e,n)&&(t[e]=function(t){return this.$vm&&this.$vm.__call_hook(e,t)})}))}function le(t,e){var n;return e=e.default||e,n=P(e)?e:t.extend(e),e=n.options,[n,e]}function ue(t,e){if(Array.isArray(e)&&e.length){var n=Object.create(null);e.forEach((function(t){n[t]=!0})),t.$scopedSlots=t.$slots=n}}function fe(t,e){t=(t||"").split(",");var n=t.length;1===n?e._$vueId=t[0]:2===n&&(e._$vueId=t[0],e._$vuePid=t[1])}function he(t,e){var n=t.data||{},r=t.methods||{};if("function"===typeof n)try{n=n.call(e)}catch(i){Object({NODE_ENV:"production",VUE_APP_NAME:"routineTitle",VUE_APP_PLATFORM:"mp-weixin",BASE_URL:"/"}).VUE_APP_DEBUG}else try{n=JSON.parse(JSON.stringify(n))}catch(i){}return C(n)||(n={}),Object.keys(r).forEach((function(t){-1!==e.__lifecycle_hooks__.indexOf(t)||L(n,t)||(n[t]=r[t])})),n}var de=[String,Number,Boolean,Object,Array,null];function pe(t){return function(e,n){this.$vm&&(this.$vm[t]=e)}}function ge(t,e){var n=t.behaviors,r=t.extends,i=t.mixins,o=t.props;o||(t.props=o=[]);var a=[];return Array.isArray(n)&&n.forEach((function(t){a.push(t.replace("uni://","wx".concat("://"))),"uni://form-field"===t&&(Array.isArray(o)?(o.push("name"),o.push("value")):(o.name={type:String,default:""},o.value={type:[String,Number,Boolean,Array,Object,Date],default:""}))})),C(r)&&r.props&&a.push(e({properties:ye(r.props,!0)})),Array.isArray(i)&&i.forEach((function(t){C(t)&&t.props&&a.push(e({properties:ye(t.props,!0)}))})),a}function ve(t,e,n,r){return Array.isArray(e)&&1===e.length?e[0]:e}function ye(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n={};return e||(n.vueId={type:String,value:""},n.generic={type:Object,value:null},n.scopedSlotsCompiler={type:String,value:""},n.vueSlots={type:null,value:[],observer:function(t,e){var n=Object.create(null);t.forEach((function(t){n[t]=!0})),this.setData({$slots:n})}}),Array.isArray(t)?t.forEach((function(t){n[t]={type:null,observer:pe(t)}})):C(t)&&Object.keys(t).forEach((function(e){var r=t[e];if(C(r)){var i=r.default;P(i)&&(i=i()),r.type=ve(e,r.type),n[e]={type:-1!==de.indexOf(r.type)?r.type:null,value:i,observer:pe(e)}}else{var o=ve(e,r);n[e]={type:-1!==de.indexOf(o)?o:null,observer:pe(e)}}})),n}function me(t){try{t.mp=JSON.parse(JSON.stringify(t))}catch(e){}return t.stopPropagation=D,t.preventDefault=D,t.target=t.target||{},L(t,"detail")||(t.detail={}),L(t,"markerId")&&(t.detail="object"===typeof t.detail?t.detail:{},t.detail.markerId=t.markerId),C(t.detail)&&(t.target=Object.assign({},t.target,t.detail)),t}function be(t,e){var n=t;return e.forEach((function(e){var r=e[0],i=e[2];if(r||"undefined"!==typeof i){var o,a=e[1],s=e[3];Number.isInteger(r)?o=r:r?"string"===typeof r&&r&&(o=0===r.indexOf("#s#")?r.substr(3):t.__get_value(r,n)):o=n,Number.isInteger(o)?n=i:a?Array.isArray(o)?n=o.find((function(e){return t.__get_value(a,e)===i})):C(o)&&(n=Object.keys(o).find((function(e){return t.__get_value(a,o[e])===i}))):n=o[i],s&&(n=t.__get_value(s,n))}})),n}function xe(t,e,n){var r={};return Array.isArray(e)&&e.length&&e.forEach((function(e,i){"string"===typeof e?e?"$event"===e?r["$"+i]=n:"arguments"===e?n.detail&&n.detail.__args__?r["$"+i]=n.detail.__args__:r["$"+i]=[n]:0===e.indexOf("$event.")?r["$"+i]=t.__get_value(e.replace("$event.",""),n):r["$"+i]=t.__get_value(e):r["$"+i]=t:r["$"+i]=be(t,e)})),r}function _e(t){for(var e={},n=1;n<t.length;n++){var r=t[n];e[r[0]]=r[1]}return e}function we(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],i=arguments.length>4?arguments[4]:void 0,o=arguments.length>5?arguments[5]:void 0,a=!1;if(i&&(a=e.currentTarget&&e.currentTarget.dataset&&"wx"===e.currentTarget.dataset.comType,!n.length))return a?[e]:e.detail.__args__||e.detail;var s=xe(t,r,e),c=[];return n.forEach((function(t){"$event"===t?"__set_model"!==o||i?i&&!a?c.push(e.detail.__args__[0]):c.push(e):c.push(e.target.value):Array.isArray(t)&&"o"===t[0]?c.push(_e(t)):"string"===typeof t&&L(s,t)?c.push(s[t]):c.push(t)})),c}var Ae="~",Se="^";function Te(t,e){return t===e||"regionchange"===e&&("begin"===t||"end"===t)}function ke(t){var e=t.$parent;while(e&&e.$parent&&(e.$options.generic||e.$parent.$options.generic||e.$scope._$vuePid))e=e.$parent;return e&&e.$parent}function Pe(t){var e=this;t=me(t);var n=(t.currentTarget||t.target).dataset;if(n){var r=n.eventOpts||n["event-opts"];if(r){var i=t.type,o=[];return r.forEach((function(n){var r=n[0],a=n[1],s=r.charAt(0)===Se;r=s?r.slice(1):r;var c=r.charAt(0)===Ae;r=c?r.slice(1):r,a&&Te(i,r)&&a.forEach((function(n){var r=n[0];if(r){var i=e.$vm;if(i.$options.generic&&(i=ke(i)||i),"$emit"===r)return void i.$emit.apply(i,we(e.$vm,t,n[1],n[2],s,r));var a=i[r];if(!P(a))throw new Error(" _vm.".concat(r," is not a function"));if(c){if(a.once)return;a.once=!0}var l=we(e.$vm,t,n[1],n[2],s,r);l=Array.isArray(l)?l:[],/=\s*\S+\.eventParams\s*\|\|\s*\S+\[['"]event-params['"]\]/.test(a.toString())&&(l=l.concat([,,,,,,,,,,t])),o.push(a.apply(i,l))}}))})),"input"===i&&1===o.length&&"undefined"!==typeof o[0]?o[0]:void 0}}}var Oe,Ce={};function Le(){if(Ie()){var t=Object.keys(__uniConfig.locales);t.length&&t.forEach((function(t){var e=Ce[t],n=__uniConfig.locales[t];e?Object.assign(e,n):Ce[t]=n}))}}Oe=wx.getSystemInfoSync().language,Le();var De=(0,o.initVueI18n)(Oe,{}),Me=De.t;De.mixin={beforeCreate:function(){var t=this,e=De.i18n.watchLocale((function(){t.$forceUpdate()}));this.$once("hook:beforeDestroy",(function(){e()}))},methods:{$$t:function(t,e){return Me(t,e)}}},De.setLocale,De.getLocale;function Ee(t,e,n){var r=t.observable({locale:n||De.getLocale()}),i=[];e.$watchLocale=function(t){i.push(t)},Object.defineProperty(e,"$locale",{get:function(){return r.locale},set:function(t){r.locale=t,i.forEach((function(e){return e(t)}))}})}function Ie(){return"undefined"!==typeof __uniConfig&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length}var $e={},Fe=[];function Re(t){if(t){var e=$e[t];return delete $e[t],e}return Fe.shift()}var je=["onShow","onHide","onError","onPageNotFound","onThemeChange","onUnhandledRejection"];function Ne(){i.default.prototype.getOpenerEventChannel=function(){return this.$scope.getOpenerEventChannel()};var t=i.default.prototype.__call_hook;i.default.prototype.__call_hook=function(e,n){return"onLoad"===e&&n&&n.__id__&&(this.__eventChannel__=Re(n.__id__),delete n.__id__),t.call(this,e,n)}}function ze(){var t={},e={};i.default.prototype.$hasScopedSlotsParams=function(n){var r=t[n];return r||(e[n]=this,this.$on("hook:destroyed",(function(){delete e[n]}))),r},i.default.prototype.$getScopedSlotsParams=function(n,r,i){var o=t[n];if(o){var a=o[r]||{};return i?a[i]:a}e[n]=this,this.$on("hook:destroyed",(function(){delete e[n]}))},i.default.prototype.$setScopedSlotsParams=function(n,r){var i=this.$options.propsData.vueId;if(i){var o=i.split(",")[0],a=t[o]=t[o]||{};a[n]=r,e[o]&&e[o].$forceUpdate()}},i.default.mixin({destroyed:function(){var n=this.$options.propsData,r=n&&n.vueId;r&&(delete t[r],delete e[r])}})}function Ue(t,e){var n=e.mocks,r=e.initRefs;Ne(),ze(),t.$options.store&&(i.default.prototype.$store=t.$options.store),S(i.default),i.default.prototype.mpHost="mp-weixin",i.default.mixin({beforeCreate:function(){if(this.$options.mpType){if(this.mpType=this.$options.mpType,this.$mp=d({data:{}},this.mpType,this.$options.mpInstance),this.$scope=this.$options.mpInstance,delete this.$options.mpType,delete this.$options.mpInstance,"page"===this.mpType&&"function"===typeof getApp){var t=getApp();t.$vm&&t.$vm.$i18n&&(this._i18n=t.$vm.$i18n)}"app"!==this.mpType&&(r(this),ae(this,n))}}});var o={onLaunch:function(e){this.$vm||(wx.canIUse&&wx.canIUse("nextTick"),this.$vm=t,this.$vm.$mp={app:this},this.$vm.$scope=this,this.$vm.globalData=this.globalData,this.$vm._isMounted=!0,this.$vm.__call_hook("mounted",e),this.$vm.__call_hook("onLaunch",e))}};o.globalData=t.$options.globalData||{};var a=t.$options.methods;return a&&Object.keys(a).forEach((function(t){o[t]=a[t]})),Ee(i.default,t,wx.getSystemInfoSync().language||"zh-Hans"),ce(o,je),o}var He=["__route__","__wxExparserNodeId__","__wxWebviewId__"];function Be(t,e){for(var n,r=t.$children,i=r.length-1;i>=0;i--){var o=r[i];if(o.$scope._$vueId===e)return o}for(var a=r.length-1;a>=0;a--)if(n=Be(r[a],e),n)return n}function We(t){return Behavior(t)}function Ge(){return!!this.route}function Ve(t){this.triggerEvent("__l",t)}function Xe(t,e,n){var r=t.selectAllComponents(e);r.forEach((function(t){var r=t.dataset.ref;n[r]=t.$vm||t,"scoped"===t.dataset.vueGeneric&&t.selectAllComponents(".scoped-ref").forEach((function(t){Xe(t,e,n)}))}))}function Ke(t){var e=t.$scope;Object.defineProperty(t,"$refs",{get:function(){var t={};Xe(e,".vue-ref",t);var n=e.selectAllComponents(".vue-ref-in-for");return n.forEach((function(e){var n=e.dataset.ref;t[n]||(t[n]=[]),t[n].push(e.$vm||e)})),t}})}function Ye(t){var e,n=t.detail||t.value,r=n.vuePid,i=n.vueOptions;r&&(e=Be(this.$vm,r)),e||(e=this.$vm),i.parent=e}function qe(t){return Ue(t,{mocks:He,initRefs:Ke})}function Je(t){return App(qe(t)),t}var Ze=/[!'()*]/g,Qe=function(t){return"%"+t.charCodeAt(0).toString(16)},tn=/%2C/g,en=function(t){return encodeURIComponent(t).replace(Ze,Qe).replace(tn,",")};function nn(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:en,n=t?Object.keys(t).map((function(n){var r=t[n];if(void 0===r)return"";if(null===r)return e(n);if(Array.isArray(r)){var i=[];return r.forEach((function(t){void 0!==t&&(null===t?i.push(e(n)):i.push(e(n)+"="+e(t)))})),i.join("&")}return e(n)+"="+e(r)})).filter((function(t){return t.length>0})).join("&"):null;return n?"?".concat(n):""}function rn(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.isPage,r=e.initRelation,o=le(i.default,t),a=l(o,2),s=a[0],u=a[1],f=c({multipleSlots:!0,addGlobalClass:!0},u.options||{});u["mp-weixin"]&&u["mp-weixin"].options&&Object.assign(f,u["mp-weixin"].options);var h={options:f,data:he(u,i.default.prototype),behaviors:ge(u,We),properties:ye(u.props,!1,u.__file),lifetimes:{attached:function(){var t=this.properties,e={mpType:n.call(this)?"page":"component",mpInstance:this,propsData:t};fe(t.vueId,this),r.call(this,{vuePid:this._$vuePid,vueOptions:e}),this.$vm=new s(e),ue(this.$vm,t.vueSlots),this.$vm.$mount()},ready:function(){this.$vm&&(this.$vm._isMounted=!0,this.$vm.__call_hook("mounted"),this.$vm.__call_hook("onReady"))},detached:function(){this.$vm&&this.$vm.$destroy()}},pageLifetimes:{show:function(t){this.$vm&&this.$vm.__call_hook("onPageShow",t)},hide:function(){this.$vm&&this.$vm.__call_hook("onPageHide")},resize:function(t){this.$vm&&this.$vm.__call_hook("onPageResize",t)}},methods:{__l:Ye,__e:Pe}};return u.externalClasses&&(h.externalClasses=u.externalClasses),Array.isArray(u.wxsCallMethods)&&u.wxsCallMethods.forEach((function(t){h.methods[t]=function(e){return this.$vm[t](e)}})),n?h:[h,s]}function on(t){return rn(t,{isPage:Ge,initRelation:Ve})}var an=["onShow","onHide","onUnload"];function sn(t,e){e.isPage,e.initRelation;var n=on(t);return ce(n.methods,an,t),n.methods.onLoad=function(t){this.options=t;var e=Object.assign({},t);delete e.__id__,this.$page={fullPath:"/"+(this.route||this.is)+nn(e)},this.$vm.$mp.query=t,this.$vm.__call_hook("onLoad",t)},n}function cn(t){return sn(t,{isPage:Ge,initRelation:Ve})}function ln(t){return Component(cn(t))}function un(t){return Component(on(t))}function fn(t){var e=qe(t),n=getApp({allowDefault:!0});t.$scope=n;var r=n.globalData;if(r&&Object.keys(e.globalData).forEach((function(t){L(r,t)||(r[t]=e.globalData[t])})),Object.keys(e).forEach((function(t){L(n,t)||(n[t]=e[t])})),P(e.onShow)&&wx.onAppShow&&wx.onAppShow((function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.__call_hook("onShow",n)})),P(e.onHide)&&wx.onAppHide&&wx.onAppHide((function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.__call_hook("onHide",n)})),P(e.onLaunch)){var i=wx.getLaunchOptionsSync&&wx.getLaunchOptionsSync();t.__call_hook("onLaunch",i)}return t}function hn(t){var e=qe(t);if(P(e.onShow)&&wx.onAppShow&&wx.onAppShow((function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.__call_hook("onShow",n)})),P(e.onHide)&&wx.onAppHide&&wx.onAppHide((function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.__call_hook("onHide",n)})),P(e.onLaunch)){var n=wx.getLaunchOptionsSync&&wx.getLaunchOptionsSync();t.__call_hook("onLaunch",n)}return t}an.push.apply(an,oe),Mt.forEach((function(t){Dt[t]=!1})),Et.forEach((function(t){var e=Dt[t]&&Dt[t].name?Dt[t].name:t;wx.canIUse(e)||(Dt[t]=!1)}));var dn={};"undefined"!==typeof Proxy?dn=new Proxy({},{get:function(t,e){return L(t,e)?t[e]:wt[e]?wt[e]:Zt[e]?lt(e,Zt[e]):Wt[e]?lt(e,Wt[e]):Nt[e]?lt(e,Nt[e]):Jt[e]?Jt[e]:L(wx,e)||L(Dt,e)?lt(e,jt(e,wx[e])):void 0},set:function(t,e,n){return t[e]=n,!0}}):(Object.keys(wt).forEach((function(t){dn[t]=wt[t]})),Object.keys(Nt).forEach((function(t){dn[t]=lt(t,Nt[t])})),Object.keys(Wt).forEach((function(t){dn[t]=lt(t,Nt[t])})),Object.keys(Jt).forEach((function(t){dn[t]=Jt[t]})),Object.keys(Zt).forEach((function(t){dn[t]=lt(t,Zt[t])})),Object.keys(wx).forEach((function(t){(L(wx,t)||L(Dt,t))&&(dn[t]=lt(t,jt(t,wx[t])))}))),wx.createApp=Je,wx.createPage=ln,wx.createComponent=un,wx.createSubpackageApp=fn,wx.createPlugin=hn;var pn=dn,gn=pn;e.default=gn}).call(this,n("c8ba"))},"546e":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getStatisticsInfo=o,e.getStatisticsMonth=a,e.getAdminOrderList=s,e.setAdminOrderPrice=c,e.setAdminOrderRemark=l,e.getAdminOrderDetail=u,e.getAdminRefundOrderDetail=f,e.getAdminOrderDelivery=h,e.setAdminOrderDelivery=d,e.getStatisticsTime=p,e.setOfflinePay=g,e.setOrderRefund=v,e.getLogistics=y,e.orderVerific=m,e.orderExportTemp=b,e.orderDeliveryInfo=x,e.orderOrderDelivery=_,e.orderRefund_order=w,e.setAdminRefundRemark=A;var r=i(n("9011"));function i(t){return t&&t.__esModule?t:{default:t}}function o(){return r.default.get("admin/order/statistics",{},{login:!0})}function a(t){return r.default.get("admin/order/data",t,{login:!0})}function s(t){return r.default.get("admin/order/list",t,{login:!0})}function c(t){return r.default.post("admin/order/price",t,{login:!0})}function l(t){return r.default.post("admin/order/remark",t,{login:!0})}function u(t){return r.default.get("admin/order/detail/"+t,{},{login:!0})}function f(t){return r.default.get("admin/refund_order/detail/"+t,{},{login:!0})}function h(t){return r.default.get("admin/order/delivery/gain/"+t,{},{login:!0})}function d(t,e){return r.default.post("admin/order/delivery/keep/"+t,e,{login:!0})}function p(t){return r.default.get("admin/order/time",t,{login:!0})}function g(t){return r.default.post("admin/order/offline",t,{login:!0})}function v(t){return r.default.post("admin/order/refund",t,{login:!0})}function y(t){return r.default.get("logistics",t,{login:!1})}function m(t,e){return r.default.post("order/order_verific",{verify_code:t,is_confirm:e})}function b(t){return r.default.get("admin/order/export_temp",t)}function x(){return r.default.get("admin/order/delivery_info")}function _(){return r.default.get("admin/order/delivery")}function w(t){return r.default.get("admin/refund_order/list",t,{login:!0})}function A(t){return r.default.post("admin/refund_order/remark",t,{login:!0})}},"5b94":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=a(n("5da0")),i=a(n("31e4")),o=a(n("f106"));function a(t){return t&&t.__esModule?t:{default:t}}var s={app:r.default,hotWords:i.default,indexData:o.default};e.default=s},"5bb2":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={token:function(t){return t.app.token},isLogin:function(t){return!!t.app.token},backgroundColor:function(t){return t.app.backgroundColor},userInfo:function(t){return t.app.userInfo||{}},uid:function(t){return t.app.uid},homeActive:function(t){return t.app.homeActive},home:function(t){return t.app.home},cartNum:function(t){return t.indexData.cartNum}};e.default=r},"5da0":function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n("3474"),i=n("a1ea"),o=a(n("0c53"));function a(t){return t&&t.__esModule?t:{default:t}}var s={token:o.default.get(i.LOGIN_STATUS)||!1,backgroundColor:"#fff",userInfo:{},uid:o.default.get(i.UID)||0,homeActive:!1,phoneStatus:!0,pageFooter:t.getStorageSync("pageFoot")||{}},c={SETPHONESTATUS:function(t,e){t.phoneStatus=e},LOGIN:function(t,e){t.token=e.token,o.default.set(i.LOGIN_STATUS,e.token,e.time)},SETUID:function(t,e){t.uid=e,o.default.set(i.UID,e)},UPDATE_LOGIN:function(t,e){t.token=e},LOGOUT:function(t){t.token=void 0,t.uid=void 0,o.default.clear(i.LOGIN_STATUS),o.default.clear(i.UID)},BACKGROUND_COLOR:function(t,e){t.color=e,document.body.style.backgroundColor=e},UPDATE_USERINFO:function(t,e){t.userInfo=e,o.default.set(i.USER_INFO,e)},OPEN_HOME:function(t){t.homeActive=!0},CLOSE_HOME:function(t){t.homeActive=!1},FOOT_UPLOAD:function(t,e){t.pageFooter=e}},l={USERINFO:function(t,e){var n=t.state,a=t.commit;return null===n.userInfo||e?new Promise((function(t){(0,r.getUserInfo)().then((function(e){a("UPDATE_USERINFO",e.data),o.default.set(i.USER_INFO,e.data),t(e.data)}))})).catch((function(){})):Promise.resolve(n.userInfo)}},u={state:s,mutations:c,actions:l};e.default=u}).call(this,n("543d")["default"])},"66fd":function(t,e,n){"use strict";n.r(e),function(t){
/*!
* Vue.js v2.6.11
* (c) 2014-2021 Evan You
* Released under the MIT License.
*/
var n=Object.freeze({});function r(t){return void 0===t||null===t}function i(t){return void 0!==t&&null!==t}function o(t){return!0===t}function a(t){return!1===t}function s(t){return"string"===typeof t||"number"===typeof t||"symbol"===typeof t||"boolean"===typeof t}function c(t){return null!==t&&"object"===typeof t}var l=Object.prototype.toString;function u(t){return"[object Object]"===l.call(t)}function f(t){return"[object RegExp]"===l.call(t)}function h(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function d(t){return i(t)&&"function"===typeof t.then&&"function"===typeof t.catch}function p(t){return null==t?"":Array.isArray(t)||u(t)&&t.toString===l?JSON.stringify(t,null,2):String(t)}function g(t){var e=parseFloat(t);return isNaN(e)?t:e}function v(t,e){for(var n=Object.create(null),r=t.split(","),i=0;i<r.length;i++)n[r[i]]=!0;return e?function(t){return n[t.toLowerCase()]}:function(t){return n[t]}}v("slot,component",!0);var y=v("key,ref,slot,slot-scope,is");function m(t,e){if(t.length){var n=t.indexOf(e);if(n>-1)return t.splice(n,1)}}var b=Object.prototype.hasOwnProperty;function x(t,e){return b.call(t,e)}function _(t){var e=Object.create(null);return function(n){var r=e[n];return r||(e[n]=t(n))}}var w=/-(\w)/g,A=_((function(t){return t.replace(w,(function(t,e){return e?e.toUpperCase():""}))})),S=_((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),T=/\B([A-Z])/g,k=_((function(t){return t.replace(T,"-$1").toLowerCase()}));function P(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function O(t,e){return t.bind(e)}var C=Function.prototype.bind?O:P;function L(t,e){e=e||0;var n=t.length-e,r=new Array(n);while(n--)r[n]=t[n+e];return r}function D(t,e){for(var n in e)t[n]=e[n];return t}function M(t){for(var e={},n=0;n<t.length;n++)t[n]&&D(e,t[n]);return e}function E(t,e,n){}var I=function(t,e,n){return!1},$=function(t){return t};function F(t,e){if(t===e)return!0;var n=c(t),r=c(e);if(!n||!r)return!n&&!r&&String(t)===String(e);try{var i=Array.isArray(t),o=Array.isArray(e);if(i&&o)return t.length===e.length&&t.every((function(t,n){return F(t,e[n])}));if(t instanceof Date&&e instanceof Date)return t.getTime()===e.getTime();if(i||o)return!1;var a=Object.keys(t),s=Object.keys(e);return a.length===s.length&&a.every((function(n){return F(t[n],e[n])}))}catch(l){return!1}}function R(t,e){for(var n=0;n<t.length;n++)if(F(t[n],e))return n;return-1}function j(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}var N=["component","directive","filter"],z=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],U={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:I,isReservedAttr:I,isUnknownElement:I,getTagNamespace:E,parsePlatformTagName:$,mustUseProp:I,async:!0,_lifecycleHooks:z},H=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function B(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function W(t,e,n,r){Object.defineProperty(t,e,{value:n,enumerable:!!r,writable:!0,configurable:!0})}var G=new RegExp("[^"+H.source+".$_\\d]");function V(t){if(!G.test(t)){var e=t.split(".");return function(t){for(var n=0;n<e.length;n++){if(!t)return;t=t[e[n]]}return t}}}var X,K="__proto__"in{},Y="undefined"!==typeof window,q="undefined"!==typeof WXEnvironment&&!!WXEnvironment.platform,J=q&&WXEnvironment.platform.toLowerCase(),Z=Y&&window.navigator.userAgent.toLowerCase(),Q=Z&&/msie|trident/.test(Z),tt=(Z&&Z.indexOf("msie 9.0"),Z&&Z.indexOf("edge/")>0),et=(Z&&Z.indexOf("android"),Z&&/iphone|ipad|ipod|ios/.test(Z)||"ios"===J),nt=(Z&&/chrome\/\d+/.test(Z),Z&&/phantomjs/.test(Z),Z&&Z.match(/firefox\/(\d+)/),{}.watch);if(Y)try{var rt={};Object.defineProperty(rt,"passive",{get:function(){}}),window.addEventListener("test-passive",null,rt)}catch(ni){}var it=function(){return void 0===X&&(X=!Y&&!q&&"undefined"!==typeof t&&(t["process"]&&"server"===t["process"].env.VUE_ENV)),X},ot=Y&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function at(t){return"function"===typeof t&&/native code/.test(t.toString())}var st,ct="undefined"!==typeof Symbol&&at(Symbol)&&"undefined"!==typeof Reflect&&at(Reflect.ownKeys);st="undefined"!==typeof Set&&at(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var lt=E,ut=0,ft=function(){this.id=ut++,this.subs=[]};function ht(t){ft.SharedObject.targetStack.push(t),ft.SharedObject.target=t,ft.target=t}function dt(){ft.SharedObject.targetStack.pop(),ft.SharedObject.target=ft.SharedObject.targetStack[ft.SharedObject.targetStack.length-1],ft.target=ft.SharedObject.target}ft.prototype.addSub=function(t){this.subs.push(t)},ft.prototype.removeSub=function(t){m(this.subs,t)},ft.prototype.depend=function(){ft.SharedObject.target&&ft.SharedObject.target.addDep(this)},ft.prototype.notify=function(){var t=this.subs.slice();for(var e=0,n=t.length;e<n;e++)t[e].update()},ft.SharedObject={},ft.SharedObject.target=null,ft.SharedObject.targetStack=[];var pt=function(t,e,n,r,i,o,a,s){this.tag=t,this.data=e,this.children=n,this.text=r,this.elm=i,this.ns=void 0,this.context=o,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=e&&e.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},gt={child:{configurable:!0}};gt.child.get=function(){return this.componentInstance},Object.defineProperties(pt.prototype,gt);var vt=function(t){void 0===t&&(t="");var e=new pt;return e.text=t,e.isComment=!0,e};function yt(t){return new pt(void 0,void 0,void 0,String(t))}function mt(t){var e=new pt(t.tag,t.data,t.children&&t.children.slice(),t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.asyncMeta=t.asyncMeta,e.isCloned=!0,e}var bt=Array.prototype,xt=Object.create(bt),_t=["push","pop","shift","unshift","splice","sort","reverse"];_t.forEach((function(t){var e=bt[t];W(xt,t,(function(){var n=[],r=arguments.length;while(r--)n[r]=arguments[r];var i,o=e.apply(this,n),a=this.__ob__;switch(t){case"push":case"unshift":i=n;break;case"splice":i=n.slice(2);break}return i&&a.observeArray(i),a.dep.notify(),o}))}));var wt=Object.getOwnPropertyNames(xt),At=!0;function St(t){At=t}var Tt=function(t){this.value=t,this.dep=new ft,this.vmCount=0,W(t,"__ob__",this),Array.isArray(t)?(K?t.push!==t.__proto__.push?Pt(t,xt,wt):kt(t,xt):Pt(t,xt,wt),this.observeArray(t)):this.walk(t)};function kt(t,e){t.__proto__=e}function Pt(t,e,n){for(var r=0,i=n.length;r<i;r++){var o=n[r];W(t,o,e[o])}}function Ot(t,e){var n;if(c(t)&&!(t instanceof pt))return x(t,"__ob__")&&t.__ob__ instanceof Tt?n=t.__ob__:At&&!it()&&(Array.isArray(t)||u(t))&&Object.isExtensible(t)&&!t._isVue&&(n=new Tt(t)),e&&n&&n.vmCount++,n}function Ct(t,e,n,r,i){var o=new ft,a=Object.getOwnPropertyDescriptor(t,e);if(!a||!1!==a.configurable){var s=a&&a.get,c=a&&a.set;s&&!c||2!==arguments.length||(n=t[e]);var l=!i&&Ot(n);Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=s?s.call(t):n;return ft.SharedObject.target&&(o.depend(),l&&(l.dep.depend(),Array.isArray(e)&&Mt(e))),e},set:function(e){var r=s?s.call(t):n;e===r||e!==e&&r!==r||s&&!c||(c?c.call(t,e):n=e,l=!i&&Ot(e),o.notify())}})}}function Lt(t,e,n){if(Array.isArray(t)&&h(e))return t.length=Math.max(t.length,e),t.splice(e,1,n),n;if(e in t&&!(e in Object.prototype))return t[e]=n,n;var r=t.__ob__;return t._isVue||r&&r.vmCount?n:r?(Ct(r.value,e,n),r.dep.notify(),n):(t[e]=n,n)}function Dt(t,e){if(Array.isArray(t)&&h(e))t.splice(e,1);else{var n=t.__ob__;t._isVue||n&&n.vmCount||x(t,e)&&(delete t[e],n&&n.dep.notify())}}function Mt(t){for(var e=void 0,n=0,r=t.length;n<r;n++)e=t[n],e&&e.__ob__&&e.__ob__.dep.depend(),Array.isArray(e)&&Mt(e)}Tt.prototype.walk=function(t){for(var e=Object.keys(t),n=0;n<e.length;n++)Ct(t,e[n])},Tt.prototype.observeArray=function(t){for(var e=0,n=t.length;e<n;e++)Ot(t[e])};var Et=U.optionMergeStrategies;function It(t,e){if(!e)return t;for(var n,r,i,o=ct?Reflect.ownKeys(e):Object.keys(e),a=0;a<o.length;a++)n=o[a],"__ob__"!==n&&(r=t[n],i=e[n],x(t,n)?r!==i&&u(r)&&u(i)&&It(r,i):Lt(t,n,i));return t}function $t(t,e,n){return n?function(){var r="function"===typeof e?e.call(n,n):e,i="function"===typeof t?t.call(n,n):t;return r?It(r,i):i}:e?t?function(){return It("function"===typeof e?e.call(this,this):e,"function"===typeof t?t.call(this,this):t)}:e:t}function Ft(t,e){var n=e?t?t.concat(e):Array.isArray(e)?e:[e]:t;return n?Rt(n):n}function Rt(t){for(var e=[],n=0;n<t.length;n++)-1===e.indexOf(t[n])&&e.push(t[n]);return e}function jt(t,e,n,r){var i=Object.create(t||null);return e?D(i,e):i}Et.data=function(t,e,n){return n?$t(t,e,n):e&&"function"!==typeof e?t:$t(t,e)},z.forEach((function(t){Et[t]=Ft})),N.forEach((function(t){Et[t+"s"]=jt})),Et.watch=function(t,e,n,r){if(t===nt&&(t=void 0),e===nt&&(e=void 0),!e)return Object.create(t||null);if(!t)return e;var i={};for(var o in D(i,t),e){var a=i[o],s=e[o];a&&!Array.isArray(a)&&(a=[a]),i[o]=a?a.concat(s):Array.isArray(s)?s:[s]}return i},Et.props=Et.methods=Et.inject=Et.computed=function(t,e,n,r){if(!t)return e;var i=Object.create(null);return D(i,t),e&&D(i,e),i},Et.provide=$t;var Nt=function(t,e){return void 0===e?t:e};function zt(t,e){var n=t.props;if(n){var r,i,o,a={};if(Array.isArray(n)){r=n.length;while(r--)i=n[r],"string"===typeof i&&(o=A(i),a[o]={type:null})}else if(u(n))for(var s in n)i=n[s],o=A(s),a[o]=u(i)?i:{type:i};else 0;t.props=a}}function Ut(t,e){var n=t.inject;if(n){var r=t.inject={};if(Array.isArray(n))for(var i=0;i<n.length;i++)r[n[i]]={from:n[i]};else if(u(n))for(var o in n){var a=n[o];r[o]=u(a)?D({from:o},a):{from:a}}else 0}}function Ht(t){var e=t.directives;if(e)for(var n in e){var r=e[n];"function"===typeof r&&(e[n]={bind:r,update:r})}}function Bt(t,e,n){if("function"===typeof e&&(e=e.options),zt(e,n),Ut(e,n),Ht(e),!e._base&&(e.extends&&(t=Bt(t,e.extends,n)),e.mixins))for(var r=0,i=e.mixins.length;r<i;r++)t=Bt(t,e.mixins[r],n);var o,a={};for(o in t)s(o);for(o in e)x(t,o)||s(o);function s(r){var i=Et[r]||Nt;a[r]=i(t[r],e[r],n,r)}return a}function Wt(t,e,n,r){if("string"===typeof n){var i=t[e];if(x(i,n))return i[n];var o=A(n);if(x(i,o))return i[o];var a=S(o);if(x(i,a))return i[a];var s=i[n]||i[o]||i[a];return s}}function Gt(t,e,n,r){var i=e[t],o=!x(n,t),a=n[t],s=Yt(Boolean,i.type);if(s>-1)if(o&&!x(i,"default"))a=!1;else if(""===a||a===k(t)){var c=Yt(String,i.type);(c<0||s<c)&&(a=!0)}if(void 0===a){a=Vt(r,i,t);var l=At;St(!0),Ot(a),St(l)}return a}function Vt(t,e,n){if(x(e,"default")){var r=e.default;return t&&t.$options.propsData&&void 0===t.$options.propsData[n]&&void 0!==t._props[n]?t._props[n]:"function"===typeof r&&"Function"!==Xt(e.type)?r.call(t):r}}function Xt(t){var e=t&&t.toString().match(/^\s*function (\w+)/);return e?e[1]:""}function Kt(t,e){return Xt(t)===Xt(e)}function Yt(t,e){if(!Array.isArray(e))return Kt(e,t)?0:-1;for(var n=0,r=e.length;n<r;n++)if(Kt(e[n],t))return n;return-1}function qt(t,e,n){ht();try{if(e){var r=e;while(r=r.$parent){var i=r.$options.errorCaptured;if(i)for(var o=0;o<i.length;o++)try{var a=!1===i[o].call(r,t,e,n);if(a)return}catch(ni){Zt(ni,r,"errorCaptured hook")}}}Zt(t,e,n)}finally{dt()}}function Jt(t,e,n,r,i){var o;try{o=n?t.apply(e,n):t.call(e),o&&!o._isVue&&d(o)&&!o._handled&&(o.catch((function(t){return qt(t,r,i+" (Promise/async)")})),o._handled=!0)}catch(ni){qt(ni,r,i)}return o}function Zt(t,e,n){if(U.errorHandler)try{return U.errorHandler.call(null,t,e,n)}catch(ni){ni!==t&&Qt(ni,null,"config.errorHandler")}Qt(t,e,n)}function Qt(t,e,n){if(!Y&&!q||"undefined"===typeof console)throw t}var te,ee=[],ne=!1;function re(){ne=!1;var t=ee.slice(0);ee.length=0;for(var e=0;e<t.length;e++)t[e]()}if("undefined"!==typeof Promise&&at(Promise)){var ie=Promise.resolve();te=function(){ie.then(re),et&&setTimeout(E)}}else if(Q||"undefined"===typeof MutationObserver||!at(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())te="undefined"!==typeof setImmediate&&at(setImmediate)?function(){setImmediate(re)}:function(){setTimeout(re,0)};else{var oe=1,ae=new MutationObserver(re),se=document.createTextNode(String(oe));ae.observe(se,{characterData:!0}),te=function(){oe=(oe+1)%2,se.data=String(oe)}}function ce(t,e){var n;if(ee.push((function(){if(t)try{t.call(e)}catch(ni){qt(ni,e,"nextTick")}else n&&n(e)})),ne||(ne=!0,te()),!t&&"undefined"!==typeof Promise)return new Promise((function(t){n=t}))}var le=new st;function ue(t){fe(t,le),le.clear()}function fe(t,e){var n,r,i=Array.isArray(t);if(!(!i&&!c(t)||Object.isFrozen(t)||t instanceof pt)){if(t.__ob__){var o=t.__ob__.dep.id;if(e.has(o))return;e.add(o)}if(i){n=t.length;while(n--)fe(t[n],e)}else{r=Object.keys(t),n=r.length;while(n--)fe(t[r[n]],e)}}}var he=_((function(t){var e="&"===t.charAt(0);t=e?t.slice(1):t;var n="~"===t.charAt(0);t=n?t.slice(1):t;var r="!"===t.charAt(0);return t=r?t.slice(1):t,{name:t,once:n,capture:r,passive:e}}));function de(t,e){function n(){var t=arguments,r=n.fns;if(!Array.isArray(r))return Jt(r,null,arguments,e,"v-on handler");for(var i=r.slice(),o=0;o<i.length;o++)Jt(i[o],null,t,e,"v-on handler")}return n.fns=t,n}function pe(t,e,n,i,a,s){var c,l,u,f;for(c in t)l=t[c],u=e[c],f=he(c),r(l)||(r(u)?(r(l.fns)&&(l=t[c]=de(l,s)),o(f.once)&&(l=t[c]=a(f.name,l,f.capture)),n(f.name,l,f.capture,f.passive,f.params)):l!==u&&(u.fns=l,t[c]=u));for(c in e)r(t[c])&&(f=he(c),i(f.name,e[c],f.capture))}function ge(t,e,n,o){var a=e.options.mpOptions&&e.options.mpOptions.properties;if(r(a))return n;var s=e.options.mpOptions.externalClasses||[],c=t.attrs,l=t.props;if(i(c)||i(l))for(var u in a){var f=k(u),h=ye(n,l,u,f,!0)||ye(n,c,u,f,!1);h&&n[u]&&-1!==s.indexOf(f)&&o[A(n[u])]&&(n[u]=o[A(n[u])])}return n}function ve(t,e,n,o){var a=e.options.props;if(r(a))return ge(t,e,{},o);var s={},c=t.attrs,l=t.props;if(i(c)||i(l))for(var u in a){var f=k(u);ye(s,l,u,f,!0)||ye(s,c,u,f,!1)}return ge(t,e,s,o)}function ye(t,e,n,r,o){if(i(e)){if(x(e,n))return t[n]=e[n],o||delete e[n],!0;if(x(e,r))return t[n]=e[r],o||delete e[r],!0}return!1}function me(t){for(var e=0;e<t.length;e++)if(Array.isArray(t[e]))return Array.prototype.concat.apply([],t);return t}function be(t){return s(t)?[yt(t)]:Array.isArray(t)?_e(t):void 0}function xe(t){return i(t)&&i(t.text)&&a(t.isComment)}function _e(t,e){var n,a,c,l,u=[];for(n=0;n<t.length;n++)a=t[n],r(a)||"boolean"===typeof a||(c=u.length-1,l=u[c],Array.isArray(a)?a.length>0&&(a=_e(a,(e||"")+"_"+n),xe(a[0])&&xe(l)&&(u[c]=yt(l.text+a[0].text),a.shift()),u.push.apply(u,a)):s(a)?xe(l)?u[c]=yt(l.text+a):""!==a&&u.push(yt(a)):xe(a)&&xe(l)?u[c]=yt(l.text+a.text):(o(t._isVList)&&i(a.tag)&&r(a.key)&&i(e)&&(a.key="__vlist"+e+"_"+n+"__"),u.push(a)));return u}function we(t){var e=t.$options.provide;e&&(t._provided="function"===typeof e?e.call(t):e)}function Ae(t){var e=Se(t.$options.inject,t);e&&(St(!1),Object.keys(e).forEach((function(n){Ct(t,n,e[n])})),St(!0))}function Se(t,e){if(t){for(var n=Object.create(null),r=ct?Reflect.ownKeys(t):Object.keys(t),i=0;i<r.length;i++){var o=r[i];if("__ob__"!==o){var a=t[o].from,s=e;while(s){if(s._provided&&x(s._provided,a)){n[o]=s._provided[a];break}s=s.$parent}if(!s)if("default"in t[o]){var c=t[o].default;n[o]="function"===typeof c?c.call(e):c}else 0}}return n}}function Te(t,e){if(!t||!t.length)return{};for(var n={},r=0,i=t.length;r<i;r++){var o=t[r],a=o.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,o.context!==e&&o.fnContext!==e||!a||null==a.slot)o.asyncMeta&&o.asyncMeta.data&&"page"===o.asyncMeta.data.slot?(n["page"]||(n["page"]=[])).push(o):(n.default||(n.default=[])).push(o);else{var s=a.slot,c=n[s]||(n[s]=[]);"template"===o.tag?c.push.apply(c,o.children||[]):c.push(o)}}for(var l in n)n[l].every(ke)&&delete n[l];return n}function ke(t){return t.isComment&&!t.asyncFactory||" "===t.text}function Pe(t,e,r){var i,o=Object.keys(e).length>0,a=t?!!t.$stable:!o,s=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(a&&r&&r!==n&&s===r.$key&&!o&&!r.$hasNormal)return r;for(var c in i={},t)t[c]&&"$"!==c[0]&&(i[c]=Oe(e,c,t[c]))}else i={};for(var l in e)l in i||(i[l]=Ce(e,l));return t&&Object.isExtensible(t)&&(t._normalized=i),W(i,"$stable",a),W(i,"$key",s),W(i,"$hasNormal",o),i}function Oe(t,e,n){var r=function(){var t=arguments.length?n.apply(null,arguments):n({});return t=t&&"object"===typeof t&&!Array.isArray(t)?[t]:be(t),t&&(0===t.length||1===t.length&&t[0].isComment)?void 0:t};return n.proxy&&Object.defineProperty(t,e,{get:r,enumerable:!0,configurable:!0}),r}function Ce(t,e){return function(){return t[e]}}function Le(t,e){var n,r,o,a,s;if(Array.isArray(t)||"string"===typeof t)for(n=new Array(t.length),r=0,o=t.length;r<o;r++)n[r]=e(t[r],r,r,r);else if("number"===typeof t)for(n=new Array(t),r=0;r<t;r++)n[r]=e(r+1,r,r,r);else if(c(t))if(ct&&t[Symbol.iterator]){n=[];var l=t[Symbol.iterator](),u=l.next();while(!u.done)n.push(e(u.value,n.length,r,r++)),u=l.next()}else for(a=Object.keys(t),n=new Array(a.length),r=0,o=a.length;r<o;r++)s=a[r],n[r]=e(t[s],s,r,r);return i(n)||(n=[]),n._isVList=!0,n}function De(t,e,n,r){var i,o=this.$scopedSlots[t];o?(n=n||{},r&&(n=D(D({},r),n)),i=o(n,this,n._i)||e):i=this.$slots[t]||e;var a=n&&n.slot;return a?this.$createElement("template",{slot:a},i):i}function Me(t){return Wt(this.$options,"filters",t,!0)||$}function Ee(t,e){return Array.isArray(t)?-1===t.indexOf(e):t!==e}function Ie(t,e,n,r,i){var o=U.keyCodes[e]||n;return i&&r&&!U.keyCodes[e]?Ee(i,r):o?Ee(o,t):r?k(r)!==e:void 0}function $e(t,e,n,r,i){if(n)if(c(n)){var o;Array.isArray(n)&&(n=M(n));var a=function(a){if("class"===a||"style"===a||y(a))o=t;else{var s=t.attrs&&t.attrs.type;o=r||U.mustUseProp(e,s,a)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={})}var c=A(a),l=k(a);if(!(c in o)&&!(l in o)&&(o[a]=n[a],i)){var u=t.on||(t.on={});u["update:"+a]=function(t){n[a]=t}}};for(var s in n)a(s)}else;return t}function Fe(t,e){var n=this._staticTrees||(this._staticTrees=[]),r=n[t];return r&&!e||(r=n[t]=this.$options.staticRenderFns[t].call(this._renderProxy,null,this),je(r,"__static__"+t,!1)),r}function Re(t,e,n){return je(t,"__once__"+e+(n?"_"+n:""),!0),t}function je(t,e,n){if(Array.isArray(t))for(var r=0;r<t.length;r++)t[r]&&"string"!==typeof t[r]&&Ne(t[r],e+"_"+r,n);else Ne(t,e,n)}function Ne(t,e,n){t.isStatic=!0,t.key=e,t.isOnce=n}function ze(t,e){if(e)if(u(e)){var n=t.on=t.on?D({},t.on):{};for(var r in e){var i=n[r],o=e[r];n[r]=i?[].concat(i,o):o}}else;return t}function Ue(t,e,n,r){e=e||{$stable:!n};for(var i=0;i<t.length;i++){var o=t[i];Array.isArray(o)?Ue(o,e,n):o&&(o.proxy&&(o.fn.proxy=!0),e[o.key]=o.fn)}return r&&(e.$key=r),e}function He(t,e){for(var n=0;n<e.length;n+=2){var r=e[n];"string"===typeof r&&r&&(t[e[n]]=e[n+1])}return t}function Be(t,e){return"string"===typeof t?e+t:t}function We(t){t._o=Re,t._n=g,t._s=p,t._l=Le,t._t=De,t._q=F,t._i=R,t._m=Fe,t._f=Me,t._k=Ie,t._b=$e,t._v=yt,t._e=vt,t._u=Ue,t._g=ze,t._d=He,t._p=Be}function Ge(t,e,r,i,a){var s,c=this,l=a.options;x(i,"_uid")?(s=Object.create(i),s._original=i):(s=i,i=i._original);var u=o(l._compiled),f=!u;this.data=t,this.props=e,this.children=r,this.parent=i,this.listeners=t.on||n,this.injections=Se(l.inject,i),this.slots=function(){return c.$slots||Pe(t.scopedSlots,c.$slots=Te(r,i)),c.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return Pe(t.scopedSlots,this.slots())}}),u&&(this.$options=l,this.$slots=this.slots(),this.$scopedSlots=Pe(t.scopedSlots,this.$slots)),l._scopeId?this._c=function(t,e,n,r){var o=on(s,t,e,n,r,f);return o&&!Array.isArray(o)&&(o.fnScopeId=l._scopeId,o.fnContext=i),o}:this._c=function(t,e,n,r){return on(s,t,e,n,r,f)}}function Ve(t,e,r,o,a){var s=t.options,c={},l=s.props;if(i(l))for(var u in l)c[u]=Gt(u,l,e||n);else i(r.attrs)&&Ke(c,r.attrs),i(r.props)&&Ke(c,r.props);var f=new Ge(r,c,a,o,t),h=s.render.call(null,f._c,f);if(h instanceof pt)return Xe(h,r,f.parent,s,f);if(Array.isArray(h)){for(var d=be(h)||[],p=new Array(d.length),g=0;g<d.length;g++)p[g]=Xe(d[g],r,f.parent,s,f);return p}}function Xe(t,e,n,r,i){var o=mt(t);return o.fnContext=n,o.fnOptions=r,e.slot&&((o.data||(o.data={})).slot=e.slot),o}function Ke(t,e){for(var n in e)t[A(n)]=e[n]}We(Ge.prototype);var Ye={init:function(t,e){if(t.componentInstance&&!t.componentInstance._isDestroyed&&t.data.keepAlive){var n=t;Ye.prepatch(n,n)}else{var r=t.componentInstance=Ze(t,Sn);r.$mount(e?t.elm:void 0,e)}},prepatch:function(t,e){var n=e.componentOptions,r=e.componentInstance=t.componentInstance;On(r,n.propsData,n.listeners,e,n.children)},insert:function(t){var e=t.context,n=t.componentInstance;n._isMounted||(Mn(n,"onServiceCreated"),Mn(n,"onServiceAttached"),n._isMounted=!0,Mn(n,"mounted")),t.data.keepAlive&&(e._isMounted?Wn(n):Ln(n,!0))},destroy:function(t){var e=t.componentInstance;e._isDestroyed||(t.data.keepAlive?Dn(e,!0):e.$destroy())}},qe=Object.keys(Ye);function Je(t,e,n,a,s){if(!r(t)){var l=n.$options._base;if(c(t)&&(t=l.extend(t)),"function"===typeof t){var u;if(r(t.cid)&&(u=t,t=gn(u,l),void 0===t))return pn(u,e,n,a,s);e=e||{},dr(t),i(e.model)&&en(t.options,e);var f=ve(e,t,s,n);if(o(t.options.functional))return Ve(t,f,e,n,a);var h=e.on;if(e.on=e.nativeOn,o(t.options.abstract)){var d=e.slot;e={},d&&(e.slot=d)}Qe(e);var p=t.options.name||s,g=new pt("vue-component-"+t.cid+(p?"-"+p:""),e,void 0,void 0,void 0,n,{Ctor:t,propsData:f,listeners:h,tag:s,children:a},u);return g}}}function Ze(t,e){var n={_isComponent:!0,_parentVnode:t,parent:e},r=t.data.inlineTemplate;return i(r)&&(n.render=r.render,n.staticRenderFns=r.staticRenderFns),new t.componentOptions.Ctor(n)}function Qe(t){for(var e=t.hook||(t.hook={}),n=0;n<qe.length;n++){var r=qe[n],i=e[r],o=Ye[r];i===o||i&&i._merged||(e[r]=i?tn(o,i):o)}}function tn(t,e){var n=function(n,r){t(n,r),e(n,r)};return n._merged=!0,n}function en(t,e){var n=t.model&&t.model.prop||"value",r=t.model&&t.model.event||"input";(e.attrs||(e.attrs={}))[n]=e.model.value;var o=e.on||(e.on={}),a=o[r],s=e.model.callback;i(a)?(Array.isArray(a)?-1===a.indexOf(s):a!==s)&&(o[r]=[s].concat(a)):o[r]=s}var nn=1,rn=2;function on(t,e,n,r,i,a){return(Array.isArray(n)||s(n))&&(i=r,r=n,n=void 0),o(a)&&(i=rn),an(t,e,n,r,i)}function an(t,e,n,r,o){if(i(n)&&i(n.__ob__))return vt();if(i(n)&&i(n.is)&&(e=n.is),!e)return vt();var a,s,c;(Array.isArray(r)&&"function"===typeof r[0]&&(n=n||{},n.scopedSlots={default:r[0]},r.length=0),o===rn?r=be(r):o===nn&&(r=me(r)),"string"===typeof e)?(s=t.$vnode&&t.$vnode.ns||U.getTagNamespace(e),a=U.isReservedTag(e)?new pt(U.parsePlatformTagName(e),n,r,void 0,void 0,t):n&&n.pre||!i(c=Wt(t.$options,"components",e))?new pt(e,n,r,void 0,void 0,t):Je(c,n,t,r,e)):a=Je(e,n,t,r);return Array.isArray(a)?a:i(a)?(i(s)&&sn(a,s),i(n)&&cn(n),a):vt()}function sn(t,e,n){if(t.ns=e,"foreignObject"===t.tag&&(e=void 0,n=!0),i(t.children))for(var a=0,s=t.children.length;a<s;a++){var c=t.children[a];i(c.tag)&&(r(c.ns)||o(n)&&"svg"!==c.tag)&&sn(c,e,n)}}function cn(t){c(t.style)&&ue(t.style),c(t.class)&&ue(t.class)}function ln(t){t._vnode=null,t._staticTrees=null;var e=t.$options,r=t.$vnode=e._parentVnode,i=r&&r.context;t.$slots=Te(e._renderChildren,i),t.$scopedSlots=n,t._c=function(e,n,r,i){return on(t,e,n,r,i,!1)},t.$createElement=function(e,n,r,i){return on(t,e,n,r,i,!0)};var o=r&&r.data;Ct(t,"$attrs",o&&o.attrs||n,null,!0),Ct(t,"$listeners",e._parentListeners||n,null,!0)}var un,fn=null;function hn(t){We(t.prototype),t.prototype.$nextTick=function(t){return ce(t,this)},t.prototype._render=function(){var t,e=this,n=e.$options,r=n.render,i=n._parentVnode;i&&(e.$scopedSlots=Pe(i.data.scopedSlots,e.$slots,e.$scopedSlots)),e.$vnode=i;try{fn=e,t=r.call(e._renderProxy,e.$createElement)}catch(ni){qt(ni,e,"render"),t=e._vnode}finally{fn=null}return Array.isArray(t)&&1===t.length&&(t=t[0]),t instanceof pt||(t=vt()),t.parent=i,t}}function dn(t,e){return(t.__esModule||ct&&"Module"===t[Symbol.toStringTag])&&(t=t.default),c(t)?e.extend(t):t}function pn(t,e,n,r,i){var o=vt();return o.asyncFactory=t,o.asyncMeta={data:e,context:n,children:r,tag:i},o}function gn(t,e){if(o(t.error)&&i(t.errorComp))return t.errorComp;if(i(t.resolved))return t.resolved;var n=fn;if(n&&i(t.owners)&&-1===t.owners.indexOf(n)&&t.owners.push(n),o(t.loading)&&i(t.loadingComp))return t.loadingComp;if(n&&!i(t.owners)){var a=t.owners=[n],s=!0,l=null,u=null;n.$on("hook:destroyed",(function(){return m(a,n)}));var f=function(t){for(var e=0,n=a.length;e<n;e++)a[e].$forceUpdate();t&&(a.length=0,null!==l&&(clearTimeout(l),l=null),null!==u&&(clearTimeout(u),u=null))},h=j((function(n){t.resolved=dn(n,e),s?a.length=0:f(!0)})),p=j((function(e){i(t.errorComp)&&(t.error=!0,f(!0))})),g=t(h,p);return c(g)&&(d(g)?r(t.resolved)&&g.then(h,p):d(g.component)&&(g.component.then(h,p),i(g.error)&&(t.errorComp=dn(g.error,e)),i(g.loading)&&(t.loadingComp=dn(g.loading,e),0===g.delay?t.loading=!0:l=setTimeout((function(){l=null,r(t.resolved)&&r(t.error)&&(t.loading=!0,f(!1))}),g.delay||200)),i(g.timeout)&&(u=setTimeout((function(){u=null,r(t.resolved)&&p(null)}),g.timeout)))),s=!1,t.loading?t.loadingComp:t.resolved}}function vn(t){return t.isComment&&t.asyncFactory}function yn(t){if(Array.isArray(t))for(var e=0;e<t.length;e++){var n=t[e];if(i(n)&&(i(n.componentOptions)||vn(n)))return n}}function mn(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&wn(t,e)}function bn(t,e){un.$on(t,e)}function xn(t,e){un.$off(t,e)}function _n(t,e){var n=un;return function r(){var i=e.apply(null,arguments);null!==i&&n.$off(t,r)}}function wn(t,e,n){un=t,pe(e,n||{},bn,xn,_n,t),un=void 0}function An(t){var e=/^hook:/;t.prototype.$on=function(t,n){var r=this;if(Array.isArray(t))for(var i=0,o=t.length;i<o;i++)r.$on(t[i],n);else(r._events[t]||(r._events[t]=[])).push(n),e.test(t)&&(r._hasHookEvent=!0);return r},t.prototype.$once=function(t,e){var n=this;function r(){n.$off(t,r),e.apply(n,arguments)}return r.fn=e,n.$on(t,r),n},t.prototype.$off=function(t,e){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(Array.isArray(t)){for(var r=0,i=t.length;r<i;r++)n.$off(t[r],e);return n}var o,a=n._events[t];if(!a)return n;if(!e)return n._events[t]=null,n;var s=a.length;while(s--)if(o=a[s],o===e||o.fn===e){a.splice(s,1);break}return n},t.prototype.$emit=function(t){var e=this,n=e._events[t];if(n){n=n.length>1?L(n):n;for(var r=L(arguments,1),i='event handler for "'+t+'"',o=0,a=n.length;o<a;o++)Jt(n[o],e,r,e,i)}return e}}var Sn=null;function Tn(t){var e=Sn;return Sn=t,function(){Sn=e}}function kn(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){while(n.$options.abstract&&n.$parent)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}function Pn(t){t.prototype._update=function(t,e){var n=this,r=n.$el,i=n._vnode,o=Tn(n);n._vnode=t,n.$el=i?n.__patch__(i,t):n.__patch__(n.$el,t,e,!1),o(),r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},t.prototype.$forceUpdate=function(){var t=this;t._watcher&&t._watcher.update()},t.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){Mn(t,"beforeDestroy"),t._isBeingDestroyed=!0;var e=t.$parent;!e||e._isBeingDestroyed||t.$options.abstract||m(e.$children,t),t._watcher&&t._watcher.teardown();var n=t._watchers.length;while(n--)t._watchers[n].teardown();t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,t.__patch__(t._vnode,null),Mn(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.$vnode&&(t.$vnode.parent=null)}}}function On(t,e,r,i,o){var a=i.data.scopedSlots,s=t.$scopedSlots,c=!!(a&&!a.$stable||s!==n&&!s.$stable||a&&t.$scopedSlots.$key!==a.$key),l=!!(o||t.$options._renderChildren||c);if(t.$options._parentVnode=i,t.$vnode=i,t._vnode&&(t._vnode.parent=i),t.$options._renderChildren=o,t.$attrs=i.data.attrs||n,t.$listeners=r||n,e&&t.$options.props){St(!1);for(var u=t._props,f=t.$options._propKeys||[],h=0;h<f.length;h++){var d=f[h],p=t.$options.props;u[d]=Gt(d,p,e,t)}St(!0),t.$options.propsData=e}t._$updateProperties&&t._$updateProperties(t),r=r||n;var g=t.$options._parentListeners;t.$options._parentListeners=r,wn(t,r,g),l&&(t.$slots=Te(o,i.context),t.$forceUpdate())}function Cn(t){while(t&&(t=t.$parent))if(t._inactive)return!0;return!1}function Ln(t,e){if(e){if(t._directInactive=!1,Cn(t))return}else if(t._directInactive)return;if(t._inactive||null===t._inactive){t._inactive=!1;for(var n=0;n<t.$children.length;n++)Ln(t.$children[n]);Mn(t,"activated")}}function Dn(t,e){if((!e||(t._directInactive=!0,!Cn(t)))&&!t._inactive){t._inactive=!0;for(var n=0;n<t.$children.length;n++)Dn(t.$children[n]);Mn(t,"deactivated")}}function Mn(t,e){ht();var n=t.$options[e],r=e+" hook";if(n)for(var i=0,o=n.length;i<o;i++)Jt(n[i],t,null,t,r);t._hasHookEvent&&t.$emit("hook:"+e),dt()}var En=[],In=[],$n={},Fn=!1,Rn=!1,jn=0;function Nn(){jn=En.length=In.length=0,$n={},Fn=Rn=!1}var zn=Date.now;if(Y&&!Q){var Un=window.performance;Un&&"function"===typeof Un.now&&zn()>document.createEvent("Event").timeStamp&&(zn=function(){return Un.now()})}function Hn(){var t,e;for(zn(),Rn=!0,En.sort((function(t,e){return t.id-e.id})),jn=0;jn<En.length;jn++)t=En[jn],t.before&&t.before(),e=t.id,$n[e]=null,t.run();var n=In.slice(),r=En.slice();Nn(),Gn(n),Bn(r),ot&&U.devtools&&ot.emit("flush")}function Bn(t){var e=t.length;while(e--){var n=t[e],r=n.vm;r._watcher===n&&r._isMounted&&!r._isDestroyed&&Mn(r,"updated")}}function Wn(t){t._inactive=!1,In.push(t)}function Gn(t){for(var e=0;e<t.length;e++)t[e]._inactive=!0,Ln(t[e],!0)}function Vn(t){var e=t.id;if(null==$n[e]){if($n[e]=!0,Rn){var n=En.length-1;while(n>jn&&En[n].id>t.id)n--;En.splice(n+1,0,t)}else En.push(t);Fn||(Fn=!0,ce(Hn))}}var Xn=0,Kn=function(t,e,n,r,i){this.vm=t,i&&(t._watcher=this),t._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++Xn,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new st,this.newDepIds=new st,this.expression="","function"===typeof e?this.getter=e:(this.getter=V(e),this.getter||(this.getter=E)),this.value=this.lazy?void 0:this.get()};Kn.prototype.get=function(){var t;ht(this);var e=this.vm;try{t=this.getter.call(e,e)}catch(ni){if(!this.user)throw ni;qt(ni,e,'getter for watcher "'+this.expression+'"')}finally{this.deep&&ue(t),dt(),this.cleanupDeps()}return t},Kn.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},Kn.prototype.cleanupDeps=function(){var t=this.deps.length;while(t--){var e=this.deps[t];this.newDepIds.has(e.id)||e.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},Kn.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():Vn(this)},Kn.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||c(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(ni){qt(ni,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},Kn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},Kn.prototype.depend=function(){var t=this.deps.length;while(t--)this.deps[t].depend()},Kn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||m(this.vm._watchers,this);var t=this.deps.length;while(t--)this.deps[t].removeSub(this);this.active=!1}};var Yn={enumerable:!0,configurable:!0,get:E,set:E};function qn(t,e,n){Yn.get=function(){return this[e][n]},Yn.set=function(t){this[e][n]=t},Object.defineProperty(t,n,Yn)}function Jn(t){t._watchers=[];var e=t.$options;e.props&&Zn(t,e.props),e.methods&&ar(t,e.methods),e.data?Qn(t):Ot(t._data={},!0),e.computed&&nr(t,e.computed),e.watch&&e.watch!==nt&&sr(t,e.watch)}function Zn(t,e){var n=t.$options.propsData||{},r=t._props={},i=t.$options._propKeys=[],o=!t.$parent;o||St(!1);var a=function(o){i.push(o);var a=Gt(o,e,n,t);Ct(r,o,a),o in t||qn(t,"_props",o)};for(var s in e)a(s);St(!0)}function Qn(t){var e=t.$options.data;e=t._data="function"===typeof e?tr(e,t):e||{},u(e)||(e={});var n=Object.keys(e),r=t.$options.props,i=(t.$options.methods,n.length);while(i--){var o=n[i];0,r&&x(r,o)||B(o)||qn(t,"_data",o)}Ot(e,!0)}function tr(t,e){ht();try{return t.call(e,e)}catch(ni){return qt(ni,e,"data()"),{}}finally{dt()}}var er={lazy:!0};function nr(t,e){var n=t._computedWatchers=Object.create(null),r=it();for(var i in e){var o=e[i],a="function"===typeof o?o:o.get;0,r||(n[i]=new Kn(t,a||E,E,er)),i in t||rr(t,i,o)}}function rr(t,e,n){var r=!it();"function"===typeof n?(Yn.get=r?ir(e):or(n),Yn.set=E):(Yn.get=n.get?r&&!1!==n.cache?ir(e):or(n.get):E,Yn.set=n.set||E),Object.defineProperty(t,e,Yn)}function ir(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),ft.SharedObject.target&&e.depend(),e.value}}function or(t){return function(){return t.call(this,this)}}function ar(t,e){t.$options.props;for(var n in e)t[n]="function"!==typeof e[n]?E:C(e[n],t)}function sr(t,e){for(var n in e){var r=e[n];if(Array.isArray(r))for(var i=0;i<r.length;i++)cr(t,n,r[i]);else cr(t,n,r)}}function cr(t,e,n,r){return u(n)&&(r=n,n=n.handler),"string"===typeof n&&(n=t[n]),t.$watch(e,n,r)}function lr(t){var e={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",n),t.prototype.$set=Lt,t.prototype.$delete=Dt,t.prototype.$watch=function(t,e,n){var r=this;if(u(e))return cr(r,t,e,n);n=n||{},n.user=!0;var i=new Kn(r,t,e,n);if(n.immediate)try{e.call(r,i.value)}catch(o){qt(o,r,'callback for immediate watcher "'+i.expression+'"')}return function(){i.teardown()}}}var ur=0;function fr(t){t.prototype._init=function(t){var e=this;e._uid=ur++,e._isVue=!0,t&&t._isComponent?hr(e,t):e.$options=Bt(dr(e.constructor),t||{},e),e._renderProxy=e,e._self=e,kn(e),mn(e),ln(e),Mn(e,"beforeCreate"),!e._$fallback&&Ae(e),Jn(e),!e._$fallback&&we(e),!e._$fallback&&Mn(e,"created"),e.$options.el&&e.$mount(e.$options.el)}}function hr(t,e){var n=t.$options=Object.create(t.constructor.options),r=e._parentVnode;n.parent=e.parent,n._parentVnode=r;var i=r.componentOptions;n.propsData=i.propsData,n._parentListeners=i.listeners,n._renderChildren=i.children,n._componentTag=i.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}function dr(t){var e=t.options;if(t.super){var n=dr(t.super),r=t.superOptions;if(n!==r){t.superOptions=n;var i=pr(t);i&&D(t.extendOptions,i),e=t.options=Bt(n,t.extendOptions),e.name&&(e.components[e.name]=t)}}return e}function pr(t){var e,n=t.options,r=t.sealedOptions;for(var i in n)n[i]!==r[i]&&(e||(e={}),e[i]=n[i]);return e}function gr(t){this._init(t)}function vr(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=L(arguments,1);return n.unshift(this),"function"===typeof t.install?t.install.apply(t,n):"function"===typeof t&&t.apply(null,n),e.push(t),this}}function yr(t){t.mixin=function(t){return this.options=Bt(this.options,t),this}}function mr(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,r=n.cid,i=t._Ctor||(t._Ctor={});if(i[r])return i[r];var o=t.name||n.options.name;var a=function(t){this._init(t)};return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=e++,a.options=Bt(n.options,t),a["super"]=n,a.options.props&&br(a),a.options.computed&&xr(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,N.forEach((function(t){a[t]=n[t]})),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=t,a.sealedOptions=D({},a.options),i[r]=a,a}}function br(t){var e=t.options.props;for(var n in e)qn(t.prototype,"_props",n)}function xr(t){var e=t.options.computed;for(var n in e)rr(t.prototype,n,e[n])}function _r(t){N.forEach((function(e){t[e]=function(t,n){return n?("component"===e&&u(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"===typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}}))}function wr(t){return t&&(t.Ctor.options.name||t.tag)}function Ar(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"===typeof t?t.split(",").indexOf(e)>-1:!!f(t)&&t.test(e)}function Sr(t,e){var n=t.cache,r=t.keys,i=t._vnode;for(var o in n){var a=n[o];if(a){var s=wr(a.componentOptions);s&&!e(s)&&Tr(n,o,r,i)}}}function Tr(t,e,n,r){var i=t[e];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),t[e]=null,m(n,e)}fr(gr),lr(gr),An(gr),Pn(gr),hn(gr);var kr=[String,RegExp,Array],Pr={name:"keep-alive",abstract:!0,props:{include:kr,exclude:kr,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)Tr(this.cache,t,this.keys)},mounted:function(){var t=this;this.$watch("include",(function(e){Sr(t,(function(t){return Ar(e,t)}))})),this.$watch("exclude",(function(e){Sr(t,(function(t){return!Ar(e,t)}))}))},render:function(){var t=this.$slots.default,e=yn(t),n=e&&e.componentOptions;if(n){var r=wr(n),i=this,o=i.include,a=i.exclude;if(o&&(!r||!Ar(o,r))||a&&r&&Ar(a,r))return e;var s=this,c=s.cache,l=s.keys,u=null==e.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):e.key;c[u]?(e.componentInstance=c[u].componentInstance,m(l,u),l.push(u)):(c[u]=e,l.push(u),this.max&&l.length>parseInt(this.max)&&Tr(c,l[0],l,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}},Or={KeepAlive:Pr};function Cr(t){var e={get:function(){return U}};Object.defineProperty(t,"config",e),t.util={warn:lt,extend:D,mergeOptions:Bt,defineReactive:Ct},t.set=Lt,t.delete=Dt,t.nextTick=ce,t.observable=function(t){return Ot(t),t},t.options=Object.create(null),N.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,D(t.options.components,Or),vr(t),yr(t),mr(t),_r(t)}Cr(gr),Object.defineProperty(gr.prototype,"$isServer",{get:it}),Object.defineProperty(gr.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(gr,"FunctionalRenderContext",{value:Ge}),gr.version="2.6.11";var Lr="[object Array]",Dr="[object Object]";function Mr(t,e){var n={};return Er(t,e),Ir(t,e,"",n),n}function Er(t,e){if(t!==e){var n=Fr(t),r=Fr(e);if(n==Dr&&r==Dr){if(Object.keys(t).length>=Object.keys(e).length)for(var i in e){var o=t[i];void 0===o?t[i]=null:Er(o,e[i])}}else n==Lr&&r==Lr&&t.length>=e.length&&e.forEach((function(e,n){Er(t[n],e)}))}}function Ir(t,e,n,r){if(t!==e){var i=Fr(t),o=Fr(e);if(i==Dr)if(o!=Dr||Object.keys(t).length<Object.keys(e).length)$r(r,n,t);else{var a=function(i){var o=t[i],a=e[i],s=Fr(o),c=Fr(a);if(s!=Lr&&s!=Dr)o!==e[i]&&$r(r,(""==n?"":n+".")+i,o);else if(s==Lr)c!=Lr||o.length<a.length?$r(r,(""==n?"":n+".")+i,o):o.forEach((function(t,e){Ir(t,a[e],(""==n?"":n+".")+i+"["+e+"]",r)}));else if(s==Dr)if(c!=Dr||Object.keys(o).length<Object.keys(a).length)$r(r,(""==n?"":n+".")+i,o);else for(var l in o)Ir(o[l],a[l],(""==n?"":n+".")+i+"."+l,r)};for(var s in t)a(s)}else i==Lr?o!=Lr||t.length<e.length?$r(r,n,t):t.forEach((function(t,i){Ir(t,e[i],n+"["+i+"]",r)})):$r(r,n,t)}}function $r(t,e,n){t[e]=n}function Fr(t){return Object.prototype.toString.call(t)}function Rr(t){if(t.__next_tick_callbacks&&t.__next_tick_callbacks.length){if(Object({NODE_ENV:"production",VUE_APP_NAME:"routineTitle",VUE_APP_PLATFORM:"mp-weixin",BASE_URL:"/"}).VUE_APP_DEBUG)t.$scope;var e=t.__next_tick_callbacks.slice(0);t.__next_tick_callbacks.length=0;for(var n=0;n<e.length;n++)e[n]()}}function jr(t){return En.find((function(e){return t._watcher===e}))}function Nr(t,e){if(!t.__next_tick_pending&&!jr(t)){if(Object({NODE_ENV:"production",VUE_APP_NAME:"routineTitle",VUE_APP_PLATFORM:"mp-weixin",BASE_URL:"/"}).VUE_APP_DEBUG)t.$scope;return ce(e,t)}if(Object({NODE_ENV:"production",VUE_APP_NAME:"routineTitle",VUE_APP_PLATFORM:"mp-weixin",BASE_URL:"/"}).VUE_APP_DEBUG)t.$scope;var n;if(t.__next_tick_callbacks||(t.__next_tick_callbacks=[]),t.__next_tick_callbacks.push((function(){if(e)try{e.call(t)}catch(ni){qt(ni,t,"nextTick")}else n&&n(t)})),!e&&"undefined"!==typeof Promise)return new Promise((function(t){n=t}))}function zr(t){var e=Object.create(null),n=[].concat(Object.keys(t._data||{}),Object.keys(t._computedWatchers||{}));n.reduce((function(e,n){return e[n]=t[n],e}),e);var r=t.__composition_api_state__||t.__secret_vfa_state__,i=r&&r.rawBindings;return i&&Object.keys(i).forEach((function(n){e[n]=t[n]})),Object.assign(e,t.$mp.data||{}),Array.isArray(t.$options.behaviors)&&-1!==t.$options.behaviors.indexOf("uni://form-field")&&(e["name"]=t.name,e["value"]=t.value),JSON.parse(JSON.stringify(e))}var Ur=function(t,e){var n=this;if(null!==e&&("page"===this.mpType||"component"===this.mpType)){var r=this.$scope,i=Object.create(null);try{i=zr(this)}catch(s){}i.__webviewId__=r.data.__webviewId__;var o=Object.create(null);Object.keys(i).forEach((function(t){o[t]=r.data[t]}));var a=!1===this.$shouldDiffData?i:Mr(i,o);Object.keys(a).length?(Object({NODE_ENV:"production",VUE_APP_NAME:"routineTitle",VUE_APP_PLATFORM:"mp-weixin",BASE_URL:"/"}).VUE_APP_DEBUG,this.__next_tick_pending=!0,r.setData(a,(function(){n.__next_tick_pending=!1,Rr(n)}))):Rr(this)}};function Hr(){}function Br(t,e,n){if(!t.mpType)return t;"app"===t.mpType&&(t.$options.render=Hr),t.$options.render||(t.$options.render=Hr),!t._$fallback&&Mn(t,"beforeMount");var r=function(){t._update(t._render(),n)};return new Kn(t,r,E,{before:function(){t._isMounted&&!t._isDestroyed&&Mn(t,"beforeUpdate")}},!0),n=!1,t}function Wr(t,e){return i(t)||i(e)?Gr(t,Vr(e)):""}function Gr(t,e){return t?e?t+" "+e:t:e||""}function Vr(t){return Array.isArray(t)?Xr(t):c(t)?Kr(t):"string"===typeof t?t:""}function Xr(t){for(var e,n="",r=0,o=t.length;r<o;r++)i(e=Vr(t[r]))&&""!==e&&(n&&(n+=" "),n+=e);return n}function Kr(t){var e="";for(var n in t)t[n]&&(e&&(e+=" "),e+=n);return e}var Yr=_((function(t){var e={},n=/;(?![^(]*\))/g,r=/:(.+)/;return t.split(n).forEach((function(t){if(t){var n=t.split(r);n.length>1&&(e[n[0].trim()]=n[1].trim())}})),e}));function qr(t){return Array.isArray(t)?M(t):"string"===typeof t?Yr(t):t}var Jr=["createSelectorQuery","createIntersectionObserver","selectAllComponents","selectComponent"];function Zr(t,e){var n=e.split("."),r=n[0];return 0===r.indexOf("__$n")&&(r=parseInt(r.replace("__$n",""))),1===n.length?t[r]:Zr(t[r],n.slice(1).join("."))}function Qr(t){t.config.errorHandler=function(e,n,r){t.util.warn("Error in "+r+': "'+e.toString()+'"',n);var i="function"===typeof getApp&&getApp();i&&i.onError&&i.onError(e)};var e=t.prototype.$emit;t.prototype.$emit=function(t){return this.$scope&&t&&(this.$scope["_triggerEvent"]||this.$scope["triggerEvent"]).call(this.$scope,t,{__args__:L(arguments,1)}),e.apply(this,arguments)},t.prototype.$nextTick=function(t){return Nr(this,t)},Jr.forEach((function(e){t.prototype[e]=function(t){return this.$scope&&this.$scope[e]?this.$scope[e](t):"undefined"!==typeof my?"createSelectorQuery"===e?my.createSelectorQuery(t):"createIntersectionObserver"===e?my.createIntersectionObserver(t):void 0:void 0}})),t.prototype.__init_provide=we,t.prototype.__init_injections=Ae,t.prototype.__call_hook=function(t,e){var n=this;ht();var r,i=n.$options[t],o=t+" hook";if(i)for(var a=0,s=i.length;a<s;a++)r=Jt(i[a],n,e?[e]:null,n,o);return n._hasHookEvent&&n.$emit("hook:"+t,e),dt(),r},t.prototype.__set_model=function(e,n,r,i){Array.isArray(i)&&(-1!==i.indexOf("trim")&&(r=r.trim()),-1!==i.indexOf("number")&&(r=this._n(r))),e||(e=this),t.set(e,n,r)},t.prototype.__set_sync=function(e,n,r){e||(e=this),t.set(e,n,r)},t.prototype.__get_orig=function(t){return u(t)&&t["$orig"]||t},t.prototype.__get_value=function(t,e){return Zr(e||this,t)},t.prototype.__get_class=function(t,e){return Wr(e,t)},t.prototype.__get_style=function(t,e){if(!t&&!e)return"";var n=qr(t),r=e?D(e,n):n;return Object.keys(r).map((function(t){return k(t)+":"+r[t]})).join(";")},t.prototype.__map=function(t,e){var n,r,i,o,a;if(Array.isArray(t)){for(n=new Array(t.length),r=0,i=t.length;r<i;r++)n[r]=e(t[r],r);return n}if(c(t)){for(o=Object.keys(t),n=Object.create(null),r=0,i=o.length;r<i;r++)a=o[r],n[a]=e(t[a],a,r);return n}if("number"===typeof t){for(n=new Array(t),r=0,i=t;r<i;r++)n[r]=e(r,r);return n}return[]}}var ti=["onLaunch","onShow","onHide","onUniNViewMessage","onPageNotFound","onThemeChange","onError","onUnhandledRejection","onInit","onLoad","onReady","onUnload","onPullDownRefresh","onReachBottom","onTabItemTap","onAddToFavorites","onShareTimeline","onShareAppMessage","onResize","onPageScroll","onNavigationBarButtonTap","onBackPress","onNavigationBarSearchInputChanged","onNavigationBarSearchInputConfirmed","onNavigationBarSearchInputClicked","onPageShow","onPageHide","onPageResize"];function ei(t){var e=t.extend;t.extend=function(t){t=t||{};var n=t.methods;return n&&Object.keys(n).forEach((function(e){-1!==ti.indexOf(e)&&(t[e]=n[e],delete n[e])})),e.call(this,t)};var n=t.config.optionMergeStrategies,r=n.created;ti.forEach((function(t){n[t]=r})),t.prototype.__lifecycle_hooks__=ti}gr.prototype.__patch__=Ur,gr.prototype.$mount=function(t,e){return Br(this,t,e)},ei(gr),Qr(gr),e["default"]=gr}.call(this,n("c8ba"))},"6b37":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=s(n("66fd")),i=s(n("26cb")),o=s(n("5b94")),a=s(n("5bb2"));function s(t){return t&&t.__esModule?t:{default:t}}r.default.use(i.default);var c=!1,l=new i.default.Store({modules:o.default,getters:a.default,strict:c});e.default=l},"6e38":function(t,e){},7402:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.sharePoster=void 0;var r=n("1346"),i=n("f15c"),o=t.getSystemInfoSync().statusBarHeight+"px",a={data:function(){return{codeShow:!1,cid:"1",codeVal:"",size:200,unit:"upx",background:"#FFF",foreground:"#000",pdground:"#000",codeIcon:"",iconsize:40,lv:3,onval:!0,loadMake:!0,base64Show:0,shareQrcode:0,followCode:"",selectSku:{},currentPage:!1,sysHeight:o,isShow:0,storeImageBase64:""}},methods:{qrR:function(t){},getImageBase64:function(){var t=this;(0,r.imageBase64)(t.storeImage,"").then((function(e){t.storeImageBase64=e.data.image})).catch((function(){}))},goPoster:function(){var e,n=this;if(n.posters=!1,n.$set(n,"canvasStatus",!0),e=[n.posterbackgd,n.storeImage,n.PromotionCode],n.isDown)return n.$util.Tips({title:"正在下载海报,请稍后再试"});t.getImageInfo({src:n.PromotionCode,fail:function(t){return n.$util.Tips({title:"小程序二维码需要发布正式版后才能获取到"})},success:function(){""==e[2]?n.downloadFilePromotionCode((function(t){if(e[2]=t,""==e[2])return n.$util.Tips({title:"海报二维码生成失败!"});n.$util.PosterCanvas(e,n.storeInfo.store_name,n.storeInfo.price,n.storeInfo.ot_price,(function(t){n.$set(n,"posterImage",t),n.$set(n,"posterImageStatus",!0),n.$set(n,"canvasStatus",!1),n.$set(n,"actionSheetHidden",!n.actionSheetHidden)}))})):n.$nextTick((function(t){n.$util.PosterCanvas(e,n.storeInfo.store_name,n.storeInfo.price,n.storeInfo.ot_price,(function(t){n.$set(n,"posterImage",t),n.$set(n,"posterImageStatus",!0),n.$set(n,"canvasStatus",!1),n.$set(n,"actionSheetHidden",!n.actionSheetHidden)}))}))}})},setDomain:function(t){return t=t?t.toString():"",t.indexOf("https://")>-1?t:t.replace("http://","https://")},downloadFilestoreImage:function(){var e=this;t.downloadFile({url:e.setDomain(e.storeInfo.image),success:function(t){e.storeImage=t.tempFilePath,e.storeImageBase64=t.tempFilePath},fail:function(){return e.$util.Tips({title:""})}})},downloadFilePromotionCode:function(e){var n=this;(0,i.getProductCode)(n.id).then((function(r){t.downloadFile({url:n.setDomain(r.data.code),success:function(t){n.$set(n,"isDown",!1),n.$set(n,"PromotionCode",t.tempFilePath),"function"==typeof e&&e&&e(t.tempFilePath)},fail:function(){n.$set(n,"isDown",!1),n.$set(n,"PromotionCode","")}})})).catch((function(t){n.$set(n,"isDown",!1),n.$set(n,"PromotionCode","")}))}}};e.sharePoster=a}).call(this,n("543d")["default"])},"7f3a":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getLotteryData=o,e.startLottery=a,e.receiveLottery=s,e.getLotteryList=c;var r=i(n("9011"));function i(t){return t&&t.__esModule?t:{default:t}}function o(t){return r.default.get("v2/lottery/info/".concat(t))}function a(t){return r.default.post("v2/lottery",t)}function s(t){return r.default.post("v2/lottery/receive",t)}function c(t){return r.default.get("v2/lottery/record",t)}},"7fe6":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getIndexData=o,e.getServerType=a,e.getLogo=s,e.setFormId=c,e.setCouponReceive=l,e.getCoupons=u,e.getCouponsIndex=f,e.getUserCoupons=h,e.getNewCoupon=d,e.getArticleCategoryList=p,e.getArticleList=g,e.getArticleHotList=v,e.getArticleBannerList=y,e.getArticleDetails=m,e.loginMobile=b,e.verifyCode=x,e.registerVerify=_,e.phoneRegister=w,e.phoneRegisterReset=A,e.phoneLogin=S,e.switchH5Login=T,e.bindingPhone=k,e.bindingUserPhone=P,e.logout=O,e.getTemlIds=C,e.pink=L,e.getCity=D,e.getLiveList=M,e.getDiy=E,e.colorChange=I,e.follow=$,e.updatePhone=F,e.getCouponV2=R,e.getCouponNewUser=j,e.category=N,e.searchList=z,e.clearSearch=U,e.siteConfig=H,e.wechatAppAuth=B,e.getCustomerType=W,e.getOpenAdv=G;var r=i(n("9011"));function i(t){return t&&t.__esModule?t:{default:t}}function o(){return r.default.get("v2/index",{},{noAuth:!0})}function a(){return r.default.get("v2/site_serve",{},{noAuth:!0})}function s(){return r.default.get("wechat/get_logo",{},{noAuth:!0})}function c(t){return r.default.post("wechat/set_form_id",{formId:t})}function l(t){return r.default.post("coupon/receive",{couponId:t})}function u(t){return r.default.get("v2/coupons",t,{noAuth:!0})}function f(t){return r.default.get("coupons",t,{noAuth:!0})}function h(t,e){return r.default.get("coupons/user/"+t,e)}function d(){return r.default.get("v2/new_coupon")}function p(){return r.default.get("article/category/list",{},{noAuth:!0})}function g(t,e){return r.default.get("article/list/"+t,e,{noAuth:!0})}function v(){return r.default.get("article/hot/list",{},{noAuth:!0})}function y(){return r.default.get("article/banner/list",{},{noAuth:!0})}function m(t){return r.default.get("article/details/"+t,{},{noAuth:!0})}function b(t){return r.default.post("login/mobile",t,{noAuth:!0})}function x(){return r.default.get("verify_code",{},{noAuth:!0})}function _(t,e,n,i){return r.default.post("register/verify",{phone:t,type:void 0===e?"reset":e,key:n,code:i},{noAuth:!0})}function w(t){return r.default.post("register",t,{noAuth:!0})}function A(t){return r.default.post("register/reset",t,{noAuth:!0})}function S(t){return r.default.post("login",t,{noAuth:!0})}function T(){return r.default.post("switch_h5",{from:"routine"})}function k(t){return r.default.post("binding",t,{noAuth:!0})}function P(t){return r.default.post("user/binding",t)}function O(){return r.default.get("logout")}function C(){return r.default.get("wechat/teml_ids",{},{noAuth:!0})}function L(){return r.default.get("pink",{},{noAuth:!0})}function D(){return r.default.get("city_list",{},{noAuth:!0})}function M(t,e){return r.default.get("wechat/live",{page:t,limit:e},{noAuth:!0})}function E(t){return r.default.get("v2/diy/get_diy/default".concat(t?"?id="+t:""),{},{noAuth:!0})}function I(t){return r.default.get("v2/diy/color_change/"+t,{},{noAuth:!0})}function $(){return r.default.get("wechat/follow",{},{noAuth:!0})}function F(t){return r.default.post("user/updatePhone",t,{noAuth:!0})}function R(){return r.default.get("v2/get_today_coupon",{},{noAuth:!0})}function j(){return r.default.get("v2/new_coupon",{},{noAuth:!0})}function N(t){return r.default.get("category",t,{noAuth:!0})}function z(t){return r.default.get("v2/user/search_list",t,{noAuth:!0})}function U(){return r.default.get("v2/user/clean_search")}function H(t){return r.default.get("site_config",t,{noAuth:!0})}function B(t){return r.default.post("wechat/app_auth",t,{noAuth:!0})}function W(t){return r.default.get("get_customer_type",{},{noAuth:!0})}function G(t){return r.default.get("get_open_adv",{},{noAuth:!0})}},8632:function(t,e,n){"use strict";function r(t){if(0===t.indexOf("_www")||0===t.indexOf("_doc")||0===t.indexOf("_documents")||0===t.indexOf("_downloads"))return t;if(0===t.indexOf("file://"))return t;if(0===t.indexOf("/storage/emulated/0/"))return t;if(0===t.indexOf("/")){var e=plus.io.convertAbsoluteFileSystem(t);if(e!==t)return e;t=t.substr(1)}return"_www/"+t}function i(t){return new Promise((function(e,n){if("object"===typeof window&&"document"in window){if("function"===typeof FileReader){var i=new XMLHttpRequest;return i.open("GET",t,!0),i.responseType="blob",i.onload=function(){if(200===this.status){var t=new FileReader;t.onload=function(t){e(t.target.result)},t.onerror=n,t.readAsDataURL(this.response)}},i.onerror=n,void i.send()}var o=document.createElement("canvas"),a=o.getContext("2d"),s=new Image;return s.onload=function(){o.width=s.width,o.height=s.height,a.drawImage(s,0,0),e(o.toDataURL()),o.height=o.width=0},s.onerror=n,void(s.src=t)}"object"!==typeof plus?"object"===typeof wx&&wx.canIUse("getFileSystemManager")?wx.getFileSystemManager().readFile({filePath:t,encoding:"base64",success:function(t){e("data:image/png;base64,"+t.data)},fail:function(t){n(t)}}):n(new Error("not support")):plus.io.resolveLocalFileSystemURL(r(t),(function(t){t.file((function(t){var r=new plus.io.FileReader;r.onload=function(t){e(t.target.result)},r.onerror=function(t){n(t)},r.readAsDataURL(t)}),(function(t){n(t)}))}),(function(t){n(t)}))}))}function o(t){return new Promise((function(e,n){if("object"===typeof window&&"document"in window){t=t.split(",");var r=t[0].match(/:(.*?);/)[1],i=atob(t[1]),o=i.length,a=new Uint8Array(o);while(o--)a[o]=i.charCodeAt(o);return e((window.URL||window.webkitURL).createObjectURL(new Blob([a],{type:r})))}var s=t.match(/data\:\S+\/(\S+);/);s?s=s[1]:n(new Error("base64 error"));var c=Date.now()+"."+s;if("object"!==typeof plus)if("object"===typeof wx&&wx.canIUse("getFileSystemManager")){var l=wx.env.USER_DATA_PATH+"/"+c;wx.getFileSystemManager().writeFile({filePath:l,data:t.replace(/^data:\S+\/\S+;base64,/,""),encoding:"base64",success:function(){e(l)},fail:function(t){n(t)}})}else n(new Error("not support"));else{var u=new plus.nativeObj.Bitmap("bitmap"+Date.now());u.loadBase64Data(t,(function(){var t="_doc/uniapp_temp/"+c;u.save(t,{},(function(){u.clear(),e(t)}),(function(t){u.clear(),n(t)}))}),(function(t){u.clear(),n(t)}))}}))}Object.defineProperty(e,"__esModule",{value:!0}),e.pathToBase64=i,e.base64ToPath=o},9011:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n("514d"),i=n("c6cd"),o=a(n("6b37"));function a(t){return t&&t.__esModule?t:{default:t}}function s(e,n,a,s){var c=s.noAuth,l=void 0!==c&&c,u=s.noVerify,f=void 0!==u&&u,h=r.HTTP_REQUEST_URL,d=r.HEADER;return l||o.default.state.app.token||(0,i.checkLogin)()?(o.default.state.app.token&&(d[r.TOKENNAME]="Bearer "+o.default.state.app.token),new Promise((function(r,o){t.request({url:h+"/api/"+e,method:n||"GET",header:d,data:a||{},success:function(e){f||200==e.data.status?r(e.data,e):-1!==[41e4,410001,410002].indexOf(e.data.status)?((0,i.toLogin)(),o(e.data)):410010==e.data.status?t.showModal({title:"提示",content:e.data.msg,showCancel:!1,confirmText:"我知道了"}):o(e.data.msg||"系统错误")},fail:function(t){o("请求失败")}})}))):((0,i.toLogin)(),Promise.reject({msg:"未登录"}))}var c={};["options","get","post","put","head","delete","trace","connect"].forEach((function(t){c[t]=function(e,n,r){return s(e,t,n,r||{})}}));var l=c;e.default=l}).call(this,n("543d")["default"])},9231:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={lunarInfo:[19416,19168,42352,21717,53856,55632,91476,22176,39632,21970,19168,42422,42192,53840,119381,46400,54944,44450,38320,84343,18800,42160,46261,27216,27968,109396,11104,38256,21234,18800,25958,54432,59984,28309,23248,11104,100067,37600,116951,51536,54432,120998,46416,22176,107956,9680,37584,53938,43344,46423,27808,46416,86869,19872,42416,83315,21168,43432,59728,27296,44710,43856,19296,43748,42352,21088,62051,55632,23383,22176,38608,19925,19152,42192,54484,53840,54616,46400,46752,103846,38320,18864,43380,42160,45690,27216,27968,44870,43872,38256,19189,18800,25776,29859,59984,27480,23232,43872,38613,37600,51552,55636,54432,55888,30034,22176,43959,9680,37584,51893,43344,46240,47780,44368,21977,19360,42416,86390,21168,43312,31060,27296,44368,23378,19296,42726,42208,53856,60005,54576,23200,30371,38608,19195,19152,42192,118966,53840,54560,56645,46496,22224,21938,18864,42359,42160,43600,111189,27936,44448,84835,37744,18936,18800,25776,92326,59984,27424,108228,43744,41696,53987,51552,54615,54432,55888,23893,22176,42704,21972,21200,43448,43344,46240,46758,44368,21920,43940,42416,21168,45683,26928,29495,27296,44368,84821,19296,42352,21732,53600,59752,54560,55968,92838,22224,19168,43476,41680,53584,62034,54560],solarMonth:[31,28,31,30,31,30,31,31,30,31,30,31],Gan:["甲","乙","丙","丁","戊","己","庚","辛","壬","癸"],Zhi:["子","丑","寅","卯","辰","巳","午","未","申","酉","戌","亥"],Animals:["鼠","牛","虎","兔","龙","蛇","马","羊","猴","鸡","狗","猪"],solarTerm:["小寒","大寒","立春","雨水","惊蛰","春分","清明","谷雨","立夏","小满","芒种","夏至","小暑","大暑","立秋","处暑","白露","秋分","寒露","霜降","立冬","小雪","大雪","冬至"],sTermInfo:["9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c3598082c95f8c965cc920f","97bd0b06bdb0722c965ce1cfcc920f","b027097bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd0b06bdb0722c965ce1cfcc920f","b027097bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd0b06bdb0722c965ce1cfcc920f","b027097bd097c36b0b6fc9274c91aa","9778397bd19801ec9210c965cc920e","97b6b97bd19801ec95f8c965cc920f","97bd09801d98082c95f8e1cfcc920f","97bd097bd097c36b0b6fc9210c8dc2","9778397bd197c36c9210c9274c91aa","97b6b97bd19801ec95f8c965cc920e","97bd09801d98082c95f8e1cfcc920f","97bd097bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c91aa","97b6b97bd19801ec95f8c965cc920e","97bcf97c3598082c95f8e1cfcc920f","97bd097bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c3598082c95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c3598082c95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd097bd07f595b0b6fc920fb0722","9778397bd097c36b0b6fc9210c8dc2","9778397bd19801ec9210c9274c920e","97b6b97bd19801ec95f8c965cc920f","97bd07f5307f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c920e","97b6b97bd19801ec95f8c965cc920f","97bd07f5307f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c91aa","97b6b97bd19801ec9210c965cc920e","97bd07f1487f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c9274c920e","97bcf7f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c91aa","97b6b97bd197c36c9210c9274c920e","97bcf7f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c920e","97b6b7f0e47f531b0723b0b6fb0722","7f0e37f5307f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36b0b70c9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e37f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc9210c8dc2","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0787b0721","7f0e27f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c91aa","97b6b7f0e47f149b0723b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c8dc2","977837f0e37f149b0723b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e37f5307f595b0b0bc920fb0722","7f0e397bd097c35b0b6fc9210c8dc2","977837f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0721","7f0e37f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc9210c8dc2","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f149b0723b0787b0721","7f0e27f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14998082b0723b06bd","7f07e7f0e37f149b0723b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e37f1487f595b0b0bb0b6fb0722","7f0e37f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e37f1487f531b0b0bb0b6fb0722","7f0e37f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e37f1487f531b0b0bb0b6fb0722","7f0e37f0e37f14898082b072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e37f0e37f14898082b072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f149b0723b0787b0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14998082b0723b06bd","7f07e7f0e47f149b0723b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14998082b0723b06bd","7f07e7f0e37f14998083b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14898082b0723b02d5","7f07e7f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e36665b66aa89801e9808297c35","665f67f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e36665b66a449801e9808297c35","665f67f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e36665b66a449801e9808297c35","665f67f0e37f14898082b072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e26665b66a449801e9808297c35","665f67f0e37f1489801eb072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722"],nStr1:["日","一","二","三","四","五","六","七","八","九","十"],nStr2:["初","十","廿","卅"],nStr3:["正","二","三","四","五","六","七","八","九","十","冬","腊"],lYearDays:function(t){var e,n=348;for(e=32768;e>8;e>>=1)n+=this.lunarInfo[t-1900]&e?1:0;return n+this.leapDays(t)},leapMonth:function(t){return 15&this.lunarInfo[t-1900]},leapDays:function(t){return this.leapMonth(t)?65536&this.lunarInfo[t-1900]?30:29:0},monthDays:function(t,e){return e>12||e<1?-1:this.lunarInfo[t-1900]&65536>>e?30:29},solarDays:function(t,e){if(e>12||e<1)return-1;var n=e-1;return 1==n?t%4==0&&t%100!=0||t%400==0?29:28:this.solarMonth[n]},toGanZhiYear:function(t){var e=(t-3)%10,n=(t-3)%12;return 0==e&&(e=10),0==n&&(n=12),this.Gan[e-1]+this.Zhi[n-1]},toAstro:function(t,e){var n="魔羯水瓶双鱼白羊金牛双子巨蟹狮子处女天秤天蝎射手魔羯",r=[20,19,21,21,21,22,23,23,23,23,22,22];return n.substr(2*t-(e<r[t-1]?2:0),2)+"座"},toGanZhi:function(t){return this.Gan[t%10]+this.Zhi[t%12]},getTerm:function(t,e){if(t<1900||t>2100)return-1;if(e<1||e>24)return-1;var n=this.sTermInfo[t-1900],r=[parseInt("0x"+n.substr(0,5)).toString(),parseInt("0x"+n.substr(5,5)).toString(),parseInt("0x"+n.substr(10,5)).toString(),parseInt("0x"+n.substr(15,5)).toString(),parseInt("0x"+n.substr(20,5)).toString(),parseInt("0x"+n.substr(25,5)).toString()],i=[r[0].substr(0,1),r[0].substr(1,2),r[0].substr(3,1),r[0].substr(4,2),r[1].substr(0,1),r[1].substr(1,2),r[1].substr(3,1),r[1].substr(4,2),r[2].substr(0,1),r[2].substr(1,2),r[2].substr(3,1),r[2].substr(4,2),r[3].substr(0,1),r[3].substr(1,2),r[3].substr(3,1),r[3].substr(4,2),r[4].substr(0,1),r[4].substr(1,2),r[4].substr(3,1),r[4].substr(4,2),r[5].substr(0,1),r[5].substr(1,2),r[5].substr(3,1),r[5].substr(4,2)];return parseInt(i[e-1])},toChinaMonth:function(t){if(t>12||t<1)return-1;var e=this.nStr3[t-1];return e+="月",e},toChinaDay:function(t){var e;switch(t){case 10:e="初十";break;case 20:e="二十";break;case 30:e="三十";break;default:e=this.nStr2[Math.floor(t/10)],e+=this.nStr1[t%10]}return e},getAnimal:function(t){return this.Animals[(t-4)%12]},solar2lunar:function(t,e,n){if(t<1900||t>2100)return-1;if(1900==t&&1==e&&n<31)return-1;if(t)r=new Date(t,parseInt(e)-1,n);else var r=new Date;var i,o=0,a=0,s=(t=r.getFullYear(),e=r.getMonth()+1,n=r.getDate(),(Date.UTC(r.getFullYear(),r.getMonth(),r.getDate())-Date.UTC(1900,0,31))/864e5);for(i=1900;i<2101&&s>0;i++)a=this.lYearDays(i),s-=a;s<0&&(s+=a,i--);var c=new Date,l=!1;c.getFullYear()==t&&c.getMonth()+1==e&&c.getDate()==n&&(l=!0);var u=r.getDay(),f=this.nStr1[u];0==u&&(u=7);var h=i,d=(o=this.leapMonth(i),!1);for(i=1;i<13&&s>0;i++)o>0&&i==o+1&&0==d?(--i,d=!0,a=this.leapDays(h)):a=this.monthDays(h,i),1==d&&i==o+1&&(d=!1),s-=a;0==s&&o>0&&i==o+1&&(d?d=!1:(d=!0,--i)),s<0&&(s+=a,--i);var p=i,g=s+1,v=e-1,y=this.toGanZhiYear(h),m=this.getTerm(t,2*e-1),b=this.getTerm(t,2*e),x=this.toGanZhi(12*(t-1900)+e+11);n>=m&&(x=this.toGanZhi(12*(t-1900)+e+12));var _=!1,w=null;m==n&&(_=!0,w=this.solarTerm[2*e-2]),b==n&&(_=!0,w=this.solarTerm[2*e-1]);var A=Date.UTC(t,v,1,0,0,0,0)/864e5+25567+10,S=this.toGanZhi(A+n-1),T=this.toAstro(e,n);return{lYear:h,lMonth:p,lDay:g,Animal:this.getAnimal(h),IMonthCn:(d?"闰":"")+this.toChinaMonth(p),IDayCn:this.toChinaDay(g),cYear:t,cMonth:e,cDay:n,gzYear:y,gzMonth:x,gzDay:S,isToday:l,isLeap:d,nWeek:u,ncWeek:"星期"+f,isTerm:_,Term:w,astro:T}},lunar2solar:function(t,e,n,r){r=!!r;var i=this.leapMonth(t);this.leapDays(t);if(r&&i!=e)return-1;if(2100==t&&12==e&&n>1||1900==t&&1==e&&n<31)return-1;var o=this.monthDays(t,e),a=o;if(r&&(a=this.leapDays(t,e)),t<1900||t>2100||n>a)return-1;for(var s=0,c=1900;c<t;c++)s+=this.lYearDays(c);var l=0,u=!1;for(c=1;c<e;c++)l=this.leapMonth(t),u||l<=c&&l>0&&(s+=this.leapDays(t),u=!0),s+=this.monthDays(t,c);r&&(s+=o);var f=Date.UTC(1900,1,30,0,0,0),h=new Date(864e5*(s+n-31)+f),d=h.getUTCFullYear(),p=h.getUTCMonth()+1,g=h.getUTCDate();return this.solar2lunar(d,p,g)}},i=r;e.default=i},"96cf":function(t,e){!function(e){"use strict";var n,r=Object.prototype,i=r.hasOwnProperty,o="function"===typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag",l="object"===typeof t,u=e.regeneratorRuntime;if(u)l&&(t.exports=u);else{u=e.regeneratorRuntime=l?t.exports:{},u.wrap=x;var f="suspendedStart",h="suspendedYield",d="executing",p="completed",g={},v={};v[a]=function(){return this};var y=Object.getPrototypeOf,m=y&&y(y(M([])));m&&m!==r&&i.call(m,a)&&(v=m);var b=S.prototype=w.prototype=Object.create(v);A.prototype=b.constructor=S,S.constructor=A,S[c]=A.displayName="GeneratorFunction",u.isGeneratorFunction=function(t){var e="function"===typeof t&&t.constructor;return!!e&&(e===A||"GeneratorFunction"===(e.displayName||e.name))},u.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,S):(t.__proto__=S,c in t||(t[c]="GeneratorFunction")),t.prototype=Object.create(b),t},u.awrap=function(t){return{__await:t}},T(k.prototype),k.prototype[s]=function(){return this},u.AsyncIterator=k,u.async=function(t,e,n,r){var i=new k(x(t,e,n,r));return u.isGeneratorFunction(e)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},T(b),b[c]="Generator",b[a]=function(){return this},b.toString=function(){return"[object Generator]"},u.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){while(e.length){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},u.values=M,D.prototype={constructor:D,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(L),!t)for(var e in this)"t"===e.charAt(0)&&i.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=n)},stop:function(){this.done=!0;var t=this.tryEntries[0],e=t.completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(r,i){return s.type="throw",s.arg=t,e.next=r,i&&(e.method="next",e.arg=n),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var c=i.call(a,"catchLoc"),l=i.call(a,"finallyLoc");if(c&&l){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),L(n),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;L(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:M(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=n),g}}}function x(t,e,n,r){var i=e&&e.prototype instanceof w?e:w,o=Object.create(i.prototype),a=new D(r||[]);return o._invoke=P(t,n,a),o}function _(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(r){return{type:"throw",arg:r}}}function w(){}function A(){}function S(){}function T(t){["next","throw","return"].forEach((function(e){t[e]=function(t){return this._invoke(e,t)}}))}function k(t){function e(n,r,o,a){var s=_(t[n],t,r);if("throw"!==s.type){var c=s.arg,l=c.value;return l&&"object"===typeof l&&i.call(l,"__await")?Promise.resolve(l.__await).then((function(t){e("next",t,o,a)}),(function(t){e("throw",t,o,a)})):Promise.resolve(l).then((function(t){c.value=t,o(c)}),(function(t){return e("throw",t,o,a)}))}a(s.arg)}var n;function r(t,r){function i(){return new Promise((function(n,i){e(t,r,n,i)}))}return n=n?n.then(i,i):i()}this._invoke=r}function P(t,e,n){var r=f;return function(i,o){if(r===d)throw new Error("Generator is already running");if(r===p){if("throw"===i)throw o;return E()}n.method=i,n.arg=o;while(1){var a=n.delegate;if(a){var s=O(a,n);if(s){if(s===g)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=d;var c=_(t,e,n);if("normal"===c.type){if(r=n.done?p:h,c.arg===g)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=p,n.method="throw",n.arg=c.arg)}}}function O(t,e){var r=t.iterator[e.method];if(r===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=n,O(t,e),"throw"===e.method))return g;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return g}var i=_(r,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,g;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=n),e.delegate=null,g):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,g)}function C(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function D(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function M(t){if(t){var e=t[a];if(e)return e.call(t);if("function"===typeof t.next)return t;if(!isNaN(t.length)){var r=-1,o=function e(){while(++r<t.length)if(i.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=n,e.done=!0,e};return o.next=o}}return{next:E}}function E(){return{value:n,done:!0}}}(function(){return this||"object"===typeof self&&self}()||Function("return this")())},"97d0":function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={};(function(){function e(t){var e,n,r;return t<128?[t]:t<2048?(e=192+(t>>6),n=128+(63&t),[e,n]):(e=224+(t>>12),n=128+(t>>6&63),r=128+(63&t),[e,n,r])}function r(t){for(var n=[],r=0;r<t.length;r++)for(var i=t.charCodeAt(r),o=e(i),a=0;a<o.length;a++)n.push(o[a]);return n}function i(t,e){this.typeNumber=-1,this.errorCorrectLevel=e,this.modules=null,this.moduleCount=0,this.dataCache=null,this.rsBlocks=null,this.totalDataCount=-1,this.data=t,this.utf8bytes=r(t),this.make()}i.prototype={constructor:i,getModuleCount:function(){return this.moduleCount},make:function(){this.getRightType(),this.dataCache=this.createData(),this.createQrcode()},makeImpl:function(t){this.moduleCount=4*this.typeNumber+17,this.modules=new Array(this.moduleCount);for(var e=0;e<this.moduleCount;e++)this.modules[e]=new Array(this.moduleCount);this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(!0,t),this.typeNumber>=7&&this.setupTypeNumber(!0),this.mapData(this.dataCache,t)},setupPositionProbePattern:function(t,e){for(var n=-1;n<=7;n++)if(!(t+n<=-1||this.moduleCount<=t+n))for(var r=-1;r<=7;r++)e+r<=-1||this.moduleCount<=e+r||(this.modules[t+n][e+r]=0<=n&&n<=6&&(0==r||6==r)||0<=r&&r<=6&&(0==n||6==n)||2<=n&&n<=4&&2<=r&&r<=4)},createQrcode:function(){for(var t=0,e=0,n=null,r=0;r<8;r++){this.makeImpl(r);var i=s.getLostPoint(this);(0==r||t>i)&&(t=i,e=r,n=this.modules)}this.modules=n,this.setupTypeInfo(!1,e),this.typeNumber>=7&&this.setupTypeNumber(!1)},setupTimingPattern:function(){for(var t=8;t<this.moduleCount-8;t++)null==this.modules[t][6]&&(this.modules[t][6]=t%2==0,null==this.modules[6][t]&&(this.modules[6][t]=t%2==0))},setupPositionAdjustPattern:function(){for(var t=s.getPatternPosition(this.typeNumber),e=0;e<t.length;e++)for(var n=0;n<t.length;n++){var r=t[e],i=t[n];if(null==this.modules[r][i])for(var o=-2;o<=2;o++)for(var a=-2;a<=2;a++)this.modules[r+o][i+a]=-2==o||2==o||-2==a||2==a||0==o&&0==a}},setupTypeNumber:function(t){for(var e=s.getBCHTypeNumber(this.typeNumber),n=0;n<18;n++){var r=!t&&1==(e>>n&1);this.modules[Math.floor(n/3)][n%3+this.moduleCount-8-3]=r,this.modules[n%3+this.moduleCount-8-3][Math.floor(n/3)]=r}},setupTypeInfo:function(t,e){for(var n=o[this.errorCorrectLevel]<<3|e,r=s.getBCHTypeInfo(n),i=0;i<15;i++){var a=!t&&1==(r>>i&1);i<6?this.modules[i][8]=a:i<8?this.modules[i+1][8]=a:this.modules[this.moduleCount-15+i][8]=a;a=!t&&1==(r>>i&1);i<8?this.modules[8][this.moduleCount-i-1]=a:i<9?this.modules[8][15-i-1+1]=a:this.modules[8][15-i-1]=a}this.modules[this.moduleCount-8][8]=!t},createData:function(){var t=new h,e=this.typeNumber>9?16:8;t.put(4,4),t.put(this.utf8bytes.length,e);for(var n=0,r=this.utf8bytes.length;n<r;n++)t.put(this.utf8bytes[n],8);t.length+4<=8*this.totalDataCount&&t.put(0,4);while(t.length%8!=0)t.putBit(!1);while(1){if(t.length>=8*this.totalDataCount)break;if(t.put(i.PAD0,8),t.length>=8*this.totalDataCount)break;t.put(i.PAD1,8)}return this.createBytes(t)},createBytes:function(t){for(var e=0,n=0,r=0,i=this.rsBlock.length/3,o=new Array,a=0;a<i;a++)for(var c=this.rsBlock[3*a+0],l=this.rsBlock[3*a+1],f=this.rsBlock[3*a+2],h=0;h<c;h++)o.push([f,l]);for(var d=new Array(o.length),p=new Array(o.length),g=0;g<o.length;g++){var v=o[g][0],y=o[g][1]-v;n=Math.max(n,v),r=Math.max(r,y),d[g]=new Array(v);for(a=0;a<d[g].length;a++)d[g][a]=255&t.buffer[a+e];e+=v;var m=s.getErrorCorrectPolynomial(y),b=new u(d[g],m.getLength()-1),x=b.mod(m);p[g]=new Array(m.getLength()-1);for(a=0;a<p[g].length;a++){var _=a+x.getLength()-p[g].length;p[g][a]=_>=0?x.get(_):0}}var w=new Array(this.totalDataCount),A=0;for(a=0;a<n;a++)for(g=0;g<o.length;g++)a<d[g].length&&(w[A++]=d[g][a]);for(a=0;a<r;a++)for(g=0;g<o.length;g++)a<p[g].length&&(w[A++]=p[g][a]);return w},mapData:function(t,e){for(var n=-1,r=this.moduleCount-1,i=7,o=0,a=this.moduleCount-1;a>0;a-=2){6==a&&a--;while(1){for(var c=0;c<2;c++)if(null==this.modules[r][a-c]){var l=!1;o<t.length&&(l=1==(t[o]>>>i&1));var u=s.getMask(e,r,a-c);u&&(l=!l),this.modules[r][a-c]=l,i--,-1==i&&(o++,i=7)}if(r+=n,r<0||this.moduleCount<=r){r-=n,n=-n;break}}}}},i.PAD0=236,i.PAD1=17;for(var o=[1,0,3,2],a={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7},s={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:1335,G18:7973,G15_MASK:21522,getBCHTypeInfo:function(t){var e=t<<10;while(s.getBCHDigit(e)-s.getBCHDigit(s.G15)>=0)e^=s.G15<<s.getBCHDigit(e)-s.getBCHDigit(s.G15);return(t<<10|e)^s.G15_MASK},getBCHTypeNumber:function(t){var e=t<<12;while(s.getBCHDigit(e)-s.getBCHDigit(s.G18)>=0)e^=s.G18<<s.getBCHDigit(e)-s.getBCHDigit(s.G18);return t<<12|e},getBCHDigit:function(t){var e=0;while(0!=t)e++,t>>>=1;return e},getPatternPosition:function(t){return s.PATTERN_POSITION_TABLE[t-1]},getMask:function(t,e,n){switch(t){case a.PATTERN000:return(e+n)%2==0;case a.PATTERN001:return e%2==0;case a.PATTERN010:return n%3==0;case a.PATTERN011:return(e+n)%3==0;case a.PATTERN100:return(Math.floor(e/2)+Math.floor(n/3))%2==0;case a.PATTERN101:return e*n%2+e*n%3==0;case a.PATTERN110:return(e*n%2+e*n%3)%2==0;case a.PATTERN111:return(e*n%3+(e+n)%2)%2==0;default:throw new Error("bad maskPattern:"+t)}},getErrorCorrectPolynomial:function(t){for(var e=new u([1],0),n=0;n<t;n++)e=e.multiply(new u([1,c.gexp(n)],0));return e},getLostPoint:function(t){for(var e=t.getModuleCount(),n=0,r=0,i=0;i<e;i++)for(var o=0,a=t.modules[i][0],s=0;s<e;s++){var c=t.modules[i][s];if(s<e-6&&c&&!t.modules[i][s+1]&&t.modules[i][s+2]&&t.modules[i][s+3]&&t.modules[i][s+4]&&!t.modules[i][s+5]&&t.modules[i][s+6]&&(s<e-10?t.modules[i][s+7]&&t.modules[i][s+8]&&t.modules[i][s+9]&&t.modules[i][s+10]&&(n+=40):s>3&&t.modules[i][s-1]&&t.modules[i][s-2]&&t.modules[i][s-3]&&t.modules[i][s-4]&&(n+=40)),i<e-1&&s<e-1){var l=0;c&&l++,t.modules[i+1][s]&&l++,t.modules[i][s+1]&&l++,t.modules[i+1][s+1]&&l++,0!=l&&4!=l||(n+=3)}a^c?o++:(a=c,o>=5&&(n+=3+o-5),o=1),c&&r++}for(s=0;s<e;s++)for(o=0,a=t.modules[0][s],i=0;i<e;i++){c=t.modules[i][s];i<e-6&&c&&!t.modules[i+1][s]&&t.modules[i+2][s]&&t.modules[i+3][s]&&t.modules[i+4][s]&&!t.modules[i+5][s]&&t.modules[i+6][s]&&(i<e-10?t.modules[i+7][s]&&t.modules[i+8][s]&&t.modules[i+9][s]&&t.modules[i+10][s]&&(n+=40):i>3&&t.modules[i-1][s]&&t.modules[i-2][s]&&t.modules[i-3][s]&&t.modules[i-4][s]&&(n+=40)),a^c?o++:(a=c,o>=5&&(n+=3+o-5),o=1)}var u=Math.abs(100*r/e/e-50)/5;return n+=10*u,n}},c={glog:function(t){if(t<1)throw new Error("glog("+t+")");return c.LOG_TABLE[t]},gexp:function(t){while(t<0)t+=255;while(t>=256)t-=255;return c.EXP_TABLE[t]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},l=0;l<8;l++)c.EXP_TABLE[l]=1<<l;for(l=8;l<256;l++)c.EXP_TABLE[l]=c.EXP_TABLE[l-4]^c.EXP_TABLE[l-5]^c.EXP_TABLE[l-6]^c.EXP_TABLE[l-8];for(l=0;l<255;l++)c.LOG_TABLE[c.EXP_TABLE[l]]=l;function u(t,e){if(void 0==t.length)throw new Error(t.length+"/"+e);var n=0;while(n<t.length&&0==t[n])n++;this.num=new Array(t.length-n+e);for(var r=0;r<t.length-n;r++)this.num[r]=t[r+n]}u.prototype={get:function(t){return this.num[t]},getLength:function(){return this.num.length},multiply:function(t){for(var e=new Array(this.getLength()+t.getLength()-1),n=0;n<this.getLength();n++)for(var r=0;r<t.getLength();r++)e[n+r]^=c.gexp(c.glog(this.get(n))+c.glog(t.get(r)));return new u(e,0)},mod:function(t){var e=this.getLength(),n=t.getLength();if(e-n<0)return this;for(var r=new Array(e),i=0;i<e;i++)r[i]=this.get(i);while(r.length>=n){var o=c.glog(r[0])-c.glog(t.get(0));for(i=0;i<t.getLength();i++)r[i]^=c.gexp(c.glog(t.get(i))+o);while(0==r[0])r.shift()}return new u(r,0)}};var f=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]];function h(){this.buffer=new Array,this.length=0}i.prototype.getRightType=function(){for(var t=1;t<41;t++){var e=f[4*(t-1)+this.errorCorrectLevel];if(void 0==e)throw new Error("bad rs block @ typeNumber:"+t+"/errorCorrectLevel:"+this.errorCorrectLevel);for(var n=e.length/3,r=0,i=0;i<n;i++){var o=e[3*i+0],a=e[3*i+2];r+=a*o}var s=t>9?2:1;if(this.utf8bytes.length+s<r||40==t){this.typeNumber=t,this.rsBlock=e,this.totalDataCount=r;break}}},h.prototype={get:function(t){var e=Math.floor(t/8);return this.buffer[e]>>>7-t%8&1},put:function(t,e){for(var n=0;n<e;n++)this.putBit(t>>>e-n-1&1)},putBit:function(t){var e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}};var d=[];n=function(e){if(this.options={text:"",size:256,correctLevel:3,background:"#ffffff",foreground:"#000000",pdground:"#000000",image:"",imageSize:30,canvasId:e.canvasId,context:e.context,usingComponents:e.usingComponents,showLoading:e.showLoading,loadingText:e.loadingText},"string"===typeof e&&(e={text:e}),e)for(var n in e)this.options[n]=e[n];for(var r=null,o=(n=0,d.length);n<o;n++)if(d[n].text==this.options.text&&d[n].text.correctLevel==this.options.correctLevel){r=d[n].obj;break}n==o&&(r=new i(this.options.text,this.options.correctLevel),d.push({text:this.options.text,correctLevel:this.options.correctLevel,obj:r}));var a=function(t){var e=t.options;return e.pdground&&(t.row>1&&t.row<5&&t.col>1&&t.col<5||t.row>t.count-6&&t.row<t.count-2&&t.col>1&&t.col<5||t.row>1&&t.row<5&&t.col>t.count-6&&t.col<t.count-2)?e.pdground:e.foreground},s=function(e){e.showLoading&&t.showLoading({title:e.loadingText,mask:!0});for(var n=t.createCanvasContext(e.canvasId,e.context),i=r.getModuleCount(),o=e.size,s=e.imageSize,c=(o/i).toPrecision(4),l=(o/i).toPrecision(4),u=0;u<i;u++)for(var f=0;f<i;f++){var h=Math.ceil((f+1)*c)-Math.floor(f*c),d=Math.ceil((u+1)*c)-Math.floor(u*c),p=a({row:u,col:f,count:i,options:e});n.setFillStyle(r.modules[u][f]?p:e.background),n.fillRect(Math.round(f*c),Math.round(u*l),h,d)}if(e.image){var g=function(t,n,r,i,o,a,s,c,l){t.setLineWidth(s),t.setFillStyle(e.background),t.setStrokeStyle(e.background),t.beginPath(),t.moveTo(n+a,r),t.arcTo(n+i,r,n+i,r+a,a),t.arcTo(n+i,r+o,n+i-a,r+o,a),t.arcTo(n,r+o,n,r+o-a,a),t.arcTo(n,r,n+a,r,a),t.closePath(),c&&t.fill(),l&&t.stroke()},v=Number(((o-s)/2).toFixed(2)),y=Number(((o-s)/2).toFixed(2));g(n,v,y,s,s,2,6,!0,!0),n.drawImage(e.image,v,y,s,s)}setTimeout((function(){n.draw(!0,(function(){setTimeout((function(){t.canvasToTempFilePath({width:e.width,height:e.height,destWidth:e.width,destHeight:e.height,canvasId:e.canvasId,quality:Number(1),success:function(t){e.cbResult&&e.cbResult(t.tempFilePath)},fail:function(t){e.cbResult&&e.cbResult(t)},complete:function(){e.showLoading&&t.hideLoading()}},e.context)}),e.text.length+100)}))}),e.usingComponents?0:150)};s(this.options)},n.prototype.clear=function(e){var n=t.createCanvasContext(this.options.canvasId,this.options.context);n.clearRect(0,0,this.options.size,this.options.size),n.draw(!1,(function(){e&&e()}))}})();var r=n;e.default=r}).call(this,n("543d")["default"])},9922:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getStoreIntegral=o;var r=i(n("9011"));function i(t){return t&&t.__esModule?t:{default:t}}function o(t){return r.default.get("store_integral/index",t)}},"9ef3":function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.auth=i,e.openPaySubscribe=o,e.openOrderSubscribe=a,e.openExtrctSubscribe=s,e.openPinkSubscribe=c,e.openBargainSubscribe=l,e.openOrderRefundSubscribe=u,e.openRechargeSubscribe=f,e.subscribe=h;var r=n("a1ea");function i(){var e={},n=t.getStorageSync(r.SUBSCRIBE_MESSAGE);return e=n?JSON.parse(n):{},e}function o(){var t=i();return h([t.order_pay_success,t.order_deliver_success,t.order_postage_success])}function a(){var t=i();return h([t.order_take,t.integral_accout,t.order_brokerage])}function s(){var t=i();return h([t.user_extract])}function c(){var t=i();return h([t.pink_true,t.pink_status])}function l(){var t=i();return h([t.bargain_success])}function u(){var t=i();return h([t.order_refund])}function f(){var t=i();return h([t.recharge_success])}function h(t){var e=wx;return new Promise((function(n,r){e.requestSubscribeMessage({tmplIds:t,success:function(t){return n(t)},fail:function(t){return n(t)}})}))}}).call(this,n("543d")["default"])},a01c:function(t,e){var n=wx.canIUse("editor");function r(t){for(var e={},n=t.split(","),r=n.length;r--;)e[n[r]]=!0;return e}t.exports={filter:null,highlight:null,onText:null,blankChar:r(" , ,\t,\r,\n,\f"),blockTags:r("address,article,aside,body,caption,center,cite,footer,header,html,nav,section"+(n?"":",pre")),ignoreTags:r("area,base,basefont,canvas,command,frame,input,isindex,keygen,link,map,meta,param,script,source,style,svg,textarea,title,track,use,wbr"+(n?",rp":"")+",embed,iframe"),richOnlyTags:r("a,colgroup,fieldset,legend,picture,table"+(n?",bdi,bdo,caption,rt,ruby":"")),selfClosingTags:r("area,base,basefont,br,col,circle,ellipse,embed,frame,hr,img,input,isindex,keygen,line,link,meta,param,path,polygon,rect,source,track,use,wbr"),trustAttrs:r("align,alt,app-id,author,autoplay,border,cellpadding,cellspacing,class,color,colspan,controls,data-src,dir,face,height,href,id,ignore,loop,media,muted,name,path,poster,rowspan,size,span,src,start,style,type,unit-id,width,xmlns"),boolAttrs:r("autoplay,controls,ignore,loop,muted"),trustTags:r("a,abbr,ad,audio,b,blockquote,br,code,col,colgroup,dd,del,dl,dt,div,em,fieldset,h1,h2,h3,h4,h5,h6,hr,i,img,ins,label,legend,li,ol,p,q,source,span,strong,sub,sup,table,tbody,td,tfoot,th,thead,tr,title,ul,video"+(n?",bdi,bdo,caption,pre,rt,ruby":"")),userAgentStyles:{address:"font-style:italic",big:"display:inline;font-size:1.2em",blockquote:"background-color:#f6f6f6;border-left:3px solid #dbdbdb;color:#6c6c6c;padding:5px 0 5px 10px",caption:"display:table-caption;text-align:center",center:"text-align:center",cite:"font-style:italic",dd:"margin-left:40px",img:"max-width:100%",mark:"background-color:yellow",picture:"max-width:100%",pre:"font-family:monospace;white-space:pre;overflow:scroll",s:"text-decoration:line-through",small:"display:inline;font-size:0.8em",u:"text-decoration:underline"}}},a1ea:function(t,e){t.exports={LOGIN_STATUS:"LOGIN_STATUS_TOKEN",UID:"UID",USER_INFO:"USER_INFO",EXPIRES_TIME:"EXPIRES_TIME",WX_AUTH:"WX_AUTH",STATE_KEY:"wx_authorize_state",LOGINTYPE:"loginType",BACK_URL:"login_back_url",STATE_R_KEY:"roution_authorize_state",LOGO_URL:"LOGO_URL",SUBSCRIBE_MESSAGE:"SUBSCRIBE_MESSAGE",TIPS_KEY:"TIPS_KEY",SPREAD:"spread",CACHE_LONGITUDE:"LONGITUDE",CACHE_LATITUDE:"LATITUDE"}},a34a:function(t,e,n){t.exports=n("bbdd")},a625:function(t,e,n){function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function o(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}function a(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var s,c=n("a01c"),l=c.blankChar,u=n("f7fd"),f=wx.getSystemInfoSync(),h=f.screenWidth,d=f.system,p=function(){"use strict";function t(e){var n=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};r(this,t),a(this,"getName",(function(t){return n.xml?t:t.toLowerCase()})),a(this,"isClose",(function(){return">"==n.data[n.i]||"/"==n.data[n.i]&&">"==n.data[n.i+1]})),a(this,"section",(function(){return n.data.substring(n.start,n.i)})),a(this,"siblings",(function(){return n.STACK.length?n.STACK[n.STACK.length-1].children:n.DOM})),this.attrs={},this.compress=i.compress,this.CssHandler=new u(i.tagStyle,h),this.data=e,this.domain=i.domain,this.DOM=[],this.i=this.start=this.audioNum=this.imgNum=this.videoNum=0,this.protocol=this.domain&&this.domain.includes("://")?this.domain.split("://")[0]:"",this.state=this.Text,this.STACK=[],this.useAnchor=i.useAnchor,this.xml=i.xml}return o(t,[{key:"parse",value:function(){s&&(this.data=s.parseEmoji(this.data));for(var t;t=this.data[this.i];this.i++)this.state(t);this.state==this.Text&&this.setText();while(this.STACK.length)this.popNode(this.STACK.pop());return this.DOM.length&&(this.DOM[0].PoweredBy="Parser",this.title&&(this.DOM[0].title=this.title)),this.DOM}},{key:"setAttr",value:function(){var t=this.getName(this.attrName);c.trustAttrs[t]&&(this.attrVal?this.attrs[t]="src"==t?this.getUrl(this.attrVal.replace(/&amp;/g,"&")):this.attrVal:c.boolAttrs[t]&&(this.attrs[t]="T")),this.attrVal="";while(l[this.data[this.i]])this.i++;this.isClose()?this.setNode():(this.start=this.i,this.state=this.AttrName)}},{key:"setText",value:function(){var t,e=this.section();if(e)if(e=c.onText&&c.onText(e,(function(){return t=!0}))||e,t){this.data=this.data.substr(0,this.start)+e+this.data.substr(this.i);var n=this.start+e.length;for(this.i=this.start;this.i<n;this.i++)this.state(this.data[this.i])}else{if(!this.pre){for(var r,i=[],o=e.length;r=e[--o];)(!l[r]||!l[i[0]]&&(r=" "))&&i.unshift(r);if(e=i.join("")," "==e)return}var a,s,u=this.siblings(),f=-1;while(1){if(-1==(f=e.indexOf("&",f+1)))break;if(-1==(a=e.indexOf(";",f+2)))break;"#"==e[f+1]?(s=parseInt(("x"==e[f+2]?"0":"")+e.substring(f+2,a)),isNaN(s)||(e=e.substr(0,f)+String.fromCharCode(s)+e.substring(a+1))):(s=e.substring(f+1,a),"nbsp"==s?e=e.substr(0,f)+" "+e.substr(a+1):"lt"!=s&&"gt"!=s&&"amp"!=s&&"ensp"!=s&&"emsp"!=s&&"quot"!=s&&"apos"!=s&&(f&&u.push({type:"text",text:e.substr(0,f)}),u.push({type:"text",text:"&".concat(s,";"),en:1}),e=e.substr(a+1),f=-1))}e&&u.push({type:"text",text:e})}}},{key:"setNode",value:function(){var t={name:this.tagName.toLowerCase(),attrs:this.attrs},e=c.selfClosingTags[t.name]||this.xml&&"/"==this.data[this.i];if(this.attrs={},c.ignoreTags[t.name])if(e)if("source"==t.name){var n=this.STACK[this.STACK.length-1],r=t.attrs;if(n&&r.src)if("video"==n.name||"audio"==n.name)n.attrs.source.push(r.src);else{var i,o=r.media;"picture"!=n.name||n.attrs.src||r.src.indexOf(".webp")&&d.includes("iOS")||!(!o||o.includes("px")&&(-1!=(i=o.indexOf("min-width"))&&-1!=(i=o.indexOf(":",i+8))&&h>parseInt(o.substr(i+1))||-1!=(i=o.indexOf("max-width"))&&-1!=(i=o.indexOf(":",i+8))&&h<parseInt(o.substr(i+1))))||(n.attrs.src=r.src)}}else"base"!=t.name||this.domain||(this.domain=t.attrs.href);else this.remove(t);else this.matchAttr(t),e?c.filter&&0==c.filter(t,this)||this.siblings().push(t):(t.children=[],"pre"==t.name&&c.highlight&&(this.remove(t),this.pre=t.pre=!0),this.siblings().push(t),this.STACK.push(t));"/"==this.data[this.i]&&this.i++,this.start=this.i+1,this.state=this.Text}},{key:"remove",value:function(t){var e=t.name,n=this.i;while(1){if(-1==(this.i=this.data.indexOf("</",this.i+1)))return void(this.i="pre"==e||"svg"==e?n:this.data.length);this.start=this.i+=2;while(!l[this.data[this.i]]&&!this.isClose())this.i++;if(this.getName(this.section())==e){if("pre"==e)return this.data=this.data.substr(0,n+1)+c.highlight(this.data.substring(n+1,this.i-5),t.attrs)+this.data.substr(this.i-5),this.i=n;if("style"==e?this.CssHandler.getStyle(this.data.substring(n+1,this.i-7)):"title"==e&&(this.title=this.data.substring(n+1,this.i-7)),-1==(this.i=this.data.indexOf(">",this.i))&&(this.i=this.data.length),"svg"==e){var r=this.data.substring(n,this.i+1);t.attrs.xmlns||(r=' xmlns="http://www.w3.org/2000/svg"'+r);var i=n;while("<"!=this.data[n])n--;r=this.data.substring(n,i)+r;var o=this.STACK[this.STACK.length-1];"100%"==t.attrs.width&&o&&(o.attrs.style||"").includes("inline")&&(o.attrs.style="width:300px;max-width:100%;"+o.attrs.style),this.siblings().push({name:"img",attrs:{src:"data:image/svg+xml;utf8,"+r.replace(/#/g,"%23"),ignore:"T"}})}return}}}},{key:"matchAttr",value:function(t){var e=t.attrs,n=this.CssHandler.match(t.name,e,t)+(e.style||""),r={};switch(e.id&&(1&this.compress?e.id=void 0:this.useAnchor&&this.bubble()),2&this.compress&&e.class&&(e.class=void 0),t.name){case"img":e["data-src"]&&(e.src=e.src||e["data-src"],e["data-src"]=void 0),e.src&&!e.ignore&&(this.bubble()?e.i=(this.imgNum++).toString():e.ignore="T");break;case"a":case"ad":this.bubble();break;case"font":if(e.color&&(r["color"]=e.color,e.color=void 0),e.face&&(r["font-family"]=e.face,e.face=void 0),e.size){var i=parseInt(e.size);i<1?i=1:i>7&&(i=7);var o=["xx-small","x-small","small","medium","large","x-large","xx-large"];r["font-size"]=o[i-1],e.size=void 0}break;case"video":case"audio":e.id?this["".concat(t.name,"Num")]++:e.id=t.name+ ++this["".concat(t.name,"Num")],"video"==t.name&&(e.width&&(n="width:".concat(parseFloat(e.width)+(e.width.includes("%")?"%":"px"),";").concat(n),e.width=void 0),e.height&&(n="height:".concat(parseFloat(e.height)+(e.height.includes("%")?"%":"px"),";").concat(n),e.height=void 0),this.videoNum>3&&(t.lazyLoad=!0)),e.source=[],e.src&&e.source.push(e.src),!e.controls&&e.autoplay,this.bubble();break;case"td":case"th":if(e.colspan||e.rowspan)for(var a,s=this.STACK.length;a=this.STACK[--s];)if("table"==a.name){a.c=void 0;break}}e.align&&(r["text-align"]=e.align,e.align=void 0);var c=n.replace(/&quot;/g,'"').replace(/&amp;/g,"&").split(";");n="";for(var u=0,f=c.length;u<f;u++){var d=c[u].split(":");if(!(d.length<2)){var p=d[0].trim().toLowerCase(),g=d.slice(1).join(":").trim();g.includes("-webkit")||g.includes("-moz")||g.includes("-ms")||g.includes("-o")||g.includes("safe")?n+=";".concat(p,":").concat(g):r[p]&&!g.includes("import")&&r[p].includes("import")||(r[p]=g)}}for(var v in"img"==t.name&&parseInt(r.width||e.width)>h&&(r.height="auto"),r){var y=r[v];if((v.includes("flex")||"order"==v||"self-align"==v)&&(t.c=1),y.includes("url")){var m=y.indexOf("(");if(-1!=m++){while('"'==y[m]||"'"==y[m]||l[y[m]])m++;y=y.substr(0,m)+this.getUrl(y.substr(m))}}else y.includes("rpx")?y=y.replace(/[0-9.]+\s*rpx/g,(function(t){return parseFloat(t)*h/750+"px"})):"white-space"==v&&y.includes("pre")&&(this.pre=t.pre=!0);n+=";".concat(v,":").concat(y)}n=n.substr(1),n&&(e.style=n)}},{key:"popNode",value:function(t){if(t.pre){t.pre=this.pre=void 0;for(var e=this.STACK.length;e--;)this.STACK[e].pre&&(this.pre=!0)}if("head"==t.name||c.filter&&0==c.filter(t,this))return this.siblings().pop();var n=t.attrs;if("picture"==t.name)return t.name="img",n.src||"img"!=(t.children[0]||"").name||(n.src=t.children[0].attrs.src),n.src&&!n.ignore&&(n.i=(this.imgNum++).toString()),t.children=void 0;if(c.blockTags[t.name]?t.name="div":c.trustTags[t.name]||(t.name="span"),t.c)if("ul"==t.name){for(var r=1,i=this.STACK.length;i--;)"ul"==this.STACK[i].name&&r++;if(1!=r)for(var o=t.children.length;o--;)t.children[o].floor=r}else if("ol"==t.name)for(var a,s=0,l=1;a=t.children[s++];)"li"==a.name&&(a.type="ol",a.num=function(t,e){if("a"==e)return String.fromCharCode(97+(t-1)%26);if("A"==e)return String.fromCharCode(65+(t-1)%26);if("i"==e||"I"==e){t=(t-1)%99+1;var n=["I","II","III","IV","V","VI","VII","VIII","IX"],r=["X","XX","XXX","XL","L","LX","LXX","LXXX","XC"],i=(r[Math.floor(t/10)-1]||"")+(n[t%10-1]||"");return"i"==e?i.toLowerCase():i}return t}(l++,n.type)+".");if("table"==t.name){var u=n.cellpadding,f=n.cellspacing,h=n.border;t.c&&(this.bubble(),u||(u=2),f||(f=2)),h&&(n.style="border:".concat(h,"px solid gray;").concat(n.style||"")),f&&(n.style="border-spacing:".concat(f,"px;").concat(n.style||"")),(h||u)&&function t(e){for(var n,r=0;n=e[r];r++)"th"==n.name||"td"==n.name?(h&&(n.attrs.style="border:".concat(h,"px solid gray;").concat(n.attrs.style)),u&&(n.attrs.style="padding:".concat(u,"px;").concat(n.attrs.style))):t(n.children||[])}(t.children)}if(this.CssHandler.pop&&this.CssHandler.pop(t),"div"==t.name&&!Object.keys(n).length){var d=this.siblings();1==t.children.length&&"div"==t.children[0].name&&(d[d.length-1]=t.children[0])}}},{key:"bubble",value:function(){for(var t,e=this.STACK.length;t=this.STACK[--e];){if(c.richOnlyTags[t.name])return"table"!=t.name||Object.hasOwnProperty.call(t,"c")||(t.c=1),!1;t.c=1}return!0}},{key:"getUrl",value:function(t){return"/"==t[0]?"/"==t[1]?t=this.protocol+":"+t:this.domain&&(t=this.domain+t):this.domain&&0!=t.indexOf("data:")&&!t.includes("://")&&(t=this.domain+"/"+t),t}},{key:"Text",value:function(t){if("<"==t){var e=this.data[this.i+1],n=function(t){return t>="a"&&t<="z"||t>="A"&&t<="Z"};n(e)?(this.setText(),this.start=this.i+1,this.state=this.TagName):"/"==e?(this.setText(),n(this.data[1+ ++this.i])?(this.start=this.i+1,this.state=this.EndTag):this.Comment()):"!"==e&&(this.setText(),this.Comment())}}},{key:"Comment",value:function(){var t;t="--"==this.data.substring(this.i+2,this.i+4)?"--\x3e":"[CDATA["==this.data.substring(this.i+2,this.i+9)?"]]>":">",-1==(this.i=this.data.indexOf(t,this.i+2))?this.i=this.data.length:this.i+=t.length-1,this.start=this.i+1,this.state=this.Text}},{key:"TagName",value:function(t){if(l[t]){this.tagName=this.section();while(l[this.data[this.i]])this.i++;this.isClose()?this.setNode():(this.start=this.i,this.state=this.AttrName)}else this.isClose()&&(this.tagName=this.section(),this.setNode())}},{key:"AttrName",value:function(t){var e=l[t];if(e&&(this.attrName=this.section(),t=this.data[this.i]),"="==t){e||(this.attrName=this.section());while(l[this.data[++this.i]]);this.start=this.i--,this.state=this.AttrValue}else e?this.setAttr():this.isClose()&&(this.attrName=this.section(),this.setAttr())}},{key:"AttrValue",value:function(t){if('"'==t||"'"==t){if(this.start++,-1==(this.i=this.data.indexOf(t,this.i+1)))return this.i=this.data.length;this.attrVal=this.section(),this.i++}else{for(;!l[this.data[this.i]]&&!this.isClose();this.i++);this.attrVal=this.section()}this.setAttr()}},{key:"EndTag",value:function(t){if(l[t]||">"==t||"/"==t){for(var e=this.getName(this.section()),n=this.STACK.length;n--;)if(this.STACK[n].name==e)break;if(-1!=n){var r;while((r=this.STACK.pop()).name!=e);this.popNode(r)}else"p"!=e&&"br"!=e||this.siblings().push({name:e,attrs:{}});this.i=this.data.indexOf(">",this.i),this.start=this.i+1,-1==this.i?this.i=this.data.length:this.state=this.Text}}}]),t}();t.exports=p},a762:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;i(n("6b37")),n("514d");var r=n("00fa");n("7fe6");function i(t){return t&&t.__esModule?t:{default:t}}var o=function(){};o.prototype={onSocketOpen:function(e){t.$emit("socketOpen",e)},init:function(){var t=this;this.timer=setInterval((function(){t.send({type:"ping"})}),1e4)},send:function(e){var n=JSON.stringify(e);return t.sendSocketMessage({data:n})},onMessage:function(e){var n=JSON.parse(e.data),r=n.type,i=n.data,o=void 0===i?{}:i;t.$emit(r,o)},onClose:function(){t.closeSocket(),clearInterval(this.timer),t.$emit("socket_close")},onError:function(e){t.$emit("socket_error",e)},close:function(){t.closeSocket()},onStart:function(e,n){var i="".concat(r.VUE_APP_WS_URL);this.ws=t.connectSocket({url:i+"?type=user&token="+e+"&form_type="+n,header:{"content-type":"application/json"},method:"GET",success:function(t){}}),this.ws.onOpen(this.onSocketOpen.bind(this)),this.ws.onError(this.onError.bind(this)),this.ws.onMessage(this.onMessage.bind(this)),this.ws.onClose(this.onClose.bind(this))}},o.prototype.constructor=o;var a=o;e.default=a}).call(this,n("543d")["default"])},b2c5:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=a(n("a34a")),i=n("514d"),o=a(n("6b37"));n("8632");function a(t){return t&&t.__esModule?t:{default:t}}function s(t,e,n,r,i,o,a){try{var s=t[o](a),c=s.value}catch(l){return void n(l)}s.done?e(c):Promise.resolve(c).then(r,i)}function c(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){s(o,r,i,a,c,"next",t)}function c(t){s(o,r,i,a,c,"throw",t)}a(void 0)}))}}function l(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function u(t,e){return g(t)||p(t,e)||h(t,e)||f()}function f(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function h(t,e){if(t){if("string"===typeof t)return d(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(t,e):void 0}}function d(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function p(t,e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),e&&n.length===e)break}catch(c){i=!0,o=c}finally{try{r||null==s["return"]||s["return"]()}finally{if(i)throw o}}return n}}function g(t){if(Array.isArray(t))return t}var v={Tips:function(e,n){"string"==typeof e&&(n=e,e={});var r=e.title||"",i=e.icon||"none",o=e.endtime||2e3,a=e.success;if(r&&t.showToast({title:r,icon:i,duration:o,success:a}),void 0!=n)if("object"==typeof n){var s=n.tab||1,c=n.url||"";switch(s){case 1:setTimeout((function(){t.navigateTo({url:c})}),o);break;case 2:setTimeout((function(){t.navigateTo({url:c})}),o);break;case 3:setTimeout((function(){t.navigateBack({delta:parseInt(c)})}),o);break;case 4:setTimeout((function(){t.reLaunch({url:c})}),o);break;case 5:setTimeout((function(){t.redirectTo({url:c})}),o);break}}else"function"==typeof n?setTimeout((function(){n&&n()}),o):setTimeout((function(){t.navigateTo({url:n})}),r?o:0)},ArrayRemove:function(t,e,n){var r=[];if(t instanceof Array)for(var i=0;i<t.length;i++)("number"==typeof e&&t[e]!=i||"string"==typeof e&&t[i][e]!=n)&&r.push(t[i]);return r},textByteLength:function(t,e){for(var n=0,r=1,i=0,o=[],a=0;a<t.length;a++)t.charCodeAt(a)>255?(n+=2,n>r*e&&(n++,o.push(t.slice(i,a)),i=a,r++)):(n++,n>r*e&&(o.push(t.slice(i,a)),i=a,r++));return o.push(t.slice(i,t.length)),[n,o,r]},PosterCanvas:function(e,n,r,i,o){var a=this;t.showLoading({title:"海报生成中",mask:!0});var s=t.createCanvasContext("myCanvas");s.clearRect(0,0,0,0),s.fillStyle="#fff",s.fillRect(0,0,750,1150),t.getImageInfo({src:e[0],success:function(c){var l=c.width,f=c.height;s.drawImage(e[1],0,0,l,l),s.save();var h=110,d=2*h,p=480,g=790;s.arc(p+h,g+h,h,0,2*Math.PI),s.drawImage(e[2],p,g,d,d),s.restore();var v=20,y=a.textByteLength(n,v),m=u(y,3),b=(m[0],m[1]),x=m[2];if(x>2){x=2;var _=b.slice(0,2);_[_.length-1]+="……",b=_}s.setTextAlign("left"),s.setFontSize(36),s.setFillStyle("#000");for(var w=36,A=0;A<b.length;A++)A?s.fillText(b[A],50,1e3+w*A+18,1100):s.fillText(b[A],50,1e3+w*A,1100);if(s.setTextAlign("left"),s.setFontSize(72),s.setFillStyle("#DA4F2A"),s.fillText("¥"+r,40,820+w),s.setTextAlign("left"),s.setFontSize(36),s.setFillStyle("#999"),i){s.fillText("¥"+i,50,876+w);var S=function(t,e,n,r,i,o,a,s){var c=t.measureText(e).width;switch(t.textAlign){case"center":n-=c/2;break;case"right":n-=c;break}r+=i+s,t.beginPath(),t.strokeStyle=o,t.lineWidth=a,t.moveTo(n,r),t.lineTo(n+c,r),t.stroke()};S(s,"¥"+i,55,865,36,"#999",2,0)}s.setTextAlign("left"),s.setFontSize(28),s.setFillStyle("#999"),s.fillText("长按或扫描查看",490,1030+w),s.draw(!0,(function(){t.canvasToTempFilePath({canvasId:"myCanvas",fileType:"png",destWidth:l,destHeight:f,success:function(e){t.hideLoading(),o&&o(e.tempFilePath)}})}))},fail:function(e){t.hideLoading(),a.Tips({title:"无法获取图片信息"})}})},bargainPosterCanvas:function(e,n,r,i,o,a,s,c){var l=this,f=t.createCanvasContext("myCanvas");f.clearRect(0,0,0,0),f.fillStyle="#fff",f.fillRect(0,0,2*a,2*s),t.getImageInfo({src:e[0],success:function(h){h.width,h.height;f.drawImage(e[0],0,0,a,s);var d=.65,p=.166,g=.1857,v=.18,y=.385,m=.77,b=.1571,x=.2916,_=.6857,w=.3916,A=.1036,S=.2306,T=.25;f.drawImage(e[1],a*b,s*x,a*_,s*w),f.drawImage(e[2],a*y,s*m,a*T,a*T),f.save();var k=30,P=l.textByteLength(n,k),O=u(P,3),C=(O[0],O[1]),L=O[2];if(L>2){L=2;var D=C.slice(0,2);D[D.length-1]+="…",C=D}f.setTextAlign("left"),f.setFillStyle("#000"),C.length<2?f.setFontSize(22):f.setFontSize(20);for(var M=8,E=0;E<C.length;E++)E?f.fillText(C[E],20,35+M*E+18,1100):f.fillText(C[E],20,35,1100);f.setTextAlign("left"),f.setFontSize(16),f.setFillStyle("#FFF"),f.fillText(r,a*d,s*p),f.save(),f.setFillStyle("red"),f.setFontSize(26),f.fillText(o,a*g,s*v),f.save(),f.setFillStyle("#333"),f.setFontSize(16),f.fillText(i,a*A,s*S),f.save(),f.draw(!0,(function(){t.canvasToTempFilePath({canvasId:"myCanvas",fileType:"png",quality:1,success:function(e){c&&c(e.tempFilePath),t.hideLoading()}})}))},fail:function(e){t.hideLoading(),l.Tips({title:"无法获取图片信息"})}})},userPosterCanvas:function(e,n,r,i,o,a,s){var c=this,l=t.createCanvasContext("myCanvas"+i);l.clearRect(0,0,0,0),t.getImageInfo({src:e[1],success:function(c){c.width,c.height;l.fillStyle="#fff",l.fillRect(0,0,o,a),l.drawImage(e[1],0,0,o,a),l.setTextAlign("left"),l.setFontSize(12),l.setFillStyle("#333");var u=.1906,f=.7746,h=.21666,d=.4283,p=.8215,g=.4283,v=.8685;l.drawImage(e[0],o*u,a*f,o*h,o*h),o<270?l.setFontSize(8):l.setFontSize(10),l.fillText(n,o*d,a*p),o<270?l.setFontSize(8):l.setFontSize(10),l.fillText("邀请您加入"+r,o*g,a*v),l.save(),l.draw(!0,(function(){t.canvasToTempFilePath({canvasId:"myCanvas"+i,fileType:"png",quality:1,success:function(t){s&&s(t.tempFilePath)}})}))},fail:function(e){t.hideLoading(),c.Tips({title:"无法获取图片信息"})}})},uploadImageOne:function(e,n,r){var a=this;if("string"===typeof e){var s=e;e={},e.url=s}var c=e.count||1,u=e.sizeType||["compressed"],f=e.sourceType||["album","camera"],h=(e.is_load,e.url||""),d=e.name||"pics",p=e.fileType||"image";t.chooseImage({count:c,sizeType:u,sourceType:f,success:function(e){t.showLoading({title:"图片上传中"}),t.uploadFile({url:i.HTTP_REQUEST_URL+"/api/"+h,filePath:e.tempFilePaths[0],fileType:p,name:d,formData:{filename:d},header:l({"Content-Type":"multipart/form-data"},i.TOKENNAME,"Bearer "+o.default.state.app.token),success:function(e){if(t.hideLoading(),403==e.statusCode)a.Tips({title:e.data});else{var i=e.data?JSON.parse(e.data):{};200==i.status?n&&n(i):(r&&r(i),a.Tips({title:i.msg}))}},fail:function(e){t.hideLoading(),a.Tips({title:"上传图片失败"})}})}})},uploadImageChange:function(e,n,r,a){var s=this;if("string"===typeof e){var c=e;e={},e.url=c}var u=e.count||1,f=e.sizeType||["compressed"],h=e.sourceType||["album","camera"],d=(e.is_load,e.url||""),p=e.name||"pics",g=e.fileType||"image";function v(e){t.uploadFile({url:i.HTTP_REQUEST_URL+"/api/"+d,filePath:e,fileType:g,name:p,formData:{filename:p},header:l({"Content-Type":"multipart/form-data"},i.TOKENNAME,"Bearer "+o.default.state.app.token),success:function(e){if(t.hideLoading(),403==e.statusCode)s.Tips({title:e.data});else{var i=e.data?JSON.parse(e.data):{};200==i.status?n&&n(i):(r&&r(i),s.Tips({title:i.msg}))}},fail:function(e){t.hideLoading(),s.Tips({title:"上传图片失败"})}})}t.chooseImage({count:u,sizeType:f,sourceType:h,success:function(e){t.getImageInfo({src:e.tempFilePaths[0],success:function(n){if(t.showLoading({title:"图片上传中"}),e.tempFiles[0].size<=2097152)v(n.path);else{var r,i,o,s=750;o=n.width/n.height,n.width>s?(r=s,i=s/o):(r=n.width,i=n.height),a&&a({w:r,h:i});var c=t.createCanvasContext("canvas");c.width=r,c.height=i,c.clearRect(0,0,r,i),c.drawImage(n.path,0,0,r,i),c.save(),setTimeout((function(e){c.draw(!0,(function(){t.canvasToTempFilePath({canvasId:"canvas",fileType:"JPEG",destWidth:r,destHeight:i,quality:.7,success:function(t){v(t.tempFilePath)}})}))}),200)}}})}})},getUrlParams:function(t,e,n){if("string"!=typeof t)return{};e=e||"&",n=n||"=";var r={};if(-1!==t.indexOf(e)){for(var i in t=t.split(e),t)if(-1!==t[i].indexOf(n)){var o=t[i].split(n);r[o[0]]=o[1]}}else{if(-1===t.indexOf(n))return t;o=t.split(n);r[o[0]]=o[1]}return r},SplitArray:function(t,e){if("object"!=typeof t)return[];void 0===e&&(e=[]);for(var n=0;n<t.length;n++)e.push(t[n]);return e},trim:function(t){return String.prototype.trim.call(t)},$h:{Div:function(t,e){t=parseFloat(t),e=parseFloat(e);var n,r,i=0,o=0;try{i=t.toString().split(".")[1].length}catch(a){}try{o=e.toString().split(".")[1].length}catch(a){}return n=Number(t.toString().replace(".","")),r=Number(e.toString().replace(".","")),this.Mul(n/r,Math.pow(10,o-i))},Add:function(t,e){var n,r,i;e=parseFloat(e);try{n=t.toString().split(".")[1].length}catch(o){n=0}try{r=e.toString().split(".")[1].length}catch(o){r=0}return i=Math.pow(100,Math.max(n,r)),(this.Mul(t,i)+this.Mul(e,i))/i},Sub:function(t,e){var n,r,i,o;t=parseFloat(t),e=parseFloat(e);try{n=t.toString().split(".")[1].length}catch(a){n=0}try{r=e.toString().split(".")[1].length}catch(a){r=0}return i=Math.pow(10,Math.max(n,r)),o=n>=r?n:r,((this.Mul(t,i)-this.Mul(e,i))/i).toFixed(o)},Mul:function(t,e){t=parseFloat(t),e=parseFloat(e);var n=0,r=t.toString(),i=e.toString();try{n+=r.split(".")[1].length}catch(o){}try{n+=i.split(".")[1].length}catch(o){}return Number(r.replace(".",""))*Number(i.replace(".",""))/Math.pow(10,n)}},$L:{getLocation:function(){var t=this;return c(r.default.mark((function e(){var n;return r.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.getSetting();case 2:if(n=e.sent,2!==n){e.next=6;break}return t.openSetting(),e.abrupt("return");case 6:t.doGetLocation();case 7:case"end":return e.stop()}}),e)})))()},doGetLocation:function(){t.getLocation({success:function(e){t.removeStorageSync("CACHE_LONGITUDE"),t.removeStorageSync("CACHE_LATITUDE"),t.setStorageSync("CACHE_LONGITUDE",e.longitude),t.setStorageSync("CACHE_LATITUDE",e.latitude)},fail:function(e){e.errMsg.indexOf("auth deny")>=0?t.showToast({title:"访问位置被拒绝"}):t.showToast({title:e.errMsg})}})},getSetting:function(){return new Promise((function(e,n){t.getSetting({success:function(t){void 0!==t.authSetting["scope.userLocation"]?t.authSetting["scope.userLocation"]?e(1):e(2):e(0)}})}))},openSetting:function(){var e=this;t.openSetting({success:function(t){t.authSetting&&t.authSetting["scope.userLocation"]&&e.doGetLocation()},fail:function(t){}})},checkPermission:function(){return c(r.default.mark((function e(){var n;return r.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!permision.isIOS){e.next=6;break}return e.next=3,permision.requestIOS("location");case 3:e.t0=e.sent,e.next=9;break;case 6:return e.next=8,permision.requestAndroid("android.permission.ACCESS_FINE_LOCATION");case 8:e.t0=e.sent;case 9:return n=e.t0,null===n||1===n?n=1:2===n?t.showModal({content:"系统定位已关闭",confirmText:"确定",showCancel:!1,success:function(t){}}):n.code?t.showModal({content:n.message}):t.showModal({content:"需要定位权限",confirmText:"设置",success:function(t){t.confirm&&permision.gotoAppSetting()}}),e.abrupt("return",n);case 12:case"end":return e.stop()}}),e)})))()}}};e.default=v}).call(this,n("543d")["default"])},bbdd:function(t,e,n){var r=function(){return this||"object"===typeof self&&self}()||Function("return this")(),i=r.regeneratorRuntime&&Object.getOwnPropertyNames(r).indexOf("regeneratorRuntime")>=0,o=i&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,t.exports=n("96cf"),i)r.regeneratorRuntime=o;else try{delete r.regeneratorRuntime}catch(a){r.regeneratorRuntime=void 0}},c6cd:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.checkLogin=h,e.toLogin=void 0;var r=c(n("6b37")),i=c(n("0c53")),o=n("e1ea"),a=n("a1ea"),s=c(n("2f12"));function c(t){return t&&t.__esModule?t:{default:t}}function l(){var t=getCurrentPages(),e=t[t.length-1];return e.route}var u=(0,o.Debounce)(f,800);function f(e,n){r.default.commit("LOGOUT");var o=l();n||(n="/page/users/login/index"),i.default.set("login_back_url",o),s.default.getCode().then((function(t){s.default.silenceAuth(t).then((function(t){}))})).catch((function(e){t.hideLoading()}))}function h(){var e=i.default.get(a.LOGIN_STATUS);i.default.get(a.EXPIRES_TIME);if(e){r.default.commit("UPDATE_LOGIN",e);var n=i.default.get(a.USER_INFO,!0);return n&&r.default.commit("UPDATE_USERINFO",n),!0}return t.setStorageSync("authIng",!1),i.default.clear(a.LOGIN_STATUS),i.default.clear(a.EXPIRES_TIME),i.default.clear(a.USER_INFO),i.default.clear(a.STATE_R_KEY),!1}e.toLogin=u}).call(this,n("543d")["default"])},c83f:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={data:function(){return{colorStyle:""}},created:function(){var e=this;this.colorStyle=t.getStorageSync("viewColor"),t.$on("ok",(function(t){e.colorStyle=t}))},methods:{}};e.default=n}).call(this,n("543d")["default"])},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}t.exports=n},da79:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.kefuLogin=o,e.record=a,e.speeChcraft=s,e.transferList=c,e.productCart=l,e.productHot=u,e.productVisit=f,e.serviceList=h,e.serviceTransfer=d,e.serviceInfo=p,e.serviceFeedBack=g,e.feedBackPost=v,e.codeStauts=y,e.getWorkermanUrl=m,e.kefuScanLogin=b;var r=i(n("9011"));function i(t){return t&&t.__esModule?t:{default:t}}function o(t){return r.default.post("login",t,{noAuth:!0,kefu:!0})}function a(t){return r.default.get("user/record",t,{noAuth:!0,kefu:!0})}function s(t){return r.default.get("service/speechcraft",t,{noAuth:!0,kefu:!0})}function c(t){return r.default.get("service/transfer_list",t,{noAuth:!0,kefu:!0})}function l(t,e){return r.default.get("product/cart/"+t,e,{noAuth:!0,kefu:!0})}function u(t,e){return r.default.get("product/hot/"+t,e,{noAuth:!0,kefu:!0})}function f(t,e){return r.default.get("product/visit/"+t,e,{noAuth:!0,kefu:!0})}function h(t){return r.default.get("service/list",t,{noAuth:!0,kefu:!0})}function d(t){return r.default.post("service/transfer",t,{noAuth:!0,kefu:!0})}function p(t){return r.default.get("service/info",t,{noAuth:!0,kefu:!0})}function g(){return r.default.get("user/service/feedback")}function v(t){return r.default.post("user/service/feedback",t)}function y(t){return r.default.get("user/code",t)}function m(t){return r.default.get("get_workerman_url",{},{noAuth:!0})}function b(t){return r.default.post("user/code",t)}},e0d6:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getCartCounts=o,e.getCartList=a,e.getResetCart=s,e.changeCartNum=c,e.cartDel=l,e.getOrderList=u,e.orderProduct=f,e.orderComment=h,e.orderPay=d,e.orderData=p,e.orderCancel=g,e.orderDel=v,e.getOrderDetail=y,e.getRefundOrderDetail=m,e.orderAgain=b,e.orderTake=x,e.express=_,e.ordeRefundReason=w,e.orderRefundVerify=A,e.orderConfirm=S,e.getCouponsOrderPrice=T,e.orderCreate=k,e.postOrderComputed=P,e.orderCoupon=O,e.offlineCheckPrice=C,e.offlineCreate=L,e.orderOfflinePayType=D,e.orderInvoiceList=M,e.orderInvoiceDetail=E,e.aliPay=I,e.refundExpress=$,e.vcartList=F,e.refundGoodsList=R,e.postRefundGoods=j,e.returnGoodsSubmit=N,e.getNewOrderList=z,e.refundOrderDetail=U,e.cancelRefundOrder=H;var r=i(n("9011"));function i(t){return t&&t.__esModule?t:{default:t}}function o(t){return r.default.get("cart/count",{numType:void 0===t?0:t})}function a(t){return r.default.get("cart/list",t)}function s(t){return r.default.post("v2/reset_cart",t)}function c(t,e){return r.default.post("cart/num",{id:t,number:e})}function l(t){return"object"===typeof t&&(t=t.join(",")),r.default.post("cart/del",{ids:t})}function u(t){return r.default.get("order/list",t)}function f(t){return r.default.post("order/product",{unique:t})}function h(t){return r.default.post("order/comment",t)}function d(t){return r.default.post("order/pay",t)}function p(){return r.default.get("order/data")}function g(t){return r.default.post("order/cancel",{id:t})}function v(t){return r.default.post("order/del",{uni:t})}function y(t,e){return r.default.get("order/detail/"+t+"".concat(e?"/".concat(e):""))}function m(t,e){return r.default.get("order/refund_detail/"+t+"".concat(e?"/".concat(e):""))}function b(t){return r.default.post("order/again",{uni:t})}function x(t){return r.default.post("order/take",{uni:t})}function _(t,e){return r.default.get("order/express/"+t+"".concat(e?"/refund":""))}function w(){return r.default.get("order/refund/reason")}function A(t){return r.default.post("order/refund/verify",t)}function S(t,e,n,i){return r.default.post("order/confirm",{cartId:t,new:e,addressId:n,shipping_type:i})}function T(t,e){return r.default.get("coupons/order/"+t,e)}function k(t,e){return r.default.post("order/create/"+t,e)}function P(t,e){return r.default.post("order/computed/"+t,e)}function O(t){return r.default.post("v2/order/product_coupon/"+t)}function C(t){return r.default.post("order/offline/check/price",t)}function L(t){return r.default.post("order/offline/create",t)}function D(){return r.default.get("order/offline/pay/type")}function M(t){return r.default.get("v2/order/invoice_list",t)}function E(t){return r.default.get("v2/order/invoice_detail/".concat(t))}function I(t,e){return r.default.get("ali_pay",{key:t,quitUrl:e},{noAuth:!0})}function $(t){return r.default.post("order/refund/express",t)}function F(){return r.default.get("v2/cart_list")}function R(t){return r.default.get("order/refund/cart_info/".concat(t))}function j(t){return r.default.post("order/refund/cart_info",t)}function N(t,e){return r.default.post("order/refund/apply/".concat(t),e)}function z(t){return r.default.get("order/refund/list",t)}function U(t){return r.default.get("order/refund/detail/"+t)}function H(t){return r.default.post("order/refund/cancel/"+t)}},e1ea:function(t,e,n){"use strict";function r(t){var e=/(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/;return!!e.test(t)}function i(t){var e=/^1(3|4|5|6|7|8|9)\d{9}$/;return!!e.test(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.isMoney=r,e.checkPhone=i,e.Throttle=e.Debounce=void 0;var o=function(t,e){var n,r=e||500;return function(){var e=this,i=arguments;n&&clearTimeout(n),n=setTimeout((function(){n=null,t.apply(e,i)}),r)}};e.Debounce=o;var a=function(t,e){var n,r,i=e||500;return function(){var e=this,o=arguments,a=+new Date;n&&a-n<i?(clearTimeout(r),r=setTimeout((function(){n=a,t.apply(e,o)}),i)):(n=a,t.apply(this,o))}};e.Throttle=a},e64e:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=["em-smile","em-laughing","em-blush","em-smiley","em-relaxed","em-smirk","em-heart_eyes","em-kissing_heart","em-kissing_closed_eyes","em-flushed","em-relieved","em-satisfied","em-grin","em-wink","em-stuck_out_tongue_winking_eye","em-stuck_out_tongue_closed_eyes","em-grinning","em-kissing","em-kissing_smiling_eyes","em-stuck_out_tongue","em-sleeping","em-worried","em-frowning","em-anguished","em-open_mouth","em-grimacing","em-confused","em-hushed","em-expressionless","em-unamused","em-sweat_smile","em-sweat","em-disappointed_relieved","em-weary","em-pensive","em-disappointed","em-confounded","em-fearful","em-cold_sweat","em-persevere","em-cry","em-sob","em-joy","em-astonished","em-scream","em-tired_face","em-angry","em-rage","em-triumph","em-sleepy","em-yum","em-mask","em-sunglasses","em-dizzy_face","em-imp","em-smiling_imp","em-neutral_face","em-no_mouth","em-innocent","em-alien"];e.default=r},f0c5:function(t,e,n){"use strict";function r(t,e,n,r,i,o,a,s,c,l){var u,f="function"===typeof t?t.options:t;if(c){f.components||(f.components={});var h=Object.prototype.hasOwnProperty;for(var d in c)h.call(c,d)&&!h.call(f.components,d)&&(f.components[d]=c[d])}if(l&&((l.beforeCreate||(l.beforeCreate=[])).unshift((function(){this[l.__module]=this})),(f.mixins||(f.mixins=[])).push(l)),e&&(f.render=e,f.staticRenderFns=n,f._compiled=!0),r&&(f.functional=!0),o&&(f._scopeId="data-v-"+o),a?(u=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},f._ssrRegister=u):i&&(u=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),u)if(f.functional){f._injectStyles=u;var p=f.render;f.render=function(t,e){return u.call(e),p(t,e)}}else{var g=f.beforeCreate;f.beforeCreate=g?[].concat(g,u):[u]}return{exports:t,options:f}}n.d(e,"a",(function(){return r}))},f106:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={namespaced:!0,state:{indexDatas:{},cartNum:0},getters:{},mutations:{setIndexData:function(t,e){t.indexDatas=e},setCartNum:function(t,e){t.cartNum=e}}};e.default=r},f15c:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getProductDetail=o,e.getProductCode=a,e.collectAdd=s,e.collectDel=c,e.postCartAdd=l,e.getCategoryList=u,e.getProductslist=f,e.getProductHot=h,e.collectAll=d,e.getGroomList=p,e.getCollectUserList=g,e.getReplyList=v,e.getReplyConfig=y,e.getSearchKeyword=m,e.storeListApi=b,e.storeDiscountsList=x,e.postCartNum=_,e.create=w,e.getAgentAgreement=A,e.registerVerify=S,e.getCodeApi=T,e.getGoodsDetails=k,e.getAttr=P,e.getHomeProducts=O,e.getPresellProductDetail=C;var r=i(n("9011"));function i(t){return t&&t.__esModule?t:{default:t}}function o(t){return r.default.get("product/detail/"+t,{},{noAuth:!0})}function a(t){return r.default.get("product/code/"+t,{user_type:"routine"})}function s(t,e){return r.default.post("collect/add",{id:t,product:void 0===e?"product":e})}function c(t,e){return r.default.post("collect/del",{id:t,category:void 0===e?"product":e})}function l(t){return r.default.post("cart/add",t)}function u(){return r.default.get("category",{},{noAuth:!0})}function f(t){return r.default.get("products",t,{noAuth:!0})}function h(t,e){return r.default.get("product/hot",{page:void 0===t?1:t,limit:void 0===e?4:e},{noAuth:!0})}function d(t,e){return r.default.post("collect/all",{id:t,category:void 0===e?"product":e})}function p(t,e){return r.default.get("groom/list/"+t,e,{noAuth:!0})}function g(t){return r.default.get("collect/user",t)}function v(t,e){return r.default.get("reply/list/"+t,e)}function y(t){return r.default.get("reply/config/"+t)}function m(){return r.default.get("search/keyword",{},{noAuth:!0})}function b(t){return r.default.get("store_list",t)}function x(t){return r.default.get("store_discounts/list/"+t,{},{noAuth:!0})}function _(t){return r.default.post("v2/set_cart_num",t)}function w(t){return r.default.post("agent/apply/".concat(t.id),t)}function A(t){return r.default.get("agent/get_agent_agreement",{},{noAuth:!0})}function S(t){return r.default.post("register/verify",t,{noAuth:!0})}function T(){return r.default.get("verify_code",{},{noAuth:!0})}function k(){return r.default.get("agent/apply/info",{},{noAuth:!0})}function P(t,e){return r.default.get("v2/get_attr/"+t+"/"+e)}function O(t){return r.default.get("home/products",t,{noAuth:!0})}function C(t){return r.default.get("advance/detail/"+t)}},f7fd:function(t,e,n){function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function o(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}function a(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var s=n("a01c"),c=function(){"use strict";function t(e){var n=this;r(this,t),a(this,"getStyle",(function(t){return n.styles=new l(t,n.styles).parse()}));var i=Object.assign({},s.userAgentStyles);for(var o in e)i[o]=(i[o]?i[o]+";":"")+e[o];this.styles=i}return o(t,[{key:"match",value:function(t,e){var n,r=(n=this.styles[t])?n+";":"";if(e.class)for(var i,o=e.class.split(" "),a=0;i=o[a];a++)(n=this.styles["."+i])&&(r+=n+";");return(n=this.styles["#"+e.id])&&(r+=n+";"),r}}]),t}();t.exports=c;var l=function(){"use strict";function t(e,n){var i=this;r(this,t),a(this,"section",(function(){return i.data.substring(i.start,i.i)})),a(this,"isLetter",(function(t){return t>="a"&&t<="z"||t>="A"&&t<="Z"})),this.data=e,this.floor=0,this.i=0,this.list=[],this.res=n,this.state=this.Space}return o(t,[{key:"parse",value:function(){for(var t;t=this.data[this.i];this.i++)this.state(t);return this.res}},{key:"Space",value:function(t){"."==t||"#"==t||this.isLetter(t)?(this.start=this.i,this.state=this.Name):"/"==t&&"*"==this.data[this.i+1]?this.Comment():s.blankChar[t]||";"==t||(this.state=this.Ignore)}},{key:"Comment",value:function(){this.i=this.data.indexOf("*/",this.i)+1,this.i||(this.i=this.data.length),this.state=this.Space}},{key:"Ignore",value:function(t){"{"==t?this.floor++:"}"!=t||--this.floor||(this.state=this.Space)}},{key:"Name",value:function(t){s.blankChar[t]?(this.list.push(this.section()),this.state=this.NameSpace):"{"==t?(this.list.push(this.section()),this.Content()):","==t?(this.list.push(this.section()),this.Comma()):!this.isLetter(t)&&(t<"0"||t>"9")&&"-"!=t&&"_"!=t&&(this.state=this.Ignore)}},{key:"NameSpace",value:function(t){"{"==t?this.Content():","==t?this.Comma():s.blankChar[t]||(this.state=this.Ignore)}},{key:"Comma",value:function(){while(s.blankChar[this.data[++this.i]]);"{"==this.data[this.i]?this.Content():(this.start=this.i--,this.state=this.Name)}},{key:"Content",value:function(){this.start=++this.i,-1==(this.i=this.data.indexOf("}",this.i))&&(this.i=this.data.length);for(var t,e=this.section(),n=0;t=this.list[n++];)this.res[t]?this.res[t]+=";"+e:this.res[t]=e;this.list=[],this.state=this.Space}}]),t}()},f875:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={data:function(){return{disabled:!1,text:"获取验证码"}},methods:{sendCode:function(){var t=this;if(!this.disabled){this.disabled=!0;var e=60;this.text="剩余 "+e+"s";var n=setInterval((function(){e-=1,e<0&&clearInterval(n),t.text="剩余 "+e+"s",t.text<"剩余 0s"&&(t.disabled=!1,t.text="重新获取")}),1e3)}}}};e.default=r},fd65:function(t,e,n){
/*!
* clipboard.js v2.0.6
* https://clipboardjs.com/
*
* Licensed MIT © Zeno Rocha
*/
(function(e,n){t.exports=n()})(0,(function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=6)}([function(t,e){function n(t){var e;if("SELECT"===t.nodeName)t.focus(),e=t.value;else if("INPUT"===t.nodeName||"TEXTAREA"===t.nodeName){var n=t.hasAttribute("readonly");n||t.setAttribute("readonly",""),t.select(),t.setSelectionRange(0,t.value.length),n||t.removeAttribute("readonly"),e=t.value}else{t.hasAttribute("contenteditable")&&t.focus();var r=window.getSelection(),i=document.createRange();i.selectNodeContents(t),r.removeAllRanges(),r.addRange(i),e=r.toString()}return e}t.exports=n},function(t,e){function n(){}n.prototype={on:function(t,e,n){var r=this.e||(this.e={});return(r[t]||(r[t]=[])).push({fn:e,ctx:n}),this},once:function(t,e,n){var r=this;function i(){r.off(t,i),e.apply(n,arguments)}return i._=e,this.on(t,i,n)},emit:function(t){var e=[].slice.call(arguments,1),n=((this.e||(this.e={}))[t]||[]).slice(),r=0,i=n.length;for(r;r<i;r++)n[r].fn.apply(n[r].ctx,e);return this},off:function(t,e){var n=this.e||(this.e={}),r=n[t],i=[];if(r&&e)for(var o=0,a=r.length;o<a;o++)r[o].fn!==e&&r[o].fn._!==e&&i.push(r[o]);return i.length?n[t]=i:delete n[t],this}},t.exports=n,t.exports.TinyEmitter=n},function(t,e,n){var r=n(3),i=n(4);function o(t,e,n){if(!t&&!e&&!n)throw new Error("Missing required arguments");if(!r.string(e))throw new TypeError("Second argument must be a String");if(!r.fn(n))throw new TypeError("Third argument must be a Function");if(r.node(t))return a(t,e,n);if(r.nodeList(t))return s(t,e,n);if(r.string(t))return c(t,e,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function a(t,e,n){return t.addEventListener(e,n),{destroy:function(){t.removeEventListener(e,n)}}}function s(t,e,n){return Array.prototype.forEach.call(t,(function(t){t.addEventListener(e,n)})),{destroy:function(){Array.prototype.forEach.call(t,(function(t){t.removeEventListener(e,n)}))}}}function c(t,e,n){return i(document.body,t,e,n)}t.exports=o},function(t,e){e.node=function(t){return void 0!==t&&t instanceof HTMLElement&&1===t.nodeType},e.nodeList=function(t){var n=Object.prototype.toString.call(t);return void 0!==t&&("[object NodeList]"===n||"[object HTMLCollection]"===n)&&"length"in t&&(0===t.length||e.node(t[0]))},e.string=function(t){return"string"===typeof t||t instanceof String},e.fn=function(t){var e=Object.prototype.toString.call(t);return"[object Function]"===e}},function(t,e,n){var r=n(5);function i(t,e,n,r,i){var o=a.apply(this,arguments);return t.addEventListener(n,o,i),{destroy:function(){t.removeEventListener(n,o,i)}}}function o(t,e,n,r,o){return"function"===typeof t.addEventListener?i.apply(null,arguments):"function"===typeof n?i.bind(null,document).apply(null,arguments):("string"===typeof t&&(t=document.querySelectorAll(t)),Array.prototype.map.call(t,(function(t){return i(t,e,n,r,o)})))}function a(t,e,n,i){return function(n){n.delegateTarget=r(n.target,e),n.delegateTarget&&i.call(t,n)}}t.exports=o},function(t,e){var n=9;if("undefined"!==typeof Element&&!Element.prototype.matches){var r=Element.prototype;r.matches=r.matchesSelector||r.mozMatchesSelector||r.msMatchesSelector||r.oMatchesSelector||r.webkitMatchesSelector}function i(t,e){while(t&&t.nodeType!==n){if("function"===typeof t.matches&&t.matches(e))return t;t=t.parentNode}}t.exports=i},function(t,e,n){"use strict";n.r(e);var r=n(0),i=n.n(r),o="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}();function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var c=function(){function t(e){s(this,t),this.resolveOptions(e),this.initSelection()}return a(t,[{key:"resolveOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action=t.action,this.container=t.container,this.emitter=t.emitter,this.target=t.target,this.text=t.text,this.trigger=t.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var t=this,e="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return t.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[e?"right":"left"]="-9999px";var n=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.style.top=n+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.container.appendChild(this.fakeElem),this.selectedText=i()(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=i()(this.target),this.copyText()}},{key:"copyText",value:function(){var t=void 0;try{t=document.execCommand(this.action)}catch(e){t=!1}this.handleResult(t)}},{key:"handleResult",value:function(t){this.emitter.emit(t?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),document.activeElement.blur(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=t,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(t){if(void 0!==t){if(!t||"object"!==("undefined"===typeof t?"undefined":o(t))||1!==t.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&t.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(t.hasAttribute("readonly")||t.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=t}},get:function(){return this._target}}]),t}(),l=c,u=n(1),f=n.n(u),h=n(2),d=n.n(h),p="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},g=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}();function v(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function y(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function m(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var b=function(t){function e(t,n){v(this,e);var r=y(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return r.resolveOptions(n),r.listenClick(t),r}return m(e,t),g(e,[{key:"resolveOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"===typeof t.action?t.action:this.defaultAction,this.target="function"===typeof t.target?t.target:this.defaultTarget,this.text="function"===typeof t.text?t.text:this.defaultText,this.container="object"===p(t.container)?t.container:document.body}},{key:"listenClick",value:function(t){var e=this;this.listener=d()(t,"click",(function(t){return e.onClick(t)}))}},{key:"onClick",value:function(t){var e=t.delegateTarget||t.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new l({action:this.action(e),target:this.target(e),text:this.text(e),container:this.container,trigger:e,emitter:this})}},{key:"defaultAction",value:function(t){return x("action",t)}},{key:"defaultTarget",value:function(t){var e=x("target",t);if(e)return document.querySelector(e)}},{key:"defaultText",value:function(t){return x("text",t)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],e="string"===typeof t?[t]:t,n=!!document.queryCommandSupported;return e.forEach((function(t){n=n&&!!document.queryCommandSupported(t)})),n}}]),e}(f.a);function x(t,e){var n="data-clipboard-"+t;if(e.hasAttribute(n))return e.getAttribute(n)}e["default"]=b}])["default"]}))}}]);